/* A quieter, more spacious app shell. Existing theme preference is respected. */
:root{--body:"Archivo","Helvetica Neue",Arial,sans-serif;--shadow:0 6px 26px -18px rgba(18,22,28,.22)}
body{line-height:1.6}.top-inner,.main,.nav-inner{max-width:1180px}.main{padding-top:32px}.top{background:var(--surface)}.top-inner{padding-block:18px}.brand{font-size:24px;letter-spacing:-1px}.card,.list,.focus-card,.pcard,.more{border-radius:16px}.card{padding:24px}.btn{border-radius:9px;min-height:44px}.section-title{border-bottom-style:solid}.li{padding:18px}.head h1{font-size:clamp(28px,5vw,42px)}.head{padding-bottom:10px}.nav a{letter-spacing:.025em;font-family:var(--display);text-transform:none;font-size:13px}.journey{display:flex;flex-direction:column;gap:30px}.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.journey-heading h1{font-size:clamp(30px,4.5vw,48px);letter-spacing:-.045em;margin:8px 0 12px}.journey-heading p:not(.eyebrow){color:var(--ink-soft);font-size:15px}.journey-tabs{display:flex;gap:8px;overflow-x:auto;border-bottom:1px solid var(--rule);padding-bottom:12px}.journey-tabs a{white-space:nowrap;text-decoration:none;padding:10px 18px;border-radius:9px;font-size:14px;color:var(--ink-soft)}.journey-tabs a[aria-current]{background:var(--ink);color:var(--surface)}.journey-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.3fr 1fr;gap:20px;overflow:hidden;border-radius:22px;background:#171d22;color:#fff;padding:44px;min-height:310px;align-items:center}.journey-hero h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.035em;max-width:16ch;margin:18px 0}.journey-hero p{color:#c5cbd0;max-width:48ch;font-size:15px}.journey-hero .eyebrow{color:#ed9d91}.journey-hero .row{margin-top:24px}.journey-hero .primary{background:#d64336;color:white;border-color:#d64336}.journey-status{font-size:12px;color:#d4d9dd}.journey-court{height:245px;position:relative;transform:rotate(-12deg);border:1px solid #64717a;border-radius:2px;background:linear-gradient(90deg,transparent 49.7%,#64717a 49.7%,#64717a 50.3%,transparent 50.3%);opacity:.7;margin:0 -80px 0 35px}.journey-court:before,.journey-court:after{content:"";position:absolute;left:0;right:0;height:1px;background:#64717a;top:32%}.journey-court:after{top:68%}.journey-court i{position:absolute;width:20px;height:20px;border-radius:50%;background:#e46752;top:38%;left:33%;box-shadow:0 0 48px #e4675266}.journey-court span{position:absolute;bottom:16px;left:22px;font-size:10px;letter-spacing:.24em;line-height:2.2}.journey-court b{font-size:15px;letter-spacing:.1em}.journey-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.journey-shortcuts>a{display:flex;flex-direction:column;gap:16px;border:1px solid var(--rule-soft);border-radius:16px;padding:23px;text-decoration:none;background:var(--surface);transition:transform .16s,border-color .16s}.journey-shortcuts>a:hover{transform:translateY(-3px);border-color:var(--accent)}.journey-shortcuts .eyebrow{display:flex;justify-content:space-between}.journey-shortcuts h3{font-size:19px;letter-spacing:-.02em}.journey-shortcuts p{font-size:12px;color:var(--ink-soft)}.journey-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:26px;align-items:start}.journey-section{display:flex;align-items:center;justify-content:space-between;gap:16px}.journey-section h2{font-size:22px;letter-spacing:-.025em}.journey-section>a{font-size:12px;color:var(--ink-soft)}.journey-focus{background:var(--surface);border:1px solid var(--rule-soft);border-radius:18px;padding:30px;display:flex;flex-direction:column;gap:20px;border-top:3px solid var(--accent)}.journey-focus h2{font-size:28px;letter-spacing:-.03em;line-height:1.2}.journey-focus>p:not(.eyebrow){font-size:14px;color:var(--ink-soft)}.journey-timeline{display:flex;flex-direction:column;gap:12px}.journey-session{display:flex;align-items:center;gap:18px;padding:23px;border:1px solid var(--rule-soft);background:var(--surface);border-radius:14px;text-decoration:none}.journey-session>div{flex:1;min-width:0}.journey-session h3{font-size:18px;margin:12px 0 7px}.journey-session p:not(.journey-meta){font-size:12px;color:var(--ink-soft)}.journey-session-dot{width:9px;height:9px;background:var(--accent);border-radius:50%;flex-shrink:0;box-shadow:0 0 0 5px var(--accent-soft)}.journey-meta{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:11px;color:var(--ink-soft);flex-wrap:wrap}.journey-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.journey-note{padding:25px;border:1px solid var(--rule-soft);border-radius:16px;background:var(--surface);display:flex;flex-direction:column;gap:22px}.journey-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.75}.journey-empty{width:100%;padding:34px 24px;border:1px dashed var(--rule);border-radius:16px;display:flex;flex-direction:column;gap:13px;align-items:flex-start;grid-column:1/-1}.journey-empty h3{font-size:20px}.journey-empty p{font-size:14px;color:var(--ink-soft);max-width:55ch}.journey-mark{font-size:24px;color:var(--accent)}.journey-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.journey-media{margin:0;border:1px solid var(--rule-soft);border-radius:16px;background:var(--surface);overflow:hidden}.journey-media video,.journey-media img{display:block;width:100%;aspect-ratio:16/10;object-fit:contain;background:#171d22}.journey-media figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;font-size:12px;color:var(--ink-soft)}.journey-media b{font-size:14px;color:var(--ink);overflow-wrap:anywhere}.journey-compose{gap:14px}.journey-compose textarea{min-height:165px}.journey-upload{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px dashed var(--rule);border-radius:12px;background:var(--ground)}.journey-upload span{font-size:12px;color:var(--ink-soft)}.journey-upload input{max-width:100%;font-size:12px}.journey-compose progress{width:100%;accent-color:var(--accent)}.journey-staff summary{font-size:14px}.journey-staff .row{padding-top:20px}.journey input,.journey select,.journey textarea{border-radius:9px}.journey h1,.journey h2,.journey h3{overflow-wrap:anywhere}
@media(min-width:900px){body{display:flex;flex-direction:column;min-height:100vh}.top{order:0}.nav{order:1;top:75px}.demobar{order:2}.main{order:3;width:100%}.toast{order:4}.nav-inner{justify-content:flex-start}.nav a{padding:14px 24px}.main{padding-inline:32px;padding-bottom:80px}}
@media(max-width:760px){.journey{gap:23px}.journey-heading{align-items:flex-start;flex-direction:column}.journey-heading>.btn{align-self:flex-start}.journey-hero{padding:28px;min-height:290px;grid-template-columns:1fr}.journey-hero>div:first-child{z-index:1}.journey-court{position:absolute;right:-125px;width:260px;opacity:.18}.journey-shortcuts{grid-template-columns:repeat(2,1fr);gap:10px}.journey-shortcuts>a{padding:18px;gap:12px}.journey-shortcuts h3{font-size:18px}.journey-columns{grid-template-columns:1fr}.journey-notes{grid-template-columns:1fr}.journey-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-tabs{gap:2px}.journey-tabs a{padding:10px 13px}.journey-section h2{font-size:20px}.journey-focus{padding:24px}.journey-session{padding:18px}.card{padding:20px}}
@media(max-width:420px){.journey-gallery{grid-template-columns:1fr}.journey-meta{font-size:10px}.journey-section{flex-wrap:wrap}.journey-hero h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.journey-shortcuts>a{transition:none}}
.workspace-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;margin-bottom:26px;background:var(--surface);border:1px solid var(--rule);border-left:4px solid var(--accent);border-radius:16px}.workspace-entry h2{font-size:24px;margin:6px 0}.workspace-entry p{font-size:14px;color:var(--ink-soft)}.workspace-player{text-decoration:none}.workspace-player:hover{border-color:var(--accent)}.workspace-subhead{margin:28px 0 16px;font-size:22px}.journey-tabs button[aria-pressed=true]{background:var(--ink);color:var(--surface)}#ws-content form textarea{min-height:100px}#ws-content form[data-complete],#ws-content form[data-review]{display:flex;flex-direction:column;gap:12px}@media(max-width:600px){.workspace-entry{align-items:flex-start;flex-direction:column}}


