:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#353853;background:#fafaff;font-synthesis:none;--green:#6155c8;--muted:#7d8096;--line:#e2e3ee;--paper:#fff;--accent:#e7e3ff}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px 15px;color:inherit;font-weight:550;min-height:42px}button:hover{background:#f1effc;border-color:#c5bfea}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--green);color:#fff;border-color:var(--green)}button.primary:hover{background:#5145b6}button.danger{color:#9a3232}button.small{padding:7px 11px;font-size:13px;min-height:36px}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #dcae45;outline-offset:3px}input,textarea,select{width:100%;padding:12px;border:1px solid #bfcac1;border-radius:8px;background:#fff;color:inherit;line-height:1.5}textarea{resize:vertical;min-height:110px}label{display:block;font-size:13px;font-weight:600;margin:16px 0 7px}h1,h2,h3,p{margin-top:0}h1{font-size:35px;font-weight:560;letter-spacing:-1.25px;margin-bottom:12px;line-height:1.15}h2{font-size:22px;font-weight:570;letter-spacing:-.5px}h3{font-size:16px;line-height:1.45;margin-bottom:8px}p{line-height:1.6}small,.muted{color:var(--muted)}small{font-size:12px}.layout{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{background:#f3f2fc;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:24px;font-weight:750;letter-spacing:-1px;display:flex;align-items:center;gap:9px;padding:0 12px 30px}.brand-mark{display:grid;place-items:center;background:var(--green);color:var(--accent);height:32px;width:32px;border-radius:9px;font-size:22px}.project-pill{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px;margin-bottom:30px;font-size:14px}.project-pill small{display:block;margin-bottom:5px;font-size:10px;letter-spacing:1.1px;text-transform:uppercase}.nav{display:grid;gap:7px}.nav a{padding:12px 14px;border-radius:8px;color:#777b94;display:flex;align-items:center;gap:12px;font-size:14px}.nav a.active{background:#e8e0f4;color:var(--green);font-weight:650}.sidebar-footer{margin-top:auto;padding:20px 12px 0;font-size:12px;line-height:1.7;color:var(--muted)}.dot{display:inline-block;background:#5a8765;width:6px;height:6px;border-radius:50%;margin-right:5px}.main{padding:32px 44px 70px;max-width:1570px;width:100%;margin:auto;align-self:start}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:42px;font-size:12px;color:var(--muted);gap:12px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:10px;font-weight:650;color:#8981b1;margin-bottom:14px}.heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.heading p{margin-bottom:0;max-width:640px;font-size:14px;color:var(--muted)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:30px 0}.stat{background:#fff;padding:20px 24px}.stat b{font-size:28px;font-weight:550;display:block;margin-bottom:5px}.stat span{font-size:12px;color:var(--muted)}.section-row{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px;gap:16px}.section-row h2{font-size:16px;margin:0}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;min-width:0}.card{display:flex;flex-direction:column}.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:24px}.number{font-size:12px;color:#9391ab;letter-spacing:1px}.tag{display:inline-block;border-radius:20px;background:#f0eff8;color:#76708e;font-size:11px;padding:5px 9px;line-height:1.3}.tag.green{background:#eeeaff;color:#6550aa}.tag.amber{background:#fff2d5;color:#755315}.tag.red{background:#fbe9e7;color:#87352f}.card h3{font-size:21px;font-weight:540;letter-spacing:-.4px}.card p{font-size:13px;color:var(--muted);margin-bottom:24px}.card-foot{border-top:1px solid var(--line);padding-top:16px;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.new-card{border:1px dashed #bfb7d9;background:transparent;min-height:240px;align-items:center;justify-content:center;text-align:center;gap:10px}.new-card span{font-size:28px;font-weight:300}.banner{border-radius:10px;padding:15px 18px;background:#f0edff;border:1px solid #dcd5f5;font-size:13px;line-height:1.6;margin:18px 0}.banner.error{background:#fff0ec;border-color:#edc7bb;color:#883c2b}.split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:22px;align-items:start}.stack{display:grid;gap:18px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:28px 0 24px;overflow-x:auto}.tabs a{white-space:nowrap;padding:12px 0;color:var(--muted);font-size:14px}.tabs a.active{color:var(--green);font-weight:650;border-bottom:2px solid var(--green)}.chatlog{display:flex;flex-direction:column;gap:18px;margin-bottom:20px;max-height:480px;overflow-y:auto}.chatbubble{background:#f4f3fc;border-radius:10px;padding:18px;white-space:pre-wrap;line-height:1.65;font-size:14px}.chatbubble.owner{background:#fff;border:1px solid var(--line);margin-left:24px}.chatbubble small{display:block;font-size:10px;letter-spacing:1px;text-transform:uppercase;margin-bottom:8px}.empty{padding:40px 16px;text-align:center;color:var(--muted)}.empty h3{color:#555273}.offer{margin-bottom:18px}.offer-head{display:flex;justify-content:space-between;gap:14px}.offer-head h3{font-size:19px}.offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.field{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.field small{display:block;text-transform:uppercase;letter-spacing:.7px;font-size:10px;margin-bottom:6px}.raw{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px;background:#f7f7fc;padding:18px;border-radius:8px;margin-top:14px;max-height:600px;overflow:auto}summary{cursor:pointer;font-size:13px;font-weight:550;padding:10px 0}details{margin-top:12px}.check{display:flex;align-items:center;gap:8px;font-size:13px}.check input{width:auto}.divider{height:1px;background:var(--line);margin:24px 0}.login{max-width:460px;margin:10vh auto;padding:30px}.login .brand{padding:0 0 40px}.login h1{font-size:40px}.login p{font-size:14px;color:var(--muted)}.login button{width:100%;margin-top:20px}.save-status{font-size:12px;min-height:18px;color:#7862aa;margin-top:8px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:16px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.6;min-width:160px}th{font-size:12px;background:#eeebfa}td:first-child,th:first-child{min-width:130px;max-width:150px;font-weight:550}dialog{border:0;border-radius:14px;box-shadow:0 20px 100px #41356633;padding:28px;width:min(700px,calc(100% - 24px));max-height:90vh;color:inherit}dialog::backdrop{background:#35334c99}dialog h2{margin-bottom:8px}dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f2fc;padding:18px;font-size:12px;max-height:45vh;overflow:auto}dialog .actions{justify-content:flex-end;margin-top:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#555074;color:#fff;padding:13px 20px;border-radius:10px;font-size:13px;box-shadow:0 6px 25px #0002;max-width:90vw;z-index:1000;display:none}.job{padding:13px 0;border-bottom:1px solid var(--line);font-size:13px;display:flex;gap:12px;justify-content:space-between}.job p{margin:3px 0 0}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:18px}.danger-zone{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.progressline{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.progressline i{height:4px;width:36px;background:#e0dbee;border-radius:5px}.progressline i.done{background:#9380c2}.wide{grid-column:1/-1}.list-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.list-row .grow{flex:1}.subtitle{font-size:13px;color:var(--muted)}.link-button{border:0;background:transparent;padding:5px;font-size:12px;min-height:36px}.badge-count{background:var(--accent);color:#67518d;border-radius:20px;padding:2px 7px}.private{font-size:11px;color:#807b92}.mobile-brand{display:none}@media(min-width:1500px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.main{padding:26px}.layout{grid-template-columns:200px minmax(0,1fr)}.split{grid-template-columns:1fr}.heading{align-items:flex-start}.stats .stat{padding:16px}.cards{gap:12px}.card{padding:20px}}@media(max-width:700px){.layout{display:block}.sidebar{height:auto;position:static;padding:15px 16px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0;font-size:21px}.project-pill,.sidebar-footer{display:none}.nav{display:flex;gap:4px;margin-top:14px;overflow-x:auto}.nav a{padding:9px 11px;font-size:12px;white-space:nowrap}.main{padding:22px 16px 50px}.topbar{margin-bottom:28px}.heading{display:block}.heading .actions{margin-top:18px}h1{font-size:29px}.stats{grid-template-columns:repeat(2,1fr);margin:22px 0}.stat b{font-size:24px}.cards{grid-template-columns:1fr}.offer-grid{grid-template-columns:1fr}.panel,.card{padding:18px}.tabs{gap:20px}.login{margin:4vh auto;padding:25px}.card-top{margin-bottom:18px}.offer-head{flex-wrap:wrap}.topbar .private{display:none}.section-row{flex-wrap:wrap}button{min-height:44px}.table-wrap{margin:0 -10px}.chatbubble.owner{margin-left:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:700px){.nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.nav a{justify-content:flex-start}.tabs{flex-wrap:wrap;overflow:visible;gap:4px 18px}.tabs a{font-size:13px;padding:10px 0}}

