/* Existing layouts remain in a lower cascade layer; the approved system owns presentation. */
@import url("dmarc_platform.css?v=20260929a") layer(legacy);
@import url("dmarc_overview.css?v=20260929a");

.graphite-app .auth-preference-form { display:grid; grid-template-columns:minmax(220px,1fr) minmax(200px,1fr); gap:16px; align-items:start; margin:16px 0; }
.graphite-app .auth-preference-form label { display:grid; gap:8px; }
.graphite-app .auth-preference-form button { justify-self:start; }
.graphite-app .dns-history-filters,.graphite-app .report-activity-filters { display:flex; gap:16px; align-items:end; flex-wrap:wrap; margin:16px 0; }
.graphite-app .dns-history-filters label:first-child { flex:2 1 260px; }
.graphite-app .dns-history-filters label,.graphite-app .report-activity-filters label { flex:1 1 180px; display:grid; gap:8px; }
.graphite-app .dns-history-filter-count { color:#b1bec5; font-size:12px; }
.graphite-app .dns-history-filters.inline-form { display:grid; grid-template-columns:minmax(0,2fr) minmax(150px,1fr) auto; align-items:end; gap:16px; }
.graphite-app .dns-history-filters.inline-form label { min-width:0; }
.graphite-app .dns-history-filters.inline-form :is(input,select) { width:100%; height:44px; }
.graphite-app .snapshot-day-link { display:flex; align-items:center; min-height:44px; }
.graphite-app .snapshot-bar-link { display:flex; align-items:center; min-height:44px; }
.graphite-app .snapshot-bar-link .snapshot-bar-track { width:100%; }
.graphite-app .report-activity-group { border-top:1px solid var(--line); }
.graphite-app .report-activity-group>summary { display:grid; grid-template-columns:minmax(180px,2fr) repeat(3,minmax(100px,1fr)); gap:16px; padding:20px 0; cursor:pointer; }
.graphite-app .report-activity-group>summary span { display:grid; gap:6px; }
.graphite-app .report-activity-group>summary small { color:#b1bec5; }
.graphite-app .report-activity-group>summary::before { content:'+'; position:absolute; right:0; }
.graphite-app .report-activity-group[open]>summary::before { content:'−'; }
.graphite-app .report-activity-group>summary { position:relative; padding-right:24px; }
.graphite-app .report-activity-body { padding:0 0 24px; }
.graphite-app .report-activity-metadata { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:0 0 20px; }
.graphite-app .report-activity-metadata dt,.graphite-app .report-auth-evidence dt { color:#b1bec5; font-size:12px; margin-bottom:6px; }
.graphite-app .report-activity-metadata dd,.graphite-app .report-auth-evidence dd { margin:0 0 12px; overflow-wrap:anywhere; }
.graphite-app .report-auth-evidence { min-width:220px; max-width:480px; }
.graphite-app .report-auth-result { margin:12px 0; padding:12px; border:1px solid var(--line); border-radius:12px; }
.graphite-app .report-auth-evidence p,.graphite-app .report-auth-evidence h3 { white-space:normal; overflow-wrap:anywhere; }
.graphite-app .report-source-row { border-top:1px solid var(--line); }
.graphite-app .report-source-row>summary { display:grid; grid-template-columns:minmax(130px,1.4fr) repeat(5,minmax(65px,1fr)); align-items:start; gap:16px; padding:18px 24px 18px 0; position:relative; cursor:pointer; }
.graphite-app .report-source-row>summary>span { display:grid; gap:7px; justify-items:start; min-width:0; }
.graphite-app .report-source-row>summary small { color:#b1bec5; font-size:12px; }
.graphite-app .report-source-row>summary::after { content:'+'; position:absolute; right:0; top:18px; }
.graphite-app .report-source-row[open]>summary::after { content:'−'; }
.graphite-app .report-source-evidence { padding:20px; border:1px solid var(--line); border-radius:16px; margin-bottom:20px; overflow-wrap:anywhere; }
.graphite-app .report-source-evidence dd { margin:0 0 16px; }
.graphite-app .report-source-evidence dt { color:#b1bec5; margin-bottom:6px; }
.graphite-app .report-source-evidence .record-value { overflow-wrap:anywhere; white-space:normal; }
.graphite-app .report-auth-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin:20px 0; }
.graphite-app .report-activity .snapshot-volume { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; border-top:1px solid var(--line); padding-top:24px; margin-top:24px; }
.graphite-app .report-activity .snapshot-volume>div { display:grid; align-content:start; gap:8px; }
.graphite-app .report-activity .snapshot-volume strong { display:block; font-family:var(--font-display,'Space Grotesk',sans-serif); font-size:28px; line-height:1.3; }
.graphite-app .report-activity .snapshot-volume small { display:block; color:#b1bec5; }
@media(max-width:640px) {
  .graphite-app .auth-preference-form,.graphite-app .report-activity-metadata { grid-template-columns:1fr; }
  .graphite-app .dns-history-filters label,.graphite-app .report-activity-filters label { flex-basis:100%; }
  .graphite-app .report-activity-group>summary { grid-template-columns:1fr 1fr; }
  .graphite-app .report-activity .snapshot-volume { grid-template-columns:1fr; gap:24px; }
  .graphite-app .dns-history-filters.inline-form,.graphite-app .report-auth-columns { grid-template-columns:1fr; }
  .graphite-app .report-source-row>summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Remove legacy decorative fills while retaining their proven structural layout. */
.graphite-app:not(.graphite-overview) :where(main section,main article,main div,main dl,main dt,main dd,main header,main footer,main li) {background:transparent;color:inherit;border-color:var(--line);box-shadow:none}
.graphite-app:not(.graphite-overview) :where(main span,main strong,main small,main b,main h4) {color:inherit}
.graphite-app:not(.graphite-overview) :where(main p,main span) {background:transparent;border-color:var(--line)}
.graphite-app:not(.graphite-overview) :where(main small) {font-size:12px}

.graphite-app {
  --bg:#101618; --surface:#192125; --surface-muted:#222d32;
  --ink:#f2f5f7; --muted:#b1bec5; --line:#35434a;
  --accent:#8bf1b0; --accent-hover:#b3f8cb; --accent-soft:#253d31;
  --nav:#192125; --nav-active:#2a4036; --brand-blue:#8bf1b0;
  --ok:#8bf1b0; --ok-soft:#253d31; --warn:#f2c66d; --warn-soft:#3b3322;
  --danger:#ffaaa4; --danger-soft:#3d2b2c;
}
.graphite-app .workspace-topbar-shell {max-width:1664px;margin:0 auto;padding:24px 32px 0}
.graphite-app .workspace-layout {display:grid;grid-template-columns:208px minmax(0,1fr);gap:28px;align-items:start}
.graphite-app .workspace-layout>*,.graphite-app .domain-workspace {min-width:0}
.graphite-app .domain-sidebar {position:sticky;top:24px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:inset 0 1px 0 #ffffff06}
.graphite-app .workspace-navigation {display:block}
.graphite-app .scope-menu>summary>span {max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.graphite-app .company-current {display:grid;gap:6px;padding:4px 6px 18px;overflow-wrap:anywhere}
.graphite-app .company-current strong {font-size:14px;font-weight:600;color:var(--ink)}
.graphite-app .nav-section-label {color:var(--muted);font-size:11px;font-weight:500;letter-spacing:.07em;text-transform:uppercase}
.graphite-app .domain-nav {display:grid;gap:4px;padding:0;margin:0}
.graphite-app .domain-nav a {display:flex;align-items:center;min-height:42px;padding:10px 12px;border:1px solid transparent;border-radius:10px;color:var(--muted);font-size:13px;font-weight:500;line-height:1.4;box-shadow:none}
.graphite-app .domain-nav a:hover {background:#253238;color:var(--ink)}
.graphite-app .domain-nav a.active {background:var(--nav-active);border-color:#415d4e;color:var(--ok)}
.graphite-app .domain-switcher {display:grid;gap:8px;margin:20px 0 12px;padding-top:20px;border-top:1px solid var(--line)}
.graphite-app .domain-switcher label {color:var(--muted);font-size:12px}
.graphite-app .domain-switcher select {font-size:12px;min-width:0;padding:10px 7px}
.graphite-app .sidebar-more {margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.graphite-app .sidebar-more>summary {min-height:44px;padding:12px 8px;cursor:pointer;color:var(--muted);font-size:13px;font-weight:500}
.graphite-app .mobile-menu-toggle {display:none}
.graphite-app .workspace-breadcrumb {display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 18px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.graphite-app .workspace-breadcrumb a:hover {color:var(--ok)}
.graphite-app:not(.graphite-overview) :is(.page-title,.workspace-title) {display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}
.graphite-app:not(.graphite-overview) :is(.page-title,.workspace-title) h1 {font-size:32px;line-height:1.2;overflow-wrap:anywhere;margin:0}
.graphite-app:not(.graphite-overview) p {margin:8px 0 0;line-height:1.65;color:var(--muted)}
.graphite-app:not(.graphite-overview) h2 {font-size:20px;line-height:1.35;margin:0}
.graphite-app:not(.graphite-overview) h3 {font-size:16px;line-height:1.4;margin:0 0 8px;color:var(--ink)}
.graphite-app:not(.graphite-overview) :is(.panel,.overview-card,.login-panel) {background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:24px;margin-bottom:24px;box-shadow:inset 0 1px 0 #ffffff04}
.graphite-app :is(.panel-heading,.table-card-heading) {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.graphite-app :is(.eyebrow,.muted-copy,.record-meta,.auth-meta,.snapshot-period,.setup-note,.snapshot-footnote,.snapshot-grade-label,.snapshot-rating-footer,.snapshot-history-key,.snapshot-chart-row,.snapshot-metrics span,.snapshot-metrics small,.dns-domain-counts,.dns-stale,.dns-check-feedback,.mail-help,.history-empty,.history-record-heading>span,.dns-history-entry summary small) {color:var(--muted);font-size:12px;line-height:1.6}
.graphite-app .eyebrow {display:block;margin-bottom:6px;font-weight:500;text-transform:none;letter-spacing:normal}
.graphite-app :is(.toolbar,.inline-form,.auth-submit,.auth-import,.domain-row-actions) {display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.graphite-app :where(button,.button):not(:where(.ov-button,.overview-filters button,.overview-menu-panel button)) {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #455a63;border-radius:12px;background:#26353b;color:var(--ink);font:600 13px/1.45 Inter,Arial,sans-serif;box-shadow:none;cursor:pointer;text-align:center;text-transform:none;white-space:normal}
.graphite-app :is(button,.button):hover {filter:brightness(1.1)}
.graphite-app .button.primary,.graphite-app button.primary {background:var(--ok);color:#11251a;border-color:#a6f6c3}
.graphite-app .danger-button {background:var(--danger-soft);border-color:#85504e;color:var(--danger)}
.graphite-app button:disabled {opacity:.6;cursor:wait}
.graphite-app :is(input,select,textarea) {background:#222d32;color:var(--ink);border:1px solid #4a5c65;border-radius:12px;padding:11px 12px;min-height:44px;font:14px/1.5 Inter,Arial,sans-serif;max-width:100%;min-width:0;box-shadow:none}
.graphite-app :is(input,select,textarea):focus-visible {outline:2px solid var(--ok);outline-offset:3px;border-color:var(--ok)}
.graphite-app input::placeholder,.graphite-app textarea::placeholder {color:#94a5af;opacity:1}
.graphite-app :is(input[type=checkbox],input[type=radio]) {width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;accent-color:var(--ok)}
.graphite-app input[type=file] {width:100%;padding:8px}
.graphite-app input::file-selector-button {background:#35494f;color:var(--ink);border:0;border-radius:7px;padding:7px 10px;margin-right:12px;cursor:pointer}
.graphite-app textarea {resize:vertical;min-height:110px}
.graphite-app :is(label,.auth-form label,.auth-revision label) {color:#d5dfe4;font-size:13px;font-weight:500;line-height:1.6}
.graphite-app :is(label small,.login-note,.auth-note p,.auth-revision small,.auth-submit [role=status],.auth-connection [role=status]) {color:var(--muted);font-size:12px;font-weight:400}
.graphite-app .form-panel,.graphite-app .auth-form {display:grid;gap:20px;align-content:start;align-self:start}
.graphite-app form.form-panel:not(.panel):not(.overview-card) {border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;margin:20px 0 0;max-width:100%}
.graphite-app .mail-metrics>article {background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px;min-width:0}
.graphite-app .mail-metrics>article>span,.graphite-app .mail-metrics>article>small {color:var(--muted);font-size:12px}
.graphite-app .form-panel label {display:grid;gap:8px;min-width:0}
.graphite-app .form-panel input,.graphite-app .form-panel select,.graphite-app .form-panel textarea {width:100%}
.graphite-app .form-panel :is(input[type=checkbox],input[type=radio]) {width:18px}
.graphite-app .form-section {min-width:0;border:1px solid var(--line);border-radius:16px;padding:20px;margin:0}
.graphite-app .form-section legend {font-size:15px;padding:0 8px;font-weight:600;color:var(--ink)}
.graphite-app .mail-check {display:flex!important;align-items:flex-start;gap:10px}
.graphite-app .mail-check input {margin-top:3px}
.graphite-app .grid {gap:24px}
.graphite-app .access-readiness-item {padding:14px;border:1px solid var(--line);border-radius:12px}
.graphite-app .access-readiness-item.warn,.graphite-app .spf-risk-list p {background:var(--warn-soft);color:var(--warn);border-color:#79613a}
.graphite-app .access-readiness-item.danger {background:var(--danger-soft);color:var(--danger);border-color:#815351}
.graphite-app .permission-dot {padding:5px 9px;border-radius:8px;border:1px solid var(--line);font-size:12px;background:var(--surface-muted);color:var(--muted)}
.graphite-app .permission-dot.ok {background:var(--ok-soft);color:var(--ok);border-color:#486653}
.graphite-app .permission-dot.deny {color:var(--muted)}
.graphite-app main em {background:var(--surface-muted);color:var(--muted);border-color:var(--line)}
.graphite-app .invite-workflow-step>span {background:var(--surface-muted);color:var(--ink);border:1px solid var(--line)}
.graphite-app :is(.status-chip,.dns-result,.badge,.score,.history-change-count) {display:inline-flex;align-items:center;max-width:100%;gap:5px;background:#2b3940;border:1px solid #485c66;border-radius:8px;padding:5px 9px;color:#c7d4dc;font-size:12px;line-height:1.45;font-weight:500;white-space:normal}
.graphite-app :is(.status-chip.ok,.dns-result-ok,.badge.ok) {color:var(--ok);background:var(--ok-soft);border-color:#486653}
.graphite-app :is(.status-chip.warn,.dns-result-warn,.badge.warn) {color:var(--warn);background:var(--warn-soft);border-color:#79613a}
.graphite-app :is(.status-chip.danger,.badge.danger) {color:var(--danger);background:var(--danger-soft);border-color:#815351}
.graphite-app :is(.snapshot-grade-good,.snapshot-state-ok) {color:var(--ok)}
.graphite-app :is(.snapshot-grade-attention,.snapshot-state-warn,.auth-errors) {color:var(--warn)}
.graphite-app :is(.snapshot-grade,.snapshot-state-unknown,.snapshot-status-group dt,.snapshot-status-group h3,.snapshot-empty strong,.snapshot-chart-volume) {color:var(--muted)}
.graphite-app .snapshot-grade-good {color:var(--ok)}
.graphite-app .snapshot-grade-attention {color:var(--warn)}
.graphite-app :is(.snapshot-letter,.snapshot-metrics strong,.metrics-strip span,.mail-metrics strong) {font-family:"Space Grotesk",Inter,sans-serif;font-variant-numeric:tabular-nums}
.graphite-app .snapshot-letter {font-size:72px}
.graphite-app .snapshot-status-group h3 {font-family:Inter,sans-serif;font-size:12px;letter-spacing:.04em}
.graphite-app .snapshot-status-group dl>div {font-size:13px;line-height:1.5}
.graphite-app :is(.snapshot-grade,.snapshot-rating-footer,.snapshot-metrics,.snapshot-history-details,.snapshot-coverage) {border-color:var(--line)}
.graphite-app .snapshot-bar-track {background:#2a363c;border-radius:5px}
.graphite-app .history-pass {background:#8bf1b0}
.graphite-app .history-fail {background:#f2c66d}
.graphite-app .history-unknown {background:#8498a3}
.graphite-app :is(.metrics-strip>div,.mail-metrics>div,.summary-strip>div,.auth-dns-record,.history-record,.record-stack>div,.dns-line,.smtp-facts>div) {background:var(--surface-muted);border:1px solid var(--line);border-radius:16px;padding:16px;min-width:0}
.graphite-app :is(.table-scroll,.mail-table,.compact-table-wrap,.snapshot-table-scroll) {position:relative;width:100%;max-width:100%;overflow-x:auto;scrollbar-color:#455961 #171e21;border-radius:12px}
.graphite-app :is(.table-scroll,.mail-table,.compact-table-wrap,.snapshot-table-scroll):focus-visible {outline:2px solid var(--ok);outline-offset:4px}
.graphite-app:not(.graphite-overview) table {width:100%;border-collapse:collapse;background:transparent;border:0;margin:0;font-size:13px}
.graphite-app:not(.graphite-overview) :is(th,td) {padding:13px 12px;border:0;border-bottom:1px solid var(--line);color:var(--ink);background:transparent;text-align:left;font-size:13px;line-height:1.6;vertical-align:top;overflow-wrap:anywhere}
.graphite-app:not(.graphite-overview) thead th {background:#222d32;color:var(--muted);font-size:12px;font-weight:500;text-transform:none;letter-spacing:0}
.graphite-app:not(.graphite-overview) th[scope=row] {font-weight:500;text-transform:none;letter-spacing:0}
.graphite-app:not(.graphite-overview) tbody tr:hover {background:#202b2d}
.graphite-app:not(.graphite-overview) :is(td small,th small) {color:var(--muted);font-size:12px}
.graphite-app .snapshot-table :is(th,td) {white-space:nowrap;text-align:right}
.graphite-app .snapshot-table th:first-child {text-align:left}
.graphite-app :is(.snapshot-table a,.snapshot-text-link,.mail-link,.auth-secondary-link,.auth-revision summary,.snapshot-history-details>summary,.record-detail a:not(.button)) {color:var(--ok);text-decoration:underline;text-underline-offset:3px}
.graphite-app :is(pre,code,.auth-code,.auth-dns-record code,.record-value) {color:#d6e8e3;font:12px/1.7 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap}
.graphite-app :is(pre,.auth-code,.history-values,.record-value) {background:#11191c;border:1px solid var(--line);border-radius:12px;padding:14px;max-width:100%;max-height:440px;overflow:auto}
.graphite-app :is(.raw-report,.record-stack,.record-stack article) {min-width:0;max-width:100%}
.graphite-app .raw-report {background:#11191c;color:#d6e8e3;border:1px solid var(--line);border-radius:12px}
.graphite-app :is(.auth-warning,.history-notice,.warning,.notice) {background:var(--warn-soft);color:var(--warn);border:1px solid #79613a;border-radius:12px;padding:14px;font-size:13px;line-height:1.65}
.graphite-app :is(.auth-error,.report-delivery-error,.history-removed) {background:var(--danger-soft);color:var(--danger);border-color:#815351;border-radius:12px}
.graphite-app .history-added {background:var(--ok-soft);color:var(--ok);border-color:#486653}
.graphite-app :is(.auth-error p,.notice p,.warning p,.history-notice p) {color:inherit}
.graphite-app .dns-domain-card {background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:visible;margin-top:16px}
.graphite-app .dns-domain-card>summary {padding:18px;background:#222d32;color:var(--ink);border-radius:16px;cursor:pointer}
.graphite-app .dns-domain-name {color:var(--ink);font-size:14px}
.graphite-app .dns-domain-body {padding:20px}
.graphite-app .dns-check {background:#1b272b;border:1px solid var(--line);border-radius:14px;padding:16px}
.graphite-app .dns-check h3 {font-size:14px}
.graphite-app .dns-evidence>summary {color:var(--muted);font-size:12px;min-height:40px;padding:12px 0;cursor:pointer}
.graphite-app :is(.dns-check p,.dns-check small,.dns-evidence,.dns-check-heading span) {color:var(--muted);font-size:12px}
.graphite-app .dns-check-grid {gap:14px}
.graphite-app :is(.content-details,.mail-details,.help-section,.auth-add) {background:transparent;border:1px solid var(--line);border-radius:14px;padding:0;margin:16px 0}
.graphite-app :is(.content-details,.mail-details,.help-section,.auth-add)>summary {color:var(--muted);font-size:14px;font-weight:500;cursor:pointer;padding:16px;min-height:48px}
.graphite-app :is(.content-details,.mail-details,.help-section,.auth-add)[open]>summary {color:var(--ink);border-bottom:1px solid var(--line);margin-bottom:16px}
.graphite-app :is(.content-details,.mail-details,.help-section,.auth-add)>:not(summary) {margin-left:16px;margin-right:16px}
.graphite-app :is(.content-details,.mail-details,.help-section,.auth-add)>:last-child {margin-bottom:16px}
.graphite-app .help-tip-content {max-height:calc(100vh - 32px);overflow:auto}
.graphite-app .help-tip-content strong {color:var(--ink)}
.graphite-app .help-tip>summary {font:500 15px Inter;color:var(--muted);border:1px solid #40545c;min-height:32px}
.graphite-app .dns-history-entry {border-color:var(--line)}
.graphite-app .dns-history-entry summary time {color:var(--ink)}
.graphite-app .history-record-heading>strong {color:var(--ok)}
.graphite-app .empty-state {padding:20px;color:var(--muted);background:transparent;border-color:var(--line)}
.graphite-app .login-shell {max-width:480px;width:100%;margin:32px auto}
.graphite-app.login-page .shell-header {display:none}
.graphite-app.login-page .page-shell {display:grid;place-items:center;min-height:90vh}
.graphite-app .login-brand-hero {background:transparent;border:0;border-radius:0;box-shadow:none;padding:0 12px 20px;grid-template-columns:64px 1fr;min-height:0}
.graphite-app .login-brand-hero img {width:64px;height:64px;background:#dce7e8;border-radius:16px;padding:8px}
.graphite-app .login-brand-art {display:none}
.graphite-app .login-brand-hero span {color:var(--muted);text-transform:none;font:13px Inter}
.graphite-app .login-brand-hero strong {font:600 28px "Space Grotesk",Inter,sans-serif}
.graphite-app .login-panel h1 {font-size:24px}
.graphite-app .login-panel .button {width:100%}
.graphite-app .mfa-qr-card {background:#fff;padding:18px;border-radius:16px;color:#172033}

/* Branded customer documents retain their paper surface inside the dark portal. */
body.graphite-app .report-document {--ink:#172033;--muted:#526174;--surface:white;--surface-muted:#f1f4f7;--line:#d8e0ea;--ok:#146c43;--ok-soft:#e7f6ee;--warn:#855400;--warn-soft:#fff4df;--danger:#a72c24;--danger-soft:#fee4e2;background:white;color:var(--ink);border:1px solid var(--line);border-radius:20px;overflow:hidden}
body.graphite-app .report-document :is(h1,h2,h3,h4,strong,th,td) {color:var(--ink)}
body.graphite-app .report-document :is(p,small,dt) {color:var(--muted)}
body.graphite-app .report-document :is(section,article,header,div,footer,th,td) {border-color:var(--line)}
body.graphite-app .report-document thead th {background:#eef2f6;color:var(--muted)}
body.graphite-app .report-document tbody tr:hover {background:#f4f7f9}
body.graphite-app .report-document .it-report-header {background:#f7f9fb;border-bottom:1px solid var(--line)}
body.graphite-app .report-document :is(.report-section,.report-footer) {background:white}
body.graphite-app .report-document :is(.status-chip.ok,.status-chip.warn,.status-chip.danger) {border-color:currentColor}

@media(max-width:1150px) {
 .graphite-app .workspace-topbar-shell {padding:20px 24px 0}
 .graphite-app .workspace-layout {grid-template-columns:188px minmax(0,1fr);gap:20px}
 .graphite-app .domain-sidebar {padding:12px}
 .graphite-app:not(.graphite-overview) :is(.panel,.overview-card) {padding:20px}
 .graphite-app .two-up,.graphite-app .auth-workflow {grid-template-columns:1fr}
 .graphite-app .snapshot-rating-grid {grid-template-columns:110px minmax(0,1fr);gap:20px}
 .graphite-app .snapshot-grade {grid-row:1/3;align-self:center}
 .graphite-app .snapshot-status-group:not(.snapshot-coverage) {grid-column:2}
 .graphite-app .snapshot-coverage {grid-column:1/-1;display:block;border-top:1px solid var(--line);padding-top:16px}
 .graphite-app .snapshot-coverage dl {display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
}
@media(max-width:760px) {
 .graphite-app .workspace-topbar-shell {padding:16px 16px 0}
 .graphite-app .workspace-layout {grid-template-columns:1fr;gap:20px}
 .graphite-app .domain-sidebar {position:static;padding:10px;border-radius:16px}
 .graphite-app .mobile-menu-toggle {display:flex!important;width:100%;justify-content:space-between!important;background:#253238!important}
 .graphite-app .workspace-navigation {display:none;padding:16px 4px 4px}
 .graphite-app .workspace-navigation.mobile-open {display:block}
 .graphite-app:not(.graphite-overview) :is(.page-title,.workspace-title) {align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}
 .graphite-app:not(.graphite-overview) :is(.page-title,.workspace-title) h1 {font-size:28px}
 .graphite-app:not(.graphite-overview) :is(.panel,.overview-card,.login-panel) {padding:18px;border-radius:20px;margin-bottom:20px}
 .graphite-app .panel-heading {align-items:flex-start;flex-wrap:wrap;gap:12px}
 .graphite-app .toolbar {gap:8px;width:100%}
 .graphite-app .toolbar .button {flex:1 1 auto}
 .graphite-app .form-panel,.graphite-app .auth-fields,.graphite-app .mail-policy-options {grid-template-columns:1fr}
 .graphite-app .snapshot-rating-grid {grid-template-columns:86px minmax(0,1fr);gap:16px}
 .graphite-app .snapshot-letter {font-size:58px}
 .graphite-app .snapshot-grade {padding-right:12px}
 .graphite-app .snapshot-status-group dl>div {grid-template-columns:58px minmax(0,1fr);font-size:12px}
 .graphite-app .snapshot-metrics,.graphite-app .metrics-strip {grid-template-columns:repeat(2,minmax(0,1fr))}
 .graphite-app .access-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .graphite-app .access-summary-grid>div {padding:12px;border-radius:12px;background:var(--surface-muted)}
 .graphite-app .access-summary-grid span {font-size:11px;line-height:1.5;font-weight:500}
 .graphite-app .access-summary-grid strong {font:600 24px/1.3 "Space Grotesk",Inter,sans-serif}
 .graphite-app .dns-domain-body {padding:14px}
 .graphite-app .dns-check-grid {grid-template-columns:1fr}
 .graphite-app .history-diff,.graphite-app .history-status-grid {grid-template-columns:1fr}
 .graphite-app .mail-table table,.graphite-app .table-scroll table {min-width:560px}
 .graphite-app .dns-connection-record table {min-width:0;display:block}
 .graphite-app .dns-connection-record thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .graphite-app .dns-connection-record :is(tbody,tr,td) {display:block;width:100%}
 .graphite-app .dns-connection-record td {padding:12px 0}
 .graphite-app .dns-connection-record td::before {content:attr(data-label);display:block;color:var(--muted);font-size:12px;margin-bottom:6px}
 .graphite-app .login-shell {margin:16px auto}
}
@media print {
 .graphite-app {background:white!important;color:#172033!important;color-scheme:light;--ink:#172033;--muted:#4d5d6d;--surface:white;--line:#d8e0ea;--ok:#146c43;--warn:#855400}
 .graphite-app :is(.workspace-topbar-shell,.domain-sidebar,.preview-banner,.flash-stack,.no-print) {display:none!important}
 .graphite-app .workspace-layout {display:block}
 .graphite-app .page-shell {width:100%;padding:0}
 .graphite-app :is(.panel,.overview-card,.report-document) {background:white!important;color:#172033!important;box-shadow:none!important;break-inside:avoid}
 .graphite-app :is(p,h1,h2,h3,th,td,small,span,strong) {color:inherit}
 .graphite-app table {min-width:0!important}
 .graphite-app :is(.table-scroll,.mail-table,.snapshot-table-scroll) {overflow:visible}
}
