/* Same quiet workspace layout as DRIV Club, scoped to the coach desktop shell. */
#cw-shell,#cw-content,.cw-main,.cw-body{display:contents}
.cw-sidebar,.cw-header,#cw-agent,#cw-banner{display:none}
.cw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:900px){
 body.coach-desktop{overflow:hidden;background:var(--surface)}
 #cw-shell{--cw-side:var(--bg);--cw-top:0px;display:grid;grid-template-columns:260px minmax(0,1fr);position:fixed;inset:var(--cw-top) 0 0;height:calc(100dvh - var(--cw-top));background:var(--surface)}
 #cw-banner{display:contents}
 .cw-sidebar{display:flex;flex-direction:column;min-height:0;background:var(--cw-side);border-right:1px solid color-mix(in srgb,var(--line) 45%,transparent)}
 .cw-brand{display:flex;align-items:center;gap:10px;min-height:76px;padding:22px;color:var(--fg);text-decoration:none;flex:none}
 .cw-brand .wm{height:22px}.cw-brand>span:last-child{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:10px}
 .cw-navigation{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:0 12px 18px}
 .cw-navgroup{margin:19px 0 0}.cw-navgroup h2{font-size:11px;font-weight:500;letter-spacing:0;color:var(--muted);padding:0 12px;margin:0 0 6px}
 .cw-navitem{display:flex;align-items:center;gap:11px;width:100%;min-height:38px;padding:9px 12px;border:0;border-radius:8px;background:none;color:var(--fg);font:inherit;font-size:13px;text-align:left;text-decoration:none}
 .cw-navitem>span:first-of-type{flex:1;min-width:0}.cw-navitem .i{width:17px;height:17px;stroke-width:1.55}.cw-navitem kbd{font:inherit;font-size:10px;color:var(--muted)}
 .cw-navitem:hover,.cw-navitem[aria-current=page]{background:color-mix(in srgb,var(--fg) 7%,var(--cw-side));color:var(--fg)}
 .cw-navitem[aria-current=page]{font-weight:600}.cw-navitem[hidden]{display:none}.cw-search{margin-bottom:8px}
 .cw-unread{font-size:10px;border-radius:10px;background:var(--ink);color:var(--surface);padding:1px 6px;min-width:18px;text-align:center}
 .cw-sidebottom{padding:10px 12px 14px;flex:none;border-top:1px solid color-mix(in srgb,var(--line) 45%,transparent)}
 .cw-profile{display:flex;align-items:center;gap:10px;width:100%;padding:12px 9px 0;background:none;border:0;text-align:left;color:var(--fg)}
 .cw-profile>.avatar{width:32px;height:32px;font-size:11px;flex:none}.cw-profile>span:nth-child(2){flex:1;min-width:0}.cw-profile b,.cw-profile small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cw-profile b{font-size:12px;font-weight:600}.cw-profile small{font-size:11px;color:var(--muted);margin-top:2px}.cw-profile>.i{width:16px;color:var(--muted)}
 .cw-main{display:flex;flex-direction:column;min-width:0;min-height:0}
 .cw-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:16px 28px;border-bottom:1px solid color-mix(in srgb,var(--line) 50%,transparent);flex:none}
 .cw-header h1{font-size:16px;font-weight:500;line-height:1.4;margin:0}.cw-breadcrumb{display:none}.cw-headeractions{display:flex;gap:16px;align-items:center}.cw-personal{font-size:11px;color:var(--muted)}
 .cw-action,.cw-iconbutton{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:none;color:var(--fg);border:1px solid var(--line);border-radius:8px;padding:7px 10px;font:inherit;font-size:12px}
 .cw-action:hover,.cw-iconbutton:hover{background:var(--bg)}.cw-iconbutton{border:0;font-size:20px;padding:2px 10px}.cw-action[hidden]{display:none}
 .cw-body{display:flex;flex:1;min-width:0;min-height:0;position:relative}
 #cw-content{display:flex;flex:1;min-width:0;min-height:0;overflow:hidden}
 body.coach-desktop #app{width:100%;height:100%;min-height:0;padding:0;margin:0;overflow:hidden;background:var(--surface)}
 body.coach-desktop #app>nav{display:none}
 body.coach-desktop #app>.topbar{padding:22px 28px 12px;max-width:none;margin:0;min-height:62px;flex:none;border-bottom:1px solid color-mix(in srgb,var(--line) 45%,transparent)}
 body.coach-desktop #app>.topbar .avatar--nav{display:none}
 body.coach-desktop #app>.view{overflow-y:auto;min-height:0;width:100%;max-width:none;margin:0;padding:24px 28px 40px;scrollbar-width:thin;animation:none}
 body.coach-desktop .card{box-shadow:none;border-radius:12px;background:var(--surface)}
 body.coach-desktop .stat{box-shadow:none;border-radius:12px}.coach-desktop .listrow{font-size:14px}.coach-desktop .field input,.coach-desktop .field select{font-size:14px}
 body.coach-desktop .topbar .brand{font-size:20px;font-weight:500}
 body.coach-desktop .inbox-split{grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:20px;min-height:100%}
 body.coach-desktop .inbox-detail{height:calc(100dvh - 208px - var(--cw-top));min-height:360px;top:0;border-radius:10px}
 body.coach-desktop .view:has(.hubgrid){max-width:1120px;margin:0 auto}
 #cw-agent{display:flex;flex-direction:column;min-height:0;min-width:0;flex:none;width:360px;border-left:1px solid var(--line);background:var(--surface)}
 #cw-agent[hidden]{display:none}
 .cw-agenthead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid color-mix(in srgb,var(--line) 50%,transparent);flex:none;font-size:13px}
 .cw-agenthead>span{display:flex;align-items:center;gap:8px}.cw-agenthead .i{color:var(--muted)}
 .cw-workspace #cw-content{display:none}.cw-workspace #cw-agent{width:100%;flex:1;border:0}.cw-workspace .cw-agenthead{display:none}
 .cw-history{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:28px 22px 12px;overscroll-behavior:contain}
 #cw-messages{max-width:780px;margin:0 auto;min-height:100%;display:flex;flex-direction:column}
 .cw-welcome{margin:auto 0;padding:30px 0 48px;text-align:center}.cw-welcomeicon{display:inline-grid;place-items:center;width:44px;height:44px;background:var(--bg);border:1px solid var(--line);border-radius:14px;margin-bottom:24px;color:var(--accent-text)}.cw-welcomeicon .i{width:23px;height:23px}
 .cw-eyebrow{font-size:10px;letter-spacing:.12em;color:var(--muted);margin-bottom:12px}.cw-welcome h2{font-weight:400;font-size:clamp(24px,2.4vw,34px);letter-spacing:-.035em;line-height:1.2;max-width:620px;margin:0 auto 14px}
 .cw-welcome>p:not(.cw-eyebrow){font-size:14px;line-height:1.7;color:var(--muted)}
 .cw-suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:34px auto 20px;max-width:720px}
 .cw-suggestions button{display:flex;align-items:flex-start;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:11px;text-align:left;padding:16px 14px;color:var(--muted);font-size:12px;line-height:1.5}
 .cw-suggestions button>span{flex:1;color:var(--fg)}.cw-suggestions .i{width:16px;height:16px;margin-top:2px}.cw-suggestions button:hover{background:var(--bg);border-color:var(--muted)}
 .cw-shortcuts{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}.cw-shortcuts button{border:0;background:none;font-size:12px;color:var(--muted);padding:6px 0}.cw-shortcuts button:hover{color:var(--fg)}
 .cw-composearea{flex:none;padding:0 22px 18px;width:100%;max-width:824px;margin:0 auto}.cw-composer{border:1px solid var(--line);border-radius:17px;background:var(--surface);padding:13px 14px 10px;box-shadow:0 3px 16px rgb(0 0 0 / .025)}.cw-composer:focus-within{border-color:var(--muted)}
 #cw-draft{display:block;width:100%;min-height:48px;max-height:180px;resize:none;border:0;outline:none;background:transparent;color:var(--fg);font-size:14px;line-height:1.6;padding:0 2px}#cw-draft::placeholder{color:var(--muted)}
 .cw-composefoot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}.cw-composefoot>div{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.cw-attach{border:0;background:none;color:var(--muted);padding:4px}.cw-send{width:32px;height:32px;display:grid;place-items:center;border:0;background:var(--ink);color:var(--surface);border-radius:50%}.cw-send:disabled{opacity:.3;cursor:default}.cw-send .i{width:18px;height:18px}
 .cw-footnote{text-align:center;color:var(--muted);font-size:10px;line-height:1.5;margin-top:10px}.cw-status{font-size:12px;color:var(--muted);min-height:24px;padding:3px 2px 7px}
 .cw-message{font-size:14px;line-height:1.8;overflow-wrap:anywhere;padding:12px 0 22px}.cw-messagewho{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;margin-bottom:9px;color:var(--muted)}.cw-mine{align-self:flex-end;max-width:88%;background:var(--bg);border:1px solid color-mix(in srgb,var(--line) 50%,transparent);border-radius:14px;padding:12px 17px;margin-bottom:22px}.cw-mine>p{white-space:normal}.cw-mine>.cw-messagewho{margin-bottom:3px}.cw-assistant{width:100%}.cw-assistant .md-p{margin-bottom:12px}.cw-assistant .md-ul{padding-left:22px}.cw-clientlink{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}
 .cw-messageimage{display:block;max-width:100%;max-height:280px;object-fit:contain;border-radius:8px;margin-bottom:8px}.cw-attached{display:flex;align-items:center;gap:8px;font-size:12px;padding:5px 0 10px}.cw-attached img{width:42px;height:42px;object-fit:cover;border-radius:6px}.cw-attached>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cw-attached button{background:none;border:0;color:var(--fg);font-size:20px}
 .cw-loaderror{margin:auto;text-align:center;display:grid;gap:14px;color:var(--muted)}
 .cw-agent-open .cw-welcome{padding:12px 0}.cw-agent-open .cw-welcome h2{font-size:23px}.cw-agent-open .cw-suggestions{grid-template-columns:1fr;margin-top:22px}.cw-agent-open .cw-suggestions button{padding:10px}.cw-agent-open .cw-shortcuts{gap:5px}.cw-agent-open .cw-composearea{padding:0 16px 14px}.cw-agent-open .cw-history{padding:18px 18px 0}
 .coach-desktop :is(.cw-navitem,.cw-profile,.cw-action,.cw-iconbutton,.cw-suggestions button,.cw-shortcuts button,.cw-attach,.cw-send):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
 @media(max-width:1199px){#cw-shell{grid-template-columns:224px minmax(0,1fr)}.cw-brand{padding:22px 17px}.cw-header{padding:16px 22px}.cw-personal{display:none}.cw-agent-open #cw-agent{position:absolute;inset:0 0 0 auto;width:360px;max-width:100%;z-index:25;box-shadow:-12px 0 30px rgb(0 0 0 / .08)}.cw-suggestions{gap:6px}.cw-suggestions button{flex-wrap:wrap;padding:12px}.cw-suggestions button>span{flex-basis:80%}body.coach-desktop .inbox-split{grid-template-columns:220px minmax(0,1fr);gap:12px}}
 @media(min-width:1600px){#cw-agent{width:400px}.cw-agent-open .inbox-split{grid-template-columns:260px minmax(0,1fr)}}
}

/* Overview: its container shrinks with the assistant, independently of the
   viewport. No styles below apply to the phone's existing home screen. */
@media(min-width:900px){
 body.coach-desktop #app>.ch-overview{padding:30px 32px 48px;background:color-mix(in srgb,var(--bg) 40%,var(--surface))}
 .ch-container{container-type:inline-size;max-width:1480px;margin:0 auto}
 .ch-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}
 .ch-welcome>div:first-child>div{padding:0!important}.ch-welcome h1{font-size:30px!important}
 .ch-welcome p{font-size:13px;color:var(--muted);margin-top:10px}
 .ch-actions{display:flex;align-items:center;gap:8px;flex:none}.ch-actions .btn{border-radius:9px;padding:9px 13px}
 .ch-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
 .ch-metric{display:flex;flex-direction:column;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--fg);text-decoration:none;min-width:0;transition:border-color .15s}
 .ch-metric:hover{border-color:var(--muted)}.ch-metriclabel{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.ch-metriclabel>span{margin-left:auto}.ch-metriclabel .i{width:16px;height:16px}
 .ch-metric strong{font-size:34px;font-weight:400;line-height:1.15;letter-spacing:-.04em;margin:14px 0 5px}.ch-metric small{font-size:11px;color:var(--muted)}
 .ch-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}
 .ch-column{display:flex;flex-direction:column;gap:22px;min-width:0}
 .ch-panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:20px;min-width:0;overflow-wrap:anywhere}
 .ch-panelhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.ch-panelhead h2{font-size:15px;font-weight:600;letter-spacing:-.015em;line-height:1.4}
 .ch-link{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);text-decoration:none;border:0;background:none;padding:3px 0;white-space:nowrap}.ch-link:hover{color:var(--fg);text-decoration:underline;text-underline-offset:3px}
 .ch-caption{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 15px}.ch-empty{font-size:13px;line-height:1.7;color:var(--muted);padding:14px 0}
 .ch-task{display:flex;align-items:center;gap:12px;padding:14px 0;color:var(--fg);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent)}
 .ch-task:last-child{border-bottom:0}.ch-taskicon,.ch-eventicon{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;color:var(--muted);flex:none}.ch-taskicon .i,.ch-eventicon .i{width:16px;height:16px}
 .ch-task-alert .ch-taskicon{background:color-mix(in srgb,var(--danger) 8%,var(--surface));color:var(--danger);border-color:transparent}.ch-task-alert .ch-tasktext>b{color:var(--danger)}
 .ch-tasktext{flex:1;min-width:0}.ch-tasktext>b,.ch-tasktext>small{display:block}.ch-tasktext>b{font-size:13px;font-weight:500;line-height:1.6}.ch-tasktext>small{font-size:11px;color:var(--muted);line-height:1.6;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .ch-task:hover .ch-tasktext>b,.ch-followup:hover b,.ch-event[href]:hover b,.ch-session:hover b{color:var(--accent-text)}
 .ch-waiting,.ch-group-messages{border-top:1px solid var(--line);margin-top:16px;padding-top:19px}.ch-waiting h3{font-size:12px;font-weight:600;margin:0 0 3px}.ch-waiting .ch-caption{font-size:11px;margin-bottom:9px}
 .ch-followup-row{display:flex;align-items:center;gap:10px}.ch-followup-row .ch-followup{flex:1;min-width:0}.ch-followup{display:flex;align-items:center;gap:10px;padding:11px 0;text-decoration:none;color:var(--fg)}.ch-followup .avatar{width:30px;height:30px;font-size:10px;flex:none}.ch-days{color:var(--muted);font-size:11px;white-space:nowrap}
 .ch-group-messages>.section-head{font-size:12px;letter-spacing:0;text-transform:none;margin:0 0 8px;color:var(--fg)}.ch-group-messages .listrow{padding:11px 0;text-align:left}.ch-group-messages .lr{min-width:0}.ch-group-messages .rowtext{min-width:0;flex:1}.ch-group-messages .rowtext>b,.ch-group-messages .rowtext>.muted{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ch-group-messages .rowmeta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}.ch-group-messages .lr{flex:1}.ch-group-messages .avatar{width:30px;height:30px;flex:none}.ch-group-messages b{font-size:13px}.ch-group-messages .muted{font-size:11px}
 .ch-event{display:flex;align-items:center;gap:12px;color:var(--fg);text-decoration:none;padding:12px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent)}.ch-event:last-child{border-bottom:0}.ch-eventicon{border:0;background:var(--bg);width:30px;height:30px;border-radius:50%}
 .ch-agenda-panel>.ch-caption{margin-top:-13px;font-size:11px}.ch-day{font-size:11px;font-weight:600;color:var(--muted);margin:16px 0 5px}.ch-day:first-child{margin-top:6px}
 .ch-session{display:flex;align-items:center;gap:14px;color:var(--fg);text-decoration:none;padding:13px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent)}.ch-session:last-child{border:0}
 .ch-time{font-size:13px;font-variant-numeric:tabular-nums;line-height:1.7;flex:none}.ch-time small{display:block;font-size:11px;color:var(--muted)}.ch-booked{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.ch-booked>span{color:var(--muted);font-size:11px}
 .ch-economy #home-month>.card{border:0;padding:0;margin:18px 0 0;border-radius:0}.ch-economy #home-month>.tabs{border-top:1px solid var(--line);padding-top:14px;margin:0!important}.ch-economy .tabs>span{font-size:12px;font-weight:500!important}.ch-economy .tabs>button{width:28px;height:28px;padding:0}.ch-economy .card__eyebrow{color:var(--muted);font-size:10px}
 .ch-economy #home-month h3{font-size:32px!important;margin-top:7px!important}.ch-economy #home-month p{font-size:12px;line-height:1.7;margin-top:12px!important}.ch-economy .statrow{max-width:none}.ch-economy .stat{padding:9px}
 .ch-notice{font-size:12px;color:var(--muted);line-height:1.7;background:var(--bg);border-radius:8px;padding:10px 12px;margin:10px 0}.ch-notice .ch-link{font:inherit;text-decoration:underline}
 .ch-instructor-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ch-instructor-stats>span{font-size:12px;color:var(--muted)}.ch-instructor-stats b{display:block;font-size:28px;font-weight:400;color:var(--fg);margin-bottom:4px}
 .ch-cohorts>.section-title:first-child{display:none}.ch-cohorts .card{padding:12px;margin-bottom:10px}.ch-cohorts .card:last-child{margin-bottom:0}.ch-cohorts .listrow{gap:12px}.ch-cohorts .pill{white-space:normal}
 .ch-news>.listrow{margin:0!important;width:100%;text-align:left}
 .ch-overview :is(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
 @container(min-width:720px){.ch-columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
 @container(max-width:719px){.ch-columns .ch-column{display:contents}.ch-column>.ch-panel,.ch-column>.ch-news{order:3}.ch-columns .ch-followups-panel{order:0}.ch-columns .ch-agenda-panel{order:1}.ch-columns .ch-economy{order:2}}
 @container(max-width:650px){.ch-welcome{align-items:flex-start;flex-direction:column;gap:16px}.ch-metrics{gap:8px}.ch-metric{padding:14px 12px}.ch-metriclabel{gap:6px}.ch-metriclabel .i{display:none}.ch-metric small{font-size:10px}.ch-metric strong{font-size:28px}}
}
