:root{color-scheme:dark}
[data-theme="dark"]{color-scheme:dark;--green:#337158;--lime:#d7edb8;--muted:#a8baad;--line:#304238;--white:#1b2921;color:#dce8e0;background:#101a14}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#5d7065;font-size:11px;white-space:nowrap}
.theme-toggle svg{width:17px;height:17px}.theme-toggle .theme-sun{display:none}[data-theme="dark"] .theme-toggle .theme-sun{display:block}[data-theme="dark"] .theme-toggle .theme-moon{display:none}
.login-tools{display:flex;justify-content:flex-end;margin-bottom:24px}
[data-theme="dark"] .sidebar,[data-theme="dark"] .topbar,[data-theme="dark"] .drawer,[data-theme="dark"] .login-panel{background:#142019}
[data-theme="dark"] .panel,[data-theme="dark"] .stat,[data-theme="dark"] .drawer-head,[data-theme="dark"] .drawer-foot,[data-theme="dark"] .record-tabs,[data-theme="dark"] .calendar-cell,[data-theme="dark"] .agenda-item,[data-theme="dark"] .alert-row,[data-theme="dark"] .work-file,[data-theme="dark"] .related-job{background:#1b2921}
[data-theme="dark"] .button.secondary,[data-theme="dark"] .icon-button,[data-theme="dark"] .theme-toggle,[data-theme="dark"] .demo-accounts .tab,[data-theme="dark"] .slot,[data-theme="dark"] .checkboxes label{background:#22332a;color:#dce8e0;border-color:var(--line)}
[data-theme="dark"] .nav{color:#a8baad}[data-theme="dark"] .nav.active,[data-theme="dark"] .tab.active,[data-theme="dark"] .slot.selected,[data-theme="dark"] .alert-row.unread{background:#294331;color:#dcf0d6}
[data-theme="dark"] .nav .count,[data-theme="dark"] .avatar,[data-theme="dark"] .demo-note{background:#23372b;color:#c0d7b7;border-color:var(--line)}
[data-theme="dark"] .brand,[data-theme="dark"] .breadcrumb strong,[data-theme="dark"] .job-title-button,[data-theme="dark"] .agenda-title,[data-theme="dark"] .crew-name,[data-theme="dark"] .empty strong,[data-theme="dark"] .detail-grid dd,[data-theme="dark"] .schedule-table button,[data-theme="dark"] .record-link,[data-theme="dark"] .alert-row strong,[data-theme="dark"] .demo-note strong{color:#dce8e0}
[data-theme="dark"] .eyebrow,[data-theme="dark"] .subtitle,[data-theme="dark"] .breadcrumb,[data-theme="dark"] .connection,[data-theme="dark"] .header-date,[data-theme="dark"] .panel-caption,[data-theme="dark"] .section-title,[data-theme="dark"] .detail-grid dt,[data-theme="dark"] .form-field,[data-theme="dark"] .subtle-note,[data-theme="dark"] .modal-description,[data-theme="dark"] .work-note,[data-theme="dark"] .calendar-date,[data-theme="dark"] .week-summary small,[data-theme="dark"] .week-summary span{color:#a8baad}
[data-theme="dark"] .job-number,[data-theme="dark"] .job-customer,[data-theme="dark"] .job-meta,[data-theme="dark"] .agenda-time,[data-theme="dark"] .agenda-crew,[data-theme="dark"] .crew-info,[data-theme="dark"] .crew-state,[data-theme="dark"] .bottom-note,[data-theme="dark"] .timeline-item p,[data-theme="dark"] .timeline-item small,[data-theme="dark"] .detail-section p,[data-theme="dark"] .crew-tile p,[data-theme="dark"] .work-comment small,[data-theme="dark"] .work-file small,[data-theme="dark"] .related-job small,[data-theme="dark"] .demo-accounts p,[data-theme="dark"] .login-note,[data-theme="dark"] .alert-row p,[data-theme="dark"] .alert-row small{color:#afc0b3}
[data-theme="dark"] .form-field input,[data-theme="dark"] .form-field select,[data-theme="dark"] .form-field textarea,[data-theme="dark"] .date-field,[data-theme="dark"] .search input{background:#142019;color:#dce8e0;border-color:var(--line)}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#8da494}
[data-theme="dark"] .stat.featured,[data-theme="dark"] .assignment-box{background:#263e2c;border-color:#416449;color:#d7eccb}
[data-theme="dark"] .stat-top,[data-theme="dark"] .stat-foot,[data-theme="dark"] .empty{color:#a8baad}[data-theme="dark"] .stat-foot.green{color:#bddca9}
[data-theme="dark"] .job-card,[data-theme="dark"] .agenda-item,[data-theme="dark"] .crew-row{border-color:var(--line)}[data-theme="dark"] .job-card:hover{background:#20332a}
[data-theme="dark"] .board-foot,[data-theme="dark"] .agenda-date,[data-theme="dark"] .panel-link,[data-theme="dark"] .schedule-table th,[data-theme="dark"] .calendar-cell.outside{background:#17251c;color:#afc0b3}
[data-theme="dark"] .agenda-date input{color:#d2e6c6}[data-theme="dark"] .schedule-table td small{color:#afc0b3}
[data-theme="dark"] .job-symbol,[data-theme="dark"] .crew-avatar{background:#2a3d2a;border-color:#415640;color:#bdd4a5}
[data-theme="dark"] .job-symbol.plumbing,[data-theme="dark"] .crew-avatar.blue{background:#26374a;border-color:#3b5169;color:#b7cfee}
[data-theme="dark"] .job-symbol.general,[data-theme="dark"] .crew-avatar.orange{background:#403727;border-color:#5b4e36;color:#e3c38c}
[data-theme="dark"] .pill.normal{background:#2b3b2f;color:#c0d0be}[data-theme="dark"] .pill.new,[data-theme="dark"] .pill.high{background:#463b26;color:#efcb8f}[data-theme="dark"] .pill.urgent{background:#4b2c2a;color:#f4b0a5}[data-theme="dark"] .pill.proposed{background:#2b3b52;color:#b8cff2}[data-theme="dark"] .pill.dispatched{background:#2d442b;color:#c0dfa7}
[data-theme="dark"] .calendar-booking{background:#2b412d;color:#dce8e0}[data-theme="dark"] .calendar-booking.proposed{background:#2b3b52}[data-theme="dark"] .calendar-booking small{color:#c0d0be}
[data-theme="dark"] .form-error{background:#492b27;color:#ffc4b4}[data-theme="dark"] .slot small{color:#a8baad}
[data-theme="dark"] .login-story{background:#183f35}[data-theme="dark"] .brand-mark{background:#337158}[data-theme="dark"] .login-story .brand-mark{background:var(--lime);color:#183f35}
[data-theme="dark"] .notification-button .badge{background:#e4ad78;color:#17251c;border-color:#142019}
[data-theme="dark"] #toast{background:#d7edb8;color:#183f35}[data-theme="dark"] .backdrop{background:#040b08b5}
@media(max-width:600px){.top-actions .theme-toggle{width:35px;padding:7px}.top-actions .theme-label{display:none}.top-actions{gap:6px}.topbar{padding-left:14px;padding-right:14px}}
