
:root{color-scheme:dark;--primary:#29332B;--accent:#D8BD8A;--bg:#111813;--surface:#1c261f;--text:#f2eee4;--muted:#c5cbbb;--line:#465046}
:root{--card:#1c261f}
.mission-list,.exercise-row,.exercise-row:hover,.stat-card,.history-row{background:#1c261f;color:#f2eee4}
.exercise-row strong{color:#f2eee4}.exercise-row small,.exercise-row .num,.tip-card p{color:#c5cbbb}
.app-header nav a,.app-header nav button{color:#f2eee4}
.app-header nav [aria-current=page],.app-header nav button[aria-current=page]{color:#f2eee4;border-bottom-color:#D8BD8A}
.pill{background:#293b2c;color:#e4cfa9}
.practice-controls .btn:not(#pilot-start){background:#28372c;color:#f2eee4}
.pilot-cue{background:#28372c;color:#f2eee4;border-left-color:#D8BD8A;font-size:16px}
.pilot-finish input,.pilot-finish select,#test-slot input,#test-slot select{background:#1c261f;color:#f2eee4;border-color:#657361}
.pilot-error{background:#432b21;color:#ffe0cc}#result-error{color:#ffd1b5}
.practice-hud .state-badge{color:#f2eee4;background:#1c261f}
.exercise-row .effort-estimate{color:#c5cbbb}
body,.protocol-shell,.practice-shell{background:#111813;color:#f2eee4} .card,.exercise-card,.practice-panel,.practice-settings,dialog,.day-detail,.entry-card,.calendar-day{background:#1c261f;color:#f2eee4;border-color:#465046}
.app-header,.practice-header{background:linear-gradient(#11181361,#11181361),url('assets/patterns/camuflagem-soldado.svg') center/450px;color:#f2eee4}
.brand,.brand strong,h1,h2,h3,.practice-heading,.practice-caption{color:#f2eee4}
.muted,.small,.settings-help,.exercise-card p,.practice-panel p{color:#c5cbbb}.btn,.btn.accent{background:#D8BD8A;color:#171e18;border-color:#D8BD8A}.btn.secondary,.btn.ghost{background:#28372c;color:#f2eee4;border-color:#657361}
.mission-hero{background:#293b2c;color:#f2eee4}.mission-stats,.mission-stats>div,.choice,.choice span,.input,input,select{background:#1c261f;color:#f2eee4;border-color:#657361}.choice:has(input:checked),.calendar-day.selected{outline:2px solid #D8BD8A;background:#354234}.pill,.eyebrow,.text-btn,a{color:#D8BD8A}.practice-cover{background:#101810e8;color:#f2eee4}.practice-cover strong{color:#f2eee4}
.practice-video{background:#101810}.practice-video[data-guided="true"] video{visibility:hidden}.practice-video[data-guided="true"]:after{content:attr(data-guidance);position:absolute;inset:20% 8%;display:grid;place-items:center;font-size:clamp(22px,4vw,38px);line-height:1.4;text-align:center;color:#eeeade;pointer-events:none}
#day-detail{scroll-margin-top:24px}.calendar-grid{min-width:0}.week-day{color:#eeeade;background:#26352a}.week-day.current{background:#D8BD8A;color:#111813}.pilot-error{color:#ffd1b5}.offline-status{padding:12px;color:#D8BD8A;font-size:16px}
:root{--ink:#f2eee4;--paper:#1c261f} .entry-header{background:linear-gradient(#11181361,#11181361),url("assets/patterns/camuflagem-soldado.svg") center/450px}.entry-shell,.entry-form,.entry-form-panel{background:#111813;color:#f2eee4}.settings-row,.practice-settings-grid,.facts{color:#f2eee4} .filter{background:#26352a;color:#eeeade}.filter.active{background:#D8BD8A;color:#111813}

.app-header .brand{background:linear-gradient(#11181361,#11181361),url('assets/patterns/camuflagem-soldado.svg') center/450px}.practice-dose,.practice-next,.pilot-finish,.feedback,#install-help{color:#f2eee4}.practice-controls .btn,.circuit-extra-controls .btn{color:#f2eee4;background:#28372c}#pilot-start,.mission-hero .btn{background:#D8BD8A;color:#111813;border-color:#D8BD8A}.practice-hud .pilot-timer,.entry-story h1 em,.brand small,.entry-protocol{color:#D8BD8A}.practice-caption,.practice-settings-grid,.practice-next p,.pilot-finish label{color:#f2eee4}.entry-form h2,.practice-settings summary{color:#f2eee4}.entry-layout input,.entry-layout select{color:#f2eee4;background:#1c261f}.practice-video .practice-cover{z-index:4}.practice-video .practice-hud{z-index:5}

/* Revisao independente U1 U7 */
.calendar-day.training:not(.selected),.calendar-day.training:not(.selected) small,.calendar-day.training:not(.selected) strong{background:#1c261f;color:#f2eee4;border-color:#D8BD8A}
.practice-panel summary,.choice:has(input:checked) small,.choice:has(input:checked) span{color:#f2eee4}
.exercise-row .effort-estimate{color:#e5dfd3!important;font-size:14px;line-height:1.5}

/* Selected level contrast */
.choice input:checked+span{background:#354234;color:#f2eee4;border-color:#D8BD8A}.choice input:checked+span small,.choice input:checked+span strong{color:#f2eee4}

/* Readable notes and prescription */
.note,.dialog-help{background:#28372c;color:#f2eee4!important}.exercise-row .grow>small{font-size:14px;line-height:1.5;color:#e5dfd3}
