:root{font:16px system-ui,sans-serif;color:#203a30;background:#f5f8f3}*{box-sizing:border-box}body{margin:0}main{max-width:1200px;margin:auto;padding:20px}header{display:flex;align-items:center;gap:15px;border-bottom:1px solid #ccd8ce;padding-bottom:16px}header strong{background:#234d3b;color:white;padding:10px;border-radius:10px}h1{font-size:1.35rem;margin:0}h2{font-size:1.15rem}p{line-height:1.5}#connection{margin:4px 0}header button{margin-left:auto}button,input,select{font:inherit;padding:9px 12px;border:1px solid #a4b5a8;border-radius:8px;background:white;color:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}label{display:flex;flex-direction:column;gap:5px;margin:10px 0}form{max-width:470px}#message{min-height:2.5em;margin:14px 0;color:#865009}section{margin:18px 0}article{border:1px solid #c9d8ca;border-radius:12px;padding:18px;background:#fff}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}nav{display:flex;gap:10px;align-items:end;flex-wrap:wrap}nav label{min-width:230px}details{margin:16px 0;padding:12px;border:1px solid #ccd8ce;border-radius:8px}.boundary{background:#fff0d7;padding:14px;border-radius:8px}.row{border-top:1px solid #ddd;padding:10px 0}meter{width:100%;height:25px}code{word-break:break-all}#interview-detail{margin-top:14px}#interview-detail textarea{width:100%;min-height:70px}
[hidden]{display:none!important}
#call-bar{position:sticky;top:0;z-index:5;min-height:3.4rem;display:flex;align-items:center;padding:10px 14px;border:2px solid #625117;border-radius:9px;background:#fff3ce;color:#29220b;font-weight:650}
#calls-card .row button,#lead-list .row button{margin:4px 4px 4px 0}
button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #176b56;outline-offset:2px}
.hub-nav{margin:16px 0}.hub-nav label{min-width:130px;margin:0}.hub-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.hub-heading p{margin-top:4px}.hub-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(350px,2fr) minmax(230px,1fr);gap:12px;height:min(76vh,760px);min-height:500px}.hub-panel{border:1px solid #c9d8ca;border-radius:12px;background:#fff;padding:14px;min-width:0;overflow:auto}.hub-panel h3{margin:0 0 8px}.hub-list,.hub-timeline,.hub-details{display:flex;flex-direction:column}.hub-scroll{min-height:0;overflow-y:auto;overflow-wrap:anywhere}.hub-list .hub-scroll,.hub-timeline .hub-scroll{flex:1}.hub-timeline .row{white-space:pre-wrap}.hub-timeline form{border-top:1px solid #dbe4db;padding-top:10px;max-width:none}.hub-timeline textarea,.hub-panel textarea{width:100%;min-height:76px}.hub-details details{margin:0 0 10px}.hub-details .hub-scroll{max-height:38vh}.hub-panel .row button{margin:4px}.hub-mobile-tabs{display:none}.campaign-grid{display:grid;grid-template-columns:minmax(230px,1fr) minmax(400px,2.5fr);gap:12px;min-height:650px}.campaign-editor{min-width:0}.campaign-steps{margin:10px 0}.campaign-steps button{font-size:.9rem}.campaign-step{min-height:360px}.campaign-step label{max-width:700px}.campaign-step textarea{width:100%;min-height:100px}.campaign-preview{display:grid;grid-template-columns:1fr minmax(170px,240px);gap:20px}.campaign-preview>div{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #d7dfd7;border-radius:10px;padding:12px}.campaign-phone{max-width:240px;min-height:280px}.campaign-grid pre{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}#workspace[data-theme="pulse"] .hub-panel{border-color:#7c5b39;background:#fffaf4}#workspace[data-theme="pulse"] .hub-nav button{background:#fff2e5}#workspace[data-theme="pulse"] .hub-heading{color:#583915}
@media(max-width:800px){main{padding:12px}.hub-grid{display:block;height:auto;min-height:0}.hub-grid [data-panel]{display:none;height:min(70vh,650px);min-height:400px}.hub-grid [data-panel].mobile-active{display:flex}.hub-mobile-tabs{display:flex}.hub-mobile-tabs button{flex:1}.campaign-grid{display:block}.campaign-grid>.hub-panel{margin-bottom:12px}.campaign-preview{grid-template-columns:1fr}}
#campaign-desktop-preview[data-template="calm"],#campaign-mobile-preview[data-template="calm"]{border-top:5px solid #456b58;padding:12px;background:#f6faf6}#campaign-desktop-preview[data-template="pulse"],#campaign-mobile-preview[data-template="pulse"]{border-top:5px solid #b57a3e;padding:12px;background:#fff7ed}
#clinic-status{border-left:6px solid var(--clinic-accent,#234d3b);padding:8px 12px;background:#fff}#communication-workspace .hub-panel,#marketing-workspace .hub-panel{border-top:3px solid var(--clinic-accent,#234d3b)}#hub-brand{margin:0;padding:4px 10px;position:relative}#hub-brand form{padding:8px;min-width:180px}.campaign-grid{height:min(76vh,760px);min-height:580px}.campaign-grid>.hub-panel{min-height:0}#campaign-list{max-height:52vh;overflow-y:auto}@media(max-width:800px){.campaign-grid{height:auto;min-height:0}#campaign-list{max-height:35vh}}
#supervisor-workspace{border:1px solid #c9d8ca;border-top:4px solid var(--clinic-accent,#234d3b);border-radius:12px;background:#fff;padding:18px}#supervisor-workspace .supervisor-tabs{margin:14px 0}#supervisor-content{max-height:min(65vh,650px);min-height:280px;overflow-y:auto}#supervisor-content .row{overflow-wrap:anywhere}#supervisor-content .row button{margin:4px}#supervisor-coaching{border-left:4px solid #755aa0;padding:8px 12px;background:#f7f3fc;white-space:pre-wrap}#workspace[data-theme="pulse"] #supervisor-workspace{background:#fffaf4;border-color:#b57a3e}@media(max-width:800px){#supervisor-workspace{padding:12px}#supervisor-content{max-height:55vh}}
#supervisor-content .supervisor-unknown{max-height:280px;overflow-y:auto}
#coaching-workspace{border:1px solid #c9d8ca;border-top:4px solid var(--clinic-accent,#234d3b);border-radius:12px;background:#fff;padding:18px;min-height:380px}#coaching-workspace nav{margin:12px 0;display:flex;gap:8px;flex-wrap:wrap}#coaching-workspace nav button[aria-current="true"]{border:2px solid #176b56;font-weight:700}#coaching-content{max-height:70vh;overflow:auto;overflow-wrap:anywhere}#coaching-content .row{white-space:pre-wrap}#coaching-content .row button{margin:4px}#coaching-content textarea{min-height:120px;width:min(100%,750px)}#coaching-content details{max-width:750px}.coaching-label{padding:10px 12px;border-left:5px solid #176b56;background:#eaf6ef;font-weight:650}#workspace[data-theme="pulse"] #coaching-workspace{background:#fffaf4;border-color:#b57a3e}#workspace[data-theme="pulse"] .coaching-label{background:#fff1df;border-color:#975b20}@media(max-width:800px){#coaching-workspace{padding:12px}#coaching-content{max-height:60vh}}
#pilot-home{border:1px solid #c9d8ca;border-top:4px solid var(--clinic-accent,#234d3b);border-radius:12px;background:#fff;padding:18px}#pilot-home h2{margin-top:0}#pilot-home nav button{margin:3px}#active-workspace{font-weight:650;border-left:4px solid var(--clinic-accent,#234d3b);padding:5px 12px}#lead-detail textarea{width:100%;min-height:90px}#lead-detail button{margin:4px}#workspace[data-theme="pulse"] #pilot-home{background:#fffaf4;border-color:#b57a3e}
#headset-companion{grid-column:1/-1;border-top:4px solid #176b56;scroll-margin-top:90px}#headset-companion .headset-boundary{padding:10px;background:#fff3ce;border-left:4px solid #865009;font-weight:650}#headset-companion .headset-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}#headset-companion .headset-sources{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px}#headset-companion .headset-sources>div{border:1px solid #c9d8ca;border-radius:9px;padding:14px;min-width:0}#headset-companion #headset-error{color:#a02222;font-weight:650}#headset-companion #headset-readiness{padding:10px;border:1px solid #b9cbb9;background:#f1f7f0;font-weight:650}#headset-companion small{display:block;overflow-wrap:anywhere}#workspace[data-theme="pulse"] #headset-companion{background:#fffaf4;border-color:#b57a3e}#workspace[data-theme="pulse"] #headset-companion #headset-readiness{background:#fff1df}#headset-fictional-only{width:auto}@media(max-width:650px){#headset-companion .headset-sources{grid-template-columns:1fr}}
#headset-companion label:has(#headset-fictional-only){display:flex;flex-direction:row;align-items:center;gap:10px}
#headset-capture-banner{position:sticky;top:3.4rem;z-index:5;background:#e4f6ec;border:2px solid #176b56;border-radius:9px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0;font-size:.9rem}#workspace[data-theme="pulse"] #headset-capture-banner{background:#fff0de;border-color:#b57a3e}
#fictional-mfa-waiver{background:#fff3ce;border-left:5px solid #865009;padding:10px 14px;font-weight:650}#workspace[data-theme="pulse"] #fictional-mfa-waiver{background:#fff0de}

/* Focused organization interview workspace. Existing operations stay in navigation. */
main:has(#guided-workspace:not([hidden])){max-width:1600px}main:has(#guided-workspace:not([hidden])) #message{display:none}
#workspace:has(#guided-workspace:not([hidden])) #headset-capture-banner,#workspace:has(#guided-workspace:not([hidden])) #call-bar{display:none!important}
#guided-workspace{margin:14px 0 28px;min-width:0}#guided-workspace section{margin:0}#guided-workspace h2{font-size:1.65rem;margin:0}#guided-workspace h3{margin:0 0 12px}.guided-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.eyebrow{font-size:.75rem;letter-spacing:.15em;font-weight:700;color:#4c6b58;margin:0 0 3px}
#guided-status{position:sticky;top:0;z-index:8;min-height:48px;padding:12px 16px;border-radius:10px;background:#e7f3e8;border:1px solid #aec8af;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guided-steps{display:flex;gap:8px;margin:14px 0 18px}.guided-steps button{flex:1;text-align:left;background:#edf2eb}.guided-steps button[aria-current="step"]{background:#244d3d;color:white;border-color:#244d3d;font-weight:700}
#guided-choose,#guided-setup{background:white;border:1px solid #c9d8ca;border-radius:14px;padding:24px;min-height:400px}.guided-intro{margin-bottom:20px}.guided-intro p{margin:0;color:#526b5b}#guided-chooser #interview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px}#guided-chooser .row{border:1px solid #cad9cb;border-radius:10px;padding:15px;display:flex;flex-direction:column;gap:10px;background:#fbfdf9}#guided-chooser .row button{align-self:start}#guided-chooser>button{margin-top:18px}
#guided-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}#guided-modes button{text-align:left;padding:18px;font-weight:700;min-height:95px}#guided-modes button small{display:block;font-weight:400;margin-top:8px}#guided-modes button[aria-pressed="true"]{border:2px solid #24694f;background:#eef7ee}#guided-mode-note{padding:14px 16px;background:#f1f6f0;border-left:4px solid #4b7557;margin:16px 0;line-height:1.5}#guided-continue{background:#244d3d;color:white;font-weight:700;margin-top:16px}
#guided-audio-setup #headset-companion{border:0;padding:0;max-width:none}#guided-audio-setup #headset-companion>ol,#guided-audio-setup #headset-companion>.headset-boundary{display:none}#guided-audio-setup #headset-companion h2{font-size:1.1rem}
.guided-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:18px;align-items:start}.guided-main,.guided-side{background:white;border:1px solid #c9d8ca;border-radius:14px;min-width:0}.guided-main{padding:clamp(20px,3vw,48px);min-height:72vh}.guided-side{padding:18px;position:sticky;top:60px}.guided-side nav{display:flex;gap:4px;flex-wrap:nowrap;margin-bottom:18px}.guided-side nav button{font-size:.92rem;padding:8px;flex:1}.guided-side nav button[aria-pressed="true"]{background:#244d3d;color:white}.guided-answer-row{border-top:1px solid #e1e9df;padding:10px 0;overflow-wrap:anywhere}.guided-side details{margin-top:24px;font-size:.85rem;color:#557061}
#guided-workspace #interview-detail{margin:0;max-width:none}#guided-workspace #interview-detail>h3{font-size:1rem;color:#476551;margin-bottom:8px}#guided-workspace #interview-control-status{color:#455e4c;margin:0 0 15px}#guided-workspace .question-progress{font-weight:700;font-size:.9rem;color:#52715d;margin:0 0 18px}#guided-workspace .current-script{font-size:clamp(1.6rem,2.7vw,2.5rem);line-height:1.35;max-width:31ch;min-height:3.1em;margin:10px 0 28px;white-space:pre-wrap}#guided-workspace .answer-area{max-width:790px}#guided-workspace .answer-area label{font-weight:700}#guided-workspace .answer-area textarea{min-height:110px;width:100%;font-size:1.1rem}#guided-workspace .answer-area select,#guided-workspace .answer-area input{width:100%;max-width:620px;font-size:1.1rem}#guided-workspace .answer-status{min-height:28px;margin:8px 0;font-weight:650}#guided-workspace .answer-status[data-state="saved"]{color:#216245}#guided-workspace .answer-status[data-state="review"]{color:#994412}#guided-workspace .answer-status[data-state="saving"]{color:#5b5b32}#guided-workspace .save-answer{background:#244d3d;color:white;font-weight:700;margin:8px 0 18px}#guided-workspace .conflict-panel{border:2px solid #b77742;background:#fff6e9;border-radius:10px;padding:16px;margin:14px 0;max-width:790px}#guided-workspace .conflict-panel p{margin:8px 0}#guided-workspace .conflict-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}.conflict-values>div{border:1px solid #dbb98f;border-radius:8px;padding:10px;white-space:pre-wrap;overflow-wrap:anywhere}#guided-workspace .conflict-panel button{margin:6px 8px 0 0}
#guided-workspace #headset-interview-capture{border-top:1px solid #d8e4d6;margin-top:22px;padding-top:18px}#guided-workspace #headset-interview-state{min-height:30px;font-weight:650;margin:0 0 10px}#guided-workspace #headset-interview-capture .headset-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}#guided-workspace #headset-interview-finish,#guided-workspace #headset-mock-start{background:#244d3d;color:white;font-weight:700}#guided-workspace #headset-mock-controls{border:1px solid #c7dbca;background:#f5faf4;border-radius:12px;padding:18px;max-width:820px}#guided-workspace .practice-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}#guided-workspace .practice-actions label{min-width:min(340px,100%);flex:1;margin:0}#guided-workspace #headset-interview-warning{color:#9b371f;font-weight:650}
#workspace[data-theme="pulse"] #guided-choose,#workspace[data-theme="pulse"] #guided-setup,#workspace[data-theme="pulse"] .guided-main,#workspace[data-theme="pulse"] .guided-side{background:#fffaf4;border-color:#d6b996}#workspace[data-theme="pulse"] #guided-status,#workspace[data-theme="pulse"] #guided-mode-note{background:#fff0de;border-color:#bf8c57}#workspace[data-theme="pulse"] .guided-steps button[aria-current="step"],#workspace[data-theme="pulse"] .guided-side nav button[aria-pressed="true"],#workspace[data-theme="pulse"] #guided-continue,#workspace[data-theme="pulse"] .save-answer,#workspace[data-theme="pulse"] #headset-mock-start,#workspace[data-theme="pulse"] #headset-interview-finish{background:#7d4e23;color:white}
@media(max-width:1000px){.guided-layout{grid-template-columns:minmax(0,1fr) 260px}.guided-main{padding:24px}}@media(max-width:780px){.guided-layout{display:block}.guided-side{position:static;margin-top:14px}.guided-main{min-height:500px}#guided-modes{grid-template-columns:1fr}.guided-steps button{font-size:.8rem;padding:8px}.guided-heading{align-items:start}.guided-heading button{font-size:.85rem}.conflict-values{grid-template-columns:1fr!important}}
#guided-workspace #interview-answer-state{min-height:28px;margin:12px 0;font-weight:650;color:#345b3e}#guided-workspace .answer-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 22px}#guided-workspace .answer-actions button:first-child{background:#244d3d;color:white;font-weight:700}#guided-workspace .interview-conflict{border:2px solid #b77742;background:#fff6e9;border-radius:10px;padding:16px;margin:14px 0;max-width:790px}#guided-workspace .interview-conflict p{white-space:pre-wrap;overflow-wrap:anywhere}#guided-workspace .interview-conflict button{margin:6px 8px 0 0}#workspace[data-theme="pulse"] #guided-workspace .answer-actions button:first-child{background:#7d4e23}
main:has(#guided-workspace:not([hidden]))>header,main:has(#guided-workspace:not([hidden])) #clinic-status,main:has(#guided-workspace:not([hidden])) #active-workspace{display:none}main:has(#guided-workspace:not([hidden])) #workspace>nav{align-items:center;margin:0 0 4px}main:has(#guided-workspace:not([hidden])) #workspace>nav label{margin:0}main:has(#guided-workspace:not([hidden])) .hub-nav{margin:5px 0 9px}#guided-workspace{margin-top:5px}.guided-heading{margin-bottom:6px}.guided-steps{margin:7px 0 10px}#guided-workspace .guided-main{padding-top:20px}#guided-workspace .current-script{margin:5px 0 17px;min-height:0}#guided-workspace .answer-actions{margin:7px 0 13px}
#guided-workspace .guided-main:has(#headset-interview-end:not([hidden])) .answer-actions button:nth-child(n+2){display:none}
