/* ==========================================================================
   Studio inspector chrome — UX coherence program, backlog row 3.5
   (audit §1.8; mockup A8 "Design desktop": the right panel is the card stack,
   nothing above it). 2026-09-15.

   The right panel used to open with an "Inspector · Pro [switch]" header row
   and a tab strip with ONE visible tab ("Setup") — the other six tabs are
   parked (Design / Chart / Element / Canvas / Annotate / Motion, trigger hidden
   through `sp-config-root-tab--parked` in zz_studio_look.css). The FINE-TUNING
   card presented its reveal as a locked PRO feature ("FINE-TUNING · PRO",
   "🔒 Show fine-tuning" in an accent pill).

   This file is presentation only, every width (no media query):
   * the header row is hidden — the FINE-TUNING card's own reveal label
     (`.sp-ft-unlock`, a plain <label for="inspector-pro-toggle">) drives the
     very same Switch, so nothing becomes unreachable (P2). The Switch stays
     mounted with its id, its `persistence` and its clientside in page.py (the
     sole writer of #config-card's Simple/Pro class); a label activates a
     display:none checkbox natively. The ≤640 shell already hid this row.
   * the tab strip is hidden — one tab, nothing to switch to. The Tabs
     component, its seven values, the panels and every callback that reads
     `config-root-accordion` are untouched (D-1a, the Tabs retirement, is NOT
     in scope). The ≤640 shell already hid the strip.
   * the PRO badge and the lock glyph are gone; the reveal reads as a plain
     disclosure row ("Show fine-tuning ▾" / "Hide fine-tuning ▴"), the same
     grammar as the export drawer's collapsed "Advanced" (D-15). Which caption
     shows still follows #config-card's `sp-inspector-simple` / `-pro` class
     (zz_studio_finetuning.css, untouched).

   Cascade: "zz_studio_i" sorts after zz_new_content.css and
   zz_studio_finetuning.css, so an equal-specificity rule here wins on order;
   the one `!important` answers the strip's `display: grid !important`
   (zz_new_content.css `.sp-config-root-tabs-list`). No Dash id is introduced
   or targeted beyond the shell / panel / card roots.
   ========================================================================== */

/* ---- the "Inspector · Pro" header row ------------------------------------ */
#new-content-shell #workspace-right-panel .sp-guided-main-settings .mantine-Group-root:has(.sp-inspector-pro-switch) {
  display: none;
}

/* ---- the one-tab strip ---------------------------------------------------- */
#new-content-shell #config-card .sp-config-root-tabs-list {
  display: none !important;
}

/* ---- FINE-TUNING: no PRO badge, no lock ---------------------------------- */
:is(#new-content-shell, #editor-workspace-root) .sp-studio-card--finetuning .sp-studio-card-eyebrow::after {
  content: none;
}

:is(#new-content-shell, #editor-workspace-root) .sp-studio-card--finetuning .sp-ft-unlock-off::before {
  content: none;
}

/* ---- the reveal as a plain disclosure row -------------------------------- */
:is(#new-content-shell, #editor-workspace-root) .sp-studio-card--finetuning .sp-ft-unlock {
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--bc-border-soft);
  border-radius: 12px;
  background: transparent;
  color: var(--bc-text);
  font-weight: 600;
}

:is(#new-content-shell, #editor-workspace-root) .sp-studio-card--finetuning .sp-ft-unlock:hover {
  border-color: var(--bc-border);
  background: color-mix(in srgb, var(--bc-text) 4%, transparent);
  color: var(--bc-text);
}

:is(#new-content-shell, #editor-workspace-root) .sp-studio-card--finetuning .sp-ft-unlock-off,
:is(#new-content-shell, #editor-workspace-root) .sp-studio-card--finetuning .sp-ft-unlock-on {
  flex: 1;
  justify-content: space-between;
}

:is(#new-content-shell, #editor-workspace-root) .sp-studio-card--finetuning .sp-ft-unlock-off::after {
  content: "\25BE";
  font-size: 12px;
  line-height: 1;
  color: var(--bc-faint);
}

:is(#new-content-shell, #editor-workspace-root) .sp-studio-card--finetuning .sp-ft-unlock-on::after {
  color: var(--bc-faint);
}
