:root{--ink:#2c211b;--muted:#82756b;--orange:#eb681d;--cream:#f6f3ed;--line:#e9e2d8;--dark:#21130e;--green:#477654}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f39b63}button{border:0}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:650;letter-spacing:-1px}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.6}small{font-size:12px;color:var(--muted)}.eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--muted);margin-bottom:10px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 20px;border-radius:10px;font-weight:650;min-height:46px}.primary{color:white;background:var(--orange);width:100%}.primary:hover{background:#d85812}.primary span{margin-left:auto}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.compact{width:auto}.text-button{background:none;color:var(--muted);font-size:12px;padding:10px}.muted{color:var(--muted)}.loading{padding:60px;text-align:center;color:var(--muted)}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.layout{display:grid;grid-template-columns:222px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:#f3e9da;padding:30px 18px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;margin:0 6px 46px;font-size:16px;letter-spacing:1px;font-weight:750}.brand img{width:47px;height:47px;object-fit:contain;border-radius:50%}.brand small{display:block;margin-top:5px;font-size:8px;letter-spacing:2px;color:#ad9688}.nav-label{font-size:9px;letter-spacing:1.8px;color:#917a6c;margin:0 16px 14px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{background:transparent;color:#bfa99b;text-align:left;border-radius:9px;padding:13px 15px;display:flex;align-items:center;gap:13px}.sidebar nav button span{font-size:20px;width:22px;color:#a58d7d}.sidebar nav button.active{background:#43281b;color:#ffa967}.sidebar nav button.active span{color:#ff934a}.sidebar nav button:hover{background:#382219}.sidebar-bottom{margin-top:auto;padding-top:30px}.live-dot{font-size:11px;color:#aa9283;margin:15px}.live-dot:before{content:'●';color:#86a17a;margin-right:8px}.profile{border-top:1px solid #422c21;padding-top:18px;display:flex;align-items:center;gap:9px}.avatar{background:#4c3526;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;color:#f9bd88}.profile strong{font-size:12px;display:block;max-width:103px;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;font-size:10px;margin-top:4px;color:#bca393}.profile button{color:#d8baaa;font-size:22px;background:none;margin-left:auto;padding:8px}.workspace{padding:34px 34px 20px;min-width:0}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:30px}.date-pill{padding:10px 15px;background:white;border:1px solid var(--line);border-radius:30px;color:var(--muted);font-size:12px;white-space:nowrap}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:25px;align-items:start}.catalog-head{display:flex;flex-direction:column;gap:18px}.catalog-head h2 .muted{font-weight:400;font-size:14px;margin-left:5px}.search{display:flex;align-items:center;gap:8px;padding:0 15px;background:white;border:1px solid var(--line);border-radius:10px;max-width:500px}.search span{font-size:24px;color:#9c8b7e}.search input{border:0;background:none;width:100%;padding:13px 0}.categories{display:flex;gap:8px;overflow:auto;margin:20px 0 22px;padding-bottom:5px}.categories button{background:#fff;border:1px solid var(--line);border-radius:25px;color:var(--muted);padding:9px 17px;white-space:nowrap;font-size:12px}.categories button.selected{background:var(--dark);color:#fff;border-color:var(--dark)}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:17px}.product-card{background:white;border:1px solid var(--line);border-radius:14px;text-align:left;padding:7px;transition:transform .15s,box-shadow .15s}.product-card:hover{transform:translateY(-3px);box-shadow:0 6px 22px #3a281512}.product-art{height:135px;background:#eee3d3;border-radius:9px;position:relative;overflow:hidden;display:grid;place-items:center}.product-art:before{content:'';position:absolute;width:140px;height:140px;border-radius:50%;background:#ffffff40;top:23px;left:24px}.cup{font-size:63px;position:relative;filter:drop-shadow(0 7px 5px #633f2720)}.tone-1 .product-art{background:#e7ebdf}.tone-2 .product-art{background:#f4e2d5}.tone-3 .product-art{background:#e7dfd8}.product-tag{position:absolute;left:9px;top:9px;font-size:9px;letter-spacing:.6px;text-transform:uppercase;background:#ffffffb0;padding:5px 8px;border-radius:5px;color:#675748}.product-info{padding:12px 7px 7px}.product-info strong{display:block;font-size:14px;margin-bottom:6px;line-height:1.4}.product-info small{display:block;font-size:10px;margin-bottom:14px}.product-info>div{display:flex;justify-content:space-between;align-items:center;gap:5px}.product-info b{font-size:13px}.add-dot{display:grid;place-items:center;background:#fff1e4;color:var(--orange);border-radius:7px;width:27px;height:27px;font-size:18px}.cart{position:sticky;top:20px;padding:22px;min-width:0}.cart-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px dashed var(--line);gap:6px}.cart-head .eyebrow{font-size:9px}.count{background:#f9eee4;color:#a8744c;padding:3px 7px;border-radius:6px;font-size:12px;margin-left:5px}.cart-items{min-height:220px;max-height:calc(100vh - 430px);overflow:auto}.cart-item{padding:17px 0;border-bottom:1px solid var(--line)}.item-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.item-top strong{font-size:13px}.item-top button{background:none;color:#a8998d;font-size:23px;width:30px;height:30px}.item-bottom{display:flex;justify-content:space-between;align-items:center;margin:8px 0}.item-bottom>span{font-size:12px;color:var(--muted)}.qty{display:flex;align-items:center;gap:11px}.qty button{width:28px;height:28px;border-radius:6px;border:1px solid var(--line);background:#faf8f4}.qty b{font-size:12px}.item-note{width:100%;border:0;background:#faf8f5;border-radius:6px;font-size:10px;padding:8px}.cart-total{border-top:1px dashed var(--line);padding-top:20px}.cart-total>div{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:12px}.cart-total strong{font-size:21px;letter-spacing:-.6px}.cart-total small{font-size:10px;display:block;margin:12px 0 20px}.cart-total .primary{font-size:12px}.cart-hint{font-size:9px;color:var(--muted);text-align:center;margin-top:12px}.empty{text-align:center;padding:38px 18px;color:var(--muted);grid-column:1/-1}.empty>span{font-size:36px;display:block;opacity:.55;margin-bottom:15px}.empty h3{font-size:14px;color:#6f5b4d;margin-bottom:8px}.empty p{font-size:12px;max-width:300px;margin:auto}.workspace-foot{margin-top:36px;display:flex;justify-content:space-between;font-size:9px;color:#a69585;letter-spacing:1.5px}.workspace-foot span{letter-spacing:0}.mobile-cart{display:none}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.section-heading p{font-size:12px;color:var(--muted);margin-top:7px}.status{display:inline-block;color:var(--green);font-size:11px;background:#e9f1e6;padding:6px 10px;border-radius:20px;margin-bottom:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:22px}.stat strong{display:block;font-size:22px;letter-spacing:-.7px;margin:12px 0 7px;overflow-wrap:anywhere}.stat span{font-size:11px;color:var(--muted)}.stat.accent{background:#fff0e2;border-color:#f2d6bb}.stat.accent small{color:#a66b42}.table-wrap{overflow:auto;margin-top:18px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;white-space:nowrap}th{padding:12px;background:#faf8f4;font-size:10px;font-weight:650;color:var(--muted)}td{padding:15px 12px;border-bottom:1px solid var(--line);max-width:350px;white-space:normal;overflow-wrap:anywhere}tbody tr:last-child td{border-bottom:0}.center{text-align:center}.badge{display:inline-block;background:#eee9df;color:#74604c;font-size:10px;border-radius:6px;padding:6px 9px;white-space:nowrap}.badge.danger{background:#fce7e1;color:#ae4d39}.order-row{width:100%;display:flex;align-items:center;gap:16px;background:white;border-bottom:1px solid var(--line);padding:18px 0;text-align:left}.order-row:last-child{border-bottom:0}.order-row>div{flex:1}.order-row strong{font-size:12px}.order-row small{display:block;margin-top:7px;font-size:10px}.order-row>b{font-size:13px}.receipt-icon{font-size:22px;background:#f9f1e7;color:#b68c64;width:40px;height:40px;display:grid;place-items:center;border-radius:10px}.manage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.manage-card{background:#fdfbf7;border:1px solid var(--line);border-radius:12px;text-align:left;padding:20px;position:relative}.manage-card h3{margin:12px 0}.manage-card strong{font-size:14px}.manage-card>small{display:block;margin-top:15px}.manage-card p{color:var(--muted);font-size:12px;margin-bottom:12px}.edit-label{display:block;text-align:right;font-size:11px;color:var(--orange);margin-top:14px}.filter-form{display:flex;align-items:flex-end;gap:12px}.filter-form label{margin:0;max-width:200px}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-note{font-size:11px;color:var(--muted);margin:0 0 20px}.spaced{margin-top:20px}label{display:block;color:#69584b;font-size:12px;margin:18px 0 8px;font-weight:600}label input,label select{display:block;border:1px solid #ded5c9;border-radius:8px;background:#fdfcf9;color:var(--ink);width:100%;padding:12px;margin-top:8px;min-height:44px}form>.primary{margin-top:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6;font-weight:400}.check input{width:19px;min-height:19px;height:19px;margin:2px 0 0;accent-color:var(--orange);flex-shrink:0}.notice{background:#fff3e4;color:#876141;border-radius:8px;padding:14px;font-size:12px;margin:16px 0}.payment-total{background:#f8f1e7;padding:22px;border-radius:12px;text-align:center;margin:20px 0}.payment-total small{display:block;font-size:10px;letter-spacing:1.5px}.payment-total strong{display:block;font-size:32px;margin:8px 0}.payment-total span{font-size:12px;color:var(--muted)}.payment-change{color:var(--green);font-size:12px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-head button{background:#f6f1ea;border-radius:50%;font-size:23px;color:#8b7563;width:34px;height:34px}.modal-head h2{font-size:19px}dialog{border:1px solid var(--line);border-radius:20px;padding:28px;width:min(500px,calc(100% - 24px));max-height:90dvh;overflow:auto;color:var(--ink);box-shadow:0 20px 90px #21130e30}dialog::backdrop{background:#21130e75;backdrop-filter:blur(3px)}.modal-actions{display:flex;gap:10px;margin-top:24px;justify-content:center}.receipt{max-width:310px;margin:20px auto;font-family:"Courier New",monospace;font-size:12px}.receipt>img{display:block;width:64px;height:64px;border-radius:50%;margin:0 auto 12px}.receipt h3{text-align:center;font-size:20px;letter-spacing:2px}.receipt>p{text-align:center;font-size:11px;margin:14px 0}.receipt-lines{border-top:1px dashed #aaa;border-bottom:1px dashed #aaa;padding:14px 0}.receipt-lines>div{display:flex;justify-content:space-between;gap:10px;margin:10px 0}.receipt-lines small{display:block;font-size:10px;margin-top:5px;color:var(--ink)}.receipt-total{display:flex;justify-content:space-between;margin-top:12px;gap:10px}.receipt .thanks{padding-top:15px;border-top:1px dashed #aaa}.refund-mark{color:#ac4936;font-weight:bold}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--dark);color:white;box-shadow:0 5px 25px #21130e30;border-radius:10px;padding:15px 22px;max-width:calc(100% - 32px);z-index:10;opacity:0;pointer-events:none;transition:.2s;font-size:13px}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{background:#a23e29}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-brand{background:var(--dark);color:#fcf3e5;padding:70px 12%;display:flex;flex-direction:column;justify-content:center}.auth-brand img{width:140px;height:140px;border-radius:50%;margin-bottom:38px}.auth-brand .eyebrow{color:#c49165}.auth-brand h1{font-size:43px;line-height:1.2;letter-spacing:-1.7px}.auth-brand p{color:#bca28e;font-size:13px;margin-top:24px}.auth-foot{margin-top:70px;color:#8c7260;font-size:11px}.auth-form{max-width:430px;padding:60px 30px;width:100%;margin:auto}.auth-form h2{font-size:28px;margin-bottom:15px}.auth-form>p{font-size:13px;color:var(--muted);margin-bottom:30px}.auth-form>small{display:block;margin-top:30px;text-align:center;font-size:10px}[hidden]{display:none!important}
@media(min-width:1550px){.product-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.product-art{height:170px}.workspace{padding:40px 48px}.pos-layout{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:1150px){.layout{grid-template-columns:190px 1fr}.sidebar{padding:24px 12px}.workspace{padding:26px 22px}.pos-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.product-art{height:110px}.cart{padding:17px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{font-size:13px}.brand img{width:40px;height:40px}}
@media(max-width:850px){.layout{display:block}.sidebar{position:relative;height:auto;padding:14px 18px}.brand{margin:0 0 14px}.brand img{width:36px;height:36px}.nav-label,.live-dot{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px}.sidebar nav button{white-space:nowrap;padding:10px 12px;font-size:12px;min-height:44px}.sidebar nav button span{font-size:16px;width:auto}.sidebar-bottom{position:absolute;top:10px;right:18px;margin:0;padding:0}.profile{border:0;padding:0}.profile strong{max-width:110px}.profile small{font-size:9px}.workspace{padding:24px 18px 20px}.topbar{margin-bottom:24px}h1{font-size:25px}.pos-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.cart-items{max-height:480px}.auth-brand{padding:50px 10%}.auth-brand h1{font-size:34px}.auth-brand img{width:100px;height:100px}.auth-form{padding:35px 25px}}
@media(max-width:650px){.topbar{gap:10px;align-items:flex-start}.date-pill{font-size:10px;padding:8px 10px}h1{font-size:22px}.topbar .eyebrow{font-size:8px;letter-spacing:1px}.pos-layout{display:block}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-art{height:120px}.catalog-head h2{font-size:17px}.catalog-head{gap:14px}.categories{margin:16px 0}.cart{position:relative;top:auto;margin-top:24px;scroll-margin-top:15px;padding:22px}.cart-items{min-height:120px;max-height:none}.workspace{padding:22px 14px 90px}.mobile-cart{display:flex;position:fixed;bottom:14px;left:14px;right:14px;background:var(--dark);color:white;border-radius:12px;padding:17px;align-items:center;justify-content:space-between;box-shadow:0 8px 25px #21130e40;z-index:2;font-size:12px}.mobile-cart span{color:#ffb677;font-size:11px}.panel{padding:18px}.section-heading{align-items:flex-start}.section-heading .primary,.section-heading .secondary{padding:11px 12px;font-size:11px;flex-shrink:0}.stats{gap:10px;margin:16px 0}.stat{padding:17px 14px}.stat strong{font-size:19px}.stat small{font-size:10px}.report-grid{grid-template-columns:1fr}.filter-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.filter-form label{max-width:none}.filter-form button{font-size:12px;padding:10px}.order-row{gap:9px;flex-wrap:wrap}.order-row small{line-height:1.5}.order-row>b{font-size:12px}.order-row>div{min-width:135px}.order-row>span:last-child{display:none}.order-row .badge{font-size:9px}.receipt-icon{width:30px;height:35px;flex-shrink:0}.form-grid{gap:10px}.auth{display:block}.auth-brand{padding:25px;text-align:center;align-items:center}.auth-brand img{width:80px;height:80px;margin-bottom:14px}.auth-brand h1{font-size:24px}.auth-brand h1 br{display:none}.auth-brand p,.auth-foot{display:none}.auth-brand .eyebrow{font-size:8px;margin-bottom:12px}.auth-form{padding:30px 24px}.auth-form h2{font-size:25px}.profile .avatar{display:none}.profile strong{max-width:110px;font-size:11px}.brand{font-size:12px}.brand small{font-size:7px}.sidebar nav button{padding:10px}.workspace-foot{margin-top:24px}dialog{padding:22px}.modal-actions{flex-wrap:wrap}}
.product-photo{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.product-tag{z-index:1}.category-count{display:inline-block;min-width:18px;font-size:10px;opacity:.7;margin-left:4px}.catalog-filters{display:flex;gap:15px;margin-bottom:20px}.catalog-filters>label{margin:0;flex:1;max-width:330px}.manage-photo{height:150px;background:#eee3d3;border-radius:9px;margin-bottom:16px;display:grid;place-items:center;overflow:hidden}.manage-photo img{width:100%;height:100%;object-fit:cover}.manage-photo>span{font-size:36px;text-align:center}.manage-photo small{display:block;font-size:10px;margin-top:7px}.photo-upload{margin:18px 0;padding:16px;border:1px dashed var(--line);border-radius:12px}.photo-upload>img{width:100%;height:180px;object-fit:contain;background:var(--cream);border-radius:8px}.photo-upload label{margin-top:10px}.photo-upload input[type=file]{font-size:11px;padding:10px;max-width:100%}.category-actions{display:flex;gap:8px;align-items:center;margin-top:18px}.category-actions .secondary{font-size:12px;min-height:40px;padding:9px 15px}@media(max-width:650px){.catalog-filters{flex-direction:column;gap:12px}.catalog-filters>label{max-width:none}.product-manage .manage-photo{height:165px}}
.save-bill-button{width:100%;margin-top:10px;font-size:12px}.badge.unpaid{background:#fff0db;color:#9e620f}.receipt-status{text-align:center;border:2px solid #21130e;font-weight:bold;font-size:17px;padding:8px;margin:15px 0;color:#21130e}.receipt .unpaid-message{font-weight:bold;border:1px dashed #21130e;padding:10px;font-size:11px}.bill-filter{margin-bottom:15px}.bill-list-note{display:block;margin-bottom:10px}.receipt-lines>div>span{min-width:0;overflow-wrap:anywhere}.receipt-lines>div>b{flex-shrink:0;font-size:11px}
.variant-selection>h3{margin:20px 0 8px}.variant-selection>p{font-size:12px}.variant-option{display:flex;align-items:center;gap:12px;width:100%;padding:20px 15px;background:#faf5ee;border:1px solid var(--line);border-radius:12px;margin-top:14px;text-align:left}.variant-option:hover{border-color:var(--orange);background:#fff1e1}.variant-option strong{min-width:45px}.variant-option span{margin-left:auto;color:var(--orange);font-size:12px}.variant-option b{font-size:14px}.product-info .product-price-label{font-size:11px;line-height:1.5}.add-dot{flex-shrink:0}
.profile .profile-edit{display:block;font-size:10px;color:#ffb677;background:none;padding:5px 0;margin:3px 0 0;text-align:left;min-height:24px}.profile .profile-edit:hover{text-decoration:underline}
@media print{body{background:white}body>*{display:none!important}body>dialog[open]{display:block!important;position:absolute;inset:0;margin:0 auto;border:0;padding:0;width:58mm;max-height:none;overflow:visible;box-shadow:none}dialog::backdrop{display:none}dialog>*{display:none!important}dialog>.receipt{display:block!important;width:48mm;max-width:48mm;margin:0 auto;padding:1mm;font-size:10px;color:black}.receipt img{filter:grayscale(1);width:40px;height:40px}.receipt h3{font-size:16px}.receipt>p{font-size:9px}.receipt-lines small,.receipt-lines>div>b{font-size:9px}.receipt-status{font-size:14px;color:black}.receipt .unpaid-message{font-size:9px}.receipt-lines,.receipt-total{break-inside:avoid}@page{margin:0;size:58mm 200mm}}

.printer-controls{display:flex;flex-wrap:wrap;gap:10px;width:100%}.printer-controls small{display:block;width:100%;overflow-wrap:anywhere;color:#75685f}
