/* ============================================================================
   JC OS — the Studio look (v0.81, a trial). A second look beside Classic, chosen
   for the whole workspace in Settings › Look (web/look.ts); ?look=studio or ?look=classic on a
   signed-in address tries it for one visit.
   Nothing here applies unless <html data-look="studio">; delete this file and the
   link to it and Classic is exactly as it was.

   Flat and square like the gear and the DAW: hairlines for shadows, Geist for
   words and Geist Mono for figures and timecode, ink for the things you press,
   and one signal red kept for what is playing and what is late.
   Type: vercel/geist-font (SIL OFL 1.1, fonts/Geist-LICENSE.txt). Greys and the
   red follow radix-ui/colors (MIT): sand and red.
   ========================================================================== */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/fonts/Geist-Variable.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/fonts/GeistMono-Variable.woff2") format("woff2"); }

html[data-look="studio"] {
  --font-sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --signal: #E5484D;
  --bg: #F1F0EF; --bg-elev: #FCFCFB; --surface: #FCFCFB; --surface-2: #F6F5F4; --surface-3: #E9E8E6; --hover: #F1F0EF; --input: #FFFFFF;
  --rule: #E3E2DF; --rule-strong: #CFCECA;
  --ink: #1B1B19; --ink-2: #3D3D3A; --ink-3: #63635E; --ink-4: #9B9A94;
  --accent: #1B1B19; --accent-ink: #FCFCFB; --accent-text: #1B1B19; --accent-soft: rgba(27, 27, 25, 0.06); --accent-ring: rgba(27, 27, 25, 0.2); --accent-2: #63635E;
  --orange: #CE2C31; --orange-soft: #FEEBEC; --red: #CE2C31; --red-soft: #FEEBEC;
  --teal: #3D3D3A; --teal-soft: #E9E8E6; --violet: #3D3D3A; --violet-soft: #E9E8E6;
  --radius: 3px; --radius-sm: 2px; --radius-lg: 3px;
  --shadow: none; --shadow-lift: 0 0 0 1px var(--rule-strong); --shadow-pop: 0 14px 36px rgba(0, 0, 0, 0.16), 0 0 0 1px var(--rule-strong);
}
html[data-look="studio"][data-theme="dark"] {
  --signal: #FF6369;
  --bg: #111110; --bg-elev: #191918; --surface: #191918; --surface-2: #1F1F1E; --surface-3: #2A2A28; --hover: #222221; --input: #111110;
  --rule: rgba(255, 255, 255, 0.09); --rule-strong: rgba(255, 255, 255, 0.18);
  --ink: #EEEEEC; --ink-2: #B5B3AD; --ink-3: #8F8D86; --ink-4: #62605B;
  --accent: #EEEEEC; --accent-ink: #111110; --accent-text: #EEEEEC; --accent-soft: rgba(255, 255, 255, 0.07); --accent-ring: rgba(255, 255, 255, 0.24); --accent-2: #8F8D86;
  --orange: #FF6369; --orange-soft: rgba(255, 99, 105, 0.14); --red: #FF6369; --red-soft: rgba(255, 99, 105, 0.14);
  --teal: #B5B3AD; --teal-soft: #2A2A28; --violet: #B5B3AD; --violet-soft: #2A2A28;
  --shadow-pop: 0 18px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--rule-strong);
}

/* square, everywhere: corners, dots and round buttons alike */
html[data-look="studio"] body *, html[data-look="studio"] body *::before, html[data-look="studio"] body *::after { border-radius: 3px !important; }
html[data-look="studio"] body { font-feature-settings: normal; letter-spacing: -0.005em; }
html[data-look="studio"] h1, html[data-look="studio"] h2, html[data-look="studio"] h3 { font-weight: 600; letter-spacing: -0.03em; }
html[data-look="studio"] .page-head h1 { font-weight: 600; letter-spacing: -0.04em; }

