html[data-theme],html[data-theme] body{--ink:#21324b;--muted:#56677e;--teal:#2456a6;--teal-dark:#183e7a;--bg:#eef3fa;--line:#d1dce9;--surface:#fff;--soft:#e2ebf8;--header:#f8faff;background:var(--bg);color:var(--ink)}
html[data-theme=green],html[data-theme=green] body{--ink:#233b31;--muted:#526b5d;--teal:#29654c;--teal-dark:#1d4936;--bg:#eef5f0;--line:#ccded2;--soft:#dcece1;--header:#f7fbf8}
html[data-theme=gray],html[data-theme=gray] body{--ink:#29333f;--muted:#596575;--teal:#445365;--teal-dark:#303d4c;--bg:#f0f2f5;--line:#d4dbe3;--soft:#e2e7ed;--header:#fafbfc}
html[data-theme=coffee],html[data-theme=coffee] body{--ink:#3d2f28;--muted:#706158;--teal:#80533b;--teal-dark:#5d3927;--bg:#f7f2ec;--line:#e2d5c8;--soft:#eee0d3;--header:#fffcf8}
html[data-theme] :is(.sidebar,.panel,.metric,dialog,.counter-sale-footer,.counter-favorites .touch-menu .panel-head,.counter-favorites .touch-categories,.counter-options>summary){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme] :is(.counter-header,th){background:var(--header);color:var(--muted)}
html[data-theme] :is(.counter-total,.grand-total,.payment-preview,.badge,.avatar,.bar-track){background:var(--soft);color:var(--ink)}
html[data-theme] :is(button.secondary,.button.secondary,.product-result){background:var(--soft);color:var(--teal-dark)}
html[data-theme] .sidebar nav a{color:var(--muted)}html[data-theme] .sidebar nav a.active,html[data-theme] .sidebar nav a:hover{background:var(--soft);color:var(--teal-dark)}
html[data-theme] :is(label,.summary-row,.empty h3,.metric small){color:var(--muted)}html[data-theme] :is(input,select){border-color:var(--line);color:var(--ink);background:var(--surface)}
html[data-theme] :is(input,button,select,a):focus-visible{outline:3px solid var(--teal);outline-offset:2px}
html[data-theme] .category-chip{background:var(--soft)!important;color:var(--teal-dark)!important;border-color:var(--line)!important}html[data-theme] .category-chip.active{background:var(--teal)!important;color:white!important;border-color:var(--teal)!important}
html[data-theme] .method-button{background:var(--soft)!important;color:var(--teal-dark)!important}html[data-theme] .method-button.selected{background:var(--teal)!important;color:white!important}
html[data-theme] .cash-exact{background:var(--teal);color:white;width:100%;margin-bottom:10px}html[data-theme] .cash-denominations button{background:var(--soft);color:var(--teal-dark)}
html[data-theme] .login-story{background:var(--teal-dark);color:white}html[data-theme] .login-story p,html[data-theme] .login-caption{color:#e3ebf7}html[data-theme] .login-panel{background:var(--surface)}
.brand-logo{display:block;flex-shrink:0;width:156px;height:40px;object-fit:contain}.login-logo{width:240px;height:62px}.counter-brand>div>strong{display:none}.theme-options{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:16px;max-width:700px;margin:24px 0}.theme-card{padding:18px;border:1px solid var(--line);border-radius:12px;font-size:14px;cursor:pointer}.theme-card input{width:auto;display:inline;margin:0 8px 0 0;min-height:0;accent-color:var(--teal)}.theme-swatch{display:block;height:56px;border-radius:8px;background:var(--swatch);margin-bottom:15px}
.numeric-control{display:flex;gap:4px;align-items:center;margin-top:6px}.numeric-control input{margin-top:0;min-width:0;flex:1}.numeric-control button{padding:6px;min-width:38px;flex-shrink:0;font-size:18px}.search-row label:has(#quantity){width:158px}.cash-keypad [data-digit=backspace]{grid-column:1/-1;font-size:14px}.counter-body .edit-dialog input[readonly]{background:var(--soft)}
@media(max-width:600px){.brand-logo{width:120px;height:32px}.theme-options{grid-template-columns:1fr}.numeric-control button{min-width:30px}.counter-search .search-row label:has(#quantity){width:130px!important}}

.numeric-control input::-webkit-inner-spin-button,.numeric-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.numeric-control input[type=number]{-moz-appearance:textfield;appearance:textfield}
