.topbar{background:#fcfcfe;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px max(20px,calc((100% - 1120px)/2));min-height:62px;border-bottom:1px solid #dbe0eb}
.brand{text-decoration:none;display:flex;align-items:center;gap:8px;white-space:nowrap;color:#1d2947;font-size:15px}
.brand>span,.phone-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--blue);color:#fff}
.top-actions{display:flex;align-items:center;gap:11px}
.demo-pill,.sample-label{border-radius:999px;background:#edf0f9;color:#3a4b78;font-size:11px;font-weight:750;white-space:nowrap;padding:5px 8px}
.demo-pill i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#778abf;margin-right:3px;vertical-align:2px}
.reset{display:flex;align-items:center;gap:5px;border:1px solid #d9deea;border-radius:8px;background:transparent;color:#27365d;font-size:11px;font-weight:750;padding:7px;white-space:nowrap}
.reset:hover{background:#edf0f8}
.intro{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:22px max(20px,calc((100% - 1120px)/2)) 24px;background:linear-gradient(112deg,#e5e9fa,#eef0f7 65%,#e5efd6);border-bottom:1px solid #dce2ef}
.intro h1{font:500 clamp(25px,4vw,49px)/1.02 var(--display);color:#222c50;letter-spacing:-.047em}
.intro em{font-weight:500;color:#344784}
.intro p{max-width:360px;color:#465471;font-size:13px}
.workspace{max-width:1160px;margin:0 auto;padding:20px 20px 24px;display:grid;grid-template-columns:minmax(160px,215px) minmax(0,1fr);gap:clamp(17px,3.9vw,58px);align-items:start}
.guide{margin-top:21px}
.guide h2{font:500 21px/1.15 var(--display);color:#243353;letter-spacing:-.025em}
.stage-list{display:grid;gap:7px;margin-top:11px}
.stage-link{display:flex;gap:7px;align-items:flex-start;text-align:left;width:100%;border:1px solid #dce1eb;border-radius:11px;padding:8px 7px;background:#fafbff;color:#26365b}
.stage-link:hover,.stage-link[aria-pressed="true"]{background:#e1e8f9;border-color:#99aadd}
.stage-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:7px;background:#e9edf8;color:var(--blue)}
.stage-link[aria-pressed="true"] .stage-icon{background:var(--blue);color:#fff}
.stage-link strong,.stage-link small{display:block}
.stage-link strong{font-size:11px;margin:2px 0}
.stage-link small{color:#52617a;font-size:9px;line-height:1.4}
.vendor-notes{border-radius:9px;background:#e8ebf4;margin-top:13px;padding:9px;color:#3f4c6b;font-size:10px}
.vendor-notes summary{cursor:pointer;font-weight:800}
.vendor-notes p{margin-top:8px}
.phones-wrap{min-width:0;scroll-margin-top:8px}
.phones{display:grid;grid-template-columns:repeat(2,minmax(0,340px));justify-content:center;gap:clamp(15px,3.3vw,43px)}
.role-switch{display:none}
@media(max-width:820px){
  .workspace{grid-template-columns:minmax(145px,210px) minmax(0,1fr);gap:15px}
  .phones{grid-template-columns:minmax(0,340px)}
  .phones-wrap[data-active="patient"] [data-role="therapist"],.phones-wrap[data-active="therapist"] [data-role="patient"]{display:none}
  .role-switch{display:flex;gap:5px;max-width:340px;margin:0 auto 5px}
  .role-switch button{flex:1;border:1px solid #dce1eb;border-radius:8px;background:#fafbff;color:var(--blue-dark);padding:7px;font-size:11px;font-weight:750}
  .role-switch button[aria-pressed="true"]{background:var(--blue);color:#fff}
}
@media(max-width:560px){
  .topbar{padding:9px 13px;min-height:52px}
  .brand{font-size:13px}
  .brand>span{width:30px;height:30px}
  .demo-pill{display:none}
  .intro{display:block;padding:15px 14px}
  .intro p{font-size:11px;margin-top:6px}
  .desktop-break{display:none}
  .workspace{display:block;padding:14px 11px}
  .guide{margin:0 0 10px}
  .guide h2{font-size:18px;padding-left:3px}
  .stage-list{display:flex;overflow-x:auto;gap:5px;margin-top:6px;padding:3px}
  .stage-link{width:auto;flex:none;align-items:center;white-space:nowrap;padding:4px 6px}
  .stage-icon{height:22px;width:22px;flex-basis:22px}
  .stage-link small{display:none}
  .vendor-notes{margin:5px 3px}
}
