/* ENGINE ROOM Coaches Portal v2 (Gary's mockups, 9 Oct 2026)
   Black header band with the ✖. Huge Anton titles. Bold caps labels. Rounded 2px black inputs.
   Tile grids with one inverted tile. Red = act now. Green = open slot. No other colour. */
@font-face{font-family:Anton;src:url(/anton.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url(/inter-400.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url(/inter-700.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{--ink:#060606;--paper:#fff;--soft:#f4f4f4;--line:#d9d9d9;--muted:#6a6a6a;--red:#e5332a;--green:#2f9e44;
--head:Anton,Impact,'Arial Narrow',sans-serif;--copy:Inter,Helvetica,Arial,sans-serif;--label:'Arial Black',Arial,Helvetica,sans-serif;
color:var(--ink);background:var(--paper);font-family:var(--copy);font-synthesis:none;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}
button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}
[hidden]{display:none!important}.sprite{position:absolute;width:0;height:0;overflow:hidden}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.muted{color:var(--muted)}
/* ---- Header and ✖ menu ---- */
.topbar{position:sticky;top:0;z-index:20;height:88px;background:var(--ink);color:#fff;display:flex;align-items:center;gap:24px;padding:0 max(20px,calc((100% - 1100px)/2))}
.menu-toggle:disabled{cursor:default}
.menu-toggle{width:46px;height:46px;border:0;background:none;padding:4px;display:grid;place-items:center;flex:none}
.menu-toggle .x{width:38px;height:38px;fill:#fff;transition:transform .25s ease}
.menu-toggle[aria-expanded=true] .x{transform:rotate(45deg)}
.brand{font-family:var(--head);font-size:44px;line-height:1;letter-spacing:-.01em;text-decoration:none;color:#fff;white-space:nowrap;text-transform:uppercase}
.coach-menu{position:fixed;top:88px;left:0;right:0;bottom:0;z-index:19;background:#fff;overflow:auto;padding:26px max(34px,calc((100% - 1100px)/2 + 14px)) 40px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.coach-menu>button{border:0;background:none;padding:9px 0;font-family:var(--label);font-weight:900;font-size:17px;letter-spacing:.01em;text-align:left;color:var(--ink)}
.coach-menu>button:hover,.coach-menu>button.here{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:3px}
.menu-foot{margin-top:28px;display:flex;gap:18px;align-items:center;font-size:12px;color:var(--muted)}
.menu-foot button{border:0;background:none;padding:6px 0;font-family:var(--label);font-weight:900;font-size:12px;text-decoration:underline;color:var(--ink)}
body.menu-open{overflow:hidden}
/* ---- Page frame ---- */
main{padding:0 20px 60px}
.page{max-width:720px;margin:0 auto;padding-top:34px}
.page.wide{max-width:1100px}
.demo-banner{max-width:1100px;margin:14px auto 0;background:var(--soft);font-size:11px;line-height:1.6;padding:10px 14px}
.title{font-family:var(--head);font-weight:400;text-transform:uppercase;font-size:clamp(64px,20.5vw,124px);line-height:.88;letter-spacing:-.01em;margin:0 0 22px}
.title.small{font-size:clamp(34px,8vw,48px);line-height:1;margin:2px 0 0}
.sub-title{font-family:var(--head);font-weight:400;font-size:30px;line-height:1;margin:34px 0 6px;text-transform:uppercase}
.eyebrow{font-family:var(--label);font-weight:900;font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.lede{font-size:16px;line-height:1.5;margin:0 0 22px}
.hint{font-size:12px;color:var(--muted);line-height:1.5;margin:6px 0 10px}
.sync{font-size:11px;color:var(--muted);margin:14px 0 0}.sync.strong{font-family:var(--label);font-weight:900;font-size:10px;color:var(--ink);letter-spacing:.03em}
.standard{position:fixed;bottom:22px;left:0;right:0;text-align:center;font-size:11px;letter-spacing:.02em;margin:0}
.who{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:0 0 22px}
.who strong{display:block;font-size:17px;font-weight:700}
.who span{display:block;font-size:16px;margin-top:4px}
.month{border:0;background:none;padding:0;margin-top:4px;font-size:16px;font-family:var(--copy);appearance:none;-webkit-appearance:none;cursor:pointer;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line)}
/* ---- Buttons, chips, states ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 20px;border:2px solid var(--ink);border-radius:2px;background:var(--ink);color:#fff;font-family:var(--label);font-weight:900;font-size:12px;letter-spacing:.03em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.btn:hover{background:#2a2a2a}.btn:disabled{opacity:.45;cursor:not-allowed}
.btn.ghost{background:#fff;color:var(--ink)}.btn.ghost:hover{background:var(--soft)}
.btn.small{min-height:30px;padding:5px 12px;font-size:11px}
.state{font-family:var(--label);font-weight:900;font-size:12px;letter-spacing:.03em;color:#cfcfcf}.state.done{color:var(--ink)}
.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}.row.end{justify-content:flex-end}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 14px}
.chips button{min-height:36px;padding:6px 14px;border:2px solid var(--ink);border-radius:4px;background:#fff;font-family:var(--label);font-weight:900;font-size:11px;letter-spacing:.02em;text-transform:uppercase}
.chips button.on{background:var(--ink);color:#fff}
/* ---- Tiles ---- */
.tiles{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--ink);border-left:1px solid var(--ink)}
.tiles.three{grid-template-columns:repeat(3,1fr)}
.tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:16px 16px 14px;border:0;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);background:#fff;color:var(--ink);min-width:0}
button.tile{cursor:pointer}button.tile:hover{background:var(--soft)}
.tile span{font-family:var(--label);font-weight:900;font-size:12px;letter-spacing:.02em;text-transform:uppercase}
.tile strong{font-family:var(--head);font-weight:400;font-size:clamp(56px,16vw,82px);line-height:1;margin:6px 0 6px;letter-spacing:-.01em;white-space:nowrap}
.tile small{font-size:13px;line-height:1.3}
.tile.inv{background:var(--ink);color:#fff}button.tile.inv:hover{background:#222}

.tile .of{font-family:var(--copy);font-size:12px;margin-top:-2px;color:inherit;opacity:.75}
/* ---- Lists ---- */
.list{display:flex;flex-direction:column}
.item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:14px;align-items:center;width:100%;padding:10px 0;border:0;border-bottom:1px solid #eee;background:none;text-align:left}
button.item:hover{background:#fafafa}
.mark{width:40px;height:40px;background:var(--ink);display:grid;place-items:center;flex:none}
.mark svg{width:24px;height:24px;fill:#fff}
.item strong{display:block;font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.item .sub{display:block;font-size:12px;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tag{justify-self:end;font-family:var(--label);font-weight:900;font-size:11px;letter-spacing:.02em;text-transform:uppercase;padding-bottom:5px;border-bottom:4px solid #bdbdbd;white-space:nowrap}
.tag.red{border-bottom-color:var(--red)}.tag.ink{border-bottom-color:var(--ink)}.tag.none{border-bottom-color:transparent}
.coach-row .sub{white-space:normal}
.item .actions{display:flex;gap:8px;justify-self:end;flex-wrap:wrap;justify-content:flex-end}
.empty{text-align:center;color:var(--muted);font-size:13px;padding:30px 10px}
/* ---- Forms ---- */
.form{display:flex;flex-direction:column;gap:14px}
.field{display:flex;flex-direction:column;gap:6px;margin:0;border:0;padding:0;min-width:0}
.field>span{font-family:var(--label);font-weight:900;font-size:15px;letter-spacing:.01em;text-transform:uppercase}
.field.compact{max-width:360px;margin-bottom:14px}.field.compact>span{font-size:11px}
.field input,.field select,.field textarea,.phone select{width:100%;min-height:42px;border:2px solid var(--ink);border-radius:8px;background:#fff;padding:8px 12px;font-size:16px;color:var(--ink)}
.field select,.phone select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 12px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:32px}
.field input::placeholder,.field textarea::placeholder{color:#a3a3a3}
.field input[readonly]{background:var(--soft)}
.field textarea{resize:vertical;line-height:1.45}
.field small{align-self:flex-end;font-size:11px;color:var(--ink)}
.phone{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px}
.check{display:flex;gap:10px;align-items:center;font-size:13px}.check input{width:18px;height:18px}
.checks{display:flex;flex-wrap:wrap;gap:8px 16px;margin:4px 0 8px}
.notice{padding:12px 14px;font-size:13px;line-height:1.5;background:var(--soft);border-left:4px solid var(--ink);margin:0 0 14px}
.notice.error{border-left-color:var(--red);background:#fdeceb}
/* ---- Prospect ---- */
.person-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:-4px 0 22px}
.person-head strong{display:block;font-size:17px;font-weight:700;margin-bottom:4px}
.person-head span{display:block;font-size:16px;line-height:1.45;word-break:break-word}
.person-head .muted{font-size:13px;margin-top:4px}
.wa{width:86px;height:86px;flex:none;background:var(--ink);border-radius:16px;display:grid;place-items:center}
.wa svg{width:56px;height:56px;fill:#fff}
.wa.off{opacity:.25;pointer-events:none}
.bars{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0 10px}
.bars button{height:20px;border:0;background:transparent;padding:8px 0;position:relative}
.bars button::after{content:'';position:absolute;left:0;right:0;top:8px;height:4px;border-radius:2px;background:#d5d5d5}
.bars button.on::after{background:var(--ink)}
.steprow{display:grid;grid-template-columns:minmax(0,1fr) 42px;grid-template-rows:auto auto;column-gap:8px;align-items:center}
.steprow>span{border:2px solid var(--ink);border-radius:8px;min-height:42px;display:flex;align-items:center;padding:6px 14px;font-family:var(--label);font-weight:900;font-size:15px}
.steprow .box{width:42px;height:42px;border-radius:6px;background:var(--ink);display:grid;place-items:center}
.steprow .box svg{width:26px;height:26px;fill:#fff}
.steprow small{grid-column:1/-1;justify-self:end;font-size:11px;margin-top:4px}
.steprow.done small{font-weight:700}
.history{margin-top:24px;font-size:12px;color:var(--muted)}.history summary{cursor:pointer}.history p{margin:6px 0}
/* ---- Dashboards ---- */
.attline b{color:var(--ink)}
.coach-row .actions .btn{min-width:110px}
/* ---- Schedule (mockup 9 Oct 12:28) ---- */
.sched{padding-top:18px}
.sched-top{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:12px}
.toggle{display:flex;border:2px solid var(--ink)}
.toggle button{border:0;background:#fff;min-height:44px;min-width:62px;padding:0 14px;font-family:var(--label);font-weight:900;font-size:12px}
.toggle button.on{background:var(--ink);color:#fff}
.sched-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin:4px 0 10px}
.sstat{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border:2px solid var(--ink);background:#fff;font-family:var(--label);font-weight:900;font-size:13px;padding:4px 8px}
.sstat strong{font-family:var(--head);font-weight:400;font-size:26px;letter-spacing:0}
.sstat.open{border-color:var(--green)}.sstat.check{border-color:var(--red)}.sstat.qs{background:var(--ink);color:#fff}
.sched-grid{--slot-h:30px;display:grid;grid-template-columns:52px repeat(5,minmax(0,1fr));gap:3px}
.sched-grid .corner{display:block}
.day-head{background:var(--ink);color:#fff;text-align:center;font-family:var(--label);font-weight:900;font-size:12px;padding:5px 0}
.sched-grid .time{display:flex;align-items:center;justify-content:center;font-family:var(--label);font-weight:900;font-size:13px;margin-top:10px;border-right:2px solid var(--ink)}
.slot{height:var(--slot-h);min-width:0;padding:0 6px;border:1px solid #c9c9c9;background:#fff;font-size:12px;text-align:left;white-space:nowrap;overflow:hidden;line-height:1.1}
.slot span{display:block;overflow:hidden;text-overflow:ellipsis}
.slot.first{margin-top:10px}.slot .short{display:none}
.slot.open{border:2px solid var(--green);font-family:var(--label);font-weight:900;text-align:center;font-size:11px}
.slot.check{border:2px solid var(--red);font-family:var(--label);font-weight:900;text-align:center;font-size:11px}
.slot.check.expired{background:#fdeceb}
.slot:hover{outline:2px solid var(--ink);outline-offset:-2px}
.sched-days{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:6px 0}
.sched-days button{min-height:44px;border:2px solid var(--ink);background:#fff;font-family:var(--label);font-weight:900}
.sched-days button.on{background:var(--ink);color:#fff}
.day-hour h3{font-family:var(--head);font-weight:400;font-size:24px;border-bottom:2px solid var(--ink);margin:16px 0 0;padding-bottom:2px}
.sched-daylist .slot{height:auto;min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:15px;margin-top:6px;width:100%;white-space:normal;padding:8px 12px;text-align:left}
.slot .stag{font-size:10px;font-family:var(--label);font-weight:900;flex:none}
.slot-now{display:flex;flex-direction:column;gap:4px;font-family:var(--label);font-weight:900;font-size:10px;background:var(--soft);padding:10px 12px;margin:0 0 14px}
.slot-now strong{font-family:var(--copy);font-size:16px}
.slot-matches{display:flex;flex-direction:column;border:1px solid var(--line);margin-top:8px;max-height:260px;overflow:auto}
.slot-matches button{text-align:left;background:#fff;border:0;border-bottom:1px solid #eee;padding:12px;min-height:44px;font-size:15px;display:flex;justify-content:space-between;gap:8px}
.slot-matches button small{font-family:var(--label);font-weight:900;font-size:9px;padding-bottom:2px;border-bottom:3px solid var(--red)}
.slot-matches button:hover{background:var(--soft)}.slot-matches .hint{padding:12px;margin:0}
.slot-new{margin-top:10px;width:100%;text-align:left;background:#fff;border:2px solid var(--red);padding:12px;font-weight:700;font-size:14px;min-height:44px}
/* ---- Fred's Q's ---- */
.qs-list{display:flex;flex-direction:column;gap:12px}
.q-card{border:2px solid var(--ink);padding:12px 14px}.q-card.resolved{background:var(--soft)}
.q-head{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline;font-size:13px}
.q-head .q-id{background:var(--ink);color:#fff;font-family:var(--head);font-size:15px;padding:2px 8px}
.q-text{font-size:15px;line-height:1.5;margin:10px 0}
.q-card textarea{width:100%;border:2px solid var(--ink);border-radius:8px;padding:8px 10px;font-size:15px}
.q-card .row{margin-top:8px}.q-error{color:var(--red);font-size:12px}
/* ---- Dialogs, toast ---- */
dialog{border:0;padding:0;width:min(560px,calc(100% - 24px));max-height:92vh;box-shadow:0 30px 100px #0006}
dialog::backdrop{background:#000a}
.dialog-head{display:flex;justify-content:space-between;align-items:center;background:var(--ink);color:#fff;padding:14px 18px}
.dialog-head h2{font-family:var(--head);font-weight:400;font-size:30px;margin:0;line-height:1;text-transform:uppercase}
.close{border:0;background:none;width:40px;height:40px;display:grid;place-items:center}.close svg{width:24px;height:24px;fill:#fff}
.dialog-body{padding:18px;max-height:calc(92vh - 150px);overflow:auto;display:flex;flex-direction:column;gap:12px}
.dialog-foot{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid var(--line)}
#coach-reset{margin-right:auto}
.temp-password{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:26px;letter-spacing:2px;background:var(--soft);padding:14px;text-align:center;margin:4px 0;user-select:all}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:30;background:var(--ink);color:#fff;padding:14px 20px;font-size:13px;max-width:calc(100% - 32px);width:max-content;box-shadow:0 8px 30px #0004}
/* ---- Playbook (kept from Oct 2026, on the v2 type system) ---- */
.pb-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start;border-top:2px solid var(--ink);padding-top:30px}
.pb-toc{position:sticky;top:110px}.pb-toc ol{list-style:none;margin:12px 0 0;padding:0}.pb-toc li{border-bottom:1px solid var(--line)}.pb-toc a{display:block;padding:9px 0;font-family:var(--label);font-weight:900;font-size:12px;text-transform:uppercase;text-decoration:none}.pb-toc a:hover{text-decoration:underline}
.pb-section{padding:0 0 40px;margin-bottom:40px;border-bottom:1px solid var(--line);scroll-margin-top:110px;max-width:760px}.pb-section:last-child{border-bottom:0}
.pb-num{font-family:var(--head);font-size:18px;color:var(--muted)}
.pb-section h2{font-family:var(--head);font-weight:400;text-transform:uppercase;font-size:clamp(36px,6vw,54px);line-height:1;margin:4px 0 18px}
.pb-section h3{font-family:var(--head);font-weight:400;font-size:20px;text-transform:uppercase;margin:24px 0 8px}
.pb-section p,.pb-section li{font-size:16px;line-height:1.55}.pb-section p{margin:0 0 12px}.pb-section ul,.pb-section ol{margin:0 0 12px;padding-left:22px}.pb-section li{margin-bottom:6px}
.pb-standard{background:var(--ink);color:#fff;padding:16px 18px;font-weight:700}.pb-standard span{display:block;font-family:var(--head);font-weight:400;font-size:14px;color:#bdbdbd;text-transform:uppercase;margin-bottom:4px}
.pb-why{border-left:4px solid var(--ink);padding:2px 0 2px 16px;margin-top:22px}.pb-why h4{font-family:var(--head);font-weight:400;font-size:15px;text-transform:uppercase;margin:0 0 6px;color:var(--muted)}.pb-why p{margin:0}
.pb-section blockquote{margin:8px 0 14px;padding:12px 16px;background:var(--soft);font-style:italic}
.pb-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.pb-tile{background:var(--ink);color:#fff;padding:16px}.pb-tile h3{margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid #444;font-size:22px;color:#fff}.pb-tile ul{padding-left:18px;margin:0}.pb-tile li{font-size:14px;line-height:1.45}
.pb-close{font-family:var(--head);text-transform:uppercase;font-size:clamp(34px,5vw,48px);line-height:1;margin-top:28px!important}
@media(max-width:1000px){.pb-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* ---- Phones ---- */
@media(max-width:640px){
.topbar{height:76px;gap:18px}.coach-menu{top:76px;padding-left:34px}.brand{font-size:38px}.menu-toggle .x{width:34px;height:34px}
main{padding:0 16px 48px}.page{padding-top:24px}
.tile{padding:12px 12px 12px}.tile span{font-size:11px}.tile small{font-size:12px}
.tiles.three .tile strong{font-size:44px}
.item{grid-template-columns:36px minmax(0,1fr) auto;gap:10px}.mark{width:36px;height:36px}.mark svg{width:22px;height:22px}
.item .actions{grid-column:2/-1;justify-self:start}
.coach-row{grid-template-columns:36px minmax(0,1fr)}.coach-row .actions{grid-column:2;justify-self:start}
.coach-row .actions .btn{min-width:0}
.wa{width:72px;height:72px;border-radius:14px}.wa svg{width:46px;height:46px}
.sched-grid{grid-template-columns:40px repeat(5,minmax(0,1fr));gap:2px;--slot-h:26px}
.slot{font-size:10px;padding:0 2px}.slot .full{display:none}.slot .short{display:block}
.slot.open,.slot.check{font-size:9px}
.sched-grid .time{font-size:11px}.day-head{font-size:10px}
.sstat{font-size:11px;gap:6px}.sstat strong{font-size:22px}
.pb-layout{grid-template-columns:1fr;gap:24px}.pb-toc{position:static}.pb-tiles{grid-template-columns:1fr}
.standard{position:static;margin-top:60px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
