:root{--ink:#17231e;--muted:#6e7973;--line:#e5e9e6;--paper:#f6f7f4;--card:#fff;--green:#184b35;--green-2:#2f6c50;--mint:#dcecdf;--lime:#d7e66c;--amber:#f4c46b;--red:#d9675b;--blue:#6f99c9;--shadow:0 14px 40px rgba(24,45,35,.08);--radius:18px}
*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}button,input,select{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:238px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#123728;color:#fff;padding:28px 18px 20px;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 27px}.brand-mark{width:40px;height:40px;border-radius:13px;background:var(--lime);color:#163526;display:grid;place-items:center;font-family:Georgia,serif;font-size:25px;font-weight:800}.brand strong,.brand span,.sidebar-footer strong,.sidebar-footer span{display:block}.brand strong{font-family:Georgia,serif;font-size:21px;line-height:1}.brand span{font-size:11px;color:#a9c4b5;text-transform:uppercase;letter-spacing:1.6px;margin-top:5px}.sidebar nav{display:grid;gap:4px}.nav-item{width:100%;border:0;background:transparent;color:#bcd0c5;display:flex;gap:12px;align-items:center;padding:11px 12px;border-radius:11px;cursor:pointer;text-align:left;font-size:13px;font-weight:650}.nav-item:hover,.nav-item.active{background:#24513d;color:#fff}.nav-item.active{box-shadow:inset 3px 0 var(--lime)}.nav-icon{width:22px;text-align:center;font-size:16px}.sidebar-footer{margin-top:auto;border-top:1px solid #315443;padding:18px 7px 0;display:flex;align-items:center;gap:10px}.profile-dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#d8e9dd;color:#16442f;font-size:11px;font-weight:800}.sidebar-footer strong{font-size:11px}.sidebar-footer span{font-size:10px;color:#9bb6a7;margin-top:3px}.icon-btn{margin-left:auto;border:0;background:transparent;color:inherit;cursor:pointer;font-size:18px}.main{grid-column:2;min-width:0}.topbar{height:92px;padding:0 34px;display:flex;align-items:center;border-bottom:1px solid var(--line);background:rgba(246,247,244,.92);position:sticky;top:0;z-index:25;backdrop-filter:blur(12px)}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.1px;color:var(--muted);margin:0 0 4px}.topbar h1{font-family:Georgia,serif;margin:0;font-size:25px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.live-pill{font-size:11px;font-weight:700;color:var(--green);background:#e2ede5;padding:8px 11px;border-radius:20px}.live-pill i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3c9768;margin-right:6px}.notification{position:relative}.notification b{position:absolute;right:-4px;top:-4px;background:var(--red);color:white;border-radius:9px;font-size:9px;padding:1px 5px}.menu-toggle{display:none;border:0;background:transparent;font-size:23px;margin-right:12px}.content{padding:28px 34px 50px;max-width:1500px;margin:0 auto}.hero{background:linear-gradient(120deg,#174a34,#245f42);color:white;border-radius:24px;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:260px;height:260px;border:46px solid rgba(255,255,255,.055);border-radius:50%;right:-60px;top:-110px}.hero h2{font-family:Georgia,serif;font-size:28px;margin:3px 0 8px}.hero p{color:#c6d8ce;margin:0;max-width:540px;font-size:13px;line-height:1.55}.hero .hero-date{position:relative;z-index:1;text-align:right}.hero-date strong{font-family:Georgia,serif;font-size:34px}.hero-date span{display:block;font-size:11px;color:#c4d5cb}.grid{display:grid;gap:18px}.stats{grid-template-columns:repeat(4,1fr);margin:20px 0}.stat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:0 5px 20px rgba(25,45,35,.03)}.stat-head{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;font-weight:650}.stat-icon{width:34px;height:34px;border-radius:11px;background:#edf2ee;display:grid;place-items:center}.stat-value{font-family:Georgia,serif;font-size:25px;margin:13px 0 5px}.delta{font-size:10px;color:#49815f}.delta.warn{color:#bd6c31}.two-col{grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr)}.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:0 7px 28px rgba(25,45,35,.035);min-width:0}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.panel-title h3{font-family:Georgia,serif;font-size:18px;margin:0}.panel-title p{font-size:11px;color:var(--muted);margin:5px 0 0}.btn{border:0;border-radius:10px;padding:10px 14px;font-weight:750;font-size:11px;cursor:pointer}.btn-primary{background:var(--green);color:white}.btn-secondary{background:#edf2ee;color:var(--green)}.btn-amber{background:#fff0d7;color:#8b571f}.btn-danger{background:#fee7e3;color:#a9453c}.btn:disabled{opacity:.45;cursor:not-allowed}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:11px}.data-table th{text-align:left;color:#8a938f;text-transform:uppercase;letter-spacing:.55px;font-size:9px;padding:10px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:12px 10px;border-bottom:1px solid #eef0ee;white-space:nowrap}.data-table tr:last-child td{border:0}.badge{display:inline-block;padding:5px 8px;border-radius:12px;background:#edf3ef;color:#47715a;font-size:9px;font-weight:800}.badge.warn{background:#fff0d7;color:#9d621f}.badge.red{background:#fee8e5;color:#a3433a}.badge.blue{background:#e9f0fa;color:#466b95}.bar{height:6px;border-radius:8px;background:#edf0ee;overflow:hidden;min-width:90px}.bar i{display:block;height:100%;background:var(--green-2);border-radius:8px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:19px}.section-head h2{font-family:Georgia,serif;margin:0;font-size:24px}.section-head p{color:var(--muted);font-size:12px;margin:5px 0 0}.section-actions{display:flex;gap:8px;flex-wrap:wrap}.search{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 12px;min-width:220px;font-size:11px;outline:none}.search:focus{border-color:#84a895}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:20px}.catalog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.chip{border:1px solid var(--line);background:#fff;border-radius:20px;padding:7px 11px;font-size:10px;cursor:pointer}.chip.active{background:var(--green);color:white;border-color:var(--green)}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.product-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;cursor:pointer;transition:.15s}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#c2d2c8}.product-card.soldout{opacity:.5;cursor:not-allowed}.food-art{height:95px;border-radius:12px;background:linear-gradient(145deg,#f1eadb,#e0d2b5);display:grid;place-items:center;font-size:48px;margin-bottom:11px}.product-card h4{margin:0 0 5px;font-size:12px}.product-meta{display:flex;justify-content:space-between;gap:5px;color:var(--muted);font-size:9px}.product-price{font-weight:800;color:var(--green);font-size:12px;margin-top:10px}.cart-panel{position:sticky;top:112px;height:calc(100vh - 140px);display:flex;flex-direction:column}.cart-items{overflow:auto;flex:1}.empty{text-align:center;color:var(--muted);padding:50px 12px}.empty .big{font-size:38px;display:block;margin-bottom:10px}.cart-line{display:grid;grid-template-columns:1fr auto;gap:7px;border-bottom:1px solid var(--line);padding:12px 0}.cart-line strong{font-size:11px}.cart-line small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.qty{display:flex;align-items:center;gap:7px}.qty button{width:23px;height:23px;border:1px solid var(--line);background:white;border-radius:7px;cursor:pointer}.summary-line{display:flex;justify-content:space-between;font-size:11px;margin-top:10px}.summary-line.total{font-family:Georgia,serif;font-size:18px;border-top:1px dashed #ccd4cf;padding-top:13px}.checkout{width:100%;margin-top:14px;padding:13px}.stock-grid{grid-template-columns:repeat(3,1fr)}.stock-card{padding:18px;background:white;border:1px solid var(--line);border-radius:16px}.stock-card .top{display:flex;justify-content:space-between;align-items:center}.stock-card h4{margin:12px 0 4px}.stock-card p{margin:0;color:var(--muted);font-size:10px}.stock-card .amount{font-family:Georgia,serif;font-size:22px;margin:13px 0 8px}.cold-card{display:grid;grid-template-columns:55px 1fr auto;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid var(--line)}.cold-icon{width:50px;height:50px;border-radius:14px;background:#e9f3f7;display:grid;place-items:center;font-size:24px}.cold-card h4{margin:0 0 4px;font-size:12px}.cold-card p{margin:0;color:var(--muted);font-size:10px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.field label{display:block;font-size:10px;color:var(--muted);font-weight:700;margin-bottom:5px}.field input,.field select{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;background:white;font-size:11px}.settings-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:18px}.settings-tab{border:0;background:none;padding:10px 5px;margin-right:15px;font-size:11px;font-weight:750;color:var(--muted);cursor:pointer}.settings-tab.active{color:var(--green);border-bottom:2px solid var(--green)}.user-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.avatar{width:38px;height:38px;border-radius:50%;background:#deebe3;color:var(--green);display:grid;place-items:center;font-weight:800;font-size:11px}.user-row .info{flex:1}.user-row strong,.user-row span{display:block}.user-row strong{font-size:11px}.user-row span{font-size:9px;color:var(--muted);margin-top:3px}.chart{display:flex;align-items:flex-end;gap:12px;height:160px;padding-top:15px}.chart-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.chart-bar{width:100%;max-width:34px;background:linear-gradient(#72a281,#245d40);border-radius:7px 7px 3px 3px;min-height:8px}.chart-col span{font-size:9px;color:var(--muted)}.alert-list{display:grid;gap:9px}.alert-item{display:flex;gap:10px;align-items:center;background:#f8f9f7;padding:10px;border-radius:11px}.alert-item b{width:8px;height:8px;border-radius:50%;background:var(--amber)}.alert-item div{font-size:10px}.alert-item span{display:block;color:var(--muted);font-size:9px;margin-top:3px}.modal-wrap{display:none;position:fixed;inset:0;background:rgba(8,25,17,.48);z-index:100;place-items:center;padding:20px}.modal-wrap.open{display:grid}.modal{background:white;border-radius:20px;padding:23px;width:min(460px,100%);box-shadow:0 28px 80px rgba(0,0,0,.2)}.modal h3{font-family:Georgia,serif;margin:0 0 5px}.modal>p{font-size:11px;color:var(--muted);margin:0 0 18px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.toast{position:fixed;right:24px;bottom:24px;background:#173e2d;color:white;border-radius:11px;padding:12px 16px;font-size:11px;font-weight:700;opacity:0;transform:translateY(15px);transition:.25s;z-index:200;pointer-events:none}.toast.show{opacity:1;transform:none}.mekari-note{background:#f0f5f1;border:1px solid #dbe7df;padding:13px;border-radius:12px;font-size:10px;line-height:1.5;color:#42604f;margin-bottom:14px}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:18px}
@media(max-width:1100px){.products{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.stock-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.main{width:100%}.menu-toggle{display:block}.content{padding:20px}.topbar{padding:0 20px;height:78px}.top-actions .live-pill{display:none}.pos-layout,.two-col{grid-template-columns:1fr}.cart-panel{position:static;height:auto}.products{grid-template-columns:repeat(2,1fr)}.hero-date{display:none}}
@media(max-width:540px){.stats,.stock-grid,.metric-row{grid-template-columns:1fr}.products{grid-template-columns:1fr 1fr}.food-art{height:80px}.section-head{align-items:flex-start;flex-direction:column}.search{min-width:0;width:100%}.form-grid{grid-template-columns:1fr}.hero{padding:21px}.hero h2{font-size:23px}}

/* Navigation, scrolling, recipe interaction, and Mekari integration */
html,body{min-height:100%;height:auto;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth}
.app-shell{min-height:100dvh;height:auto}
.main{min-height:100dvh;overflow:visible}
.content{min-height:calc(100dvh - 92px);padding-bottom:90px}
.sidebar{height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#527765 transparent}
.sidebar nav{flex:0 0 auto}
.sidebar-footer{flex:0 0 auto}
.nav-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;font-size:0}
.nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.modal{max-height:calc(100dvh - 40px);overflow-y:auto}
.recipe-card{cursor:pointer;position:relative;transition:transform .16s,box-shadow .16s,border-color .16s}
.recipe-card:hover,.recipe-card:focus-visible{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#99b4a4;outline:none}
.recipe-card h4{display:flex;align-items:center;justify-content:space-between;gap:10px}
.recipe-edit-hint{font-family:Inter,ui-sans-serif,system-ui;font-size:9px;color:var(--green);background:#eaf2ed;border-radius:12px;padding:5px 8px;opacity:0;transition:opacity .16s}
.recipe-card:hover .recipe-edit-hint,.recipe-card:focus-visible .recipe-edit-hint{opacity:1}
.recipe-card .icon-btn{position:relative;z-index:2;padding:2px 6px;border-radius:7px}
.recipe-card .icon-btn:hover{background:#fee8e5;color:#a3433a}
.recipe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.recipe-card-compact{min-width:0;padding:14px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 4px 16px rgba(25,45,35,.025);transition:border-color .16s,box-shadow .16s}
.recipe-card-compact.expanded{border-color:#a8c0b1;box-shadow:0 7px 22px rgba(25,45,35,.06)}
.recipe-card-head{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px}
.recipe-card-emoji{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#f1f5f2;font-size:21px}
.recipe-card-head h4{margin:0;font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recipe-card-head p{margin:4px 0 0;color:var(--muted);font-size:9px}
.recipe-card-head>.badge{max-width:76px;text-align:center;white-space:nowrap}
.recipe-card-actions{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:12px}
.recipe-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:8px 10px;border:0;border-radius:9px;background:#f3f6f4;color:var(--green);font-size:10px;font-weight:800;cursor:pointer}
.recipe-toggle b{font-size:14px;line-height:1}.recipe-card-actions .btn{padding:8px 10px;font-size:9px;white-space:nowrap}
.recipe-card-details{margin-top:11px;padding-top:5px;border-top:1px solid var(--line)}
.recipe-card-details[hidden]{display:none}
.recipe-ingredient-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #eef1ef;font-size:9px}
.recipe-ingredient-row:last-child{border-bottom:0}.recipe-ingredient-row>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#53605a}
.recipe-ingredient-row>span:last-child{display:flex;align-items:center;gap:4px;white-space:nowrap}.recipe-ingredient-row .icon-btn{margin-left:2px;padding:1px 5px;border-radius:6px;font-size:14px}
.recipe-ingredient-row .icon-btn:hover{background:#fee8e5;color:#a3433a}.recipe-empty-detail{padding:12px 4px;color:var(--muted);font-size:10px;text-align:center}
.recipe-edit-banner{display:flex;align-items:center;gap:12px;margin:-5px 0 16px;padding:11px 14px;border:1px solid #efd39b;border-radius:12px;background:#fff6e5;color:#74501f;font-size:10px}
.recipe-edit-banner span{padding:5px 8px;border-radius:8px;background:#e5a943;color:#fff;font-weight:800;text-transform:uppercase;letter-spacing:.4px}.recipe-edit-banner b{font-weight:650}
.recipe-password-modal{max-width:430px}.recipe-password-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:13px;border-radius:15px;background:#eef4f0;font-size:23px}
.recipe-password-modal .field{margin-top:16px}.recipe-password-error{margin-top:8px;padding:9px 11px;border-radius:9px;background:#fee8e5;color:#a3433a;font-size:10px;font-weight:700}
.recipe-security-panel .field{max-width:460px}.recipe-security-panel .field small{display:block;margin-top:7px;color:var(--muted);font-size:9px}
@media(max-width:1250px){.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.recipe-grid{grid-template-columns:1fr}.recipe-card-head h4{white-space:normal}}
.api-panel{margin-top:18px}
.integration-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}
.mode-card{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--line);border-radius:13px;padding:13px;cursor:pointer;background:#fff}
.mode-card.selected{border-color:#5e8d72;background:#f0f6f2;box-shadow:inset 0 0 0 1px #5e8d72}
.mode-card input{margin-top:2px;accent-color:var(--green)}
.mode-card b,.mode-card span{display:block}.mode-card b{font-size:11px}.mode-card span{font-size:9px;color:var(--muted);line-height:1.45;margin-top:4px}
.security-note{margin:13px 0 0;color:#8a6a32;font-size:9px;line-height:1.5}
@media(max-width:820px){.sidebar{height:100dvh}.content{min-height:calc(100dvh - 78px);padding-bottom:70px}.integration-choice{grid-template-columns:1fr}}

/* Interactive notifications and expanded dashboard */
.notification-wrap{position:relative;display:flex;align-items:center}
.notification{width:38px;height:38px;margin:0;border-radius:12px;display:grid;place-items:center;transition:background .16s,transform .16s}
.notification:hover,.notification[aria-expanded="true"]{background:#e6eee9;transform:translateY(-1px)}
.notification svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notification b{right:-2px;top:-5px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px}
.notification-menu{display:none;position:absolute;right:0;top:48px;width:350px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 22px 60px rgba(20,48,35,.18);padding:8px;z-index:80}
.notification-menu.open{display:block;animation:notification-in .16s ease-out}
@keyframes notification-in{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
.notification-head{display:flex;align-items:center;justify-content:space-between;padding:9px 10px 12px;border-bottom:1px solid var(--line)}
.notification-head strong,.notification-head span{display:block}.notification-head strong{font-family:Georgia,serif;font-size:17px}.notification-head span{font-size:9px;color:var(--muted);margin-top:3px}
.notification-close{border:0;background:#eff3f0;color:var(--green);border-radius:9px;width:29px;height:29px;cursor:pointer;font-size:18px}
.notification-list{padding-top:5px}.notification-item{width:100%;border:0;background:#fff;border-radius:11px;padding:11px 9px;display:grid;grid-template-columns:9px 1fr auto;gap:10px;align-items:center;text-align:left;cursor:pointer;color:var(--ink)}
.notification-item:hover{background:#f4f7f5}.notification-item>i{width:8px;height:8px;border-radius:50%;background:#5d9a70}.notification-item>i.amber{background:var(--amber)}.notification-item>i.blue{background:#71a6c9}
.notification-item strong,.notification-item small{display:block}.notification-item strong{font-size:11px}.notification-item small{font-size:9px;color:var(--muted);line-height:1.4;margin-top:3px}.notification-item>b{font-size:19px;color:#98a49d}
.chart-value{height:15px;font-size:8px;color:var(--green);white-space:nowrap}
.alert-link{border:0;width:100%;text-align:left;cursor:pointer;color:var(--ink)}.alert-link:hover{background:#eff4f1}.alert-link div{flex:1}.alert-link em{font-style:normal;font-size:18px;color:#8d9c94}
.dashboard-detail-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);margin-top:18px}
.ranking-list{display:grid;gap:13px}.ranking-row{display:grid;grid-template-columns:27px 1fr auto;gap:11px;align-items:center}.ranking-row>strong{width:27px;height:27px;border-radius:9px;background:#edf3ef;color:var(--green);display:grid;place-items:center;font-size:10px}.ranking-row span{font-size:11px;font-weight:700}.ranking-row>b{text-align:right;font-size:10px}.ranking-row small{display:block;color:var(--muted);font-weight:500;margin-top:3px}.ranking-bar{height:6px;background:#edf1ee;border-radius:6px;overflow:hidden;margin-top:7px}.ranking-bar i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#397659,#7bac8b)}
.payment-summary{display:grid;grid-template-columns:130px 1fr;gap:22px;align-items:center}.donut{width:126px;height:126px;border-radius:50%;display:grid;place-items:center}.donut>div{width:78px;height:78px;border-radius:50%;background:#fff;display:grid;place-content:center;text-align:center}.donut b{font-family:Georgia,serif;font-size:24px}.donut span{display:block;color:var(--muted);font-size:9px}.payment-legend{display:grid;gap:10px}.payment-legend>div{display:grid;grid-template-columns:8px 1fr auto;gap:7px;align-items:center;font-size:10px}.payment-legend i{width:8px;height:8px;border-radius:50%}.payment-legend b{font-size:10px}.payment-legend small{grid-column:2/4;color:var(--muted);font-size:9px;margin-top:-5px}.muted-empty{color:var(--muted);font-size:10px}.empty.compact{padding:30px 10px}.dashboard-recent{margin-top:18px}.empty-cell{text-align:center!important;color:var(--muted);padding:28px!important}
@media(max-width:1100px){.dashboard-detail-grid{grid-template-columns:1fr}.payment-summary{grid-template-columns:126px minmax(0,1fr)}}
@media(max-width:820px){.notification-menu{position:fixed;right:14px;left:14px;top:70px;width:auto}.dashboard-detail-grid{grid-template-columns:1fr}}
@media(max-width:540px){.payment-summary{grid-template-columns:1fr}.donut{margin:auto}.chart-value{display:none}}

/* Refined checkout modal */
body.modal-open{overflow:hidden}
.modal-wrap.open{animation:backdrop-in .18s ease-out;backdrop-filter:blur(4px)}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
.payment-modal{width:min(880px,100%);padding:0;overflow:hidden;border:1px solid rgba(255,255,255,.5);box-shadow:0 32px 90px rgba(7,31,19,.28);animation:modal-rise .22s cubic-bezier(.2,.8,.2,1);position:relative}
@keyframes modal-rise{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
.modal-x{position:absolute;right:17px;top:17px;width:34px;height:34px;border:1px solid rgba(255,255,255,.22);border-radius:11px;background:rgba(255,255,255,.12);color:white;font-size:20px;line-height:1;cursor:pointer;z-index:3;transition:.15s}
.modal-x:hover{background:rgba(255,255,255,.22);transform:rotate(4deg)}
.payment-hero{background:linear-gradient(125deg,#123f2c,#236344);color:#fff;padding:25px 66px 25px 28px;display:grid;grid-template-columns:48px 1fr auto;gap:15px;align-items:center;position:relative;overflow:hidden}
.payment-hero:after{content:"";position:absolute;width:190px;height:190px;border:32px solid rgba(255,255,255,.055);border-radius:50%;right:-75px;top:-85px}
.payment-hero-icon{width:48px;height:48px;border-radius:15px;background:rgba(255,255,255,.13);display:grid;place-items:center}.payment-hero-icon svg{width:25px;height:25px;fill:none;stroke:#dce96f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.payment-hero>div:nth-child(2){position:relative;z-index:1}.payment-hero>div>span{font-size:9px;font-weight:800;letter-spacing:1.3px;color:#cbdccf}.payment-hero h3{color:#fff;font-size:24px;margin:3px 0 4px}.payment-hero p{color:#c7d9ce;margin:0;font-size:10px}
.payment-total{position:relative;z-index:1;text-align:right}.payment-total small,.payment-total strong{display:block}.payment-total small{color:#c7d9ce;font-size:9px;margin-bottom:4px}.payment-total strong{font-family:Georgia,serif;color:#fff;font-size:26px;white-space:nowrap}
.payment-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.8fr);background:#f8faf8}.payment-main{padding:25px 27px;background:#fff}.checkout-section+.checkout-section{border-top:1px solid var(--line);padding-top:22px;margin-top:23px}.checkout-section-title{display:flex;align-items:center;gap:10px;margin-bottom:15px}.checkout-section-title>span{width:27px;height:27px;border-radius:9px;background:#e7f0ea;color:var(--green);display:grid;place-items:center;font-size:10px;font-weight:800}.checkout-section-title b,.checkout-section-title small{display:block}.checkout-section-title b{font-size:12px}.checkout-section-title small{font-size:9px;color:var(--muted);margin-top:2px}
.payment-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.payment-method{position:relative;border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px;text-align:left;cursor:pointer;color:var(--ink);transition:border-color .16s,box-shadow .16s,transform .16s}.payment-method:hover{border-color:#96b3a2;transform:translateY(-1px)}.payment-method.selected{border-color:#347457;background:#f1f7f3;box-shadow:inset 0 0 0 1px #347457}.payment-method>b,.payment-method>small{display:block}.payment-method>b{font-size:10px;margin-top:9px}.payment-method>small{font-size:8px;color:var(--muted);margin-top:3px}.payment-method>i{display:none;position:absolute;right:8px;top:8px;width:17px;height:17px;border-radius:50%;background:var(--green);color:#fff;font-size:9px;font-style:normal;place-items:center}.payment-method.selected>i{display:grid}.method-icon{width:31px;height:27px;border-radius:8px;display:grid;place-items:center;background:#e6f2e9;color:#226044;font-size:9px;font-weight:850}.method-icon.cash{background:#fff0d7;color:#8b571f}.method-icon.card{background:#e9f0fa;color:#466b95;font-size:17px}
.customer-section .field input{height:45px;background:#fbfcfb;border-color:#dfe6e1;font-size:12px}.customer-section .field input:focus{outline:2px solid #d8e9de;border-color:#55886b}
.order-review{padding:25px 24px;border-left:1px solid var(--line);background:#f7f9f7;display:flex;flex-direction:column}.order-review-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.order-review-head b,.order-review-head small{display:block}.order-review-head>b{font-size:12px}.order-review-head small{font-size:9px;color:var(--muted);margin-top:3px}.order-review-items{display:grid;gap:11px;max-height:145px;overflow:auto;padding-right:4px}.review-item{display:grid;grid-template-columns:25px 1fr auto;gap:8px;align-items:center}.review-item>span{width:25px;height:25px;border-radius:8px;background:#e5eee8;color:var(--green);display:grid;place-items:center;font-size:9px;font-weight:800}.review-item b,.review-item small{display:block}.review-item b{font-size:10px}.review-item small{font-size:8px;color:var(--muted);margin-top:2px}.review-item>strong{font-size:10px;white-space:nowrap}.order-totals{border-top:1px dashed #cdd7d1;margin-top:17px;padding-top:10px}.order-totals>div{display:flex;justify-content:space-between;font-size:10px;padding:5px 0}.order-totals .grand-total{border-top:1px solid var(--line);margin-top:6px;padding-top:12px;align-items:center}.grand-total span{font-family:Georgia,serif;font-size:17px}.grand-total b{font-family:Georgia,serif;font-size:19px;color:var(--green)}
.stock-notice{display:flex;gap:8px;align-items:flex-start;background:#eaf3ed;color:#42634f;border-radius:10px;padding:10px;margin-top:auto;font-size:8px;line-height:1.45}.stock-notice svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:#4c8060;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.payment-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px;background:#fff;border-top:1px solid var(--line)}.payment-cancel{padding:12px 20px}.payment-submit{min-width:285px;padding:12px 14px;display:grid;grid-template-columns:1fr auto auto;gap:13px;align-items:center;text-align:left;box-shadow:0 8px 20px rgba(24,75,53,.17)}.payment-submit span{font-size:11px}.payment-submit strong{font-size:11px}.payment-submit>b{font-size:17px}
@media(max-width:740px){.modal-wrap{padding:10px;align-items:end}.payment-modal{max-height:calc(100dvh - 20px);border-radius:20px 20px 14px 14px}.payment-hero{grid-template-columns:42px 1fr;padding:20px 54px 20px 20px}.payment-hero-icon{width:42px;height:42px}.payment-total{grid-column:1/3;text-align:left;display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid rgba(255,255,255,.13)}.payment-total small{margin:0}.payment-total strong{font-size:22px}.payment-body{grid-template-columns:1fr}.payment-main{padding:20px}.order-review{border-left:0;border-top:1px solid var(--line);padding:20px}.stock-notice{margin-top:15px}.payment-actions{position:sticky;bottom:0;padding:12px 16px}.payment-submit{min-width:0;flex:1}.payment-methods{grid-template-columns:1fr}.payment-method{display:grid;grid-template-columns:36px 1fr;column-gap:8px;align-items:center}.payment-method>b,.payment-method>small{grid-column:2;margin:0}.payment-method>b{grid-row:1}.payment-method>small{grid-row:2}.method-icon{grid-row:1/3}.payment-method>i{top:50%;transform:translateY(-50%);right:12px}}

/* Multi-ingredient recipe builder */
.modal-x-light{color:var(--green);border-color:var(--line);background:#eef4f0}.modal-x-light:hover{background:#e1ece5}
.recipe-builder-modal{width:min(820px,100%);padding:0;overflow:hidden;position:relative;animation:modal-rise .22s cubic-bezier(.2,.8,.2,1)}
.recipe-builder-head{padding:25px 70px 21px 28px;background:linear-gradient(120deg,#f2f7f3,#e7f0ea);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce7df}.recipe-builder-head>div>span,.transfer-head>div>span{font-size:9px;font-weight:850;letter-spacing:1.2px;color:#56806a}.recipe-builder-head h3{font-size:24px;margin:4px 0}.recipe-builder-head p{margin:0;color:var(--muted);font-size:10px}.recipe-menu-icon{width:53px;height:53px;border-radius:16px;background:#fff;display:grid;place-items:center;font-size:29px;box-shadow:0 8px 25px rgba(24,75,53,.08)}
.recipe-menu-picker{padding:19px 27px;display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:18px;align-items:end;border-bottom:1px solid var(--line)}.current-recipe{min-height:57px;background:#f7f9f7;border-radius:11px;padding:10px 12px}.current-recipe>span{display:block;color:var(--muted);font-size:9px;margin-bottom:6px}.current-recipe>div{display:flex;gap:5px;flex-wrap:wrap}.current-recipe b{font-size:8px;padding:4px 7px;border-radius:9px;background:#e7f0ea;color:#456b56}
.ingredient-builder{padding:21px 27px 6px}.ingredient-builder-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.ingredient-builder-title b,.ingredient-builder-title span{display:block}.ingredient-builder-title b{font-size:12px}.ingredient-builder-title span{font-size:9px;color:var(--muted);margin-top:3px}.ingredient-rows{display:grid;gap:9px;max-height:255px;overflow:auto;padding:2px 5px 2px 0}.ingredient-row{display:grid;grid-template-columns:30px minmax(180px,1fr) minmax(150px,.65fr) 32px;gap:9px;align-items:end;padding:11px;border:1px solid var(--line);border-radius:13px;background:#fafbfa}.ingredient-number{width:28px;height:38px;border-radius:9px;background:#e4eee7;color:var(--green);display:grid;place-items:center;font-weight:850;font-size:10px}.ingredient-row .field label{font-size:9px}.ingredient-row select,.ingredient-row input{height:38px;padding:8px 10px}.ingredient-qty>div{display:flex}.ingredient-qty input{border-radius:10px 0 0 10px}.ingredient-qty span{min-width:43px;border:1px solid var(--line);border-left:0;border-radius:0 10px 10px 0;background:#eef3ef;display:grid;place-items:center;color:var(--muted);font-size:9px}.ingredient-remove{width:31px;height:38px;border:0;border-radius:9px;background:#f7e9e7;color:#a94e44;font-size:17px;cursor:pointer}.ingredient-remove:hover{background:#f3d8d4}.recipe-builder-actions{padding:15px 27px 20px}.recipe-builder-actions>span{margin-right:auto;color:var(--muted);font-size:9px}

/* Partial cold-storage transfer */
.transfer-modal{width:min(570px,100%);padding:0;overflow:hidden;position:relative;animation:modal-rise .22s cubic-bezier(.2,.8,.2,1)}
.transfer-head{padding:25px 65px 21px 27px;display:flex;gap:14px;align-items:center;background:linear-gradient(120deg,#eff6f8,#e6f1f4);border-bottom:1px solid #d8e5e9}.transfer-icon{width:48px;height:48px;border-radius:15px;background:#fff;display:grid;place-items:center;font-size:24px;box-shadow:0 7px 22px rgba(55,105,125,.09)}.transfer-head h3{font-size:23px;margin:3px 0}.transfer-head p{margin:0;color:var(--muted);font-size:10px}.transfer-balance{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:20px 25px 0}.transfer-balance>div{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fafbfa}.transfer-balance span,.transfer-balance strong{display:block}.transfer-balance span{font-size:9px;color:var(--muted);margin-bottom:5px}.transfer-balance strong{font-family:Georgia,serif;font-size:19px;color:var(--green)}
.transfer-control{padding:20px 25px 13px}.transfer-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.transfer-label label{font-size:10px;font-weight:750}.transfer-label strong{display:flex;align-items:center}.transfer-label input{width:100px;height:39px;border:1px solid var(--line);border-radius:10px 0 0 10px;padding:8px 10px;text-align:right;outline:none}.transfer-label strong>span{height:39px;min-width:45px;border:1px solid var(--line);border-left:0;border-radius:0 10px 10px 0;background:#eef3ef;display:grid;place-items:center;color:var(--muted);font-size:9px}.transfer-range{width:100%;height:7px;accent-color:var(--green);cursor:pointer}.range-scale{display:flex;justify-content:space-between;color:var(--muted);font-size:8px;margin-top:5px}.transfer-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:14px}.transfer-presets button{border:1px solid var(--line);background:#fff;color:var(--green);border-radius:9px;padding:8px;font-size:9px;font-weight:750;cursor:pointer}.transfer-presets button:hover,.transfer-presets button.active{background:var(--green);border-color:var(--green);color:#fff}.transfer-note{display:flex;gap:9px;margin:0 25px 4px;padding:11px 12px;border-radius:11px;background:#eef5f0;color:#456552;font-size:9px;line-height:1.45}.transfer-note b{flex:0 0 auto}.transfer-actions{padding:14px 25px 21px}
@media(max-width:650px){.recipe-builder-modal,.transfer-modal{max-height:calc(100dvh - 20px);border-radius:20px 20px 14px 14px}.recipe-menu-picker{grid-template-columns:1fr}.ingredient-row{grid-template-columns:28px 1fr 31px}.ingredient-select,.ingredient-qty{grid-column:2}.ingredient-qty{grid-row:2}.ingredient-remove{grid-column:3;grid-row:1/3;align-self:center}.ingredient-number{grid-row:1/3;align-self:center}.recipe-builder-actions{flex-wrap:wrap}.recipe-builder-actions>span{width:100%;margin-bottom:4px}.transfer-balance{grid-template-columns:1fr}.transfer-label{align-items:flex-start;gap:8px;flex-direction:column}.transfer-actions{position:sticky;bottom:0;background:#fff}.transfer-actions .btn-primary{flex:1}.recipe-builder-head{padding-left:20px}.ingredient-builder,.recipe-menu-picker{padding-left:20px;padding-right:20px}}

/* Product photos, automatic food cost, and weighted stock pricing */
.food-art{position:relative;overflow:hidden}.food-art.has-image{height:180px;background:#eee6dc}.food-art img{position:absolute;inset:0;width:100%;height:100%;padding:5px;object-fit:contain;object-position:center;z-index:2}.product-card:hover .food-art img{transform:none}.food-art.has-image span{opacity:0}.food-art.image-error span{opacity:1}.product-price-row{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:10px}.product-price-row .product-price{margin:0}.product-price-row>small{font-size:8px;color:var(--muted);white-space:nowrap}
.product-card.has-photo{position:relative;overflow:visible;border-color:#d5dfd8;background:linear-gradient(150deg,#fff 0%,#f7faf8 62%,#edf4ef 100%);box-shadow:0 6px 14px rgba(25,61,42,.09);transition:transform .14s ease,box-shadow .14s ease}
.product-card.has-photo:before,.product-card.has-photo .food-art.has-image:before,.product-card.has-photo .food-art.has-image:after{display:none}
.products .food-art{height:180px}.product-card.has-photo .food-art.has-image{height:180px;margin:-3px -3px 14px;overflow:visible;background:transparent}
.product-card.has-photo .food-art img,.product-card.has-photo:hover .food-art img{padding:0;border-radius:18px;object-fit:contain;object-position:center;filter:saturate(1.04);transform:none;box-shadow:0 7px 14px rgba(21,54,37,.13);transition:none}
.product-card.has-photo:hover{transform:translateY(-2px);border-color:#b6c9bd;box-shadow:0 8px 17px rgba(25,61,42,.11)}
.product-card.has-photo h4{text-align:left;font-size:13px}.product-card.has-photo .product-meta,.product-card.has-photo .product-price-row{text-align:left}
.products{align-items:start}
@media(max-width:650px){.products .food-art,.product-card.has-photo .food-art.has-image{height:145px}.product-card.has-photo{padding:10px}.product-card.has-photo .food-art img,.product-card.has-photo:hover .food-art img{border-radius:16px}.product-card.has-photo:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.product-card.has-photo,.product-card.has-photo:before,.product-card.has-photo .food-art img,.product-card.has-photo .food-art.has-image:before{transition:none!important}.product-card.has-photo:hover,.product-card.has-photo:hover .food-art img{transform:none}}
.product-table-name{display:flex;align-items:center;gap:9px}.product-thumb{width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#efe9d9;display:grid;place-items:center;position:relative;overflow:hidden;font-size:19px}.product-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2}.field-wide{grid-column:1/-1}.field>small{display:block;color:var(--muted);font-size:8px;margin-top:5px}.auto-cost-preview{padding:13px 15px;border-radius:12px;background:#edf4ef;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center}.auto-cost-preview span{font-size:10px;color:#4b6857}.auto-cost-preview strong{font-family:Georgia,serif;font-size:19px;color:var(--green)}.auto-cost-preview small{grid-column:1/3;color:var(--muted);font-size:8px}
.stock-purchase-modal{width:min(620px,100%);padding:0;overflow:hidden;position:relative;animation:modal-rise .22s cubic-bezier(.2,.8,.2,1)}.stock-purchase-head{padding:25px 65px 21px 27px;background:linear-gradient(120deg,#f1f7f3,#e6f0e9);border-bottom:1px solid #dbe7df}.stock-purchase-head>span{font-size:9px;font-weight:850;letter-spacing:1.2px;color:#56806a}.stock-purchase-head h3{font-size:23px;margin:4px 0}.stock-purchase-head p{margin:0;color:var(--muted);font-size:10px}.stock-purchase-body{padding:22px 26px 5px}.stock-purchase-body>.field{margin-bottom:14px}.cost-calculation{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:16px}.cost-calculation>div{border:1px solid var(--line);border-radius:12px;background:#fafbfa;padding:12px}.cost-calculation span,.cost-calculation b{display:block}.cost-calculation span{font-size:8px;color:var(--muted);margin-bottom:6px}.cost-calculation b{font-size:10px}.cost-calculation .new-cost{background:#eaf3ed;border-color:#cddfd3}.cost-calculation .new-cost b{color:var(--green);font-family:Georgia,serif;font-size:14px}.weighted-note{display:flex;gap:8px;align-items:flex-start;background:#fff7e8;color:#72582d;border-radius:10px;padding:10px 12px;margin-top:12px;font-size:8px;line-height:1.45}.weighted-note b{flex:0 0 auto}
@media(max-width:650px){.stock-purchase-modal{max-height:calc(100dvh - 20px);border-radius:20px 20px 14px 14px}.cost-calculation{grid-template-columns:1fr}.stock-purchase-body{padding:20px}.product-price-row{display:block}.product-price-row>small{display:block;margin-top:4px}}

/* Scroll-safe dialogs and configurable payment details */
.recipe-builder-modal{display:flex;flex-direction:column;max-height:calc(100dvh - 40px);overflow:hidden}.recipe-builder-head,.recipe-menu-picker,.recipe-builder-actions{flex:0 0 auto}.ingredient-builder{flex:1;min-height:0;overflow-y:auto;padding-bottom:18px}.ingredient-rows{max-height:none;overflow:visible}.recipe-builder-actions{position:relative;z-index:3;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(19,54,38,.06);margin-top:0}
.payment-modal{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);overflow:hidden}.payment-hero,.payment-actions{flex:0 0 auto}.payment-body{flex:1;min-height:0;overflow-y:auto}.payment-main,.order-review{min-height:min-content}.four-methods{grid-template-columns:repeat(4,1fr)}.method-icon.transfer{background:#f0eafb;color:#6d50a2;font-size:16px}
.payment-method-detail{margin-top:14px;border-radius:14px;background:#f6f8f6;border:1px solid var(--line);overflow:hidden}.qris-payment-detail{display:grid;grid-template-columns:104px 1fr;gap:14px;align-items:center;padding:13px}.qris-payment-detail>img{width:104px;height:104px;object-fit:contain;border-radius:9px;background:#fff;border:1px solid var(--line)}.qris-payment-detail>div:last-child span,.qris-payment-detail>div:last-child strong,.qris-payment-detail>div:last-child small{display:block}.qris-payment-detail>div:last-child span{font-size:9px;color:var(--muted)}.qris-payment-detail>div:last-child strong{font-family:Georgia,serif;font-size:20px;color:var(--green);margin:5px 0}.qris-payment-detail>div:last-child small{font-size:8px;color:var(--muted);line-height:1.4}.qris-empty{height:104px;border:1px dashed #b9cbc0;border-radius:10px;display:grid;place-content:center;text-align:center;background:#fff}.qris-empty b{font-size:20px;color:var(--green)}.qris-empty span{display:block;font-size:7px;color:var(--muted);padding:4px 7px;max-width:90px}
.cash-payment-detail{padding:14px}.cash-payment-detail>.field{margin-bottom:10px}.money-input{display:flex}.money-input>span{width:43px;border:1px solid var(--line);border-right:0;border-radius:10px 0 0 10px;background:#e8f0eb;display:grid;place-items:center;font-size:10px;font-weight:750;color:var(--green)}.money-input input{border-radius:0 10px 10px 0!important;font-size:14px!important;font-weight:750}.cash-presets{display:flex;gap:7px;flex-wrap:wrap}.cash-presets button{border:1px solid #cddbd2;background:#fff;color:var(--green);border-radius:9px;padding:7px 10px;font-size:9px;font-weight:750;cursor:pointer}.cash-presets button:hover{background:var(--green);border-color:var(--green);color:#fff}.change-result{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed #ccd6d0;margin-top:11px;padding-top:11px}.change-result span{font-size:10px;color:var(--muted)}.change-result strong{font-family:Georgia,serif;font-size:19px;color:var(--green)}.change-result strong.short{color:var(--red)}
.terminal-payment-detail{padding:17px;text-align:center}.terminal-payment-detail span,.terminal-payment-detail strong,.terminal-payment-detail small{display:block}.terminal-payment-detail span{font-size:9px;color:var(--muted)}.terminal-payment-detail strong{font-family:Georgia,serif;font-size:25px;color:var(--green);margin:5px}.terminal-payment-detail small{font-size:8px;color:var(--muted)}
.bank-payment-detail{display:grid;grid-template-columns:1fr auto;gap:15px;padding:15px;align-items:center}.bank-payment-detail>div:last-child{text-align:right;border-left:1px solid var(--line);padding-left:15px}.bank-payment-detail span,.bank-payment-detail strong,.bank-payment-detail small{display:block}.bank-payment-detail span{font-size:8px;color:var(--muted)}.bank-payment-detail strong{font-family:Georgia,serif;font-size:17px;color:var(--green);margin:4px 0}.bank-payment-detail small{font-size:8px;color:var(--muted)}
.payment-settings-panel{margin-top:18px}.payment-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:22px;align-items:center}.qris-settings-preview{min-height:180px;border:1px dashed #bccdc2;border-radius:14px;background:#f8faf8;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:13px}.qris-settings-preview>img{width:130px;height:130px;object-fit:contain;background:#fff;border-radius:10px}.qris-settings-preview>small{color:var(--muted);font-size:8px;margin-top:8px}.qris-placeholder{width:110px;height:110px;border-radius:12px;background:#e7f0ea;display:grid;place-content:center;text-align:center;color:var(--green)}.qris-placeholder b{font-size:25px}.qris-placeholder span{font-size:8px}.qris-settings-preview.empty:before{content:"Gambar QRIS tidak dapat dimuat";font-size:9px;color:var(--red)}
@media(max-width:900px){.four-methods{grid-template-columns:repeat(2,1fr)}.payment-settings-layout{grid-template-columns:1fr}.qris-settings-preview{min-height:150px}}
@media(max-width:650px){.recipe-builder-modal{max-height:calc(100dvh - 20px)}.payment-modal{max-height:calc(100dvh - 20px)}.payment-body{display:block}.payment-main,.order-review{min-height:auto}.bank-payment-detail{grid-template-columns:1fr}.bank-payment-detail>div:last-child{text-align:left;border-left:0;border-top:1px solid var(--line);padding:11px 0 0}.qris-payment-detail{grid-template-columns:90px 1fr}.qris-payment-detail>img,.qris-empty{width:90px;height:90px}}

/* Cold-storage valuation and payment legend hierarchy */
.cold-purchase-head{background:linear-gradient(120deg,#eef6f8,#e4f0f3)}.cold-cost-calculation{grid-template-columns:repeat(3,1fr)}.transfer-cost-info{display:grid;grid-template-columns:1fr auto;gap:4px 10px;margin:12px 25px 0;padding:11px 12px;border:1px solid #d7e4dd;border-radius:11px;background:#f3f7f4}.transfer-cost-info span{font-size:9px;color:var(--muted)}.transfer-cost-info b{font-size:10px;color:var(--green)}.transfer-cost-info small{grid-column:1/3;color:var(--muted);font-size:8px}
.payment-legend>div{grid-template-columns:8px 1fr auto;grid-template-areas:"dot name amount" ". percent percent"}.payment-legend>div>i{grid-area:dot}.payment-legend>div>span{grid-area:name}.payment-legend>div>small{grid-area:amount;color:var(--ink);font-size:10px;font-weight:800;margin:0;text-align:right}.payment-legend>div>b{grid-area:percent;color:var(--muted);font-size:9px;font-weight:500;text-align:left;margin-top:-4px}
@media(max-width:650px){.cold-cost-calculation{grid-template-columns:1fr}.transfer-cost-info{margin-left:20px;margin-right:20px}}

/* Financial reports */
.report-period-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(120deg,#174a34,#286246);color:#fff;border-radius:17px;padding:16px 20px;margin-bottom:16px}.report-period-banner span,.report-period-banner strong{display:block}.report-period-banner span{font-size:8px;letter-spacing:1px;color:#bdd3c5}.report-period-banner strong{font-family:Georgia,serif;font-size:20px;margin-top:3px}.report-period-banner p{max-width:590px;font-size:9px;line-height:1.5;color:#c8d9cf;margin:0;text-align:right}
.report-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:12px}.report-metric{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;min-width:0}.report-metric>div{display:flex;align-items:center;justify-content:space-between}.report-metric span{font-size:9px;color:var(--muted);font-weight:700}.report-metric i{width:8px;height:8px;border-radius:50%;background:#5c956f}.report-metric strong,.report-metric small{display:block}.report-metric strong{font-family:Georgia,serif;font-size:19px;margin:10px 0 5px;white-space:nowrap}.report-metric small{font-size:8px;color:var(--muted);line-height:1.35}.report-metric.amber i{background:#e7b34d}.report-metric.blue i{background:#6795bd}.report-metric.purple i{background:#8b74b2}.report-metric.neutral i{background:#9ba59f}.report-metric.dark i{background:#163f2e}.report-metric.blue strong,.report-metric.green strong{color:var(--green)}
.report-mini-strip{display:grid;grid-template-columns:repeat(3,1fr);background:#edf3ef;border-radius:13px;margin-bottom:17px;overflow:hidden}.report-mini-strip>div{display:flex;justify-content:center;align-items:center;gap:9px;padding:11px;border-right:1px solid #d9e4dc}.report-mini-strip>div:last-child{border:0}.report-mini-strip span{font-size:9px;color:var(--muted)}.report-mini-strip b{font-size:10px;color:var(--green)}
.report-top-grid{grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr)}.chart-legend{display:flex;gap:12px}.chart-legend span{font-size:8px;color:var(--muted)}.chart-legend i{display:inline-block;width:7px;height:7px;border-radius:2px;background:#347457;margin-right:4px}.chart-legend span:last-child i{background:#e2b451}.finance-chart{height:195px;display:flex;align-items:flex-end;gap:11px;padding-top:12px}.finance-chart-col{height:100%;flex:1;min-width:20px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.finance-bars{height:100%;width:100%;display:flex;justify-content:center;align-items:flex-end;gap:3px}.finance-bars i,.finance-bars b{width:min(18px,42%);min-height:4px;border-radius:5px 5px 2px 2px;background:linear-gradient(#6ca082,#2f6c50)}.finance-bars b{background:linear-gradient(#f0ca71,#dba33d)}.finance-chart-col>span{font-size:8px;color:var(--muted);white-space:nowrap}
.report-payment-list{display:grid;gap:9px}.report-payment-list>div{display:grid;grid-template-columns:8px 1fr auto;gap:9px;align-items:center;padding:9px 10px;background:#f8f9f8;border-radius:10px}.report-payment-list>div>i{width:8px;height:8px;border-radius:50%;background:#39795a}.report-payment-list span b,.report-payment-list span small{display:block}.report-payment-list span b{font-size:10px}.report-payment-list span small{font-size:8px;color:var(--muted);margin-top:2px}.report-payment-list>div>strong{font-size:10px}.report-section{margin-top:17px}.profit-value{color:var(--green)}.report-mekari-note{margin-top:17px;margin-bottom:0}
@media(max-width:1250px){.report-metrics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.report-top-grid{grid-template-columns:1fr}.report-period-banner{align-items:flex-start;flex-direction:column}.report-period-banner p{text-align:left}.report-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.report-metrics,.report-mini-strip{grid-template-columns:1fr}.report-mini-strip>div{border-right:0;border-bottom:1px solid #d9e4dc;justify-content:space-between}.finance-chart{overflow-x:auto}.finance-chart-col{min-width:45px}}

/* Receipt preview and thermal printing */
.receipt-settings-panel{margin-top:18px}.receipt-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:center}.thermal-help{padding:18px;border-radius:14px;background:linear-gradient(130deg,#edf5f0,#e4efe8);color:#3f634f}.thermal-help b,.thermal-help span{display:block}.thermal-help b{font-family:Georgia,serif;font-size:17px;color:var(--green);margin-bottom:7px}.thermal-help span{font-size:9px;line-height:1.55}
.receipt-preview-modal{width:min(820px,100%);padding:0;overflow:hidden;position:relative;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;animation:modal-rise .22s cubic-bezier(.2,.8,.2,1)}.receipt-success{flex:0 0 auto;text-align:center;padding:22px 60px 18px;background:linear-gradient(120deg,#edf6f0,#e3f0e7);border-bottom:1px solid #d7e4da}.receipt-success>div{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;margin:0 auto 7px;background:var(--green);color:#fff;font-size:18px}.receipt-success>span{font-size:8px;letter-spacing:1.2px;font-weight:850;color:#548067}.receipt-success h3{font-size:23px;margin:3px 0}.receipt-success p{font-size:9px;color:var(--muted);margin:0}
.receipt-preview-body{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:minmax(280px,1fr) minmax(220px,.65fr);gap:26px;padding:24px;background:#f3f5f3;align-items:start}.receipt-paper{margin:0 auto;background:#fff;color:#111;padding:18px 14px;font-family:"Courier New",monospace;font-size:10px;line-height:1.35;box-shadow:0 10px 30px rgba(20,45,32,.13);width:58mm;min-height:300px}.receipt-paper.paper-80{width:80mm}.receipt-paper header{text-align:center}.receipt-paper header h2{font-family:"Courier New",monospace;font-size:16px;margin:0 0 5px;text-transform:uppercase}.receipt-paper header p{font-size:8px;margin:2px 0}.receipt-rule{border-top:1px dashed #222;margin:10px 0}.receipt-meta>div,.receipt-totals>div,.receipt-item>div{display:flex;justify-content:space-between;gap:10px}.receipt-meta>div{font-size:8px;margin:3px 0}.receipt-meta b{text-align:right}.receipt-item{margin:7px 0}.receipt-item>b{display:block;font-size:9px;margin-bottom:2px}.receipt-item div{font-size:8px}.receipt-totals>div{font-size:8px;margin:4px 0}.receipt-totals .receipt-grand{font-size:12px;border-top:1px solid #222;border-bottom:1px solid #222;padding:6px 0;margin:7px 0}.receipt-paper footer{text-align:center}.receipt-paper footer p{font-size:9px;margin:0 0 5px}.receipt-paper footer small{font-size:7px}
.receipt-print-info{padding:21px;border-radius:16px;background:#fff;border:1px solid var(--line);text-align:center}.printer-icon{width:50px;height:50px;border-radius:15px;background:#e7f0ea;color:var(--green);display:grid;place-items:center;margin:0 auto;font-size:23px}.receipt-print-info h4{font-family:Georgia,serif;font-size:18px;margin:12px 0 5px}.receipt-print-info>p{color:var(--muted);font-size:9px;line-height:1.5;margin:0}.print-steps{display:grid;gap:8px;text-align:left;margin-top:18px}.print-steps span{display:flex;align-items:center;gap:8px;font-size:9px;color:#526159}.print-steps b{width:22px;height:22px;flex:0 0 22px;border-radius:7px;background:#edf3ef;display:grid;place-items:center;color:var(--green);font-size:8px}.receipt-copy-info{text-align:left;border-top:1px solid var(--line);margin-top:17px;padding-top:13px}.receipt-copy-info span,.receipt-copy-info b{display:block}.receipt-copy-info span{font-size:8px;color:var(--muted)}.receipt-copy-info b{font-size:10px;margin-top:4px}.receipt-actions{flex:0 0 auto;display:flex;justify-content:flex-end;gap:9px;padding:15px 22px;background:#fff;border-top:1px solid var(--line)}.receipt-print-button{min-width:205px;padding:12px 17px}.receipt-print-button span{font-size:15px;margin-right:5px}
@media(max-width:820px){.receipt-settings-layout{grid-template-columns:1fr}.receipt-preview-body{grid-template-columns:1fr}.receipt-print-info{display:none}}
@media(max-width:540px){.receipt-preview-modal{max-height:calc(100dvh - 20px);border-radius:20px 20px 14px 14px}.receipt-preview-body{padding:17px}.receipt-paper.paper-80{width:100%;max-width:80mm}.receipt-actions{position:sticky;bottom:0;padding:11px}.receipt-actions .btn{flex:1}.receipt-print-button{min-width:0}}
@media print{
  @page{margin:0;size:auto}
  body.printing-receipt{background:#fff!important;overflow:visible!important}
  body.printing-receipt .app-shell,body.printing-receipt .toast,body.printing-receipt .receipt-success,body.printing-receipt .receipt-print-info,body.printing-receipt .receipt-actions,body.printing-receipt .modal-x{display:none!important}
  body.printing-receipt .modal-wrap,body.printing-receipt .modal-wrap.open,body.printing-receipt .receipt-preview-modal,body.printing-receipt .receipt-preview-body{display:block!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
  body.printing-receipt .receipt-paper{display:block!important;margin:0!important;box-shadow:none!important;border:0!important;padding:2mm!important;color:#000!important}
}

/* Purchase request cart, WhatsApp receipt, and inventory usage */
.purchase-wrap{position:relative;display:flex;align-items:center}.purchase-button{position:relative;width:38px;height:38px;display:grid;place-items:center;margin:0;border-radius:11px;background:#fff;border:1px solid var(--line);color:var(--green)}.purchase-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.purchase-button>b{position:absolute;right:-5px;top:-5px;min-width:17px;padding:2px 5px;border-radius:10px;background:#d07d2f;color:#fff;font-size:9px;line-height:1.25}.purchase-button>b.empty{display:none}.purchase-menu{display:none;position:absolute;right:0;top:48px;width:min(390px,calc(100vw - 30px));background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 55px rgba(19,55,40,.2);overflow:hidden;z-index:60}.purchase-menu.open{display:block}.purchase-menu-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid var(--line)}.purchase-menu-head strong,.purchase-menu-head span{display:block}.purchase-menu-head strong{font-family:Georgia,serif;font-size:16px}.purchase-menu-head span{font-size:9px;color:var(--muted);margin-top:3px}.purchase-menu-list{max-height:310px;overflow:auto}.purchase-menu-item{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 16px;border-bottom:1px solid #eef1ef}.purchase-menu-item>i{width:8px;height:8px;border-radius:50%;background:var(--amber)}.purchase-menu-item span strong,.purchase-menu-item span small{display:block}.purchase-menu-item span strong{font-size:11px}.purchase-menu-item span small{font-size:9px;color:var(--muted);margin-top:3px}.purchase-menu-item>b{font-size:10px;color:#9a611f}.purchase-open{width:calc(100% - 28px);margin:14px}.purchase-empty{text-align:center;color:var(--muted);font-size:10px;padding:28px 15px}.purchase-modal{width:min(880px,100%);padding:0;max-height:92vh;overflow:auto}.purchase-modal-head{padding:22px 25px;background:linear-gradient(120deg,#174a34,#286748);color:#fff;border-radius:20px 20px 0 0}.purchase-modal-head>span{font-size:9px;letter-spacing:1.2px;color:#bcd7c7}.purchase-modal-head h3{font-size:23px;margin:5px 0}.purchase-modal-head p{font-size:11px;margin:0;color:#d0dfd6}.purchase-modal-body{padding:22px 25px}.purchase-edit-table{border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:16px}.purchase-edit-head,.purchase-edit-row{display:grid;grid-template-columns:minmax(160px,1.4fr) minmax(115px,.7fr) minmax(145px,.8fr) minmax(110px,.7fr);gap:10px;align-items:center}.purchase-edit-head{background:#f2f5f2;color:var(--muted);padding:9px 12px;font-size:9px;text-transform:uppercase;font-weight:800}.purchase-edit-row{padding:11px 12px;border-top:1px solid var(--line)}.purchase-edit-row>div b,.purchase-edit-row>div small{display:block}.purchase-edit-row>div b{font-size:11px}.purchase-edit-row>div small{font-size:9px;color:var(--muted);margin-top:3px}.purchase-edit-row label{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 8px}.purchase-edit-row label input{width:100%;min-width:0;border:0;outline:0;padding:9px 3px;font-size:10px}.purchase-edit-row label span{font-size:9px;color:var(--muted)}.purchase-edit-row>strong{text-align:right;font-size:11px}.purchase-grand{display:flex;justify-content:flex-end;align-items:center;gap:20px;margin-top:16px;padding:14px;border-radius:11px;background:#f1f6f2}.purchase-grand span{font-size:10px;color:var(--muted)}.purchase-grand strong{font-family:Georgia,serif;font-size:20px;color:var(--green)}.purchase-actions{padding:0 25px 22px;margin-top:0}.inventory-usage{max-width:280px;white-space:normal!important}.inventory-usage span{display:inline-block;margin:2px 3px 2px 0;padding:4px 7px;border-radius:10px;background:#eaf3ed;color:#386449;font-size:9px;font-weight:700}.inventory-usage em{color:var(--muted);font-size:9px}.whatsapp-field{margin-top:12px}.whatsapp-field label small,.whatsapp-field>small{color:var(--muted);font-weight:400}.whatsapp-field>small{display:block;font-size:9px;margin-top:5px}.btn-whatsapp{background:#25d366;color:#fff}.btn-whatsapp span{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:5px;border-radius:50%;background:#fff;color:#199b49;font-size:8px;font-weight:900}.purchase-print-modal{width:min(1400px,100%);max-height:94vh;overflow:auto;border-radius:4px}.purchase-sheet{color:#111;background:#fff;font-family:Arial,sans-serif}.purchase-sheet h2{text-align:center;font:700 16px Arial,sans-serif;margin:0;border:1px solid #333;padding:7px;background:#f4eafa}.purchase-sheet-meta{display:grid;grid-template-columns:1fr 330px;gap:20px;border:1px solid #333;border-top:0;padding:10px 12px;font-size:10px}.purchase-sheet-meta>div{display:grid;grid-template-columns:120px 1fr;gap:5px}.purchase-sheet table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8px}.purchase-sheet th,.purchase-sheet td{border:1px solid #333;padding:5px 3px;text-align:center;overflow-wrap:anywhere}.purchase-sheet th:nth-child(3),.purchase-sheet td:nth-child(3){width:16%;text-align:left}.purchase-sheet th:nth-child(13),.purchase-sheet td:nth-child(13){width:10%}.purchase-sheet tr.blank td{height:25px}.purchase-sheet tfoot th{font-size:10px}.purchase-sheet-foot{display:flex;justify-content:space-between;gap:20px;padding:8px 3px;font-size:9px}
@media(max-width:820px){.top-actions{gap:8px}.purchase-edit-head{display:none}.purchase-edit-row{grid-template-columns:1fr 1fr}.purchase-edit-row>div{grid-column:1/-1}.purchase-modal-body{padding:16px}.purchase-actions{padding:0 16px 18px;flex-wrap:wrap}.purchase-actions .btn{flex:1}.receipt-actions{flex-wrap:wrap}.receipt-actions .btn{flex:1 1 145px}}
@media print{
  body.printing-purchase{background:#fff!important;overflow:visible!important}
  body.printing-purchase .app-shell,body.printing-purchase .toast{display:none!important}
  body.printing-purchase .modal-wrap,body.printing-purchase .modal-wrap.open,body.printing-purchase .purchase-print-modal{display:block!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
  body.printing-purchase .purchase-sheet{display:block!important;width:100%!important}
  @page{size:landscape;margin:7mm}
}

/* Receipt branding and cash deposits */
.receipt-brand-panel{margin-top:18px}.receipt-brand-note{margin-top:13px;padding:11px 13px;border-radius:10px;background:#f2f6f3;color:#52685b;font-size:9px}.receipt-logo{display:block;max-width:30mm;max-height:18mm;object-fit:contain;margin:0 auto 7px;filter:grayscale(1) contrast(1.25)}.receipt-header-text{font-weight:700;font-size:8px!important;margin-bottom:5px!important}
.deposit-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#173f2e,#285e43);color:#fff;border-radius:20px;padding:21px 24px;margin-bottom:16px}.deposit-hero>div:first-child>span{font-size:8px;letter-spacing:1.2px;color:#bad0c2;font-weight:800}.deposit-hero h3{font-family:Georgia,serif;font-size:22px;margin:4px 0}.deposit-hero p{font-size:9px;color:#c6d7cd;margin:0}.deposit-hero-status{text-align:right;padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.1)}.deposit-hero-status small,.deposit-hero-status strong{display:block}.deposit-hero-status small{font-size:8px;color:#cbdcd1}.deposit-hero-status strong{font-family:Georgia,serif;font-size:22px;margin-top:3px}.deposit-hero-status.balanced{background:rgba(215,230,108,.16)}.deposit-hero-status.over{background:rgba(244,196,107,.15)}.deposit-summary{margin-bottom:17px}.deposit-summary .negative{color:var(--red)}.deposit-denom-detail{max-width:320px;white-space:normal!important;line-height:1.45}.deposit-info{margin-top:14px;display:flex;gap:8px;align-items:flex-start;padding:12px 14px;border-radius:11px;background:#edf4ef;color:#496352;font-size:9px}.deposit-info b{flex:0 0 auto}
.deposit-modal{width:min(680px,100%);padding:0;overflow:hidden;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;position:relative;animation:modal-rise .22s cubic-bezier(.2,.8,.2,1)}.deposit-modal-head{flex:0 0 auto;padding:24px 65px 20px 26px;background:linear-gradient(120deg,#f1f7f3,#e5f0e9);border-bottom:1px solid #d9e5dc}.deposit-modal-head>span{font-size:8px;letter-spacing:1.2px;font-weight:850;color:#56806a}.deposit-modal-head h3{font-size:23px;margin:4px 0}.deposit-modal-head p{font-size:9px;color:var(--muted);margin:0}.deposit-modal-body{flex:1;min-height:0;overflow-y:auto;padding:20px 25px}.deposit-expected{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}.deposit-expected>div{padding:11px;border-radius:11px;background:#f7f9f7;border:1px solid var(--line)}.deposit-expected span,.deposit-expected b,.deposit-expected strong{display:block}.deposit-expected span{font-size:8px;color:var(--muted);margin-bottom:5px}.deposit-expected b{font-size:10px}.deposit-expected strong{font-family:Georgia,serif;color:var(--green);font-size:16px}.denomination-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.denomination-head b{font-size:11px}.denomination-head span{font-size:8px;color:var(--muted)}.denomination-grid{display:grid;gap:7px}.denomination-row{display:grid;grid-template-columns:110px 1fr 120px;gap:10px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:8px 10px;background:#fbfcfb}.denomination-row>span{font-family:Georgia,serif;font-weight:750;color:var(--green);font-size:13px}.denomination-row>div{display:grid;grid-template-columns:31px 1fr 31px}.denomination-row button{border:1px solid var(--line);background:#edf3ef;color:var(--green);cursor:pointer;font-weight:800}.denomination-row button:first-child{border-radius:8px 0 0 8px}.denomination-row button:last-child{border-radius:0 8px 8px 0}.denomination-row input{width:100%;height:32px;border:1px solid var(--line);border-left:0;border-right:0;text-align:center;outline:none}.denomination-row>b{text-align:right;font-size:9px}.deposit-total-box{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.deposit-total-box>div{display:flex;justify-content:space-between;align-items:center;padding:12px;border-radius:11px;background:#eaf3ed}.deposit-total-box span{font-size:9px;color:#52685a}.deposit-total-box strong{font-family:Georgia,serif;color:var(--green);font-size:16px}.deposit-total-box strong.negative{color:var(--red)}.deposit-actions{flex:0 0 auto;background:#fff;border-top:1px solid var(--line);padding:14px 25px}
@media(max-width:650px){.deposit-hero{align-items:flex-start;flex-direction:column}.deposit-hero-status{text-align:left}.deposit-modal{max-height:calc(100dvh - 20px);border-radius:20px 20px 14px 14px}.deposit-expected{grid-template-columns:1fr}.denomination-row{grid-template-columns:90px 1fr}.denomination-row>b{grid-column:2;text-align:left;font-size:8px}.deposit-total-box{grid-template-columns:1fr}.deposit-actions{position:sticky;bottom:0}.deposit-actions .btn-primary{flex:1}}

/* Readability and numeric emphasis */
:root{--muted:#536159}
body{color:#122019;font-size:15px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select{color:#17231e}
.eyebrow{font-size:11px;color:#5a675f;font-weight:650}
.section-head p,.panel-title p,.hero p{font-size:12px;color:#56655d;font-weight:500}
.nav-item{font-size:14px;font-weight:700}.brand span{color:#bdd0c5}.sidebar-footer span{color:#b0c4b8;font-size:11px}
.stat-head{font-size:12px;color:#4f5f56;font-weight:700}.stat-value{font-size:27px;font-weight:800;font-variant-numeric:tabular-nums}.delta{font-size:11px;font-weight:600}
.data-table{font-size:12px}.data-table th{font-size:10px;color:#59665f;font-weight:800}.data-table td{color:#26332c}.data-table td b{font-weight:800;font-variant-numeric:tabular-nums}
.field label{font-size:11px;color:#4f5e56;font-weight:750}.field input,.field select{font-size:12px;color:#17231e}.field>small{font-size:9px;color:#5a675f;font-weight:500}
.badge{font-size:10px}.btn{font-size:12px}.search{font-size:12px}
.product-card h4{font-size:13px}.product-meta{font-size:10px;color:#536159;font-weight:550}.product-price{font-size:13px;font-weight:850}.product-price-row>small{font-size:9px;color:#59665f;font-weight:600}
.summary-line{font-size:12px}.summary-line b{font-weight:850;font-variant-numeric:tabular-nums}.alert-item div{font-size:11px;font-weight:600}.alert-item span{font-size:10px;color:#59665f;font-weight:500}
.cold-card h4{font-size:13px}.cold-card p{font-size:10px;color:#56635c;font-weight:500}.stock-card p{font-size:11px;color:#56635c;font-weight:500}
.report-metric span{font-size:10px;color:#4f5d55}.report-metric strong{font-size:21px;font-weight:850;font-variant-numeric:tabular-nums}.report-metric small{font-size:9px;color:#56635c;font-weight:550}.report-mini-strip span{font-size:10px;color:#536159}.report-mini-strip b{font-size:12px;font-weight:850;font-variant-numeric:tabular-nums}
.payment-legend>div>span{font-size:11px;font-weight:650}.payment-legend>div>small{font-size:11px;font-weight:850;font-variant-numeric:tabular-nums}.payment-legend>div>b{font-size:10px;color:#59665f;font-weight:600}
.deposit-hero p,.deposit-modal-head p{font-size:10px;font-weight:500}.deposit-expected span,.denomination-head span{font-size:9px;color:#536159;font-weight:550}.deposit-expected b,.deposit-expected strong,.denomination-row>b,.deposit-total-box strong{font-variant-numeric:tabular-nums}.denomination-row>span{font-size:14px;font-weight:850}.denomination-row input{font-size:12px;font-weight:750}.deposit-info{font-size:10px;font-weight:500}
.payment-method>b{font-size:11px}.payment-method>small{font-size:9px;color:#58655e;font-weight:500}.review-item b{font-size:11px}.review-item small{font-size:9px;color:#59665f}.review-item>strong{font-size:11px;font-weight:850;font-variant-numeric:tabular-nums}.order-totals>div{font-size:11px}.grand-total b{font-weight:850;font-variant-numeric:tabular-nums}
.notification-item strong{font-size:12px}.notification-item small{font-size:10px;color:#56635c;font-weight:500}
@media(max-width:540px){body{font-size:14px}.section-head p,.panel-title p{font-size:11px}.data-table{font-size:11px}}

/* Purchase cart totals and purchase history */
.purchase-menu-total{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#f4f8f5;border-top:1px solid var(--line)}
.purchase-menu-total span{font-size:10px;color:var(--muted)}
.purchase-menu-total strong{font-family:Georgia,serif;font-size:16px;color:var(--green)}
.purchase-history-table td{vertical-align:top}
.purchase-history-line{min-height:32px;padding:5px 0;border-bottom:1px dashed #e2e8e4;display:flex;align-items:center}
.purchase-history-line:last-child{border-bottom:0}
.purchase-history-total{display:inline-block;padding:7px 10px;border-radius:10px;background:#eaf3ed;color:var(--green);white-space:nowrap}
.purchase-history-table small{color:var(--muted)}

/* Inventory purchase controls, payment status, and visual sharing */
.purchase-form-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.inventory-table{min-width:1120px;table-layout:auto}
.inventory-table th:nth-child(1),.inventory-table td:nth-child(1){min-width:145px}
.inventory-table th:nth-child(5),.inventory-table td:nth-child(5){min-width:120px}
.inventory-usage{min-width:150px;max-width:210px!important}
.inventory-usage details{position:relative}
.inventory-usage summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;padding:6px 9px;border-radius:9px;background:#edf4ef;color:var(--green);font-weight:800;font-size:10px;list-style:none}
.inventory-usage summary::-webkit-details-marker{display:none}
.inventory-usage summary:after{content:'+';font-size:13px}
.inventory-usage details[open] summary:after{content:'−'}
.inventory-usage details>div{padding-top:7px;white-space:normal}
.inventory-cart-cell{min-width:110px}.inventory-cart-button{width:100%;white-space:nowrap;padding:8px 10px}
.payment-status-section{margin-top:13px}
.payment-status-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.payment-status-option{border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px;text-align:left;cursor:pointer;color:var(--ink)}
.payment-status-option b,.payment-status-option small{display:block}.payment-status-option b{font-size:11px}.payment-status-option small{font-size:9px;color:var(--muted);margin-top:4px}
.payment-status-option.selected{border-color:#5d9773;background:#edf5f0;box-shadow:0 0 0 2px rgba(47,108,80,.08)}
.payment-status-option[data-payment-status="unpaid"].selected{border-color:#d99b4a;background:#fff5e6}
.receipt-payment-status{margin-top:7px!important;padding:6px 0;border-top:1px dashed #222;border-bottom:1px dashed #222;font-size:9px!important}
.receipt-payment-status.unpaid b{font-weight:900}.receipt-success.unpaid{background:linear-gradient(120deg,#fff5e7,#fbe9cc)}.receipt-success.unpaid>div{background:#d68b32}
.purchase-sheet{min-width:1160px}
@media(max-width:820px){.purchase-form-fields{grid-template-columns:1fr}.payment-status-options{grid-template-columns:1fr}.inventory-table{min-width:1050px}}
@media print{body.printing-purchase .purchase-sheet{min-width:0!important}}

/* Unpaid orders, sales controls, and order notes */
.unpaid-wrap{position:relative;display:flex;align-items:center}
.unpaid-button{position:relative;width:40px;height:40px;margin:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#fff5d8,#ead18c);border:1px solid #d9ba67;color:#765213;box-shadow:0 4px 12px rgba(109,78,22,.1)}
.unpaid-button>span{font-family:Georgia,serif;font-size:12px;font-weight:900}
.unpaid-button>b{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:10px;display:grid;place-items:center;background:var(--red);color:#fff;font-size:9px}
.unpaid-button>b.empty{display:none}
.unpaid-menu{display:none;position:absolute;right:0;top:49px;width:min(430px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 22px 60px rgba(20,48,35,.2);overflow:hidden;z-index:85}
.unpaid-menu.open{display:block;animation:notification-in .16s ease-out}
.unpaid-menu-head{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;border-bottom:1px solid var(--line);background:#fffaf0}
.unpaid-menu-head strong,.unpaid-menu-head span{display:block}.unpaid-menu-head strong{font-family:Georgia,serif;font-size:17px}.unpaid-menu-head span{font-size:9px;color:var(--muted);margin-top:3px}
.unpaid-menu-list{max-height:350px;overflow:auto}.unpaid-menu-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center;padding:13px 15px;border-bottom:1px solid #edf0ee}.unpaid-menu-item>div strong,.unpaid-menu-item>div span,.unpaid-menu-item>div small{display:block}.unpaid-menu-item>div strong{font-size:11px}.unpaid-menu-item>div span{font-size:9px;color:#59665f;margin-top:2px}.unpaid-menu-item>div small{font-size:9px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unpaid-menu-item>b{font-size:11px;color:#9a611f}.unpaid-menu-item>.btn{grid-column:2;padding:7px 10px}.unpaid-open-sales{width:calc(100% - 28px);margin:14px}
.cart-line-main{min-width:0}.cart-item-note{display:block;width:100%;margin-top:8px;border:1px solid var(--line);border-radius:8px;padding:7px 8px;background:#fafbfa;font-size:9px;outline:none}.cart-item-note:focus{border-color:#84a895;background:#fff}
.sales-unpaid-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding:13px 16px;border:1px solid #efd5a9;border-radius:13px;background:#fff6e8;color:#7b531d}.sales-unpaid-summary span{font-size:11px;font-weight:750}.sales-unpaid-summary strong{font-family:Georgia,serif;font-size:17px}
.sales-table{min-width:1280px}.sales-table td{vertical-align:top}.sales-table td>small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.sales-items-cell{min-width:190px;white-space:normal!important}.sales-items-cell>div{padding:4px 0;border-bottom:1px dashed #e3e8e5}.sales-items-cell>div:last-child{border-bottom:0}.sales-items-cell b,.sales-items-cell small{display:block}.sales-items-cell small{color:#8b642f;font-size:9px;margin-top:3px}.sales-actions{display:flex;gap:6px}.sales-actions .btn{white-space:nowrap;padding:8px 10px}
.payment-update-modal{width:min(560px,100%)}.modal-kicker{display:block;color:#5b806b;font-size:9px;letter-spacing:1.1px;font-weight:850;margin-bottom:5px}.payment-update-total{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:14px;border-radius:12px;background:#edf4ef}.payment-update-total span{font-size:10px;color:var(--muted)}.payment-update-total strong{font-family:Georgia,serif;color:var(--green);font-size:20px}
.receipt-item-note{display:block;margin-top:4px;padding:3px 4px;background:#f4f4f4;font-size:7px!important;line-height:1.35}
@media(max-width:820px){.unpaid-menu{position:fixed;right:14px;left:14px;top:70px;width:auto}.unpaid-button{width:36px;height:36px}.sales-actions{flex-direction:column}.cart-item-note{font-size:10px}}

/* Product categories and compact proportional sales table */
.product-category-tabs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:10px;margin-bottom:16px}
.product-category-tab{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);padding:12px 13px;cursor:pointer;font-weight:800;font-size:11px;transition:.15s}
.product-category-tab:hover{border-color:#b9cec0;transform:translateY(-1px)}.product-category-tab.active{background:var(--green);border-color:var(--green);color:#fff}.product-category-tab b{min-width:24px;padding:3px 6px;border-radius:10px;background:#edf3ef;color:var(--green);font-size:9px;text-align:center}.product-category-tab.active b{background:rgba(255,255,255,.18);color:#fff}
.product-table-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.product-table-summary small{padding:5px 8px;border-radius:10px;background:#eaf3ed;color:var(--green);font-weight:750}.product-category-table{min-width:1040px}.product-table-name>div:last-child b,.product-table-name>div:last-child small{display:block}.product-table-name>div:last-child small{font-size:8px;color:#5c7b69;margin-top:3px}.product-row-actions{display:flex;gap:5px}.product-row-actions .btn{padding:7px 9px}
.sales-table{width:100%;min-width:960px;table-layout:fixed;font-size:10px}.sales-table th,.sales-table td{padding:8px 6px;white-space:normal;overflow-wrap:anywhere;line-height:1.35}.sales-table th{font-size:8px;letter-spacing:.3px}.sales-table th:nth-child(1){width:10%}.sales-table th:nth-child(2){width:8%}.sales-table th:nth-child(3){width:11%}.sales-table th:nth-child(4){width:17%}.sales-table th:nth-child(5){width:8%}.sales-table th:nth-child(6){width:9%}.sales-table th:nth-child(7){width:9%}.sales-table th:nth-child(8){width:12%}.sales-table th:nth-child(9){width:16%}.sales-table .sales-items-cell{min-width:0}.sales-table .sales-actions{flex-wrap:wrap}.sales-table .sales-actions .btn{font-size:9px;padding:6px 7px}
@media(max-width:900px){.product-category-tabs{display:flex;overflow-x:auto;padding-bottom:5px}.product-category-tab{min-width:120px}.sales-table{min-width:920px}}

.cart-variant{display:inline-flex;width:max-content;margin:4px 0 2px;padding:3px 8px;border-radius:999px;background:#eef7f1;color:var(--green);font-size:10px;font-weight:800}
.boba-order-modal{max-width:560px;padding:30px}
.boba-order-modal>p{margin:6px 0 22px;color:var(--muted);font-size:13px}
.boba-order-modal .field{margin-bottom:18px}
.boba-size-toggle{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:4px;border-radius:12px;background:#f1f4f2}
.boba-size-toggle button{border:0;border-radius:9px;padding:10px;background:transparent;color:var(--muted);font-size:11px;font-weight:750;cursor:pointer}
.boba-size-toggle button.selected{background:#fff;color:var(--green);box-shadow:0 2px 8px rgba(20,55,38,.09)}
.boba-size-field{transition:opacity .16s}.boba-size-field.disabled{opacity:.42}.boba-size-field.disabled .boba-size-options{pointer-events:none}
.boba-size-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.boba-size-option{display:flex;min-height:74px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);cursor:pointer}
.boba-size-option b{font-size:14px}.boba-size-option small{color:var(--muted);font-size:10px}
.boba-size-option.selected{border-color:var(--green);background:#eef7f1;box-shadow:0 0 0 2px rgba(47,108,80,.12)}
.boba-size-option.selected small{color:var(--green)}
.boba-order-summary{display:flex;align-items:center;justify-content:space-between;margin:4px 0 20px;padding:15px 17px;border-radius:14px;background:#f6f8f7}
.boba-order-summary span{color:var(--muted);font-size:12px}.boba-order-summary strong{color:var(--green);font-size:21px}
@media(max-width:560px){.boba-order-modal{padding:24px 18px}.boba-size-options{gap:7px}.boba-size-option{min-height:68px}}

/* Identitas Anugrah Makmur TKC */
.brand-mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.brand strong{font-family:"Playfair Display",Georgia,serif}.brand span{font-family:Manrope,Arial,sans-serif}

/* Tema cafe klasik-modern: espresso, crema, caramel, dan brass */
:root{
  --ink:#2d231e;
  --muted:#786a61;
  --line:#e5d8ca;
  --paper:#f4eee6;
  --card:#fffaf4;
  --green:#4b2e23;
  --green-2:#75513f;
  --mint:#eadbca;
  --lime:#c99a58;
  --amber:#d5a15d;
  --red:#b95d4f;
  --blue:#71879b;
  --shadow:0 18px 48px rgba(70,43,30,.12);
  --radius:17px
}
body{
  font-family:Manrope,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 88% 8%,rgba(201,154,88,.12),transparent 26rem),
    linear-gradient(135deg,#f8f3ec 0%,var(--paper) 55%,#efe5da 100%);
  background-attachment:fixed
}
button,input,select{color:var(--ink)}
.brand strong,.topbar h1,.hero h2,.hero-date strong,.section-head h2,.panel-title h3,
.stat-value,.summary-line.total,.modal h3,.notification-head strong,.purchase-menu-head strong,
.deposit-hero h3,.deposit-hero-status strong,.deposit-expected strong,.denomination-row>span,
.deposit-total-box strong,.payment-update-total strong,.unpaid-menu-head strong,
.sales-unpaid-summary strong,.boba-order-summary strong{
  font-family:"Playfair Display",Georgia,serif
}
.sidebar{
  background:
    radial-gradient(circle at 18% 2%,rgba(201,154,88,.13),transparent 14rem),
    linear-gradient(175deg,#2b1913 0%,#3a2118 54%,#24140f 100%);
  border-right:1px solid rgba(222,184,130,.18);
  box-shadow:10px 0 32px rgba(45,25,18,.1)
}
.brand-mark{
  background:linear-gradient(145deg,#e0ba7a,#b87938);
  color:#2c1a13;
  box-shadow:0 8px 24px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.45)
}
.brand span{color:#cbb7a5}.nav-item{color:#d1c0b2}
.nav-item:hover,.nav-item.active{background:rgba(210,166,105,.15);color:#fffaf4}
.nav-item.active{box-shadow:inset 3px 0 #d8a45e}
.sidebar-footer{border-top-color:rgba(222,184,130,.22)}
.sidebar-footer span{color:#bfa99a}.profile-dot{background:#d8b77f;color:#352017}
.sidebar{scrollbar-color:#8c654e transparent}
.topbar{
  border-bottom-color:rgba(113,77,57,.16);
  background:rgba(248,243,236,.9);
  box-shadow:0 7px 28px rgba(75,45,32,.05)
}
.eyebrow{color:#927255;letter-spacing:1.35px}
.live-pill{color:#563326;background:#eadccd;border:1px solid #dfc9b4}
.live-pill i{background:#a8733e;box-shadow:0 0 0 3px rgba(168,115,62,.13)}
.hero,.deposit-hero{
  background:
    radial-gradient(circle at 86% 20%,rgba(227,184,119,.2),transparent 18rem),
    linear-gradient(125deg,#382017,#5c3828 58%,#744b35);
  border:1px solid rgba(229,190,132,.24);
  box-shadow:0 20px 45px rgba(66,38,26,.2)
}
.hero p,.hero-date span,.deposit-hero p,.deposit-hero>div:first-child>span{color:#eadccd}
.hero:after{border-color:rgba(229,190,132,.09)}
.stat,.panel,.product-card,.stock-card,.mode-card,.modal,.notification-menu,.purchase-menu,
.unpaid-menu,.product-category-tab,.boba-size-option{
  background:rgba(255,250,244,.94);
  border-color:var(--line)
}
.stat,.panel,.product-card,.stock-card{box-shadow:0 9px 28px rgba(74,43,30,.055)}
.stat-icon,.recipe-card-emoji{background:#efe3d6;color:#694433}
.btn-primary,.chip.active,.product-category-tab.active{
  background:linear-gradient(135deg,#4a2c21,#714937);
  border-color:#4a2c21;
  color:#fffaf4;
  box-shadow:0 7px 16px rgba(75,46,35,.18)
}
.btn-secondary{background:#eee1d4;color:#573528}
.btn-amber{background:#f5e2c4;color:#704518}.btn-danger{background:#f4ddd8;color:#93473d}
.search,.field input,.field select,.qty button,.purchase-edit-row label,.denomination-row input,
.cart-item-note{background:#fffaf4;border-color:#dfd0c1}
.search:focus,.field input:focus,.field select:focus,.cart-item-note:focus{border-color:#ad7a51;box-shadow:0 0 0 3px rgba(173,122,81,.1)}
.data-table th{color:#7c6759}.data-table td{color:#382c25;border-bottom-color:#eee3d8}
.badge,.inventory-usage span,.product-table-summary small,.cart-variant{
  background:#eee1d4;color:#684432
}
.bar,.chart-bar{background:#eadfd5}.bar i,.chart-bar{background:linear-gradient(#b78656,#674331)}
.food-art{background:linear-gradient(145deg,#f4e6d4,#dfc3a2)}
.product-card:hover{border-color:#ba906c;box-shadow:var(--shadow)}
.product-price,.settings-tab.active,.denomination-row>span,.payment-update-total strong,
.purchase-grand strong,.boba-order-summary strong{color:#694333}
.settings-tab.active{border-bottom-color:#9b6845}
.alert-item,.boba-order-summary{background:#f2e8de}
.modal-wrap{background:rgba(35,20,15,.6);backdrop-filter:blur(4px)}
.toast{background:#382117;color:#fff8ef;box-shadow:0 14px 35px rgba(40,22,16,.25)}
.mekari-note,.deposit-info,.receipt-brand-note{background:#f0e5da;border-color:#e0cdbb;color:#674f40}
.notification:hover,.notification[aria-expanded="true"],.notification-close{background:#eaded2;color:#5b382b}
.notification-menu,.purchase-menu,.unpaid-menu{box-shadow:0 24px 65px rgba(54,31,22,.2)}
.notification-item:hover,.purchase-menu-total,.purchase-edit-head,.purchase-grand,
.payment-update-total,.deposit-expected>div{background:#f4ebe2}
.purchase-modal-head{
  background:linear-gradient(125deg,#3a2118,#68422f);
  color:#fffaf4
}
.purchase-modal-head>span,.purchase-modal-head p{color:#e7d5c4}
.deposit-modal-head{background:linear-gradient(120deg,#f3e8dc,#ead8c6);border-bottom-color:#ddc8b3}
.deposit-modal-head>span{color:#815a3f}
.denomination-row{background:#fffaf5}.denomination-row button{background:#eee1d5;color:#684333}
.deposit-total-box>div{background:#eee0d3}.deposit-total-box span{color:#705c50}
.mode-card.selected,.payment-status-option.selected,.boba-size-option.selected{
  border-color:#9a6949;background:#f2e6da;box-shadow:inset 0 0 0 1px rgba(154,105,73,.35)
}
.unpaid-button{
  background:linear-gradient(145deg,#f5e7c8,#cf9b55);
  border-color:#bd8540;color:#55351d
}
.unpaid-menu-head{background:#fbf1e3}.sales-unpaid-summary{background:#f8ead5;border-color:#dfbd8e;color:#6d451f}
.boba-size-toggle{background:#eadfd5}.boba-size-toggle button.selected{color:#664231;background:#fffaf4}
.product-category-tab:hover{border-color:#b88d6c}
@media(max-width:820px){.sidebar{box-shadow:12px 0 40px rgba(36,20,15,.26)}}