/* Connected player timeline */
.history-launch{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:0 0 1.25rem}.history-launch span{color:var(--ink-soft);font-size:.875rem}.lab-history{max-width:1100px;margin:auto}.history-status{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.75rem;margin:1rem 0 1.5rem}.history-source{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;padding:1rem;border:1px solid var(--rule);border-radius:12px}.history-source span{font-size:.875rem;color:var(--ink-soft)}.history-warning{border-color:#b9904c}.history-controls{display:grid;grid-template-columns:2fr 1fr;gap:1rem;margin-bottom:1rem}.history-controls label{display:grid;gap:.5rem;font-size:.875rem}.history-controls input,.history-controls select{min-width:0;width:100%;font-size:1rem}.history-entry{display:grid;grid-template-columns:140px minmax(0,1fr);gap:1rem;padding-bottom:1.25rem}.history-date{display:flex;flex-direction:column;gap:.5rem;padding-top:1.2rem;font-size:.875rem}.history-date span{color:var(--ink-soft)}.history-card{min-width:0;background:var(--surface);border:1px solid var(--rule);border-left:3px solid var(--accent,#c3e779);border-radius:12px;padding:1.25rem}.history-card h3{font-size:1.2rem;margin:.75rem 0}.history-copy{overflow-wrap:anywhere;line-height:1.65;max-height:20rem;overflow:auto}.history-media{margin:1rem 0;display:grid;gap:.6rem}.history-media video,.history-media img{display:block;max-height:440px;width:100%;object-fit:contain;background:#090d10;border-radius:8px}.history-duplicate{padding:.7rem;border:1px solid #b9904c;border-radius:8px;font-size:.875rem}.lab-history section>h2{font-size:1.25rem;margin:2rem 0 1rem}.history-card .journey-meta{flex-wrap:wrap}
@media(max-width:600px){.history-controls{grid-template-columns:1fr}.history-entry{grid-template-columns:1fr;gap:.5rem}.history-date{flex-direction:row;justify-content:space-between;padding-top:0}.history-card{padding:1rem}.history-source{min-width:0}.lab-history .journey-heading h1{font-size:2rem}}

.history-answers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.history-answers>div{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:var(--surface);border:1px solid var(--rule);border-radius:12px}.history-answers span{font-size:.68rem;letter-spacing:.1em;color:var(--ink-soft)}.history-answers b{font-size:.95rem;line-height:1.35}.history-controls{align-items:end}.history-controls .chips{display:flex;gap:.4rem;overflow:auto}.history-controls .chip{white-space:nowrap}.history-entry.private .history-card{border-left-color:#efc47e;background:linear-gradient(100deg,rgba(239,196,126,.08),var(--surface) 35%)}
@media(max-width:760px){.history-answers{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Coach Today: one clear next action, with secondary tools kept within reach. */
.coach-today{max-width:1120px;margin:auto}.coach-command{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;padding:1.25rem 0}.coach-command h1{font-size:clamp(2rem,6vw,3.6rem);line-height:1;max-width:700px;margin:.3rem 0}.coach-command p{max-width:620px;margin-bottom:0}.coach-refresh{flex:none}.coach-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;padding:1rem 0}.coach-actions a{display:grid;gap:.2rem;min-width:0;padding:1rem;border:1px solid var(--rule);border-radius:14px;text-decoration:none;background:var(--surface)}.coach-actions a:hover,.coach-actions a:focus-visible{border-color:var(--accent,#c3e779);transform:translateY(-1px)}.coach-actions a span{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-soft)}.coach-actions a b{font-size:1rem}.coach-actions a small{font-size:.78rem;line-height:1.3;color:var(--ink-soft)}.coach-actions a.assign{background:var(--accent,#c3e779);border-color:var(--accent,#c3e779);color:var(--accent-ink)}.coach-actions a.assign span,.coach-actions a.assign small{color:var(--accent-ink)}.coach-more-tools{margin:0 0 1.1rem;border-bottom:1px solid var(--rule);padding-bottom:1rem}.coach-more-tools summary{width:max-content;cursor:pointer;color:var(--ink-soft);font-size:.9rem}.coach-more-tools>div{display:flex;flex-wrap:wrap;gap:.9rem;padding:.85rem 0 0}.coach-more-tools a{font-size:.9rem}.coach-pulse{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem;margin:0 0 1rem}.coach-pulse button{display:flex;align-items:baseline;gap:.6rem;text-align:left;padding:.8rem .9rem;background:transparent;color:inherit;border:1px solid var(--rule);border-radius:10px}.coach-pulse button:not(:disabled){cursor:pointer}.coach-pulse button:not(:disabled):hover{background:var(--surface)}.coach-pulse strong{font-size:1.55rem;line-height:1;color:var(--accent,#c3e779)}.coach-pulse span{font-size:.8rem;color:var(--ink-soft)}.coach-workspace-bar{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:.75rem;align-items:center;padding:.8rem;background:var(--surface);border:1px solid var(--rule);border-radius:12px}.coach-workspace-bar input{width:100%;min-width:0;font-size:1rem}.coach-filter-row{display:flex;gap:.35rem;overflow:auto}.coach-filter-row .btn{padding:.55rem .75rem}.coach-filter-row [aria-pressed=true]{border-color:var(--accent,#c3e779);color:var(--accent,#c3e779);background:var(--accent-soft)}.coach-systems{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.7rem .2rem;font-size:.8rem;color:var(--ink-soft)}.coach-systems i{display:inline-block;width:.5rem;height:.5rem;margin-right:.45rem;border-radius:50%;background:var(--ok)}.coach-warning{color:var(--warn)}.coach-queue-head{margin-top:1.1rem}.coach-queue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.coach-work{position:relative;min-width:0;padding:1rem;background:var(--surface);border:1px solid var(--rule);border-radius:12px}.coach-work.urgent{border-left:3px solid var(--warn)}.coach-work-top{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.coach-work-top>div{display:flex;flex-wrap:wrap;gap:.4rem}.coach-work-top time{font-size:.8rem;color:var(--ink-soft);white-space:nowrap}.coach-priority{padding:.25rem .5rem;border-radius:999px;font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;border:1px solid var(--rule)}.coach-priority.review,.coach-priority.overdue{border-color:var(--warn);color:var(--warn)}.coach-priority.today{border-color:var(--accent,#c3e779);color:var(--accent,#c3e779)}.coach-work h3{font-size:1.12rem;margin:.45rem 0}.coach-work .row{gap:.45rem}.coach-work .btn{padding:.55rem .75rem}.coach-inline{margin-top:1rem;border-top:1px solid var(--rule);padding-top:1rem}.coach-more{margin:1rem auto;display:block}.coach-today-entry{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin:0 0 1rem;padding:1.1rem 1.25rem;border:1px solid var(--accent,#c3e779);background:linear-gradient(110deg,rgba(195,231,121,.12),transparent 65%);border-radius:12px}.coach-today-entry h2,.coach-today-entry p{margin:.2rem 0}.coach-today-entry .btn{white-space:nowrap}
@media(max-width:760px){.coach-command{align-items:flex-start}.coach-command>div{min-width:0}.coach-command p{font-size:.95rem}.coach-refresh{padding:.55rem .7rem}.coach-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.coach-actions a{padding:.85rem}.coach-actions a small{display:none}.coach-pulse{display:flex;overflow:auto;padding-bottom:.25rem;scroll-snap-type:x proximity}.coach-pulse button{flex:0 0 auto;min-width:126px;scroll-snap-align:start}.coach-workspace-bar{grid-template-columns:1fr;padding:.65rem}.coach-queue{grid-template-columns:1fr}.coach-today-entry{align-items:flex-start;flex-direction:column}.coach-today-entry .btn{width:100%;text-align:center}.coach-systems{align-items:flex-start;flex-direction:column}.coach-queue-head{align-items:flex-end}}
@media(max-width:420px){.coach-command h1{font-size:2.25rem}.coach-actions{gap:.5rem}.coach-actions a b{font-size:.92rem}.coach-filter-row{margin:0 -.1rem;padding-bottom:.15rem}.coach-work-top{gap:.5rem}}
