:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--pink:#fbe4ee;--surface:#fdf4f9;--field:#efedee;--white:#fff;--ink:#1d1b1c;--muted:#8b8386;--radius:3px;--radius-sm:3px;--shadow:0 0 10px #1d1b1c14;--tap:#1d1b1c0f;--tap-strong:#1d1b1c1f}*{box-sizing:border-box;scrollbar-width:none;-ms-overflow-style:none}::-webkit-scrollbar{display:none}html,body{overscroll-behavior:none;touch-action:manipulation;height:100%;margin:0;padding:0}body{background:var(--pink);color:var(--ink);-webkit-font-smoothing:antialiased;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.5}h1,h2,h3{margin:0;font-weight:700;line-height:1.2}a{color:inherit}.app-shell{height:100vh;display:flex}.sidebar{background:var(--surface);flex-direction:column;flex:none;gap:1.4rem;width:236px;padding:1.5rem 1.1rem;display:flex;overflow-y:auto}.brand{width:100%;height:auto;display:block}.nav{flex-direction:column;gap:.3rem;display:flex}.nav-link{color:var(--muted);border-radius:var(--radius-sm);padding:.7rem .85rem;font-weight:600;text-decoration:none;display:block}.nav-link:hover{background:var(--tap);color:var(--ink)}.nav-link.active{background:var(--tap-strong);color:var(--ink)}.nav-separator{background:var(--tap-strong);height:1px;margin:.5rem .85rem}.nav-bottom{margin-top:auto}.nav form{display:contents}.nav-button{text-align:left;background:0 0;width:100%}main{flex:1;max-width:1100px;margin:0 auto;padding:2rem 2.5rem 4rem;overflow-y:auto}main.flush{max-width:none;margin:0;padding:0;overflow:hidden}.page-head{margin-bottom:1.5rem}.page-head h1{margin-bottom:.3rem;font-size:1.7rem}.muted{color:var(--muted);margin:0}.hint{color:var(--muted);font-size:.82rem}.emoji{font-family:Fluent Emoji High Contrast,sans-serif}.pill{background:var(--tap);color:var(--ink);text-transform:uppercase;letter-spacing:.03em;border-radius:999px;padding:.15rem .55rem;font-size:.72rem;font-weight:700}.pill.off{color:var(--muted);background:0 0}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.15rem 1.25rem}.card h2{margin-bottom:.9rem;font-size:1.05rem}input,select,button{font:inherit}input,select{border-radius:var(--radius-sm);background:var(--white);color:var(--ink);border:none;min-width:0;padding:.6rem .8rem}input::placeholder{color:var(--muted)}input:focus,select:focus{box-shadow:0 0 0 3px var(--tap-strong);outline:none}input[type=checkbox]{width:1.15rem;height:1.15rem;accent-color:var(--ink);background:var(--white);flex:none;padding:0}input[type=number]{appearance:textfield}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}button{border-radius:var(--radius-sm);background:var(--white);color:var(--ink);cursor:pointer;white-space:nowrap;border:none;padding:.6rem .95rem;font-weight:600;transition:background .15s}button:hover{background:var(--tap)}button.primary{background:var(--ink);color:var(--white)}button.primary:hover{background:#000}button.ghost{color:var(--muted);background:0 0}button.ghost:hover{background:var(--tap);color:var(--ink)}button.danger{color:var(--muted);background:0 0}button.danger:hover{background:var(--tap);color:var(--ink)}.row{align-items:center;gap:.5rem;display:flex}.grow{flex:1}.links{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;max-width:760px;display:grid}.link{flex-direction:column;gap:.3rem;text-decoration:none;transition:box-shadow .15s;display:flex}.link strong{font-size:1.05rem}.link:hover{box-shadow:0 14px 34px #1d1b1c24}.new-type{margin-bottom:1.25rem}.new-type .name,.type .name{flex:1}.grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1rem;display:grid}.type{gap:.9rem;display:grid}.type.inactive{opacity:.55}.type-head{align-items:center;gap:.5rem;display:flex}.prices{gap:.5rem;display:grid}.price-row{align-items:center;gap:.4rem;display:flex}.price-row .amount{text-align:right;flex:none;width:7rem}.price-row.inactive .amount{opacity:.5;text-decoration:line-through}.type-actions{gap:.5rem;display:flex}.empty{margin-top:1.5rem}.settings-grid{gap:1rem;max-width:760px;display:grid}.field{gap:.35rem;margin-bottom:.9rem;display:grid}.field label{font-size:.9rem;font-weight:600}.checkbox{cursor:pointer;align-items:center;gap:.55rem;font-size:.9rem;font-weight:600;display:flex}.methods{gap:.5rem;margin-top:.9rem;display:grid}.method-row{align-items:center;gap:.5rem;display:flex}.fee{color:var(--muted);align-items:center;gap:.3rem;font-size:.85rem;font-weight:600;display:flex}.fee input{text-align:right;flex:none;width:4.5rem}.flash{border-radius:var(--radius-sm);background:var(--tap);color:var(--ink);margin-bottom:1rem;padding:.65rem .9rem;font-size:.9rem;font-weight:600}.register{grid-template-columns:minmax(0,1fr) 360px;height:100%;display:grid}.register-items{padding:2rem 2.5rem 3rem;overflow-y:auto}.type-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;display:grid}.type-tile{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:1.25rem .75rem;font-weight:600;display:flex}.type-tile:hover{background:var(--white);box-shadow:0 0 16px #1d1b1c29}.tile-icon{font-size:2rem;line-height:1}.cart-panel{background:var(--surface);flex-direction:column;height:100%;display:flex;overflow:hidden}.cart-scroll{flex-direction:column;flex:1;gap:1.4rem;padding:2rem 1.5rem 1rem;display:flex;overflow-y:auto}.cart-panel h2{font-size:1.1rem}.cart-lines{gap:.7rem;margin:0;padding:0;list-style:none;display:grid}.cart-lines li{align-items:center;gap:.5rem;display:flex}.line-name{flex:1}.line-amount,.total-row span:last-child{font-variant-numeric:tabular-nums}.remove{padding:.2rem .5rem;line-height:1}.totals{gap:.5rem;display:grid}.total-row{justify-content:space-between;display:flex}.total-row.grand{margin-top:.5rem;font-size:1.15rem;font-weight:700}.total-row.sub{color:var(--muted);font-size:.9rem}.discount{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.discount input{text-align:right;flex:none;width:6rem}.pay-options{flex-wrap:wrap;gap:.6rem;margin-top:.6rem;display:flex}.pay-option.active{background:var(--ink);color:var(--white)}.checkout{padding:1rem 1.5rem 1.5rem}.charge{width:100%;padding:.9rem;font-size:1.05rem}.charge:disabled{opacity:.4;cursor:not-allowed}.sheet-backdrop{cursor:pointer;background:#1d1b1c59;border-radius:0;width:100%;height:100%;padding:0;position:fixed;inset:0}.sheet-backdrop:hover{background:#1d1b1c66}.sheet{background:var(--surface);border-radius:var(--radius);gap:1rem;width:min(90vw,460px);padding:1.5rem;display:grid;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 60px #1d1b1c47}.sheet h3{font-size:1.2rem}.sheet-prices{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.6rem;display:grid}.price-tile{font-variant-numeric:tabular-nums;background:var(--white);padding:1rem .5rem;font-size:1.15rem;font-weight:700}.custom-price{gap:.4rem;display:grid}.custom-price label{font-size:.85rem;font-weight:600}@media (width<=900px){main.flush{overflow-y:auto}.register{grid-template-columns:1fr;height:auto}.register-items,.cart-panel,.cart-scroll{overflow:visible}.cart-panel{height:auto;display:block}}.crumb{margin-bottom:.75rem}.crumb a{color:var(--muted);text-decoration:none}.crumb a:hover{color:var(--ink)}.filters{flex-wrap:wrap;align-items:center;gap:.9rem;margin-bottom:1.25rem;display:flex}.filters label{color:var(--muted);align-items:center;gap:.4rem;font-size:.85rem;font-weight:600;display:flex}.clear{color:var(--muted);align-self:center}.sales-table{border-collapse:collapse;background:var(--surface);border-radius:var(--radius);width:100%;box-shadow:var(--shadow);overflow:hidden}.sales-table th{text-align:left;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);padding:.5rem .75rem;font-size:.78rem}.sales-table td{padding:.7rem .75rem}.sales-table th:last-child,.sales-table td:last-child{text-align:right;font-variant-numeric:tabular-nums}.sales-table a{font-weight:600;text-decoration:none}.sales-table a:hover{text-decoration:underline}.sales-table tbody tr{position:relative}.sale-link:after{content:"";position:absolute;inset:0}.sales-table tbody tr:hover{background:var(--tap)}.sales-table tr.voided td{opacity:.5;text-decoration:line-through}.pager{justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;font-size:.9rem;font-weight:600;display:flex}.pager a{color:var(--ink);text-decoration:none}.pager a:hover{text-decoration:underline}.pager .disabled{color:var(--muted);opacity:.5}.detail-status{align-items:center;gap:.6rem;margin-top:.6rem;display:flex}.detail-card{max-width:640px}.sale-lines{gap:.6rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.sale-lines li{align-items:center;gap:.6rem;display:flex}.sale-lines li.refunded .line-name,.sale-lines li.refunded .line-amount{opacity:.5;text-decoration:line-through}.sale-lines .line-name{flex:1}.detail-card .totals{max-width:320px;margin-left:auto}.detail-actions{gap:.6rem;margin-top:1.25rem;display:flex}.edit-form{max-width:640px;margin-top:1.25rem}.edit-lines{gap:.5rem;margin:.5rem 0 1rem;display:grid}.edit-line{align-items:center;gap:.5rem;display:flex}.edit-line select{flex:1}.edit-line .amount{text-align:right;flex:none;width:7rem}.edit-actions{gap:.6rem;display:flex}.login{place-items:center;min-height:100vh;padding:2rem;display:grid}.login form{background:var(--surface);border-radius:var(--radius);width:min(340px,100%);box-shadow:var(--shadow);gap:1rem;padding:2rem;display:grid}.login .brand{width:60%;margin:0 auto .75rem}.login h1{text-align:center;font-size:1.15rem}.login .error{color:#b3261e;text-align:center;margin:0;font-size:.9rem;font-weight:600}.range{flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.range-presets{flex-wrap:wrap;gap:.35rem;display:flex}.range-presets a{border-radius:var(--radius-sm);color:var(--muted);background:0 0;padding:.45rem .8rem;font-size:.85rem;font-weight:600;text-decoration:none;display:inline-block}.range-presets a:hover{color:var(--ink);background:var(--tap)}.range-presets a.active{background:var(--tap-strong);color:var(--ink)}.range-custom{align-items:center;gap:.9rem;margin-left:auto;display:flex}.range-custom label{color:var(--muted);align-items:center;gap:.4rem;font-size:.85rem;font-weight:600;display:flex}.range-custom input,.filters input{background:0 0}.date-range{background:var(--tap);border-radius:var(--radius-sm);align-items:center;gap:.6rem;padding:.1rem .55rem;display:flex}.date-range label{color:var(--muted);align-items:center;gap:.35rem;font-size:.85rem;font-weight:600;display:flex}.date-range input{color:var(--muted)}.range-custom input::-webkit-calendar-picker-indicator{opacity:.5}.filters input::-webkit-calendar-picker-indicator{opacity:.5}.kpis{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin-bottom:1.5rem;display:grid}.stat{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);gap:.2rem;padding:.9rem 1rem;display:grid}.stat-label{text-transform:uppercase;letter-spacing:.03em;color:var(--muted);font-size:.76rem;font-weight:600}.stat-value{font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:700}.stat-sub{color:var(--muted);font-size:.8rem}.charts{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.chart-card{align-content:start;gap:.75rem;display:grid}.chart-card.wide{grid-column:1/-1}.chart-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.chart-head h3{font-size:1rem}.seg{background:var(--tap);border-radius:var(--radius-sm);padding:2px;display:inline-flex}.seg button{color:var(--muted);background:0 0;padding:.3rem .7rem;font-size:.82rem}.seg button.active{background:var(--white);color:var(--ink)}@media (width<=900px){.charts{grid-template-columns:1fr}}
