#tab-maintenance-document-types{--doc-type-border:#b8c9df;--doc-type-ink:#10233f;--doc-type-muted:#526681;color-scheme:light;background:#f4f7fb!important;color:var(--doc-type-ink)!important;padding:clamp(14px,2vw,24px);border-radius:18px}
#tab-maintenance-document-types h2,#tab-maintenance-document-types h3,#tab-maintenance-document-types p,#tab-maintenance-document-types label,#tab-maintenance-document-types td,#tab-maintenance-document-types code,#tab-maintenance-document-types .documentTypeRequired{color:var(--doc-type-ink)!important}
#tab-maintenance-document-types p,#tab-maintenance-document-types small{color:var(--doc-type-muted)!important}
.documentTypeLayout{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:14px;align-items:start}
.documentTypeFormCard,.documentTypeTableCard{min-width:0;background:#fff!important;color:var(--doc-type-ink)!important;border:1px solid var(--doc-type-border);border-radius:16px;padding:16px;box-shadow:0 10px 26px rgba(15,35,63,.08)}
.documentTypeFormCard{position:sticky;top:10px}.documentTypeForm{display:grid;gap:10px}.documentTypeForm .field{display:grid;gap:5px}.documentTypeForm label{font-weight:750}
.documentTypeForm input{width:100%;min-height:40px;border:1px solid #8ea7c5;border-radius:10px;padding:8px 10px;background:#fff!important;color:var(--doc-type-ink)!important}
.documentTypeChecks{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.documentTypeChecks label{display:flex;gap:7px;align-items:center}
.documentTypeNotice{margin:0 0 12px;border-radius:10px;padding:10px 12px;font-weight:700}.documentTypeNotice.success{background:#dcfce7;color:#166534!important}.documentTypeNotice.error{background:#fee2e2;color:#991b1b!important}
.documentTypeTableWrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable}.documentTypeTable{width:100%;min-width:900px;border-collapse:separate;border-spacing:0;table-layout:fixed;background:#fff;color:var(--doc-type-ink)}.documentTypeTable th{background:#dfe9f6!important;color:#17365f!important;text-align:left;padding:11px;border-bottom:1px solid var(--doc-type-border)}.documentTypeTable td{background:#fff!important;color:var(--doc-type-ink)!important;padding:11px;border-bottom:1px solid #dbe5f1;vertical-align:middle}.documentTypeTable small{display:block;margin-top:3px}.documentTypeTable code{display:inline-block;max-width:100%;padding:2px 5px;border-radius:5px;background:#edf2f8!important;color:#10233f!important;overflow-wrap:anywhere}.documentTypeTable tr.isInactive{opacity:.68}
.documentTypeNamePrimary{display:block;color:var(--doc-type-ink)!important;-webkit-text-fill-color:var(--doc-type-ink)!important}.documentTypeNameSecondary{display:block;margin-top:3px;color:var(--doc-type-muted)!important;-webkit-text-fill-color:var(--doc-type-muted)!important}
.documentTypeIconPreview{--doc-type-color:#2563EB;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--doc-type-color) 16%,white);border:1px solid color-mix(in srgb,var(--doc-type-color) 46%,white);color:var(--doc-type-color)!important;font-weight:850;font-size:12px}
.documentTypeColor{display:flex;align-items:center;gap:8px;color:var(--doc-type-ink)!important}.documentTypeColor i{--doc-type-color:#2563EB;width:18px;height:18px;border-radius:50%;background:var(--doc-type-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--doc-type-color) 18%,white)}
.documentTypeBadge{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.documentTypeBadge.active{background:#dcfce7;color:#166534!important}.documentTypeBadge.inactive{background:#e5e7eb;color:#334155!important}.documentTypeBadge.quote{background:#dbeafe;color:#1d4ed8!important}
.documentTypeActions{display:flex;gap:8px;white-space:nowrap}.documentTypeActions .btn{min-height:38px;color:#10233f!important;background:#fff!important;border-color:#8ea7c5!important}.documentTypeRequired{align-self:center;font-size:12px;font-weight:750}
body[data-visual-system="nplus1"] #tab-maintenance-document-types.tabPane.active :is(.heroCard,.documentTypeFormCard,.documentTypeTableCard){background:#fff!important;color:#10233f!important;border-color:#b8c9df!important}
body[data-visual-system="nplus1"] #tab-maintenance-document-types.tabPane.active :is(input,select,textarea){background:#fff!important;color:#10233f!important;-webkit-text-fill-color:#10233f!important;border-color:#8ea7c5!important}
@media(max-width:760px){.documentTypeLayout{grid-template-columns:1fr}.documentTypeFormCard{position:static}.documentTypeFormCard,.documentTypeTableCard{padding:14px}}
