/* release 165: the Coaching Lab (hockey and soccer) in the shadcn/ui look: zinc surfaces, white cards with a thin border and a
   small shadow, 0.5rem controls, segmented tabs, and solid colours with one job each: blue = the primary action, the selected
   plan and your attacking side; dark zinc = the defending side. Club kits on the soccer pitch still win (set inline). */
body.csc{
  --c-bg:#fafafa; --c-panel:#fff; --c-panel2:#f4f4f5; --c-panel3:#e4e4e7;
  --c-ink:#09090b; --c-muted:#63636b; --c-line:#e4e4e7; --c-line2:#d4d4d8;
  --c-accent:#2563eb; --c-orange:#2563eb; --c-brown:#18181b;
  --c-good:#15803d; --c-bad:#dc2626; --c-warn:#b45309;
  --c-attack:#2563eb; --c-defend:#18181b;
  --sh-sm:0 1px 2px 0 rgb(0 0 0 / .05); --sh-ring:0 0 0 2px #fff,0 0 0 4px #93c5fd;
}
.csc .csc-eyebrow{color:#2563eb}
.csc h1{font-weight:600;letter-spacing:-.025em}
/* cards */
.csc .csc-bar,.csc .csc-panel,.csc .csc-rink-wrap,.csc .csc-results{border:1px solid #e4e4e7;border-radius:.75rem;background:#fff;box-shadow:var(--sh-sm)}
.csc details{border-color:#e4e4e7}
/* inputs */
.csc select,.csc input[type="number"],.csc input[type="search"],.csc input[type="text"]{min-height:2.25rem;border-radius:.5rem;border:1px solid #e4e4e7;background:#fff;color:#09090b;box-shadow:var(--sh-sm)}
.csc select:focus-visible,.csc input:focus-visible,.csc button:focus-visible,.csc a:focus-visible{outline:none;box-shadow:var(--sh-ring)}
.csc input[type="range"]{accent-color:#2563eb}
/* sport chips: outline buttons; the current sport is the solid dark one; a sport you can switch to is a blue outline link */
.csc .csc-sport{border-radius:.5rem;border-color:#e4e4e7;background:#fff;color:#63636b;box-shadow:var(--sh-sm)}
.csc .csc-sport.is-on{background:#18181b;border-color:#18181b;color:#fafafa}
.csc .csc-sports a.csc-sport{border-color:#bfdbfe;color:#1d4ed8;background:#eff6ff}
.csc .csc-sports a.csc-sport:hover,.csc .csc-sports a.csc-sport:focus-visible{background:#2563eb;border-color:#2563eb;color:#fff}
/* tabs (Attack / Defence, Tactics / Selected player) */
.csc .csc-tabs{background:#f4f4f5;border-radius:.5rem}
.csc .csc-tabs button{border-radius:.375rem;font-weight:500}
.csc .csc-tabs button[aria-selected="true"]{background:#fff;color:#09090b;box-shadow:0 1px 2px 0 rgb(0 0 0 / .08)}
/* plans: segmented, Plan A solid blue when chosen */
.csc .csc-plans button[role="tab"]{border-radius:.5rem;border-color:#e4e4e7;background:#fff;color:#63636b;font-weight:600}
.csc .csc-plans button[role="tab"][aria-selected="true"]{background:#2563eb;border-color:#2563eb;color:#fff}
.csc .csc-link{color:#2563eb}
/* buttons: outline secondary, solid blue primary */
.csc .csc-btn{border-radius:.5rem;font-weight:600;min-height:2.5rem;background:#18181b;border-color:#18181b;color:#fafafa;box-shadow:var(--sh-sm)}
.csc .csc-btn:hover:not(:disabled){background:#27272a}
.csc .csc-btn-ghost{background:#fff;border-color:#e4e4e7;color:#09090b}
.csc .csc-btn-ghost:hover:not(:disabled){background:#f4f4f5}
.csc .csc-run,.csc .csc-btn.csc-run{background:#2563eb;border-color:#2563eb;color:#fff}
.csc .csc-run:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}
/* badges and data chips */
.csc .csc-badge{border-radius:.375rem;background:#f4f4f5;color:#18181b;font-weight:600}
.csc .csc-q{border-radius:.375rem;font-weight:500}
.csc .csc-q-partly,.csc .csc-q-derived{background:#eff6ff;color:#1d4ed8}
.csc .csc-q-default{background:#f4f4f5;color:#63636b}
.csc .csc-r{border-top-color:#f4f4f5}
.csc .csc-r.is-used .csc-r-name{color:#2563eb}
/* tables and result bars */
.csc .csc-table th{color:#63636b;font-weight:500}
.csc .csc-table th,.csc .csc-table td{border-top-color:#f4f4f5}
.csc .csc-table td.is-clear{color:#15803d}
.csc .csc-bar-out{border-radius:.5rem;background:#f4f4f5}
.csc .csc-upgrade-btn{border-radius:.5rem}
/* what each tactic can do: Runs = solid blue (the simulator plays it), Start only = outline, Reference = muted */
.csc .csc-lvl{border-radius:.375rem;font-weight:600}
.csc .csc-lvl.csc-lvl-runs{background:#2563eb;color:#fff}
.csc .csc-lvl.csc-lvl-start{background:#fff;color:#18181b;box-shadow:inset 0 0 0 1px #e4e4e7}
.csc .csc-lvl.csc-lvl-reference{background:#f4f4f5;color:#63636b}
.csc .csc-titem:hover{background:#fafafa}
/* the simulator version badge */
.csc .csc-ver{border-radius:.5rem;background:#fff;border-color:#e4e4e7;color:#09090b;box-shadow:var(--sh-sm)}
.csc .csc-ver b{color:#2563eb}
.csc .csc-ver:hover{border-color:#2563eb;color:#2563eb}
.csc .csc-sports a.csc-ver{color:#09090b!important}
.csc .csc-sports a.csc-ver:hover{color:#2563eb!important}
