/* Generated by work/build-dark-theme.mjs. */
@media screen{
html[data-theme="dark"] body{background:var(--bg)}
html[data-theme="dark"] button{color:inherit}
html[data-theme="dark"] a{color:var(--green)}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible,html[data-theme="dark"] textarea:focus-visible,html[data-theme="dark"] a:focus-visible{outline:3px solid #75e5bb}
html[data-theme="dark"] .muted{color:var(--muted)}
html[data-theme="dark"] .top{background:#14161a;color:#f2f3f5;border-bottom:3px solid #4c525c}
html[data-theme="dark"] .brand{background:#14161a;border-radius:7px}
html[data-theme="dark"] .nav{border:1px solid transparent;border-radius:8px;background:transparent;color:#f2f3f5}
html[data-theme="dark"] .nav.active{background:#202328;color:#75e5bb}
html[data-theme="dark"] .nav:hover:not(.active){background:#17191d;color:#f2f3f5}
html[data-theme="dark"] .profile>span{color:#f2f3f5}
html[data-theme="dark"] .profile .text-button{color:#f2f3f5}
html[data-theme="dark"] .profile .secondary{border-color:#4c525c;background:#17191d;color:#f2f3f5}
html[data-theme="dark"] .eyebrow{color:var(--green)}
html[data-theme="dark"] .intro p{color:var(--muted)}
html[data-theme="dark"] .bill-tag{background:#292d33;color:#f2f3f5;border:1px solid #4c525c;border-radius:8px}
html[data-theme="dark"] .workspace-nav{background:#202328;border:1px solid var(--line);border-radius:12px}
html[data-theme="dark"] .workspace-nav::before{color:#bdc3cd}
html[data-theme="dark"] .workspace-nav button{border:0;border-left:3px solid transparent;border-radius:7px;background:transparent;color:#bdc3cd}
html[data-theme="dark"] .workspace-nav button.active{background:#292d33;color:#75e5bb}
html[data-theme="dark"] .workspace-nav button:hover{background:#292d33}
html[data-theme="dark"] .view-nav button{border:1px solid #4c525c;background:#202328;color:#bdc3cd;border-radius:8px}
html[data-theme="dark"] .view-nav button.active{background:#292d33;border-color:#75e5bb;color:#75e5bb}
html[data-theme="dark"] .catalog-head span{color:var(--muted)}
html[data-theme="dark"] .primary,html[data-theme="dark"] .secondary,html[data-theme="dark"] .danger{border:1px solid transparent;border-radius:8px}
html[data-theme="dark"] .primary{background:#17191d;color:#f2f3f5}
html[data-theme="dark"] .primary:hover:not(:disabled){background:#17191d}
html[data-theme="dark"] .secondary{background:#202328;border-color:#4c525c;color:#bdc3cd}
html[data-theme="dark"] .secondary:hover:not(:disabled){background:#292d33}
html[data-theme="dark"] .danger{background:#202328;color:#ffd2c9;border-color:#ffd2c9}
html[data-theme="dark"] .danger:hover{background:#452c30}
html[data-theme="dark"] .text-button{background:none;border:0;color:#bdc3cd;border-radius:7px}
html[data-theme="dark"] .text-button:hover{background:#292d33}
html[data-theme="dark"] .employee-actions .text-button{background:#202328;border:1px solid #4c525c}
html[data-theme="dark"] .input,html[data-theme="dark"] .select,html[data-theme="dark"] .week{color:var(--text);background:#202328;border:1px solid #4c525c;border-radius:8px}
html[data-theme="dark"] .input::placeholder{color:#bdc3cd}
html[data-theme="dark"] .label{color:#bdc3cd}
html[data-theme="dark"] .field{color:#bdc3cd}
html[data-theme="dark"] .field small{color:var(--muted)}
html[data-theme="dark"] .form-check,html[data-theme="dark"] .pay-check{color:#bdc3cd}
html[data-theme="dark"] .form-error{color:#ffd2c9}
html[data-theme="dark"] .help-line{color:#bdc3cd;border:1px solid #4c525c;background:#292d33;border-radius:9px}
html[data-theme="dark"] .recipe-row{background:#202328;border:1px solid var(--line);border-radius:9px}
html[data-theme="dark"] .stat{background:#202328;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 4px #00000004}
html[data-theme="dark"] .stat>span{color:#bdc3cd}
html[data-theme="dark"] .stat>small{color:#bdc3cd}
html[data-theme="dark"] .stat:last-child{background:#292d33;border-color:#4c525c}
html[data-theme="dark"] .stat:last-child>strong{color:#bdc3cd}
html[data-theme="dark"] .finance-breakdown{background:#202328;border:1px solid var(--line);border-radius:12px}
html[data-theme="dark"] .finance-row{border-bottom:1px solid #4c525c;color:#bdc3cd}
html[data-theme="dark"] .finance-row strong{color:#f2f3f5}
html[data-theme="dark"] .finance-row.final{border:0;background:#292d33;border-radius:8px;color:#f2f3f5}
html[data-theme="dark"] .finance-row.final strong{color:#f2f3f5}
html[data-theme="dark"] .table-wrap{background:#202328;border:1px solid var(--line);border-radius:11px}
html[data-theme="dark"] table{border-collapse:collapse}
html[data-theme="dark"] th{background:#292d33;color:#bdc3cd;border-bottom:1px solid #4c525c}
html[data-theme="dark"] td{border-bottom:1px solid #4c525c;color:#bdc3cd}
html[data-theme="dark"] td strong{color:#f2f3f5}
html[data-theme="dark"] tbody tr:nth-child(even){background:#202328}
html[data-theme="dark"] tbody tr:hover{background:#292d33}
html[data-theme="dark"] tr:last-child td{border-bottom:0}
html[data-theme="dark"] .status{border-radius:6px;background:#173a31;color:#a3f1ce}
html[data-theme="dark"] .status::before{border-radius:50%;background:currentColor}
html[data-theme="dark"] .status.unpaid{background:#43341f;color:#ffd2c9}
html[data-theme="dark"] .status.void{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .empty{color:var(--muted);background:#202328;border:1px dashed #4c525c;border-radius:10px}
html[data-theme="dark"] .empty strong{color:#bdc3cd}
html[data-theme="dark"] .admin-card{background:#202328;border:1px solid var(--line);border-radius:12px}
html[data-theme="dark"] .worker{background:#202328;border:1px solid var(--line);border-radius:11px}
html[data-theme="dark"] .worker-note{color:var(--muted)}
html[data-theme="dark"] .dot{border-radius:50%;background:#30353d}
html[data-theme="dark"] .product{background:#202328;border:1px solid #4c525c;border-radius:12px}
html[data-theme="dark"] .product:hover{border-color:#4c525c;background:#202328}
html[data-theme="dark"] .product.selected{background:#292d33;border:2px solid #75e5bb}
html[data-theme="dark"] .product-name{color:#f2f3f5}
html[data-theme="dark"] .price{color:#bdc3cd}
html[data-theme="dark"] .add-symbol{border-radius:8px;background:#292d33;color:#bdc3cd;border:1px solid #4c525c}
html[data-theme="dark"] .selected .add-symbol{background:#30353d;color:#f2f3f5;border-color:#75e5bb}
html[data-theme="dark"] .order{background:#202328;border:1px solid #4c525c;border-radius:13px;box-shadow:0 8px 24px #00000010}
html[data-theme="dark"] .order-head{background:#292d33;border-bottom:1px solid #4c525c}
html[data-theme="dark"] .order-head>span{color:#bdc3cd}
html[data-theme="dark"] .order-row{border-bottom:1px solid #4c525c}
html[data-theme="dark"] .order-row:last-child{border:0}
html[data-theme="dark"] .qty{border:1px solid #4c525c;border-radius:8px;background:#202328}
html[data-theme="dark"] .qty button{background:none;border:0;color:#bdc3cd}
html[data-theme="dark"] .qty input{border:0;background:transparent;color:#f2f3f5}
html[data-theme="dark"] .remove{color:#bdc3cd;background:none;border:0}
html[data-theme="dark"] .order-empty{color:#bdc3cd}
html[data-theme="dark"] .order-bottom{background:#202328;border-top:1px solid #4c525c}
html[data-theme="dark"] .total{color:#bdc3cd}
html[data-theme="dark"] .total strong{color:#f2f3f5}
html[data-theme="dark"] .options{color:#bdc3cd}
html[data-theme="dark"] .order .help-line{border:0;background:#292d33}
html[data-theme="dark"] .modal{background:#202328;color:var(--text);border:1px solid #4c525c;border-radius:15px;box-shadow:0 24px 100px #00000030}
html[data-theme="dark"] .modal::backdrop{background:#14161a99}
html[data-theme="dark"] .modal-close{border:0;background:#292d33;color:#bdc3cd;border-radius:9px}
html[data-theme="dark"] .modal-actions{border-top:1px solid var(--line)}
html[data-theme="dark"] .auth-page{background:#202328;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 50px #0000000c}
html[data-theme="dark"] .notice{border:1px solid #4c525c;background:#292d33;color:#bdc3cd;border-radius:10px}
html[data-theme="dark"] .notice button{background:none;border:0;color:#bdc3cd}
html[data-theme="dark"] .toast{background:#17191d;border:1px solid #4c525c;border-radius:10px;color:#f2f3f5;box-shadow:0 8px 30px #00000033}
html[data-theme="dark"] .loading{color:var(--muted)}
html[data-theme="dark"] .footer{border-top:1px solid #4c525c;color:#bdc3cd}
@media(max-width:850px){html[data-theme="dark"] .workspace-nav button{border-left:0;border-bottom:2px solid transparent}
}@media(max-width:560px){html[data-theme="dark"] .company-select{background:#202328;border:1px solid var(--line);border-radius:10px}
}html[data-theme="dark"] .top{background:#14161a}
html[data-theme="dark"] .brand{background:transparent;border-radius:0}
html[data-theme="dark"] .profile .text-button{background:#17191d;color:#f2f3f5;border:1px solid #4c525c}
html[data-theme="dark"] .profile .text-button:hover,html[data-theme="dark"] .profile .text-button:focus-visible,html[data-theme="dark"] .profile .secondary:hover:not(:disabled),html[data-theme="dark"] .profile .secondary:focus-visible{background:#292d33;color:#75e5bb;border-color:#75e5bb}
html[data-theme="dark"] .login-shell{border:1px solid #4c525c;border-radius:24px;background:#202328;box-shadow:0 24px 80px #0000000d}
html[data-theme="dark"] .login-welcome{background:radial-gradient(ellipse at 0% 100%,#17191d 0%,transparent 65%),#14161a;color:#f2f3f5}
html[data-theme="dark"] .login-welcome .eyebrow{color:#75e5bb}
html[data-theme="dark"] .welcome-copy h1{color:#f2f3f5}
html[data-theme="dark"] .welcome-copy>p{color:#bdc3cd}
html[data-theme="dark"] .welcome-features{color:#f2f3f5}
html[data-theme="dark"] .welcome-features b{border:1px solid #4c525c;border-radius:8px;background:#17191d;color:#bdc3cd}
html[data-theme="dark"] .welcome-footer{color:#bdc3cd}
html[data-theme="dark"] .welcome-dot{border-radius:50%;background:#30353d}
html[data-theme="dark"] .login-kicker{color:#bdc3cd}
html[data-theme="dark"] .login-heading h2{color:#f2f3f5}
html[data-theme="dark"] .login-heading p{color:#bdc3cd}
html[data-theme="dark"] .login-panel .input{border-radius:9px;background:#202328;border-color:#4c525c;box-shadow:0 1px 2px #00000003}
html[data-theme="dark"] .login-panel .input:focus{background:#202328}
html[data-theme="dark"] .login-panel .primary{border-radius:9px;box-shadow:0 4px 12px #00000018}
html[data-theme="dark"] .login-help{border-top:1px solid #4c525c;color:#bdc3cd}
html[data-theme="dark"] .login-help span{color:#bdc3cd}
html[data-theme="dark"] .login-footnote{color:#bdc3cd}
html[data-theme="dark"] .login-panel #login-hint:not(:empty){background:#292d33;color:#bdc3cd;border-radius:7px}
html[data-theme="dark"] .login-panel #login-error:not(:empty){border:1px solid #ffd2c9;border-radius:8px;background:#202328;color:#ffd2c9}
@media(max-width:720px){html[data-theme="dark"] .login-shell{border-radius:18px}
}html[data-theme="dark"] .billing-fields{background:#202328;border:1px solid var(--line);border-radius:10px}
html[data-theme="dark"] .garage-service{border:1px solid var(--line);border-radius:10px;background:#202328}
html[data-theme="dark"] .garage-service:has(input:checked){border-color:#4c525c;background:#292d33}
html[data-theme="dark"] .invoice-payer{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .chamber-card{border:1px solid var(--line,#4c525c);border-radius:16px;background:#202328}
html[data-theme="dark"] .chamber-alert{color:#ffe1aa;background:#43341f;border-radius:6px}
html[data-theme="dark"] .chamber-section{background:#202328;border:1px solid #4c525c;border-radius:12px}
html[data-theme="dark"] .chamber-fields .form-check{background:#202328;border-radius:8px}
html[data-theme="dark"] .chamber-fields small{color:#bdc3cd}
html[data-theme="dark"] .chamber-estimate{background:#292d33;border:1px solid #4c525c;border-radius:12px}
html[data-theme="dark"] .chamber-estimate strong{color:#f2f3f5}
html[data-theme="dark"] .top{border:0;background:#14161a;color:#f2f3f5}
html[data-theme="dark"] .topnav .nav{border-radius:12px;color:#f2f3f5}
html[data-theme="dark"] .topnav .nav.active{background:#30353d;color:#75e5bb}
html[data-theme="dark"] .topnav .nav:hover:not(.active){background:#17191d}
html[data-theme="dark"] .profile{border-top:1px solid #4c525c}
html[data-theme="dark"] .profile .secondary,html[data-theme="dark"] .profile .text-button{border-radius:9px}
html[data-theme="dark"] .app-toolbar{border-bottom:1px solid var(--line);color:var(--muted)}
html[data-theme="dark"] .app-toolbar b{color:#f2f3f5}
html[data-theme="dark"] .primary{background:#30353d;border-color:#4c525c;color:#f2f3f5;border-radius:10px}
html[data-theme="dark"] .primary:hover:not(:disabled){background:#17191d}
html[data-theme="dark"] .secondary{border-radius:10px}
html[data-theme="dark"] .input,html[data-theme="dark"] .select{border-radius:10px}
html[data-theme="dark"] .stat{border-radius:16px;background:#202328;box-shadow:0 3px 15px #00000003}
html[data-theme="dark"] .stat strong{color:#f2f3f5}
html[data-theme="dark"] .category-tile{border-radius:14px}
html[data-theme="dark"] .category-tile.selected{background:#292d33;border-color:#75e5bb}
html[data-theme="dark"] .company-card{border-radius:17px;box-shadow:0 3px 15px #00000003}
html[data-theme="dark"] .company-metrics>div{background:#202328;border:1px solid #4c525c;border-radius:10px}
html[data-theme="dark"] .growth.positive{color:#bdc3cd!important}
html[data-theme="dark"] .growth.negative{color:#bdc3cd!important}
html[data-theme="dark"] .growth.neutral{color:#bdc3cd!important}
html[data-theme="dark"] .growth span{color:#bdc3cd}
html[data-theme="dark"] .product{border-radius:16px;border:1px solid #4c525c;background:#202328}
html[data-theme="dark"] .product:hover{border-color:#4c525c;background:#202328}
html[data-theme="dark"] .product.selected{background:#292d33;border:2px solid #75e5bb}
html[data-theme="dark"] .product-symbol{background:transparent}
html[data-theme="dark"] .product .price{color:#bdc3cd}
html[data-theme="dark"] .add-symbol{background:#292d33;border-radius:8px}
html[data-theme="dark"] .order{border-radius:18px;box-shadow:0 4px 18px #00000005;background:#202328}
html[data-theme="dark"] .order-bottom{background:#202328}
html[data-theme="dark"] .total{background:#292d33;border-radius:12px}
html[data-theme="dark"] .total strong{color:#bdc3cd}
html[data-theme="dark"] .submit-sale{background:#30353d;border-radius:12px}
html[data-theme="dark"] .qty button{border-radius:9px}
html[data-theme="dark"] .qty button:last-child{background:#30353d;color:#f2f3f5}
html[data-theme="dark"] .billing-options{border:1px solid #4c525c;border-radius:10px}
html[data-theme="dark"] .worker{background:#202328;border:1px solid var(--line);border-radius:12px}
html[data-theme="dark"] .workspace-nav{background:#202328;border:1px solid var(--line);border-radius:13px}
html[data-theme="dark"] .table-wrap{border-radius:12px;border:1px solid #4c525c;background:#202328}
html[data-theme="dark"] th{background:#202328}
html[data-theme="dark"] .identity-card,html[data-theme="dark"] .price-policy{border:1px solid #4c525c;background:#292d33;border-radius:12px}
html[data-theme="dark"] .price-policy small{color:#bdc3cd}
html[data-theme="dark"] .price-flag{border-radius:7px;background:#292d33;color:#f2f3f5}
html[data-theme="dark"] .price-flag.invalid{background:#452c30;color:#ffd2c9}
html[data-theme="dark"] .overview-count{border:1px solid #4c525c;border-radius:14px;background:#292d33}
html[data-theme="dark"] .overview-count strong{color:#bdc3cd}
html[data-theme="dark"] .overview-count span{color:#bdc3cd}
html[data-theme="dark"] .overview-followup>section{border-radius:16px;background:#202328;border:1px solid var(--line)}
html[data-theme="dark"] .company-monogram{background:#17191d;color:#f2f3f5;border-radius:13px}
@media(max-width:1400px){html[data-theme="dark"] .workspace-nav button{border-left:0}
}@media(max-width:760px){html[data-theme="dark"] .profile{border:0}
}@media(max-width:440px){html[data-theme="dark"] .profile{border-top:1px solid #4c525c}
}html[data-theme="dark"] .brand,html[data-theme="dark"] .top .brand,html[data-theme="dark"] .login-brand .brand{background:transparent;border-radius:0}
html[data-theme="dark"] .primary{background:linear-gradient(120deg,#30353d,#17191d);border:1px solid #4c525c;box-shadow:0 3px 8px #00000014}
html[data-theme="dark"] .primary:hover:not(:disabled){background:linear-gradient(120deg,#30353d,#30353d);box-shadow:0 5px 15px #00000022}
html[data-theme="dark"] .secondary{background:#202328;border:1px solid #4c525c;box-shadow:0 1px 3px #00000007}
html[data-theme="dark"] .secondary:hover:not(:disabled){background:#202328;border-color:#4c525c}
html[data-theme="dark"] .metric-icon{border-radius:11px;background:#292d33;color:#75e5bb}
html[data-theme="dark"] .metric-icon.tax{background:#202328;color:#bdc3cd}
html[data-theme="dark"] .metric-icon.sales{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .metric-icon.margin{background:#292d33;color:#75e5bb}
html[data-theme="dark"] .company-metrics .metric-icon{border-radius:8px}
html[data-theme="dark"] .company-card-actions .primary{border-radius:12px}
html[data-theme="dark"] .category-nav{border-bottom:1px solid #4c525c;background:transparent}
html[data-theme="dark"] .category-tile{border:1px solid transparent;border-radius:999px;background:transparent}
html[data-theme="dark"] .category-tile span{border-radius:20px;background:#292d33}
html[data-theme="dark"] .category-tile.selected{border:1px solid #75e5bb;background:#30353d;color:#f2f3f5}
html[data-theme="dark"] .category-tile.selected strong{color:#f2f3f5}
html[data-theme="dark"] .category-tile.selected span{background:#20232824;color:#f2f3f5}
html[data-theme="dark"] .category-tile:hover:not(.selected){background:#292d33}
html[data-theme="dark"] .catalog-tools label{color:#bdc3cd}
html[data-theme="dark"] #cash-products .product{border-radius:14px;box-shadow:0 2px 5px #00000004}
html[data-theme="dark"] #cash-products .add-symbol{border:1px solid #4c525c;border-radius:7px;background:#292d33;color:#bdc3cd}
html[data-theme="dark"] #cash-products.is-dense .product{border-radius:11px}
html[data-theme="dark"] .catalog-no-results{color:#bdc3cd;background:#202328;border:1px dashed #4c525c;border-radius:12px}
html[data-theme="dark"] .reorder-row{border:1px solid #4c525c;border-radius:9px;background:#202328}
html[data-theme="dark"] .reorder-number{color:#bdc3cd}
html[data-theme="dark"] .company-group-nav button{border:1px solid #4c525c;background:#202328;border-radius:13px;color:#bdc3cd}
html[data-theme="dark"] .company-group-nav button.active{background:#292d33;border:2px solid #75e5bb;color:#75e5bb}
html[data-theme="dark"] .company-group-nav button:hover:not(.active){background:#202328;border-color:#75e5bb}
html[data-theme="dark"] .home-panel{border:1px solid var(--line);background:#202328;border-radius:16px}
html[data-theme="dark"] .setup-task{background:transparent;border:0;border-bottom:1px solid #4c525c;color:#bdc3cd}
html[data-theme="dark"] .setup-task small{color:#bdc3cd}
html[data-theme="dark"] .setup-task:hover strong{color:#bdc3cd}
html[data-theme="dark"] .registry-filters{background:#202328;border:1px solid var(--line);border-radius:13px}
html[data-theme="dark"] .registry-filters label{color:#bdc3cd}
html[data-theme="dark"] .audit-reason{color:#bdc3cd}
html[data-theme="dark"] .audit-detail-head p{color:#bdc3cd}
html[data-theme="dark"] .audit-details>div{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .audit-details dt{color:#bdc3cd}
html[data-theme="dark"] .overview-count{color:inherit}
html[data-theme="dark"] .overview-count:hover{background:#292d33;border-color:#4c525c}
html[data-theme="dark"] .overview-arrow{color:#bdc3cd}
html[data-theme="dark"] .overview-follow-link{border:0;border-bottom:1px solid var(--line);background:transparent}
html[data-theme="dark"] .overview-follow-link strong{color:#75e5bb}
html[data-theme="dark"] .overview-follow-link:hover{background:#202328}
html[data-theme="dark"] .overview-follow-link:last-child{border-bottom:0}
html[data-theme="dark"] .weekly-download{background:#292d33;border:1px solid #4c525c;border-radius:14px}
html[data-theme="dark"] .weekly-download label{color:#bdc3cd}
html[data-theme="dark"] .category-tile.selected,html[data-theme="dark"] .category-tile.selected:hover{background:#30353d!important;color:#f2f3f5!important;border-color:#75e5bb!important}
html[data-theme="dark"] .category-tile.selected strong{color:#f2f3f5!important}
html[data-theme="dark"] .category-tile.selected span,html[data-theme="dark"] .category-tile.selected small{background:#20232825!important;color:#f2f3f5!important}
html[data-theme="dark"] .company-ranking-label{color:#bdc3cd}
html[data-theme="dark"] .company-category-label{color:#bdc3cd}
html[data-theme="dark"] .company-direction{background:#292d33;border-radius:10px;color:#f2f3f5}
html[data-theme="dark"] .company-direction.is-vacant{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .company-registry-details{background:#202328;border-radius:10px}
html[data-theme="dark"] .company-registry-details dt{color:#bdc3cd}
html[data-theme="dark"] .payment-alert-panel{border:1px solid #ffe1aa;background:#202328;border-radius:16px}
html[data-theme="dark"] .payment-alert-panel.has-overdue{border-color:#ffd2c9;background:#202328}
html[data-theme="dark"] .payment-alert-panel .table-wrap{background:#202328}
html[data-theme="dark"] .municipal-budget-card{border:1px solid #4c525c;border-radius:16px;background:#202328}
html[data-theme="dark"] .municipal-budget-card dl>div{border-bottom:1px solid #4c525c}
html[data-theme="dark"] .municipal-budget-card dt{color:#bdc3cd}
html[data-theme="dark"] .funding-dossier li{color:#bdc3cd}
html[data-theme="dark"] .planning-toolbar p{color:#bdc3cd}
html[data-theme="dark"] .planning-scroll{border:1px solid #4c525c;border-radius:14px;background:#202328}
html[data-theme="dark"] .weekly-planning{border-collapse:separate;border-spacing:0}
html[data-theme="dark"] .weekly-planning th,html[data-theme="dark"] .weekly-planning td{border-right:1px solid #4c525c;border-bottom:1px solid #4c525c}
html[data-theme="dark"] .weekly-planning thead th{background:#292d33;color:#f2f3f5}
html[data-theme="dark"] .weekly-planning thead small{color:#bdc3cd}
html[data-theme="dark"] .weekly-planning tbody th{color:#bdc3cd;background:#202328}
html[data-theme="dark"] .weekly-planning td{background:#202328}
html[data-theme="dark"] .weekly-planning .planning-today{background:#292d33}
html[data-theme="dark"] .weekly-planning thead .planning-today{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .planning-slot{border:0!important;background:transparent!important;color:transparent!important;border-radius:0!important;box-shadow:none!important}
html[data-theme="dark"] .planning-slot:hover,html[data-theme="dark"] .planning-slot:focus-visible{background:#292d33!important;color:#75e5bb!important;outline:2px solid #75e5bb}
html[data-theme="dark"] .planning-event{border:1px solid #4c525c!important;border-left:4px solid #4c525c!important;border-radius:6px!important;background:#292d33!important;color:#f2f3f5!important;box-shadow:none!important}
html[data-theme="dark"] .planning-event.status-requested{background:#43341f!important;border-color:#ffe1aa!important;color:#ffe1aa!important}
html[data-theme="dark"] .planning-event.status-completed{background:#292d33!important;border-color:#c0dfff!important;color:#c0dfff!important}
html[data-theme="dark"] #modal.planning-modal[open]{border-radius:0!important;background:#202328}
html[data-theme="dark"] .planning-legend{color:#bdc3cd}
html[data-theme="dark"] .planning-legend span:not(:last-child):before{border-radius:3px}
html[data-theme="dark"] .legend-free:before{background:#292d33}
html[data-theme="dark"] .legend-requested:before{background:#30353d}
html[data-theme="dark"] .legend-confirmed:before{background:#30353d}
html[data-theme="dark"] .legend-completed:before{background:#30353d}
html[data-theme="dark"] .planning-modal .planning-scroll{border-radius:10px}
html[data-theme="dark"] .planning-free:hover .planning-slot{color:#bdc3cd!important;background:#292d33!important}
html[data-theme="dark"] .planning-busy{background:#292d33!important}
html[data-theme="dark"] .planning-event{border-radius:3px!important;border-width:0 0 0 3px!important}
html[data-theme="dark"] .planning-event.status-completed{background:#203952!important;border-color:#c0dfff!important}
html[data-theme="dark"] .planning-closed{background:repeating-linear-gradient(135deg,#292d33,#292d33 4px,#292d33 4px,#292d33 5px)!important}
html[data-theme="dark"] .legend-closed:before{background:#292d33}
html[data-theme="dark"] .availability-day{background:#292d33;border-radius:8px}
html[data-theme="dark"] .booking-slot{background:#202328;color:#f2f3f5;border:1px solid #4c525c;border-radius:9px}
html[data-theme="dark"] .booking-slot.selected{background:#30353d;color:#f2f3f5;border-color:#75e5bb;box-shadow:0 0 0 2px #00000040}
html[data-theme="dark"] .booking-slot:focus-visible{outline:3px solid #75e5bb}
html[data-theme="dark"] .public-booking-page{background:#292d33;color:#f2f3f5}
html[data-theme="dark"] .booking-brand{background:#17191d;border-radius:12px}
html[data-theme="dark"] .public-booking-card{background:#202328;border:1px solid #4c525c;border-radius:18px;box-shadow:0 8px 35px #00000010}
html[data-theme="dark"] .public-booking-card>p{color:#bdc3cd}
html[data-theme="dark"] .public-booking-shell footer{color:#bdc3cd}
html[data-theme="dark"] .company-contact-card{border:1px solid #4c525c;background:#202328;border-radius:12px}
html[data-theme="dark"] .agenda-card{background:#202328;border:1px solid #4c525c;border-left:4px solid var(--service-color,#4c525c);border-radius:10px;box-shadow:0 2px 5px #00000006;color:#f2f3f5}
html[data-theme="dark"] .agenda-card span{color:#bdc3cd}
html[data-theme="dark"] .agenda-card.status-requested{background:#43341f;border-right:3px solid #ffe1aa}
html[data-theme="dark"] .agenda-card.status-confirmed{background:#202328}
html[data-theme="dark"] .agenda-card.status-completed{background:#292d33}
html[data-theme="dark"] .agenda-day{background:#292d33;border:1px solid #4c525c;border-radius:12px}
html[data-theme="dark"] .agenda-day>header{background:#202328;border-bottom:1px solid #4c525c}
html[data-theme="dark"] .agenda-day.is-today>header{background:#292d33;color:#f2f3f5}
html[data-theme="dark"] .agenda-free{border:1px dashed #4c525c;background:#202328;color:#bdc3cd;border-radius:8px}
html[data-theme="dark"] .agenda-empty{color:#bdc3cd}
html[data-theme="dark"] .availability-hint{color:#bdc3cd}
html[data-theme="dark"] .invoice-source-list{border:1px solid #4c525c;border-radius:10px}
html[data-theme="dark"] .invoice-source{border-bottom:1px solid #4c525c}
html[data-theme="dark"] .invoice-source small{color:#bdc3cd}
html[data-theme="dark"] .ledger-evidence a{color:#bdc3cd}
html[data-theme="dark"] .public-budget-card{background:#202328;border:1px solid #4c525c;border-radius:14px}
html[data-theme="dark"] .public-budget-card dt{color:#bdc3cd}
html[data-theme="dark"] .public-budget-card>p{color:#bdc3cd}
html[data-theme="dark"] .revenue-spark i{border-radius:3px 3px 0 0;background:#292d33}
html[data-theme="dark"] .revenue-spark i:last-child{background:#30353d}
html[data-theme="dark"] .revenue-history{background:#202328;border:1px solid #4c525c;border-radius:18px}
html[data-theme="dark"] .revenue-bar-track i{background:#292d33;border-radius:7px 7px 0 0}
html[data-theme="dark"] .revenue-bar-column.current i{background:#30353d}
html[data-theme="dark"] .company-warning-badge{background:#292d33;color:#a3f1ce;border-radius:8px}
html[data-theme="dark"] .company-warning-badge.attention{background:#43341f;color:#ffe1aa}
html[data-theme="dark"] .company-warning-badge.recovery{background:#452c30;color:#ffd2c9}
html[data-theme="dark"] .company-warning-panel{border:1px solid #ffe1aa;background:#202328;border-radius:14px}
html[data-theme="dark"] .company-warning-panel.recovery{border-color:#ffd2c9;background:#202328}
html[data-theme="dark"] .warning-row{border-bottom:1px solid #4c525c}
html[data-theme="dark"] .government-home-summary>div,html[data-theme="dark"] .government-home-summary>button{border:1px solid #4c525c;border-radius:14px;background:#202328;color:#f2f3f5}
html[data-theme="dark"] .government-home-summary span,html[data-theme="dark"] .government-home-summary small{color:#bdc3cd}
html[data-theme="dark"] .government-home-summary>button{background:#292d33;border-color:#4c525c}
html[data-theme="dark"] .government-home-tabs{border-bottom:1px solid #4c525c}
html[data-theme="dark"] .government-home-tabs button{border:0;background:transparent;color:#bdc3cd;border-bottom:3px solid transparent}
html[data-theme="dark"] .government-home-tabs button.active{color:#75e5bb}
html[data-theme="dark"] .government-home-tabs span,html[data-theme="dark"] .home-count{background:#292d33;color:#bdc3cd;border-radius:12px}
html[data-theme="dark"] .government-day-row{background:#202328;border:1px solid #4c525c;border-left:5px solid var(--service-color);border-radius:12px;color:#f2f3f5}
html[data-theme="dark"] .government-day-row:hover,html[data-theme="dark"] .government-funding-row:hover{border-color:#4c525c;box-shadow:0 3px 10px #00000010}
html[data-theme="dark"] .government-event-time{color:#bdc3cd}
html[data-theme="dark"] .government-event-time strong{color:#f2f3f5}
html[data-theme="dark"] .government-event-service{color:var(--service-color)}
html[data-theme="dark"] .government-home-empty{border:1px dashed #4c525c;border-radius:14px;color:#bdc3cd;background:#202328}
html[data-theme="dark"] .government-funding-row{background:#202328;border:1px solid #4c525c;border-radius:12px;color:#f2f3f5}
html[data-theme="dark"] .government-request-type{color:#bdc3cd}
html[data-theme="dark"] .revenue-history{border-radius:14px}
html[data-theme="dark"] .revenue-chart-note{color:#bdc3cd}
html[data-theme="dark"] .revenue-bar-track{border-bottom:1px solid #4c525c}
html[data-theme="dark"] .revenue-bar-track i{border-radius:4px 4px 0 0}
html[data-theme="dark"] .revenue-bar-column>span{color:#bdc3cd}
html[data-theme="dark"] .revenue-empty-state{color:#bdc3cd}
html[data-theme="dark"] .revenue-empty-state>span{background:#292d33;border-radius:10px}
html[data-theme="dark"] .revenue-empty-state strong{color:#bdc3cd}
html[data-theme="dark"] .category-directory span{background:#292d33;border-radius:7px;color:#bdc3cd}
html[data-theme="dark"] .closure-alert{border:1px solid #a3f1ce;border-radius:14px;background:#292d33;color:#a3f1ce}
html[data-theme="dark"] .permission-grid .form-check{background:#202328;border-radius:9px}
html[data-theme="dark"] .attendance-day{border-radius:6px;color:#bdc3cd;background:#292d33}
html[data-theme="dark"] .attendance-day.yes{color:#bdc3cd;background:#292d33}
html[data-theme="dark"] .public-pointage-week div{border-radius:9px;background:#202328}
html[data-theme="dark"] .public-pointage-week .yes{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .pointage-week-fields{border:0}
html[data-theme="dark"] .pointage-week-navigation small{color:#bdc3cd}
html[data-theme="dark"] .pointage-day{border:1px solid #4c525c;border-radius:12px;background:#202328}
html[data-theme="dark"] .pointage-day.selected{background:#292d33;border-color:#75e5bb;color:#75e5bb}
html[data-theme="dark"] .pointage-week-summary>div{background:#292d33;border-radius:12px}
html[data-theme="dark"] .pointage-week-summary span{color:#bdc3cd}
html[data-theme="dark"] .service-personnel-wrap{background:#292d33;border:1px solid #4c525c;border-radius:10px}
html[data-theme="dark"] .service-personnel-table{border-collapse:collapse}
html[data-theme="dark"] .service-personnel-table th,html[data-theme="dark"] .service-personnel-table td{border:2px solid #4c525c;color:#f2f3f5}
html[data-theme="dark"] .service-personnel-table thead th{background:#30353d;color:#f2f3f5}
html[data-theme="dark"] .service-personnel-table tbody th{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .service-personnel-table td select{border:0;border-radius:0;background:transparent;color:inherit}
html[data-theme="dark"] .service-personnel-table td select:focus-visible{outline:3px solid #75e5bb}
html[data-theme="dark"] .service-personnel-table td select option{background:#202328;color:#f2f3f5}
html[data-theme="dark"] .service-personnel-table .personnel-matricule{background:#292d33}
html[data-theme="dark"] .service-personnel-table .personnel-separator,html[data-theme="dark"] .service-personnel-table td:nth-child(4),html[data-theme="dark"] .service-personnel-table td:nth-child(7),html[data-theme="dark"] .service-personnel-table td:nth-child(10),html[data-theme="dark"] .service-personnel-table td:nth-child(13),html[data-theme="dark"] .service-personnel-table td:nth-child(18){border-left:12px solid #4c525c}
html[data-theme="dark"] .personnel-yes{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-no{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-blank{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-chief{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-deputy,html[data-theme="dark"] .personnel-purple{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-captain{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-lieutenant{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-sergeant{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-senior,html[data-theme="dark"] .personnel-blue{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-officer{background:#292d33!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-light-blue{background:#292d33!important;color:#bdc3cd!important}
html[data-theme="dark"] .personnel-lilac{background:#292d33!important;color:#bdc3cd!important}
html[data-theme="dark"] .personnel-charcoal{background:#30353d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-brown{background:#17191d!important;color:#f2f3f5!important}
html[data-theme="dark"] .personnel-asd{background:#292d33!important;color:#bdc3cd!important}
html[data-theme="dark"] .personnel-legend span{border-radius:6px}
html[data-theme="dark"] .service-personnel-table .employee-documents a{color:inherit}
html[data-theme="dark"] .service-personnel-table .employee-documents .muted{color:inherit!important}
html[data-theme="dark"] .service-personnel-table .personnel-actions{background:#202328}
html[data-theme="dark"] .service-personnel-table .personnel-medical-link{color:inherit}
html[data-theme="dark"] .custom-personnel-wrap{border:1px solid #4c525c;border-radius:12px}
html[data-theme="dark"] .custom-personnel-table{border-collapse:separate;border-spacing:0}
html[data-theme="dark"] .custom-personnel-table th,html[data-theme="dark"] .custom-personnel-table td{border-bottom:1px solid #4c525c;border-right:1px solid #4c525c}
html[data-theme="dark"] .custom-personnel-table thead th{background:#17191d;color:#f2f3f5}
html[data-theme="dark"] .custom-personnel-table tbody th{background:#202328}
html[data-theme="dark"] .custom-personnel-table .input{color:inherit;background:transparent;border-color:currentColor}
html[data-theme="dark"] .custom-personnel-table option{color:#f2f3f5;background:#202328}
html[data-theme="dark"] .custom-color-blue{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .custom-color-purple{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .custom-color-green{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .custom-color-orange{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .custom-color-gray{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .custom-value-empty{background:#202328;color:#bdc3cd}
html[data-theme="dark"] .personnel-config-row{border:1px solid #4c525c;border-radius:12px;background:#202328}
html[data-theme="dark"] .company-global-panel,html[data-theme="dark"] .company-overview-details{background:#202328;border:1px solid #4c525c;border-radius:16px}
html[data-theme="dark"] .company-global-panel .section-head p{color:#bdc3cd}
html[data-theme="dark"] .global-balance-card,html[data-theme="dark"] .global-followup{border-radius:12px;background:#202328;border:1px solid #4c525c;color:#f2f3f5}
html[data-theme="dark"] .global-balance-card{background:linear-gradient(120deg,#17191d,#30353d);color:#f2f3f5;border:0}
html[data-theme="dark"] .global-followup:hover{border-color:#4c525c;background:#292d33}
html[data-theme="dark"] .overview-detail-grid>div{border-left:3px solid #4c525c}
html[data-theme="dark"] .overview-detail-grid span{color:#bdc3cd}
html[data-theme="dark"] .ems-org-level{border:1px solid #4c525c;border-radius:14px;background:#202328}
html[data-theme="dark"] .ems-org-level>header{background:#292d33;border-bottom:1px solid #4c525c}
html[data-theme="dark"] .ems-org-level header small{color:#bdc3cd}
html[data-theme="dark"] .ems-org-rank{background:#30353d;color:#f2f3f5;border-radius:10px}
html[data-theme="dark"] .ems-org-member{border:1px solid #4c525c;border-radius:10px}
html[data-theme="dark"] .ems-org-avatar{border-radius:50%;background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .ems-org-member span,html[data-theme="dark"] .ems-org-member small{color:#bdc3cd}
html[data-theme="dark"] .ems-document-model{border:1px solid #4c525c}
html[data-theme="dark"] .ems-document-model:hover{border-color:#4c525c;background:#292d33}
html[data-theme="dark"] .ems-document-model span,html[data-theme="dark"] .medical-reference{color:#bdc3cd}
html[data-theme="dark"] .personnel-iban{background:#202328!important;color:#f2f3f5!important}
html[data-theme="dark"] .toolbar-identity strong{color:#f2f3f5}
html[data-theme="dark"] .toolbar-identity small{color:#bdc3cd}
html[data-theme="dark"] .toolbar-emblem{border-radius:12px;background:#292d33;color:#bdc3cd;border:1px solid #4c525c}
html[data-theme="dark"] .refined-toolbar .toolbar-actions>.primary,html[data-theme="dark"] .refined-toolbar .toolbar-actions>.secondary,html[data-theme="dark"] .toolbar-tools>summary{border-radius:11px}
html[data-theme="dark"] .toolbar-tools>summary{color:#bdc3cd;border:1px solid #4c525c;background:#202328}
html[data-theme="dark"] .toolbar-tools[open]>summary{border-color:#4c525c;background:#292d33}
html[data-theme="dark"] .toolbar-tools-menu{background:#202328;border:1px solid #4c525c;border-radius:15px;box-shadow:0 14px 48px #00000020}
html[data-theme="dark"] .toolbar-tools-caption{color:#bdc3cd}
html[data-theme="dark"] .toolbar-tools-menu button{border:0;border-radius:9px;background:transparent;color:#bdc3cd}
html[data-theme="dark"] .toolbar-tools-menu button:hover{background:#292d33}
html[data-theme="dark"] .release-card{background:linear-gradient(130deg,#17191d,#17191d);color:#f2f3f5;border:1px solid #4c525c;border-radius:13px}
html[data-theme="dark"] .release-card:hover{border-color:#4c525c;background:#17191d}
html[data-theme="dark"] .release-card-top strong{border-radius:5px;color:#bdc3cd;background:#20232813}
html[data-theme="dark"] .release-dot{border-radius:50%;background:#30353d;box-shadow:0 0 0 3px #00000015}
html[data-theme="dark"] .release-card-bottom{color:#bdc3cd}
html[data-theme="dark"] .release-heading{color:#bdc3cd}
html[data-theme="dark"] .release-version{border-radius:7px;background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .release-notes section{border-left:2px solid #4c525c}
html[data-theme="dark"] .release-notes h4{color:#bdc3cd}
html[data-theme="dark"] .release-notes p{color:#bdc3cd}
html[data-theme="dark"] .operation-time{color:#bdc3cd}
html[data-theme="dark"] .refined-toolbar button:focus-visible,html[data-theme="dark"] .toolbar-tools summary:focus-visible,html[data-theme="dark"] .release-card:focus-visible{outline:3px solid #75e5bb}
html[data-theme="dark"] .hunting-trade-panel{border:1px solid #4c525c;border-radius:15px;background:linear-gradient(110deg,#292d33,#202328)}
html[data-theme="dark"] .hunting-trade-panel strong{color:#bdc3cd}
html[data-theme="dark"] .hunting-trade-panel p{color:#bdc3cd}
html[data-theme="dark"] .hunting-purchase-line{border-bottom:1px solid #4c525c}
html[data-theme="dark"] .hunting-purchase-line label{color:#bdc3cd}
html[data-theme="dark"] .hunting-purchase-line small{color:#bdc3cd}
html[data-theme="dark"] .hunting-purchase-total{border-radius:12px;background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .product-inactive td{background:#202328;color:#ffd2c9}
html[data-theme="dark"] .product-inactive td strong{color:#ffd2c9}
html[data-theme="dark"] .product-inactive .status{background:#452c30;color:#ffd2c9}
@media screen{html[data-theme="dark"] body{background:var(--ex-bg);color:var(--ex-text)}
html[data-theme="dark"] .top{background:#14161a;color:#f2f3f5}
html[data-theme="dark"] .top .profile,html[data-theme="dark"] .top .profile>span{color:#f2f3f5}
html[data-theme="dark"] .topnav .nav{color:#f2f3f5}
html[data-theme="dark"] .topnav .nav.active{background:#30353d;color:#75e5bb}
html[data-theme="dark"] .topnav .nav:hover:not(.active){background:#17191d;color:#f2f3f5}
html[data-theme="dark"] .top .release-card{border-color:#4c525c;background:#17191d;color:#f2f3f5}
html[data-theme="dark"] .app-toolbar{border-bottom:1px solid var(--ex-line)}
html[data-theme="dark"] .exchange-shell{color:var(--ex-text)}
html[data-theme="dark"] .exchange-heading p{color:var(--ex-muted)}
html[data-theme="dark"] .exchange-flow{color:var(--ex-muted);border:1px solid var(--ex-line);border-radius:12px;background:var(--ex-surface)}
html[data-theme="dark"] .exchange-flow b{color:var(--ex-accent)}
html[data-theme="dark"] .exchange-summary>div{border:1px solid var(--ex-line);background:var(--ex-surface);border-radius:14px}
html[data-theme="dark"] .exchange-summary span{color:var(--ex-muted)}
html[data-theme="dark"] .exchange-summary strong{color:var(--ex-text)}
html[data-theme="dark"] .exchange-tabs{border-bottom:1px solid var(--ex-line)}
html[data-theme="dark"] .exchange-tabs button{border:0;border-bottom:3px solid transparent;color:var(--ex-muted);background:transparent}
html[data-theme="dark"] .exchange-tabs button.active{color:var(--ex-accent)}
html[data-theme="dark"] .exchange-tabs button:hover{background:var(--ex-wash);color:var(--ex-text);border-radius:8px 8px 0 0}
html[data-theme="dark"] .exchange-lane{border:1px solid var(--ex-line);border-radius:16px;background:var(--ex-raised)}
html[data-theme="dark"] .exchange-lane h3{color:var(--ex-text)}
html[data-theme="dark"] .exchange-lane>header>span{border:1px solid var(--ex-line);background:var(--ex-surface);border-radius:20px}
html[data-theme="dark"] .exchange-lane.pending{border-top:3px solid #4c525c}
html[data-theme="dark"] .exchange-lane.preparing{border-top:3px solid #4c525c}
html[data-theme="dark"] .exchange-lane.ready{border-top:3px solid #4c525c}
html[data-theme="dark"] .exchange-lane.done{border-top:3px solid #4c525c}
html[data-theme="dark"] .exchange-card{background:var(--ex-surface);color:var(--ex-text);border:1px solid var(--ex-line);border-radius:12px;box-shadow:0 3px 12px #00000005}
html[data-theme="dark"] .exchange-avatar{background:var(--ex-wash);color:var(--ex-accent);border:1px solid var(--ex-line);border-radius:11px}
html[data-theme="dark"] .exchange-card h3{color:var(--ex-text)}
html[data-theme="dark"] .exchange-card p{color:var(--ex-muted)}
html[data-theme="dark"] .exchange-card small{color:var(--ex-muted)}
html[data-theme="dark"] .exchange-amount{color:var(--ex-text)}
html[data-theme="dark"] .exchange-card .exchange-delivery{border-top:1px solid var(--ex-line)}
html[data-theme="dark"] .exchange-delivery b{color:var(--ex-text)}
html[data-theme="dark"] .exchange-empty{color:var(--ex-muted)}
html[data-theme="dark"] .exchange-pill{border-radius:20px;background:var(--ex-raised);color:var(--ex-text);border:1px solid var(--ex-line)}
html[data-theme="dark"] .exchange-pill.requested,html[data-theme="dark"] .exchange-pill.proposed{color:#ffd2c9;background:#43341f;border-color:#ffe1aa}
html[data-theme="dark"] .exchange-pill.confirmed,html[data-theme="dark"] .exchange-pill.ready,html[data-theme="dark"] .exchange-pill.delivered{color:#a3f1ce;background:#173a31;border-color:#a3f1ce}
html[data-theme="dark"] .exchange-pill.preparing,html[data-theme="dark"] .exchange-pill.invoiced{color:#c0dfff;background:#203952;border-color:#c0dfff}
html[data-theme="dark"] .exchange-pill.rejected,html[data-theme="dark"] .exchange-pill.cancelled{color:#ffd2c9;background:#452c30;border-color:#ffd2c9}
html[data-theme="dark"] .exchange-approval{background:var(--ex-surface);border:1px solid var(--ex-line);border-radius:12px}
html[data-theme="dark"] .exchange-approval p{color:var(--ex-muted)}
html[data-theme="dark"] .exchange-line{border:1px solid var(--ex-line);border-radius:10px;background:var(--ex-raised)}
html[data-theme="dark"] .exchange-line label{color:var(--ex-text)}
html[data-theme="dark"] .exchange-preview{background:var(--ex-wash);color:var(--ex-text);border-radius:10px}
html[data-theme="dark"] .exchange-timeline{border-left:2px solid var(--ex-line)}
html[data-theme="dark"] .exchange-timeline time{color:var(--ex-muted)}
html[data-theme="dark"] .exchange-shell button:focus-visible,html[data-theme="dark"] .exchange-shell a:focus-visible{outline:3px solid var(--ex-focus)}
}@media screen{html[data-theme="dark"] .notification-bell{border:1px solid #4c525c;border-radius:10px;color:#f2f3f5;background:#17191d}
html[data-theme="dark"] .notification-bell b{background:#30353d;color:#f2f3f5;border-radius:12px}
html[data-theme="dark"] .notification-item{background:var(--ex-surface);color:var(--ex-text);border:1px solid var(--ex-line);border-radius:12px}
html[data-theme="dark"] .notification-item.unread{background:var(--ex-wash);border-color:var(--ex-accent)}
html[data-theme="dark"] .notification-item small,html[data-theme="dark"] .notification-item time{color:var(--ex-muted)}
html[data-theme="dark"] .notification-marker{border:1px solid var(--ex-muted);border-radius:50%}
html[data-theme="dark"] .unread .notification-marker{background:var(--ex-accent);border-color:var(--ex-accent)}
}@media screen{html[data-theme="dark"] .company-logo{border-radius:12px;background:#202328;border:1px solid #4c525c}
html[data-theme="dark"] .company-logo.brand-dark{background:#17191d}
html[data-theme="dark"] .company-monogram{background:#292d33;color:#bdc3cd}
html[data-theme="dark"] .company-logo-preview{background:#292d33;border:1px solid #4c525c;border-radius:12px}
html[data-theme="dark"] .notification-item:focus-visible,html[data-theme="dark"] .notification-bell:focus-visible{outline:3px solid #75e5bb}
}@media screen{html[data-theme="dark"] .ledger-summary{border:1px solid var(--ex-line);border-radius:14px;background:var(--ex-surface)}
html[data-theme="dark"] .ledger-summary span,html[data-theme="dark"] .employee-money-grid span{color:var(--ex-muted)}
html[data-theme="dark"] .ledger-summary strong{color:var(--ex-text)}
html[data-theme="dark"] .employee-money-grid>div{border:1px solid var(--ex-line);border-radius:10px;background:var(--ex-raised)}
html[data-theme="dark"] .employee-money-grid strong{color:var(--ex-text)}
html[data-theme="dark"] .ranking-panel{background:var(--ex-surface);border:1px solid var(--ex-line);border-radius:14px}
html[data-theme="dark"] .ranking-list li{border-top:1px solid var(--ex-line)}
html[data-theme="dark"] .ranking-number{border:1px solid var(--ex-line);border-radius:9px;color:var(--ex-muted);background:var(--ex-raised)}
html[data-theme="dark"] .ranking-list small{color:var(--ex-muted)}
html[data-theme="dark"] .ranking-list .text-button{background:transparent;border:0}
html[data-theme="dark"] .operation-timeline{border-left:2px solid var(--ex-line)}
html[data-theme="dark"] .operation-timeline time{color:var(--ex-muted)}
}@media screen{html[data-theme="dark"] .site-public-credit{color:var(--muted)}
}@media screen{html[data-theme="dark"] .directory-card{background:var(--ex-surface);color:var(--ex-text);border:1px solid var(--ex-line);border-radius:22px}
html[data-theme="dark"] .directory-description{color:var(--ex-muted)}
html[data-theme="dark"] .directory-card dt{color:var(--ex-muted)}
html[data-theme="dark"] .directory-next{border-left:3px solid var(--green);border-radius:0 12px 12px 0;background:var(--ex-raised)}
html[data-theme="dark"] .directory-next>span,html[data-theme="dark"] .directory-next small{color:var(--ex-muted)}
html[data-theme="dark"] .availability-week>section{border:1px solid var(--ex-line);background:var(--ex-raised);border-radius:13px}
html[data-theme="dark"] .availability-week header{border-bottom:1px solid var(--ex-line);color:var(--ex-text)}
html[data-theme="dark"] .availability-week header span{color:var(--ex-muted)}
html[data-theme="dark"] .availability-week section>p{color:var(--ex-muted)}
html[data-theme="dark"] .availability-slot{border-left:3px solid var(--green);border-radius:8px;background:var(--ex-surface);color:var(--ex-text)}
html[data-theme="dark"] .availability-slot span{color:var(--ex-muted)}
html[data-theme="dark"] .availability-edit-row{border:1px solid var(--ex-line);background:var(--ex-raised);border-radius:14px}
@media(max-width:450px){html[data-theme="dark"] .availability-week header{border-bottom:0;border-right:1px solid var(--ex-line)}
}}html[data-theme="dark"] .requirements-heading{border:1px solid currentColor;border-radius:1rem}
html[data-theme="dark"] .requirement-column{border-radius:.85rem;border-top:3px solid var(--requirement-accent);background:color-mix(in srgb,var(--requirement-accent) 10%,transparent)}
html[data-theme="dark"] .requirement-card{border:1px solid color-mix(in srgb,currentColor 23%,transparent);border-radius:.75rem}
html[data-theme="dark"] .requirement-counter[aria-pressed="true"]{outline:2px solid currentColor}
html[data-theme="dark"] .requirement-column h2 small{border-radius:.45rem;background:color-mix(in srgb,currentColor 10%,transparent)}
html[data-theme="dark"] .requirement-card{background:var(--surface, Canvas)}
html[data-theme="dark"] .requirement-add{border-style:dashed}
html[data-theme="dark"] .requirement-company-status{border-radius:.4rem;border:1px solid currentColor;background:#292d33;color:#c0dfff}
html[data-theme="dark"] .requirement-company-status[data-tone="active"]{background:#173a31;color:#a3f1ce}
html[data-theme="dark"] .requirement-company-status[data-tone="warning"]{background:#43341f;color:#ffe1aa}
html[data-theme="dark"] .requirement-company-status[data-tone="vacant"]{background:#352b49;color:#e1ceff}
html[data-theme="dark"] .requirement-company-status[data-tone="danger"]{background:#452c30;color:#ffd2c9}
html[data-theme="dark"] .cash-movement-amount[data-direction="in"]{color:#bdc3cd}
html[data-theme="dark"] .cash-movement-amount[data-direction="out"]{color:#bdc3cd}
html[data-theme="dark"] [data-theme="dark"] .cash-movement-amount[data-direction="in"]{color:#bdc3cd}
html[data-theme="dark"] [data-theme="dark"] .cash-movement-amount[data-direction="out"]{color:#f2f3f5}
html[data-theme="dark"] .dynasty-zones img{border-radius:.8rem}
html[data-theme="dark"] .dynasty-reference-map{background:#14161a;border-radius:.8rem}
html[data-theme="dark"] .dynasty-reference-map polygon{fill:transparent;stroke:none}
html[data-theme="dark"] .dynasty-reference-map g:hover polygon,html[data-theme="dark"] .dynasty-reference-map g:focus-visible polygon,html[data-theme="dark"] .dynasty-reference-map g[aria-pressed="true"] polygon{fill:#f2f3f522;stroke:#f2f3f5}
html[data-theme="dark"] .category-tile{background:#202328;border:1px solid #4c525c;border-radius:10px;color:#bdc3cd}
html[data-theme="dark"] .category-tile span,html[data-theme="dark"] .category-tile small{color:#bdc3cd}
html[data-theme="dark"] .category-tile.selected{border:2px solid #75e5bb;background:#292d33}
html[data-theme="dark"] .category-tile.selected strong{color:#75e5bb}
html[data-theme="dark"] .legal-controls{background:#202328;border:1px solid #4c525c;border-radius:12px}
html[data-theme="dark"] .legal-controls label{color:#bdc3cd}
html[data-theme="dark"] .company-card{background:#202328;border:1px solid #4c525c;border-radius:12px}
html[data-theme="dark"] .company-card h3{color:#f2f3f5}
html[data-theme="dark"] .company-metrics dt{color:#bdc3cd}
html[data-theme="dark"] .company-metrics dd{color:#f2f3f5}
html[data-theme="dark"] .company-metrics small{color:#bdc3cd}
html[data-theme="dark"] .company-card-actions{border-top:1px solid #4c525c}
html[data-theme="dark"] .company-card-actions .text-button{border:1px solid #4c525c}
html[data-theme="dark"] .company-card-actions [data-company-reset]{color:#bdc3cd;background:#202328;border-color:#4c525c}
html[data-theme="dark"] .is-development{background:#202328;border-style:dashed}
html[data-theme="dark"] .development-banner{border:1px solid #4c525c;border-radius:10px;background:#292d33;color:#bdc3cd}
@media(max-width:960px){html[data-theme="dark"] .top{border-bottom:1px solid #4c525c20}
html[data-theme="dark"] .mobile-menu-toggle{border:1px solid #4c525c;border-radius:11px;background:#17191d;color:#f2f3f5}
html[data-theme="dark"] .mobile-navigation{background:#14161a;border-radius:0 0 18px 18px;box-shadow:0 14px 24px #00000035}
html[data-theme="dark"] .mobile-navigation .profile{border-top:1px solid #4c525c}
html[data-theme="dark"] .table-wrap{border-radius:12px}
html[data-theme="dark"] .table-wrap th:first-child,html[data-theme="dark"] .table-wrap td:first-child{background:#202328;box-shadow:1px 0 #00000040}
html[data-theme="dark"] .table-wrap thead th:first-child{background:#292d33}
html[data-theme="dark"] .modal{border-radius:18px}
html[data-theme="dark"] .modal-actions{background:#202328}
html[data-theme="dark"] .mobile-cart-shortcut{border-radius:14px;box-shadow:0 6px 22px #00000040;background:#17191d;color:#f2f3f5;border:1px solid #4c525c}
html[data-theme="dark"] .public-booking-card{border-radius:16px}
html[data-theme="dark"] .planning-modal .modal-head{background:#202328}
html[data-theme="dark"] .agenda-day .agenda-card{border-radius:10px}
}@media screen and (max-width:960px){html[data-theme="dark"] .top{border-right:0!important}
html[data-theme="dark"] .mobile-navigation{background:#14161a;color:#f2f3f5}
html[data-theme="dark"] .mobile-menu-toggle{background:#17191d;border-color:#4c525c;color:#f2f3f5}
html[data-theme="dark"][data-theme="dark"] .mobile-navigation{background:#14161a;color:#f2f3f5}
html[data-theme="dark"][data-theme="dark"] .mobile-menu-toggle{background:#17191d;color:#f2f3f5;border-color:#4c525c}
html[data-theme="dark"] .company-group-nav>button{border-radius:10px!important}
html[data-theme="dark"] .modal::backdrop{background:#14161a99}
html[data-theme="dark"] .modal-actions{background:var(--mobile-panel)!important;border-top:1px solid var(--line)}
html[data-theme="dark"] .table-wrap{border-color:var(--line)}
html[data-theme="dark"] .table-wrap th:first-child,html[data-theme="dark"] .table-wrap td:first-child{background:var(--mobile-panel);color:var(--text)}
html[data-theme="dark"] .table-wrap thead th:first-child{background:var(--raised,var(--mobile-panel))}
html[data-theme="dark"] .mobile-cart-shortcut{background:#17191d;color:#f2f3f5;border-color:#4c525c}
html[data-theme="dark"] .mobile-cart-shortcut:focus-visible{outline:3px solid #75e5bb}
}@media screen and (max-width:600px){html[data-theme="dark"] .table-wrap:has(table.mobile-cards){border:0!important;background:transparent!important;box-shadow:none}
html[data-theme="dark"] table.mobile-cards,html[data-theme="dark"] table.mobile-cards:has(th:nth-child(6)){border:0!important;background:transparent!important}
html[data-theme="dark"] table.mobile-cards tbody tr{border:1px solid var(--line)!important;border-radius:12px;background:var(--mobile-panel)!important}
html[data-theme="dark"] table.mobile-cards tbody td{border:0!important;box-shadow:none!important;background:transparent!important;color:var(--text)!important}
html[data-theme="dark"] table.mobile-cards tbody td::before{color:var(--muted)}
html[data-theme="dark"] table.mobile-cards tbody td:first-child{background:var(--raised,var(--mobile-panel))!important;border-bottom:1px solid var(--line)!important}
}@media screen and (max-width:960px){html[data-theme="dark"][data-theme="dark"] .modal-actions{background:#17191d!important}
}@media screen{html[data-theme="dark"] .operation-pagination span{color:var(--text)}
html[data-theme="dark"] .operation-pagination small{color:var(--muted)}
}
html[data-theme="dark"]{color-scheme:dark;--bg:#17191d;--surface:#202328;--raised:#292d33;--text:#f2f3f5;--muted:#bdc3cd;--line:#4c525c;--green:#83e5b8;color:var(--text);background:var(--bg)}
html[data-theme="dark"] .primary{background:#08754f;color:#fff;border-color:#249267}html[data-theme="dark"] .primary:hover:not(:disabled){background:#096442}
html[data-theme="dark"] .topnav .nav.active{background:#00cf91;color:#042c1c}html[data-theme="dark"] .profile{color:#e1eee6}html[data-theme="dark"] .profile .secondary,html[data-theme="dark"] .profile .text-button{background:#292d34;color:#e1eee6;border-color:#486652}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color-scheme:dark}html[data-theme="dark"] .input,html[data-theme="dark"] .select,html[data-theme="dark"] .week{border-color:#64846e}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#a0b2a5;opacity:1}html[data-theme="dark"] option{background:#202328;color:#f2f3f5}
html[data-theme="dark"] .government-event-service{color:color-mix(in srgb,var(--service-color,#83e5b8) 35%,white)}
html[data-theme="dark"] .status{background:#194331;color:#9ce8bb}html[data-theme="dark"] .status.unpaid{background:#49391e;color:#ffe0a3}html[data-theme="dark"] .status.void{background:#442c2a;color:#ffc2b7}
html[data-theme="dark"] .category-tile.selected span,html[data-theme="dark"] .company-group-nav button.active,html[data-theme="dark"] .view-nav button.active{color:#9debc2}html[data-theme="dark"] .modal::backdrop{background:#020905b8}
html[data-theme="dark"] .booking-slot.selected{background:#08754f;color:#fff;border-color:#67cfa0}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] summary:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible,html[data-theme="dark"] textarea:focus-visible,html[data-theme="dark"] a:focus-visible{outline-color:#8bf0bb}

/* Charcoal premium palette, shared with every screen and the exchanges workspace. */
html[data-theme="dark"]{--ex-bg:#17191d;--ex-surface:#202328;--ex-raised:#292d33;--ex-text:#f2f3f5;--ex-muted:#bdc3cd;--ex-line:#4c525c;--ex-accent:#75e5bb;--ex-wash:#292d33;--ex-focus:#8cf1cc;--bg:#17191d;--surface:#202328;--raised:#292d33;--text:#f2f3f5;--muted:#bdc3cd;--line:#4c525c}
html[data-theme="dark"] body,html[data-theme="dark"] .page{background:#17191d;color:#f2f3f5}html[data-theme="dark"] .top{background:#14161a;border-color:#4c525c}
html[data-theme="dark"] :is(.home-panel,.finance-breakdown,.company-card,.stat,.modal,.table-wrap,.category-panel,.agenda-card,.public-booking-card,.employee-card,.options,.company-contact-card,.invoice-document,.auth-page,.login-panel){background:#202328;color:#f2f3f5;border-color:#4c525c}
html[data-theme="dark"] :is(th,.options-body,.exchange-lane){background:#292d33;color:#e3e6eb;border-color:#4c525c}html[data-theme="dark"] :is(td,.finance-row,.section-head){border-color:#4c525c}html[data-theme="dark"] tbody tr:nth-child(even){background:#25282e}html[data-theme="dark"] tbody tr:hover{background:#30343c}
html[data-theme="dark"] :is(h1,h2,h3,h4,.label,.field,.field label,.exchange-line label){color:#f2f3f5}html[data-theme="dark"] :is(.muted,.help-line,.small.muted,.exchange-empty){color:#bdc3cd}
html[data-theme="dark"] :is(.input,.select,.week,textarea,select){background:#191c21;color:#f2f3f5;border-color:#626b78}html[data-theme="dark"] option{background:#191c21;color:#f2f3f5}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#b5bdc9}
html[data-theme="dark"] .secondary,html[data-theme="dark"] .text-button{background:#292d34;color:#e9ecf1;border-color:#626b78}html[data-theme="dark"] .primary{background:#08734f;color:#fff;border-color:#3da983}html[data-theme="dark"] .primary:hover:not(:disabled){background:#096342}html[data-theme="dark"] .danger{background:#432b30;color:#ffd4ce;border-color:#ad7878}
html[data-theme="dark"] :is(.secondary,.text-button):hover:not(:disabled){background:#363c45;color:#fff}html[data-theme="dark"] .company-group-nav button.active,html[data-theme="dark"] .view-nav button.active{background:#293e3e;color:#a3f1ce;border-color:#75e5bb}
html[data-theme="dark"] .exchange-card,html[data-theme="dark"] .exchange-approval,html[data-theme="dark"] .exchange-summary>div{background:var(--ex-surface);border-color:var(--ex-line);color:var(--ex-text)}html[data-theme="dark"] .exchange-tabs button{background:transparent;color:var(--ex-muted)}html[data-theme="dark"] .exchange-tabs button.active{color:var(--ex-accent);border-bottom-color:var(--ex-accent)}html[data-theme="dark"] .exchange-tabs button:hover{background:var(--ex-wash);color:var(--ex-text)}
html[data-theme="dark"] .exchange-pill{background:#292d34;color:#e8f0f6;border-color:#626b78}html[data-theme="dark"] .exchange-pill.requested,html[data-theme="dark"] .exchange-pill.proposed{color:#ffe1aa;background:#43341f;border-color:#b38a50}html[data-theme="dark"] :is(.exchange-pill.confirmed,.exchange-pill.ready,.exchange-pill.delivered){color:#a3f1ce;background:#293e3e;border-color:#4e9b7c}html[data-theme="dark"] :is(.exchange-pill.preparing,.exchange-pill.invoiced){color:#c0dfff;background:#203952;border-color:#688faf}html[data-theme="dark"] :is(.exchange-pill.rejected,.exchange-pill.cancelled){color:#ffd2c9;background:#452c30;border-color:#b27d7a}
html[data-theme="dark"] .notification-bell{background:#292d34;color:#edf4fa;border-color:#626b78}html[data-theme="dark"] .notification-bell b{background:#66e3b3;color:#082b20}html[data-theme="dark"] .notification-item{background:var(--ex-surface);color:var(--ex-text);border-color:var(--ex-line)}html[data-theme="dark"] .notification-item.unread{background:var(--ex-wash);border-color:var(--ex-accent)}
html[data-theme="dark"] .company-logo{background:#fff;border-color:#8698a7}html[data-theme="dark"] .company-logo.brand-dark{background:#202328}html[data-theme="dark"] .company-monogram{background:#293e3e;color:#adf2d0}html[data-theme="dark"] .company-logo-preview{background:#292d34;border-color:#8698a7}

/* Navigation gaps must show the page, never a rectangular backing behind rounded buttons. */
html[data-theme="dark"] .company-group-nav,html[data-theme="dark"] .view-nav{background:transparent;border:0;box-shadow:none;overflow:visible}
html[data-theme="dark"] .company-group-nav button{appearance:none;background-clip:padding-box;border-width:1px;border-style:solid;border-radius:12px;padding:12px;box-shadow:none}
html[data-theme="dark"] .company-group-nav button.active{border-width:1px;padding:12px;box-shadow:inset 0 0 0 1px #75e5bb}
/* Unified surfaces also cover legacy overview cards and all navigation states. */
html[data-theme="dark"] :is(.company-global-panel,.company-overview-details,.global-followup,.employee-activity,.ranking-panel,.ledger-summary){background:#202328;color:#f2f3f5;border-color:#4c525c}
html[data-theme="dark"] .global-balance-card{background:#30353d;color:#f2f3f5;border:1px solid #526a7d}html[data-theme="dark"] .global-followup:hover{background:#293e3e;border-color:#75e5bb}
html[data-theme="dark"] :is(.company-global-panel .section-head p,.overview-detail-grid span,.global-balance-card small,.global-followup small){color:#bdc3cd}html[data-theme="dark"] .overview-detail-grid>div{border-left-color:#526a7d}html[data-theme="dark"] .overview-detail-grid strong{color:#f2f3f5}
html[data-theme="dark"] :is(.company-group-nav button,.view-nav button,.workspace-nav button){background:#292d33;color:#c5d3df;border-color:#4c525c}html[data-theme="dark"] :is(.company-group-nav button.active,.view-nav button.active,.workspace-nav button.active){background:#293e3e;color:#a3f1ce;border-color:#75e5bb}
html[data-theme="dark"] .primary{background:#66e3b3;color:#082b20;border-color:#83efc9}html[data-theme="dark"] .primary:hover:not(:disabled){background:#94f0cf;color:#082b20}
html[data-theme="dark"] .profile .secondary,html[data-theme="dark"] .profile .text-button{background:#292d34;color:#f2f3f5;border-color:#626b78}

}
@media print{html{color-scheme:light!important}}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 12px;border:1px solid #486652;border-radius:10px;background:#292d34;color:#e5f3e9;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.theme-toggle svg{width:17px;height:17px;flex:none}.profile>.theme-toggle{width:100%;margin:0 0 4px}.public-theme-toggle{position:fixed;right:20px;top:20px;z-index:20;box-shadow:0 3px 15px #0002}@media(max-width:600px){.public-theme-toggle{position:static;margin:0 0 18px auto;display:flex;width:fit-content}}