/* TWJ Web — Step 1 premium training shell, 2026-10-12.
 * Scoped to the existing TWJ page; no hidden controls or backend changes.
 */
:root{
  --bg:#0d0f14;--panel:#181b22;--panel2:#20242e;
  --line:#303745;--text:#f5f7fb;--muted:#a5afc0;
  --accent:#5286ff;--gold:#d8c890;color-scheme:dark
}
body{background:radial-gradient(ellipse at 85% 0%,#26385955,transparent 40%),var(--bg)}
.shell{padding-bottom:calc(105px + env(safe-area-inset-bottom));max-width:1080px}
.brand{padding:3px 0 13px;gap:11px}
.brandLogo{width:48px;height:48px}
.brand h1{font-size:20px}
.brand p{color:var(--muted);font-size:11px;line-height:1.4}
.topbar{padding:8px 0 10px}
.topbar .account{font-size:12px}
.card{background:var(--panel);border-color:var(--line);border-radius:18px}
.twj-step1-web .nav{background:#11151c;border-top:1px solid #303747;box-shadow:0 -7px 22px #0008}
.twj-step1-web .navIn{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;gap:2px!important;max-width:750px!important;padding:6px 0 max(5px,env(safe-area-inset-bottom))!important}
.twj-step1-web .nav button{
 width:100%!important;min-width:0!important;min-height:59px!important;height:auto!important;
 display:flex!important;flex-direction:column!important;justify-content:center;gap:4px!important;
 padding:5px 1px!important;border-radius:13px!important;
 border:0!important;background:transparent!important;color:var(--muted)!important;
 font-size:clamp(9px,2.6vw,11px)!important;font-weight:700!important;line-height:1.2!important;
 white-space:normal!important
}
.twj-step1-web .nav button.active{background:#243553!important;color:#83a6ff!important}
.twj-s1-nav-glyph{font-size:20px;line-height:1;font-weight:800}
.twj-s1-intro,.twj-s1-today-head{margin:4px 0 14px}
.twj-s1-intro h2,.twj-s1-today-head h2{font-size:31px!important;line-height:1.12;margin:6px 0 4px}
.twj-s1-intro p,.twj-s1-today-head p{font-size:13px;line-height:1.45}
.twj-s1-destinations{display:grid;gap:9px}
.twj-s1-destination{
 color:var(--text);background:var(--panel);border:1px solid var(--line);
 border-radius:16px;display:grid;grid-template-columns:45px minmax(0,1fr) 20px;gap:2px 12px;
 text-align:left;align-items:center;min-height:72px;padding:11px 13px;width:100%
}
.twj-s1-destination>span:first-child{
 grid-column:1;grid-row:1 / span 2;display:grid;place-items:center;
 height:43px;width:43px;border-radius:12px;background:#283b61;
 font-weight:800;font-size:23px;color:#92b5ff
}
.twj-s1-destination>strong{grid-column:2;grid-row:1;font-size:15px}
.twj-s1-destination>small{grid-column:2;grid-row:2;font-size:11px;color:var(--muted);line-height:1.45}
.twj-s1-destination>b{grid-column:3;grid-row:1 / span 2;color:#a1afc9;font-size:23px;font-weight:400}
.twj-s1-coach{margin-bottom:16px}
.twj-s1-compact{
 display:flex;gap:12px;align-items:center;width:100%;text-align:left;
 background:var(--panel);color:var(--text);border:1px solid #344564;
 border-radius:16px;padding:12px 14px;margin:8px 0 10px;min-height:70px
}
.twj-s1-compact-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:13px;background:#253963;color:#83a6ff;font-size:22px}
.twj-s1-compact>span:nth-child(2){min-width:0;display:grid;gap:2px;flex:1}
.twj-s1-compact strong{font-size:14px;overflow-wrap:anywhere}
.twj-s1-compact small{font-size:10px;color:var(--muted)}
.twj-s1-compact b{font-size:11px;white-space:nowrap;color:#9cbaff}
.twj-s1-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0 16px}
.twj-s1-quick button{min-height:44px;background:#1d2638;color:#bcd0ff;border:1px solid #334966;border-radius:12px;font-size:11px;font-weight:750;padding:7px}
.twj-s1-empty-compact,.twj-s1-synced{
 color:var(--muted);font-size:12px;line-height:1.5;margin:9px 0;padding:10px 12px;
 border-radius:12px;border:1px solid var(--line);background:var(--panel)
}
.twj-s1-synced span{color:#8fb2ff;margin-right:5px}
.twj-s1-pending{color:#d0d7e5}
.twj-s1-replaced{display:none!important}
.twj-step1-web .welcome{margin-top:12px}
.twj-step1-web .eyebrow{color:#91b4ff}
.twj-step1-web .primary{background:#4e80f7;color:#fff}
.twj-step1-web .primary:focus-visible,.twj-step1-web .nav button:focus-visible{outline:2px solid #8db4ff;outline-offset:2px}
.twj-step1-web .chip,.twj-step1-web .twjMetaChips span{background:#202a3e}
@media(max-width:680px){
 .twj-step1-web .shell{padding-left:12px!important;padding-right:12px!important}
 .twj-step1-web .topbar{gap:7px;align-items:center}
 .twj-step1-web .topActions .ghost{padding:7px 9px;min-height:40px;font-size:11px}
 .twj-s1-intro h2,.twj-s1-today-head h2{font-size:27px!important}
 .twj-s1-quick button{font-size:10px}
 .twj-step1-web .card{padding:12px!important}
}
@media(min-width:760px){
 .twj-s1-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}
 .twj-s1-quick{max-width:700px}
}
@media(prefers-reduced-motion:reduce){.twj-step1-web button{transition:none!important}}
