:root{--iu-navy:#102a43;--iu-deep:#071b2e;--iu-blue:#1769aa;--iu-bg:#f5f7fa;--iu-card:#fff;--iu-line:#d9e2ec;--iu-muted:#66788a;--iu-green:#17864b;--iu-amber:#d97706;--iu-red:#c62828;--iu-shadow:0 10px 30px rgba(16,42,67,.08)}
.inspecto-ui-production{background:var(--iu-bg)!important;color:#0a1d2c}.inspecto-ui-production .inspecto-app-root,.inspecto-ui-production .inspecto-shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.inspecto-ui-production .inspecto-shell{grid-template-columns:260px minmax(0,1fr);background:var(--iu-bg);min-height:100vh}.inspecto-ui-production .inspecto-sidebar{background:linear-gradient(180deg,#081c2f,#102a43);border-right:0;box-shadow:8px 0 30px rgba(7,27,46,.08)}.inspecto-ui-production .inspecto-brand{padding:4px 0}.inspecto-ui-production .inspecto-mark{background:linear-gradient(145deg,#2685cb,#1769aa);border-radius:10px;box-shadow:0 7px 18px rgba(23,105,170,.28)}.inspecto-ui-production .inspecto-brand strong{letter-spacing:-.02em}.inspecto-ui-production .inspecto-brand small{letter-spacing:.08em;text-transform:uppercase}.inspecto-ui-production .inspecto-sidebar nav button{border-radius:9px;margin:2px 8px;color:#cbd9e6}.inspecto-ui-production .inspecto-sidebar nav button:hover{background:rgba(255,255,255,.08);color:#fff}.inspecto-ui-production .inspecto-sidebar nav button.is-active{background:#1769aa;color:#fff;box-shadow:0 8px 22px rgba(23,105,170,.32)}.inspecto-ui-production .inspecto-topbar{height:68px;background:rgba(255,255,255,.93);backdrop-filter:blur(15px);border-bottom:1px solid var(--iu-line);box-shadow:none}.inspecto-ui-production .inspecto-content{background:var(--iu-bg);padding:24px 28px 46px;min-width:0}.inspecto-ui-production .inspecto-page-header{align-items:flex-end;margin-bottom:20px}.inspecto-ui-production .inspecto-page-header h1{color:var(--iu-navy);font-size:29px;letter-spacing:-.035em}.inspecto-ui-production .inspecto-page-header p{color:var(--iu-muted);max-width:760px}.inspecto-ui-production .inspecto-eyebrow{font-size:11px;letter-spacing:.11em;color:var(--iu-blue);font-weight:850}.inspecto-ui-production .inspecto-card,.inspecto-ui-production .inspecto-panel,.inspecto-ui-production .inspecto-metric,.inspecto-ui-production .inspecto-table-card,.inspecto-ui-production .inspecto-loading-card,.inspecto-ui-production .inspecto-empty{background:var(--iu-card);border:1px solid var(--iu-line);border-radius:13px;box-shadow:none}.inspecto-ui-production .inspecto-metric{padding:20px;min-height:132px;transition:.18s ease}.inspecto-ui-production .inspecto-metric:hover{transform:translateY(-1px);box-shadow:var(--iu-shadow)}.inspecto-ui-production .inspecto-metric strong{font-size:29px;color:var(--iu-navy);font-variant-numeric:tabular-nums}.inspecto-ui-production .inspecto-metric small{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--iu-muted);font-weight:800}.inspecto-ui-production .inspecto-button{border-radius:8px;min-height:40px;font-weight:750;box-shadow:none}.inspecto-ui-production .inspecto-button--primary{background:var(--iu-blue);border-color:var(--iu-blue)}.inspecto-ui-production .inspecto-button--primary:hover{background:#0c5c98}.inspecto-ui-production .inspecto-button--secondary{background:#fff;color:var(--iu-navy);border:1px solid var(--iu-line)}.inspecto-ui-production .inspecto-icon-button{border-radius:8px}.inspecto-ui-production .inspecto-field>span{font-size:11px;letter-spacing:.055em;text-transform:uppercase;color:#44596d;font-weight:800}.inspecto-ui-production input,.inspecto-ui-production select,.inspecto-ui-production textarea{border:1px solid #cbd6e0;border-radius:8px;min-height:42px;background:#fff;color:#102a43;box-shadow:none}.inspecto-ui-production input:focus,.inspecto-ui-production select:focus,.inspecto-ui-production textarea:focus{border-color:var(--iu-blue);box-shadow:0 0 0 3px rgba(23,105,170,.13);outline:0}.inspecto-ui-production table{font-size:13px}.inspecto-ui-production th{background:#f3f6f9;color:#506477;text-transform:uppercase;letter-spacing:.045em;font-size:10px;font-weight:850}.inspecto-ui-production th,.inspecto-ui-production td{padding:11px 13px;border-color:#e5ebf0}.inspecto-ui-production td{font-variant-numeric:tabular-nums}.inspecto-ui-production tbody tr:hover{background:#f7fafc}.inspecto-ui-production .inspecto-badge{border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.04em;padding:5px 9px}.inspecto-ui-production .inspecto-badge--success{background:#e5f6ec;color:var(--iu-green)}.inspecto-ui-production .inspecto-badge--warning{background:#fff4dc;color:var(--iu-amber)}.inspecto-ui-production .inspecto-badge--danger{background:#fde9e9;color:var(--iu-red)}.inspecto-ui-production .inspecto-notice{border-radius:10px;border-width:1px;box-shadow:none}.inspecto-ui-production .inspecto-modal-backdrop{background:rgba(4,18,31,.62);backdrop-filter:blur(4px)}.inspecto-ui-production .inspecto-modal{border-radius:16px;border:1px solid var(--iu-line);box-shadow:0 30px 90px rgba(4,18,31,.28)}.inspecto-ui-production .inspecto-modal-header{background:#f8fafc;border-bottom:1px solid var(--iu-line)}.inspecto-ui-production .inspecto-empty{padding:48px 24px}.inspecto-ui-production .inspecto-bars .inspecto-bar-track{background:#e8eef4}.inspecto-ui-production .inspecto-bars .inspecto-bar-fill{background:linear-gradient(90deg,#1769aa,#68aee2)}.inspecto-ui-skip{position:fixed;left:16px;top:-80px;z-index:100000;background:#fff;color:#102a43;padding:10px 15px;border-radius:8px;box-shadow:var(--iu-shadow)}.inspecto-ui-skip:focus{top:12px}.inspecto-ui-production :focus-visible{outline:2px solid var(--iu-blue)!important;outline-offset:2px}.inspecto-ui-production ::selection{background:#cfe7fb;color:#071b2e}
@media(max-width:1024px){.inspecto-ui-production .inspecto-shell{grid-template-columns:1fr}.inspecto-ui-production .inspecto-content{padding:20px}.inspecto-ui-production .inspecto-sidebar{box-shadow:12px 0 45px rgba(4,18,31,.28)}}
@media(max-width:640px){.inspecto-ui-production .inspecto-content{padding:16px 12px 34px}.inspecto-ui-production .inspecto-page-header{align-items:stretch}.inspecto-ui-production .inspecto-page-header h1{font-size:24px}.inspecto-ui-production .inspecto-header-actions{width:100%}.inspecto-ui-production .inspecto-header-actions .inspecto-button{flex:1}.inspecto-ui-production .inspecto-metric{min-height:110px}.inspecto-ui-production th,.inspecto-ui-production td{padding:10px}.inspecto-ui-production .inspecto-modal{border-radius:12px 12px 0 0;max-height:92vh;margin-top:auto}}
@media(prefers-reduced-motion:reduce){.inspecto-ui-production *{transition:none!important;scroll-behavior:auto!important}}

/* Inspecto Panel UI v0.2.0 */
.inspecto-ui-production .inspecto-workspace{min-width:0;background:var(--iu-bg)}
.inspecto-ui-production .inspecto-content{background:var(--iu-bg);padding:24px 28px 46px;min-width:0;overflow-x:hidden}
.inspecto-ui-production .inspecto-search-wrap{position:relative;flex:1;max-width:620px}
.inspecto-ui-production .inspecto-search-results{border:1px solid var(--iu-line);border-radius:11px;background:var(--iu-card);box-shadow:0 22px 55px rgba(6,29,47,.18);overflow:hidden}
.inspecto-ui-production .inspecto-search-results button{background:transparent;border:0;border-bottom:1px solid var(--iu-line);color:var(--iu-navy)}
.inspecto-ui-production .inspecto-search-results button:hover,.inspecto-ui-production .inspecto-search-results button:focus{background:#edf6fe}
.inspecto-ui-production .inspecto-search-result-type{background:#dcecff;color:var(--iu-blue);border-radius:999px;font-size:9px;font-weight:850;letter-spacing:.05em;padding:5px 7px}
.inspecto-ui-production .inspecto-detail-grid,.inspecto-ui-production .inspecto-settings-grid{gap:18px}
.inspecto-ui-production .inspecto-definition-grid>div{background:#f8fafc;border:1px solid #e7edf2;border-radius:9px;padding:13px}
.inspecto-ui-production .inspecto-definition-grid dt{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--iu-muted);font-weight:850}
.inspecto-ui-production .inspecto-definition-grid dd{color:var(--iu-navy);font-weight:700;margin-top:6px}
.inspecto-ui-production .inspecto-current-assignment{background:#f4f8fb;border:1px solid var(--iu-line);border-radius:11px}
.inspecto-ui-production .inspecto-audit-event{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid var(--iu-line)}
.inspecto-ui-production .inspecto-audit-event:last-child{border-bottom:0}
.inspecto-ui-production .inspecto-audit-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#dcecff;color:var(--iu-blue);font-weight:850}
.inspecto-ui-production .inspecto-assignment-card{border:1px solid var(--iu-line);border-radius:11px;background:var(--iu-card);padding:16px}
.inspecto-ui-production .inspecto-row-actions{display:flex;gap:7px;flex-wrap:wrap}
.inspecto-ui-production .inspecto-row-actions .inspecto-button{min-height:32px;padding:5px 9px;font-size:11px}
.inspecto-ui-production .inspecto-sidebar-mode-compact{grid-template-columns:82px minmax(0,1fr)}
.inspecto-ui-production .inspecto-sidebar-mode-compact .inspecto-sidebar{padding-inline:8px}
.inspecto-ui-production .inspecto-sidebar-mode-compact .inspecto-brand>span:last-child,.inspecto-ui-production .inspecto-sidebar-mode-compact .inspecto-nav-item>span:not(.inspecto-icon),.inspecto-ui-production .inspecto-sidebar-mode-compact .inspecto-sidebar-footer{display:none}
.inspecto-ui-production .inspecto-sidebar-mode-compact .inspecto-brand{justify-content:center}
.inspecto-ui-production .inspecto-sidebar-mode-compact .inspecto-nav-item{justify-content:center;margin-inline:0}
.inspecto-ui-production .inspecto-density-compact .inspecto-content{padding-top:18px}
.inspecto-ui-production .inspecto-density-compact th,.inspecto-ui-production .inspecto-density-compact td{padding:8px 10px}
.inspecto-ui-production .inspecto-density-compact .inspecto-card-header{padding-block:14px}
.inspecto-ui-production .inspecto-theme-dark{--iu-bg:#07131f;--iu-card:#0d2031;--iu-line:#22384a;--iu-muted:#92a8ba;--iu-navy:#e9f2fa;color:#dce8f2}
.inspecto-ui-production .inspecto-theme-dark .inspecto-workspace,.inspecto-ui-production .inspecto-theme-dark .inspecto-content{background:#07131f}
.inspecto-ui-production .inspecto-theme-dark .inspecto-topbar,.inspecto-ui-production .inspecto-theme-dark .inspecto-card,.inspecto-ui-production .inspecto-theme-dark .inspecto-panel,.inspecto-ui-production .inspecto-theme-dark .inspecto-metric,.inspecto-ui-production .inspecto-theme-dark .inspecto-empty,.inspecto-ui-production .inspecto-theme-dark .inspecto-search-results,.inspecto-ui-production .inspecto-theme-dark .inspecto-assignment-card{background:#0d2031;border-color:#22384a;color:#dce8f2}
.inspecto-ui-production .inspecto-theme-dark h1,.inspecto-ui-production .inspecto-theme-dark h2,.inspecto-ui-production .inspecto-theme-dark h3,.inspecto-ui-production .inspecto-theme-dark strong,.inspecto-ui-production .inspecto-theme-dark td,.inspecto-ui-production .inspecto-theme-dark .inspecto-search-results button{color:#edf6ff}
.inspecto-ui-production .inspecto-theme-dark th,.inspecto-ui-production .inspecto-theme-dark .inspecto-definition-grid>div,.inspecto-ui-production .inspecto-theme-dark .inspecto-current-assignment,.inspecto-ui-production .inspecto-theme-dark .inspecto-modal-header{background:#11283b;border-color:#294156;color:#9fb4c5}
.inspecto-ui-production .inspecto-theme-dark input,.inspecto-ui-production .inspecto-theme-dark select,.inspecto-ui-production .inspecto-theme-dark textarea{background:#0a1b2a;border-color:#2a4357;color:#edf6ff}
.inspecto-ui-production .inspecto-theme-dark tbody tr:hover,.inspecto-ui-production .inspecto-theme-dark .inspecto-search-results button:hover{background:#132c40}
@media(prefers-color-scheme:dark){.inspecto-ui-production .inspecto-theme-system{--iu-bg:#07131f;--iu-card:#0d2031;--iu-line:#22384a;--iu-muted:#92a8ba;--iu-navy:#e9f2fa;color:#dce8f2}.inspecto-ui-production .inspecto-theme-system .inspecto-workspace,.inspecto-ui-production .inspecto-theme-system .inspecto-content{background:#07131f}.inspecto-ui-production .inspecto-theme-system .inspecto-card,.inspecto-ui-production .inspecto-theme-system .inspecto-topbar,.inspecto-ui-production .inspecto-theme-system .inspecto-search-results{background:#0d2031;border-color:#22384a;color:#dce8f2}}
@media(max-width:1024px){.inspecto-ui-production .inspecto-content{padding:20px}.inspecto-ui-production .inspecto-sidebar-mode-compact{grid-template-columns:1fr}}
@media(max-width:640px){.inspecto-ui-production .inspecto-content{padding:16px 12px 34px}.inspecto-ui-production .inspecto-topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 12px}.inspecto-ui-production .inspecto-search-wrap{order:3;max-width:none;width:100%}.inspecto-ui-production .inspecto-search-results{position:fixed;left:10px;right:10px;top:120px;max-height:55vh}.inspecto-ui-production .inspecto-topbar-actions{margin-left:auto}.inspecto-ui-production .inspecto-organization-select{max-width:145px}.inspecto-ui-production .inspecto-detail-grid,.inspecto-ui-production .inspecto-settings-grid{grid-template-columns:1fr}.inspecto-ui-production .inspecto-modal{width:100%;max-width:none}}

/* Inspecto Panel UI v0.3.0 — R23 QA refinements */
.inspecto-ui-production .inspecto-filter-panel{border:1px solid var(--iu-line);border-radius:12px;background:var(--iu-card);padding:16px}
.inspecto-ui-production .inspecto-filter-grid{gap:14px}
.inspecto-ui-production .inspecto-remote-results{border-color:var(--iu-line);background:var(--iu-card);box-shadow:0 22px 55px rgba(6,29,47,.2)}
.inspecto-ui-production .inspecto-remote-selected{border-color:#abc8df;background:#edf6fe}
.inspecto-ui-production .inspecto-status-strip button{border-color:var(--iu-line);background:var(--iu-card);color:var(--iu-muted)}
.inspecto-ui-production .inspecto-status-strip button.is-active{background:var(--iu-blue);border-color:var(--iu-blue);color:#fff}
.inspecto-ui-production .inspecto-theme-dark .inspecto-filter-panel,.inspecto-ui-production .inspecto-theme-dark .inspecto-remote-results,.inspecto-ui-production .inspecto-theme-dark .inspecto-status-strip button{background:#0d2031;border-color:#294156;color:#dce8f2}
.inspecto-ui-production .inspecto-theme-dark .inspecto-remote-selected{background:#11283b;border-color:#355470;color:#edf6ff}
@media(max-width:640px){.inspecto-ui-production .inspecto-filter-panel{padding:12px}.inspecto-ui-production .inspecto-remote-results{position:fixed;top:24%;left:12px;right:12px;max-height:55vh}.inspecto-ui-production .inspecto-pagination{justify-content:center}}


/* Inspecto Panel UI v0.4.0 — complete light/dark contrast system */
.inspecto-ui-production {
    --iu-text: #10243a;
    --iu-muted: #52677a;
    --iu-subtle: #64788a;
    --iu-surface-soft: #f1f5f8;
    --iu-surface-hover: #e8f1f7;
    --iu-disabled-bg: #e6edf3;
    --iu-disabled-text: #52677a;
}
.inspecto-ui-production .inspecto-theme-light {
    color-scheme: light;
    --inspecto-bg: #f5f7fa;
    --inspecto-card: #ffffff;
    --inspecto-border: #d2dde6;
    --inspecto-text: #10243a;
    --inspecto-muted: #52677a;
    --iu-bg: #f5f7fa;
    --iu-card: #ffffff;
    --iu-line: #d2dde6;
    --iu-navy: #10243a;
    --iu-muted: #52677a;
    color: var(--iu-text);
}
.inspecto-ui-production .inspecto-page-header p,
.inspecto-ui-production .inspecto-card-header p,
.inspecto-ui-production .inspecto-block-muted,
.inspecto-ui-production .inspecto-muted,
.inspecto-ui-production .inspecto-field small,
.inspecto-ui-production .inspecto-activity-item small,
.inspecto-ui-production .inspecto-critical-row small,
.inspecto-ui-production .inspecto-rule-row small,
.inspecto-ui-production .inspecto-notification-item small,
.inspecto-ui-production .inspecto-usage-card span,
.inspecto-ui-production .inspecto-search-result-copy small,
.inspecto-ui-production .inspecto-remote-results small,
.inspecto-ui-production .inspecto-current-assignment span,
.inspecto-ui-production .inspecto-definition-grid dt {
    color: var(--iu-muted) !important;
}
.inspecto-ui-production .inspecto-button:disabled,
.inspecto-ui-production button:disabled {
    opacity: 1;
    cursor: not-allowed;
}
.inspecto-ui-production .inspecto-button:disabled {
    background: var(--iu-disabled-bg) !important;
    border-color: #c4d1dc !important;
    color: var(--iu-disabled-text) !important;
}
.inspecto-ui-production .inspecto-theme-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--iu-line);
    background: var(--iu-card);
    color: var(--iu-navy);
    font-size: 18px;
}
.inspecto-ui-production .inspecto-theme-toggle:hover,
.inspecto-ui-production .inspecto-theme-toggle:focus-visible {
    background: var(--iu-surface-hover);
    color: var(--iu-blue);
}

.inspecto-ui-production .inspecto-theme-dark {
    color-scheme: dark;
    --iu-bg: #061521;
    --iu-card: #0d2639;
    --iu-line: #355169;
    --iu-muted: #c0ced9;
    --iu-subtle: #a9bbc8;
    --iu-navy: #f3f8fc;
    --iu-surface-soft: #123047;
    --iu-surface-hover: #183b54;
    --iu-disabled-bg: #1b3548;
    --iu-disabled-text: #a9bbc8;
    --inspecto-bg: #061521;
    --inspecto-card: #0d2639;
    --inspecto-border: #355169;
    --inspecto-text: #f3f8fc;
    --inspecto-muted: #c0ced9;
    color: #f3f8fc;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-workspace,
.inspecto-ui-production .inspecto-theme-dark .inspecto-content,
.inspecto-ui-production .inspecto-theme-dark .inspecto-app-root {
    background: var(--iu-bg) !important;
    color: #f3f8fc;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-topbar,
.inspecto-ui-production .inspecto-theme-dark .inspecto-card,
.inspecto-ui-production .inspecto-theme-dark .inspecto-panel,
.inspecto-ui-production .inspecto-theme-dark .inspecto-metric,
.inspecto-ui-production .inspecto-theme-dark .inspecto-table-card,
.inspecto-ui-production .inspecto-theme-dark .inspecto-loading-card,
.inspecto-ui-production .inspecto-theme-dark .inspecto-empty,
.inspecto-ui-production .inspecto-theme-dark .inspecto-modal,
.inspecto-ui-production .inspecto-theme-dark .inspecto-search-results,
.inspecto-ui-production .inspecto-theme-dark .inspecto-filter-panel,
.inspecto-ui-production .inspecto-theme-dark .inspecto-remote-results,
.inspecto-ui-production .inspecto-theme-dark .inspecto-assignment-card,
.inspecto-ui-production .inspecto-theme-dark .inspecto-rule-row,
.inspecto-ui-production .inspecto-theme-dark .inspecto-notification-item,
.inspecto-ui-production .inspecto-theme-dark .inspecto-usage-card,
.inspecto-ui-production .inspecto-theme-dark .inspecto-template-structure,
.inspecto-ui-production .inspecto-theme-dark .inspecto-template-preview,
.inspecto-ui-production .inspecto-theme-dark .inspecto-template-settings,
.inspecto-ui-production .inspecto-theme-dark .inspecto-inspection-context,
.inspecto-ui-production .inspecto-theme-dark .inspecto-inspection-questions,
.inspecto-ui-production .inspecto-theme-dark .inspecto-inspection-progress,
.inspecto-ui-production .inspecto-theme-dark .inspecto-question-card,
.inspecto-ui-production .inspecto-theme-dark .inspecto-table tr,
.inspecto-ui-production .inspecto-theme-dark .inspecto-status-strip button {
    background: var(--iu-card) !important;
    border-color: var(--iu-line) !important;
    color: #f3f8fc !important;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-modal-header,
.inspecto-ui-production .inspecto-theme-dark .inspecto-table th,
.inspecto-ui-production .inspecto-theme-dark .inspecto-definition-grid > div,
.inspecto-ui-production .inspecto-theme-dark .inspecto-current-assignment,
.inspecto-ui-production .inspecto-theme-dark .inspecto-detail-notes,
.inspecto-ui-production .inspecto-theme-dark .inspecto-help-content section,
.inspecto-ui-production .inspecto-theme-dark .inspecto-structure-item,
.inspecto-ui-production .inspecto-theme-dark .inspecto-answer-segments span,
.inspecto-ui-production .inspecto-theme-dark .inspecto-answer-button,
.inspecto-ui-production .inspecto-theme-dark .inspecto-preview-section,
.inspecto-ui-production .inspecto-theme-dark .inspecto-inspection-section,
.inspecto-ui-production .inspecto-theme-dark .inspecto-remote-selected {
    background: var(--iu-surface-soft) !important;
    border-color: var(--iu-line) !important;
    color: #f3f8fc !important;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-question-card.is-nok,
.inspecto-ui-production .inspecto-theme-dark .inspecto-critical-row {
    background: #321b24 !important;
    border-color: #a94b61 !important;
    color: #ffeef2 !important;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-notification-item.is-unread {
    background: #123853 !important;
    border-color: #4c8bb7 !important;
}
.inspecto-ui-production .inspecto-theme-dark input,
.inspecto-ui-production .inspecto-theme-dark select,
.inspecto-ui-production .inspecto-theme-dark textarea,
.inspecto-ui-production .inspecto-theme-dark .inspecto-search,
.inspecto-ui-production .inspecto-theme-dark .inspecto-organization-select,
.inspecto-ui-production .inspecto-theme-dark .inspecto-report-toolbar select,
.inspecto-ui-production .inspecto-theme-dark .inspecto-nok-fields select {
    background: #0a2031 !important;
    border-color: #45637a !important;
    color: #f3f8fc !important;
}
.inspecto-ui-production .inspecto-theme-dark input::placeholder,
.inspecto-ui-production .inspecto-theme-dark textarea::placeholder {
    color: #9fb1bf !important;
    opacity: 1;
}
.inspecto-ui-production .inspecto-theme-dark h1,
.inspecto-ui-production .inspecto-theme-dark h2,
.inspecto-ui-production .inspecto-theme-dark h3,
.inspecto-ui-production .inspecto-theme-dark h4,
.inspecto-ui-production .inspecto-theme-dark strong,
.inspecto-ui-production .inspecto-theme-dark td,
.inspecto-ui-production .inspecto-theme-dark label,
.inspecto-ui-production .inspecto-theme-dark .inspecto-field > span,
.inspecto-ui-production .inspecto-theme-dark .inspecto-notification-item span,
.inspecto-ui-production .inspecto-theme-dark .inspecto-remote-label,
.inspecto-ui-production .inspecto-theme-dark .inspecto-bar-label {
    color: #f3f8fc !important;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-page-header p,
.inspecto-ui-production .inspecto-theme-dark .inspecto-card-header p,
.inspecto-ui-production .inspecto-theme-dark .inspecto-block-muted,
.inspecto-ui-production .inspecto-theme-dark .inspecto-muted,
.inspecto-ui-production .inspecto-theme-dark .inspecto-field small,
.inspecto-ui-production .inspecto-theme-dark .inspecto-activity-item small,
.inspecto-ui-production .inspecto-theme-dark .inspecto-critical-row small,
.inspecto-ui-production .inspecto-theme-dark .inspecto-rule-row small,
.inspecto-ui-production .inspecto-theme-dark .inspecto-notification-item small,
.inspecto-ui-production .inspecto-theme-dark .inspecto-usage-card span,
.inspecto-ui-production .inspecto-theme-dark .inspecto-search-result-copy small,
.inspecto-ui-production .inspecto-theme-dark .inspecto-remote-results small,
.inspecto-ui-production .inspecto-theme-dark .inspecto-current-assignment span,
.inspecto-ui-production .inspecto-theme-dark .inspecto-definition-grid dt {
    color: var(--iu-muted) !important;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-button--secondary,
.inspecto-ui-production .inspecto-theme-dark .inspecto-button:not(.inspecto-button--primary):not(.inspecto-button--danger),
.inspecto-ui-production .inspecto-theme-dark .inspecto-theme-toggle {
    background: #123047 !important;
    border-color: #45637a !important;
    color: #f3f8fc !important;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-button:disabled {
    background: var(--iu-disabled-bg) !important;
    border-color: #3a5568 !important;
    color: var(--iu-disabled-text) !important;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-bar-track,
.inspecto-ui-production .inspecto-theme-dark .inspecto-usage-track {
    background: #1b3548 !important;
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-tabs {
    border-color: var(--iu-line);
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-tabs button {
    color: var(--iu-muted);
}
.inspecto-ui-production .inspecto-theme-dark .inspecto-tabs button.is-active,
.inspecto-ui-production .inspecto-theme-dark .inspecto-status-strip button.is-active {
    background: var(--iu-blue) !important;
    border-color: var(--iu-blue) !important;
    color: #ffffff !important;
}
.inspecto-ui-production .inspecto-theme-dark tbody tr:hover,
.inspecto-ui-production .inspecto-theme-dark .inspecto-search-results button:hover,
.inspecto-ui-production .inspecto-theme-dark .inspecto-search-results button:focus,
.inspecto-ui-production .inspecto-theme-dark .inspecto-remote-results button:hover,
.inspecto-ui-production .inspecto-theme-dark .inspecto-remote-results button:focus-visible {
    background: var(--iu-surface-hover) !important;
}

@media (prefers-color-scheme: dark) {
    .inspecto-ui-production .inspecto-theme-system {
        color-scheme: dark;
        --iu-bg: #061521;
        --iu-card: #0d2639;
        --iu-line: #355169;
        --iu-muted: #c0ced9;
        --iu-navy: #f3f8fc;
        --inspecto-bg: #061521;
        --inspecto-card: #0d2639;
        --inspecto-border: #355169;
        --inspecto-text: #f3f8fc;
        --inspecto-muted: #c0ced9;
        color: #f3f8fc;
    }
    .inspecto-ui-production .inspecto-theme-system .inspecto-workspace,
    .inspecto-ui-production .inspecto-theme-system .inspecto-content { background: #061521 !important; }
    .inspecto-ui-production .inspecto-theme-system .inspecto-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-panel,
    .inspecto-ui-production .inspecto-theme-system .inspecto-metric,
    .inspecto-ui-production .inspecto-theme-system .inspecto-table-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-loading-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-empty,
    .inspecto-ui-production .inspecto-theme-system .inspecto-rule-row,
    .inspecto-ui-production .inspecto-theme-system .inspecto-notification-item,
    .inspecto-ui-production .inspecto-theme-system .inspecto-usage-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-question-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-table tr {
        background: #0d2639 !important;
        border-color: #355169 !important;
        color: #f3f8fc !important;
    }
    .inspecto-ui-production .inspecto-theme-system h1,
    .inspecto-ui-production .inspecto-theme-system h2,
    .inspecto-ui-production .inspecto-theme-system h3,
    .inspecto-ui-production .inspecto-theme-system strong,
    .inspecto-ui-production .inspecto-theme-system td,
    .inspecto-ui-production .inspecto-theme-system label { color: #f3f8fc !important; }
    .inspecto-ui-production .inspecto-theme-system p,
    .inspecto-ui-production .inspecto-theme-system small,
    .inspecto-ui-production .inspecto-theme-system .inspecto-muted { color: #c0ced9 !important; }
}

/* System theme inherits the same complete dark palette when the OS is dark. */
@media (prefers-color-scheme: dark) {
    .inspecto-ui-production .inspecto-theme-system .inspecto-topbar,
    .inspecto-ui-production .inspecto-theme-system .inspecto-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-panel,
    .inspecto-ui-production .inspecto-theme-system .inspecto-metric,
    .inspecto-ui-production .inspecto-theme-system .inspecto-table-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-loading-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-empty,
    .inspecto-ui-production .inspecto-theme-system .inspecto-modal,
    .inspecto-ui-production .inspecto-theme-system .inspecto-search-results,
    .inspecto-ui-production .inspecto-theme-system .inspecto-filter-panel,
    .inspecto-ui-production .inspecto-theme-system .inspecto-remote-results,
    .inspecto-ui-production .inspecto-theme-system .inspecto-assignment-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-rule-row,
    .inspecto-ui-production .inspecto-theme-system .inspecto-notification-item,
    .inspecto-ui-production .inspecto-theme-system .inspecto-usage-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-template-structure,
    .inspecto-ui-production .inspecto-theme-system .inspecto-template-preview,
    .inspecto-ui-production .inspecto-theme-system .inspecto-template-settings,
    .inspecto-ui-production .inspecto-theme-system .inspecto-inspection-context,
    .inspecto-ui-production .inspecto-theme-system .inspecto-inspection-questions,
    .inspecto-ui-production .inspecto-theme-system .inspecto-inspection-progress,
    .inspecto-ui-production .inspecto-theme-system .inspecto-question-card,
    .inspecto-ui-production .inspecto-theme-system .inspecto-status-strip button {
        background: #0d2639 !important;
        border-color: #355169 !important;
        color: #f3f8fc !important;
    }
    .inspecto-ui-production .inspecto-theme-system .inspecto-modal-header,
    .inspecto-ui-production .inspecto-theme-system .inspecto-table th,
    .inspecto-ui-production .inspecto-theme-system .inspecto-definition-grid > div,
    .inspecto-ui-production .inspecto-theme-system .inspecto-current-assignment,
    .inspecto-ui-production .inspecto-theme-system .inspecto-detail-notes,
    .inspecto-ui-production .inspecto-theme-system .inspecto-help-content section,
    .inspecto-ui-production .inspecto-theme-system .inspecto-structure-item,
    .inspecto-ui-production .inspecto-theme-system .inspecto-answer-segments span,
    .inspecto-ui-production .inspecto-theme-system .inspecto-answer-button,
    .inspecto-ui-production .inspecto-theme-system .inspecto-preview-section,
    .inspecto-ui-production .inspecto-theme-system .inspecto-inspection-section,
    .inspecto-ui-production .inspecto-theme-system .inspecto-remote-selected {
        background: #123047 !important;
        border-color: #355169 !important;
        color: #f3f8fc !important;
    }
    .inspecto-ui-production .inspecto-theme-system input,
    .inspecto-ui-production .inspecto-theme-system select,
    .inspecto-ui-production .inspecto-theme-system textarea,
    .inspecto-ui-production .inspecto-theme-system .inspecto-search,
    .inspecto-ui-production .inspecto-theme-system .inspecto-organization-select,
    .inspecto-ui-production .inspecto-theme-system .inspecto-report-toolbar select,
    .inspecto-ui-production .inspecto-theme-system .inspecto-nok-fields select {
        background: #0a2031 !important;
        border-color: #45637a !important;
        color: #f3f8fc !important;
    }
    .inspecto-ui-production .inspecto-theme-system input::placeholder,
    .inspecto-ui-production .inspecto-theme-system textarea::placeholder {
        color: #9fb1bf !important;
        opacity: 1;
    }
    .inspecto-ui-production .inspecto-theme-system .inspecto-page-header p,
    .inspecto-ui-production .inspecto-theme-system .inspecto-card-header p,
    .inspecto-ui-production .inspecto-theme-system .inspecto-block-muted,
    .inspecto-ui-production .inspecto-theme-system .inspecto-muted,
    .inspecto-ui-production .inspecto-theme-system .inspecto-field small,
    .inspecto-ui-production .inspecto-theme-system .inspecto-activity-item small,
    .inspecto-ui-production .inspecto-theme-system .inspecto-critical-row small,
    .inspecto-ui-production .inspecto-theme-system .inspecto-rule-row small,
    .inspecto-ui-production .inspecto-theme-system .inspecto-notification-item small,
    .inspecto-ui-production .inspecto-theme-system .inspecto-usage-card span,
    .inspecto-ui-production .inspecto-theme-system .inspecto-search-result-copy small,
    .inspecto-ui-production .inspecto-theme-system .inspecto-remote-results small,
    .inspecto-ui-production .inspecto-theme-system .inspecto-current-assignment span,
    .inspecto-ui-production .inspecto-theme-system .inspecto-definition-grid dt {
        color: #c0ced9 !important;
    }
    .inspecto-ui-production .inspecto-theme-system .inspecto-button:not(.inspecto-button--primary):not(.inspecto-button--danger),
    .inspecto-ui-production .inspecto-theme-system .inspecto-theme-toggle {
        background: #123047 !important;
        border-color: #45637a !important;
        color: #f3f8fc !important;
    }
    .inspecto-ui-production .inspecto-theme-system .inspecto-button:disabled {
        background: #1b3548 !important;
        border-color: #3a5568 !important;
        color: #a9bbc8 !important;
    }
}
