/* Gerado por tools/generate_dark_css.py. Ajustes manuais: ui-theme.css. */

/* style.css */
:where(html[data-theme="dark"]) .login-art{background:linear-gradient(145deg,#193e21,#1a3d1d);color:#d9e6de;}
:where(html[data-theme="dark"]) .brand.white{color:#d9e6de;}
:where(html[data-theme="dark"]) .brand.white span span{color:#a6e3a6;}
:where(html[data-theme="dark"]) .brand-mark{color:#d9e6de;box-shadow:inset 0 0 0 2px rgba(0,0,0,0.2);}
:where(html[data-theme="dark"]) .white .brand-mark{background:#16211b;}
:where(html[data-theme="dark"]) .eyebrow{color:#a7e1ac;}
:where(html[data-theme="dark"]) .art-content em{color:#b9ea9e;}
:where(html[data-theme="dark"]) .art-content p{color:#b1d7b3;}
:where(html[data-theme="dark"]) .sun{background:#333e19;box-shadow:0 0 70px #000000;}
:where(html[data-theme="dark"]) .h1{background:#193e29;}
:where(html[data-theme="dark"]) .h2{background:#193e22;}
:where(html[data-theme="dark"]) .plants{background:repeating-linear-gradient(90deg,transparent 0 42px,#293e19 43px 45px,transparent 46px 85px);}
:where(html[data-theme="dark"]) .login-art small{color:#b5d4b5;}
:where(html[data-theme="dark"]) .login-panel{background:#16211b;}
:where(html[data-theme="dark"]) input,:where(html[data-theme="dark"]) select{border:1px solid #384a40;background:#16211b;}
:where(html[data-theme="dark"]) .icon-btn{color:#abbab0;}
:where(html[data-theme="dark"]) .icon-btn:hover{background:#16211b;}
:where(html[data-theme="dark"]) .check{color:#abbab0;}
:where(html[data-theme="dark"]) .primary{color:#d9e6de;box-shadow:0 6px 12px rgba(0,0,0,0.188);}
:where(html[data-theme="dark"]) .visitor{background:#16211b;}
:where(html[data-theme="dark"]) .version{color:#abbab0;}
:where(html[data-theme="dark"]) .sidebar{background:#16211b;}
:where(html[data-theme="dark"]) .nav-label{color:#abbab0;}
:where(html[data-theme="dark"]) .nav-item{color:#abbab0;}
:where(html[data-theme="dark"]) .nav-item.active{background:#1b3c1e;}
:where(html[data-theme="dark"]) .nav-item i{color:#d9e6de;background:#3e1919;}
:where(html[data-theme="dark"]) .subnav a{color:#abbab0;}
:where(html[data-theme="dark"]) .avatar{background:#1c3b1f;}
:where(html[data-theme="dark"]) .side-user>span{color:#abbab0;}
:where(html[data-theme="dark"]) .topbar{background:rgba(22,33,27,0.92);}
:where(html[data-theme="dark"]) .global-search{background:#16211b;color:#abbab0;}
:where(html[data-theme="dark"]) .global-search kbd{background:#16211b;color:#abbab0;}
:where(html[data-theme="dark"]) .notification i{background:#3e1919;}
:where(html[data-theme="dark"]) .breadcrumbs{color:#abbab0;}
:where(html[data-theme="dark"]) .date-select{background:#16211b;color:#abbab0;}
:where(html[data-theme="dark"]) .stat{background:#16211b;}
:where(html[data-theme="dark"]) .stat .stat-icon{background:#1c3b1f;}
:where(html[data-theme="dark"]) .stat.orange .stat-icon{background:#3e2b19;color:#eac29e;}
:where(html[data-theme="dark"]) .stat.red .stat-icon{background:#3e191b;color:#ea9e9e;}
:where(html[data-theme="dark"]) .stat span{color:#abbab0;}
:where(html[data-theme="dark"]) .stat.red span{color:#e6a2a2;}
:where(html[data-theme="dark"]) .card{background:#16211b;}
:where(html[data-theme="dark"]) .card-head span,:where(html[data-theme="dark"]) .more{color:#abbab0;}
:where(html[data-theme="dark"]) .chart-legend{color:#abbab0;}
:where(html[data-theme="dark"]) .dot.lime{background:#193e1a;}
:where(html[data-theme="dark"]) .bar-chart{border-bottom:1px solid #384a40;background:repeating-linear-gradient(to bottom,transparent 0 45px,#16211b 46px 47px);}
:where(html[data-theme="dark"]) .bar{background:linear-gradient(#193d1b,#193e1b);}
:where(html[data-theme="dark"]) .bar:after{color:#abbab0;}
:where(html[data-theme="dark"]) .donut{background:conic-gradient(#193e1b 0 42%,#1c3a1d 42% 68%,#1a3d1b 68% 84%,#3e3219 84% 100%);}
:where(html[data-theme="dark"]) .donut:after{background:#16211b;}
:where(html[data-theme="dark"]) .legend-list{color:#abbab0;}
:where(html[data-theme="dark"]) th{color:#abbab0;}
:where(html[data-theme="dark"]) td{border-bottom:1px solid #384a40;color:#abbab0;}
:where(html[data-theme="dark"]) .crop-dot{background:#263e19;}
:where(html[data-theme="dark"]) .badge.green{color:#a5e4aa;background:#193e19;}
:where(html[data-theme="dark"]) .badge.orange{color:#eac39e;background:#3e2d19;}
:where(html[data-theme="dark"]) .badge.red{color:#e0a9a9;background:#3e1919;}
:where(html[data-theme="dark"]) .activity .bullet{box-shadow:0 0 0 4px #000000;}
:where(html[data-theme="dark"]) .activity time{color:#abbab0;}
:where(html[data-theme="dark"]) .event{background:#1b3c1b;}
:where(html[data-theme="dark"]) .event.orange{border-color:#384a40;background:#3e2f19;}
:where(html[data-theme="dark"]) .toolbar .global-search{background:#16211b;}
:where(html[data-theme="dark"]) .filter{background:#16211b;color:#abbab0;}
:where(html[data-theme="dark"]) .bed-card{background:#16211b;}
:where(html[data-theme="dark"]) .bed-image{background:linear-gradient(135deg,#253d1a,#193e20);color:#d9e6de;}
:where(html[data-theme="dark"]) .bed-image:after{background:linear-gradient(45deg,transparent 46%,rgba(46,62,25,0.4) 47% 52%,transparent 53%);}
:where(html[data-theme="dark"]) .bed-footer{color:#abbab0;}
:where(html[data-theme="dark"]) .tabs a{color:#abbab0;}
:where(html[data-theme="dark"]) .modal{background:rgba(27,60,31,0.4);}
:where(html[data-theme="dark"]) .modal-card{background:#16211b;box-shadow:0 20px 60px rgba(0,0,0,0.376);}
:where(html[data-theme="dark"]) .toast{background:#193e1f;color:#d9e6de;}
@media (max-width:1100px){:where(html[data-theme="dark"]) .sidebar.open{box-shadow:10px 0 30px rgba(0,0,0,0.125);}}

/* ui-modern.css */
:where(html[data-theme="dark"]) button:focus-visible,:where(html[data-theme="dark"]) a:focus-visible,:where(html[data-theme="dark"]) input:focus-visible,:where(html[data-theme="dark"]) select:focus-visible,:where(html[data-theme="dark"]) textarea:focus-visible{outline: 3px solid rgba(56,74,64,0.28);}
:where(html[data-theme="dark"]) .login-art{color: #d9e6de;background: #2c3e19 url("/assets/branding/horta-vegetais.jpeg") center/cover no-repeat;}
:where(html[data-theme="dark"]) .login-art::before{background: linear-gradient(100deg, rgba(44,62,25,0.96) 0%, rgba(44,62,25,0.88) 52%, rgba(62,39,25,0.48) 100%);}
:where(html[data-theme="dark"]) .login-art::after{border: 2px solid rgba(56,74,64,0.35);box-shadow: 0 0 0 34px rgba(0,0,0,0.08), 0 0 0 78px rgba(0,0,0,0.07);}
:where(html[data-theme="dark"]) .login-brand-lockup-light{background: rgba(22,33,27,0.94);box-shadow: 0 8px 28px rgba(0,0,0,0.18);}
:where(html[data-theme="dark"]) .brand.white{color: #d9e6de;}
:where(html[data-theme="dark"]) .brand-logo{background: #16211b;}
:where(html[data-theme="dark"]) .eyebrow,:where(html[data-theme="dark"]) .welcome-kicker{color: #cfe9a0;}
:where(html[data-theme="dark"]) .art-content em{color: #eac79e;}
:where(html[data-theme="dark"]) .art-content p{color: #d2d9b0;}
:where(html[data-theme="dark"]) .login-benefits{color: #d9e6de;}
:where(html[data-theme="dark"]) .login-benefits i{background: #303e19;}
:where(html[data-theme="dark"]) .login-benefits span:nth-child(2) i{background: #3e2d19;}
:where(html[data-theme="dark"]) .login-benefits span:nth-child(3) i{background: #3e1928;}
:where(html[data-theme="dark"]) .login-art > small{color: #caddab;}
:where(html[data-theme="dark"]) .login-panel{background: radial-gradient(circle at 100% 0,#323e19 0,transparent 30%), linear-gradient(135deg,#16211b,#3a331d);}
:where(html[data-theme="dark"]) #loginForm > label{color: #d9e6de;}
:where(html[data-theme="dark"]) .input-shell{background: #16211b;}
:where(html[data-theme="dark"]) .input-shell:focus-within{box-shadow: 0 0 0 4px rgba(0,0,0,0.12);}
:where(html[data-theme="dark"]) .input-shell > .material-symbols-rounded{color: #abbab0;}
:where(html[data-theme="dark"]) .visitor{background: #16211b;}
:where(html[data-theme="dark"]) .version{color: #abbab0;}
:where(html[data-theme="dark"]) .primary{color: #d9e6de;box-shadow: 0 5px 14px rgba(0,0,0,0.18);}
:where(html[data-theme="dark"]) .secondary,:where(html[data-theme="dark"]) .date-select{color: #d9e6de;background: #16211b;}
:where(html[data-theme="dark"]) .secondary:hover{border-color: #384a40;background: #16211b;}
:where(html[data-theme="dark"]) .icon-btn{color: #abbab0;}
:where(html[data-theme="dark"]) input,:where(html[data-theme="dark"]) select,:where(html[data-theme="dark"]) textarea{background: #16211b;}
:where(html[data-theme="dark"]) input:focus,:where(html[data-theme="dark"]) select:focus,:where(html[data-theme="dark"]) textarea:focus{box-shadow: 0 0 0 4px rgba(0,0,0,0.11);}
:where(html[data-theme="dark"]) label{color: #d9e6de;}
:where(html[data-theme="dark"]) .sidebar{color: #d9e6de;}
:where(html[data-theme="dark"]) .sidebar .brand{color: #d9e6de;}
:where(html[data-theme="dark"]) .nav-label{color: #abbab0;}
:where(html[data-theme="dark"]) .nav-item,:where(html[data-theme="dark"]) .subnav a{color: #abbab0;}
:where(html[data-theme="dark"]) .nav-item:hover,:where(html[data-theme="dark"]) .subnav a:hover{color: #d9e6de;background: rgba(22,33,27,0.075);}
:where(html[data-theme="dark"]) .nav-item.active{color: #d9e6de;box-shadow: inset 3px 0 #000000;}
:where(html[data-theme="dark"]) .nav-item.active .material-symbols-rounded{color: #acdcbe;}
:where(html[data-theme="dark"]) .nav-item i{color: #ead19e;background: #3e3219;}
:where(html[data-theme="dark"]) .subnav{border-left: 1px solid rgba(56,74,64,0.12);}
:where(html[data-theme="dark"]) .side-user{color: #d9e6de;border-top: 1px solid rgba(56,74,64,0.12);}
:where(html[data-theme="dark"]) .side-user small{color: #abbab0;}
:where(html[data-theme="dark"]) .avatar{border: 2px solid rgba(56,74,64,0.7);background: #1d3a27;}
:where(html[data-theme="dark"]) .topbar{background: rgba(22,33,27,0.94);}
:where(html[data-theme="dark"]) .global-search{color: #abbab0;background: #16211b;}
:where(html[data-theme="dark"]) .global-search:focus-within{background: #16211b;}
:where(html[data-theme="dark"]) .global-search kbd{color: #abbab0;background: #16211b;}
:where(html[data-theme="dark"]) .notification::after{border: 2px solid #384a40;}
:where(html[data-theme="dark"]) .mobile-close{color: #d9e6de;}
:where(html[data-theme="dark"]) .sidebar-overlay{background: rgba(25,62,40,0.5);}
:where(html[data-theme="dark"]) .breadcrumbs{color: #abbab0;}
:where(html[data-theme="dark"]) .card{border: 1px solid rgba(56,74,64,0.85);background: #16211b;}
:where(html[data-theme="dark"]) .quick-actions button{background: #16211b;}
:where(html[data-theme="dark"]) .quick-actions button:hover{border-color: #384a40;}
:where(html[data-theme="dark"]) .stat{background: #16211b;}
:where(html[data-theme="dark"]) .stat.warning .stat-icon{color: #ead09e;background: #3e3219;}
:where(html[data-theme="dark"]) .badge.green{color: #a7e1c1;background: #1b3c26;}
:where(html[data-theme="dark"]) .badge.red{color: #e0a9a9;background: #3e1919;}
:where(html[data-theme="dark"]) .badge.neutral{color: #abbab0;background: #16211b;}
:where(html[data-theme="dark"]) .empty > .material-symbols-rounded{color: #abbab0;}
:where(html[data-theme="dark"]) .loader{border: 2px solid #384a40;}
:where(html[data-theme="dark"]) .list-toolbar,:where(html[data-theme="dark"]) .report-filters{background: #16211b;}
:where(html[data-theme="dark"]) .search-field{color: #abbab0;}
:where(html[data-theme="dark"]) .table-card th{color: #abbab0;background: #16211b;}
:where(html[data-theme="dark"]) .table-card td{color: #abbab0;border-bottom: 1px solid #384a40;}
:where(html[data-theme="dark"]) .table-card tbody tr:hover{background: #16211b;}
:where(html[data-theme="dark"]) .delete-record{color: #abbab0;}
:where(html[data-theme="dark"]) .delete-record:hover{background: #3e1919;}
:where(html[data-theme="dark"]) .section-number{color: #d9e6de;}
:where(html[data-theme="dark"]) .form-actions{background: #16211b;}
:where(html[data-theme="dark"]) .history-row{background: #16211b;}
:where(html[data-theme="dark"]) .checklist-progress{background: #16211b;}
:where(html[data-theme="dark"]) .progress-track{background: #1f2e25;}
:where(html[data-theme="dark"]) .progress-track span{background: linear-gradient(90deg, var(--color-primary), #1d3926);}
:where(html[data-theme="dark"]) .checkitem{background: #16211b;}
:where(html[data-theme="dark"]) .checkitem:hover{border-color: #384a40;}
:where(html[data-theme="dark"]) .checkitem:has(input:checked){border-color: #384a40;background: #1d3a25;}
:where(html[data-theme="dark"]) .checkmark{border: 2px solid #384a40;}
:where(html[data-theme="dark"]) .checkitem input:checked + .checkmark{color: #d9e6de;}
:where(html[data-theme="dark"]) .checkitem.critical{border-left: 3px solid #384a40;}
:where(html[data-theme="dark"]) .capture-field,:where(html[data-theme="dark"]) .upload-field{border: 1px dashed #384a40;background: #1d3a28;}
:where(html[data-theme="dark"]) .profile-photo-editor{background: linear-gradient(135deg,#1d3a28,#16211b);}
:where(html[data-theme="dark"]) .profile-photo-preview{border: 4px solid #384a40;background: #1d3a27;box-shadow: 0 8px 25px rgba(0,0,0,0.18);}
:where(html[data-theme="dark"]) .profile-photo-camera{color: #d9e6de;border: 3px solid #384a40;box-shadow: 0 3px 9px rgba(0,0,0,0.25);}
:where(html[data-theme="dark"]) .profile-photo-preview:focus-visible{outline: 3px solid #384a40;}
:where(html[data-theme="dark"]) .stat.warning .stat-icon{color: #eac69e;background: #3e2e19;}
:where(html[data-theme="dark"]) .badge.green{color: #c5ea9e;background: #323e19;}
:where(html[data-theme="dark"]) .badge.red{color: #ea9eb4;background: #3e1926;}
:where(html[data-theme="dark"]) .badge.neutral{color: #dcc0ac;background: #382b1e;}
:where(html[data-theme="dark"]) .empty > .material-symbols-rounded{color: #d6ea9e;}
:where(html[data-theme="dark"]) .table-card th{color: #abbab0;background: #3a2f1d;}
:where(html[data-theme="dark"]) .table-card td{color: #d8c0b1;border-color: #384a40;}
:where(html[data-theme="dark"]) .table-card tbody tr:hover,:where(html[data-theme="dark"]) .history-row{background: #3c351b;}
:where(html[data-theme="dark"]) .checkitem:hover,:where(html[data-theme="dark"]) .knowledge-category:hover,:where(html[data-theme="dark"]) .knowledge-category.active{border-color: #384a40;}
:where(html[data-theme="dark"]) .checkitem:has(input:checked),:where(html[data-theme="dark"]) .knowledge-category:hover,:where(html[data-theme="dark"]) .knowledge-category.active{background: #323e19;}
:where(html[data-theme="dark"]) .checkmark{border-color: #384a40;}
:where(html[data-theme="dark"]) .checkitem.critical{border-left-color: #384a40;}
:where(html[data-theme="dark"]) .calendar-legend .legend-dot.irrigation,:where(html[data-theme="dark"]) .legend-dot.planting{background: #3e193c;}
:where(html[data-theme="dark"]) .toast-error{background: #3e1923;}
:where(html[data-theme="dark"]) .operation-hero,:where(html[data-theme="dark"]) .knowledge-hero{color: #d9e6de;background: linear-gradient(130deg, var(--color-primary-dark), var(--color-primary) 70%, #1b3b27);}
:where(html[data-theme="dark"]) .operation-hero p,:where(html[data-theme="dark"]) .knowledge-hero p{color: #b4d5c0;}
:where(html[data-theme="dark"]) .operation-hero > .material-symbols-rounded,:where(html[data-theme="dark"]) .knowledge-hero-icon{color: #b1d8bc;}
:where(html[data-theme="dark"]) .operation-cards button{background: #16211b;}
:where(html[data-theme="dark"]) .operation-cards button:hover{border-color: #384a40;}
:where(html[data-theme="dark"]) .knowledge-category{background: #16211b;}
:where(html[data-theme="dark"]) .knowledge-category:hover,:where(html[data-theme="dark"]) .knowledge-category.active{border-color: #384a40;background: #1d3a27;}
:where(html[data-theme="dark"]) .document-card{background: #16211b;}
:where(html[data-theme="dark"]) .document-empty{border: 1px dashed #384a40;background: #16211b;}
:where(html[data-theme="dark"]) .knowledge-search{background: #16211b;}
:where(html[data-theme="dark"]) .admin-summary > div{background: #16211b;}
:where(html[data-theme="dark"]) .report-card{background: #16211b;}
:where(html[data-theme="dark"]) .legend-dot.planting{background: #261d3a;}
:where(html[data-theme="dark"]) .segmented{background: #16211b;}
:where(html[data-theme="dark"]) .segmented button.active{background: #16211b;}
:where(html[data-theme="dark"]) .about-hero{background: #16211b;}
:where(html[data-theme="dark"]) .modal{background: rgba(25,62,39,0.58);}
:where(html[data-theme="dark"]) .modal-card{border: 1px solid rgba(56,74,64,0.6);background: #16211b;box-shadow: 0 24px 70px rgba(0,0,0,0.26);}
:where(html[data-theme="dark"]) .toast{color: #d9e6de;}
:where(html[data-theme="dark"]) .toast-error{background: #3e1919;}
@media  (max-width: 760px) {:where(html[data-theme="dark"]) .table-card tr{background: #16211b;}
:where(html[data-theme="dark"]) .table-card td{border-bottom: 1px solid #384a40;}}

/* ui-brand-system.css */
:where(html[data-theme="dark"]) .brand-module-hero{color:#d9e6de;}
:where(html[data-theme="dark"]) .brand-card{background:#16211b;}
:where(html[data-theme="dark"]) .brand-card--cultivation{background:linear-gradient(160deg,#16211b,var(--brand-sand-50));}
:where(html[data-theme="dark"]) .brand-card--institutional{color:#d9e6de;}
:where(html[data-theme="dark"]) .brand-tag{background:#323e19;}
:where(html[data-theme="dark"]) .brand-tag--warning{color:#eac59e;background:#3e2e19;}
:where(html[data-theme="dark"]) .brand-tag--turnip{color:#e3a6df;background:#3e193b;}
:where(html[data-theme="dark"]) .brand-tag--radish{color:#ea9ebc;background:#3e1925;}
:where(html[data-theme="dark"]) .brand-alert{border:1px solid #384a40;background:#3e3019;}
:where(html[data-theme="dark"]) .brand-empty{border:1px dashed #384a40;}
:where(html[data-theme="dark"]) .brand-button--primary{color:#d9e6de;box-shadow:0 7px 16px rgba(0,0,0,0.2);}

/* ui-features.css */
:where(html[data-theme="dark"]) .stock-summary-card{background:#16211b;}
:where(html[data-theme="dark"]) .stock-summary-card.highest>.material-symbols-rounded{color:#9eeabe;background:#193e28;}
:where(html[data-theme="dark"]) .stock-summary-card.lowest>.material-symbols-rounded{color:#eacc9e;background:#3e3319;}
:where(html[data-theme="dark"]) .vegetable-chart-track{background:#16211b;}
:where(html[data-theme="dark"]) .vegetable-chart-track>span{background:linear-gradient(90deg,#1f3826,var(--color-primary));}
:where(html[data-theme="dark"]) .vegetable-chart-row.highest .vegetable-chart-track>span{background:linear-gradient(90deg,#193e26,#193e28);}
:where(html[data-theme="dark"]) .vegetable-chart-row.lowest .vegetable-chart-track>span{background:linear-gradient(90deg,#3e3219,#3e2f19);}
:where(html[data-theme="dark"]) .bed-stock-badge{color:#b3d5c2;background:#1f3825;}
:where(html[data-theme="dark"]) .stock-level-badge.high{color:#9feabd;background:#193e25;}
:where(html[data-theme="dark"]) .stock-level-badge.low{color:#eace9e;background:#3e3419;}
:where(html[data-theme="dark"]) .stock-level-badge.empty{color:#e4a4a4;background:#3e1919;}
:where(html[data-theme="dark"]) .stock-level-badge.regular{color:#adc7db;background:#192e3e;}
:where(html[data-theme="dark"]) .vegetable-stock-table tr.stock-level-low td:first-child,:where(html[data-theme="dark"]) .vegetable-stock-table tr.stock-level-empty td:first-child{box-shadow:inset 3px 0 #000000;}
:where(html[data-theme="dark"]) .vegetable-stock-table tr.stock-level-high td:first-child{box-shadow:inset 3px 0 #000000;}
:where(html[data-theme="dark"]) .leadership-card.leadership-priority{border:1px solid #384a40;background:linear-gradient(100deg,#1a3d27,#16211b);box-shadow:0 8px 22px rgba(0,0,0,0.09);}
:where(html[data-theme="dark"]) .knowledge-video-player{background:#1f2e25;}
:where(html[data-theme="dark"]) .knowledge-card-cover,:where(html[data-theme="dark"]) .knowledge-card-placeholder{background:linear-gradient(135deg,#1f3827,#16211b);}
:where(html[data-theme="dark"]) .knowledge-source-choice label{background:#16211b;}
:where(html[data-theme="dark"]) .knowledge-source-choice label:has(input:checked){border-color:#384a40;}
:where(html[data-theme="dark"]) .order-item-row{background:#16211b;}
:where(html[data-theme="dark"]) .approve-order-items p{background:#16211b;}
:where(html[data-theme="dark"]) .calendar-day:hover{border-color:#384a40;background:#1d3a24;}
:where(html[data-theme="dark"]) .calendar-day.today{color:#d9e6de;}
:where(html[data-theme="dark"]) .calendar-day.selected{border-color:#384a40;box-shadow:0 0 0 2px #000000;}
:where(html[data-theme="dark"]) .calendar-day>i em{background:#1e3928;}
:where(html[data-theme="dark"]) .calendar-day>i em.colheita{background:#3e3019;}
:where(html[data-theme="dark"]) .calendar-day>i em.reuniao{background:#261a3c;}
:where(html[data-theme="dark"]) .calendar-day>i em.lembrete{background:#3e1919;}
:where(html[data-theme="dark"]) .calendar-day>i em.manutencao{background:#1f2e25;}
:where(html[data-theme="dark"]) .calendar-day-event{background:#16211b;}
:where(html[data-theme="dark"]) .calendar-day-event>i{background:#1e3928;}
:where(html[data-theme="dark"]) .calendar-day-event.colheita>i{background:#3e3019;}
:where(html[data-theme="dark"]) .calendar-day-event.reuniao>i{background:#261a3c;}
:where(html[data-theme="dark"]) .calendar-day-event.lembrete>i{background:#3e1919;}
:where(html[data-theme="dark"]) .calendar-day-event.manutencao>i{background:#1f2e25;}
:where(html[data-theme="dark"]) .calendar-day-event small{color:#abbab0;}
:where(html[data-theme="dark"]) .calendar-server-warning{color:#ead49e;background:#3e3419;}
:where(html[data-theme="dark"]) .gcal-day{background:#16211b;}
:where(html[data-theme="dark"]) .gcal-day:hover{background:#16211b;}
:where(html[data-theme="dark"]) .gcal-day.outside{background:#16211b;}
:where(html[data-theme="dark"]) .gcal-day.outside time{color:#abbab0;}
:where(html[data-theme="dark"]) .gcal-day.selected{background:#1c3b26;box-shadow:inset 0 0 0 2px #000000;}
:where(html[data-theme="dark"]) .gcal-day.today time{color:#d9e6de;}
:where(html[data-theme="dark"]) .gcal-event-chip{color:#acddc0;background:#1c3a26;}
:where(html[data-theme="dark"]) .gcal-event-chip.colheita{color:#ead29e;background:#3e3419;}
:where(html[data-theme="dark"]) .gcal-event-chip.reuniao{color:#bdaddc;background:#25193e;}
:where(html[data-theme="dark"]) .gcal-event-chip.lembrete{color:#e0a9a9;background:#3e1919;}
:where(html[data-theme="dark"]) .gcal-event-chip.manutencao{color:#abbab0;background:#1f2e25;}
:where(html[data-theme="dark"]) .gcal-event-chip.perda{color:#e0a9a9;background:#3e1919;}
:where(html[data-theme="dark"]) .subnav a.active{color:#d9e6de;background:rgba(22,33,27,0.12);}
:where(html[data-theme="dark"]) .task-complete{color:#d9e6de;}
:where(html[data-theme="dark"]) .home-quick-actions button{border:1px solid #384a40;background:#16211b;}
:where(html[data-theme="dark"]) .home-quick-actions button:hover{border-color:#384a40;}
:where(html[data-theme="dark"]) .home-day-summary article{background:#16211b;}
:where(html[data-theme="dark"]) .home-upcoming article,:where(html[data-theme="dark"]) .home-stock-items article{border-bottom:1px solid #384a40;}
:where(html[data-theme="dark"]) .progress-ring{background:conic-gradient(var(--color-primary) calc(var(--progress)*1%),#1f2e25 0);}
:where(html[data-theme="dark"]) .progress-ring::before{background:#16211b;}
:where(html[data-theme="dark"]) .featured-culture-card{background:#16211b;}
:where(html[data-theme="dark"]) .culture-health.pronta-para-colheita{color:#bdb1d8;}
:where(html[data-theme="dark"]) .culture-actions .icon-btn{background:#16211b;}
:where(html[data-theme="dark"]) .marketing-welcome>div{color:#d9e6de;}
:where(html[data-theme="dark"]) .marketing-welcome>div>span{color:#addcba;}
:where(html[data-theme="dark"]) .marketing-welcome p{color:#b3d6be;}
:where(html[data-theme="dark"]) .marketing-stats article{background:#16211b;}
:where(html[data-theme="dark"]) .marketing-stats article:nth-child(1){background:#193e27;}
:where(html[data-theme="dark"]) .marketing-stats article:nth-child(2){background:#192d3e;}
:where(html[data-theme="dark"]) .marketing-stats article:nth-child(3){background:#2b193e;}
:where(html[data-theme="dark"]) .marketing-stats article:nth-child(4){background:#3e2f19;}
:where(html[data-theme="dark"]) .marketing-order-list article{border-bottom:1px solid #384a40;}
:where(html[data-theme="dark"]) .order-status{color:#abbab0;background:#16211b;}
:where(html[data-theme="dark"]) .order-status.aguardando-aprovacao{color:#eacf9e;background:#3e3319;}
:where(html[data-theme="dark"]) .order-status.aguardando-producao{color:#c7afd9;background:#30193e;}
:where(html[data-theme="dark"]) .order-status.em-producao{color:#9fcbea;background:#192f3e;}
:where(html[data-theme="dark"]) .status-donut{background:conic-gradient(#193e28 0 calc(var(--done)*1%),#192d3e calc(var(--done)*1%) calc(var(--running)*1%),#2d193e calc(var(--running)*1%) calc(var(--waiting)*1%),#3e3019 calc(var(--waiting)*1%) 100%);}
:where(html[data-theme="dark"]) .status-donut::before{background:#16211b;}
:where(html[data-theme="dark"]) .marketing-status-summary p{border-bottom:1px solid #384a40;}
:where(html[data-theme="dark"]) .marketing-status-summary p>i{background:#1f2e25;}
:where(html[data-theme="dark"]) .marketing-status-summary p>i.concluido{background:#193e28;}
:where(html[data-theme="dark"]) .marketing-status-summary p>i.em-producao{background:#192d3e;}
:where(html[data-theme="dark"]) .marketing-status-summary p>i.aguardando-producao{background:#2d193e;}
:where(html[data-theme="dark"]) .marketing-status-summary p>i.aguardando-aprovacao{background:#3e3019;}
:where(html[data-theme="dark"]) .marketing-knowledge article{border-bottom:1px solid #384a40;}
:where(html[data-theme="dark"]) .production-summary article{background:#16211b;}
:where(html[data-theme="dark"]) .order-action{color:#d9e6de;}
:where(html[data-theme="dark"]) .health-activity-list article{background:#16211b;}
:where(html[data-theme="dark"]) .health-activity-list small{color:#abbab0;}
:where(html[data-theme="dark"]) .health-assignees label{background:#16211b;}
:where(html[data-theme="dark"]) .weekly-challenge{color:#ead19e;border:1px solid #384a40;background:linear-gradient(120deg,#3e3319,#3e3419);}
:where(html[data-theme="dark"]) .challenge-icon{color:#eace9e;background:#16211b;}
:where(html[data-theme="dark"]) .curiosity-grid>button{background:#16211b;}
:where(html[data-theme="dark"]) .curiosity-grid>button:hover{border-color:#384a40;}
:where(html[data-theme="dark"]) .curiosity-grid .material-symbols-rounded{color:#eacf9e;}
:where(html[data-theme="dark"]) .birthday-card{border:1px solid #384a40;background:#3e1929;}
:where(html[data-theme="dark"]) .birthday-card small{color:#d6b2c2;}
:where(html[data-theme="dark"]) .wall-card{background:#16211b;}
:where(html[data-theme="dark"]) .wall-card>.material-symbols-rounded{color:#dbaec0;background:#3e1928;}
:where(html[data-theme="dark"]) .wall-card small{color:#d6b2c2;}
:where(html[data-theme="dark"]) .wall-card>.delete-wall-item{background:#16211b;}
:where(html[data-theme="dark"]) .health-access-badge{color:#c4b2d7;background:#2e193e;}
:where(html[data-theme="dark"]) .health-hero{color:#d9e6de;background:linear-gradient(125deg,#1a3d2c,#1e3929);}
:where(html[data-theme="dark"]) .health-hero>div>span{color:#aedbbc;}
:where(html[data-theme="dark"]) .health-hero p{color:#b1d8bd;}
:where(html[data-theme="dark"]) .health-hero>.material-symbols-rounded{color:#aedbba;}
:where(html[data-theme="dark"]) .health-confidential{color:#d9e6de;border:1px solid #384a40;background:#1d3a25;}
:where(html[data-theme="dark"]) .mood-options label{background:#16211b;}
:where(html[data-theme="dark"]) .mood-options label:has(input:checked){border-color:#384a40;box-shadow:0 0 0 2px rgba(0,0,0,0.125);}
:where(html[data-theme="dark"]) .health-talk-check{background:#16211b;}
:where(html[data-theme="dark"]) .health-post{background:#16211b;}
:where(html[data-theme="dark"]) .health-post>img,:where(html[data-theme="dark"]) .health-post-placeholder{background:linear-gradient(140deg,#1f3827,#16211b);}
:where(html[data-theme="dark"]) .health-history-item,:where(html[data-theme="dark"]) .health-session-item{border-bottom:1px solid #384a40;}
:where(html[data-theme="dark"]) .health-history-item small,:where(html[data-theme="dark"]) .health-session-item small{color:#abbab0;}
:where(html[data-theme="dark"]) .health-guidance{color:#ddd0ac;background:#3e3219;}
:where(html[data-theme="dark"]) .chat-contacts i{color:#d9e6de;}
:where(html[data-theme="dark"]) .chat-messages{background:#16211b;}
:where(html[data-theme="dark"]) .chat-messages article{background:#16211b;}
:where(html[data-theme="dark"]) .chat-messages article.sent{color:#d9e6de;}
:where(html[data-theme="dark"]) .bottom-navigation{background:rgba(22,33,27,0.97);box-shadow:0 -8px 30px rgba(0,0,0,0.1);}
:where(html[data-theme="dark"]) .bottom-nav-item{color:#abbab0;}
:where(html[data-theme="dark"]) .bottom-nav-primary .material-symbols-rounded{color:#d9e6de;box-shadow:0 8px 20px rgba(0,0,0,0.3);}
:where(html[data-theme="dark"]) .quick-register-action{background:#16211b;}
:where(html[data-theme="dark"]) .quick-register-action:hover{border-color:#384a40;}
:where(html[data-theme="dark"]) .connection-status{background:#16211b;}
:where(html[data-theme="dark"]) .connection-status span{box-shadow:0 0 0 3px rgba(0,0,0,0.12);}
:where(html[data-theme="dark"]) .connection-status.offline{color:#eac69e;background:#3e3219;}
:where(html[data-theme="dark"]) .connection-status.pending{color:#a5c4e3;background:#192d3e;}
:where(html[data-theme="dark"]) .brand-home:focus-visible{outline:2px solid #384a40;}
:where(html[data-theme="dark"]) .search-results{background:#16211b;}
:where(html[data-theme="dark"]) .search-results button{background:#16211b;}
:where(html[data-theme="dark"]) .notification #notificationBadge{color:#d9e6de;border:2px solid #384a40;}
:where(html[data-theme="dark"]) .stock-categories button{background:#16211b;}
:where(html[data-theme="dark"]) .stock-categories button:hover{border-color:#384a40;}
:where(html[data-theme="dark"]) .stock-category-card{background:#16211b;}
:where(html[data-theme="dark"]) .category-preview{background:#16211b;}
:where(html[data-theme="dark"]) .task-shortcuts button{background:#16211b;}
:where(html[data-theme="dark"]) .task-shortcuts button:hover{border-color:#384a40;}
:where(html[data-theme="dark"]) .performance-score{color:#d9e6de;}
:where(html[data-theme="dark"]) .performance-metrics article,:where(html[data-theme="dark"]) .goal-grid article{background:#16211b;}
:where(html[data-theme="dark"]) .weather-widget{color:#d9e6de;background:linear-gradient(145deg,#192b3e,#19313e);}
:where(html[data-theme="dark"]) .weather-widget::after{background:rgba(22,33,27,0.094);}
:where(html[data-theme="dark"]) .weather-widget small{color:#9ecdea;}
:where(html[data-theme="dark"]) .weather-widget p{color:#9ecbea;}
:where(html[data-theme="dark"]) .weather-widget.weather-night{background:linear-gradient(145deg,#19283e,#1f2938);}
:where(html[data-theme="dark"]) .weather-sun{background:#3e3519;box-shadow:0 0 0 8px rgba(0,0,0,0.149);}
:where(html[data-theme="dark"]) .weather-cloud{background:#16211b;box-shadow:17px -11px 0 -3px #000000;}
:where(html[data-theme="dark"]) .weather-night .weather-sun{background:#19253e;box-shadow:0 0 0 8px rgba(0,0,0,0.125);}
:where(html[data-theme="dark"]) .operational-alerts article{background:#16211b;}
:where(html[data-theme="dark"]) .alert-info>.material-symbols-rounded{color:#a5c4e3;}
:where(html[data-theme="dark"]) .task-log-list article{background:#16211b;}
:where(html[data-theme="dark"]) .stock-alerts article{color:#eace9e;border:1px solid #384a40;background:#3e3219;}
:where(html[data-theme="dark"]) .stock-alerts .stock-ok{border-color:#384a40;}
:where(html[data-theme="dark"]) .inventory-item{background:#16211b;}
:where(html[data-theme="dark"]) .inventory-item.low-stock{border-color:#384a40;}
:where(html[data-theme="dark"]) .inventory-photo{background:linear-gradient(145deg,#16211b,#1f2e25);}
:where(html[data-theme="dark"]) .inventory-photo>span{color:#abbab0;}
:where(html[data-theme="dark"]) .photo-inventory{color:#d9e6de;background:rgba(25,62,44,0.8);}
:where(html[data-theme="dark"]) .condition-badge{background:#16211b;}
:where(html[data-theme="dark"]) .condition-ruim,:where(html[data-theme="dark"]) .condition-quebrada{background:#3e1919;}
:where(html[data-theme="dark"]) .condition-regular,:where(html[data-theme="dark"]) .condition-revisao{color:#eacf9e;background:#3e3319;}
:where(html[data-theme="dark"]) .minimum-alert{color:#eacf9e;background:#3e3319;}
:where(html[data-theme="dark"]) .culture-photo-field>img{border:1px solid var(--color-border,#384a40);background:#16211b;}
:where(html[data-theme="dark"]) .garden-help{background:linear-gradient(135deg,#193e24,#16211b);}
:where(html[data-theme="dark"]) .garden-bed{border:1px solid #384a40;background:#16211b;}
:where(html[data-theme="dark"]) .garden-bed::before{border:7px solid #384a40;}
:where(html[data-theme="dark"]) .garden-bed header{background:#16211b;}
:where(html[data-theme="dark"]) .garden-bed header i{color:#d9e6de;}
:where(html[data-theme="dark"]) .garden-bed-soil{background:repeating-linear-gradient(105deg,#3a291d 0,#3a291d 12px,#392a1d 12px,#392a1d 24px);}
:where(html[data-theme="dark"]) .bed-crop{border:1px solid rgba(56,74,64,0.75);background:rgba(22,33,27,0.95);box-shadow:0 3px 8px rgba(0,0,0,0.12);}
:where(html[data-theme="dark"]) .bed-crop:hover{box-shadow:0 6px 13px rgba(0,0,0,0.18);}
:where(html[data-theme="dark"]) .bed-crop.selected{outline:3px solid #384a40;}
:where(html[data-theme="dark"]) .bed-crop .icon-btn{background:#16211b;}
:where(html[data-theme="dark"]) .empty-bed{color:#dec7ab;}
:where(html[data-theme="dark"]) .add-to-bed{border:1px dashed #384a40;background:#193d24;}
:where(html[data-theme="dark"]) .garden-bed.drag-over{border-color:#384a40;box-shadow:0 0 0 4px rgba(0,0,0,0.2);}
:where(html[data-theme="dark"]) .garden-bed{background:#3b2e1b;}
:where(html[data-theme="dark"]) .garden-bed header{background:#16211b;}
:where(html[data-theme="dark"]) .garden-bed .add-to-bed{background:#1f2e25;}
:where(html[data-theme="dark"]) .garden-bed .empty-bed{color:#dbc7ae;}
:where(html[data-theme="dark"]) .harvest-alert{color:#ead39e;border:1px solid #384a40;background:#3e3519;}
:where(html[data-theme="dark"]) .bed-crop.harvest-soon{border-color:#384a40;}
:where(html[data-theme="dark"]) .harvest-warning{color:#eacf9e;}
:where(html[data-theme="dark"]) .checklist-plant{background:#16211b;}
:where(html[data-theme="dark"]) .calendar-event.perda>.material-symbols-rounded{background:#3e1919;}
:where(html[data-theme="dark"]) .calendar-event.doacao>.material-symbols-rounded{color:#c5afda;background:#2d193e;}
:where(html[data-theme="dark"]) .calendar-event.aplicacao>.material-symbols-rounded{background:#192d3e;}
:where(html[data-theme="dark"]) .garden-bed.needs-replenishment{border-color:#384a40;}
:where(html[data-theme="dark"]) .garden-bed.needs-replenishment header{background:#3e1919;}
:where(html[data-theme="dark"]) .garden-bed.needs-replenishment header i{background:var(--color-danger,#3e1919);}
:where(html[data-theme="dark"]) .replenishment-label{color:var(--color-danger,#e4a5a5);}
@media (prefers-reduced-motion:reduce){:where(html[data-theme="dark"]) .garden-bed.needs-replenishment{box-shadow:0 0 0 3px rgba(0,0,0,0.15);}}
:where(html[data-theme="dark"]) .order-culture-preview{background:#16211b;}
:where(html[data-theme="dark"]) .order-stock-warning{color:#ead49e;border:1px solid #384a40;background:#3e3419;}
:where(html[data-theme="dark"]) .home-quick-actions button,:where(html[data-theme="dark"]) .home-day-summary article,:where(html[data-theme="dark"]) .health-activity-list article,:where(html[data-theme="dark"]) .mood-options label,:where(html[data-theme="dark"]) .health-talk-check,:where(html[data-theme="dark"]) .knowledge-source-choice label,:where(html[data-theme="dark"]) .order-culture-preview{background: #3c351b;}
:where(html[data-theme="dark"]) .home-quick-actions button:hover,:where(html[data-theme="dark"]) .knowledge-source-choice label:has(input:checked),:where(html[data-theme="dark"]) .mood-options label:has(input:checked){border-color: #384a40;background: #323e19;box-shadow: 0 0 0 2px rgba(0,0,0,0.14);}
:where(html[data-theme="dark"]) .vegetable-chart-track>span,:where(html[data-theme="dark"]) .vegetable-chart-row.highest .vegetable-chart-track>span{background: linear-gradient(90deg,#303e19,#2d3e19);}
:where(html[data-theme="dark"]) .vegetable-chart-row.lowest .vegetable-chart-track>span{background: linear-gradient(90deg,#3e2d19,#3e2d19);}
:where(html[data-theme="dark"]) .stock-level-badge.high,:where(html[data-theme="dark"]) .bed-stock-badge{color: #c5ea9e;background: #323e19;}
:where(html[data-theme="dark"]) .stock-level-badge.low{color: #eac69e;background: #3e2e19;}
:where(html[data-theme="dark"]) .stock-level-badge.empty{color: #ea9eb4;background: #3e1926;}
:where(html[data-theme="dark"]) .stock-level-badge.regular{color: #e3a6e0;background: #3e193b;}
:where(html[data-theme="dark"]) .vegetable-stock-table tr.stock-level-low td:first-child,:where(html[data-theme="dark"]) .vegetable-stock-table tr.stock-level-empty td:first-child{box-shadow: inset 3px 0 #000000;}
:where(html[data-theme="dark"]) .vegetable-stock-table tr.stock-level-high td:first-child{box-shadow: inset 3px 0 #000000;}
:where(html[data-theme="dark"]) .garden-bed-soil{background: repeating-linear-gradient(105deg,#3e2719 0,#3e2719 12px,#3d281a 12px,#3d281a 24px);}
:where(html[data-theme="dark"]) .garden-bed::before{border-color: #384a40;}
:where(html[data-theme="dark"]) .empty-bed{color: #d8c4b1;}
:where(html[data-theme="dark"]) .calendar-server-warning,:where(html[data-theme="dark"]) .order-stock-warning,:where(html[data-theme="dark"]) .minimum-alert,:where(html[data-theme="dark"]) .health-guidance{color: #eac69e;border-color: #384a40;background: #3e2e19;}
:where(html[data-theme="dark"]) .gcal-day:hover,:where(html[data-theme="dark"]) .gcal-day.outside{background: #3c351b;}
:where(html[data-theme="dark"]) .gcal-day.selected{background: #323e19;box-shadow: inset 0 0 0 2px #000000;}
:where(html[data-theme="dark"]) .gcal-event-chip{color: #c5ea9e;background: #313e19;}
:where(html[data-theme="dark"]) .gcal-event-chip.colheita{color: #eac69e;background: #3e2e19;}
:where(html[data-theme="dark"]) .gcal-event-chip.reuniao,:where(html[data-theme="dark"]) .gcal-event-chip.manutencao{color: #e3a6e0;background: #3e193a;}
:where(html[data-theme="dark"]) .gcal-event-chip.lembrete,:where(html[data-theme="dark"]) .gcal-event-chip.perda{color: #ea9eb4;background: #3e1926;}
:where(html[data-theme="dark"]) .culture-health.pronta-para-colheita,:where(html[data-theme="dark"]) .culture-health.em-crescimento,:where(html[data-theme="dark"]) .alert-info>.material-symbols-rounded{color: #dfaadd;}
:where(html[data-theme="dark"]) .marketing-welcome>div,:where(html[data-theme="dark"]) .health-hero{background: linear-gradient(135deg,#2c3e19,#2d3e19);}
:where(html[data-theme="dark"]) .marketing-welcome>div>span,:where(html[data-theme="dark"]) .health-hero>div>span{color: #d1e99f;}
:where(html[data-theme="dark"]) .marketing-welcome p,:where(html[data-theme="dark"]) .health-hero p{color: #cdddab;}
:where(html[data-theme="dark"]) .health-hero>.material-symbols-rounded{color: #cfe9a0;}
:where(html[data-theme="dark"]) .marketing-stats article:nth-child(1){background: #323e19;}
:where(html[data-theme="dark"]) .marketing-stats article:nth-child(2){background: #3e2e19;}
:where(html[data-theme="dark"]) .marketing-stats article:nth-child(3){background: #3e193b;}
:where(html[data-theme="dark"]) .marketing-stats article:nth-child(4){background: #3e1926;}
:where(html[data-theme="dark"]) .order-status{color: #dcc0ac;background: #382b1e;}
:where(html[data-theme="dark"]) .order-status.aguardando-aprovacao{color: #eac69e;background: #3e2e19;}
:where(html[data-theme="dark"]) .order-status.aguardando-producao,:where(html[data-theme="dark"]) .order-status.em-producao{color: #e3a6e0;background: #3e193b;}
:where(html[data-theme="dark"]) .order-status.concluido{color: #c5ea9e;background: #323e19;}
:where(html[data-theme="dark"]) .status-donut{background: conic-gradient(#2d3e19 0 calc(var(--done)*1%),#3e193c calc(var(--done)*1%) calc(var(--running)*1%),#3e1928 calc(var(--running)*1%) calc(var(--waiting)*1%),#3e2d19 calc(var(--waiting)*1%) 100%);}
:where(html[data-theme="dark"]) .marketing-status-summary p>i.concluido{background: #2d3e19;}
:where(html[data-theme="dark"]) .marketing-status-summary p>i.em-producao{background: #3e193c;}
:where(html[data-theme="dark"]) .marketing-status-summary p>i.aguardando-producao{background: #3e1928;}
:where(html[data-theme="dark"]) .marketing-status-summary p>i.aguardando-aprovacao{background: #3e2d19;}
:where(html[data-theme="dark"]) .weather-widget{background: linear-gradient(145deg,#3e193c,#3e193b);}
:where(html[data-theme="dark"]) .weather-widget.weather-night{background: linear-gradient(145deg,#3e2719,#3d281a);}
:where(html[data-theme="dark"]) .weather-sun{background: #3e2d19;box-shadow: 0 0 0 8px rgba(0,0,0,0.2);}
:where(html[data-theme="dark"]) .weekly-challenge{color: #eac59e;border-color: #384a40;background: linear-gradient(120deg,#3e2f19,#3e2e19);}
:where(html[data-theme="dark"]) .challenge-icon,:where(html[data-theme="dark"]) .curiosity-grid .material-symbols-rounded{color: #eac79e;}
:where(html[data-theme="dark"]) .birthday-card{border-color: #384a40;background: #3e1927;}
:where(html[data-theme="dark"]) .birthday-card small,:where(html[data-theme="dark"]) .wall-card small,:where(html[data-theme="dark"]) .wall-card>.material-symbols-rounded{color: #ea9ebd;}
:where(html[data-theme="dark"]) .wall-card>.material-symbols-rounded{background: #3e1926;}
:where(html[data-theme="dark"]) .health-access-badge{color: #e3a6e0;background: #3e193b;}
:where(html[data-theme="dark"]) .health-confidential{color: #e8bda1;border-color: #384a40;background: #323e19;}
:where(html[data-theme="dark"]) .performance-score{background: #2d3e19;}
:where(html[data-theme="dark"]) .performance-metrics article,:where(html[data-theme="dark"]) .goal-grid article,:where(html[data-theme="dark"]) .task-log-list article{background: #3c351b;}
:where(html[data-theme="dark"]) .inventory-photo,:where(html[data-theme="dark"]) .knowledge-card-cover,:where(html[data-theme="dark"]) .knowledge-card-placeholder,:where(html[data-theme="dark"]) .health-post-placeholder{background: linear-gradient(145deg,#323e19,#382b1e);}
:where(html[data-theme="dark"]) .garden-help{background: linear-gradient(135deg,#323e19,#16211b);}
:where(html[data-theme="dark"]) .workday-hero,:where(html[data-theme="dark"]) .impact-hero{color:#d9e6de;background:linear-gradient(130deg,#2c3e19,#2d3e19);}
:where(html[data-theme="dark"]) .workday-hero span,:where(html[data-theme="dark"]) .impact-hero>span{color:#d1e99f;}
:where(html[data-theme="dark"]) .workday-hero p,:where(html[data-theme="dark"]) .impact-hero p{color:#d2e7a2;}
:where(html[data-theme="dark"]) .workday-progress{border:8px solid #384a40;background:rgba(22,33,27,0.071);}
:where(html[data-theme="dark"]) .workday-checklists button{background:#16211b;}
:where(html[data-theme="dark"]) .workday-checklists .is-done{border-color:#384a40;background:#323e19;}
:where(html[data-theme="dark"]) .workday-item,:where(html[data-theme="dark"]) .workday-mini{background:#3c351b;}
:where(html[data-theme="dark"]) .incident-summary article,:where(html[data-theme="dark"]) .donation-summary article,:where(html[data-theme="dark"]) .sync-metrics article,:where(html[data-theme="dark"]) .impact-grid article{background:#16211b;}
:where(html[data-theme="dark"]) .incident-card{border-top:4px solid #384a40;background:#16211b;}
:where(html[data-theme="dark"]) .incident-card.priority-alta{border-top-color:#384a40;}
:where(html[data-theme="dark"]) .incident-card.priority-crítica{border-top-color:#384a40;}
:where(html[data-theme="dark"]) .incident-card header i{background:#382b1e;}
:where(html[data-theme="dark"]) .donation-card{background:#16211b;}
:where(html[data-theme="dark"]) .donation-items{background:#3c351b;}
:where(html[data-theme="dark"]) .donation-items span{background:#16211b;}
:where(html[data-theme="dark"]) .signature-canvas{border:2px dashed #384a40;background:#16211b;}
:where(html[data-theme="dark"]) .impact-hero strong{color:#eac99e;}
:where(html[data-theme="dark"]) .impact-hero small{color:#d1e99f;}
:where(html[data-theme="dark"]) .training-card{background:#16211b;}
:where(html[data-theme="dark"]) .training-progress{background:#39301e;}
:where(html[data-theme="dark"]) .training-progress span{background:linear-gradient(90deg,#303e19,#2d3e19);}
:where(html[data-theme="dark"]) .sync-hero{color:#d9e6de;background:#3d281a;}
:where(html[data-theme="dark"]) .sync-hero.online{background:linear-gradient(130deg,#2c3e19,#2d3e19);}
:where(html[data-theme="dark"]) .sync-queue i{color:#eac69e;}

/* ui-training.css */
:where(html[data-theme="dark"]) .quiz-taking label{background:#16211b;}

/* ui-support.css */
:where(html[data-theme="dark"]) .support-summary article{background:#16211b;}
:where(html[data-theme="dark"]) .support-ticket{border-left:5px solid #384a40;background:#16211b;}
:where(html[data-theme="dark"]) .support-ticket.priority-alta{border-left-color:#384a40;}
:where(html[data-theme="dark"]) .support-ticket.priority-urgente{border-left-color:#384a40;}
:where(html[data-theme="dark"]) .ticket-detail{background:#16211b;}

/* ui-presence.css */
:where(html[data-theme="dark"]) body[data-presence="online"] .side-user .avatar,:where(html[data-theme="dark"]) body[data-presence="online"] .user-mini .avatar{box-shadow:0 0 0 3px #000000;}
:where(html[data-theme="dark"]) body[data-presence="ausente"] .side-user .avatar,:where(html[data-theme="dark"]) body[data-presence="ausente"] .user-mini .avatar{box-shadow:0 0 0 3px #000000;}
:where(html[data-theme="dark"]) body[data-presence="offline"] .side-user .avatar,:where(html[data-theme="dark"]) body[data-presence="offline"] .user-mini .avatar{box-shadow:0 0 0 3px #000000;}

/* ui-login-brand.css */
:where(html[data-theme="dark"]) .login-art{background:#2a3e19 url("/assets/branding/login-cultivo-humano.png") center 55%/cover no-repeat;}
:where(html[data-theme="dark"]) .login-art::before{background:linear-gradient(90deg,rgba(40,62,25,0.72) 0%,rgba(40,62,25,0.26) 58%,rgba(40,62,25,0.04) 100%),linear-gradient(0deg,rgba(42,62,25,0.74) 0%,transparent 44%,rgba(39,62,25,0.28) 100%);}
:where(html[data-theme="dark"]) .login-brand-lockup-light .brand-divider{background:rgba(22,33,27,0.7);}
:where(html[data-theme="dark"]) .art-content h1{color:#d9e6de;}
:where(html[data-theme="dark"]) .login-panel{background:linear-gradient(145deg,#3e3319 0%,var(--brand-sand-50) 100%);}
:where(html[data-theme="dark"]) .login-panel::after{background:radial-gradient(circle at 50% 48%,rgba(62,51,25,0.82) 0%,rgba(62,51,25,0.62) 38%,rgba(62,51,25,0.22) 70%,transparent 90%);}
:where(html[data-theme="dark"]) .input-shell{border:1px solid #384a40;background:rgba(22,33,27,0.55);}
:where(html[data-theme="dark"]) .input-shell:focus-within{box-shadow:0 0 0 4px rgba(0,0,0,0.12);}
:where(html[data-theme="dark"]) .login-submit{box-shadow:0 9px 22px rgba(0,0,0,0.2);}
:where(html[data-theme="dark"]) .login-or{color:#abbab0;}
:where(html[data-theme="dark"]) .login-or::before,:where(html[data-theme="dark"]) .login-or::after{background:#1f2e25;}
:where(html[data-theme="dark"]) .visitor{border-color:#384a40;background:rgba(22,33,27,0.28);}
:where(html[data-theme="dark"]) .version{color:#abbab0;}
@media (max-width:760px){:where(html[data-theme="dark"]) .login-mobile-story{background:#2a3e19;}
:where(html[data-theme="dark"]) .login-mobile-story::after{background:linear-gradient(90deg,rgba(42,62,25,0.68),rgba(42,62,25,0.05)),linear-gradient(0deg,rgba(42,62,25,0.5),transparent 55%);}
:where(html[data-theme="dark"]) .login-mobile-story span{color:#d9e6de;}
:where(html[data-theme="dark"]) .login-brand-lockup-compact .brand-divider{background:rgba(22,33,27,0.7);}}
@media (max-width:760px){:where(html[data-theme="dark"]) .login-panel::after{background:radial-gradient(circle at 50% 55%,rgba(62,51,25,0.86),rgba(62,51,25,0.62) 60%,rgba(62,51,25,0.22));}}
@media (max-width:760px) and (orientation:portrait){:where(html[data-theme="dark"]) .login-mobile-story{background:#2a3e19;}
:where(html[data-theme="dark"]) .login-mobile-story::after{background:linear-gradient(0deg,rgba(42,62,25,0.68),transparent 48%),linear-gradient(180deg,rgba(38,62,25,0.56),transparent 38%);}
:where(html[data-theme="dark"]) .login-brand-lockup-compact .brand-divider{background:rgba(22,33,27,0.72);}
:where(html[data-theme="dark"]) .login-mobile-sheet{background:linear-gradient(145deg,#3e3319,var(--brand-sand-50));box-shadow:0 -10px 30px rgba(0,0,0,0.08);}
:where(html[data-theme="dark"]) .input-shell{background:rgba(22,33,27,0.56);}}

/* ui-mobile.css */
@media  (max-width: 760px) {:where(html[data-theme="dark"]) #app .form-actions{background: rgba(22,33,27,0.96);box-shadow: 0 -8px 24px rgba(0,0,0,0.08);}
:where(html[data-theme="dark"]) #app .table-card tr{background: #16211b;}
:where(html[data-theme="dark"]) #app .table-card td{border-bottom: 1px solid #384a40;}
:where(html[data-theme="dark"]) .modal-card .close-modal{background: #16211b;}
:where(html[data-theme="dark"]) .modal-card form > .primary{box-shadow: 0 -8px 22px rgba(0,0,0,0.92);}
:where(html[data-theme="dark"]) #app .user-actions .icon-btn{background: #16211b;}
:where(html[data-theme="dark"]) #app .chat-conversation form{background: #16211b;}}
