.pos{display:grid;grid-template-columns:minmax(0,2fr) minmax(340px,1fr);gap:20px;padding:22px}.pos-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.pos-head button,.pay button,.qty button{border:1px solid #c8d4d0;background:#fff;border-radius:10px;padding:10px 13px;cursor:pointer}.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}.product{min-height:125px;border:1px solid #cbd7d3;border-radius:15px;padding:15px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;color:#17231f}.product small{opacity:.65}.product strong{font-size:19px}.cart{display:flex;flex-direction:column;min-height:65vh}.cart h2{margin-top:0}.cart footer{margin-top:auto}.cart-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e3e9e7}.cart-row small{display:block;color:#71807b;margin-top:4px}.qty{display:flex;align-items:center;gap:8px}.qty button{padding:5px 9px}.empty{color:#71807b}.total{display:flex;justify-content:space-between;font-size:24px;padding:22px 0}.pay{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pay .primary{grid-column:1/-1}.cart #message{color:#187653;font-weight:700}@media(max-width:850px){.pos{grid-template-columns:1fr}.cart{min-height:400px}}@media(max-width:720px){.pos{padding:12px}.products{grid-template-columns:repeat(2,1fr)}}
.history{margin:24px;overflow:auto}.history table{width:100%;border-collapse:collapse}.history th,.history td{text-align:left;padding:13px;border-bottom:1px solid #dfe7e4}.history th{color:#60736c}.history button{padding:9px 13px;border:1px solid #bdcbc6;border-radius:9px;background:#fff;cursor:pointer}.refund-actions{display:flex;gap:12px;margin-top:25px}.refund-actions .danger{background:#a52e2e;color:#fff;border-color:#a52e2e}
.pay button.primary{background:#183c35;color:#fff;border-color:#183c35}
.admin-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:20px;padding:24px}.admin-grid table{width:100%;border-collapse:collapse}.admin-grid th,.admin-grid td{text-align:left;padding:11px;border-bottom:1px solid #dfe7e4}.admin-grid button{padding:8px 11px;border:1px solid #bdcbc6;border-radius:8px;background:#fff;cursor:pointer}.category-admin{display:grid;grid-template-columns:52px 1fr auto auto;gap:8px;align-items:center;margin:10px 0}.category-admin input{height:42px;border:1px solid #bdcbc6;border-radius:8px;padding:7px}@media(max-width:950px){.admin-grid{grid-template-columns:1fr}}
.admin-panel{min-width:0;overflow:hidden}.table-scroll{width:100%;overflow-x:auto}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.category-list{display:grid;gap:10px}.category-card{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid #d8e2de;border-radius:11px}.color-preview{width:30px;height:30px;border-radius:8px;background:var(--category-color);border:1px solid #b9c7c2}.category-card strong{overflow:hidden;text-overflow:ellipsis}dialog{border:0;border-radius:18px;padding:0;width:min(650px,calc(100vw - 30px));box-shadow:0 25px 80px #102a2444}dialog::backdrop{background:#102a2477}.editor{padding:24px}.editor-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.editor-head h2{margin:0}.editor-head button{border:0;background:transparent;font-size:30px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.editor label{display:grid;gap:7px;font-weight:700}.editor input,.editor select{width:100%;padding:12px;border:1px solid #b8c8c2;border-radius:9px;background:#fff;font:inherit}.editor .wide{grid-column:1/-1}.editor .check{display:flex;flex-direction:row;align-items:center}.editor .check input{width:auto}.editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.editor-actions button{padding:11px 18px;border:1px solid #b8c8c2;border-radius:9px;background:#fff;cursor:pointer}.editor-actions .save{background:#183c35;color:#fff}.color-field{display:grid;grid-template-columns:70px 1fr;align-items:center;gap:12px}.color-field input{height:48px;padding:4px}@media(max-width:650px){.form-grid{grid-template-columns:1fr}.editor .wide{grid-column:auto}.category-card{grid-template-columns:32px 1fr}.category-card .row-actions{grid-column:1/-1}}
.deposit-toggle{display:block;margin-top:8px;padding:5px 8px;border:1px solid #c6d3cf;border-radius:7px;background:#f3f7f5;color:#315d51;cursor:pointer;font-size:12px}.deposit-toggle.removed{background:#fff0e8;color:#93451f;border-color:#e3b89f}.shell>header{position:sticky;top:0;z-index:30}.shell>nav{position:sticky;top:84px;z-index:29;box-shadow:0 5px 12px #102a2415}
.deposit-control{display:flex;align-items:center;gap:7px;margin-top:8px;color:#315d51;font-size:12px}.deposit-control button{width:27px;height:27px;padding:0;border:1px solid #b9cbc5;border-radius:7px;background:#eef6f3;cursor:pointer}.deposit-control button:disabled{opacity:.35;cursor:not-allowed}
.pos-selectors{position:sticky;top:142px;z-index:28;display:flex;gap:14px;padding:10px 30px;background:#e4eeea;border-bottom:1px solid #c8d7d1}.pos-selectors label{display:flex;align-items:center;gap:8px;font-weight:700}.pos-selectors select{min-width:180px;padding:9px;border:1px solid #adc2ba;border-radius:9px;background:#fff}.admin-switch{padding:14px 24px 0}.admin-switch button{padding:10px 14px;border:1px solid #b8c8c2;border-radius:9px;background:#fff;cursor:pointer}.feature-toggle{display:flex;gap:10px;align-items:center;padding:14px;background:#eef6f3;border-radius:10px;margin-bottom:14px}.manage-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #dfe7e4}.manage-row button,.register-card button{padding:8px 11px;border:1px solid #bdcbc6;border-radius:8px;background:#fff;cursor:pointer}.register-card{padding:15px;border:1px solid #d6e1dd;border-radius:12px;margin-bottom:12px}.assignment-list{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.assignment-list label{display:flex;gap:6px;align-items:center;background:#eef5f2;padding:7px 9px;border-radius:8px}@media(max-width:650px){.pos-selectors{flex-direction:column;top:142px}.pos-selectors label{justify-content:space-between}.pos-selectors select{min-width:0;width:60%}}
.admin-subnav{position:sticky;top:142px;z-index:28;display:flex;gap:8px;overflow-x:auto;padding:11px 24px;background:#e4eeea;border-bottom:1px solid #c7d6d0}.admin-subnav button{white-space:nowrap;padding:9px 13px;border:1px solid #b7c8c1;border-radius:9px;background:#fff;color:#274b42;cursor:pointer}.admin-subnav button.active{background:#183c35;color:#fff;border-color:#183c35}.admin-subnav button:disabled{opacity:.45;cursor:not-allowed}
.operator-required{margin-left:auto;padding:7px 10px;border-radius:8px;background:#eaf5f0;color:#23614f}.selection-missing .operator-required{background:#fff0e8;color:#963f1d}.product:disabled,.pos-head button:disabled,.pay button:disabled{opacity:.42;cursor:not-allowed;filter:grayscale(.35)}
.category-filter{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 22px;padding:12px;background:#f1f6f4;border:1px solid #d7e3df;border-radius:12px}.category-filter button{padding:7px 10px;border:1px solid #b9cbc4;border-radius:8px;background:#fff;cursor:pointer}.category-filter label{display:flex;align-items:center;gap:5px;padding:7px 9px;border-radius:8px;background:#fff;border:1px solid #d0ddd8;cursor:pointer}.category-filter label span::before{content:"";display:inline-block;width:11px;height:11px;border-radius:3px;background:var(--filter-color);margin-right:6px}.products{display:block}.product-category{margin-bottom:25px}.product-category h2{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid #dce6e2;font-size:21px}.product-category h2 span{width:18px;height:18px;border-radius:5px;border:1px solid #b9c8c3}.category-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}@media(max-width:720px){.category-products{grid-template-columns:repeat(2,1fr)}}
.pos-selectors{align-items:center}.pos-selectors .fixed-register{display:flex;align-items:center;min-height:42px;line-height:1.2}.pos-selectors label{min-height:42px}.pos-selectors select{height:42px}
