/* Operate surface: precise, readable, native controls. No marketing animation. */
.is-demo{--demo-ink:#21172f;--demo-muted:#63566e;--demo-line:#ded5e7;--demo-soft:#f2ecf9;--demo-accent:#75518f;--demo-success:#236744;background:#fbf8ff;color:var(--demo-ink)}
.is-demo [hidden]{display:none!important}
.is-demo .lv2-topbar{position:relative;min-height:76px}
.is-demo .demo-header-links{display:flex;align-items:center;gap:24px;margin-left:auto}
.is-demo .demo-header-links a{font-size:.875rem}
.is-demo .demo-back{color:var(--demo-muted);text-underline-offset:4px}
.is-demo .lv2-topbar nav .lv2-btn{background:var(--demo-accent);color:#fff;border:0;border-radius:8px;padding:12px 18px;min-height:44px}
.is-demo .lv2-wa-float{display:none}
.demo-page{max-width:1400px;margin:0 auto;padding:32px 32px 48px;font:400 1rem/1.5 Inter,Arial,sans-serif}
.demo-page *, .demo-dialog *{box-sizing:border-box}
.demo-page svg{display:inline-block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.demo-page button,.demo-page input,.demo-page select{font:inherit}
.demo-page button{cursor:pointer;touch-action:manipulation}
.demo-page button:disabled{opacity:.45;cursor:not-allowed}
.demo-page :focus-visible{outline:3px solid var(--demo-accent);outline-offset:3px}
.demo-page ::selection{background:#ddc5ef;color:var(--demo-ink)}
.demo-page :where(h1,h2,h3,p,dl,dd,ol){margin:0}
.demo-page h1{font:650 1.75rem/1.2 Inter,Arial,sans-serif;letter-spacing:-.03em;color:var(--demo-ink)}
.demo-page h2{font:650 1.125rem/1.35 Inter,Arial,sans-serif;letter-spacing:-.015em;color:var(--demo-ink)}
.demo-page h3{font:650 1rem/1.4 Inter,Arial,sans-serif;color:var(--demo-ink)}
.demo-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}
.demo-intro p{margin-top:10px;color:var(--demo-muted);max-width:72ch}
.demo-disclaimer{font-size:.875rem;color:var(--demo-muted);margin:16px 0 24px;max-width:100ch}
.demo-frame{border:1px solid var(--demo-line);border-radius:12px;background:#fff;overflow:clip}
.demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;background:var(--demo-soft);border-bottom:1px solid var(--demo-line);font-size:.875rem}
.demo-toolbar p{font-weight:650;display:flex;align-items:center;gap:8px}
.demo-toolbar p:before{content:'';width:8px;height:8px;border-radius:50%;background:var(--demo-muted)}
.demo-toolbar p.is-open:before{background:var(--demo-success)}
.demo-toolbar>span{color:var(--demo-muted)}
.is-demo .demo-sidebar{position:static;width:auto;display:flex;flex-direction:row;gap:12px;padding:0 24px;background:#fff;border-bottom:1px solid var(--demo-line)}
.is-demo .demo-sidebar button{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:58px;padding:14px 12px;color:var(--demo-muted);border:0;background:transparent;font-weight:550;font-size:.9375rem;border-radius:0}
.is-demo .demo-sidebar button.is-active{color:var(--demo-accent);background:transparent;font-weight:650}
.is-demo .demo-sidebar button.is-active:after{content:'';position:absolute;bottom:0;inset-inline:10px;height:3px;background:var(--demo-accent);border-radius:3px 3px 0 0}
.demo-sidebar svg{width:21px;height:21px}
.is-demo .demo-content{padding:24px;background:#fff;overflow:visible}
.is-demo .demo-module{background:transparent}
.demo-section-intro{max-width:74ch;color:var(--demo-muted);margin:10px 0 24px}
.demo-steps{list-style:none;display:flex;gap:24px;flex-wrap:wrap;padding:0 0 18px;color:var(--demo-muted);font-size:.875rem}
.demo-steps .is-complete{font-weight:650;color:var(--demo-success)}
.demo-sale-callout{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:var(--demo-soft);border-radius:8px;margin-bottom:24px}
.demo-sale-callout strong,.demo-sale-callout span{display:block}
.demo-sale-callout span{font-size:.875rem;color:var(--demo-muted);margin-top:3px}
.demo-sale-callout.is-open{background:#edf6f0}
.demo-sale-callout.is-open strong{color:var(--demo-success)}
.demo-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 18px;border:1px solid var(--demo-line);border-radius:8px;gap:8px;line-height:1.4;font-weight:600;white-space:normal;text-align:center;flex-shrink:0;transition:background-color 160ms ease,color 160ms ease}
.demo-button--primary{background:var(--demo-accent);border-color:var(--demo-accent);color:#fff}
.demo-button--quiet{background:#fff;color:var(--demo-ink)}
.demo-link-button{background:transparent;border:0;color:var(--demo-accent);min-height:44px;padding:8px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.demo-sale-callout>.demo-link-button{white-space:nowrap;flex-shrink:0}
.demo-icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:transparent;border:0;color:var(--demo-muted);border-radius:8px}
.demo-icon-button svg{width:20px;height:20px}
.demo-sale-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,370px);gap:28px;align-items:start}
.demo-sale-main{min-width:0}
.demo-catalog-heading,.demo-ticket-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.demo-catalog-heading>span{font-size:.875rem;color:var(--demo-muted)}
.demo-search-tools{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:12px;margin:18px 0}
.demo-page label{display:flex;flex-direction:column;gap:7px;font-size:.875rem;font-weight:550;color:var(--demo-ink)}
.demo-page :where(input[type=search],input[type=number],select){width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--demo-line);border-radius:8px;color:var(--demo-ink);background:#fff;font-size:1rem;caret-color:var(--demo-accent)}
.demo-page input::placeholder{color:var(--demo-muted);opacity:1}
.is-demo .demo-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.is-demo .demo-catalog-btn{display:flex;position:relative;flex-direction:column;justify-content:flex-start;min-width:0;min-height:150px;padding:16px;gap:12px;background:#fff;border:1px solid var(--demo-line);border-radius:12px;color:var(--demo-ink);text-align:left;transition:border-color 160ms ease,background-color 160ms ease;overflow-wrap:anywhere}
.demo-product-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;color:var(--demo-accent)}
.demo-product-head svg{width:30px;height:30px}
.demo-product-head small{font-size:.75rem;color:var(--demo-muted)}
.demo-catalog-btn>strong{font-size:.9375rem;font-weight:650}
.demo-product-bottom{display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:auto}
.demo-product-bottom b{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--demo-ink)}
.demo-product-bottom small{font-size:.75rem;color:var(--demo-muted)}
.demo-product-selected{font-size:.75rem;font-weight:600;color:var(--demo-accent)}
.is-demo .demo-ticket-panel{position:sticky;top:24px;min-width:0;padding:20px;border:1px solid var(--demo-line);border-radius:12px;background:#fff;color:var(--demo-ink);scroll-margin-top:24px}
.demo-secondary{color:var(--demo-muted);font-size:.875rem}
.demo-ticket-panel>.demo-secondary{margin:0 0 12px}
.demo-ticket-items{max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--demo-line) transparent}
.demo-ticket-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;padding:14px 0;border-top:1px solid var(--demo-line)}
.demo-ticket-product{min-width:0}
.demo-ticket-product strong{display:block;font-size:.9375rem;overflow-wrap:anywhere}
.demo-ticket-product small{font-size:.75rem;color:var(--demo-muted)}
.demo-qty-controls{display:flex;align-items:center;gap:6px;grid-column:1;grid-row:2}
.demo-qty-controls button{height:44px;width:44px;border:1px solid var(--demo-line);border-radius:8px;background:#fff;color:var(--demo-ink);font-size:1.125rem}
.demo-qty-controls>span{min-width:22px;text-align:center;font-variant-numeric:tabular-nums}
.demo-ticket-row>.demo-icon-button{grid-column:2;grid-row:1}
.demo-line-total{grid-column:2;grid-row:2;justify-self:end;font-size:.875rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.is-demo .demo-ticket-total{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;padding:18px 0;margin-top:4px;border-top:1px solid var(--demo-line);font-family:Inter,Arial,sans-serif}
.demo-ticket-total span{font-size:.875rem;color:var(--demo-muted)}
.demo-ticket-total strong{font-size:1.75rem;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.demo-ticket-panel>.demo-button{width:100%}
.demo-ticket-note{font-size:.75rem;color:var(--demo-muted);margin-top:12px;line-height:1.5}
.demo-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:170px;padding:24px 10px;text-align:center;color:var(--demo-muted)}
.demo-empty>svg{width:32px;height:32px;color:var(--demo-accent)}
.demo-empty>strong{font-size:.9375rem;color:var(--demo-ink)}
.demo-empty>p{font-size:.875rem;max-width:36ch}
.demo-success{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#edf6f0;padding:16px 20px;margin-bottom:24px;border-radius:8px;color:var(--demo-success)}
.demo-success p{margin-top:6px;font-size:.875rem}
.demo-success>div:last-child{display:flex;align-items:center;gap:8px;flex-shrink:0}
.demo-table-wrap{overflow-x:auto;overscroll-behavior-x:contain}
.demo-data-table{border-collapse:collapse;width:100%;font-size:.9375rem;text-align:left;font-variant-numeric:tabular-nums}
.demo-data-table th,.demo-data-table td{padding:15px 12px;border-bottom:1px solid var(--demo-line)}
.demo-data-table thead{background:var(--demo-soft);color:var(--demo-muted);font-size:.875rem}
.demo-data-table tbody th{font-weight:550}
.demo-cashbox-status{margin:24px 0;color:var(--demo-accent);font-weight:600}
.demo-cb-summary,.demo-report-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:24px 0 32px;background:var(--demo-soft);border-radius:8px}
.demo-report-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.demo-stat{padding:24px;border-inline-end:1px solid var(--demo-line)}
.demo-stat:last-child{border-inline-end:0}
.demo-stat dt{font-size:.875rem;color:var(--demo-muted)}
.demo-stat dd{margin-top:8px;font-size:1.625rem;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;letter-spacing:-.025em}
.demo-report-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.demo-report-layout h3{margin:8px 0 24px}
.demo-chart-row{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:.875rem;margin:18px 0}
.demo-chart-row strong{font-size:.75rem;font-variant-numeric:tabular-nums}
.demo-chart-row>div{grid-column:1/-1;height:8px;background:var(--demo-soft);border-radius:4px;overflow:hidden}
.demo-chart-row i{display:block;height:100%;background:var(--demo-accent)}
.demo-history{list-style:none;padding:0}
.demo-history li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--demo-line);font-size:.875rem;font-variant-numeric:tabular-nums}
.demo-history small{display:block;margin-top:5px;color:var(--demo-muted);font-size:.75rem}
.demo-notice{padding:14px 18px;background:#fff0df;color:#71430d;border-radius:8px;margin:16px 0}
.demo-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;margin:auto;padding:28px;border:0;border-radius:12px;background:#fff;color:var(--demo-ink);box-shadow:0 20px 60px #21172f33;font:400 1rem/1.5 Inter,Arial,sans-serif}
.demo-dialog::backdrop{background:#21172f88}
.demo-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.demo-dialog-heading h2{font-size:1.25rem}
.demo-dialog p{margin:12px 0;color:var(--demo-muted)}
.demo-dialog label{margin-top:16px}
.demo-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
.demo-dialog-actions>.demo-button{flex-shrink:1}
.demo-pay-total{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.demo-pay-total strong{font-size:1.75rem;color:var(--demo-ink);font-variant-numeric:tabular-nums}
.demo-payment-options{border:0;padding:0;margin:24px 0;display:flex;gap:16px;flex-wrap:wrap}
.demo-payment-options legend{font-size:.875rem;font-weight:550}
.demo-payment-options label{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:44px;margin:8px 0 0;padding:10px 16px;background:var(--demo-soft);border-radius:8px;flex:1}
.demo-payment-options input{accent-color:var(--demo-accent);width:18px;height:18px;margin:0}
.demo-dialog .demo-change{font-size:.9375rem;font-variant-numeric:tabular-nums;color:var(--demo-ink)}
.demo-dialog .demo-error{color:#a02d35;font-weight:550;font-size:.875rem}
.demo-mobile-ticket{display:none}
@media(hover:hover){.demo-button--primary:not(:disabled):hover{background:#5f3d79}.demo-button--quiet:hover,.demo-icon-button:hover{background:var(--demo-soft)}.is-demo .demo-catalog-btn:not(:disabled):hover{border-color:var(--demo-accent);background:#faf6ff}.demo-qty-controls button:not(:disabled):hover{background:var(--demo-soft)}}
@media(max-width:1100px){.demo-sale-layout{grid-template-columns:minmax(0,1fr) 310px;gap:20px}.is-demo .demo-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-cb-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-stat:nth-child(2){border-inline-end:0}}
@media(max-width:760px){.demo-page{padding:24px 16px 32px}.demo-intro{align-items:flex-start;flex-wrap:wrap;gap:12px}.demo-page h1{font-size:1.5rem}.demo-intro p{font-size:1rem}.demo-intro>.demo-button{font-size:.875rem;min-height:44px}.demo-disclaimer{margin:12px 0 20px}.demo-toolbar{padding:12px 16px;gap:8px;flex-wrap:wrap}.demo-toolbar>span{font-size:.75rem}.is-demo .demo-sidebar{padding:0 8px;gap:0}.is-demo .demo-sidebar button{flex:1 1 0;min-width:0;flex-direction:column;gap:4px;padding:10px 3px;font-size:.75rem;min-height:62px}.is-demo .demo-content{padding:18px 14px}.demo-steps{gap:10px;justify-content:space-between;font-size:.75rem}.demo-sale-callout{padding:14px;align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:24px}.demo-sale-callout.is-open{flex-direction:row;align-items:center}.demo-sale-callout span{font-size:.875rem}.demo-sale-layout{grid-template-columns:minmax(0,1fr);gap:24px}.demo-search-tools{grid-template-columns:minmax(0,1fr);gap:10px}.demo-search-tools label:last-child{flex-direction:row;align-items:center;gap:12px}.demo-search-tools select{flex:1}.is-demo .demo-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.is-demo .demo-catalog-btn{padding:12px;min-height:142px;gap:10px}.demo-product-head{gap:5px}.demo-product-head small{font-size:.6875rem}.demo-product-head svg{width:25px;height:25px}.demo-product-bottom{flex-direction:column;gap:3px}.is-demo .demo-ticket-panel{position:static;padding:18px;scroll-margin-top:20px}.demo-ticket-items{max-height:none;overflow:visible}.demo-mobile-ticket:not([hidden]){position:sticky;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px -16px -32px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:var(--demo-ink);color:#fff;font-size:.875rem;font-weight:600}.demo-mobile-ticket button{min-height:44px;border:0;background:#fff;color:var(--demo-ink);border-radius:8px;padding:10px 16px;font-weight:650}.demo-table-wrap{margin-inline:-2px}.demo-data-table{font-size:.8125rem}.demo-data-table th,.demo-data-table td{padding:12px 7px}.demo-data-table thead{font-size:.75rem}.demo-data-table thead th:not(:first-child){text-align:center}.demo-data-table td{text-align:center}.demo-report-cards,.demo-cb-summary{grid-template-columns:1fr 1fr}.demo-stat{padding:18px 14px}.demo-stat dd{font-size:1.375rem}.demo-report-cards .demo-stat:last-child{grid-column:1/-1;border-top:1px solid var(--demo-line)}.demo-report-layout{grid-template-columns:1fr;gap:32px}.demo-success{align-items:flex-start;flex-direction:column;padding:14px}.demo-dialog{padding:22px}.demo-dialog-actions{flex-wrap:wrap}.demo-dialog-actions .demo-button{flex:1}.is-demo .lv2-topbar{min-height:68px;padding:8px 16px;gap:8px;flex-wrap:nowrap}.is-demo .lv2-topbar-brand img{width:138px}.is-demo .demo-header-links{gap:8px}.is-demo .demo-header-links .demo-back{display:none}.is-demo .lv2-topbar nav .lv2-btn{font-size:.75rem!important;padding:10px 12px!important;min-height:44px}}
@media(prefers-reduced-motion:reduce){.demo-page *, .demo-page *:before, .demo-page *:after{transition:none;scroll-behavior:auto}}
