/* Coach page hero: the app's practice call (shell, typed call, call review). Coach page only.
   The markup is the finished frame; coach-hero.js replays it. Orange only on live and primary states. */
.cw-hero{row-gap:56px}
.cw-hero .fk-hero__text{grid-column:1/-1}
/* wide screens: headline left, lead and button right, so the window starts high (Cursor / Hyperbound layout) */
@media(min-width:1101px){
  .cw-hero .fk-hero__text{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:var(--gutter);row-gap:24px}
  .cw-hero .fk-hero__text>*{grid-column:1}
  .cw-hero .fk-hero__text>.fk-h1{grid-row:3/5;align-self:end}
  .cw-hero .fk-hero__text>.fk-lead{grid-column:2;grid-row:3;align-self:end;margin:0}
  .cw-hero .fk-hero__text>.fkb-acts{grid-column:2;grid-row:4;margin:0}
}
/* the app's dark tokens (same as app-panel.css); 1em = the app's 13px body text */
.cw{grid-column:1/-1;--cw-fs:clamp(11px,.9vw,13.5px);--bg:#060505;--side:#080707;--surface:#0c0b0a;--sel:#26211f;--card-line:#1d1a18;--control-line:#463f3c;--line:#564e4a;
  --text:#fdfcfb;--muted:#b5ada7;--dim:#998f89;--acc:#ff6b2b;
  font:400 var(--cw-fs)/1.4 Geist,Arial,Helvetica,sans-serif;letter-spacing:0;color:var(--text);background:var(--bg);border:1px solid var(--card-line);border-radius:4px;overflow:hidden;min-width:0;text-align:left}
