/* AeroSpeak · Cockpit noturno — Parte 1 gerada (cores fixas convertidas), Parte 2 manual (tokens e componentes) */
/* site.css */
html[data-theme=dark] .top{background:#0f1012f0}html[data-theme=dark] .stat{background:linear-gradient(145deg,#141517,#141517)}html[data-theme=dark] .lesson-text{color:#d7d8da}html[data-theme=dark] .source-scan{background:#0f1012}html[data-theme=dark] .source-scan img{background:#18191c}html[data-theme=dark] .search-box input{background:#0f1012}html[data-theme=dark] .toast{background:#18191c}
/* language.css */
html[data-theme=dark] .top{background:#0f1012f0}html[data-theme=dark] .nav a:hover,html[data-theme=dark] .nav a[aria-current=page]{background:#16181a}html[data-theme=dark] .top-progress span{color:#ee535b}html[data-theme=dark] .hero{border:1px solid #393c41;background:linear-gradient(125deg,#151619 0%,#0f1012 100%)}html[data-theme=dark] .stat{background:#0f1012dd}html[data-theme=dark] .read-state{color:#ee535b}html[data-theme=dark] .lesson-text{color:#e0e1e2}html[data-theme=dark] .btn{color:#ee535c}html[data-theme=dark] .progress-line{background:#1e2023}html[data-theme=dark] .search-box input{background:#141618}@media(max-width:650px){html[data-theme=dark] .index{background:#0f1012}}
/* media.css */
html[data-theme=dark] .speak-btn{color:#ee535c}html[data-theme=dark] .visual-lab{background:linear-gradient(145deg,#161719,#131517);border:1px solid #393c41}html[data-theme=dark] .visual-head span{color:#eb565b}html[data-theme=dark] .visual-head h3{color:#e6e7e8}html[data-theme=dark] .visual-run{border:1px solid #484c52;background:#0f1012;color:#eb565b}html[data-theme=dark] .visual-run:hover{background:#16181a}html[data-theme=dark] .visual-frame{border:1px solid #393c41;background:#0f1012}html[data-theme=dark] .visual-lab p{color:#cecfd2}html[data-theme=dark] .page-art{border:1px solid #393c41;background:#0f1012}html[data-theme=dark] .page-art summary{color:#eb565b}html[data-theme=dark] .page-art[open] summary{border-bottom:1px solid #393c41}html[data-theme=dark] .page-art img{background:#0f1012}
/* audio.css */
html[data-theme=dark] .audio-panel{background:#0f1012;border:1px solid #393c41}html[data-theme=dark] .audio-panel-head span{color:#eb565b}html[data-theme=dark] .audio-panel-head h3{color:#e6e7e8}html[data-theme=dark] .audio-panel-head a{color:#eb565b}html[data-theme=dark] .audio-slot{border:1px solid #35383d;background:#121315}html[data-theme=dark] .audio-slot-title b{color:#e6e7e8}html[data-theme=dark] .audio-slot-title small,html[data-theme=dark] .file-hint{color:#b7babd}html[data-theme=dark] .audio-slot audio{accent-color:#eb565b}html[data-theme=dark] .audio-slot code,html[data-theme=dark] .file-hint code{color:#babcbf}html[data-theme=dark] .audio-slot-card{border:1px solid #393c41;background:#0f1012}html[data-theme=dark] .audio-slot-card summary b{color:#e6e7e8}html[data-theme=dark] .audio-slot-card summary small{color:#b7babd}html[data-theme=dark] .audio-slot-card audio{accent-color:#eb565b}html[data-theme=dark] .audio-topic{color:#eb565b}
/* icao.css */
html[data-theme=dark] .icao-module{background:linear-gradient(145deg,#0f1012,#141517);border:1px solid #393d42}html[data-theme=dark] .icao-top p{color:#bfc1c4}html[data-theme=dark] .icao-controls{border:1px solid #373b40;background:#17181b}html[data-theme=dark] .icao-language{color:#bdbfc2}html[data-theme=dark] .icao-language.active{background:#0f1012;color:#ee545b}html[data-theme=dark] .icao-level{background:#0f1012;border:1px solid #373b40}html[data-theme=dark] .icao-level span{color:#d9dadc}html[data-theme=dark] .icao-progress{color:#b4b6ba}html[data-theme=dark] .icao-card{border:1px solid #373a3f;background:#0f1012}html[data-theme=dark] .icao-card>header{background:#17181b;border-bottom:1px solid #373a3f}html[data-theme=dark] .icao-card>header span{color:#e3e4e5}html[data-theme=dark] .icao-card>header b{color:#ee545b}html[data-theme=dark] .icao-descriptor{border-bottom:1px solid #2f3136}html[data-theme=dark] .icao-descriptor-label b{color:#ee545b}html[data-theme=dark] .icao-descriptor-label span{color:#bfc1c4}html[data-theme=dark] .icao-descriptor p{color:#d7d8da}html[data-theme=dark] .icao-module.level-filtered .icao-descriptor:not(.is-dim){background:#111214;box-shadow:inset 3px 0 #00000059}html[data-theme=dark] .icao-foot{color:#b4b6ba}html[data-theme=dark] .icao-foot button{color:#ee545b}
/* translation.css */
html[data-theme=dark] .voice-control{border:1px solid #3a3e43;background:#0f1012}html[data-theme=dark] .voice-control span{color:#b4b6ba}html[data-theme=dark] .voice-control select{color:#dcdddf}html[data-theme=dark] .translate-trigger{color:#ee545b!important}html[data-theme=dark] .translation-box{background:#0f1012;border:1px solid #373b40}html[data-theme=dark] .translation-head span{color:#ee545b}html[data-theme=dark] .translation-head button{color:#c6c7ca}html[data-theme=dark] .translation-privacy{color:#b4b6ba}html[data-theme=dark] .translation-box blockquote{background:#141618;color:#c6c7ca}html[data-theme=dark] .translation-status{color:#b4b6ba}html[data-theme=dark] .translation-result{border:1px solid #35383d;color:#e0e1e2}
/* courses.css */
html[data-theme=dark] .course-card-meta{color:#a3a6aa}html[data-theme=dark] .course-card-meta>span:first-child{color:#eb565b}html[data-theme=dark] .course-card-meta i{color:#eb565b}html[data-theme=dark] .course-card-meta small{color:#b2b5b8}html[data-theme=dark] .course-card h4{color:#e9585e}html[data-theme=dark] .course-status>span,html[data-theme=dark] .course-status small{color:#abaeb1}html[data-theme=dark] .course-cta small{color:#a1a4a8}html[data-theme=dark] .course-cta em{color:#e9585e}html[data-theme=dark] .topic-card{border:1px solid #393c41;background:#0f1012;color:#e6e7e8}html[data-theme=dark] .topic-card-body>small{color:#ee545b}html[data-theme=dark] .topic-card-body h3{color:#e6e7e8}html[data-theme=dark] .topic-card-body p{color:#c6c7ca}html[data-theme=dark] .topic-card-foot{border-top:1px solid #33363b;color:#b7babd}html[data-theme=dark] .topic-card-foot b{color:#eb565b}
/* experience.css */
html[data-theme=dark] .brand-mark{color:#eb565b}html[data-theme=dark] .hero h1 em{color:#eb565b}html[data-theme=dark] .flight-display-head b{color:#e9585e}html[data-theme=dark] .stat{background:linear-gradient(145deg,#151619,#0f1012)}html[data-theme=dark] .vocab-trigger{color:#ee545b!important}html[data-theme=dark] .audio-tools>span:first-child,html[data-theme=dark] .audio-tools-spacer{color:#b4b6ba}html[data-theme=dark] .audio-tools button,html[data-theme=dark] .audio-tool-row button{border:1px solid #3a3d43;background:#0f1012;color:#c6c7ca}html[data-theme=dark] .audio-tools button.active,html[data-theme=dark] .audio-tool-row button.active{color:#ee545b}html[data-theme=dark] .audio-tools [data-audio-review]{color:#ee545b}html[data-theme=dark] .audio-file-state{color:#b4b6ba}html[data-theme=dark] .listening-guidance{color:#b4b6ba}html[data-theme=dark] .vocab-modal-box{border:1px solid #373b40;background:#0f1012}html[data-theme=dark] .vocab-modal-box>p{color:#bdbfc2}html[data-theme=dark] .vocab-modal-box>label{color:#ee545b}html[data-theme=dark] .vocab-modal-box textarea{border:1px solid #373b40;background:#121315;color:#e0e1e2}html[data-theme=dark] .vocab-modal-box #vocabPhrase{background:#161719}html[data-theme=dark] .learning-empty{border:1px dashed #42464b;color:#bdbfc2}html[data-theme=dark] .learning-audio{border:1px solid #373a3f;background:#0f1012}html[data-theme=dark] .learning-audio b{color:#dfe0e1}html[data-theme=dark] .learning-audio span{color:#b4b6ba}html[data-theme=dark] .learning-audio a,html[data-theme=dark] .learning-audio button{color:#ee545b}html[data-theme=dark] .learning-foot{color:#b4b6ba}html[data-theme=dark] .vocab-card{border:1px solid #373b40;background:#0f1012}html[data-theme=dark] .vocab-tag{color:#ee545b}html[data-theme=dark] .vocab-card blockquote{color:#e0e1e2}html[data-theme=dark] .vocab-reveal{background:#0f1012;color:#ee545b}html[data-theme=dark] .vocab-answer{background:#141517}html[data-theme=dark] .vocab-answer small{color:#b4b6ba}html[data-theme=dark] .vocab-answer p{color:#d7d8da}html[data-theme=dark] .vocab-rate button{border:1px solid #373b40;background:#0f1012;color:#ced0d2}html[data-theme=dark] .vocab-rate button:hover{color:#ee545b}html[data-theme=dark] .profile-notice{background:#17181b;color:#c6c7ca}html[data-theme=dark] .icao-profile-card{border:1px solid #373b40;background:#0f1012}html[data-theme=dark] .icao-profile-title>span{color:#ee545b}html[data-theme=dark] .icao-profile-title h2{color:#e0e1e2}html[data-theme=dark] .icao-profile-title>b{color:#b4b6ba}html[data-theme=dark] .icao-profile-card>p{color:#ced0d2}html[data-theme=dark] .icao-profile-card>p.profile-pt{color:#b4b6ba}html[data-theme=dark] .profile-levels span{color:#b4b6ba}html[data-theme=dark] .profile-levels button{border:1px solid #373b40;background:#0f1012;color:#c6c7ca}html[data-theme=dark] .profile-summary{border:1px solid #373b40;background:#0f1012}html[data-theme=dark] .profile-summary b{color:#e0e1e2}html[data-theme=dark] .profile-summary span{color:#b4b6ba}html[data-theme=dark] .profile-summary button{color:#ee545b}html[data-theme=dark] .mission-station{border:1px solid #393c41;background:#0f1012}html[data-theme=dark] .mission-select label,html[data-theme=dark] .mission-review>span{color:#ee545b}html[data-theme=dark] .mission-select select{border:1px solid #3d4146;background:#0f1012;color:#e0e1e2}html[data-theme=dark] .mission-select small{color:#b4b6ba}html[data-theme=dark] .mission-context{background:#151619}html[data-theme=dark] .mission-context>span{color:#b4b6ba}html[data-theme=dark] .mission-context h2{color:#dfe0e1}html[data-theme=dark] .mission-context a{color:#ee545b}html[data-theme=dark] .mission-step>b{color:#ee545b}html[data-theme=dark] .mission-step h3{color:#e0e1e2}html[data-theme=dark] .mission-step p{color:#bdbfc2}html[data-theme=dark] .mission-audio{border:1px solid #373b40;background:#121315}html[data-theme=dark] .mission-audio audio{accent-color:#eb565b}html[data-theme=dark] .audio-tool-row>span{color:#b4b6ba}html[data-theme=dark] .mission-audio>small{color:#b4b6ba}html[data-theme=dark] .mission-actions button{border:1px solid #3b3e44;background:#0f1012;color:#c6c7ca}html[data-theme=dark] .mission-actions button.active,html[data-theme=dark] .mission-actions button:hover{color:#ee535c}html[data-theme=dark] .mission-tip{background:#16181a;color:#c6c7ca}html[data-theme=dark] .mission-answer-label{color:#ee545b}html[data-theme=dark] .mission-station textarea{border:1px solid #3b3e44;background:#0f1012;color:#e0e1e2}html[data-theme=dark] .mission-recorder button{background:#0f1012;color:#ee535c}html[data-theme=dark] .mission-recorder span{color:#b4b6ba}html[data-theme=dark] .mission-recorder audio{accent-color:#eb565b}html[data-theme=dark] .mission-checks label{color:#ced0d2}html[data-theme=dark] .mission-checks input{accent-color:#eb565b}html[data-theme=dark] .mission-review button{border:1px solid #373b40;background:#0f1012;color:#ee545b}html[data-theme=dark] .mission-source{border:1px solid #373b40}html[data-theme=dark] .mission-source summary{color:#ee545b}html[data-theme=dark] .mission-source>p{color:#b4b6ba}html[data-theme=dark] .mission-source>div{border-top:1px solid #373b40;color:#d7d8da}
/* shell.css */
html[data-theme=dark] .icon-btn{background:#0f1012;color:#dcdddf}html[data-theme=dark] .icon-btn:hover{border-color:#43474d;background:#121315}html[data-theme=dark] .settings-panel .voice-control select{background:#0f1012}html[data-theme=dark] .sel-btn:hover,html[data-theme=dark] .sel-btn:focus-visible{background:#1a1c2166}@media(max-width:980px){html[data-theme=dark] .tabbar a,html[data-theme=dark] .tabbar button{color:#babcbf}html[data-theme=dark] .more-sheet{background:#ffffff00}html[data-theme=dark] .more-grip{background:#ffffff1f}html[data-theme=dark] .more-box a,html[data-theme=dark] .more-box button{color:#e6e7e8}html[data-theme=dark] .more-box a:active,html[data-theme=dark] .more-box button:active,html[data-theme=dark] .more-box [aria-current=page]{background:#ffffff09}}html[data-theme=dark] .audio-summary{background:#0f1012}html[data-theme=dark] .page-art img{background:#16181a}
/* reader.css */
html[data-theme=dark] .ptr{color:#d9dadc}html[data-theme=dark] .reader .is-target{background:#ffffff09}
/* ui.css */
html[data-theme=dark] .rd-btn:hover{background:#ffffff09}html[data-theme=dark] .rd-rate{color:#b7b9bd}html[data-theme=dark] .block-bar button:hover{background:#1a1c2166}html[data-theme=dark] .theme-switch>span{color:#b4b6ba}html[data-theme=dark] .theme-switch>div{background:#ffffff0c}html[data-theme=dark] .theme-switch button{color:#cfd0d2}html[data-theme=dark] .theme-switch button[aria-checked=true]{background:#0f1012;color:#e2e3e4}html[data-theme=dark] .cockpit::before{background:repeating-linear-gradient(0deg,#1a1c2166 0 2px,transparent 2px 4px)}html[data-theme=dark] .ck-head{color:#a7aaae}html[data-theme=dark] .ck-inst figcaption{color:#b7b9bd}html[data-theme=dark] .ck-route span{color:#a7aaae}html[data-theme=dark] .stamp div{background:#0f1012f0;color:#eb565b}html[data-theme=dark] .stamp small{color:#c2c4c6}html[data-theme=dark] .ptt-light{background:#ffffff0c;color:#a9abaf}html[data-theme=dark] .ptt-light i{background:#33373c}html[data-theme=dark] .is-tx .ptt-light i{background:#0f1012}html[data-theme=dark] .rx-wave span{color:#b7b9bd}html[data-theme=dark] .lh-stats small{color:#a7aaae}html[data-theme=dark] .lt-tag{color:#eb565b}html[data-theme=dark] .lt-main p{color:#b7b9bd}html[data-theme=dark] .lt-go{color:#eb565b}html[data-theme=dark] .listen-today.is-waiting .lt-play{background:#2e3136}html[data-theme=dark] .listen-setup p{color:#cfd0d2}html[data-theme=dark] .listen-setup code{background:#ffffff0c}html[data-theme=dark] .listen-filters{background:linear-gradient(var(--bg,#0f1012) 70%,transparent)}html[data-theme=dark] .lf-chips button,html[data-theme=dark] .lf-units button{color:#cfd0d2}html[data-theme=dark] .listen-unit header small{color:#eb565b}html[data-theme=dark] .listen-unit header>span{color:#a7a9ad}html[data-theme=dark] .track:hover{border-color:#41454b}html[data-theme=dark] .tr-eq i{background:#0f1012}html[data-theme=dark] .tr-body small{color:#a7a9ad}html[data-theme=dark] .tr-go{color:#a7a9ad}html[data-theme=dark] .tr-go:hover{background:#ffffff09;color:#eb565b}html[data-theme=dark] .track.is-missing .tr-play{background:#1d1f22}html[data-theme=dark] .ld-ctrl button:hover,html[data-theme=dark] .ld-bar button:hover{background:#1a1c2166}html[data-theme=dark] .ld-play{background:#0f1012!important;color:#e9eaeb!important}html[data-theme=dark] .loop-b [data-ld=loop]{color:#e9eaeb}html[data-theme=dark] .ld-bar input{background:linear-gradient(90deg,#ff4a51 var(--p,0%),#1a1c2166 var(--p,0%))}html[data-theme=dark] .ld-bar input::-webkit-slider-thumb{background:#0f1012}html[data-theme=dark] .ld-bar input::-moz-range-thumb{background:#0f1012}

/* ===== Parte 2 · manual ===== */
/* AeroSpeak · Cockpit noturno
 * Parte 1 (manual): tokens, superfícies de vidro e componentes que usam variáveis.
 * Parte 2 (gerada): conversão sistemática das cores fixas do CSS original.
 */
:root[data-theme=dark]{color-scheme:dark;
  --bg:#0c0e11;--panel:#14171b;--panel2:#1a1d22;--line:#262a30;--line2:#30353c;--fg:#f2f2f5;--dim:#c3c5cb;--mute:#8b8e96;
  --cyan:#ff4d55;--amber:#ff5a60;--green:#ff6a70;--accent:#ff3b42;
  --glass:rgba(24,27,32,.72);--glass-dark:rgba(36,39,45,.92);
  --r-ink:#ececf0;--r-ink2:#c3c5cb;--r-mute:#8b8e96;--r-line:#262a30;--r-paper:#14171b;--r-soft:#1a1d22;--r-accent:#ff5a60;--r-accent-soft:#ff3b421a;--r-rt-bg:#05070a;--r-rt-ink:#ffc7ca;
  --ink:#f2f2f5;--paper:#14171b;--soft:#1a1d22;--hair:#262a30}
html[data-theme=dark] body{background:radial-gradient(1100px 520px at 85% -12%,#ff3b4214,transparent 62%),radial-gradient(900px 500px at -10% 0,#2f7cf60d,transparent 60%),var(--bg);color:var(--fg)}
html[data-theme=dark] .top{background:rgba(12,14,17,.78);border-bottom-color:#ffffff12;border-top-color:#ff3b42}
html[data-theme=dark] .icon-btn{background:#ffffff08;border-color:#ffffff14;color:#e6e7ea}
html[data-theme=dark] .icon-btn:hover{background:#ffffff12}
html[data-theme=dark] .icon-btn kbd{border-color:#ffffff24;color:#9a9ca3}
html[data-theme=dark] .settings-panel{border-color:#ffffff14;box-shadow:0 24px 60px #000a}
html[data-theme=dark] .settings-panel .voice-control select{background:#0c0e11;border-color:#ffffff1a;color:#f2f2f5}
html[data-theme=dark] .theme-switch>div{background:#ffffff0d}
html[data-theme=dark] .theme-switch button{color:#c3c5cb}
html[data-theme=dark] .theme-switch button[aria-checked=true]{background:#2a2e35;color:#fff;box-shadow:0 1px 4px #0008}
html[data-theme=dark] .tabbar,html[data-theme=dark] .more-box{box-shadow:0 10px 34px #000a,inset 0 0 0 1px #ffffff14}
html[data-theme=dark] .tabbar a,html[data-theme=dark] .tabbar button{color:#9a9ca3}
html[data-theme=dark] .tabbar [aria-current=page]{color:#ff5a60;background:#ff3b421a}
html[data-theme=dark] .more-box a,html[data-theme=dark] .more-box button{color:#f2f2f5}
html[data-theme=dark] .more-grip{background:#ffffff2e}
html[data-theme=dark] .reader-dock{background:rgba(20,23,27,.78);box-shadow:0 8px 28px #0008,inset 0 0 0 1px #ffffff12}
html[data-theme=dark] .rd-btn{color:#ececf0}
html[data-theme=dark] .rd-btn:hover{background:#ffffff10}
html[data-theme=dark] .rd-play{background:#f2f2f5;color:#0c0e11}
html[data-theme=dark] .rd-play[aria-pressed=true]{background:#ff3b42;color:#fff}
html[data-theme=dark] .rd-tr[aria-pressed=true]{background:#2f7cf626;color:#8ab6ff}
html[data-theme=dark] .rd-rate{color:#9a9ca3}
html[data-theme=dark] .lesson-text.reader{box-shadow:0 1px 0 #ffffff08 inset,0 20px 50px #0006}
html[data-theme=dark] .r-list li::before{background:#ececf0;color:#0c0e11}
html[data-theme=dark] .r-answers-box{border-color:#3a3f47}
html[data-theme=dark] .ptr{background:#2f7cf61a;color:#d6e4ff;border-left-color:#5a98ff}
html[data-theme=dark] .reader .is-target{background:#ffffff0a}
html[data-theme=dark] .reader .is-speaking{background:linear-gradient(90deg,#ff3b421f,#ff3b4208)}
html[data-theme=dark] .page-art img,html[data-theme=dark] .source-scan img{filter:brightness(.86) contrast(1.05)}
html[data-theme=dark] .lf-chips button,html[data-theme=dark] .lf-units button,html[data-theme=dark] .lu-all,html[data-theme=dark] .lf-search{background:#14171b;border-color:#262a30;color:#c3c5cb}
html[data-theme=dark] .lf-chips button[aria-pressed=true],html[data-theme=dark] .lf-units button[aria-pressed=true]{background:#f2f2f5;border-color:#f2f2f5;color:#0c0e11}
html[data-theme=dark] .listen-filters{background:linear-gradient(#0c0e11 70%,transparent)}
html[data-theme=dark] .tr-play{background:#f2f2f5;color:#0c0e11}
html[data-theme=dark] .track.is-current .tr-play{background:#ff3b42;color:#fff}
html[data-theme=dark] .track.is-missing .tr-play{background:#22252b;color:#5a5d64}
html[data-theme=dark] .track.is-missing .tr-body b{color:#5a5d64}
html[data-theme=dark] .lu-ring circle{stroke:#262a30}
html[data-theme=dark] .lu-ring circle+circle{stroke:#ff3b42}
html[data-theme=dark] .listen-today{box-shadow:0 18px 40px #0007}
html[data-theme=dark] .listen-today.is-waiting .lt-play{background:#2a2e35}
html[data-theme=dark] .listen-setup{background:#ff3b420d;border-color:#ff3b4255}
html[data-theme=dark] .listen-setup p{color:#c3c5cb}
html[data-theme=dark] .listen-setup code{background:#ffffff12}
html[data-theme=dark] .stamp div{background:#0c0e11f2;color:#ff4d55;border-color:#ff3b42}
html[data-theme=dark] .stamp small{color:#9a9ca3}
html[data-theme=dark] .ptt-light{background:#ffffff10;color:#8b8e96}
html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{color-scheme:dark}
html[data-theme=dark] ::selection{background:#ff3b4255;color:#fff}
html[data-theme=dark] .btn:not(.secondary){box-shadow:0 8px 22px #ff3b4222}
html[data-theme=dark] .skip-link{background:#f2f2f5;color:#0c0e11}
html[data-theme=dark] .ld-play{background:#fff!important;color:#0c0e11!important}
html[data-theme=dark] .listen-dock,html[data-theme=dark] .sel-bar,html[data-theme=dark] .block-bar{background:rgba(36,39,45,.94);box-shadow:0 20px 50px #000b,inset 0 0 0 1px #ffffff1a}
html[data-theme=dark] .ld-ctrl button,html[data-theme=dark] .ld-bar button,html[data-theme=dark] .sel-btn,html[data-theme=dark] .block-bar button{color:#fff}
