/* Aurora Deep uses the shared CSS/canvas palette. */
:root{--tc-paper:var(--panel)}
.deck-frame .deck-heading{font-size:calc(2.8*var(--u));font-weight:600;letter-spacing:-.025em;max-width:91%;line-height:1.15}
.deck-frame .deck-heading:after{content:'';display:block;width:calc(3.6*var(--u));height:calc(.16*var(--u));background:var(--plot-2);margin-top:calc(.8*var(--u))}
.deck-frame .deck-caption{font-size:calc(1.05*var(--u));line-height:1.35;top:88%;max-width:90%;color:var(--muted)}
.deck-frame .tc-state-text{top:23%;font-size:calc(1.6*var(--u));line-height:1.4}
.deck-frame .tc-state-stage{left:3%;width:54%;top:18%;height:64%}
.deck-frame .tc-state-name{font-size:var(--t-body);font-weight:700;left:5%;top:19%;letter-spacing:.05em}
.deck-frame .tc-state-rail{top:81%;left:5%;width:50%;padding-top:.5em;border-top:1px solid var(--detail)}
.deck-frame .tc-state-rail .active{color:var(--plot-2)}
.tc-liveplot svg text{font-weight:400}
.deck-frame .tc-open-title{top:27%;font-size:calc(4.6*var(--u));font-weight:600;letter-spacing:-.035em;max-width:70%;color:var(--fg)}
.deck-frame .tc-open-tag{top:14%;left:8%;font-size:calc(1.15*var(--u));letter-spacing:.18em;color:var(--accent)}
.deck-frame .tc-open-sub{top:65%;font-size:var(--t-body);max-width:75%;color:var(--accent)}
.deck-frame .tc-open-byline{top:82%;font-size:var(--t-caption);color:var(--muted)}
.tc-title-accent{position:absolute;left:8%;top:22%;width:calc(6*var(--u));height:calc(.3*var(--u));background:var(--plot-2)}
.tc-title-mol{position:absolute;right:3%;top:29%;width:29%;height:46%;object-fit:contain;mix-blend-mode:multiply;opacity:.65}
:root[data-theme=dark] .tc-title-mol{mix-blend-mode:normal;filter:invert(.85);opacity:.35}
.deck-footer{border-top:none;background:transparent}
.deck-footer a{opacity:.4}.deck-footer a.current{opacity:1}.deck-footer a.current b{color:var(--plot-2)}
.tc-bio-stage svg{overflow:visible}.deck-frame .tc-bio-caption{top:90%}

.deck-frame .tc-corr-plot{top:29%;height:50%}.deck-frame .tc-corr-stat strong{font-size:calc(3*var(--u));letter-spacing:-.025em}.deck-frame .tc-corr-stat{top:34%}

.deck-frame .deck-caption{pointer-events:none}.deck-frame .tc-rm-caption{top:92%;font-size:calc(.95*var(--u));pointer-events:none}.deck-frame .tc-rm-label{font-size:calc(1.35*var(--u));font-weight:600}.deck-frame .tc-rm-stage{top:18%;height:58%}

.tc-id-logo{background:transparent!important}.tc-id-logo img{mix-blend-mode:multiply}

:root[data-theme="dark"] .tc-id-logo img{filter:grayscale(1) invert(1);mix-blend-mode:screen}

/* Aurora Deep hierarchy; existing positions, dimensions and interaction logic are preserved. */
.deck-frame .deck-heading:after{background:var(--accent);opacity:.85}
.tc-id-rule{background:var(--accent)!important}
.tc-id-logo img{filter:grayscale(1) invert(1);mix-blend-mode:screen}
.tc-mi-lig{background:var(--panel)!important}
.tc-mi-route:first-child{border-color:var(--route-direct)}
.tc-mi-route:first-child>b{color:var(--route-direct)}
.tc-mi-route:last-child{border-color:var(--route-assisted)}
.tc-mi-route:last-child>b{color:var(--route-assisted)}
.tc-wf-card,.tc-card{background:var(--panel)!important;border-color:color-mix(in srgb,var(--accent) 40%,transparent)}
.tc-d5-state,.tc-d5-rail .active{color:var(--route-direct)!important}
.tc-a6-name,.tc-a6-rail .active{color:var(--route-assisted)!important}
.tc-chart-tabs button,.tc-rm-controls button,.tc-rm-controls select{border-color:var(--detail)}
.tc-chart-tabs button[aria-pressed=true]{box-shadow:none}
.tc-rm-states button.active{border-color:var(--accent);color:var(--fg);background:var(--panel)}
.deck-footer a{opacity:.7}.deck-footer a.current{opacity:1}.deck-footer a.current b{color:var(--accent)}

.tc-id-header .tc-id-logo img{filter:none!important;mix-blend-mode:normal!important}
.tc-id-header .tc-id-logo:not(.congress) img{filter:brightness(0) invert(1)!important}
.tc-id-header .tc-id-logo:not(.congress) img{filter:grayscale(1) invert(1) brightness(1.15)!important;mix-blend-mode:screen!important}
.tc-rg-a .tc-rg-title{color:var(--route-direct)}
.tc-rg-b .tc-rg-title{color:var(--route-assisted)}

.tc-cv-v6-key span:nth-child(4) b{color:var(--accent)}

/* Quiet structural signature, confined to the free lower-right cover area. */
.tc-cover-cartoon{position:absolute;left:58%;top:49%;width:41%;height:48%;pointer-events:none;overflow:hidden;mask-image:linear-gradient(135deg,transparent 0%,#000 24%,#000 92%,transparent 100%);-webkit-mask-image:linear-gradient(135deg,transparent 0%,#000 24%,#000 92%,transparent 100%)}

/* ---- Version alternativa: contrast and hierarchy -------------------------------------------------- */
/* Same Aurora Deep identity; the tokens are lifted to projector luminance and teal is reserved for the
   live element rather than spent on every heading (mirrors Deck.PALETTES in slides/style_v2.js). */
:root{--accent:#2DD4BF;--done:#2DD4BF;--muted:#9FB0C3;--detail:#64788F;
 --route-direct:#FBBF24;--route-assisted:#A78BFA;--route-keto:#2DD4BF;--correction:#FB7185;
 --plot-1:#2DD4BF;--plot-2:#FB7185;--plot-3:#FBBF24;--plot-4:#A78BFA;--plot-5:#9FB0C3;
 --mark:rgba(251,191,36,.26)}
.reveal-viewport{background:radial-gradient(120% 95% at 22% 10%,#111B33 0%,#0B1020 58%,#080C18 100%)}
.deck-frame .deck-heading{color:var(--fg);font-size:calc(2.6*var(--u));font-weight:600;letter-spacing:-.02em}
.deck-frame .deck-heading:after{background:var(--accent);opacity:1;width:calc(3.2*var(--u));height:calc(.2*var(--u))}
.deck-frame .deck-caption{color:var(--muted);opacity:.9}
.deck-footer a.current b{color:var(--accent)}
