:root{--app-accent:#7c3aed;--app-accent-rgb:124,58,237;--app-accent-ink:#fff}.button.primary,.mobile-sale-summary .primary{background:var(--app-accent);border-color:var(--app-accent);color:var(--app-accent-ink);box-shadow:0 5px 16px rgba(var(--app-accent-rgb),.15)}.sidebar nav a.active{color:var(--app-accent);background:rgba(var(--app-accent-rgb),.1)}.settings-tabs .button.active,.theme-tag{background:rgba(var(--app-accent-rgb),.1);color:var(--app-accent);border-color:rgba(var(--app-accent-rgb),.2)}.pill,.avatar,.profile .avatar{background:rgba(var(--app-accent-rgb),.1);color:var(--app-accent)}input,select,textarea{accent-color:var(--app-accent)}input:focus,select:focus,textarea:focus{border-color:var(--app-accent);outline-color:rgba(var(--app-accent-rgb),.3)}.theme-samples{display:flex;align-items:center;gap:15px}.theme-tag{padding:10px 16px;border-radius:8px}.bulk-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0 22px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px}.bulk-toolbar .button{min-height:36px;font-size:11px}.bulk-toolbar>span{margin-right:12px;font-size:12px}.table-wrap input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0;margin:0}.product-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-tile{padding:0;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .15s}.product-tile-main{width:100%;border:0;background:transparent;text-align:left;padding:15px;cursor:pointer;color:inherit;font:inherit;display:flex;flex-direction:column;flex:1;min-width:0}.product-tile-main:disabled{opacity:.55;cursor:default}.product-tile-main>.product-thumb{width:100%;height:145px;object-fit:contain;border-radius:8px;background:#faf9fc;margin-bottom:12px}.product-tile-main>strong{font-size:12px;line-height:1.6;margin-bottom:4px}.product-tile-main>small{font-size:10px;color:#9c8ba7}.product-tile-main .tile-bottom{width:100%;margin-top:auto;padding-top:14px}.product-tile-actions{display:flex;gap:7px;justify-content:space-between;border-top:1px solid var(--line);padding:9px 10px}.product-tile-actions .pinned{background:rgba(var(--app-accent-rgb),.12);color:var(--app-accent)}.product-tile-actions .button{font-size:10px;min-height:32px;padding:6px 8px}.pos-favourites{margin:0 0 28px;padding-bottom:20px;border-bottom:1px solid var(--line)}.pos-favourites h3,.catalog-title{font-size:13px;margin:18px 4px;color:#786488}.pos-favourites h3{color:var(--app-accent)}.pos-pin-hint{padding:10px 20px}.product-detail-main{display:block;width:100%;height:330px;object-fit:contain;background:#faf9fd;border-radius:10px}.product-detail-gallery{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.product-detail-gallery button{background:white;border:1px solid var(--line);border-radius:8px;padding:4px;cursor:pointer}.product-detail-gallery img{width:65px;height:65px;object-fit:contain}.product-detail dl{display:grid;grid-template-columns:150px 1fr;gap:12px;font-size:13px}.product-detail dd{margin:0}.product-detail dt{color:#9a86a7}.product-detail-price{font-size:22px;color:var(--app-accent)}.product-detail-placeholder{height:160px;display:grid;place-items:center;background:#f8f5fc;border-radius:12px}.customer-addresses{margin:12px 0 20px}.customer-addresses summary{cursor:pointer;color:var(--app-accent);font-size:12px;margin-bottom:16px}.invoice-preview{position:relative}.invoice-preview p{white-space:pre-line}.invoice-payment-stamp{display:inline-block;border:2px solid currentColor;padding:8px 16px;letter-spacing:1px;border-radius:4px;font-size:20px;font-weight:700;margin-top:12px}.is-paid{color:#267447;transform:rotate(-7deg)}.is-unpaid{color:#444;background:#f5f5f7;border-color:transparent;font-size:16px}.invoice-modern .is-unpaid{background:#ffffff1c;color:inherit}.invoice-parties,.reference-addresses{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:20px 0 26px}.invoice-parties section,.reference-addresses>div{min-width:0}.invoice-parties h3,.invoice-note-block h3,.invoice-payment-information h3,.invoice-section-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin:0 0 8px}.invoice-parties p{font-size:11px;line-height:1.7;margin:4px 0}.invoice-sale-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;color:#81758c;margin-bottom:16px}.invoice-note-block,.invoice-payment-information{clear:both;margin:24px 0;font-size:11px;line-height:1.8}.invoice-note-block p,.invoice-payment-information p{white-space:pre-line}.reference-invoice-header{display:flex;justify-content:space-between;align-items:center;min-height:90px;gap:20px}.reference-invoice-header>div{text-align:right}.reference-invoice-header h1{font-size:25px;font-weight:400;margin:8px 0;color:#222}.reference-invoice-header small{font-size:11px}.reference-rule{height:1px;background:var(--invoice-accent);margin:18px 0 24px}.reference-to{display:grid;grid-template-columns:1fr auto;gap:25px}.reference-to .invoice-section-label{display:block;margin-bottom:12px}.reference-to p{font-size:12px;line-height:1.7}.reference-from{display:grid;grid-template-columns:60px 1fr;gap:20px;border-top:1px solid var(--invoice-accent);padding:24px 0;margin-top:24px}.reference-from h2{font-size:16px;color:#222}.reference-from p{font-size:12px;line-height:1.7;margin:2px 0}.invoice-trade{color:#222}.invoice-trade th{background:var(--invoice-accent);color:var(--invoice-foreground);font-size:10px;padding:9px 7px}.invoice-trade td{padding:12px 7px;font-size:11px}.invoice-trade .invoice-totals .grand{color:#222}.invoice-trade .invoice-logo{max-height:90px;width:120px}.bold-invoice-header{display:grid;grid-template-columns:1.25fr 1fr;gap:15px;align-items:start;border-bottom:1px solid #222;padding-bottom:15px}.bold-invoice-header h1{font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:44px;letter-spacing:-1px;color:#111;margin:0}.bold-invoice-header>div{text-align:right;font-size:10px}.bold-invoice-header p{margin:5px 0}.bold-invoice-header .invoice-logo{display:block;margin:0 0 8px auto;width:70px;height:45px;object-fit:contain}.invoice-bold{color:#111;min-height:245mm;display:flex;flex-direction:column}.invoice-bold .invoice-parties{border-bottom:1px solid #777;padding-bottom:20px;margin-bottom:30px}.invoice-bold .table-wrap{border:0;border-radius:0}.invoice-bold th{background:white;color:#111;border-top:1px solid #111;border-bottom:1px solid #111;font-size:10px}.invoice-bold td{padding:15px 8px;font-size:11px;border:0}.invoice-bold .invoice-totals{border-top:1px solid #aaa}.invoice-bold .invoice-totals .grand{color:#111}.bold-invoice-footer{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;margin-top:auto!important;border-top:1px solid #999!important;border-bottom:1px solid #999;padding:15px 0!important;text-align:left!important;color:#222!important}.bold-invoice-footer p{font-size:11px;margin:2px 0;line-height:1.7}.bold-invoice-footer .invoice-payment-information{margin:0}.bold-status{align-self:flex-end}.mini-trade{border-top:0;border-bottom:2px solid var(--mini-accent)}.mini-bold{background:#fff;border-top:10px solid #111}.mini-bold i:last-child{background:#111}.invoice-preview .product-thumb{width:45px;height:45px;object-fit:contain}@media(min-width:1700px){.product-picker{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.product-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.product-tile-main>.product-thumb{height:145px}.product-detail-main{height:260px}.invoice-bold{min-height:0}.reference-invoice-header h1{font-size:20px}.bold-invoice-header h1{font-size:35px}}@media(max-width:600px){.product-tile-main{padding:12px}.product-tile-main>.product-thumb{height:125px}.product-tile-actions .button{min-height:36px}.bulk-toolbar{gap:6px}.invoice-parties,.reference-addresses{gap:14px}.reference-from{grid-template-columns:42px 1fr;gap:12px}.bold-invoice-header{grid-template-columns:1fr}.bold-invoice-header>div{text-align:left}.bold-invoice-header .invoice-logo{margin-left:0}.reference-invoice-header{flex-wrap:wrap}.reference-invoice-header>div{text-align:left}.bold-invoice-footer{grid-template-columns:1fr}.invoice-trade td,.invoice-trade th{font-size:8px;padding:7px 4px}.invoice-trade .table-wrap table{min-width:450px}.product-detail dl{grid-template-columns:110px 1fr}.product-detail-main{height:220px}}@media print{@page{size:A4;margin:14mm}.invoice-preview{max-width:100%;color:#111;padding:0}.invoice-trade .table-wrap table{min-width:0}.invoice-bold{min-height:255mm}.reference-invoice-header,.invoice-parties,.reference-addresses,.invoice-note-block,.invoice-payment-information{break-inside:avoid}.invoice-preview th{-webkit-print-color-adjust:exact;print-color-adjust:exact}.invoice-payment-stamp{border:2px solid currentColor}.invoice-bold .bold-invoice-header{grid-template-columns:1.25fr 1fr}.bold-invoice-footer{grid-template-columns:1.1fr 1fr}}
.variant-dropdown{display:block;font-size:10px;margin:10px 0 0;color:#8d799b}.variant-dropdown>span{display:block;margin-bottom:5px}.variant-dropdown select{width:100%;min-height:38px;padding:7px 9px;font-size:11px;max-width:300px}.product-tile>.variant-dropdown{margin:0 12px 12px}.product-tile>.variant-dropdown select{max-width:none}.variant-single{display:block;font-size:10px;color:#8d799b;margin-top:7px}.product-tile>.variant-single{margin:0 12px 12px}.payment-overview{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 26px}.payment-overview .stat{min-height:110px}.offline-banner,#offline-banner{margin:12px 38px 0;padding:14px 18px;background:#fff7df;border:1px solid #ecdcaf;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}#offline-banner small{display:block;font-size:10px;margin-top:5px;color:#8a774c}#offline-banner>div:last-child{display:flex;gap:8px}#offline-banner[hidden]{display:none}@media(max-width:650px){#offline-banner{margin:10px 14px 0;display:block}#offline-banner>div:last-child{margin-top:10px}.payment-overview{grid-template-columns:1fr}.variant-dropdown select{font-size:12px;min-height:42px}.product-tile-main>strong{font-size:12px}}@media print{#offline-banner{display:none!important}}

.overview-graph .sales-path{stroke:var(--app-accent)}.overview-graph circle{fill:var(--app-accent)}.chart-bar{background:var(--app-accent)}.stock-ring{--ring-accent:var(--app-accent)}
.image-import-progress{padding:16px 18px;margin:14px 0;background:#fff;border:1px solid var(--line);border-radius:12px}.image-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.image-import-progress progress{display:block;width:100%;height:13px;margin:12px 0 9px;border:0;border-radius:20px;overflow:hidden;accent-color:var(--app-accent)}.image-import-progress progress::-webkit-progress-bar{background:#eee9f3;border-radius:20px}.image-import-progress progress::-webkit-progress-value{background:var(--app-accent);border-radius:20px;transition:width .25s ease}.image-import-progress p{font-size:11px;color:var(--muted);margin:0}.import-stock-summary{margin:16px 0}.import-stock-summary h3,.product-location-stock h3{font-size:14px}.product-location-stock .table-wrap table{min-width:0}.current-stock-location{background:rgba(var(--app-accent-rgb),.06)}.inventory-sheet-dialog{width:calc(100vw - 48px);max-width:1800px;max-height:94vh}.inventory-sheet-dialog .dialog-body{padding:14px 18px}.sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-bottom:12px;font-size:12px}.sheet-scroll{max-height:66vh;overflow:auto;border:1px solid #dcd6e3;border-radius:8px}.inventory-sheet{border-collapse:separate;border-spacing:0;min-width:2150px;table-layout:fixed;width:100%}.inventory-sheet th,.inventory-sheet td{border-right:1px solid #e8e3ec;border-bottom:1px solid #e8e3ec;padding:0;min-width:130px;width:150px;background:#fff;vertical-align:top}.inventory-sheet thead th{position:sticky;top:0;z-index:3;background:#f5f2f8;padding:11px 8px;color:#544460;font-size:11px}.inventory-sheet th:first-child{position:sticky;left:0;z-index:2;width:240px;min-width:240px;background:#fbfafc;padding:10px 12px}.inventory-sheet thead th:first-child{z-index:4}.inventory-sheet tbody th strong{display:block;font-size:11px;line-height:1.5}.inventory-sheet tbody th small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.inventory-sheet input,.inventory-sheet select{width:100%;border:0;border-radius:0;box-shadow:none;min-height:48px;padding:10px 8px;font-size:12px;max-width:none;background:transparent;color:inherit}.inventory-sheet input:focus,.inventory-sheet select:focus{outline:2px solid var(--app-accent);outline-offset:-2px}.inventory-sheet input:disabled{background:#f6f5f8;color:#a69bad}.sheet-numeric{text-align:right}.inventory-sheet .sheet-row-state{font-size:11px;min-width:190px;width:190px;padding:8px;color:#4f795a}.sheet-row-state small{display:block;color:#b13c42;white-space:normal;max-width:220px;line-height:1.6}.sheet-row-error td{background:#fff8f8}.sheet-save-status.is-saving{color:#946411}.sheet-save-status.is-saved{color:#31754c}.sheet-save-status.has-error{color:#b13c42}.google-pairing code{display:block;font-size:24px;letter-spacing:4px;padding:10px 0;color:var(--app-accent)}@media(max-width:650px){.inventory-sheet-dialog{width:calc(100vw - 12px);max-height:96vh}.inventory-sheet-dialog .dialog-body{padding:12px}.sheet-scroll{max-height:65vh}.inventory-sheet th:first-child{width:165px;min-width:165px}.sheet-toolbar{font-size:11px}.image-import-progress{padding:13px}.image-progress-heading{font-size:12px}}@media(prefers-reduced-motion:reduce){.image-import-progress progress::-webkit-progress-value{transition:none}}
.product-description{margin:20px 0;padding:18px;background:#faf9fc;border:1px solid var(--line);border-radius:10px}.product-description h3{font-size:14px;margin:0 0 10px}.product-description>div{white-space:pre-wrap;overflow-wrap:anywhere;font-family:"Segoe UI","Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;font-size:13px;line-height:1.8}.inventory-sheet textarea{width:100%;border:0;border-radius:0;min-height:60px;padding:10px 8px;font-size:12px;resize:vertical;background:transparent}.inventory-sheet textarea:focus{outline:2px solid var(--app-accent);outline-offset:-2px}
