/* Comfortable typography without changing the layout or brand lockup. */
.settings-tabs button,.settings-panel button,.tbl th,.tbl strong,.pill,.status-pill,.amt150-drawer h4,.amt150-drawer strong,.amt151-tabs button{font-weight:600!important}
.settings-tabs button,.tbl th,.pill,.status-pill,.amt151-tabs button{font-size:12px!important}
.amt150-drawer h4{font-size:14px!important;line-height:1.5!important}
.amt150-drawer p,.amt150-note>div>span{font-size:12px!important;line-height:1.5!important}
.plans-on-hand-select{min-width:112px;max-width:160px}
.amt335-notification-actions{display:flex;align-items:center;gap:10px}
.amt335-notification-actions [data-clear-notifications]{width:auto!important;white-space:nowrap;padding:8px 12px!important;font-size:13px!important;font-weight:500!important}
/* Muted blue-gray surfaces and readable, softly colored text in dark mode. */
:root[data-theme-resolved=dark]{--brand-ink:#bcc8d8;--brand-canvas:#131b25;--brand-line:#354254;--brand-soft:#273346;--navy:#bcc8d8;--navy2:#b2c0d3;--ink:#bcc8d8;--text:#bcc8d8;--muted:#a0aec0;--text-muted:#a0aec0;--bg:#131b25;--surface:#1b2532;--card:#1b2532;--line:#354254;--border:#354254;--amt303-ink:#bcc8d8;--amt303-navy:#bcc8d8;--amt303-navy-deep:#bcc8d8;--amt303-line:#354254;color-scheme:dark}
:root[data-theme-resolved=dark] body:not(:has(.login-screen)),:root[data-theme-resolved=dark] .content,:root[data-theme-resolved=dark] .route-stage{background:#131b25!important;color:#bcc8d8!important}
:root[data-theme-resolved=dark] :is(.app-header,.app-header-main,.linear-nav-shell,.linear-nav,.card,.list-toolbar,.table-footer,.modal,.modal-content,.modal-header,.modal-footer,.settings-panel,.settings-layout,.settings-tabs,.profile-menu,.user-menu,.dropdown-menu,.amt-select-menu,.amt-select-trigger,.pipeline-card,.amt150-drawer,.amt150-drawer header,.amt150-note,.amt150-attn,.amt174-notify-card,.amt174-notify-row,.connector-card,.integration-card,.record-panel,.record-card){background:#1b2532!important;color:#bcc8d8!important;border-color:#354254!important;box-shadow:none!important}
:root[data-theme-resolved=dark] :is(.tbl,.tbl th,.tbl td,.card-head,.pipeline-column,.pipeline-column>header,.pipeline-next-action,.amt150-drawer-body,.amt151-tabs,.amt174-notification-settings,.ai-shell,.ai-main,.ai-sidebar,.ai-today,.ai-metrics,.ai-composer,.ai-thread,.ai-project-bar){background:#18222f!important;color:#bcc8d8!important;border-color:#354254!important}
:root[data-theme-resolved=dark] :is(.content,.app-header,.modal,.settings-layout,.amt150-drawer,.ai-shell) :is(h1,h2,h3,h4,strong,b,label){color:#c0cbd9!important}
:root[data-theme-resolved=dark] :is(.content,.app-header,.modal,.settings-layout,.amt150-drawer,.ai-shell) :is(p,small,.subtitle,.card-sub,.muted,.ai-save-status,.ai-subtitle){color:#a2afc0!important}
:root[data-theme-resolved=dark] :is(.content,.app-header,.modal,.settings-layout,.amt150-drawer,.ai-shell) :is(input,textarea,.input,.select,.btn-ghost,.quiet,.amt-select-trigger,.ai-chip,.ai-history-item,.ai-project-item){background:#202c3b!important;color:#bcc8d8!important;border-color:#405067!important}
:root[data-theme-resolved=dark] :is(input,textarea)::placeholder{color:#9baac0!important;opacity:1}
:root[data-theme-resolved=dark] :is(.linear-nav button,.settings-tabs button,.amt-select-options button,.amt151-tabs button){color:#b3c0d1!important}
:root[data-theme-resolved=dark] :is(.linear-nav button.active,.linear-nav button[aria-current=page],.settings-tabs button.active,.amt-select-options button.selected,.amt151-tabs button.active,.ai-history-item.active,.ai-project-item.active){background:#293b52!important;color:#c0cbd9!important;box-shadow:none!important}
:root[data-theme-resolved=dark] :is(.tbl tbody tr:hover,.amt-select-options button:hover,.ai-chip:hover){background:#263347!important}
:root[data-theme-resolved=dark] :is(.pill,.status-pill,.pipeline-tags span,.pipeline-flags span){background:#29364a!important;color:#b9c8dc!important;border-color:#405067!important}
:root[data-theme-resolved=dark] :is(.btn-primary,.btn.primary,.ai-send){background:#773346!important;border-color:#945064!important;color:#d0cad1!important}
:root[data-theme-resolved=dark] :is(.ai-message.user,.ai-message.assistant,.ai-metric,.ai-radar-item){background:#202d3d!important;color:#bcc8d8!important;border-color:#354254!important}
:root[data-theme-resolved=dark] :is(.settings-panel a,.content a,.amt150-drawer a){color:#9db9de!important}
:root[data-theme-resolved=dark] :is(.modal-backdrop,.amt150-drawer-backdrop){background:rgba(6,11,18,.68)!important}
:root[data-theme-resolved=dark] :is(.amt-select-trigger,.btn,button,input,textarea):focus-visible{outline:2px solid #8fa9ca!important;outline-offset:2px}
@media(max-width:600px){.amt335-notification-actions{gap:4px}.amt335-notification-actions [data-clear-notifications]{padding:6px!important}.amt150-drawer h2{font-size:20px!important}}
:root[data-theme-resolved=dark] :is(.opp-list-total,.card-title,.pipeline-column-title,.pipeline-column-value,.pipeline-card-company,.pipeline-card-owner,.pipeline-card-value,.ai-project-name,.ai-sidebar-name,.ai-today-title,.ai-radar-item strong,.settings-section-head h3,.connector-card h4){color:#b9c6d8!important}
:root[data-theme-resolved=dark] .amt-select-menu :is(button,span,input){color:#b9c6d8!important;background-color:transparent!important}
:root[data-theme-resolved=dark] .amt-select-menu [role=option][aria-selected=true]{background:#293b52!important}
.amt-select-trigger,.amt-select-options [role=option],.opportunities-toolbar input,.settings-panel .btn{font-weight:500!important;font-size:13px!important}
.pipeline-toolbar{grid-template-columns:minmax(220px,2fr) repeat(4,minmax(135px,1fr))!important}
@media(max-width:1100px){.pipeline-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pipeline-toolbar>input{grid-column:1/-1}}
@media(max-width:600px){.pipeline-toolbar{grid-template-columns:minmax(0,1fr)!important}}
:root[data-theme-resolved=dark] .amt150-drawer-body>section,:root[data-theme-resolved=dark] .amt150-section-head,:root[data-theme-resolved=dark] .amt154-review-queue,:root[data-theme-resolved=dark] .amt154-proposal,:root[data-theme-resolved=dark] .amt151-run-card{background:#1b2532!important;color:#bcc8d8!important;border-color:#354254!important}
:root[data-theme-resolved=dark] .amt150-drawer :is(button,[data-close]){background:#28384c!important;color:#bdcada!important;border:1px solid #405067!important;border-radius:8px!important;font-weight:500!important}
:root[data-theme-resolved=dark] .amt150-drawer :is(.amt150-eyebrow,.amt150-section-head small,.amt150-note span,.amt150-attn span){color:#a4b2c5!important}
