:root{--pos-red:#ff4a2f;--pos-orange:#ff7900;--pos-dark:#555;--pos-darker:#3e3e3e;--pos-line:#d7d7d7;--pos-bg:#f6f6f6;--pos-text:#1f2933}*{box-sizing:border-box}body{background:var(--pos-bg);color:var(--pos-text);font-family:'Barlow',Arial,sans-serif;font-size:14px}.pos-body,.app-shell{min-height:100vh}.pos-frame{min-height:100vh;display:flex;flex-direction:column}.pos-header{background:#fff;border-bottom:3px solid var(--pos-red);box-shadow:0 1px 0 rgba(0,0,0,.08);position:sticky;top:0;z-index:20}.pos-favorites{height:38px;border-bottom:1px solid var(--pos-line);display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:#111;font-size:12px}.pos-toolbar{min-height:50px;display:flex;align-items:stretch;gap:14px;padding:0 18px}.pos-logo{color:var(--pos-red);text-decoration:none;font-weight:800;font-size:24px;display:inline-flex;align-items:center;border-right:1px solid var(--pos-line);padding-right:18px}.pos-modules{display:flex;align-items:stretch;gap:2px;overflow-x:auto}.pos-module{min-width:58px;padding:6px 8px;color:#333;text-decoration:none;display:grid;place-items:center;border-left:1px solid transparent;border-right:1px solid transparent}.pos-module i{color:var(--pos-red);font-size:24px;line-height:1}.pos-module span{font-size:10px;line-height:1.2;margin-top:2px;color:#4a4a4a}.pos-module:hover,.pos-module.is-active{background:#f5f5f5;border-color:#e4e4e4}.pos-status{margin-left:auto;display:flex;align-items:center;gap:8px;min-width:max-content}.pos-clock{text-align:right;line-height:1;padding-right:8px}.pos-clock span{display:block;font-size:10px;font-weight:700;color:#555}.pos-clock strong{display:block;font-size:26px;font-weight:400;color:#555}.pos-level{height:38px;display:inline-flex;align-items:center;gap:6px;background:#ecebff;color:#333196;padding:0 12px;font-weight:700;font-size:12px;border-radius:2px}.pos-user{height:38px;min-width:210px;border:1px solid #ddd;border-radius:3px;display:flex;align-items:center;gap:8px;padding:0 10px;background:#fff}.pos-user i{font-size:22px}.pos-user strong,.pos-user span{display:block;line-height:1.15}.pos-user strong{font-size:12px}.pos-user span{font-size:11px;color:#222}.pos-mail,.pos-help{width:38px;height:38px;display:inline-grid;place-items:center;text-decoration:none;border-radius:3px;font-size:21px}.pos-mail{background:var(--pos-red);color:#fff}.pos-help{border:1px solid #cfcfcf;color:#222;background:#fff}.pos-tabs{height:42px;display:flex;align-items:stretch;background:var(--pos-dark);overflow-x:auto}.pos-tabs a{display:inline-flex;align-items:center;color:#f3f3f3;text-decoration:none;padding:0 20px;border-right:1px solid rgba(255,255,255,.08)}.pos-tabs a:hover,.pos-tabs a.is-active{background:var(--pos-darker);color:#fff;font-weight:700}.app-main{flex:1;padding:0 16px 28px}.page-head{min-height:54px;margin:0 -16px 18px;padding:0 16px;background:#666;color:#fff;display:flex;align-items:center;justify-content:space-between}.page-head h1{font-size:20px;font-weight:800;margin:0}.page-head .btn{border-radius:2px;font-weight:700;opacity:1}.panel,.metric{background:#fff;border:1px solid var(--pos-line);border-radius:4px;padding:16px}.table-responsive.panel{padding:0;overflow:hidden}.table{margin-bottom:0}.table thead th{background:#f1f1f1;border-bottom:1px solid var(--pos-line);color:#6a7078;font-weight:500;padding:12px 16px}.table tbody td{padding:12px 16px;vertical-align:middle;border-color:#e9e9e9}.badge,.btn,.form-control,.form-select,.alert{border-radius:3px}.btn-dark{background:#252a2e;border-color:#252a2e}.form-narrow{max-width:680px}.showroom-layout{display:grid;grid-template-columns:minmax(0,1fr) 626px;gap:0;margin:-18px -16px -28px;min-height:calc(100vh - 137px);overflow:hidden}.showroom-orders{padding:28px 16px;border-right:1px solid var(--pos-line);overflow:auto}.showroom-orders h2{font-size:16px;font-weight:800;text-transform:uppercase;margin:0 0 16px}.pos-table-wrap{border:1px solid var(--pos-line);border-radius:4px;background:#fff}.pos-table thead th{background:#f0f0f0;color:#717171;font-weight:500;border-bottom:1px solid var(--pos-line)}.pos-table td,.pos-table th{height:46px}.pos-table tbody tr.order-clickable{cursor:pointer}.pos-table tbody tr.order-clickable>*{background:#fff;transition:background-color .12s ease}.pos-table tbody tr.order-clickable:nth-child(even)>*{background:#f6f6f6}.pos-table tbody tr.order-clickable:hover>*{background:#fff0bd}.order-open{box-shadow:inset 4px 0 #ff4051}.order-selected{background:#ffdf78}.order-closed{box-shadow:inset 4px 0 #35b99b}.status-pill{display:inline-flex;align-items:center;min-height:26px;padding:3px 10px;border-radius:3px;font-size:12px}.status-open{color:#ff4051;border:1px solid #ff4051}.status-closed{color:#0f9d7d}.order-side{background:#f7f7f7;border-left:1px solid #ddd;min-width:0}.new-order-panel{display:none}.showroom-layout.is-creating .new-order-panel,.new-order-panel[aria-hidden=false]{display:block}.showroom-layout.is-creating .order-detail-panel{display:none}.new-order-title{min-height:54px;display:flex;align-items:center;padding:0 18px;background:var(--pos-orange);color:#fff;font-weight:800;font-size:18px;text-transform:uppercase}.new-order-form{padding:22px 28px}.new-order-form .form-label{min-width:90px;margin-bottom:0;color:#1f2933}.new-order-form .mb-3,.new-order-form .mb-4{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:start;gap:20px}.new-order-form .form-control,.new-order-form .form-select{border-radius:0;border-color:#bfbfbf}.btn-order{min-width:120px;background:var(--pos-orange);border-color:#df6900;color:#fff;font-weight:700;box-shadow:0 2px 5px rgba(0,0,0,.22)}.btn-order:hover{background:#eb7000;border-color:#d06400;color:#fff}.order-detail-panel{background:#f7f7f7;min-height:100%}.order-detail-title{min-height:54px;background:var(--pos-orange);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 18px;font-size:17px}.order-title-actions{display:flex;gap:10px}.order-title-actions button,.order-add-head button,.product-modal-head button{border:0;color:#fff;background:rgba(0,0,0,.22);width:36px;height:32px;display:inline-grid;place-items:center;border-radius:2px}.order-detail-meta{display:grid;grid-template-columns:120px 1fr;row-gap:14px;padding:20px 18px;background:#fff}.order-detail-meta a{color:#111;font-weight:700}.order-add-head{min-height:48px;background:#9b9b9b;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 18px;text-transform:uppercase;font-size:16px}.order-search-row{display:grid;grid-template-columns:44px 1fr;gap:10px;padding:12px 18px;background:#eee}.add-product-btn{background:var(--pos-orange);border-color:#e36b00;color:#fff;font-size:18px}.pending-items{border-left:4px solid var(--pos-orange)}.pending-item{min-height:48px;background:#ffdf78;border-bottom:1px solid #f3ca54;display:grid;grid-template-columns:98px 1fr 18px 104px 28px 24px;align-items:center;gap:10px;padding:8px 12px}.qty-control{display:grid;grid-template-columns:34px 34px 34px}.qty-control button,.qty-control strong{height:34px;border:1px solid #efc14a;display:grid;place-items:center;background:rgba(255,255,255,.2)}.pending-item input{height:34px;border:1px solid #efc14a;background:rgba(255,255,255,.18);text-align:right;padding:0 10px}.pending-icon{color:#ba8c20;font-size:18px}.confirm-strip{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:#fff;border-bottom:1px solid #e2e2e2}.confirm-strip .btn{min-width:120px;margin-left:8px}.order-total-bar{min-height:48px;background:#666;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 18px;font-size:16px}.order-total-bar strong{font-size:20px}.order-footer-actions{display:flex;align-items:center;justify-content:space-between;padding:18px}.product-modal-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.48);display:grid;place-items:center;padding:24px}.product-modal{width:min(960px,calc(100vw - 48px));max-height:min(760px,calc(100vh - 48px));background:#fff;display:grid;grid-template-rows:56px minmax(0,1fr) 64px;box-shadow:0 16px 40px rgba(0,0,0,.3)}.product-modal-head{background:#414141;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;text-transform:uppercase;font-size:16px}.product-modal-head div{display:flex;gap:12px}.product-modal-body{display:grid;grid-template-columns:192px minmax(0,1fr);min-height:0}.product-categories{background:#525252;display:flex;flex-direction:column}.product-categories button{height:46px;border:0;border-bottom:1px solid rgba(0,0,0,.2);background:transparent;color:#fff;text-align:left;padding:0 18px}.product-categories button.is-active{background:#ff4a2f;font-weight:700}.product-list{overflow:auto}.product-choice{width:100%;min-height:48px;border:0;border-bottom:1px solid #ececec;background:#fff;display:grid;grid-template-columns:26px 1fr auto 32px;align-items:center;gap:10px;padding:0 22px;text-align:left}.product-choice:hover{background:#fafafa}.choice-dot{width:18px;height:18px;border-radius:50%;border:2px solid #eee}.product-choice em{width:26px;height:26px;border-radius:50%;background:#ff4a2f;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:800}.product-modal-foot{background:#f4f4f4;display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:0 16px}.product-modal-foot .btn{min-width:120px}.continue-products{box-shadow:0 0 0 2px rgba(255,121,0,.35)}.login-page{min-height:100vh;display:grid;place-items:center;background:#111827}.login-card{width:min(420px,calc(100vw - 2rem));background:#fff;border-radius:6px;padding:2rem}@media (max-width:992px){.pos-toolbar{flex-wrap:wrap;padding:8px 12px;gap:8px}.pos-status{width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:4px}.showroom-layout{grid-template-columns:1fr}.showroom-orders{border-right:0}.order-side{border-left:0;border-top:1px solid #ddd}.pending-item{grid-template-columns:1fr}.product-modal-body{grid-template-columns:1fr}.product-categories{flex-direction:row;overflow-x:auto}.product-categories button{min-width:max-content}}@media (max-width:640px){.pos-favorites{display:none}.pos-module{min-width:54px}.pos-module span{display:none}.pos-user{min-width:180px}.page-head{align-items:flex-start;flex-direction:column;gap:8px;padding-top:12px;padding-bottom:12px}.new-order-form .mb-3,.new-order-form .mb-4{grid-template-columns:1fr;gap:6px}}