:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:left;box-sizing:border-box;flex-direction:column;width:100%;max-width:100%;min-height:100svh;margin:0;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{color:#1a1a2e;background:#f4f5f7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.topbar{color:#fff;z-index:100;background:#1a1a2e;justify-content:space-between;align-items:center;height:56px;padding:0 24px;display:flex;position:sticky;top:0}.topbar-logo{letter-spacing:-.3px;font-size:18px;font-weight:700}.topbar-nav{gap:4px;display:flex}.topbar-nav button{color:#ffffffb3;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:6px;padding:8px 16px;font-size:14px;font-weight:500;transition:background .15s;display:flex}.topbar-nav button:hover{color:#fff;background:#ffffff1a}.topbar-nav button.active{color:#fff;background:#ffffff26}.badge{color:#fff;background:#e74c3c;border-radius:999px;padding:1px 6px;font-size:11px;font-weight:700}.main{max-width:960px;margin:0 auto;padding:24px 16px}.view{flex-direction:column;gap:16px;display:flex}.btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:6px;padding:9px 18px;font-size:14px;font-weight:600;transition:opacity .15s,transform .1s;display:inline-flex}.btn:hover{opacity:.88}.btn:active{transform:scale(.97)}.btn-primary{color:#fff;background:#3498db}.btn-secondary{color:#444;background:#fff;border:1px solid #ddd}.btn-success{color:#fff;background:#27ae60}.btn-large{padding:12px 28px;font-size:16px}.btn-add{justify-content:center;min-width:110px;transition:background .15s,color .15s,opacity .15s,transform .1s}.btn-icon{cursor:pointer;color:#999;background:0 0;border:none;border-radius:4px;padding:4px;display:flex}.btn-icon:hover{color:#e74c3c;background:#fef0f0}.text-input,.amount-input,.qty-input,.search-input{color:#1a1a2e;background:#fff;border:1px solid #ddd;border-radius:8px;width:100%;padding:9px 12px;font-size:14px}.text-input:focus,.amount-input:focus,.qty-input:focus,.search-input:focus{border-color:#3498db;outline:none;box-shadow:0 0 0 3px #3498db26}.qty-input{text-align:center;width:60px}.amount-input{width:100px}.empty-state{text-align:center;color:#999;flex-direction:column;align-items:center;gap:16px;padding:60px 20px;display:flex}.empty-state p{font-size:16px}.search-bar{position:relative}.search-icon{color:#999;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search-input{padding-top:12px;padding-bottom:12px;padding-left:40px;font-size:16px}.product-list{flex-direction:column;gap:8px;display:flex}.product-row{background:#fff;border:1px solid #eee;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;display:flex;box-shadow:0 1px 3px #0000000a}.product-thumb{flex-shrink:0;width:48px;height:48px}.product-thumb img{object-fit:cover;border-radius:6px;width:48px;height:48px}.product-thumb-placeholder{color:#3498db;background:#e8f4fd;border-radius:6px;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;font-weight:700;display:flex}.product-info{flex:1;min-width:0}.product-name{font-size:15px;font-weight:600}.product-name a{color:inherit;border-bottom:1px dotted #aaa;text-decoration:none}.product-name a:hover{border-bottom-color:#333}.product-variant{color:#666;margin-top:1px;font-size:12px}.product-meta{color:#888;flex-wrap:wrap;gap:12px;margin-top:4px;font-size:12px;display:flex}.product-stock.low{color:#e74c3c;font-weight:600}.product-price{white-space:nowrap;color:#1a1a2e;font-size:16px;font-weight:700}.product-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.pagination{justify-content:center;align-items:center;gap:12px;padding:8px 0;display:flex}.pagination-info{color:#666;font-size:14px}.cart-items{background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden}.cart-row{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.cart-row:last-child{border-bottom:none}.cart-row-discount,.cart-row-return{background:#fffbf0}.cart-row-name{flex:1;align-items:center;gap:8px;font-size:14px;font-weight:500;display:flex}.cart-row-controls{align-items:center;gap:12px;display:flex}.cart-row-price{text-align:right;min-width:80px;font-size:14px;font-weight:600}.qty-controls{align-items:center;gap:8px;display:flex}.qty-controls button{cursor:pointer;background:#f8f8f8;border:1px solid #ddd;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;display:flex}.qty-controls button:hover{background:#eee}.qty-controls span{text-align:center;min-width:24px;font-weight:600}.tag{border-radius:4px;padding:2px 7px;font-size:11px;font-weight:600}.tag-discount{color:#856404;background:#fef3cd}.cart-extras{background:#fff;border:1px solid #eee;border-radius:12px;flex-direction:column;gap:10px;padding:16px;display:flex}.field-row{flex-direction:column;gap:4px;display:flex}.field-row label{color:#666;font-size:12px;font-weight:600}.extra-row-buttons{gap:8px;display:flex}.extra-row-form{background:#f8f9fa;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex}.extra-row-form .text-input{flex:1;min-width:180px}.cart-summary{background:#fff;border:1px solid #eee;border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex}.vat-breakdown{flex-direction:column;gap:4px;display:flex}.vat-row{color:#666;justify-content:space-between;font-size:13px;display:flex}.total-row{border-top:2px solid #eee;justify-content:space-between;align-items:center;padding-top:8px;display:flex}.total-row span:first-child{font-size:16px;font-weight:600}.total-amount{color:#1a1a2e;font-size:24px;font-weight:800}.payment-method label{color:#666;margin-bottom:6px;font-size:13px;font-weight:600;display:block}.payment-options{gap:8px;display:flex}.payment-btn{color:#444;cursor:pointer;background:#fff;border:2px solid #ddd;border-radius:8px;padding:8px 20px;font-size:14px;font-weight:600;transition:all .15s}.payment-btn.active{color:#3498db;background:#ebf5fb;border-color:#3498db}.cart-actions{justify-content:space-between;align-items:center;padding-top:4px;display:flex}.receipt-view{align-items:center}.receipt{background:#fff;border:1px solid #eee;border-radius:12px;width:100%;max-width:400px;padding:24px;font-size:14px}.receipt-header{text-align:center;margin-bottom:16px}.receipt-shop-name{margin-bottom:4px;font-size:18px;font-weight:800}.receipt-shop-meta{color:#666;font-size:12px}.receipt-divider{border:none;border-top:1px dashed #ccc;margin:12px 0}.receipt-meta{flex-direction:column;gap:4px;display:flex}.receipt-meta-row{justify-content:space-between;font-size:13px;display:flex}.receipt-meta-row span:first-child{color:#666}.receipt-items{flex-direction:column;gap:8px;display:flex}.receipt-item{flex-direction:column;gap:2px;display:flex}.receipt-item-name{font-weight:600}.receipt-item-detail{color:#888;font-size:12px}.receipt-item-total{text-align:right;font-weight:700}.receipt-total-row{justify-content:space-between;align-items:center;display:flex}.receipt-total-row span:first-child{font-size:15px;font-weight:600}.receipt-total-amount{font-size:22px;font-weight:800}.receipt-vat{color:#666;font-size:12px}.receipt-vat-header{color:#444;margin-bottom:6px;font-weight:700}.receipt-vat-row{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:3px;display:flex}.receipt-vat-rate{font-weight:600}.receipt-actions{flex-direction:column;align-items:center;gap:12px;width:100%;max-width:400px;padding-top:8px;display:flex}.email-sent{color:#27ae60;background:#eafaf1;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;display:flex}.zreport-view{align-items:center}.zreport-layout{align-items:flex-start;gap:20px;flex-direction:row!important}.zreport-sidebar{background:#fff;border:1px solid #eee;border-radius:12px;flex-direction:column;flex-shrink:0;gap:8px;width:224px;padding:12px;display:flex}.zreport-content{flex-direction:column;flex:1;align-items:center;gap:12px;display:flex}.cal-nav{justify-content:space-between;align-items:center;display:flex}.cal-nav span{color:#1a1a2e;font-size:13px;font-weight:700}.cal-nav button{cursor:pointer;color:#666;background:0 0;border:none;border-radius:6px;padding:4px;display:flex}.cal-nav button:hover:not(:disabled){color:#1a1a2e;background:#f0f0f0}.cal-nav button:disabled{opacity:.3;cursor:default}.cal-weekdays{text-align:center;grid-template-columns:repeat(7,1fr);margin-bottom:4px;display:grid}.cal-weekdays span{color:#aaa;padding:2px 0;font-size:10px;font-weight:700}.cal-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.cal-day{aspect-ratio:1;cursor:pointer;color:#ccc;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:100%;font-size:12px;display:flex}.cal-day.has-data{color:#3498db;cursor:pointer;background:#f0f7ff;font-weight:600}.cal-day.has-data:hover{background:#dbeeff}.cal-day.today{outline-offset:-2px;outline:2px solid #3498db}.cal-day.selected{color:#fff!important;background:#3498db!important}.zreport{background:#fff;border:1px solid #eee;border-radius:12px;width:100%;max-width:480px;padding:24px}.zreport-header{text-align:center;margin-bottom:20px}.zreport-title{letter-spacing:2px;font-size:20px;font-weight:800}.zreport-date{color:#666;margin-top:4px;font-size:14px}.zreport-section{margin-bottom:20px}.zreport-section-title{color:#999;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid #eee;margin-bottom:8px;padding-bottom:4px;font-size:12px;font-weight:700}.zreport-row{justify-content:space-between;padding:6px 0;font-size:14px;display:flex}.zreport-row.negative{color:#e74c3c}.zreport-row.total{border-top:1px solid #eee;padding-top:10px;font-weight:700}.zreport-row.total.large span:last-child{font-size:22px;font-weight:800}.zreport-vat-row{flex-wrap:wrap;justify-content:space-between;gap:8px;padding:5px 0;font-size:13px;display:flex}.zreport-vat-rate{min-width:60px;font-weight:600}.zreport-total-section{margin-top:16px}.zreport-actions{justify-content:center;padding-top:8px;display:flex}.settings-view{max-width:560px}.settings-section{background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden}.settings-section-title{text-transform:uppercase;letter-spacing:1px;color:#999;border-bottom:1px solid #f0f0f0;padding:14px 20px 10px;font-size:11px;font-weight:700}.settings-grid{flex-direction:column;gap:0;display:flex}.settings-grid .field-row{border-bottom:1px solid #f6f6f6;padding:12px 20px}.settings-grid .field-row:last-child{border-bottom:none}.settings-grid label{color:#666;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.field-hint{color:#aaa;margin-top:4px;font-size:11px;display:block}.settings-loading{color:#999;align-items:center;gap:6px;padding:9px 0;font-size:13px;display:flex}.settings-actions{justify-content:flex-end;display:flex}.onboarding-container{background:#f4f5f7;justify-content:center;align-items:flex-start;min-height:100vh;padding:40px 16px;display:flex}.onboarding-card{background:#fff;border-radius:16px;width:100%;max-width:560px;overflow:hidden;box-shadow:0 4px 24px #00000014}.onboarding-header{color:#fff;background:#1a1a2e;padding:32px 32px 28px}.onboarding-logo{color:#ffffff80;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px;font-size:13px;font-weight:600}.onboarding-header h1{margin-bottom:8px;font-size:26px;font-weight:700}.onboarding-header p{color:#ffffffb3;font-size:14px;line-height:1.5}.onboarding-section{border-bottom:1px solid #f0f0f0}.onboarding-section-title{color:#aaa;text-transform:uppercase;letter-spacing:.8px;padding:16px 20px 4px;font-size:11px;font-weight:700}.onboarding-actions{justify-content:flex-end;padding:20px;display:flex}.required{color:#e74c3c}.spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-msg{color:#e74c3c;background:#fde8e8;border-radius:8px;padding:8px 14px;font-size:13px}@media (width<=600px){.topbar{flex-wrap:wrap;gap:0;height:auto;padding:10px 12px 0}.topbar-logo{width:100%;padding-bottom:8px;font-size:16px}.topbar-nav{border-top:1px solid #ffffff1a;justify-content:stretch;width:100%}.topbar-nav button{border-radius:0;flex:1;justify-content:center;padding:8px 4px;font-size:12px}.main{padding:16px 10px}.product-row{flex-wrap:wrap;gap:8px;padding:10px 12px}.product-thumb,.product-thumb img,.product-thumb-placeholder{width:40px;height:40px}.product-info{flex:1;min-width:0}.product-name{font-size:14px}.product-meta{gap:8px}.product-price{white-space:nowrap;font-size:15px}.product-actions{justify-content:flex-end;width:100%}.btn-add{min-width:90px}.settings-view{max-width:100%}.onboarding-container{padding:0}.onboarding-card{border-radius:0;min-height:100vh}}@media print{.topbar,.no-print{display:none!important}body{background:#fff}.main{max-width:100%;padding:0}.receipt,.zreport{box-shadow:none;border:none;max-width:100%}}
