:root{--background-main:#08090d;--surface:#111217;--surface-elevated:#171920;--glass-overlay:hsla(0,0%,100%,.04);--accent-primary:#8cf15a;--positive:#8cf15a;--negative:#ff6464;--warning:#f8c95f;--text-primary:#fff;--text-secondary:hsla(0,0%,100%,.65);--text-muted:hsla(0,0%,100%,.45);--border-subtle:hsla(0,0%,100%,.08);--radius-card:24px;--radius-button:9999px;--radius-input:18px;--radius-modal:32px;--space-8:8px;--space-16:16px;--space-24:24px;--space-32:32px;--space-40:40px;--space-48:48px;--space-64:64px;--shadow-soft:0 24px 64px rgba(0,0,0,.34);--shadow-ambient:0 12px 32px rgba(0,0,0,.26);--shadow-green:0 16px 42px rgba(140,241,90,.16);--nav-width:264px;--bg-deep:var(--background-main);--bg-base:var(--background-main);--bg-surface:var(--surface);--bg-card:var(--glass-overlay);--bg-card-solid:var(--surface);--bg-glass:var(--glass-overlay);--border-medium:var(--border-subtle);--border-focus:var(--accent-primary);--text-faint:var(--text-muted);--primary-400:var(--accent-primary);--primary-500:var(--accent-primary);--primary-600:var(--accent-primary);--primary-50:rgba(140,241,90,.1);--success-400:var(--positive);--success-500:var(--positive);--success-600:var(--positive);--success-50:rgba(140,241,90,.1);--warning-400:var(--warning);--warning-500:var(--warning);--warning-50:rgba(248,201,95,.1);--danger-400:var(--negative);--danger-500:var(--negative);--danger-50:hsla(0,100%,70%,.1);--shadow-sm:var(--shadow-ambient);--shadow-md:var(--shadow-soft);--shadow-lg:var(--shadow-soft);--shadow-glow-primary:var(--shadow-green);--shadow-glow-success:var(--shadow-green);--shadow-glow-danger:0 16px 42px hsla(0,100%,70%,.14);--shadow-inset:inset 0 1px 0 hsla(0,0%,100%,.06)}*{box-sizing:border-box}html{color-scheme:dark}body,html{background:var(--background-main)}body{margin:0;min-width:320px;color:var(--text-primary);direction:rtl;font-family:var(--font-vazirmatn),Vazirmatn,system-ui,sans-serif;font-size:14px;line-height:24px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}main{min-height:100vh}code{color:var(--accent-primary)}.tabular{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.rtl-mirror{transform:scaleX(-1)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 50% -10%,rgba(140,241,90,.08),transparent 32%),linear-gradient(180deg,#111217,#08090d 48%,#08090d)}.app-layout{min-height:100vh;background:transparent}.app-content{min-width:0;padding-bottom:calc(104px + env(safe-area-inset-bottom))}.sidebar{display:none}@media (min-width:1024px){.app-layout{display:flex}.app-content{flex:1 1;margin-right:var(--nav-width);padding-bottom:0}.sidebar{position:fixed;inset:0 0 0 auto;z-index:30;display:flex;width:var(--nav-width);flex-direction:column;border-left:1px solid var(--border-subtle);background:rgba(17,18,23,.72);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}}.sidebar-logo{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-32) var(--space-24) var(--space-24)}.sidebar-logo-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:var(--radius-button);background:var(--accent-primary);color:var(--background-main);font-size:18px;font-weight:800;box-shadow:var(--shadow-green)}.sidebar-logo-text{color:var(--text-primary);font-size:20px;font-weight:800;line-height:32px}.sidebar-nav{display:grid;grid-gap:var(--space-8);gap:var(--space-8);padding:0 var(--space-16) var(--space-24)}.sidebar-section-label{display:none}.sidebar-link{display:flex;align-items:center;gap:var(--space-16);min-height:52px;padding:0 var(--space-16);border:1px solid transparent;border-radius:var(--radius-button);color:var(--text-muted);font-weight:600;transition:background-color .2s ease-out,border-color .2s ease-out,color .2s ease-out,transform .2s ease-out}.sidebar-link:hover{border-color:var(--border-subtle);background:var(--glass-overlay);color:var(--text-secondary);transform:translateX(-2px)}.sidebar-link-active{border-color:var(--border-subtle);background:var(--surface-elevated);color:var(--text-primary)}.sidebar-link-active svg{color:var(--accent-primary)}.sidebar-link-primary{background:var(--accent-primary);color:var(--background-main);box-shadow:var(--shadow-green)}.bottom-nav-wrapper{position:fixed;right:0;bottom:0;left:0;z-index:40;padding:0 12px calc(10px + env(safe-area-inset-bottom))}.bottom-nav{position:relative;display:grid;grid-template-columns:1fr 82px 1fr;align-items:center;width:min(100%,430px);height:72px;margin:0 auto;padding:0 8px;border:1px solid hsla(0,0%,100%,.1);border-radius:26px;background:rgba(23,25,32,.88);box-shadow:0 14px 40px rgba(0,0,0,.55),inset 0 1px 0 hsla(0,0%,100%,.08);backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%)}.bottom-nav-side{display:flex;align-items:center;justify-content:space-around;height:100%}@media (min-width:1024px){.bottom-nav,.bottom-nav-fab,.bottom-nav-wrapper{display:none}}@media (max-width:360px){.bottom-nav{grid-template-columns:1fr 72px 1fr}.bottom-nav-item{width:50px}.bottom-nav-fab{width:64px;height:66px}}.bottom-nav-item{display:flex;align-items:center;justify-content:center;position:relative;width:58px;height:56px;border-radius:18px;color:var(--text-muted);cursor:pointer;text-decoration:none;flex-direction:column;gap:2px;transition:background-color .2s ease-out,color .2s ease-out,transform .18s ease-out}.bottom-nav-icon{display:grid;place-items:center;height:24px}.bottom-nav-label{display:block;font-size:10px;font-weight:700;line-height:16px}.bottom-nav-item:hover{color:var(--text-secondary);background:hsla(0,0%,100%,.06)}.bottom-nav-item:active{transform:scale(.9)}.bottom-nav-item-active{background:rgba(140,241,90,.1)}.bottom-nav-item-active,.bottom-nav-item-active svg{color:var(--accent-primary)}.bottom-nav-item-active:after{content:"";position:absolute;right:50%;bottom:3px;width:18px;height:3px;border-radius:99px;background:var(--accent-primary);box-shadow:0 0 10px rgba(140,241,90,.55);transform:translateX(50%)}.bottom-nav-fab{position:relative;display:grid;justify-items:center;align-content:center;grid-gap:2px;gap:2px;width:70px;height:70px;margin:-22px auto 0;border-radius:22px;border:none;background:var(--accent-primary);color:var(--background-main);text-decoration:none;cursor:pointer;z-index:5;box-shadow:0 4px 20px rgba(140,241,90,.35),0 2px 8px rgba(140,241,90,.2),inset 0 1px 0 hsla(0,0%,100%,.15);transition:transform .18s ease-out,box-shadow .2s ease-out}.bottom-nav-fab:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 6px 28px rgba(140,241,90,.5),0 2px 12px rgba(140,241,90,.3),inset 0 1px 0 hsla(0,0%,100%,.15)}.bottom-nav-fab:active{transform:translateY(0) scale(.96)}.bottom-nav-fab-icon{display:grid;place-items:center}.bottom-nav-fab-label{font-size:10px;font-weight:800;line-height:16px}.page-shell{width:100%;max-width:1184px;margin:0 auto;padding:var(--space-24) var(--space-16)}.page-stack,.stack{display:grid;grid-gap:var(--space-24);gap:var(--space-24)}.page-header,.page-top-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-16)}.page-header{flex-direction:column}.page-title,.title{margin:0;color:var(--text-primary);font-size:clamp(24px,4vw,40px);font-weight:800;line-height:1.25}.page-subtitle{margin:var(--space-8) 0 0;color:var(--text-secondary);font-size:14px;line-height:24px}.page-top-bar{align-items:center;padding-top:var(--space-8)}.page-top-bar-back{display:grid;width:48px;height:48px;place-items:center;border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--surface);color:var(--text-secondary);transition:background-color .2s ease-out,color .2s ease-out,transform .2s ease-out}.page-top-bar-back:hover{background:var(--surface-elevated);color:var(--accent-primary);transform:translateX(2px)}.page-top-bar-title{margin:0;color:var(--text-primary);font-size:18px;font-weight:800;line-height:32px}.page-top-bar-spacer{width:48px;height:48px}.feature-item,.kpi-card,.product-row,.surface-card,.surface-panel,.widget-card{border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:var(--surface-elevated);box-shadow:var(--shadow-ambient),inset 0 1px 0 hsla(0,0%,100%,.05)}.surface-card,.surface-panel{padding:var(--space-24)}.kpi-card,.product-row,.surface-panel,.widget-card{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.balance-hero,.dashboard-greeting{display:grid;grid-gap:var(--space-16);gap:var(--space-16);overflow:hidden;padding:var(--space-24);border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:var(--surface-elevated);box-shadow:var(--shadow-ambient),inset 0 1px 0 hsla(0,0%,100%,.05)}.dashboard-greeting{gap:var(--space-24)}.dashboard-greeting-copy{display:grid;grid-gap:var(--space-8);gap:var(--space-8)}.dashboard-greeting-badge{color:var(--accent-primary);font-size:12px;font-weight:800;line-height:16px}.balance-hero-value,.dashboard-greeting h1{margin:0;color:var(--text-primary);font-size:clamp(22px,4.6vw,34px);font-weight:900;line-height:1.25}.balance-hero-label,.dashboard-chart-subtitle,.dashboard-greeting p,.muted{margin:0;color:var(--text-secondary)}.dashboard-greeting-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-greeting-metric,.dashboard-greeting-metrics{display:grid;grid-gap:var(--space-8);gap:var(--space-8)}.dashboard-greeting-metric{padding:var(--space-16);border:1px solid var(--border-subtle);border-radius:var(--radius-input);background:hsla(0,0%,100%,.03)}.dashboard-greeting-metric span{color:var(--text-muted);font-size:12px;line-height:16px}.dashboard-greeting-metric strong{color:var(--text-primary);font-size:18px;line-height:24px}.balance-hero{text-align:right}.balance-hero-actions{display:flex;flex-wrap:wrap;gap:var(--space-8)}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-card,.kpi-grid{display:grid;grid-gap:var(--space-16);gap:var(--space-16)}.kpi-card{min-height:132px;padding:var(--space-24)}.kpi-card:hover,.product-picker-card:hover,.product-row:hover{transform:translateY(-2px)}.empty-state-icon,.kpi-icon,.product-figure,.product-picker-thumb,.transaction-icon,.widget-list-icon{display:grid;place-items:center;flex-shrink:0;border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--glass-overlay);color:var(--accent-primary)}.kpi-icon{width:48px;height:48px}.kpi-icon-success,.transaction-credit{color:var(--positive)}.kpi-icon-warning{color:var(--warning)}.kpi-icon-danger,.transaction-debit{color:var(--negative)}.kpi-label{color:var(--text-secondary);font-size:13px;line-height:24px}.kpi-value{margin:0;color:var(--text-primary);font-size:clamp(22px,4.2vw,32px);font-weight:900;line-height:1.25}.widget-section{display:grid;grid-gap:var(--space-16);gap:var(--space-16)}.widget-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16)}.section-title,.widget-title{display:flex;align-items:center;gap:var(--space-8);margin:0;color:var(--text-primary);font-size:18px;font-weight:800;line-height:32px}.section-title svg,.widget-title svg{color:var(--text-muted)}.section-title+*{margin-top:var(--space-16)}.widget-link{color:var(--accent-primary);font-size:13px;font-weight:700}.widget-card{overflow:hidden}.dashboard-chart-card{display:grid;grid-gap:var(--space-16);gap:var(--space-16);padding:var(--space-24)}.dashboard-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-16)}.dashboard-chart-subtitle{margin-top:var(--space-8);font-size:12px;line-height:16px}.dashboard-chart-total{color:var(--accent-primary);font-size:18px;font-weight:900;line-height:24px}.chart-container{width:100%;overflow:hidden}.chart-container svg{display:block;width:100%;height:auto}.receipt-dropzone{display:grid;min-height:192px;margin-top:var(--space-16);padding:var(--space-16);border:1px dashed var(--border-subtle);border-radius:var(--radius-card);background:var(--glass-overlay);cursor:pointer;place-items:center}.receipt-preview{width:100%;max-width:320px;overflow:hidden;border:1px solid var(--border-subtle);border-radius:20px}.receipt-preview img{display:block;width:100%;height:auto}.receipt-empty{display:grid;justify-items:center;color:var(--text-secondary);text-align:center}.dashboard-chart-axis,.receipt-empty{grid-gap:var(--space-8);gap:var(--space-8)}.dashboard-chart-axis-monthly{grid-template-columns:repeat(12,minmax(0,1fr))}.dashboard-chart-axis-item{display:grid;justify-items:center;grid-gap:var(--space-8);gap:var(--space-8)}.dashboard-chart-axis-item span{color:var(--text-muted);font-size:12px;line-height:16px}.dashboard-chart-axis-item strong{color:var(--text-primary);font-size:11px;line-height:16px}.transaction-row,.widget-list-item{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-16);border-bottom:1px solid var(--border-subtle)}.transaction-row:last-child,.widget-list-item:last-child{border-bottom:0}.transaction-icon,.widget-list-icon{width:44px;height:44px}.transaction-info,.widget-list-text{min-width:0;flex:1 1}.product-head h2,.product-picker-info h3,.transaction-info h3,.widget-list-text h3{margin:0;overflow:hidden;color:var(--text-primary);font-size:15px;font-weight:800;line-height:24px;text-overflow:ellipsis;white-space:nowrap}.product-head p,.product-picker-info p,.transaction-info p,.widget-list-text p{margin:0;color:var(--text-muted);font-size:12px;line-height:24px}.transaction-amount,.widget-list-value{flex-shrink:0;color:var(--text-primary);font-size:14px;font-weight:800}.text-positive{color:var(--positive)!important}.text-negative{color:var(--negative)!important}.text-warning{color:var(--warning)!important}.summary-total-value{color:var(--accent-primary)!important;font-size:20px;font-weight:900}.row-chevron{color:var(--text-muted)}.with-top-space{margin-top:var(--space-16)}.with-large-top-space{margin-top:var(--space-24)}.form-actions-centered{justify-content:center}.empty-inline{padding:var(--space-24) 0;color:var(--text-muted);text-align:center}.import-panel,.toolbar{display:grid;grid-gap:var(--space-16);gap:var(--space-16)}.import-panel-copy{display:grid;grid-gap:var(--space-8);gap:var(--space-8)}.import-panel-actions{display:flex;flex-wrap:wrap;gap:var(--space-8)}.import-panel-actions>.button{flex:1 1 152px}.checkout-discount-input-wrap,.field-input,.field-select,.search-field,textarea.field-input{border:1px solid var(--border-subtle);border-radius:var(--radius-input);background:var(--surface);color:var(--text-primary);outline:none;transition:border-color .2s ease-out,background-color .2s ease-out,box-shadow .2s ease-out}.search-field{display:flex;align-items:center;gap:var(--space-16);min-height:56px;padding:0 var(--space-16);color:var(--text-muted)}.field-input:focus,.field-select:focus,.search-field:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 4px rgba(140,241,90,.1)}.form-actions>.button,.form-actions>a.button{flex:1 1 160px}.checkout-discount-input,.search-input{min-width:0;flex:1 1;border:0;background:transparent;color:var(--text-primary);outline:none}.checkout-discount-input::placeholder,.field-input::placeholder,.search-input::placeholder{color:var(--text-muted)}.summary-pills{display:flex;flex-wrap:wrap;gap:var(--space-8)}.badge,.pill{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-8);min-height:32px;padding:0 var(--space-16);border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--glass-overlay);color:var(--text-secondary);font-size:12px;font-weight:700;line-height:24px;white-space:nowrap}.badge{min-height:28px;padding:0 var(--space-8);font-size:11px}.badge-success,.pill-success{color:var(--positive)}.badge-warning,.pill-warning{color:var(--warning)}.badge-danger,.pill-danger{color:var(--negative)}.badge-primary,.pill-primary{color:var(--accent-primary)}.badge-neutral{color:var(--text-muted)}.feature-grid,.field-grid,.list-stack,.loading-stack,.product-picker{display:grid;grid-gap:var(--space-16);gap:var(--space-16)}.product-row{display:grid;grid-template-columns:64px minmax(0,1fr);grid-gap:var(--space-16);gap:var(--space-16);padding:var(--space-16);transition:transform .2s ease-out,border-color .2s ease-out,background-color .2s ease-out}.product-figure{width:64px;height:64px;overflow:hidden;font-size:20px;font-weight:900}.product-figure img{display:block;width:100%;height:100%;object-fit:cover}.product-main{display:grid;grid-gap:var(--space-16);gap:var(--space-16);min-width:0}.product-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-16)}.product-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:var(--space-16);gap:var(--space-16)}.product-metrics div{display:grid;grid-gap:var(--space-8);gap:var(--space-8)}.product-metrics span{color:var(--text-muted);font-size:12px;line-height:16px}.product-metrics strong{color:var(--text-primary);font-size:14px;line-height:24px}.form-actions,.inline-actions,.product-actions{display:flex;flex-wrap:wrap;gap:var(--space-8);align-items:center}.product-actions{grid-column:1/-1}.field{display:grid;grid-gap:var(--space-8);gap:var(--space-8)}.field-label{color:var(--text-secondary);font-size:13px;font-weight:700;line-height:24px}.field-input,.field-select{width:100%;min-height:56px;padding:0 var(--space-16)}textarea.field-input{min-height:112px;padding-top:var(--space-16);padding-bottom:var(--space-16);resize:vertical}.field-error,.fineprint{margin:0;color:var(--text-muted);font-size:12px;line-height:24px}.field-error{color:var(--negative)}.form-actions{justify-content:flex-start;margin-top:var(--space-16)}.form-summary,.order-summary{display:grid;grid-gap:var(--space-8);gap:var(--space-8);padding:var(--space-16);border:1px solid var(--border-subtle);border-radius:var(--radius-input);background:var(--glass-overlay);color:var(--text-secondary)}.order-summary-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);color:var(--text-secondary);font-size:14px;line-height:24px}.form-summary strong,.order-summary-row span:last-child{color:var(--text-primary);font-weight:800;text-align:left}.order-summary-row:last-child{margin-top:var(--space-8);padding-top:var(--space-16);border-top:1px solid var(--border-subtle)}.button,.checkout-checkout-btn,.checkout-discount-btn,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-8);min-height:52px;padding:0 var(--space-24);border:1px solid transparent;border-radius:var(--radius-button);font:inherit;font-weight:800;cursor:pointer;transition:background-color .2s ease-out,border-color .2s ease-out,color .2s ease-out,transform .2s ease-out,box-shadow .2s ease-out,opacity .2s ease-out}.button-primary,.button-success,.checkout-checkout-btn,.checkout-discount-btn{background:var(--accent-primary);color:var(--background-main);box-shadow:var(--shadow-green)}.button-primary:hover,.button-success:hover,.checkout-checkout-btn:hover,.checkout-discount-btn:hover{transform:translateY(-2px)}.button-secondary{border-color:var(--border-subtle);background:var(--surface);color:var(--text-primary)}.button-secondary:hover,.icon-button:hover{background:var(--surface-elevated);color:var(--accent-primary)}.button-danger{background:var(--negative);color:var(--background-main);box-shadow:var(--shadow-glow-danger)}.button:disabled,.checkout-checkout-btn:disabled,.checkout-discount-btn:disabled,.icon-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.button-sm{min-height:40px;padding:0 var(--space-16);font-size:12px}.icon-button{width:52px;padding:0;border-color:var(--border-subtle);background:var(--surface);color:var(--text-secondary)}.icon-button-danger{color:var(--negative)}.bottom-nav-fab:focus-visible,.bottom-nav-item:focus-visible,.button:focus-visible,.field-input:focus-visible,.field-select:focus-visible,.icon-button:focus-visible,.page-top-bar-back:focus-visible,.search-input:focus-visible,.tab:focus-visible{outline:2px solid var(--accent-primary);outline-offset:4px}.notice{margin:0;padding:var(--space-16);border:1px solid var(--border-subtle);border-radius:var(--radius-input);background:var(--glass-overlay);color:var(--text-secondary);font-size:13px;line-height:24px}.notice-info{color:var(--accent-primary)}.notice-danger{color:var(--negative)}.notice-success{color:var(--positive)}.empty-state{display:grid;justify-items:center;grid-gap:var(--space-16);gap:var(--space-16);padding:var(--space-48) var(--space-24);border:1px dashed var(--border-subtle);border-radius:var(--radius-card);background:var(--surface-elevated);text-align:center}.checkout-empty-icon,.empty-state-icon{width:72px;height:72px}.checkout-empty h2,.empty-state h2{margin:0;color:var(--text-primary);font-size:20px;font-weight:800;line-height:32px}.checkout-empty p,.empty-state p{margin:0;max-width:320px;color:var(--text-secondary)}.skeleton{border-radius:var(--radius-card);background:linear-gradient(90deg,hsla(0,0%,100%,.04),hsla(0,0%,100%,.08),hsla(0,0%,100%,.04));background-size:200% 100%}.card-skeleton{height:160px}.skeleton-title{width:48%;height:40px}.skeleton-input{height:56px;border-radius:var(--radius-input)}.skeleton-kpi{height:144px}.modal-overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:var(--space-24);background:rgba(8,9,13,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.modal-panel{width:min(100%,480px);max-height:calc(100dvh - 48px);overflow:auto;padding:var(--space-32);border:1px solid var(--border-subtle);border-radius:var(--radius-modal);background:var(--surface-elevated);box-shadow:var(--shadow-soft)}.modal-panel h2{margin:0 0 var(--space-8);color:var(--text-primary);font-size:22px;font-weight:900;line-height:32px}.modal-panel p{margin:0 0 var(--space-16);color:var(--text-secondary)}.dot-loader{display:inline-flex;align-items:center;gap:var(--space-8)}.dot-loader span{width:6px;height:6px;border-radius:var(--radius-button);background:currentColor;opacity:.72}.tabs{display:flex;gap:var(--space-8);padding:var(--space-8);border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--surface)}.tab{flex:1 1;min-height:44px;border:0;border-radius:var(--radius-button);background:transparent;color:var(--text-muted);font:inherit;font-size:13px;font-weight:800;cursor:pointer}.tab-active{background:var(--accent-primary);color:var(--background-main)}.timeline{display:grid;grid-gap:var(--space-16);gap:var(--space-16)}.timeline-item{display:flex;gap:var(--space-16);position:relative}.timeline-item:not(:last-child):before{content:"";position:absolute;top:40px;right:19px;bottom:-16px;width:1px;background:var(--border-subtle)}.timeline-dot{display:grid;width:40px;height:40px;place-items:center;flex-shrink:0;border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--surface);color:var(--text-muted);z-index:1}.timeline-dot-done{background:rgba(140,241,90,.1);color:var(--positive)}.timeline-dot-current{background:var(--accent-primary);color:var(--background-main)}.timeline-content{min-width:0;padding-top:var(--space-8)}.timeline-content h3{margin:0;color:var(--text-primary);font-size:15px;font-weight:800}.timeline-content p{margin:0;color:var(--text-muted);font-size:12px}.stepper{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;grid-gap:var(--space-8);gap:var(--space-8)}.stepper-fragment{display:contents}.stepper-step{display:flex;align-items:center;gap:var(--space-8);min-height:48px;padding:0 var(--space-8);border-radius:var(--radius-button);color:var(--text-muted);font-size:12px;font-weight:800;cursor:default}.stepper-step-active,.stepper-step-done{color:var(--text-primary);cursor:pointer}.stepper-step-active:hover,.stepper-step-done:hover{background:hsla(0,0%,100%,.04)}.stepper-number{display:grid;width:40px;height:40px;place-items:center;border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--surface);color:var(--text-secondary)}.stepper-step-active .stepper-number,.stepper-step-done .stepper-number{border-color:transparent;background:var(--accent-primary);color:var(--background-main)}.stepper-line{height:1px;background:var(--border-subtle)}.stepper-line-done{background:var(--accent-primary)}.product-picker-card{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-16);border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:var(--surface);cursor:pointer;transition:background-color .2s ease-out,border-color .2s ease-out,transform .2s ease-out,box-shadow .2s ease-out}.product-picker-card:focus-visible{outline:2px solid var(--accent-primary);outline-offset:3px}.product-picker-card-selected{border-color:rgba(140,241,90,.48);background:rgba(140,241,90,.08);box-shadow:var(--shadow-green)}.product-picker-card-selected .product-picker-thumb{border-color:transparent;background:var(--accent-primary);color:var(--background-main)}.selection-check{flex-shrink:0;color:var(--accent-primary)}.product-picker-thumb{width:48px;height:48px;font-weight:900}.product-picker-info{flex:1 1;min-width:0}.customer-match{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);flex-wrap:wrap}.customer-match-copy{display:grid;grid-gap:0;gap:0;min-width:0}.customer-match-copy strong{color:var(--text-primary);font-size:14px;font-weight:800;line-height:24px}.customer-match-copy span{color:var(--text-muted);font-size:12px;line-height:16px}.product-picker-qty{display:flex;align-items:center;gap:var(--space-8)}.checkout-qty-btn,.qty-btn{display:grid;width:40px;height:40px;place-items:center;border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--surface-elevated);color:var(--text-primary);cursor:pointer}.checkout-qty-btn:hover,.qty-btn:hover{color:var(--background-main);background:var(--accent-primary)}.checkout-qty-value,.qty-value{min-width:24px;color:var(--text-primary);text-align:center;font-weight:800}.checkout-page{display:flex;min-height:100dvh;flex-direction:column;background:var(--background-main)}.checkout-header{position:-webkit-sticky;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:var(--space-16);border-bottom:1px solid var(--border-subtle);background:rgba(8,9,13,.76);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.checkout-back-btn{display:grid;width:48px;height:48px;place-items:center;border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--surface);color:var(--text-secondary)}.checkout-title{margin:0;color:var(--text-primary);font-size:20px;font-weight:900}.checkout-items{display:grid;grid-gap:var(--space-16)}.checkout-item,.checkout-items{gap:var(--space-16);padding:var(--space-16)}.checkout-item{display:flex;align-items:center;border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:var(--surface-elevated);box-shadow:var(--shadow-ambient)}.checkout-item-thumb{display:grid;width:56px;height:56px;place-items:center;flex-shrink:0;border-radius:var(--radius-button);background:var(--glass-overlay);color:var(--accent-primary);font-weight:900}.checkout-item-info{min-width:0;flex:1 1}.checkout-item-info h3{margin:0;color:var(--text-primary);font-size:15px;font-weight:800}.checkout-item-price{margin:0;color:var(--accent-primary);font-weight:800}.checkout-item-controls{display:grid;justify-items:center;grid-gap:var(--space-8);gap:var(--space-8)}.checkout-empty{display:grid;justify-items:center;grid-gap:var(--space-16);gap:var(--space-16);padding:var(--space-48) var(--space-24);text-align:center}.checkout-discount{display:flex;gap:var(--space-8);padding:0 var(--space-16) var(--space-16)}.checkout-discount-input-wrap{display:flex;min-width:0;flex:1 1;align-items:center;gap:var(--space-8);min-height:56px;padding:0 var(--space-16)}.checkout-discount-btn-applied{background:var(--positive);color:var(--background-main)}.checkout-summary{display:grid;grid-gap:var(--space-8);gap:var(--space-8);margin:0 var(--space-16);padding:var(--space-16);border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:var(--surface-elevated)}.checkout-summary-row,.checkout-summary-total{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);color:var(--text-secondary)}.checkout-summary-discount span:last-child{color:var(--positive)}.checkout-summary-total{margin-top:var(--space-8);padding-top:var(--space-16);border-top:1px solid var(--border-subtle)}.checkout-total-value{color:var(--accent-primary);font-size:24px;font-weight:900}.checkout-cta{margin-top:auto;padding:var(--space-16)}.checkout-checkout-btn{width:100%;min-height:64px}.switch{position:relative;width:56px;height:32px;flex-shrink:0;border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--surface)}.switch-on{border-color:transparent;background:var(--accent-primary)}.switch-thumb{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:var(--radius-button);background:var(--background-main);box-shadow:var(--shadow-ambient)}.toast-container{position:fixed;right:50%;bottom:104px;z-index:70;display:grid;width:min(calc(100% - 32px),420px);grid-gap:var(--space-8);gap:var(--space-8);transform:translateX(50%);pointer-events:none}.toast{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-16);border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:rgba(23,25,32,.92);color:var(--text-primary);box-shadow:var(--shadow-soft);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);pointer-events:auto;animation:toast-in .2s ease-out}.toast-success{color:var(--positive)}.toast-danger{color:var(--negative)}.toast-info{color:var(--text-primary)}.dashboard-page,.orders-page{width:100%;min-height:100vh;min-height:100dvh;background:#f5f7fb;color:#172033}.app-content:has(.dashboard-page),.app-content:has(.orders-page){min-height:100vh;background:#f5f7fb}.dashboard-shell,.orders-shell{display:grid;width:min(100%,1184px);margin:0 auto;padding:20px 16px 132px;grid-gap:18px;gap:18px}.dashboard-header,.orders-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px}.dashboard-header-copy,.orders-header-copy{display:grid;grid-gap:8px;gap:8px;min-width:0}.dashboard-header h1,.orders-header h1{margin:0;color:#121826;font-size:28px;font-weight:850;line-height:1.35}.dashboard-header p,.orders-header p{margin:0;color:#667085;font-size:14px;line-height:24px}.dashboard-header-actions,.orders-header-actions{display:flex;flex-wrap:wrap;gap:10px}.dashboard-button,.orders-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border:1px solid transparent;border-radius:12px;font:inherit;font-weight:800;line-height:20px;cursor:pointer;transition:background-color .16s ease-out,border-color .16s ease-out,color .16s ease-out,transform .16s ease-out,box-shadow .16s ease-out,opacity .16s ease-out}.dashboard-button-primary,.orders-button-primary{background:#176b45;color:#fff;box-shadow:0 10px 22px rgba(23,107,69,.18)}.dashboard-button-secondary,.orders-button-secondary{border-color:#d9dee8;background:#fff;color:#344054}.dashboard-button:hover,.orders-button:hover{transform:translateY(-1px)}.dashboard-button-primary:hover,.orders-button-primary:hover{background:#115939}.dashboard-button-secondary:hover,.orders-button-secondary:hover{border-color:#b9c2d0;background:#f9fafb}.dashboard-button:disabled,.orders-button:disabled{opacity:.48;cursor:not-allowed;transform:none}.dashboard-summary-grid,.orders-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.dashboard-mini-card,.dashboard-summary-card,.orders-summary-card{display:grid;min-width:0;grid-gap:6px;gap:6px;padding:14px;border:1px solid #e3e8ef;border-radius:14px;background:#fff}.orders-summary-warning{border-color:#f8d6ad;background:#fffdf7}.orders-summary-success{border-color:#d6eadf;background:#f9fffb}.orders-summary-primary{border-color:#d8e4ff;background:#f8fbff}.dashboard-mini-card span,.dashboard-summary-label,.orders-summary-label{color:#667085;font-size:12px;font-weight:700;line-height:18px}.dashboard-summary-value,.orders-summary-value{color:#121826;font-size:23px;font-weight:850;line-height:1.25}.dashboard-mini-card p,.dashboard-summary-card p,.orders-summary-card p{margin:0;color:#667085;font-size:12px;line-height:18px}.dashboard-mini-card strong{color:#121826;font-size:18px;font-weight:850;line-height:24px}.dashboard-summary-negative{color:#c2352b}.dashboard-summary-icon{display:grid;width:40px;height:40px;place-items:center;border:1px solid #dce3ec;border-radius:12px}.dashboard-summary-icon,.dashboard-summary-icon-primary,.dashboard-summary-icon-success{background:#eef8f3;color:#176b45}.dashboard-summary-icon-warning{background:#fff7ed;border-color:#f8d6ad;color:#b76100}.dashboard-summary-primary .dashboard-summary-value,.dashboard-summary-success .dashboard-summary-value,.orders-summary-primary .orders-summary-value,.orders-summary-success .orders-summary-value{color:#176b45}.dashboard-summary-warning .dashboard-summary-value,.orders-summary-warning .orders-summary-value{color:#b76100}.dashboard-section,.orders-panel{display:grid;grid-gap:16px;gap:16px}.dashboard-section-head,.orders-panel-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.dashboard-section-head h2,.orders-panel-head h2{margin:0;color:#121826;font-size:18px;font-weight:850;line-height:28px}.dashboard-section-head p,.orders-panel-head p{margin:4px 0 0;color:#667085;font-size:13px;line-height:22px}.dashboard-text-link{color:#176b45;font-size:13px;font-weight:800;line-height:24px}.dashboard-text-link:hover{text-decoration:underline}.dashboard-attention-grid,.dashboard-list,.dashboard-quick-grid,.orders-inline-list,.orders-list{display:grid;grid-gap:10px;gap:10px}.dashboard-attention-card,.dashboard-quick-card,.dashboard-row,.orders-inline-card,.orders-row{border:1px solid #e3e8ef;border-radius:14px;background:#fff;color:inherit;transition:transform .16s ease-out,border-color .16s ease-out,background-color .16s ease-out,box-shadow .16s ease-out}.dashboard-attention-card:hover,.dashboard-quick-card:hover,.dashboard-row:hover,.orders-inline-card:hover,.orders-row:hover{transform:translateY(-1px);border-color:#cfd7e3;background:#fbfcfe}.dashboard-attention-card{display:grid;grid-template-columns:40px minmax(0,1fr);grid-gap:6px 12px;gap:6px 12px;align-items:start;padding:14px 16px}.dashboard-attention-icon,.dashboard-quick-icon,.dashboard-rank,.dashboard-row-figure,.dashboard-thumb,.orders-inline-icon,.orders-row-figure{display:grid;place-items:center;flex-shrink:0;border:1px solid #dce3ec;border-radius:12px;background:#eef8f3;color:#176b45}.dashboard-attention-icon,.dashboard-quick-icon,.orders-inline-icon{width:40px;height:40px}.dashboard-row-figure,.dashboard-thumb,.orders-row-figure{width:48px;height:48px}.dashboard-thumb{overflow:hidden;font-size:16px;font-weight:900}.dashboard-thumb img{display:block;width:100%;height:100%;object-fit:cover}.dashboard-rank{width:32px;height:32px;border-radius:10px;background:#f2f5f8;color:#5d697b;font-size:12px;font-weight:900}.dashboard-attention-danger .dashboard-attention-icon,.orders-status-danger{background:#fff5f4;border-color:#f1b8b3;color:#c2352b}.dashboard-attention-warning .dashboard-attention-icon,.orders-status-warning{background:#fff7ed;border-color:#f8d6ad;color:#b76100}.dashboard-attention-success .dashboard-attention-icon,.orders-status-success{background:#eef8f3;border-color:#d6eadf;color:#176b45}.dashboard-attention-neutral .dashboard-attention-icon,.orders-status-neutral{background:#f2f5f8;border-color:#d9dee8;color:#5d697b}.dashboard-attention-copy{display:grid;min-width:0;grid-gap:2px;gap:2px}.dashboard-attention-copy strong{color:#121826;font-size:14px;font-weight:850;line-height:22px}.dashboard-attention-copy p{margin:0;color:#667085;font-size:12px;line-height:20px}.dashboard-attention-cta{grid-column:2;color:#176b45;font-size:12px;font-weight:800;line-height:20px}.dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-quick-card{display:grid;grid-gap:8px;gap:8px;min-height:96px;padding:14px}.dashboard-quick-card strong{color:#121826;font-size:14px;font-weight:850;line-height:22px}.dashboard-quick-card p{margin:0;color:#667085;font-size:12px;line-height:20px}.dashboard-trend-card{display:grid;grid-gap:12px;gap:12px;padding:16px;border:1px solid #e3e8ef;border-radius:16px;background:#fff}.dashboard-trend-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dashboard-trend-head h3{margin:0;color:#121826;font-size:16px;font-weight:850;line-height:24px}.dashboard-trend-head p{margin:2px 0 0;color:#667085;font-size:12px;line-height:18px}.dashboard-trend-head strong{color:#176b45;font-size:15px;font-weight:850;line-height:22px}.dashboard-chart{width:100%;overflow:hidden}.dashboard-chart svg{display:block;width:100%;height:auto}.dashboard-chart-axis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-gap:8px;gap:8px}.dashboard-chart-axis div{display:grid;justify-items:center;grid-gap:4px;gap:4px}.dashboard-chart-axis span{color:#7b8798;font-size:11px;line-height:16px}.dashboard-chart-axis strong{color:#121826;font-size:11px;font-weight:850;line-height:16px}.dashboard-row,.orders-row{display:grid;grid-gap:12px;gap:12px;padding:14px 16px}.dashboard-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.dashboard-top-row{grid-template-columns:32px 48px minmax(0,1fr) auto;align-items:center}.dashboard-row-main,.orders-inline-copy,.orders-row-main{display:grid;min-width:0;grid-gap:2px;gap:2px}.dashboard-row-main strong,.orders-inline-copy strong,.orders-row-main strong{color:#121826;font-size:14px;font-weight:850;line-height:22px}.dashboard-row-main p,.dashboard-row-main span,.orders-inline-copy p,.orders-inline-copy span,.orders-row-main p,.orders-row-main span{margin:0;color:#667085;font-size:12px;line-height:18px}.dashboard-row-meta,.orders-row-meta{display:grid;justify-items:end;grid-gap:6px;gap:6px;text-align:left}.dashboard-row-meta strong,.orders-row-meta strong{color:#121826;font-size:14px;font-weight:850;line-height:22px}.dashboard-row-meta small,.orders-row-meta small{color:#7b8798;font-size:12px;line-height:18px}.dashboard-status,.orders-status{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border:1px solid transparent;border-radius:10px;font-size:11px;font-weight:850;line-height:18px;white-space:nowrap}.dashboard-status-primary,.orders-status-primary{background:#eef4ff;border-color:#d8e4ff;color:#1d4ed8}.dashboard-status-warning,.orders-status-warning{background:#fff7ed;border-color:#f8d6ad;color:#b76100}.dashboard-status-success,.orders-status-success{background:#eef8f3;border-color:#d6eadf;color:#176b45}.dashboard-status-danger,.orders-status-danger{background:#fff5f4;border-color:#f1b8b3;color:#c2352b}.orders-banner{margin:0;padding:12px 14px;border:1px solid #d8e4ff;border-radius:14px;background:#eef4ff;color:#1d4ed8;font-size:13px;line-height:22px}.orders-toolbar{display:grid;grid-gap:12px;gap:12px;padding:14px;border:1px solid #e3e8ef;border-radius:16px;background:#fff}.orders-search{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 14px;border:1px solid #cfd7e3;border-radius:14px;background:#fbfcfe;color:#667085;transition:border-color .16s ease-out,background-color .16s ease-out,box-shadow .16s ease-out}.orders-search:focus-within{border-color:#176b45;background:#fff;box-shadow:0 0 0 4px rgba(23,107,69,.1)}.orders-search-input{min-width:0;flex:1 1;border:0;background:transparent;color:#172033;font-size:15px;outline:0}.orders-search-input::placeholder{color:#7b8798}.orders-search-clear{display:grid;width:36px;height:36px;place-items:center;flex-shrink:0;border:0;border-radius:10px;background:transparent;color:#667085;cursor:pointer}.orders-search-clear:hover{background:#eef2f6;color:#344054}.orders-toolbar-grid{display:grid;grid-gap:10px;gap:10px}.orders-select-field{display:grid;grid-gap:8px;gap:8px}.orders-select-field span{display:inline-flex;align-items:center;gap:6px;color:#667085;font-size:12px;font-weight:700;line-height:18px}.orders-select-field select{min-height:46px;width:100%;padding:0 14px;border:1px solid #d9dee8;border-radius:12px;background:#fff;color:#172033;outline:0}.orders-select-field select:focus{border-color:#176b45;box-shadow:0 0 0 4px rgba(23,107,69,.1)}.orders-filter-row{display:flex;flex-wrap:wrap;gap:8px}.orders-filter{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid #e3e8ef;border-radius:11px;background:#fff;color:#5d697b;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}.orders-filter-active{border-color:#176b45;background:#eef8f3;color:#155a3b}.orders-filter strong{font-size:12px;font-weight:800}.orders-error-state{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #f1b8b3;border-radius:16px;background:#fff5f4;color:#b42318}.orders-error-state div{min-width:0;flex:1 1}.orders-error-state h2{margin:0;color:#9f2a20;font-size:15px;font-weight:850;line-height:24px}.orders-error-state p{margin:0;color:#7f2a24;font-size:13px;line-height:22px}.orders-empty-state{display:grid;justify-items:center;grid-gap:12px;gap:12px;padding:44px 18px;border:1px dashed #cfd7e3;border-radius:18px;background:#fff;text-align:center}.orders-empty-icon{display:grid;width:64px;height:64px;place-items:center;border-radius:16px;background:#eef8f3;color:#176b45}.orders-empty-state h2{margin:0;color:#172033;font-size:20px;font-weight:850;line-height:30px}.orders-empty-state p{margin:0;max-width:390px;color:#667085;font-size:14px;line-height:24px}.orders-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}.orders-list-loading{display:grid;grid-gap:16px;gap:16px}.orders-summary-skeleton{height:86px;border-radius:14px}.orders-search-skeleton{height:58px;border-radius:14px}.orders-filter-skeleton-row{display:flex;flex-wrap:wrap;gap:8px}.orders-filter-skeleton{width:92px;height:38px;border-radius:11px}.orders-row-list{display:grid;grid-gap:10px;gap:10px}.orders-row{grid-template-columns:48px minmax(0,1fr) auto 20px;align-items:center}.orders-row-skeleton{min-height:92px}.orders-row-figure-skeleton{width:48px;height:48px;border-radius:12px}.orders-row-line-skeleton{width:100%;height:16px;border-radius:8px}.orders-row-line-skeleton.wide{width:70%}.orders-row-line-skeleton.short{width:50%}.orders-row-line-skeleton.amount{width:84px}.orders-row-chip-skeleton{width:76px;height:28px;border-radius:10px}.orders-inline-list{gap:8px}.orders-inline-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:center;padding:14px 16px}.orders-inline-icon-warning{background:#fff7ed;border-color:#f8d6ad;color:#b76100}.orders-inline-icon-success{background:#eef8f3;border-color:#d6eadf;color:#176b45}.orders-inline-icon-primary{background:#eef4ff;border-color:#d8e4ff;color:#1d4ed8}.orders-inline-icon-danger{background:#fff5f4;border-color:#f1b8b3;color:#c2352b}.orders-inline-copy{gap:2px}.orders-inline-copy p{margin:0}.orders-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.orders-row-copy{min-width:0}.orders-row-copy h2{margin:0;overflow:hidden;color:#121826;font-size:14px;font-weight:850;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.orders-row-copy p,.orders-row-subtitle{margin:0;color:#667085;font-size:12px;line-height:18px}.orders-row-subtitle{display:flex;flex-wrap:wrap;gap:8px 12px}.orders-row-amount{font-size:14px;font-weight:850}.orders-row-count{color:#7b8798}.orders-inline-meta{display:grid;justify-items:end;grid-gap:6px;gap:6px}.orders-inline-meta strong{color:#121826;font-size:14px;font-weight:850;line-height:22px}.row-chevron{display:flex;align-items:center;color:#7b8798}.dashboard-loading-header{display:grid;grid-gap:10px;gap:10px}.dashboard-loading-actions{display:flex;flex-wrap:wrap;gap:10px}.dashboard-skeleton-title{width:min(220px,60%);height:38px;border-radius:10px}.dashboard-skeleton-subtitle{width:min(420px,90%);height:20px;border-radius:8px}.dashboard-skeleton-button{width:128px;height:46px;border-radius:12px}.dashboard-skeleton-button.secondary{width:118px}.dashboard-skeleton-summary{height:96px;border-radius:14px}.dashboard-skeleton-section{height:56px;border-radius:14px}.dashboard-skeleton-attention{height:86px;border-radius:14px}.dashboard-skeleton-quick{height:96px;border-radius:14px}.dashboard-skeleton-chart{height:280px;border-radius:16px}.dashboard-page .skeleton,.orders-page .skeleton{background:linear-gradient(90deg,#eef2f6,#e2e8f0,#eef2f6);background-size:200% 100%}.dashboard-attention-card:focus-visible,.dashboard-button:focus-visible,.dashboard-quick-card:focus-visible,.dashboard-row:focus-visible,.dashboard-text-link:focus-visible,.orders-button:focus-visible,.orders-filter:focus-visible,.orders-inline-card:focus-visible,.orders-row:focus-visible,.orders-search-clear:focus-visible,.orders-search:focus-within,.orders-select-field select:focus-visible{outline:2px solid #176b45;outline-offset:4px}@media (min-width:768px){.dashboard-shell,.orders-shell{padding:36px 32px 132px;gap:20px}.dashboard-header h1,.orders-header h1{font-size:34px}.dashboard-summary-grid,.orders-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-attention-grid,.dashboard-quick-grid{gap:12px}.dashboard-attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.orders-toolbar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-row{grid-template-columns:48px minmax(0,1fr) auto 20px}}@media (min-width:1024px){.dashboard-shell,.orders-shell{padding:48px}.dashboard-attention-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-row{grid-template-columns:minmax(0,1fr) auto}.dashboard-top-row{grid-template-columns:32px 48px minmax(0,1fr) auto}.orders-row{min-height:92px}}.products-page{width:100%;min-height:100vh;min-height:100dvh;background:#f5f7fb;color:#172033}.app-content:has(.products-page){min-height:100vh;background:#f5f7fb}.products-shell{display:grid;width:min(100%,1184px);margin:0 auto;padding:20px 16px 128px;grid-gap:18px;gap:18px}.products-header{display:grid;grid-gap:16px;gap:16px;padding-top:4px}.products-header-copy{min-width:0}.products-header h1{margin:0;color:#121826;font-size:28px;font-weight:800;line-height:1.35}.products-header p{margin:4px 0 0;color:#667085;font-size:14px;line-height:24px}.products-empty-actions,.products-header-actions,.products-modal-actions,.products-template-actions{display:flex;flex-wrap:wrap;gap:10px}.products-button,.products-filter,.products-icon-button,.products-link-button,.products-mobile-stock,.products-modal-close,.products-stock-button{border:0;font:inherit;cursor:pointer}.products-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border:1px solid transparent;border-radius:12px;font-weight:800;line-height:20px;transition:background-color .16s ease-out,border-color .16s ease-out,color .16s ease-out,transform .16s ease-out,box-shadow .16s ease-out}.products-button-primary{background:#176b45;color:#fff;box-shadow:0 10px 22px rgba(23,107,69,.18)}.products-button-secondary{border-color:#d9dee8;background:#fff;color:#344054}.products-button-danger{background:#c2352b;color:#fff;box-shadow:0 10px 22px rgba(194,53,43,.16)}.products-button:hover{transform:translateY(-1px)}.products-button-primary:hover{background:#115939}.products-button-secondary:hover{border-color:#b9c2d0;background:#f9fafb}.products-button-danger:hover{background:#a92e25}.products-button:disabled{opacity:.48;cursor:not-allowed;transform:none}.products-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.products-stat-card{display:grid;min-width:0;grid-gap:4px;gap:4px;padding:14px;border:1px solid #e3e8ef;border-radius:14px;background:#fff}.products-stat-value{color:#121826;font-size:26px;font-weight:850;line-height:34px}.products-stat-label{overflow:hidden;color:#667085;font-size:12px;font-weight:700;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.products-stat-warning .products-stat-value{color:#b76100}.products-stat-danger .products-stat-value{color:#c2352b}.products-controls{display:grid;grid-gap:12px;gap:12px;padding:14px;border:1px solid #e3e8ef;border-radius:16px;background:#fff}.products-search{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 14px;border:1px solid #cfd7e3;border-radius:14px;background:#fbfcfe;color:#667085;transition:border-color .16s ease-out,background-color .16s ease-out,box-shadow .16s ease-out}.products-search:focus-within{border-color:#176b45;background:#fff;box-shadow:0 0 0 4px rgba(23,107,69,.1)}.products-search input{min-width:0;flex:1 1;border:0;outline:0;background:transparent;color:#172033;font-size:15px}.products-search input::placeholder{color:#7b8798}.products-search button{display:grid;width:36px;height:36px;flex-shrink:0;place-items:center;border:0;border-radius:10px;background:transparent;color:#667085;cursor:pointer}.products-search button:hover{background:#eef2f6;color:#344054}.products-filter-row{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:2px;overflow:visible}.products-filter{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid #e3e8ef;border-radius:11px;background:#fff;color:#5d697b;font-size:13px;font-weight:800;white-space:nowrap}.products-filter-active{border-color:#176b45;background:#eef8f3;color:#155a3b}.products-error-state{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #f1b8b3;border-radius:16px;background:#fff5f4;color:#b42318}.products-error-state div{min-width:0;flex:1 1}.products-empty-state h2,.products-error-state h2,.products-mobile-title h2,.products-modal h2,.products-product-cell h2{margin:0}.products-error-state h2{color:#9f2a20;font-size:15px;line-height:24px}.products-error-state p{margin:0;color:#7f2a24;font-size:13px;line-height:22px}.products-loading{display:grid;grid-gap:14px;gap:14px}.products-loading-header,.products-loading-stats{display:grid;grid-gap:10px;gap:10px}.products-loading-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.products-page .skeleton{background:linear-gradient(90deg,#eef2f6,#e2e8f0,#eef2f6);background-size:200% 100%}.products-skeleton-title{width:min(220px,60%);height:38px;border-radius:10px}.products-skeleton-button{width:148px;height:46px;border-radius:12px}.products-skeleton-stat{height:84px;border-radius:14px}.products-skeleton-search{height:86px;border-radius:16px}.products-skeleton-thumb{width:48px;height:48px;border-radius:12px}.products-skeleton-line{width:100%;height:18px;border-radius:8px}.products-skeleton-line.short{width:58%}.products-skeleton-dot{width:38px;height:38px;border-radius:12px}.products-table-shell{overflow:visible;border:1px solid #e3e8ef;border-radius:16px;background:#fff}.products-table-head,.products-table-row{display:grid;grid-template-columns:minmax(240px,1.7fr) minmax(120px,.9fr) 126px 110px 128px 48px;grid-gap:12px;gap:12px;align-items:center}.products-table-head{min-height:46px;padding:0 16px;border-bottom:1px solid #e8edf3;color:#7b8798;font-size:12px;font-weight:800}.products-table-row{position:relative;min-height:78px;padding:14px 16px;border-bottom:1px solid #edf1f6}.products-table-row:last-child{border-bottom:0}.products-table-row:hover{background:#fbfcfe}.products-skeleton-row{min-height:76px}.products-product-cell{display:flex;align-items:center;gap:12px;min-width:0}.products-product-thumb{display:grid;width:48px;height:48px;flex-shrink:0;place-items:center;overflow:hidden;border:1px solid #dce3ec;border-radius:12px;background:#eef8f3;color:#176b45;font-weight:900}.products-product-thumb img{display:block;width:100%;height:100%;object-fit:cover}.products-mobile-title,.products-product-cell div{min-width:0}.products-mobile-title h2,.products-product-cell h2{overflow:hidden;color:#172033;font-size:14px;font-weight:850;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.products-mobile-title p,.products-product-cell p,.products-updated{margin:2px 0 0;overflow:hidden;color:#7b8798;font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.products-price{color:#172033;font-size:14px;line-height:22px;text-align:right}.products-stock-button{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;padding:0 10px;border:1px solid #d9dee8;border-radius:11px;background:#fff;color:#344054;font-weight:850}.products-mobile-stock:hover,.products-stock-button:hover{border-color:#176b45;color:#176b45}.products-status{display:inline-flex;align-items:center;gap:7px;min-height:32px;width:-moz-fit-content;width:fit-content;padding:0 10px;border:1px solid;border-radius:10px;font-size:12px;font-weight:850;line-height:20px}.products-status span{width:7px;height:7px;border-radius:99px;background:currentColor}.products-status-available{background:#eef8f3;color:#176b45}.products-status-low{background:#fff7ed;color:#b76100}.products-status-out{background:#fff5f4;color:#c2352b}.products-row-actions{position:relative;display:flex;justify-content:flex-end}.products-icon-button,.products-modal-close{display:grid;width:40px;height:40px;place-items:center;border:1px solid #d9dee8;border-radius:11px;background:#fff;color:#5d697b}.products-icon-button:hover,.products-modal-close:hover{background:#f2f5f8;color:#172033}.products-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:20;display:grid;width:188px;padding:6px;border:1px solid #d9dee8;border-radius:12px;background:#fff;box-shadow:0 18px 44px rgba(15,23,42,.14)}.products-menu a,.products-menu button{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:#344054;font:inherit;font-size:13px;font-weight:750;cursor:pointer;text-align:right}.products-menu a:hover,.products-menu button:hover{background:#f2f5f8}.products-menu-divider{height:1px;margin:6px 4px;background:#edf1f6}.products-menu .products-menu-danger{color:#c2352b}.products-mobile-only{display:grid}.products-desktop-only{display:none}.products-mobile-list{gap:10px}.products-mobile-card{display:grid;grid-gap:12px;gap:12px;padding:14px;border:1px solid #e3e8ef;border-radius:16px;background:#fff}.products-mobile-card-head{display:grid;grid-template-columns:48px minmax(0,1fr) 40px;grid-gap:10px;gap:10px;align-items:center}.products-product-thumb-mobile{width:48px;height:48px}.products-mobile-price{color:#172033;font-size:15px;line-height:24px}.products-mobile-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.products-mobile-stock{min-height:36px;padding:0 10px;border:1px solid #d9dee8;border-radius:10px;background:#fff;color:#344054;font-weight:800}.products-empty-state{display:grid;justify-items:center;grid-gap:12px;gap:12px;padding:44px 18px;border:1px dashed #cfd7e3;border-radius:18px;background:#fff;text-align:center}.products-empty-icon{display:grid;width:64px;height:64px;place-items:center;border-radius:16px;background:#eef8f3;color:#176b45}.products-empty-state h2{color:#172033;font-size:20px;line-height:30px}.products-empty-state p{max-width:390px;margin:0;color:#667085;font-size:14px;line-height:24px}.products-empty-actions{justify-content:center;margin-top:4px}.products-link-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 8px;background:transparent;color:#176b45;font-weight:850}.products-link-button:hover{color:#115939}.products-modal-overlay{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:rgba(15,23,42,.42);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.products-modal{position:relative;display:grid;width:min(100%,520px);max-height:calc(100dvh - 32px);overflow:auto;grid-gap:16px;gap:16px;padding:22px;border-radius:18px;background:#fff;color:#172033;box-shadow:0 24px 64px rgba(15,23,42,.2)}.products-modal-close{position:absolute;top:14px;left:14px}.products-modal-header{padding-left:48px}.products-modal h2{color:#121826;font-size:20px;font-weight:850;line-height:30px}.products-current-stock,.products-modal-header p{margin:4px 0 0;color:#667085;font-size:14px;line-height:24px}.products-import-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.products-import-step{display:grid;min-height:34px;place-items:center;border:1px solid #e3e8ef;border-radius:10px;color:#7b8798;font-size:12px;font-weight:800}.products-import-step-active{border-color:#b8d8c9;background:#eef8f3;color:#176b45}.products-upload-zone{display:grid;min-height:190px;place-items:center;grid-gap:6px;gap:6px;padding:22px;border:1px dashed #b9c2d0;border-radius:16px;background:#fbfcfe;color:#5d697b;cursor:pointer;text-align:center}.products-upload-zone:hover{border-color:#176b45;background:#f7fbf9}.products-upload-zone svg{color:#176b45}.products-upload-zone strong{max-width:100%;overflow:hidden;color:#172033;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.products-upload-zone small,.products-upload-zone span{color:#7b8798}.products-template-actions{justify-content:space-between}.products-import-summary{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #b8d8c9;border-radius:12px;background:#eef8f3;color:#176b45;font-weight:800}.products-modal-error{margin:0;padding:12px;border:1px solid #f1b8b3;border-radius:12px;background:#fff5f4;color:#b42318}.products-modal-actions{justify-content:flex-end;padding-top:2px}.products-modal-actions .products-button{min-width:120px}.products-stock-field{display:grid;grid-gap:8px;gap:8px}.products-stock-field span{color:#344054;font-size:13px;font-weight:800}.products-stock-field input{width:100%;min-height:52px;padding:0 14px;border:1px solid #cfd7e3;border-radius:12px;background:#fff;color:#172033;outline:0;font-weight:850}.products-stock-field input:focus{border-color:#176b45;box-shadow:0 0 0 4px rgba(23,107,69,.1)}.products-button:focus-visible,.products-filter:focus-visible,.products-icon-button:focus-visible,.products-link-button:focus-visible,.products-menu a:focus-visible,.products-menu button:focus-visible,.products-mobile-stock:focus-visible,.products-modal-close:focus-visible,.products-search button:focus-visible,.products-search input:focus-visible,.products-stock-button:focus-visible,.products-stock-field input:focus-visible{outline:2px solid #176b45;outline-offset:3px}.products-header-actions .products-button{flex:1 1 148px}@media (max-width:420px){.products-shell{padding-right:12px;padding-left:12px}.products-header-actions{gap:8px}.products-button{padding-right:12px;padding-left:12px;font-size:13px}.products-stats-grid{gap:8px}.products-stat-card{padding:12px 10px}.products-stat-value{font-size:22px;line-height:30px}.products-search{padding-right:10px;padding-left:10px}.products-mobile-meta{align-items:flex-start;flex-direction:column}.products-mobile-stock,.products-status{width:100%;justify-content:center}}@media (min-width:640px){.products-shell{padding:28px 22px 128px;gap:20px}.products-header{grid-template-columns:minmax(0,1fr) auto;align-items:end}.products-header-actions .products-button{flex:0 0 auto}.products-header h1{font-size:32px}.products-controls{padding:16px}.products-loading-header{grid-template-columns:minmax(0,1fr) auto;align-items:center}}@media (min-width:768px){.products-shell{padding:40px 32px 128px}.products-stats-grid{gap:14px}.products-stat-card{padding:16px}.products-stat-value{font-size:30px;line-height:38px}.products-controls{gap:14px}.products-filter-row{overflow:visible}.products-mobile-list{grid-template-columns:repeat(2,minmax(0,1fr))}.products-modal-overlay{align-items:center}}@media (min-width:1100px){.products-shell{padding:48px;gap:22px}.products-mobile-only{display:none}.products-desktop-only{display:block}.products-loading-stats{max-width:620px}}@media (min-width:1280px){.products-header h1{font-size:36px}}.product-editor-shell{display:grid;width:min(100%,1120px);margin:0 auto;padding:18px 14px 132px;grid-gap:18px;gap:18px}.product-editor-header{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px}.product-back-button{display:grid;width:44px;height:44px;place-items:center;border:1px solid #d9dee8;border-radius:12px;background:#fff;color:#344054;transition:background-color .16s ease-out,border-color .16s ease-out,color .16s ease-out,transform .16s ease-out}.product-back-button:hover{border-color:#b9c2d0;background:#f9fafb;color:#176b45}.product-editor-header h1{margin:0;color:#121826;font-size:26px;font-weight:850;line-height:34px}.product-editor-header p{margin:2px 0 0;color:#667085;font-size:13px;line-height:22px}.product-editor-form,.product-editor-layout,.product-editor-main{display:grid;grid-gap:14px;gap:14px}.product-editor-main{min-width:0}.product-editor-summary,.product-form-section{border:1px solid #e3e8ef;border-radius:16px;background:#fff}.product-form-section{display:grid;grid-gap:16px;gap:16px;padding:16px}.product-form-section-head{display:grid;grid-gap:2px;gap:2px}.product-form-section-head h2{margin:0;color:#172033;font-size:16px;font-weight:850;line-height:26px}.product-form-section-head p{margin:0;color:#667085;font-size:13px;line-height:22px}.product-field,.product-field-grid{display:grid;grid-gap:8px;gap:8px}.product-field-grid{gap:12px}.product-field-label{color:#344054;font-size:13px;font-weight:850;line-height:22px}.product-input,.product-money-input{width:100%;min-height:52px;border:1px solid #cfd7e3;border-radius:13px;background:#fff;color:#172033;outline:none;transition:border-color .16s ease-out,box-shadow .16s ease-out,background-color .16s ease-out}.product-input{padding:0 14px}.product-money-input{display:flex;align-items:center;gap:10px;padding:0 14px}.product-money-input input{min-width:0;flex:1 1;border:0;outline:0;background:transparent;color:#172033;font-weight:800}.product-money-input span{flex-shrink:0;color:#667085;font-size:12px;font-weight:800}.product-input::placeholder,.product-money-input input::placeholder{color:#98a2b3}.product-input:focus,.product-money-input:focus-within{border-color:#176b45;background:#fff;box-shadow:0 0 0 4px rgba(23,107,69,.1)}.product-input[aria-invalid=true],.product-money-input:has(input[aria-invalid=true]){border-color:#d92d20}.product-field-error,.product-field-helper,.product-file-meta{color:#667085;font-size:12px;line-height:20px}.product-field-error{color:#b42318;font-weight:750}.product-image-upload{position:relative;display:grid;width:100%;min-height:204px;overflow:hidden;place-items:center;border:1px dashed #b9c2d0;border-radius:16px;background:#fbfcfe;color:#667085;cursor:pointer;text-align:center;transition:border-color .16s ease-out,background-color .16s ease-out,box-shadow .16s ease-out}.product-image-upload:focus-within,.product-image-upload:hover{border-color:#176b45;background:#f7fbf9;box-shadow:0 0 0 4px rgba(23,107,69,.08)}.product-image-upload img{display:block;width:100%;height:100%;min-height:204px;max-height:360px;object-fit:contain;background:#f8fafc}.product-image-empty{display:grid;justify-items:center;grid-gap:6px;gap:6px;padding:22px}.product-image-empty svg{color:#176b45}.product-image-empty strong{color:#172033;font-size:15px;line-height:24px}.product-image-empty span{max-width:280px;color:#667085;font-size:13px;line-height:22px}.product-image-empty small{color:#7b8798;font-size:12px;font-weight:800;line-height:20px}.product-image-actions{display:flex;flex-wrap:wrap;gap:8px}.product-cancel-button,.product-inline-button,.product-submit-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid transparent;border-radius:12px;font:inherit;font-weight:850;cursor:pointer;transition:background-color .16s ease-out,border-color .16s ease-out,color .16s ease-out,transform .16s ease-out,box-shadow .16s ease-out}.product-inline-button{padding:0 12px;border-color:#d9dee8;background:#fff;color:#176b45;font-size:13px}.product-cancel-button:hover,.product-inline-button:hover{border-color:#b9c2d0;background:#f9fafb}.product-inline-button-danger{color:#c2352b}.product-file-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}.product-profit-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;padding:12px;border-radius:13px;background:#f8fafc}.product-profit-strip div{display:grid;grid-gap:2px;gap:2px}.product-profit-strip p,.product-profit-strip span{margin:0;color:#667085;font-size:12px;line-height:20px}.product-profit-strip strong{color:#176b45;font-size:14px;line-height:22px}.product-negative-value{color:#c2352b!important}.product-form-alert{display:flex;align-items:center;gap:8px;margin:0;padding:12px;border-radius:13px;font-size:13px;font-weight:750;line-height:22px}.product-form-alert-danger{border:1px solid #f1b8b3;background:#fff5f4;color:#b42318}.product-form-alert-warning{border:1px solid #f8d6ad;background:#fff7ed;color:#9a4a00}.product-editor-summary{display:grid;align-content:start;grid-gap:14px;gap:14px;padding:14px}.product-summary-preview{display:grid;width:100%;aspect-ratio:1/1;max-height:300px;place-items:center;overflow:hidden;border-radius:15px;background:#eef8f3;color:#176b45;font-size:44px;font-weight:900}.product-summary-preview img{display:block;width:100%;height:100%;object-fit:contain;background:#f8fafc}.product-summary-copy{min-width:0}.product-summary-copy h2{margin:0;overflow:hidden;color:#172033;font-size:17px;font-weight:850;line-height:28px;text-overflow:ellipsis;white-space:nowrap}.product-summary-copy p{margin:2px 0 0;color:#667085;font-size:13px;line-height:22px}.product-summary-list{display:grid;grid-gap:0;gap:0;margin:0;border-top:1px solid #edf1f6}.product-summary-list div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf1f6}.product-summary-list dd,.product-summary-list dt{margin:0}.product-summary-list dt{color:#667085;font-size:12px;font-weight:750}.product-summary-list dd{color:#172033;font-size:13px;font-weight:850;text-align:left}.product-form-actions{position:-webkit-sticky;position:sticky;bottom:calc(92px + env(safe-area-inset-bottom));z-index:15;display:grid;grid-template-columns:minmax(94px,.55fr) minmax(0,1fr);grid-gap:10px;gap:10px;padding:10px;border:1px solid #e3e8ef;border-radius:16px;background:hsla(0,0%,100%,.92);box-shadow:0 18px 46px rgba(15,23,42,.12);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.product-cancel-button{padding:0 14px;border-color:#d9dee8;background:#fff;color:#344054}.product-submit-button{padding:0 16px;background:#176b45;color:#fff;box-shadow:0 10px 22px rgba(23,107,69,.18)}.product-submit-button:hover{background:#115939;transform:translateY(-1px)}.product-submit-button:disabled{opacity:.54;cursor:not-allowed;transform:none}.product-editor-loading{display:grid;grid-gap:12px;gap:12px;padding:16px;border:1px solid #e3e8ef;border-radius:16px;background:#fff}.product-editor-skeleton-hero{height:204px;border-radius:16px}.product-editor-skeleton-line{height:52px;border-radius:13px}.product-editor-skeleton-box{height:96px;border-radius:13px}.product-back-button:focus-visible,.product-cancel-button:focus-visible,.product-image-upload:focus-within,.product-inline-button:focus-visible,.product-input:focus-visible,.product-money-input input:focus-visible,.product-submit-button:focus-visible{outline:2px solid #176b45;outline-offset:3px}@media (min-width:640px){.product-editor-shell{padding:28px 22px 132px;gap:20px}.product-form-section{padding:18px}.product-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.product-editor-shell{padding:48px}.product-editor-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start}.product-editor-summary{position:-webkit-sticky;position:sticky;top:48px}.product-form-actions{position:static;width:min(100%,calc(100% - 334px));margin-left:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}}.invoice-page{max-width:920px}.invoice-actions,.invoice-stack{gap:var(--space-16)}.invoice-actions{display:flex;flex-wrap:wrap;justify-content:space-between}.invoice-sheet{display:grid;grid-gap:var(--space-24);gap:var(--space-24);background:var(--surface)}.invoice-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-16)}.invoice-eyebrow{margin:0 0 var(--space-8);color:var(--accent-primary);font-size:12px;font-weight:800;line-height:16px}.invoice-title{margin:0;color:var(--text-primary);font-size:28px;font-weight:900;line-height:1.2}.invoice-meta{margin:var(--space-8) 0 0;color:var(--text-secondary)}.invoice-status{display:flex;align-items:center;gap:var(--space-8);padding:var(--space-8) var(--space-16);border:1px solid var(--border-subtle);border-radius:var(--radius-button);background:var(--glass-overlay);color:var(--text-secondary);font-weight:700}.invoice-status-icon{display:grid;place-items:center;color:var(--accent-primary)}.invoice-card,.invoice-grid{display:grid;grid-gap:var(--space-16);gap:var(--space-16)}.invoice-card{padding:var(--space-24);border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:hsla(0,0%,100%,.03)}.invoice-list{display:grid;grid-gap:var(--space-8);gap:var(--space-8)}.invoice-line{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-16);color:var(--text-secondary);line-height:24px}.invoice-line strong{color:var(--text-primary);text-align:left}.invoice-divider{height:1px;margin:var(--space-8) 0;background:var(--border-subtle)}.invoice-total{padding-top:var(--space-8);border-top:1px solid var(--border-subtle)}.no-print{display:flex}@media print{body{background:#fff;color:#111}body:before{display:none}.bottom-nav-wrapper,.no-print,.sidebar{display:none!important}.app-content{margin:0!important;padding:0!important}.invoice-page{max-width:none;padding:0}.invoice-sheet{border:0;box-shadow:none;background:#fff}.invoice-card{page-break-inside:avoid;break-inside:avoid;border-color:#e5e7eb;background:#fff}.invoice-line strong,.invoice-status,.invoice-title{color:#111}.invoice-status{border-color:#e5e7eb;background:#f8fafc}}@keyframes toast-in{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(16px)}}@media (prefers-reduced-motion:no-preference){.toast-out{animation:toast-out .2s ease-in forwards}.skeleton{animation:pulse 1.5s ease-in-out infinite}}@keyframes pulse{0%,to{background-position:0 50%}50%{background-position:100% 50%}}@media (min-width:768px){.page-shell{padding:var(--space-40) var(--space-32)}.page-header{flex-direction:row;align-items:center}.toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center}.field-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.product-row{grid-template-columns:72px minmax(0,1fr) auto;align-items:center}.product-figure{width:72px;height:72px}.product-actions{grid-column:auto;justify-content:flex-end}.modal-overlay{align-items:center}}@media (min-width:1024px){.page-shell{padding:var(--space-48)}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.toast-container{right:auto;left:var(--space-24);bottom:var(--space-24);transform:none}.checkout-page{max-width:520px;margin:0 auto;border-right:1px solid var(--border-subtle);border-left:1px solid var(--border-subtle)}}.new-order-page{width:100%;min-height:100vh;min-height:100dvh;background:#f5f7fb;color:#172033}.app-content:has(.new-order-page){min-height:100vh;background:#f5f7fb}.new-order-shell{display:grid;width:min(100%,1248px);margin:0 auto;padding:20px 16px 176px;grid-gap:16px;gap:16px}.new-order-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px}.new-order-back{display:grid;width:48px;height:48px;place-items:center;border:1px solid #d9dee8;border-radius:14px;background:#fff;color:#344054;transition:background-color .16s ease-out,border-color .16s ease-out,color .16s ease-out,transform .16s ease-out}.new-order-back:hover{border-color:#cfd7e3;background:#f8fafc;color:#176b45;transform:translateX(1px)}.new-order-header-copy{display:grid;grid-gap:4px;gap:4px;min-width:0}.new-order-header-copy h1{margin:0;color:#121826;font-size:28px;font-weight:900;line-height:1.25}.new-order-header-copy p{margin:0;color:#667085;font-size:14px;line-height:22px}.new-order-header-chip{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid #d9dee8;border-radius:12px;background:#fff;color:#176b45;font-size:12px;font-weight:850;white-space:nowrap}.new-order-stepper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;padding:10px;border:1px solid #e3e8ef;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.04)}.new-order-step{display:flex;align-items:center;gap:10px;min-height:60px;padding:0 14px;border:1px solid transparent;border-radius:14px;background:transparent;color:#667085;cursor:pointer;text-align:right;transition:background-color .16s ease-out,border-color .16s ease-out,color .16s ease-out,transform .16s ease-out}.new-order-step:hover{transform:translateY(-1px);background:#f8fafc}.new-order-step-current{border-color:#d8e4ff;background:#eef4ff;color:#172033}.new-order-step-complete{border-color:#d6eadf;background:#f6fbf8;color:#172033}.new-order-step:disabled{opacity:.45;cursor:not-allowed;transform:none}.new-order-step-index{display:grid;width:36px;height:36px;place-items:center;flex-shrink:0;border:1px solid #dce3ec;border-radius:12px;background:#f8fafc;color:#5d697b}.new-order-step-complete .new-order-step-index,.new-order-step-current .new-order-step-index{border-color:transparent;background:#176b45;color:#fff}.new-order-step-copy{display:grid;grid-gap:2px;gap:2px;min-width:0}.new-order-step-copy strong{font-size:13px;font-weight:850;line-height:20px}.new-order-step-copy span{font-size:12px;line-height:18px;color:inherit;opacity:.82}.new-order-layout,.new-order-main,.new-order-sidebar{display:grid;grid-gap:16px;gap:16px}.new-order-main,.new-order-sidebar{min-width:0}.new-order-panel{display:grid;grid-gap:16px;gap:16px}.new-order-panel-chip{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid #d9dee8;border-radius:9999px;background:#f8fafc;color:#176b45;font-size:12px;font-weight:850;white-space:nowrap}.new-order-search{min-height:58px;border-color:#d9dee8;background:#fff}.new-order-search-input{color:#172033;font-size:15px}.new-order-search-input::placeholder{color:#7b8798}.new-order-product-list{display:grid;grid-gap:10px;gap:10px}.new-order-product-row{--new-order-product-thumb-size:56px;--new-order-product-control-width:112px;--new-order-product-action-width:56px;display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;grid-gap:10px;gap:10px;padding:10px;border:1px solid #e3e8ef;border-radius:16px;background:#fff;direction:ltr;transition:transform .16s ease-out,border-color .16s ease-out,background-color .16s ease-out,box-shadow .16s ease-out}.new-order-product-row:hover{border-color:#cfd7e3;background:#fbfcfe}.new-order-product-row-selected{border-color:#d6eadf;background:#f6fbf8;box-shadow:0 10px 26px rgba(23,107,69,.08)}.new-order-product-row-disabled{opacity:.72}.new-order-product-main{display:grid;grid-gap:6px;gap:6px;min-width:0;direction:rtl;color:inherit;text-align:right}.new-order-product-rail{display:grid;width:max-content;justify-items:center;grid-gap:8px;gap:8px;min-width:0;direction:rtl}.new-order-product-thumb{position:relative;display:grid;width:var(--new-order-product-thumb-size);height:var(--new-order-product-thumb-size);place-items:center;flex-shrink:0;overflow:hidden;border:1px solid #dce3ec;border-radius:14px;background:#eef8f3;color:#176b45;font-size:17px;font-weight:900}.new-order-product-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.new-order-product-thumb-fallback{position:relative;z-index:0}.new-order-product-row-selected .new-order-product-thumb{border-color:transparent;background:#176b45;color:#fff}.new-order-product-copy{display:grid;grid-gap:4px;gap:4px;min-width:0}.new-order-product-copy strong{overflow:hidden;color:#121826;font-size:15px;font-weight:850;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.new-order-product-meta-line{display:flex;flex-wrap:wrap;gap:8px 12px;color:#667085;font-size:12px;line-height:18px}.new-order-product-meta-line span{white-space:nowrap}.new-order-product-main .orders-status{width:-moz-fit-content;width:fit-content;justify-self:start}.new-order-product-controls{display:flex;align-items:center;justify-content:flex-start}.new-order-qty-control{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:var(--new-order-product-control-width);min-height:40px;padding:4px;border:1px solid #d9dee8;border-radius:12px;background:#f8fafc}.new-order-qty-button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:10px;background:#fff;color:#176b45;cursor:pointer;transition:background-color .16s ease-out,transform .16s ease-out,color .16s ease-out}.new-order-qty-button:hover{background:#eef8f3;transform:translateY(-1px)}.new-order-qty-button:disabled{opacity:.42;cursor:not-allowed}.new-order-qty-button:disabled,.new-order-qty-button:disabled:hover{background:#f3f6fa;color:#98a2b3;transform:none}.new-order-qty-value{min-width:26px;text-align:center;color:#172033;font-weight:850}.new-order-product-add{display:grid;width:var(--new-order-product-action-width);min-height:38px;padding:6px 10px;border:1px solid #d9dee8;border-radius:11px;background:#f8fafc;color:#667085;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;place-items:center;justify-items:center;grid-gap:4px;gap:4px;font-size:11px;font-weight:800;line-height:16px;text-align:center;white-space:nowrap;transition:background-color .16s ease-out,border-color .16s ease-out,color .16s ease-out,transform .16s ease-out}.new-order-product-add:hover{border-color:#b9c2d0;background:#eef4ff;color:#176b45;transform:translateY(-1px)}.new-order-product-add-disabled{opacity:.5;color:#98a2b3;cursor:not-allowed;transform:none}.new-order-product-add:disabled:hover{border-color:#d9dee8;background:#f8fafc;color:#98a2b3;transform:none}.new-order-customer-grid,.new-order-form-grid,.new-order-payment-grid,.new-order-payment-utility{display:grid;grid-gap:12px;gap:12px}.new-order-customer-grid{max-width:760px}.new-order-customer-phone{min-height:58px;border-color:#d9dee8;background:#fff}.new-order-phone-input{color:#172033;font-size:15px}.new-order-customer-match{display:grid;grid-gap:10px;gap:10px;padding:14px 16px;border:1px solid #d6eadf;border-radius:16px;background:linear-gradient(180deg,#f8fcf9,#f3faf5);box-shadow:0 8px 22px rgba(23,107,69,.06)}.new-order-customer-match-copy{display:grid;grid-gap:4px;gap:4px;min-width:0}.new-order-customer-match-kicker{color:#176b45;font-size:12px;font-weight:850;line-height:16px}.new-order-customer-match-copy strong{color:#121826;font-size:15px;font-weight:850;line-height:22px}.new-order-customer-match-copy span{color:#667085;font-size:12px;line-height:18px}.new-order-customer-match-action{width:auto}.new-order-input{border-color:#d9dee8;background:#fff;color:#172033}.new-order-field .field-input,.new-order-field textarea.field-input{border-color:#d9dee8;background:#fff;color:#172033;-moz-appearance:none;appearance:none;-webkit-appearance:none}.new-order-textarea{min-height:120px;resize:vertical}.new-order-final-box{display:grid;grid-gap:10px;gap:10px;padding:14px;border:1px solid #d9dee8;border-radius:16px;background:#fff}.new-order-final-box div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#667085}.new-order-final-box strong{color:#172033;font-size:15px;font-weight:850}.new-order-final-box-total{margin-top:4px;padding-top:12px;border-top:1px solid #e3e8ef}.new-order-final-box-total span{color:#172033;font-weight:800}.new-order-final-box-total strong{color:#176b45;font-size:24px;line-height:1.2}.new-order-payment-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;padding:14px;border:1px solid #e3e8ef;border-radius:16px;background:#fff;color:inherit;cursor:pointer;text-align:right;transition:transform .16s ease-out,border-color .16s ease-out,background-color .16s ease-out,box-shadow .16s ease-out}.new-order-payment-card:hover{transform:translateY(-1px);border-color:#cfd7e3;background:#fbfcfe}.new-order-payment-card-selected{border-color:#d6eadf;background:#f6fbf8;box-shadow:0 10px 26px rgba(23,107,69,.08)}.new-order-payment-icon{display:grid;width:40px;height:40px;place-items:center;flex-shrink:0;border-radius:12px;background:#eef8f3;color:#176b45}.new-order-payment-copy{display:grid;grid-gap:2px;gap:2px;min-width:0}.new-order-payment-copy strong{color:#121826;font-size:14px;font-weight:850;line-height:22px}.new-order-payment-copy span{color:#667085;font-size:12px;line-height:18px}.new-order-payment-check{color:#176b45}.new-order-helper{margin:0;color:#667085;font-size:12px;line-height:22px}.new-order-summary-card{position:-webkit-sticky;position:sticky;top:24px}.new-order-summary-total{display:flex;justify-content:space-between;gap:12px;padding:14px;border:1px solid #d6eadf;border-radius:16px;background:#eef8f3;color:#176b45}.new-order-summary-total span{font-size:12px;font-weight:800}.new-order-summary-total strong{font-size:24px;font-weight:900}.new-order-summary-meta{display:grid;grid-gap:10px;gap:10px;padding:12px 0 4px}.new-order-summary-meta div{display:grid;grid-gap:2px;gap:2px}.new-order-summary-meta span{color:#667085;font-size:12px;line-height:18px}.new-order-summary-meta strong{color:#121826;font-size:14px;font-weight:850;line-height:22px}.new-order-summary-list{display:grid;grid-gap:8px;gap:8px;padding-top:4px}.new-order-summary-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #eef2f6}.new-order-summary-item:first-child{border-top:0;padding-top:0}.new-order-summary-item-copy{display:grid;grid-gap:2px;gap:2px;min-width:0}.new-order-summary-item-copy strong{color:#121826;font-size:13px;font-weight:850;line-height:20px}.new-order-summary-item-copy span{color:#667085;font-size:12px;line-height:18px}.new-order-summary-empty{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px dashed #cfd7e3;border-radius:14px;background:#fbfcfe;color:#667085}.new-order-summary-empty-icon{display:grid;width:36px;height:36px;place-items:center;flex-shrink:0;border-radius:10px;background:#eef8f3;color:#176b45}.new-order-summary-empty strong{color:#172033;font-size:13px;font-weight:850;line-height:20px}.new-order-summary-empty p{margin:2px 0 0;font-size:12px;line-height:18px}.new-order-footer{display:grid;grid-gap:12px;gap:12px;padding:14px 16px;border:1px solid #d9dee8;border-radius:18px;background:hsla(0,0%,100%,.94);box-shadow:0 14px 32px rgba(15,23,42,.06);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.new-order-footer-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#667085}.new-order-footer-copy span{font-size:12px;font-weight:800}.new-order-footer-copy strong{color:#172033;font-size:18px;font-weight:900}.new-order-footer-actions{display:flex;flex-wrap:wrap;gap:10px}.new-order-footer-actions>.orders-button{flex:1 1 160px}.new-order-submit{min-height:52px}.new-order-alert{display:flex;align-items:flex-start;gap:10px;margin:0;padding:12px 14px;border:1px solid #f1b8b3;border-radius:14px;background:#fff5f4;color:#b42318;font-size:13px;line-height:22px}.new-order-alert svg{flex-shrink:0;margin-top:2px}.new-order-loading{display:grid;grid-gap:16px;gap:16px}.new-order-loading-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.new-order-skeleton-title{width:min(220px,58%);height:34px;border-radius:14px}.new-order-skeleton-chip{width:92px;height:36px;border-radius:9999px}.new-order-skeleton-stepper{height:82px;border-radius:18px}.new-order-loading-layout{display:grid;grid-gap:16px;gap:16px}.new-order-loading-main{display:grid;grid-gap:14px;gap:14px}.new-order-skeleton-search{height:58px;border-radius:16px}.new-order-loading-list{display:grid;grid-gap:10px;gap:10px}.new-order-skeleton-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;padding:12px;border:1px solid #e3e8ef;border-radius:16px;background:#fff}.new-order-skeleton-thumb{width:52px;height:52px;border-radius:14px}.new-order-skeleton-copy{display:grid;grid-gap:8px;gap:8px;min-width:0}.new-order-skeleton-line{width:100%;height:12px;border-radius:9999px}.new-order-skeleton-line.wide{width:72%;height:16px}.new-order-skeleton-line.amount{width:88px;height:18px}.new-order-skeleton-meta{display:grid;grid-gap:8px;gap:8px;justify-items:end}.new-order-skeleton-chip-small{width:72px;height:26px;border-radius:9999px}.new-order-loading-side{display:none}.new-order-skeleton-summary{height:220px;border-radius:18px}.new-order-modal-overlay{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:16px;background:rgba(15,23,42,.48);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.new-order-modal{width:min(100%,560px);max-height:calc(100dvh - 32px);overflow:auto;display:grid;grid-gap:16px;gap:16px;padding:20px;border:1px solid #d9dee8;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(15,23,42,.16)}.new-order-modal-hero{display:flex;align-items:flex-start;gap:14px}.new-order-modal-icon{display:grid;width:52px;height:52px;place-items:center;flex-shrink:0;border-radius:16px;background:#eef8f3;color:#176b45}.new-order-modal-copy{display:grid;grid-gap:4px;gap:4px;min-width:0}.new-order-modal-kicker{margin:0;color:#176b45;font-size:12px;font-weight:850;line-height:16px}.new-order-modal-copy h2{margin:0;color:#121826;font-size:22px;font-weight:900;line-height:32px}.new-order-modal-copy p{margin:0;color:#667085;font-size:13px;line-height:22px}.new-order-modal-summary{display:grid;grid-gap:10px;gap:10px;padding:14px;border:1px solid #e3e8ef;border-radius:18px;background:#f8fafc}.new-order-modal-summary div{display:flex;justify-content:space-between;gap:12px}.new-order-modal-summary span{color:#667085;font-size:12px;line-height:18px}.new-order-modal-summary strong{color:#121826;font-size:14px;font-weight:850;line-height:22px}.new-order-modal-summary div:first-child strong{color:#176b45;font-size:22px}.new-order-modal-actions{display:flex;flex-wrap:wrap;gap:10px}.new-order-modal-actions>.orders-button{flex:1 1 160px}.new-order-modal-invoice{display:grid;grid-gap:8px;gap:8px}.new-order-modal-invoice span{color:#667085;font-size:12px;font-weight:700;line-height:18px}.new-order-modal-invoice textarea{min-height:160px;resize:vertical;background:#fff;border-color:#d9dee8;color:#172033}@media (min-width:768px){.new-order-shell{padding:32px 24px 176px}.new-order-header-copy h1{font-size:30px}.new-order-layout{gap:18px}.new-order-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.new-order-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.new-order-customer-grid{max-width:760px}.new-order-form-grid{grid-template-columns:minmax(0,1fr)}.new-order-customer-match{grid-template-columns:minmax(0,1fr) auto;align-items:center}.new-order-customer-match-action{justify-self:end}.new-order-product-row{--new-order-product-thumb-size:64px;--new-order-product-control-width:124px;padding:12px}.new-order-loading-side{display:block}.new-order-loading-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start}.new-order-footer-actions{justify-content:flex-end}.new-order-footer-actions>.orders-button{flex:0 0 auto;min-width:170px}}@media (min-width:1024px){.new-order-shell{padding:40px 32px 200px}.new-order-header{gap:16px}.new-order-header-copy h1{font-size:34px}.new-order-layout{grid-template-columns:minmax(0,1fr) 352px;align-items:start}.new-order-sidebar{position:-webkit-sticky;position:sticky;top:24px}.new-order-footer{position:static}.new-order-footer-actions>.orders-button{min-width:182px}}@media (max-width:767px){.new-order-product-row{--new-order-product-thumb-size:60px;--new-order-product-control-width:104px;--new-order-product-action-width:72px}.new-order-product-add{border-radius:10px}.new-order-footer{position:-webkit-sticky;position:sticky;bottom:calc(96px + env(safe-area-inset-bottom));z-index:24}.new-order-customer-match-action{width:100%}.new-order-summary-card{position:static}.new-order-header{grid-template-columns:auto minmax(0,1fr)}.new-order-header-chip{display:none}.new-order-header-copy{grid-column:2}.new-order-step{min-height:56px}.new-order-payment-grid{grid-template-columns:1fr}}