/* GERADO por tools/build-dark-theme.php em 2026-10-07 04:39 — não editar à mão. Tokens e ajustes finos: core/theme.css */

/* ---- styles.css ---- */
html[data-theme="dark"] .btn:hover{background:#2f2415;border-color:#5b4937}
html[data-theme="dark"] .icon-btn:hover{background:#322516}
html[data-theme="dark"] .badge{background:#302616;color:#d6bfa3}
html[data-theme="dark"] .badge.green{background:#152619}
html[data-theme="dark"] .badge.red{background:#261311}
html[data-theme="dark"] .badge.blue{background:#111927}
html[data-theme="dark"] .text-link{color:#d2b9a4}
html[data-theme="dark"] .text-link:hover{color:var(--brand-text)}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea,html[data-theme="dark"] input.input,html[data-theme="dark"] select.input{background:#161616}
html[data-theme="dark"] .demo-role{background:#201a0e}
html[data-theme="dark"] .demo-role:hover{background:#2c2014}
html[data-theme="dark"] .topbar{background:#201a0ecc}
html[data-theme="dark"] .avatar{background:#3c2c1b;color:#e8d0bf}
html[data-theme="dark"] .chart-legend i.light{background:#433323}
html[data-theme="dark"] .segmented{background:#2c2114}
html[data-theme="dark"] .segmented button.active{background:#161616;color:var(--brand-text)}
html[data-theme="dark"] .rank-row{border-bottom:1px solid #493b2c}
html[data-theme="dark"] .rank-index{background:#2c2114}
html[data-theme="dark"] .rank-row:first-child .rank-index{background:#332817;color:#e1c599}
html[data-theme="dark"] .donut{background:conic-gradient(var(--brown) 0 42%,#a87d55 42% 70%,#d0af87 70% 86%,#3e301c 86%)}
html[data-theme="dark"] .stock-mini{border-bottom:1px solid #493b2c}
html[data-theme="dark"] .promo-card{background:#382c19}
html[data-theme="dark"] .promo-card:before{background:linear-gradient(90deg,#3c2f1b 0%,#382c19e0 38%,#eadfcf00 90%),url('assets/card_copo_recheado.jpg') center right/cover}
html[data-theme="dark"] .promo-card p{color:#cdbbab}
html[data-theme="dark"] .data-table th{background:#261e11}
html[data-theme="dark"] .data-table td{border-bottom:1px solid #483b2b}
html[data-theme="dark"] .data-table tbody tr:hover{background:#241c10}
html[data-theme="dark"] .data-table .main-cell{color:#e7d8cd}
html[data-theme="dark"] .tabs button.active{color:var(--brand-text)}
html[data-theme="dark"] .product-photo{background:#332617 center/cover}
html[data-theme="dark"] .product-price{color:var(--brand-text)}
html[data-theme="dark"] .cards-grid .card>.icon{color:var(--brand-text)}
html[data-theme="dark"] .settings-nav button.active{background:#342817;color:var(--brand-text)}
html[data-theme="dark"] .kanban-col{background:#2d2317}
html[data-theme="dark"] .category-rail{background:#2c2214}
html[data-theme="dark"] .qty{background:#20190e}
html[data-theme="dark"] .cart-item-price{color:var(--brand-text)}
html[data-theme="dark"] .cart-summary .total strong{color:var(--brand-text)}
html[data-theme="dark"] .cart-bottom{background:#201a0ef5}
html[data-theme="dark"] .step span{border:1px solid #564634;color:#d2bba4}
html[data-theme="dark"] .step.active{color:var(--brand-text)}
html[data-theme="dark"] .custom-preview{background:#2b2013}
html[data-theme="dark"] .custom-preview .preview-label{background:#241d10cc}
html[data-theme="dark"] .custom-option.active{background:#2f2415}
html[data-theme="dark"] .custom-total{background:#2c2214}
html[data-theme="dark"] .payment-option .icon{color:var(--brand-text)}
html[data-theme="dark"] .payment-option.active{background:#2c2114}
html[data-theme="dark"] .payment-option.active:after{color:var(--brand-text)}
html[data-theme="dark"] .success-mark{background:#152917}
html[data-theme="dark"] .order-number{background:#2c2114}
html[data-theme="dark"] .order-number strong{color:var(--brand-text)}
html[data-theme="dark"] .qr-demo{background:#161616}
html[data-theme="dark"] .qr-demo i{background:#161616}
html[data-theme="dark"] .spinner{border:3px solid #4d412e}
html[data-theme="dark"] .numeric-keyboard button{background:#261d11}
html[data-theme="dark"] .notification-item>.icon{color:var(--brand-text)}
html[data-theme="dark"] .search-result{background:#2a2113}
html[data-theme="dark"] .demo-ribbon{border:1px solid #574834}
html[data-theme="dark"] .alert-box{background:#2f2515;color:#d8c0a4}
html[data-theme="dark"] .receipt{background:#161616;border:1px dashed #574734}
html[data-theme="dark"] .receipt hr{border-top:1px dashed #574734}
@media(max-width:1200px){
html[data-theme="dark"] .promo-card:before{background-color:#382c19}
}
html[data-theme="dark"] .table-scroll::-webkit-scrollbar-thumb{background:#423324}
html[data-theme="dark"] .custom-preview .preview-label{background:#241d10e6}
html[data-theme="dark"] .custom-option.active{background:#2e2315}
html[data-theme="dark"] .option-grid.sizes .custom-option small{color:var(--brand-text)}
html[data-theme="dark"] .custom-option.extra .extra-qty{background:#20190e}
html[data-theme="dark"] .custom-total .between strong:last-child{color:var(--brand-text)}
html[data-theme="dark"] .cart-item:hover{border-color:#564633}
html[data-theme="dark"] .qty button:hover{background:#2f2315}
html[data-theme="dark"] .qty button:active{background:#3d2d1b}
html[data-theme="dark"] .remove-item:hover{background:#2a1613}
html[data-theme="dark"] .item-chip{background:#2b2013;color:#d8c5b6}
html[data-theme="dark"] .item-chip.b{background:#352818;color:#eed4c5}
html[data-theme="dark"] .fs-btn{background:#20190eee;color:var(--brand-text)}
html[data-theme="dark"] .fs-btn:hover{background:#161616}
html[data-theme="dark"] .install-banner .btn{background:#302516;color:var(--brand-text)}
html[data-theme="dark"] .install-banner .btn:hover{background:#161616}
html[data-theme="dark"] .opt-emoji{background:#2b2013}
html[data-theme="dark"] .custom-preview{background:linear-gradient(180deg,#291f13 0%,#342817 100%)}
html[data-theme="dark"] .fs-btn.fs-inline{color:var(--brand-text)}
html[data-theme="dark"] .fs-btn.fs-inline:hover{background:#2f2315}
html[data-theme="dark"] .opt-thumb{background:#2d2314}

/* ---- expansion.css ---- */
html[data-theme="dark"] .environment-pill{border:1px solid #564834;background:#262011;color:#e7ccad}
html[data-theme="dark"] .product-photo-empty{background:linear-gradient(145deg,#312516,#231b10)!important}
html[data-theme="dark"] .image-upload{border:1px dashed #564634;background:#251c11}
html[data-theme="dark"] .data-table tr:has(.stock-critical-marker){background:#22170f}
html[data-theme="dark"] .data-table tr:has(.stock-critical-marker):hover{background:#261a11}
html[data-theme="dark"] .attention-count{background:#2d1a14}
html[data-theme="dark"] .demo-boundary{border:1px solid #5c4d37;background:#262011;color:#e5cbb2}
html[data-theme="dark"] .flow-strip{background:#2e2515;color:#dcc8b9}
html[data-theme="dark"] .channel-card>strong{color:#d2b9a4}
html[data-theme="dark"] .channel-icon{background:#302315;color:var(--brand-text)}
html[data-theme="dark"] .roadmap-steps span{background:#2c2215}
html[data-theme="dark"] .roadmap-steps .done{background:#15291c}
html[data-theme="dark"] .fiscal-hero{background:linear-gradient(120deg,#20190e,#342717)}
html[data-theme="dark"] .note-status{background:#132718;border:1px solid #2d4b34}
html[data-theme="dark"] .note-status.rejected{background:#241310;border-color:#4c312e}
html[data-theme="dark"] .rejection-help{background:#251d11}
html[data-theme="dark"] .rejection-help p{color:#d0c1b1}
html[data-theme="dark"] .tax-summary>div{background:#2a2013}
html[data-theme="dark"] .danfe{color:#ebebeb;background:#161616}
html[data-theme="dark"] .danfe-brand small{color:#e0e0e0}
html[data-theme="dark"] .validation-banner{background:#2a2213;border:1px solid #554933}
html[data-theme="dark"] .validation-banner p{color:#cabbaa}
html[data-theme="dark"] .policy-limit{color:#e3c7a3}
html[data-theme="dark"] .report-period{background:#2f2315}
html[data-theme="dark"] .report-icon{background:#312516}
html[data-theme="dark"] .fiscal-toggle{background:#161616}
html[data-theme="dark"] .fiscal-toggle.on{background:#122617}
html[data-theme="dark"] .integration-route{background:#2c2214;color:#d1c1b3}
html[data-theme="dark"] .order-flow span{background:#2e2418}
html[data-theme="dark"] .order-flow .done{background:#142a1b}
html[data-theme="dark"] .sale-result-grid span{background:#2c2214}
html[data-theme="dark"] .environment-head{background:#271f11}
html[data-theme="dark"] .environment-head p{color:#cdbeb0}
html[data-theme="dark"] .environment-head>.icon{color:#ddbf9f}
html[data-theme="dark"] .operation-lock{background:#231919;color:#cab5b4}
html[data-theme="dark"] .replenishment-preview{background:#2c2214}
html[data-theme="dark"] .factory-timeline i{background:#2e2418}
html[data-theme="dark"] .factory-timeline .done i{background:#162c1c}
html[data-theme="dark"] .notification-item.actionable:hover{background:#291f12}
html[data-theme="dark"] .club-mini-mark{background:#362718;color:#e9c8b3}
html[data-theme="dark"] .club-order-card{border:1px solid #4e402f;background:#241c10}
html[data-theme="dark"] .club-order-card.joined{background:#132718;border-color:#2f4f39}
html[data-theme="dark"] .club-order-card.joined .club-mini-mark{background:#18301e}
html[data-theme="dark"] .club-order-card.skipped{background:#261f14}
html[data-theme="dark"] .club-order-card.skipped .club-mini-mark{background:#2f261a}
html[data-theme="dark"] .club-modal-intro{background:linear-gradient(125deg,#2f2315,#241d10)}
html[data-theme="dark"] .tab-count{background:#342617;color:var(--brand-text)}
html[data-theme="dark"] .client-profile-head{background:#2c2114}
html[data-theme="dark"] .club-rewards{background:#262011}
html[data-theme="dark"] .club-rewards span{background:#372a19}
html[data-theme="dark"] .upsell{border:1px solid #4d3f2e;background:#221b0f}
html[data-theme="dark"] .upsell-heading>span{background:#342717;color:#d7bba2}
html[data-theme="dark"] .upsell-items article{background:#161616}
html[data-theme="dark"] .upsell-items small{color:#d3bba6}
html[data-theme="dark"] .club-earned{background:#122816;border:1px solid #2e4d37}
html[data-theme="dark"] .auto-return i{background:linear-gradient(90deg,var(--brown) 0,var(--brown) 50%,#36281a 50%)}
html[data-theme="dark"] .club-crest{background:linear-gradient(150deg,#332817,#463520);color:#eacab6}
html[data-theme="dark"] .club-benefits article{background:#201a0e;border:1px solid #4c3f2d}
html[data-theme="dark"] .club-benefits article>span{background:linear-gradient(145deg,#312616,#40301d);color:var(--brand-text)}
html[data-theme="dark"] .club-benefits strong{color:#f3e4da}
html[data-theme="dark"] .club-kiosk-panel{background:#201a0e;border:1px solid #4c3f2e}
html[data-theme="dark"] .club-panel-chip{color:#d1beac;background:#2a2113;border:1px solid #4d3f2e}
html[data-theme="dark"] .cpf-slots{background:#271e11;border:2px solid #4e412f}
html[data-theme="dark"] .cpf-field.complete .cpf-slots{background:#251d11}
html[data-theme="dark"] .cpf-slots i{background:#161616;border:2px solid #4c3f2e;color:#f2e3d9}
html[data-theme="dark"] .cpf-slots i.filled{border-color:#5c4b37;background:#241c10}
html[data-theme="dark"] .club-kiosk-panel .club-keyboard button{background:#241c10;border:1px solid #4e412f}
html[data-theme="dark"] .club-kiosk-panel .club-keyboard button:active{background:#312616}
html[data-theme="dark"] .club-kiosk-panel .club-keyboard button:nth-child(10){color:#d1beac}
html[data-theme="dark"] .club-kiosk-panel .club-keyboard button:nth-child(12){color:#d1beac}
html[data-theme="dark"] .club-kiosk-panel .club-consent{color:#d3c4b4;background:#292012;border:1px solid #4b3e2d}
html[data-theme="dark"] .club-kiosk-panel>.club-skip{background:#161616;border:1px solid #504130;color:#d9c7b6}
html[data-theme="dark"] .upsell-pop{background:#201a0ef2;border:1px solid #4e402f}
html[data-theme="dark"] .upsell-pop-mark{background:linear-gradient(145deg,#312616,#40301d);color:var(--brand-text)}
html[data-theme="dark"] .upsell-pop-label{color:#f3e4da}
html[data-theme="dark"] .upsell-pop-item{background:#161616;border:1px solid #4b3e2d}
html[data-theme="dark"] .upsell-pop-item:active{background:#261d11}
html[data-theme="dark"] .upsell-pop-item strong{color:#f3e4da}
html[data-theme="dark"] .upsell-pop-item small{color:#d9bca3}
html[data-theme="dark"] .upsell-pop-close{background:#2d2214;color:#d1beac}
html[data-theme="dark"] .upsell-close{background:#312416;color:#d1beac}
html[data-theme="dark"] .upsell-close:hover{background:#3c2d1b}
html[data-theme="dark"] .order-panel .cart-items::-webkit-scrollbar-thumb{background:#3f2f1d}
html[data-theme="dark"] .unit-tag.own{background:#312516;border-color:#544532;color:#edd1bf}
html[data-theme="dark"] .unit-tag.franchise{background:#1d2419;border-color:#394a32;color:#c2d6bf}
html[data-theme="dark"] .unit-tag.rede{background:#221727;border-color:#432e4d;color:#cec1d6}
html[data-theme="dark"] .scope-bar{background:linear-gradient(120deg,#221b0f,#2b2113);border:1px solid #4d402e}
html[data-theme="dark"] .scope-field select{border:1px solid #514431;background:#161616}
html[data-theme="dark"] .scope-chips{border-top:1px solid #4b3e2d}
html[data-theme="dark"] .scope-chip{border:1px solid #504230;background:#161616;color:#d9c7b6}
html[data-theme="dark"] .compare-row .between strong{color:var(--brand-text)}
html[data-theme="dark"] .compare-bar{background:#322616}
html[data-theme="dark"] a.rank-row:hover{background:#271e12}
html[data-theme="dark"] .rank-index.alerta{background:#2c1a14;color:#e3ac9d}
html[data-theme="dark"] .uf-row .icon{color:var(--brand-text)}
html[data-theme="dark"] .uf-bar{background:#322616}
html[data-theme="dark"] .uf-bar i{background:linear-gradient(90deg,#b98d61,#463620)}
html[data-theme="dark"] .uf-row strong{color:var(--brand-text)}
html[data-theme="dark"] .unit-note{background:#2a2013;border:1px solid #4d3f2e;color:#d9cabf}
html[data-theme="dark"] .unit-note strong{color:var(--brand-text)}
html[data-theme="dark"] .unit-note.own .icon{color:var(--brand-text)}
html[data-theme="dark"] .topbar-pick select{border:1px solid #504230;background:#161616}
html[data-theme="dark"] .dash-hub{background:linear-gradient(150deg,#2c2114,#362918);border-color:#514331}
html[data-theme="dark"] .dash-hub p{color:#d9c7b6}
html[data-theme="dark"] .date-chip{color:#d1beac;background:#2b2113;border:1px solid #4d3f2e}
html[data-theme="dark"] .dash-total{background:#2b2113;border:1px solid #4d3f2e}
html[data-theme="dark"] .dash-total strong{color:var(--brand-text)}
html[data-theme="dark"] .dash-total.negativo strong{color:#e3ac9d}
html[data-theme="dark"] .compare-cols i.anterior{background:#43321e}
html[data-theme="dark"] .compare-cols i.atual span{color:#d1beac}
html[data-theme="dark"] .dash-meta .meta-ring{background:conic-gradient(var(--brown) calc(var(--pct)*1%),#322617 0)}
html[data-theme="dark"] .dash-meta .meta-ring strong{color:var(--brand-text)}
html[data-theme="dark"] .dash-card-toggle{background:#201a0e}
html[data-theme="dark"] .channel-card>strong{color:var(--brand-text)}
html[data-theme="dark"] .topbar-unit strong{border:1px solid #504230;background:#241c10}
html[data-theme="dark"] .topbar-unit strong .icon{color:var(--brand-text)}
html[data-theme="dark"] .scope-field input[type=date]{border:1px solid #514431;background:#161616}
html[data-theme="dark"] .scope-bar.periodo-only .scope-chips{border-top:1px solid #4b3e2d}
html[data-theme="dark"] .painel-chamada{background:linear-gradient(160deg,#231b10,#342717)}
html[data-theme="dark"] .painel-eyebrow{color:#d9bca3}
html[data-theme="dark"] .painel-numero{color:var(--brand-text)}
html[data-theme="dark"] .painel-nome{color:#d9cabf}
html[data-theme="dark"] .painel-chip.novo{background:#3b2d1a;border-color:#4e402f}
html[data-theme="dark"] .tv-card{background:#231b10}
html[data-theme="dark"] .tv-card h2{color:var(--brand-text)}
html[data-theme="dark"] .tv-canal{background:#302315;color:#d9c7b6}

/* ---- core/core.css ---- */
html[data-theme="dark"] .module-locked>.icon{color:var(--brand-text)}
html[data-theme="dark"] .badge.amber{background:#2e2615;color:#ead5b6}
html[data-theme="dark"] .pdv-cz-preview .custom-preview .size-tag{background:#241d10d9;color:var(--brand-text)}
html[data-theme="dark"] .pdv-chip{background:#201a0e;color:#e7d8cd}
html[data-theme="dark"] .pdv-chip .opt-thumb{background:#332617}
html[data-theme="dark"] .pdv-chip.active{background:#2c2014;color:var(--brand-text)}
html[data-theme="dark"] .pdv-extra{background:#201a0e}
html[data-theme="dark"] .pdv-extra .opt-thumb{background:#332617}
html[data-theme="dark"] .pdv-extra.active{background:#2c2014}
html[data-theme="dark"] .lk-pair-code-big{color:var(--brand-text);background:#2c2014;border:1px dashed #584835}
html[data-theme="dark"] .lk-qty-explain{color:var(--brand-text)}
html[data-theme="dark"] .lk-cmv-values strong{color:var(--brand-text)}
html[data-theme="dark"] .lk-help-card>.icon{color:var(--brand-text)}
html[data-theme="dark"] .lk-help-detail .card-head .icon{color:var(--brand-text)}
html[data-theme="dark"] .lk-help-steps{background:#261e11}
html[data-theme="dark"] .lk-help-steps span{background:#161616}
html[data-theme="dark"] .lk-help-faq summary{color:#e7d8cd}
html[data-theme="dark"] .lk-help-faq summary::after{color:var(--brand-text)}
html[data-theme="dark"] .lk-tour-cursor{background:#241d10ee;color:var(--brand-text)}
html[data-theme="dark"] .lk-pair-waiting{background:#241d10cc;border:1px solid #514431}
html[data-theme="dark"] .lk-off-pill.offline{background:#261311;border-color:#503330}
html[data-theme="dark"] .lk-off-pill.pending{background:#2a2213;border-color:#564b34;color:#e8d4b0}
html[data-theme="dark"] .kds-timer{background:#152619}
html[data-theme="dark"] .kds-timer.warn{background:#2a2213;color:#e8d4b0}
html[data-theme="dark"] .kds-timer.late{background:#261311}
html[data-theme="dark"] .kds-service{color:var(--brand-text)}
html[data-theme="dark"] .kds-off{background:#2a2213;color:#e8d4b0}
html[data-theme="dark"] .kds-item{background:#20190e}
html[data-theme="dark"] .kds-item.done{background:#152619;border-color:#2f4e37}
html[data-theme="dark"] .kds-check{border:1.5px solid #5b4937;background:#161616}
html[data-theme="dark"] .lk-seg button span{background:#302616;color:#e8d4b0}
html[data-theme="dark"] .lk-seg button.em_risco span{background:#2a2213}
html[data-theme="dark"] .lk-seg button.inativos span{background:#261311}
html[data-theme="dark"] .lk-seg button.vip span{background:#152619}
html[data-theme="dark"] .lk-seg-tag{background:#302616;color:#e8d4b0}
html[data-theme="dark"] .lk-seg-tag.vip,html[data-theme="dark"] .lk-seg-tag.recorrentes{background:#152619}
html[data-theme="dark"] .lk-seg-tag.em_risco{background:#2a2213;color:#e8d4b0}
html[data-theme="dark"] .lk-seg-tag.inativos{background:#261311}
html[data-theme="dark"] .lk-seg-tag.novos,html[data-theme="dark"] .lk-seg-tag.aniversariantes{background:#111927}
html[data-theme="dark"] .lk-crm-kpis>div{background:#20190e}
html[data-theme="dark"] .lk-crm-kpis strong{color:var(--brand-text)}
html[data-theme="dark"] .lk-crm-anon{background:#2c2214}
html[data-theme="dark"] .lk-demo-banner{border:1px solid #564b34;background:#2a2213;color:#eedec4}
html[data-theme="dark"] .lk-form-h{color:var(--brand-text)}
html[data-theme="dark"] .lk-chips label{background:#20190e}
html[data-theme="dark"] .lk-chips label:has(input:checked){background:#2a2213;border-color:#564b34;color:#eedec4}
html[data-theme="dark"] .lk-done-check{background:#152917}
html[data-theme="dark"] .lk-done-amount strong{color:var(--brand-text)}
html[data-theme="dark"] .lk-done-amount.change{background:#142616}
html[data-theme="dark"] .lk-receipt-paper{background:#312819}
html[data-theme="dark"] .lk-receipt-paper iframe{background:#161616}
html[data-theme="dark"] .lk-period-presets .btn:hover{background:#342717}
html[data-theme="dark"] .lk-env-state.test{background:#291512;color:#e3a5a0}
html[data-theme="dark"] .lk-env-state.prod{background:#142d1b;color:#bfedd0}
html[data-theme="dark"] .lk-audit-alert{color:var(--red,#e3a5a0)}

/* ---- core/fiscal.css ---- */
html[data-theme="dark"] .fx-context{border-bottom:1px solid var(--border,#4c3c2e)}
html[data-theme="dark"] .fx-context select{border:1px solid #4f3e31;background:#161616}
html[data-theme="dark"] .fx-nav{border-bottom:1px solid #4e3d31}
html[data-theme="dark"] .fx-nav a{color:#d1c4bc}
html[data-theme="dark"] .fx-intro p{color:#c8beb6}
html[data-theme="dark"] .fx-form small,html[data-theme="dark"] .fx-help{color:#c8beb6}
html[data-theme="dark"] .fx-form input:not([type=checkbox]),html[data-theme="dark"] .fx-form select,html[data-theme="dark"] .fx-form textarea{border:1px solid #4e3f34;background:#161616}
html[data-theme="dark"] .fx-actions{border-top:1px solid #4e3d2f}
html[data-theme="dark"] .fx-notice{background:#2a2013}
html[data-theme="dark"] .fx-error{color:#e4a3a3}
html[data-theme="dark"] .fx-steps li{border-bottom:1px solid #4d3d30}
html[data-theme="dark"] .fx-steps .num{color:#d2b1a3}
html[data-theme="dark"] .fx-steps p{color:#c5bcb5}
html[data-theme="dark"] .fx-steps a{color:#dfbfb2}
html[data-theme="dark"] .fx-status{background:#322516}
html[data-theme="dark"] .fx-status.authorized{background:#1c291a;color:#c7e0c8}
html[data-theme="dark"] .fx-status.rejected,html[data-theme="dark"] .fx-status.blocked{background:#2d1b14;color:#e6b5a9}
html[data-theme="dark"] .fx-status.unknown,html[data-theme="dark"] .fx-status.cancel_pending{background:#312816;color:#ecdcbc}
html[data-theme="dark"] .fx-table td,html[data-theme="dark"] .fx-table th{border-bottom:1px solid #4e3c30}
html[data-theme="dark"] .fx-readonly{color:#cabcaf}
html[data-theme="dark"] .fx-links a{color:#dfbcaf}
html[data-theme="dark"] .fx-form input:not([type=checkbox]),html[data-theme="dark"] .fx-form select,html[data-theme="dark"] .fx-form textarea{border-color:#4c3e34}
html[data-theme="dark"] .fx-form input[type=file]::file-selector-button{background:#302418}
html[data-theme="dark"] .fx-field-help summary{border:1px solid #544334}
html[data-theme="dark"] .fx-field-help small{background:#161616;border:1px solid #4d3c2f;color:#d0c7c1}
html[data-theme="dark"] .fx-form .fx-actions{background:#251d11}
@media(max-width:1050px){
html[data-theme="dark"] .fx-page-picker{border-bottom:1px solid #4d3d30}
html[data-theme="dark"] .fx-page-picker select{background:#312316;color:#e6c9bf}
}

/* ---- core/questionnaire.css ---- */
html[data-theme="dark"] .fq-portal{background:#231b10;color:#ede3dd}
html[data-theme="dark"] .fq-header{border-bottom:1px solid #4c3e2e}
html[data-theme="dark"] .fq-footer{border-top:1px solid #4c3e2e}
html[data-theme="dark"] .fq h3{color:#d0bfb2}
html[data-theme="dark"] .fq a{color:#eacbbc}
html[data-theme="dark"] .fq button{border:1px solid #544333;background:#161616;color:#ead0c2}
html[data-theme="dark"] .fq button:hover{background:#2c2014}
html[data-theme="dark"] .fq-login form{border-top:1px solid #514031}
html[data-theme="dark"] .fq label{color:#e6dbd3}
html[data-theme="dark"] .fq label span{color:#dfbfa3}
html[data-theme="dark"] .fq input:not([type=checkbox]),html[data-theme="dark"] .fq select,html[data-theme="dark"] .fq textarea{border:1px solid #534232;background:#161616;color:#ede3dd}
html[data-theme="dark"] .fq-field small.fq-stored{color:#c2e1cf}
html[data-theme="dark"] .fq-error,html[data-theme="dark"] .fq-field-error{color:#e3a6a0}
html[data-theme="dark"] .fq-error:not(:empty){background:#251511}
html[data-theme="dark"] .fq-note{background:#2b2215}
html[data-theme="dark"] .fq-note.correction{background:#271b12}
html[data-theme="dark"] .fq-actions{background:#231b10f5;border-top:1px solid #504030}
html[data-theme="dark"] .fq-actions span{color:#ccbeb2}
html[data-theme="dark"] .fq-topline{color:#cec0b5}
html[data-theme="dark"] .fq-progress span{color:#ccbeb2}
html[data-theme="dark"] .fq-list .fq-row{border-bottom:1px solid #4d3f2e;color:#ede3dd}
html[data-theme="dark"] .fq-list .fq-row:hover{background:#2a1f13}
html[data-theme="dark"] .fq-badge{background:#2c2319;color:#c8bdb2}
html[data-theme="dark"] .fq-badge.approved{color:#c5e1d0;background:#1d291a}
html[data-theme="dark"] .fq-badge.submitted{color:#bbd3da;background:#18252a}
html[data-theme="dark"] .fq-badge.needs_changes{color:#e6bfa9;background:#2b2013}
html[data-theme="dark"] .fq-badge.draft{color:#ded0b6;background:#312a16}
html[data-theme="dark"] .fq-values dt,html[data-theme="dark"] .fq-values dd{border-bottom:1px solid #4d3f2e}
html[data-theme="dark"] .fq-values dt{color:#ccbeb2}
html[data-theme="dark"] .fq-access{border-top:1px solid #524131;border-bottom:1px solid #524131}
html[data-theme="dark"] .fq-history details{border-top:1px solid #4f402f}
html[data-theme="dark"] .fq .fq-review{border-top:1px solid #4f402f}
html[data-theme="dark"] .fq-admin .fq-actions{background:#201a0ef5}
html[data-theme="dark"] .fq-brand{color:#ecd0c0}
html[data-theme="dark"] .fq-diagnostics{border:1px solid #4f3f2f;background:#201a0e}
html[data-theme="dark"] .fq-diagnostic-grid>div{background:#2a2013}
html[data-theme="dark"] .fq-diagnostic-grid span{color:#ccbeb2}
html[data-theme="dark"] .fq-admin-nav{border-bottom:1px solid #4f3f2f}
html[data-theme="dark"] .fq-metric-grid>div{background:#161616;border:1px solid #4e3f2f}
html[data-theme="dark"] .fq-metric-grid span{color:#ccbeb2}
html[data-theme="dark"] .fq-chart{background:#161616;border:1px solid #4e3f2f}
html[data-theme="dark"] .fq-bars{border-bottom:1px solid #544332}
html[data-theme="dark"] .fq-bar-col>small{color:#ccbeb2}
html[data-theme="dark"] .fq-recent>div{border-bottom:1px solid #4d3f2e}
html[data-theme="dark"] .fq-recent small{color:#ccbeb2}
