:root{font-family:"DM Sans",Arial,sans-serif;color:#1b2b35;background:#f4f6f7;font-synthesis:none;text-rendering:optimizeLegibility;--navy:#172b3a;--navy-2:#213a4b;--green:#0b8d73;--green-dark:#087560;--muted:#75828a;--border:#e5e9eb;--bg:#f4f6f7;--white:#fff;--shadow:0 12px 40px rgba(20,40,52,.08)}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1,h2,h3,.top-title{font-family:Manrope,"DM Sans",sans-serif}h1{font-size:30px;letter-spacing:-1.1px;margin-bottom:8px}h2{font-size:18px;letter-spacing:-.3px;margin-bottom:6px}p{line-height:1.55}.muted{color:var(--muted)}small{font-size:12px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#d9f3ea;color:#08765e;font-family:Manrope,sans-serif;font-weight:800;font-size:16px;letter-spacing:-1px;flex:none}
.loading-screen{min-height:100vh;display:grid;align-content:center;justify-items:center;color:var(--muted);gap:12px}.loading-screen p{margin:0}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 75% 15%,#dfeee9 0,transparent 30%),#f3f6f5}.auth-card{width:min(440px,100%);background:#fff;border:1px solid #e8eded;border-radius:20px;padding:38px;box-shadow:0 24px 70px rgba(27,52,59,.09)}.auth-brand,.side-brand{display:flex;align-items:center;gap:12px}.auth-brand strong,.side-brand strong{display:block;font-family:Manrope,sans-serif;font-size:13px;letter-spacing:.3px}.auth-brand small,.side-brand small{display:block;color:#9aa5a9;font-size:9px;letter-spacing:1.2px;margin-top:3px}.auth-card .eyebrow{margin-top:36px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.4px;color:var(--green);margin-bottom:10px}.auth-card h1{font-size:25px}.auth-card>.muted{font-size:13px;margin-bottom:24px}.form-stack{display:flex;flex-direction:column;gap:16px}.form-stack label,.date-toolbar label{font-size:12px;font-weight:600;color:#40515b;display:flex;flex-direction:column;gap:7px}.form-stack input,.form-stack select,.form-stack textarea,.compact-label select,.date-toolbar input{width:100%;border:1px solid #dfe5e7;border-radius:8px;background:#fff;padding:11px 12px;outline:none;color:#20323d;font-size:13px}.form-stack textarea{resize:vertical}.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus,.compact-label select:focus,.date-toolbar input:focus,.search-wrap input:focus{border-color:#5bb6a0;box-shadow:0 0 0 3px rgba(11,141,115,.1)}.auth-foot{text-align:center;color:#98a3a8;font-size:11px;margin:24px 0 0}
.btn{border:1px solid transparent;border-radius:8px;padding:10px 15px;font-size:12px;font-weight:700;transition:.15s ease;white-space:nowrap}.btn.primary{background:var(--green);color:white;box-shadow:0 4px 10px rgba(11,141,115,.14)}.btn.primary:hover{background:var(--green-dark);transform:translateY(-1px)}.btn.secondary{background:#fff;border-color:#dfe5e7;color:#344852}.btn.secondary:hover{border-color:#aab8bc;background:#fbfcfc}.btn.full{width:100%;margin-top:3px}.btn.small{padding:7px 10px;font-size:11px}.layout{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:var(--navy);color:#eaf1f3;padding:25px 17px 17px;display:flex;flex-direction:column;z-index:10}.side-brand{padding:2px 6px 26px}.side-brand .brand-mark{background:#c9efe3;color:#09785f}.side-brand strong{color:#f5f8f8;line-height:1.5;font-size:11px}.side-brand small{color:#91a5ad;font-size:8px}.branch-chip{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);border-radius:8px;padding:10px 11px;color:#c5d3d7;font-size:11px;margin-bottom:21px;display:flex;align-items:center;gap:8px}.live-dot{height:7px;width:7px;background:#3cc7a4;border-radius:50%;box-shadow:0 0 0 3px rgba(60,199,164,.13)}.sidebar nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:11px;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:#aab9bf;text-align:left;font-size:12px;font-weight:600}.nav-link:hover{background:rgba(255,255,255,.06);color:#fff}.nav-link.active{background:#284653;color:#fff;box-shadow:inset 3px 0 #53c7a6}.nav-icon{font-size:17px;width:20px;text-align:center;color:#83a49e}.nav-link.active .nav-icon{color:#6be0bc}.side-bottom{margin-top:auto}.user-card{display:flex;align-items:center;gap:10px;padding:13px 4px 14px;border-top:1px solid rgba(255,255,255,.1)}.avatar,.top-avatar{display:grid;place-items:center;background:#d3eee5;color:#187e68;font-weight:700;border-radius:50%;height:34px;width:34px;flex:none}.user-detail{min-width:0;flex:1}.user-detail strong,.user-detail small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-detail strong{font-size:11px}.user-detail small{color:#9eafb5;font-size:10px;margin-top:4px}.logout{border:0;background:transparent;color:#9fb0b4;font-size:18px}.logout:hover{color:#fff}.version{color:#68808a;font-size:8px;letter-spacing:.7px;padding-left:4px}.main-area{margin-left:252px;min-height:100vh;width:calc(100% - 252px)}.topbar{height:78px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 35px;position:sticky;top:0;z-index:5}.top-title{font-size:15px;font-weight:800;display:block}.top-date{color:#8e9ba1;font-size:10px;display:block;margin-top:4px}.top-right{display:flex;align-items:center;gap:17px}.secure-label{font-size:10px;color:#74858b}.secure-label i{display:inline-block;width:7px;height:7px;background:#18ae8b;border-radius:50%;margin-right:5px}.top-avatar{height:31px;width:31px}.mobile-menu{display:none;border:0;background:transparent;font-size:20px;color:var(--navy)}.page-content{padding:30px 35px 48px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.page-heading h1{margin-bottom:6px}.page-heading p.muted{font-size:12px;margin:0}.page-heading>.btn,.page-heading>.filter-select{align-self:center}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.stat-card{background:white;border:1px solid #e7ebed;border-radius:12px;padding:17px 18px;min-height:130px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#78868c;font-size:11px}.stat-card>strong{display:block;font:800 24px Manrope,sans-serif;letter-spacing:-.7px;margin:17px 0 4px}.stat-card>small{color:#929ea3}.stat-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;font-size:16px}.stat-icon.mint{background:#e2f5ef;color:#0b8d73}.stat-icon.blue{background:#eaf1fa;color:#5682ba}.stat-icon.orange{background:#fff2df;color:#da9539}.stat-icon.purple{background:#f1edfc;color:#8567be}.section-card{background:white;border:1px solid #e6eaec;border-radius:12px;overflow:hidden}.section-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px 14px}.section-head h2{margin-bottom:4px;font-size:15px}.section-head p{font-size:11px;color:#929da2;margin:0}.text-btn{border:0;background:transparent;color:var(--green);font-size:11px;font-weight:700}.text-btn span{font-size:16px;margin-left:4px}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#89969b;font-size:9px;text-transform:uppercase;letter-spacing:.6px;font-weight:700;background:#fafbfb;padding:11px 18px;border-top:1px solid #edf0f1;border-bottom:1px solid #edf0f1}td{padding:12px 18px;border-bottom:1px solid #f0f2f3;font-size:11px;color:#51616a}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfd}td strong{color:#293a43;font-weight:700}.receipt-code{font-family:monospace;font-size:11px}.icon-btn{width:29px;height:29px;border:1px solid #e4e9eb;border-radius:7px;color:#66767c;background:#fff;font-size:15px}.icon-btn:hover{color:var(--green);border-color:#a1d5c7;background:#f6fcf9}.table-actions{display:flex;gap:5px}.danger-text{color:#ca6565!important}.danger-text:hover{border-color:#e8b3b3!important;background:#fffafa!important}.empty-state{text-align:center;padding:32px 12px;color:#9aa6aa;white-space:normal}.empty-state>span{display:block;font-size:25px;color:#a8cfc3;margin-bottom:7px}.empty-state strong{display:block;color:#596a70;font-size:12px}.empty-state p{font-size:11px;margin:6px 0 0}.quick-actions{margin-top:17px;background:#e8f5f0;border:1px solid #d9eee6;padding:14px 17px;border-radius:11px;display:flex;justify-content:space-between;align-items:center}.quick-actions>div{display:flex;align-items:center;gap:11px}.quick-icon{display:grid;place-items:center;height:34px;width:34px;background:#d0ede2;border-radius:9px;color:#16856c}.quick-actions strong,.quick-actions small{display:block}.quick-actions strong{font-size:12px}.quick-actions small{font-size:10px;color:#748a84;margin-top:4px}.pos-date{padding:9px 12px;color:#22846d;background:#e6f4ee;border-radius:7px;font-size:10px}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:17px;align-items:start}.pos-products{min-width:0}.search-wrap{height:40px;border:1px solid #e1e7e9;background:#fff;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 12px}.search-wrap>span{font-size:20px;color:#95a2a7}.search-wrap input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent;width:100%;font-size:11px;color:#30434d}.pos-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.pos-product{position:relative;text-align:left;border:1px solid #e4e9ea;border-radius:10px;background:white;min-height:140px;padding:13px;display:flex;flex-direction:column;align-items:flex-start;transition:.15s}.pos-product:hover{border-color:#7dc9b3;box-shadow:0 4px 14px rgba(17,99,77,.08);transform:translateY(-1px)}.product-color{height:17px;width:17px;border-radius:6px;background:var(--swatch);border:1px solid rgba(40,60,65,.1);flex:none}.pos-product-name{font-size:12px;font-weight:700;color:#293d47;margin:10px 20px 3px 0}.pos-product>strong{font-size:11px;margin-top:10px;color:#20816b}.pos-image{width:34px;height:34px;border-radius:7px;object-fit:cover}.pos-option-label{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:5px;width:100%;margin-top:8px;color:#7c8a8f;font-size:9px}.pos-option-label select{min-width:0;width:100%;border:1px solid #e1e7e9;border-radius:6px;background:#fff;padding:6px;color:#40515b;font-size:10px}.pos-option-value{display:flex;align-items:center;gap:7px;width:100%;margin-top:8px;color:#7c8a8f;font-size:9px}.pos-option-value strong{margin:0;color:#40515b;font-size:10px;font-weight:600}.pos-product-add{width:100%;margin-top:9px}.table-image{width:34px;height:34px;object-fit:cover;border-radius:7px}.cart-panel{background:white;border:1px solid #e4e9eb;border-radius:11px;overflow:hidden;position:sticky;top:94px}.cart-head{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #edf0f1}.cart-head h2{font-size:15px;margin:0}.cart-head p{font-size:10px;color:#89969b;margin:4px 0 0}.cart-head .text-btn{font-size:10px}.cart-items{max-height:46vh;overflow:auto;min-height:130px}.cart-empty{height:150px;display:grid;align-content:center;justify-items:center;color:#a5afb2}.cart-empty span{font-size:24px;color:#b1d6ca}.cart-empty p{font-size:10px;margin:8px 0 0}.cart-item{border-bottom:1px solid #f0f2f3;padding:12px 14px}.cart-product{display:flex;justify-content:space-between;gap:8px}.cart-product strong{font-size:11px}.cart-product small{font-size:9px;color:#89969b;text-align:right}.cart-controls{display:flex;align-items:center;gap:9px;margin-top:9px}.cart-controls button{border:1px solid #e4e9eb;background:white;border-radius:5px;width:23px;height:23px;padding:0;color:#52666e}.cart-controls span{font-size:10px}.cart-controls button.remove-item{margin-left:auto;border:0;color:#be7272;font-size:17px}.discount-input{display:flex;align-items:center;gap:6px;font-size:9px;color:#7a898e;margin-top:7px}.discount-input input{width:53px;padding:4px;border:1px solid #e1e6e8;border-radius:5px;font-size:10px}.cart-summary{border-top:1px solid #e8edef;padding:14px}.cart-summary>div{display:flex;justify-content:space-between;margin:9px 0;font-size:10px;color:#7e8d92}.cart-summary>div strong{color:#42525a;font-size:10px}.cart-summary .total-row{border-top:1px dashed #dfe5e6;padding-top:12px;margin-top:12px;color:#263c46;font-weight:700;font-size:12px}.cart-summary .total-row strong{font-size:16px;color:#157e68}.compact-label{display:flex;flex-direction:column;font-size:10px;color:#7a898e;gap:6px;margin:15px 0 11px}.compact-label select{padding:8px;font-size:10px}.checkout-btn{display:flex;justify-content:space-between;align-items:center;padding:12px}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:14px}.toolbar .search-wrap{flex:1;max-width:500px}.result-count{font-size:10px;color:#87949a;margin-left:auto}.filter-select{border:1px solid #dfe5e7;background:#fff;border-radius:8px;padding:10px 11px;color:#40525b;font-size:11px;min-width:145px}.table-card{margin-top:0}.product-cell{display:flex;align-items:center;gap:9px}.product-cell strong,.product-cell small{display:block}.product-cell small{font-size:9px;color:#96a1a5;margin-top:3px}.stock-pill,.status-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:20px;font-size:9px;font-weight:700}.stock-pill.good{background:#e5f5ee;color:#298068}.stock-pill.low{background:#fff0e8;color:#c47b4b}.status-pill{background:#edf2f4;color:#60747d}.date-toolbar{background:#fff;border:1px solid #e6eaec;border-radius:10px;padding:12px;margin-bottom:15px;display:flex;align-items:end;gap:10px}.date-toolbar label{font-size:10px}.date-toolbar input{padding:8px;font-size:11px}.date-toolbar .result-count{align-self:center}.branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.branch-card{background:white;border:1px solid #e6eaec;border-radius:12px;padding:17px}.branch-card-top{display:flex;justify-content:space-between;align-items:center}.branch-symbol{display:grid;place-items:center;background:#e7f4ef;border-radius:9px;width:36px;height:36px;color:#26836c;font-size:20px}.branch-card h2{margin:17px 0 4px}.branch-card p{font-size:11px;color:#77868b;margin:6px 0}.branch-card p.branch-code{font-family:monospace;font-size:10px;color:#16836c}.branch-actions{display:flex;gap:8px;margin-top:15px;border-top:1px solid #edf0f1;padding-top:13px}.positive{color:#178269!important;font-weight:700}.negative{color:#bd6d62!important;font-weight:700}.table-sub{display:block;color:#89969b;font-size:9px;margin-top:3px}.error-card{background:#fff;border:1px solid #f0d7d1;color:#9b4d43;border-radius:10px;padding:20px}.error-card p{font-size:12px}.loading-block{padding:40px;text-align:center;color:#839198;font-size:12px}
.toast{position:fixed;right:22px;bottom:22px;z-index:1000;max-width:min(420px,calc(100vw - 40px));background:#183c42;color:white;padding:12px 16px;border-radius:9px;box-shadow:var(--shadow);font-size:12px;opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#963f3b}.modal-backdrop{position:fixed;inset:0;background:rgba(18,34,41,.52);z-index:100;display:grid;place-items:center;padding:18px;overflow:auto}.modal{width:min(600px,100%);max-height:calc(100vh - 36px);overflow:auto;background:white;border-radius:14px;padding:23px;box-shadow:0 25px 80px rgba(10,25,30,.25)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-head .eyebrow{margin-bottom:6px}.modal-head h2{font-size:20px;margin:0}.close-btn{border:0;background:transparent;color:#8b989d;font-size:25px;line-height:1}.modal .form-stack{gap:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:7px}.variant-note{font-size:11px;color:#75828a;margin:0}.variant-note strong{color:#30434d}.variant-header{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.variant-header h3{font-size:12px;margin:0}.variant-header p{font-size:10px;color:#8b989d;margin:4px 0 0}.variant-row{display:grid;grid-template-columns:1fr 1fr .75fr 30px;gap:7px;margin:8px 0}.variant-row select,.variant-row input{min-width:0;border:1px solid #dfe5e7;border-radius:7px;padding:9px 8px;font-size:11px;background:white}.variant-row .icon-btn{height:auto}.receipt-toolbar{display:flex;justify-content:flex-end;gap:8px;margin-bottom:14px}.receipt{width:min(360px,100%);margin:0 auto;background:white;color:#24343c;padding:22px 25px;border:1px dashed #d6dddf;text-align:center}.receipt-logo{height:38px;width:38px;border-radius:11px;display:grid;place-items:center;margin:0 auto 9px;background:#e0f3eb;color:#087a61;font-weight:800}.receipt h2{font-size:13px;margin-bottom:5px}.receipt>p{font-size:9px;color:#78878d;margin:0;line-height:1.6}.receipt-divider{border-top:1px dashed #cbd4d6;margin:13px 0}.receipt-meta{display:grid;grid-template-columns:1fr 1.4fr;gap:6px;text-align:left;font-size:9px;color:#849197}.receipt-meta strong{text-align:right;color:#35464e}.receipt-lines>div{display:flex;justify-content:space-between;gap:10px;text-align:left;font-size:9px;margin:9px 0}.receipt-lines span small{display:block;color:#849197;font-size:8px;margin-top:3px}.receipt-lines strong{white-space:nowrap}.receipt-total{display:grid;grid-template-columns:1fr auto;gap:7px;text-align:left;font-size:9px}.receipt-total strong{text-align:right}.receipt-total span:nth-last-child(2),.receipt-total strong:last-child{font-size:12px;color:#147d67;font-weight:800}.receipt-payment{margin-top:12px!important}.receipt .receipt-thanks{margin-top:16px;color:#17836b;font-weight:700;font-size:10px}
@media(max-width:1100px){.sidebar{width:220px}.main-area{margin-left:220px;width:calc(100% - 220px)}.page-content{padding:25px 22px}.topbar{padding:0 22px}.pos-layout{grid-template-columns:minmax(0,1fr) 305px}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s ease;width:252px;box-shadow:10px 0 30px rgba(0,0,0,.12)}.sidebar.open{transform:translateX(0)}.main-area{margin-left:0;width:100%}.topbar{height:65px;padding:0 15px;justify-content:flex-start;gap:12px}.mobile-menu{display:block}.top-right{margin-left:auto}.secure-label{display:none}.page-content{padding:23px 15px 35px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:18px;gap:13px}.page-heading h1{font-size:25px}.page-heading>.btn,.page-heading>.filter-select{align-self:flex-start}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:13px;min-height:115px}.stat-card>strong{font-size:20px}.pos-layout{grid-template-columns:1fr}.cart-panel{position:static}.cart-items{max-height:300px}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar .search-wrap{max-width:none;flex-basis:100%}.date-toolbar{flex-wrap:wrap}.date-toolbar label{flex:1;min-width:120px}.date-toolbar .result-count{margin-left:0}.quick-actions{gap:10px}.quick-actions .btn{font-size:10px;padding:9px}.form-grid{grid-template-columns:1fr}.auth-card{padding:27px 22px}.variant-row{grid-template-columns:1fr 1fr .7fr 28px}.modal{padding:18px}.section-head{padding:15px}.receipt{padding:19px}}
@media(max-width:420px){.stat-grid{gap:8px}.stat-card>strong{font-size:18px}.stat-card>small{font-size:10px}.pos-product{padding:10px;min-height:132px}.top-date{max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.page-heading>.btn{white-space:normal}.variant-row{grid-template-columns:1fr 1fr 56px 27px;gap:4px}.variant-row select,.variant-row input{padding:8px 4px;font-size:10px}}
.finance-filter select{width:150px;border:1px solid #dfe5e7;border-radius:8px;background:#fff;padding:8px 10px;color:#40525b;font-size:11px}
.finance-note{font-size:10px;color:#78868c;margin:8px 0 16px;line-height:1.6}
.finance-entry,.finance-ledger{margin-top:16px}
.expense-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding:0 20px 20px;align-items:end}
.pos-product-grid{grid-template-columns:minmax(0,1fr)}
.compact-label input{width:100%;border:1px solid #dfe5e7;border-radius:8px;background:#fff;padding:8px;color:#40515b;font-size:12px}
.compact-label input:focus{border-color:#5bb6a0;box-shadow:0 0 0 3px rgba(11,141,115,.1);outline:none}
.page-heading>[data-action="archive-stock-history"]{white-space:normal}
[data-install-app][hidden]{display:none}
.sales-history-actions{display:flex;flex:0 1 auto;min-width:0;max-width:100%;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.customer-phone-cell{display:flex;align-items:center;gap:8px}
.customer-phone-cell .icon-btn{flex:none}
@media(max-width:760px){.sales-history-actions{justify-content:flex-start}}
.expense-form label{display:flex;flex-direction:column;gap:7px;color:#40515b;font-size:11px;font-weight:600}
.expense-form input,.expense-form select{width:100%;min-width:0;border:1px solid #dfe5e7;border-radius:8px;background:#fff;padding:10px 11px;color:#20323d;font-size:12px}
.expense-form input:focus,.expense-form select:focus{border-color:#5bb6a0;box-shadow:0 0 0 3px rgba(11,141,115,.1);outline:none}
.expense-description{grid-column:span 2}
.expense-submit{display:flex;justify-content:flex-end}
.expense-voided{background:#fff0e8;color:#b56d4a}
@media(max-width:1100px){.expense-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.expense-form{grid-template-columns:1fr;padding:0 15px 16px}.expense-description{grid-column:auto}.expense-submit{justify-content:stretch}.expense-submit .btn{width:100%}.finance-filter select{width:100%}}
.auth-shop-link{display:grid;gap:8px;margin-top:22px;text-align:center}.auth-shop-link>span{font-size:11px;color:#78868c}
.shop-page{min-height:100vh;background:#f4f6f7;padding:0 max(20px,calc((100vw - 1380px)/2)) 35px;color:#1b2b35}
.shop-header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e9eb}
.shop-brand img{display:block;width:min(220px,48vw);max-height:58px;object-fit:contain;object-position:left center}
.shop-header-actions{display:flex;align-items:center;gap:14px}.shop-welcome{font-size:12px;color:#66767c}
.shop-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:35px 0 27px}
.shop-hero h1{font:800 clamp(26px,4vw,40px) Manrope,Arial,sans-serif;letter-spacing:-1px;margin:0 0 8px}
.shop-hero p:not(.eyebrow){font-size:13px;color:#718087;max-width:570px;margin:0;line-height:1.6}
.shop-branch-select{width:min(300px,100%);display:flex;flex-direction:column;gap:7px;flex:none}
.shop-branch-select label{font-size:11px;font-weight:700;color:#42545d}
.shop-branch-select select,.manager-order-actions select,.manager-order-actions input{width:100%;border:1px solid #dfe5e7;border-radius:8px;background:#fff;padding:10px;color:#344852;font-size:12px}
.shop-branch-select small{font-size:10px;color:#7a898e}
.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:20px;align-items:start}
.shop-catalog,.shop-cart-card,.shop-account-box,.shop-orders{background:#fff;border:1px solid #e5e9eb;border-radius:12px}
.shop-catalog{padding:18px}
.shop-catalog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}
.shop-catalog-head h2,.shop-cart-heading h2{font-size:16px;margin:0}.shop-catalog-head p,.shop-cart-heading p{font-size:10px;color:#87949a;margin:5px 0 0}
.shop-search{display:flex;align-items:center;gap:7px;width:min(270px,50%);border:1px solid #e1e7e9;border-radius:8px;padding:0 10px;height:37px;color:#8e9ba1}
.shop-search input{width:100%;border:0;outline:0;font-size:11px}
.shop-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.shop-product-card{overflow:hidden;background:#fff;border:1px solid #e6eaec;border-radius:10px;min-width:0}
.shop-product-image,.shop-product-placeholder{display:grid;width:100%;height:150px;object-fit:cover;background:#edf4f1}
.shop-product-photo{position:relative;display:block;width:100%;padding:0;border:0;background:#edf4f1;text-align:left}
.shop-product-photo span{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:20px;background:rgba(23,43,58,.78);color:#fff;font-size:9px}
.shop-option-label{display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;gap:6px;margin:8px 0;color:#7c8a8f;font-size:10px}
.shop-option-label select{min-width:0;width:100%;border:1px solid #e1e7e9;border-radius:6px;background:#fff;padding:6px 7px;color:#40515b;font-size:10px}
.shop-option-value{display:flex;align-items:center;gap:8px;margin:8px 0;color:#7c8a8f;font-size:10px}
.shop-option-value strong{color:#40515b;font-weight:600}
.shop-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shop-gallery-grid img{display:block;width:100%;max-height:65vh;object-fit:contain;background:#f4f6f7;border-radius:8px}
.shop-product-placeholder{place-items:center;color:#82aa9d;font-size:26px;font-weight:800;letter-spacing:2px}
.shop-product-info{padding:12px}
.shop-category{font-size:9px;color:#16836c;text-transform:uppercase;letter-spacing:.7px;font-weight:700}
.shop-product-info h3{font-size:13px;margin:6px 0 4px;line-height:1.35}
.shop-product-info p{font-size:10px;color:#7c8a8f;margin:0 0 6px}
.shop-product-info>small{font-size:9px;color:#89969b}
.shop-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:11px}
.shop-product-bottom>strong{font-size:12px;color:#188069}
.shop-sidebar{display:grid;gap:12px;position:sticky;top:15px}
.shop-cart-card{padding:15px}
.shop-cart-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f1;padding-bottom:12px}
.shop-cart-items{max-height:340px;overflow:auto}
.shop-cart-empty{text-align:center;padding:30px 10px;color:#8c999e;font-size:11px}
.shop-cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0;border-bottom:1px solid #f0f2f3}
.shop-cart-row>div:first-child{min-width:0}.shop-cart-row>div:first-child strong,.shop-cart-row>div:first-child small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-cart-row>div:first-child strong{font-size:11px}.shop-cart-row>div:first-child small{font-size:9px;color:#8a969b;margin-top:4px}
.shop-cart-row>strong{grid-column:1/-1;text-align:right;font-size:10px}
.shop-quantity{display:flex;align-items:center;gap:7px}
.shop-quantity button{border:1px solid #e0e6e8;border-radius:5px;background:white;width:24px;height:24px;color:#48616b}
.shop-quantity span{font-size:10px}
.shop-cart-total{display:flex;justify-content:space-between;align-items:center;padding:13px 0;font-size:11px;color:#5d6e76}
.shop-cart-total strong{font-size:15px;color:#147d67}
.shop-reservation-note,.shop-signin-hint{font-size:9px;line-height:1.5;color:#829096;margin:9px 0 0}
.shop-signin-hint{color:#16836c;font-weight:600}
.shop-account-box{padding:14px;display:grid;gap:12px}
.shop-account-box>div strong,.shop-account-box>div small{display:block}.shop-account-box>div strong{font-size:12px}.shop-account-box>div small{font-size:9px;color:#869399;margin-top:5px}
.shop-account-form .form-stack{gap:10px}.shop-account-form .form-stack label{font-size:10px}.shop-account-form .form-stack input{padding:9px 10px}.shop-account-form .form-stack small{font-size:9px;color:#829096}
.shop-account-toggle{text-align:center;width:100%}
.shop-orders{margin-top:20px;overflow:hidden}.shop-order-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:14px 20px;border-top:1px solid #edf0f1}
.shop-order-item>div{display:grid;gap:5px}.shop-order-item>div>strong{font-size:11px}.shop-order-item small{font-size:9px;color:#829096}
.shop-order-status.pending{background:#fff2df;color:#b87932}.shop-order-status.completed{background:#e5f5ee;color:#298068}.shop-order-status.rejected,.shop-order-status.expired,.shop-order-status.cancelled{background:#fbeceb;color:#a45e5b}
.shop-footer{text-align:center;padding:23px 10px 0;color:#829096;font-size:10px}
.shop-empty{grid-column:1/-1}.manager-order-list{display:grid;gap:14px}
.manager-order-card{background:white;border:1px solid #e5e9eb;border-radius:12px;padding:17px}
.manager-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.manager-order-head .eyebrow{margin-bottom:5px}.manager-order-head h2{font-size:16px;margin:0}.manager-order-head h2 small{font-size:11px;font-weight:500;color:#78868c}
.manager-order-head .muted{font-size:10px;margin:5px 0 12px}
.manager-order-contact{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 0;border-top:1px solid #edf0f1;border-bottom:1px solid #edf0f1;font-size:10px;color:#687980}
.manager-order-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-top:13px}
.manager-order-footer>div:first-child{display:grid;gap:5px}.manager-order-footer>div:first-child small{font-size:9px;color:#829096}.manager-order-footer>div:first-child>strong{font-size:12px}
.manager-order-actions{display:flex;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.manager-order-actions label{display:grid;gap:5px;min-width:150px;font-size:9px;color:#718087}
.manager-order-actions .btn{font-size:10px}
@media(max-width:1050px){.shop-layout{grid-template-columns:minmax(0,1fr) 320px}.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.shop-page{padding:0 13px 25px}.shop-header{height:68px}.shop-brand img{width:160px}.shop-welcome{display:none}.shop-header-actions .btn{font-size:9px;padding:8px}.shop-hero{align-items:flex-start;flex-direction:column;padding:25px 0 18px;gap:16px}.shop-branch-select{width:100%}.shop-layout{grid-template-columns:1fr}.shop-sidebar{position:static;grid-row:1}.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shop-catalog{padding:12px}.shop-product-image,.shop-product-placeholder{height:120px}.shop-product-info{padding:9px}.shop-product-info h3{font-size:11px}.shop-product-bottom>strong{font-size:10px}.shop-product-bottom .btn{font-size:9px;padding:6px}.shop-catalog-head{align-items:flex-start;flex-direction:column}.shop-search{width:100%}.shop-cart-items{max-height:220px}.shop-order-item{grid-template-columns:1fr;padding:13px 15px}.manager-order-card{padding:13px}.manager-order-footer{align-items:stretch;flex-direction:column}.manager-order-actions{display:grid;grid-template-columns:1fr 1fr}.manager-order-actions label{min-width:0}.manager-order-actions .btn{grid-column:span 2}.manager-order-head h2{font-size:14px}.manager-order-contact{align-items:flex-start;flex-direction:column}}
@media print{body{background:#fff}.layout,.modal-backdrop{position:static;background:#fff;padding:0;display:block}.modal{box-shadow:none;border-radius:0;padding:0;max-height:none;overflow:visible}.receipt-toolbar{display:none!important}.receipt{border:0;width:76mm;padding:0;margin:0 auto}.receipt h2{font-size:12px}.toast{display:none}}
.inventory-group-list{display:grid;gap:10px}
.inventory-group{background:#fff;border:1px solid #e6eaec;border-radius:11px;overflow:hidden}
.inventory-group-summary{display:flex;align-items:center;gap:18px;padding:15px 17px;cursor:pointer;list-style:none}
.inventory-group-summary::-webkit-details-marker,.inventory-option-summary::-webkit-details-marker{display:none}
.inventory-group-summary:hover,.inventory-option-summary:hover{background:#fcfdfd}
.inventory-summary-product{display:flex;align-items:center;gap:10px;flex:1 1 230px;min-width:210px}
.inventory-summary-product>span:last-child{min-width:0}
.inventory-summary-product strong,.inventory-summary-product small,.inventory-summary-stat strong,.inventory-summary-stat small,.inventory-option-stat strong,.inventory-option-stat small{display:block}
.inventory-summary-product strong{font-size:12px;color:#293a43}
.inventory-summary-product small{font-size:10px;color:#89969b;margin-top:4px}
.inventory-summary-stat,.inventory-option-stat{display:flex;flex-direction:column;gap:4px;min-width:88px}
.inventory-summary-stat strong,.inventory-option-stat strong{font-size:11px;color:#344852}
.inventory-summary-stat small,.inventory-option-stat small{font-size:9px;color:#89969b}
.inventory-chevron{color:#7b8b91;font-size:15px;transition:transform .15s ease;margin-left:auto}
.inventory-group[open]>.inventory-group-summary .inventory-chevron,.inventory-option[open]>.inventory-option-summary .inventory-chevron{transform:rotate(180deg)}
.inventory-options{border-top:1px solid #edf0f1;padding:0 12px 8px 22px}
.inventory-option{border-bottom:1px solid #edf0f1}
.inventory-option:last-child{border-bottom:0}
.inventory-option-summary{display:flex;align-items:center;gap:16px;padding:12px 10px;cursor:pointer;list-style:none}
.inventory-option-name{flex:1 1 180px;min-width:150px;font-size:11px;color:#43565f}
.inventory-option-name span{color:#a5afb3;padding:0 3px}
.inventory-option-price{min-width:130px}
.inventory-option-summary>.inventory-chevron{margin-left:0}
.inventory-record-wrap{overflow-x:auto;padding:0 10px 12px 10px}
.inventory-record-table{min-width:500px;white-space:nowrap}
.inventory-record-table th{padding:9px 12px}
.inventory-record-table td{padding:8px 12px}
.inventory-record-table th:first-child,.inventory-record-table td:first-child{padding-left:14px}
@media(max-width:760px){.inventory-group-summary{flex-wrap:wrap;gap:12px;padding:13px}.inventory-summary-product{flex-basis:100%}.inventory-summary-stat{flex:1 1 36%;min-width:95px}.inventory-group-summary>.stock-pill{margin-right:auto}.inventory-options{padding-left:12px}.inventory-option-summary{flex-wrap:wrap;gap:9px;padding:11px 8px}.inventory-option-name{flex-basis:100%}.inventory-option-stat{flex:1 1 35%;min-width:80px}.inventory-option-price{flex-basis:100%}.inventory-option-summary>.inventory-chevron{margin-left:auto}}