/* figures, timecode and small labels in the fixed-width face */
html[data-look="studio"] :is(.kpi .v, .stat .value, .aud-foot, .lab-times, .listen-tile .n, .num, .mono, kbd, .tabs .n, .col .n) { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
html[data-look="studio"] :is(.kpi .v, .stat .value) { font-weight: 550; letter-spacing: -0.04em; }
html[data-look="studio"] :is(.eyebrow, .kpi .k, .stat .label, .field > label, .badge, .type, .chip) { font-family: var(--font-mono); letter-spacing: 0.04em; }
html[data-look="studio"] :is(.eyebrow, .kpi .k, .stat .label, .field > label) { font-weight: 500; }

/* no lifts, no glows, no washes */
html[data-look="studio"] :is(.btn, .kcard, .card, .pill, .aud-play):hover { transform: none; }
html[data-look="studio"] .btn { box-shadow: none; }
html[data-look="studio"] .btn:hover { background: var(--surface-3); border-color: var(--ink-3); }
html[data-look="studio"] .btn.is-primary:hover { background: var(--ink-2); border-color: var(--ink-2); filter: none; box-shadow: none; }
html[data-look="studio"] .kcard:hover { border-color: var(--ink-3); box-shadow: none; }
html[data-look="studio"] :is(.card.is-accent, .kpi.is-lead, a.kpi.is-lead:hover, .latest, .cm-comes, .cm-figures .is-lead) { background: var(--surface); }
html[data-look="studio"] .avatar { background: var(--surface-3); color: var(--ink); }
html[data-look="studio"] .sidebar .avatar { background: #2A2A28; color: #EEEEEC; }
html[data-look="studio"] .kpi .v.is-text { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.03em; }
html[data-look="studio"] .sidebar { background: #161615; }
html[data-look="studio"] :is(.input, .select, .textarea):focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--accent-ring); }

/* tags: outlined and quiet; the two song types told apart by fill, not by colour */
html[data-look="studio"] .badge { background: transparent; border-color: var(--rule-strong); color: var(--ink-2); }
html[data-look="studio"] .type.is-commercial { background: var(--ink); color: var(--bg-elev); }
html[data-look="studio"] .type.is-club { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
html[data-look="studio"] .seg button.is-on.is-commercial, html[data-look="studio"] .seg button.is-on.is-club { background: var(--ink); color: var(--bg-elev); }

/* the signal: what is playing, and what is late */
html[data-look="studio"] .aud { --aud-on: var(--signal); }
html[data-look="studio"] .aud-play:hover { box-shadow: none; background: var(--ink-2); }
html[data-look="studio"] .aud.is-waiting .aud-play::after { border-radius: 50% !important; border-top-color: var(--signal); }
html[data-look="studio"] .lab-head-line, html[data-look="studio"] .aud.is-wave .aud-knob { background: var(--signal); }
html[data-look="studio"] .due.is-late { box-shadow: none; }

/* ---- the pages outside the app: the front page, signing in, and the pages sent out. Flat ground, no light from the corners. */
html[data-look="studio"] body.front, html[data-look="studio"] .login, html[data-look="studio"] .splash { background: #111110; }
html[data-look="studio"] :is(body.front, .login, body.share) { font-family: var(--font-sans); font-feature-settings: normal; }
html[data-look="studio"] .share-top { background: #161615; }
html[data-look="studio"] body.listen, html[data-look="studio"] body.listen .share-top { background: #111110; }
html[data-look="studio"] body.listen .share-top { border-bottom-color: #2A2A28; }
html[data-look="studio"] body.listen .aud { --aud-on: #FF6369; --aud-off: #3A3A37; --aud-near: #7C7B74; background: #191918; border-color: #2A2A28; }
html[data-look="studio"] body.listen .listen-item { border-top-color: #2A2A28; }
html[data-look="studio"] .listen-item.is-playing .listen-n { background: #FF6369; color: #111110; }
html[data-look="studio"] body.listen .listen-n { background: #222221; font-family: var(--font-mono); }
html[data-look="studio"] body.listen .lab.is-simple { --surface: #191918; --surface-2: #111110; --surface-3: #2A2A28; --bg-elev: #111110; --ink: #EEEEEC; --ink-2: #B5B3AD; --ink-3: #8F8D86; --rule: #2A2A28; --rule-strong: #3A3A37; --accent-text: #FF6369; }
html[data-look="studio"] body.listen :is(.share-foot a, .listen-embed-foot a) { color: #EEEEEC; text-decoration: underline; text-underline-offset: 3px; }
/* on dark ground the things pressed are light */
html[data-look="studio"] .sidebar .nav-item.is-active .ico { color: #EEEEEC; }
html[data-look="studio"] body.front { --accent: #EEEEEC; --accent-ink: #111110; --accent-text: #EEEEEC; --accent-ring: rgba(255, 255, 255, 0.24); }
html[data-look="studio"] .front-eyebrow { color: #8F8D86; font-family: var(--font-mono); letter-spacing: 0.12em; font-weight: 500; }
html[data-look="studio"] .front-main h1 { font-weight: 600; letter-spacing: -0.05em; }
html[data-look="studio"] .front-main h1 em { color: #8F8D86; }
html[data-look="studio"] .front-go .btn.is-primary, html[data-look="studio"] .front-go .btn.is-primary:hover { box-shadow: none; transform: none; }
html[data-look="studio"] .front-now a:hover small { color: #EEEEEC; }
