:root{--ink:#182522;--muted:#75817c;--green:#187c5a;--green-dark:#126a4c;--mint:#e7f3ec;--line:#e8ece9;--paper:#fff;--bg:#f6f7f4;--orange:#ef9a54}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}.app-shell{min-height:100vh;display:flex}.sidebar{width:246px;background:#fff;border-right:1px solid var(--line);padding:26px 18px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;padding:0 9px;text-decoration:none;color:var(--ink);font-family:Manrope,sans-serif;font-size:14px;font-weight:800;letter-spacing:-.4px}.brand-mark,.footer-mark{height:33px;width:33px;border-radius:10px;display:grid;place-items:center;background:var(--green);color:white;font-family:Manrope;font-weight:800;font-size:16px;box-shadow:0 4px 10px #187c5a2a}.brand-light{display:block;color:#78837e;font-size:11px;font-weight:600;letter-spacing:.45px;margin-top:1px}.workspace-label{font-size:9px;letter-spacing:1.4px;color:#9aa49f;font-weight:700;margin:43px 11px 12px}nav{display:grid;gap:4px}.nav-item{height:42px;border-radius:8px;padding:0 11px;display:flex;gap:12px;align-items:center;text-decoration:none;color:#65716c;font-weight:600;font-size:12px}.nav-icon{font-size:17px;width:18px;text-align:center;color:#7c8b83}.nav-item.active{color:var(--green);background:#eaf4ee}.nav-item.active .nav-icon{color:var(--green)}.nav-item.muted{color:#8a9590}.soon{margin-left:auto;font-size:8px;letter-spacing:.5px;color:#a6afaa;background:#f4f6f4;padding:4px 5px;border-radius:4px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:18px 5px 4px;display:flex;align-items:center;gap:10px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e4eee7;color:var(--green);font-weight:700;font-size:12px}.sidebar-bottom strong{font-size:11px;display:block}.sidebar-bottom small{display:block;font-size:10px;color:#89948e;margin-top:3px}.more{margin-left:auto;color:#87928c;font-size:18px;letter-spacing:1px}.main-content{max-width:1320px;width:100%;margin:0 auto;padding:0 56px}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9ece8}.breadcrumbs{color:#86918b;font-size:11px}.breadcrumbs span{padding:0 9px;color:#b2bbb6}.breadcrumbs strong{font-weight:600;color:#38463f}.top-actions{display:flex;align-items:center;gap:16px}.currency-badge{font-size:10px;font-weight:700;color:#50605a;display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);padding:8px 10px;border-radius:7px}.online-dot,.live-dot{width:6px;height:6px;border-radius:50%;background:#41aa77;display:inline-block}.caret{font-size:14px;color:#849089;margin-left:4px}.icon-button{width:27px;height:27px;border:1px solid #dce3de;background:transparent;border-radius:50%;color:#718079;font-weight:700;font-size:11px}.avatar.small{width:28px;height:28px}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:34px 0 25px;position:relative;overflow:hidden}.eyebrow{font-weight:700;font-size:9px;color:var(--green);letter-spacing:1.2px}.sparkle{font-size:14px;margin-right:6px}h1{font-family:Manrope,sans-serif;letter-spacing:-1.8px;font-size:36px;line-height:1.16;margin:13px 0 9px;font-weight:800}h1 span{color:var(--green)}.page-heading p{margin:0;color:#78837e;font-size:12px}.heading-art{height:128px;width:200px;position:absolute;right:8%;top:11px}.art-orbit{position:absolute;border:1px solid #c7e1d0;border-radius:50%;transform:rotate(-28deg)}.orbit-one{width:175px;height:74px;top:31px;left:1px}.orbit-two{width:141px;height:102px;top:17px;left:20px;transform:rotate(43deg)}.art-coin{position:absolute;left:73px;top:39px;width:54px;height:54px;border-radius:50%;background:#e7f3ec;border:1px solid #c7e1d0;display:grid;place-items:center;color:var(--green);font-family:Manrope;font-weight:800;font-size:14px;box-shadow:0 7px 22px #174f3715}.art-star{position:absolute;color:var(--orange)}.star-a{left:18px;top:23px}.star-b{right:12px;bottom:20px;font-size:14px}.calculator-grid{display:grid;grid-template-columns:minmax(420px,1.03fr) minmax(380px,.97fr);gap:22px;align-items:start}.panel{background:white;border:1px solid #ebefeb;border-radius:12px;box-shadow:0 5px 18px #1b35210a}.input-panel{padding:23px 25px 19px}.panel-heading{display:flex;gap:12px;align-items:flex-start}.step{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#e9f4ed;color:var(--green);font-weight:700;font-size:10px;flex-shrink:0}.panel-heading h2{font-family:Manrope,sans-serif;font-size:14px;margin:1px 0 5px;letter-spacing:-.2px}.panel-heading p{font-size:10px;color:#85908b;margin:0;line-height:1.5}.input-panel form{margin-top:22px}.field{margin-top:16px}.field-label{font-size:10px;font-weight:700;display:flex;align-items:center;gap:5px;margin-bottom:7px;color:#3b4842}.optional{font-size:8px;letter-spacing:.6px;color:#a0aaa4;font-weight:600}.required{color:#e27755}.input-wrap{border:1px solid #e2e8e3;background:#fff;border-radius:7px;height:39px;display:flex;align-items:center;transition:border-color .15s,box-shadow .15s}.input-wrap:focus-within{border-color:#65a887;box-shadow:0 0 0 3px #e7f3ec}.input-wrap input{width:100%;height:100%;border:0;background:transparent;outline:0;color:#293832;font-family:inherit;font-size:11px;font-weight:600;padding:0 11px;min-width:0}.input-wrap input::placeholder{color:#a4ada8;font-weight:400}.input-wrap input::-webkit-outer-spin-button,.input-wrap input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.input-wrap input[type=number]{-moz-appearance:textfield}.input-symbol{padding-left:11px;color:#88a095;font-size:16px}.text-wrap input{padding-left:8px}.prefix{padding:0 0 0 11px;color:#849089;font-size:9px;font-weight:700;white-space:nowrap}.suffix{padding:0 11px;color:#929d97;font-size:9px;white-space:nowrap}.field-row{display:grid;grid-template-columns:.8fr 1.2fr;gap:13px}.field-row .field{margin-top:16px}.field-hint{font-size:9px;line-height:1.45;color:#929c97;display:block;margin-top:6px}.field-divider{height:1px;background:#edf0ed;margin:22px 0 18px}.panel-heading.compact{align-items:center}.step-dark{background:#eef0eb;color:#717f77}.compact h2{margin-bottom:3px}.compact p{font-size:9px}.price-wrap{background:#f9fbf9}.price-wrap input{font-size:12px}.price-hint{font-size:8px;color:#96a19b;border-left:1px solid #e3e9e4;padding-left:8px;padding-right:10px;white-space:nowrap}.reset-button{border:0;background:none;color:#89958e;font-family:inherit;font-size:10px;padding:14px 0 0;cursor:pointer}.reset-button span{font-size:14px;margin-right:4px}.reset-button:hover{color:var(--green)}.form-error{display:none;margin-top:14px;padding:9px 11px;border-radius:7px;background:#fff2ef;color:#a63e2d;font-size:10px;line-height:1.5}.form-error.visible{display:block}.results-column{display:grid;gap:12px}.result-hero{min-height:200px;border-radius:12px;background:#153c2d;color:white;padding:21px 23px;position:relative;overflow:hidden;box-shadow:0 7px 22px #153c2d1c}.result-top{display:flex;align-items:flex-start;justify-content:space-between;position:relative;z-index:1}.result-kicker{font-size:8px;font-weight:700;letter-spacing:1px;color:#b6d5c4;display:flex;align-items:center;gap:7px}.live-dot{background:#6bd69b;box-shadow:0 0 0 3px #6bd69b22}#hero-profit{font-family:Manrope,sans-serif;font-size:31px;letter-spacing:-1.2px;margin:8px 0 0;font-weight:800}.status-pill{background:#ffffff20;color:#e3f2e9;padding:6px 8px;border-radius:20px;font-size:8px;font-weight:700;letter-spacing:.3px}.hero-rule{height:1px;background:#ffffff25;margin:15px 0 12px;position:relative;z-index:1}.hero-bottom{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.hero-bottom>div:first-child span{display:block;color:#b3ccbf;font-size:9px;margin-bottom:5px}.hero-bottom>div:first-child strong{font-family:Manrope;font-size:13px}.hero-bottom strong small,.break-even-card strong small{font-family:'DM Sans';font-size:8px;color:#b3ccbf;font-weight:500}.margin-circle{width:58px;height:58px;border:1px solid #8bb09b;border-radius:50%;display:grid;place-items:center;background:#ffffff0a}.margin-circle>div{text-align:center}.margin-circle strong{display:block;font-family:Manrope;font-size:13px;line-height:1.2}.margin-circle span{font-size:7px;color:#c1d7ca}.hero-decoration{position:absolute;right:38px;top:27px;font-size:100px;color:#ffffff08;transform:rotate(18deg)}.break-even-card{background:#fff;border:1px solid #e7ece7;border-radius:10px;padding:14px 15px;display:flex;align-items:center;gap:11px;box-shadow:0 4px 13px #1b352108}.be-icon{width:30px;height:30px;border-radius:8px;background:#fff2e5;color:#db8b43;display:grid;place-items:center;font-size:17px}.be-copy{flex:1}.be-copy>span{font-size:8px;color:#6e7b74;font-weight:700;letter-spacing:.6px}.be-copy small{display:block;color:#9ba59f;font-size:8px;margin-top:4px}.info{border:1px solid #bec8c1;border-radius:50%;display:inline-grid;place-items:center;width:11px;height:11px;font-size:7px;color:#7e8b84;cursor:help}.break-even-card>strong{font-family:Manrope;font-size:13px;white-space:nowrap}.break-even-card strong small{color:#9aa49e;font-family:'DM Sans'}.metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.metric-card{border:1px solid #e7ece7;background:white;border-radius:10px;padding:13px 14px;min-height:91px;box-shadow:0 4px 13px #1b352108}.metric-label{font-size:8px;font-weight:700;letter-spacing:.55px;color:#78847d;display:flex;align-items:center;gap:6px}.metric-icon{font-size:13px;width:19px;height:19px;border-radius:6px;display:grid;place-items:center}.cost-icon{background:#fff2e7;color:#df914b}.profit-icon{background:#e7f4eb;color:#42956a}.metric-card>strong{display:block;font-family:Manrope;font-size:15px;letter-spacing:-.35px;margin:9px 0 3px}.metric-card>small{font-size:8px;color:#99a39d}.formula-card{border:1px solid #e7ece7;background:#fff;border-radius:10px;padding:14px 15px;box-shadow:0 4px 13px #1b352108}.formula-head{display:flex;align-items:center;gap:9px;padding-bottom:10px;border-bottom:1px solid #eff2ef}.formula-icon{width:26px;height:26px;border-radius:7px;background:#f0f5ec;color:#738b5c;display:grid;place-items:center;font-size:14px}.formula-head strong{display:block;font-size:10px}.formula-head small{display:block;color:#9aa49e;font-size:8px;margin-top:2px}.formula-line{display:flex;justify-content:space-between;align-items:center;padding-top:9px;color:#87928c;font-size:9px}.formula-line strong{color:#39473f;font-family:Manrope;font-size:10px}.formula-foot{border-top:1px dashed #e5ebe5;margin-top:10px;padding-top:9px;color:#8a968f;font-size:8px}.footer{display:flex;justify-content:space-between;align-items:center;color:#9aa49e;font-size:8px;padding:22px 2px 20px}.footer>span:first-child{display:flex;align-items:center;gap:7px}.footer-mark{width:18px;height:18px;border-radius:5px;font-size:9px;box-shadow:none}
@media(min-width:1440px){.main-content{padding-left:72px;padding-right:72px}.page-heading{padding-top:42px;padding-bottom:33px}.calculator-grid{gap:25px}.input-panel{padding:27px 29px 22px}.result-hero{min-height:214px;padding:24px 26px}}@media(max-width:1050px){.sidebar{width:205px}.main-content{padding:0 28px}.heading-art{right:0}.calculator-grid{grid-template-columns:minmax(360px,1fr) minmax(330px,.94fr);gap:15px}.input-panel{padding:20px}.break-even-card{padding:12px 11px}.break-even-card>strong{font-size:11px}}@media(max-width:800px){.sidebar{width:62px;padding:21px 9px}.brand{padding:0;justify-content:center}.brand>span:nth-child(2),.workspace-label,.nav-item:not(.active),.nav-item.active{font-size:0}.brand-mark{flex-shrink:0}.nav-item{justify-content:center;padding:0}.nav-icon{font-size:17px}.nav-item.active{font-size:0}.sidebar-bottom{justify-content:center;padding-left:0;padding-right:0}.sidebar-bottom>div:nth-child(2),.sidebar-bottom .more{display:none}.main-content{padding:0 22px}.calculator-grid{grid-template-columns:1fr 1fr}.heading-art{opacity:.55;right:-25px}}@media(max-width:650px){.sidebar{display:none}.main-content{padding:0 16px}.topbar{height:58px}.breadcrumbs{font-size:10px}.top-actions{gap:10px}.page-heading{padding:28px 0 21px}.heading-art{opacity:.25;right:-60px}.eyebrow{font-size:8px}h1{font-size:30px}.page-heading p{font-size:11px;max-width:290px;line-height:1.5}.calculator-grid{grid-template-columns:1fr;gap:14px}.input-panel{padding:19px 17px}.results-column{gap:10px}.result-hero{min-height:190px}.footer{align-items:flex-start;gap:10px;flex-direction:column;padding:17px 2px}.field-row{gap:10px}.break-even-card>strong{font-size:12px}}@media(max-width:370px){.field-row{grid-template-columns:1fr}.field-row .field{margin-top:12px}.heading-art{display:none}.break-even-card{gap:8px}.be-copy>span{font-size:7px}.break-even-card>strong{font-size:10px}}

/* Calculator milestone refinements */
.nav-item{cursor:default}.nav-item.planned{color:#8a9590}.sidebar-bottom .more{display:none}.extra-costs{margin-top:0}.extra-costs .field{margin-top:13px}.metrics-grid{grid-template-columns:1fr 1fr}.metric-card{min-width:0}.metric-card>strong{font-size:clamp(12px,1.25vw,15px);overflow-wrap:anywhere}.metric-label{font-size:7px;letter-spacing:.35px}.revenue-icon{background:#eaf2fb;color:#5b88b7}.result-hero.empty{background:#435b50}.status-pill.positive{background:#ffffff20;color:#e3f2e9}.status-pill.negative{background:#f4a39838;color:#ffe5df}.status-pill.neutral{background:#efc98340;color:#fff0c7}.estimate-note{display:flex;gap:7px;margin:0;padding:1px 3px 0;color:#84918a;font-size:8px;line-height:1.55}.estimate-note span{color:#7f9d89;font-size:11px;flex-shrink:0}.form-error{border:1px solid #f3d5cf}.reset-button{cursor:pointer}.reset-button:focus-visible{outline:2px solid #65a887;outline-offset:3px}.input-wrap input:focus-visible{outline:0}.input-wrap:focus-within{border-color:#65a887;box-shadow:0 0 0 3px #e7f3ec}.nav-item{user-select:none}
@media(max-width:1050px){.calculator-grid{grid-template-columns:minmax(320px,1fr) minmax(300px,.94fr)}.formula-card{padding:12px}.break-even-card>strong{font-size:10px}.be-copy small{font-size:7px}}
@media(max-width:800px){.calculator-grid{grid-template-columns:1fr}.results-column{grid-template-columns:1fr 1fr;align-items:start}.result-hero,.formula-card,.estimate-note{grid-column:span 2}.break-even-card,.metrics-grid{grid-column:span 1}.metrics-grid{grid-template-columns:1fr 1fr}.heading-art{opacity:.45}}
@media(max-width:650px){.results-column{display:grid;grid-template-columns:1fr}.result-hero,.formula-card,.estimate-note,.break-even-card,.metrics-grid{grid-column:auto}.metric-card>strong{font-size:14px}.extra-costs{grid-template-columns:1fr 1fr}.page-heading{padding-top:24px}.footer{line-height:1.6}}
@media(max-width:370px){.extra-costs{grid-template-columns:1fr}.extra-costs .field{margin-top:12px}}

/* Product catalogue and local inventory foundation */
[hidden]{display:none!important}.nav-item{width:100%;border:0;background:transparent;text-align:left;font:600 12px 'DM Sans',sans-serif}.nav-item.active{background:#eaf4ee}.nav-item:focus-visible,.primary-button:focus-visible,.secondary-button:focus-visible,.text-action:focus-visible{outline:2px solid #65a887;outline-offset:2px}.products-view{padding:34px 0 10px}.products-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.products-heading h1{font-size:34px;margin:12px 0 7px}.products-heading h1 span{color:var(--green)}.products-heading p{font-size:11px;color:#78837e;margin:0}.primary-button,.secondary-button{min-height:38px;border-radius:7px;padding:0 14px;font:700 10px 'DM Sans',sans-serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.primary-button{border:1px solid var(--green);color:#fff;background:var(--green);box-shadow:0 4px 10px #187c5a20}.primary-button:hover{background:var(--green-dark)}.primary-button span{font-size:16px}.secondary-button{border:1px solid #dce5de;background:#fff;color:#526159}.secondary-button:hover{background:#f5f8f5}.local-notice{display:flex;align-items:center;gap:11px;padding:12px 15px;background:#eef5ef;border:1px solid #dfece2;border-radius:9px;margin-bottom:12px}.notice-icon{width:28px;height:28px;border-radius:7px;background:#fff;color:var(--green);display:grid;place-items:center;font-size:13px}.local-notice strong,.local-notice small{display:block}.local-notice strong{font-size:10px;color:#3d5948}.local-notice small{font-size:9px;color:#77887d;margin-top:3px}.storage-message{margin:0 0 12px;padding:11px 13px;border-radius:8px;font-size:10px;line-height:1.5;background:#fff5e9;border:1px solid #f2dfc7;color:#815d2b}.product-toast{padding:10px 13px;margin-bottom:12px;border-radius:8px;background:#e9f5ed;border:1px solid #d2e9d9;color:#256743;font-size:10px;line-height:1.5}.product-toast.error-toast{background:#fff2ef;border-color:#f3d5cf;color:#a63e2d}.global-toast{margin-top:11px}.product-panel{overflow:hidden}.product-toolbar{padding:18px 19px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px}.product-toolbar h2{margin:0;color:#293832;font-family:Manrope,sans-serif;font-size:13px}.product-toolbar p{margin:4px 0 0;color:#8b9690;font-size:9px}.count-pill{font-family:'DM Sans',sans-serif;font-size:9px;color:#607b69;background:#edf4ee;border-radius:20px;padding:3px 7px;vertical-align:2px;margin-left:3px}.filters{display:flex;align-items:center;gap:8px}.search-box{height:34px;width:170px;border:1px solid #e1e8e2;border-radius:7px;display:flex;align-items:center;gap:7px;padding:0 9px;color:#86948b}.search-box span{font-size:17px}.search-box input{min-width:0;width:100%;border:0;outline:0;background:transparent;font:10px 'DM Sans',sans-serif;color:#34433b}.search-box:focus-within,.filter-wrap select:focus-visible{border-color:#65a887;box-shadow:0 0 0 3px #e7f3ec}.filter-wrap select{height:34px;max-width:145px;border:1px solid #e1e8e2;border-radius:7px;padding:0 25px 0 9px;background:white;color:#5d6a63;font:10px 'DM Sans',sans-serif;outline:none}.low-stock-filter{display:flex;align-items:center;gap:5px;color:#69766f;font-size:9px;white-space:nowrap}.low-stock-filter input{accent-color:var(--green)}.table-scroll{overflow-x:auto}.product-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.product-table thead{background:#fafbf9}.product-table th{height:37px;padding:0 13px;color:#8a968e;font-size:7px;font-weight:700;letter-spacing:.65px;border-top:1px solid #eff2ef;border-bottom:1px solid #eff2ef}.product-table th:first-child,.product-table td:first-child{padding-left:19px}.product-table td{height:59px;padding:8px 13px;border-bottom:1px solid #f0f2f0;color:#59665f;font-size:9px}.product-name-cell strong,.product-name-cell small,.stock-value strong,.stock-value small{display:block}.product-name-cell strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;color:#34443b;font-size:10px}.product-name-cell small,.stock-value small{margin-top:4px;color:#9aa49e;font-size:8px}.stock-value strong{color:#34443b;font-family:Manrope;font-size:11px}.stock-badge{display:inline-flex;align-items:center;border-radius:20px;padding:5px 7px;font-size:8px;font-weight:700}.stock-badge.healthy{color:#39815b;background:#edf6ef}.stock-badge.low{color:#a16629;background:#fff3e4}.product-actions{display:flex;align-items:center;gap:8px}.text-action{padding:4px 0;border:0;background:transparent;color:#6c7c72;font:600 8px 'DM Sans',sans-serif;cursor:pointer}.text-action:hover{color:var(--green);text-decoration:underline}.delete-action{color:#ae665b}.empty-state{text-align:center;padding:36px 18px 40px}.empty-icon{margin:0 auto 10px;width:40px;height:40px;border-radius:12px;background:#eef5ef;color:var(--green);display:grid;place-items:center;font-size:20px}.empty-state h3{font:700 13px Manrope,sans-serif;margin:0;color:#33443a}.empty-state p{font-size:9px;color:#89958e;margin:7px 0 14px}.empty-state .secondary-button{font-size:9px}.product-dialog{border:1px solid #e5ebe6;border-radius:13px;padding:22px;width:min(560px,calc(100vw - 28px));max-height:calc(100vh - 30px);overflow:auto;box-shadow:0 22px 70px #0d201b38;color:var(--ink)}.product-dialog::backdrop{background:#16292188;backdrop-filter:blur(2px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:19px}.dialog-header h2{font:800 19px Manrope,sans-serif;margin:6px 0 0;letter-spacing:-.5px}.dialog-close{width:29px;height:29px;border:1px solid #e5ebe6;background:#fff;border-radius:50%;color:#75817b;font-size:18px;cursor:pointer}.product-dialog .field-label{margin:13px 0 6px}.dialog-input,.dialog-number,.dialog-input-unit{height:38px;border:1px solid #e1e8e2;border-radius:7px;background:#fff;width:100%;font:10px 'DM Sans',sans-serif;color:#334139}.dialog-input{padding:0 10px;outline:none}.dialog-input:focus,.dialog-number:focus-within,.dialog-input-unit:focus-within{border-color:#65a887;box-shadow:0 0 0 3px #e7f3ec}.dialog-number,.dialog-input-unit{display:flex;align-items:center}.dialog-number>span{padding:0 0 0 10px;color:#87948c;font-size:9px;font-weight:700}.dialog-number input,.dialog-input-unit input{height:100%;width:100%;min-width:0;border:0;outline:0;background:transparent;padding:0 9px;font:600 10px 'DM Sans',sans-serif;color:#334139}.dialog-input-unit>span{padding:0 9px;color:#87948c;font-size:9px}.product-dialog .field-row{gap:12px}.product-dialog .field-row .field{margin-top:0}.product-dialog .field-row+.field-row{margin-top:10px}.product-dialog .field-hint{font-size:8px}.stock-preserved{padding:9px 10px;border-radius:6px;background:#f1f6f1;color:#5c7563;font-size:9px;line-height:1.5;margin-top:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:13px;border-top:1px solid #edf0ed}.dialog-actions .primary-button{min-width:104px}.product-dialog .form-error{margin-top:11px}
@media(max-width:800px){.nav-item:not(.active){font-size:0}.nav-item{justify-content:center;padding:0}.nav-item .nav-icon{font-size:17px}.products-view{padding-top:28px}.products-heading{align-items:flex-start}.filters{flex-wrap:wrap;justify-content:flex-end}.search-box{width:145px}.product-toolbar{align-items:flex-start}}
@media(max-width:650px){.products-view{padding-top:25px}.products-heading{gap:10px;align-items:flex-end}.products-heading h1{font-size:27px}.products-heading p{max-width:210px;line-height:1.5}.products-heading .primary-button{min-height:35px;padding:0 10px;font-size:9px}.product-toolbar{display:block;padding:15px}.filters{margin-top:12px;justify-content:flex-start}.search-box{flex:1;min-width:125px}.filter-wrap select{max-width:125px}.product-table th{padding:0 9px;font-size:7px}.product-table td{padding:7px 9px}.product-table th:first-child,.product-table td:first-child{padding-left:13px}.product-actions{gap:7px}.local-notice{align-items:flex-start}.local-notice small{line-height:1.5}.dialog-header h2{font-size:17px}}
@media(max-width:390px){.products-heading{align-items:flex-start;flex-direction:column}.filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.search-box{grid-column:span 2;width:100%}.filter-wrap select{width:100%;max-width:none}.low-stock-filter{min-height:32px}.product-dialog{padding:17px}.product-dialog .field-row{grid-template-columns:1fr;gap:0}.product-dialog .field-row+.field-row{margin-top:0}.product-dialog .field-row .field{margin-top:11px}}
.heading-buttons{display:flex;align-items:center;gap:8px}.heading-buttons .secondary-button span{font-size:14px}.movement-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.movement-filters select,.movement-filters input[type=date]{height:34px;max-width:145px;border:1px solid #e1e8e2;border-radius:7px;padding:0 8px;background:white;color:#5d6a63;font:9px 'DM Sans',sans-serif;outline:none}.movement-filters select:focus-visible,.movement-filters input:focus-visible{border-color:#65a887;box-shadow:0 0 0 3px #e7f3ec}.movement-filters .search-box{width:175px}.movement-date{min-width:112px}.movement-product{font-weight:700;color:#3d4d43!important}.movement-quantity{font-weight:700}.movement-quantity.in{color:#338157!important}.movement-quantity.out{color:#ac6659!important}.movement-new-stock{font-weight:700;color:#33453a!important}.movement-reason-cell{max-width:190px;overflow:hidden;text-overflow:ellipsis}.movement-action{color:#347857}.text-action:disabled{opacity:.45;cursor:not-allowed;text-decoration:none}.products-record-movement:disabled,.primary-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.movement-reason{height:auto;min-height:74px;padding:9px;resize:vertical}.movement-dialog .field-row{align-items:start}.movement-dialog select{appearance:auto}.movement-table td{height:55px}
@media(max-width:800px){.movement-toolbar{display:block}.movement-filters{margin-top:12px;justify-content:flex-start}.movement-filters .search-box{width:190px}}
@media(max-width:650px){.heading-buttons{gap:6px}.heading-buttons .primary-button,.heading-buttons .secondary-button{font-size:8px;padding:0 9px}.movement-filters{display:grid;grid-template-columns:1fr 1fr}.movement-filters .search-box{width:100%;grid-column:span 2}.movement-filters select,.movement-filters input[type=date]{width:100%;max-width:none}.movement-date{min-width:100px}.movement-reason-cell{max-width:140px}}
.sales-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.sales-summary .metric-card{padding:17px 19px}.sales-summary .metric-card strong{display:block;margin:9px 0 4px;font:800 20px Manrope,sans-serif;letter-spacing:-.5px}.sales-summary .metric-card small{color:#85908b;font-size:9px}.sale-context{margin-top:10px;padding:10px 12px;border-radius:8px;background:#f3f7f3;color:#58685f;font-size:10px;line-height:1.5}.sale-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.sale-preview div{display:grid;gap:5px}.sale-preview span{font-size:9px;color:#829087}.sale-preview strong{font:700 11px Manrope,sans-serif}.sale-preview div:last-child strong,.positive-value{color:var(--green)!important}.negative-value{color:#b75d4d!important}.sale-id-cell{max-width:150px;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:#78837e}.sales-table{min-width:980px}
@media(max-width:650px){.sales-summary{grid-template-columns:1fr;gap:8px}.sales-summary .metric-card{padding:13px 15px}.sales-summary .metric-card strong{font-size:18px}.sale-preview{grid-template-columns:1fr;gap:12px}.sale-preview div{grid-template-columns:1fr auto;align-items:center}}
.purchase-dialog{max-height:min(90vh,850px);overflow:auto}.purchase-lines-head{display:flex;justify-content:space-between;align-items:center;margin:19px 0 10px;font-size:11px}.purchase-lines{display:grid;gap:9px}.purchase-line{padding:11px;border:1px solid #e8ede9;border-radius:9px;background:#fbfcfa}.purchase-line-fields{display:grid;grid-template-columns:minmax(150px,1fr) 100px 125px auto;align-items:end;gap:8px}.purchase-line-fields .field-label{margin:0 0 6px;font-size:9px}.purchase-line-fields .dialog-input{width:100%;height:36px;padding:0 8px;border:1px solid #e1e8e2;border-radius:7px;background:white;color:var(--ink);font:10px 'DM Sans',sans-serif}.purchase-line-remove{padding:0 5px 8px;white-space:nowrap}.purchase-line-total{display:block;margin-top:8px;color:#718077;text-align:right;font-size:9px}.purchase-total-row{display:flex;align-items:center;justify-content:space-between;margin:13px 0;padding:13px;border-radius:8px;background:#eaf4ee;color:#40564a;font-size:11px}.purchase-total-row strong{font:800 15px Manrope,sans-serif;color:var(--green)}.purchase-products-cell{max-width:280px;overflow:hidden;text-overflow:ellipsis}.suppliers-view .product-table{min-width:760px}.purchase-table{min-width:850px}.nav-item{border:0;background:transparent;text-align:left;cursor:pointer;font-family:inherit}.nav-item:focus-visible{outline:2px solid #65a887;outline-offset:2px}.nav-item.active{border:0}
@media(max-width:650px){.purchase-line-fields{grid-template-columns:1fr 1fr;align-items:end}.purchase-line-fields>div:first-child{grid-column:span 2}.purchase-line-remove{justify-self:start}.purchases-view .products-heading,.suppliers-view .products-heading{align-items:flex-start}.purchase-dialog{width:min(96vw,520px)}}
.purchase-detail-meta{margin:0 0 14px;padding:11px;border-radius:8px;background:#f3f7f3;color:#58685f;font-size:10px;line-height:1.6}.purchase-detail-table{min-width:480px}.purchase-detail-table td{height:42px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,.92fr);gap:14px;align-items:start;margin:14px 0 18px}.checkout-catalog,.checkout-cart{padding:18px}.checkout-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:13px}.checkout-panel-heading h2{font:800 15px Manrope,sans-serif;margin:0 0 5px}.checkout-panel-heading p{margin:0;color:#87928c;font-size:9px}.checkout-search{width:100%;margin-bottom:12px}.checkout-products-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:440px;overflow:auto}.checkout-product{display:grid;gap:6px;align-content:start;min-height:90px;padding:12px;border:1px solid #e7ece8;border-radius:9px;background:#fff;text-align:left;color:var(--ink);cursor:pointer;font:inherit;transition:border-color .15s,background .15s}.checkout-product:hover:not(:disabled),.checkout-product:focus-visible{border-color:#9bc8ad;background:#f6faf6;outline:none}.checkout-product strong{font:700 11px Manrope,sans-serif}.checkout-product-details,.checkout-product-code{font-size:9px;color:#748179}.checkout-product:disabled{cursor:not-allowed;opacity:.5}.checkout-empty{padding:22px 10px;text-align:center;color:#88938d;font-size:10px}.checkout-cart-items{display:grid;gap:9px;max-height:345px;overflow:auto}.checkout-cart-line{padding:11px;border:1px solid #e8ede9;border-radius:9px;background:#fbfcfa}.checkout-cart-product{display:flex;justify-content:space-between;gap:9px;align-items:baseline}.checkout-cart-product strong{font-size:10px}.checkout-cart-product small{font-size:8px;color:#87928c}.checkout-line-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin-top:9px}.checkout-input-label{display:grid;gap:5px;color:#6f7d75;font-size:8px}.checkout-input-label input{height:32px;width:100%;min-width:0;border:1px solid #e0e7e1;border-radius:6px;padding:0 8px;font:10px 'DM Sans',sans-serif}.checkout-line-total{text-align:right;margin-top:7px;font-size:9px;color:#4f6658;font-weight:700}.checkout-totals{border-top:1px solid #e9eeea;margin-top:12px;padding-top:10px;display:grid;gap:8px}.checkout-totals>div,.change-row{display:flex;justify-content:space-between;color:#718077;font-size:10px}.checkout-totals strong,.change-row strong{color:#36463b}.checkout-totals .checkout-total{font-size:13px;color:#263b2e}.checkout-totals .checkout-total strong{font:800 17px Manrope,sans-serif;color:var(--green)}.checkout-payment{margin-top:15px;padding-top:14px;border-top:1px solid #e9eeea}.payment-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.payment-title strong{font:700 11px Manrope,sans-serif}.payment-status{padding:5px 8px;border-radius:15px;font-size:8px;font-weight:700;background:#f0f2f0;color:#728078}.payment-status.paid{background:#e7f3ec;color:#187c5a}.payment-status.invalid{background:#fff0eb;color:#b75142}.change-row{padding:9px 0}.checkout-complete{width:100%;justify-content:center;margin:4px 0 8px}.checkout-payment>small{display:block;color:#87928c;font-size:8px;line-height:1.5}.checkout-error{min-height:0}.receipt-dialog{border:1px solid #e1e8e2;border-radius:12px;padding:0;width:min(760px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;box-shadow:0 22px 70px #0d201b38}.receipt-dialog::backdrop{background:#16292188;backdrop-filter:blur(2px)}.receipt-preview-toolbar{position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:10px 14px;background:#f7f9f7;border-bottom:1px solid #e7ece8}.receipt-preview-toolbar label{margin-right:auto;font-size:9px;color:#617067}.receipt-preview-toolbar select{height:32px;border:1px solid #dfe7e1;border-radius:6px;background:white;padding:0 7px;font:9px 'DM Sans',sans-serif}.receipt-sheet{--receipt-width:180mm;width:var(--receipt-width);max-width:100%;margin:0 auto;padding:17mm 15mm;background:#fff;color:#202b24;font-family:'DM Sans',sans-serif;font-size:10pt}.receipt-paper-thermal{--receipt-width:72mm;padding:5mm 3mm;font-size:8pt;page:thermal}.receipt-paper-a4{page:a4}.receipt-header{text-align:center}.receipt-header h2{font:800 19pt Manrope,sans-serif;letter-spacing:-.4px;margin:0 0 4px}.receipt-header p{margin:0 0 11px;color:#5d6a63}.receipt-number{font-weight:700}.receipt-date{margin-top:4px;color:#637068;font-size:9pt}.receipt-rule{border-top:1px dashed #819087;margin:12px 0}.receipt-items{width:100%;border-collapse:collapse}.receipt-items th,.receipt-items td{padding:5px 3px;text-align:right;font-size:inherit}.receipt-items th:first-child,.receipt-items td:first-child{text-align:left}.receipt-items th{border-bottom:1px solid #cbd4cd;font-size:.82em;text-transform:uppercase;color:#65736a}.receipt-totals{display:grid;gap:6px;margin:0 0 10px}.receipt-totals div{display:flex;justify-content:space-between;gap:10px}.receipt-totals dt,.receipt-totals dd{margin:0}.receipt-grand-total{font-weight:800;font-size:1.15em;padding-top:7px;border-top:1px solid #bdc9bf}.receipt-payment-line{text-align:right}.receipt-footer{text-align:center;margin-top:22px;font-weight:600}.screen-only{display:flex}
@media(max-width:850px){.checkout-layout{grid-template-columns:1fr}.checkout-products-list{max-height:320px}}
@media(max-width:650px){.checkout-catalog,.checkout-cart{padding:13px}.checkout-products-list{grid-template-columns:1fr 1fr}.checkout-cart-product{align-items:flex-start;flex-direction:column;gap:3px}.checkout-line-fields{grid-template-columns:1fr 1fr}.checkout-line-fields .text-action{grid-column:2;justify-self:end}.receipt-preview-toolbar{flex-wrap:wrap}.receipt-preview-toolbar label{width:100%}}
@page a4{size:A4;margin:12mm}@page thermal{size:80mm 200mm;margin:3mm}
@media print{body *{visibility:hidden!important}#receipt-dialog[open],#receipt-dialog[open] *{visibility:visible!important}#receipt-dialog[open]{position:absolute;inset:0;margin:0;width:auto;max-width:none;max-height:none;overflow:visible;border:0;border-radius:0;padding:0;box-shadow:none;background:white}#receipt-dialog::backdrop{display:none}.screen-only{display:none!important}.receipt-sheet{width:180mm;max-width:none;margin:0;padding:0;box-shadow:none}.receipt-paper-thermal{width:72mm;padding:0;page:thermal}.receipt-paper-a4{page:a4}.receipt-items{break-inside:auto}.receipt-items tr{break-inside:avoid}}
.checkout-payments{display:grid;gap:9px;margin:10px 0}.checkout-payment-row{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.2fr auto;gap:7px;align-items:end;padding:10px;border:1px solid #e5ebe6;border-radius:8px;background:#fbfcfa}.checkout-payment-field{display:grid;gap:5px;min-width:0;color:#718077;font-size:8px}.checkout-payment-field input,.checkout-payment-field select{height:32px;min-width:0;width:100%;border:1px solid #e0e7e1;border-radius:6px;background:#fff;padding:0 7px;font:9px 'DM Sans',sans-serif;color:var(--ink)}.payment-confirm-label{display:flex;gap:5px;align-items:center;grid-column:2/5;color:#64736a;font-size:9px}.payment-confirm-label[hidden],.payment-provider-field[hidden]{display:none}.payment-confirm-label input{accent-color:var(--green)}.payment-progress{display:flex;justify-content:space-between;margin:9px 0;color:#718077;font-size:10px}.payment-progress strong{color:#36463b}.payment-disclaimer{margin:7px 0;color:#819087;font-size:8px;line-height:1.5}.sales-summary{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.sales-summary-filtered{grid-template-columns:repeat(3,minmax(145px,1fr))}.receipt-payments{display:grid;gap:3px;margin:4px 0}.receipt-payment-line{font-size:9pt;color:#45544b}
@media(max-width:650px){.checkout-payment-row{grid-template-columns:1fr 1fr}.checkout-payment-row .payment-confirm-label{grid-column:1/3}.sales-summary-filtered{grid-template-columns:1fr 1fr}}
.supplier-purchase-history{margin:14px 0;padding:12px;border:1px solid #e7ece8;border-radius:8px;background:#fbfcfa}.supplier-purchase-history h3{margin:0 0 8px;font:700 11px Manrope,sans-serif}.supplier-purchase-history>div{display:grid;gap:6px}.supplier-purchase-item{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border:1px solid #e5ebe6;border-radius:6px;background:#fff;padding:9px;text-align:left;color:var(--ink);cursor:pointer;font:9px 'DM Sans',sans-serif}.supplier-purchase-item:hover,.supplier-purchase-item:focus-visible{border-color:#9bc8ad;background:#f6faf6;outline:none}.supplier-purchase-item span,.supplier-history-empty{color:#718077}.purchase-payment-fields{margin:10px 0}.purchase-payment-preview{justify-content:center;gap:7px}.purchase-payment-preview strong{color:#35483b;font:700 12px Manrope,sans-serif}.purchase-status-paid{color:#187c5a!important}.purchase-status-partially-paid{color:#a76b19!important}.purchase-status-unpaid{color:#728078!important}.purchase-status-invalid-amount{color:#b75142!important}.purchase-detail-payment{padding:10px 0;color:#5f6f65;font-size:10px}.purchase-table td:nth-last-child(2){white-space:nowrap}
.expenses-summary{grid-template-columns:repeat(2,minmax(150px,1fr))}.expense-table td:nth-child(5){white-space:nowrap}.expense-detail-list{display:grid;gap:0;margin:12px 0}.expense-detail-list>div{display:grid;grid-template-columns:minmax(115px,.7fr) 1.3fr;gap:12px;padding:9px 0;border-bottom:1px solid #edf0ed;font-size:10px}.expense-detail-list dt{color:#748179}.expense-detail-list dd{margin:0;color:#33443a;overflow-wrap:anywhere}.expense-detail-list>div:nth-child(2) dd{font-weight:800;color:#ad554a}
@media(max-width:520px){.expenses-summary{grid-template-columns:1fr 1fr}.expense-detail-list>div{grid-template-columns:1fr;gap:3px}}
.dashboard-heading{align-items:flex-end;gap:24px}.dashboard-period-controls{display:grid;grid-template-columns:1fr;gap:6px;width:min(260px,100%);flex:none}.dashboard-period-controls>label{font-size:10px;font-weight:700;color:#536259}.dashboard-period-controls select,.dashboard-custom-dates input{width:100%;height:37px;border:1px solid #dfe7e1;border-radius:7px;background:#fff;padding:0 10px;color:var(--ink);font:11px 'DM Sans',sans-serif}.dashboard-period-label{margin:0;color:#77837c;font-size:10px;text-align:right}.dashboard-custom-dates{display:grid;grid-template-columns:1fr 1fr;gap:7px}.dashboard-notice{margin:0 0 14px}.dashboard-warning{margin:0 0 14px;padding:11px 14px;border:1px solid #efd7aa;border-radius:8px;background:#fff8e9;color:#79551b;font-size:11px;line-height:1.55}.dashboard-error{border-color:#f1c5bc;background:#fff2ef;color:#a63e2d}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.dashboard-metrics .metric-card{min-height:102px;padding:16px}.dashboard-metrics .metric-card strong{display:block;margin:8px 0 3px;font:800 19px Manrope,sans-serif;letter-spacing:-.4px;overflow-wrap:anywhere}.dashboard-metrics .metric-card small{font-size:9px;line-height:1.45;color:#7c8881}.dashboard-positive strong,.dashboard-net strong{color:var(--green)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.85fr);gap:14px;margin:14px 0 26px}.dashboard-panel{padding:19px 20px;min-width:0}.dashboard-chart-panel{grid-row:span 2}.dashboard-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dashboard-panel-heading h2{margin:0 0 5px;font:700 13px Manrope,sans-serif}.dashboard-panel-heading p{margin:0;color:#849088;font-size:9px}.dashboard-legend{display:flex;gap:12px;flex-wrap:wrap;color:#6e7a73;font-size:9px}.dashboard-legend span{display:flex;align-items:center;gap:5px}.dashboard-legend i{width:8px;height:8px;border-radius:50%;background:#187c5a}.dashboard-legend .legend-profit{background:#efa45f}.dashboard-chart-wrap{width:100%;overflow:hidden;margin-top:14px}.dashboard-chart{display:block;width:100%;height:auto;min-height:200px}.dashboard-grid-line{stroke:#e9eeea;stroke-width:1}.dashboard-axis-label{fill:#849088;font:10px 'DM Sans',sans-serif}.dashboard-sales-line,.dashboard-profit-line{fill:none;stroke:#187c5a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.dashboard-profit-line{stroke:#efa45f;stroke-width:2.5}.dashboard-chart-empty,.dashboard-muted-empty{padding:18px 0;color:#8a958e;font-size:10px;text-align:center}.dashboard-chart-empty{padding:0 0 10px}.dashboard-category-list,.dashboard-recent-list{display:grid;gap:12px;margin-top:16px}.dashboard-category-row>div:first-child,.dashboard-recent-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard-category-row>div:first-child{font-size:10px;color:#58665e}.dashboard-category-row strong,.dashboard-recent-row>b{font-size:10px;color:#35463b;white-space:nowrap}.dashboard-category-track{height:5px;margin-top:6px;border-radius:8px;background:#edf2ee;overflow:hidden}.dashboard-category-track span{display:block;height:100%;border-radius:8px;background:#66a985}.dashboard-recent-row{padding-bottom:9px;border-bottom:1px solid #edf0ed}.dashboard-recent-row>div{display:grid;gap:4px;min-width:0}.dashboard-recent-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#35463b}.dashboard-recent-row small{font-size:9px;color:#89948d}.dashboard-purchase-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.dashboard-purchase-stats>div{display:flex;justify-content:space-between;gap:8px;padding:10px;border:1px solid #edf0ed;border-radius:7px;font-size:9px;color:#76827b}.dashboard-purchase-stats strong{color:#39493f;font-size:11px}.dashboard-footnote{margin:0;color:#849088;font-size:9px;line-height:1.5}
@media(max-width:900px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(230px,.85fr)}}
@media(max-width:650px){.dashboard-heading{align-items:flex-start;flex-direction:column}.dashboard-period-controls{width:100%}.dashboard-period-label{text-align:left}.dashboard-grid{grid-template-columns:1fr}.dashboard-chart-panel{grid-row:auto}.dashboard-metrics .metric-card strong{font-size:16px}.dashboard-panel{padding:15px}.dashboard-chart-wrap{margin-top:8px}.dashboard-chart{min-height:155px}}
.reports-view{padding:34px 0 26px}.reports-heading{align-items:flex-end}.report-actions{display:flex;gap:8px}.report-controls{display:grid;grid-template-columns:1.05fr 1fr 1.25fr 1.2fr;gap:12px;align-items:end;padding:15px;margin:14px 0}.report-controls>label{display:grid;gap:6px;min-width:0;font-size:9px;color:#536259;font-weight:700}.report-controls .dialog-input{font-size:10px}.report-custom-range{display:grid;grid-template-columns:1fr 1fr;gap:7px;grid-column:span 2}.report-custom-range label{display:grid;gap:6px;font-size:9px;color:#536259;font-weight:700}.report-custom-range input{height:38px;min-width:0;width:100%;border:1px solid #e1e8e2;border-radius:7px;background:#fff;padding:0 9px;font:10px 'DM Sans',sans-serif;color:var(--ink)}.report-period-line{display:flex;justify-content:space-between;gap:12px;margin:9px 2px;color:#78847d;font-size:10px}.report-period-line strong{color:#405047}.report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:11px;margin:12px 0}.report-metric{padding:15px;min-height:82px}.report-metric strong{display:block;margin-top:9px;color:#304238;font:800 17px Manrope,sans-serif;overflow-wrap:anywhere}.reports-breakdowns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.report-breakdown-panel{padding:14px;min-width:0;overflow:hidden}.report-table-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:15px 17px}.report-breakdown-panel .report-table-heading{padding:0 0 11px}.report-table-heading h2{margin:0;color:#293832;font:700 12px Manrope,sans-serif}.report-table-heading p{margin:4px 0 0;color:#87928c;font-size:9px}.report-table th,.report-table td{padding-left:10px;padding-right:10px}.report-table td{height:auto;min-height:42px;max-width:340px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}.report-table td:nth-child(1){white-space:nowrap}.report-table-panel{overflow:hidden}.report-group-empty{margin:0;padding:14px 3px;color:#87928c;text-align:center;font-size:9px}.report-limit-note{margin:12px 0;color:#89948d;font-size:9px;line-height:1.55}.report-controls input:focus-visible,.report-controls select:focus-visible,.report-custom-range input:focus-visible{outline:2px solid #65a887;outline-offset:1px}.report-table-panel .empty-state{padding-top:24px;padding-bottom:28px}
@media(max-width:900px){.report-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.report-custom-range{grid-column:auto}.reports-breakdowns{grid-template-columns:1fr}}
@media(max-width:600px){.reports-view{padding-top:25px}.reports-heading{align-items:flex-start;flex-direction:column}.report-actions{width:100%}.report-actions button{flex:1}.report-controls{grid-template-columns:1fr}.report-custom-range{grid-column:auto}.report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.report-metric{padding:12px}.report-metric strong{font-size:14px}.report-table-heading{padding:13px}.report-table{min-width:720px}}
@media print{body.printing-report *{visibility:hidden!important}body.printing-report #reports-view,body.printing-report #reports-view *{visibility:visible!important}body.printing-report #reports-view{display:block!important;position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important}body.printing-report #reports-view .reports-notice,body.printing-report #reports-view .report-controls,body.printing-report #reports-view .report-actions{display:none!important}body.printing-report #reports-view .panel{box-shadow:none!important;break-inside:avoid;border-color:#cbd4cd!important}body.printing-report #reports-view .reports-breakdowns{grid-template-columns:1fr 1fr}body.printing-report #reports-view .report-table th,body.printing-report #reports-view .report-table td{font-size:8pt;padding:5px 6px}body.printing-report #reports-view .report-table td{max-width:none}body.printing-report #reports-view .report-summary{grid-template-columns:repeat(4,1fr)}body.printing-report #reports-view .report-metric{min-height:0;padding:9px}body.printing-report #reports-view .table-scroll{overflow:visible}body.printing-report #reports-view .report-empty{display:none!important}}
.sale-products-summary{white-space:pre-line;line-height:1.55;min-width:180px}.sale-detail-heading{margin-right:auto;font:700 11px Manrope,sans-serif;color:var(--ink)}.sale-detail-sheet{padding:16px}.sale-detail-sheet .product-table{min-width:680px}.sale-detail-note{margin:12px 0 0;color:#748179;font-size:10px;line-height:1.5}
.dashboard-cogs-open{margin-top:8px;padding:0;border:0;background:transparent;color:var(--green);font:700 10px "DM Sans",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.dashboard-cogs-open:disabled{color:#98a29c;cursor:not-allowed}.dashboard-cogs-dialog{width:min(1120px,calc(100vw - 28px));max-width:1120px}.dashboard-cogs-period{margin:0 0 10px;color:#657269;font-size:11px;line-height:1.5}.dashboard-cogs-message{margin:0 0 12px;padding:10px 12px;border-radius:7px;background:#f1f7f3;color:#385b46;font-size:10px;line-height:1.55}.dashboard-cogs-table{min-width:930px}.dashboard-cogs-table td{font-size:10px;vertical-align:top}.dashboard-cogs-table td:last-child{min-width:170px;line-height:1.45}
.settings-view{padding-bottom:30px}.data-management-panel{padding:22px;margin:16px 0 28px}.data-record-counts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:18px 0}.data-record-counts>div{display:grid;gap:6px;padding:12px;border:1px solid #e8ece9;border-radius:8px;color:#718077;font-size:10px}.data-record-counts strong{font:800 17px Manrope,sans-serif;color:#24382e}.reset-options{display:grid;gap:0;border-top:1px solid #e8ece9}.reset-options article{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 4px;border-bottom:1px solid #edf0ed}.reset-options h3{margin:0 0 5px;font:700 12px Manrope,sans-serif}.reset-options p{max-width:720px;margin:0;color:#78847d;font-size:10px;line-height:1.5}.reset-all-option{background:#fff9f7}.danger-button{min-height:36px;padding:0 13px;border:1px solid #d77d70;border-radius:7px;background:#fff1ee;color:#a53c2d;font:700 10px "DM Sans",sans-serif;cursor:pointer}.danger-button:disabled{opacity:.5;cursor:not-allowed}.settings-unavailable{color:#78847d;font-size:10px;white-space:nowrap}.reset-confirm-dialog{width:min(560px,calc(100vw - 24px))}.reset-dialog-warning{padding:12px;border:1px solid #efc6bf;border-radius:8px;background:#fff4f1;color:#8f382b;font-size:11px;line-height:1.55}.reset-backup-note{color:#657269;font-size:10px;line-height:1.55}.reset-confirm-check{display:flex;align-items:flex-start;gap:9px;margin:16px 0;font-size:10px;line-height:1.5}.reset-confirm-check input{margin:1px 0 0;accent-color:var(--green)}#reset-dialog-backup{width:100%;justify-content:center}#reset-backup-status{margin-top:7px;min-height:15px}
.cloud-setup-panel{padding:20px;margin:16px 0 22px}.cloud-setup-panel>.dashboard-panel-heading{align-items:flex-start}.cloud-setup-note{max-width:820px;margin:4px 0 13px;color:#66756b;font-size:10px;line-height:1.6}.cloud-auth-area{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.cloud-auth-form,.cloud-shop-form{display:grid;align-content:start;gap:8px;padding:14px;border:1px solid #e5ebe6;border-radius:9px;background:#fbfcfa}.cloud-auth-form h3,.cloud-shop-form h3{margin:0 0 3px;color:#293832;font:700 12px Manrope,sans-serif}.cloud-auth-form input,.cloud-shop-form input,.cloud-shop-form select{width:100%;min-height:40px;padding:8px 10px;border:1px solid #dfe7e1;border-radius:7px;background:#fff;color:#34453b;font:11px 'DM Sans',sans-serif}.cloud-auth-form button,.cloud-shop-form button{min-height:42px;margin-top:5px}.cloud-account-row{display:flex;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;border:1px solid #dce9df;border-radius:8px;background:#f5faf6}.cloud-account-row p{margin:0;color:#526257;font-size:10px;overflow-wrap:anywhere}.cloud-account-row strong{color:#2e4938}.cloud-shop-summary{margin-top:12px;padding:12px;border:1px solid #dce9df;border-radius:8px;background:#f5faf6;color:#46584c;font-size:10px;line-height:1.55}.cloud-shop-summary h3{margin:0 0 5px;font:700 12px Manrope,sans-serif;color:#293832}.cloud-shop-summary p{margin:5px 0 0}.cloud-setup-error{border-color:#efc6bf!important;background:#fff4f1!important;color:#8f382b!important}
@media(max-width:650px){.cloud-setup-panel{padding:13px}.cloud-auth-area{grid-template-columns:1fr;gap:9px}.cloud-auth-form,.cloud-shop-form{padding:12px}.cloud-account-row{align-items:flex-start;flex-direction:column}.cloud-account-row button{width:100%}}
@media(max-width:760px){.data-management-panel{padding:15px}.data-record-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.reset-options article{align-items:flex-start;flex-direction:column}.reset-options article>button{align-self:stretch}.settings-unavailable{white-space:normal}}
.settings-target{overflow-wrap:anywhere;margin:8px 0;color:#76827b;font-size:9px;line-height:1.5}
.import-preview-panel{margin:10px 0 20px;padding:16px;border:1px solid #e5ebe6;border-radius:9px;background:#fbfcfa}.import-preview-panel h3{margin:0 0 5px;color:#293832;font:700 12px Manrope,sans-serif}.import-preview-panel>p{max-width:760px;margin:0 0 12px;color:#718077;font-size:10px;line-height:1.55}.import-preview-file{display:block;width:min(100%,460px);margin-top:6px;padding:8px;border:1px solid #dfe7e1;border-radius:7px;background:#fff;color:#4c5b52;font:10px 'DM Sans',sans-serif}.import-preview-result{margin-top:14px;padding:13px;border:1px solid #cfe3d5;border-radius:8px;background:#f5faf6;color:#3f5949;font-size:10px;line-height:1.55}.import-preview-result h4{margin:0 0 5px;color:#285d3d;font:700 11px Manrope,sans-serif}.import-preview-result>p{margin:4px 0 10px}.import-preview-result ul{margin:7px 0;padding-left:20px;color:#9a4235}.import-preview-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0}.import-preview-counts>div{padding:8px;border:1px solid #e2ebe4;border-radius:6px;background:#fff;color:#6c7a70}.import-preview-counts strong{color:#304238}.import-preview-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin:10px 0}.import-preview-totals>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #e5ebe6}.import-preview-totals dt{color:#718077}.import-preview-totals dd{margin:0;text-align:right;color:#33443a;font-weight:700}.import-preview-result .import-preview-note{margin:10px 0 0;color:#718077;font-size:9px}
@media(max-width:520px){.import-preview-panel{padding:12px}.import-preview-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.import-preview-totals{grid-template-columns:1fr}}
/* Use the supplied square brand artwork in both compact brand marks. */
.brand-mark,.footer-mark{object-fit:contain;flex-shrink:0}
/* Mobile navigation: keep every view reachable with a clear, swipeable tap target. */
.mobile-view-nav{display:none}
@media(max-width:650px){
  .mobile-view-nav{display:flex;position:sticky;top:0;z-index:20;gap:6px;margin:0 -16px 12px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--line);overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .mobile-view-nav button{flex:0 0 auto;min-height:44px;padding:0 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#65716c;font:600 11px 'DM Sans',sans-serif;white-space:nowrap;cursor:pointer;touch-action:manipulation}
  .mobile-view-nav button.active{background:#eaf4ee;border-color:#d9eade;color:var(--green)}
  .mobile-view-nav button:focus-visible{outline:2px solid #65a887;outline-offset:1px}
}
