:root{font-family:Arial,Helvetica,sans-serif;color:#202124;background:#f7f7f8}*{box-sizing:border-box}body{margin:0}header{height:64px;background:#222;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px}header a{color:#fff;text-decoration:none}.brand{font-weight:700}main{max-width:1280px;margin:auto;padding:24px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.card,.panel{background:#fff;border:1px solid #ddd;border-radius:10px;padding:18px;box-shadow:0 2px 8px rgba(0,0,0,.05)}.card h2{margin-top:0}.btn,button{display:inline-block;border:0;border-radius:7px;padding:10px 14px;background:#222;color:#fff;text-decoration:none;cursor:pointer}.btn.secondary{background:#666}.btn.danger,button.danger{background:#a51d1d}.btn.good,button.good{background:#147a35}.outlet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.outlet-head h1{margin:0}.outlet-head nav{display:flex;gap:8px;flex-wrap:wrap}.outlet-head nav a{padding:8px 10px;background:#fff;border:1px solid #ccc;border-radius:6px;text-decoration:none;color:#222}table{border-collapse:collapse;width:100%;background:#fff}th,td{padding:9px;border-bottom:1px solid #e3e3e3;text-align:left}th{background:#f0f0f0}input,select,textarea{width:100%;padding:9px;border:1px solid #bbb;border-radius:6px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:12px}.flash{padding:12px;border-radius:7px;margin-bottom:15px}.flash.ok{background:#e8f5eb}.flash.err{background:#fdeaea}.menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.menu-item{background:#fff;border:1px solid #ddd;border-radius:8px;padding:12px}.menu-item strong{display:block;min-height:40px}.right{text-align:right}.muted{color:#777}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.danger-text{color:#a51d1d}@media(max-width:800px){.grid2{grid-template-columns:1fr}.outlet-head{display:block}.outlet-head nav{margin-top:12px}}

/* Prototype 2: fixed calculator-style product keypad */
.menu-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.menu-item{min-height:112px;display:flex;flex-direction:column;justify-content:space-between;text-align:center}
.menu-item strong{min-height:38px;font-size:15px}
.menu-item button{width:100%;margin-top:7px}
.item-setup-row{grid-template-columns:1fr 1.5fr 1.25fr .8fr 1fr 1fr}
.actions{white-space:nowrap}.btn.small{padding:6px 9px;font-size:12px}
input[readonly]{background:#f1f1f1;color:#666}
@media(max-width:1100px){.menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.item-setup-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.item-setup-row{grid-template-columns:1fr}}

/* Prototype 3 - polished multi-outlet POS billing screen */
main{max-width:1500px}
.pos-shell{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(420px,.85fr);gap:18px;align-items:start}
.pos-products,.bill-panel,.suspended-panel{border:1px solid #e1e4e8;box-shadow:0 6px 22px rgba(0,0,0,.07)}
.pos-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.pos-section-head h2{margin:0 0 3px;font-size:22px}.pos-section-head p{margin:0;font-size:13px}
.pos-item-count{background:#f1f3f5;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700;white-space:nowrap}
.menu-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.menu-item{min-height:0;padding:0;border:0;background:transparent}
.product-tile{width:100%;height:112px;padding:11px;border-radius:12px;border:1px solid #d9dde2;background:linear-gradient(180deg,#fff,#f7f8fa);color:#202124;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;box-shadow:0 2px 6px rgba(0,0,0,.04);transition:transform .08s ease,box-shadow .08s ease,border-color .08s ease}
.product-tile:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(0,0,0,.09);border-color:#aeb6bf}.product-tile:active{transform:translateY(1px)}
.product-name{font-size:14px;font-weight:800;line-height:1.15;text-transform:uppercase}.product-price{font-size:17px;font-weight:800}.product-category{font-size:10px;color:#747b83;text-transform:uppercase;letter-spacing:.04em}
.pos-bill{display:grid;gap:18px}.bill-panel{padding:16px}.bill-table-wrap{overflow-x:auto;border:1px solid #e7e9ec;border-radius:9px}
.bill-table{font-size:13px}.bill-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;background:#f4f5f7;color:#5d6269;padding:8px 7px}.bill-table td{padding:8px 7px;vertical-align:middle}.bill-table .line-no{color:#8a9097;width:26px}.bill-item-name{font-weight:700}.bill-table .num,.num{text-align:right}.strong{font-weight:800}.qty-cell{width:64px}.qty-input{width:58px;padding:7px 5px;text-align:center;border-radius:6px}.remove-line{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:50%;background:#fff0f0;color:#a51d1d;text-decoration:none;font-size:20px;font-weight:700}.remove-line:hover{background:#a51d1d;color:#fff}
.bill-total-box{margin-top:12px;border-radius:10px;padding:14px 16px;background:#202124;color:#fff;display:flex;align-items:center;justify-content:space-between}.bill-total-box span{font-size:13px;font-weight:700;letter-spacing:.08em}.bill-total-box strong{font-size:28px}.full-btn{width:100%;margin-top:10px}.checkout-box{margin-top:14px;padding-top:14px;border-top:1px solid #e5e7ea}.checkout-fields{grid-template-columns:1.35fr .65fr}.checkout-actions{display:grid;grid-template-columns:1.5fr 1fr .6fr;gap:8px}.checkout-actions>*{width:100%;text-align:center}.conclude-btn{font-weight:800;font-size:15px}.suspend-btn{background:#495057}.empty-bill{padding:38px 15px;text-align:center;background:#fafafa;border:1px dashed #d8dce0;border-radius:10px;color:#777}.empty-bill small{color:#999}.suspended-panel h3{margin-top:0}
@media(max-width:1350px){.menu-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.pos-shell{grid-template-columns:minmax(0,1.2fr) minmax(400px,.8fr)}}
@media(max-width:1120px){.menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pos-shell{grid-template-columns:1fr}.pos-bill{grid-template-columns:1fr 1fr}.suspended-panel{align-self:start}}
@media(max-width:850px){.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-bill{grid-template-columns:1fr}}
@media(max-width:600px){.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-tile{height:100px}.checkout-actions{grid-template-columns:1fr}.checkout-fields{grid-template-columns:1fr}.bill-total-box strong{font-size:23px}}

/* Prototype 4 - operator login, roles and permission matrix */
.header-right{display:flex;align-items:center;gap:14px}.operator-chip{background:rgba(255,255,255,.12);padding:7px 11px;border-radius:999px;font-size:12px}.logout-link{border-left:1px solid rgba(255,255,255,.25);padding-left:14px}.access-denied{max-width:620px;margin:70px auto;text-align:center}.dashboard-head,.admin-title{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}.dashboard-head h1,.admin-title h1{margin:0 0 5px}.admin-links{display:flex;gap:8px;flex-wrap:wrap}.outlet-cards{grid-template-columns:repeat(5,minmax(170px,1fr))}.outlet-card{text-align:center;transition:.12s ease}.outlet-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.09)}.outlet-icon{width:52px;height:52px;margin:0 auto 10px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:27px;background:#202124;color:white}.security-panel{margin-top:22px}.admin-grid{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(600px,1.6fr);gap:18px}.admin-grid.two{grid-template-columns:minmax(340px,.7fr) minmax(560px,1.3fr)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:block;font-size:13px;font-weight:700;margin:8px 0}label input,label select{margin-top:6px;font-weight:400}.check-label{display:flex;align-items:center;gap:8px;padding-top:23px}.check-label input{width:auto;margin:0}.outlet-checks{display:flex;flex-wrap:wrap;gap:9px 16px;padding:10px 12px;background:#f7f8fa;border-radius:8px}.outlet-checks label{margin:0;font-weight:500}.outlet-checks input{width:auto;margin:0 5px 0 0}.role-selector{max-width:340px}.permission-table .center,.center{text-align:center}.perm-check{width:20px;height:20px}.task-code{font-size:10px;color:#888;margin-top:2px}.module-start td{border-top:2px solid #cfd4da}.user-admin-btn{background:#6841d8}

.login-page{min-height:100vh;background:url('login_bg.jpg') center/cover fixed no-repeat;display:flex;align-items:center;justify-content:center;position:relative;font-family:Arial,Helvetica,sans-serif;color:#fff}.login-shade{position:fixed;inset:0;background:linear-gradient(90deg,rgba(4,10,18,.70),rgba(4,10,18,.50)),linear-gradient(180deg,rgba(3,7,12,.25),rgba(3,7,12,.62));backdrop-filter:blur(1px)}.login-card{position:relative;z-index:2;width:min(390px,calc(100vw - 30px));background:linear-gradient(180deg,rgba(19,24,31,.94),rgba(12,16,22,.96));border:1px solid rgba(226,179,72,.85);border-radius:22px;padding:28px 35px 25px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.46)}.login-emblem{width:72px;height:72px;border:2px solid #e3b957;color:#e3b957;border-radius:50%;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:900;letter-spacing:-2px}.login-card h1{font-size:36px;margin:0;letter-spacing:.02em}.login-subtitle{color:#e7bd63;font-size:13px;margin-top:2px}.login-lock{font-size:20px;margin:13px 0 4px}.login-card h2{font-size:15px;color:#e7bd63;margin:4px 0 7px;letter-spacing:.08em}.login-card p{font-size:12px;margin:0 0 12px;color:#e5e5e5}.pin-display{height:44px;background:rgba(0,0,0,.35);border:1px solid #66717e;color:#fff;text-align:center;letter-spacing:10px;font-size:25px;margin-bottom:11px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.keypad .key{height:54px;border:1px solid #56616d;background:linear-gradient(#252c35,#171d24);font-size:22px;font-weight:800;color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.06)}.keypad .key:hover{background:#343d48}.key-clear{color:#ffcc66!important}.key-back{color:#e7bd63!important}.login-enter{width:100%;margin-top:10px;height:48px;background:linear-gradient(180deg,#f3cc72,#dca942);color:#121212;font-weight:900;font-size:15px}.login-note{font-size:10.5px;color:#d9d9d9;border-top:1px solid rgba(226,179,72,.45);margin-top:17px;padding-top:13px}.login-footer{position:fixed;z-index:2;bottom:15px;font-size:12px;color:rgba(255,255,255,.85)}.login-error{background:rgba(176,35,35,.85);padding:8px;border-radius:7px;margin:0 0 10px;font-size:12px}
@media(max-width:1100px){.outlet-cards{grid-template-columns:repeat(3,1fr)}.admin-grid,.admin-grid.two{grid-template-columns:1fr}}
@media(max-width:720px){header{padding:0 12px}.operator-chip{display:none}.dashboard-head,.admin-title{display:block}.admin-links{margin-top:12px}.outlet-cards{grid-template-columns:repeat(2,1fr)}.field-grid{grid-template-columns:1fr}.login-card{padding:22px 24px}.login-footer{display:none}}

/* Prototype 4.4 - reports, import/export and outlet controls */
.report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.report-head h2{margin:0 0 4px}.report-panel .report-table th{white-space:nowrap}.report-total td{font-weight:900;border-top:2px solid #222;background:#fafafa}.sales-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:14px 0}.sales-kpis>div{border:1px solid #e1e4e8;border-radius:9px;padding:10px;background:#fafbfc}.sales-kpis span{display:block;font-size:11px;color:#70757a;text-transform:uppercase;letter-spacing:.04em}.sales-kpis b{display:block;font-size:17px;margin-top:3px}.status-on{display:inline-block;background:#e7f6ec;color:#176b32;padding:5px 9px;border-radius:999px;font-weight:800}.status-off{display:inline-block;background:#fdeaea;color:#a51d1d;padding:5px 9px;border-radius:999px;font-weight:800}.import-note{padding:12px 14px;background:#f7f8fa;border-left:4px solid #1f4e78;margin:14px 0;line-height:1.5}.import-form{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:10px;align-items:center;max-width:760px}.pending-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.pending-actions form{display:inline-block}.no-print{}
@media(max-width:850px){.sales-kpis{grid-template-columns:repeat(2,1fr)}.import-form{grid-template-columns:1fr}}
@media print{header,.outlet-head,.no-print,.flash{display:none!important}body{background:#fff}main{max-width:none;padding:0}.panel{box-shadow:none;border:0;padding:0}.report-panel h2{font-size:18px}.report-table{font-size:10px}.report-table th,.report-table td{padding:5px 6px;border-bottom:1px solid #bbb}.report-table th{border-top:1px solid #111;border-bottom:1px solid #111;background:#fff}.report-total td{border-top:2px solid #111}.sales-kpis{grid-template-columns:repeat(5,1fr);gap:4px}.sales-kpis>div{border:1px solid #111;padding:5px}.sales-kpis b{font-size:12px}}

/* V4.5 VAT, cost and report refinements */
.bill-tax-summary{margin-top:12px;border:1px solid #d8dee8;border-radius:9px;overflow:hidden;background:#f8fafc}.bill-tax-summary>div{display:flex;justify-content:space-between;padding:8px 11px;border-bottom:1px solid #e4e8ef}.bill-tax-summary>div:last-child{border-bottom:0}.bill-tax-summary span{font-size:12px;font-weight:800;color:#596273}.bill-tax-summary b{font-size:13px}.compact-report{font-size:12px}.compact-report th,.compact-report td{padding:7px 6px;white-space:nowrap}.report-payment-summary{margin-top:14px;padding:11px 14px;border-top:2px solid #222;border-bottom:1px solid #aaa}.summary-table .category-row td{font-weight:900;background:#f3f4f6;border-top:2px solid #222;text-transform:uppercase}.summary-table .category-total td{border-top:1px solid #555;background:#fafafa}.sales-kpis small{display:block;margin-top:4px;color:#667085;font-size:11px}
@media print{.report-panel{box-shadow:none;border:0;padding:0}.compact-report{font-size:9px}.compact-report th,.compact-report td{padding:4px 3px}.summary-table{font-size:10px}.summary-table th,.summary-table td{padding:5px 4px}@page{size:A4 landscape;margin:9mm}}
.payment-split{margin-top:12px;padding:12px;border:1px solid #d9dee5;border-radius:10px;background:#fafbfc}.payment-split h3{margin:0 0 4px}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.payment-grid label{display:flex;flex-direction:column;gap:5px;font-weight:800;font-size:12px}.payment-grid input,.payment-grid select{width:100%;min-width:0}.payment-balance{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:10px;padding-top:9px;border-top:1px solid #ddd;font-size:12px}.payment-balance span{display:flex;gap:6px}.payment-balance b{font-size:14px}@media(max-width:760px){.payment-grid{grid-template-columns:1fr}.payment-balance{gap:10px}}

/* Prototype 4.7 - A4 landscape outlet Control Sheet */
.control-sheet-panel{max-width:none}.control-date{grid-template-columns:220px 140px;max-width:390px}.control-wrap{overflow-x:auto}.control-table{font-size:11px;min-width:1280px;border:1px solid #333}.control-table th,.control-table td{padding:6px 5px;border:1px solid #777;vertical-align:middle}.control-table th{background:#f1f1f1;text-align:center;font-size:10px;text-transform:uppercase}.control-table .shift-row td{font-weight:900;font-style:italic;background:#f6f6f6;border-top:2px solid #222;text-align:left}.control-subtotal td{font-weight:800;background:#fafafa;border-top:1.5px solid #222}.control-grand td{font-weight:900;background:#efefef;border-top:2px solid #111;border-bottom:3px double #111}.control-sign{display:flex;justify-content:space-between;gap:20px;margin-top:24px;font-size:12px}.control-table .num{white-space:nowrap}.report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.report-head h2{margin:0 0 5px}
@media print{header,.outlet-head,.no-print{display:none!important}body{background:#fff}main{max-width:none;padding:0}.panel{box-shadow:none;border:0;padding:0}.control-sheet-panel{width:100%}.control-wrap{overflow:visible}.control-table{width:100%;min-width:0;font-size:8px}.control-table th{font-size:7px}.control-table th,.control-table td{padding:3px 2px}.control-sign{font-size:9px}@page{size:A4 landscape;margin:8mm}}


/* Prototype 4.8 - photographic menu tiles */
.product-tile{height:174px;padding:0;overflow:hidden;background:#fff;position:relative}
.product-visual{display:block;position:relative;width:100%;height:105px;background:linear-gradient(135deg,#eef1f4,#dde3e8);overflow:hidden;flex:0 0 105px}
.product-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}
.product-tile:hover .product-visual img{transform:scale(1.035)}
.product-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:42px;font-weight:900;color:#9aa2aa;background:linear-gradient(135deg,#f1f3f5,#e2e6ea)}
.product-category-badge{position:absolute;left:7px;top:7px;max-width:calc(100% - 14px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgba(22,26,30,.76);color:#fff;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;backdrop-filter:blur(2px)}
.product-meta{width:100%;min-height:68px;padding:8px 9px 9px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:3px}
.product-name{display:block;width:100%;font-size:12px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-price{font-size:15px;line-height:1.1}
.product-image-editor{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:7px 0 13px;padding:11px 12px;background:#f7f8fa;border:1px solid #e2e5e9;border-radius:9px}
.product-image-editor>label{flex:1 1 320px;margin:0}.product-image-editor small{display:block;margin-top:5px;color:#777;font-weight:400}
.current-product-image{display:flex;align-items:center;gap:10px}.current-product-image img{width:92px;height:72px;object-fit:cover;border-radius:8px;border:1px solid #ccd2d8}
.remove-image-check{display:flex!important;align-items:center;gap:6px;margin:0!important;font-weight:600!important}.remove-image-check input{width:auto;margin:0}
.item-photo-cell{width:62px}.item-thumb,.item-thumb-placeholder{width:48px;height:38px;border-radius:6px;border:1px solid #d5d9de;display:flex;align-items:center;justify-content:center;object-fit:cover;background:#eef1f4;font-weight:900;color:#929aa2}
@media(max-width:600px){.product-tile{height:156px}.product-visual{height:92px;flex-basis:92px}.product-meta{min-height:64px}}


/* Prototype 4.9 - optional product pictures and evaluation catalogue */
.product-tile.no-picture{height:112px;padding:11px;background:linear-gradient(180deg,#fff,#f7f8fa);justify-content:center}
.product-tile.no-picture .product-meta{min-height:0;height:100%;padding:5px 3px;justify-content:space-between}
.product-tile.no-picture .product-name{font-size:14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-tile.no-picture .product-price{font-size:17px}
.text-only-category{display:block;font-size:9px;color:#7a828a;text-transform:uppercase;letter-spacing:.05em}
.option-switch{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px;border:1px solid #d9dee5;border-radius:9px;background:#fafbfc;margin:0!important}
.option-switch input{width:22px;height:22px;margin:0}
.option-switch span{font-weight:800}

/* Prototype 4.10 - wider 8-column billing grid and richer evaluation artwork */
main{max-width:1600px;width:calc(100% - 24px);padding-left:12px;padding-right:12px}
.pos-shell{grid-template-columns:minmax(0,1.85fr) minmax(360px,.72fr);gap:14px}
.menu-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.product-tile.with-picture{height:154px}
.product-tile.with-picture .product-visual{height:92px;flex-basis:92px}
.product-tile.with-picture .product-meta{min-height:62px;padding:7px 7px 8px}
.product-tile.with-picture .product-name{font-size:10.5px;line-height:1.12}
.product-tile.with-picture .product-price{font-size:13.5px}
.product-category-badge{left:5px;top:5px;padding:3px 6px;font-size:7px}
@media(max-width:1199px) and (min-width:1000px){.menu-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.pos-shell{grid-template-columns:1fr}.pos-bill{grid-template-columns:1fr 1fr}}
@media(max-width:999px) and (min-width:800px){.menu-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.pos-shell{grid-template-columns:1fr}.pos-bill{grid-template-columns:1fr 1fr}}
@media(max-width:799px) and (min-width:651px){.menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pos-shell{grid-template-columns:1fr}.pos-bill{grid-template-columns:1fr}}
@media(max-width:650px) and (min-width:461px){.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-shell{grid-template-columns:1fr}.pos-bill{grid-template-columns:1fr}}
@media(max-width:460px){.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-shell{grid-template-columns:1fr}.pos-bill{grid-template-columns:1fr}}

/* Prototype 4.11 - bright photographic Main Dashboard and consolidated Options */
header{background:rgba(255,255,255,.96);color:#172033;border-bottom:1px solid #e8ebef;box-shadow:0 2px 12px rgba(30,45,65,.06);position:relative;z-index:5}
header a{color:#172033}.brand{display:flex;align-items:center;gap:10px;color:#172033}.header-logo{width:34px;height:34px;object-fit:contain;border-radius:8px}.operator-chip{background:#f4f6f9;color:#384152}.logout-link{border-left:1px solid #d8dde5}
.dashboard-page{position:relative;min-height:calc(100vh - 88px);padding:24px;border-radius:22px;overflow:hidden;background:linear-gradient(rgba(255,255,255,.84),rgba(255,255,255,.91)),url('dashboard/dashboard_bg.jpg') center/cover fixed;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.dashboard-page:before,.dashboard-page:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.dashboard-page:before{width:240px;height:240px;background:rgba(255,177,88,.14);left:-80px;top:80px}.dashboard-page:after{width:300px;height:300px;background:rgba(96,167,255,.10);right:-100px;bottom:20px}
.dashboard-hero,.outlet-showcase,.dashboard-admin,.dashboard-footer-brand{position:relative;z-index:1}.dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:8px 8px 24px}.dashboard-welcome{display:flex;align-items:center;gap:18px}.dashboard-welcome h1{margin:0 0 6px;font-size:32px;color:#172033}.dashboard-welcome h1 span{color:#e87522}.dashboard-welcome p{margin:0;color:#6d7480}.brand-mark{width:72px;height:72px;display:flex;align-items:center;justify-content:center;border:2px solid #f28b35;border-radius:50%;background:rgba(255,255,255,.85);box-shadow:0 8px 24px rgba(232,117,34,.12);font-weight:900;color:#e87522;font-size:20px;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain;padding:8px}.dashboard-actions{display:flex;gap:12px}.dash-action{min-width:190px;text-decoration:none;padding:16px 18px;border:1px solid #dfe5ee;border-radius:13px;background:rgba(255,255,255,.88);box-shadow:0 8px 20px rgba(36,55,76,.07)}.dash-action b,.dash-action small{display:block}.dash-action small{margin-top:4px;color:#737b87}.dash-action.sales b{color:#2165d6}.dash-action.users b{color:#7b42d8}
.outlet-showcase{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.outlet-photo-card{background:rgba(255,255,255,.94);border:1px solid rgba(215,222,230,.95);border-radius:16px;overflow:hidden;box-shadow:0 12px 30px rgba(33,52,73,.10);transition:.18s ease}.outlet-photo-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(33,52,73,.15)}.outlet-photo{height:168px;overflow:hidden}.outlet-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.outlet-photo-card:hover .outlet-photo img{transform:scale(1.035)}.outlet-card-body{position:relative;padding:32px 15px 16px;text-align:center}.outlet-round-icon{position:absolute;left:50%;top:-27px;transform:translateX(-50%);width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;border:3px solid #f0f2f5;font-size:22px;box-shadow:0 5px 14px rgba(0,0,0,.12)}.outlet-card-body h2{margin:0 0 10px;font-size:21px}.outlet-card-body p{min-height:42px;margin:0 0 14px;color:#68717d;font-size:13px;line-height:1.45}.outlet-open{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #d7dce4;border-radius:9px;text-decoration:none;font-weight:800;background:#fff}.outlet-bar .outlet-open,.outlet-bar h2{color:#2368d9}.outlet-club .outlet-open,.outlet-club h2{color:#7a3fd2}.outlet-lounge .outlet-open,.outlet-lounge h2{color:#e87d1b}.outlet-restaurant .outlet-open,.outlet-restaurant h2{color:#5b8f21}.outlet-store .outlet-open,.outlet-store h2{color:#2475b7}
.dashboard-admin{margin-top:20px;padding:18px;background:rgba(255,255,255,.90);border:1px solid #e0e5ec;border-radius:16px;box-shadow:0 10px 28px rgba(33,52,73,.08)}.dashboard-admin h2{margin:0 0 15px;color:#263344}.admin-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.admin-card-grid a{text-decoration:none;color:#253246;background:#fff;border:1px solid #e3e7ed;border-radius:12px;padding:15px 10px;text-align:center;min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(33,52,73,.04)}.admin-card-grid a:hover{border-color:#f2a15d;box-shadow:0 8px 18px rgba(33,52,73,.08)}.admin-card-grid span{font-size:25px;color:#ef7d22;margin-bottom:7px}.admin-card-grid b{font-size:13px}.admin-card-grid small{font-size:10px;color:#79818c;margin-top:5px}.dashboard-footer-brand{text-align:center;padding:20px 8px 3px;color:#67717d}.dashboard-footer-brand b,.dashboard-footer-brand span{display:block}.dashboard-footer-brand span{font-size:11px;margin-top:3px}
.options-wrap{max-width:1080px;margin:0 auto}.options-panel{padding:24px}.option-section-title{font-size:17px;margin:24px 0 10px;color:#29374a;border-bottom:1px solid #e7ebf0;padding-bottom:8px}.option-card{background:#fafbfc;border:1px solid #e1e6ec;border-radius:12px;padding:16px}.brand-upload{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap}.brand-upload>label{flex:1 1 380px}.brand-logo-preview{display:flex;align-items:center;gap:12px}.brand-logo-preview img{width:90px;height:70px;object-fit:contain;background:#fff;border:1px solid #d9dee5;border-radius:8px;padding:5px}.outlet-option-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.outlet-toggle{margin:0!important;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dfe4ea;border-radius:10px;padding:12px}.outlet-toggle input{width:22px;height:22px;margin:0}.outlet-toggle span b,.outlet-toggle span small{display:block}.outlet-toggle span small{color:#7b838e;margin-top:3px}.options-save{display:flex;gap:10px;margin-top:20px}
@media(max-width:1150px){.outlet-showcase{grid-template-columns:repeat(3,1fr)}.admin-card-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.dashboard-page{padding:14px}.dashboard-hero{display:block}.dashboard-actions{margin-top:18px;flex-wrap:wrap}.outlet-showcase{grid-template-columns:repeat(2,1fr)}.admin-card-grid{grid-template-columns:repeat(2,1fr)}.outlet-option-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.outlet-showcase{grid-template-columns:1fr}.dashboard-welcome h1{font-size:25px}.brand-mark{width:58px;height:58px}.outlet-option-grid{grid-template-columns:1fr}}

/* V4.12 - approved bright photographic dashboard */
body{background:#f4f5f7}.dashboard-v412{max-width:none;margin:-24px;min-height:calc(100vh - 64px);padding:40px 6vw 18px;border-radius:0;background:linear-gradient(rgba(255,255,255,.34),rgba(255,255,255,.48)),url('dashboard/dashboard_bg.png') center center/cover fixed no-repeat;box-shadow:none}.dashboard-v412:before,.dashboard-v412:after{display:none}
.dashboard-hero-card{max-width:1230px;margin:0 auto;padding:18px 18px 12px;border:1px solid rgba(255,255,255,.75);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 18px 44px rgba(74,57,45,.15);backdrop-filter:blur(2px)}
.dashboard-v412 .dashboard-hero{padding:0 2px 18px}.dashboard-v412 .dashboard-welcome h1{font-size:30px}.dashboard-v412 .brand-mark{width:66px;height:66px;background:#fff;border-color:#ff7625;color:#ff6c12}.dashboard-v412 .dashboard-actions{margin-left:auto}.dashboard-v412 .dash-action{display:flex;align-items:center;gap:12px;min-width:205px;padding:14px 15px;background:#fff;border-radius:12px}.dashboard-v412 .dash-action-icon{font-size:24px}.dashboard-v412 .dash-action em{margin-left:auto;font-size:20px;font-style:normal}.dashboard-v412 .dash-action.sales{background:#f9fbff}.dashboard-v412 .dash-action.users{background:#fcf9ff}
.dashboard-v412 .outlet-showcase{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.dashboard-v412 .outlet-photo-card{border-radius:13px;box-shadow:0 6px 18px rgba(34,44,58,.08);background:#fff}.dashboard-v412 .outlet-photo{height:172px}.dashboard-v412 .outlet-card-body{padding:37px 12px 13px}.dashboard-v412 .outlet-round-icon{width:58px;height:58px;top:-31px;border:0;color:#fff;font-size:25px}.dashboard-v412 .outlet-restaurant .outlet-round-icon{background:#4e9b22}.dashboard-v412 .outlet-bar .outlet-round-icon{background:#3477ea}.dashboard-v412 .outlet-lounge .outlet-round-icon{background:#ff7a18}.dashboard-v412 .outlet-club .outlet-round-icon{background:#8b4bea}.dashboard-v412 .outlet-store .outlet-round-icon{background:#3477ea}.dashboard-v412 .outlet-card-body h2{font-size:20px}.dashboard-v412 .outlet-open{padding:10px 12px;border-width:1.5px}
.dashboard-v412 .dashboard-admin{max-width:1230px;margin:14px auto 0;padding:15px 18px;background:rgba(255,255,255,.95);border-radius:15px}.dashboard-v412 .dashboard-admin h2{font-size:18px}.dashboard-v412 .admin-card-grid a{min-height:101px;border-radius:11px}.dashboard-v412 .admin-card-grid span{font-size:28px}.dashboard-v412 .admin-card-grid b{font-size:13px}
.dashboard-lower-grid{position:relative;z-index:1;max-width:1230px;margin:12px auto 0;display:grid;grid-template-columns:1.65fr .8fr .82fr;gap:12px}.dashboard-overview,.dashboard-quick,.dashboard-status{background:rgba(255,255,255,.95);border:1px solid #e1e5eb;border-radius:14px;padding:14px 16px;box-shadow:0 8px 22px rgba(33,52,73,.06)}.dashboard-lower-grid h2{margin:0 0 12px;font-size:15px;color:#263344}.overview-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.metric{display:flex;gap:10px;align-items:center}.metric>span{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800}.metric small,.metric b{display:block}.metric small{font-size:10px}.metric b{margin-top:4px;font-size:15px;color:#172033}.metric.blue>span{background:#eef4ff;color:#2b69dc}.metric.green>span{background:#edf8ee;color:#4f9a31}.metric.orange>span{background:#fff4e9;color:#ff7b18}.metric.purple>span{background:#f4efff;color:#7842d4}
.dashboard-quick a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#2764d8;padding:6px 0}.dashboard-quick a span{width:30px;height:30px;border-radius:8px;background:#edf4ff;display:flex;align-items:center;justify-content:center}.dashboard-quick a b,.dashboard-quick a small{display:block}.dashboard-quick a b{font-size:12px}.dashboard-quick a small{font-size:10px;color:#78818d;margin-top:2px}.status-good,.status-info{display:flex;align-items:center;gap:11px}.status-good>span{width:28px;height:28px;border-radius:50%;background:#2fa94c;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.status-info>span{color:#32829a}.dashboard-status b,.dashboard-status small{display:block}.dashboard-status b{font-size:12px;color:#16813f}.dashboard-status small{font-size:10px;color:#5d6875;margin-top:2px}.dashboard-status hr{border:0;border-top:1px solid #e5e9ee;margin:12px 0}.dashboard-v412 .dashboard-footer-brand{max-width:1230px;margin:0 auto;padding:14px 0 2px;color:#67717d}
@media(max-width:1180px){.dashboard-v412 .outlet-showcase{grid-template-columns:repeat(3,1fr)}.dashboard-lower-grid{grid-template-columns:1fr 1fr}.dashboard-overview{grid-column:1/-1}}
@media(max-width:800px){.dashboard-v412{padding:20px 14px}.dashboard-v412 .dashboard-hero{display:block}.dashboard-v412 .dashboard-actions{margin-top:16px}.dashboard-v412 .outlet-showcase{grid-template-columns:repeat(2,1fr)}.dashboard-lower-grid{grid-template-columns:1fr}.dashboard-overview{grid-column:auto}.overview-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.dashboard-v412 .outlet-showcase{grid-template-columns:1fr}.dashboard-v412 .dashboard-actions{display:block}.dashboard-v412 .dash-action{margin-top:8px}.overview-metrics{grid-template-columns:1fr}}
/* V4.14 Hospitality Business Date */
.business-date-chip{background:#fff7e7!important;border-color:#f1d49a!important;color:#7a4a00!important}.business-day-closed{margin:10px auto;max-width:1260px;text-align:center}.business-day-panel{max-width:1050px;margin:0 auto 18px}.business-day-status{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.business-day-status>div{border:1px solid #d9e1ea;border-radius:12px;padding:16px;background:#f8fafc}.business-day-status small{display:block;color:#64748b;font-size:11px;font-weight:700;letter-spacing:.06em}.business-day-status strong{display:block;font-size:23px;margin-top:5px}.business-day-status.open>div:nth-child(2){background:#edfdf3;border-color:#b8e9c7;color:#16713b}.business-day-status.closed>div:nth-child(2){background:#fff1f1;border-color:#efb8b8;color:#a82323}.business-day-explain{padding:14px 16px;border-radius:10px;background:#fff8e8;border:1px solid #f0d79c;margin-bottom:16px}.business-day-kpis{grid-template-columns:repeat(5,1fr)}.business-day-actions{display:flex;justify-content:center;padding:18px 0 4px}.business-day-actions button{font-size:17px;padding:13px 24px}@media(max-width:800px){.business-day-status{grid-template-columns:1fr}.business-day-kpis{grid-template-columns:repeat(2,1fr)}}

/* V4.15 production hardening: compact POS, search/paging, pending-bill edit locks */
.product-tile.with-picture .product-meta{min-height:45px;padding:5px 7px 6px;justify-content:flex-start;gap:1px}
.product-tile.with-picture{height:137px}.product-tile.with-picture .product-visual{height:92px;flex-basis:92px}
.product-name{margin:0}.product-price{margin:0}
.menu-search{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;margin:0 0 10px}.menu-search input{font-size:14px;padding:10px 12px}.menu-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid #e6e9ee}.menu-pager-actions{display:flex;gap:8px}.btn.disabled{opacity:.35;pointer-events:none}.menu-empty{padding:28px;text-align:center;color:#6b7280;background:#fafbfc;border:1px dashed #d5dae1;border-radius:10px}
.pending-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pending-head h3{margin:0}.pending-search{max-width:220px;padding:7px 9px}.pending-table-wrap{max-height:430px;overflow:auto}.pending-state{display:inline-block;padding:4px 7px;border-radius:12px;font-size:10px;font-weight:800;white-space:nowrap}.pending-state.ready{background:#eaf7ef;color:#17713c}.pending-state.locked{background:#fff1dd;color:#9b5b00}.pending-state.editing{background:#eaf2ff;color:#205bb2}
.option-links{display:flex;gap:10px;flex-wrap:wrap}.business-date-reset{margin-top:12px;padding:14px;border:1px solid #f1c4c4;border-radius:10px;background:#fff8f8}.business-date-reset h3{margin:0 0 6px;color:#9b1c1c}.business-date-reset form{display:grid;grid-template-columns:minmax(180px,260px) auto;gap:10px;align-items:end;max-width:520px}.dashboard-v412 .dashboard-welcome h1{font-size:24px;color:#172033}.dashboard-v412 .dashboard-welcome h1 span{color:inherit}
@media(max-width:650px){.menu-search{grid-template-columns:1fr}.menu-pager{align-items:flex-start;flex-direction:column}.business-date-reset form{grid-template-columns:1fr}}

/* V4.16 empty restored-bill recovery */
.empty-active-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:14px}.empty-active-actions form{margin:0}

/* V4.17 CSS reliability + compact product caption */
.product-tile.with-picture .product-meta{min-height:45px;padding:4px 7px 5px;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:0}
.product-tile.with-picture .product-name{margin:0;padding:0;line-height:1.08}
.product-tile.with-picture .product-price{margin:0;padding:0;line-height:1.08}

/* V4.18 quick payment mode selector */
.payment-mode-radios{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.payment-mode-radios label{display:flex;align-items:center;gap:7px;border:1px solid #cfd6df;border-radius:9px;padding:8px 13px;background:#fff;cursor:pointer;font-weight:700}.payment-mode-radios input{width:auto;margin:0}.payment-mode-radios input:checked+span{font-weight:800}

/* V4.20 - Stores Issues and Stock Bin Card */
.issue-header-row{align-items:flex-end;gap:12px}.issue-header-row label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;min-width:170px}.issue-header-row label input,.issue-header-row label select{font-weight:400}.issue-header-row .issue-comments{flex:1;min-width:250px}.issue-grid-wrap{overflow-x:auto;margin-top:14px}.issue-grid input{width:100%;box-sizing:border-box}.issue-grid .issue-code{min-width:120px}.issue-grid .issue-name{font-weight:600}.issue-grid .remove-row{padding:6px 11px;border-radius:8px}.issue-actions{margin-top:12px}.bin-card .report-head h2{text-align:center;text-decoration:underline;letter-spacing:.4px}.bin-period{text-align:center;font-size:14px;margin:8px 0 14px}.bin-table thead th{text-align:center;vertical-align:middle}.bin-table td{vertical-align:top}.bin-remark{margin-top:45px;font-size:16px}
@media(max-width:760px){.issue-header-row{display:grid;grid-template-columns:1fr}.issue-header-row label,.issue-header-row .issue-comments{min-width:0;width:100%}.issue-grid{min-width:760px}.bin-table{min-width:900px}.bin-card{overflow-x:auto}}
@media print{.store-issue-panel .no-print{display:none!important}.bin-card{box-shadow:none;border:0}.bin-table{font-size:10px}.bin-remark{margin-top:35px}}


/* V4.21 manual bill discount */
.discount-box{display:flex;gap:12px;align-items:flex-end;justify-content:space-between;margin:10px 0;padding:11px 12px;border:1px solid #d8dee8;border-radius:10px;background:#fffaf0}.discount-box label{display:flex;flex-direction:column;gap:5px;font-weight:700;min-width:150px}.discount-box input{font-size:17px;font-weight:700;padding:9px 10px}.discount-box>div{display:flex;flex-direction:column;text-align:right;gap:4px}.discount-box strong{font-size:15px}.discount-box #discountedTotal{font-size:20px}.sales-kpis{flex-wrap:wrap}@media(max-width:620px){.discount-box{align-items:stretch;flex-direction:column}.discount-box>div{text-align:left}}

/* V4.30 Split Bill + Merge Bill */
.bill-structure-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0;padding:10px 12px;border:1px solid #d8dee8;border-radius:10px;background:#f7f9fc}.bill-structure-actions>span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#566273;margin-right:3px}.split-bill-btn{background:#1867c0;color:#fff}.merge-bill-btn{background:#6d3bc0;color:#fff}.bill-tool-panel{max-width:1050px;margin:0 auto}.bill-tool-panel .admin-title{align-items:center}.split-meta{margin:10px 0 16px}.table-wrap{overflow-x:auto}.split-table,.merge-table{width:100%;border-collapse:collapse}.split-table th,.split-table td,.merge-table th,.merge-table td{padding:10px 9px;border-bottom:1px solid #dfe4ea;text-align:left}.split-table th,.merge-table th{background:#f3f5f8;font-size:12px}.split-table .num,.merge-table .num{text-align:right}.split-qty{width:115px;text-align:right}.tool-note{margin:14px 0;padding:12px 14px;background:#fff8e7;border:1px solid #edd49b;border-radius:9px;line-height:1.45;color:#604500}.bill-tool-panel .toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}@media(max-width:700px){.bill-tool-panel{padding:12px}.split-table,.merge-table{min-width:650px}.bill-structure-actions{align-items:stretch}.bill-structure-actions .btn{flex:1;text-align:center}}

/* V4.31 dashboard / accounts / outlet naming */
.dashboard-v431 .outlet-card-body{padding:14px 16px 18px;text-align:center}
.dashboard-v431 .outlet-card-body h2{margin:2px 0 4px}
.outlet-name-link{color:inherit;text-decoration:none;display:inline-block;padding:4px 8px;border-radius:8px}
.outlet-name-link:hover{text-decoration:underline;background:rgba(0,0,0,.04)}
.accounts-module-visual{height:180px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f1f5f9,#ffffff);font-size:74px;font-weight:800;color:#172033}
.account-module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:18px}
.account-module-grid>a{display:flex;flex-direction:column;gap:6px;padding:20px;border:1px solid #dfe4ea;border-radius:14px;background:#fff;text-decoration:none;color:#172033;box-shadow:0 5px 16px rgba(0,0,0,.05)}
.account-module-grid>a:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.08)}
.account-module-grid>a>span{font-size:28px}.account-module-grid>a>b{font-size:17px}.account-module-grid>a>small{color:#64748b;line-height:1.35}
.coa-form{display:grid;grid-template-columns:120px minmax(220px,1.6fr) 130px 150px minmax(160px,1fr) auto auto;gap:10px;align-items:end}
.outlet-rename-card{border:1px solid #e1e5ea;border-radius:12px;padding:14px;background:#fff;display:flex;gap:16px;align-items:end;justify-content:space-between}
.outlet-rename-card>label:first-child{flex:1}.outlet-rename-card input[type=text],.outlet-rename-card input:not([type]){width:100%}
@media(max-width:1000px){.coa-form{grid-template-columns:1fr 1fr}.outlet-rename-card{align-items:stretch;flex-direction:column}}
@media print{.no-print,header,.outlet-head{display:none!important}.report-print{box-shadow:none!important;border:0!important}}

/* V4.31 refined dashboard - equal module row, Accounts photo, pending bills */
.dashboard-refined-v431 .outlet-showcase{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}
.dashboard-refined-v431 .outlet-photo-card{min-width:0;height:100%;display:flex;flex-direction:column}
.dashboard-refined-v431 .outlet-photo{height:145px;flex:0 0 145px}
.dashboard-refined-v431 .outlet-card-body{flex:1;display:flex;align-items:center;justify-content:center;min-height:64px;padding:25px 8px 10px}
.dashboard-refined-v431 .outlet-card-body h2{font-size:16px;margin:0;line-height:1.15}
.dashboard-refined-v431 .outlet-round-icon{width:42px;height:42px;top:-22px;font-size:17px}
.dashboard-refined-v431 .accounts-photo img{object-fit:cover}
.pending-dashboard-row{position:relative;z-index:1;margin-top:14px;padding:16px;background:rgba(255,255,255,.92);border:1px solid #e0e5ec;border-radius:16px;box-shadow:0 10px 28px rgba(33,52,73,.08)}
.pending-dashboard-row h2{margin:0 0 12px;color:#263344;font-size:17px}
.pending-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pending-dashboard-grid a{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:2px 12px;align-items:center;text-decoration:none;color:#253246;background:#fff;border:1px solid #e3e7ed;border-radius:12px;padding:14px 16px;min-height:72px;box-shadow:0 4px 12px rgba(33,52,73,.04)}
.pending-dashboard-grid a:hover{border-color:#f2a15d;box-shadow:0 8px 18px rgba(33,52,73,.08)}
.pending-outlet-name{font-weight:800;font-size:14px}.pending-dashboard-grid strong{grid-row:1/3;grid-column:2;font-size:27px;color:#e87522}.pending-dashboard-grid small{font-size:10px;color:#79818c}
.dashboard-refined-v431 .dashboard-footer-brand{padding-top:16px}
@media(max-width:1150px){.dashboard-refined-v431 .outlet-showcase{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-refined-v431 .outlet-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}.pending-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.dashboard-refined-v431 .outlet-showcase,.pending-dashboard-grid{grid-template-columns:1fr}}

/* V4.31 clean dashboard headings: Core Modules matches Quick Links */
.dashboard-v431 .dashboard-welcome h2{margin:0 0 15px;color:#263344;font-size:18px;font-weight:700;line-height:1.2;font-family:inherit}


/* V4.33 Activity Log criteria */
.activity-filter-grid{display:grid;grid-template-columns:minmax(240px,2fr) minmax(160px,1fr) minmax(140px,1fr) 150px 150px;gap:10px;align-items:end}.activity-filter-grid label{display:flex;flex-direction:column;gap:5px;font-weight:700}.activity-filter-grid input,.activity-filter-grid select{width:100%}.activity-filter-actions{display:flex;gap:8px;flex-wrap:wrap;grid-column:1/-1}.activity-filter-panel{margin-bottom:12px}@media(max-width:900px){.activity-filter-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.activity-filter-grid{grid-template-columns:1fr}}

/* V4.33 dashboard section-heading polish */
.dashboard-v431 .dashboard-welcome h2,
.dashboard-v431 .dashboard-admin h2,
.dashboard-v431 .pending-dashboard-row h2{
  margin:0 0 15px;
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;
  font-size:20px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.15px;
  color:#176b75;
}
.dashboard-v431 .pending-dashboard-row h2{margin-bottom:12px}

/* V4.51 restored suspended-bill item protection */
.protected-line-badge{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:700;background:#fff3cd;color:#7a5500;border:1px solid #ead28b;vertical-align:middle}
.protected-remove{cursor:not-allowed;opacity:.72;text-decoration:none}
.restored-protection-note{margin:10px 0 12px}

/* MSPlan Shop V1.2: four dashboard tiles in one desktop row */
.dashboard-refined-v431 .outlet-showcase,.dashboard-v431 .outlet-showcase{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media(max-width:760px){.dashboard-refined-v431 .outlet-showcase,.dashboard-v431 .outlet-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.dashboard-refined-v431 .outlet-showcase,.dashboard-v431 .outlet-showcase{grid-template-columns:1fr}}

/* MSPlanShop V1.2.1 - targeted Sales Point product font correction */
.pos-products .product-tile.no-picture .product-name {font-size:12.5px;line-height:1.15;}
.pos-products .product-tile.no-picture .product-price {font-size:15px;line-height:1.1;}
.pos-products .product-tile.with-picture .product-name {font-size:10px;line-height:1.12;}
.pos-products .product-tile.with-picture .product-price {font-size:12.5px;line-height:1.1;}

/* Web-MSPlanShop V1.2.4: five equal dashboard modules */
.dashboard-refined-v431 .outlet-showcase,.dashboard-v431 .outlet-showcase{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:900px){.dashboard-refined-v431 .outlet-showcase,.dashboard-v431 .outlet-showcase{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-refined-v431 .outlet-showcase,.dashboard-v431 .outlet-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.dashboard-refined-v431 .outlet-showcase,.dashboard-v431 .outlet-showcase{grid-template-columns:1fr}}

/* V1.3.0 shop terminology / numeric field labels */
.item-setup-row .shop-field-label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#343b46;min-width:0}
.item-setup-row .shop-field-label input{width:100%;box-sizing:border-box;font:inherit;font-weight:400;font-size:14px;min-height:36px}
