:root{color-scheme:dark;--bg:#0b1019;--panel:#111925;--border:#222d3c;--text:#e9eef6;--muted:#97a6ba;--accent:#78bfff;--sidebar:248px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}svg{width:21px;height:21px;flex-shrink:0}button{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled,input:disabled{cursor:not-allowed}button[hidden],[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:10px;left:10px;z-index:100;background:#203b56;padding:12px;transform:translateY(-150%)}.skip-link:focus{transform:none}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#0e1520;border-right:1px solid var(--border);padding:32px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:13px;padding:0 12px 45px;font-size:21px;letter-spacing:-.7px;font-weight:650}.brand-mark{display:grid;place-content:center;position:relative;width:39px;height:42px;background:#172a40;border:1px solid #294c6b;border-radius:12px;color:#b5d9ff;font-size:25px}.brand-mark span{position:absolute;right:4px;bottom:2px;color:#68d1df}.brand-caption{display:block;font-size:9px;letter-spacing:2.3px;font-weight:500;color:var(--muted);margin-top:1px}.nav-label{font-size:10px;letter-spacing:1.8px;color:#7e91a9;padding:0 14px;margin-bottom:14px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 14px;margin-bottom:5px;border:1px solid transparent;border-radius:9px;color:#aebbd0;font-weight:500}.nav-link svg{color:#849ab3}.nav-link:hover{background:#172231;color:var(--text)}.nav-link.active{background:#152a40;border-color:#23415e;color:#a3d2ff}.nav-link.active svg{color:#83c3ff}.nav-divider{border-top:1px solid var(--border);margin:25px 12px}.external{margin-left:auto}.external svg{width:15px;height:15px}.sidebar-footer{margin-top:auto;padding:24px 10px 0;border-top:1px solid var(--border);display:flex;gap:12px;align-items:center;font-size:12px}.sidebar-footer span:not(.small-mark){display:block;color:var(--muted);font-size:10px}.small-mark{display:grid;place-content:center;width:30px;height:30px;border:1px solid var(--border);border-radius:8px;color:var(--accent)}.workspace{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:80px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:18px;padding:0 42px;background:#0d141e}.breadcrumb{display:flex;gap:14px;align-items:center;font-size:12px;color:var(--muted)}.breadcrumb strong{font-weight:500;color:var(--text)}.phase-tag{margin-left:auto;color:#a2b1c4;font-size:10px;border:1px solid var(--border);padding:4px 10px;border-radius:6px}main{width:100%;max-width:1500px;margin:0 auto;padding:42px;flex:1}main:focus{outline:none}.page-heading{margin-bottom:30px}.eyebrow{color:#79b8e5;font-size:10px;letter-spacing:2px;font-weight:650;margin:0 0 10px}h1{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:0 0 12px;font-weight:620}h2{font-size:16px;font-weight:600;margin:0;letter-spacing:-.25px}h3{font-size:15px;font-weight:550;margin:0 0 7px}p{color:var(--muted);margin:0}.page-heading>p:last-child,.page-heading>div>p:last-child{font-size:13px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.metrics.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:23px 24px}.metric-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#b6c4d5;font-size:12px}.icon-box{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#182538;border:1px solid #263b51;border-radius:9px;color:#8ebfe7}.icon-box svg{width:17px;height:17px}.metric-value{font-size:34px;line-height:1.2;margin:18px 0 11px;color:#d5e0ed;font-weight:500}.metric p{font-size:10px;color:#8e9eb3}.data-note{font-size:11px;margin:16px 0 30px;padding-left:2px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 25px;border-bottom:1px solid var(--border)}.panel-heading>svg{color:#7893af}.dashboard-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.empty{padding:65px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty p{max-width:400px;font-size:12px}.empty.compact{padding:38px 24px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;background:#172435;border:1px solid #283a50;border-radius:16px;color:#81a9cd;margin-bottom:18px}.empty-icon svg{width:24px;height:24px}.webmail-card{padding:28px;position:relative;background:#122030}.webmail-card .large-icon{display:block;color:#8cceee;margin:24px 0 18px}.large-icon svg{width:30px;height:30px}.webmail-card h2{font-size:20px;margin-bottom:10px}.webmail-card p{font-size:12px;max-width:330px}.button{display:inline-flex;align-items:center;gap:16px;background:#213f5c;border:1px solid #355b7e;color:#c7e6ff;border-radius:7px;padding:10px 15px;font-size:12px;font-weight:550;margin-top:24px}.button:hover{background:#2a4e70}.button svg{width:16px;height:16px}.page-footer{margin:20px 42px 0;padding:22px 0;border-top:1px solid var(--border);color:#8191a6;font-size:10px;display:flex;justify-content:space-between;gap:16px}.badge{color:#9ec0dc;font-size:10px;background:#182b3d;padding:4px 9px;border-radius:5px}.table-tools{padding:22px 25px;display:flex;justify-content:space-between;align-items:center;gap:18px}.search{display:flex;align-items:center;gap:10px;background:#0e1622;border:1px solid var(--border);border-radius:7px;padding:10px 13px;width:340px;max-width:100%;color:#8395ab}.search svg{width:17px;height:17px}.search input{width:100%;min-width:0;background:none;border:0;color:var(--muted);font-size:12px}.search input::placeholder{color:#8b9bb0;opacity:1}.muted{color:var(--muted);font-size:11px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:480px;text-align:left}th{color:#98aac1;font-size:10px;letter-spacing:.6px;font-weight:500;padding:14px 25px;background:#0e1723;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}td{padding:0}td .empty{min-height:280px}.heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.periods{display:flex;gap:4px;margin:0;padding:4px;background:#111b28;border:1px solid var(--border);border-radius:8px;white-space:nowrap}.periods button{background:none;border:0;padding:7px 10px;color:#9caec4;font-size:11px}.chart-panel{margin-bottom:24px}.legend{display:flex;gap:18px;font-size:10px;color:#a9bacf}.legend span:before{content:"";display:inline-block;width:6px;height:6px;background:#76bdf2;border-radius:50%;margin-right:7px}.legend span:last-child:before{background:#79cfc9}.chart-empty{min-height:280px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 69px,#1a2635 70px);margin:0 25px}.section-heading{margin:34px 0 20px}.section-heading p{margin-top:8px;font-size:12px}.domain-summary{display:flex;align-items:center;gap:24px;padding:25px}.domain-summary .empty-icon{margin:0}.domain-value{font-size:26px}.domain-summary p{margin-left:auto;font-size:12px}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.service-card{padding:25px}.service-card h3{margin-top:20px;font-size:17px}.service-card p{font-size:11px}.service-card dl{display:grid;grid-template-columns:auto 1fr;gap:14px 12px;margin:24px 0 0;font-size:11px}.service-card dt{color:var(--muted)}.service-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.service-url{display:block;color:var(--accent);font-size:12px;margin-top:26px;overflow-wrap:anywhere}.service-url svg{vertical-align:middle;width:15px;height:15px}.error-page{margin:30px auto;max-width:650px;padding:65px 25px}.error-page .eyebrow{font-size:14px}.menu-toggle{background:none;border:1px solid var(--border);border-radius:6px;padding:7px;line-height:0}
@media(min-width:1500px){main{padding-top:52px}.metric{padding:28px}.metric-value{margin-top:25px}}
@media(max-width:1150px){main{padding:30px}.topbar{padding:0 30px}.metrics.four{grid-template-columns:repeat(2,minmax(0,1fr))}.service-grid{grid-template-columns:1fr}.service-card dl{max-width:420px}.heading-row{align-items:flex-start;flex-direction:column}.dashboard-bottom{grid-template-columns:1fr 1fr}.page-footer{margin-left:30px;margin-right:30px}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:22px 18px;border-right:0;border-bottom:1px solid var(--border)}.brand{padding-bottom:22px}.sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:4px}.nav-label,.nav-divider,.sidebar-footer{display:none}.workspace{margin-left:0}.topbar{height:66px;padding:0 20px;gap:12px}.phase-tag{display:none}.breadcrumb{font-size:11px;gap:8px}main{padding:28px 20px}h1{font-size:28px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric{padding:18px}.metric-label{font-size:11px}.icon-box{width:28px;height:28px}.metric-value{font-size:30px}.dashboard-bottom{grid-template-columns:1fr}.table-tools{align-items:flex-start;flex-direction:column;padding:20px}.panel-heading{padding:20px}.domain-summary{flex-wrap:wrap}.domain-summary p{width:100%;margin-left:0}.page-footer{margin:20px 20px 0}.legend{gap:10px}.js .sidebar{position:fixed;inset:0 auto 0 0;width:270px;max-width:85vw;height:100dvh;overflow:auto;transform:translateX(-100%);transition:transform .18s ease}.js .sidebar nav{display:block}.js .sidebar .brand{padding-bottom:40px}.js .nav-label,.js .nav-divider{display:block}.js .sidebar-footer{display:flex}.js.menu-open .sidebar{transform:translateX(0)}.js .menu-toggle:not([hidden]){display:block}.overlay{position:fixed;inset:0;background:rgba(2,7,14,.72);border:0;z-index:20}.menu-open{overflow:hidden}}
@media(max-width:380px){.metrics,.metrics.four{grid-template-columns:1fr}.periods button{padding:7px}.page-footer{flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){.js .sidebar{transition:none}}

/* Dedicated portal identity and context controls. */
.sidebar { overflow-y: auto; }
.sidebar-footer { flex-shrink: 0; }
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-container { flex: 1; display: grid; place-content: center; grid-template-columns: minmax(0, 440px); gap: 30px; padding: 55px 24px; }
.login-intro { text-align: center; }
.login-intro .brand-mark { margin: 0 auto 25px; }
.login-intro p:last-child { font-size: 13px; }
.login-card { padding: 32px; }
.login-card > p { margin-top: 8px; font-size: 12px; }
.portal-form { display: flex; flex-direction: column; margin-top: 24px; gap: 10px; }
.portal-form label { font-size: 12px; color: #b5c6d9; margin-top: 8px; }
.portal-form input:not([type=hidden]), .portal-form select { width: 100%; background: #0c1420; color: var(--text); padding: 12px 14px; border: 1px solid #304157; border-radius: 7px; min-height: 46px; font: inherit; }
.portal-form .button { justify-content: center; margin-top: 18px; min-height: 46px; cursor: pointer; }
.login-note { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 26px !important; color: var(--muted); }
.login-footer { text-align: center; color: var(--muted); font-size: 11px; padding: 20px; }
.form-message { color: #ecc9b5; background: #302521; border: 1px solid #604231; border-radius: 7px; padding: 12px 14px; margin-top: 24px; font-size: 12px; }
.selection-panel { max-width: 650px; padding: 28px; }
.selection-panel .portal-form { margin-top: 0; }
.sidebar-context { padding: 0 14px 18px; font-size: 12px; overflow-wrap: anywhere; }
.sidebar-context span { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.context-links { display: flex; flex-direction: column; gap: 8px; padding: 15px 14px; color: var(--muted); font-size: 11px; }
.context-links a:hover { color: var(--accent); }
.logout-form { margin: 8px 0 20px; }
.logout-form button { width: 100%; background: transparent; cursor: pointer; font: inherit; font-size: 12px; }
.user-identity { margin-left: auto; color: #b2c7df; font-size: 12px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.domain-metric { font-size: 21px; line-height: 1.95; overflow-wrap: anywhere; }
.domain-value { overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .user-identity { max-width: 105px; font-size: 10px; }
    .breadcrumb { min-width: 0; }
    .breadcrumb span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 125px; }
    .login-card { padding: 25px; }
    .sidebar-footer { flex-shrink: 0; }
    .sidebar-context { padding-top: 10px; }
}

.domain-selector { display: grid; gap: .5rem; margin: 1rem; }
.domain-selector label { color: var(--muted, #a2afc5); font-size: .8rem; }
.domain-selector select, .domain-selector button { width: 100%; padding: .55rem; color: inherit; background: #111d30; border: 1px solid #34445e; border-radius: .4rem; }
.domain-selector select:focus-visible, .domain-selector button:focus-visible { outline: 2px solid #7ba8ff; outline-offset: 2px; }
.periods a { padding: 7px 10px; border-radius: 5px; color: #9caec4; font-size: 11px; }
.periods a:hover { color: var(--text); background: #172a40; }
.periods a.active { color: #c7e6ff; background: #213f5c; box-shadow: inset 0 0 0 1px #355b7e; }
.statistics-coverage { margin: 18px 0 26px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); font-size: 12px; }
.statistics-coverage strong { display: block; margin-bottom: 6px; font-weight: 550; color: #b6c4d5; }
.statistics-coverage p + p { margin-top: 5px; }
.statistics-coverage.partial { border-color: #3d4d60; }
.statistics-mailboxes tbody th, .statistics-mailboxes tbody td { padding: 15px 25px; border-bottom: 1px solid var(--border); font-size: 12px; }
.statistics-mailboxes tbody th { background: none; letter-spacing: normal; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.statistics-mailboxes th:not(:first-child), .statistics-mailboxes td:not([colspan]) { text-align: right; font-variant-numeric: tabular-nums; }
.statistics-mailboxes tbody tr:last-child th, .statistics-mailboxes tbody tr:last-child td { border-bottom: 0; }
@media(max-width:380px) { .periods a { padding: 7px; } }

/* ClientPortal UI phase 1: scoped read-only views, native SVG, no CDN. */
:root{--sidebar:264px;--muted:#a5b3c7}
select,summary,input[type=range]{font:inherit}select:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}summary{cursor:pointer}main,.workspace,.panel,.metric{min-width:0}.sidebar{padding-top:24px}.brand{padding-bottom:26px}.sidebar-context{padding-bottom:0}.domain-selector{margin:16px 10px 22px}.domain-selector select,.domain-selector button{min-height:44px}.nav-link{font-size:13px;min-height:46px}.nav-link small{display:block;font-size:10px;line-height:1.4;color:var(--muted);font-weight:400}.upcoming{color:#a3b0c3;cursor:default}.nav-link.upcoming:hover{background:transparent}.nav-divider{margin:14px 12px}.sidebar-footer{padding-top:16px}.context-links{padding-top:8px}.topbar{height:72px}.page-heading{margin-bottom:28px}h1{font-size:34px}.metrics.five{grid-template-columns:repeat(5,minmax(0,1fr))}.metrics{gap:16px}.metric{padding:22px 20px;border-radius:14px}.metric-label{font-size:13px}.metric-value{font-size:38px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#f0f5fc;margin:18px 0 8px}.metric p{font-size:12px}.panel{border-radius:14px}.panel-heading h2{font-size:17px}.statistics-coverage{display:flex;align-items:flex-start;gap:20px;padding:16px 20px;margin:20px 0 28px;background:#101925;font-size:12px}.statistics-coverage strong{flex-shrink:0;margin:0;padding:3px 9px;border-radius:5px;background:#1c2b3c;color:#c3dcf3;font-size:11px}.statistics-coverage.partial strong{background:#2a2830;color:#e5cfb2}.statistics-coverage p+p{margin-top:3px}.periods{padding:5px;border-radius:11px;gap:4px}.periods a{display:grid;place-items:center;padding:10px 15px;min-height:44px;min-width:60px;border-radius:7px;font-size:13px}.periods a.active{background:#284c6b;color:#f0f7ff;font-weight:650;box-shadow:inset 0 0 0 1px #567b9a}.activity-chart{margin:0;padding:24px}.chart-caption{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:17px;font-weight:600}.legend{font-size:12px;font-weight:400;gap:18px;flex-shrink:0}.legend span:before{width:16px;height:3px;border-radius:2px;vertical-align:middle;background:#84c5ff}.legend span:last-child:before{background:#c8d8e8;border-bottom:1px dashed #111925}.activity-svg{display:block;width:100%;height:auto;min-height:180px;margin:20px 0 0;overflow:visible}.chart-grid{stroke:#283447;stroke-width:1}.chart-axis{fill:#a5b3c7;font-size:12px}.chart-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.chart-line.sent{stroke:#84c5ff}.chart-line.received{stroke:#c8d8e8;stroke-dasharray:6 5}.chart-dot.sent{fill:#84c5ff}.chart-dot.received{fill:#c8d8e8}.chart-note{font-size:11px;margin-top:12px}.chart-explorer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:8px;font-size:12px}.chart-explorer label{display:flex;gap:14px;align-items:center}.chart-explorer input{accent-color:#84c5ff;min-height:44px;max-width:100%;width:160px}.chart-explorer output{font-variant-numeric:tabular-nums;color:#d2e4f6}.chart-details{margin-top:18px;border-top:1px solid var(--border);padding-top:14px;font-size:12px}.chart-details summary{color:var(--accent);min-height:32px}.chart-details table{min-width:0;margin-top:12px}.chart-details th,.chart-details td{padding:10px 14px;font-size:12px}.chart-panel>.statistics-coverage{margin:0 24px 24px}.quick-actions{margin-top:24px}.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:20px}.quick-action{display:flex;align-items:center;gap:12px;padding:18px 16px;border:1px solid var(--border);border-radius:10px;background:#101a27;font-size:13px;min-width:0}.quick-action>svg{color:#94bde2}.quick-action>span{min-width:0}.quick-action small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.quick-action>svg:last-of-type:not(:first-child){margin-left:auto;width:16px}.quick-action[href]:hover{border-color:#415b75;background:#162539}.quick-action.upcoming{background:#101721}.table-note{padding:18px 24px;font-size:12px;max-width:850px}.mailbox-table{table-layout:fixed;min-width:0}.mailbox-table th:nth-child(1){width:31%}.mailbox-table th:nth-child(2){width:20%}.mailbox-table th:nth-child(3){width:21%}.mailbox-table th:nth-child(4){width:14%}.mailbox-table th:nth-child(5){width:14%}th{font-size:12px;letter-spacing:0;padding:16px 20px}td{padding:20px;font-size:13px;vertical-align:top;overflow-wrap:anywhere}.mailbox-address{font-weight:550;overflow-wrap:anywhere}.inferred{display:block;font-size:11px;color:var(--muted);margin-top:4px}.badge{display:inline-flex;font-size:11px;padding:4px 9px;color:#c0d8ed;background:#1c2c3e;white-space:normal}.state-badge{background:#172e34;color:#b6dfe1}.group-badges{display:flex;flex-wrap:wrap;gap:6px}.mailbox-table tbody tr:hover,.statistics-mailboxes tbody tr:hover{background:#152130}.mailbox-table tbody td{border-bottom:1px solid var(--border)}.mailbox-table tbody tr:last-child td{border-bottom:0}.mailbox-details summary{display:list-item;list-style-position:inside;color:#cde6fc;border:1px solid #38546d;border-radius:7px;padding:9px 10px;font-size:12px;min-height:42px;width:max-content;max-width:100%;background:#1c3046}.mailbox-details>div{margin-top:12px;font-size:12px;overflow-wrap:anywhere}.mailbox-details strong{font-weight:500}.statistics-mailboxes table{min-width:0;table-layout:fixed}.statistics-mailboxes th:first-child{width:40%}.statistics-mailboxes tbody th,.statistics-mailboxes tbody td{padding:18px 20px;font-size:13px}.statistics-mailboxes thead th{padding:16px 20px}.delivery-quality{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin-bottom:24px}.delivery-quality p{font-size:12px;margin-top:6px}.delivery-quality dl{display:flex;gap:40px;margin:0}.delivery-quality dt{font-size:12px;color:var(--muted)}.delivery-quality dd{font-size:26px;margin:4px 0 0;font-weight:600;font-variant-numeric:tabular-nums}.domain-facts{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin:0;padding:26px}.domain-facts dt{font-size:12px;color:var(--muted)}.domain-facts dd{margin:8px 0 0;font-size:26px;font-weight:550;overflow-wrap:anywhere}.service-card .button{margin-top:24px}.page-footer{font-size:11px}
@media(max-width:1250px){.metrics.five{grid-template-columns:repeat(3,minmax(0,1fr))}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mailbox-table th,.mailbox-table td{padding:16px 12px}.mailbox-table th:first-child{width:29%}.statistics-mailboxes tbody th,.statistics-mailboxes tbody td,.statistics-mailboxes thead th{padding:16px 12px}}
@media(max-width:1000px){:root{--sidebar:236px}.metric{padding:20px 16px}.metrics.five{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-caption{align-items:flex-start;flex-direction:column}.chart-explorer{align-items:flex-start;flex-direction:column;gap:6px}.mailbox-table thead{display:none}.mailbox-table,.mailbox-table tbody,.mailbox-table tr,.mailbox-table td{display:block;width:100%}.mailbox-table tr{padding:18px 20px;border-bottom:1px solid var(--border)}.mailbox-table tbody td{border:0;padding:8px 0}.mailbox-table td:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:3px}.mailbox-table td[colspan]:before{display:none}.mailbox-details summary{min-width:86px}.mailbox-table td .empty{min-height:0}}
@media(max-width:760px){:root{--sidebar:264px}.workspace{margin-left:0}.js .sidebar .brand{padding-bottom:24px}.topbar{height:64px}.breadcrumb strong{white-space:nowrap}.page-heading{margin-bottom:24px}h1{font-size:29px}.metrics.five,.metrics.four{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-coverage{flex-direction:column;gap:10px}.activity-chart{padding:20px 14px}.chart-caption{font-size:16px;padding:0 6px}.chart-axis{font-size:15px}.activity-svg{min-height:190px;margin-top:12px}.chart-note,.chart-details,.chart-explorer{margin-left:6px;margin-right:6px}.chart-explorer label{flex-wrap:wrap}.chart-explorer output{font-size:11px}.chart-panel>.statistics-coverage{margin:0 20px 20px}.action-grid{grid-template-columns:1fr;padding:16px}.delivery-quality{align-items:flex-start;flex-direction:column;padding:20px;gap:18px}.delivery-quality dl{width:100%;gap:48px}.statistics-mailboxes .panel-heading{align-items:flex-start;flex-direction:column;gap:6px}.statistics-mailboxes thead{display:none}.statistics-mailboxes table,.statistics-mailboxes tbody,.statistics-mailboxes tr{display:block;width:100%}.statistics-mailboxes tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:16px;border-bottom:1px solid var(--border);gap:8px}.statistics-mailboxes tbody th{display:block;grid-column:1/-1;width:100%;padding:0 0 10px;border:0;text-align:left}.statistics-mailboxes tbody td{display:block;min-width:0;padding:0;border:0;font-size:16px;text-align:left!important}.statistics-mailboxes tbody td:before{display:block;color:var(--muted);font-size:10px}.statistics-mailboxes tbody td:nth-child(2):before{content:'Envoyés'}.statistics-mailboxes tbody td:nth-child(3):before{content:'Reçus'}.statistics-mailboxes tbody td:nth-child(4):before{content:'Rejetés'}.statistics-mailboxes tbody td:nth-child(5):before{content:'Bounces'}.statistics-mailboxes tbody td[colspan]{grid-column:1/-1}.statistics-mailboxes tbody td[colspan]:before{display:none}.statistics-mailboxes .empty{padding:14px 0}.domain-facts{grid-template-columns:1fr;padding:22px;gap:22px}.domain-facts dd{font-size:24px}.periods{width:100%;justify-content:space-between}.periods a{flex:1;padding:10px 8px;min-width:0}}
@media(max-width:480px){.metrics.five,.metrics.four{grid-template-columns:1fr}.metric{padding:20px 22px}.metric-value{font-size:36px}.page-heading p{line-height:1.7}.breadcrumb>span:first-child{display:none}.topbar{gap:10px}.user-identity{max-width:100px}.page-footer{flex-direction:column;gap:6px}.legend{gap:20px}.service-card{padding:22px}}

.mobile-domain{display:none}
@media(max-width:760px){.breadcrumb{display:flex;flex-direction:column;align-items:flex-start;gap:0;flex:1;min-width:0}.breadcrumb .desktop-context,.breadcrumb>span[aria-hidden]{display:none}.breadcrumb .mobile-domain{display:block;max-width:100%;font-size:12px;overflow-wrap:anywhere;white-space:normal;color:#c6d9ed}.breadcrumb strong{font-size:11px;font-weight:400;color:var(--muted)}.user-identity{max-width:85px}.breadcrumb>span:first-child{display:none}}

@media(max-width:760px){.statistics-mailboxes tbody th:first-child{width:100%}.chart-axis{font-size:12px}.activity-svg{min-height:260px}}
.mailbox-create-link{margin:0 0 24px}.mailbox-form-panel{max-width:640px;padding:24px}.mailbox-form-panel .portal-form{margin-top:0}.mailbox-password-link{display:block;color:var(--accent);margin-top:12px;font-size:12px;min-height:44px}.success-message{color:#b6dfe1;background:#172e34;border-color:#35565c;margin-bottom:24px}
.routing-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.routing-heading>.button{flex-shrink:0}.routing-list{display:grid;gap:20px}.routing-card{padding:24px}.routing-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.routing-address{font-size:19px;font-weight:600;overflow-wrap:anywhere}.routing-card-heading .muted{margin:6px 0 0}.routing-actions{display:flex;flex-wrap:wrap;gap:10px}.routing-actions .button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}.button-danger{color:#ffc1c1;border-color:#75414b;background:#321c27}.button-danger:hover{background:#432431}.routing-recipients{list-style:none;padding:16px 0 0;margin:16px 0 0;border-top:1px solid var(--border);display:grid;gap:8px}.routing-recipients li{display:flex;gap:12px;min-width:0;overflow-wrap:anywhere}.routing-recipients li>span:first-child{color:var(--accent)}.routing-recipients li>span:last-child{min-width:0}.routing-form-panel{max-width:720px;padding:28px}.routing-form-panel .portal-form{margin-top:0}.routing-source-field{display:flex;align-items:center;gap:12px;min-width:0}.routing-source-field input{width:160px;min-width:0;flex:1}.routing-source-field>span{overflow-wrap:anywhere;color:#c7d6e8;flex:1}.routing-member-picker{border:1px solid var(--border);padding:16px;border-radius:10px;margin:20px 0;min-width:0}.routing-member-picker legend{padding:0 8px;font-weight:600}.routing-member-picker>p{margin:0 0 12px}.routing-member-picker .routing-member{display:flex;align-items:center;gap:12px;margin:0;padding:12px 8px;min-height:44px;cursor:pointer;border-radius:6px}.routing-member:hover{background:#192638}.routing-member input[type=checkbox]{width:18px;height:18px;margin:0;padding:0;flex-shrink:0;accent-color:var(--accent)}.routing-member span{overflow-wrap:anywhere;min-width:0}.routing-delete-question{overflow-wrap:anywhere}.routing-form-panel .routing-actions{margin-top:24px}
@media(max-width:760px){.routing-heading{align-items:flex-start;flex-direction:column;gap:16px}.routing-card-heading{flex-direction:column;gap:16px}.routing-card{padding:20px}.routing-form-panel{padding:20px}.routing-address{font-size:17px}.routing-source-field{gap:8px}.routing-source-field input{width:110px}.routing-member-picker{padding:12px}.routing-actions{width:100%}.routing-actions .button{flex:1}.routing-heading>.button{width:100%}}
.autoreply-panel textarea{width:100%;max-width:100%;resize:vertical;background:#0c1420;color:var(--text);padding:12px 14px;border:1px solid #304157;border-radius:7px;font:inherit;line-height:1.6;min-height:180px}.autoreply-panel textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.autoreply-summary{display:grid;gap:16px;margin:0 0 24px}.autoreply-summary dt{font-size:12px;color:var(--muted)}.autoreply-summary dd{margin:6px 0 0;overflow-wrap:anywhere}.autoreply-address{overflow-wrap:anywhere}.autoreply-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.autoreply-dates>div{display:grid;gap:10px;min-width:0}.autoreply-dates input{min-width:0}.autoreply-body-preview{white-space:pre-wrap}.autoreply-back{margin-top:24px}.autoreply-list .badge{margin-top:12px}
@media(max-width:760px){.autoreply-dates{grid-template-columns:1fr}.autoreply-panel .routing-actions{flex-direction:column}.autoreply-panel .routing-actions .button{width:100%}.autoreply-list .routing-card-heading>.button{width:100%;justify-content:center}}
.dashboard-period-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 0}.dashboard-period-row h2{font-size:18px}.dashboard-mailboxes{margin-top:24px}.dashboard-mailboxes .table-scroll{max-height:360px;overflow:auto}.dashboard-mailboxes .table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dashboard-mailboxes thead{position:sticky;top:0;background:#101925}.dashboard-domain-summary{display:flex;justify-content:space-between;gap:24px;padding:20px 24px;margin-top:24px}.dashboard-domain-summary>div{display:grid;gap:8px;min-width:0}.dashboard-domain-summary .muted{font-size:12px}.dashboard-domain-summary a{color:var(--accent);overflow-wrap:anywhere}.dashboard-domain-summary strong{font-weight:550}.dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.dashboard-period-row{align-items:flex-start;flex-direction:column;gap:14px}.dashboard-period-row .periods{width:100%}.dashboard-period-row .periods a{flex:1;padding:10px 8px;min-width:0}.dashboard-domain-summary{padding:20px}.dashboard-actions{grid-template-columns:1fr}}

@media(max-width:760px){.dashboard-metrics.metrics.five{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-metrics .metric:first-child{grid-column:1/-1}.dashboard-metrics .metric{padding:16px}.dashboard-metrics .metric-value{font-size:30px;margin:12px 0 6px}.dashboard-metrics .metric-label{font-size:12px}}
.health-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;margin-bottom:20px}.health-overview .muted{font-size:12px}.health-overview h2{font-size:24px;margin:6px 0 12px;overflow-wrap:anywhere}.health-score{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.health-score strong{font-size:48px;font-variant-numeric:tabular-nums;line-height:1.2}.health-score>span{color:var(--muted)}.health-cache-note{font-size:12px;margin:20px 0}.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.health-card{padding:24px;min-width:0}.health-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.health-card-heading h2{font-size:17px}.health-card>p{font-size:13px;margin:16px 0 0;overflow-wrap:anywhere}.health-card dl{margin:20px 0 0;display:grid;gap:12px}.health-card dl>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:12px}.health-card dt{color:var(--muted);font-size:12px}.health-card dd{margin:0;font-size:12px;overflow-wrap:anywhere}.health-pass{background:#172e34;color:#b6dfe1}.health-warning{background:#342d1e;color:#f1d699}.health-fail{background:#391f2a;color:#ffc1c1}.health-unknown{background:#26313f;color:#c3cedc}.health-recommendation{border-top:1px solid var(--border);padding-top:16px;color:#c9d7e8}.health-recommendation strong{display:block;margin-bottom:6px;font-size:12px}.health-method{padding:20px 24px;margin-top:24px}.health-method summary{min-height:44px;color:var(--accent)}.health-method p{font-size:12px;margin-top:14px}.health-global{font-size:13px}
@media(max-width:1000px){.health-grid{grid-template-columns:1fr}}@media(max-width:760px){.health-overview{padding:20px;align-items:flex-start}.health-overview h2{font-size:20px}.health-score{flex-direction:column;align-items:flex-end;gap:0}.health-score strong{font-size:38px}.health-card{padding:20px}.health-card dl>div{grid-template-columns:1fr;gap:3px}.health-method{padding:20px}}

.audit-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:24px 0}.audit-filters label{display:flex;flex-direction:column;gap:8px;min-width:160px;max-width:100%}.audit-filters input,.audit-filters select{max-width:100%;padding:10px;background:#101827;color:#e5e7eb;border:1px solid #334155;border-radius:6px}.audit-table{max-width:100%;overflow-x:auto}.audit-table table{width:100%;border-collapse:collapse}.audit-table th,.audit-table td{text-align:left;padding:14px;border-bottom:1px solid #334155;overflow-wrap:anywhere}.audit-pagination{display:flex;gap:24px;align-items:center;margin:24px 0}@media(max-width:600px){.audit-filters label{width:100%}.audit-table table{min-width:760px}}

/* Read-only quota: decimal units; unlimited accounts have no percentage/bar. */
.quota-info{display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.5;min-width:0}.quota-info small{color:var(--muted);font-size:11px}.quota-usage{font-variant-numeric:tabular-nums}.quota-info progress{width:100%;max-width:180px;height:6px;border:0;border-radius:4px;accent-color:#7bbda8}.quota-warning progress{accent-color:#eac77f}.quota-critical progress{accent-color:#efaa79}.quota-full progress{accent-color:#ef9696}.quota-state.quota-warning{background:#3a3020;color:#f0d596}.quota-state.quota-critical{background:#402b24;color:#f0b595}.quota-state.quota-full{background:#3d242b;color:#f4b0b0}.quota-state.quota-unavailable{background:#25303e;color:#bdc9d7}.quota-mobile{display:none}.mailbox-table th:nth-child(1){width:25%}.mailbox-table th:nth-child(2){width:14%}.mailbox-table th:nth-child(3){width:15%}.mailbox-table th:nth-child(4){width:12%}.mailbox-table th:nth-child(5){width:19%}.mailbox-table th:nth-child(6){width:15%}.storage-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:24px}.storage-metrics .metric-value{font-size:32px;overflow-wrap:anywhere}.storage-metrics .metric p{font-size:12px;color:var(--muted);margin-top:8px}.storage-table{table-layout:fixed;min-width:0;width:100%}.storage-table th:first-child{width:44%}.storage-table th,.storage-table td{text-align:left;overflow-wrap:anywhere}.storage-panel .panel-heading{flex-wrap:wrap;gap:12px}
@media(max-width:1000px){.mailbox-table td.quota-desktop{display:none}.quota-mobile{display:block;margin-top:6px}.quota-mobile .quota-info{flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px 10px}.quota-mobile .quota-info progress{flex-basis:100%}.quota-mobile .quota-info small{font-size:12px}}
@media(max-width:760px){.storage-table thead{display:none}.storage-table,.storage-table tbody,.storage-table tr,.storage-table th,.storage-table td{display:block;width:100%}.storage-table tr{padding:18px 20px;border-bottom:1px solid var(--border)}.storage-table tbody th:first-child{width:100%;padding:0 0 12px;border:0}.storage-table tbody td{border:0;padding:6px 0}.storage-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.storage-metrics{grid-template-columns:1fr}.storage-metrics .metric-value{font-size:30px}}

/* Desired quota policy stays distinct from measured/effective storage. */
.storage-table th:first-child{width:32%}.quota-policy-cell{font-size:12px}.quota-policy-cell strong{font-weight:500}.quota-policy-cell small{display:block;margin:5px 0;color:var(--muted);font-size:11px}.quota-policy-link{display:inline-block;padding:6px 0;color:var(--accent)}.quota-policy-panel{padding:26px;max-width:760px}.quota-policy-panel h2{overflow-wrap:anywhere}.quota-policy-current{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0;font-size:13px}.quota-policy-current dt{color:var(--muted)}.quota-policy-current dd{margin:0}.quota-policy-form{display:flex;flex-direction:column;gap:14px}.quota-policy-form select{width:100%;max-width:320px;padding:12px;background:#101827;color:#e5e7eb;border:1px solid #334155;border-radius:6px}.quota-policy-form p{font-size:12px;line-height:1.7}.quota-policy-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:8px}
@media(max-width:760px){.storage-table tbody th:first-child{width:100%}.quota-policy-panel{padding:20px}.quota-policy-current{grid-template-columns:1fr;gap:5px}.quota-policy-current dd{margin-bottom:10px}.quota-policy-actions{align-items:stretch;flex-direction:column}.quota-policy-actions .button{width:100%}}