.heading>button,.heading>.actions{flex-shrink:0}@media(max-width:1100px){.tabs{flex-wrap:wrap;overflow:visible;gap:4px 18px}}

/* Voice stays mounted across workspace navigation and data refreshes. */
.voice-entry{padding:20px;border:1px solid #c9c1e5;border-radius:16px;background:#f6f4ff;margin-bottom:20px}.voice-entry small{display:block;margin-top:12px;color:#827994}.voice-console{position:fixed;z-index:50;right:20px;bottom:20px;width:min(410px,calc(100vw - 24px));max-height:80vh;overflow:auto;padding:20px;border:1px solid #c9c1e5;border-radius:22px;background:#f7f5ff;box-shadow:0 12px 60px #102b3333}.voice-console[hidden]{display:none}.voice-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.voice-orb{width:84px;height:84px;margin:18px auto;border-radius:50%;display:grid;place-items:center;background:#6155c8;color:#ece8ff;font-size:48px}.voice-status{text-align:center;font-weight:700}.voice-caption{white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;overflow:auto}.voice-save,.voice-console small{font-size:12px;color:#827994}.voice-console button{min-height:44px}.voice-console .actions{flex-wrap:wrap}@media(max-width:600px){.voice-console{right:12px;bottom:12px;padding:16px}.voice-orb{width:64px;height:64px;margin:10px auto;font-size:36px}}

/* Two destinations; all supporting tools live in the menu. */
:root{background:#fafaff;color:#353853}svg{width:24px;height:24px;display:block;flex-shrink:0}[hidden]{display:none!important}.simple-layout{min-height:100dvh}.simple-header{height:76px;max-width:1100px;margin:auto;padding:16px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px}.simple-brand{font-size:17px;letter-spacing:-.4px;font-weight:650;color:#555274}.header-spacer{width:44px}.icon-button{width:44px;height:44px;padding:10px;border:0;background:transparent;border-radius:50%;display:grid;place-items:center}.simple-main{max-width:1040px;margin:auto;padding:32px 28px 160px}.simple-main h1{font-size:28px;font-weight:550;letter-spacing:-.8px}.bottom-nav{position:fixed;z-index:40;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:flex-end;gap:46px;padding:12px 20px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#fafaff 28%);pointer-events:none}.bottom-tab{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;font-weight:550;color:#8b879f;min-width:78px;pointer-events:auto}.bottom-tab:hover{text-decoration:none}.tab-circle{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;border:1px solid #e4e1ee;background:#fff;box-shadow:0 3px 12px #6653a005}.bottom-tab.active{color:#6155c8}.bottom-tab.active .tab-circle{background:#ede9ff;border-color:#dbd4f5}.bottom-tab svg{width:23px;height:23px}.discussion-main{max-width:800px;padding-top:0}.conversation{position:relative}.conversation .chatlog{max-height:none;overflow:visible;gap:25px;padding:12px 0 150px;margin:0}.conversation-empty{min-height:calc(100dvh - 420px);display:grid;place-items:center;text-align:center}.conversation-empty h1{font-size:29px;font-weight:500;letter-spacing:-.9px;color:#555274}.conversation .chatbubble{font-size:16px;background:none;padding:8px 0;border:0;border-radius:0;max-width:100%;overflow-wrap:anywhere}.conversation .chatbubble.owner{align-self:flex-end;background:#efedfa;border-radius:22px;padding:14px 20px;max-width:87%;margin:0}.conversation .panel{box-shadow:none;border-radius:18px;padding:20px}.voice-composer{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(128px + env(safe-area-inset-bottom));width:min(720px,calc(100% - 36px));display:flex;flex-direction:column;align-items:center;gap:8px;background:linear-gradient(transparent,#fafaff 25%);padding-top:16px;z-index:30}.voice-composer.recording{visibility:hidden}.text-composer{display:flex;align-items:flex-end;gap:6px;width:100%;padding:5px 6px 5px 14px;background:#fff;border:1px solid var(--line);border-radius:23px;box-shadow:0 5px 18px #6653b510}.text-composer textarea{flex:1;min-height:34px;height:34px;max-height:96px;border:0;background:transparent;padding:7px 2px;resize:none;overflow-y:auto;line-height:20px}.text-composer textarea:focus{outline:0}.composer-action{flex:0 0 38px;width:38px;height:38px;min-height:38px;padding:8px;border:0;border-radius:50%;background:#6d5bd0;color:#fff;display:grid;place-items:center}.composer-action:hover{background:#6155c8}.composer-action svg{width:20px;height:20px}.thinking{font-size:14px;color:#8c84a4;padding:8px 0}.thinking span{letter-spacing:5px;margin-left:8px}.chat-error{font-size:14px;background:#fff3eb;padding:16px;border-radius:12px}.board-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.board-toolbar h1{margin:0}.view-switch{display:flex;gap:3px;padding:3px;border:1px solid #e7e3f0;border-radius:24px}.view-switch button{border:0;border-radius:50%;background:transparent;width:40px;height:40px;min-height:40px;padding:10px}.view-switch svg{width:20px;height:20px}.view-switch button.selected{background:#ede9ff;color:#6155c8}.solution-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.solution-card{border:1px solid #e3dfee;border-radius:22px;background:#fff;min-width:0;display:flex;flex-direction:column;padding:20px;min-height:230px;transition:box-shadow .15s,border-color .15s}.solution-card.dragging{border:2px solid #9581d4;box-shadow:0 10px 26px #6e58a825;background:#f3f0ff}.solution-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;height:30px}.priority-number{font-size:11px;color:#a09aad;letter-spacing:1px}.drag-handle{border:0;background:transparent;display:grid;place-items:center;width:44px;min-height:44px;padding:10px;color:#a298b6;cursor:grab;touch-action:none}.dragging .drag-handle{cursor:grabbing}.drag-handle svg{stroke-width:3}.solution-card-link{display:block;flex:1;color:inherit}.solution-card-link:hover{text-decoration:none}.solution-card h2{font-size:19px;line-height:1.35;letter-spacing:-.4px;margin-bottom:12px;overflow-wrap:anywhere}.solution-card p{font-size:13px;line-height:1.6;color:#8b829d;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:22px}.solution-card-meta{font-size:11px;color:#8a73ad;display:flex;align-items:center;gap:8px}.fresh-dot{width:6px;height:6px;background:#9e83d0;border-radius:50%}.solution-cards.as-list{grid-template-columns:1fr}.as-list .solution-card{min-height:0;display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:16px 20px}.as-list .solution-card-top{flex-direction:column-reverse;height:auto;margin:0}.as-list .solution-card h2{font-size:17px;margin:0 0 5px}.as-list .solution-card p{margin:0;-webkit-line-clamp:1}.app-menu{display:grid;margin-top:18px}.app-menu a,.app-menu button{text-align:left;border:0;border-bottom:1px solid #eeeaf5;border-radius:0;background:transparent;padding:14px 4px;font-size:15px;color:#665979}.workspace-heading{display:flex;align-items:center;gap:15px}.workspace-heading>a{font-size:26px;padding:8px}.workspace-heading h1{font-size:24px;margin:0}.workspace-sections{margin:12px 0 24px}.workspace-sections summary{color:#9584aa}.workspace-sections .tabs{margin:0;padding:0}.dictation-console{position:fixed;z-index:45;bottom:calc(126px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(500px,calc(100% - 32px));padding:14px 20px;background:#f3f0ff;border:1px solid #e8e0f4;border-radius:28px;box-shadow:0 10px 34px #74569f12;text-align:center}.dictation-console canvas{display:block;width:100%;height:48px}.dictation-status{font-size:13px;color:#8f73a9;margin:8px 0;line-height:1.45;max-height:90px;overflow:auto}.dictation-actions{display:flex;justify-content:center;gap:40px}.dictation-actions button{border:0;width:48px;height:48px;border-radius:50%;font-size:27px;display:grid;place-items:center;padding:0}.dictation-actions .record-send{background:#6d5bd0;color:white}.dictation-console>a{display:block;font-size:12px;margin-top:9px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#toast{bottom:calc(245px + env(safe-area-inset-bottom))}.simple-main .stats{display:none}@media(max-width:600px){.simple-header{height:64px;padding:10px 16px}.simple-main{padding:24px 18px 150px}.discussion-main{padding-top:8px}.conversation-empty h1{font-size:25px}.solution-cards{gap:12px}.solution-card{border-radius:18px;padding:14px;min-height:225px}.solution-card-top{margin-bottom:12px}.solution-card h2{font-size:16px;line-height:1.4}.solution-card p{font-size:12px}.solution-card-meta{font-size:10px}.as-list .solution-card{grid-template-columns:32px 1fr;padding:14px;gap:12px}.as-list .solution-card-meta{grid-column:2}.conversation .chatbubble{font-size:15px}.conversation .chatbubble.owner{padding:12px 16px}.board-toolbar h1{font-size:25px}.workspace-heading h1{font-size:21px}}@media(prefers-reduced-motion:reduce){.solution-card{transition:none}}

/* Journey is always discoverable; labels appear briefly without blocking reading. */
.flow-guide{position:fixed;z-index:32;left:max(12px,calc((100vw - 870px)/2));bottom:calc(138px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:2px;pointer-events:none}.flow-step{display:flex;align-items:center;position:relative;gap:9px;width:44px;height:38px;min-height:38px;padding:5px 7px;border:0;border-radius:20px;background:transparent;pointer-events:auto;color:#a09ab8;opacity:.5;transition:opacity .2s}.flow-step:hover,.flow-step:focus-visible{opacity:1;background:#f0edfb}.step-number{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border:1px solid #d9d2ef;border-radius:50%;background:#fafaff;font-size:12px}.flow-step.current{opacity:.9;color:#7560b9}.current .step-number{background:#eae3ff;border-color:#d4c5f4}.step-label{position:absolute;left:43px;white-space:nowrap;background:#fafaffee;border:1px solid #eee8f8;border-radius:12px;padding:6px 10px;font-size:12px;opacity:0;visibility:hidden;transition:opacity .2s;pointer-events:none}.flow-guide.revealed .flow-step{opacity:1}.flow-guide.revealed .step-label,.flow-step:focus-visible .step-label{opacity:1;visibility:visible}.step-hint{position:absolute;left:7px;bottom:100%;width:min(250px,calc(100vw - 40px));font-size:12px;line-height:1.5;color:#817292;background:#fafafff5;border:1px solid #e9e1f5;border-radius:15px;padding:10px 13px;opacity:0;visibility:hidden;transition:opacity .2s;box-shadow:0 3px 15px #70578e08}.step-hint:empty{display:none}.flow-guide.revealed .step-hint{opacity:1;visibility:visible}.flow-summary{background:#f3effb;border:1px solid #e7def4;border-radius:18px;padding:20px;font-size:14px;line-height:1.6}.flow-summary h2{font-size:17px;margin-bottom:18px}.flow-summary p{margin-bottom:12px}.flow-summary strong{display:block;font-size:11px;font-weight:550;color:#9483a8;margin-bottom:3px}.flow-summary small{font-size:12px;color:#8b73a8}.summary-question{color:#795496}.created-link{display:block;margin-top:12px;font-weight:550;color:#7b58b6}.simple-main{color:#49405e}.simple-brand{color:#6c5683}.mic-button{background:#9470c5;box-shadow:0 5px 18px #8258b21a}.mic-button:hover{background:#805bb4}.bottom-tab.active{color:#8b64b2}.bottom-tab.active .tab-circle{background:#efe5fa;border-color:#e1d2ef}.bottom-nav,.voice-composer{background:linear-gradient(transparent,#fafaff 28%)}.dictation-actions .record-send{background:#9470c5}.conversation .chatbubble.owner{background:#f0eaf8}.mic-hint{font-size:11px}.voice-composer{bottom:calc(125px + env(safe-area-inset-bottom))}@media(prefers-reduced-motion:reduce){.flow-step,.step-label,.step-hint{transition:none}}

.reply-step{display:block;font-size:11px;letter-spacing:.1px;color:#9a84b5;margin-bottom:9px}.journey-intro{max-width:370px;margin:20px auto 0;font-size:13px;line-height:1.8;color:#998aa9}.flow-guide.revealed .flow-step:not(.current){opacity:.6}.flow-guide.revealed .flow-step.current .step-number{background:#9970c9;border-color:#9970c9;color:#fff;box-shadow:0 0 0 4px #ede4f9}.flow-guide.revealed .flow-step.current .step-label{color:#8255ac}.flow-step.current:focus-visible .step-label{visibility:visible;opacity:1}

/* One next move, outside the transcript; the complete map lives in Rules. */
.next-guide{left:50%;transform:translateX(-50%);bottom:calc(221px + env(safe-area-inset-bottom));max-width:calc(100vw - 40px);width:max-content;pointer-events:auto}
.next-move{border:0;background:transparent;display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;color:#9c8aac;font-size:12px;max-width:100%;box-shadow:none}
.next-guide .step-hint{position:static;width:auto;max-width:290px;margin:0;padding:0;border:0;box-shadow:none;background:none;font-size:12px;color:#887198;opacity:0;visibility:hidden;max-height:0;overflow:hidden}
.next-guide.revealed .step-hint,.next-move:focus-visible .step-hint{opacity:1;visibility:visible;max-height:90px}
.next-arrow{opacity:.45}.next-guide.revealed .next-arrow{opacity:1}.next-guide.revealed .next-move{background:#fafafff5;border-radius:18px}
.journey-start{min-height:60dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px}.journey-start p{font-size:13px;color:#9c8aac}.journey-start button{border-radius:40px;min-width:100px}
.journey-title{font-size:22px;line-height:1.16;letter-spacing:-.02em;margin:14px 0 7px;max-width:620px}.journey-purpose{max-width:620px;margin:0 0 10px;color:#786a88;font-size:13px;line-height:1.38}.journey-map{padding:4px 0}.journey-section{margin:11px 0}.journey-section h3{display:flex;align-items:center;gap:10px;font-size:17px;line-height:1.2;margin:0}.journey-section h3 span{display:grid;place-items:center;width:30px;height:30px;background:#eee4fa;color:#9163b7;border-radius:50%;font-size:12px;flex-shrink:0}.journey-section ul{margin:7px 0 0 40px;padding-left:15px;color:#8e7b9e;font-size:13px;line-height:1.42}.journey-section li{margin:4px 0}.journey-end{font-size:13px;line-height:1.4;margin-top:13px}.journey-end p{margin:0}.journey-end button{margin-top:9px}.journey-screen>[data-action="journey-all"]{margin-top:4px;padding:6px 0;min-height:32px}
.journey-playing .journey-title,.journey-playing .journey-purpose,.journey-playing .journey-section,.journey-playing .journey-section li,.journey-playing .journey-end{opacity:0;transform:translateY(5px)}.journey-playing .journey-title{transition:opacity 1.15s ease,transform 1.15s ease}.journey-playing .journey-purpose{transition:opacity .48s ease,transform .48s ease}.journey-playing .journey-section,.journey-playing .journey-section li,.journey-playing .journey-end{transition:opacity .28s ease,transform .28s ease}.journey-playing .shown{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){.journey-playing .journey-title,.journey-playing .journey-purpose,.journey-playing .journey-section,.journey-playing .journey-section li,.journey-playing .journey-end{opacity:1;transform:none;transition:none}}
/* Compact solution-first cards; independent priority and read state. */
.solution-card{position:relative;min-height:150px;aspect-ratio:1.2;padding:15px;touch-action:pan-y;transition:transform .18s ease,background .25s,border-color .25s}.solution-card-top{height:25px;margin-bottom:12px;justify-content:space-between}.solution-card h2{font-size:17px;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.solution-card-meta{margin-top:15px;font-size:11px}.solution-card .drag-handle{width:32px;min-height:32px;padding:7px}.card-more{border:0;background:transparent;width:30px;min-height:30px;padding:5px;color:#aaa0b7}.card-more svg{width:18px;height:18px}.solution-card.unread,.offer-strip.unread{background:#f1eafa;border-color:#ded0f2}.solution-card.starred,.offer-strip.starred{border-color:#d9ab52;box-shadow:0 0 0 1px #d9ab5226}.priority-star{position:absolute;right:8px;top:-11px;z-index:2;color:#c99836;background:#fafaff;border-radius:50%;width:24px;height:24px;text-align:center;font-size:21px;line-height:24px}.fresh-dot{background:#9470c5;flex-shrink:0}.as-list .solution-card{aspect-ratio:auto;grid-template-columns:40px 1fr auto}.board-intro,.solution-list-intro{margin:0 0 18px}.board-intro h1,.solution-list-intro h1{margin:0 0 6px}.board-intro p,.solution-list-intro p{margin:0;color:#887a96;font-size:13px;line-height:1.45}.offer-list{display:flex;flex-direction:column;gap:13px;margin-top:24px}.offer-strip{position:relative;display:flex;align-items:center;gap:8px;padding:13px 12px 13px 16px;border:1px solid #e3dfee;border-radius:18px;background:#fff;touch-action:pan-y;transition:transform .18s ease,background .25s,border-color .25s}.offer-open{display:block;text-align:left;flex:1;min-width:0;padding:0;border:0;background:none;color:inherit}.solution-preview{font-size:15px;line-height:1.48;font-weight:560;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.offer-caption{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.5;color:#9888a4;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strip-tools{display:flex;flex-direction:column;align-items:center}.strip-tools .drag-handle{width:30px;min-height:30px;padding:6px}.solution-full{font-size:17px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.answer-first .actions{margin:22px 0}.answer-first details{padding:15px 0;border-top:1px solid #eee8f4;font-size:14px}.answer-questions strong{display:block;font-size:12px;color:#9a85aa;margin:18px 0 6px}.answer-questions p{white-space:pre-wrap;font-size:15px}.offer-secondary p{margin-top:12px}.selected-proposal{display:flex;gap:8px;align-items:center;font-size:12px;color:#9778ad;background:#f2ecf9;border-radius:18px;padding:0 8px}.selected-proposal button{border:0;background:none}.quiet-link{background:none;border:0;color:#9269b2;font-size:12px;padding:8px 0}.round-divider{font-size:11px!important;text-align:center;color:#a695b2;border-top:1px solid #ece5f4!important;padding-top:18px!important}.settings-links{display:flex;gap:15px;flex-wrap:wrap;margin-bottom:25px;font-size:13px}.app-menu hr{width:100%;border:0;border-top:1px solid #eee7f4;margin:10px 0}.swipe-archive{border-color:#baa9c8!important;background:#f0ecf4!important}.swipe-star{border-color:#d9ab52!important;background:#fff9eb!important}.batch-request{padding:15px 0;border-bottom:1px solid #eee7f4}.budget-pair{display:flex;gap:10px}.batch-request select{max-height:120px}.workspace-heading h1{flex:1}.next-guide{bottom:calc(228px + env(safe-area-inset-bottom))}
/* Reserve the complete map's layout, animate visibility only: no reflow or scroll jumps. */
.journey-map{padding:0}.journey-section{margin:14px 0}.journey-section h3{font-size:16px;margin:0}.journey-section ul{font-size:13px;line-height:1.45;margin-top:8px}.journey-section li{margin:5px 0}.journey-end{font-size:12px;margin-top:18px}.journey-map.animated .journey-section:not(.shown){visibility:hidden;height:auto;margin:14px 0;overflow:visible;opacity:0}.journey-map.animated li:not(.shown){display:list-item;visibility:hidden;opacity:0}.journey-map.animated .journey-end:not(.shown){display:block;visibility:hidden;opacity:0}.journey-map.animated .shown{animation:journey-in .65s cubic-bezier(.2,.7,.2,1) both}.journey-section.current h3 span{background:#9470c5;color:white;box-shadow:0 0 0 3px #f0e5fb}.journey-section.current h3{color:#885cab}.journey-start{gap:14px}.journey-start p{display:none}@media(max-width:600px){.solution-card{min-height:140px}.solution-card h2{font-size:15px}.journey-section{margin:12px 0}.journey-section h3{font-size:15px}.journey-section ul{font-size:12px}.journey-end{margin-top:12px}}@media(prefers-reduced-motion:reduce){.journey-map.animated .shown{animation:none}.solution-card,.offer-strip{transition:none}}
.journey-dialog{padding:20px 24px;width:min(480px,calc(100% - 24px));max-height:92dvh}.journey-dialog>h2{font-size:20px;margin-bottom:12px}.journey-dialog>.actions{display:none}.journey-dialog .journey-end p{margin-bottom:4px}.journey-dialog .journey-end button{margin-top:8px}.journey-dialog>[data-action="journey-all"]{margin-top:8px;min-height:32px;padding:5px 0;border:0;background:none;color:#a28bb4;font-size:11px}.answer-first .solution-full{margin-top:14px}

/* Solution previews: five lines; money and evidence stay visible below. */
.solution-preview{-webkit-line-clamp:5;overflow-wrap:anywhere}.offer-caption{flex-wrap:wrap;column-gap:7px;row-gap:2px;overflow:visible;white-space:normal;color:#84768f}.offer-name{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.offer-price{font-variant-numeric:tabular-nums;color:#64566f}.offer-price,.offer-rating,.offer-evidence{white-space:nowrap}.offer-price:before,.offer-rating:before,.offer-evidence:before{content:'·';margin-right:7px;color:#b3a8bf}.offer-rating,.offer-evidence{font-size:10px}.offer-open{min-height:75px}

/* Meaningful, independent signal layers. */
:root{--fit-bg:#eef5ff;--fit-border:#bed3f2;--clarify-bg:#fff4e8;--clarify-border:#e9c89e;--unfit-bg:#fff0f2;--unfit-border:#e6b9c1;--signal-text:#51465e}
.solution-card.unread,.offer-strip.unread{background:#fff;border-color:#e3dfee}.solution-card.starred,.offer-strip.starred{box-shadow:none;border-color:#e3dfee}.offer-strip.fit-fit,.legend-row.fit-fit{background:var(--fit-bg);border-color:var(--fit-border)}.offer-strip.fit-clarify,.legend-row.fit-clarify{background:var(--clarify-bg);border-color:var(--clarify-border)}.offer-strip.fit-unfit,.legend-row.fit-unfit{background:var(--unfit-bg);border-color:var(--unfit-border)}.priority-star,.legend-star{color:#94630f}.fit-mark{padding:3px;width:30px;min-height:30px;border:0;background:transparent;color:var(--signal-text);font-weight:700;font-size:16px}.card-note{display:block;font-size:11px;line-height:1.45;margin-top:6px;color:#665971;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}.offer-caption{color:#706179}.notes{margin:12px 0}.note-item p{font-size:13px;white-space:pre-wrap;margin:8px 0}.note-item small{font-size:10px;color:#706179}.note-item .quiet-link{margin-left:12px}.legend-row{padding:12px;border:1px solid #e3dfee;border-radius:12px;margin:8px 0;display:flex;align-items:center;gap:12px;color:var(--signal-text)}.legend-row b{width:20px;text-align:center}.fit-mark:focus-visible,.priority-star:focus-visible{outline:2px solid #7250aa}.fresh-dot{background:#8052b1}.offer-open .solution-preview{color:#51465e}
@media(prefers-reduced-motion:reduce){.offer-strip,.solution-card{transition:none}}
/* One conversation: fixed access, paged history and a quiet thought drawer. */
.simple-header>.icon-button{position:fixed;left:max(14px,env(safe-area-inset-left));top:calc(12px + env(safe-area-inset-top));z-index:65;background:#fafaffdf;backdrop-filter:blur(10px);border-radius:50%}.simple-header{padding-left:64px}.chatbubble .thought{position:relative;border-radius:10px;padding:7px 25px 7px 8px;margin:0 -8px;transition:background .25s ease}.thought p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.thought.pinned{background:#eee8f8}.pin-toggle{position:absolute;right:0;top:5px;padding:0;border:0;background:transparent;width:24px;min-height:30px;font-size:13px;color:#6d4a91;opacity:.3}.thought.pinned .pin-toggle,.thought:hover .pin-toggle,.pin-toggle:focus-visible{opacity:1}.pin-flash{animation:pin-glow .6s ease}.pin-flash:after{content:'✓';position:absolute;left:8px;top:8px;color:#7651a0;pointer-events:none;animation:pin-left .6s ease forwards}@keyframes pin-left{to{transform:translateX(-55px);opacity:0}}@keyframes pin-glow{0%,100%{box-shadow:none}40%{box-shadow:0 0 0 2px #b39bd0}}
.focus-handle{position:fixed;left:12px;bottom:calc(43px + env(safe-area-inset-bottom));width:35px;min-height:55px;padding:7px 6px;border:0;background:#f1ecf7e8;border-radius:20px;z-index:64;display:flex;align-items:center;justify-content:center;gap:4px;touch-action:pan-y}.focus-grip{height:27px;width:3px;border-radius:4px;background:#9b81b6}.focus-handle small{font-size:10px;color:#64516f}.focus-shade{position:fixed;inset:0;background:#40354c35;z-index:80}.focus-drawer{position:fixed;left:0;top:0;bottom:0;z-index:81;background:#faf8ff;width:min(370px,90vw);padding:calc(20px + env(safe-area-inset-top)) 20px calc(22px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;box-shadow:8px 0 40px #34213c20;animation:drawer-in .25s ease}.focus-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.focus-heading h2{margin:0}.focus-drawer h3{font-size:12px;color:#776288;margin-top:20px}.focus-topic{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.paused{opacity:.65}.pin-toolbar{display:flex;justify-content:space-between;gap:8px}.pin-card{background:#fff;border:1px solid #e4dced;border-radius:14px;padding:13px;margin:10px 0}.pin-card p{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:8px}.pin-card small{display:block;white-space:pre-wrap}.pin-actions{display:flex;gap:10px;flex-wrap:wrap}.pin-actions .quiet-link{font-size:11px;min-height:32px}.jump-latest{position:fixed;right:18px;bottom:calc(245px + env(safe-area-inset-bottom));z-index:62;font-size:12px;border-radius:22px;box-shadow:0 4px 18px #41354b14}.jump-latest[hidden]{display:none}.history-earlier{align-self:center}.drawer-open{overflow:hidden}@keyframes drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
.journey-screen{max-width:550px;margin:0 auto;min-height:100dvh;padding:calc(10px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom));background:#fafaff}.journey-screen>header{display:flex;align-items:center;justify-content:flex-start;margin-bottom:10px;font-size:14px;color:#81728d}.journey-screen .journey-map{margin:0}.journey-screen .journey-section{margin-bottom:12px}.journey-screen .journey-section h3{font-size:18px}.journey-screen .journey-section li{font-size:13px;line-height:1.42}.journey-screen .journey-end p{font-size:13px}.journey-screen .journey-end{margin-top:13px}@media(max-width:430px){.journey-screen{padding-left:18px;padding-right:18px}.journey-title{font-size:20px}.journey-screen .journey-section h3{font-size:17px}.journey-section ul{margin-left:38px}}
@media(prefers-reduced-motion:reduce){.pin-flash,.pin-flash:after,.focus-drawer{animation:none}.thought{transition:none}}

/* Quiet navigation and intentional paragraph pinning. */
.jump-latest{right:12px;bottom:calc(110px + env(safe-area-inset-bottom));width:40px;height:40px;min-height:40px;padding:0;display:grid;place-items:center;background:#f1ecf7c9;border:0;border-radius:50%;color:#78638e;font-size:22px;opacity:.55;box-shadow:none}.jump-latest:hover,.jump-latest:focus-visible{opacity:1}.pin-toggle{opacity:0}.thought.pinned .pin-toggle{opacity:.65}.focus-heading{margin-bottom:12px}.focus-heading h2{font-size:20px}.focus-topics{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.topic-chip{border:1px solid #e4dced;background:#f0eaf7;border-radius:18px;font-size:12px;min-height:34px;padding:5px 10px}.pin-toolbar{margin:4px 0 8px}.pin-card{padding:12px;margin:8px 0}.pin-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;font-weight:400;line-height:1.5;color:#49405e;background:none;border:0;border-radius:0;padding:0;width:100%;min-height:0}.pin-preview.expanded{-webkit-line-clamp:unset;display:block}.pin-actions{justify-content:space-between;align-items:center;margin-top:5px}.pin-more{margin:0}.pin-more summary{list-style:none;min-width:36px;padding:0 8px;text-align:center;font-size:22px;color:#887198}.pin-more summary::-webkit-details-marker{display:none}.pin-more[open]{width:100%}.pin-more[open] summary{text-align:right}.pin-more>div{display:flex;flex-wrap:wrap;gap:5px 14px}.pin-empty{font-size:13px}.focus-drawer h3{margin-top:12px}#toast{align-items:center;gap:16px;padding:8px 14px;font-size:12px;line-height:1.4;border-radius:24px;width:max-content;max-width:calc(100vw - 32px)}#toast button,#toast .toast-undo{color:#fff;background:transparent;border:0;padding:4px;min-height:32px;font-size:12px;font-weight:600;white-space:nowrap}.thought{touch-action:pan-y}.thought+.thought{margin-top:8px}@media(pointer:coarse){.thought{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.thought .pin-toggle{pointer-events:none;opacity:0}.thought.pinned .pin-toggle{opacity:.65}}@media(prefers-reduced-motion:reduce){.jump-latest{transition:none}}

/* Bounded detail page: the reply is a navigation level, never a desktop dialog. */
.offer-page{max-width:720px;min-width:0;width:100%;margin:0 auto;overflow-wrap:anywhere}
.offer-page .workspace-heading{position:sticky;top:calc(60px + env(safe-area-inset-top));z-index:4;background:var(--bg,#faf9ff);padding:12px 0;align-items:center}
.offer-page .workspace-heading h1{font-size:20px;min-width:0;overflow-wrap:anywhere}
.answer-first,.answer-first>*{min-width:0;max-width:100%;box-sizing:border-box}
.answer-first .actions{flex-wrap:wrap}.answer-first input,.answer-first textarea,.answer-first select{max-width:100%;min-width:0}
.answer-first .solution-full,.answer-questions{overflow-wrap:anywhere}
dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow-x:hidden;overflow-y:auto}dialog>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.ranking-caption{font-size:12px;color:var(--muted);min-height:30px;display:flex;align-items:center;justify-content:flex-end;margin-bottom:8px}
.drag-ghost{position:fixed!important;z-index:10000!important;pointer-events:none!important;margin:0!important;box-sizing:border-box;opacity:.97;box-shadow:0 18px 42px #41356640;transition:none!important;transform-origin:center;will-change:transform;overflow:hidden}
.drag-placeholder{opacity:.18!important;outline:2px dashed #b4a2d0;outline-offset:-2px}
.board-dragging,.board-dragging *{cursor:grabbing!important;user-select:none!important}.board-dragging .drag-handle{touch-action:none}
@media(max-width:600px){.offer-page .workspace-heading h1{font-size:18px}.offer-page .solution-full{font-size:17px;line-height:1.55}.offer-page .answer-first{padding:0}.simple-main:has(.offer-page){padding-left:18px;padding-right:18px}.answer-first .budget-pair{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.drag-ghost{scale:1}.offer-strip,.solution-card{animation:none!important}}

/* Modal dimensions follow the visible phone viewport, including its keyboard. */
#modal{position:fixed;inset:auto;margin:0;transform:translate(-50%,-50%);min-width:0;width:min(560px,calc(100vw - 24px));padding:22px;overflow:auto;overscroll-behavior:contain}
#modal form,#modal select,#modal input,#modal textarea{box-sizing:border-box;min-width:0;max-width:100%;width:100%}
#modal p,#modal blockquote,#modal summary{white-space:normal;overflow-wrap:anywhere}
#modal blockquote{margin:14px 0;padding-left:12px;border-left:2px solid var(--line)}
#modal .actions{display:flex;flex-wrap:wrap;gap:8px}#modal .actions>button{min-width:0;max-width:100%;white-space:normal}
#assessment-form{display:grid;gap:10px;margin-top:14px}#assessment-form textarea{resize:vertical;line-height:1.5}
.solution-card-top{justify-content:flex-end}
@media(max-width:600px){#modal{padding:20px}#modal h2{font-size:22px}#modal .actions>button{flex:1}#modal input,#modal textarea,#modal select{font-size:16px}}
#modal input[type="checkbox"],#modal input[type="radio"]{width:auto;flex-shrink:0}

/* Caption items must shrink and wrap within their reply, including long price descriptions. */
.offer-caption{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;align-items:baseline}
.offer-caption>span{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.offer-caption .offer-name{max-width:100%;overflow:visible;text-overflow:clip}
.offer-caption .fresh-dot{flex-shrink:0;align-self:center}
.offer-strip .strip-tools{flex:0 0 30px;align-self:center}
.workspace-heading h1,.solution-card h2{min-width:0;overflow-wrap:anywhere}


.publication-light{display:inline-flex;gap:3px;align-items:center;margin-right:auto;padding:4px 0}.publication-light i{width:5px;height:5px;border-radius:50%;background:#bbb;opacity:.2}.publication-light .lit{opacity:1}.publication-light .green{background:#269c65}.publication-light .amber{background:#eaa337}.publication-light .red{background:#cf5360}

.publication-light.pending .lit{animation:publication-pulse 1s ease-in-out infinite alternate}@keyframes publication-pulse{to{opacity:.35}}@media(prefers-reduced-motion:reduce){.publication-light.pending .lit{animation:none}}


/* One restrained visual language for supporting dialogs and the compact menu. */
#modal{border:1px solid #e5e0ef;border-radius:20px;box-shadow:0 18px 70px #39304d26}
#modal::backdrop{background:#35334c66}
#modal h2{color:#403951;line-height:1.25}
#modal.compact-menu{padding:14px;touch-action:pan-y;animation:menu-enter .18s ease-out}
.menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 10px;border-bottom:1px solid #e4deef}
#modal .menu-heading h2{margin:0;font-size:19px}
#modal .menu-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:#f1edf8;color:#756389;font-size:26px;border-radius:14px}
#modal .app-menu{display:grid;gap:3px;margin-top:8px}
#modal .app-menu a,#modal .app-menu button{display:grid;grid-template-columns:32px minmax(0,1fr) 12px;align-items:center;gap:11px;width:100%;min-height:49px;margin:0;padding:8px;border:0;border-radius:12px;background:transparent;color:#51465f;font-size:15px;font-weight:500;line-height:1.3;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.menu-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f0eafa;color:#9172b0}
.menu-icon svg{width:20px;height:20px}
.menu-chevron{color:#a99ab8;font-size:20px}
#modal .app-menu a:focus-visible,#modal .app-menu button:focus-visible,#modal .menu-close:focus-visible{outline:2px solid #9a80bd;outline-offset:1px;background:#f3eef9}
#modal .app-menu a:active,#modal .app-menu button:active{background:#eee6f7}
@media(hover:hover){#modal .app-menu a:hover,#modal .app-menu button:hover{background:#f5f0fa}}
@keyframes menu-enter{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){#modal.compact-menu{animation:none}}

.pin-actions-simple{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}.pin-actions-simple .quiet-link{min-height:44px;padding:6px 0}

.pin-card[data-pin-id]{position:relative;touch-action:pan-y;transition:transform .18s ease,border-color .18s ease}
.pin-card:has(.pin-check){padding-top:48px}
.pin-check{position:absolute;top:8px;left:12px;width:40px;height:36px;min-height:36px;padding:0;border:1px solid #bdc9c3;border-radius:11px;background:#fff;color:#fff;font-size:21px}
.pin-check[aria-checked="true"]{background:#368966;border-color:#368966}
.pin-inactive{background:#f6f4f8;border-color:#e2dce8}
.pin-inactive .pin-preview{color:#898193}
.pin-card.pin-swiping{transition:none;border-color:#ae91bf;background:#f0e9f6}
.pin-archive-link{font-size:12px;min-height:44px;margin-top:10px}

/* Compact thoughts; the checkbox retains a forgiving invisible hit area. */
.pin-card[data-pin-id]{padding:10px 12px;margin:6px 0;border-radius:12px}
.pin-card:has(.pin-check){padding-top:10px}
.pin-card:has(.pin-check) .pin-preview{padding-left:29px;min-height:36px;-webkit-line-clamp:2;font-size:13px;line-height:1.4}
.pin-card .pin-preview.expanded{-webkit-line-clamp:unset}
.pin-check{top:11px;left:12px;width:20px;height:18px;min-height:18px;border-radius:5px;font-size:14px;line-height:16px}
.pin-check:after{content:'';position:absolute;inset:-10px -8px}
.pin-actions-simple{gap:4px 12px;margin-top:5px;justify-content:space-between}
.pin-actions-simple .quiet-link{font-size:11px;min-height:32px;padding:4px 0}
.pin-card.pin-leaving{animation:pin-leave .18s ease forwards;min-height:0}
@keyframes pin-leave{to{opacity:0;height:0;padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-width:0;transform:translateX(-110px)}}
@media(prefers-reduced-motion:reduce){.pin-card.pin-leaving{animation-duration:.01ms}}

/* Compact settings: status first, details on demand. */
.settings-page{max-width:760px;margin:0 auto}.settings-heading{margin-bottom:20px}.settings-heading h1{margin-bottom:4px}.settings-heading p{margin:0;color:var(--muted);font-size:13px}.settings-list{display:grid;gap:12px}.settings-card{margin:0;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.settings-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;cursor:pointer}.settings-card>summary::-webkit-details-marker{display:none}.settings-card>summary:after{content:'›';font-size:22px;color:#9a91ad;transition:transform .18s}.settings-card[open]>summary:after{transform:rotate(90deg)}.settings-card>summary>span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.settings-card>summary strong{font-size:15px;font-weight:650}.settings-card>summary small{font-size:12px;color:var(--muted);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-card-body{border-top:1px solid var(--line);padding:16px 18px 18px}.settings-card-body>p:first-child{margin-top:0}.settings-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.settings-sub{border-top:1px solid #eeeaf5;margin-top:12px;padding-top:6px}.settings-sub>summary{padding:9px 0;color:#78658d}.settings-links-clean{display:grid;gap:8px}.settings-links-clean a{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f0edf5;font-size:13px}.settings-links-clean a:after{content:'›';color:#a198b1}.settings-advanced>summary strong{font-weight:550;color:#6f687a}@media(max-width:600px){.settings-page{margin:0}.settings-card>summary{padding:15px}.settings-card-body{padding:14px 15px 16px}.settings-card>summary small{max-width:230px}}

/* Solution-first grouping: approaches are primary, providers are evidence/execution options inside. */
.approach-list{display:grid;gap:20px;margin-top:18px}.approach-group{border:1px solid #e6e0ee;border-radius:18px;background:#fbfaff;padding:14px}.approach-head{position:relative;padding:2px 4px 10px}.approach-head .eyebrow{margin:0 0 4px;display:block}.approach-head h3{font-size:17px;margin:0 56px 5px 0;color:#51465e}.approach-head p{font-size:13px;line-height:1.5;color:#6f6479;margin:0 0 4px}.approach-head small{display:block;font-size:11px;line-height:1.45;color:#8d8098}.approach-count{position:absolute;right:4px;top:2px;font-size:10px;color:#8f8299}.approach-group .offer-list{margin-top:8px}.approach-group .offer-strip{background:#fff}@media(max-width:600px){.approach-list{gap:14px}.approach-group{padding:11px;border-radius:16px}.approach-head h3{font-size:15px}.approach-head p{font-size:12px}}

/* Bottom controls share one optical center with the two primary nav circles. */
.bottom-tab{line-height:14px}
.focus-handle{bottom:calc(38px + env(safe-area-inset-bottom))}
.jump-latest{bottom:calc(45px + env(safe-area-inset-bottom))}

/* Compact provider/quota controls live only inside Settings. */
.provider-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eeeaf5}.provider-row:last-child{border-bottom:0}.provider-row .grow{display:flex;flex-direction:column;min-width:0}.provider-row small{margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.provider-active{font-size:12px;color:#6155c8;white-space:nowrap}.provider-help{min-height:24px;margin-top:8px;font-size:12px}.provider-help small{display:block;line-height:1.5}.compact-details{margin-top:12px}.compact-details>summary{font-size:13px;color:#7d7090;cursor:pointer}.quota-line{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;margin-bottom:7px}.quota-track{height:5px;border-radius:99px;background:#ebe8f2;overflow:hidden;margin-bottom:12px}.quota-track i{display:block;height:100%;background:#9470c5;border-radius:inherit}.settings-card-body>.subtitle strong{color:#59506a}

.login-create{margin-top:18px;padding-top:14px;border-top:1px solid #eeeaf5}.login-create>summary{cursor:pointer;font-size:13px;color:#74638a}.password-warning{font-size:12px;line-height:1.45;color:#8b5f42;background:#fff6e8;border:1px solid #f0dcc0;border-radius:9px;padding:10px 12px;margin:12px 0}.settings-card .password-warning{margin-top:14px}

/* First-visit journey: reveal each bullet after its section. The more-specific
   selector is required because the playing state intentionally hides list items. */
.journey-playing .journey-section li.shown{opacity:1;transform:none}
.journey-onboarding .journey-end{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.journey-onboarding .journey-end button{margin-top:0}
.journey-onboarding .journey-end [data-action="journey-login"]{padding:8px 0;min-height:32px;text-align:left}
@media(max-width:600px){.journey-onboarding .journey-end{align-items:stretch}.journey-onboarding .journey-end [data-action="journey-login"]{text-align:center}}
