/* NuzLabs 6.41.6.38.235.10 — System Admin contrast and layout regression repair.
 * Scoped to System Admin; no authorization, request, or workflow changes.
 * Light canvas + readable light cards; explicit readable ink on every dark privacy/launch surface.
 */
.system-admin-page {
  --nuzadmin-ink:#172a42;
  --nuzadmin-muted:#435a73;
  --nuzadmin-line:#ccd9e7;
  --nuzadmin-light:#f2f6fb;
  --nuzadmin-white:#fff;
  --nuzadmin-deep:#102642;
  --nuzadmin-on-deep:#f3f8ff;
  --nuzadmin-soft-on-deep:#d2e2f4;
  color:var(--nuzadmin-ink);
}
.system-admin-page *,
.system-admin-page *::before,
.system-admin-page *::after {box-sizing:border-box}
.system-admin-page .system-admin-hero {
  color:var(--nuzadmin-on-deep);
  padding:clamp(18px,2.5vw,36px);
}
.system-admin-page .system-admin-hero h1 {color:#fff;font-size:clamp(2.2rem,5vw,4.4rem);line-height:1.02;letter-spacing:.005em;overflow-wrap:anywhere}
.system-admin-page .system-admin-hero p {color:#d8e7fa;line-height:1.55;max-width:80ch}
.system-admin-page .system-admin-hero .eyebrow {color:#8ed1ff}
.system-admin-page .system-admin-readonly-badge {color:#e5f2ff;border-color:#5682aa}
.system-admin-page .system-admin-nav {
  display:flex;flex-wrap:nowrap;gap:clamp(2px,.5vw,10px);min-width:0;max-width:100%;
  overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;
  padding:6px;scrollbar-width:thin;scrollbar-color:#afc5dd transparent;
  background:#fff;border:1px solid var(--nuzadmin-line);
}
.system-admin-page .system-admin-nav button {
  flex:0 0 auto;white-space:nowrap;min-height:43px;
  padding:10px clamp(10px,1.1vw,18px);
  color:#344b67;
}
.system-admin-page .system-admin-nav button.active,
.system-admin-page .system-admin-nav button[aria-current="page"] {background:#102443;color:#fff}
.system-admin-page .system-admin-nav button:focus-visible,
.system-admin-page .button:focus-visible,
.system-admin-page button:focus-visible,
.system-admin-page select:focus-visible,
.system-admin-page input:focus-visible,
.system-admin-page textarea:focus-visible,
.system-admin-page a:focus-visible {outline:3px solid #4b9bda;outline-offset:2px}
.system-admin-page .system-admin-mount {
  min-width:0;max-width:100%;padding:clamp(12px,1.8vw,24px);
  background:var(--nuzadmin-light);color:var(--nuzadmin-ink);
  border:1px solid var(--nuzadmin-line);border-radius:16px;
  overflow-wrap:anywhere;
}
/* Consistent light/ink baseline across all eight workspaces and their details. */
.system-admin-page .system-admin-mount :is(
  .system-admin-card,.system-admin-directory-panel,.system-admin-directory-detail,
  .system-admin-detail-block,.system-admin-runtime-card,.system-admin-runtime-section,
  .system-admin-metric,.system-admin-action,.system-admin-subject,
  .system-admin-integrity-workspace,.system-admin-pitching-integrity,
  .system-admin-support-report,.system-admin-support-message,
  .system-admin-data-request,.system-admin-issue,
  .site-admin-archive-summary-v215,.site-admin-archive-group-v215,
  .nuzlab-retention-panel-v2349
) {
  background:#fff;color:var(--nuzadmin-ink);border-color:var(--nuzadmin-line);
  min-width:0;max-width:100%;
}
.system-admin-page .system-admin-mount :is(
  .system-admin-card,.system-admin-directory-panel,.system-admin-directory-detail,
  .system-admin-detail-block,.system-admin-runtime-card,.system-admin-runtime-section,
  .system-admin-metric,.system-admin-action,.system-admin-subject,
  .nuzlab-retention-panel-v2349
) :is(h2,h3,h4,h5,strong,b) {color:#11263c}
.system-admin-page .system-admin-mount :is(
 .system-admin-card,.system-admin-directory-panel,.system-admin-directory-detail,
 .system-admin-detail-block,.system-admin-runtime-card,.system-admin-runtime-section,
 .system-admin-metric,.system-admin-action,.system-admin-subject,
 .nuzlab-retention-panel-v2349
) :is(p,small,span,dt,dd,label,li) {color:inherit}
.system-admin-page .system-admin-mount :is(
  .system-admin-boundary-note,.system-admin-inline-note,
  .system-admin-toolbar-summary,.system-admin-runtime-note,
  .site-admin-archive-stat-v215,.site-admin-archive-role-review-v215
) {background:#e9f1fa;color:#203e5c;border-color:#c8d8e9}
.system-admin-page .system-admin-mount :is(
  .system-admin-boundary-note,.system-admin-inline-note,
  .system-admin-toolbar-summary,.system-admin-runtime-note
) :is(b,strong,small,span,p) {color:#203e5c}
.system-admin-page .system-admin-mount :is(
  .system-admin-metrics,.system-admin-quick-actions,.system-admin-runtime-metrics,
  .system-admin-runtime-grid,.system-admin-two-col,.system-admin-detail-grid,
  .system-admin-directory-layout,.site-setup-grid,
  .system-admin-delivery-grid
) {min-width:0;max-width:100%}
.system-admin-page .system-admin-mount :is(
  .system-admin-metric,.system-admin-action,.system-admin-runtime-metric,
  .system-admin-directory-result,.system-admin-archive-preview-v215
) {overflow-wrap:anywhere}
.system-admin-page .system-admin-mount :is(
  .system-admin-metric,.system-admin-runtime-metric,.system-admin-action
) :is(strong,b) {color:#102f50}
.system-admin-page .system-admin-mount :is(
  .system-admin-generated,.system-admin-pitching-no-match,
  .site-admin-archive-foot-v215,.system-admin-directory-direct-toolbar,
  .system-admin-directory-result small
) {color:var(--nuzadmin-muted)}
/* Nested diagnostics, setup and record grids are not separate dark themes. */
.system-admin-page .system-admin-mount :is(
  .site-setup-card,.system-admin-runtime-error,.system-admin-runtime-version,
  .system-admin-delivery-worker,.system-admin-delivery-channel,
  .system-admin-integrity-finding,.system-admin-integrity-expected,
  .system-admin-pitching-audit-row,.system-admin-pitching-audit-diff,
  .system-admin-session-table>div,.system-admin-cycle-list>div,
  .system-admin-detail-list>div,.system-admin-facts>div,
  .system-admin-kv>span,.system-admin-search
) {background:#fff;color:#172a42;border-color:#cbd9e8;min-width:0}
.system-admin-page .system-admin-mount :is(
  .site-setup-card,.system-admin-runtime-error,.system-admin-runtime-version,
  .system-admin-delivery-worker,.system-admin-delivery-channel,
  .system-admin-integrity-finding,.system-admin-pitching-audit-row
) :is(h2,h3,h4,b,strong,span,small,p) {color:#203a55}
.system-admin-page .system-admin-mount .site-setup-note {background:#eaf2fb;color:#213e5b;border-color:#c5d6e8}
.system-admin-page .system-admin-mount .site-setup-note :is(b,strong,span,p) {color:#213e5b}
.system-admin-page .system-admin-mount :is(.system-admin-runtime-empty,.system-admin-directory-direct,.system-admin-delivery-empty,.system-admin-integrity-placeholder) {color:#38546f}
.system-admin-page .system-admin-mount :is(.system-admin-error,.system-admin-remediation-blockers) {border-color:#c98a73}
/* Form fields and table/filter labels should never inherit dark-on-dark styles. */
.system-admin-page .system-admin-mount :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  color:#192e47;background:#fff;border:1px solid #849bb5;
  border-radius:9px;min-height:42px;max-width:100%;font:inherit;
}
.system-admin-page .system-admin-mount :is(input,textarea)::placeholder {color:#60718a;opacity:1}
.system-admin-page .system-admin-mount :is(label,dt,legend,summary) {color:#1c3653}
.system-admin-page .system-admin-mount :is(table,dl,ol,ul) {max-width:100%;overflow-wrap:anywhere}
.system-admin-page .system-admin-mount :is(code,pre) {overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap}
/* Privacy Request worklist: main screenshot defect was dark text on dark background. */
.system-admin-page .nuzlab-privacy-worklist-toolbar {
  background:#102642;color:#f4f8ff;border:1px solid #45688a;
}
.system-admin-page .nuzlab-privacy-worklist-metrics>div {
  background:#1a3657;border-color:#496b8e;min-width:0;
}
.system-admin-page .nuzlab-privacy-worklist-metrics :is(strong,b) {color:#fff;opacity:1}
.system-admin-page .nuzlab-privacy-worklist-metrics span {color:#d5e6f8;opacity:1}
.system-admin-page .nuzlab-privacy-worklist-toolbar :is(label,p,.nuzlab-privacy-worklist-page>span) {
  color:#e8f2ff;opacity:1;
}
.system-admin-page .nuzlab-privacy-worklist-controls select {
  background:#fff;color:#152b45;border-color:#8ba9ca;min-height:44px;
}
.system-admin-page .nuzlab-privacy-worklist-toolbar :is(.button,.button.ghost) {
  color:#15304c;background:#f4f8ff;border:1px solid #aec7df;min-height:42px;
}
.system-admin-page .nuzlab-privacy-worklist-toolbar :is(.button,.button.ghost):hover:not(:disabled) {background:#dcecff;color:#102744}
.system-admin-page .nuzlab-privacy-worklist-toolbar :is(.button,.button.ghost):disabled {
  background:#d4dfeb;color:#475d75;opacity:1;cursor:not-allowed;
}
.system-admin-page .nuzlab-privacy-owner-bar {
  background:#173452;color:#eaf3ff;border-color:#547798;
}
.system-admin-page .nuzlab-privacy-owner-bar :is(h2,h3,h4,strong,b,label,span) {color:#f4f8ff}
.system-admin-page .nuzlab-privacy-owner-bar :is(p,small) {color:#d2e3f5}
.system-admin-page .nuzlab-privacy-owner-bar a {color:#a7dfff;text-underline-offset:3px}
.system-admin-page .nuzlab-privacy-case-history {background:#1e4062;border-color:#567694}
.system-admin-page .nuzlab-privacy-case-assign :is(input,select) {background:#fff;color:#132941}
.system-admin-page .nuzlab-privacy-intake-intro,
.system-admin-page .nuzlab-privacy-intake-item,
.system-admin-page .nuzlab-privacy-intake-empty {background:#102642;color:#f0f7ff}
.system-admin-page .nuzlab-privacy-intake-intro :is(h2,h3,b,strong),
.system-admin-page .nuzlab-privacy-intake-item :is(h2,h3,b,strong) {color:#fff}
.system-admin-page .nuzlab-privacy-intake-intro :is(p,small),
.system-admin-page .nuzlab-privacy-intake-item :is(p,small,dt) {color:#d3e3f4}
.system-admin-page .nuzlab-privacy-intake-item :is(dd,code) {color:#fff}
.system-admin-page .nuzlab-privacy-intake-action label {color:#eef6ff}
.system-admin-page .nuzlab-privacy-intake-action select {background:#fff;color:#142b45;border-color:#9ab7d4}
.system-admin-page .nuzlab-privacy-intake-disclaimer {color:#465c74}
/* Launch Gates: retain the intended navy cards, with explicit readable content. */
.system-admin-page .nuzlab-launch-summary,
.system-admin-page .nuzlab-launch-gate-card,
.system-admin-page .nuzlab-launch-stats>div {background:#102642;color:#f1f7ff;border-color:#54708c}
.system-admin-page .nuzlab-launch-summary :is(h2,strong,b),
.system-admin-page .nuzlab-launch-gate-card :is(h3,h4,strong,b),
.system-admin-page .nuzlab-launch-stats b {color:#fff}
.system-admin-page .nuzlab-launch-summary :is(p,small),
.system-admin-page .nuzlab-launch-gate-card :is(p,small,span),
.system-admin-page .nuzlab-launch-stats small {color:#d6e6f8}
.system-admin-page .nuzlab-launch-consent-note {background:#493324;color:#ffefd8}
.system-admin-page .nuzlab-launch-consent-note a {color:#a9e3ff;text-decoration:underline}
.system-admin-page .nuzlab-launch-footnote {color:#415870}
/* Retention & archive controls: always light panels with readable labels. */
.system-admin-page .nuzlab-retention-panel-v2349 :is(h2,h3,h4,b,strong,summary) {color:#142a42}
.system-admin-page .nuzlab-retention-panel-v2349 :is(p,span,small,li) {color:#405874}
.system-admin-page .nuzlab-retention-panel-v2349 .nuzlab-retention-metric-v2349 {background:#f6f9fd;border-color:#cbdaea;color:#213953}
.system-admin-page .nuzlab-retention-policy-v2349>div {background:#f6f9fd;border-color:#cbdaea}
.system-admin-page .site-admin-archive-stat-v215 {background:#edf3fa;color:#203650}
.system-admin-page .site-admin-archive-stat-v215 span {color:#4f6177}
/* Staff/guardian intake filters and review cards stay on the readable light side. */
.system-admin-page .nuzlab-guardian-staff-v2347,
.system-admin-page .nuzlab-guardian-staff-list-v2347 article {background:#fff;color:#17314a;border-color:#c8d7e7}
.system-admin-page .nuzlab-guardian-staff-v2347 :is(h3,b,strong,summary,label) {color:#17314a}
.system-admin-page .nuzlab-guardian-staff-v2347 :is(p,small,span) {color:#425c75}
/* Modals can be appended outside the admin page; these selectors target only admin modals. */
:is(.system-admin-account-op-modal,.system-admin-remediation-modal,.site-admin-roster-modal,.site-admin-identity-modal) {
  color:#172a42;background:#fff;max-width:min(94vw,860px);
}
:is(.system-admin-account-op-modal,.system-admin-remediation-modal,.site-admin-roster-modal,.site-admin-identity-modal) :is(input:not([type="checkbox"]),select,textarea) {
  color:#182d45;background:#fff;border-color:#859bb4;max-width:100%;
}
@media(max-width:900px){
  .system-admin-page .system-admin-mount :is(.system-admin-directory-layout,.system-admin-two-col,.system-admin-runtime-grid,.system-admin-detail-grid) {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
  .system-admin-page .dash-shell {min-width:0;padding-inline:12px}
  .system-admin-page .system-admin-mount {padding:12px;border-radius:13px}
  .system-admin-page .system-admin-nav {margin-bottom:8px}
  .system-admin-page .system-admin-nav button {padding-inline:13px}
  .system-admin-page .nuzlab-privacy-worklist-toolbar {padding:14px}
  .system-admin-page .nuzlab-privacy-worklist-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
  .system-admin-page .nuzlab-privacy-worklist-controls label {flex:1 1 100%;min-width:0;max-width:100%}
  .system-admin-page .nuzlab-privacy-worklist-page {width:100%;justify-content:flex-start}
  .system-admin-page .system-admin-mount :is(.system-admin-metrics,.system-admin-quick-actions,.system-admin-runtime-metrics) {grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
}
@media(max-width:420px){
  .system-admin-page .nuzlab-privacy-worklist-page :is(button,.button) {flex:1 1 auto}
  .system-admin-page .system-admin-nav {padding:4px}
  .system-admin-page .nuzlab-launch-summary {padding:16px}
}
