:root{color:#161a22;font-synthesis:none;text-rendering:optimizelegibility;background:#f8f5ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:radial-gradient(circle at 18% 8%,#ffffffe6,#0000 34%),linear-gradient(135deg,#fbf8f3 0%,#f7f3ec 46%,#f9f7f2 100%);margin:0}button,input{font:inherit}button{color:#161a22;cursor:pointer;background:#fffdf8;border:1px solid #ded8ce;border-radius:10px;min-height:38px;padding:0 14px;font-weight:720;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s}button:hover:not(:disabled){border-color:#b9c8f7;box-shadow:0 8px 24px #1c4aaa14}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.54}.product-shell{background:#fffdf8a3;grid-template-columns:252px minmax(320px,390px) minmax(520px,1fr) minmax(280px,340px);height:100vh;display:grid;overflow:hidden}.side-rail,.command-column,.reader-column,.ai-rail{min-height:0}.side-rail{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#fffdf8d6;border-right:1px solid #d1cbc2b8;flex-direction:column;gap:16px;padding:22px 14px;display:flex}.brand-block{align-items:center;gap:12px;padding:8px 10px 10px;display:flex}.brand-block strong{font-size:18px;line-height:1.1;display:block}.brand-block span,.profile-chip small,.account-chip span:last-child,.rail-section-title,.column-header p,.auth-panel p,.briefing-card p,.message-copy p,.sender-line span,.sender-line small,.mail-body p,.provider-card p,.provider-card small,.account-row p,.account-row small,.empty-state p,.focus-row p,.calendar-row p,.agenda-card p,.health-list span,.insight-block p{color:#687078}.brand-logo,.spark-mark{object-fit:contain;filter:drop-shadow(0 12px 20px #2563eb1f);flex:none;place-items:center;display:grid}.brand-logo{width:40px;height:40px}.spark-mark{width:26px;height:26px}.compose-button,.primary-button{color:#fff;background:#2563eb;border-color:#2563eb}.compose-button{justify-content:center;align-items:center;gap:8px;min-height:44px;margin:2px 8px;display:flex;box-shadow:0 14px 30px #2563eb33}.compose-button span{font-size:20px;line-height:1}.rail-nav{gap:4px;display:grid}.rail-nav-secondary{border-top:1px solid #ece6db;padding-top:14px}.rail-button,.account-chip{width:100%;box-shadow:none;text-align:left;background:0 0;border:0;align-items:center;display:grid}.rail-button{color:#3e454d;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;min-height:38px;padding:0 10px}.rail-button:hover:not(:disabled),.rail-button.active{color:#1d4ed8;box-shadow:none;background:#eef4ff;border-color:#0000}.rail-icon{width:24px;height:24px;color:inherit;border:1px solid #2563eb2e;border-radius:8px;place-items:center;font-size:12px;font-weight:900;display:grid}.rail-button small,.filter-pill span{min-width:22px;height:22px;color:inherit;background:#161a220f;border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.rail-accounts{border-top:1px solid #ece6db;gap:6px;margin-top:auto;padding:12px 8px;display:grid}.rail-section-title{justify-content:space-between;align-items:center;padding:0 4px 4px;font-size:12px;font-weight:700;display:flex}.rail-section-title button{border-radius:8px;width:24px;min-height:24px;padding:0}.account-chip{grid-template-columns:14px minmax(0,1fr);gap:8px;min-height:30px;padding:0 4px}.account-chip span:last-child{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.provider-dot,.classification-dot{background:#8b95a1;border-radius:50%;width:9px;height:9px;display:inline-block}.provider-dot.gmail,.provider-dot.green,.classification-dot.fyi{background:#1fbf75}.provider-dot.outlook,.classification-dot.needs_reply{background:#2563eb}.provider-dot.yahoo,.classification-dot.waiting{background:#8b5cf6}.provider-dot.icloud,.classification-dot.unknown{background:#38bdf8}.classification-dot.decision,.classification-dot.promotional{background:#f59e0b}.provider-dot.empty{background:#c7cbd1}.rail-footer{border-top:1px solid #ece6db;gap:10px;padding-top:12px;display:grid}.profile-chip{grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;display:grid}.profile-chip>span,.avatar{color:#0f766e;background:#e9f7f4;border-radius:999px;place-items:center;font-weight:900;display:grid}.profile-chip>span{width:34px;height:34px}.profile-chip strong,.profile-chip small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.command-column{background:#ffffff94;border-right:1px solid #d1cbc2b8;flex-direction:column;gap:14px;padding:24px 14px;display:flex;overflow:auto}.column-header,.reader-toolbar,.reader-title-row,.sender-line,.section-heading,.thread-toolbar,.ai-header,.account-actions,.reply-actions,.ai-actions,.health-list div,.toolbar-icons{align-items:center;display:flex}.column-header,.reader-toolbar,.reader-title-row,.section-heading,.ai-header,.health-list div{justify-content:space-between;gap:12px}.view-select{min-height:auto;box-shadow:none;background:0 0;border:0;padding:0;font-size:19px}.column-header p{margin:4px 0 0;font-size:13px}.icon-button{border-radius:12px;place-items:center;width:38px;height:38px;min-height:38px;padding:0;display:grid}.search-box{display:block;position:relative}.search-box span{color:#8a929c;font-size:0;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.search-box span:before{content:"";border:2px solid #8a929c;border-radius:50%;width:13px;height:13px;display:block}.search-box span:after{content:"";transform-origin:0;background:#8a929c;width:7px;height:2px;margin-top:-1px;margin-left:12px;display:block;transform:rotate(45deg)}.search-box input{color:#161a22;background:#fffdf8c7;border:1px solid #ded8ce;border-radius:12px;outline:none;width:100%;min-height:42px;padding:0 14px 0 42px}.search-box input:focus{border-color:#9bb7ff;box-shadow:0 0 0 4px #2563eb1a}.filter-strip{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.filter-pill{background:#fffdf8bd;border-radius:999px;flex:none;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-size:13px;display:inline-flex}.filter-pill.active{color:#1d4ed8;background:#eef4ff;border-color:#c9d9ff}.banner,.auth-panel,.briefing-card,.metric,.empty-state,.provider-card,.account-row,.agenda-card,.insight-block{background:#fffdf8e6;border:1px solid #e3ddd4;border-radius:16px;box-shadow:0 14px 40px #1e242d0a}.banner{padding:12px 14px;font-size:14px}.banner.error{color:#a23b2d;background:#fff2ed;border-color:#f0c3b8}.banner.notice{color:#0f766e;background:#effbf7;border-color:#b7e5d8}.auth-panel,.briefing-card,.empty-state{padding:18px}.auth-panel h2,.briefing-card h2{margin:0;font-size:20px}.auth-panel p,.briefing-card p{line-height:1.5}.eyebrow{color:#2563eb;letter-spacing:0;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:900}.briefing-stack{gap:14px;display:grid}.metric-grid,.today-plan{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.metric{gap:8px;padding:15px;display:grid}.metric span{color:#626a74;font-size:13px;font-weight:750}.metric strong{font-size:26px;line-height:1}.metric.blue{background:#f3f7ff;border-color:#cad9ff}.metric.amber{background:#fff8e8;border-color:#f6d699}.metric.violet{background:#f8f4ff;border-color:#ddd0ff}.metric.green{background:#f2fbf6;border-color:#bdebd9}.stack-section,.settings-section{gap:10px;display:grid}.section-heading h3{margin:0;font-size:15px}.section-heading span{color:#1d4ed8;background:#eef4ff;border-radius:999px;place-items:center;min-width:26px;height:26px;font-weight:800;display:inline-grid}.priority-row,.message-row,.mini-provider-list button{width:100%;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:14px}.priority-row{grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:10px 12px;display:grid}.priority-row:hover,.message-row:hover,.mini-provider-list button:hover{background:#2563eb0f}.priority-row strong,.priority-row small,.priority-row span:last-child{display:block}.priority-row strong,.message-copy h3,.focus-row strong,.calendar-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.priority-row small,.priority-row span:last-child{color:#727a84}.message-list{gap:4px;display:grid}.message-row{border:1px solid #0000;grid-template-columns:10px 42px minmax(0,1fr);align-items:center;gap:12px;min-height:94px;padding:10px;display:grid}.message-row.active{background:#eef4ff;border-color:#c9d9ff;box-shadow:0 14px 36px #2563eb14}.avatar{color:#0f766e;background:#ddf6ef;width:40px;height:40px}.avatar.large{width:50px;height:50px}.message-copy{min-width:0}.message-copy>div{justify-content:space-between;gap:8px;display:flex}.message-copy strong,.message-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.message-copy span{color:#737b86;font-size:12px}.message-copy h3,.message-copy p{margin:3px 0 0}.message-copy h3{font-size:14px}.message-copy p{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.reader-column{background:#fffdf87a;overflow:auto}.reader-toolbar{z-index:2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffdf8e0;border-bottom:1px solid #e7e0d7;min-height:68px;padding:14px 28px;position:sticky;top:0}.toolbar-icons,.reply-actions,.ai-actions,.account-actions{gap:8px}.toolbar-button{box-shadow:none;background:0 0;border:0}.reader-content,.settings-surface{max-width:860px;margin:0 auto;padding:34px 42px 90px}.reader-title-row{align-items:flex-start;margin-bottom:28px}.reader-title-row h1,.reader-content h1{letter-spacing:0;margin:0 0 10px;font-size:29px;line-height:1.15}.tag{color:#5e6670;text-transform:capitalize;background:#f6f0e7;border:1px solid #ddd7cd;border-radius:999px;align-items:center;min-height:26px;padding:0 10px;font-size:12px;font-weight:850;display:inline-flex}.tag.needs_reply,.tag.connected{color:#1d4ed8;background:#eef4ff;border-color:#c9d9ff}.tag.decision,.tag.promotional,.tag.syncing,.tag.stale{color:#a76108;background:#fff6df;border-color:#f4d18a}.tag.waiting{color:#6d3bc6;background:#f4edff;border-color:#dcc9ff}.tag.needs_reconnect,.tag.needs_session,.tag.setup_needed{color:#a23b2d;background:#fff2ed;border-color:#f0c3b8}.sender-line{gap:14px;margin-bottom:36px}.sender-line>div:nth-child(2){gap:2px;min-width:0;display:grid}.sender-line time{color:#6f7882;margin-left:auto;font-size:13px}.mail-body{border-top:1px solid #ebe4dc;border-bottom:1px solid #ebe4dc;max-width:720px;min-height:280px;padding:34px 0}.mail-body p,.plain-mail-body{color:#242a31;margin:0;font-size:17px;line-height:1.78}.plain-mail-body{white-space:pre-wrap;font-family:inherit}.remote-content-bar{color:#59616b;background:#fff9ef;border:1px solid #e0d9cf;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:10px 12px;font-size:13px;display:flex}.remote-content-bar button{color:#1d4ed8;border-radius:9px;min-height:32px;padding:0 10px}.email-frame{background:#fffdf8;border:1px solid #e0d9cf;border-radius:14px;width:100%;min-height:620px;display:block}.reply-actions{margin-top:24px}.ai-rail{background:#fffdf8c7;border-left:1px solid #d1cbc2b8;padding:22px 16px;overflow:auto}.ai-header{border-bottom:1px solid #e9e1d8;min-height:46px;margin-bottom:14px;padding-bottom:12px}.ai-header>div{align-items:center;gap:9px;display:flex}.ai-stack{gap:12px;display:grid}.insight-block{padding:16px}.insight-block h3{color:#1d4ed8;margin:0 0 8px;font-size:14px}.insight-block p{margin:0;line-height:1.5}.health-list{gap:8px;display:grid}.health-list div{border-top:1px solid #eee7df;padding-top:8px}.health-list div:first-child{border-top:0;padding-top:0}.text-button{color:#1d4ed8;box-shadow:none;background:0 0;border:0}.settings-surface,.settings-preview{gap:18px;display:grid}.settings-preview{overflow:auto}.account-row,.provider-card{gap:12px;padding:14px;display:grid}.account-row{grid-template-columns:10px minmax(0,1fr) auto;align-items:center}.account-row strong,.account-row p,.account-row small,.provider-card strong,.provider-card p,.provider-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-row p,.provider-card p{margin:3px 0}.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.provider-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.mini-provider-list{gap:6px;display:grid}.mini-provider-list button{grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:8px 10px;display:grid}.today-plan{margin:22px 0}.focus-row,.calendar-row{border-bottom:1px solid #eee7df;align-items:center;gap:12px;padding:14px 0;display:grid}.focus-row{grid-template-columns:10px minmax(0,1fr) auto}.calendar-row{grid-template-columns:58px minmax(0,1fr)}.focus-row:last-child,.calendar-row:last-child{border-bottom:0}.focus-row p,.calendar-row p{text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;overflow:hidden}.focus-row time,.calendar-row time{color:#737b86}.agenda-card{gap:8px;padding:22px;display:grid}.agenda-card span{color:#1d4ed8;font-weight:800}.empty-state{text-align:center;align-content:center;justify-items:center;gap:8px;min-height:180px;display:grid}.empty-state span{border:2px solid #e6ded4;border-radius:999px;width:46px;height:46px}.empty-state strong{font-size:20px}.empty-state p{margin:0}@media (width<=1180px){.product-shell{grid-template-columns:86px minmax(300px,390px) minmax(0,1fr)}.side-rail{padding:18px 10px}.brand-block{justify-content:center}.brand-block div:last-child,.rail-button span:nth-child(2),.rail-button small,.compose-button{display:none}.rail-button{grid-template-columns:1fr;justify-items:center}.rail-accounts,.profile-chip div,.ai-rail{display:none}}@media (width<=820px){.product-shell{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:auto}.side-rail{z-index:5;border-bottom:1px solid #e5ded5;border-right:0;grid-template-columns:auto 1fr;min-height:auto;display:grid;position:sticky;top:0}.brand-block{justify-content:flex-start}.brand-block div:last-child{display:block}.rail-nav,.rail-nav-secondary,.rail-footer{border:0;grid-column:1/-1;gap:6px;padding:0;display:flex;overflow-x:auto}.rail-button{flex:none;grid-template-columns:24px auto;width:auto}.rail-button span:nth-child(2){display:inline}.command-column,.reader-column{border-right:0}.reader-content,.settings-surface{padding:24px 18px 70px}.provider-grid,.metric-grid,.today-plan,.account-row,.provider-card,.focus-row{grid-template-columns:1fr}}
