:root{--navy:#123657;--blue:#1554a4;--green:#48a52c;--aqua:#00bdb2;--pink:#f62891;--muted:#7e8c9a;--line:#e8edf2;--bg:#f5f7fa;--shadow:0 6px 28px #193f6410;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--navy);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--blue)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1.1px;margin-bottom:8px}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}p{line-height:1.6}.muted{color:var(--muted)}.tiny{font-size:11px}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:800;color:var(--aqua)}.btn{background:var(--blue);border:0;color:white;border-radius:10px;padding:12px 18px;font-weight:700;display:inline-flex;align-items:center;gap:8px;text-decoration:none;justify-content:center}.btn:hover{filter:brightness(.95)}.btn.secondary{background:#eaf0f7;color:var(--navy)}.btn.green{background:var(--green)}.btn.pink{background:var(--pink)}.btn.danger{background:#fff0f0;color:#c84444}.btn.small{padding:8px 12px}.btn.ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:white;border-right:1px solid var(--line);padding:24px 18px;display:flex;flex-direction:column;z-index:15}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 24px}.brand img{width:64px;height:64px;object-fit:contain}.brand strong{font-size:16px;letter-spacing:-.6px}.brand strong b{color:var(--green)}.brand small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.nav-label{font-size:9px;font-weight:800;letter-spacing:2px;color:#9daab6;margin:20px 12px 12px}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;color:#6d7d8d;border-radius:10px;font-weight:600;font-size:12px}.nav a.active{background:#ecf5fc;color:var(--blue)}.nav a:hover{background:#f5f8fb}.nav a.active:before{content:"";position:absolute;left:0;height:25px;width:3px;border-radius:0 3px 3px 0;background:var(--blue)}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0}.powered{font-size:10px;color:#99a8b5;line-height:1.7}.powered strong{color:#7890a1}.main{margin-left:236px;min-height:100vh}.topbar{height:78px;background:white;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar .location{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:700}.account{display:flex;align-items:center;gap:12px}.avatar{width:36px;height:36px;display:grid;place-items:center;background:#eef5e8;color:var(--green);font-weight:800;border-radius:12px}.content{max-width:1530px;margin:0 auto;padding:30px 34px 35px}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.pagehead p{margin:0}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.badge{display:inline-flex;align-items:center;gap:6px;background:#e9f8ef;color:#329155;border-radius:20px;padding:6px 10px;font-size:10px;font-weight:700}.badge.blue{background:#e8f1fc;color:var(--blue)}.badge.pink{background:#fff0f7;color:var(--pink)}.badge.orange{background:#fff3e4;color:#ce8618}.badge.gray{background:#f0f2f5;color:#81909f}.dot{width:6px;height:6px;border-radius:50%;background:currentColor}.hero{background:linear-gradient(110deg,#123657,#164f79);color:white;padding:25px 28px;border-radius:17px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden}.hero:after{content:"";width:220px;height:220px;border:35px solid #ffffff06;border-radius:50%;position:absolute;right:35px;top:-85px;pointer-events:none}.hero h2{font-size:23px;max-width:560px;margin:9px 0}.hero p{font-size:12px;color:#c1d9eb;margin:0}.hero .eyebrow{color:#56dfce}.hero .hero-date{text-align:right;font-size:12px;line-height:1.9;z-index:1}.hero .hero-date strong{display:block;font-size:25px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:22px}.kpi{padding:20px 21px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.kpi-label{font-size:11px;color:#7b8b9b;display:flex;align-items:center;justify-content:space-between}.kpi-icon{height:32px;width:32px;display:grid;place-items:center;border-radius:10px;background:#eaf4ff;color:var(--blue)}.kpi:nth-child(2) .kpi-icon{background:#eff8e9;color:var(--green)}.kpi:nth-child(3) .kpi-icon{background:#e5faf7;color:#00a599}.kpi:nth-child(4) .kpi-icon{background:#fff0f7;color:var(--pink)}.kpi .value{font-size:28px;font-weight:800;letter-spacing:-1.2px;margin:10px 0 7px}.kpi small{font-size:10px;color:#9ca8b4}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:23px;box-shadow:var(--shadow)}.panelhead{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}.panelhead h2{margin-bottom:5px}.panelhead p{margin:0;font-size:11px;color:var(--muted)}.chart{height:180px;display:flex;align-items:end;gap:6px;padding:12px 0 0;border-bottom:1px solid var(--line);position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#edf1f6 45px,#edf1f6 46px)}.bar{flex:1;min-width:3px;border-radius:5px 5px 0 0;background:#cfe9f8;position:relative;min-height:3px}.bar.current{background:var(--aqua)}.bar:hover{background:var(--blue)}.bar span{display:none;position:absolute;bottom:100%;font-size:9px;white-space:nowrap;background:var(--navy);color:white;padding:5px;border-radius:5px;z-index:2}.bar:hover span{display:block}.chart-axis{display:flex;justify-content:space-between;font-size:9px;color:#9aa8b5;margin-top:9px}.chart-legend{font-size:10px;color:#8493a3;display:flex;gap:6px;align-items:center;margin:16px 0 0}.chart-legend .dot{color:var(--aqua)}.empty{padding:28px 15px;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}.empty .icon{display:block;width:35px;height:35px;margin:0 auto 12px;color:#adc2d3}.empty strong{display:block;color:var(--navy);margin-bottom:5px}.rank{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}.rank:last-child{border:0}.rank-number{width:27px;height:27px;background:#f4f7fa;border-radius:8px;display:grid;place-items:center;font-size:10px;color:#8e9ba8}.rank-name{flex:1;min-width:0}.rank-name strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-name small{font-size:10px;color:var(--muted)}.rank-value{font-size:11px;font-weight:700}.metric-line{padding:13px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:11px}.metric-line:last-child{border:0}.metric-line strong{text-align:right}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}.feature-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eef8e8;color:var(--green);margin-bottom:13px}.feature-icon.pink{background:#fff0f7;color:var(--pink)}.feature-icon.aqua{background:#e6faf7;color:#00a999}.feature-value{font-size:16px;font-weight:800;margin-bottom:5px;overflow-wrap:anywhere}.feature-note{font-size:11px;color:var(--muted);line-height:1.7}.footer{display:flex;justify-content:space-between;margin-top:23px;color:#a0adb9;font-size:10px}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:21px}.search{position:relative;min-width:270px;flex:1;max-width:480px}.search .icon{position:absolute;top:13px;left:13px;color:#9aa8b4}.search input{padding-left:42px;width:100%}input,select,textarea{padding:12px 13px;border:1px solid #dfe7ee;border-radius:9px;background:white;color:var(--navy);min-width:0;width:100%}input:focus,select:focus,textarea:focus{border-color:var(--aqua);outline:2px solid #00bdb218}textarea{resize:vertical;min-height:80px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters button{border:1px solid var(--line);border-radius:8px;background:white;color:#83919e;padding:9px 13px;font-size:11px}.filters button.active{background:var(--navy);color:white;border-color:var(--navy)}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:19px}.product-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white;box-shadow:var(--shadow)}.product-image{height:170px;background:#f1f7f8;position:relative;display:grid;place-items:center}.product-image img{height:100%;width:100%;object-fit:contain;padding:12px}.product-image .placeholder{font-size:65px;opacity:.65}.product-tags{position:absolute;left:12px;top:12px;display:flex;gap:5px}.product-body{padding:18px}.product-body h3{font-size:14px;margin-bottom:6px}.product-body .category{font-size:10px;color:#94a1ae}.product-stock{display:flex;justify-content:space-between;font-size:11px;margin-top:17px;padding-top:13px;border-top:1px solid var(--line)}.product-prices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.product-prices span{font-size:9px;color:var(--muted)}.product-prices strong{display:block;font-size:15px;margin-top:4px;color:var(--blue)}.product-buttons{display:flex;gap:8px;margin-top:14px}.product-buttons .btn{flex:1;font-size:10px;padding:9px 7px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}.record-card{padding:23px;background:white;border:1px solid var(--line);border-radius:15px}.record-card p{font-size:12px;color:var(--muted);margin:8px 0;overflow-wrap:anywhere}.record-card .actions{margin-top:18px}.branch-photo{width:100%;height:140px;object-fit:cover;border-radius:10px;margin-bottom:15px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:12px}.table th{text-align:left;color:#94a0ae;font-size:10px;font-weight:600;white-space:nowrap;padding:13px 12px;border-bottom:1px solid var(--line)}.table td{padding:16px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.table td:last-child{text-align:right}.table td strong{color:var(--navy)}.table .btn{font-size:10px;padding:8px 11px}.row-link{cursor:pointer}.row-link:hover{background:#f6fafc}dialog{border:0;border-radius:19px;padding:0;width:min(760px,94vw);max-height:92vh;overflow:auto;box-shadow:0 24px 100px #12365733;color:var(--navy)}dialog::backdrop{background:#12365777;backdrop-filter:blur(3px)}.modal-header{padding:25px 28px 17px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.modal-header h2{font-size:21px;margin:0}.modal-header p{font-size:11px;margin:7px 0 0;color:var(--muted)}.close{border:0;background:#f2f5f8;border-radius:50%;width:30px;height:30px;color:#8a98a5}.modal-body{padding:24px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600}.field.full{grid-column:1/-1}.field small{font-weight:400;color:var(--muted);line-height:1.5}.form-grid h3{grid-column:1/-1;margin:9px 0 -3px;font-size:12px;color:var(--blue)}.checks{display:flex;flex-wrap:wrap;gap:18px;font-size:12px}.checks label{display:flex;gap:8px;align-items:center}.checks input{width:16px;height:16px;accent-color:var(--green)}.modal-footer{padding:18px 28px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end;position:sticky;bottom:0;background:white}.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;grid-column:1/-1}.photo-picker{border:1px dashed #c8d7e2;border-radius:11px;background:#f8fbfc;min-height:120px;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:10px;cursor:pointer;text-align:center;color:#7890a4}.photo-picker img{height:65px;width:100%;object-fit:contain}.photo-picker input{font-size:9px;padding:3px;border:0;width:100%}.notice{background:#edf6fc;border-radius:10px;padding:13px 15px;font-size:11px;color:#537c9b;line-height:1.7;margin-bottom:18px}.notice.warning{background:#fff7ea;color:#aa7b2c}.inline-form{display:flex;gap:10px}.inline-form input{flex:1}.order-line{display:grid;grid-template-columns:1fr 90px 35px;gap:9px;margin-bottom:10px;align-items:center}.total{font-size:28px;font-weight:800;letter-spacing:-1px}.checkout{display:grid;grid-template-columns:1fr 370px;gap:22px}.cart-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.cart-item .qty{display:flex;gap:8px;align-items:center}.qty button{background:#f0f5f8;border:0;color:var(--navy);height:25px;width:25px;border-radius:5px}.sticky{position:sticky;top:20px;align-self:start}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-art{background:linear-gradient(145deg,#e8f9f6,#f2fbeb);padding:60px;display:flex;flex-direction:column;align-items:center;justify-content:center}.login-art img{width:min(440px,95%);mix-blend-mode:multiply}.login-art h1{margin-top:30px;font-size:36px;max-width:450px;text-align:center}.login-form{display:flex;align-items:center;justify-content:center;padding:35px}.login-form form{width:340px}.login-form h2{font-size:28px;letter-spacing:-1px}.login-form .field{margin:22px 0}.login-form .btn{width:100%;margin:7px 0 25px}.login-form .powered{text-align:center}.loading{min-height:100vh;display:grid;place-content:center;text-align:center;gap:15px}.loading img{width:230px}.loading p{color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);background:var(--navy);color:white;border-radius:11px;box-shadow:0 10px 40px #12365733;padding:15px 23px;z-index:99;transition:transform .25s;max-width:90vw;line-height:1.5}#toast.show{transform:translateX(-50%) translateY(0)}#toast.error{background:#bd3f54}.mobile-menu{display:none}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.connection{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);gap:15px}.connection p{margin:5px 0 0;font-size:11px;color:var(--muted)}.report-sheet .kpis{margin-top:22px}.report-sheet .panel{box-shadow:none}.report-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:20px}.print-logo{display:none}.opening-table{max-height:450px;overflow:auto}
@media(min-width:1600px){.content{padding-top:40px}.kpi .value{font-size:34px}.chart{height:220px}.hero{padding:32px}.panel{padding:27px}}@media(max-width:1150px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.main{margin-left:205px}.brand{padding-left:0}.brand img{width:48px}.brand strong{font-size:14px}.content{padding:25px}.topbar{padding:0 25px}.kpis{gap:10px}.kpi{padding:16px}.kpi .value{font-size:24px}.dashboard-grid{grid-template-columns:1.3fr 1fr}.checkout{grid-template-columns:1fr 310px}.grid3{gap:12px}.panel{padding:19px}}@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:236px}.sidebar.open{transform:translateX(0);box-shadow:20px 0 70px #12365733}.main{margin-left:0}.mobile-menu{display:inline-flex;background:#f2f6fa;border:0;border-radius:8px;padding:8px;color:var(--navy)}.topbar{height:66px;padding:0 19px}.topbar .location{font-size:11px}.account .account-info{display:none}.content{padding:24px 18px}.pagehead{align-items:start}.pagehead .actions{justify-content:flex-end}.pagehead h1{font-size:26px}.kpis{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.grid3{grid-template-columns:1fr 1fr}.hero .hero-date{display:none}.hero{padding:23px}.hero h2{font-size:21px}.checkout{grid-template-columns:1fr}.sticky{position:static}.settings-grid{grid-template-columns:1fr}.login-art{padding:25px}.login-art h1{font-size:26px}.login-art img{width:300px}.account{gap:8px}.report-summary{grid-template-columns:1fr}}@media(max-width:520px){.pagehead{flex-direction:column;gap:15px}.pagehead .actions{justify-content:flex-start}.kpi .value{font-size:26px}.kpi{padding:17px}.kpi-label{font-size:10px}.hero p{font-size:11px}.hero h2{font-size:19px}.grid3{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-image{height:130px}.product-body{padding:13px}.product-body h3{font-size:12px}.product-prices{grid-template-columns:1fr}.product-prices strong{font-size:14px}.product-stock{font-size:9px}.product-buttons{flex-direction:column}.form-grid{grid-template-columns:1fr}.field.full,.form-grid h3,.photos{grid-column:auto}.photos{grid-template-columns:1fr}.photo-picker{min-height:100px}.modal-header,.modal-body{padding:20px}.login{grid-template-columns:1fr}.login-art{padding:22px 30px}.login-art img{width:180px}.login-art h1{display:none}.login-form{padding:30px}.footer{gap:15px;line-height:1.6}.order-line{grid-template-columns:1fr 65px 30px}.search{min-width:100%;max-width:none}.kpi .value{font-size:24px}.brand img{width:58px}.brand strong{font-size:16px}.topbar .location select{max-width:150px;padding:8px;font-size:11px}}@media print{body{background:white;font-size:10px}.sidebar,.topbar,.pagehead .actions,.footer,.btn,#toast{display:none!important}.main{margin:0}.content{padding:0;max-width:none}.hero{color:var(--navy);background:#edf5fa;padding:15px;margin-bottom:12px}.hero h2{font-size:18px}.hero p{color:#52748e}.hero .eyebrow{color:var(--blue)}.kpis{gap:9px;margin-bottom:12px}.kpi{padding:12px;box-shadow:none}.kpi .value{font-size:22px}.kpi-icon{display:none}.panel{padding:13px;box-shadow:none;break-inside:avoid}.dashboard-grid{grid-template-columns:1.3fr 1fr;gap:12px}.grid3{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.chart{height:120px}.rank{padding:8px 0}.pagehead{margin-bottom:14px}.print-logo{display:block;width:70px;float:right}.pagehead h1{font-size:23px}.feature-note{font-size:10px}.report-summary{grid-template-columns:1fr 1fr;gap:12px}.report-sheet .kpis{margin-top:10px}@page{size:letter landscape;margin:12mm}}

.photo-picker{cursor:default;min-height:175px;padding:16px 10px}.photo-picker.dragging{border:2px solid var(--aqua);background:#e1fbf7}.drop-hint{font-size:9px;color:#98aab8}.photo-actions{display:flex;flex-direction:column;gap:6px;width:100%;margin-top:5px}.photo-button{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px;border-radius:7px;background:#e2f1f8;color:var(--blue);font-weight:700;cursor:pointer;font-size:10px;overflow:hidden}.photo-button.secondary{background:white;border:1px solid #dbe6ee;color:#7890a4}.photo-button .icon{width:14px;height:14px}.photo-button input.file-hidden{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;padding:0}.photo-picker>img{height:85px}.photo-picker>svg{width:24px;height:24px}

.order-line{grid-template-columns:minmax(100px,1fr) 120px 70px 30px}.supplier-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin-top:10px;max-height:290px;overflow:auto}.supplier-product{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:10px;background:#f8fbfd;font-size:10px;text-align:center}.supplier-product input{position:absolute;top:8px;left:8px;width:16px;height:16px;accent-color:var(--green)}.supplier-product img{width:100%;height:75px;object-fit:contain}.supplier-product>span{font-size:35px}.supplier-product:has(input:checked){background:#edf9e8;border-color:var(--green)}@media(max-width:520px){.order-line{grid-template-columns:1fr 70px 30px}.order-line select:first-child{grid-column:1/-1}}

.color-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.color-row strong{flex:1}.swatch{display:inline-block;width:28px;height:28px;border:1px solid #b6c4d0;border-radius:7px;flex-shrink:0}.swatch.mini{width:13px;height:13px;border-radius:3px;vertical-align:middle;margin-right:7px}.color-row label{font-size:9px;color:var(--muted);width:85px}.color-row input{margin-top:4px;padding:8px;width:85px}.palette-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;max-height:290px;overflow:auto}.palette-tile{border:1px solid var(--line);background:white;border-radius:8px;padding:6px;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--navy)}.palette-tile span{height:30px;width:100%;border-radius:4px;border:1px solid #0001}.palette-tile strong{font-size:10px}.palette-tile small{font-size:8px}.palette-tile:hover{border-color:var(--blue);background:#eef6ff}@media(max-width:520px){.palette-grid{grid-template-columns:repeat(4,1fr)}}

.password-wrap{position:relative}.password-wrap input{padding-right:65px}.password-wrap button{position:absolute;right:9px;top:9px;border:0;background:#edf5fc;color:var(--blue);padding:5px 8px;border-radius:5px;font-size:10px;font-weight:700}.login-form .recover-link{background:none;border:0;color:var(--blue);font-size:12px;text-align:center;margin:0 0 25px;padding:0}.welcome-heading{display:flex;align-items:center;gap:12px}.welcome-heading img{width:63px;height:68px;object-fit:contain}.welcome-heading{margin-bottom:3px}@media(max-width:520px){.welcome-heading{font-size:23px}.welcome-heading img{width:48px;height:53px}}

.order-line{grid-template-columns:minmax(100px,1fr) 110px 85px 65px 30px}@media(max-width:520px){.order-line{grid-template-columns:1fr 90px 65px 30px}.order-line select:first-child{grid-column:1/-1}}

.cost-line{display:flex;justify-content:space-between;font-size:13px;padding:12px 0;border-top:1px solid var(--line);margin-top:12px}.product-prices{display:flex;flex-direction:column;gap:0}.product-prices>div{display:grid;grid-template-columns:1fr auto;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5}.product-prices small{grid-column:1/-1;text-align:right;font-size:11px;color:#32833b}.product-prices small.loss{color:#b32638}.product-buttons{flex-wrap:wrap}.product-image{background:#fff}.product-image img{object-fit:contain;padding:14px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr))}
.product-image{height:220px;overflow:hidden}.product-image img{position:absolute;inset:0;max-width:100%;max-height:100%;width:100%;height:100%;display:block;object-fit:contain;padding:16px}.product-body{position:relative;background:white}.sidebar{overflow-y:auto}.sidebar-bottom{margin-top:22px}@media(max-width:520px){.product-grid{grid-template-columns:1fr}.product-image{height:230px}}

.catalog-flag{border:1px solid transparent;border-radius:16px;font-size:10px;font-weight:750;padding:7px 9px;cursor:pointer}.catalog-flag.on{background:#daf3df;color:#197332;border-color:#a7d9b1}.catalog-flag.off{background:#ffeded;color:#b43838;border-color:#f0b3b3}.visibility-flag{position:absolute;right:10px;top:12px;max-width:110px}.product-tags{right:118px;flex-wrap:wrap}.product-season{position:absolute;bottom:8px;left:12px;font-size:10px;color:#536b7b;background:#ffffffeb;border-radius:8px;padding:5px}.product-season:empty{display:none}.category-management{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #e8edf2;padding:12px 0}.category-management strong{flex:1;min-width:100px}.category-management select{max-width:180px;font-size:12px}

.richar-message{text-align:right;color:#1554a4;font-size:15px;font-weight:650;margin:-8px 0 20px;line-height:1.5}@media(max-width:650px){.richar-message{text-align:left;font-size:13px}}

.competition-sources{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.comparison-table{min-width:1150px}.comparison-table td{min-width:160px;vertical-align:top}.comparison-product{display:flex;gap:12px;align-items:center;min-width:210px}.comparison-product img{width:65px;height:65px;object-fit:contain}.comparison-table small{font-size:10px;line-height:1.5}

.dashboard-head{align-items:flex-end;margin-bottom:12px;gap:18px}.dashboard-head>div:first-child{min-width:290px}.dashboard-head .welcome-heading{font-family:Georgia,'Palatino Linotype',serif;font-style:italic;font-size:30px;letter-spacing:-.65px;line-height:1.14;align-items:flex-end;margin-bottom:4px}.dashboard-head .welcome-heading img{width:57px;height:62px}.dashboard-head #page-actions{justify-content:flex-end;max-width:670px;align-items:flex-end;gap:8px}.dashboard-head .richar-message{flex:0 0 100%;font-family:Georgia,'Palatino Linotype',serif;font-style:italic;font-weight:500;font-size:16px;line-height:1.35;letter-spacing:.1px;text-align:right;margin:2px 0 0;color:#1554a4}.dashboard-head>div>p.muted{margin-bottom:0}@media(max-width:1050px){.dashboard-head{flex-wrap:wrap}.dashboard-head #page-actions{max-width:none;width:100%;justify-content:flex-start}.dashboard-head .richar-message{text-align:left;flex-basis:100%}.dashboard-head .welcome-heading{font-size:28px}}@media(max-width:520px){.dashboard-head .richar-message{font-size:15px}.dashboard-head .welcome-heading{font-size:26px}.dashboard-head{gap:10px;margin-bottom:12px}}

.product-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:48px;padding:12px 12px 4px}.product-controls .product-tags{position:static;display:flex;flex-wrap:wrap;gap:5px;margin:0}.product-controls .visibility-flag{position:static;margin-left:auto;max-width:none}.product-controls .product-season{position:static;flex:0 0 100%;padding:2px 0;margin:0;line-height:1.4}.product-image{height:210px}.product-image img{z-index:0}.product-body .tiny{overflow-wrap:anywhere}.panel,.record-card,.product-card,.content{min-width:0}.field input,.field select,.field textarea{min-width:0;max-width:100%}.form-grid>*{min-width:0}.photo-picker img{position:static;width:100%;height:140px;object-fit:contain;opacity:1;display:block}.photo-picker{height:auto}.photo-actions{position:static;flex-wrap:wrap}.welcome-heading img{flex-shrink:0}.login-form form{width:100%;max-width:360px}@media(max-width:600px){.topbar{height:auto;min-height:66px;padding:12px 16px;gap:8px}.topbar .location{min-width:0;flex:1;gap:7px}.topbar .location span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100vw - 190px)}.account .badge{display:none}.account{gap:6px;flex-shrink:0}.account .btn{padding:8px}.login-form{padding:24px 20px}.product-controls{gap:8px;padding:12px 12px 4px}.product-controls .catalog-flag{font-size:11px}.product-image{height:220px}.toolbar,.actions{min-width:0}.dashboard-head .welcome-heading{flex-wrap:nowrap;font-size:25px;gap:9px}.dashboard-head>div:first-child{min-width:0}.dashboard-head #page-actions{gap:6px}.dashboard-head #page-actions .btn{padding:10px 12px;font-size:11px}.product-body h3{overflow-wrap:anywhere}}

.draft-notice{padding:10px 13px;margin-bottom:18px;border-radius:9px;background:#edf8ee;color:#24763d;font-size:12px;line-height:1.5;position:sticky;top:-1px;z-index:2;box-shadow:0 2px 8px #12365708}

.topbar{width:100%;max-width:100%;min-width:0}.topbar .location{flex:1;min-width:0;overflow:hidden}.topbar .location span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .account{margin-left:auto;max-width:100%;flex-shrink:0;min-width:0}.account-info{min-width:0;max-width:135px}.account-info strong,.account-info .tiny{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .account .btn{flex-shrink:0}.btn[hidden]{display:none!important}@media(max-width:700px){.account-info{display:none}.topbar .account .badge{display:none}.topbar{padding-left:14px;padding-right:14px;gap:7px}}

.menu-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 4px 8px}.menu-modes button{min-width:0;min-height:56px;border:1px solid #e3ebf1;background:#f8fafc;color:#60778c;border-radius:10px;padding:8px 3px;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:9px;font-weight:800}.menu-modes button.selected{background:#123657;border-color:#123657;color:white}.menu-modes .icon{width:19px;height:19px}.menu-customize{background:transparent;border:0;color:#1554a4;text-align:right;font-size:10px;padding:2px 8px 8px}.menu-more{display:flex;gap:10px;align-items:center;border:1px dashed #c8d6e2;background:#f5f8fa;border-radius:9px;color:#547089;padding:11px 12px;text-align:left;font-size:11px;font-weight:700;margin-top:8px}.custom-menu-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.custom-menu-options label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e7edf3;border-radius:9px;font-size:12px}.custom-menu-options input{width:17px;height:17px}.sidebar .brand{padding-bottom:14px}.sidebar .nav-label{margin-top:12px}

.fx-reference{flex:0 0 100%;width:100%;min-width:0}.fx-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.fx-card{border:1px solid #dfe9ef;background:#fff;border-radius:10px;padding:9px 12px;min-width:0}.fx-card span{display:block;color:#6e8193;font-size:10px;white-space:nowrap}.fx-card strong{display:block;color:#1554a4;font-size:17px;margin:4px 0 2px;letter-spacing:-.4px}.fx-card small{font-size:9px;color:#8294a3}.fx-date{display:block;font-size:9px;color:#8597a6;text-align:right;margin-top:5px}.fx-date a{color:inherit}@media(max-width:520px){.fx-card{padding:8px}.fx-card strong{font-size:15px}.fx-card span{font-size:9px}.fx-date{text-align:left;line-height:1.4}}

.draft-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.draft-discard{background:transparent;border:0;color:#677f6c;font-size:10px;text-decoration:underline;padding:4px;white-space:nowrap}

.live-report-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px;background:white}.live-report-page{min-height:100dvh}.live-report-toolbar span{font-size:12px;color:#47637d}#live-report-mobile{display:none}@media(max-width:650px){#live-report-frame{display:none}#live-report-mobile{display:block;padding:12px}.live-report-toolbar .btn{font-size:12px;padding:10px}.live-report-toolbar span{order:3;width:100%}}

#live-report-sheet{padding:18px;background:#e8edf3}.live-sheet{max-width:1100px;margin:auto;background:white;padding:28px;color:#163650;box-shadow:0 3px 18px #102f4814;font-size:12px}.live-sheet-heading{display:flex;align-items:center;gap:18px}.live-sheet-heading>img{width:84px;height:84px;object-fit:contain}.live-sheet h1{font-size:24px;margin:0}.live-sheet h2{font-size:14px;margin:0 0 12px;border-left:3px solid #00b9ac;padding-left:8px}.live-sheet h3{font-size:9px;text-transform:uppercase;color:#637f91;margin:12px 0 4px}.live-sheet p{margin:4px 0 8px}.live-sheet small{display:block;font-size:10px;color:#708596}.live-sheet-period{margin-left:auto;text-align:right}.live-sheet-period small{margin-top:6px}.live-sheet-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.live-sheet-kpis section{padding:17px;background:#f6f9fb;border-radius:8px}.live-sheet-kpis strong{display:block;font-size:25px;margin-top:8px}.live-sheet-kpis section:nth-child(2) strong{color:#49a352}.live-sheet-kpis section:nth-child(3) strong{color:#00a899}.live-sheet-kpis section:nth-child(4) strong{color:#de4c8b}.live-sheet-top{display:grid;grid-template-columns:1.4fr 1fr;gap:15px}.live-sheet-top>section,.live-sheet-bottom>section{min-width:0;border:1px solid #e3ebf1;border-radius:9px;padding:16px}.live-sheet-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:15px}.live-sheet ul{padding:0;list-style:none;margin:0}.live-sheet li{display:flex;gap:8px;justify-content:space-between;padding:7px 0;border-bottom:1px solid #f1f4f6;font-size:10px}.live-sheet li span{min-width:0}.live-sheet li strong{white-space:nowrap;font-size:10px}.live-sheet-sales{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end}.live-sheet-chart{height:115px;display:flex;gap:4px;align-items:end}.live-sheet-chart>span{flex:1;background:#00b8a9;border-radius:3px 3px 0 0}.live-sheet footer{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-top:18px}.live-sheet footer>span{display:flex;align-items:end;gap:4px;font-size:10px;white-space:nowrap}.live-sheet footer img{width:42px;height:48px;object-fit:contain;margin-right:5px}@media(max-width:650px){#live-report-sheet{padding:8px}.live-sheet{padding:14px}.live-sheet-heading{gap:10px;flex-wrap:wrap}.live-sheet-heading>img{width:62px;height:62px}.live-sheet h1{font-size:18px}.live-sheet-period{margin:0;width:100%;text-align:left}.live-sheet-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.live-sheet-kpis section{padding:12px}.live-sheet-kpis strong{font-size:19px}.live-sheet-top,.live-sheet-bottom{grid-template-columns:1fr}.live-sheet-sales{grid-template-columns:1fr}.live-sheet footer{flex-wrap:wrap}.live-sheet footer>span{margin-left:auto}}

button.kpi-link{appearance:none;width:100%;font:inherit;text-align:left;cursor:pointer;color:inherit}.kpi-link:hover{border-color:#00b8aa;box-shadow:0 5px 20px #12365714}.kpi-link:focus-visible{outline:3px solid #00b8aa;outline-offset:3px}.metric-detail-total{background:#f0f8fb;border-radius:12px;padding:20px;margin-bottom:18px}.metric-detail-total strong{display:block;font-size:30px;color:#123657;margin:8px 0}.metric-detail-total small{display:block;color:#6b8296}.metric-detail-total p{font-size:13px;margin-bottom:0}.metric-detail-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:16px}.metric-detail-pagination span{font-size:13px;color:#6b8296}

.install-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#eefaf7,#f3f6fc)}.install-card{width:min(100%,480px);padding:32px;background:white;border:1px solid #e0eaf0;border-radius:24px;box-shadow:0 18px 60px #12365714;text-align:center}.install-preview{width:112px;height:112px;object-fit:contain;display:block;margin:0 auto 20px;border-radius:24px}.install-card h1{font-size:30px;margin:14px 0}.install-card>p{line-height:1.65}.install-card>.btn{width:100%;justify-content:center;margin-top:10px;min-height:52px}.install-status{font-size:13px;color:#426278}.install-steps{text-align:left;padding-left:24px;line-height:1.7;font-size:14px}.install-steps li{padding:6px 0}.install-card .powered{margin-top:24px}@media(max-width:480px){.install-page{padding:12px}.install-card{padding:24px 18px}.install-card h1{font-size:26px}}

.menu-modes[hidden]{display:none}

/* Align the account with the same bounded content area. */
@media(min-width:1101px){.topbar{padding-inline:max(34px,calc((100% - 1462px)/2))}}
#pos-products .btn{white-space:nowrap}#barcode-form input{min-width:0;flex:1}

.pos-product-cell{display:flex;align-items:center;gap:10px;min-width:0}.pos-product-cell>div{min-width:0;overflow-wrap:anywhere}.pos-thumb{width:52px;height:52px;object-fit:contain;flex:0 0 52px;border:1px solid var(--line);border-radius:8px;background:white}.pos-thumb.placeholder{display:grid;place-items:center;color:var(--muted)}.cart-item>.pos-product-cell{flex:1}.cart-item .pos-thumb{width:42px;height:42px;flex-basis:42px}#pos-products .btn{font-size:0;padding:8px}#pos-products .btn .icon{width:20px;height:20px}@media(max-width:600px){.pos-thumb{width:44px;height:44px;flex-basis:44px}.pos-product-cell{gap:7px}}

.checkout .table{table-layout:fixed;width:100%;min-width:0}.checkout .table th,.checkout .table td{padding:12px 5px;white-space:normal;overflow-wrap:anywhere}.checkout .table th:nth-child(1){width:53%}.checkout .table th:nth-child(2){width:17%}.checkout .table th:nth-child(3){width:20%}.checkout .table th:nth-child(4){width:10%}.checkout .table .pos-product-cell{align-items:center}.checkout .table .pos-product-cell strong{font-size:11px}.checkout .table .pos-product-cell small{font-size:9px}.checkout .table .btn{padding:5px}.checkout .table td:nth-child(2),.checkout .table td:nth-child(3){font-size:10px}

.pos-scroll{max-height:clamp(260px,52vh,620px);overflow-y:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto;touch-action:pan-y;position:relative}.pos-scroll thead{position:sticky;top:0;background:white;z-index:2}.pos-alphabet{display:flex;flex-wrap:wrap;gap:4px;margin-top:12px}.pos-alphabet button{min-width:28px;min-height:30px;border:1px solid var(--line);background:white;color:var(--navy);border-radius:5px;font-size:11px}.pos-alphabet button.active{background:var(--blue);color:white}.variant-color{display:grid;place-items:center;border:2px solid #12365722;color:white;box-shadow:inset 0 0 0 2px white}.variant-color svg{filter:drop-shadow(0 1px 1px #123657);width:25px;height:25px}.color-row{flex-wrap:wrap}.receipt-dialog{max-width:470px}.receipt-paper{width:var(--ticket-width,74mm);max-width:100%;margin:auto;background:white;color:#000;border:1px solid #ddd;padding:12px;font:12px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.receipt-paper header,.receipt-paper footer{text-align:center}.receipt-paper p{margin:8px 0;line-height:1.45}.receipt-paper hr{border:0;border-top:1px dashed #444;margin:10px 0}.receipt-item{margin-bottom:9px;break-inside:avoid}.receipt-item strong{display:block}.receipt-row{display:flex;justify-content:space-between;gap:10px}.receipt-total{font-size:16px}.receipt-paper footer{margin-top:16px;font-size:10px}.receipt-void{text-align:center;border:2px solid black;padding:6px}.operational-summary .kpis{margin-top:16px}.operational-summary .metric-line span{overflow-wrap:anywhere;min-width:0}.operational-summary .metric-line{gap:10px}@media(max-width:600px){.pos-scroll{max-height:48vh;min-height:260px}.pos-alphabet button{min-width:31px;min-height:34px}.receipt-dialog .modal-body{padding:12px}.receipt-dialog .modal-footer{flex-wrap:wrap}}

.ticket-groups{display:flex;flex-wrap:wrap;gap:9px;max-height:250px;overflow:auto;overscroll-behavior:contain}.ticket-groups button{display:grid;text-align:left;justify-items:start;white-space:normal;gap:3px}.ticket-groups button span:last-child{font-size:10px;font-weight:500}#ticket-search-form .field input{width:100%}@media(max-width:600px){.ticket-groups button{width:100%}#ticket-results .metric-detail-pagination{flex-wrap:wrap}}

.variant-color{background:white!important;border:1px solid var(--line);box-shadow:none}.variant-color .color-product-drawing{width:100%;height:100%;filter:none}

.order-sort{border:0;padding:4px 0;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;white-space:nowrap}.order-sort:hover,.order-sort:focus-visible{color:var(--blue)}th[aria-sort="ascending"],th[aria-sort="descending"]{color:var(--blue)}

.table td.cancellation-reason{white-space:normal;min-width:220px;max-width:350px;overflow-wrap:anywhere}.cancellation-reason small{color:var(--muted)}

.pos-thumb[data-recolor-pending="1"]{opacity:0}

.table .cancellation-detail-row td{white-space:normal;padding:0 12px 18px;border-bottom:1px solid var(--line)}.cancellation-audit-grid{display:grid;grid-template-columns:1fr 1fr 1.7fr;gap:14px;background:#f6f8fb;border-radius:8px;padding:13px 15px;white-space:normal}.cancellation-audit-grid>div{display:flex;flex-direction:column;gap:5px;min-width:0;text-align:left;overflow-wrap:anywhere}.cancellation-audit-grid small{font-size:10px;color:var(--muted)}.cancellation-audit-grid span{font-size:11px;line-height:1.5}.cancellation-audit-grid strong{font-size:11px;line-height:1.5}@media(max-width:700px){.cancellation-audit-grid{grid-template-columns:1fr}.cancellation-audit-grid>div{padding-bottom:7px}}

.manager-notice-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.manager-notice-bar>.actions{gap:8px}.manager-notice-bar .btn{white-space:normal}@media(max-width:600px){.manager-notice-bar>.actions{width:100%}.manager-notice-bar .btn{flex:1}}
