/* Shared orange/charcoal identity from the landing page. Loaded last. */
:root,.landing { --paper:#faf9f7; --ink:#242628; --green:#bc3b23; --muted:#656569; --line:#e8e2df; --accent-soft:#fff0e8; }
body,.landing { background:var(--paper); color:var(--ink); }
.brand-mark,.landing .brand-mark { background:#f04e30; color:white; }
.button,.landing .button,.landing .lp-primary,.live-polished #live-compose { background:#242628; border-color:#242628; color:#fff; }
.button:hover,.landing .button:hover,.landing .lp-primary:hover,.live-polished #live-compose:hover { background:#424446; }
.button.secondary,.live-polished .button.secondary { color:#343638; border-color:#ddd7d3; background:#fff; }
.button.secondary:hover { background:#fff1e9; }
.eyebrow,.landing .site-nav a:hover { color:#b53720; }
.landing .lp-kicker>span { background:#f04e30; }
.landing .lp-headline-inbox svg { stroke:#f04e30; }
.landing .lp-final,.app-rail { background:#242628; }
.landing .lp-final .lp-primary { background:#f04e30; border-color:#f04e30; color:#fff; }
.landing .lp-final p { color:#d8d6d4; }
.live-mail.live-polished { background:#faf9f7; color:#242628; }
.live-polished .live-folders { background:#f6f3ef; border-color:#e8e2df; }
.live-polished .live-folders nav button[aria-current=true],.folder.selected,.customer-domain.selected { background:#ffebe2; color:#a9321c; }
.live-polished .live-message[aria-pressed=true] { background:#fff0e8; box-shadow:inset 3px 0 #f04e30; }
.live-polished .live-message.unread { background:#fffbf8; }
.live-polished .live-message.unread[aria-pressed=true] { background:#fff0e8; }
.live-polished .live-avatar,.live-polished .live-welcome>span { background:#fff0e8; color:#aa351f; border-color:#f1d9ce; }
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus,textarea:focus,select:focus { outline-color:#c54228; }
::selection { background:#ffd5c5; color:#47251e; }
.workspace-links { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.workspace-links a { padding:9px 14px; border-radius:8px; font-size:13px; color:#5b5754; }
.workspace-links a[aria-current=page],.workspace-links a:hover { background:#ffebe2; color:#a9321c; }
.live-folders .workspace-links { display:grid; gap:3px; margin-bottom:24px; }
.workspace-item { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:20px; }
.workspace-item h2 { font-size:22px; overflow-wrap:anywhere; }
.workspace-item p { margin:0; overflow-wrap:anywhere; }
.workspace-item>div:first-child { min-width:0; }
.workspace-item .customer-actions { flex-shrink:0; }
.workspace-item.is-complete h2 { text-decoration:line-through; color:#777; }
.workspace-notes { white-space:pre-wrap; }
.workspace-search { flex:1; margin:0; }
.live-workspace>.customer-actions { align-items:end; }
.live-workspace #workspace-month { max-width:220px; }
.alias-account { border-top:1px solid var(--line); padding-top:24px; margin-top:24px; }
.alias-account h3 { font-size:18px; overflow-wrap:anywhere; }
@media(max-width:760px) {
 .workspace-item { flex-direction:column; align-items:stretch; }
 .workspace-item .customer-actions { flex-wrap:wrap; }
 .live-folders .workspace-links { display:flex; margin-bottom:12px; }
}
.workspace-calendar { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border:1px solid var(--line); border-radius:12px; overflow:hidden; background:white; margin:24px 0; }
.workspace-weekday { padding:12px 4px; text-align:center; font-size:12px; color:#6b635f; background:#f7f3f0; }
.workspace-day,.workspace-calendar-blank { min-height:100px; border:0; border-top:1px solid var(--line); border-right:1px solid var(--line); padding:10px; text-align:left; background:white; min-width:0; }
.workspace-day { display:flex; flex-direction:column; gap:6px; }
.workspace-day:hover { background:#fff5ee; }
.workspace-day strong { font-size:12px; font-weight:500; }
.workspace-day span { display:block; background:#ffebe2; border-left:2px solid #f04e30; padding:3px; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; width:100%; }
.workspace-agenda-title { font-size:24px; }
@media(max-width:600px) { .workspace-day,.workspace-calendar-blank { min-height:66px; padding:5px 3px; } .workspace-day span { font-size:9px; } .workspace-weekday { font-size:10px; } }
.field-help,.compose-hint,.customer-domain small,.customer-alias-list small,.live-polished .live-folders h2,.live-polished .live-folders p { color:#696567; }
input,textarea,select,label { color:#37383a; }
input::placeholder,textarea::placeholder { color:#7b7775; }
.customer-record dt,.customer-record small { color:#696567; }
/* Live mailbox follows the landing preview's continuous three-column shell. */
.live-mail.preview-layout { height:100dvh; min-height:0; display:flex; flex-direction:column; background:#fff; font-family:Arial,Helvetica,sans-serif; }
.preview-layout.live-polished .live-header { height:64px; min-height:64px; padding:0 24px; gap:30px; background:#fff; border-bottom:1px solid #e3e6e9; flex-wrap:nowrap; }
.preview-layout.live-polished .brand { font-size:20px; gap:8px; letter-spacing:-.6px; }
.preview-layout .brand>.icon { color:#f04e30; width:22px; }
.preview-layout .live-header .workspace-links { height:100%; margin:0; display:flex; gap:24px; flex-wrap:nowrap; align-items:stretch; }
.preview-layout .workspace-links a { display:flex; align-items:center; padding:0 2px; border-radius:0; border-bottom:2px solid transparent; font-size:13px; color:#6d757d; }
.preview-layout .workspace-links a[aria-current=page] { color:#24282d; background:transparent; border-bottom-color:#f04e30; }
.preview-layout .workspace-links a:hover { color:#c13b24; background:transparent; }
.preview-layout.live-polished .live-account { min-width:0; font-size:11px; gap:8px; }
.preview-layout .live-account-name { max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.preview-layout.live-polished .live-avatar { border-radius:50%; width:34px; height:34px; font-size:10px; background:#f8e8df; color:#9b6547; }
.preview-layout .live-header .live-avatar { background:#e9edf0; color:#656e76; }
.preview-layout.live-polished .live-layout { flex:1; min-height:0; grid-template-columns:190px minmax(0,1fr); }
.preview-layout.live-polished .live-folders { min-height:0; overflow:auto; padding:22px 14px; background:#f5f7f9; border-right:1px solid #e3e7eb; }
.preview-layout.live-polished #live-compose { background:#fff; color:#30373e; border:1px solid #dbe0e5; border-radius:5px; font-size:13px; min-height:42px; box-shadow:none; }
.preview-layout.live-polished #live-compose:hover { background:#fff2eb; border-color:#ebc7b9; }
.preview-layout.live-polished .live-folders nav { margin-top:24px; }
.preview-layout.live-polished .live-folders nav button { border-radius:4px; color:#697580; font-size:13px; padding:10px; gap:10px; }
.preview-layout.live-polished .live-folders nav button[aria-current=true] { background:#ffebe3; color:#a43924; }
.preview-layout.live-polished .live-sidebar-note { font-size:11px; line-height:1.8; margin-top:40px; color:#77828c; }
.preview-layout.live-polished .live-content { display:grid; grid-template-columns:minmax(320px,46%) minmax(0,1fr); padding:0; min-height:0; }
.preview-layout .live-list-panel { display:flex; flex-direction:column; min-height:0; min-width:0; border-right:1px solid #e1e5e9; }
.preview-layout.live-polished .live-heading { min-height:64px; padding:12px 22px; margin:0; border-bottom:1px solid #e7e9ec; }
.preview-layout.live-polished .live-heading h1 { font-size:20px; font-weight:600; letter-spacing:-.4px; }
.preview-layout .live-heading .button { min-height:32px; padding:7px 10px; font-size:11px; border:0; color:#697780; box-shadow:none; }
.preview-layout.live-polished .live-toolbar { padding:12px 18px; margin:0; border-bottom:1px solid #e7e9ec; align-items:center; gap:8px; }
.preview-layout.live-polished .live-toolbar label { margin:0; flex:1; }
.preview-layout.live-polished .live-toolbar input { min-height:36px; font-size:12px; border-radius:5px; border-color:#e1e5e9; background:#fafbfc; padding:9px 10px; }
.preview-layout.live-polished .live-toolbar .button { min-height:36px; font-size:12px; padding:9px 12px; border-radius:5px; }
.preview-layout.live-polished #live-status { padding:0 18px; margin:10px 0; font-size:12px; }
.preview-layout.live-polished #live-list { flex:1; overflow:auto; min-height:0; border:0; max-height:none; }
.preview-layout.live-polished .live-message { padding:20px 18px; gap:12px; align-items:center; border-color:#e9edf0; }
.preview-layout.live-polished .live-message-copy { gap:4px; }
.preview-layout.live-polished .live-message-top { font-size:13px; }
.preview-layout.live-polished .live-message strong { font-size:13px; }
.preview-layout.live-polished .live-message small { font-size:12px; color:#7b858e; }
.preview-layout.live-polished .live-message.unread { background:#fff; }
.preview-layout.live-polished .live-message[aria-pressed=true] { background:#fff2ec; box-shadow:inset 2px 0 #f04e30; }
.preview-layout.live-polished .live-message:hover { background:#f8f9fb; }
.preview-layout.live-polished .live-pagination { margin-top:auto; border-top:1px solid #e7e9ec; padding:10px 14px; gap:12px; font-size:11px; background:#fff; }
.preview-layout .live-pagination .button { min-height:32px; padding:7px 10px; font-size:11px; border-radius:4px; }
.preview-layout.live-polished #live-detail { overflow:auto; padding:0 32px 32px; background:#fff; min-height:0; }
.preview-layout .live-reader-top { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:64px; color:#7d8892; font-size:11px; border-bottom:1px solid #edf0f2; margin-bottom:28px; }
.preview-layout .live-reader-top>span { font-size:10px; letter-spacing:1px; }
.preview-layout.live-polished #live-detail h2 { font-size:28px; font-weight:500; line-height:1.3; margin-bottom:26px; }
.preview-layout .live-sender-card { display:flex; gap:12px; align-items:flex-start; margin-bottom:26px; }
.preview-layout .live-sender-card p { font-size:12px; color:#6a7882; line-height:1.8; margin:0; min-width:0; overflow-wrap:anywhere; }
.preview-layout.live-polished .live-body { color:#56636d; font-size:14px; }
.preview-layout.live-polished .live-welcome { min-height:100%; }
.preview-layout.live-polished .live-welcome>span { background:#faf4ee; border:1px solid #f1e3d9; border-radius:50%; box-shadow:none; }
.reader-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:1100px) {
 .preview-layout .live-account-name { display:none; }
 .preview-layout.live-polished .live-header { gap:22px; }
 .preview-layout.live-polished .live-layout { grid-template-columns:165px minmax(0,1fr); }
 .preview-layout.live-polished .live-content { grid-template-columns:minmax(270px,44%) minmax(0,1fr); }
 .preview-layout.live-polished #live-detail { padding-inline:22px; }
 .preview-layout.live-polished .live-message>.live-avatar { display:inline-flex; }
}
@media(max-width:760px) {
 .live-mail.preview-layout { height:auto; min-height:100dvh; }
 .preview-layout.live-polished .live-header { height:auto; padding:12px 16px 0; flex-wrap:wrap; gap:12px; }
 .preview-layout.live-polished .live-account { order:0; flex-basis:auto; margin-left:auto; }
 .preview-layout .live-header .workspace-links { order:3; width:100%; height:42px; justify-content:space-between; gap:12px; }
 .preview-layout.live-polished .live-header #live-logout { margin-left:0; padding:8px 10px; font-size:11px; }
 .preview-layout.live-polished .live-layout { display:block; }
 .preview-layout.live-polished .live-folders { padding:12px; border-right:0; border-bottom:1px solid #e3e7eb; }
 .preview-layout.live-polished #live-compose { width:auto; padding-inline:16px; }
 .preview-layout.live-polished .live-folders nav { margin:12px 0 0; }
 .preview-layout.live-polished .live-content { display:block; }
 .preview-layout .live-list-panel { border-right:0; }
 .preview-layout.live-polished .live-toolbar { flex-wrap:nowrap; }
 .preview-layout.live-polished .live-toolbar label { flex-basis:auto; }
 .preview-layout.live-polished #live-list { min-height:35vh; }
 .preview-layout.reading .live-list-panel,.preview-layout.reading .live-folders { display:none; }
 .preview-layout.live-polished.reading #live-detail { display:block; padding:16px 22px 30px; }
 .preview-layout.live-polished #live-detail { display:none; }
 .preview-layout.live-polished .live-back { margin-bottom:0; }
 .preview-layout.live-polished #live-detail h2 { font-size:25px; }
}
.preview-layout.live-polished .live-message time,.preview-layout.live-polished .live-welcome p { color:#7b858e; }
.preview-layout .live-message:nth-child(3n+2)>.live-avatar { background:#e3edf6; color:#6886a1; }
.preview-layout .live-message:nth-child(3n)>.live-avatar { background:#ece7f4; color:#8c7aa5; }
