:root{color-scheme:light}.theme-toggle{display:inline-flex;align-items:center;gap:6px;background:transparent;border:1px solid #f0e8e3;color:#8f7e72;font-size:10px;padding:7px 10px;border-radius:7px;white-space:nowrap}.theme-toggle:hover{background:#fbf4ef}
html[data-theme=dark]{color-scheme:dark;--ink:#e6e6ef;--muted:#a3a4b5;--line:#343342;--paper:#191920;--accent:#f3c09c}
html[data-theme=dark] body{background:#191920;color:#e6e6ef}
html[data-theme=dark] body>aside{background:#202027;border-color:#3f3935;color:#cbc0b9}
html[data-theme=dark] .brand{color:#faf4f0}
html[data-theme=dark] .brandmark{background:#eca775;color:white}
html[data-theme=dark] .shop{background:#312c29;border-color:#473f39;color:#efe6e0}
html[data-theme=dark] .shop small{color:#b6aaa1}
html[data-theme=dark] .shopicon{background:#544337;color:#f5cfb4}
html[data-theme=dark] .navlabel{color:#a79a91}
html[data-theme=dark] nav button{color:#c4b8af}
html[data-theme=dark] nav button:hover{background:#3b332d}
html[data-theme=dark] nav button.active{background:#514034;color:#f8dbc6}
html[data-theme=dark] nav button>span:first-child{color:#b9a89b}
html[data-theme=dark] nav button.active>span:first-child{color:#f3ccb1}
html[data-theme=dark] nav b{background:#624c3c;color:#edceb8}
html[data-theme=dark] .side-note a{color:#bfb0a6}
html[data-theme=dark] .side-note a:hover{background:#3a312b}
html[data-theme=dark] .resource-icon{color:#d1bbac}
html[data-theme=dark] .storage-note{background:#372f29;border-color:#4c4037;color:#cbb7a9}
html[data-theme=dark] .storage-note small{color:#ae9c90}
html[data-theme=dark] .profile{border-color:#433932;color:#c9b6a8}
html[data-theme=dark] .profile small{color:#af998a}
html[data-theme=dark] .avatar,html[data-theme=dark] .profile .avatar{background:#5c493b;color:#f1d1ba}
html[data-theme=dark] header{background:#262321;border-color:#3e3631;color:#b9a79a}
html[data-theme=dark] header strong{color:#dfccbe}
html[data-theme=dark] header>div>span{color:#836c5c}
html[data-theme=dark] .header-right .saved{color:#b5a294}
html[data-theme=dark] .theme-toggle{background:#362e28;border-color:#534338;color:#e9cbb5}
html[data-theme=dark] .theme-toggle:hover{background:#463930}
html[data-theme=dark] h1{color:#fbebdf}
html[data-theme=dark] .eyebrow{color:#b99e8b}
html[data-theme=dark] .titlebar p{color:#c9ae9b}
html[data-theme=dark] button{background:#342b25;border-color:#514135;color:#ebcdb8}
html[data-theme=dark] button:hover{background:#42352c}
html[data-theme=dark] .primary{background:#d0956b;border-color:#d0956b;color:#fff}
html[data-theme=dark] .primary:hover{background:#dea57c;border-color:#dea57c}
html[data-theme=dark] .stat,html[data-theme=dark] .stat:nth-child(2){background:#2e2722;border-color:#4d3d32}
html[data-theme=dark] .stat:hover{background:#3a2f28;border-color:#755742}
html[data-theme=dark] .stat .label{color:#d8b49a}
html[data-theme=dark] .stat small{color:#be987c}
html[data-theme=dark] .stat .num{color:#fae6d7}
html[data-theme=dark] .stat .metric-icon{background:#4d3b2e;color:#eeba94}
html[data-theme=dark] .stat:nth-child(2) .num{color:#eec078}
html[data-theme=dark] .stat:nth-child(2) .metric-icon{background:#4c362b;color:#e6ad6c}
html[data-theme=dark] .stat:nth-child(3) .num{color:#f0c1a0}
html[data-theme=dark] .stat:nth-child(3) .metric-icon{background:#4d3728;color:#ecb994}
html[data-theme=dark] .stat:last-child .num{color:#9ad0a0}
html[data-theme=dark] .stat:last-child .metric-icon{background:#2b4131;color:#8bc392}
html[data-theme=dark] .flowtabs{border-color:#4f3f33}
html[data-theme=dark] .flowtabs button{background:none;color:#cca88f;border-color:transparent}
html[data-theme=dark] .flowtabs button[aria-selected=true]{color:#f5c9aa;border-bottom-color:#dca47c}
html[data-theme=dark] .flowtabs button span,html[data-theme=dark] .flowtabs button[aria-selected=true] span{background:#4c392b;color:#e9bd9d}
html[data-theme=dark] .flowhint{background:#362d20;border-color:#59462b;color:#d2b477}
html[data-theme=dark] .views{background:none}
html[data-theme=dark] .views button{background:none;color:#c49f84}
html[data-theme=dark] .views button.selected{background:#4b382a;border-color:#6e4d35;color:#e8bea0}
html[data-theme=dark] .tools select,html[data-theme=dark] .tools button{background:#332922;border-color:#563f2e;color:#dcb599}
html[data-theme=dark] .search{background:#322821;border-color:#574030;color:#d5a380}
html[data-theme=dark] .search input{color:#f5d2b9;background:none}
html[data-theme=dark] .search input::placeholder{color:#ba8e6f}
html[data-theme=dark] .quickfilters button{background:none;color:#cb9e7d}
html[data-theme=dark] .quickfilters button.selected{background:#4b3424;color:#edbd9b}
html[data-theme=dark] .listtitle{color:#f0c1a0}
html[data-theme=dark] .listtitle small,html[data-theme=dark] .listtitle b{color:#c5916c}
html[data-theme=dark] table{background:#2c231c;border-color:#543d2c}
html[data-theme=dark] th{background:#332922;color:#d6a481;border-color:#563f2f}
html[data-theme=dark] td{border-color:#483324;color:#e4bda1}
html[data-theme=dark] td:first-child{border-left-color:#ac7650}
html[data-theme=dark] td strong{color:#f7d8c2}
html[data-theme=dark] tbody tr:hover{background:#3d2e23}
html[data-theme=dark] .customer{color:#d2a686}
html[data-theme=dark] .owner{color:#e6b999}
html[data-theme=dark] .mini{background:#5c3f2a;border-color:#744d31;color:#efc3a3}
html[data-theme=dark] .row-icon,html[data-theme=dark] .row-icon.print,html[data-theme=dark] .type-icon,html[data-theme=dark] .type-icon.print{background:#5e432f;color:#eabb99}
html[data-theme=dark] .row-icon.embroidery,html[data-theme=dark] .type-icon.embroidery{background:#52332c;color:#e1ae85}
html[data-theme=dark] .row-icon.design,html[data-theme=dark] .type-icon.design{background:#503928;color:#e5b898}
html[data-theme=dark] .datepill,html[data-theme=dark] .due{color:#e3b28f}
html[data-theme=dark] .datepill.urgent,html[data-theme=dark] .due.urgent{color:#eea3a4}
html[data-theme=dark] .amount{color:#ecc1a3}
html[data-theme=dark] .statuspill,html[data-theme=dark] .statuspill.homebase{background:#5c4230;color:#ebbe9e}
html[data-theme=dark] .statuspill.design{background:#543e2e;color:#e2bda2}
html[data-theme=dark] .statuspill.production{background:#2b405d;color:#a5c4ef}
html[data-theme=dark] .statuspill.complete{background:#2d492d;color:#b0d5a0}
html[data-theme=dark] .auth.waiting{background:#4c3821;color:#dcbe7d}
html[data-theme=dark] .auth.ready{background:#304a27;color:#b5d89d}
html[data-theme=dark] .card{background:#33271f;border-color:#593e2b;border-top-color:#b47b52}
html[data-theme=dark] .card:hover{background:#3e2f24}
html[data-theme=dark] .card h3{color:#f2cbb0}
html[data-theme=dark] .cardtop{color:#d5a380}
html[data-theme=dark] .card-menu{color:#ce9e7b}
html[data-theme=dark] .tag{background:#4f3827;color:#deae8c}
html[data-theme=dark] .rush{background:#51351e;color:#e6b378}
html[data-theme=dark] .cardfoot{border-color:#583d2a}
html[data-theme=dark] .column{background:#2b2019;border-color:#4c3524}
html[data-theme=dark] .colhead{color:#e9ba98}
html[data-theme=dark] .count{background:#4c3626;color:#d4a98b}
html[data-theme=dark] .addcard{background:none;color:#d19f7c}
html[data-theme=dark] .column.over,html[data-theme=dark] .flowtabs button.over{background:#4b3526;outline-color:#d09f7c}
html[data-theme=dark] .empty-state{background:#33241a;border-color:#6f4a30}
html[data-theme=dark] .empty-state h3{color:#ebc2a4}
html[data-theme=dark] .empty-state p{color:#cb9f7f}
html[data-theme=dark] .customerbox{background:#30241c;border-color:#593d29}
html[data-theme=dark] .customerbox h3{color:#edc5a8}
html[data-theme=dark] .customerbox p{color:#c99c7b}
html[data-theme=dark] .focuspanel{background:#2d2118;border-color:#553a27}
html[data-theme=dark] .focus-title h3{color:#e5b898}
html[data-theme=dark] .focuspanel>p,html[data-theme=dark] .focus-label{color:#c19576}
html[data-theme=dark] .deadline{background:none;border-color:#4b3423}
html[data-theme=dark] .deadline:hover{background:#3d2d22}
html[data-theme=dark] .deadline>span:nth-child(2)>strong{color:#dfb291}
html[data-theme=dark] .deadline small{color:#c29371}
html[data-theme=dark] .dateblock{background:#453326;border-color:#5a402d;color:#c49c7f}
html[data-theme=dark] .dateblock strong{color:#e8bd9f}
html[data-theme=dark] .workspace-note{background:#423023}
html[data-theme=dark] .workspace-note strong{color:#dfb597}
html[data-theme=dark] .workspace-note p,html[data-theme=dark] .workspace-note>span{color:#be9476}
html[data-theme=dark] .syncstate{border-color:#513725;color:#d6ac8e}
html[data-theme=dark] .syncstate small{color:#af876a}
html[data-theme=dark] dialog{background:#2b2019;border-color:#523a29;box-shadow:-15px 0 60px #0005}
html[data-theme=dark] dialog::backdrop{background:#0e0a07b3}
html[data-theme=dark] .dialoghead h2{color:#f2d1b9}
html[data-theme=dark] .dialoghead small,html[data-theme=dark] .section-label{color:#d7ab8b}
html[data-theme=dark] .close{background:#4c3728;color:#eabc9b}
html[data-theme=dark] .formgrid label{color:#d6af93}
html[data-theme=dark] .formgrid input,html[data-theme=dark] .formgrid select,html[data-theme=dark] .formgrid textarea{background:#342922;border-color:#5c4534;color:#f0cfb8}
html[data-theme=dark] .formgrid input::placeholder,html[data-theme=dark] .formgrid textarea::placeholder{color:#b18a6e}
html[data-theme=dark] .formgrid input:focus,html[data-theme=dark] .formgrid select:focus,html[data-theme=dark] .formgrid textarea:focus{border-color:#c99773;box-shadow:0 0 0 3px #734d3255}
html[data-theme=dark] .billing{background:#38291f;border-color:#5c4535}
html[data-theme=dark] .billing h3{color:#eabfa0}
html[data-theme=dark] .billing small{color:#c69d80}
html[data-theme=dark] .billing p{color:#d5ae79}
html[data-theme=dark] #paymentSummary strong{color:#e9c5ac}
html[data-theme=dark] .paymentrow{border-color:#563e2d;color:#e0b89c}
html[data-theme=dark] .payactions button{background:#4b3627;border-color:#724e35;color:#e9c1a4}
html[data-theme=dark] .checks input{accent-color:#d3a07c}
html[data-theme=dark] .formfoot{border-color:#573d2a}
html[data-theme=dark] .formfoot #total{color:#efc9ad}
html[data-theme=dark] .formfoot .danger{color:#e3a0b1;background:none}
html[data-theme=dark] .formfoot #archive{color:#ddb496}
html[data-theme=dark] .formerror{color:#eda3b4}
html[data-theme=dark] footer{color:#a37e63}
html[data-theme=dark] #toast{background:#9d7253;color:#fff}
@media(max-width:700px){.theme-toggle{padding:7px 8px;font-size:13px}.theme-toggle span{display:none}.header-right{gap:8px}html[data-theme=dark] body>aside{border-bottom-color:#41362f}}

html[data-theme=dark] nav button:not(.active){background:transparent;border:0}html[data-theme=dark] nav button:not(.active):hover{background:#38302b}html[data-theme=dark] .stat small{color:#b8a292}
/* WestWorks orange brand accents. */
html[data-theme=light]{--accent:#e97125}html[data-theme=light] .brandmark{background:#ef762c}html[data-theme=light] .primary{background:#e97932;border-color:#e97932}html[data-theme=light] .primary:hover{background:#d96924;border-color:#d96924}html[data-theme=light] nav button.active{background:#fff0e4;color:#b57342}html[data-theme=light] .flowtabs button[aria-selected=true]{color:#c08252;border-bottom-color:#e8a575}html[data-theme=light] .views button.selected{background:#fff1e7;color:#b47e57;border-color:#f4decd}
html[data-theme=dark]{--accent:#eea062}html[data-theme=dark] .brandmark{background:#e99450}html[data-theme=dark] .primary{background:#df955e;border-color:#df955e;color:#fff}html[data-theme=dark] .primary:hover{background:#eaaa78;border-color:#eaaa78}html[data-theme=dark] nav button.active{background:#493426;color:#edbd96}html[data-theme=dark] .flowtabs button[aria-selected=true]{color:#edbd98;border-bottom-color:#dda472}html[data-theme=dark] .views button.selected{background:#493023;color:#e7b18c;border-color:#68462e}

html[data-theme=light] body>aside{background:#fbfaf8}html[data-theme=light] .row-icon.print,html[data-theme=light] .type-icon.print{background:#fff0e4;color:#cc9a72}html[data-theme=light] .storage-note{background:#f5f0ea;border-color:#e9dfd4}html[data-theme=light] .shopicon{background:#faeee3;color:#bb865d}