.cw *{box-sizing:border-box}
.cw p{margin:0}
.cw b{font-weight:500}
.cw-ico{flex:none;width:1.08em;height:1.08em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cw-app{display:grid;grid-template-columns:15.4em minmax(0,1fr)}

/* S-shell sidebar */
.cw-side{display:flex;flex-direction:column;gap:.15em;padding:.6em .5em 1em;background:var(--side);border-right:1px solid var(--card-line)}
.cw-logo{display:flex;align-items:center;gap:.4em;height:2.2em;padding:0 .2em .3em;font-weight:600;font-size:.98em;letter-spacing:-.03em}
.cw-logo img{width:1.05em;height:auto;filter:invert(1)}
.cw-logo sup{font-size:.5em;font-weight:400;margin-left:-.35em;align-self:flex-start;margin-top:.55em}
.cw-logo__r{margin-left:auto;color:var(--muted);width:1.25em;height:1.25em}
.cw-it{display:flex;align-items:center;gap:.8em;height:2.3em;padding:0 .8em;border-radius:2px;white-space:nowrap}
.cw-sl{display:flex;justify-content:space-between;align-items:center;padding:1.9em .8em .5em;color:var(--muted);font-size:.92em}
.cw-sl .cw-ico{width:1em;height:1em}
.cw-mut{padding:0 .8em;color:var(--dim)}
.cw-rec{display:flex;align-items:center;justify-content:space-between;margin:0 .8em;height:2.3em;padding:0 .7em;background:#141110;border-left:2px solid var(--acc);white-space:nowrap}
.cw-rec small{font-size:.78em;color:var(--muted)}
.cw-me{display:grid;place-items:center;width:1.85em;height:1.85em;margin:auto 0 0 .8em;border-radius:50%;background:#fff;color:#000;font-size:.9em;font-weight:500}

/* S-shell top bar */
.cw-main{display:flex;flex-direction:column;min-width:0}
.cw-top{display:flex;justify-content:flex-end;gap:.5em;height:2.8em;padding:0 1em;align-items:center;border-bottom:1px solid var(--card-line)}
.cw-hb{display:flex;align-items:center;gap:.45em;height:1.95em;padding:0 .7em;border:1px solid var(--line);border-radius:2px;font-size:.92em;font-weight:500;white-space:nowrap}
.cw-body{flex:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:1.5em;padding:1.5em}

/* S-typed: the buyer, the Transcript panel and Selly's line */
.cw-call{display:flex;flex-direction:column;gap:1.1em;min-width:0}
.cw-head{display:flex;align-items:center;gap:1em}
.cw-av{flex:none;display:grid;place-items:center;width:3.4em;height:3.4em;border-radius:50%;background:var(--sel);border:1px solid var(--control-line);font-size:1.1em;font-weight:500}
.cw-head__who{min-width:0}
.cw-head__who b{display:block;font-size:1.25em;line-height:1.35}
.cw-status{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw-status i{display:inline-block;width:.5em;height:.5em;margin-right:.45em;border-radius:50%;background:var(--line);vertical-align:.1em}
.cw.is-live .cw-status i{background:var(--acc)}
.cw-tp{background:var(--surface);border:1px solid var(--card-line);border-radius:4px}
.cw-th{display:flex;justify-content:space-between;align-items:baseline;padding:1.1em 1.4em;border-bottom:1px solid var(--line);font-size:1.15em;font-weight:500}
.cw-th span{font-size:.85em;font-weight:400;color:var(--muted)}
.cw-feed{display:flex;flex-direction:column;gap:1.1em;padding:1.4em}
.cw-msg{display:flex;gap:.9em}
.cw-who{flex:none;display:grid;place-items:center;width:2.45em;height:2.45em;border-radius:50%;background:var(--sel);font-size:1em}
.cw-name{font-size:.92em;color:var(--muted);margin-bottom:.1em}
.cw-msg.is-me{align-self:flex-end;max-width:78%;padding:.6em 1em;border:1px solid var(--control-line);border-radius:4px;transition:border-color .3s,background-color .3s}
.cw-msg.is-flag{border-color:var(--muted);background:#141110}
.cw-tip{display:flex;gap:1.1em;padding:1.4em 1.5em;background:var(--surface);border:1px solid var(--card-line);border-radius:4px}
.cw-tip>div{flex:1;min-width:0}
.cw-spk{flex:none;display:grid;place-items:center;width:3.1em;height:3.1em;border-radius:2px;background:var(--acc)}
.cw-spk svg{width:1.4em;height:1.4em;fill:#fff}
.cw-hh{display:flex;gap:.8em;margin-bottom:.3em;color:var(--dim)}
.cw-hh b{color:var(--text);font-weight:700}
.cw-hh span+span{margin-left:auto;color:var(--muted);white-space:nowrap}
.cw-tip [data-cw-type]{font-size:1.23em;line-height:1.45}

/* S-review: the call review card */
.cw-score{position:relative;display:flex;flex-direction:column;gap:.55em;min-width:0}
.cw-cap{color:var(--muted)}
.cw-card{display:flex;flex-direction:column;gap:.8em;padding:1.3em;background:var(--surface);border:1px solid var(--card-line);border-radius:4px}
.cw-total{display:flex;align-items:baseline;gap:.7em}
.cw-total strong{font-size:2.35em;line-height:1;font-weight:500;font-variant-numeric:tabular-nums}
.cw-total span{color:var(--muted)}
.cw-btn{display:inline-flex;align-items:center;height:2.55em;padding:0 1.15em;border:1px solid var(--line);border-radius:2px;font-weight:500;white-space:nowrap}
.cw-btn--main{align-self:flex-start;background:var(--acc);border-color:var(--acc);color:#080808;font-weight:400}
.cw-other{padding-top:.9em;border-top:1px solid var(--line);font-weight:500}
.cw-other::before{content:'\25B6';display:inline-block;margin-right:.55em;font-size:.65em;vertical-align:.15em}
.cw-ded__body{display:flex;flex-direction:column;gap:.15em}
.cw-ded__body b{font-weight:700}
.cw-sk{display:grid;grid-template-columns:minmax(0,13em) minmax(0,1fr) 2.2em;align-items:center;gap:1em}
.cw-sk span{line-height:1.45}
.cw-sk i{height:.3em;background:#2e2926;background-image:linear-gradient(var(--acc),var(--acc));background-size:calc(var(--v) * 100%) 100%;background-repeat:no-repeat}
.cw-sk b{font-weight:400;color:var(--muted);text-align:right}
.cw-acts{display:flex;flex-wrap:wrap;gap:.6em;padding-top:.2em}
.cw-wait{position:absolute;inset:3.75em 1.3em auto;color:var(--muted);visibility:hidden}

/* typing: the untyped rest keeps its place, so nothing reflows while text arrives */
.cw-rest{color:transparent}
.cw-typing .cw-shown::after{content:'';display:inline-block;width:.5em;height:1.05em;margin-left:1px;vertical-align:-.15em;background:var(--muted)}

/* the app's own breakpoints: the sidebar folds away, then the panels stack */
@media(max-width:1100px){
  .cw-app{grid-template-columns:minmax(0,1fr)}
  .cw-side{display:none}
}
@media(max-width:760px){
  .cw-hero{row-gap:40px}
  .cw{--cw-fs:12.5px}
  .cw-body{grid-template-columns:minmax(0,1fr);padding:1em;gap:1.4em}
  .cw-feed{padding:1em}
  .cw-th{padding:.9em 1em}
  .cw-tip{padding:1em}
  .cw-hh span+span{display:none}
  .cw-sk{grid-template-columns:minmax(0,1fr) 5em 2.2em}
}
