:root{--ink:#151412;--muted:#74716c;--paper:#faf9f5;--line:#e8e6df;--accent:#e4f23c;--ai:#f2f5da;--ai-ink:#4a5210;--serif:'DM Serif Display',Georgia,serif;--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:#eeede7;color:var(--ink);font-family:var(--sans);font-size:16px;-webkit-font-smoothing:antialiased}button,textarea,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--ai-ink)}button{color:inherit}svg{width:20px;height:20px;flex-shrink:0;stroke-width:1.65}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}
.brandbar{height:78px;max-width:1720px;margin:auto;padding:0 34px;display:flex;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:9px}.brand img{object-fit:contain}.brand span{font-family:var(--serif);font-size:29px;letter-spacing:-1px}.brand-separator{height:22px;width:1px;background:#d5d3ca}.workshop-label{font-size:14px;color:#625f59}.preview-tag{margin-left:auto;font-size:12px;color:#625f59;border:1px solid #d5d3ca;border-radius:5px;padding:5px 9px}
.workspace{display:grid;grid-template-columns:260px minmax(340px,1fr) 334px;height:calc(100dvh - 108px);min-height:620px;max-width:1652px;margin:0 34px 30px;border:1px solid #d8d6ce;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 24px #15141206}.team-panel{background:var(--paper);border-right:1px solid var(--line);padding:26px 15px 0;display:flex;flex-direction:column;min-height:0}.team-heading{font-size:14px;font-weight:600;margin:0 12px 21px;display:flex;align-items:center;justify-content:space-between}.chief-row{display:flex;align-items:center;gap:11px;background:#eaece0;border:1px solid #d7dbbf;border-radius:10px;text-align:left;width:100%;padding:13px 12px}.chief-row strong{font-size:15px;display:block;font-weight:650}.chief-row small{font-size:12px;color:#676b51;display:block;margin-top:3px}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border-radius:11px}.chief-avatar{background:var(--ink);color:var(--accent);width:41px;height:41px;border-radius:14px}.chief-avatar svg{width:22px;height:22px}.selected-dot{width:6px;height:6px;border-radius:50%;background:var(--ai-ink);margin-left:auto}.bench-heading{margin:27px 12px 6px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;color:#625f59}.tiny-icon svg{width:13px;height:13px}.bench-note{font-size:12px;color:var(--muted);margin:0 12px 15px}.agent-list{overflow:auto;min-height:0;scrollbar-width:thin;flex:1;padding-bottom:16px}.agent-row{display:flex;align-items:center;gap:11px;padding:8px 12px;min-height:48px;width:100%;text-align:left;background:none;border-radius:8px;opacity:.83}.agent-row strong{font-size:14px;font-weight:500;display:block}.agent-row small{display:none}.agent-row>svg{width:12px;height:12px;color:#96938b;margin-left:auto}.agent-row .avatar svg{width:18px;height:18px}.session-person{display:flex;align-items:center;gap:10px;min-height:79px;border-top:1px solid var(--line);padding:16px 9px}.person-icon{border:1px solid var(--line);background:#fff;border-radius:50%;width:31px;height:31px;display:grid;place-items:center}.person-icon svg{width:16px;height:16px}.session-person strong{display:block;font-size:12px;font-weight:550}.session-person small{font-size:12px;color:var(--muted)}
.conversation-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.conversation-header{height:84px;min-height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px;padding:0 25px}.small-avatar{width:35px;height:35px;border-radius:12px}.small-avatar svg{width:18px;height:18px}.conversation-header h1{margin:0;font-size:16px;font-weight:650;line-height:1.4}.conversation-header p{margin:2px 0 0;color:var(--muted);font-size:12px}.header-pill{margin-left:auto;white-space:nowrap;font-size:12px;background:var(--paper);padding:6px 10px;border:1px solid var(--line);border-radius:20px;color:#706d64}.conversation-body{flex:1;overflow:auto;min-height:0;scroll-behavior:smooth;scrollbar-width:thin}.welcome{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 24px 24px}.welcome-avatar{position:relative;margin-bottom:23px}.welcome-avatar>.avatar{width:67px;height:67px;border-radius:22px;box-shadow:0 6px 12px #15141210;transform:rotate(-5deg)}.welcome-avatar .avatar svg{width:34px;height:34px;transform:rotate(5deg)}.welcome-stamp{position:absolute;right:-6px;bottom:-4px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;border:3px solid #fff;background:var(--accent)}.welcome-stamp svg{width:12px;height:12px;stroke-width:2.4}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.8px;color:var(--muted)}.welcome h2{font-family:var(--serif);font-size:44px;line-height:1.1;letter-spacing:-1.1px;font-weight:400;margin:14px 0 14px}.welcome>p{color:#77736b;line-height:1.7;margin:0;font-size:15px}.welcome-builds{width:min(365px,100%);text-align:left;margin:29px 0 24px}.welcome-builds>div{display:flex;align-items:center;gap:12px;padding:16px 2px;border-bottom:1px solid var(--line)}.welcome-builds>div:first-child{border-top:1px solid var(--line)}.build-number{font-size:12px;color:#7f7b72;background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:9px 7px}.welcome-builds strong{font-size:14px;font-weight:550;display:block}.welcome-builds small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.welcome-builds>div>span:last-child{margin-left:auto;color:#8e8a81;display:flex}.welcome-builds svg{width:17px;height:17px}.primary-button{font-size:14px;font-weight:650;background:var(--ink);color:#fff;padding:13px 22px;border-radius:9px;transition:background .15s,transform .15s}.primary-button:hover{background:#34322b;transform:translateY(-1px)}.start-button{width:min(365px,100%);color:var(--ink);background:var(--accent);box-shadow:0 2px 3px #15141208}.start-button:hover{background:#d9e830}.welcome .start-note{font-size:12px;color:#8a857b;margin-top:11px}
.composer-area{padding:16px 24px 18px;background:#fff}.composer{display:flex;align-items:flex-end;gap:12px;border:1px solid #dedbd3;padding:11px 11px 11px 17px;border-radius:14px;background:#fff;box-shadow:0 3px 12px #15141204;transition:border-color .2s,box-shadow .2s}.composer:focus-within{border-color:#969f45;box-shadow:0 0 0 3px #e4f23c26}.composer:has(textarea:disabled){background:var(--paper);box-shadow:none}.composer textarea{resize:none;min-width:0;width:100%;max-height:130px;background:transparent;border:0;outline:0;font-size:14px;line-height:24px;padding:2px 0;margin:0;min-height:28px;scrollbar-width:thin;color:var(--ink)}.composer textarea::placeholder{color:#a4a097}.send-button{width:32px;height:32px;flex-shrink:0;border-radius:50%;color:#fff;background:var(--ink);display:grid;place-items:center}.send-button:disabled{background:#e6e3db;color:#a7a39a}.send-button svg{width:17px;height:17px}.composer-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#8c887e;margin:11px 0 0;line-height:1.5}.composer-note svg{width:12px;height:12px}.messages{padding:25px 25px 15px}.messages:empty{display:none}.chat-day{text-align:center;font-size:11px;color:#928e85;margin:0 0 29px}.agent-message{display:flex;gap:10px;margin:20px 0}.agent-message>.avatar{width:28px;height:28px;border-radius:9px;margin-top:21px}.agent-message>.avatar svg{width:16px;height:16px}.agent-message>div{max-width:90%;min-width:0}.message-label{font-size:11px;color:#8a867d;margin-bottom:7px}.message-bubble{background:#f4f3ef;padding:14px 17px;border-radius:3px 15px 15px 15px;font-size:15px;line-height:1.65;overflow-wrap:anywhere}.message-bubble p{margin:0 0 12px}.message-bubble p:last-child{margin:0}.message-bubble .question{font-weight:550}.user-message{margin:19px 0 19px auto;max-width:82%;width:fit-content;background:var(--ink);color:#fff;padding:13px 17px;font-size:15px;line-height:1.65;border-radius:15px 3px 15px 15px;white-space:pre-wrap;overflow-wrap:anywhere}.routing-event{margin:20px 0 20px 38px;display:flex;align-items:center;gap:8px;color:#777263;font-size:11px;flex-wrap:wrap}.routing-event svg{width:13px;height:13px}.routing-event .route-chip{border:1px solid #e1e4c6;background:#f5f7e8;color:#606c28;border-radius:5px;padding:5px 8px;display:flex;align-items:center;gap:5px}.review-actions{display:flex;gap:8px;margin:12px 0 0 38px;flex-wrap:wrap}.secondary-button{border:1px solid #dedbd2;background:#fff;border-radius:9px;padding:11px 15px;font-size:13px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:8px}.secondary-button:hover:enabled{background:var(--paper)}.review-actions button{font-size:13px}.gate{margin:18px 0 22px 38px;border:1px solid #ddd9cf;background:#fcfbf8;border-radius:12px;padding:18px}.gate-heading{display:flex;align-items:center;gap:9px;font-weight:550;font-size:14px}.gate-heading svg{width:17px;height:17px}.gate p{color:var(--muted);font-size:13px;line-height:1.6;margin:8px 0 13px}.password-row{display:flex;gap:8px}.password-row input{width:100%;min-width:0;border:1px solid #d9d5cc;background:white;border-radius:8px;padding:10px 12px;font-size:14px}.password-row button{font-size:13px;white-space:nowrap;padding:10px 15px}.gate .gate-error{color:#a33b2c;margin-bottom:0}.disclaimer{font-size:13px!important;color:#6a675e;border-left:2px solid #c9c4b7;padding-left:12px}.review-input-hint{font-size:12px;color:var(--muted);margin:10px 0 0 38px}
.document-panel{border-left:1px solid var(--line);display:flex;flex-direction:column;background:#fcfbf8;min-height:0;min-width:0}.document-header{height:84px;min-height:84px;border-bottom:1px solid var(--line);padding:0 23px;display:flex;align-items:center;justify-content:space-between}.document-header h2{font-size:15px;font-weight:600;margin:0}.quiet-label{font-size:10px;font-weight:500;letter-spacing:1px;color:#8e897e}.document-content{padding:25px 23px 16px;overflow:auto;flex:1;scrollbar-width:thin}.progress-heading{display:flex;justify-content:space-between;align-items:center}.progress-heading h3,.preview-heading h3{font-size:13px;font-weight:550;margin:0}.progress-heading>span{font-size:11px;color:var(--muted)}.workshop-progress{list-style:none;padding:0;margin:21px 0 29px}.workshop-progress li{display:flex;gap:12px;position:relative;margin-bottom:24px;align-items:center}.workshop-progress li:first-child:after{content:'';position:absolute;top:31px;left:14px;width:1px;height:22px;background:#dfdccf}.step-symbol{flex-shrink:0;display:grid;place-items:center;width:29px;height:29px;border:1px solid #e2dfd5;border-radius:50%;background:#f4f2ec;color:#a8a293;font-size:12px}.step-symbol svg{width:12px;height:12px}.current .step-symbol{border-color:#d9e270;background:#f1f6c4;color:#5a651c}.complete .step-symbol{background:var(--ink);color:var(--accent);border-color:var(--ink)}.workshop-progress strong{display:block;font-weight:500;font-size:13px;line-height:1.5}.workshop-progress small{display:block;font-size:11px;color:#928b7e;margin-top:2px}.workshop-progress li:not(.current):not(.complete) strong{color:#8f887b}.preview-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.document-state{font-size:10px;padding:4px 7px;border:1px solid #e5e1d7;background:#f7f5ef;color:#8d8577;border-radius:4px}.document-state.drafting{background:var(--ai);border-color:#d4dca1;color:var(--ai-ink)}.paper-preview{background:#fff;border:1px solid #e4dfd3;box-shadow:0 4px 10px #15141204;border-radius:4px;padding:21px 21px 13px;min-height:340px}.paper-brand{display:flex;align-items:center;gap:5px;font-size:14px;font-family:var(--serif)}.paper-brand img{object-fit:contain}.paper-version{margin-left:auto;font-family:var(--sans);font-size:9px;color:#8e8779}.paper-preview h4{font-size:27px;font-family:var(--serif);font-weight:400;line-height:1.12;margin:22px 0 8px;letter-spacing:-.4px}.paper-family{font-size:10px;color:#948b7b;margin:0}.paper-rule{height:1px;background:#e9e4d8;margin:17px 0}.paper-sections h5{font-size:10px;color:#8c8577;font-weight:550;margin:15px 0 8px;letter-spacing:.3px}.paper-sections p{font-size:12px;line-height:1.65;color:#4c493f;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.placeholder-lines{display:grid;gap:6px;margin:9px 0 17px}.placeholder-lines span{height:4px;background:#f0ede5;border-radius:2px}.placeholder-lines span:last-child{width:70%}.paper-footer{border-top:1px solid #eee8dc;margin-top:24px;padding-top:11px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:.5px;color:#aca38f}.preview-caption{font-size:11px;color:#8a8375;text-align:center;margin:12px 0 17px}.export-button{width:100%;font-size:12px;padding:11px 9px;color:#aaa397;background:#faf8f3;border-color:#e9e4d9;justify-content:flex-start}.export-button svg{width:14px;height:14px}.export-button .quiet-label{font-size:9px;letter-spacing:0;margin-left:auto}.keep-open{display:flex;align-items:flex-start;gap:8px;margin-top:20px;color:#8d8474}.keep-open>svg{width:14px;height:14px;margin-top:2px}.keep-open p{font-size:11px;line-height:1.65;margin:0}.keep-open strong{font-weight:550;color:#756d5f}.prototype-note{border-top:1px solid var(--line);height:43px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:6px;color:#999182;font-size:10px}.prototype-note svg{width:12px;height:12px}.icon-button{width:32px;height:32px;background:transparent;display:grid;place-items:center;border-radius:6px}.icon-button:hover{background:#eeece5}.mobile-menu,.mobile-close,.document-toggle{display:none}.mobile-backdrop{position:fixed;inset:0;background:#15141250;z-index:19}
.welcome>p,.message-bubble,.user-message,.composer textarea{font-size:16px}.team-heading,.progress-heading h3,.preview-heading h3,.workshop-progress strong,.welcome-builds strong{font-size:14px}
@keyframes point{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}@keyframes cue-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1720px){.workspace{margin-left:auto;margin-right:auto}}@media(max-height:840px) and (min-width:901px){.workspace{min-height:560px}.welcome{padding:22px}.welcome h2{font-size:38px}.welcome-avatar{margin-bottom:16px}.welcome-builds{margin:18px 0}.welcome-builds>div{padding:12px 2px}.composer-area{padding-top:10px}.welcome-avatar>.avatar{width:58px;height:58px}.bench-heading{margin-top:20px}.agent-row{min-height:43px;padding:6px 12px}.agent-row .avatar{width:30px;height:30px}}@media(max-width:1200px){.workspace{grid-template-columns:228px minmax(310px,1fr) 300px;margin-left:20px;margin-right:20px}.brandbar{padding:0 21px}.team-panel{padding-left:11px;padding-right:11px}.conversation-header{padding:0 20px}.document-content{padding:23px 19px}.document-header{padding:0 19px}.header-pill{display:none}.welcome h2{font-size:39px}.welcome-builds{width:min(330px,100%)}.messages{padding-left:20px;padding-right:20px}}
@media(max-width:1000px){.workspace{grid-template-columns:220px minmax(0,1fr);margin-left:18px;margin-right:18px}.document-panel{display:none}.document-toggle{display:flex;align-items:center;gap:6px;font-size:12px;background:var(--paper);border:1px solid var(--line);padding:7px 10px;border-radius:7px;margin-left:auto}.document-toggle svg{width:15px;height:15px}.document-panel.mobile-open{display:flex;position:fixed;right:0;top:0;bottom:0;width:min(370px,92vw);z-index:20;box-shadow:-5px 0 30px #15141210}.document-panel .mobile-close{display:grid}.document-panel .quiet-label{display:none}.export-button .quiet-label{display:inline}}
@media(max-width:650px){.brandbar{height:61px;padding:0 16px;gap:12px}.brand span{font-size:25px}.brand img{width:23px;height:26px}.brand-separator{height:19px}.workshop-label{font-size:12px}.preview-tag{font-size:10px;padding:4px 6px}.workspace{height:calc(100dvh - 61px);min-height:0;margin:0;display:flex;border-radius:0;border:0;border-top:1px solid #d8d6ce;box-shadow:none}.team-panel{display:none}.team-panel.mobile-open{display:flex;position:fixed;left:0;top:0;bottom:0;width:min(290px,88vw);z-index:20;box-shadow:5px 0 30px #15141210}.team-heading .mobile-close{display:grid}.conversation-panel{width:100%}.conversation-header{height:73px;min-height:73px;padding:0 12px;gap:8px}.conversation-header h1{font-size:15px}.conversation-header p{font-size:11px}.mobile-menu{display:grid;width:25px}.document-toggle{font-size:11px;padding:7px 8px;gap:4px}.document-toggle svg{width:14px;height:14px}.welcome{padding:25px 22px 16px}.welcome h2{font-size:38px}.welcome>p{font-size:14px}.welcome-avatar{margin-bottom:20px}.welcome-builds{margin:21px 0}.welcome-builds>div{padding:14px 0}.composer-area{padding:12px 15px 12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.composer-note{font-size:10px;align-items:flex-start;text-align:center;margin-top:9px}.composer-note svg{display:none}.messages{padding:20px 16px}.message-bubble{font-size:15px;padding:12px 14px}.agent-message>div{max-width:calc(100% - 35px)}.user-message{font-size:15px;max-width:85%}.gate{margin-left:0}.review-actions{margin-left:0}.welcome-avatar>.avatar{width:60px;height:60px}.document-panel.mobile-open .document-header{height:73px;min-height:73px}.paper-sections p{font-size:14px}.paper-sections h5{font-size:12px}.paper-preview{min-height:350px}}
@media(max-width:360px){.workshop-label{display:none}.brand-separator{display:none}.conversation-header p{display:none}.welcome h2{font-size:34px}.welcome-builds strong{font-size:13px}.welcome-builds small{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.choice-message>div{width:100%;max-width:100%}.choice-message .message-bubble{background:#fbfaf7;border:1px solid #e8e4d9;padding:20px}.choice-question{font-size:19px;font-weight:550;line-height:1.45;margin:0 0 19px}.choice-group{margin:0 0 20px;padding:0;border:0;min-width:0}.choice-group:last-child{margin-bottom:0}.choice-group legend{padding:0;margin-bottom:11px;font-size:12px;color:var(--muted)}.choice-group legend strong{display:block;font-weight:600;font-size:14px;color:var(--ink);margin-bottom:3px}.choice-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.choice-option{display:flex;align-items:center;gap:10px;min-height:49px;background:#fff;border:1px solid #dedbd2;border-radius:8px;padding:11px 12px;cursor:pointer;line-height:1.4;font-size:14px;transition:background .15s,border-color .15s}.choice-option:hover{border-color:#b8be83;background:#f8faed}.choice-option:has(input:checked){background:#f1f5d4;border-color:#a4ae51}.choice-option:has(input:focus-visible){outline:2px solid var(--ai-ink);outline-offset:2px}.choice-option input{flex-shrink:0;width:17px;height:17px;margin:0;accent-color:#4a5210;cursor:pointer}.choice-option span{overflow-wrap:anywhere}.choice-option:last-child{background:#fbfaf7}.choice-option:last-child:has(input:checked){background:#f1f5d4}.choice-action-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:2px 0 1px}.choice-action-bar>div{min-width:0}.choice-action-bar strong{display:block;font-size:13px;font-weight:550}.choice-action-bar span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.choice-action-bar .primary-button{min-width:115px;background:var(--accent);color:var(--ink)}.choice-action-bar .primary-button:disabled{background:#edeae2;color:#aaa397;transform:none}.optional-note{margin-top:15px;border-top:1px solid var(--line);padding-top:14px}.optional-note summary{font-size:13px;color:#77735f;cursor:pointer}.optional-note label{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:14px}.optional-note textarea{width:100%;resize:vertical;background:#fff;border:1px solid #d9d5cb;border-radius:8px;padding:11px;font-size:16px;line-height:1.5;margin-top:8px}.user-message{white-space:pre-wrap}
@media(max-width:1100px){.choice-options{grid-template-columns:1fr}}@media(max-width:650px){.choice-message .message-bubble{padding:17px 14px}.choice-question{font-size:18px;margin-bottom:16px}.choice-option{min-height:49px;font-size:14px}.choice-action-bar{padding:2px 0}.choice-action-bar .primary-button{padding:12px 18px;min-width:108px}.choice-action-bar strong{font-size:12px}.choice-action-bar span{font-size:11px}.composer-note{font-size:10px}.choice-group{margin-bottom:22px}}
.chat-participants{display:flex;align-items:center;gap:11px;padding:11px 25px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0;min-width:0}.participants-label{font-size:12px;color:var(--muted);white-space:nowrap}.participant-list{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}.participant-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #e4e1d7;background:#faf9f5;padding:4px 8px 4px 4px;border-radius:20px;font-size:12px;line-height:1.4;animation:cue-in .2s ease}.participant-chip>.avatar{width:23px;height:23px;border-radius:50%}.participant-chip>.avatar svg{width:13px;height:13px}.typing-dots{display:flex;align-items:center;gap:5px;min-height:26px;padding:4px 3px}.typing-dots span{height:6px;width:6px;border-radius:50%;background:#98917f;animation:typing-dot 1s infinite ease-in-out}.typing-dots span:nth-child(2){animation-delay:.14s}.typing-dots span:nth-child(3){animation-delay:.28s}.typing-caret{display:inline-block;width:2px;height:1em;background:#97976c;vertical-align:-.1em;margin-left:2px;animation:typing-blink .65s infinite step-end}.conversation-body.is-presenting{scroll-behavior:auto}.choices-arrived .choice-group{animation:cue-in .2s ease}.agent-message>.avatar:not(.chief-avatar){width:28px;height:28px;border-radius:9px;margin-top:21px}.agent-message>.avatar:not(.chief-avatar) svg{width:16px;height:16px}
@keyframes typing-dot{0%,65%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes typing-blink{50%{opacity:0}}
.conversation-body{scrollbar-gutter:stable}.animated-text{display:grid}.animated-text>.text-reserve,.animated-text>.text-reveal{grid-area:1 / 1;min-width:0}.text-reserve{visibility:hidden;user-select:none;pointer-events:none}.animated-text .typing-caret{position:absolute;margin-left:2px}.text-reveal>.typing-dots{display:inline-flex}
.join-mark{position:relative;display:inline-flex;align-items:center;justify-content:center}.participant-joining{animation:participant-join 1.2s ease-out}.thinking-status{display:flex;align-items:center;gap:9px;padding:10px 0;color:var(--muted);font-size:13px;line-height:1.5}.thinking-spinner{width:15px;height:15px;border:2px solid #e4e6d8;border-top-color:var(--ai-ink);border-radius:50%;flex-shrink:0;animation:thinking-spin .9s linear infinite}.agent-thinking{animation:cue-in .2s ease-out}.agent-thinking>.avatar{margin-top:21px}
@keyframes agent-join-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes join-ring{from{opacity:.8;transform:scale(.75)}to{opacity:0;transform:scale(1.8)}}@keyframes participant-join{0%{opacity:0;transform:translateY(3px);box-shadow:0 0 0 0 #a4ae5140}45%{opacity:1;transform:translateY(0);box-shadow:0 0 0 5px #a4ae5120}100%{box-shadow:0 0 0 7px #a4ae5100}}@keyframes thinking-spin{to{transform:rotate(360deg)}}
@media(max-width:650px){.chat-participants{padding:9px 15px;gap:7px}.participants-label{font-size:11px}.participant-chip{font-size:11px;padding-right:7px}.participant-list{gap:5px}.participant-chip>.avatar{width:21px;height:21px}.participant-chip>.avatar svg{width:12px;height:12px}}@media(max-width:360px){.chat-participants{align-items:flex-start;flex-direction:column;gap:5px}.participant-chip{font-size:12px}}@media(prefers-reduced-motion:reduce){.typing-dots span,.typing-caret,.participant-chip,.choices-arrived .choice-group{animation:none}}

.chief-row{background-image:linear-gradient(135deg,#ffffff30,transparent),repeating-linear-gradient(45deg,#4c522d09 0 1px,transparent 1px 5px),repeating-linear-gradient(-45deg,#ffffff50 0 1px,transparent 1px 5px);box-shadow:inset 0 1px 0 #ffffff70}
.agent-calling{display:flex;align-items:center;gap:12px;margin:20px 0 20px 38px;color:var(--muted);font-size:12px;line-height:1.5;animation:cue-in .2s ease-out}.calling-connection{display:flex;align-items:center;gap:7px;flex-shrink:0}.calling-connection .avatar{width:28px;height:28px;border-radius:9px}.calling-connection .avatar svg{width:16px;height:16px}.calling-dots{display:flex;gap:4px}.calling-dots span{width:4px;height:4px;background:#899650;border-radius:50%;animation:calling-pulse .9s ease-in-out infinite}.calling-dots span:nth-child(2){animation-delay:.15s}.calling-dots span:nth-child(3){animation-delay:.3s}@keyframes calling-pulse{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-2px)}}@media(max-width:650px){.agent-calling{margin-left:0;gap:9px}}
.agent-joining{margin:20px 0 20px 38px;padding:7px 10px;width:fit-content;max-width:calc(100% - 38px);border:1px solid #d7ddb0;border-radius:20px;background:#f5f7e8;color:#606c28;font-size:12px;font-weight:550;gap:8px;flex-wrap:nowrap;line-height:1.5;animation:agent-join-in .3s ease-out,compact-join-glow 1.2s ease-out}.agent-joining .join-mark:after{content:'';position:absolute;inset:-4px;border:1px solid #a4ae51;border-radius:50%;animation:join-ring .9s ease-out forwards}
@keyframes compact-join-glow{0%,100%{box-shadow:0 0 0 0 #a4ae5100}40%{box-shadow:0 0 0 3px #a4ae5125}}
.conversation-header{height:auto;min-height:84px;padding:14px 25px;flex-wrap:wrap;gap:8px 11px}.conversation-heading{flex:1;min-width:0}.conversation-header .chat-participants{flex-basis:100%;padding:0;border:0;gap:8px;background:transparent;flex-direction:row;align-items:center}.conversation-header .participant-chip{padding:3px 8px 3px 3px;font-size:12px}.conversation-header .participant-chip>.avatar{width:20px;height:20px}.conversation-header .participant-chip>.avatar svg{width:12px;height:12px}
@media(max-width:1200px){.conversation-header{padding-left:20px;padding-right:20px}}@media(max-width:650px){.conversation-header{min-height:73px;padding:12px 15px;gap:8px}.conversation-header .participants-label{font-size:11px}.conversation-header .participant-chip{font-size:11px}.agent-joining{margin-left:0;max-width:100%;font-size:12px}}
.welcome h2{max-width:450px;font-size:clamp(30px,3vw,40px);line-height:1.16;margin-top:0;text-wrap:balance}.welcome .start-button{margin-top:28px}
.question-helper{font-size:13px!important;line-height:1.6!important;color:#777263;margin-bottom:15px!important}.choice-group .question-helper{margin-top:0}.family-name-field{margin-top:14px}.family-name-field label{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:15px}.family-name-field input{min-width:0;width:170px;padding:10px 12px;border:1px solid #d9d5cb;border-radius:8px;background:white;font-size:16px}.family-name-field small{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin-top:10px}.choice-limit{color:#80511f;font-size:12px!important;min-height:0;margin-top:10px!important}.choice-limit:empty{display:none}.paired-choice legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.paired-choice .choice-options{grid-template-columns:repeat(2,minmax(0,1fr))}.paired-choice input{position:absolute;opacity:0;width:1px;height:1px}.paired-choice .choice-option{justify-content:center;text-align:center;min-height:62px}.paired-choice{margin-bottom:10px}.choice-option:last-child{background:#fff}.answer-review{margin:20px 0 20px 38px;border:1px solid var(--line);border-radius:10px;background:#faf9f5;padding:15px;font-size:13px}.answer-review summary{cursor:pointer;font-weight:550}.answer-review-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding-top:14px;line-height:1.5}.answer-review-row button{padding:7px 10px;font-size:12px;flex-shrink:0}.paper-sections>p+p{margin-top:10px}.paper-preview h4{overflow-wrap:anywhere}.paper-sections>h5{font-size:13px;color:#151412;margin-top:22px}.paper-sections>p{font-size:13px}@media(max-width:650px){.answer-review{margin-left:0}.paired-choice .choice-option{font-size:13px;padding:10px 8px}.choice-action-bar .primary-button{min-width:100px;max-width:160px}.family-name-field input{width:150px}}
.paired-choice{position:relative}.paired-choice input,.paired-choice legend{top:0;left:0}
.paired-choice{padding:5px;border:1px solid #d9d5c8;border-radius:12px;background:#f0eee6;margin-bottom:16px}.paired-choice .choice-options{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:0;align-items:stretch}.paired-choice .choice-option,.paired-choice .choice-option:last-child{border:1px solid transparent;background:#fff;min-height:66px;border-radius:8px}.paired-choice .choice-option:hover{background:#f8faed;border-color:#bdc58d}.paired-choice .choice-option:has(input:checked){background:#edf3ca;border-color:#a4ae51;box-shadow:inset 0 0 0 1px #a4ae5120}.pair-or{display:flex;align-items:center;justify-content:center;color:#8b8473;font-size:11px;font-weight:500}@media(max-width:650px){.paired-choice{padding:4px;margin-bottom:14px}.paired-choice .choice-options{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}.paired-choice .choice-option{min-height:70px}.pair-or{font-size:10px}}
.constitution-result{margin:24px 0 28px 38px;scroll-margin-top:20px}.inline-document{border:1px solid #dedbd1;border-radius:12px;overflow:hidden;background:#fffdf9;box-shadow:0 5px 18px #15141206}.inline-document summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 20px;background:#faf9f3;font-size:13px;border-bottom:1px solid transparent;list-style:none}.inline-document summary::-webkit-details-marker{display:none}.inline-document summary>span:first-child{display:flex;align-items:center;gap:8px;font-weight:550}.inline-document summary svg{width:16px;height:16px;color:#787b45}.document-expand-label{font-size:11px;color:var(--muted)}.inline-document[open] summary{border-bottom-color:#e8e4d9}.inline-document[open] .document-expand-label{font-size:0}.inline-document[open] .document-expand-label:after{content:'Collapse';font-size:11px}.constitution-paper{padding:28px 28px 18px}.inline-paper-brand{display:flex;align-items:center;gap:6px;font-family:var(--serif);font-size:19px}.inline-paper-brand small{margin-left:auto;font:9px var(--sans);letter-spacing:.8px;color:#8c8577}.constitution-paper h2{font-family:var(--serif);font-weight:400;font-size:32px;line-height:1.2;margin:26px 0 24px;overflow-wrap:anywhere}.constitution-paper h3{font-size:15px;font-weight:650;margin:27px 0 10px;color:#353a19}.constitution-paper p{font-size:14px;line-height:1.8;color:#555147;margin:0 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}.constitution-paper .inline-paper-footer{border-top:1px solid #e9e4d8;padding-top:14px;margin:26px 0 0;font-size:9px;letter-spacing:.8px;color:#9b9283}.document-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.document-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;padding:12px 15px}.document-actions svg{width:16px;height:16px}.document-actions button:disabled{opacity:.6}.document-export-status{font-size:12px;color:var(--muted);line-height:1.5;margin:10px 0 0}.document-export-status:empty{display:none}@media(max-width:650px){.constitution-result{margin-left:0}.constitution-paper{padding:22px 20px 18px}.constitution-paper h2{font-size:29px}.inline-paper-brand small{font-size:8px;letter-spacing:.3px}.inline-document summary{padding:13px 16px}.document-actions button{flex:1;font-size:12px;padding:12px 10px}}
.guide-panel .document-header h2{font-size:15px}.guide-content{display:flex;flex-direction:column;gap:27px;padding-top:27px}.guide-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.guide-section-heading h3{font-size:11px;letter-spacing:.9px;text-transform:uppercase;color:#7c786d;font-weight:550;margin:0}.guide-section-heading>span{font-size:11px;color:#918c80}.guide-section-heading svg{width:13px;height:13px}.guide-exercise-heading{display:flex;align-items:center;gap:11px;margin-bottom:19px}.guide-exercise-heading h4{font-size:18px;line-height:1.35;font-weight:550;margin:0;letter-spacing:-.2px}.guide-exercise-heading .avatar{width:37px;height:37px;border-radius:12px}.guide-exercise-heading .avatar svg{width:20px;height:20px}.guide-status-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.guide-status{padding:4px 8px;border:1px solid #e1dece;border-radius:6px;background:#f5f3eb;font-size:11px;color:#77705d;white-space:nowrap}.guide-status.is-complete{background:#edf1d4;border-color:#d7dfad;color:#586027}.guide-status-row>span:last-child{font-size:11px;color:#7c786e;line-height:1.4;text-align:right}.guide-progress{height:5px;border-radius:4px;background:#e9e7dd;overflow:hidden}.guide-progress>span{height:100%;display:block;width:0;background:#9ca652;border-radius:4px;transition:width .4s ease}.guide-progress-caption{font-size:10px;color:#928c7f;margin:8px 0 0}.guide-detail{font-size:12px;line-height:1.7;color:#777163;margin:15px 0 0}.guide-documents{border-top:1px solid var(--line);padding-top:24px}.guide-empty-documents{border:1px dashed #dedacf;border-radius:10px;padding:18px 16px;background:#faf9f5}.guide-empty-documents>svg{width:23px;height:23px;color:#a7a38c}.guide-empty-documents p{font-size:12px;line-height:1.7;color:#8b8576;margin:9px 0 0}.guide-document-card{display:flex;gap:11px;align-items:flex-start;text-align:left;width:100%;border:1px solid #dedfce;background:#fffefb;border-radius:10px;padding:15px;margin-top:10px;transition:border-color .2s,background .2s}.guide-document-card:hover{border-color:#b5bd7c;background:#fafbef}.guide-document-icon{width:31px;height:36px;display:grid;place-items:center;border:1px solid #e1e6bf;border-radius:5px;background:#f1f4dc;color:#727b39;flex-shrink:0}.guide-document-icon svg{width:17px;height:17px}.guide-document-info{display:flex;flex-direction:column;gap:4px}.guide-document-info strong{font-size:13px;line-height:1.45;font-weight:550}.guide-document-info small{font-size:10px;color:#8d8779}.guide-open-link{display:flex;align-items:center;gap:7px;font-size:11px;color:#65732c;margin-top:7px}.guide-open-link svg{width:12px;height:12px}.guide-next{border:1px solid #e5e2d8;border-radius:11px;padding:17px;background:#f8f7f1}.guide-next .guide-section-heading{margin-bottom:12px}.guide-next h4{font-size:14px;font-weight:550;line-height:1.5;margin:0 0 8px}.guide-next p{font-size:12px;line-height:1.7;color:#8b8475;margin:0}.guide-keep-open{margin-top:auto;padding-top:5px;padding-bottom:7px}.guide-current{min-height:0}@media(max-width:650px){.guide-content{padding:23px 21px;gap:24px}.document-toggle{font-size:10px;padding:7px 6px}.guide-panel .document-header{padding-left:21px;padding-right:15px}}
.guide-content>section,.guide-keep-open{flex-shrink:0}
.agent-hierarchy{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;padding:16px 2px 16px 32px}.hierarchy-intro{position:relative;padding:13px 8px 13px}.hierarchy-intro:before{content:'';position:absolute;left:-16px;top:-16px;bottom:0;width:1px;background:#d5d7ca}.hierarchy-intro .bench-heading{font-size:11px;font-weight:600;line-height:1.5;margin:0 0 5px;display:block}.hierarchy-intro .bench-note{font-size:11px;line-height:1.6;margin:0;color:#858172}.agent-hierarchy .agent-list{overflow:visible;flex:none;padding:0}.agent-hierarchy .agent-row{position:relative;min-height:49px;gap:9px;padding:8px;width:100%;border-radius:8px;opacity:.85;transition:background .25s,color .25s,opacity .25s}.agent-hierarchy .agent-row:before{content:'';position:absolute;left:-16px;top:0;bottom:0;width:1px;background:#d5d7ca}.agent-hierarchy .agent-row:after{content:'';position:absolute;left:-16px;top:50%;width:16px;height:1px;background:#d5d7ca;transition:background .25s}.agent-hierarchy .agent-row:last-child:before{bottom:50%}.agent-hierarchy .agent-row .avatar{width:32px;height:32px;border-radius:10px}.agent-hierarchy .agent-row strong{font-size:13px;line-height:1.4;font-weight:500}.agent-row-copy{min-width:0}.agent-hierarchy .agent-row .agent-chat-status{display:block;font-size:10px;line-height:1.3;margin-top:3px;color:#788242}.agent-hierarchy .agent-row.is-active{background:#f5f6ed;color:#485323;opacity:1;box-shadow:inset 0 0 0 1px #eceedd}.agent-hierarchy .agent-row.is-active strong{font-weight:600}.agent-hierarchy .agent-row.is-active:after{background:#9ca956;height:2px}.sidebar-agent-joining{animation:sidebar-agent-arrives 1s ease-out}@keyframes sidebar-agent-arrives{0%{box-shadow:inset 0 0 0 1px #eceedd,0 0 0 0 #a4ae5120}45%{box-shadow:inset 0 0 0 1px #eceedd,0 0 0 3px #a4ae5120}100%{box-shadow:inset 0 0 0 1px #eceedd,0 0 0 4px #a4ae5100}}@media(max-width:1200px){.agent-hierarchy{padding-left:28px}.hierarchy-intro{padding-left:6px;padding-right:6px}.agent-hierarchy .agent-row{padding-left:6px;padding-right:6px;gap:8px}.agent-hierarchy .agent-row strong{font-size:12px}}@media(max-width:650px){.agent-hierarchy{padding-left:32px}.agent-hierarchy .agent-row strong{font-size:13px}}

.constitution-paper h4{font-size:14px;font-weight:650;margin:18px 0 7px;color:#555147}.constitution-paper .constitution-tagline{font-family:var(--serif);font-size:17px;text-align:center;margin:-6px 0 28px;color:#787b45}.constitution-paper ul{padding-left:21px;margin:0 0 18px}.constitution-paper li{font-size:14px;line-height:1.8;color:#555147;margin-bottom:9px;overflow-wrap:anywhere}.constitution-paper .constitution-signoff{margin-top:28px;padding-top:18px;border-top:1px solid #e9e4d8;font-family:var(--serif);font-size:16px;color:#353a19}

/* Everfolio design system — workshop shell and interaction surfaces. */
@font-face{font-family:'Google Sans';src:url('vendor/GoogleSans-Regular.woff2') format('woff2');unicode-range:U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD;font-weight:400;font-display:swap}
@font-face{font-family:'Google Sans';src:url('vendor/GoogleSans-Medium.woff2') format('woff2');unicode-range:U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD;font-weight:500;font-display:swap}
@font-face{font-family:'Google Sans';src:url('vendor/GoogleSans-Semibold.woff2') format('woff2');unicode-range:U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD;font-weight:600;font-display:swap}
@font-face{font-family:'Google Sans';src:url('vendor/GoogleSans-Bold.woff2') format('woff2');unicode-range:U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD;font-weight:700;font-display:swap}
@font-face{font-family:'DM Serif Display';src:url('vendor/DMSerifDisplay-Regular.woff2') format('woff2');unicode-range:U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD;font-weight:400;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('vendor/JetBrainsMono-Regular.woff2') format('woff2');unicode-range:U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD;font-weight:400;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('vendor/JetBrainsMono-Medium.woff2') format('woff2');unicode-range:U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD;font-weight:500;font-display:swap}
:root{--ink:#1f1c18;--carbon:#0d0d0b;--accent:#e9fb18;--paper:#f2f1ec;--surface:#fbfaf7;--line:#dedcd2;--body:#3c3b36;--muted:#5f5e56;--ai:var(--paper);--ai-ink:var(--ink);--sans:'Google Sans',Arial,sans-serif;--mono:'JetBrains Mono',monospace;--success:#365c48;--error:#9c3535}
body{background:var(--paper);color:var(--ink);height:100dvh;overflow:hidden;font-size:16px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--carbon);outline-offset:3px}
.brandbar{height:76px;max-width:none;padding:0 24px;gap:20px;margin:0;border-bottom:1px solid var(--line)}
.brand{gap:10px}.brand img{width:29px;height:32px}.brand span{font-size:34px;line-height:1;letter-spacing:-.8px}
.brand-separator{background:var(--line);height:28px}.workshop-label{font:500 12px/1.4 var(--mono);letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.session-warning{display:flex;align-items:center;gap:9px;margin:0 0 0 auto;color:var(--muted);font-size:14px;line-height:1.4}
.session-warning>span{width:6px;height:6px;border-radius:50%;background:var(--success);flex-shrink:0}
.workspace{grid-template-columns:22.2% minmax(0,1fr) 24.3%;height:calc(100dvh - 76px);min-height:0;max-width:none;margin:0;border:0;border-radius:0;background:var(--surface);box-shadow:none}
.team-panel{padding:28px 24px 20px;background:var(--paper);border-right:1px solid var(--line)}
.team-heading{font:500 12px/1.5 var(--mono);letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:0 0 20px}
.chief-row{padding:16px;gap:14px;border:1px solid var(--line);border-radius:3px;background:var(--surface);background-image:none;box-shadow:none;flex-shrink:0}
.chief-row strong{font:400 clamp(21px,1.55vw,28px)/1.15 var(--serif);letter-spacing:-.3px}.chief-row small{font-size:14px;line-height:1.5;color:var(--muted);margin-top:5px}
.avatar{width:32px;height:32px;border:1px solid var(--line);border-radius:3px;background:var(--surface);color:var(--body)}
.chief-avatar,.specialist-avatar{background:var(--carbon);color:var(--accent);border-color:var(--carbon);border-radius:3px}
.chief-row .chief-avatar{width:46px;height:46px}.chief-row .chief-avatar svg{width:27px;height:27px}
.team-roster{min-height:0;flex:1;overflow:auto;scrollbar-width:thin;padding-top:18px}
.agents-in-use{position:relative;margin:0 0 20px 22px;padding:6px 0 0 24px}
.agents-in-use h3,.agents-on-call h3{font:500 11px/1.5 var(--mono);letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
.agent-empty{position:relative;border:1px dashed var(--line);border-radius:3px;padding:10px 12px;margin:0;line-height:1.5;font-size:13px;color:var(--muted)}
.agent-empty:before{content:'';position:absolute;left:-24px;top:50%;width:16px;border-top:2px dashed var(--muted)}
.agents-in-use h3{position:relative}.agents-in-use h3:before{content:'';position:absolute;left:-24px;top:-6px;bottom:-12px;border-left:2px dashed var(--muted)}
.agent-empty:after{content:'';position:absolute;left:-25px;top:-1px;height:calc(50% + 3px);border-left:2px dashed var(--muted)}
.agents-in-use.has-agents h3{color:var(--ink)}
.agents-in-use.has-agents h3:before{content:'';position:absolute;left:-24px;top:-6px;bottom:-12px;width:2px;border:0;background:var(--carbon)}
.active-agent-list{display:flex;flex-direction:column;gap:7px;position:relative}
.agent-row{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:38px;padding:4px 0;background:transparent;border:0;border-radius:0;opacity:1;text-align:left;color:var(--body)}
.agent-row strong{font-size:14px;line-height:1.35;font-weight:400}.agent-row .avatar{width:28px;height:28px;background:var(--surface);color:var(--body);border:1px solid var(--line);border-radius:3px}.agent-row .avatar svg{width:17px;height:17px}
.active-agent-list .agent-row{padding:9px 11px;min-height:48px;border:1px solid var(--line);background:var(--surface);border-radius:3px;color:var(--ink);box-shadow:none}
.active-agent-list .agent-row:before{content:'';position:absolute;left:-25px;top:calc(50% - 1px);width:18px;height:2px;background:var(--carbon)}
.active-agent-list .agent-row:after{content:'';position:absolute;left:-25px;top:-1px;bottom:-8px;width:2px;background:var(--carbon)}
.active-agent-list .agent-row:last-child:after{bottom:calc(50% - 1px)}.active-agent-list .agent-row .avatar{background:var(--carbon);color:var(--accent);border-color:var(--carbon)}
.active-agent-list .agent-row strong{font-size:15px}.agents-on-call{border-top:1px solid var(--line);padding-top:16px}.agent-list{overflow:visible;padding:0}.agent-row-copy{min-width:0}
.sidebar-agent-joining{animation:agent-join-in .5s ease-out}
.conversation-panel{background:var(--surface)}.conversation-header{min-height:84px;padding:16px 28px;background:var(--surface)}
.workspace:not(.is-started) .conversation-header{display:none}.conversation-header h1{font-size:18px;font-weight:500}.conversation-header .chat-participants{background:transparent}
.participant-chip{border-color:var(--line);background:var(--paper);border-radius:3px;color:var(--body)}.participant-chip>.avatar,.conversation-header .participant-chip>.avatar{border-radius:3px;background:var(--carbon);color:var(--accent);border-color:var(--carbon)}
.conversation-body{scrollbar-gutter:auto}.welcome{padding:48px 7%;min-height:100%;justify-content:center}
.welcome h2{font:400 clamp(40px,4.15vw,80px)/1.06 var(--serif);letter-spacing:-1.6px;max-width:920px;margin:0 0 32px;text-wrap:balance}
.welcome h2 mark{color:inherit;background:linear-gradient(transparent 60%,var(--accent) 60%,var(--accent) 96%,transparent 96%);padding:0 .015em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.welcome>p{font-size:clamp(18px,1.5vw,24px);line-height:1.5;color:var(--body)}
.primary-button,.start-button,.choice-action-bar .primary-button{background:var(--carbon);color:var(--accent);border-radius:999px;min-height:52px;padding:12px 28px;font-size:16px;font-weight:500;box-shadow:none;transition:background .15s,color .15s}
.primary-button:hover:enabled,.start-button:hover:enabled,.choice-action-bar .primary-button:hover:enabled{background:var(--accent);color:var(--carbon);transform:none}
.primary-button:active:enabled{background:#cbd800;color:var(--carbon)}.primary-button:disabled,.choice-action-bar .primary-button:disabled{background:#eae8e1;color:var(--muted);opacity:1;transform:none}
.welcome .start-button{margin-top:40px;width:min(340px,100%);min-height:60px;font-size:20px}.welcome .start-note{font-size:14px;line-height:1.5;margin-top:15px;color:var(--muted)}
.messages{padding:24px 28px 20px;max-width:920px;margin:0 auto}.message-label{color:var(--muted);font-size:12px}.agent-message>div{max-width:calc(100% - 38px);width:100%}.message-bubble{background:var(--paper);border-radius:3px;padding:18px 20px;font-size:16px;line-height:1.65;color:var(--body)}
.user-message{background:var(--carbon);color:var(--surface);border-radius:3px;font-size:16px}.agent-message>.avatar,.agent-message>.avatar:not(.chief-avatar){border-radius:3px;background:var(--carbon);color:var(--accent);border-color:var(--carbon)}
.choice-message .message-bubble{background:var(--surface);border:1px solid var(--line);border-radius:3px;padding:24px}.choice-question{font-size:20px;font-weight:500;line-height:1.45}.question-helper{color:var(--muted)}
.choice-group legend{color:var(--muted)}.choice-group legend strong{color:var(--ink)}.choice-options{gap:8px}
.choice-option,.choice-option:last-child{min-height:52px;background:var(--surface);border-color:var(--line);border-radius:3px;color:var(--body);font-size:15px}
.choice-option:hover{background:var(--paper);border-color:#8c8a80}.choice-option:has(input:checked),.choice-option:last-child:has(input:checked){background:var(--paper);border-color:var(--carbon);box-shadow:inset 0 0 0 1px var(--carbon)}
.choice-option:has(input:focus-visible){outline:3px solid var(--carbon);outline-offset:3px}.choice-option input{accent-color:var(--carbon)}
.paired-choice{border-color:var(--line);border-radius:3px;background:var(--paper)}.paired-choice .choice-option,.paired-choice .choice-option:last-child{border-radius:3px;background:var(--surface)}.paired-choice .choice-option:has(input:checked){background:var(--surface);border-color:var(--carbon);box-shadow:inset 0 0 0 1px var(--carbon)}.pair-or{color:var(--muted)}
.composer-area{background:var(--surface);padding:16px 28px;border-top:1px solid var(--line)}.choice-action-bar strong{font-size:13px}.choice-action-bar span{color:var(--muted);font-size:12px}.choice-action-bar .primary-button{min-width:120px}
.secondary-button{background:var(--surface);border-color:var(--carbon);color:var(--carbon);border-radius:999px;min-height:44px}.secondary-button:hover:enabled{background:var(--paper)}
.family-name-field input,.password-row input,.optional-note textarea{min-height:44px;border:1px solid #8c8a80;border-radius:3px;background:var(--surface)}.family-name-field small{color:var(--muted)}.gate{background:var(--paper);border-color:var(--line);border-radius:3px}.gate .gate-error,.choice-limit{color:var(--error)}
.routing-event{color:var(--muted)}.agent-joining{background:var(--paper);border-color:var(--line);color:var(--ink);border-radius:999px;animation:agent-join-in .3s ease-out}.agent-joining .join-mark:after{border-color:var(--muted)}.thinking-spinner{border-color:var(--line);border-top-color:var(--carbon)}.calling-dots span{background:var(--carbon)}
.document-panel{background:var(--paper);border-left:1px solid var(--line)}.document-header{padding:28px 28px 0;min-height:64px;height:64px;border:0;align-items:flex-start}
.guide-panel .document-header h2{font:500 12px/1.5 var(--mono);letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.guide-content{padding:24px 28px;gap:28px;display:flex;flex-direction:column;overflow:auto}
.session-exercises{display:flex;flex-direction:column;gap:28px}.session-exercise{display:flex;align-items:flex-start;gap:16px;position:relative}
.session-exercise:first-child:after{content:'';position:absolute;left:14px;top:37px;height:30px;border-left:1px solid var(--line)}
.exercise-index{flex-shrink:0;display:grid;place-items:center;width:30px;height:30px;background:var(--carbon);color:var(--accent);border:1px solid var(--carbon);border-radius:50%;font:500 12px/1 var(--mono);margin-top:3px}
.exercise-index svg{width:16px;height:16px}.exercise-copy{min-width:0;width:100%}.exercise-copy h3{font:400 clamp(24px,1.6vw,30px)/1.15 var(--serif);margin:4px 0 5px;letter-spacing:-.3px}.exercise-copy p{font-size:14px;line-height:1.5;color:var(--body);margin:0}
.is-locked .exercise-index{background:transparent;border-color:var(--line);color:var(--muted)}.is-locked h3,.is-locked .exercise-copy p{color:var(--muted)}
.segmented-progress{display:flex;gap:3px;margin-top:14px;min-height:4px}.segmented-progress>span{flex:1;height:4px;background:var(--line);border-radius:1px}.segmented-progress>span.is-answered{background:var(--carbon)}
.guide-documents{padding-top:26px;border-color:var(--line)}.guide-section-heading{margin-bottom:16px}.guide-section-heading h3,.guide-section-heading>span{font:500 11px/1.5 var(--mono);color:var(--muted);letter-spacing:1px;text-transform:uppercase}
.guide-empty-documents{font:400 16px/1.6 var(--sans);color:var(--muted);padding:0;margin:0;border:0;background:transparent;border-radius:0}
.guide-document-card{border-color:var(--line);background:var(--surface);border-radius:3px;padding:14px}.guide-document-card:hover{background:var(--surface);border-color:var(--carbon)}.guide-document-icon{border-color:var(--line);background:var(--surface);color:var(--body);border-radius:3px}.guide-open-link{color:var(--body);text-decoration:underline}.guide-document-info small{color:var(--muted)}
.document-panel .session-person{margin:0 28px;padding:20px 0 24px;min-height:88px;border-color:var(--line);gap:14px;flex-shrink:0}.person-icon{width:42px;height:42px;border-radius:3px;background:var(--surface);border-color:var(--line)}.person-icon svg{width:22px;height:22px;color:var(--body)}.session-person strong{font-size:14px;font-weight:500;line-height:1.5}.session-person small{font:400 11px/1.5 var(--mono);text-transform:uppercase;letter-spacing:.5px;color:var(--muted);display:block;margin-top:3px}
.inline-document,.answer-review{border-color:var(--line);border-radius:3px;background:var(--surface);box-shadow:none}.inline-document summary{background:var(--paper)}.constitution-paper{background:var(--surface)}.constitution-paper h3,.constitution-paper h4,.constitution-paper p,.constitution-paper li{color:var(--body)}.document-actions button{border-radius:999px}.icon-button{min-width:44px;height:44px;border-radius:3px}.icon-button:hover{background:var(--paper)}
.mobile-menu,.mobile-close,.document-toggle{display:none}
@media(min-width:1800px){.brandbar{height:100px;padding:0 32px}.brand span{font-size:38px}.brand img{width:32px;height:36px}.workspace{height:calc(100dvh - 100px)}.team-panel{padding:40px 32px 24px}.team-heading{font-size:16px}.chief-row{padding:22px;gap:20px}.chief-row .chief-avatar{width:60px;height:60px}.chief-row small{font-size:18px}.team-roster{padding-top:24px}.agent-row{min-height:50px;gap:16px}.agent-row .avatar{width:36px;height:36px}.agent-row strong{font-size:18px}.agents-in-use h3,.agents-on-call h3{font-size:14px}.agent-empty{font-size:17px}.welcome{padding-left:7%;padding-right:7%}.welcome .start-button{width:440px;min-height:80px;font-size:26px;margin-top:52px}.welcome .start-note{font-size:18px}.session-warning{font-size:18px}.document-header{height:80px;min-height:80px;padding:40px 40px 0}.guide-panel .document-header h2{font-size:16px}.guide-content{padding:24px 40px;gap:40px}.session-exercises{gap:32px}.exercise-index{width:40px;height:40px;font-size:16px}.session-exercise:first-child:after{left:20px;top:47px;height:38px}.exercise-copy h3{font-size:32px}.exercise-copy p{font-size:18px}.guide-section-heading h3,.guide-section-heading>span{font-size:14px}.guide-empty-documents{font-size:20px}.document-panel .session-person{margin:0 40px;padding:28px 0 36px}.session-person strong{font-size:18px}.session-person small{font-size:14px}.person-icon{width:54px;height:54px}.guide-documents{padding-top:36px}}
@media(max-width:1199px){.workspace{grid-template-columns:260px minmax(0,1fr)}.document-panel{display:none}.document-toggle{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:999px;min-height:44px;font-size:12px;padding:8px 12px;margin-left:auto}.document-panel.mobile-open{display:flex;position:fixed;inset:0 0 0 auto;width:min(390px,92vw);z-index:20}.document-panel .mobile-close{display:grid;margin-top:-10px}.workspace:not(.is-started) .conversation-header{display:flex;min-height:64px;border-bottom:0;justify-content:flex-end}.workspace:not(.is-started) .conversation-heading{display:none}.welcome h2{font-size:clamp(40px,5.2vw,60px)}.choice-options{grid-template-columns:repeat(2,minmax(0,1fr))}.brandbar{padding:0 20px}.session-warning{font-size:12px;max-width:320px}.team-panel{padding:24px 20px 16px}.welcome .start-button{margin-top:32px}}
@media(max-width:767px){.brandbar{height:68px;padding:0 20px;gap:12px}.brand span{font-size:28px}.brand img{width:24px;height:27px}.brand-separator{height:22px}.workshop-label{font-size:10px;letter-spacing:.5px}.session-warning{display:none}.workspace{display:flex;height:calc(100dvh - 68px);min-height:0;margin:0;border:0}.team-panel{display:none}.team-panel.mobile-open{display:flex;position:fixed;inset:0 auto 0 0;width:min(340px,92vw);z-index:20;padding:24px}.team-heading .mobile-close{display:grid;margin-top:-8px}.team-heading{font-size:13px}.chief-row strong{font-size:25px}.agent-row strong{font-size:16px}.agent-row{min-height:44px}.agent-row .avatar{width:32px;height:32px}.conversation-panel{width:100%}.conversation-header{padding:12px 20px;min-height:80px;gap:6px}.mobile-menu{display:grid}.conversation-header h1{font-size:15px}.document-toggle{font-size:11px;padding:8px 10px}.document-toggle span:last-child{display:none}.document-toggle svg{width:18px;height:18px}.workspace:not(.is-started) .conversation-header{justify-content:space-between;padding-top:8px;padding-bottom:8px;min-height:56px}.welcome{padding:24px 24px 40px}.welcome h2{font-size:40px;line-height:1.1;letter-spacing:-.7px;margin-bottom:24px}.welcome>p{font-size:18px;line-height:1.5}.welcome .start-button{margin-top:32px;min-height:56px;font-size:18px;max-width:320px}.welcome .start-note{font-size:12px;max-width:290px}.messages{padding:16px 20px}.agent-message{gap:8px}.agent-message>div{max-width:calc(100% - 36px)}.message-bubble{padding:16px;font-size:15px}.choice-message .message-bubble{padding:18px 14px}.choice-question{font-size:18px}.choice-options{grid-template-columns:1fr}.choice-option{font-size:14px}.paired-choice .choice-options{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}.composer-area{padding:12px 20px max(12px,env(safe-area-inset-bottom))}.choice-action-bar .primary-button{min-height:44px;min-width:104px;padding:10px 20px;font-size:14px}.constitution-result{margin-left:0}.agent-joining,.agent-calling{margin-left:0}.document-panel .session-person{padding-bottom:max(24px,env(safe-area-inset-bottom))}.document-header{padding-left:24px;padding-right:20px}.guide-content{padding:24px}.document-panel .session-person{margin:0 24px}.conversation-header .chat-participants{padding:0;gap:8px}.conversation-header .participant-chip{font-size:10px}.participant-list{gap:5px}.participants-label{font-size:10px}}
@media(max-height:760px) and (min-width:768px){.welcome h2{font-size:clamp(40px,3.9vw,64px)}.welcome{padding-top:32px;padding-bottom:32px}.welcome h2{margin-bottom:24px}.welcome .start-button{margin-top:28px}.team-panel{padding-top:24px}.team-roster{padding-top:16px}.agent-row{min-height:36px}.chief-row{padding:12px}.document-header{padding-top:24px;min-height:60px;height:60px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:767px){.brandbar{height:92px;flex-wrap:wrap;align-content:center;gap:6px 12px}.session-warning{display:flex;flex-basis:100%;max-width:none;margin:0;font-size:11px;line-height:16px}.workspace{height:calc(100dvh - 92px)}}
.choice-meaning{display:block;margin-top:3px;font-size:13px;line-height:1.45;color:var(--muted)}

/* IPS amount controls keep the workshop tap-first, including a deliberate zero choice. */
.money-slider{padding:24px 0 8px}.money-slider output{display:block;font-family:var(--font-display, 'DM Serif Display',serif);font-size:clamp(28px,4vw,42px);margin-bottom:24px;color:var(--ink,#1f1c18)}
.money-slider input[type=range]{width:100%;height:44px;accent-color:#0d0d0b;cursor:pointer}.money-slider-scale{display:flex;justify-content:space-between;color:#5f5e56;font-size:14px;margin:4px 0 24px}
.money-slider-actions{display:flex;flex-wrap:wrap;gap:12px}.money-slider-actions button{min-height:44px}.money-slider-actions [aria-pressed=true]{background:#0d0d0b;color:#e9fb18}
.option-explainer{display:block;margin-top:6px;font-size:14px;line-height:1.5;font-weight:400;color:#5f5e56}.constitution-disclaimer{border-left:2px solid #dedcd2;padding-left:16px;color:#5f5e56;font-size:14px;line-height:1.6}.money-slider input:focus-visible{outline:3px solid #0d0d0b;outline-offset:3px}.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}

/* IPS document: the same hierarchy and grouping used by the local PDF export. */
.policy-custom-field {margin-top:20px;display:grid;gap:8px}
.policy-custom-field[hidden] {display:none}
.policy-custom-field input {width:100%;min-height:44px;background:var(--surface,#fbfaf7);border:1px solid #777551;border-radius:3px;padding:12px;font:inherit;color:inherit}
.policy-custom-field small {color:#5f5e56;font-size:12px;line-height:1.5}
.policy-custom-field input[aria-invalid=true] {border-color:#9c3535}
.ips-section {margin-top:32px}
.ips-heading {font:600 14px/1.5 'Google Sans',sans-serif;margin:0 0 16px;border-left:3px solid #e9fb18;padding-left:10px}
.ips-label {font:11px/1.6 'JetBrains Mono',monospace!important;letter-spacing:.08em;color:#5f5e56;margin:0 0 16px!important}
.ips-stats {padding:24px;background:#f2f1ec;margin-top:24px}
.ips-stats dl {display:grid;grid-template-columns:1fr auto;gap:12px 24px;margin:0;font-size:14px}
.ips-stats dd {margin:0;font-weight:600;text-align:right;max-width:210px}
.ips-allocation {width:100%;border-collapse:collapse;text-align:left;font-size:14px}
.ips-allocation th,.ips-allocation td {padding:16px 6px;border-bottom:1px solid #dedcd2;vertical-align:top}
.ips-allocation thead th {font:10px/1.6 'JetBrains Mono',monospace;color:#5f5e56;font-weight:400}
.ips-allocation td {text-align:right;white-space:nowrap}
.ips-allocation thead th:not(:first-child){text-align:right}
.ips-allocation th:first-child {padding-left:0;width:34%}
.ips-allocation small {display:block;color:#5f5e56;font:11px/1.6 'Google Sans',sans-serif;margin-top:5px;white-space:normal}
.ips-allocation-values th,.ips-allocation-values td {border-bottom:0;padding-bottom:4px}
.ips-allocation-detail td {text-align:left;white-space:normal;padding:4px 0 18px}
.ips-allocation-detail p {margin:0!important;font:14px/1.65 'Google Sans',sans-serif}
.ips-pillar-title {font:22px/1.2 'DM Serif Display',serif!important;font-weight:400;margin:0 0 8px}
.ips-table-note {font-size:12px!important;color:#5f5e56;margin-top:12px!important}
.ips-principle-row {display:grid;grid-template-columns:24px minmax(100px,32%) 1fr;gap:12px;align-items:start;padding:16px 0;border-top:1px solid #dedcd2}
.ips-principle-row:last-child{border-bottom:1px solid #dedcd2}
.ips-row-icon {display:grid;place-items:center;background:#f2f1ec;height:24px;width:24px;color:#3c3b36}
.ips-row-icon svg {width:15px;height:15px}
.ips-row-title {font:18px/1.25 'DM Serif Display',serif;margin:0}
.ips-principle-row p,.ips-operation-row p,.ips-step-row p,.ips-check-row p {margin:0!important;font-size:14px!important;line-height:1.65!important}
.ips-operation-row {display:grid;grid-template-columns:32% 1fr;gap:20px;padding:16px 0;border-top:1px solid #dedcd2}
.ips-step-row,.ips-check-row {display:grid;grid-template-columns:28px 1fr;gap:12px;padding:12px 0;border-top:1px solid #dedcd2}
.ips-step-number {font:12px/24px 'JetBrains Mono',monospace;color:#1f1c18}
.ips-checkbox {width:14px;height:14px;border:1px solid #5f5e56;margin-top:4px}
.ips-walk-away {padding:16px;background:#f2f1ec;font-size:14px!important;margin-top:12px!important}
.ips-build-list li {padding:10px 0;border-bottom:1px solid #dedcd2;font-size:14px!important}
@media(max-width:600px){.ips-principle-row {grid-template-columns:24px 1fr}.ips-principle-row p {grid-column:2}.ips-operation-row {grid-template-columns:1fr;gap:8px}.ips-stats {padding:16px}.ips-stats dl {grid-template-columns:1fr;gap:4px}.ips-stats dd {text-align:left;max-width:none;margin-bottom:10px}.ips-table-wrap{overflow-x:auto}.ips-allocation {min-width:360px}.ips-allocation-values th,.ips-allocation-values td {border-bottom:0;padding-bottom:4px}
.ips-allocation-detail td {text-align:left;white-space:normal;padding:4px 0 18px}
.ips-allocation-detail p {margin:0!important;font:14px/1.65 'Google Sans',sans-serif}
.ips-pillar-title {font-size:18px!important}}

.ips-test-tools {flex-basis:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted,#5f5e56)}
.ips-test-tools strong {font-weight:500}
.ips-test-tools span {display:flex;gap:16px}
.ips-test-tools a {color:inherit;text-decoration:underline;text-underline-offset:3px;padding:6px 0}
.ips-test-context {margin:12px 0 24px 36px;padding:16px;border:1px solid #dedcd2;border-radius:3px;background:#f2f1ec;font-size:14px;line-height:1.6}
.ips-test-context p {margin:0 0 12px}
.ips-test-context summary {cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ips-test-context dt {font-weight:600;margin-top:12px}
.ips-test-context dd {margin:4px 0 0;color:#5f5e56}
@media(max-width:767px){.ips-test-tools{align-items:flex-start;flex-direction:column}.ips-test-context{margin-left:0}}

/* Design pass — selection, phone header, IPS fill-ins. Kept last so it wins over the earlier layers. */
.session-warning>.warning-full,.session-warning>.warning-short{width:auto;height:auto;border-radius:0;background:none}
.warning-short{display:none}
/* Selected answers: chartreuse tint, carbon outline and a check badge; the other side of a pair fades. */
.choice-option{position:relative}
.choice-option:has(input:checked),.choice-option:last-child:has(input:checked),.paired-choice .choice-option:has(input:checked){background:#f3f8cf;border-color:var(--carbon);box-shadow:inset 0 0 0 1px var(--carbon);color:var(--ink)}
.paired-choice .choice-option:has(input:checked)::after{content:'';position:absolute;top:-7px;right:-7px;z-index:1;width:16px;height:16px;box-shadow:0 0 0 2px var(--paper);border-radius:50%;background:var(--carbon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9fb18' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/10px no-repeat}
.paired-choice .choice-options:has(input:checked) .choice-option:not(:has(input:checked)){opacity:.55}
.paired-choice .choice-options:has(input:checked) .choice-option:not(:has(input:checked)):hover{opacity:1}
/* IPS fill-ins */
.fill-blank{background:#f3f8cf;border-bottom:1.5px solid #4a5210;padding:0 3px;border-radius:2px;color:var(--ink);white-space:nowrap}
.write-in{display:inline-block;width:48px;height:1.1em;border-bottom:1px solid var(--muted);vertical-align:bottom}
.ips-check-intro{margin:14px 0 4px!important;font-size:14px!important}
@media(max-width:767px){
  /* One-row brand bar: the full warning is replaced by a short one. */
  .brandbar{height:56px;flex-wrap:nowrap;gap:10px}
  .workshop-label,.brand-separator{display:none}
  .session-warning{display:flex;flex-basis:auto;min-width:0;margin:0 0 0 auto;font-size:11px;line-height:1.3;text-align:right}
  .warning-full{display:none}.warning-short{display:inline}
  .workspace{height:calc(100dvh - 56px)}
  /* The agent team is one tap away in the menu, so the chips row is dropped. */
  .conversation-header .chat-participants{display:none}
  .conversation-header{min-height:0}
  .choice-option,.choice-option:last-child{font-size:14px}
}
@media(max-width:650px){
  .paired-choice .choice-option,.paired-choice .choice-option:last-child{font-size:13px}
}

/* Principle rows: the title starts level with its icon and its sentence. */
.constitution-paper .ips-row-title{margin:0;line-height:24px}
.ips-principle-row p{padding-top:1px}

/* OUR CASH PLAN worksheet */
.ips-cash-table{width:100%;min-width:420px;border-collapse:collapse;font-size:14px;margin:14px 0 6px}
.ips-cash-table thead th{font:10px/1.6 'JetBrains Mono',monospace;color:#5f5e56;font-weight:400;text-align:left;padding:0 6px 8px}
.ips-cash-table th,.ips-cash-table td{padding:12px 6px;border-top:1px solid #dedcd2;text-align:left;vertical-align:bottom}
.ips-cash-table tbody th{font-weight:600;color:var(--ink);width:34%}
.ips-cash-table .write-in{width:100%;max-width:90px}
.ips-cash-total{margin-top:12px!important;font-size:14px!important}

/* Legend and STARTER pill */
.starter-pill{display:inline-block;margin-left:10px;padding:3px 8px;border:1px solid var(--ink);border-radius:999px;font:500 9px/1 var(--mono);letter-spacing:.8px;text-transform:uppercase;color:var(--ink);vertical-align:middle}
.ips-legend-row .starter-pill{margin:0 4px 0 0}
.ips-legend{border-top:1px solid #dedcd2;border-bottom:1px solid #dedcd2;padding:12px 0;margin:4px 0 22px}
.ips-legend p{margin:0 0 8px!important;font-size:13px!important;line-height:1.6!important;color:#3c3b36}
.ips-legend p:last-child{margin-bottom:0!important}

/* Legend: a boxed key */
.ips-legend{border:0;border-left:3px solid var(--accent);background:#f2f1ec;border-radius:3px;padding:14px 18px;margin:6px 0 26px}
.constitution-paper .ips-legend-label{margin:0 0 10px!important;font:500 10px/1.4 var(--mono)!important;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.ips-legend-grid{display:grid;grid-template-columns:120px 1fr;gap:9px 14px;margin:0;align-items:center;font-size:13px;line-height:1.5;color:#3c3b36}
.ips-legend-grid dt,.ips-legend-grid dd{margin:0}
.ips-legend-unmarked{font-weight:600;color:var(--ink)}
@media(max-width:650px){.ips-legend-grid{grid-template-columns:1fr;gap:2px}.ips-legend-grid dd{margin-bottom:8px}}

.constitution-paper .ips-allocation-intro{margin:6px 0 14px!important;font-size:14px!important;color:#5f5e56}

/* Legend as three columns: marker over meaning */
.ips-legend-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:column;grid-template-rows:auto auto;gap:6px 22px;align-items:start}
@media(max-width:650px){.ips-legend-grid{grid-template-columns:1fr;grid-auto-flow:row;grid-template-rows:none;gap:2px}.ips-legend-grid dd{margin-bottom:8px}}

/* Dividers between legend columns */
.ips-legend-grid{row-gap:0}
.ips-legend-grid dt{padding-bottom:6px}
.ips-legend-grid > :nth-child(n+3){border-left:1px solid #dedcd2;padding-left:22px}
@media(max-width:650px){.ips-legend-grid > :nth-child(n+3){border-left:0;padding-left:0}.ips-legend-grid dt{padding-bottom:0}}

/* BEFORE WE SAY YES: confirm list beside walk-away list */
.ips-decision{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin-top:8px}
.constitution-paper .ips-decision-label{margin:0 0 6px!important;font:500 10px/1.4 var(--mono)!important;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.ips-xmark{position:relative;width:14px;height:14px;margin-top:4px}
.ips-xmark:before,.ips-xmark:after{content:'';position:absolute;left:6px;top:0;width:1.5px;height:14px;background:var(--ink)}
.ips-xmark:before{transform:rotate(45deg)}.ips-xmark:after{transform:rotate(-45deg)}
@media(max-width:650px){.ips-decision{grid-template-columns:1fr;gap:16px}}

/* Checkboxes keep their size inside table cells too */
.ips-checkbox{display:inline-block;box-sizing:border-box;vertical-align:middle}
.ips-cash-table td:last-child{text-align:left}

/* Chat IPS headings match the PDF */
.constitution-paper .ips-section{position:relative;margin-top:36px;padding-top:20px;border-top:1px solid #dedcd2}
.constitution-paper .ips-section:before{content:'';position:absolute;top:-2px;left:0;width:48px;height:3px;background:var(--accent)}
.ips-section-head{display:flex;align-items:baseline;gap:12px;margin:0 0 10px}
.constitution-paper .ips-heading{font:400 26px/1.15 'DM Serif Display',serif;color:var(--ink);border:0;padding:0;margin:0;text-transform:none;letter-spacing:0}
.ips-section-number{margin-left:auto;font:500 11px/1 'JetBrains Mono',monospace;color:#4a5210}
.constitution-paper .ips-row-title{font:600 14px/24px 'Google Sans',sans-serif;color:var(--ink)}
@media(max-width:650px){.constitution-paper .ips-heading{font-size:22px}}

.workshop-verification{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;background:#f8f8ef;color:#28342b;padding:16px;border:1px solid #b7c69e;border-radius:12px;box-shadow:0 6px 24px #0002;max-width:90vw}

.saved-progress-controls{padding:14px 18px;border-top:1px solid var(--line,#ddd);font-size:12px;display:grid;gap:8px}.saved-progress-controls button{background:none;border:0;text-decoration:underline;text-align:left;padding:0;cursor:pointer}.saved-workshop{margin-top:20px;padding:18px;border:1px solid #ccc;border-radius:12px}.saved-workshop button{margin:6px}.selection-count{font-size:12px;color:#555;margin-top:8px}
