:root{--pine:#173c35;--pine-2:#24584b;--ink:#18312c;--muted:#6d7c72;--paper:#fbfaf5;--cream:#f1f0e7;--line:#dedfd4;--lime:#d9eb8c;--mint:#e8f4dd;--coral:#c85d48;--white:#fff;--shadow:0 16px 45px rgba(27,61,49,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{max-width:1400px;min-height:100vh;margin:auto;padding:0 32px 64px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d8dccf}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--pine)}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--pine);color:var(--lime);font-size:25px;font-weight:900;letter-spacing:-.1em;padding-right:3px;transform:rotate(-4deg)}.brand strong{display:block;font-size:20px;line-height:1;font-weight:900;letter-spacing:.08em}.brand small{display:block;font-size:9px;font-weight:800;letter-spacing:.18em;margin-top:5px}.topbar-right{display:flex;align-items:center;gap:28px}.shop-name{font-size:13px;font-weight:700}.topbar-right form{margin:0}.text-button{border:0;background:none;color:var(--muted);font-size:13px;font-weight:700;padding:8px}.text-button:hover,.text-link:hover{color:var(--coral)}.desktop-nav{display:flex;gap:8px;padding:20px 0 0}.desktop-nav a{padding:10px 17px;border-radius:999px;font-size:13px;font-weight:800;color:#60786c}.desktop-nav a.active{background:var(--pine);color:var(--white)}.mobile-nav{display:none}.flash-stack{margin:18px 0 0;display:grid;gap:8px}.flash{padding:12px 16px;border-radius:12px;background:#e7f1dd;border:1px solid #c8ddba;color:#28543b;font-size:14px;font-weight:650}.flash.error{background:#fff0e8;border-color:#eec7b8;color:#9a4031}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:42px 0 28px}.eyebrow{display:block;color:#708673;font-size:10px;font-weight:900;letter-spacing:.2em;text-transform:uppercase}.page-heading h1{font-size:clamp(32px,4vw,54px);letter-spacing:-.065em;line-height:1.07;margin:8px 0 8px;font-weight:850}.heading-dot{color:var(--coral)}.page-heading p{margin:0;color:var(--muted);font-size:15px}.heading-note{display:flex;align-items:center;gap:12px;background:#e3edcf;padding:12px 18px;border-radius:14px;color:#375d47;font-size:12px;line-height:1.35}.heading-note strong{color:var(--pine)}.note-icon{font-size:28px;color:#6f9e3f}.panel{background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.section-top{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:23px}.section-top h2,.panel h2{font-size:24px;line-height:1.2;letter-spacing:-.04em;margin:6px 0 0}.count-badge{background:#ecf0e7;border:1px solid #dfe5d8;border-radius:999px;color:#486557;padding:5px 10px;white-space:nowrap;font-size:11px;font-weight:800}.cashier-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.82fr);align-items:start;gap:20px}.catalog-panel,.checkout-panel{padding:26px}.search-box{display:flex;align-items:center;gap:9px;border:1px solid #d9dfd3;background:white;border-radius:12px;padding:0 13px;margin-bottom:18px}.search-box span{font-size:25px;line-height:1;color:#829588}.search-box input{border:0;outline:none;width:100%;height:45px;background:transparent;font-size:14px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-tile{min-height:116px;text-align:left;border:1px solid #d8ded2;background:white;border-radius:15px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;color:var(--ink);transition:transform .15s,border-color .15s,background .15s}.product-tile:not(:disabled):hover{transform:translateY(-2px);border-color:#84a88e;background:#fbfff4}.tile-top,.tile-bottom{display:flex;align-items:start;justify-content:space-between;gap:7px}.tile-name{font-size:14px;font-weight:800;line-height:1.25}.tile-plus{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:var(--mint);color:var(--pine);font-size:20px;line-height:1}.tile-bottom{align-items:end}.tile-bottom strong{font-size:14px;color:var(--pine)}.tile-bottom small{font-size:11px;color:var(--muted);white-space:nowrap}.checkout-panel{position:sticky;top:20px}.cart-list{min-height:92px;max-height:300px;overflow:auto}.cart-empty,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted)}.cart-empty{min-height:98px;font-size:13px}.cart-empty span,.empty-state span{font-size:32px;color:#9bb19d}.cart-empty p{margin:6px 0}.cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:12px 0;border-bottom:1px dashed #d5ddd0}.cart-row strong{font-size:13px;display:block;line-height:1.25}.cart-row small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.cart-subtotal{font-size:13px;text-align:right;color:var(--pine)}.quantity-controls{grid-column:1;display:flex;align-items:center;gap:11px}.quantity-controls button{border:1px solid #dce4d9;background:white;border-radius:7px;width:27px;height:27px;font-size:18px;line-height:1}.quantity-controls span{font-size:12px;font-weight:800;min-width:13px;text-align:center}.total-bar{display:flex;justify-content:space-between;align-items:baseline;gap:12px;background:var(--pine);border-radius:13px;color:white;padding:15px 17px;margin:17px 0 21px}.total-bar span{font-size:13px;color:#d6e8db}.total-bar strong{font-size:25px;letter-spacing:-.04em;white-space:nowrap}.form-stack{display:grid;gap:15px}.field label,.date-filter label{display:block;font-size:12px;font-weight:800;margin-bottom:6px}.field input:not([type=checkbox]),.field select,.login-panel input,.date-filter input{display:block;width:100%;height:44px;border:1px solid #d2dbd1;border-radius:10px;background:white;color:var(--ink);padding:0 12px;outline:none}.field input:focus,.field select:focus,.login-panel input:focus,.date-filter input:focus{border-color:#638c69;box-shadow:0 0 0 3px #dcebd5}.field small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.field .field-error,.field-error{color:#a64635;font-size:12px;font-weight:700}.errorlist{color:#a64635;font-size:12px;margin:5px 0;padding-left:19px}.required-note{color:var(--coral);font-size:10px;margin-left:3px}.muted{color:var(--muted)}.small{font-size:12px}.payment-note{border-left:3px solid #b7ca83;padding-left:10px;margin:17px 0;color:#647568;font-size:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:800;white-space:nowrap}.button.primary{background:var(--pine);color:white}.button.primary:hover{background:var(--pine-2)}.button.secondary{background:#e4edcf;color:var(--pine)}.button.secondary:hover{background:#d5e5b0}.button.ghost{background:transparent;border-color:#d4ded2;color:var(--pine)}.button.whatsapp{background:#d9edcc;color:#1b5639}.button.whatsapp:hover{background:#c9e5b7}.button.danger{background:var(--coral);color:white}.button.full{width:100%}.client-error{margin:6px 0 0}.empty-state{padding:42px 20px}.empty-state h3{font-size:17px;color:var(--ink);margin:5px 0}.empty-state p{font-size:13px;max-width:260px;margin:0 0 15px}.empty-hint{text-align:center;font-size:13px;color:var(--muted)}
.summary-strip{display:flex;align-items:center;gap:30px;background:var(--pine);color:white;border-radius:18px;padding:20px 25px;margin-bottom:20px}.summary-strip>div{min-width:120px;border-right:1px solid #497367;padding-right:28px}.summary-strip small,.heading-total small,.metric small{display:block;font-size:10px;letter-spacing:.15em;font-weight:800;color:#aacaaf}.summary-strip strong{display:block;font-size:29px;line-height:1.1;margin-top:5px}.summary-strip p{font-size:12px;color:#d6e7d5;margin-left:auto}.list-panel{padding:25px}.list-rows{border-top:1px solid var(--line)}.list-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:15px 0}.list-row:last-child{border-bottom:0}.row-main{display:flex;align-items:center;gap:13px;min-width:0}.row-avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#e8eedb;color:#47644c;font-size:17px;font-weight:800}.row-main h3{font-size:14px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-main p{margin:2px 0 0;color:var(--muted);font-size:12px}.row-side{display:flex;align-items:center;gap:18px;white-space:nowrap}.row-side strong{font-size:14px}.stock-pill{padding:5px 9px;border-radius:999px;background:#e8f2e1;color:#3e7446;font-size:11px;font-weight:850}.stock-pill.low{background:#ffebdc;color:#ad553b}.text-link{font-size:12px;font-weight:800;color:var(--pine)}.tag{font-size:10px;border-radius:5px;padding:2px 5px;vertical-align:middle}.tag.neutral{background:#eaebe6;color:#6d756c}.edit-panel,.history-panel,.report-panel{padding:26px}.edit-panel{max-width:640px}.edit-panel h2,.history-panel h2,.report-panel h2{margin-bottom:15px}.edit-panel .form-stack{margin:21px 0}.check-field{display:flex;align-items:center;gap:10px}.check-field label{margin:0}.check-field input{order:-1;accent-color:var(--pine)}.form-actions{display:flex;gap:10px}.two-column{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:20px}.two-column .edit-panel{max-width:none}.history-row,.report-line{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.history-row:last-child,.report-line:last-child{border:0}.history-row strong{display:block;font-size:13px}.history-row small,.report-line small{display:block;color:var(--muted);font-size:11px}.history-row b{font-size:14px}.positive{color:#3d7650}.negative{color:#b55c42}.heading-total{background:#e5edcf;border:1px solid #cbdcb8;padding:14px 19px;border-radius:13px}.heading-total small{color:#668156}.heading-total strong{display:block;color:var(--pine);font-size:23px;letter-spacing:-.04em;margin-top:3px}.debt-row:hover,.link-line:hover{background:#f5f7ee}.date-filter{display:flex;align-items:end;gap:8px}.date-filter input{width:170px}.date-filter .button{height:44px}.report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.metric{min-height:155px;padding:18px;border:1px solid var(--line);border-radius:17px;background:var(--paper)}.metric.dark{background:var(--pine);color:white;border-color:var(--pine)}.metric.accent{background:#e3edcd;border-color:#cbdcb3}.metric small{color:#6b866d}.metric.dark small{color:#bbd3bc}.metric strong{display:block;font-size:clamp(19px,2vw,27px);letter-spacing:-.05em;line-height:1.2;margin:18px 0 7px;white-space:nowrap}.metric span{display:block;color:var(--muted);font-size:11px}.metric.dark span{color:#d2e3d6}.report-line{font-size:13px}.report-line strong{color:var(--pine)}.report-panel .small{margin-bottom:0}.link-line{margin:0 -10px;padding-left:10px;padding-right:10px;border-radius:7px}
.receipt-layout{display:grid;grid-template-columns:minmax(0,560px) minmax(260px,360px);gap:24px;align-items:start}.receipt-paper{background:#fff;border:1px solid #e4e2d9;box-shadow:0 16px 35px rgba(35,52,38,.08);padding:28px 32px;position:relative}.receipt-paper:after{content:"";position:absolute;bottom:-9px;left:0;right:0;height:10px;background:linear-gradient(135deg,#fff 5px,transparent 0) 0 0/10px 10px repeat-x,linear-gradient(225deg,#fff 5px,transparent 0) 0 0/10px 10px repeat-x}.receipt-brand{display:flex;align-items:center;gap:12px;padding-bottom:22px}.receipt-brand strong{display:block;font-size:18px}.receipt-brand small{display:block;font-size:10px;letter-spacing:.15em;color:var(--muted);font-weight:800}.receipt-meta{border-block:1px dashed #cbd6c9;padding:11px 0;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.receipt-items{padding:11px 0}.receipt-item{display:flex;justify-content:space-between;gap:16px;padding:10px 0}.receipt-item strong,.receipt-item b{font-size:13px}.receipt-item small{display:block;font-size:11px;color:var(--muted)}.receipt-total{display:flex;justify-content:space-between;align-items:baseline;background:#edf3e5;margin:4px -12px;padding:15px 12px}.receipt-total span{font-size:13px;font-weight:800}.receipt-total strong{font-size:24px;letter-spacing:-.04em}.receipt-details{padding:13px 0;border-bottom:1px dashed #cbd6c9}.receipt-details>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:12px}.receipt-details span{color:var(--muted)}.status{color:#357449}.status.credit{color:#b66a2e}.status.void{color:var(--coral)}.receipt-footer{text-align:center;padding:25px 0 5px;color:var(--pine);font-size:12px;font-weight:750}.receipt-footer span{color:var(--muted);font-weight:400}.receipt-actions{display:grid;gap:13px}.receipt-actions .panel{padding:22px}.receipt-actions h2{font-size:21px}.receipt-actions p{font-size:12px;color:var(--muted);line-height:1.55}.receipt-actions .button{margin-top:8px}.action-panel .field{margin:18px 0 8px}.danger-panel summary{font-size:13px;font-weight:850;color:var(--coral);cursor:pointer}.danger-panel[open] summary{margin-bottom:12px}.check-line{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.4}.check-line input{accent-color:var(--coral);margin-top:2px}.void-note strong{color:var(--coral)}
.login-wrap{display:grid;grid-template-columns:1fr 440px;gap:50px;align-items:center;min-height:calc(100vh - 170px);max-width:1100px;margin:auto}.login-intro h1{font-size:clamp(45px,6vw,78px);letter-spacing:-.07em;line-height:1.05;margin:15px 0}.login-intro h1 em{font-style:normal;color:#7a9e56}.login-intro p{font-size:17px;color:var(--muted);max-width:430px}.login-pattern{margin-top:40px;border-top:1px solid #cad4bd;padding-top:20px;color:#bfd3b1;font-size:62px;font-weight:900;letter-spacing:.15em}.login-pattern span{margin-left:20px;color:var(--coral)}.login-panel{padding:34px}.login-panel h2{font-size:30px;letter-spacing:-.05em;margin:8px 0 25px}.login-panel label{display:block;font-size:12px;font-weight:800;margin:16px 0 6px}.login-panel .button{margin-top:23px}.login-panel .small{text-align:center;margin:16px 0 0}
.recent-panel{margin-top:20px}.employee-row form{margin:0}.employee-row .text-button{color:var(--pine)}.date-filter>div{min-width:0}.report-line span{min-width:0}
@media(max-width:950px){.cashier-grid{grid-template-columns:1fr}.checkout-panel{position:static}.report-grid{grid-template-columns:repeat(2,1fr)}.login-wrap{grid-template-columns:1fr 400px;gap:20px}}
@media(max-width:680px){.app-shell{padding:0 16px 110px}.topbar{height:68px}.brand-mark{width:35px;height:35px;font-size:22px}.brand strong{font-size:17px}.shop-name{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-right{gap:3px}.desktop-nav{display:none}.mobile-nav{display:grid;grid-template-columns:repeat(6,1fr);position:fixed;z-index:10;bottom:0;left:0;right:0;background:#fbfaf5;border-top:1px solid #dce0d5;padding:7px max(8px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));box-shadow:0 -8px 30px rgba(29,55,39,.08)}.mobile-nav a{display:flex;align-items:center;flex-direction:column;gap:0;min-height:44px;border-radius:8px;color:#7d897d;font-size:10px;font-weight:750}.mobile-nav span{font-size:22px;line-height:1.15}.mobile-nav a.active{color:var(--pine);background:#e7f0d8}.page-heading{align-items:start;flex-direction:column;padding:28px 0 22px;gap:15px}.page-heading h1{font-size:37px}.heading-note{display:none}.catalog-panel,.checkout-panel,.list-panel,.edit-panel,.history-panel,.report-panel{padding:18px}.panel{border-radius:17px}.product-grid{gap:8px}.product-tile{min-height:106px;padding:12px}.tile-name{font-size:12px}.tile-bottom strong{font-size:12px}.tile-bottom small{font-size:10px}.section-top h2,.panel h2{font-size:21px}.cashier-grid{gap:14px}.summary-strip{gap:15px;padding:17px}.summary-strip>div{min-width:0;padding-right:15px}.summary-strip p{display:none}.row-main{gap:9px}.row-avatar{width:34px;height:34px}.row-main h3{font-size:12px}.row-main p{font-size:10px}.row-side{gap:8px;flex-wrap:wrap;justify-content:end}.row-side .text-link{font-size:11px}.product-row{align-items:start}.two-column,.receipt-layout{grid-template-columns:1fr;gap:14px}.receipt-paper{padding:23px 21px}.report-grid{gap:8px}.metric{min-height:130px;padding:13px}.metric strong{font-size:20px;white-space:normal}.date-filter{width:100%}.date-filter>div{flex:1}.date-filter input{width:100%}.login-wrap{display:block;min-height:0}.login-intro{padding:42px 4px 22px}.login-intro h1{font-size:47px}.login-intro p{font-size:14px}.login-pattern{display:none}.login-panel{padding:24px}.heading-total{width:100%}}
.login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.login-tabs .tab{display:block;text-align:center;padding:11px 8px;border:1px solid var(--line);border-radius:11px;background:var(--white);color:var(--muted);font-size:12px;font-weight:800;text-decoration:none}.login-tabs .tab.active{background:var(--pine);border-color:var(--pine);color:var(--paper)}.login-wrap>div>form+form{margin-top:14px}.pay-instructions{border:1px dashed var(--line);border-radius:11px;padding:14px;background:var(--cream)}.pay-instructions .eyebrow{display:block;margin-bottom:7px}.pay-instructions p{margin:0 0 11px}.pay-instructions p:last-child{margin:11px 0 0}.qris-image{display:block;width:100%;max-width:250px;height:auto;margin:0 auto;border:1px solid var(--line);border-radius:9px;background:#fff}.detail-list{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0 0 4px;font-size:12px}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;font-weight:750}.detail-list dd.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:15px;letter-spacing:.06em;word-break:break-all}
@media(max-width:520px){.shop-name{display:none}}
.mobile-nav.cashier-nav{grid-template-columns:repeat(3,1fr)}

/* OpenAI-inspired: quiet neutrals, compact navigation, and clear actions. */
:root{--pine:#0d0d0d;--pine-2:#303030;--ink:#0d0d0d;--muted:#6e6e80;--paper:#fff;--cream:#fff;--line:#e5e5e5;--lime:#f1f1f1;--mint:#f4f4f4;--coral:#b24c3b;--white:#fff;--shadow:none}
body{background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif}
.app-shell.is-authenticated{display:grid;grid-template-columns:248px minmax(0,1fr);max-width:none;min-height:100vh;margin:0;padding:0}
.app-sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:16px;width:248px;height:100dvh;padding:16px 12px 12px;background:#f9f9f9;border-right:1px solid #eee}
.app-sidebar .brand{gap:9px;padding:4px 8px;color:#0d0d0d}
.app-sidebar .brand-mark,.mobile-brand .brand-mark{width:30px;height:30px;border-radius:9px;background:#0d0d0d;color:#fff;font-size:19px;transform:none}
.app-sidebar .brand strong{font-size:15px;letter-spacing:.04em}
.app-sidebar .brand small{margin-top:3px;font-size:8px;letter-spacing:.13em}
.sidebar-new{display:flex;align-items:center;gap:9px;min-height:40px;padding:0 11px;border:1px solid #e3e3e3;border-radius:9px;color:#222;font-size:13px;font-weight:600}
.sidebar-new:hover,.sidebar-actions a:hover,.sidebar-actions button:hover{background:#eee}
.sidebar-new span{font-size:20px;line-height:1}
.desktop-nav{display:grid;gap:3px;padding:0}
.desktop-nav a{display:flex;align-items:center;gap:11px;min-height:38px;padding:0 10px;border-radius:8px;color:#34343a;font-size:13px;font-weight:500}
.desktop-nav a:hover,.desktop-nav a.active{background:#ececec;color:#111}
.desktop-nav a.active{font-weight:650}
.desktop-nav a span{width:18px;text-align:center;color:#666;font-size:16px}
.sidebar-account{display:flex;align-items:center;gap:10px;margin-top:auto;padding:10px 8px 6px;border-top:1px solid #e8e8e8;min-width:0}
.account-avatar{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#e4e4e7;color:#25252b;font-size:13px;font-weight:700}
.account-name{display:block;min-width:0;overflow:hidden}
.account-name strong,.account-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-name strong{font-size:12px;font-weight:600}
.account-name small{margin-top:2px;color:#73737f;font-size:10px}
.sidebar-actions{display:flex;gap:4px}
.sidebar-actions a,.sidebar-actions button{display:block;width:100%;padding:8px 9px;border:0;border-radius:7px;background:transparent;color:#585862;text-align:left;font-size:12px;text-decoration:none}
.sidebar-actions form{flex:1;margin:0}
.app-main{min-width:0;padding:0 40px 48px;background:#fff}
.topbar{height:58px;justify-content:flex-end;border-bottom:1px solid #eee}
.app-shell:not(.is-authenticated) .topbar{justify-content:flex-start;border:0}
.topbar-right{gap:12px}
.topbar-right .shop-name{color:#6e6e80;font-size:12px;font-weight:500}
.mobile-brand,.mobile-account-action{display:none}
.app-main>#main{max-width:1320px;margin:0 auto}
.flash-stack{max-width:1320px;margin:12px auto 0}
.page-heading{align-items:center;padding:34px 0 22px}
.eyebrow{color:#70707a;font-size:10px;font-weight:650;letter-spacing:.12em}
.page-heading h1{font-size:34px;font-weight:650;letter-spacing:-.045em}
.heading-dot{display:none}
.page-heading p{color:#666672;font-size:14px}
.heading-note{background:#f5f5f5;color:#555}
.heading-note strong,.note-icon{color:#222}
.panel,.metric{border-color:#e5e5e5;border-radius:14px;background:#fff;box-shadow:none}
.section-top{margin-bottom:18px}
.section-top h2,.panel h2{font-size:20px;font-weight:600;letter-spacing:-.025em}
.count-badge{border:0;border-radius:7px;background:#f2f2f2;color:#5d5d66;font-weight:600}
.desktop-nav a.active{background:#ededed}
.search-box,.field input:not([type=checkbox]),.field select,.login-panel input,.date-filter input{border-color:#d9d9df;border-radius:10px}
.field input:focus,.field select:focus,.login-panel input:focus,.date-filter input:focus{border-color:#8b8b98;box-shadow:0 0 0 3px #eeeef0}
.button{min-height:40px;border-radius:10px;font-weight:600}
.button.primary,.login-tabs .tab.active{border-color:#0d0d0d;background:#0d0d0d;color:#fff}
.button.primary:hover{background:#303030}
.button.secondary,.button.whatsapp{background:#f0f0f0;color:#222}
.button.secondary:hover,.button.whatsapp:hover{background:#e6e6e6}
.button.danger{background:#b24c3b}
.total-bar,.summary-strip,.metric.dark{border-radius:12px;background:#171717;border-color:#171717}
.heading-total,.metric.accent{border-color:#e5e5e5;border-radius:12px;background:#f5f5f5}
.heading-total small,.heading-total strong,.metric.accent{color:#222}
.summary-strip small,.metric.dark small{color:#c8c8cf}
.summary-strip p,.metric.dark span{color:#dedee3}
.list-panel,.edit-panel,.history-panel,.report-panel{padding:22px}
.list-row{border-color:#eee}
.row-avatar,.stock-pill{border-radius:9px;background:#f1f1f1;color:#333}
.stock-pill.low{background:#fff0e8;color:#a14b35}
.text-link{color:#333}
.receipt-paper{border-color:#e5e5e5;border-radius:12px;box-shadow:none}
.receipt-total{background:#f3f3f3}
.login-wrap{display:block;max-width:420px;min-height:calc(100vh - 110px);margin:0 auto;padding:64px 0 40px}
.login-intro{padding:0 0 24px;text-align:center}
.login-mark{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 20px;border-radius:11px;background:#0d0d0d;color:white;font-size:24px;font-weight:800}
.login-intro h1{margin:0 0 7px;font-size:30px;font-weight:600;letter-spacing:-.04em;line-height:1.2}
.login-intro p{max-width:none;margin:0;color:#6e6e80;font-size:14px}
.login-pattern{display:none}
.login-tabs{gap:4px;padding:4px;border-radius:11px;background:#f4f4f4}
.login-tabs .tab{border:0;border-radius:8px;background:transparent;font-weight:550}
.login-tabs .tab.active{background:#fff;color:#111;box-shadow:0 1px 3px #00000018}
.login-panel{padding:24px;border:1px solid #e6e6eb;border-radius:14px;box-shadow:0 3px 12px #00000008}
.login-panel h2{font-size:21px;font-weight:600;letter-spacing:-.025em;margin:7px 0 12px}
.login-panel label{font-weight:550}
.login-panel .button{margin-top:20px}
.mobile-nav{background:#fff;border-color:#e7e7e7;box-shadow:0 -3px 12px #00000008}
.mobile-nav a.active{background:#f0f0f0;color:#111}
@media(max-width:950px){.app-main{padding-right:24px;padding-left:24px}.login-wrap{display:block;max-width:420px;min-height:calc(100vh - 110px);margin:0 auto}}
@media(max-width:680px){.app-shell.is-authenticated{display:block;padding:0 0 84px}.app-sidebar{display:none}.app-main{padding:0 16px 24px}.topbar{height:58px;justify-content:space-between;margin:0 -16px;padding:0 16px}.mobile-brand{display:inline-flex;align-items:center;gap:8px;color:#111;font-size:14px;font-weight:650}.topbar-right{gap:8px}.topbar-right .shop-name{display:none}.mobile-account-action{display:inline-flex;padding:7px 8px;border:0;border-radius:7px;background:transparent;color:#555;font-size:11px;text-decoration:none}.mobile-account-action button{padding:0;border:0;background:transparent;color:inherit;font-size:inherit}.page-heading{padding:26px 0 18px}.page-heading h1{font-size:30px}.panel{border-radius:12px}.mobile-nav{grid-template-columns:repeat(6,minmax(0,1fr));padding-right:max(8px,env(safe-area-inset-right));padding-left:max(8px,env(safe-area-inset-left))}.mobile-nav.cashier-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-nav a{font-weight:550}.mobile-nav a.active{border-radius:8px}.login-wrap{padding:48px 0 30px}.login-intro{padding-bottom:20px}.login-intro h1{font-size:27px}.login-panel{padding:20px}}

.login-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.login-tabs .tab{padding-right:4px;padding-left:4px;font-size:11px;white-space:nowrap}
.register-prompt{margin:15px 0 0}
.customer-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
.cashier-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
.customer-order-list{display:grid;gap:12px;padding-bottom:24px}
.customer-order-card{padding:22px}
.customer-order-head{display:flex;align-items:start;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid #eee}
.customer-order-head h2{margin-top:5px}
.customer-order-head>strong{font-size:18px;white-space:nowrap}
.order-lines{display:grid;gap:8px;padding:14px 0;border-bottom:1px solid #eee}
.order-lines>div{display:flex;justify-content:space-between;gap:16px;font-size:13px}
.order-lines strong{white-space:nowrap}
.order-payment-method{margin:13px 0}
.order-payment-box,.order-notice{margin:14px 0;padding:14px;border:1px solid #e7e7e7;border-radius:10px;background:#fafafa;color:#555;font-size:13px}
.order-payment-box p,.order-notice{line-height:1.5}
.order-payment-box p:last-child{margin-bottom:0}
.order-payment-box .qris-image{max-width:210px;margin-top:10px}
.order-inline-form{display:inline-flex;margin:8px 8px 0 0}
.order-inline-form .button{margin:0}
.order-cancel{margin-top:14px;color:#555;font-size:13px}
.order-cancel summary{cursor:pointer}
.order-cancel form{display:grid;gap:9px;max-width:460px;margin-top:12px}
.order-cancel input:not([type=checkbox]){height:40px;padding:0 10px;border:1px solid #ddd;border-radius:8px}
.order-cancel .check-line{display:flex;align-items:start;gap:8px}
.customer-empty{margin-top:10px}
.customer-order-form{max-width:850px}
.customer-order-products{border-top:1px solid #eee}
.customer-order-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #eee}
.customer-order-description{display:grid;gap:4px;min-width:0}
.customer-order-description strong{font-size:14px}
.customer-order-description span{color:#70707a;font-size:12px}
.field.customer-order-quantity{width:110px;flex:none;margin:0}
.field.customer-order-quantity label{font-size:11px}
.field.customer-order-quantity input{height:40px}
.order-total{display:flex;justify-content:space-between;gap:16px;margin:20px 0;padding:15px 0;border-bottom:1px solid #eee;font-size:14px}
.order-total strong{font-size:20px;white-space:nowrap}
.order-method-field{max-width:360px}
.order-form-error{margin:0 0 14px}
@media(max-width:680px){.mobile-nav{grid-template-columns:repeat(7,minmax(0,1fr))}.mobile-nav.cashier-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-nav.customer-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-order-card{padding:17px}.customer-order-head>strong{font-size:15px}.customer-order-item{gap:10px}.field.customer-order-quantity{width:90px}.customer-order-form{padding:18px}.login-tabs .tab{font-size:10px}}

.report-line>span{min-width:0;overflow-wrap:anywhere}
.report-line>strong{min-width:0;max-width:48%;text-align:right;white-space:normal;overflow-wrap:anywhere}
.product-row .row-main>div{min-width:0}
.product-row .row-main p{overflow-wrap:anywhere}
.product-row .row-side{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:680px){.product-row{flex-direction:column;align-items:stretch}.product-row .row-side{justify-content:flex-start;white-space:normal}}
.cost-correction-form,.expense-correction-form{margin:0 0 18px;align-items:center}
.cost-correction-form input,.expense-correction-form input{min-width:0;flex:1;height:44px;border:1px solid var(--line);border-radius:9px;padding:0 10px}
.historical-cost-row{align-items:flex-start}
.year-close-heading{align-items:center}
.finance-year-filter{min-width:0}
@media(max-width:680px){
  .app-main{min-width:0}
  .form-actions{flex-wrap:wrap}
  .form-actions>.button{max-width:100%;white-space:normal}
  .date-filter:not(.finance-year-filter){flex-wrap:wrap;align-items:end}
  .date-filter:not(.finance-year-filter)>div{flex:1 1 120px}
  .date-filter:not(.finance-year-filter)>.button{flex:1 1 100%;width:100%}
  .year-close-heading{align-items:stretch;flex-direction:column}
  .finance-year-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;width:100%;gap:8px}
  .finance-year-filter label{grid-column:1/-1;margin:0}
  .finance-year-filter input{width:100%;min-width:0}
  .cost-correction-form,.expense-correction-form{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:7px}
  .cost-correction-form label,.expense-correction-form label{margin-top:5px}
  .cost-correction-form input,.expense-correction-form input{width:100%;min-height:44px}
  .cost-correction-form .button,.expense-correction-form .button{width:100%}
  .historical-cost-row{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
  .historical-cost-row>strong{max-width:100%;text-align:left}
  .report-line{gap:8px}
  .report-line>strong{max-width:43%}
  .report-panel details{overflow-wrap:anywhere}
}

.help-text{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin-top:5px}.hpp-preview{border:1px solid #dce4d8;background:#f7faf3;border-radius:14px;padding:16px;margin:0 0 20px}.hpp-preview h2{font-size:17px;margin:0 0 13px}.hpp-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hpp-preview-grid>div{min-width:0;padding:11px;background:white;border:1px solid #e1e7dc;border-radius:10px}.hpp-preview-grid span{display:block;color:var(--muted);font-size:11px}.hpp-preview-grid output{display:block;color:var(--pine);font-size:15px;font-weight:850;overflow-wrap:anywhere;margin-top:3px}.hpp-preview p{color:var(--muted);font-size:11px;line-height:1.45;margin:12px 0 0}@media(max-width:540px){.hpp-preview-grid{grid-template-columns:1fr}.hpp-preview-grid>div{display:flex;align-items:center;justify-content:space-between;gap:12px}}
.demo-banner,.demo-login-note{border:1px solid #d8e4db;background:#f4faf6;color:#245238;border-radius:12px;padding:12px 16px;font-size:13px;line-height:1.5}.demo-banner{margin-bottom:18px}.demo-login-note{display:grid;gap:2px;margin-bottom:12px}.demo-login-note code{font-size:13px;overflow-wrap:anywhere}
