.preferences{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:12px}.preferences label{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.preferences select{width:auto;max-width:145px;padding:7px 8px;font-size:12px;min-height:36px}header{gap:12px}header>.profile{flex-shrink:0}.preferences label>span{white-space:nowrap}html{color-scheme:light}.setup-link{display:block;color:var(--teal-dark);font-size:12px;margin-top:20px}
html[data-theme=dark]{color-scheme:dark;--ink:#f1e6dc;--cream:#25211f;--bg:#1b1918;--muted:#c2aea1;--border:#53453d;--green:#80c9c9;--teal-dark:#85cece;--pink-dark:#da83a1}
html[data-theme=dark] body{background:var(--bg);color:var(--ink)}html[data-theme=dark] aside,html[data-theme=dark] footer{background:#25211f}html[data-theme=dark] header{background:#211e1c}html[data-theme=dark] header b,html[data-theme=dark] .profile span,html[data-theme=dark] nav button{color:#d5beb0}html[data-theme=dark] .brand,html[data-theme=dark] .profile{color:#ec95b2}html[data-theme=dark] .brand span{color:var(--ink)}html[data-theme=dark] .shop-label,html[data-theme=dark] .eyebrow{color:#dab792}html[data-theme=dark] nav button.active{background:#4b2938;color:#ffc4d8}html[data-theme=dark] nav button:hover:not(.active){background:#39302b;color:var(--ink)}html[data-theme=dark] .stat,html[data-theme=dark] .panel,html[data-theme=dark] .card,html[data-theme=dark] .cart,html[data-theme=dark] .work-queue,html[data-theme=dark] .data-controls,html[data-theme=dark] .login-panel,html[data-theme=dark] dialog{background:#282320}html[data-theme=dark] .secondary,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .cart-row button{background:#302925;color:var(--ink);border-color:#6c5648}html[data-theme=dark] .secondary:hover{background:#42352f}html[data-theme=dark] .primary{background:#a73760;color:#fff;box-shadow:0 3px 0 #69243d}html[data-theme=dark] .primary:hover:not(:disabled){background:#bc426e}html[data-theme=dark] th{background:#342b25;color:#e0c5af}html[data-theme=dark] td,html[data-theme=dark] th{border-bottom-color:#4b3e35}html[data-theme=dark] .sub,html[data-theme=dark] .stat small,html[data-theme=dark] footer{color:#c2aea1}html[data-theme=dark] .badge{background:#204346;color:#a9e1d7}html[data-theme=dark] .badge.sold{background:#4b342a;color:#ecc3a5}html[data-theme=dark] .shop-info{background:#203c37;border-color:#42675d}html[data-theme=dark] .shop-info p{color:#bed7cd}html[data-theme=dark] .order-summary{background:#382d25}html[data-theme=dark] .error{color:#ffb2ab}html[data-theme=dark] .defect-note{color:#edb695}html[data-theme=dark] #toast{background:#204e52;color:#fff}html[data-theme=dark] .shop-logo,html[data-theme=dark] .login-logo,html[data-theme=dark] .logo-preview{background:white}html[data-theme=dark] .card-art{color:#423027}
@media(max-width:1000px){header{padding-left:20px;padding-right:20px}.preferences label>span{display:none}.profile span{display:none}}@media(max-width:620px){header{height:auto;min-height:78px;flex-wrap:wrap;padding:10px 12px;gap:8px}header>span{order:4;flex-basis:100%;font-size:11px}.preferences{gap:6px;margin-right:0}.preferences select{font-size:11px;max-width:105px;padding:7px 5px}.profile button{padding:7px}.data-controls button,.cart-row button,nav button{min-height:40px}input,textarea{font-size:16px}.pos-layout .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-bottom{gap:5px;flex-wrap:wrap}.card-bottom strong{font-size:18px}.cart{min-width:0}dialog{max-width:95vw;max-height:90dvh;overflow:auto}table{min-width:520px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.preferences{display:none!important}html[data-theme=dark]{color-scheme:light;--ink:#423027;--muted:#79665c;--border:#e7d7c7}html[data-theme=dark] dialog,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:white;color:#423027}}
