/* apple.css — the Composer's light "Apple" look for the full tool (apple.js toggles html.ap). It re-points the
   tfm-kit tokens to a light palette, then softens what is dark by construction: glows become soft shadows, the
   sticky bars become frosted glass, filled buttons get white text. The constellation figures keep their own dark
   stage (cine.css scopes --c-* to .anim-frame.cine), so they read as product shots on a light page. */
html.ap{--ink:#1d1d1f;--soft:#515154;--faint:#6b6b70;--line:rgba(0,0,0,.1);--glass:#fff;
  --teal:#0066cc;--mint:#18794a;--gold:#a35200;--violet:#6e4bd8;--rose:#c42e60;--blue:#0066cc;--red:#d70015;
  --bg0:#fff;--bg1:#f5f5f7;--bg2:#f5f5f7;color-scheme:light}
html.ap body.tfm{background:#f5f5f7;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
html.ap .cmp-head-ico{background:#fff;border-color:var(--line);box-shadow:0 2px 8px rgba(0,0,0,.06);animation:none}
html.ap .cmp-k{color:var(--faint)}
html.ap select{background:#fff;color:var(--ink)}

/* cards: white, no borders, soft depth, more air */
html.ap .cmp-panel,html.ap .cmp-card,html.ap .cmp-sec{border-color:transparent;border-radius:20px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 30px -12px rgba(0,0,0,.12)}
html.ap .cmp-sec{padding:22px 24px}
html.ap .cmp-sec::before{display:none}
html.ap .cmp-foot,html.ap .cmp-rec,html.ap .ev-time li{background:#f5f5f7;border-color:transparent}

/* sticky bars: frosted glass */
html.ap .cmp-steps,html.ap .cmp-hud{background:rgba(255,255,255,.72);border-color:rgba(0,0,0,.08);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px)}
html.ap .cmp-hud{box-shadow:0 -6px 24px -12px rgba(0,0,0,.18)}
html.ap .cmp-nav,html.ap .cmp-sec .cmp-nav{background:linear-gradient(#fff 75%,transparent)}
html.ap .cmp-nav .cmp-arrow{background:#fff;box-shadow:0 0 12px 6px #fff}

/* controls: quiet grey pills; the chosen one is filled blue with white text */
html.ap .cmp-btn,html.ap .cmp-tab,html.ap .cmp-tune,html.ap .cmp-example,html.ap .cmp-arrow,html.ap .cmp-stepper button{background:#f5f5f7;border-color:transparent;box-shadow:none}
html.ap .cmp-tab:hover,html.ap .cmp-example:hover{box-shadow:0 4px 14px -6px rgba(0,0,0,.18)}
html.ap .cmp-tab[aria-pressed=true],html.ap .cmp-example[aria-pressed=true]{background:#1d1d1f;border-color:#1d1d1f;color:#fff;box-shadow:none}
html.ap .cmp-tab[aria-pressed=true]::after{display:none}
html.ap .cmp-step:hover{background:rgba(0,0,0,.04)}
html.ap .cmp-step[aria-current] .cmp-step-n,html.ap .cmp-tour-nav .next{background:var(--teal);border-color:var(--teal);color:#fff;box-shadow:none}
html.ap .cmp-hud-plan,html.ap .cmp-hud-plan b,html.ap .ch-go,html.ap .ch-head .ch-show,html.ap .cmp-advice .sev-warn i,html.ap .cmp-advice .sev-stop i{color:#fff}
html.ap .cmp-hud-plan,html.ap .ch-go,html.ap .ev-dl,html.ap .ch-head .ch-show{background:var(--teal);border-color:var(--teal);color:#fff}
html.ap .cmp-example[aria-pressed=true] i,html.ap .cmp-example[aria-pressed=true] .cmp-ex-n{color:rgba(255,255,255,.75)} html.ap .cmp-example[aria-pressed=true] .cmp-ex-n b{color:#fff}
html.ap .cmp-tour-btn{border-color:var(--teal);color:var(--teal)} html.ap .cmp-tour-btn:hover{background:rgba(0,113,227,.08)}
html.ap .cmp-tour-tip{border-color:transparent;box-shadow:0 20px 50px rgba(0,0,0,.25)}
html.ap .cmp-tour-hole{box-shadow:0 0 0 200vmax rgba(0,0,0,.45),0 0 0 2px var(--teal)}

/* the dark theme's light reds and translucent whites, redone for a white ground */
html.ap .cmp-plan dd em,html.ap .cmp-hud b.bad,html.ap .cmp-impact .up,html.ap .ch-note.err,html.ap .ev-no b,html.ap .ev-kpi.ev-neg b,html.ap .cmp-conf-x b{color:var(--red)}
html.ap [data-health=stop] .cmp-dot,html.ap .cmp-advice .sev-stop i{background:var(--red)}
html.ap .ev-no{border-color:var(--red);background:rgba(215,0,21,.05)}
html.ap .cmp-advice li i,html.ap .ev-bar,html.ap .ev-dot-t{background:rgba(0,0,0,.06)}
html.ap .ch-vs{background:linear-gradient(90deg,rgba(209,56,106,.07),transparent 45%,transparent 55%,rgba(29,138,78,.07))}

/* the figures follow the light look: a pale stage, dark ink, deeper tones (cine.css keeps its own --c-* scope) */
html.ap .anim-frame.cine{--c-bg0:#fff;--c-bg1:#f5f5f7;--c-bg2:#eaf1f4;--c-ink:#1d1d1f;--c-ink-soft:#515154;--c-ink-faint:#6b6b70;
  --c-line:rgba(0,0,0,.14);--c-glass:rgba(255,255,255,.92);--c-teal:#0a7f86;--c-blue:#0066cc;--c-gold:#a35200;--c-violet:#6e4bd8;--c-rose:#c42e60;--c-mint:#18794a;--c-red:#d70015;
  --line:rgba(0,0,0,.12);--line-strong:rgba(0,0,0,.2);color-scheme:light;border-color:rgba(0,0,0,.08);border-radius:20px;box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 30px -12px rgba(0,0,0,.12)}
html.ap .anim-frame.cine figcaption,html.ap .anim-frame.cine .anim-scrub-wrap{background:#fafafa;border-color:rgba(0,0,0,.08)}
html.ap .anim-frame.cine .anim-btn,html.ap .anim-frame.cine .anim-speed{border-color:rgba(0,0,0,.18)}
html.ap .anim-frame.cine .anim-btn:hover{background:#f0f0f2}
html.ap .cmp-slide input,html.ap input[type=range]{accent-color:var(--teal)}
