/* Talent5 4.0 — responsive theme engine. No external fonts or scripts required. */
html{--t5-bg:#100d1a;--t5-surface:#201a2d;--t5-card:#29213a;--t5-text:#f8f5ff;--t5-muted:#bcb0cd;--t5-accent:#a979ff;--t5-border:#49375d;--t5-glow:rgba(151,92,246,.22);color-scheme:dark}
html[data-theme="nebula"]{--t5-bg:#100b1b;--t5-surface:#20152f;--t5-card:#2b1d40;--t5-accent:#ae7bff;--t5-glow:rgba(165,99,255,.28)}
html[data-theme="midnight"]{--t5-bg:#090f1c;--t5-surface:#121e32;--t5-card:#1c2b44;--t5-accent:#76a9ff;--t5-border:#304461;--t5-glow:rgba(66,132,255,.18)}
html[data-theme="aurora"]{--t5-bg:#071c1b;--t5-surface:#102b28;--t5-card:#193b36;--t5-accent:#58e0b0;--t5-border:#2c5750;--t5-glow:rgba(61,211,157,.18)}
html[data-theme="ocean"]{--t5-bg:#061724;--t5-surface:#102a3c;--t5-card:#17394c;--t5-accent:#52d5ef;--t5-border:#31576b;--t5-glow:rgba(62,196,235,.20)}
html[data-theme="sunset"]{--t5-bg:#221018;--t5-surface:#361c29;--t5-card:#482637;--t5-accent:#ff9b80;--t5-border:#6a3e4c;--t5-glow:rgba(255,118,128,.2)}
html[data-theme="minimal"]{--t5-bg:#f5f7fc;--t5-surface:#ffffff;--t5-card:#edf1f9;--t5-text:#172238;--t5-muted:#52627b;--t5-accent:#526cf5;--t5-border:#d9e1ee;--t5-glow:rgba(70,97,221,.08);color-scheme:light}
html[data-theme="editorial"]{--t5-bg:#f7f3eb;--t5-surface:#fffdf8;--t5-card:#f0e9de;--t5-text:#2d2b29;--t5-muted:#736c63;--t5-accent:#a66544;--t5-border:#ded2c4;--t5-glow:rgba(152,101,61,.08);color-scheme:light}
html body{background:radial-gradient(ellipse at 78% 3%,var(--t5-glow),transparent 40%),var(--t5-bg)!important;color:var(--t5-text)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}
html header,html footer{border-color:var(--t5-border)!important}html header nav{gap:14px}html header nav a{padding:8px 10px;border-radius:9px;transition:background .2s}html header nav a:hover{background:var(--t5-card)}
html a:not(.button):not(.navbtn):hover{color:var(--t5-accent)}
html .logo span,html .purple,html .eyebrow,html h1 em{color:var(--t5-accent)!important}
html .panel,html .listcard,html .tiles article,html .install{background:var(--t5-surface)!important;border:1px solid var(--t5-border)!important;box-shadow:0 12px 45px rgba(0,0,0,.07)}
html .panel p,html .tiles p,html .dashboard>p,html .hero>p,html .muted,html .listcard p,html footer,html label{color:var(--t5-muted)!important}
html .button,html .navbtn,html button:not(.t5-outline){background:var(--t5-accent)!important;color:var(--t5-bg)!important;border-radius:12px;transition:transform .2s,filter .2s}html button:hover,html .button:hover{filter:brightness(1.12);transform:translateY(-1px)}
html input,html select,html textarea{background:var(--t5-surface)!important;border:1px solid var(--t5-border)!important;color:var(--t5-text)!important}html input:focus-visible,html button:focus-visible,html a:focus-visible{outline:3px solid var(--t5-accent);outline-offset:2px}
html .button.secondary{background:var(--t5-card)!important;color:var(--t5-text)!important;border-color:var(--t5-border)!important}
html .cd-stat,html .cd-panel,html .td-highlight,html .bd-card,html .bd-stat,html .cd-entry,html .cd-hero,html .cd-quick{background:var(--t5-surface)!important;border-color:var(--t5-border)!important;color:var(--t5-text)!important}
html .cd-stat strong,html .cd-panel h2,html .cd-entry b,html .bd-stat strong{color:var(--t5-text)!important}
html .cd-stat span,html .cd-stat small,html .cd-entry small{color:var(--t5-muted)!important}
html[data-theme="minimal"] .hero h1,html[data-theme="editorial"] .hero h1{color:var(--t5-text)}
html[data-theme="minimal"] .logo,html[data-theme="editorial"] .logo{color:var(--t5-text)}
html[data-theme="minimal"] header nav,html[data-theme="editorial"] header nav{color:var(--t5-text)}
html[data-theme="minimal"] .t5-theme-main h1,html[data-theme="editorial"] .t5-theme-main h1{color:var(--t5-text)}
.t5-theme-main{max-width:1250px;margin:auto}.t5-theme-main>h1{font-size:clamp(36px,6vw,68px);letter-spacing:-2px;margin:14px 0}.t5-theme-main>p{color:var(--t5-muted);max-width:760px}.t5-theme-form{display:block;margin-top:35px}.t5-theme-form h2{margin:36px 0 18px}.t5-theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:15px}.t5-theme-option{cursor:pointer;background:var(--t5-surface);border:2px solid var(--t5-border);border-radius:20px;padding:12px;display:flex;gap:7px;flex-direction:column;transition:transform .2s,border-color .2s}.t5-theme-option:has(input:checked){border-color:var(--t5-accent);transform:translateY(-2px)}.t5-theme-option input{width:auto;position:absolute;opacity:0}.t5-theme-option strong{color:var(--t5-text)}.t5-theme-option small{color:var(--t5-muted)}.t5-swatch{height:110px;border-radius:13px;position:relative;overflow:hidden;background:var(--swbg);border:1px solid var(--swborder)}.t5-swatch:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 80% 10%,var(--swaccent),transparent 60%);opacity:.45}.t5-swatch-pill{position:absolute;left:14px;top:15px;width:70px;height:11px;background:var(--swaccent);border-radius:20px}.t5-swatch-card{position:absolute;left:14px;right:14px;bottom:12px;height:50px;background:var(--swcard);border:1px solid var(--swborder);border-radius:10px}.t5-swatch-nebula{--swbg:#100b1b;--swcard:#302041;--swaccent:#ae7bff;--swborder:#65468d}.t5-swatch-midnight{--swbg:#09101d;--swcard:#1b2b46;--swaccent:#76a9ff;--swborder:#395373}.t5-swatch-aurora{--swbg:#071c1b;--swcard:#193b36;--swaccent:#58e0b0;--swborder:#386e5b}.t5-swatch-ocean{--swbg:#061724;--swcard:#17394c;--swaccent:#52d5ef;--swborder:#2e6579}.t5-swatch-sunset{--swbg:#221018;--swcard:#482637;--swaccent:#ff9b80;--swborder:#7b495a}.t5-swatch-minimal{--swbg:#f5f7fc;--swcard:#fff;--swaccent:#526cf5;--swborder:#d9e1ee}.t5-swatch-editorial{--swbg:#f7f3eb;--swcard:#fffdf8;--swaccent:#a66544;--swborder:#ded2c4}.t5-theme-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0}.t5-outline{background:transparent;color:var(--t5-text);border:1px solid var(--t5-border)}
@media(max-width:700px){.t5-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html header{padding:20px}html main{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){html *,html *:before,html *:after{transition:none!important;animation:none!important}}
