:root[data-theme="maroon"][data-mode="light"]{--text:#30282b;--muted:#706369;--line:#ded7da;--canvas:#f7f5f5;--rail:#efecee;--panel:#f8f7f8;--surface:#ffffff;--soft:#f2eef0;--selected:#ede1e6;--ink:#782c48;--accent-hover:#63233b;--on-accent:#ffffff;color-scheme:light}
:root[data-theme="maroon"][data-mode="dark"]{--text:#f3edf0;--muted:#bcb0b6;--line:#44383e;--canvas:#181518;--rail:#211b20;--panel:#211d21;--surface:#272126;--soft:#30262c;--selected:#49303d;--ink:#efa8c1;--accent-hover:#ffd0e0;--on-accent:#30101e;color-scheme:dark}
:root,:root[data-theme="mono"][data-mode="light"]{--text:#171717;--muted:#626262;--line:#dddddd;--canvas:#ffffff;--rail:#eeeeee;--panel:#fafafa;--surface:#ffffff;--soft:#f1f1f1;--selected:#e4e4e4;--ink:#222222;--accent-hover:#000000;--on-accent:#ffffff;color-scheme:light}
:root[data-theme="mono"][data-mode="dark"]{--text:#f5f5f5;--muted:#b3b3b3;--line:#383838;--canvas:#121212;--rail:#191919;--panel:#1c1c1c;--surface:#222222;--soft:#2b2b2b;--selected:#393939;--ink:#f0f0f0;--accent-hover:#ffffff;--on-accent:#161616;color-scheme:dark}
:root[data-theme="sky"][data-mode="light"]{--text:#142332;--muted:#526779;--line:#d3e0e9;--canvas:#f2f8fc;--rail:#e6f1f8;--panel:#f5faff;--surface:#ffffff;--soft:#edf5fb;--selected:#d9ebf8;--ink:#145c91;--accent-hover:#104971;--on-accent:#ffffff;color-scheme:light}
:root[data-theme="sky"][data-mode="dark"]{--text:#e7f2fb;--muted:#a4bdce;--line:#304858;--canvas:#101c25;--rail:#14232e;--panel:#172a37;--surface:#1b303e;--soft:#213a4b;--selected:#284c65;--ink:#89caff;--accent-hover:#b7ddff;--on-accent:#102a3d;color-scheme:dark}
:root[data-theme="sage"][data-mode="light"]{--text:#203027;--muted:#5b6d61;--line:#d5e1d8;--canvas:#f4f9f4;--rail:#e9f2e9;--panel:#f8fbf7;--surface:#ffffff;--soft:#eff6ec;--selected:#e0eddc;--ink:#32633d;--accent-hover:#244b2e;--on-accent:#ffffff;color-scheme:light}
:root[data-theme="sage"][data-mode="dark"]{--text:#e9f2e7;--muted:#acbfa9;--line:#344c3b;--canvas:#142019;--rail:#1b2a20;--panel:#203025;--surface:#24372a;--soft:#2b4030;--selected:#35543b;--ink:#add69d;--accent-hover:#cceac0;--on-accent:#172c19;color-scheme:dark}
:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--text);background:var(--canvas);font-synthesis:none;font-size:14px;}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:transparent}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--ink);outline-offset:3px}button:hover{background:var(--soft)}a{color:var(--ink)}[hidden]{display:none!important}.workspace{height:100dvh;display:grid;grid-template-columns:68px 330px minmax(0,1fr);overflow:hidden}.rail{display:flex;flex-direction:column;align-items:center;border-right:1px solid var(--line);padding:24px 10px;background:var(--rail);gap:30px}.brand img{width:37px;height:37px;display:block}.rail button{width:40px;height:40px;border-radius:11px;font-size:19px}.rail-current{background:var(--selected);color:var(--ink)}.rail-bottom{margin-top:auto;display:grid;gap:14px}.rail .profile{background:var(--selected);font-size:13px;font-weight:650}.inbox{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:var(--panel)}.project-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 23px 7px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.6px;color:var(--muted)}.project-heading button{font-size:19px}select{margin:0 21px 32px;border:0;background:transparent;font-weight:600;color:var(--text);max-width:calc(100% - 42px);padding:5px 0;font-size:14px}.inbox-heading{display:flex;align-items:center;justify-content:space-between;padding:0 23px}h1{font-size:20px;letter-spacing:-.6px;margin:0;font-weight:600}.new-button{font-size:23px;width:29px;height:29px;border:1px solid var(--line);border-radius:7px}.search{display:flex;align-items:center;gap:8px;margin:22px 23px 18px;color:var(--muted);background:var(--soft);padding:9px 11px;border-radius:7px}.search input{min-width:0;width:100%;border:0;outline:none;background:transparent;font-size:12px;color:var(--text)}.tabs{display:flex;gap:17px;padding:0 23px;border-bottom:1px solid var(--line)}.tabs button{font-size:11px;padding:0 0 14px;color:var(--muted);white-space:nowrap}.tabs button[aria-current]{color:var(--ink);box-shadow:0 2px var(--ink);font-weight:650}.tabs span{background:var(--selected);border-radius:4px;padding:1px 5px;font-size:9px;margin-left:2px}.thread-list{overflow:auto;flex:1}.thread-row{width:100%;text-align:left;display:block;padding:23px;border-bottom:1px solid var(--line);border-left:3px solid transparent}.thread-row.active{background:var(--selected);border-left-color:var(--ink)}.row-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:9px}.row-title{font-size:13px;line-height:1.5;font-weight:600;margin-bottom:7px}.row-preview{font-size:11px;color:var(--muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row-status{color:var(--ink);font-size:10px;margin-top:12px;display:flex;align-items:center;gap:6px}.dot{width:5px;height:5px;border-radius:50%;background:var(--ink);display:inline-block}.inbox-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:16px 20px;font-size:10px;color:var(--muted)}.inbox-footer button{font-size:11px;color:var(--muted)}.inbox-footer button[aria-current]{color:var(--ink);font-weight:700}main{overflow:auto;background:var(--surface);min-width:0;outline:none}.detail-top{height:70px;border-bottom:1px solid var(--line);padding:0 39px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.detail-actions{display:flex;gap:15px}.detail-actions button{font-size:11px;padding:7px;border-radius:5px}.thread-content{max-width:850px;margin:auto;padding:46px 52px 30px}.thread-label{font-size:10px;color:var(--muted);margin-bottom:15px;display:flex;gap:9px;align-items:center}.sample-pill{border:1px solid var(--line);border-radius:4px;font-size:9px;padding:2px 5px}h2{font-size:26px;line-height:1.3;letter-spacing:-.8px;font-weight:550;margin:0 0 12px}.thread-subtitle{font-size:11px;color:var(--muted);margin-bottom:30px}.question-summary{background:var(--soft);border:1px solid var(--line);border-radius:9px;margin-bottom:33px;padding:15px 18px}.question-summary>p{color:var(--ink);font-weight:600;font-size:11px;margin:0 0 9px}.question-link{display:block;text-align:left;font-size:11px;line-height:1.6;padding:5px 0;color:var(--muted)}.question-link strong{color:var(--text);font-weight:600}.message{display:flex;gap:12px;margin-bottom:29px}.avatar{flex-shrink:0;width:30px;height:30px;border-radius:9px;background:var(--selected);display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--ink);font-weight:600}.avatar.sand{background:var(--selected);color:var(--ink)}.message-body{flex:1;min-width:0}.message-header{display:flex;align-items:center;gap:10px;margin:2px 0 9px;font-size:12px}.person{font-weight:650}.time{font-size:10px;color:var(--muted)}.message-body p{font-size:13px;line-height:1.85;margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}.message-body details{font-size:11px;color:var(--muted)}.message-body summary{cursor:pointer;margin:9px 0}.message-actions{display:flex;align-items:center;gap:13px;font-size:10px;color:var(--muted)}.message-actions button{padding:4px 0;font-size:10px;color:var(--ink)}.question-state{font-size:9px;background:var(--selected);padding:3px 6px;border-radius:4px;color:var(--ink)}.question-state.answered{background:var(--selected);color:var(--ink)}.message-replies{border-left:1px solid var(--line);padding-left:17px;margin-top:18px}.message-replies .message{margin-bottom:15px}.composer{border:1px solid var(--line);border-radius:10px;margin:35px 0 13px;overflow:hidden}.reply-target{padding:12px 15px 0;color:var(--muted);font-size:10px;display:flex;justify-content:space-between;gap:12px}.reply-target small{display:block;margin-top:5px;color:var(--muted)}.reply-target button{font-size:10px}.composer textarea{display:block;border:0;padding:15px;width:100%;min-height:76px;resize:vertical;background:transparent;color:var(--text);font-size:12px;line-height:1.7}.compose-bottom{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border-top:1px solid var(--line)}.compose-bottom button:not(.primary){font-size:10px;color:var(--muted)}.primary{background:var(--ink);color:var(--on-accent);padding:9px 16px;border-radius:6px;font-size:11px;font-weight:550}.primary:hover{background:var(--accent-hover)}.answer-choice{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);padding:0 12px 12px}.answer-choice input{accent-color:var(--ink)}.local-note{font-size:10px;color:var(--muted);text-align:center;line-height:1.7}.empty{padding:70px 30px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.empty h2{font-size:21px;color:var(--text)}.empty img{width:50px;margin-bottom:20px;opacity:.65}.thread-list .empty{padding:40px 22px}.thread-list .empty h2{font-size:15px}.back{display:none}.source-banner{background:var(--soft);padding:16px;border-radius:8px;color:var(--muted);font-size:11px;line-height:1.8;margin-bottom:25px}dialog{border:1px solid var(--line);border-radius:14px;max-width:460px;width:calc(100% - 32px);padding:27px;color:var(--text);background:var(--surface)}dialog::backdrop{background:#38232b55;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.dialog-heading h2{font-size:21px}.dialog-heading button{font-size:24px}.dialog-copy{color:var(--muted);font-size:12px;line-height:1.8}.field{display:grid;gap:8px;margin:20px 0;font-size:12px}.field input,.field textarea{width:100%;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:11px;color:var(--text)}.field textarea{min-height:95px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;margin-top:20px}.check-row{display:flex;gap:10px;margin:20px 0;font-size:13px}.check-row small{display:block;font-size:11px;color:var(--muted);margin-top:6px}#toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--on-accent);box-shadow:0 4px 30px #38232b20;border-radius:8px;padding:12px 18px;font-size:12px;max-width:90vw;z-index:9}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1450px){.workspace{grid-template-columns:76px 360px minmax(0,1fr)}.thread-content{padding-top:65px}}@media(max-width:1050px){.workspace{grid-template-columns:58px 290px minmax(0,1fr)}.thread-content{padding:32px 28px}.detail-top{padding:0 24px}.tabs{gap:13px}.rail{padding-left:7px;padding-right:7px}.detail-actions{gap:3px}h2{font-size:23px}}@media(max-width:720px){.workspace{grid-template-columns:52px minmax(0,1fr)}.rail{padding:22px 5px;gap:27px}.brand img{width:31px;height:31px}.rail button{width:35px}.inbox{border-right:0}.project-heading{margin-top:22px}select{margin-bottom:26px}.inbox-heading h1{font-size:22px}.thread-row{padding:22px}.row-title{font-size:14px}.row-preview{font-size:12px}.tabs button{font-size:12px}.tabs{gap:23px}main{display:none}.workspace.thread-open{display:block}.thread-open .rail,.thread-open .inbox{display:none}.thread-open main{display:block;height:100dvh}.back{display:block;font-size:12px;color:var(--ink)}.detail-top{height:61px;padding:0 17px}.desktop-crumb{display:none}.thread-content{padding:30px 21px}.question-summary{margin-bottom:27px}.thread-subtitle{line-height:1.8}.message-body p{font-size:13px}.message-replies{padding-left:10px}.thread-label{font-size:10px}.composer{margin-top:25px}.detail-actions button{font-size:10px}}

/* Readable workspace type and keyboard/touch affordances. */
.row-title{font-size:14px}.row-meta,.row-preview,.row-status,.tabs button,.inbox-footer button,.detail-top,.detail-actions button,.thread-label,.thread-subtitle,.question-summary>p,.question-link,.message-actions,.message-actions button,.reply-target,.compose-bottom button:not(.primary),.primary,.local-note,.source-banner{font-size:12px}.message-body p{font-size:14px}.message-header{font-size:13px}.time{font-size:11px}.composer textarea{font-size:14px}.search input{font-size:13px}.search:focus-within{outline:2px solid var(--ink);outline-offset:2px}.tabs{gap:13px}.thread-row{padding-top:22px;padding-bottom:22px}.question-state{font-size:10px}.answer-choice{font-size:12px;line-height:1.6}.sample-pill{font-size:10px}.thread-content{max-width:890px}
@media(max-width:720px){.detail-actions button,.back,.message-actions button,.question-link,.compose-bottom button,.reply-target button,.inbox-footer button{min-height:42px}.new-button,.project-heading button{min-width:40px;min-height:40px}.rail button{min-height:42px}.tabs button{min-height:44px;padding-bottom:10px}.message-actions{gap:12px;flex-wrap:wrap}.message-body p{font-size:14px}.row-title{font-size:14px}.tabs{gap:16px}.thread-content{padding-top:26px}.answer-choice{padding-bottom:14px}.answer-choice input{width:19px;height:19px;flex-shrink:0}.dialog-heading button{min-width:40px;min-height:40px}}

.question-summary .question-link{display:inline-block;margin-right:17px;color:var(--ink)}

input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}select option{background:var(--surface);color:var(--text)}input{accent-color:var(--ink)}.brand{background:#FFFDF9;border-radius:9px;padding:3px}.appearance-options{border:0;padding:0;margin:22px 0}.appearance-options legend{font-size:13px;font-weight:600;margin-bottom:12px}.theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.theme-choice{border:1px solid var(--line);border-radius:9px;padding:12px;display:flex;align-items:center;gap:9px;cursor:pointer;font-size:13px}.theme-choice:has(input:checked){border-color:var(--ink);background:var(--selected)}.swatches{display:flex;margin-left:auto}.swatches i{width:17px;height:23px;background:var(--swatch);border:1px solid #8885}.mode-options{display:flex;gap:8px}.mode-options label{flex:1;justify-content:center;padding:12px 8px}.appearance-status{font-size:12px;color:var(--muted);line-height:1.6;min-height:20px}.theme-choice input{margin:0}.theme-choice:focus-within{outline:2px solid var(--ink);outline-offset:3px}
.empty img{background:#FFFDF9;border-radius:10px;padding:5px;opacity:1}

.slack-nav{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:10px;text-decoration:none;font-weight:650}
