.mail-utility-nav{display:flex;gap:6px;flex-wrap:wrap;margin:24px 0 0;border-bottom:1px solid var(--line)}.mail-utility-nav a{font-size:12px;padding:12px 16px;color:var(--muted);border-bottom:2px solid transparent}.mail-utility-nav a[aria-current]{color:var(--ink);border-bottom-color:var(--accent)}.mail-switcher{display:flex;gap:12px;align-items:center;margin:0 0 18px}.mail-switcher label{font-size:12px;color:var(--muted)}.mail-switcher select{min-width:0;flex:1;max-width:460px;padding:11px 14px}.connect-buttons,.check-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.account-list{display:flex;flex-direction:column;gap:4px;overflow:auto;max-height:200px;margin-bottom:16px;min-height:40px}.account-choice{display:flex;align-items:center;gap:8px;flex-shrink:0;background:none;border:0;border-radius:6px;color:var(--muted);padding:9px 6px;text-align:left;font-size:10px;min-width:0;width:100%}.account-choice>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-choice[aria-current]{background:var(--paper);color:var(--ink)}.account-dot{width:23px;height:23px;border-radius:6px;background:var(--soft);display:grid;place-items:center;flex-shrink:0;font-size:10px}.compact-intro{padding:36px 0 24px}.compact-intro h1,.api-guide h1{font-size:clamp(27px,3vw,38px);letter-spacing:-1px;line-height:1.4;margin:0 0 12px}.compact-intro p:last-child{color:var(--muted);line-height:1.8}.check-actions{margin:16px 0}.check-actions select,.check-actions input{padding:10px;min-width:0}.check-actions label{font-size:12px}.file-picker{cursor:pointer}.field-note{font-size:11px;line-height:1.9;color:var(--muted);margin:15px 0}.check-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:26px 0 18px}.check-stats>div{padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:10px}.check-stats strong{display:block;font-size:25px;line-height:1.4;font-weight:600}.check-stats span{font-size:11px;color:var(--muted)}.check-progress{display:flex;align-items:center;gap:15px;font-size:11px;color:var(--muted)}.check-progress progress{width:220px;accent-color:var(--accent)}.check-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.check-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.check-table th{background:var(--soft);font-weight:500;font-size:11px}.check-table th,.check-table td{padding:14px 16px;border-bottom:1px solid var(--line);color:var(--ink)}.check-table td:first-child{max-width:350px;overflow-wrap:anywhere}.check-table td:last-child{font-size:11px;color:var(--muted);max-width:430px;min-width:190px}.mail-status{display:inline-block;white-space:nowrap;font-size:10px;padding:5px 8px;border-radius:5px;background:var(--soft)}.status-live{color:#28633b;background:#e4f2e7}.status-auth_error,.status-invalid{color:#a04d29;background:#fae8dc}.api-guide{max-width:900px;margin:38px auto 70px}.api-guide pre{overflow:auto}.api-guide h2{margin-top:35px}.api-guide p{line-height:1.9}.theme-toggle{display:grid;place-items:center;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:8px;min-width:34px;height:34px;font-size:20px;padding:0}.theme-toggle:hover{border-color:var(--accent)}
:root[data-theme=dark]{color-scheme:dark;--canvas:#0b1220;--paper:#111c2e;--ink:#e6edf7;--muted:#9baac0;--line:#29374e;--accent:#88adf0;--accent-dark:#b5ceff;--green:#b8c9e6;--soft:#1c2b43}
[data-theme=dark] .site-header{background:#0e1728}[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{background:#0d1727;border-color:var(--line);color:var(--ink)}[data-theme=dark] .connection-panel,[data-theme=dark] .mail-workspace{box-shadow:0 3px 0 #080e19}[data-theme=dark] .mail-workspace,[data-theme=dark] .tool-card,[data-theme=dark] .download-panel,[data-theme=dark] .api-notes{background:var(--paper)}[data-theme=dark] .mail-sidebar{background:#142036;border-color:var(--line)}[data-theme=dark] .intro-description,[data-theme=dark] .page-intro h1 span,[data-theme=dark] .tool-card p,[data-theme=dark] .reader-note,[data-theme=dark] .reader-to,[data-theme=dark] .message-preview,[data-theme=dark] .message-date,[data-theme=dark] .reader-sender-info span,[data-theme=dark] .tool-detail-summary{color:var(--muted)}[data-theme=dark] .btn-primary{background:#7da4e5;color:#0b1425}[data-theme=dark] .btn-secondary,[data-theme=dark] .filter-chip,[data-theme=dark] .icon-button,[data-theme=dark] .reader-actions button{background:#1a2941;color:var(--ink);border-color:var(--line)}[data-theme=dark] .mail-folders button,[data-theme=dark] .text-button,[data-theme=dark] .disconnect-button{color:var(--muted)}[data-theme=dark] .mail-folders button[aria-current],[data-theme=dark] .filter-chip[aria-pressed=true]{background:#253d60;color:#e1ecff}[data-theme=dark] .message-row{background:var(--paper);color:var(--ink);border-color:var(--line)}[data-theme=dark] .message-row:hover,[data-theme=dark] .message-row[aria-current]{background:#1d2e49}[data-theme=dark] .message-from,[data-theme=dark] .message-subject,[data-theme=dark] .reader-header h2{color:var(--ink)}[data-theme=dark] .message-row-avatar,[data-theme=dark] .account-avatar,[data-theme=dark] .reader-illustration,[data-theme=dark] .square-icon,[data-theme=dark] .tool-symbol,[data-theme=dark] .code-chip{background:#293c58;color:#c5d7f4;border-color:var(--line)}[data-theme=dark] .message-row.unread .message-row-avatar{background:#283c60;color:#c8dbfa}[data-theme=dark] .code-strip,[data-theme=dark] .notice{background:#1b2e49;border-color:#385275;color:#c6d8f4}[data-theme=dark] .notice.error{background:#402c29;color:#f1b9ad;border-color:#654038}[data-theme=dark] .format-help,[data-theme=dark] .api-notes pre,[data-theme=dark] .api-guide pre,[data-theme=dark] .mail-body pre{background:#0d1727;color:var(--ink);border-color:var(--line)}[data-theme=dark] .markdown-body,[data-theme=dark] .markdown-body td{color:var(--ink)}[data-theme=dark] .markdown-body a{color:#a6c7ff}[data-theme=dark] .markdown-body code{background:#20324d;color:#dbe7fa}[data-theme=dark] .markdown-body th{background:#1b2d47;color:var(--ink)}[data-theme=dark] .markdown-body blockquote{color:var(--muted);border-color:#5d7da9}[data-theme=dark] .markdown-body table :is(td,th){border-color:var(--line)}[data-theme=dark] .tool-card-bottom,[data-theme=dark] .reader-topbar,[data-theme=dark] .mail-list-pane,[data-theme=dark] .mail-list-heading,[data-theme=dark] .reader-header,[data-theme=dark] .mail-pagination{border-color:var(--line)}[data-theme=dark] .status-live{background:#294730;color:#ade0b8}[data-theme=dark] .status-auth_error,[data-theme=dark] .status-invalid{background:#4b3528;color:#efc4a2}[data-theme=dark] .subtle-badge,[data-theme=dark] .admin-link{border-color:var(--line);color:var(--muted)}[data-theme=dark] .brand-symbol{color:#0c1830}[data-theme=dark] .mail-body iframe{background:#f6f7f3;border-radius:6px;padding:12px}
@media(max-width:850px){.account-list,.mail-sidebar>.folder-label{display:none}.mail-utility-nav{margin-top:16px}.check-stats{gap:7px}.check-stats>div{padding:12px}.check-stats strong{font-size:21px}.header-actions{gap:10px}}
@media(max-width:600px){.mail-switcher{gap:7px;flex-wrap:wrap}.mail-switcher label{display:none}.mail-switcher select{flex-basis:100%;max-width:none}.mail-switcher .btn{width:100%}.check-stats{grid-template-columns:repeat(3,1fr)}.check-actions .btn{font-size:11px;min-height:40px}.check-actions input{max-width:100%}.check-progress{align-items:flex-start;flex-direction:column;gap:8px}.check-progress progress{width:100%}.mail-utility-nav a{font-size:11px;padding:11px 10px}.connect-buttons{width:100%;justify-content:flex-end}.header-actions .admin-link{display:none}.api-guide{margin-top:28px}.api-guide pre{font-size:10px}.check-table th,.check-table td{padding:12px 10px}.check-table td:first-child{min-width:170px}.theme-toggle{min-width:32px}}
[data-theme=dark] .search-input{background:#0d1727;border-color:var(--line)}[data-theme=dark] .search-input input{background:transparent}[data-theme=dark] .mail-body iframe{background:var(--paper)}.account-list{flex-shrink:0}.mail-sidebar{min-height:0}@media(max-width:600px){.header-actions{display:flex!important;gap:0}.header-actions .support-link{display:none}.header-inner{gap:14px}.site-nav{gap:14px}.theme-toggle{min-width:30px;width:30px}}
[data-theme=dark] .markdown-body :is(h1,h2,h3,h4,h5,h6){color:var(--ink)}[data-theme=dark] .markdown-body pre code{background:transparent}[data-theme=dark] .tool-instructions{border-color:var(--line)}

/* Each desktop pane stays within the workspace; only its message list scrolls. */
.mail-workspace{grid-template-rows:minmax(0,1fr)}
.mail-list-pane,.mail-reader{min-height:0;height:100%}
.mail-list-heading,.mail-pagination,.mail-list-pane>.search-input{flex-shrink:0}
.message-list{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:12px;padding-bottom:12px;scrollbar-gutter:stable}
.message-row{flex-shrink:0}
.reader-empty{flex:1 0 auto;min-height:0}
.account-input-label{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.account-input-label .input-label{margin:0}
.input-count{flex-shrink:0;font-size:11px;padding:5px 9px;border-radius:6px;background:var(--soft);color:var(--ink);font-variant-numeric:tabular-nums}
.account-validation{font-size:11px;line-height:1.8;color:var(--muted);margin:9px 0 0}
.input-count[data-state=error]{background:#fae7e1;color:#a43c29}
.account-validation[data-state=error]{color:#a43c29}
[data-theme=dark] .tools-empty{background:var(--paper);border-color:var(--line)}
[data-theme=dark] .toolbox-stamp{background:#1a2a43;border-color:#334966}
[data-theme=dark] .toolbox-stamp :is(strong,span){color:#b6ccec}
[data-theme=dark] .stamp-icon{background:#263c5c;border-color:#3a5276;color:#c4d7f5}
[data-theme=dark] .tool-card:nth-child(n) .tool-symbol{background:#293c58;color:#c5d7f4;border-color:var(--line)}
[data-theme=dark] :is(.reader-empty h2,.tools-empty h2){color:var(--ink)}
[data-theme=dark] :is(.reader-empty p,.tools-empty p,.folder-label,.reader-to,.reader-note,.mail-pagination,.tool-platform,.tool-meta,.tool-category,.tools-bottom,.site-footer,.connect-footer p,.api-notes summary,.reader-topbar>span,.download-filename){color:var(--muted)}
[data-theme=dark] :is(.intro-note>.icon,.footer-brand,.tool-detail-link,.download-icon,.reader-back){color:#b6ccec}
[data-theme=dark] :is(.account-avatar,.tool-symbol,.brand-symbol,.filter-chip span){background:#293c58;color:#c5d7f4}
[data-theme=dark] .brand-symbol{background:#8aaef0;color:#0b1425}
[data-theme=dark] .download-icon{background:#20324d;border-color:var(--line)}
[data-theme=dark] :is(.tools-toolbar,.tools-bottom,.download-panel dl>div,.site-footer,.format-help){border-color:var(--line)}
[data-theme=dark] .input-count[data-state=error]{background:#442d3a;color:#ffb5b1}
[data-theme=dark] .account-validation[data-state=error]{color:#ffb5b1}
@media(max-width:850px){.mail-workspace{grid-template-rows:auto minmax(0,1fr)}}
.account-list{flex-shrink:1}
.mail-account,.mail-sidebar>.folder-label,.mail-folders,.sidebar-bottom{flex-shrink:0}
.reader-topbar,.reader-header,.code-strip,.reader-note{flex-shrink:0}
[data-theme=dark] :is(.breadcrumb,.download-panel dt,.download-panel dd,.checksum,.checksum code){color:var(--muted)}
[data-theme=dark] :is(.download-panel,.checksum,.mail-body){border-color:var(--line)}
[data-theme=dark] .markdown-body strong{color:var(--ink)}
[data-theme=dark] .markdown-body :is(pre,blockquote){background:#17263d;border-color:var(--line);color:var(--ink)}
[data-theme=dark] .markdown-body tr:nth-child(even) td{background:#15243a}
[data-theme=dark] .markdown-body li::marker{color:#a6bddf}
[data-theme=dark] .markdown-body hr{border-color:var(--line)}
[data-theme=dark] .reader-illustration .icon{color:#b9cff0}
[data-theme=dark] .loading-line{background:#253750}
[data-theme=dark] .toast{background:#2b4265;color:#eff5ff}
