.pos-mode{background:#f4f5f7;color:#20242d}.pos-header{height:76px;padding:0 26px;background:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 12px #17203208}.pos-brand{display:flex;gap:12px;align-items:center;font-size:26px;color:#242b38;text-decoration:none}.pos-brand span{font-size:17px;font-weight:800}.pos-brand small{display:block;font-size:9px;letter-spacing:2px;color:#747c89;margin-top:4px}.pos-header-actions{display:flex;gap:10px;align-items:center}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,40%);height:calc(100dvh - 76px);gap:0}.pos-floor{padding:25px;overflow:auto}.pos-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.pos-title h1{font-size:25px;margin:0 0 5px}.pos-title p{font-size:12px;color:#6f7785;margin:0}.pos-mode input,.pos-mode textarea,.pos-mode select{border:0;background:#f1f3f6;border-radius:8px;min-height:40px;padding:10px;color:#20242d;width:100%;font:inherit;font-size:12px}.pos-mode input:focus,.pos-mode textarea:focus,.pos-mode select:focus{outline:2px solid #8091ad;outline-offset:1px}.pos-mode label{font-size:11px;color:#5f6877;display:block}.pos-mode .btn{border:0;border-radius:8px;font-size:11px;min-height:36px;background:#edf0f4;color:#343d4c;box-shadow:none}.pos-mode .btn.primary{background:#263348;color:#fff}.pos-mode button:disabled{opacity:.45;cursor:not-allowed}.pos-tabs{display:flex;gap:5px;overflow:auto;padding:12px 0}.pos-tabs button,.pos-status button{border:0;padding:8px 12px;background:transparent;white-space:nowrap;font-size:11px;color:#687180;border-radius:7px;cursor:pointer}.pos-tabs button.selected,.pos-status button.selected{background:#263348;color:white}.pos-status{display:flex;gap:5px;margin:0 0 18px}.pos-tables{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.pos-table{border:0;border-radius:13px;padding:16px;text-align:left;display:flex;flex-direction:column;gap:7px;min-height:168px;cursor:pointer;box-shadow:0 3px 12px #17203206;background:#fff;color:#283c34;position:relative}.pos-table.busy{background:#c72f3f;color:#fff}.pos-table.active{outline:3px solid #243650;outline-offset:3px}.pos-table.free .pos-table-status{color:#26774e}.pos-table-status{font-size:10px;font-weight:700}.pos-table strong{font-size:21px;line-height:1.3}.pos-table small{font-size:10px;opacity:.85}.pos-table>span:not(.pos-table-status){font-size:10px;opacity:.85}.pos-table>b{font-size:19px;margin-top:auto}.pos-table em{font-size:9px;font-style:normal}.pos-detail{background:#fff;overflow:auto;box-shadow:-5px 0 24px #1d273108}.pos-detail-head{position:sticky;top:0;z-index:2;padding:20px 24px;background:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 3px 12px #17203208}.pos-detail-head h2{font-size:23px;margin:3px 0 0}.pos-detail-head small{font-size:10px;color:#747d89}.pos-section{padding:20px 24px;box-shadow:0 1px 0 #eef0f3}.pos-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.pos-section-title h3{font-size:14px;margin:0}.pos-order{background:#f7f8fa;padding:12px;border-radius:10px;margin-bottom:10px}.pos-order-head{display:flex;gap:10px;align-items:center;font-size:10px;color:#687180;margin-bottom:10px}.pos-order-head small{margin-left:auto}.pos-line{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;padding:9px 0}.pos-line span{min-width:0}.pos-line small{display:block;font-size:10px;color:#717a87;margin-top:4px}.pos-line strong{white-space:nowrap;font-size:12px}.pos-totals{display:grid;gap:8px;font-size:12px;margin:16px 0}.pos-totals>*{display:flex;justify-content:space-between}.pos-totals>strong{font-size:20px;margin-top:5px}.pos-payment-row{display:grid;grid-template-columns:1fr 100px auto;gap:8px;align-items:end;margin-bottom:12px}.pos-products{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:240px;overflow:auto;margin-bottom:15px}.pos-product{padding:12px;border:0;border-radius:8px;background:#f2f4f7;text-align:left;cursor:pointer;color:#202b3d;display:flex;flex-direction:column;gap:8px;font-size:11px}.pos-product b{font-size:11px}.pos-draft{margin-bottom:12px}.pos-qty{display:flex;align-items:center;gap:10px}.pos-qty button{border:0;border-radius:5px;background:#edf0f4;width:28px;height:28px;cursor:pointer}.pos-mode textarea{resize:vertical;min-height:60px;margin:5px 0 12px}.pos-send{min-height:46px!important}.pos-receipt{background:#e5f4eb;color:#205d39;padding:13px 24px;font-size:12px}.pos-warning{background:#fff0e0;color:#8a4c11;padding:10px;font-size:12px}.pos-note{font-size:11px;color:#775a26;margin:4px 0}.pos-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7b8491;text-align:center;padding:35px}.pos-empty>span{font-size:50px;color:#c1c7d1}.pos-empty h2{font-size:20px;color:#354155}.pos-empty p{font-size:12px;max-width:240px}.pos-mode .muted{font-size:11px;line-height:1.7}.pos-mode .text-btn{font-size:10px}.pos-mode .connection-state{font-size:10px}.pos-mode .wide{width:100%}.pos-mode #modal .check-label{display:flex;align-items:center;gap:10px}.pos-mode #modal input[type=checkbox]{width:18px;min-height:18px}.pos-mode button:focus-visible,.pos-mode a:focus-visible{outline:3px solid #7189aa;outline-offset:2px}
@media(min-width:1600px){.pos-layout{grid-template-columns:minmax(0,1fr) 560px}.pos-tables{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}
@media(max-width:1000px){.pos-layout{grid-template-columns:minmax(0,1fr) 420px}.pos-floor{padding:18px}.pos-header-actions .connection-state{display:none}.pos-tables{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}.pos-table strong{font-size:18px}}
@media(max-width:740px){.pos-layout{display:block;height:auto}.pos-floor{max-height:48dvh}.pos-detail{min-height:50dvh;overflow:visible}.pos-header{padding:12px;height:auto;gap:10px;flex-wrap:wrap}.pos-brand span{font-size:14px}.pos-header-actions{gap:5px}.pos-header-actions .btn{padding:7px;font-size:10px}.pos-table{min-height:135px;padding:12px}.pos-detail-head{top:0}.pos-section{padding:18px}.pos-title{margin-bottom:12px}}

.pos-mode .btn.primary,.pos-mode .pos-tabs button.selected,.pos-mode .pos-status button.selected{background:var(--panel-accent,#263348);color:var(--panel-accent-ink,#fff)}
