:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#23272e;background:#f5f6f8;font-synthesis:none;--red:#df4438;--muted:#737985;--border:#e5e7eb;--dark:#1c2027}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #eb8f86;outline-offset:3px}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.15}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:14px}p{line-height:1.6}button{border:0}small{font-size:12px}.brand{display:flex;gap:11px;align-items:center}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--red);color:white;font-size:26px;font-weight:800}.brand-text{font-size:17px;font-weight:800;letter-spacing:1px;line-height:1.1}.brand-text small{display:block;font-size:9px;letter-spacing:2px;margin-top:5px;font-weight:600}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;padding:12px 17px;font-weight:650;font-size:13px;min-height:43px;transition:background .15s}.primary{background:var(--red);color:#fff;border:1px solid var(--red)}.primary:hover:not(:disabled){background:#c83329}.secondary{background:white;border:1px solid #dfe2e6}.secondary:hover{background:#f5f6f8}.full{width:100%}.small{font-size:12px;padding:8px 11px;min-height:34px}.spaced{margin-top:10px}.text-button{background:none;font-size:12px;color:var(--muted);padding:8px}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:7px;background:transparent}.icon-button:hover{background:#ffffff16}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:750;margin-bottom:9px;color:var(--muted)}.subtle,.optional{color:var(--muted)}.optional{font-size:11px;font-weight:400}.field-help{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0}.positive-text{color:#267755}.danger-text{color:#c83b35}.workspace{display:flex;min-height:100vh}.sidebar{width:220px;background:var(--dark);color:#c4c7ce;padding:30px 18px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:10}.sidebar .brand{color:white;margin:0 9px 42px}.nav-label{font-size:9px;letter-spacing:1.6px;margin:0 15px 13px;color:#7f8691}.sidebar nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;border-radius:8px;background:transparent;padding:14px 13px;text-align:left;font-size:13px;font-weight:500}.nav-item:hover{background:#ffffff08}.nav-item.selected{background:#df443822;color:#ff8a80}.nav-item b{margin-left:auto;display:grid;place-items:center;min-width:20px;height:20px;border-radius:5px;background:#ffffff12;font-size:10px}.sidebar-bottom{margin-top:auto}.website-link{display:flex;align-items:center;gap:9px;font-size:12px;padding:18px 6px}.website-link svg:last-child{margin-left:auto}.user-card{border-top:1px solid #ffffff12;padding-top:20px;display:flex;align-items:center;gap:10px}.avatar{background:#3b404a;color:#f0d6c2;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-size:13px}.user-card strong{display:block;color:white;font-size:12px;max-width:105px;overflow:hidden;text-overflow:ellipsis}.user-card small{display:block;font-size:10px;color:#89909c;margin-top:4px}.user-card button{margin-left:auto}.main-shell{margin-left:220px;min-width:0;flex:1}.topbar{height:66px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 32px;font-size:12px}.shop-label{display:flex;gap:9px;align-items:center;font-weight:650}.shop-label svg{color:#989da7}.topbar>div{display:flex;align-items:center;gap:23px}.connection{display:flex;align-items:center;gap:7px;font-size:11px;color:#557363}.connection i{width:6px;height:6px;border-radius:50%;background:#439473}.connection.offline{color:#b1463b}.connection.offline i{background:#cf554a}.top-date{color:var(--muted);font-size:11px}.workspace-main{padding:29px 30px;max-width:1900px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.page-heading h1{margin-bottom:8px}.page-heading p:last-child{font-size:12px;color:var(--muted)}.demo-banner{display:flex;align-items:center;gap:12px;border:1px solid #efdfc2;background:#fcf7ec;color:#806a3e;border-radius:8px;padding:10px 13px;font-size:11px;margin-bottom:22px}.demo-banner span{font-size:9px;letter-spacing:.7px;font-weight:800;white-space:nowrap}.error-banner,.pending-note{background:#fff0ee;color:#ad4037;font-size:12px;padding:12px;border-radius:8px;margin-bottom:15px}.sell-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.search-box{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--border);border-radius:9px;padding:0 13px;min-height:45px;min-width:0;color:#969ca6}.search-box input{border:0;background:transparent;outline:0;width:100%;min-width:0;padding:12px 0;font-size:12px;color:#353b43}.search-box:focus-within{border-color:#df4438}.search-box kbd{font-family:inherit;white-space:nowrap;font-size:9px;border:1px solid #e8eaed;border-radius:4px;padding:4px 5px;color:#9399a3}.category-tabs{display:flex;gap:8px;overflow-x:auto;padding:17px 0 20px;scrollbar-width:thin}.category-tabs button{white-space:nowrap;background:transparent;font-size:11px;font-weight:600;padding:9px 13px;border:1px solid transparent;border-radius:7px;color:#737985}.category-tabs button:hover{background:#eaecef}.category-tabs button.active{background:var(--dark);color:white}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{background:white;border:1px solid var(--border);border-radius:11px;text-align:left;padding:0;overflow:hidden;transition:transform .15s,box-shadow .15s}.product-card:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #1626380a;border-color:#d4d8de}.product-card.unavailable{opacity:.7}.product-art{position:relative;background:#eceff2;padding:12px;height:133px;display:flex;justify-content:center}.product-art>svg{width:100%;height:100%}.product-card:nth-child(3n+2) .product-art{background:#eeebe7}.product-card:nth-child(3n+3) .product-art{background:#e9eef0}.selected-count{position:absolute;right:9px;top:9px;background:var(--red);border-radius:5px;color:white;font-size:9px;padding:4px 6px}.product-info{padding:14px}.product-info>small,.shop-product-info>small{text-transform:uppercase;font-size:8px;font-weight:700;letter-spacing:1px;color:#8a919c}.product-info h3{font-size:12px;line-height:1.5;margin:6px 0;min-height:36px}.sku{font-size:9px;color:#969da8}.product-price{display:flex;align-items:center;justify-content:space-between;margin:12px 0 13px}.product-price strong{font-size:17px;letter-spacing:-.4px}.add-circle{width:25px;height:25px;background:#faf1ef;color:var(--red);border-radius:7px;display:grid;place-items:center}.stock-line{border-top:1px solid #f0f1f3;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:5px}.stock-line>span:last-child{font-size:8px;color:#9299a3}.badge{font-size:9px;line-height:1.2;padding:5px 7px;font-weight:600;display:inline-flex;align-items:center;gap:4px;border-radius:5px;white-space:nowrap}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.in{color:#2d8062;background:#edf6f0}.badge.low{color:#a07624;background:#faf3e3}.badge.out{color:#be5953;background:#fbefee}.badge.muted{color:#7b8593;background:#eef0f4}.cart-panel{position:sticky;top:22px;background:white;border:1px solid var(--border);border-radius:11px;overflow:hidden;display:flex;flex-direction:column;min-height:570px}.cart-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f3;padding:22px 19px}.cart-heading h2{font-size:16px}.cart-heading p{font-size:10px;color:var(--muted);margin-top:6px}.cart-items{padding:0 18px;flex:1;min-height:310px;max-height:480px;overflow-y:auto}.empty-cart{height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.empty-cart>span{color:#b0b7c0;background:#f5f6f8;padding:19px;border-radius:50%;margin-bottom:19px}.empty-cart h3{font-size:12px;margin-bottom:8px;font-weight:600}.empty-cart p{font-size:11px;color:#939aa4;line-height:1.7}.cart-item{padding:17px 0;border-bottom:1px solid #edf0f3;display:flex;gap:10px;align-items:flex-start}.cart-thumb{width:45px;height:45px;background:#f2f3f5;border-radius:6px;padding:3px;flex-shrink:0}.cart-thumb svg{width:100%;height:100%}.cart-detail{flex:1}.cart-detail>strong{font-size:11px;line-height:1.5;display:block}.cart-detail>small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.quantity-control{display:flex;align-items:center;gap:11px;margin-top:9px;font-size:11px}.quantity-control button{background:#f3f4f6;border:1px solid var(--border);width:23px;height:23px;border-radius:5px;font-size:14px}.line-total{font-size:11px;margin-top:2px}.cart-bottom{padding:20px 19px;border-top:1px solid #edf0f3}.subtotal{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7c838f;margin:8px 0}.total{display:flex;align-items:center;justify-content:space-between;margin:17px 0;font-size:14px;font-weight:650}.total strong{font-size:25px;letter-spacing:-.6px}.total small{font-size:9px;font-weight:500;color:#929aa5;margin-left:4px}.checkout-button{justify-content:space-between;padding:14px 16px}.cart-footnote{font-size:9px;color:#939ba6;text-align:center;margin:13px 0 0}.cart-footnote svg{margin-right:3px;color:#689280}.empty-state{grid-column:1/-1;text-align:center;padding:65px 25px;color:var(--muted);border:1px dashed #d3d8e0;border-radius:10px}.empty-state small{display:block;margin-top:10px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.stat-grid>div{background:white;border:1px solid var(--border);border-radius:10px;padding:21px}.stat-grid span{font-size:12px;color:#727b87;display:block}.stat-grid strong{font-size:27px;display:block;margin:10px 0}.stat-grid small{color:#949aa3;font-size:10px}.sales-stats{grid-template-columns:repeat(3,1fr)}.table-panel{border:1px solid var(--border);border-radius:10px;background:white;overflow:hidden;margin-bottom:23px}.table-toolbar{display:flex;gap:13px;align-items:center;padding:18px}.table-toolbar .search-box{flex:1}.table-toolbar select{width:auto;font-size:12px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{background:#f9fafb;color:#8b929d;font-size:10px;font-weight:600;padding:13px 18px;border-block:1px solid var(--border)}td{padding:14px 18px;border-bottom:1px solid #eff0f2;font-size:11px}tr:last-child td{border-bottom:0}.table-product{display:flex;gap:12px;align-items:center}.table-product>div{height:42px;width:49px;background:#f0f2f4;border-radius:6px}.table-product svg{width:100%;height:100%}.table-product strong{display:block;font-size:11px}.table-product small{display:block;color:#969da6;font-size:9px;margin-top:5px}.number{font-variant-numeric:tabular-nums;font-weight:650}.row-actions{display:flex;align-items:center;gap:6px}.table-empty{text-align:center;padding:55px;color:var(--muted)}.section-title{padding:21px;display:flex;justify-content:space-between;align-items:center;gap:15px}.section-title h2{font-size:15px}.section-title span{font-size:10px;color:var(--muted)}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;max-width:1100px}.settings-card{background:white;border:1px solid var(--border);border-radius:11px;padding:25px;margin-bottom:22px}.settings-card h2{font-size:17px;margin-bottom:10px}.settings-card>p{font-size:12px;color:var(--muted);margin-bottom:22px}label{display:block;font-size:12px;font-weight:600;margin:17px 0}input,select,textarea{display:block;width:100%;border:1px solid #dce0e5;background:#fff;border-radius:7px;padding:11px 12px;font-size:13px;color:#343a43;margin-top:8px;min-width:0}input:focus,select:focus,textarea:focus{outline:0;border-color:#df766c;box-shadow:0 0 0 3px #df44380b}input::placeholder,textarea::placeholder{color:#a2a7b0}textarea{resize:vertical}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-columns label{margin:0}.checkbox{display:flex;align-items:center;gap:8px;font-weight:500;font-size:12px}.checkbox input{width:15px;height:15px;padding:0;margin:0;accent-color:var(--red)}.form-error{font-size:12px;color:#c4342c;margin:12px 0}.form-error:empty{display:none}dialog{border:1px solid var(--border);border-radius:16px;padding:30px;width:min(490px,calc(100% - 32px));max-height:90vh;overflow-y:auto;box-shadow:0 20px 100px #10151d33;color:#23272e}dialog::backdrop{background:#1b20296b;backdrop-filter:blur(3px)}dialog h2{padding-right:15px;line-height:1.3}dialog>p{font-size:13px;margin-top:10px}dialog .eyebrow{margin-top:0}.modal-close{position:absolute;top:13px;right:13px;color:#9298a3}.modal-close:hover{background:#f0f2f5}.stock-current,.checkout-total{display:flex;justify-content:space-between;align-items:center;border-radius:9px;background:#f5f6f8;padding:20px;margin:21px 0;font-size:12px;color:#737d8a}.stock-current strong{font-size:18px;color:#29303a}.checkout-total strong{font-size:28px;color:#29303a;letter-spacing:-1px}#toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);padding:13px 20px;background:#273a31;color:white;border-radius:9px;font-size:12px;box-shadow:0 8px 35px #0002;opacity:0;pointer-events:none;transition:.2s;z-index:1000;max-width:90vw}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{background:#ad4037}.receipt{text-align:center}.receipt-logo{display:flex;justify-content:center;align-items:center;gap:9px;margin:10px 0 22px}.receipt-logo .brand-text{text-align:left}.receipt>h2{font-size:18px;padding:0}.receipt>p{font-size:11px;color:#737d8a;margin:7px 0}.receipt-meta{display:flex;flex-direction:column;gap:7px;font-size:11px;border-block:1px dashed #ccd1d8;padding:18px 0;margin:20px 0}.receipt table{white-space:normal}.receipt th,.receipt td{padding:13px 6px;font-size:11px}.receipt td:first-child{text-align:left}.receipt td:last-child,.receipt th:last-child{text-align:right}.receipt td small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.receipt .total strong{font-size:22px}.receipt .receipt-thanks{margin:25px 0}.receipt>small{font-size:9px;color:#9b7e4b}.receipt-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:25px}#print-area{display:none}.connection-page{max-width:600px;margin:18vh auto;text-align:center;padding:30px}.connection-page p{margin:20px 0}.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.auth-story{background:#20252d;color:white;padding:45px 55px;display:flex;flex-direction:column;justify-content:space-between;min-height:680px}.auth-story>.brand{align-self:start}.auth-story .eyebrow{color:#cf9b91}.auth-story h1{font-size:clamp(38px,4vw,61px);line-height:1.13;letter-spacing:-2px;margin:25px 0}.auth-story em{font-style:normal;color:#f38276}.auth-story p:not(.eyebrow){color:#9fa7b2;font-size:13px}.auth-story>small{color:#737e8d;font-size:9px;letter-spacing:1.6px}.auth-flow{display:flex;align-items:center;gap:18px;margin-top:42px}.auth-flow span{display:flex;flex-direction:column;gap:13px;font-size:10px;color:#aab1bc}.auth-flow span svg{color:#d2d7df}.auth-flow i{font-style:normal;color:#657080}.auth-panel{display:flex;align-items:center;justify-content:center;padding:50px;background:#fff}.auth-form{width:100%;max-width:365px}.round-icon{display:inline-flex;padding:16px;border-radius:15px;color:var(--red);background:#fff0ed;margin-bottom:25px}.auth-form h2{font-size:27px;margin:12px 0}.auth-form>.subtle{font-size:12px;line-height:1.8}.auth-form form{margin:25px 0}.quiet-link{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#818995}.auth-note{display:flex;gap:10px;font-size:10px;color:#979faa;line-height:1.7;border-top:1px solid var(--border);padding-top:22px;margin-top:28px}
.product-specifications{border-block:1px solid #e5e7eb;padding:17px 0;margin:18px 0}.product-specifications h3{font-size:13px;margin-bottom:10px}.product-specifications p{white-space:pre-line;overflow-wrap:anywhere;font-size:12px;color:#626d7b;line-height:1.8}
.product-photo{display:block;max-width:100%;max-height:100%;object-fit:contain}.product-art>img,.cart-thumb>img,.table-product>div>img,.shop-product-art>img,.detail-art>img{width:100%;height:100%;object-fit:contain}.hero-product>img{width:90%;height:300px;object-fit:contain}.photo-editor{display:grid;grid-template-columns:110px 1fr;gap:16px;align-items:center;background:#f6f7f9;border:1px solid #e5e7eb;border-radius:10px;padding:15px;margin:22px 0}.photo-preview{height:110px;background:white;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}.photo-preview>svg,.photo-preview>img{width:100%;height:100%;object-fit:contain}.photo-preview>span{text-align:center;color:#939daa}.photo-preview small{display:block;font-size:10px;margin-top:9px}.photo-editor .field-help{font-size:10px;margin:9px 0 2px}.photo-editor .text-button{padding:5px 0;font-size:11px}.photo-editor>.form-error{grid-column:1/-1;margin:0}.photo-file[hidden]{display:none}
/* Customer storefront */
.customer-id{display:block;font-size:10px;color:#87919e;margin-top:6px}.customer-profile-actions{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.customer-profile{display:grid;grid-template-columns:1fr 1fr;gap:25px;overflow-wrap:anywhere}.customer-profile .eyebrow{font-size:10px}.customer-profile h2{font-size:23px}.customer-profile p{font-size:12px;color:#6a7685;line-height:1.7}.customer-profile .customer-address,.customer-notes p{white-space:pre-wrap}.customer-notes{border-left:1px solid var(--border);padding-left:25px}.customer-notes strong{font-size:12px}.stat-grid .customer-last-date{font-size:17px;line-height:1.5}.customer-purchased-items{white-space:normal;min-width:230px;max-width:460px;line-height:1.5}.customer-purchased-items>div+div{margin-top:9px}.customer-purchased-items small{display:block;color:#87919e;font-size:10px;margin-top:3px}.customer-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-top:1px solid var(--border)}.customer-pagination>span{font-size:11px;color:#87919e}.customer-pagination button:disabled{opacity:.4;cursor:default}.walkin-customer[hidden]{display:none}@media(max-width:760px){.customer-profile{grid-template-columns:1fr;gap:18px}.customer-notes{border-left:0;padding:15px 0 0;border-top:1px solid var(--border)}.customer-pagination{padding:14px}.customer-profile-actions{flex-wrap:wrap}}
.storefront{background:#fff}.shop-demo{background:#fcf3e4;color:#856a35;padding:9px 16px;text-align:center;font-size:11px}.shop-header{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:25px 30px;gap:20px}.shop-header nav{display:flex;gap:34px;font-size:12px;color:#727985}.shop-header nav a:hover{color:var(--red)}.shop-hero{max-width:1180px;margin:0 auto;background:#242b34;border-radius:15px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;color:white;min-height:420px;position:relative}.hero-copy{padding:54px 0 45px 54px;z-index:1}.hero-copy .eyebrow{color:#b0bac7;font-size:9px;letter-spacing:1.6px}.hero-copy h1{font-size:55px;line-height:1.04;letter-spacing:-2.5px;margin:22px 0}.hero-copy>p:not(.eyebrow){font-size:12px;color:#a6b1be;line-height:1.8;margin-bottom:25px}.hero-copy .primary{font-size:12px;padding:13px 19px}.hero-note{display:block;color:#9aabb6;font-size:9px;margin-top:23px}.hero-note svg{margin-right:5px}.hero-product{position:relative;display:flex;align-items:center;justify-content:center;padding:35px 30px 55px 0;background:radial-gradient(ellipse at 60% 45%,#52616b55,transparent 65%)}.hero-product>svg{width:100%;max-height:330px;filter:drop-shadow(8px 24px 18px #0005);transform:rotate(-7deg)}.hero-product-caption{position:absolute;right:45px;bottom:40px;font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#7c8a97}.shop-service-strip{max-width:1180px;margin:auto;padding:24px 0;display:flex;align-items:center;justify-content:space-around;border-bottom:1px solid #e9ecf0;color:#73808c;font-size:11px}.shop-service-strip span{display:flex;align-items:center;gap:11px}.shop-service-strip svg{color:#a5aeb6}.shop-collection{max-width:1180px;margin:55px auto 65px;scroll-margin-top:25px}.collection-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:27px}.collection-heading h2{font-size:31px;letter-spacing:-1px}.collection-heading>span{font-size:11px;color:#8e97a2}.shop-filter-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.shop-filter-row .search-box{max-width:540px;width:100%;background:#f8f9fa}.shop-filter-row .checkbox{white-space:nowrap;font-size:11px;color:#737e8c}.shop-collection .category-tabs{padding:16px 0 6px}.shop-collection>.field-help{font-size:10px;margin:9px 0 22px}.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:27px 22px}.shop-product{background:transparent;text-align:left;padding:0;min-width:0}.shop-product-art{background:#f1f3f5;position:relative;border-radius:10px;height:195px;display:flex;align-items:center;justify-content:center;padding:27px;overflow:hidden}.shop-product:nth-child(3n+2) .shop-product-art{background:#eeefed}.shop-product:nth-child(3n+3) .shop-product-art{background:#f2efec}.shop-product-art>svg{width:100%;height:100%;transition:transform .25s}.shop-product:hover .shop-product-art>svg{transform:scale(1.06)}.shop-product-art .badge{position:absolute;left:12px;top:12px;font-size:9px;background:#fff}.shop-product-info{padding:17px 2px}.shop-product-info>small{font-size:8px}.shop-product-info h3{font-size:13px;line-height:1.5;margin:7px 0 13px}.shop-product-info>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.shop-product-info strong{font-size:17px;letter-spacing:-.4px}.shop-product-info>div>span{display:flex;align-items:center;gap:4px;font-size:9px;color:#929ba6}.shop-contact{max-width:1180px;margin:0 auto 60px;padding:38px 42px;background:#f5f6f8;border:1px solid #e9ecf0;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:30px}.shop-contact h2{font-size:25px}.shop-contact p:not(.eyebrow){font-size:12px;color:#7e8995;margin:13px 0}.shop-contact span{font-size:10px;color:#87929d}.shop-contact .primary{white-space:nowrap}.shop-footer{border-top:1px solid #eceef1;padding:32px max(30px,calc((100% - 1180px)/2));display:flex;justify-content:space-between;align-items:center;gap:30px}.shop-footer>span{font-size:10px;line-height:1.8;color:#949ca6}.shop-footer>a:last-child{display:flex;align-items:center;gap:7px;font-size:10px;color:#949ca6}.detail-art{height:200px;background:#eff2f4;border-radius:9px;margin:15px 0 25px;padding:15px}.detail-art svg{width:100%;height:100%}.detail-price{display:flex;justify-content:space-between;align-items:center;margin:20px 0}.detail-price strong{font-size:30px;letter-spacing:-1px}dialog>a.primary{margin-top:22px}
@media(min-width:1600px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sell-layout{grid-template-columns:minmax(0,1fr) 350px}.product-art{height:160px}}
@media(max-width:1250px){.sidebar{width:190px;padding-inline:13px}.main-shell{margin-left:190px}.workspace-main{padding:25px 22px}.sell-layout{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding-inline:23px}.brand-text{font-size:15px}.brand-mark{width:35px;height:35px;font-size:23px}.shop-hero,.shop-collection,.shop-service-strip,.shop-contact{margin-left:30px;margin-right:30px}.shop-product-art{height:180px}.shop-grid{gap:20px}.hero-copy h1{font-size:50px}.hero-copy{padding-left:42px}}
@media(max-width:1000px){.sidebar{width:75px;padding-inline:10px;align-items:center}.sidebar .brand{margin:0 0 40px}.sidebar .brand-text,.nav-label,.nav-item span,.nav-item b,.website-link,.user-card>div,.user-card>.avatar{display:none}.nav-item{padding:15px}.sidebar-bottom{width:100%}.user-card{justify-content:center}.user-card button{margin:0}.main-shell{margin-left:75px}.stat-grid{gap:10px}.stat-grid>div{padding:16px}.settings-grid{grid-template-columns:1fr}.shop-header nav{display:none}.shop-hero{min-height:380px}.hero-copy{padding-top:42px;padding-left:30px}.hero-copy h1{font-size:43px}.hero-product{padding-right:15px}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-story{padding:40px 30px}.auth-panel{padding:40px 30px}.auth-flow{gap:10px}.auth-story h1{font-size:42px}.auth-flow span{font-size:9px}}
@media(max-width:760px){.top-date{display:none}.workspace-main{padding:23px 17px}.topbar{padding-inline:17px}.sell-layout{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cart-panel{position:static;min-height:0}.cart-items{min-height:100px;max-height:350px}.empty-cart{height:170px}.empty-cart>span{display:none}.cart-heading{padding:17px 19px}.cart-bottom{padding-top:10px}.demo-banner{line-height:1.7;align-items:flex-start}.product-info{padding:10px}.product-art{height:105px}.stock-line>span:last-child{display:none}.stat-grid{grid-template-columns:repeat(2,1fr)}.sales-stats{grid-template-columns:1fr 1fr}.table-toolbar{flex-wrap:wrap}.table-toolbar .search-box{flex-basis:100%}.shop-header{padding:20px}.shop-header .secondary{font-size:11px;padding:10px}.shop-hero{grid-template-columns:1fr;margin-inline:20px;min-height:0}.hero-copy{padding:36px 30px 15px}.hero-copy h1{font-size:45px}.hero-copy>p:not(.eyebrow) br{display:none}.hero-product{height:225px;padding:0 30px 30px;justify-content:flex-end}.hero-product>svg{max-width:360px}.hero-product-caption{bottom:17px;right:30px;font-size:8px}.hero-note{margin-top:16px}.shop-service-strip{margin-inline:20px;justify-content:space-between;gap:12px}.shop-service-strip span{font-size:9px;gap:7px}.shop-service-strip span:nth-child(2){display:none}.shop-collection{margin:35px 20px 45px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shop-product-art{height:170px;padding:22px}.shop-filter-row{align-items:start;flex-direction:column;gap:0}.shop-filter-row .checkbox{margin:13px 0 0}.shop-contact{margin:0 20px 35px;padding:28px;display:block}.shop-contact h2{font-size:22px}.shop-contact .primary{margin-top:25px}.shop-footer{padding:27px 20px;flex-wrap:wrap}.shop-footer>span{display:none}.shop-product-info>div>span{font-size:0;gap:0}.shop-product-info>div>span svg{width:18px}.auth-layout{grid-template-columns:1fr}.auth-story{min-height:0;padding:25px 30px}.auth-story>div,.auth-story>small{display:none}.auth-panel{padding:40px 25px}.auth-form{max-width:400px}.auth-form h2{font-size:25px}.section-title span{display:none}}
@media(max-width:480px){.sidebar{width:56px;padding-inline:5px}.sidebar .brand-mark{width:32px;height:32px}.nav-item{padding:13px 10px}.main-shell{margin-left:56px}.workspace-main{padding:20px 12px}.topbar{padding:0 12px;height:56px}.shop-label{font-size:10px}.shop-label svg{display:none}.connection{font-size:0}.connection i{width:7px;height:7px}.page-heading h1{font-size:25px}.page-heading p:last-child{font-size:10px}.page-heading>.primary{font-size:10px;padding:10px;gap:4px}.page-heading>.primary svg{width:15px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-art{height:100px}.product-info h3{font-size:11px}.product-price strong{font-size:15px}.search-box kbd{display:none}.demo-banner{font-size:9px;gap:8px;padding:9px}.demo-banner span{font-size:8px}.stat-grid strong{font-size:23px}.stat-grid span{font-size:10px}.stat-grid small{font-size:9px}.stat-grid>div{padding:12px}.form-columns{gap:10px}.settings-card{padding:19px}.settings-card .form-columns{display:block}.settings-card .form-columns label{margin:17px 0}.shop-header{gap:10px}.shop-header .secondary{font-size:0;gap:0;padding:10px}.shop-header .secondary svg{width:18px}.shop-product-art{height:142px;padding:18px}.shop-product-info h3{font-size:11px;min-height:34px}.shop-product-info strong{font-size:15px}.shop-demo{font-size:9px;line-height:1.5}.hero-copy h1{font-size:43px}.collection-heading h2{font-size:28px}.shop-footer .brand-text{font-size:13px}.receipt-actions{flex-direction:column}.receipt-actions>button{width:100%}}
/* Paper size and page margins are controlled by the browser print dialog. */
@media print{html,body{background:white;margin:0;padding:0}body>*{display:none!important}#print-area{display:block!important;color:black;width:100%;max-width:none;margin:0;padding:0}#print-area .receipt{font-family:Arial,sans-serif}#print-area .brand-mark{color:black;background:white;border:1px solid black}#print-area .receipt small,#print-area .receipt p{color:black}}


/* Product gallery */
.enlarge-photo{position:relative;display:block;width:100%;cursor:zoom-in}.enlarge-photo>span{position:absolute;right:10px;bottom:9px;background:#fffffff0;border:1px solid #e3e7eb;border-radius:5px;padding:5px 8px;font-size:10px;color:#55616f}.enlarge-photo:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.image-viewer{width:min(1120px,calc(100vw - 32px));height:min(850px,calc(100dvh - 32px));max-width:none;max-height:none;padding:20px;overflow:hidden;background:#fff}.image-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:16px}.image-viewer::backdrop{background:#10151dda;backdrop-filter:blur(5px)}.viewer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.viewer-heading h2{font-size:15px;line-height:1.4;padding:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.viewer-heading>button{flex-shrink:0;width:40px;height:40px;border:1px solid #e2e6eb;border-radius:8px}.viewer-stage{min-height:0;min-width:0;background:#fff;border-radius:8px;overflow:hidden}.viewer-stage>img{display:block;width:100%;height:100%;object-fit:contain}.viewer-controls{display:flex;justify-content:space-between;align-items:center;gap:12px}.viewer-controls>button{min-height:42px;min-width:116px}.viewer-controls>button:disabled{opacity:.4;cursor:default}.viewer-count{font-size:12px;color:#6b7684;text-align:center}.image-viewer .viewer-thumbnails{margin:0 auto;width:fit-content;max-width:100%;padding-bottom:3px}.image-viewer .gallery-thumbnail{height:64px;flex-basis:72px}.storefront:has(.image-viewer[open]){overflow:hidden}
@media(max-width:600px){.image-viewer{width:calc(100vw - 16px);height:calc(100dvh - 16px);padding:12px;border-radius:12px}.image-viewer[open]{gap:10px}.viewer-heading{gap:8px}.viewer-heading h2{font-size:12px}.viewer-controls{gap:6px}.viewer-controls>button{min-width:86px;padding:10px;font-size:12px}.viewer-count{font-size:11px}.image-viewer .gallery-thumbnail{flex-basis:56px;height:52px}}
.gallery-editor{display:block}.photo-editor-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:12px}.photo-editor-heading>span{font-size:11px;color:var(--muted)}.photo-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.photo-tiles:empty{display:none}.photo-tile{min-width:0;background:#fff;border:1px solid #e1e5ea;border-radius:8px;padding:7px;text-align:center}.photo-tile>img{display:block;width:100%;height:85px;object-fit:contain}.photo-tile>span{display:block;font-size:10px;color:#616d7b;margin-top:6px}.photo-tile:first-child{border-color:#e5a69e}.photo-tile>div{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 9px}.photo-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.gallery-editor>.field-help{margin-top:12px;line-height:1.7}.gallery-editor>.form-error{margin-top:9px}.photo-editor button:disabled{opacity:.5;cursor:default}.detail-gallery{margin-bottom:25px}.detail-gallery .detail-art{margin-bottom:10px}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.gallery-controls>span{font-size:11px;color:#6b7684}.gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 7px}.gallery-thumbnail{flex:0 0 65px;height:59px;border:2px solid #e4e7eb;border-radius:7px;padding:4px;background:white}.gallery-thumbnail[aria-pressed="true"]{border-color:var(--red);background:#fff8f7}.gallery-thumbnail>img{width:100%;height:100%;object-fit:contain}.gallery-thumbnail:focus-visible{outline:2px solid #23272e;outline-offset:2px}@media(max-width:480px){.photo-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-buttons>button{flex:1;white-space:nowrap;font-size:11px}.gallery-controls .small{font-size:11px;padding:8px}.gallery-thumbnail{flex-basis:58px;height:55px}}

.customer-filter-label{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px;margin:0}.customer-filter-label select{min-width:170px}.customer-delete-summary{display:flex;flex-direction:column;gap:9px;padding:18px;background:var(--bg);border:1px solid var(--border);border-radius:9px;margin:20px 0;overflow-wrap:anywhere}.customer-delete-summary span{font-size:12px;color:var(--muted)}.customer-delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.customer-deleted-notice{padding:15px;border:1px solid var(--border);background:#fff8ed;border-radius:8px;font-size:12px;line-height:1.7;margin:0 0 18px}.deleted-customer-match{max-width:210px;font-size:11px;line-height:1.6;color:var(--muted)}@media(max-width:600px){.table-toolbar:has(.customer-filter-label){flex-wrap:wrap}.customer-filter-label{width:100%}.customer-filter-label select{flex:1}.customer-delete-actions{flex-wrap:wrap}}
/* Quick customer creation in checkout */
.checkout-customer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 8px}.checkout-customer-heading>label{margin:0}.checkout-customer-heading>button{white-space:nowrap}.quick-customer{border:1px solid #e8c7c2;border-radius:9px;padding:16px;background:#fff9f8;margin:14px 0 18px}.quick-customer[hidden]{display:none}.quick-customer>label{margin:13px 0 6px}.quick-customer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.quick-customer>.field-help{margin:12px 0 0}.quick-customer-error{font-size:12px;color:#c4342c;margin-top:10px}.quick-customer-error:empty{display:none}


/* Stockroom */
.stockroom-tabs{display:flex;gap:5px;border-bottom:1px solid var(--border);margin:-5px 0 25px;overflow-x:auto;padding-bottom:0}.stockroom-tabs button{background:transparent;color:#77818d;font-weight:600;font-size:12px;white-space:nowrap;padding:17px 20px;border-bottom:3px solid transparent}.stockroom-tabs button.active{color:var(--red);border-bottom-color:var(--red)}.stockroom-tabs button:hover{background:#fff4f2}.stockroom-tabs button>span{padding:2px 6px;background:#fce7e3;border-radius:5px;margin-left:7px;font-size:10px}.sr-heading-actions{flex-wrap:wrap;justify-content:flex-end}.sr-stats{margin-bottom:22px}.sr-stats>div:nth-child(3){background:#fff9f7;border-color:#efdcd6}.sr-intro{margin-bottom:22px}.sr-intro h2{font-size:17px;margin:0 0 8px}.sr-intro p{font-size:12px;color:var(--muted);line-height:1.7}.sr-toolbar{flex-wrap:wrap;gap:12px}.sr-toolbar .search-box{min-width:240px}.sr-toolbar select{width:auto;max-width:200px}.sr-date{font-size:10px;margin:0!important;color:#71808c}.sr-date input{margin-top:4px;padding:8px;min-width:130px}.sr-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 20px 17px;border-bottom:1px solid var(--border)}.sr-tools>span{font-size:11px;color:var(--muted)}.sr-tools .row-actions{flex-wrap:wrap}.sr-table .sr-product>div{width:64px;height:64px;flex-shrink:0;background:#fff;border:1px solid #edf0f3;border-radius:8px}.sr-table .sr-product{max-width:560px;min-width:300px;align-items:center}.sr-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;color:#89929d;max-width:470px;font-size:10px;line-height:1.6;margin-top:6px}.sr-table td{line-height:1.5}.sr-table td strong{font-size:12px}.sr-table td:first-child{white-space:nowrap}.sr-table input[type=checkbox]{width:16px;height:16px;accent-color:var(--red)}.sr-table td.number{white-space:nowrap}.sr-table del{display:block;font-size:10px;color:var(--muted)}.sr-note{white-space:pre-wrap;overflow-wrap:anywhere;min-width:130px;max-width:300px;line-height:1.6}.sr-help{max-width:850px;line-height:1.8}.stockroom-utilities{display:flex;gap:10px;margin-bottom:18px}.stockroom-dialog{width:min(850px,calc(100vw - 28px));max-width:none}.stockroom-dialog h2{padding-right:25px}.stockroom-dialog .form-columns>div{min-width:0}.stockroom-dialog label{min-width:0}.sr-line{display:grid;grid-template-columns:minmax(200px,1fr) 105px 145px 28px;align-items:start;gap:12px;padding:0 0 12px;border-bottom:1px solid var(--border);margin-bottom:8px}.sr-line>label{font-size:11px}.sr-line>button{margin-top:40px;font-size:23px}.sr-line select{font-size:11px;text-overflow:ellipsis}.sr-onhand{display:block;font-size:10px;color:var(--muted);padding-top:7px}.sr-dialog-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:25px}.sr-document{overflow-x:auto}.sr-document table{width:100%;margin:20px 0}.sr-document th,.sr-document td{padding:12px 9px;border-bottom:1px solid var(--border);text-align:left;font-size:12px}.sr-document .sr-note{max-width:none}.sr-document>.subtle{line-height:1.8}.old-price{display:block;font-size:12px;color:#89929d;font-weight:400;letter-spacing:0}.sr-price-tags{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sr-price-tags>div{border:1px dashed #777;padding:15px;break-inside:avoid}.sr-price-tags h3{font-size:14px}.sr-price-tags small,.sr-price-tags p{font-size:10px}.sr-price-tags strong{font-size:24px}.stockroom-print table{width:100%;border-collapse:collapse}.stockroom-print th,.stockroom-print td{text-align:left;border-bottom:1px solid #ddd;padding:8px;font-size:10px}.stockroom-print img,.stockroom-print svg{max-width:50px;max-height:50px}
@media(max-width:1000px){.stockroom-tabs button{padding:14px 13px}.sr-tools{align-items:flex-start}.sr-tools>span{padding-top:8px}.sr-tools .row-actions{justify-content:flex-end}}
@media(max-width:600px){.page-heading:has(.sr-heading-actions){align-items:flex-start;flex-direction:column;gap:15px}.sr-heading-actions{justify-content:flex-start}.sr-heading-actions button{font-size:11px;padding:10px}.stockroom-tabs{margin-top:4px;margin-bottom:18px}.stockroom-tabs button{font-size:11px;padding:13px 12px}.sr-toolbar .search-box{min-width:0}.sr-toolbar select{max-width:none;flex:1}.sr-tools{padding:0 12px 14px;flex-direction:column;gap:9px}.sr-tools .row-actions{justify-content:flex-start;gap:6px}.sr-tools .small{font-size:10px;padding:8px}.sr-line{grid-template-columns:1fr 1fr 28px;gap:10px}.sr-line>label:first-child{grid-column:1/-1;margin-bottom:0}.sr-line>button{margin-top:37px}.stockroom-dialog .form-columns{display:block}.stockroom-dialog{padding:22px 16px}.sr-dialog-actions{flex-direction:column;align-items:stretch}.stockroom-print .sr-price-tags{grid-template-columns:repeat(2,1fr)}}
@media print{#print-area:has(.stockroom-print){width:100%;margin:0}.stockroom-print .table-product{display:flex}.stockroom-print th{color:black;background:#eee}.stockroom-print tr{break-inside:avoid}.stockroom-print .sr-description{-webkit-line-clamp:unset}.stockroom-print button{border:0;background:none}}

/* Supplier contacts and deliveries */
.supplier-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.supplier-delivery-notes{max-width:260px;white-space:pre-wrap;overflow-wrap:anywhere}.supplier-delivery-notes .customer-id{white-space:pre-wrap}.page-heading>.row-actions{flex-wrap:wrap;justify-content:flex-end}.customer-profile-actions>.row-actions{flex-wrap:wrap;justify-content:flex-end}@media(max-width:600px){.page-heading:has([data-action="add-supplier"]){align-items:flex-start;flex-direction:column}.page-heading>.row-actions{justify-content:flex-start}.page-heading>.row-actions button{padding:10px;font-size:12px}.customer-profile-actions{gap:12px;flex-wrap:wrap}}


/* Product list pages */
.sr-product-pagination{flex-wrap:wrap;gap:14px}.sr-product-pagination>span{line-height:1.8}.sr-product-pagination small{display:block;color:var(--muted);font-size:10px}.sr-page-buttons{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.sr-page-buttons button{min-width:34px}.sr-page-buttons button[aria-current=page]{background:var(--red);border-color:var(--red);color:#fff}.sr-page-gap{padding:0 4px;color:var(--muted)}.sr-panel{scroll-margin-top:20px}@media(max-width:600px){.sr-product-pagination{align-items:flex-start;flex-direction:column}.sr-page-buttons{justify-content:flex-start}.sr-page-buttons .small{padding:8px 10px}}

/* Sales reports */
.report-filters{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;padding:22px;background:#fff;border:1px solid var(--border);border-radius:12px}.report-filters label{margin:0;min-width:150px;flex:1}.report-filters label:first-child{flex:1.3}.report-filters button{margin-bottom:1px}.report-filters input[readonly]{background:#f5f6f8;color:var(--muted)}.report-period{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:28px 0 20px}.report-period h2{font-size:23px}.report-period>span{font-size:11px;color:var(--muted)}.report-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.report-stats strong{font-size:clamp(18px,1.9vw,29px);overflow-wrap:anywhere}.report-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:22px;align-items:start}.report-trend{min-width:0;margin:0}.report-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:15px}.report-chart-heading h2{font-size:18px}.report-metrics{display:flex;gap:5px;flex-wrap:wrap}.report-metrics .small{font-size:10px;padding:7px 9px;min-height:31px}.report-metrics [aria-pressed=true]{background:#fff0ed;border-color:#e59b93;color:#a82d24}.report-trend>.subtle{font-size:12px}.report-chart{display:block;width:100%;height:auto;min-height:210px;margin-top:20px}.report-chart text{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:11px;fill:#737985}.report-grid-line{stroke:#e8ebef;stroke-width:1}.report-area{fill:#df443812}.report-line{fill:none;stroke:var(--red);stroke-width:2}.report-dot{fill:var(--red)}.report-side{display:grid;gap:18px}.report-side .settings-card{margin:0;padding:23px}.report-summary{margin:18px 0 0}.report-summary>div{display:flex;justify-content:space-between;gap:18px;font-size:12px;padding:10px 0;border-bottom:1px solid #f0f1f3}.report-summary>div:last-child{border-bottom:0}.report-summary dt{color:var(--muted)}.report-summary dd{margin:0;text-align:right;font-weight:650}.report-chart-values{margin-top:14px;font-size:12px}.report-chart-values summary{cursor:pointer;color:var(--muted)}.report-chart-values .table-scroll{max-height:290px;margin-top:14px}.report-chart-values table{width:100%;border-collapse:collapse}.report-chart-values td,.report-chart-values th{padding:9px;text-align:left;border-bottom:1px solid var(--border)}.report-products{margin-top:24px;scroll-margin-top:20px}.report-products td:not(:nth-child(2)){white-space:nowrap}.report-notes{margin-top:18px}.report-print h1{margin-bottom:20px}.report-print table{width:100%;border-collapse:collapse}.report-print td,.report-print th{text-align:left;padding:9px;border-bottom:1px solid #ddd;font-size:11px}
@media(max-width:1100px){.report-grid{grid-template-columns:1fr}.report-side{grid-template-columns:repeat(3,minmax(0,1fr))}.report-summary>div{flex-direction:column;gap:6px}.report-summary dd{text-align:left}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.report-side{grid-template-columns:1fr}.report-period{align-items:flex-start;flex-direction:column}.report-filters{padding:16px}.report-filters label{min-width:130px}.report-filters button{width:100%}.report-summary>div{flex-direction:row}.report-summary dd{text-align:right}.report-chart{min-height:170px}.report-stats strong{font-size:20px}}
@media print{#print-area:has(.report-print){width:100%;margin:0}.report-print .report-grid{display:block}.report-print .report-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.report-print .settings-card{break-inside:avoid}.report-print .report-chart-values .table-scroll{max-height:none}.report-print .report-products tr{break-inside:avoid}.report-print .report-products .table-scroll{overflow:visible}.report-print .report-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.report-print .report-chart{max-height:260px}.report-print .report-summary>div{flex-direction:column;gap:5px}.report-print .report-summary dd{text-align:left}}

/* Store contact information, shared by the website and printed receipts. */
.store-settings-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr)}
.store-fields{border:0;border-top:1px solid var(--border);padding:18px 0 4px;margin:24px 0 0;min-width:0}
.store-fields legend{font-size:13px;font-weight:700;padding:0 10px 0 0}.store-fields>label:first-of-type{margin-top:0}
.store-fields .form-columns{margin:17px 0}.store-fields .form-columns label{margin:0}.store-fields .field-help{line-height:1.7}
.store-update-note{padding:12px;background:#fff7e9;border:1px solid #edd6a5;border-radius:7px;line-height:1.7}
.store-contact-details{font-size:12px;line-height:1.8;margin-top:12px;overflow-wrap:anywhere;min-width:0}
.store-contact-details>span{display:block}.store-address{white-space:pre-line}.store-business-name{font-weight:650}
.shop-contact .store-contact-details{color:#69717e}.store-contact-details a{text-decoration:underline;text-underline-offset:3px;color:inherit}
.receipt .store-contact-details{font-size:11px;line-height:1.6;margin-bottom:17px}
@media(max-width:800px){.store-settings-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.store-fields .form-columns{grid-template-columns:minmax(0,1fr)}.store-fields .form-columns label+label{margin-top:12px}}

.settings-navigation{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.settings-navigation .selected{color:var(--red);background:#fff2ef;border-color:#eda39a}
.users-intro p{line-height:1.8;max-width:950px;margin-bottom:10px}.users-intro p:last-child{margin-bottom:0}.users-error{padding:0 22px}

/* Sharing in the customer product details. */
.detail-share .telegram-share{margin-top:8px;min-height:44px;background:#087ca8;border-color:#087ca8;color:#fff}.detail-share .telegram-share:hover{background:#066486;border-color:#066486}

/* Sales counter and checkout. */
.customer-name-matches{margin:12px 0;padding:12px;background:#edf5fb;border:1px solid #c8ddea;border-radius:8px}.customer-name-matches[hidden]{display:none}.customer-name-matches>p{font-size:12px;line-height:1.6;margin:0 0 10px}.customer-name-match{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.customer-name-match>span{min-width:0;overflow-wrap:anywhere}.customer-name-match strong,.customer-name-match small{display:block;font-size:12px}.customer-name-match small{font-size:10px;color:var(--muted);margin-top:4px}.customer-name-match button{flex-shrink:0;font-size:11px;padding:8px 10px}@media(max-width:500px){.customer-name-match{align-items:flex-start;flex-direction:column}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sale-workspace .page-heading{margin-bottom:20px}.sale-workspace .page-heading h1{font-size:27px}
.sale-counter{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,370px);gap:20px;align-items:stretch;min-height:610px;height:calc(100dvh - 245px)}
.sale-cart,.pos-browser{min-width:0;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.sale-cart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 20px;border-bottom:1px solid var(--border)}
.sale-cart-heading h2,.pos-browser h2{font-size:18px}.sale-cart-heading p,.pos-browser-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}
.sale-scan{padding:14px 20px;background:#fafbfc;border-bottom:1px solid var(--border)}.sale-scan>label{display:block;font-size:11px;font-weight:650;margin:0 0 7px}.sale-scan input{min-width:0}
.sale-lines{flex:1;overflow:auto;min-height:230px}.sale-lines table{width:100%;border-collapse:collapse;min-width:690px;font-size:12px}
.sale-lines th{position:sticky;top:0;background:#f7f8fa;z-index:1;color:var(--muted);font-size:10px;font-weight:500;text-align:left;white-space:nowrap;padding:13px 12px;border-bottom:1px solid var(--border)}
.sale-lines td{padding:16px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.sale-lines td.number{white-space:nowrap;text-align:right}
.sale-line-product{display:flex;align-items:center;gap:12px;min-width:200px}.sale-line-product .cart-thumb{width:54px;height:54px;flex:0 0 54px;background:#f7f8fa;border-radius:6px;display:grid;place-items:center;overflow:hidden}
.sale-line-product .cart-thumb>img,.sale-line-product .cart-thumb>svg{width:100%;height:100%;object-fit:contain}
.sale-line-product strong{display:block;line-height:1.5;font-size:12px}.sale-line-product small{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}
.sale-lines .quantity-control{margin:0;gap:4px}.sale-lines .quantity-control input{width:57px;padding:8px 3px;text-align:center;font-size:12px;min-height:35px;appearance:textfield}.sale-lines .quantity-control input::-webkit-inner-spin-button{appearance:none}
.sale-lines .quantity-control button{width:27px;height:32px}.sale-lines .empty-cart{min-height:250px;padding:35px 15px}
.sale-footer{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(170px,1fr);gap:20px;background:#f6f7fa;border-top:1px solid var(--border);padding:20px}
.sale-cashier small,.sale-cashier strong,.sale-cashier span{display:block}.sale-cashier small{color:var(--muted);font-size:11px}.sale-cashier strong{font-size:13px;margin:8px 0}.sale-cashier span{font-size:11px;color:var(--muted)}
.sale-totals{margin:0}.sale-totals>div{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px;margin:0 0 10px}.sale-totals dt{color:var(--muted)}.sale-totals dd{margin:0;font-weight:600;white-space:nowrap}.sale-totals .sale-balance{margin:13px 0 0;padding-top:12px;border-top:1px solid var(--border)}.sale-balance dt{font-weight:650;color:var(--ink)}.sale-balance dd{font-size:25px}
.sale-checkout{grid-column:1/-1}.sale-checkout>p{margin:8px 0 0;font-size:10px;text-align:center;color:var(--muted)}
.pos-browser-heading{padding:19px 17px 14px}.pos-filters{padding:0 15px 15px;border-bottom:1px solid var(--border)}.pos-filter-selects{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px}.pos-filter-selects select{min-width:0;width:100%;font-size:11px;padding:9px 6px}.pos-filters .search-box{min-width:0}.pos-filters .search-box kbd{display:none}.pos-filters input{min-width:0;width:100%}
.pos-product-list{flex:1;min-height:0;overflow:auto}.pos-product-row{position:relative;display:flex;border-bottom:1px solid var(--border);padding:14px 15px;gap:7px;align-items:flex-start}
.pos-product-pick{display:flex;gap:12px;align-items:flex-start;text-align:left;flex:1;min-width:0;background:transparent;border:0;padding:0;color:inherit}.pos-product-pick:hover:not(:disabled) .pos-product-copy>strong{color:var(--red)}.pos-product-pick:disabled{opacity:.6;cursor:not-allowed}
.pos-product-photo{width:62px;height:62px;flex:0 0 62px;border:1px solid var(--border);border-radius:6px;overflow:hidden;display:grid;place-items:center}.pos-product-photo img,.pos-product-photo svg{width:100%;height:100%;object-fit:contain}
.pos-product-copy{min-width:0;display:grid;gap:5px;font-size:11px;line-height:1.5}.pos-product-copy>small{font-size:9px;color:var(--muted);overflow-wrap:anywhere}.pos-product-copy>strong{font-size:12px;overflow-wrap:anywhere}.pos-product-price{font-weight:700}.pos-product-price del{font-size:10px;color:var(--muted);font-weight:400}.pos-details{font-size:10px;flex:none;padding:2px 0}
.pos-pagination{padding:15px;text-align:center;background:#fff;font-size:10px;color:var(--muted)}.pos-pagination>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.pos-pagination .secondary{min-height:32px;padding:6px 12px}
.pos-detail-photo{height:180px;background:#f6f7f9;margin:15px 0 20px;display:grid;place-items:center;border-radius:8px}.pos-detail-photo>img,.pos-detail-photo>svg{width:100%;height:100%;max-height:180px;object-fit:contain}
dialog.checkout-dialog{width:min(920px,calc(100% - 32px));padding:0;max-height:92dvh}.checkout-dialog>.modal-close{z-index:2;top:15px;right:15px}
.checkout-layout{display:grid;grid-template-columns:1fr 1fr;margin:0}.checkout-overview{padding:30px;background:#f2f4f8;border-right:1px solid var(--border);min-width:0}.checkout-payment{padding:30px;display:flex;flex-direction:column;min-width:0}
.checkout-layout h2{font-size:23px;margin:0 0 20px}.checkout-layout .eyebrow{font-size:10px;margin:0 0 9px}.checkout-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;padding:0 0 22px;border-bottom:1px solid #dce1e8}.checkout-balance>span{font-size:13px}.checkout-balance>strong{font-size:30px;letter-spacing:-1px}
.checkout-summary{margin:0 0 22px}.checkout-summary>div{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin-bottom:12px}.checkout-summary dt{color:var(--muted)}.checkout-summary dd{margin:0;font-weight:650;overflow-wrap:anywhere;text-align:right}
.checkout-customer-block{border-top:1px solid #dce1e8;padding-top:5px;margin-top:20px}.checkout-layout select,.checkout-layout textarea{width:100%;min-width:0}.checkout-layout textarea{resize:vertical;min-height:100px}.checkout-overview .optional{display:block;font-size:10px;margin-top:4px}
.checkout-payment>label{margin-top:4px}.checkout-payment #tendered{font-size:25px;padding:15px;letter-spacing:-.5px;width:100%;min-width:0}.checkout-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:0;margin:25px 0 0;min-width:0}.checkout-methods legend{font-size:12px;margin-bottom:10px;padding:0}.checkout-methods label{position:relative;margin:0;cursor:pointer}.checkout-methods input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.checkout-methods label>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:66px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:14px;font-weight:650}.checkout-methods small{font-size:10px;font-weight:400}.checkout-methods input:checked+span{background:#eaf5ef;border-color:#28815a;color:#19633f}.checkout-methods input:focus-visible+span{outline:2px solid var(--red);outline-offset:3px}.checkout-methods input:disabled+span{opacity:.65;cursor:default}
.checkout-change{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0;margin-top:18px;font-size:13px}.checkout-change strong{font-size:25px}.checkout-submit{margin-top:auto;padding-top:35px}.checkout-submit>p{font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:15px}.checkout-submit>button+button{margin-top:10px}.checkout-layout .field-help{font-size:11px;line-height:1.7}
.receipt-remarks{border-top:1px dashed #ccc;margin:18px 0;padding-top:13px;text-align:left;font-size:12px;break-inside:avoid}.receipt-remarks p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;line-height:1.6}
@media(min-width:1500px){.sale-counter{grid-template-columns:minmax(0,1fr) 410px}.sale-footer{grid-template-columns:minmax(100px,.8fr) minmax(190px,1fr) minmax(180px,1fr);align-items:center}.sale-checkout{grid-column:auto}}
@media(max-width:1150px){.sale-counter{grid-template-columns:minmax(0,1fr) 310px;gap:12px}.sale-footer{padding:15px;gap:15px}.sale-cart-heading,.sale-scan{padding-inline:15px}.sale-lines table{min-width:640px}.pos-product-photo{width:48px;height:48px;flex-basis:48px}.pos-product-row{padding:13px 10px}.pos-product-pick{gap:8px}}
@media(max-width:900px){.sale-counter{grid-template-columns:1fr;height:auto;min-height:0}.sale-lines{max-height:400px}.pos-product-list{max-height:540px}.sale-cart{min-height:430px}.pos-product-photo{width:62px;height:62px;flex-basis:62px}.checkout-overview,.checkout-payment{padding:25px}}
@media(max-width:650px){dialog.checkout-dialog{width:calc(100% - 20px);max-height:94dvh}.checkout-layout{grid-template-columns:1fr}.checkout-overview{border-right:0;border-bottom:1px solid var(--border);padding:24px 20px}.checkout-payment{padding:24px 20px}.checkout-submit{padding-top:20px}.checkout-dialog>.modal-close{background:#fff}.sale-footer{grid-template-columns:1fr}.sale-checkout{grid-column:auto}.sale-cashier{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sale-cashier strong{margin:0}.sale-cashier span{margin-left:auto}.sale-balance dd{font-size:26px}}
.detail-share{margin-top:10px}.detail-share>button{min-height:44px}.detail-share>button:disabled{opacity:.6;cursor:wait}.detail-share #share-status:empty{display:none}.detail-share .field-help{margin:10px 0 0;line-height:1.6}.detail-share #share-link-panel{margin-top:12px}.detail-share #share-link-panel[hidden]{display:none}.detail-share #share-link-panel label{display:block;margin:0 0 6px;font-size:12px}.detail-share input{width:100%;min-width:0}.detail-share .share-local-note{font-size:11px}

/* Item descriptions are visible in both the receipt preview and printed invoice. */
.receipt .receipt-items{table-layout:fixed;width:100%}.receipt-items th:first-child{width:63%}.receipt-items th:nth-child(2){width:12%;text-align:center}.receipt-items th:last-child{width:25%}.receipt-items td{vertical-align:top}.receipt-items td:nth-child(2){text-align:center}.receipt-item-name{overflow-wrap:anywhere;font-weight:600}.receipt-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:11px;margin-top:7px;color:#48515e}.receipt .receipt-description-note{font-size:10px;text-align:left;margin:18px 0}.receipt-totals{break-inside:avoid}
@media print{
  :root{background:#fff!important}
  #print-area .receipt-logo{margin:0 0 3mm}
  #print-area .receipt>h2{margin:0 0 2mm}
  #print-area .receipt>p{margin:1mm 0}
  #print-area .receipt .store-contact-details{margin:2mm 0;line-height:1.4}
  #print-area .receipt-meta{gap:3px;padding:2.5mm 0;margin:2mm 0}
  #print-area .receipt .total{margin:3mm 0}
  #print-area .receipt .subtotal{color:black;margin:2mm 0}
  #print-area .receipt-remarks{margin:3mm 0;padding-top:2mm}
  #print-area .receipt-remarks p{margin-top:1mm;line-height:1.4}
  #print-area .receipt .receipt-thanks{margin:2mm 0;break-before:avoid}
  #print-area .receipt th,#print-area .receipt td{font-size:10pt;color:black;padding:2mm 1.5mm}
  #print-area .receipt-description{font-size:9pt;color:black;line-height:1.4;margin-top:2mm}
  #print-area .receipt td small{font-size:8pt;color:black}
  #print-area .receipt-items thead{display:table-header-group}
  #print-area .receipt-items tr{break-inside:auto}
  #print-area .receipt-item-name{display:block;break-after:avoid}
  #print-area .receipt-description{orphans:3;widows:3}
  #print-area .receipt-logo,#print-area .receipt-meta{break-inside:avoid}
  #print-area .receipt-items{overflow:visible}
}
.language-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #dce0e5;border-radius:8px;background:#fff;flex-shrink:0;white-space:nowrap}.language-switch button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:34px;padding:4px 9px;border:0;border-radius:5px;background:transparent;color:#545d6b;font-family:Arial,"Khmer OS System","Leelawadee UI",sans-serif;font-size:12px;line-height:1.6;cursor:pointer}.language-switch button[aria-pressed=true]{background:#fceae8;color:#b62b26;font-weight:700}.language-switch button:focus-visible{outline:2px solid #d53d35;outline-offset:2px}.topbar{gap:14px}.topbar>.language-switch{margin-left:0}.topbar>.shop-label{margin-right:auto}.auth-form>.language-switch,.connection-page>.language-switch{margin-bottom:18px}dialog>.language-switch{margin:0 35px 18px 0}.shop-header{gap:16px}html[lang=km] body,html[lang=km] button,html[lang=km] input,html[lang=km] select,html[lang=km] textarea{font-family:Arial,"Khmer OS System","Leelawadee UI","Khmer UI",sans-serif}html[lang=km] body{line-height:1.8}html[lang=km] h1,html[lang=km] h2,html[lang=km] h3{line-height:1.65;letter-spacing:0}html[lang=km] .eyebrow,html[lang=km] .nav-label,html[lang=km] .sidebar-label{letter-spacing:0}html[lang=km] .nav-item{font-size:13px}html[lang=km] .primary,html[lang=km] .secondary{line-height:1.7}html[lang=km] .field-help,html[lang=km] .subtle{line-height:1.85}html[lang=km] .receipt-item-description{line-height:1.65}@media(max-width:700px){.topbar{flex-wrap:wrap;height:auto;min-height:64px;padding:12px 16px}.topbar>.shop-label{flex:1}.topbar .top-date{display:none}.shop-header{flex-wrap:wrap}.shop-header>.language-switch{margin-left:auto}.language-switch button{min-height:38px}html[lang=km] .page-heading h1{font-size:25px}html[lang=km] .auth-story h1{font-size:34px}}@media print{.language-switch{display:none!important}html[lang=km] .receipt,html[lang=km] .stockroom-print,html[lang=km] .report-print{font-family:Arial,"Khmer OS System","Leelawadee UI","Khmer UI",sans-serif;line-height:1.6}}
.checkout-dialog>.language-switch{margin:14px 36px 12px 30px}
.invoice-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;max-width:1300px}.invoice-settings-layout>form{margin:0}.invoice-settings-layout input:not([type=checkbox]),.invoice-settings-layout textarea{width:100%;min-width:0}.invoice-settings-layout input[type=file]{font-size:12px;padding:10px;border:1px solid var(--border);border-radius:7px}.invoice-options .checkbox{margin:14px 0;align-items:flex-start}.invoice-auto{padding:16px;background:#f6f7fa;border-radius:8px}.invoice-preview-panel{position:sticky;top:20px;min-width:0}.invoice-preview-panel .section-title{padding:0;gap:12px}.invoice-preview-panel .receipt{padding:25px 20px;border:1px solid var(--border);border-radius:8px;max-width:100%;margin-top:20px}.invoice-logo{display:block;max-width:240px;max-height:100px;width:auto;height:auto;object-fit:contain}.invoice-custom-text{white-space:pre-wrap;overflow-wrap:anywhere}.settings-navigation{flex-wrap:wrap}.invoice-settings-layout .row-actions{flex-wrap:wrap}.invoice-settings-layout fieldset{min-width:0}.invoice-settings-layout h2{margin-top:0}@media(max-width:1050px){.invoice-settings-layout{grid-template-columns:1fr}.invoice-preview-panel{position:static}}@media(max-width:600px){.invoice-preview-panel .receipt{padding:18px 10px}.invoice-settings-layout{gap:16px}}@media print{#print-area .invoice-logo{max-width:55mm;max-height:23mm}#print-area .invoice-custom-text{font-size:10pt;line-height:1.45}}
html[lang=km] .eyebrow,html[lang=km] .nav-label,html[lang=km] .stat-grid small,html[lang=km] .customer-id,html[lang=km] .table-product small,html[lang=km] th{font-size:11px}html[lang=km] .field-help,html[lang=km] .optional{font-size:12px}html[lang=km] .receipt-description{line-height:1.65}.viewer-heading>.language-switch{margin-left:auto}.viewer-heading{flex-wrap:wrap}

/* Stockroom printing uses all filtered records without changing screen pagination. */
.stockroom-print .sr-print-summary{margin:10px 0 14px;font-size:10px;line-height:1.5;color:#444}.stockroom-print .sr-print-list{table-layout:fixed}.stockroom-print .sr-print-list th,.stockroom-print .sr-print-list td{vertical-align:top;overflow-wrap:anywhere;padding:8px 5px}.stockroom-print .sr-print-list th{white-space:normal}.stockroom-print .sr-print-list .sr-product{min-width:0;max-width:none;align-items:flex-start;gap:8px}.stockroom-print .sr-print-list .sr-product>div{width:38px;height:38px;border:0}.stockroom-print .sr-print-list .sr-product>span{min-width:0;flex:1}.stockroom-print .sr-print-list .sr-product img,.stockroom-print .sr-print-list .sr-product svg{width:38px;height:38px;object-fit:contain}.stockroom-print .sr-print-list .sr-description{display:block;max-width:none;overflow:visible;white-space:pre-wrap;font-size:9px;color:#333}.stockroom-print .sr-print-list .customer-id,.stockroom-print .sr-print-list .sr-product small{display:block;font-size:9px;color:#444}.stockroom-print .sr-print-list td strong{font-size:10px}.stockroom-print .sr-print-list .badge{white-space:normal;padding:0;background:transparent;color:#333}.stockroom-print .sr-print-list td.number{white-space:normal;font-variant-numeric:tabular-nums}
@media print{.stockroom-print .sr-print-list thead{display:table-header-group}.stockroom-print .sr-print-list tr{break-inside:avoid;page-break-inside:avoid}.stockroom-print .sr-print-list th{font-weight:700;color:#000}.stockroom-print h2{margin-bottom:4px}.stockroom-print h3{margin-bottom:4px}}
.stockroom-print .sr-print-col-9{width:9%}.stockroom-print .sr-print-col-52{width:52%}.stockroom-print .sr-print-col-15{width:15%}.stockroom-print .sr-print-col-10{width:10%}.stockroom-print .sr-print-col-14{width:14%}.stockroom-print .sr-print-col-40{width:40%}.stockroom-print .sr-print-col-60{width:60%}.stockroom-print .sr-print-col-16{width:16%}
