@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/vazirmatn-arabic-400-normal-DMZFCm7K.woff2)format("woff2"),url(/assets/vazirmatn-arabic-400-normal-C4W5XURk.woff)format("woff");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/vazirmatn-latin-ext-400-normal-BdGhO0lm.woff2)format("woff2"),url(/assets/vazirmatn-latin-ext-400-normal-DPxMaNjI.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/vazirmatn-latin-400-normal-BT_DHTc7.woff2)format("woff2"),url(/assets/vazirmatn-latin-400-normal-GKyMcI03.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/vazirmatn-arabic-500-normal-C_lbnnKa.woff2)format("woff2"),url(/assets/vazirmatn-arabic-500-normal-Dqq3-xo3.woff)format("woff");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/vazirmatn-latin-ext-500-normal-CgxvvVrG.woff2)format("woff2"),url(/assets/vazirmatn-latin-ext-500-normal-4XgegWYb.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/vazirmatn-latin-500-normal-6zZzgpg4.woff2)format("woff2"),url(/assets/vazirmatn-latin-500-normal-Bg_BALlD.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/vazirmatn-arabic-600-normal-CPKvAnd1.woff2)format("woff2"),url(/assets/vazirmatn-arabic-600-normal-CWYTfCgi.woff)format("woff");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/vazirmatn-latin-ext-600-normal-CyxCUfFz.woff2)format("woff2"),url(/assets/vazirmatn-latin-ext-600-normal-Di8rk35l.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/vazirmatn-latin-600-normal-D-zF-Oec.woff2)format("woff2"),url(/assets/vazirmatn-latin-600-normal-BxJiDPKT.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/vazirmatn-arabic-700-normal-Dge_DOjm.woff2)format("woff2"),url(/assets/vazirmatn-arabic-700-normal-B5nPuCFv.woff)format("woff");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/vazirmatn-latin-ext-700-normal-BfoXmNMx.woff2)format("woff2"),url(/assets/vazirmatn-latin-ext-700-normal-DMYLqBto.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Vazirmatn;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/vazirmatn-latin-700-normal-9BlbvDRV.woff2)format("woff2"),url(/assets/vazirmatn-latin-700-normal-DrB0PBU6.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:#172321;font-synthesis:none;text-rendering:optimizelegibility;--ink:#172321;--muted:#5f6f6a;--line:#e6eae5;--surface:#fff;--canvas:#f5f6f2;--brand:#137d6e;--brand-dark:#123735;--brand-soft:#e4f4f0;--orange:#e48a35;--orange-soft:#fff0df;--red:#db625f;--red-soft:#feebea;--blue:#4e7fa9;--blue-soft:#eaf2f8;--purple:#786aa4;--purple-soft:#f0edf8;--radius-sm:10px;--radius:16px;--radius-lg:22px;--shadow:0 10px 30px #162d290e;background:#f5f6f2;font-family:Vazirmatn,Tahoma,sans-serif}*{box-sizing:border-box}html{background:var(--canvas);min-width:320px;font-size:17px}body{font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:320px;min-height:100vh;margin:0;line-height:1.55}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #137d6e38}.icon-button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:12px;place-items:center;width:42px;height:42px;padding:0;transition:all .2s;display:grid}.icon-button:hover{background:#f9fbf9;border-color:#cdd6d1}.primary-button,.secondary-button{cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-weight:600;transition:transform .2s,box-shadow .2s,background .2s;display:inline-flex}.primary-button{color:#fff;background:var(--brand);box-shadow:0 8px 18px #137d6e2e}.primary-button:hover{background:#0f6c60;transform:translateY(-1px);box-shadow:0 10px 22px #137d6e40}.primary-button:disabled{opacity:.65;cursor:wait;transform:none}.secondary-button{border:1px solid var(--line);color:#40504c;background:#fff}.secondary-button:hover{background:#f8faf8;border-color:#cfd8d4}.brand{align-items:center;gap:12px;display:flex}.brand__mark{width:43px;height:43px;color:var(--brand-dark);background:#f5c66f;border-radius:14px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #ffffff59}.brand>span:last-child{line-height:1.15;display:grid}.brand strong{font-size:1.15rem}.brand small{color:#ffffffbd;margin-top:6px;font-size:.75rem;font-weight:400}.app-shell{min-height:100vh}.sidebar{z-index:40;color:#f6fbf9;background:var(--brand-dark);flex-direction:column;width:272px;padding:24px 18px 18px;display:flex;position:fixed;inset:0 0 0 auto;overflow-y:auto}.sidebar:before{content:"";pointer-events:none;background:#3d96821f;border-radius:50%;width:240px;height:240px;position:absolute;inset:auto -90px -100px auto}.sidebar__head{justify-content:space-between;align-items:center;min-height:46px;padding:0 6px;display:flex}.sidebar__close{color:#fff;background:#ffffff0f;border-color:#ffffff1f;display:none}.sidebar__store{background:#ffffff0e;border:1px solid #ffffff14;border-radius:14px;align-items:center;gap:10px;margin:30px 0 22px;padding:12px;display:flex}.sidebar__store-icon{color:#f5c66f;background:#f5c66f1f;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.sidebar__store>span:nth-child(2){gap:2px;display:grid}.sidebar__store small{color:#ffffffb8;font-size:.75rem}.sidebar__store strong{font-size:.78rem;font-weight:500}.sidebar__nav{flex:1}.sidebar__nav p{color:#ffffffa6;margin:0 12px 8px;font-size:.75rem}.sidebar__nav a,.sidebar__bottom>a{color:#ffffffd1;border-radius:11px;align-items:center;gap:12px;height:47px;margin:3px 0;padding:0 13px;font-size:.84rem;font-weight:500;transition:all .18s;display:flex;position:relative}.sidebar__logout{color:#ffffffc2;cursor:pointer;background:0 0;border:0;border-radius:11px;align-items:center;gap:12px;width:100%;height:47px;margin:3px 0;padding:0 13px;font-size:.84rem;font-weight:500;transition:all .18s;display:flex}.sidebar__logout:hover{color:#ffbbb7;background:#db625f1a}.sidebar__nav a:hover,.sidebar__bottom>a:hover{color:#fff;background:#ffffff0e}.sidebar__nav a.is-active,.sidebar__bottom>a.is-active{color:#fff;background:#ffffff1a}.sidebar__nav a.is-active:before,.sidebar__bottom>a.is-active:before{content:"";background:#f5c66f;border-radius:0 5px 5px 0;width:3px;height:23px;position:absolute;inset-inline-start:-18px}.sidebar__nav a.is-active svg{color:#f5c66f}.sidebar__bottom{z-index:1;border-top:1px solid #ffffff14;padding-top:12px;position:relative}.sidebar__help{color:#e7f0ed;background:#0d2b28a6;border-radius:13px;gap:4px;margin:13px 0 0;padding:14px;display:grid}.sidebar__help strong{font-size:.75rem}.sidebar__help span{color:#ffffffb3;font-size:.75rem}.sidebar-overlay{display:none}.app-shell__content{min-height:100vh;margin-right:272px}.topbar{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f8f9f6e0;border-bottom:1px solid #dee3ded9;justify-content:space-between;align-items:center;height:90px;padding:0 34px;display:flex;position:sticky;top:0}.mobile-bottom-nav{display:none}.topbar__intro{align-items:center;gap:12px;display:flex}.topbar__intro h1{margin:0;font-size:1.05rem;font-weight:700}.topbar__intro p{color:var(--muted);margin:5px 0 0;font-size:.75rem}.topbar__menu{display:none}.topbar__actions{align-items:center;gap:11px;display:flex}.topbar__search{color:#8a9894;background:#fff;border:1px solid #e2e7e2;border-radius:12px;align-items:center;gap:9px;width:clamp(230px,28vw,370px);height:44px;padding:0 13px;display:flex}.topbar__search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:.75rem}.topbar__search input::placeholder{color:#9ba6a3}.topbar__search kbd{color:#667570;direction:ltr;background:#f7f8f6;border:1px solid #e4e8e5;border-radius:5px;padding:3px 6px;font:.75rem sans-serif}.notification-button{position:relative}.notification-button i{background:#e4615e;border:2px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;inset:8px auto auto 8px}.profile-button{cursor:pointer;background:0 0;border:0;border-radius:13px;align-items:center;gap:9px;height:48px;padding:3px 5px 3px 10px;display:flex}.profile-button:hover{background:#edf1ed}.profile-button__avatar{color:#fff;background:linear-gradient(145deg,#2d736a,#163f3b);border-radius:11px;place-items:center;width:39px;height:39px;font-weight:700;display:grid}.profile-button>span:nth-child(2){text-align:right;min-width:88px;display:grid}.profile-button strong{font-size:.75rem}.profile-button small{color:var(--muted);margin-top:3px;font-size:.75rem}.profile-menu{position:relative}.profile-popover{z-index:30;border:1px solid var(--line);background:#fff;border-radius:14px;width:215px;padding:8px;position:absolute;top:calc(100% + 9px);left:0;box-shadow:0 16px 38px #142d2824}.profile-popover>div{border-bottom:1px solid #edf0ed;padding:9px 10px 12px;display:grid}.profile-popover>div strong{font-size:.75rem}.profile-popover>div small{color:var(--muted);text-align:right;direction:ltr;margin-top:3px;font-size:.75rem}.profile-popover>a,.profile-popover>button{color:#4d5b57;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;width:100%;height:40px;padding:0 9px;font-size:.75rem;display:flex}.profile-popover>a{margin-top:6px}.profile-popover>a:hover{color:var(--brand);background:var(--brand-soft)}.profile-popover>button:hover{color:#b34d49;background:var(--red-soft)}.page-container{width:min(1500px,100%);margin:0 auto;padding:28px 34px 42px}.page-heading{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.page-heading h2{margin:0;font-size:1.24rem}.page-heading p{color:var(--muted);margin:6px 0 0;font-size:.78rem}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-card{border-radius:var(--radius);background:var(--surface);min-height:126px;box-shadow:var(--shadow);border:1px solid #e1e6e1e6;align-items:flex-start;gap:14px;padding:20px;transition:all .2s;display:flex}.stat-card:hover{border-color:#d7dfda;transform:translateY(-2px);box-shadow:0 14px 32px #162d2914}.stat-card__icon{border-radius:13px;flex:none;place-items:center;width:44px;height:44px;display:grid}.stat-card__icon--green{color:var(--brand);background:var(--brand-soft)}.stat-card__icon--blue{color:var(--blue);background:var(--blue-soft)}.stat-card__icon--orange{color:var(--orange);background:var(--orange-soft)}.stat-card__icon--red{color:var(--red);background:var(--red-soft)}.stat-card__body{flex:1;min-width:0;display:grid}.stat-card__body>span{color:var(--muted);font-size:.75rem}.stat-card__body>strong{white-space:nowrap;letter-spacing:-.3px;margin:7px 0 8px;font-size:1.02rem}.trend{color:#87938f;align-items:center;gap:3px;font-size:.75rem;display:flex}.trend--up{color:var(--brand)}.trend--down{color:#c06f4a}.dashboard-grid{gap:16px;margin-top:16px;display:grid}.dashboard-grid--top{grid-template-columns:minmax(0,1.72fr) minmax(290px,.72fr)}.dashboard-grid--bottom{grid-template-columns:minmax(0,1.78fr) minmax(310px,.72fr)}.panel{border-radius:var(--radius);background:var(--surface);min-width:0;box-shadow:var(--shadow);border:1px solid #e1e6e1e6;padding:21px}.panel__header{justify-content:space-between;align-items:flex-start;gap:14px;min-height:44px;display:flex}.panel__header h3{margin:0;font-size:.95rem}.panel__header p{color:var(--muted);margin:6px 0 0;font-size:.75rem}.panel__header>a{color:var(--brand);font-size:.75rem;font-weight:600}.panel__metric{justify-items:end;display:grid}.panel__metric strong{font-size:.9rem}.panel__metric span{color:var(--brand);align-items:center;gap:3px;margin-top:5px;font-size:.75rem;display:flex}.sales-chart{direction:ltr;height:234px;margin-top:16px;display:flex}.sales-chart__scale{color:#98a29f;direction:rtl;flex-direction:column;justify-content:space-between;width:41px;padding:0 0 27px;font-size:.75rem;display:flex}.sales-chart__canvas{flex:1;min-width:0;position:relative}.sales-chart__canvas svg{width:100%;height:calc(100% - 27px);position:absolute;inset:0 0 27px;overflow:visible}.grid-line{background:#eff2ef;height:1px;position:absolute;left:0;right:0}.grid-line--1{top:25%}.grid-line--2{top:50%}.grid-line--3{top:75%}.chart-area{fill:url(#sales-area)}.chart-line{fill:none;stroke:#168978;stroke-linecap:round;stroke-width:3px;vector-effect:non-scaling-stroke}.chart-dot{fill:#fff;stroke:#168978;stroke-width:3px;vector-effect:non-scaling-stroke}.chart-tooltip{color:#fff;direction:rtl;background:#173e3a;border-radius:8px;padding:7px 10px;display:grid;position:absolute;top:27px;left:77%;transform:translate(-50%);box-shadow:0 8px 16px #0e342f33}.chart-tooltip:after{content:"";background:inherit;width:8px;height:8px;position:absolute;bottom:-4px;left:50%;transform:translate(-50%)rotate(45deg)}.chart-tooltip strong{font-size:.75rem}.chart-tooltip span{color:#ffffff9e;margin-top:2px;font-size:.75rem}.sales-chart__days{color:#8b9692;direction:rtl;justify-content:space-between;font-size:.75rem;display:flex;position:absolute;bottom:0;left:0;right:0}.quick-actions__grid{grid-template-columns:1fr 1fr;gap:9px;margin-top:15px;display:grid}.quick-actions__grid a{background:#fbfcfa;border:1px solid #ecf0ec;border-radius:13px;align-content:center;justify-items:center;min-height:111px;padding:12px;transition:all .2s;display:grid}.quick-actions__grid a:hover{background:#fff;border-color:#d8e2dc;transform:translateY(-2px);box-shadow:0 8px 18px #19373112}.quick-actions__grid strong{margin-top:8px;font-size:.75rem}.quick-actions__grid small{color:var(--muted);margin-top:3px;font-size:.75rem}.quick-action__icon{border-radius:10px;place-items:center;width:35px;height:35px;display:grid}.quick-action__icon svg{width:18px}.quick-action__icon--green{color:var(--brand);background:var(--brand-soft)}.quick-action__icon--blue{color:var(--blue);background:var(--blue-soft)}.quick-action__icon--orange{color:var(--orange);background:var(--orange-soft)}.quick-action__icon--purple{color:var(--purple);background:var(--purple-soft)}.cash-summary{background:#f3f7f4;border-radius:12px;justify-content:space-between;align-items:center;margin-top:12px;padding:13px 14px;display:flex}.cash-summary>span{align-items:center;gap:7px;display:flex}.cash-summary i{background:var(--brand);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #137d6e1a}.cash-summary small{color:var(--muted);font-size:.75rem}.cash-summary strong{font-size:.75rem}.recent-sales{padding-bottom:8px}.table-wrap{margin:12px -10px 0;overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;width:100%}th{color:#87928f;text-align:right;border-bottom:1px solid #edf0ed;padding:11px 10px;font-size:.75rem;font-weight:500}td{color:#5a6864;border-bottom:1px solid #f0f2f0;padding:13px 10px;font-size:.75rem}td strong{color:#33433f;font-weight:600}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbf9}.status-badge{color:#177967;background:#e7f4ef;border-radius:20px;padding:4px 8px;font-size:.75rem;display:inline-flex}.status-badge--credit{color:#9b642a;background:#fff0dd}.status-badge--partial{color:#5d6995;background:#edf0fa}.panel__count{width:29px;height:29px;color:var(--red);background:var(--red-soft);border-radius:9px;place-items:center;font-size:.75rem;font-weight:700;display:grid}.stock-alerts__list{margin-top:13px}.stock-item{border-bottom:1px solid #eff2ef;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 0;display:grid}.stock-item__icon{color:#9b6b31;background:#fff2e2;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.stock-item>div{min-width:0;display:grid}.stock-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.stock-item small{color:var(--muted);margin-top:3px;font-size:.75rem}.stock-item>b{color:var(--red);font-size:.76rem}.stock-item>b small{color:var(--muted);font-weight:400}.stock-progress{background:#f0e9e5;border-radius:3px;height:3px;margin-top:8px;overflow:hidden}.stock-progress i{border-radius:inherit;background:#e27a58;height:100%;display:block}.stock-alerts>.secondary-button{width:100%;min-height:40px;margin-top:14px;font-size:.75rem}.login-page{background:#fff;grid-template-columns:minmax(410px,.95fr) minmax(430px,1.05fr);min-height:100vh;display:grid}.login-visual{color:#fff;background:var(--brand-dark);min-height:680px;padding:46px;position:relative;overflow:hidden}.login-visual:before{content:"";border:1px solid #ffffff14;border-radius:50%;width:520px;height:520px;position:absolute;inset:auto auto -160px -160px;box-shadow:0 0 0 75px #ffffff06,0 0 0 150px #ffffff05}.login-visual:after{content:"";background:radial-gradient(circle,#2b8a7759,#0000 68%);border-radius:50%;width:340px;height:340px;position:absolute;top:-130px;right:-110px}.login-visual__content{z-index:1;flex-direction:column;height:100%;display:flex;position:relative}.login-visual__copy{margin:auto 0 25px}.eyebrow{color:#cae5de;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;padding:7px 11px;font-size:.75rem;display:inline-flex}.login-visual__copy h1{letter-spacing:-1.8px;margin:20px 0 13px;font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.35}.login-visual__copy h1 em{color:#f5c66f;font-style:normal}.login-visual__copy p{color:#ffffffa1;max-width:390px;margin:0;font-size:.88rem;line-height:2}.login-visual__bars{opacity:.75;direction:ltr;align-items:end;gap:13px;height:80px;display:flex}.login-visual__bars i{background:linear-gradient(#54ae9b,#2a84711f);border-radius:7px 7px 2px 2px;width:25px}.login-visual__bars i:first-child{height:30%}.login-visual__bars i:nth-child(2){height:55%}.login-visual__bars i:nth-child(3){height:42%}.login-visual__bars i:nth-child(4){height:69%}.login-visual__bars i:nth-child(5){height:61%}.login-visual__bars i:nth-child(6){height:88%}.login-visual__bars i:nth-child(7){height:76%}.login-form-wrap{place-items:center;padding:40px;display:grid}.login-form{width:min(100%,390px)}.login-form__mobile-brand{display:none}.login-form__heading{align-items:center;gap:12px;display:flex}.login-form__icon{width:49px;height:49px;color:var(--brand);background:var(--brand-soft);border-radius:15px;flex:0 0 49px;place-items:center;display:grid}.login-form h2{margin:0;font-size:1.55rem}.login-form__heading h2{white-space:nowrap;font-size:clamp(1rem,4.4vw,1.55rem)}.login-form>p{color:var(--muted);margin:9px 0 27px;font-size:.78rem}.login-form form{gap:16px;display:grid}.login-form form>label{color:#394743;gap:8px;font-size:.75rem;font-weight:500;display:grid}.input-wrap{color:#85918e;background:#fafbf9;border:1px solid #dee4df;border-radius:12px;align-items:center;gap:9px;height:49px;padding:0 14px;transition:all .2s;display:flex}.input-wrap:focus-within{color:var(--brand);background:#fff;border-color:#137d6e8c;box-shadow:0 0 0 4px #137d6e14}.input-wrap input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:.78rem}.input-wrap button{color:#8b9693;cursor:pointer;background:0 0;border:0;place-items:center;padding:4px;display:grid}.login-form__options{color:#687672;justify-content:space-between;align-items:center;font-size:.75rem;display:flex}.login-form__options label{align-items:center;gap:6px;display:flex}.login-form__options input{accent-color:var(--brand)}.login-form__options button{color:var(--brand);font-size:inherit;cursor:pointer;background:0 0;border:0;padding:0}.login-form__options>span{color:var(--brand);align-items:center;gap:4px;display:flex}.form-error{color:#a74340;background:#fff3f2;border:1px solid #f2cfcd;border-radius:9px;padding:10px 12px;font-size:.75rem}.form-success{color:#176e60;background:#eff9f5;border:1px solid #cae7df;border-radius:9px;margin:-12px 0 19px;padding:10px 12px;font-size:.75rem;line-height:1.7}.login-submit{width:100%;margin-top:4px}.login-form__footer{color:#a0aaa7;text-align:center;margin-top:45px;font-size:.75rem;display:block}.auth-switch{color:var(--muted);text-align:center;margin:18px 0 0;font-size:.8rem}.auth-switch a{color:var(--brand);font-weight:700;text-decoration:none}.auth-switch a:hover{text-decoration:underline}.auth-hint{color:var(--muted);margin-top:-10px;font-size:.72rem;line-height:1.8}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.session-loader{min-height:100vh;color:var(--brand);background:var(--canvas);place-content:center;justify-items:center;gap:12px;display:grid}.session-loader span{color:var(--muted);font-size:.75rem}.security-page{background:radial-gradient(circle at 85% 5%, #198b781a, transparent 27%), var(--canvas);min-height:100vh;padding:34px clamp(20px,5vw,70px) 50px}.security-page__brand{width:min(100%,1120px);margin:0 auto}.security-page__brand .brand small{color:var(--muted)}.security-card{border:1px solid var(--line);background:#fff;border-radius:22px;width:min(100%,510px);margin:42px auto 0;padding:30px;box-shadow:0 22px 55px #142d2817}.security-card__heading{align-items:center;gap:13px;display:flex}.security-card__heading>span{width:48px;height:48px;color:var(--brand);background:var(--brand-soft);border-radius:14px;place-items:center;display:grid}.security-card__heading>div{gap:3px;display:grid}.security-card__heading small{color:var(--orange);font-size:.75rem;font-weight:600}.security-card__heading h1{margin:0;font-size:1.3rem}.security-card>p{color:var(--muted);margin:18px 0 24px;font-size:.75rem;line-height:1.9}.security-card form{gap:15px;display:grid}.security-card form>label{color:#394743;gap:7px;font-size:.75rem;font-weight:500;display:grid}.password-requirements{background:#f7f9f6;border-radius:12px;grid-template-columns:1fr 1fr;gap:9px 12px;padding:13px;display:grid}.password-requirements span{color:#8a9592;align-items:center;gap:6px;font-size:.75rem;transition:all .2s;display:flex}.password-requirements i{color:#9da6a3;background:#fff;border:1px solid #d8ded9;border-radius:50%;place-items:center;width:17px;height:17px;display:grid}.password-requirements span.is-valid{color:#217a69}.password-requirements span.is-valid i{color:#fff;border-color:var(--brand);background:var(--brand)}.security-submit{width:100%;margin-top:3px}.security-card__back{color:var(--muted);cursor:pointer;background:0 0;border:0;margin:17px auto 0;padding:5px;font-size:.75rem;display:block}.module-placeholder{text-align:center;align-content:center;place-items:center;min-height:calc(100vh - 170px);display:grid}.module-placeholder>span{width:68px;height:68px;color:var(--brand);background:var(--brand-soft);border-radius:20px;place-items:center;display:grid}.module-placeholder>p:first-of-type{color:var(--brand);margin:18px 0 4px;font-size:.75rem;font-weight:600}.module-placeholder h2{margin:0;font-size:1.5rem}.module-placeholder>p:last-of-type{max-width:420px;color:var(--muted);margin:10px 0 20px;font-size:.76rem;line-height:1.9}.users-page{min-width:0}.users-heading{align-items:flex-end}.users-heading>div{display:grid}.page-kicker{color:var(--brand);margin-bottom:7px;font-size:.75rem;font-weight:700}.access-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:18px;display:grid}.access-stats article{border:1px solid var(--line);min-height:92px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:12px;padding:17px;display:flex}.access-stats__icon{border-radius:12px;flex:none;place-items:center;width:43px;height:43px;display:grid}.access-stats__icon--green{color:var(--brand);background:var(--brand-soft)}.access-stats__icon--blue{color:var(--blue);background:var(--blue-soft)}.access-stats__icon--orange{color:var(--orange);background:var(--orange-soft)}.access-stats article div{gap:5px;display:grid}.access-stats small{color:var(--muted);font-size:.75rem}.access-stats strong{font-size:1.12rem}.management-tabs{border:1px solid var(--line);background:#ecefea;border-radius:12px;margin-bottom:14px;padding:4px;display:inline-flex}.management-tabs button{color:#65736f;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;min-height:39px;padding:0 15px;font-size:.75rem;font-weight:600;display:flex}.management-tabs button.is-active{color:var(--brand-dark);background:#fff;box-shadow:0 3px 10px #1c332e14}.page-success{color:#176e60;background:#eff9f5;border:1px solid #cae7df;border-radius:11px;align-items:center;gap:8px;min-height:45px;margin-bottom:13px;padding:0 14px;font-size:.75rem;display:flex}.page-success button{color:inherit;cursor:pointer;background:0 0;border:0;margin-right:auto;padding:2px 8px;font-size:1.1rem}.users-panel{padding:0;overflow:hidden}.users-toolbar{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.users-toolbar label{color:#899590;background:#fafbf9;border:1px solid #dde3de;border-radius:11px;align-items:center;gap:8px;width:min(100%,390px);height:43px;padding:0 13px;display:flex}.users-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:.75rem}.users-toolbar select{color:#54625e;background:#fff;border:1px solid #dde3de;border-radius:11px;outline:0;min-width:148px;height:43px;padding:0 12px;font-size:.75rem}.users-table-wrap{overflow-x:auto}.users-table th{background:#fafbf9;padding:13px 18px}.users-table td{padding:14px 18px}.user-identity{align-items:center;gap:10px;min-width:210px;display:flex}.user-identity>span{width:38px;height:38px;color:var(--brand-dark);background:var(--brand-soft);border-radius:11px;flex:none;place-items:center;font-size:.78rem;font-weight:700;display:grid}.user-identity>div{gap:4px;min-width:0;display:grid}.user-identity strong{color:#263632;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.user-identity small{color:#8b9693;text-align:right;font-size:.75rem}.role-badges{flex-wrap:wrap;gap:5px;display:flex}.role-badges span{color:#49605b;background:#f7f9f7;border:1px solid #e1e8e3;border-radius:20px;padding:5px 8px;font-size:.75rem;display:inline-flex}.user-status{white-space:nowrap;align-items:center;gap:6px;font-size:.75rem;display:inline-flex}.user-status i{border-radius:50%;width:7px;height:7px}.user-status.is-active{color:#247867}.user-status.is-active i{background:#37a38d;box-shadow:0 0 0 4px #e7f5f1}.user-status.is-inactive{color:#a65b57}.user-status.is-inactive i{background:#d66b67;box-shadow:0 0 0 4px #fbeceb}.user-actions{justify-content:flex-end;gap:5px;display:flex}.user-actions button{color:#5f6e6a;cursor:pointer;background:#fff;border:1px solid #e2e7e3;border-radius:8px;align-items:center;gap:5px;min-height:34px;padding:0 9px;font-size:.75rem;display:inline-flex}.user-actions button:hover{color:var(--brand);background:#f6fbf9;border-color:#bcd8d0}.user-cards{display:none}.pagination{min-height:62px;color:var(--muted);border-top:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;font-size:.75rem;display:flex}.pagination>div{align-items:center;gap:8px;display:flex}.pagination button{color:#52615d;cursor:pointer;background:#fff;border:1px solid #e0e6e1;border-radius:8px;min-height:32px;padding:0 10px;font-size:.75rem}.pagination button:disabled{opacity:.45;cursor:not-allowed}.pagination b{font-weight:500}.management-loading,.management-empty{min-height:320px;color:var(--brand);text-align:center;place-content:center;justify-items:center;gap:8px;display:grid}.management-loading span,.management-empty p{color:var(--muted);font-size:.75rem}.management-empty svg{background:var(--brand-soft);border-radius:12px;width:40px;height:40px;padding:9px}.management-empty h3{color:var(--ink);margin:7px 0 0;font-size:.88rem}.management-empty p{margin:0 0 8px}.roles-layout{grid-template-columns:275px minmax(0,1fr);align-items:start;gap:14px;display:grid}.roles-list{padding:13px}.roles-list__heading{border-bottom:1px solid #edf0ed;align-items:center;gap:9px;padding:7px 6px 14px;display:flex}.roles-list__heading>span{width:37px;height:37px;color:var(--brand);background:var(--brand-soft);border-radius:10px;place-items:center;display:grid}.roles-list__heading div{gap:3px;display:grid}.roles-list__heading h3{margin:0;font-size:.78rem}.roles-list__heading p{color:var(--muted);margin:0;font-size:.75rem}.roles-list>button{color:#586762;text-align:right;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:65px;margin-top:7px;padding:9px;display:grid}.roles-list>button:hover{background:#f7f9f7}.roles-list>button.is-active{color:var(--brand-dark);background:#f0f8f5;border-color:#d8e9e4}.role-icon{width:36px;height:36px;color:var(--brand);background:#fff;border-radius:10px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #e2ebe7}.roles-list>button>span:nth-child(2){gap:4px;display:grid}.roles-list>button strong{font-size:.75rem}.roles-list>button small{color:var(--muted);font-size:.75rem}.roles-list>button b{min-width:25px;height:25px;color:var(--brand);background:#fff;border-radius:8px;place-items:center;padding:0 5px;font-size:.75rem;display:grid}.permissions-panel{padding:20px}.permissions-panel>header{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;padding-bottom:16px;display:flex}.permissions-panel>header>div{align-items:center;gap:10px;display:flex}.permissions-panel__icon{width:43px;height:43px;color:var(--brand);background:var(--brand-soft);border-radius:12px;place-items:center;display:grid}.permissions-panel>header span:last-child{gap:4px;display:grid}.permissions-panel h3{margin:0;font-size:.88rem}.permissions-panel header p{color:var(--muted);margin:0;font-size:.75rem}.permissions-panel>header>b{color:var(--brand);background:var(--brand-soft);border-radius:8px;padding:6px 9px;font-size:.75rem}.locked-role-note{color:#8a642f;background:#fff8ed;border:1px solid #f0dfc5;border-radius:11px;align-items:center;gap:9px;margin-top:15px;padding:12px;display:flex}.locked-role-note>span{gap:3px;display:grid}.locked-role-note strong{font-size:.75rem}.locked-role-note small{color:#9b815e;font-size:.75rem}.permission-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.permission-groups fieldset{border:1px solid #e8ece8;border-radius:12px;gap:5px;margin:0;padding:9px;display:grid}.permission-groups legend{color:#4f5e5a;padding:0 7px;font-size:.75rem;font-weight:700}.permission-groups label{cursor:pointer;border-radius:9px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;min-height:48px;padding:7px;display:grid}.permission-groups label:hover{background:#f8faf8}.permission-groups label.is-selected{background:#f1f8f5}.permission-groups input{opacity:0;pointer-events:none;position:absolute}.permission-groups label>i{color:#fff;background:#fff;border:1px solid #ced7d2;border-radius:5px;place-items:center;width:18px;height:18px;display:grid}.permission-groups label.is-selected>i{border-color:var(--brand);background:var(--brand)}.permission-groups label>span{gap:3px;min-width:0;display:grid}.permission-groups strong{font-size:.75rem}.permission-groups small{color:#99a39f;text-overflow:ellipsis;text-align:right;font-size:.75rem;overflow:hidden}.permissions-panel>.form-success{margin:14px 0 0}.permissions-panel>footer{color:var(--muted);background:#fafbf9;border-top:1px solid #edf0ed;justify-content:space-between;align-items:center;margin:16px -20px -20px;padding:14px 20px;font-size:.75rem;display:flex}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#071b188a;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.management-modal{background:#fff;border:1px solid #ffffffa6;border-radius:20px;width:min(100%,680px);max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 24px 70px #051c183d}.management-modal--small{width:min(100%,470px)}.management-modal__header{border-bottom:1px solid #edf0ed;grid-template-columns:43px minmax(0,1fr) 42px;align-items:center;gap:11px;padding:20px 22px;display:grid}.management-modal__header>span{width:43px;height:43px;color:var(--brand);background:var(--brand-soft);border-radius:12px;place-items:center;display:grid}.management-modal__header>div{gap:4px;display:grid}.management-modal__header h2{margin:0;font-size:.98rem}.management-modal__header p{color:var(--muted);margin:0;font-size:.75rem}.management-form{gap:16px;padding:20px 22px;display:grid}.management-form>label,.form-grid label{color:#40504c;gap:7px;font-size:.75rem;font-weight:600;display:grid}.management-form label small{color:var(--muted);font-size:.75rem;font-weight:400}.management-form input:not([type=checkbox]){width:100%;height:44px;color:var(--ink);background:#fafbf9;border:1px solid #dce3de;border-radius:10px;outline:0;padding:0 12px;font-size:.75rem}.management-form input:focus{background:#fff;border-color:#137d6e8c;box-shadow:0 0 0 4px #137d6e14}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.role-picker{border:1px solid #e4e9e5;border-radius:12px;margin:0;padding:10px}.role-picker legend{color:#40504c;padding:0 7px;font-size:.75rem;font-weight:700}.role-picker>div{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.role-picker label{cursor:pointer;border:1px solid #e7ebe8;border-radius:9px;align-items:center;gap:7px;min-height:54px;padding:8px;display:flex}.role-picker label.is-selected{background:#f0f8f5;border-color:#bcdcd3}.role-picker input{accent-color:var(--brand)}.role-picker span{gap:3px;display:grid}.role-picker strong{font-size:.75rem}.role-picker small{color:var(--muted);font-size:.75rem}.role-picker>p{color:#a06d34;margin:9px 3px 0;font-size:.75rem}.active-switch{cursor:pointer;background:#f7f9f7;border-radius:11px;align-items:center;padding:12px;grid-template-columns:none!important;gap:10px!important;display:flex!important}.active-switch input{opacity:0;position:absolute}.active-switch>i{background:#c8d0cc;border-radius:20px;flex:none;width:35px;height:20px;transition:all .2s;position:relative}.active-switch>i:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:all .2s;position:absolute;top:3px;right:3px}.active-switch.is-on>i{background:var(--brand)}.active-switch.is-on>i:after{transform:translate(-15px)}.active-switch>span{gap:3px;display:grid}.active-switch strong{font-size:.75rem}.active-switch small{color:var(--muted);font-size:.75rem;font-weight:400}.form-hint{color:var(--muted);margin:-4px 0 0;font-size:.75rem}.management-modal__actions{justify-content:flex-end;gap:8px;padding-top:3px;display:flex}.management-modal__actions button{min-width:110px}@media (width<=1250px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid--top,.dashboard-grid--bottom{grid-template-columns:minmax(0,1.5fr) minmax(275px,.75fr)}.profile-button>span:nth-child(2),.profile-button>svg{display:none}}@media (width<=1020px){.sidebar{transition:transform .25s;transform:translate(105%);box-shadow:-18px 0 45px #04191638}.sidebar.is-open{transform:translate(0)}.sidebar__close{display:grid}.sidebar-overlay{z-index:35;visibility:hidden;opacity:0;background:#0718166b;border:0;width:100%;height:100%;padding:0;transition:all .2s;display:block;position:fixed;inset:0}.sidebar-overlay.is-visible{visibility:visible;opacity:1}.app-shell__content{margin-right:0}.topbar__menu{display:grid}.dashboard-grid--top,.dashboard-grid--bottom{grid-template-columns:1fr}.quick-actions__grid{grid-template-columns:repeat(4,1fr)}.login-page{grid-template-columns:.85fr 1.15fr}.login-visual{padding:35px}.roles-layout{grid-template-columns:230px minmax(0,1fr)}}@media (width<=760px){.topbar{height:76px;padding:0 18px}.topbar__intro h1{font-size:.86rem}.topbar__intro p{font-size:.75rem}.topbar__search{display:none}.page-container{padding:22px 18px calc(120px + env(safe-area-inset-bottom,0px))}.mobile-bottom-nav{z-index:30;right:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(24px)saturate(1.45);background:#f5fbf8e0;border:1px solid #ffffffe6;border-radius:26px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;width:min(420px,100% - 24px);min-height:72px;padding:7px;display:grid;position:fixed;transform:translate(50%);box-shadow:0 12px 36px #10352f2e,inset 0 1px #ffffffe6}.mobile-bottom-nav__link{color:#596c66;text-align:center;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;min-height:56px;font-size:.67rem;font-weight:600;line-height:1.35;transition:background .2s,color .2s,transform .2s;display:flex}.mobile-bottom-nav__link span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.mobile-bottom-nav__link.is-active{color:#fff;background:linear-gradient(145deg,#1c8c7a,#11675d);box-shadow:0 5px 13px #11675d40,inset 0 1px #fff3}.mobile-bottom-nav__link:not(.is-active):active{background:#137d6e1a;transform:scale(.96)}.page-heading{align-items:flex-start;gap:14px}.page-heading h2{font-size:1.06rem}.page-heading p{max-width:260px;line-height:1.7}.page-heading .primary-button{white-space:nowrap;min-height:41px;padding:0 13px;font-size:.75rem}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{gap:10px;min-height:118px;padding:15px}.stat-card__icon{width:38px;height:38px}.stat-card__body>strong{white-space:normal;font-size:.86rem}.quick-actions__grid{grid-template-columns:1fr 1fr}.panel{padding:17px}.sales-chart{height:205px}.chart-tooltip{display:none}.login-page{background:#f6f8f5;display:block}.login-visual{display:none}.login-form-wrap{min-height:100vh;padding:28px 20px}.login-form{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:20px;padding:26px 22px}.login-form__mobile-brand{margin-bottom:32px;display:block}.login-form__mobile-brand .brand small{color:var(--muted)}.access-stats{grid-template-columns:repeat(3,1fr);gap:8px}.access-stats article{min-height:80px;padding:12px}.access-stats__icon{width:37px;height:37px}.access-stats small{font-size:.75rem}.access-stats strong{font-size:.9rem}.users-toolbar{align-items:stretch}.users-toolbar label{width:100%}.users-toolbar select{min-width:125px}.users-table-wrap{display:none}.user-cards{gap:10px;padding:12px;display:grid}.user-cards article{background:#fff;border:1px solid #e7ebe8;border-radius:13px;gap:11px;padding:14px;display:grid}.user-cards header{justify-content:space-between;align-items:flex-start;gap:9px;display:flex}.user-cards .user-identity{min-width:0}.user-cards>article>p{color:var(--muted);margin:0;font-size:.75rem}.user-cards .user-actions{justify-content:stretch}.user-cards .user-actions button{flex:1;justify-content:center}.roles-layout{grid-template-columns:1fr}.roles-list{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.roles-list__heading{grid-column:1/-1}.roles-list>button{grid-template-columns:32px minmax(0,1fr);margin:0}.roles-list>button>b{display:none}.role-icon{width:31px;height:31px}.permission-groups{grid-template-columns:1fr}}@media (width<=500px){.profile-button,.profile-menu{display:none}.stats-grid{grid-template-columns:1fr}.stat-card{min-height:105px}.sales-overview .panel__header{align-items:flex-start}.panel__metric strong{font-size:.75rem}.sales-chart__days span:nth-child(2n){display:none}.sidebar{width:min(86vw,290px)}.users-heading{align-items:flex-start}.users-heading>div{max-width:225px}.users-heading .primary-button{padding:0 11px}.access-stats{grid-template-columns:1fr 1fr}.access-stats article:last-child{grid-column:1/-1}.management-tabs{width:100%;display:flex}.management-tabs button{flex:1;justify-content:center;padding:0 7px}.users-toolbar{flex-direction:column}.users-toolbar select{width:100%}.pagination{flex-direction:column;align-items:flex-start}.pagination>div{justify-content:space-between;width:100%}.roles-list{grid-template-columns:1fr}.roles-list>button{grid-template-columns:38px minmax(0,1fr) auto}.roles-list>button>b{display:grid}.permissions-panel{padding:15px}.permissions-panel>header{align-items:flex-start}.permissions-panel>header>b{white-space:nowrap}.permissions-panel>footer{gap:10px;margin:15px -15px -15px;padding:12px 15px}.permissions-panel>footer span{display:none}.permissions-panel>footer button{width:100%}.modal-backdrop{place-items:end center;padding:0}.management-modal{border-radius:20px 20px 0 0;width:100%;max-height:92vh}.management-modal__header{grid-template-columns:39px minmax(0,1fr) 42px;padding:17px}.management-modal__header>span{width:39px;height:39px}.management-modal__header p{line-height:1.7}.management-form{padding:17px}.form-grid,.role-picker>div{grid-template-columns:1fr}.management-modal__actions{background:#fff;border-top:1px solid #e9ece9;margin:0 -17px -17px;padding:13px 17px;position:sticky;bottom:-17px}.management-modal__actions button{flex:1;min-width:0}}.purchases-page{min-width:0}.purchases-heading{align-items:flex-end}.purchases-heading>div{display:grid}.purchase-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:18px;display:grid}.purchase-stats article{border:1px solid var(--line);min-height:88px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:11px;padding:16px;display:flex}.purchase-stats article>span{width:42px;height:42px;color:var(--blue);background:var(--blue-soft);border-radius:12px;flex:none;place-items:center;display:grid}.purchase-stats article>span.green{color:var(--brand);background:var(--brand-soft)}.purchase-stats article>span.red{color:var(--red);background:var(--red-soft)}.purchase-stats article>div{gap:5px;min-width:0;display:grid}.purchase-stats small{color:var(--muted);font-size:.75rem}.purchase-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.83rem;overflow:hidden}.purchases-panel{padding:0;overflow:hidden}.purchase-toolbar{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.purchase-toolbar>label{color:#899590;background:#fafbf9;border:1px solid #dde3de;border-radius:11px;align-items:center;gap:8px;width:min(100%,440px);height:43px;padding:0 13px;display:flex}.purchase-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:.75rem}.purchase-toolbar select{color:#54625e;background:#fff;border:1px solid #dde3de;border-radius:10px;outline:0;min-width:155px;height:43px;padding:0 11px;font-family:inherit;font-size:.75rem}.purchase-table-wrap{overflow-x:auto}.purchase-table-wrap th{background:#fafbf9;padding:13px 15px}.purchase-table-wrap td{padding:14px 15px}.purchase-number{gap:4px;min-width:140px;display:grid}.purchase-number strong{color:#31433e;text-align:right;font-size:.75rem}.purchase-number small{color:var(--muted);font-size:.75rem}.purchase-debt{color:var(--red);font-weight:700}.purchase-status{color:#287566;background:var(--brand-soft);white-space:nowrap;border-radius:20px;padding:5px 8px;font-size:.75rem;display:inline-flex}.purchase-status.status-3{color:#9a682d;background:var(--orange-soft)}.purchase-status.status-4{color:#2f6f9d;background:var(--blue-soft)}.purchase-status.status-5{color:var(--red);background:var(--red-soft)}.purchase-cards{display:none}.purchase-form-modal{width:min(96vw,1180px);max-height:96vh}.purchase-form{gap:15px;padding:18px 20px 22px;display:grid}.purchase-form-section{background:#fff;border:1px solid #e4e9e5;border-radius:14px;gap:13px;padding:15px;display:grid}.purchase-form-section>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.purchase-form-section>header>div{min-width:0}.purchase-form-section>header:not(:has(div)){min-width:0}.purchase-form-section>header strong{font-size:.75rem;display:block}.purchase-form-section>header small{color:var(--muted);margin-top:4px;font-size:.75rem;display:block}.purchase-header-grid,.purchase-cost-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.purchase-header-grid>label,.purchase-cost-grid>label,.purchase-notes,.purchase-line label,.purchase-pricing__fields label{color:#40504c;gap:7px;min-width:0;font-size:.75rem;font-weight:600;display:grid}.purchase-header-grid input,.purchase-header-grid select,.purchase-cost-grid input,.purchase-cost-grid select,.purchase-line input,.purchase-line select,.purchase-pricing__fields input,.markup-settings input,.markup-settings select{width:100%;height:42px;color:var(--ink);background:#fafbf9;border:1px solid #dce3de;border-radius:9px;outline:0;padding:0 10px;font-family:inherit;font-size:.75rem}.purchase-header-grid input:focus,.purchase-header-grid select:focus,.purchase-line input:focus,.purchase-line select:focus{background:#fff;border-color:#137d6e8c;box-shadow:0 0 0 3px #137d6e12}.purchase-header-grid label>small,.purchase-cost-grid label>small,.purchase-line label>small,.purchase-notes>small{color:var(--muted);font-size:.75rem;font-weight:400}.purchase-empty-lines{min-height:130px;color:var(--brand);cursor:pointer;background:#f8fbf9;border:1px dashed #b8d5cd;border-radius:12px;place-content:center;justify-items:center;gap:7px;font-family:inherit;display:grid}.purchase-empty-lines strong{color:#344741;font-size:.75rem}.purchase-empty-lines small{color:var(--muted);font-size:.75rem}.purchase-lines{gap:10px;display:grid}.purchase-line{background:#fafbf9;border:1px solid #e3e9e5;border-radius:12px;gap:12px;padding:12px;display:grid}.purchase-line>header{grid-template-columns:28px minmax(0,1fr) 32px;align-items:end;gap:9px;display:grid}.purchase-line>header>span{width:27px;height:27px;color:var(--brand);background:var(--brand-soft);border-radius:8px;place-items:center;margin-bottom:7px;font-size:.75rem;font-weight:700;display:grid}.purchase-line>header>button{color:#b0534e;background:var(--red-soft);cursor:pointer;border:0;border-radius:8px;place-items:center;width:31px;height:31px;margin-bottom:5px;display:grid}.purchase-line__numbers{grid-template-columns:.65fr 1fr .8fr .8fr 1fr;align-items:end;gap:8px;display:grid}.purchase-line__numbers>span{background:#edf4f0;border-radius:9px;align-content:center;gap:3px;height:42px;padding:0 10px;display:grid}.purchase-line__numbers>span small{color:var(--muted);font-size:.75rem}.purchase-line__numbers>span strong{color:var(--brand);font-size:.75rem}.purchase-pricing{border-top:1px solid #e7ece8;gap:10px;padding:11px;display:grid}.purchase-pricing>div:first-child{color:var(--brand);align-items:center;gap:8px;display:flex}.purchase-pricing>div:first-child span{gap:3px;display:grid}.purchase-pricing>div:first-child strong{color:#35443f;font-size:.75rem}.purchase-pricing>div:first-child small,.purchase-pricing__readonly{color:var(--muted);font-size:.75rem}.price-apply-toggle{color:#697772;cursor:pointer;background:#fff;border:1px solid #dfe5e1;border-radius:9px;align-items:center;gap:7px;width:fit-content;min-height:34px;padding:0 10px;font-family:inherit;font-size:.75rem;display:flex}.price-apply-toggle i{background:#a7b0ad;border-radius:50%;width:8px;height:8px}.price-apply-toggle.is-on{color:var(--brand);background:var(--brand-soft);border-color:#bcd9d1}.price-apply-toggle.is-on i{background:var(--brand)}.purchase-pricing__fields{grid-template-columns:1fr auto 1fr 1.5fr;align-items:end;gap:8px;display:grid}.purchase-pricing__fields>button{height:42px;color:var(--brand);cursor:pointer;background:#fff;border:1px solid #c9ded8;border-radius:9px;padding:0 10px;font-family:inherit;font-size:.75rem}.markup-settings{background:#f3f7f4;border-radius:11px;align-items:center;gap:8px;padding:10px 12px;display:flex}.markup-settings>span{gap:3px;margin-left:auto;display:grid}.markup-settings strong{font-size:.75rem}.markup-settings small{color:var(--muted);font-size:.75rem}.markup-settings select{width:125px}.markup-settings input{width:90px}.markup-settings b{color:var(--muted);font-size:.75rem}.purchase-notes textarea{width:100%;color:var(--ink);resize:vertical;background:#fafbf9;border:1px solid #dce3de;border-radius:9px;padding:10px;font-family:inherit;font-size:.75rem}.purchase-total-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.purchase-total-strip>span{background:#f7f9f7;border-radius:10px;gap:5px;padding:10px;display:grid}.purchase-total-strip small{color:var(--muted);font-size:.75rem}.purchase-total-strip strong{font-size:.75rem}.purchase-total-strip .is-total{color:var(--brand);background:var(--brand-soft)}.purchase-total-strip .is-debt{color:var(--red);background:var(--red-soft)}.purchase-form__actions{z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-top:1px solid #e1e7e3;align-items:center;gap:9px;margin:0 -20px -22px;padding:14px 20px;display:flex;position:sticky;bottom:-22px}.purchase-form__actions>div{gap:3px;margin-left:auto;display:grid}.purchase-form__actions>div strong{font-size:.75rem}.purchase-form__actions>div small{color:var(--muted);font-size:.75rem}.purchase-detail-modal{width:min(96vw,980px)}.purchase-detail-body{gap:15px;padding:18px 20px 22px;display:grid}.purchase-detail-meta{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.purchase-detail-meta>span{background:#f7f9f7;border-radius:10px;gap:5px;padding:10px;display:grid}.purchase-detail-meta small{color:var(--muted);font-size:.75rem}.purchase-detail-meta strong{font-size:.75rem}.purchase-detail-table{border:1px solid #e7ebe8;border-radius:11px;overflow-x:auto}.purchase-detail-table th{background:#fafbf9}.purchase-item-name{min-width:165px;color:var(--brand);align-items:center;gap:7px;display:flex}.purchase-item-name>span{gap:3px;display:grid}.purchase-item-name strong{font-size:.75rem}.purchase-item-name small{color:var(--muted);text-align:right;font-size:.75rem}.purchase-detail-cards{display:none}.purchase-detail-notes{background:#f8faf8;border-radius:10px;padding:11px}.purchase-detail-notes small{color:var(--muted);font-size:.75rem}.purchase-detail-notes p{margin:5px 0 0;font-size:.75rem;line-height:1.8}.purchase-detail-totals{justify-content:flex-end;gap:8px;display:flex}.purchase-detail-totals>span{background:#f7f9f7;border-radius:10px;gap:5px;min-width:125px;padding:10px;display:grid}.purchase-detail-totals small{color:var(--muted);font-size:.75rem}.purchase-detail-totals strong{font-size:.75rem}.purchase-detail-totals .is-final{color:var(--red);background:var(--red-soft)}.product-row-actions,.product-card-actions{justify-content:flex-end;gap:5px;display:flex}.product-card-actions>button{flex:1}.price-change-reason{color:#40504c;gap:7px;margin-top:10px;font-size:.75rem;font-weight:600;display:grid}.price-history-modal{width:min(96vw,900px)}.price-history-list{gap:9px;padding:17px 19px 21px;display:grid}.price-history-list article{background:#fafbf9;border:1px solid #e5eae6;border-radius:12px;gap:11px;padding:12px;display:grid}.price-history-list article>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.price-history-list header>div{gap:4px;display:grid}.price-history-list header strong{font-size:.75rem}.price-history-list header small{color:var(--muted);font-size:.75rem}.price-history-list header>span{color:#596762;max-width:360px;font-size:.75rem;line-height:1.7}.price-history-list article>div{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.price-history-list article>div>span{background:#f1f4f1;border-radius:9px;grid-template-columns:1fr auto 1fr;align-items:center;gap:5px;padding:8px;display:grid}.price-history-list article>div small{color:var(--muted);grid-column:1/-1;font-size:.75rem}.price-history-list del{color:#87928f;font-size:.75rem}.price-history-list b{color:#adb5b2}.price-history-list strong{font-size:.75rem}.price-history-list .is-changed{background:var(--brand-soft)}.price-history-list .is-changed strong{color:var(--brand)}@media (width<=1000px){.purchase-header-grid,.purchase-cost-grid{grid-template-columns:repeat(2,1fr)}.purchase-line__numbers{grid-template-columns:repeat(4,1fr)}.purchase-line__numbers>span{grid-column:1/-1}.purchase-pricing__fields{grid-template-columns:1fr auto 1fr}.purchase-pricing__fields .reason{grid-column:1/-1}.purchase-detail-meta{grid-template-columns:repeat(3,1fr)}.purchase-detail-totals{grid-template-columns:repeat(3,1fr);display:grid}.purchase-detail-totals>span{min-width:0}}@media (width<=760px){.purchase-stats{grid-template-columns:repeat(3,1fr);gap:8px}.purchase-stats article{gap:8px;min-height:78px;padding:10px}.purchase-stats article>span{width:35px;height:35px}.purchase-stats small,.purchase-stats strong{font-size:.75rem}.purchase-toolbar{flex-direction:column;align-items:stretch}.purchase-toolbar>label,.purchase-toolbar select{width:100%}.purchase-table-wrap{display:none}.purchase-cards{gap:9px;padding:12px;display:grid}.purchase-cards article{cursor:pointer;background:#fff;border:1px solid #e5eae6;border-radius:12px;gap:9px;padding:13px;display:grid}.purchase-cards header,.purchase-cards footer{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.purchase-cards h3{margin:0;font-size:.75rem}.purchase-cards article>div:not(.purchase-number){grid-template-columns:1fr 1fr;gap:8px;display:grid}.purchase-cards article>div>span{background:#f7f9f7;border-radius:8px;gap:4px;padding:8px;display:grid}.purchase-cards article>div small,.purchase-cards footer{color:var(--muted);font-size:.75rem}.purchase-cards article>div strong{font-size:.75rem}.purchase-cards footer span{align-items:center;gap:4px;display:flex}.purchase-form-modal{border-radius:0;width:100%;max-height:100vh}.purchase-form{padding:13px}.purchase-header-grid,.purchase-cost-grid{grid-template-columns:1fr}.purchase-line__numbers{grid-template-columns:1fr 1fr}.purchase-line__numbers>span{grid-column:1/-1}.purchase-pricing__fields{grid-template-columns:1fr 1fr}.purchase-pricing__fields>button{order:3}.purchase-pricing__fields .reason{grid-column:1/-1}.markup-settings{flex-wrap:wrap;align-items:stretch}.markup-settings>span{width:100%;margin-left:0}.markup-settings select,.markup-settings input{flex:1;width:auto}.purchase-total-strip{grid-template-columns:1fr 1fr}.purchase-total-strip .is-debt{grid-column:1/-1}.purchase-form__actions{flex-wrap:wrap;margin:0 -13px -13px;padding:12px 13px;bottom:-13px}.purchase-form__actions>div{width:100%;margin-left:0}.purchase-form__actions>button{flex:1}.purchase-detail-meta{grid-template-columns:1fr 1fr}.purchase-detail-table{display:none}.purchase-detail-cards{gap:8px;display:grid}.purchase-detail-cards article{border:1px solid #e6ebe7;border-radius:10px;gap:9px;padding:11px;display:grid}.purchase-detail-cards header{justify-content:space-between;gap:8px;display:flex}.purchase-detail-cards header strong{font-size:.75rem}.purchase-detail-cards header small{color:var(--muted);font-size:.75rem}.purchase-detail-cards article>div{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.purchase-detail-cards span{gap:4px;display:grid}.purchase-detail-cards span small{color:var(--muted);font-size:.75rem}.purchase-detail-cards span strong{font-size:.75rem}.price-history-list article>header{display:grid}.price-history-list header>span{max-width:none}.price-history-list article>div{grid-template-columns:1fr}}@media (width<=500px){.purchases-heading{align-items:flex-start}.purchases-heading>div{max-width:215px}.purchases-heading .primary-button{padding-inline:9px}.purchase-stats{grid-template-columns:1fr}.purchase-stats article{min-height:65px}.purchase-line>header{grid-template-columns:25px minmax(0,1fr) 30px}.purchase-line__numbers,.purchase-pricing__fields{grid-template-columns:1fr}.purchase-pricing__fields .reason,.purchase-line__numbers>span{grid-column:auto}.purchase-total-strip,.purchase-detail-meta,.purchase-detail-totals{grid-template-columns:1fr}.purchase-total-strip .is-debt{grid-column:auto}.purchase-detail-cards article>div{grid-template-columns:1fr}}@media (width<=560px){.security-page{padding:22px 16px 30px}.security-card{border-radius:18px;margin-top:27px;padding:23px 19px}.password-requirements{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.products-page{min-width:0}.products-heading{align-items:flex-end}.products-heading>div{display:grid}.catalog-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px;display:grid}.catalog-stats article{border:1px solid var(--line);min-height:88px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:12px;padding:16px;display:flex}.catalog-stat-icon{width:43px;height:43px;color:var(--purple);background:var(--purple-soft);border-radius:12px;flex:none;place-items:center;display:grid}.catalog-stat-icon--green{color:var(--brand);background:var(--brand-soft)}.catalog-stat-icon--orange{color:var(--orange);background:var(--orange-soft)}.catalog-stat-icon--blue{color:var(--blue);background:var(--blue-soft)}.catalog-stats article div{gap:5px;display:grid}.catalog-stats small{color:var(--muted);font-size:.75rem}.catalog-stats strong{font-size:1.08rem}.products-panel{padding:0;overflow:hidden}.catalog-toolbar{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.catalog-toolbar>label{color:#899590;background:#fafbf9;border:1px solid #dde3de;border-radius:11px;align-items:center;gap:8px;width:min(100%,390px);height:43px;padding:0 13px;display:flex}.catalog-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:.75rem}.catalog-toolbar>div{gap:8px;display:flex}.catalog-toolbar select,.management-form select{color:#54625e;background:#fff;border:1px solid #dde3de;border-radius:10px;outline:0;height:43px;padding:0 11px;font-family:inherit;font-size:.75rem}.catalog-toolbar select{min-width:145px}.management-form select{background:#fafbf9;width:100%}.catalog-toolbar select:focus,.management-form select:focus{border-color:#137d6e8c;box-shadow:0 0 0 4px #137d6e14}.products-table-wrap{overflow-x:auto}.products-table th{background:#fafbf9;padding:13px 16px}.products-table td{padding:14px 16px}.product-identity{align-items:center;gap:10px;min-width:225px;display:flex}.product-identity>span{width:39px;height:39px;color:var(--brand);background:var(--brand-soft);border-radius:11px;flex:none;place-items:center;display:grid}.product-identity>div,.product-meta{gap:4px;min-width:0;display:grid}.product-identity strong{color:#263632;text-overflow:ellipsis;max-width:260px;font-size:.75rem;overflow:hidden}.product-identity small,.product-meta small{color:#8b9693;text-align:right;font-size:.75rem}.product-meta strong{color:#52615d;font-size:.75rem;font-weight:600}.sale-price{color:var(--brand);font-weight:700}.product-status{color:#a05f59;white-space:nowrap;align-items:center;gap:6px;font-size:.75rem;display:inline-flex}.product-status i{background:#cf6b65;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #faeceb}.product-status.is-active{color:#247867}.product-status.is-active i{background:#37a38d;box-shadow:0 0 0 4px #e7f5f1}.table-edit{color:#5f6e6a;cursor:pointer;background:#fff;border:1px solid #e2e7e3;border-radius:8px;align-items:center;gap:5px;min-height:34px;padding:0 9px;font-family:inherit;font-size:.75rem;display:inline-flex}.table-edit:hover{color:var(--brand);background:#f6fbf9;border-color:#bcd8d0}.product-cards{display:none}.catalog-reference-grid{grid-template-columns:1fr 1fr;align-items:start;gap:14px;display:grid}.reference-panel{padding:0;overflow:hidden}.reference-panel>header{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:10px;min-height:82px;padding:15px 17px;display:flex}.reference-panel>header>div{align-items:center;gap:10px;min-width:0;display:flex}.reference-panel>header>div>span:last-child{gap:4px;min-width:0;display:grid}.reference-panel h3{margin:0;font-size:.79rem}.reference-panel p{color:var(--muted);margin:0;font-size:.75rem;line-height:1.6}.reference-panel .secondary-button{white-space:nowrap;min-height:36px;padding:0 10px;font-size:.75rem}.reference-panel__icon{width:40px;height:40px;color:var(--brand);background:var(--brand-soft);border-radius:11px;flex:none;place-items:center;display:grid}.reference-panel__icon--blue{color:var(--blue);background:var(--blue-soft)}.reference-list{max-height:520px;padding:7px 14px 12px;display:grid;overflow-y:auto}.reference-list article{border-bottom:1px solid #edf0ed;grid-template-columns:38px minmax(0,1fr) auto 31px;align-items:center;gap:9px;min-height:68px;padding:10px 2px;display:grid}.reference-list article:last-child{border-bottom:0}.reference-avatar{width:36px;height:36px;color:var(--brand);background:#eff7f4;border-radius:10px;place-items:center;font-size:.75rem;font-weight:700;display:grid}.reference-avatar--blue{color:var(--blue);background:var(--blue-soft);direction:ltr}.reference-list article>div{gap:4px;min-width:0;display:grid}.reference-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.reference-list small{color:var(--muted);font-size:.75rem}.reference-status{color:#9c625d;background:#fbeeed;border-radius:12px;padding:5px 7px;font-size:.75rem}.reference-status.is-active{color:#247867;background:#eaf6f2}.reference-edit{color:#72807c;cursor:pointer;background:#fff;border:1px solid #e1e6e2;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.reference-edit:hover{color:var(--brand);border-color:#bcd8d0}.reference-empty{min-height:180px;color:var(--muted);text-align:center;place-items:center;font-size:.75rem;display:grid}.product-modal{width:min(100%,760px)}.product-barcode-field{color:#40504c;align-content:start;gap:7px;min-width:0;font-size:.75rem;font-weight:600;display:grid}.product-barcode-field>label{cursor:pointer;width:fit-content}.product-barcode-control{grid-template-columns:minmax(0,1fr) auto;gap:7px;min-width:0;display:grid}.product-barcode-control>button{min-width:125px;min-height:44px;color:var(--brand);background:var(--brand-soft);white-space:nowrap;cursor:pointer;border:1px solid #b9d9d0;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-family:inherit;font-size:.75rem;font-weight:700;display:inline-flex}.product-barcode-control>button:hover{background:#e2f2ed;border-color:#8fc5b6}.product-barcode-success{align-items:center;gap:5px;line-height:1.7;display:flex;color:var(--brand)!important;font-size:.75rem!important}.product-barcode-success svg{flex:none}.product-barcode-scanner-backdrop{z-index:150}.product-barcode-scanner-modal{width:min(96vw,680px)}.product-barcode-scanner-body .barcode-feedback.has-error{background:#fff7f6}.product-barcode-scanner-body>.barcode-scanner-actions{border-top:1px solid #e8eeea}.form-section{gap:13px;display:grid}.form-section+.form-section{border-top:1px solid #edf0ed;padding-top:15px}.form-section__title{gap:4px;display:grid}.form-section__title strong{font-size:.75rem}.form-section__title small{color:var(--muted);font-size:.75rem}.form-grid__wide{grid-column:1/-1}.form-grid--prices{grid-template-columns:repeat(3,1fr)}.price-margin{color:#267565;background:#eff8f5;border-radius:10px;justify-content:space-between;align-items:center;min-height:42px;padding:0 12px;font-size:.75rem;display:flex}.price-margin strong{font-size:.75rem}.price-margin.is-negative{color:#a34e49;background:#fff0ef}@media (width<=1250px){.catalog-stats{grid-template-columns:repeat(2,1fr)}}@media (width<=1020px){.catalog-reference-grid{grid-template-columns:1fr}}@media (width<=760px){.catalog-stats{grid-template-columns:repeat(4,1fr);gap:8px}.catalog-stats article{gap:8px;min-height:78px;padding:11px}.catalog-stat-icon{width:36px;height:36px}.catalog-stats small{font-size:.75rem}.catalog-stats strong{font-size:.86rem}.catalog-toolbar{flex-direction:column;align-items:stretch}.catalog-toolbar>label{width:100%}.catalog-toolbar>div{grid-template-columns:1fr 1fr;display:grid}.catalog-toolbar select{width:100%;min-width:0}.products-table-wrap{display:none}.product-cards{gap:10px;padding:12px;display:grid}.product-cards article{background:#fff;border:1px solid #e7ebe8;border-radius:13px;gap:12px;padding:14px;display:grid}.product-cards header{justify-content:space-between;align-items:flex-start;gap:9px;display:flex}.product-cards .product-identity{min-width:0}.product-card__meta{flex-wrap:wrap;gap:6px;display:flex}.product-card__meta span{color:#566660;background:#f2f5f2;border-radius:15px;padding:5px 8px;font-size:.75rem}.product-card__prices{grid-template-columns:1fr 1fr;gap:8px;display:grid}.product-card__prices>span{background:#f8faf8;border-radius:9px;gap:4px;padding:9px;display:grid}.product-card__prices small{color:var(--muted);font-size:.75rem}.product-card__prices strong{color:var(--brand-dark);font-size:.75rem}.product-cards>article>.secondary-button{width:100%;min-height:36px;font-size:.75rem}}@media (width<=500px){.products-heading{align-items:flex-start}.products-heading>div{max-width:225px}.products-heading .primary-button{padding:0 11px}.catalog-stats{grid-template-columns:1fr 1fr}.catalog-toolbar>div{grid-template-columns:1fr}.reference-panel>header,.reference-panel>header>div{align-items:flex-start}.reference-panel p{display:none}.reference-list{padding-inline:10px}.reference-list article{grid-template-columns:36px minmax(0,1fr) auto 31px;gap:7px}.reference-status{display:none}.form-grid--prices{grid-template-columns:1fr}}.customers-page{min-width:0}.customers-heading{align-items:flex-end}.customers-heading>div{display:grid}.customer-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px;display:grid}.customer-stats article{border:1px solid var(--line);min-height:88px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:11px;padding:16px;display:flex}.customer-stat-icon{width:42px;height:42px;color:var(--blue);background:var(--blue-soft);border-radius:12px;flex:none;place-items:center;display:grid}.customer-stat-icon--green{color:var(--brand);background:var(--brand-soft)}.customer-stat-icon--orange{color:var(--orange);background:var(--orange-soft)}.customer-stat-icon--red{color:var(--red);background:var(--red-soft)}.customer-stats article div{gap:5px;min-width:0;display:grid}.customer-stats small{color:var(--muted);font-size:.75rem}.customer-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;overflow:hidden}.customers-panel{padding:0;overflow:hidden}.customer-toolbar{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.customer-toolbar>label{color:#899590;background:#fafbf9;border:1px solid #dde3de;border-radius:11px;align-items:center;gap:8px;width:min(100%,390px);height:43px;padding:0 13px;display:flex}.customer-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:.75rem}.customer-toolbar>div{gap:8px;display:flex}.customer-toolbar select{color:#54625e;background:#fff;border:1px solid #dde3de;border-radius:10px;outline:0;min-width:145px;height:43px;padding:0 11px;font-family:inherit;font-size:.75rem}.customers-table-wrap{overflow-x:auto}.customers-table{table-layout:fixed;white-space:normal}.customers-table th{background:#fafbf9;padding:13px 12px}.customers-table td{padding:14px 12px}.customers-table th:first-child{width:21%}.customers-table th:nth-child(2){width:19%}.customers-table th:nth-child(3){width:23%}.customers-table th:nth-child(4){width:13%}.customers-table th:nth-child(5){width:24%}.customers-table .customer-identity,.customers-table .customer-contact,.customers-table .customer-credit-summary,.customers-table .customer-actions{min-width:0}.customer-identity{align-items:center;gap:10px;min-width:170px;display:flex}.customer-identity>span{width:39px;height:39px;color:var(--brand-dark);background:var(--brand-soft);border-radius:50%;flex:none;place-items:center;font-size:.77rem;font-weight:700;display:grid}.customer-identity>div{gap:4px;min-width:0;display:grid}.customer-identity strong{color:#263632;text-overflow:ellipsis;max-width:180px;font-size:.75rem;overflow:hidden}.customer-identity small{color:#8b9693;text-align:right;font-size:.75rem}.customer-identity .customer-activity{margin-top:2px}.customer-contact{gap:5px;min-width:145px;max-width:190px;display:grid}.customer-contact span{color:#65736f;align-items:center;gap:5px;min-width:0;font-size:.75rem;display:flex}.customer-contact span:last-child{color:#929c98;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.credit-status{color:#61716c;white-space:nowrap;background:#f0f3f1;border-radius:15px;width:fit-content;padding:5px 8px;font-size:.75rem;display:inline-flex}.credit-status--2{color:#9a6b30;background:#fff2df}.credit-status--3{color:#207663;background:#e8f5f1}.credit-status--4{color:#9b5c57;background:#fbeceb}.credit-status--5{color:#7a657d;background:#f3edf4}.customer-activity{color:#a05f59;white-space:nowrap;align-items:center;gap:6px;font-size:.75rem;display:inline-flex}.customer-activity i{background:#cf6b65;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #faeceb}.customer-activity.is-active{color:#247867}.customer-activity.is-active i{background:#37a38d;box-shadow:0 0 0 4px #e7f5f1}.debt-amount{color:#b55650;font-weight:700}.customer-credit-summary{gap:6px;min-width:175px;display:grid}.customer-credit-summary small{color:var(--muted);font-size:.75rem;line-height:1.7}.customer-actions{justify-content:flex-end;gap:5px;display:flex}.customer-actions button,.customer-actions a{color:#5f6e6a;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e2e7e3;border-radius:8px;align-items:center;gap:5px;min-height:34px;padding:0 8px;font-family:inherit;font-size:.75rem;text-decoration:none;display:inline-flex}.customer-actions button:hover,.customer-actions a:hover{color:var(--brand);background:#f6fbf9;border-color:#bcd8d0}.customer-actions .is-credit-primary{color:var(--brand);background:var(--brand-soft);border-color:#a9d3c8;font-weight:700}.customers-table .customer-actions{grid-template-columns:1fr 1fr;min-width:170px;display:grid}.customers-table .customer-actions .is-credit-primary{grid-column:1/-1;justify-content:center}.customers-table .customer-actions a,.customers-table .customer-actions button:not(.is-credit-primary){justify-content:center}.customer-cards{display:none}.management-form textarea,.credit-modal textarea{width:100%;color:var(--ink);resize:vertical;background:#fafbf9;border:1px solid #dce3de;border-radius:10px;outline:0;padding:10px 12px;font-family:inherit;font-size:.75rem;line-height:1.8}.management-form textarea:focus,.credit-modal textarea:focus{background:#fff;border-color:#137d6e8c;box-shadow:0 0 0 4px #137d6e14}.customer-modal{width:min(100%,700px)}.credit-modal{width:min(100%,820px)}.credit-modal__body{gap:16px;padding:18px 21px 22px;display:grid}.credit-overview{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.credit-overview>div{background:#f9faf8;border:1px solid #e6ebe7;border-radius:11px;align-content:center;gap:7px;min-height:70px;padding:11px 12px;display:grid}.credit-overview small{color:var(--muted);font-size:.75rem}.credit-overview strong{font-size:.75rem}.credit-overview strong.is-debt{color:var(--red)}.current-guarantees{border:1px solid #e4ebe7;border-radius:12px;padding:13px}.current-guarantees>header{color:var(--brand);align-items:center;gap:7px;display:flex}.current-guarantees>header strong{font-size:.75rem}.current-guarantees>div{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.current-guarantees>div>span{background:#f3f7f4;border-radius:9px;gap:3px;min-width:130px;padding:8px 10px;display:grid}.current-guarantees b{color:var(--muted);font-size:.75rem;font-weight:500}.current-guarantees strong{font-size:.75rem}.current-guarantees small{color:var(--muted);text-align:right;font-size:.75rem}.credit-request-form,.credit-decision{border-top:1px solid #edf0ed;gap:13px;padding-top:15px;display:grid}.credit-section-heading>div{gap:4px;display:grid}.credit-section-heading strong{font-size:.75rem}.credit-section-heading small{color:var(--muted);font-size:.75rem}.credit-limit-field,.credit-request-form label,.credit-decision label,.guarantee-builder label{color:#40504c;gap:7px;font-size:.75rem;font-weight:600;display:grid}.credit-limit-field>span{background:#fafbf9;border:1px solid #dce3de;border-radius:10px;align-items:center;height:43px;display:flex;overflow:hidden}.credit-limit-field input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:100%;padding:0 12px;font-family:inherit}.credit-limit-field b{color:var(--muted);border-right:1px solid #e4e8e5;padding:0 12px;font-size:.75rem}.guarantee-builder{gap:9px;display:grid}.guarantee-builder article{background:#fbfcfa;border:1px solid #e3e9e5;border-radius:12px;gap:10px;padding:12px;display:grid}.guarantee-builder article>header{justify-content:space-between;align-items:center;display:flex}.guarantee-builder article>header strong{font-size:.75rem}.guarantee-builder article>header button{color:#b45a54;cursor:pointer;background:#fceeed;border:0;border-radius:8px;place-items:center;width:29px;height:29px;display:grid}.guarantee-builder select,.guarantee-builder input{width:100%;height:41px;color:var(--ink);background:#fff;border:1px solid #dce3de;border-radius:9px;outline:0;padding:0 11px;font-family:inherit;font-size:.75rem}.guarantee-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.self-guarantee{min-height:47px;color:var(--brand);background:var(--brand-soft);border-radius:9px;align-items:center;gap:8px;padding:8px 10px;display:flex}.self-guarantee span{gap:3px;display:grid}.self-guarantee strong{color:var(--ink);font-size:.75rem}.self-guarantee small{color:var(--muted);font-size:.75rem}.add-guarantee{width:fit-content;min-height:35px;color:var(--brand);cursor:pointer;background:#f5fbf9;border:1px dashed #a9d1c7;border-radius:9px;align-items:center;gap:6px;padding:0 10px;font-family:inherit;font-size:.75rem;display:inline-flex}.credit-request-submit{width:fit-content;min-width:155px;margin-right:auto}.credit-decision textarea{margin-top:1px}.credit-decision__actions{justify-content:flex-end;gap:8px;display:flex}.credit-limit-preview{grid-template-columns:1fr 1fr;gap:8px;display:grid}.credit-limit-preview>span{background:#f4f7f5;border-radius:9px;gap:4px;padding:10px 12px;display:grid}.credit-limit-preview small{color:var(--muted);font-size:.75rem}.credit-limit-preview strong{color:var(--brand);font-size:.75rem}.credit-limit-warning{color:#8b642c;background:var(--orange-soft);border-radius:9px;padding:9px 11px;font-size:.75rem;line-height:1.8}.credit-suspension-control{border-top:1px dashed #dfe5e1;gap:11px;margin-top:4px;padding-top:14px;display:grid}.credit-suspension-control>button{width:fit-content;margin-right:auto}.danger-button{color:#a74742;cursor:pointer;background:#fff2f1;border:1px solid #efc9c6;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 15px;font-family:inherit;font-size:.75rem;font-weight:600;display:inline-flex}.danger-button:disabled{opacity:.55;cursor:not-allowed}.readonly-credit-note{color:var(--brand);background:var(--brand-soft);border-radius:11px;align-items:center;gap:9px;padding:12px;display:flex}.readonly-credit-note span{gap:3px;display:grid}.readonly-credit-note strong{color:var(--ink);font-size:.75rem}.readonly-credit-note small{color:var(--muted);font-size:.75rem}.credit-guidance{color:var(--blue);background:#f4f8fb;border:1px solid #dce8f1;border-radius:11px;align-items:center;gap:9px;padding:11px 12px;display:flex}.credit-guidance>span{background:#e6f0f7;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;display:grid}.credit-guidance>div{gap:3px;display:grid}.credit-guidance strong{color:var(--ink);font-size:.75rem}.credit-guidance small{color:var(--muted);font-size:.75rem;line-height:1.8}.credit-guidance--2{color:var(--orange);background:#fff9ef;border-color:#f0dfc6}.credit-guidance--2>span{background:var(--orange-soft)}.credit-guidance--3{color:var(--brand);background:#f3faf8;border-color:#cfe7e1}.credit-guidance--3>span{background:var(--brand-soft)}.credit-guidance--4,.credit-guidance--5{color:var(--red);background:#fff7f6;border-color:#efd8d5}.credit-guidance--4>span,.credit-guidance--5>span{background:var(--red-soft)}.credit-flow{border-top:0;padding-top:0}.credit-flow-heading{border-top:1px solid #edf0ed;align-items:center;gap:9px;padding-top:14px;display:flex}.credit-flow-heading:first-child{border-top:0;padding-top:0}.credit-flow-heading>span{color:#fff;background:var(--brand);border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-size:.75rem;font-weight:800;display:grid}.credit-flow-heading>div{gap:3px;display:grid}.credit-flow-heading strong{font-size:.75rem}.credit-flow-heading small{color:var(--muted);font-size:.75rem;line-height:1.7}.credit-flow-heading.is-danger>span{background:var(--red)}.credit-limit-presets{flex-wrap:wrap;gap:6px;display:flex}.credit-limit-presets button{color:#65736f;cursor:pointer;background:#fff;border:1px solid #dfe5e1;border-radius:8px;min-height:32px;padding:0 9px;font-family:inherit;font-size:.75rem}.credit-limit-presets button:hover,.credit-limit-presets button.is-selected{color:var(--brand);background:var(--brand-soft);border-color:#9ecdc1}.credit-flow-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.credit-review-summary{grid-template-columns:1fr 1fr;gap:8px;display:grid}.credit-review-summary>span{background:#f4f7f5;border-radius:9px;gap:4px;padding:10px 12px;display:grid}.credit-review-summary small{color:var(--muted);font-size:.75rem}.credit-review-summary strong{font-size:.75rem}.credit-danger-confirm{background:#fff7f6;border:1px solid #efcecb;border-radius:11px;gap:10px;padding:12px;display:grid}.credit-danger-confirm>div:first-child{color:var(--red);align-items:center;gap:8px;display:flex}.credit-danger-confirm>div:first-child span{gap:3px;display:grid}.credit-danger-confirm strong{color:var(--ink);font-size:.75rem}.credit-danger-confirm small{color:var(--muted);font-size:.75rem}.credit-danger-confirm>div:last-child{justify-content:flex-end;gap:7px;display:flex}.credit-manage-home{gap:13px;display:grid}.credit-manage-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.credit-manage-actions>button{min-height:76px;color:var(--brand);text-align:right;cursor:pointer;background:#fff;border:1px solid #d9e6e1;border-radius:11px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px;font-family:inherit;display:grid}.credit-manage-actions>button:hover{background:#f6fbf9;border-color:#a9d3c8}.credit-manage-actions>button>span{background:var(--brand-soft);border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.credit-manage-actions>button>div{gap:4px;display:grid}.credit-manage-actions strong{color:var(--ink);font-size:.75rem}.credit-manage-actions small{color:var(--muted);font-size:.75rem;line-height:1.6}.credit-manage-actions>button.is-danger{color:var(--red)}.credit-manage-actions>button.is-danger>span{background:var(--red-soft)}.credit-back-button{width:fit-content;color:var(--brand);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-family:inherit;font-size:.75rem;display:inline-flex}.customer-profile-heading{align-items:flex-end}.customer-profile-heading .secondary-button{text-decoration:none}.customer-profile-overview{grid-template-columns:minmax(270px,.72fr) minmax(0,1.55fr);align-items:stretch;gap:13px;margin-bottom:14px;display:grid}.customer-profile-identity{align-content:start;gap:14px;padding:17px;display:grid}.customer-profile-identity>header{grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.customer-profile-identity>header>span{color:#fff;background:linear-gradient(145deg,var(--brand),#2d9b87);border-radius:13px;place-items:center;width:46px;height:46px;font-size:.86rem;font-weight:800;display:grid}.customer-profile-identity>header>div{gap:4px;min-width:0;display:grid}.customer-profile-identity>header strong{font-size:.75rem}.customer-profile-identity>header small{color:var(--muted);font-size:.75rem}.customer-profile-identity>header i{color:#995a54;background:var(--red-soft);border-radius:999px;padding:5px 8px;font-size:.75rem;font-style:normal}.customer-profile-identity>header i.is-active{color:var(--brand);background:var(--brand-soft)}.customer-profile-identity>div{gap:8px;display:grid}.customer-profile-identity>div span{color:#66746f;align-items:flex-start;gap:7px;min-width:0;font-size:.75rem;line-height:1.8;display:flex}.customer-profile-identity>div svg{color:var(--brand);flex:none;margin-top:2px}.customer-profile-identity>div b{font-weight:500}.customer-profile-identity>p{color:#687570;background:#f6f8f6;border-radius:9px;margin:0;padding:9px 10px;font-size:.75rem;line-height:1.8}.customer-profile-stats{grid-template-columns:1fr 1fr;gap:10px;display:grid}.customer-profile-stats article{border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);background:#fff;border-radius:14px;align-items:center;gap:10px;padding:14px;display:flex}.customer-profile-stats article>span{color:#9a692d;background:var(--orange-soft);border-radius:11px;flex:none;place-items:center;width:40px;height:40px;display:grid}.customer-profile-stats article>span.green{color:var(--brand);background:var(--brand-soft)}.customer-profile-stats article>span.red{color:var(--red);background:var(--red-soft)}.customer-profile-stats article>span.blue{color:var(--blue);background:var(--blue-soft)}.customer-profile-stats article>span svg{width:20px}.customer-profile-stats article>div{gap:4px;min-width:0;display:grid}.customer-profile-stats small,.customer-profile-stats em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-style:normal;overflow:hidden}.customer-profile-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.customer-profile-credit{grid-template-columns:auto repeat(3,1fr);align-items:center;gap:12px;margin-bottom:14px;padding:12px 15px;display:grid}.customer-profile-credit>div{border-right:1px solid #e7ebe8;gap:4px;padding-right:12px;display:grid}.customer-profile-credit small{color:var(--muted);font-size:.75rem}.customer-profile-credit strong{font-size:.75rem}.customer-profile-guarantees{gap:12px;margin-bottom:14px;padding:14px 16px;display:grid}.customer-profile-guarantees>header{color:var(--brand);align-items:center;gap:9px;display:flex}.customer-profile-guarantees>header>div{gap:3px;display:grid}.customer-profile-guarantees>header strong{color:var(--ink);font-size:.75rem}.customer-profile-guarantees>header small{color:var(--muted);font-size:.75rem}.customer-profile-guarantees>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.customer-profile-guarantees article{background:#f8faf8;border:1px solid #e5ebe7;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 10px;min-width:0;padding:10px 11px;display:grid}.customer-profile-guarantees article>span{gap:3px;min-width:0;display:grid}.customer-profile-guarantees article b{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.customer-profile-guarantees article small,.customer-profile-guarantees article em{color:var(--muted);font-size:.75rem;font-style:normal}.customer-profile-guarantees article p{color:#687570;grid-column:1/-1;margin:2px 0 0;font-size:.75rem;line-height:1.7}.customer-activity-panel{padding:0;overflow:visible}.customer-activity-panel>header{border-bottom:1px solid #e8ece9;justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:13px 17px;display:flex}.customer-activity-panel>header>div{color:var(--brand);align-items:center;gap:9px;display:flex}.customer-activity-panel>header>div span{gap:3px;display:grid}.customer-activity-panel>header strong{color:var(--ink);font-size:.75rem}.customer-activity-panel>header small{color:var(--muted);font-size:.75rem}.customer-activity-panel>header button b{background:var(--brand-soft);border-radius:999px;padding:3px 6px;font-size:.75rem}.customer-activity-panel>header button.is-filtered{color:var(--brand);border-color:#acd1c8}.customer-activity-filters{background:#fafbf9;border-bottom:1px solid #e8ece9;gap:12px;padding:14px 17px;display:grid}.customer-activity-filters>label:not(.customer-date-filter-toggle){color:#4b5a55;gap:6px;max-width:310px;font-size:.75rem;font-weight:600;display:grid}.customer-activity-filters select{background:#fff;border:1px solid #dce3de;border-radius:9px;outline:0;width:100%;height:41px;padding:0 10px;font-family:inherit}.customer-date-filter-toggle{cursor:pointer;align-items:center;gap:8px;width:fit-content;display:flex}.customer-date-filter-toggle input{width:17px;height:17px;accent-color:var(--brand)}.customer-date-filter-toggle>span{gap:3px;display:grid}.customer-date-filter-toggle strong{font-size:.75rem}.customer-date-filter-toggle small{color:var(--muted);font-size:.75rem}.customer-date-filter-range{grid-template-columns:1fr 1fr;gap:9px;display:grid}.customer-date-filter-range .persian-date-time-field{padding:0}.customer-filter-actions{justify-content:flex-end;gap:8px;display:flex}.customer-activity-refresh{color:var(--brand);background:var(--brand-soft);align-items:center;gap:6px;padding:8px 17px;font-size:.75rem;display:flex}.customer-activity-refresh svg{width:14px}.customer-activity-list{gap:10px;padding:14px 17px;display:grid}.customer-activity-card{background:#fff;border:1px solid #e3e9e5;border-radius:12px;gap:11px;padding:13px;display:grid}.customer-activity-card>header{grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;display:grid}.customer-activity-icon{width:37px;height:37px;color:var(--brand);background:var(--brand-soft);border-radius:10px;place-items:center;display:grid}.customer-activity-card>header>span{gap:4px;min-width:0;display:grid}.customer-activity-card>header>span strong{font-size:.75rem}.customer-activity-card>header>span small{color:var(--muted);font-size:.75rem}.customer-activity-card>header>span b{font-size:.75rem}.customer-invoice-amounts{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.customer-invoice-amounts>span{background:#f5f8f6;border-radius:9px;gap:4px;padding:8px 10px;display:grid}.customer-invoice-amounts small{color:var(--muted);font-size:.75rem}.customer-invoice-amounts strong{font-size:.75rem}.customer-invoice-preview{border:1px solid #e9edea;border-radius:9px;overflow:hidden}.customer-invoice-preview>header,.customer-invoice-preview>div{border-bottom:1px solid #edf0ee;grid-template-columns:minmax(0,1fr) 110px 125px;align-items:center;gap:8px;padding:8px 10px;display:grid}.customer-invoice-preview>header{color:#53615d;background:#f7f9f7;justify-content:space-between;display:flex}.customer-invoice-preview>header strong{font-size:.75rem}.customer-invoice-preview>header small{color:var(--muted);font-size:.75rem}.customer-invoice-preview>div:last-of-type{border-bottom:0}.customer-invoice-preview>div>span:first-child{gap:3px;display:grid}.customer-invoice-preview b,.customer-invoice-preview>div>strong{font-size:.75rem}.customer-invoice-preview small,.customer-invoice-preview>div>span{color:var(--muted);font-size:.75rem}.customer-invoice-preview>div>strong{color:var(--ink)}.customer-invoice-preview>em{color:var(--brand);background:#f8fbfa;border-top:1px dashed #dce5e1;padding:7px 10px;font-size:.75rem;font-style:normal;display:block}.customer-activity-card>footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.customer-activity-card>footer>span{color:var(--muted);font-size:.75rem}.customer-activity-card>footer button{min-height:34px;color:var(--brand);cursor:pointer;background:#f5fbf9;border:1px solid #b9d8d0;border-radius:8px;padding:0 10px;font-family:inherit;font-size:.75rem;font-weight:600}.customer-activity-card.is-ledger{border-right:3px solid #d9e4df}.customer-activity-card.is-ledger.is-credit{border-right-color:#73b8a8}.customer-activity-card.is-ledger>p{color:#5d6b66;margin:0 47px 0 0;font-size:.75rem;line-height:1.8}.customer-activity-card.is-ledger>footer{margin-right:47px}.customer-activity-card.is-ledger>footer span{align-items:center;gap:5px;display:flex}.customer-ledger-amount{color:var(--brand);white-space:nowrap;font-size:.75rem}@media (width<=1250px){.customer-stats{grid-template-columns:repeat(2,1fr)}.customer-profile-overview{grid-template-columns:1fr}.customer-profile-stats{grid-template-columns:repeat(4,1fr)}}@media (width<=760px){.customer-stats{grid-template-columns:repeat(4,1fr);gap:8px}.customer-stats article{gap:8px;min-height:78px;padding:10px}.customer-stat-icon{width:35px;height:35px}.customer-stats small,.customer-stats strong{font-size:.75rem}.customer-profile-guarantees>div{grid-template-columns:1fr 1fr}.customer-toolbar{flex-direction:column;align-items:stretch}.customer-toolbar>label{width:100%}.customer-toolbar>div{grid-template-columns:1fr 1fr;display:grid}.customer-toolbar select{width:100%;min-width:0}.customers-table-wrap{display:none}.customer-cards{gap:10px;padding:12px;display:grid}.customer-cards article{background:#fff;border:1px solid #e7ebe8;border-radius:13px;gap:12px;padding:14px;display:grid}.customer-cards header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.customer-cards .customer-identity{min-width:0}.customer-card__contact{background:#f8faf8;border-radius:9px;padding:9px}.customer-cards .customer-credit-summary{background:#f8faf8;border-radius:9px;padding:10px}.customer-card__credit{grid-template-columns:auto 1fr 1fr;align-items:center;gap:8px;display:grid}.customer-card__credit>span:not(.credit-status){gap:3px;display:grid}.customer-card__credit small{color:var(--muted);font-size:.75rem}.customer-card__credit strong{font-size:.75rem}.customer-cards .customer-actions{flex-wrap:wrap}.customer-cards .customer-actions button,.customer-cards .customer-actions a{flex:1;justify-content:center}.customer-cards .customer-actions .is-credit-primary{flex-basis:100%}.customer-profile-heading{flex-direction:column;align-items:stretch}.customer-profile-heading .secondary-button{justify-content:center}.customer-profile-stats,.customer-profile-credit{grid-template-columns:1fr 1fr}.customer-profile-credit>span{grid-column:1/-1}.customer-profile-credit>div{background:#f5f8f6;border:0;border-radius:8px;padding:9px}.customer-activity-panel>header{flex-direction:column;align-items:stretch}.customer-activity-panel>header>button{justify-content:center}.customer-date-filter-range{grid-template-columns:1fr}.customer-invoice-preview>header,.customer-invoice-preview>div{grid-template-columns:minmax(0,1fr) 75px 100px}.customer-activity-card>footer{flex-direction:column;align-items:stretch}.customer-activity-card>footer button{width:100%}}@media (width<=500px){.customers-heading{align-items:flex-start}.customers-heading>div{max-width:225px}.customers-heading .primary-button{padding:0 10px}.customer-stats{grid-template-columns:1fr 1fr}.customer-stats article:last-child strong{font-size:.68rem}.customer-toolbar>div{grid-template-columns:1fr}.customer-card__credit{grid-template-columns:1fr 1fr}.customer-card__credit .credit-status{grid-column:1/-1}.credit-modal__body{padding:16px}.credit-overview{grid-template-columns:1fr 1fr}.credit-overview>div:first-child{grid-column:auto}.guarantee-grid,.credit-limit-preview,.credit-review-summary,.credit-manage-actions{grid-template-columns:1fr}.credit-decision__actions,.credit-flow-actions{flex-direction:column-reverse;align-items:stretch}.credit-decision__actions button,.credit-flow-actions button,.credit-request-submit,.credit-suspension-control>button{width:100%}.credit-danger-confirm>div:last-child{flex-direction:column-reverse;align-items:stretch}.credit-danger-confirm>div:last-child button{width:100%}.current-guarantees>div{grid-template-columns:1fr;display:grid}.current-guarantees>div>span{min-width:0}.customer-profile-stats,.customer-profile-credit,.customer-invoice-amounts,.customer-profile-guarantees>div{grid-template-columns:1fr}.customer-profile-credit>span{grid-column:auto}.customer-profile-identity>header{grid-template-columns:42px minmax(0,1fr)}.customer-profile-identity>header>span{width:42px;height:42px}.customer-profile-identity>header i{grid-column:2;width:fit-content}.customer-activity-list{padding:10px}.customer-activity-card>header{grid-template-columns:35px minmax(0,1fr)}.customer-activity-card>header>.sales-status,.customer-ledger-amount{grid-column:2;width:fit-content}.customer-invoice-preview>header{display:flex}.customer-invoice-preview>div{grid-template-columns:minmax(0,1fr) auto}.customer-invoice-preview>div>strong{grid-column:1/-1}.customer-activity-card.is-ledger>p,.customer-activity-card.is-ledger>footer{margin-right:0}.customer-filter-actions{flex-direction:column-reverse;align-items:stretch}.customer-filter-actions button{justify-content:center;width:100%}}.suppliers-page{min-width:0}.suppliers-heading{align-items:flex-end}.suppliers-heading>div{display:grid}.supplier-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px;display:grid}.supplier-stats article{border:1px solid var(--line);min-height:88px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:11px;padding:16px;display:flex}.supplier-stats article>div{gap:5px;min-width:0;display:grid}.supplier-stats small{color:var(--muted);font-size:.75rem}.supplier-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.supplier-stat-icon{width:42px;height:42px;color:var(--orange);background:var(--orange-soft);border-radius:12px;flex:none;place-items:center;display:grid}.supplier-stat-icon.is-green{color:var(--brand);background:var(--brand-soft)}.supplier-stat-icon.is-red{color:var(--red);background:var(--red-soft)}.supplier-stat-icon.is-blue{color:var(--blue);background:var(--blue-soft)}.suppliers-panel{padding:0;overflow:hidden}.supplier-toolbar{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.supplier-toolbar>label{color:#899590;background:#fafbf9;border:1px solid #dde3de;border-radius:11px;align-items:center;gap:8px;width:min(100%,430px);height:43px;padding:0 13px;display:flex}.supplier-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:.75rem}.supplier-toolbar select{color:#54625e;background:#fff;border:1px solid #dde3de;border-radius:10px;outline:0;min-width:155px;height:43px;padding:0 11px;font-family:inherit;font-size:.75rem}.suppliers-table-wrap{overflow-x:auto}.suppliers-table th{background:#fafbf9;padding:13px 15px}.suppliers-table td{padding:14px 15px}.supplier-identity{align-items:center;gap:10px;min-width:190px;display:flex}.supplier-identity>span{color:#9a682e;background:#fff1dc;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-size:.78rem;font-weight:700;display:grid}.supplier-identity>div,.supplier-contact{gap:4px;min-width:0;display:grid}.supplier-identity strong{color:#263632;text-overflow:ellipsis;max-width:220px;font-size:.75rem;overflow:hidden}.supplier-identity small{color:#8b9693;text-align:right;font-size:.75rem}.supplier-contact{min-width:145px}.supplier-contact strong{font-size:.75rem}.supplier-contact span,.supplier-address{color:#7e8b87;align-items:center;gap:5px;font-size:.75rem;display:flex}.supplier-address{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.supplier-activity{color:#a05f59;white-space:nowrap;align-items:center;gap:6px;font-size:.75rem;display:inline-flex}.supplier-activity i{background:#cf6b65;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #faeceb}.supplier-activity.is-active{color:#247867}.supplier-activity.is-active i{background:#37a38d;box-shadow:0 0 0 4px #e7f5f1}.supplier-list-balance,.supplier-balance{gap:3px;width:fit-content;display:grid}.supplier-list-balance strong,.supplier-balance strong{color:#5c6b67;font-size:.75rem}.supplier-list-balance small,.supplier-balance small{color:var(--muted);font-size:.75rem}.supplier-list-balance.is-payable strong,.supplier-balance.is-payable strong{color:#b0504b}.supplier-list-balance.is-advance strong,.supplier-balance.is-advance strong{color:#2d6fa0}.supplier-balance.is-compact strong{font-size:.75rem}.supplier-actions{justify-content:flex-end;gap:5px;display:flex}.supplier-actions button{color:#5f6e6a;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e2e7e3;border-radius:8px;align-items:center;gap:5px;min-height:34px;padding:0 8px;font-family:inherit;font-size:.75rem;display:inline-flex}.supplier-actions button:hover{color:var(--brand);background:#f6fbf9;border-color:#bcd8d0}.supplier-cards{display:none}.supplier-modal{width:min(100%,720px)}.opening-balance-box{background:#f8faf8;border:1px solid #e2e9e4;border-radius:12px;gap:12px;padding:14px;display:grid}.opening-balance-box>div:first-child{gap:4px;display:grid}.opening-balance-box strong{font-size:.75rem}.opening-balance-box small{color:var(--muted);font-size:.75rem}.opening-balance-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.opening-balance-fields label{color:#40504c;gap:6px;font-size:.75rem;font-weight:600;display:grid}.supplier-ledger-modal{width:min(100%,1050px)}.supplier-ledger-body{gap:15px;padding:18px 20px 22px;display:grid}.ledger-summary{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:stretch;gap:9px;display:grid}.ledger-summary article{background:#f9faf8;border:1px solid #e6ebe7;border-radius:11px;align-items:center;gap:9px;min-height:70px;padding:11px 12px;display:flex}.ledger-summary article:first-child{align-content:center;gap:6px;display:grid}.ledger-summary article>div{gap:5px;display:grid}.ledger-summary small{color:var(--muted);font-size:.75rem}.ledger-summary strong{font-size:.75rem}.ledger-summary>button{min-height:70px;padding-inline:15px}.ledger-summary__icon{border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid}.ledger-summary__icon.debit{color:#2f779f;background:var(--blue-soft)}.ledger-summary__icon.credit{color:#b25a4f;background:var(--red-soft)}.ledger-entry-form{background:#f8fbf9;border:1px solid #dce8e2;border-radius:13px;gap:13px;padding:15px;display:grid}.ledger-entry-form__heading{color:var(--brand);justify-content:space-between;align-items:center;display:flex}.ledger-entry-form__heading>div{gap:4px;display:grid}.ledger-entry-form__heading strong{color:var(--ink);font-size:.75rem}.ledger-entry-form__heading small{color:var(--muted);font-size:.75rem}.ledger-entry-form label{color:#40504c;gap:7px;font-size:.75rem;font-weight:600;display:grid}.ledger-entry-form label small{color:var(--muted);font-size:.75rem;font-weight:400}.form-field-label{align-items:center;gap:7px;min-height:18px;display:flex}.form-field-label>small{white-space:nowrap;background:#eaf0ed;border-radius:999px;align-items:center;padding:2px 7px;line-height:1.4;display:inline-flex;color:#72807c!important;font-size:.75rem!important;font-weight:500!important}.ledger-entry-form input,.ledger-entry-form select{width:100%;height:42px;color:var(--ink);background:#fff;border:1px solid #dce3de;border-radius:9px;outline:0;padding:0 11px;font-family:inherit;font-size:.75rem}.ledger-reference-field input{text-align:right}.ledger-reference-field input::placeholder{color:#a2aaa7;font-size:.75rem}.ledger-entry-form textarea{width:100%;color:var(--ink);resize:vertical;background:#fff;border:1px solid #dce3de;border-radius:9px;outline:0;padding:9px 11px;font-family:inherit;font-size:.75rem;line-height:1.8}.ledger-entry-submit{width:fit-content;margin-right:auto}.persian-date-time-field{gap:7px;display:grid}.persian-date-time-field>label{color:#40504c;font-size:.75rem;font-weight:600}.persian-date-time-picker__shell{color:#7b8884;width:100%;position:relative}.persian-date-time-picker__container{width:100%}.persian-date-time-picker__input{width:100%;height:42px;color:var(--ink);font-variant-numeric:tabular-nums;text-align:right;cursor:pointer;direction:ltr;background:#fff;border:1px solid #dce3de;border-radius:9px;outline:0;padding:0 12px 0 42px;font-family:inherit;font-size:.75rem;transition:border-color .15s,box-shadow .15s,background .15s}.persian-date-time-picker__input:focus{border-color:#137d6e99;box-shadow:0 0 0 3px #137d6e14}.persian-date-time-picker__calendar-icon{z-index:2;color:var(--brand);pointer-events:none;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.persian-date-time-picker__shell.is-disabled{opacity:.62}.persian-date-time-picker__shell.is-disabled .persian-date-time-picker__input{cursor:not-allowed;background:#f1f4f2}.shamim-date-time-picker,.shamim-date-time-picker *{font-family:inherit}.shamim-date-time-picker .rmdp-week-day{color:var(--brand)}.shamim-date-time-picker .rmdp-day.rmdp-today span{color:var(--brand);background:var(--brand-soft)}.shamim-date-time-picker .rmdp-time-picker div input{color:var(--ink)}.rmdp-calendar-container-mobile{z-index:1200!important}.async-search-select{color:#40504c;gap:7px;min-width:0;font-size:.75rem;font-weight:600;display:grid;position:relative}.async-search-select__control{color:#8a9591;background:#fafbf9;border:1px solid #dce3de;border-radius:9px;align-items:center;gap:7px;width:100%;height:42px;padding:0 10px;transition:border-color .15s,box-shadow .15s,background .15s;display:flex}.async-search-select__control.is-open{color:var(--brand);background:#fff;border-color:#137d6e8c;box-shadow:0 0 0 3px #137d6e12}.async-search-select__control input{width:100%;min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:0;font-family:inherit;font-size:.75rem}.async-search-select__control input:disabled{cursor:not-allowed}.async-search-select__popover{z-index:80;width:max(100%,280px);color:var(--ink);background:#fff;border:1px solid #dce5e0;border-radius:11px;position:absolute;top:calc(100% + 6px);right:0;overflow:hidden;box-shadow:0 14px 35px #0f2d2629}.async-search-select__options{gap:2px;max-height:245px;padding:5px;display:grid;overflow-y:auto}.async-search-select__options>button{width:100%;min-height:45px;color:inherit;text-align:right;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;font-family:inherit;display:flex}.async-search-select__options>button:hover,.async-search-select__options>button[aria-selected=true]{background:var(--brand-soft)}.async-search-select__options>button:disabled{opacity:.55;cursor:not-allowed}.async-search-select__options>button>span{gap:4px;min-width:0;display:grid}.async-search-select__options strong{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.async-search-select__options small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:400;overflow:hidden}.async-search-select__options em{color:var(--muted);white-space:nowrap;font-size:.75rem;font-style:normal}.async-search-select__popover>footer{min-height:38px;color:var(--muted);background:#fafbf9;border-top:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:8px;padding:5px 9px;font-size:.75rem;font-weight:400;display:flex}.async-search-select__popover>footer>div{align-items:center;gap:6px;display:flex}.async-search-select__popover>footer button{width:27px;height:27px;color:var(--brand);cursor:pointer;background:#fff;border:1px solid #dbe5e0;border-radius:7px;place-items:center;display:grid}.async-search-select__popover>footer button:disabled{color:#b9c1be;cursor:not-allowed}.async-search-select__popover>footer b{min-width:18px;color:var(--ink);text-align:center}.async-search-select__state{min-height:82px;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:7px;padding:14px;font-size:.75rem;font-weight:400;display:flex}.async-search-select__state button{color:var(--brand);cursor:pointer;background:#f5fbf9;border:1px solid #cfe1dc;border-radius:7px;padding:5px 8px;font-family:inherit;font-size:.75rem}.readonly-ledger-note{color:#356f64;background:var(--brand-soft);border-radius:10px;padding:11px 13px;font-size:.75rem}.ledger-table-wrap{border:1px solid #e8ece9;border-radius:12px;overflow-x:auto}.ledger-table th{background:#fafbf9;padding:11px 13px}.ledger-table td{padding:12px 13px}.ledger-description{gap:4px;min-width:170px;max-width:270px;display:grid}.ledger-description strong{color:#374742;font-size:.75rem}.ledger-description span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.ledger-debit{color:#2f779f}.ledger-credit{color:#b0524b}.ledger-cards{display:none}.ledger-pagination{padding-inline:0;border-top:0;padding-bottom:0}@media (width<=1250px){.supplier-stats{grid-template-columns:repeat(2,1fr)}.ledger-summary{grid-template-columns:repeat(3,1fr)}.ledger-summary>button{grid-column:1/-1;min-height:42px}}@media (width<=760px){.supplier-stats{grid-template-columns:repeat(4,1fr);gap:8px}.supplier-stats article{gap:8px;min-height:78px;padding:10px}.supplier-stat-icon{width:35px;height:35px}.supplier-stats small,.supplier-stats strong{font-size:.75rem}.supplier-toolbar{flex-direction:column;align-items:stretch}.supplier-toolbar>label,.supplier-toolbar select{width:100%}.suppliers-table-wrap{display:none}.supplier-cards{gap:10px;padding:12px;display:grid}.supplier-cards article{background:#fff;border:1px solid #e7ebe8;border-radius:13px;gap:11px;padding:14px;display:grid}.supplier-cards header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.supplier-cards .supplier-identity{min-width:0}.supplier-card__contact{background:#f8faf8;border-radius:9px;gap:7px;padding:9px;display:grid}.supplier-card__contact>span{color:var(--muted);align-items:center;gap:5px;font-size:.75rem;display:flex}.supplier-card__balance{justify-content:space-between;align-items:center;display:flex}.supplier-card__balance>small{color:var(--muted);font-size:.75rem}.supplier-cards .supplier-actions button{flex:1;justify-content:center}.supplier-ledger-modal{max-height:96vh}.supplier-ledger-body{padding:14px}.ledger-summary{grid-template-columns:1fr 1fr}.ledger-summary article:first-child{grid-column:1/-1}.ledger-summary article{min-height:64px}.ledger-summary>button{grid-column:1/-1;min-height:41px}.ledger-table-wrap{display:none}.ledger-cards{gap:9px;display:grid}.ledger-cards article{background:#fff;border:1px solid #e5eae6;border-radius:11px;gap:9px;padding:12px;display:grid}.ledger-cards header,.ledger-cards footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.ledger-cards header span{font-size:.75rem;font-weight:700}.ledger-cards time,.ledger-cards footer>small{color:var(--muted);font-size:.75rem}.ledger-cards p{color:#66736f;margin:0;font-size:.75rem}.ledger-cards article>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.ledger-cards article>div>span{background:#f7f9f7;border-radius:8px;gap:4px;padding:8px;display:grid}.ledger-cards article>div small{color:var(--muted);font-size:.75rem}.ledger-cards article>div strong{font-size:.75rem}.ledger-entry-form .form-grid{grid-template-columns:1fr}}@media (width<=500px){.suppliers-heading{align-items:flex-start}.suppliers-heading>div{max-width:220px}.suppliers-heading .primary-button{padding-inline:9px}.supplier-stats{grid-template-columns:1fr 1fr}.opening-balance-fields,.ledger-summary{grid-template-columns:1fr}.ledger-summary article:first-child,.ledger-summary>button{grid-column:auto}.ledger-pagination{flex-direction:column;align-items:stretch;gap:9px}.ledger-pagination>div{justify-content:space-between}.async-search-select__popover{width:100%;min-width:0}.async-search-select__options{max-height:210px}}.inventory-page{min-width:0}.inventory-heading{align-items:flex-end}.inventory-heading>div:last-child{gap:8px;display:flex}.inventory-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px;display:grid}.inventory-stats article{border:1px solid var(--line);min-height:88px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:11px;padding:16px;display:flex}.inventory-stats article>span{color:#9a682e;background:var(--orange-soft);border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid}.inventory-stats article>span.green{color:var(--brand);background:var(--brand-soft)}.inventory-stats article>span.red{color:var(--red);background:var(--red-soft)}.inventory-stats article>span.blue{color:var(--blue);background:var(--blue-soft)}.inventory-stats article>div{gap:5px;min-width:0;display:grid}.inventory-stats small{color:var(--muted);font-size:.75rem}.inventory-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.inventory-panel{padding:0;overflow:hidden}.inventory-toolbar{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.inventory-toolbar>label{color:#899590;background:#fafbf9;border:1px solid #dde3de;border-radius:11px;align-items:center;gap:8px;width:min(100%,430px);height:43px;padding:0 13px;display:flex}.inventory-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-family:inherit;font-size:.75rem}.inventory-toolbar>div{gap:8px;display:flex}.inventory-toolbar select{color:#54625e;background:#fff;border:1px solid #dde3de;border-radius:10px;outline:0;min-width:145px;height:43px;padding:0 11px;font-family:inherit;font-size:.75rem}.inventory-table-wrap{overflow-x:auto}.inventory-table-wrap th{background:#fafbf9;padding:12px 14px}.inventory-table-wrap td{padding:13px 14px}.inventory-product{align-items:center;gap:9px;min-width:205px;display:flex}.inventory-product>span{width:39px;height:39px;color:var(--brand);background:var(--brand-soft);border-radius:11px;flex:none;place-items:center;font-weight:700;display:grid}.inventory-product>div{gap:4px;min-width:0;display:grid}.inventory-product strong{text-overflow:ellipsis;white-space:nowrap;max-width:230px;font-size:.75rem;overflow:hidden}.inventory-product small{color:var(--muted);font-size:.75rem}.inventory-product small b{color:#63716d;font-weight:500}.stock-quantity{gap:3px;width:fit-content;min-width:85px;display:grid}.stock-quantity strong{font-size:.75rem}.stock-quantity small{color:var(--muted);font-size:.75rem}.stock-quantity.is-available strong{color:var(--brand)}.stock-quantity.is-empty strong{color:var(--red)}.inventory-actions{justify-content:flex-end;gap:5px;display:flex}.inventory-actions button{color:#5f6e6a;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e2e7e3;border-radius:8px;align-items:center;gap:5px;min-height:34px;padding:0 8px;font-family:inherit;font-size:.75rem;display:inline-flex}.inventory-actions button:hover{color:var(--brand);background:#f6fbf9;border-color:#bcd8d0}.inventory-cards{display:none}.inventory-operation-modal{width:min(100%,720px)}.inventory-operation-form,.stock-count-form{gap:14px;padding:18px 21px 21px;display:grid}.inventory-operation-form>label,.stock-count-form>label,.inventory-operation-grid label,.stock-count-lines article>label{color:#40504c;gap:7px;font-size:.75rem;font-weight:600;display:grid}.inventory-operation-form textarea,.stock-count-form textarea{width:100%;color:var(--ink);resize:vertical;background:#fafbf9;border:1px solid #dce3de;border-radius:9px;outline:0;padding:10px 11px;font-family:inherit;line-height:1.8}.inventory-reason-select select{width:100%;height:42px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #dce3de;border-radius:9px;outline:0;padding:0 11px;font-family:inherit;font-size:.75rem;transition:border-color .15s,box-shadow .15s}.inventory-reason-select select:focus{border-color:#137d6e99;box-shadow:0 0 0 3px #137d6e14}.inventory-reason-select select:invalid{color:#8a9591}.inventory-operation-form label small,.stock-count-form label small{color:var(--muted);font-size:.75rem;font-weight:400}.inventory-operation-context{background:#f6f8f6;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.inventory-operation-context small{color:var(--muted);font-size:.75rem}.inventory-operation-context strong{font-size:.75rem}.inventory-current-strip{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.inventory-current-strip>span{background:#f6f8f6;border-radius:9px;gap:4px;padding:9px;display:grid}.inventory-current-strip small{color:var(--muted);font-size:.75rem}.inventory-current-strip strong{font-size:.75rem}.inventory-current-strip .is-negative strong{color:var(--red)}.inventory-direction{grid-template-columns:1fr 1fr;gap:8px;display:grid}.inventory-direction button{color:#697773;cursor:pointer;background:#fff;border:1px solid #dfe5e1;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:43px;font-family:inherit;font-size:.75rem;display:flex}.inventory-direction button.is-active{color:var(--brand);background:var(--brand-soft);border-color:#a8d3c8}.inventory-direction button.is-active.is-out{color:var(--red);background:var(--red-soft);border-color:#edc7c4}.inventory-operation-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.inventory-operation-grid input,.stock-count-lines input{width:100%;height:41px;color:var(--ink);background:#fff;border:1px solid #dce3de;border-radius:9px;outline:0;padding:0 11px;font-family:inherit}.immutable-notice{color:#83632d;background:var(--orange-soft);border-radius:9px;padding:10px 12px;font-size:.75rem;line-height:1.8}.stock-count-modal{width:min(96vw,1080px)}.stock-count-lines{gap:9px;display:grid}.stock-count-lines>header{justify-content:space-between;align-items:center;gap:9px;display:flex}.stock-count-lines>header>div{gap:4px;display:grid}.stock-count-lines>header strong{font-size:.75rem}.stock-count-lines>header small{color:var(--muted);font-size:.75rem}.stock-count-lines article{background:#fafbf9;border:1px solid #e4e9e5;border-radius:11px;grid-template-columns:28px minmax(220px,1.7fr) 1fr 1fr .7fr 32px;align-items:end;gap:8px;padding:10px;display:grid}.stock-count-index{width:27px;height:27px;color:var(--brand);background:var(--brand-soft);border-radius:8px;place-items:center;margin-bottom:7px;font-size:.75rem;font-weight:700;display:grid}.stock-count-lines article>label>span,.stock-count-lines article>label>strong{background:#edf4f0;border-radius:9px;align-content:center;height:41px;padding:0 10px;font-size:.75rem;display:grid}.stock-count-lines article>label>strong{color:var(--brand)}.stock-count-lines article>label>strong.is-negative{color:var(--red);background:var(--red-soft)}.stock-count-lines article>button{width:31px;height:31px;color:var(--red);background:var(--red-soft);cursor:pointer;border:0;border-radius:8px;place-items:center;margin-bottom:5px;display:grid}.inventory-movements-modal{width:min(96vw,900px)}.inventory-movements-body{gap:13px;padding:17px 20px 21px;display:grid}.movement-summary{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.movement-summary>span{background:#f6f8f6;border-radius:9px;gap:4px;padding:10px;display:grid}.movement-summary small{color:var(--muted);font-size:.75rem}.movement-summary strong{font-size:.75rem}.movement-list{gap:7px;display:grid}.movement-row{border:1px solid #e7ebe8;border-radius:11px;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;display:grid}.movement-row__icon{width:36px;height:36px;color:var(--brand);background:var(--brand-soft);border-radius:10px;place-items:center;display:grid}.movement-row.is-out .movement-row__icon{color:var(--red);background:var(--red-soft)}.movement-row__main{gap:4px;min-width:0;display:grid}.movement-row__main header{align-items:center;gap:8px;display:flex}.movement-row__main strong{font-size:.75rem}.movement-row__main time,.movement-row__main small{color:var(--muted);font-size:.75rem}.movement-row__main p{color:#66736f;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.75rem;overflow:hidden}.movement-row__quantity{text-align:left;gap:3px;min-width:120px;display:grid}.movement-row__quantity strong{color:var(--brand);font-size:.75rem}.movement-row.is-out .movement-row__quantity strong{color:var(--red)}.movement-row__quantity span,.movement-row__quantity small{color:var(--muted);font-size:.75rem}@media (width<=1100px){.inventory-stats{grid-template-columns:repeat(2,1fr)}.stock-count-lines article{grid-template-columns:28px minmax(190px,1.5fr) 1fr 1fr 32px}.stock-count-lines article>label:nth-of-type(3){grid-column:2/-2}}@media (width<=760px){.inventory-heading{flex-direction:column;align-items:stretch}.inventory-heading>div:last-child{width:100%}.inventory-heading>div:last-child button{flex:1}.inventory-stats{grid-template-columns:repeat(4,1fr);gap:7px}.inventory-stats article{gap:7px;min-height:76px;padding:9px}.inventory-stats article>span{width:34px;height:34px}.inventory-stats small,.inventory-stats strong{font-size:.75rem}.inventory-toolbar{flex-direction:column;align-items:stretch}.inventory-toolbar>label{width:100%}.inventory-toolbar>div{grid-template-columns:1fr 1fr;display:grid}.inventory-toolbar select{width:100%;min-width:0}.inventory-table-wrap{display:none}.inventory-cards{gap:9px;padding:12px;display:grid}.inventory-cards article{border:1px solid #e6ebe7;border-radius:12px;gap:10px;padding:12px;display:grid}.inventory-cards header,.inventory-cards footer{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.inventory-cards article>div{grid-template-columns:1fr 1fr;gap:7px;display:grid}.inventory-cards article>div>span{background:#f6f8f6;border-radius:8px;gap:4px;padding:8px;display:grid}.inventory-cards article>div small,.inventory-cards footer>small{color:var(--muted);font-size:.75rem}.inventory-cards article>div strong{font-size:.75rem}.stock-count-modal{border-radius:0;width:100%;max-height:100vh}.stock-count-form{padding:14px}.stock-count-lines article{grid-template-columns:26px minmax(0,1fr) 31px}.stock-count-lines article>.async-search-select{grid-column:2}.stock-count-lines article>label{grid-column:1/-1}.stock-count-lines article>button{grid-area:1/3}.stock-count-lines article>label:nth-of-type(3){grid-column:1/-1}.movement-row{grid-template-columns:34px minmax(0,1fr)}.movement-row__quantity{text-align:right;grid-column:2;min-width:0}.movement-summary{grid-template-columns:1fr 1fr}.movement-summary>span:last-child{grid-column:1/-1}}@media (width<=500px){.inventory-stats{grid-template-columns:1fr 1fr}.inventory-heading>div:last-child{flex-direction:column}.inventory-toolbar>div,.inventory-current-strip,.inventory-operation-grid,.movement-summary{grid-template-columns:1fr}.movement-summary>span:last-child{grid-column:auto}.inventory-operation-form,.inventory-movements-body{padding:15px}.inventory-direction{grid-template-columns:1fr}.inventory-cards footer{flex-direction:column;align-items:stretch}.inventory-actions button{flex:1;justify-content:center}}.stock-count-lines .async-search-select__control input{background:0 0;border:0;border-radius:0;height:100%;padding:0}.sales-page{min-width:0}.sales-heading{align-items:flex-end}.sales-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.sales-scan-button{box-shadow:0 8px 20px #137d6e2e}.sales-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px;display:grid}.sales-stats article{border:1px solid var(--line);min-height:88px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:11px;padding:16px;display:flex}.sales-stats article>span{color:#8f672f;background:var(--orange-soft);border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid}.sales-stats article>span.green{color:var(--brand);background:var(--brand-soft)}.sales-stats article>span.blue{color:var(--blue);background:var(--blue-soft)}.sales-stats article>span.orange{color:#9a682e;background:var(--orange-soft)}.sales-stats article>div{gap:5px;min-width:0;display:grid}.sales-stats small{color:var(--muted);font-size:.75rem}.sales-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.sales-workspace{grid-template-columns:minmax(0,1.65fr) minmax(320px,.78fr);align-items:start;gap:14px;margin-bottom:18px;display:grid}.sales-cart,.sales-checkout{padding:0;overflow:visible}.sales-cart>header,.sales-checkout>header{border-bottom:1px solid #e9eeea;justify-content:space-between;align-items:center;gap:10px;min-height:64px;padding:13px 17px;display:flex}.sales-cart>header>div,.sales-checkout>header{color:var(--brand)}.sales-cart>header>div,.sales-checkout>header>div{align-items:center;gap:9px;display:flex}.sales-cart>header span:not(.sales-cart-total),.sales-checkout>header div{gap:3px;display:grid}.sales-cart>header strong,.sales-checkout>header strong{color:var(--ink);font-size:.75rem}.sales-cart>header small,.sales-checkout>header small{color:var(--muted);font-size:.75rem;font-weight:400}.sales-cart-total{color:var(--brand);font-size:.78rem;font-weight:800}.sales-product-picker{z-index:12;border-bottom:1px solid #eef1ef;padding:14px 17px;position:relative}.sales-product-picker .async-search-select__control{background:#fff;height:46px}.sales-empty-cart{color:#a3ada9;text-align:center;align-content:center;place-items:center;gap:7px;min-height:285px;padding:35px;display:grid}.sales-empty-cart svg{color:#7fa99f;background:var(--brand-soft);border-radius:13px;width:44px;height:44px;padding:10px}.sales-empty-cart h3{color:#60706b;margin:5px 0 0;font-size:.75rem}.sales-empty-cart p{margin:0;font-size:.75rem}.sales-lines{gap:8px;padding:12px;display:grid}.sales-lines article{background:#fff;border:1px solid #e5eae6;border-radius:12px;grid-template-columns:28px minmax(150px,1.5fr) minmax(75px,.55fr) minmax(115px,.85fr) minmax(95px,.7fr) minmax(110px,.8fr) 32px;align-items:end;gap:8px;padding:10px;transition:border-color .15s,background .15s;display:grid}.sales-lines article.has-price-override{background:#fffdf8;border-color:#ead6ad}.sales-line-index{width:27px;height:27px;color:var(--brand);background:var(--brand-soft);border-radius:8px;place-items:center;margin-bottom:12px;font-size:.75rem;font-weight:800;display:grid}.sales-line-product{gap:4px;min-width:0;margin-bottom:8px;display:grid}.sales-line-product strong{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.sales-line-product small{color:var(--muted);font-size:.75rem}.sales-lines article>label{color:#52615d;gap:5px;font-size:.75rem;font-weight:600;display:grid}.sales-lines article>label input{background:#fafbf9;border:1px solid #dfe5e1;border-radius:8px;outline:0;width:100%;min-width:0;height:38px;padding:0 8px;font-family:inherit}.sales-lines article>label input:read-only{color:#6d7975;background:#f1f4f2}.sales-lines article>label small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:400;overflow:hidden}.sales-line-sum{align-content:center;gap:4px;min-height:52px;display:grid}.sales-line-sum small{color:var(--muted);font-size:.75rem}.sales-line-sum strong{color:var(--brand);white-space:nowrap;font-size:.75rem}.sales-line-remove{width:31px;height:31px;color:var(--red);background:var(--red-soft);cursor:pointer;border:0;border-radius:8px;place-items:center;margin-bottom:9px;display:grid}.sales-lines article>.sales-price-reason{grid-column:2/-1;grid-template-columns:100px minmax(0,1fr);align-items:center;display:grid}.sales-lines article>.sales-price-reason input{background:#fff}.sales-checkout{position:sticky;top:12px}.sales-checkout>header{justify-content:flex-start}.sales-checkout-fields{border-bottom:1px solid #edf0ed;grid-template-columns:1fr 1fr;gap:8px;padding:13px 16px;display:grid}.sales-checkout-fields label,.sales-notes{color:#485752;gap:6px;font-size:.75rem;font-weight:600;display:grid}.sales-checkout-fields select{background:#fff;border:1px solid #dfe5e1;border-radius:8px;outline:0;width:100%;height:40px;padding:0 9px;font-family:inherit}.sales-checkout-fields label small{color:var(--muted);font-size:.75rem;font-weight:400;line-height:1.7}.sales-customer-choice{z-index:11;border-bottom:1px solid #edf0ed;grid-template-columns:.75fr 1.25fr;align-items:end;gap:8px;padding:13px 16px;display:grid;position:relative}.sales-customer-choice>button{color:#62706c;text-align:right;cursor:pointer;background:#fff;border:1px solid #dfe5e1;border-radius:9px;align-content:center;gap:3px;min-height:42px;padding:7px 9px;font-family:inherit;display:grid}.sales-customer-choice>button.is-active{color:var(--brand);background:var(--brand-soft);border-color:#a8d3c8}.sales-customer-choice>button span{font-size:.75rem;font-weight:700}.sales-customer-choice>button small{font-size:.75rem}.sales-credit-strip{background:#f4f8f6;border-radius:0 0 9px 9px;grid-template-columns:1fr 1fr;gap:8px;margin:0 16px;padding:9px;display:grid}.sales-credit-strip span{gap:3px;display:grid}.sales-credit-strip small{color:var(--muted);font-size:.75rem}.sales-credit-strip strong{color:var(--brand);font-size:.75rem}.sales-checkout>.persian-date-time-field{border-bottom:1px solid #edf0ed;padding:13px 16px}.sales-total-box{gap:7px;margin:13px 16px;display:grid}.sales-total-box>span{color:#64726e;justify-content:space-between;align-items:center;font-size:.75rem;display:flex}.sales-total-box>span strong{color:#3d4c47;font-size:.75rem}.sales-total-box>span.is-total{color:var(--brand);background:var(--brand-soft);border-radius:9px;margin-top:2px;padding:10px 11px}.sales-total-box>span.is-total strong{color:var(--brand);font-size:.75rem}.sales-payment-section{border-block:1px solid #edf0ed;gap:9px;padding:13px 16px;display:grid}.sales-payment-section>header{justify-content:space-between;align-items:center;display:flex}.sales-payment-section>header strong{font-size:.75rem}.sales-payment-section>header small{color:var(--muted);font-size:.75rem}.sales-payment-toggles{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.sales-payment-toggles button{color:#697671;cursor:pointer;background:#fff;border:1px solid #dfe5e1;border-radius:8px;min-height:34px;padding:0 5px;font-family:inherit;font-size:.75rem}.sales-payment-toggles button.is-active{color:var(--brand);background:var(--brand-soft);border-color:#a8d3c8}.sales-payment-rows{gap:6px;display:grid}.sales-payment-rows label{color:#4f5e59;grid-template-columns:65px minmax(0,1fr) 36px;align-items:center;gap:6px;font-size:.75rem;display:grid}.sales-payment-rows input{border:1px solid #dfe5e1;border-radius:8px;outline:0;width:100%;height:36px;padding:0 8px;font-family:inherit}.sales-payment-rows small{color:var(--muted);font-size:.75rem}.sales-payment-rows em{color:var(--red);grid-column:2/-1;font-size:.75rem;font-style:normal}.sales-payment-balance{color:var(--red);background:var(--red-soft);border-radius:8px;grid-template-columns:1fr auto;gap:3px 8px;padding:8px 9px;font-size:.75rem;display:grid}.sales-payment-balance strong{font-size:.75rem}.sales-payment-balance small{grid-column:1/-1;font-size:.75rem}.sales-payment-balance.is-balanced{color:var(--brand);background:var(--brand-soft)}.sales-notes{padding:13px 16px 0}.sales-notes textarea{resize:vertical;background:#fafbf9;border:1px solid #dfe5e1;border-radius:8px;outline:0;padding:8px 9px;font-family:inherit}.sales-checkout>.form-error{margin:12px 16px 0}.sales-submit{justify-content:center;width:calc(100% - 32px);min-height:44px;margin:13px 16px 0}.sales-immutable-note{color:var(--muted);text-align:center;margin:8px 16px 15px;font-size:.75rem}.sales-payment-section>header{justify-content:stretch;gap:4px;display:grid}.sales-settlement-group{background:#fafbf9;border:1px solid #e4eae6;border-radius:10px;gap:8px;padding:10px;display:grid}.sales-settlement-group__heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.sales-settlement-group__heading>span{gap:3px;display:grid}.sales-settlement-group__heading strong,.sales-credit-settlement button strong{color:#3e4d48;font-size:.75rem}.sales-settlement-group__heading small,.sales-credit-settlement button small{color:var(--muted);font-size:.75rem;font-weight:400}.sales-settlement-group__heading b,.sales-credit-settlement button>b{color:var(--brand);white-space:nowrap;font-size:.75rem}.sales-payment-toggles{grid-template-columns:repeat(3,1fr)}.sales-credit-settlement>button{width:100%;min-height:48px;color:inherit;text-align:right;cursor:pointer;background:#fff;border:1px solid #dfe5e1;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-family:inherit;display:flex}.sales-credit-settlement>button>span{gap:4px;display:grid}.sales-credit-settlement>button.is-active{background:var(--brand-soft);border-color:#a8d3c8}.sales-credit-settlement>button:disabled{opacity:.65;cursor:not-allowed}.sales-payment-rows:empty{display:none}.sales-history{padding:0;overflow:hidden}.sales-history>header{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;min-height:66px;padding:13px 17px;display:flex}.sales-history>header>div{color:var(--brand);align-items:center;gap:9px;display:flex}.sales-history>header>div span{gap:3px;display:grid}.sales-history>header strong{color:var(--ink);font-size:.75rem}.sales-history>header small{color:var(--muted);font-size:.75rem}.sales-history>header>label{width:min(100%,310px);height:39px;color:var(--muted);border:1px solid #dfe5e1;border-radius:9px;align-items:center;gap:7px;padding:0 10px;display:flex}.sales-history>header input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-family:inherit}.sales-history-table{overflow-x:auto}.sales-history-table th,.sales-history-table td{padding:12px 14px}.sales-history-table td>strong,.sales-history-table td>small{display:block}.sales-history-table td>small{color:var(--muted);margin-top:4px;font-size:.75rem}.sales-history-cards{display:none}.sales-status{color:#596762;white-space:nowrap;background:#eef2f0;border-radius:999px;width:fit-content;padding:5px 8px;font-size:.75rem;font-weight:700;display:inline-flex}.sales-status.status-4{color:var(--brand);background:var(--brand-soft)}.sales-status.status-3{color:#2f7095;background:var(--blue-soft)}.sales-status.status-2{color:#946525;background:var(--orange-soft)}.barcode-scanner-backdrop{z-index:130;background:#04110fc2}.barcode-scanner-modal{width:min(96vw,720px);max-height:min(94vh,900px);overflow:hidden}.barcode-scanner-header{z-index:2;position:relative}.barcode-scanner-body,.barcode-review-body{max-height:calc(min(94vh,900px) - 85px);display:grid;overflow-y:auto}.barcode-camera{aspect-ratio:16/9;color:#fff;background:#07100e;min-height:360px;position:relative;overflow:hidden}.barcode-camera video{object-fit:cover;width:100%;height:100%;display:block}.barcode-camera-target{border-radius:16px;width:min(72%,430px);height:min(48%,185px);position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.barcode-camera-target span{filter:drop-shadow(0 2px 5px #00000080);border-style:solid;border-color:#5ff0c8;width:38px;height:38px;position:absolute}.barcode-camera-target span:first-child{border-width:4px 4px 0 0;border-radius:0 12px 0 0;top:0;right:0}.barcode-camera-target span:nth-child(2){border-width:4px 0 0 4px;border-radius:12px 0 0;top:0;left:0}.barcode-camera-target span:nth-child(3){border-width:0 4px 4px 0;border-radius:0 0 12px;bottom:0;right:0}.barcode-camera-target span:nth-child(4){border-width:0 0 4px 4px;border-radius:0 0 0 12px;bottom:0;left:0}.barcode-camera-target i{background:#5ff0c8;border-radius:2px;height:2px;animation:1.8s ease-in-out infinite barcode-scan-line;position:absolute;top:50%;left:10px;right:10px;box-shadow:0 0 10px #5ff0c8d9}.barcode-scan-count{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#041411b8;border:1px solid #ffffff38;border-radius:13px;justify-items:center;min-width:70px;padding:9px 11px;display:grid;position:absolute;top:14px;right:14px}.barcode-scan-count strong{font-size:1.05rem}.barcode-scan-count span{font-size:.75rem}.barcode-scan-count small{color:#9ee9d5;margin-top:3px;font-size:.75rem}.barcode-torch{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#041411a6;border:1px solid #ffffff42;border-radius:10px;align-items:center;gap:6px;min-height:39px;padding:0 11px;font-family:inherit;font-size:.75rem;display:flex;position:absolute;top:15px;left:15px}.barcode-torch.is-on{color:#ffe7a6;background:#62450ec2}.barcode-camera-error{color:#dce9e5;text-align:center;place-content:center;justify-items:center;gap:9px;padding:30px;display:grid;position:absolute;inset:0}.barcode-camera-error svg{color:#efc47e}.barcode-camera-error strong{font-size:.75rem}.barcode-camera-error p{color:#9fb0aa;max-width:430px;margin:0;font-size:.75rem;line-height:1.9}.barcode-feedback{background:#f8faf8;border-bottom:1px solid #e8eeea;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;min-height:72px;padding:11px 18px;display:grid}.barcode-feedback>svg{color:var(--brand)}.barcode-feedback>span:last-child{gap:4px;display:grid}.barcode-feedback strong{font-size:.75rem}.barcode-feedback small{color:var(--muted);font-size:.75rem}.barcode-feedback-icon{border-radius:11px;place-items:center;width:37px;height:37px;display:grid}.barcode-feedback-icon.is-success{color:var(--brand);background:var(--brand-soft)}.barcode-feedback-icon.is-error{color:var(--red);background:var(--red-soft)}.barcode-manual{border-bottom:1px solid #e8eeea;grid-template-columns:26px minmax(0,1fr) auto;align-items:end;gap:9px;padding:12px 18px;display:grid}.barcode-manual>svg{color:#7b8984;margin-bottom:11px}.barcode-manual label{color:#56635f;gap:5px;font-size:.75rem;display:grid}.barcode-manual input{background:#fafbf9;border:1px solid #dce4df;border-radius:9px;outline:0;width:100%;height:40px;padding:0 10px;font-family:inherit}.barcode-manual input:focus{border-color:#8fc9b9;box-shadow:0 0 0 3px #137d6e14}.barcode-manual button{min-height:40px;color:var(--brand);background:var(--brand-soft);cursor:pointer;border:1px solid #b9d9d0;border-radius:9px;padding:0 13px;font-family:inherit;font-size:.75rem;font-weight:700}.barcode-manual button:disabled{opacity:.5;cursor:not-allowed}.barcode-scanner-actions{background:#fff;justify-content:flex-end;gap:8px;padding:14px 18px;display:flex}.barcode-scanner-actions button{justify-content:center;min-width:130px}.barcode-review-body{gap:13px;padding:16px 18px 0}.barcode-review-summary{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.barcode-review-summary>span{background:#f4f8f6;border-radius:10px;gap:5px;padding:11px;display:grid}.barcode-review-summary small{color:var(--muted);font-size:.75rem}.barcode-review-summary strong{color:var(--brand);font-size:.75rem}.barcode-review-list{gap:8px;display:grid}.barcode-review-list article{border:1px solid #e3e9e5;border-radius:11px;grid-template-columns:29px minmax(0,1fr) auto minmax(90px,auto);align-items:center;gap:10px;padding:11px;display:grid}.barcode-review-index{width:28px;height:28px;color:var(--brand);background:var(--brand-soft);border-radius:8px;place-items:center;font-size:.75rem;font-weight:800;display:grid}.barcode-review-list article>div:nth-child(2){gap:4px;min-width:0;display:grid}.barcode-review-list article>div:nth-child(2) strong{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.barcode-review-list article>div:nth-child(2) small{color:var(--muted);font-size:.75rem}.barcode-review-list article>b{color:var(--brand);white-space:nowrap;font-size:.75rem}.barcode-quantity{border:1px solid #dfe6e1;border-radius:9px;grid-template-columns:34px 38px 34px;align-items:center;display:grid;overflow:hidden}.barcode-quantity button{width:34px;height:35px;color:var(--brand);cursor:pointer;background:#f4f8f6;border:0;place-items:center;display:grid}.barcode-quantity button:first-child{color:var(--red)}.barcode-quantity button:disabled{color:#aeb8b4;cursor:not-allowed}.barcode-quantity strong{text-align:center;font-size:.75rem}.barcode-review-body>.barcode-scanner-actions{border-top:1px solid #e8eeea;margin:0 -18px;position:sticky;bottom:0}.barcode-review-body>.management-empty{min-height:160px}.barcode-detected-bounds{z-index:4;pointer-events:none;width:100vw;height:100dvh;position:fixed;inset:0;overflow:visible}.barcode-detected-bounds polygon{fill:#1dffbe29;stroke:#46ffd0;stroke-width:4px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 7px #14ffbbe6);animation:.45s ease-out barcode-detected-pulse}html.native-barcode-scanner-active,body.native-barcode-scanner-active,body.native-barcode-scanner-active #root,.native-barcode-scanner-active body,.native-barcode-scanner-active #root{background:0 0!important}.native-barcode-scanner-active #root{visibility:hidden}.native-barcode-scanner-active .barcode-scanner-backdrop{visibility:visible;background:0 0}.native-barcode-scanner-active .barcode-scanner-modal{box-shadow:none;background:0 0}.native-barcode-scanner-active .barcode-camera{background:0 0}.native-barcode-scanner-active .barcode-camera video{visibility:hidden}@keyframes barcode-detected-pulse{0%{opacity:.25}to{opacity:1}}@keyframes barcode-scan-line{0%,to{opacity:.55;transform:translateY(-62px)}50%{opacity:1;transform:translateY(62px)}}.sales-detail-modal{width:min(96vw,940px)}.sales-detail-toolbar{grid-template-columns:44px minmax(0,1fr) auto 42px}.sales-detail-toolbar>div p{text-align:right}.sales-receipt{color:#263530;background:#fff;padding:22px}.sales-receipt__head{border-bottom:2px solid #244e45;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:17px;display:flex}.sales-receipt__head>div{gap:5px;display:grid}.sales-receipt__head>div:last-child{text-align:left}.sales-receipt__head h2,.sales-receipt__head p{margin:0}.sales-receipt__head h2{font-size:1rem}.sales-receipt__head p,.sales-receipt__head span,.sales-receipt__head time{color:#65716e;font-size:.75rem}.sales-receipt__head>div:last-child>strong{color:var(--brand);font-size:.78rem}.sales-receipt__head>div:last-child>b{font-size:.75rem}.sales-receipt__meta{grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 0;display:grid}.sales-receipt__meta>span{background:#f5f8f6;border-radius:9px;gap:4px;padding:10px;display:grid}.sales-receipt__meta small,.sales-receipt__meta em{color:var(--muted);font-size:.75rem;font-style:normal}.sales-receipt__meta strong{font-size:.75rem}.sales-receipt__table{border:1px solid #e4e9e5;border-radius:10px;overflow-x:auto}.sales-receipt__table th{background:#f4f7f5;padding:10px}.sales-receipt__table td{padding:11px 10px}.sales-receipt__table td>strong,.sales-receipt__table td>small,.sales-receipt__table td>em{display:block}.sales-receipt__table td>small{color:var(--muted);margin-top:3px;font-size:.75rem}.sales-receipt__table td>em{color:#906525;margin-top:5px;font-size:.75rem;font-style:normal}.sales-receipt__table td>em svg{vertical-align:middle;margin-left:3px}.sales-receipt__bottom{grid-template-columns:1fr 1fr;align-items:start;gap:13px;margin-top:14px;display:grid}.sales-receipt__payments,.sales-receipt__totals{background:#f6f8f6;border-radius:10px;gap:7px;padding:12px;display:grid}.sales-receipt__payments h3{margin:0 0 3px;font-size:.75rem}.sales-receipt__payments span,.sales-receipt__totals span{justify-content:space-between;align-items:center;gap:8px;font-size:.75rem;display:flex}.sales-receipt__payments small,.sales-receipt__totals small{color:var(--muted)}.sales-receipt__totals .is-final{color:var(--brand);border-top:1px dashed #bfcac6;padding-top:7px}.sales-receipt__totals .is-final strong{font-size:.75rem}.sales-receipt__notes{background:#fff9ed;border-radius:8px;gap:7px;margin-top:12px;padding:10px;font-size:.75rem;display:flex}.sales-receipt__footer{text-align:center;border-top:1px dashed #ccd5d1;gap:4px;margin-top:17px;padding-top:13px;display:grid}.sales-receipt__footer span{color:var(--brand);font-size:.75rem;font-weight:700}.sales-receipt__footer small{color:var(--muted);font-size:.75rem}@media (width<=1180px){.sales-workspace{grid-template-columns:1fr}.sales-checkout{position:static}.sales-lines article{grid-template-columns:28px minmax(155px,1.4fr) repeat(3,minmax(90px,.7fr)) minmax(105px,.7fr) 32px}}@media (width<=760px){.sales-heading{flex-direction:column;align-items:stretch}.sales-heading-actions{grid-template-columns:1fr 1fr;display:grid}.sales-heading-actions button{justify-content:center}.sales-stats{grid-template-columns:repeat(4,1fr);gap:7px}.sales-stats article{gap:7px;min-height:76px;padding:9px}.sales-stats article>span{width:34px;height:34px}.sales-stats small,.sales-stats strong{font-size:.75rem}.sales-lines article{grid-template-columns:27px minmax(0,1fr) 32px;align-items:start}.sales-line-index{grid-area:1/1;margin:0}.sales-line-product{grid-area:1/2;margin:0}.sales-line-remove{grid-area:1/3;margin:0}.sales-lines article>label{grid-column:1/-1}.sales-line-sum{background:var(--brand-soft);border-radius:8px;grid-column:1/-1;min-height:42px;padding:8px 10px}.sales-lines article>.sales-price-reason{grid-column:1/-1;grid-template-columns:1fr}.sales-history-table{display:none}.sales-history-cards{gap:8px;padding:12px;display:grid}.sales-history-cards article{cursor:pointer;border:1px solid #e4e9e5;border-radius:11px;gap:9px;padding:12px;display:grid}.sales-history-cards header,.sales-history-cards footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.sales-history-cards h3{margin:0;font-size:.75rem}.sales-history-cards article>div{grid-template-columns:1fr 1fr;gap:7px;display:grid}.sales-history-cards article>div span{background:#f5f8f6;border-radius:8px;gap:4px;padding:8px;display:grid}.sales-history-cards small,.sales-history-cards footer{color:var(--muted);font-size:.75rem}.sales-history-cards strong{font-size:.75rem}.barcode-scanner-backdrop{padding:0}.barcode-scanner-modal{border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh}.barcode-scanner-header{padding:13px 14px}.barcode-scanner-body,.barcode-review-body{max-height:calc(100dvh - 70px)}.barcode-camera{aspect-ratio:auto;height:min(50dvh,440px);min-height:0}.barcode-feedback{min-height:68px;padding-inline:14px}.barcode-manual{padding-inline:14px}.barcode-scanner-actions{padding:12px 14px calc(12px + env(safe-area-inset-bottom));position:sticky;bottom:0}.barcode-scanner-actions button{flex:1;min-width:0}.barcode-review-body{padding:13px 14px 0}.barcode-review-list article{grid-template-columns:28px minmax(0,1fr) auto}.barcode-review-list article>b{text-align:left;grid-column:2/-1}.barcode-review-body>.barcode-scanner-actions{margin:0 -14px}.sales-detail-modal{border-radius:0;width:100%;max-height:100vh}.sales-detail-toolbar{grid-template-columns:39px minmax(0,1fr) 39px}.sales-print-button{grid-area:2/1/auto/-1;justify-content:center}.sales-detail-close{grid-area:1/3}.sales-receipt{padding:15px}.sales-receipt__table table{min-width:680px}}@media (width<=500px){.sales-stats{grid-template-columns:1fr 1fr}.sales-checkout-fields,.sales-customer-choice,.sales-credit-strip,.sales-receipt__meta,.sales-receipt__bottom{grid-template-columns:1fr}.sales-payment-toggles{grid-template-columns:1fr 1fr}.sales-payment-rows label{grid-template-columns:55px minmax(0,1fr) 34px}.sales-history>header{flex-direction:column;align-items:stretch}.sales-history>header>label{width:100%}.barcode-camera{height:44dvh;min-height:280px}.barcode-camera-target{width:82%;height:42%}.barcode-manual{grid-template-columns:minmax(0,1fr) auto}.barcode-manual>svg{display:none}.barcode-review-summary{grid-template-columns:1fr 1fr}.barcode-review-summary>span:last-child{grid-column:1/-1}.barcode-review-list article{grid-template-columns:28px minmax(0,1fr)}.barcode-quantity,.barcode-review-list article>b{grid-column:2}.sales-receipt__head{flex-direction:column}.sales-receipt__head>div:last-child{text-align:right}}@media print{body *{visibility:hidden!important}.sales-detail-backdrop,.sales-detail-modal,.sales-receipt,.sales-receipt *{visibility:visible!important}.sales-detail-backdrop{background:#fff;padding:0;display:block;position:absolute;inset:0;overflow:visible}.sales-detail-modal{width:100%;max-height:none;box-shadow:none;border:0;border-radius:0;overflow:visible}.sales-detail-toolbar{display:none}.sales-receipt{width:100%;padding:10mm;font-size:11pt}.sales-receipt__table{overflow:visible}.sales-receipt__table table{width:100%;min-width:0}@page{size:A4;margin:8mm}}.returns-page{min-width:0}.returns-heading{align-items:flex-end}.returns-heading>div:last-child{gap:8px;display:flex}.return-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:18px;display:grid}.return-stats article{border:1px solid var(--line);min-height:88px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:11px;padding:16px;display:flex}.return-stats article>span{width:42px;height:42px;color:var(--blue);background:var(--blue-soft);border-radius:12px;flex:none;place-items:center;display:grid}.return-stats article>span.green{color:var(--brand);background:var(--brand-soft)}.return-stats article>span.orange{color:var(--orange);background:var(--orange-soft)}.return-stats article>div{gap:5px;min-width:0;display:grid}.return-stats small{color:var(--muted);font-size:.75rem}.return-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.77rem;overflow:hidden}.returns-panel{padding:0;overflow:hidden}.return-toolbar{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.return-toolbar>label{color:#899590;background:#fafbf9;border:1px solid #dde3de;border-radius:11px;align-items:center;gap:8px;width:min(100%,430px);height:43px;padding:0 13px;display:flex}.return-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-family:inherit}.return-toolbar select{background:#fff;border:1px solid #dde3de;border-radius:10px;min-width:150px;height:43px;padding:0 11px;font-family:inherit}.return-table{overflow-x:auto}.return-table th,.return-table td{padding:13px 14px}.return-table th{background:#fafbf9}.return-table td>strong,.return-table td>small{display:block}.return-table td>small{color:var(--muted);margin-top:4px;font-size:.75rem}.return-type-badge{color:var(--brand);background:var(--brand-soft);white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:.75rem;font-weight:700;display:inline-flex}.return-type-badge.type-2{color:#966727;background:var(--orange-soft)}.return-cards{display:none}.return-form-modal{width:min(96vw,1050px);max-height:96vh}.return-form{gap:14px;padding:18px 20px 22px;display:grid}.return-type-tabs{grid-template-columns:1fr 1fr;gap:8px;display:grid}.return-type-tabs button{color:#64716d;cursor:pointer;background:#fff;border:1px solid #dfe5e1;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:44px;font-family:inherit;display:flex}.return-type-tabs button.is-active{color:var(--brand);background:var(--brand-soft);border-color:#a8d3c8;font-weight:700}.return-source-section{z-index:6;grid-template-columns:1.25fr .75fr;align-items:end;gap:10px;display:grid;position:relative}.return-source-loading{min-height:160px}.return-source-summary{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.return-source-summary>span,.return-detail-meta>span{background:#f5f8f6;border-radius:9px;gap:5px;padding:10px;display:grid}.return-source-summary small,.return-detail-meta small{color:var(--muted);font-size:.75rem}.return-source-summary strong,.return-detail-meta strong{font-size:.75rem}.return-lines{gap:8px;display:grid}.return-lines>header,.return-financial>header{justify-content:space-between;align-items:flex-end;gap:9px;display:flex}.return-lines>header strong,.return-financial>header strong{font-size:.75rem}.return-lines>header small,.return-financial>header small{color:var(--muted);font-size:.75rem}.return-lines article{border:1px solid #e5eae6;border-radius:11px;grid-template-columns:minmax(145px,1.3fr) repeat(4,minmax(70px,.55fr)) minmax(100px,.7fr) minmax(100px,.7fr);align-items:end;gap:8px;padding:10px;display:grid}.return-lines article>div,.return-lines article>span{gap:4px;display:grid}.return-lines article>div strong{font-size:.75rem}.return-lines article small{color:var(--muted);font-size:.75rem}.return-lines article>span strong{font-size:.75rem}.return-lines .is-warning strong{color:var(--red)}.return-lines label{color:#52615d;gap:5px;font-size:.75rem;font-weight:600;display:grid}.return-lines input{border:1px solid #dfe5e1;border-radius:8px;width:100%;height:38px;padding:0 8px;font-family:inherit}.return-lines article>b{min-height:38px;color:var(--brand);white-space:nowrap;align-items:center;font-size:.75rem;display:flex}.return-financial{background:#f8fbf9;border:1px solid #dce8e2;border-radius:12px;gap:11px;padding:13px;display:grid}.return-financial>div{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.return-financial label,.return-reason{color:#465651;gap:6px;font-size:.75rem;font-weight:600;display:grid}.return-financial label small{color:var(--muted);font-size:.75rem;font-weight:400}.return-financial input,.return-financial select{background:#fff;border:1px solid #dfe5e1;border-radius:8px;width:100%;height:40px;padding:0 9px;font-family:inherit}.return-financial input:read-only{color:var(--brand);background:var(--brand-soft)}.return-financial p{color:var(--muted);margin:0;font-size:.75rem}.return-financial p strong{color:var(--brand)}.return-reason textarea{resize:vertical;background:#fafbf9;border:1px solid #dfe5e1;border-radius:9px;padding:9px 10px;font-family:inherit}.return-total{color:var(--brand);background:var(--brand-soft);border-radius:10px;justify-content:space-between;align-items:center;padding:12px 14px;font-size:.75rem;display:flex}.return-total strong{font-size:.76rem}.return-form-actions{z-index:4;background:#fff;border-top:1px solid #e8ece9;justify-content:flex-end;gap:8px;margin:0 -20px -22px;padding:13px 20px;display:flex;position:sticky;bottom:-22px}.return-detail-modal{width:min(96vw,900px)}.return-detail-body{gap:14px;padding:18px 20px 22px;display:grid}.return-detail-meta{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.return-detail-table{border:1px solid #e5eae6;border-radius:10px;overflow-x:auto}.return-detail-table th{background:#fafbf9}.return-detail-table th,.return-detail-table td{padding:11px 12px}.return-detail-table td>strong,.return-detail-table td>small{display:block}.return-detail-table td>small{color:var(--muted);margin-top:3px;font-size:.75rem}.return-detail-financial{justify-content:flex-end;gap:8px;display:flex}.return-detail-financial>span{background:#f5f8f6;border-radius:9px;gap:4px;min-width:140px;padding:10px;display:grid}.return-detail-financial small,.return-detail-financial em,.return-detail-reason small{color:var(--muted);font-size:.75rem;font-style:normal}.return-detail-financial strong{font-size:.75rem}.return-detail-reason{background:#fff8eb;border-radius:9px;padding:11px}.return-detail-reason p{margin:5px 0 0;font-size:.75rem;line-height:1.8}@media (width<=900px){.return-lines article{grid-template-columns:minmax(130px,1.3fr) repeat(3,minmax(65px,.5fr)) minmax(95px,.65fr) minmax(95px,.65fr)}.return-lines article>span:nth-of-type(4){grid-column:2}.return-financial>div{grid-template-columns:1fr 1fr}.return-detail-meta{grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.returns-heading{flex-direction:column;align-items:stretch}.returns-heading>div:last-child{grid-template-columns:1fr 1fr;display:grid}.return-stats{grid-template-columns:repeat(3,1fr);gap:7px}.return-stats article{gap:7px;min-height:76px;padding:9px}.return-stats article>span{width:34px;height:34px}.return-stats small,.return-stats strong{font-size:.75rem}.return-toolbar{flex-direction:column;align-items:stretch}.return-toolbar>label,.return-toolbar select{width:100%}.return-table{display:none}.return-cards{gap:8px;padding:12px;display:grid}.return-cards article{cursor:pointer;border:1px solid #e4e9e5;border-radius:11px;gap:9px;padding:12px;display:grid}.return-cards header{justify-content:space-between;gap:8px;display:flex}.return-cards header>div{gap:4px;display:grid}.return-cards header small,.return-cards footer{color:var(--muted);font-size:.75rem}.return-cards h3{margin:0;font-size:.75rem}.return-cards article>div{grid-template-columns:1fr 1fr;gap:7px;display:grid}.return-cards article>div span{background:#f5f8f6;border-radius:8px;gap:4px;padding:8px;display:grid}.return-cards article>div small{color:var(--muted);font-size:.75rem}.return-cards article>div strong{font-size:.75rem}.return-form-modal,.return-detail-modal{border-radius:0;width:100%;max-height:100vh}.return-form{padding:14px}.return-source-section{grid-template-columns:1fr}.return-lines article{grid-template-columns:1fr 1fr;align-items:start}.return-lines article>div{grid-column:1/-1}.return-lines article>label,.return-lines article>b{grid-column:auto}.return-lines article>b{justify-content:flex-end}.return-form-actions{margin:0 -14px -14px;padding:12px 14px;bottom:-14px}.return-detail-meta{grid-template-columns:1fr 1fr}.return-detail-financial{grid-template-columns:1fr 1fr;display:grid}.return-detail-financial>span{min-width:0}}@media (width<=500px){.return-stats,.return-type-tabs,.return-source-summary,.return-financial>div,.return-detail-meta,.return-detail-financial{grid-template-columns:1fr}.return-lines article{grid-template-columns:1fr 1fr}.return-form-actions button{flex:1}}.cash-page{min-width:0}.cash-heading{align-items:flex-end}.cash-heading>label{color:#53625d;gap:6px;min-width:220px;font-size:.75rem;font-weight:600;display:grid}.cash-heading select{background:#fff;border:1px solid #dce3de;border-radius:10px;height:43px;padding:0 11px;font-family:inherit}.cash-stats{grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:18px;display:grid}.cash-stats article{border:1px solid var(--line);min-height:88px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:11px;padding:16px;display:flex}.cash-stats article>span{width:42px;height:42px;color:var(--blue);background:var(--blue-soft);border-radius:12px;flex:none;place-items:center;display:grid}.cash-stats article>span.green{color:var(--brand);background:var(--brand-soft)}.cash-stats article>span.red{color:var(--red);background:var(--red-soft)}.cash-stats article>div{gap:5px;display:grid}.cash-stats small{color:var(--muted);font-size:.75rem}.cash-stats strong{font-size:.78rem}.cash-current{margin-bottom:18px;padding:0;overflow:hidden}.cash-current>header{border-bottom:1px solid #e9eeea;justify-content:space-between;align-items:center;gap:12px;min-height:70px;padding:13px 17px;display:flex}.cash-current>header>div{align-items:center;gap:9px;display:flex}.cash-current>header>div:first-child>span{color:#7d8985;background:#f0f3f1;border-radius:11px;place-items:center;width:40px;height:40px;display:grid}.cash-current>header>div:first-child>span.is-open{color:var(--brand);background:var(--brand-soft)}.cash-current>header>div:first-child>div{gap:4px;display:grid}.cash-current>header strong{font-size:.75rem}.cash-current>header small{color:var(--muted);font-size:.75rem}.cash-current>header>div:last-child{flex-wrap:wrap;justify-content:flex-end}.cash-current .danger-button{min-height:40px}.cash-no-shift{color:#82908b;text-align:center;place-content:center;justify-items:center;gap:8px;min-height:260px;padding:30px;display:grid}.cash-no-shift svg{color:#7a8984;background:#eef2ef;border-radius:13px;width:43px;height:43px;padding:10px}.cash-no-shift h3{color:#4e5d58;margin:5px 0 0;font-size:.75rem}.cash-no-shift p{margin:0 0 7px;font-size:.75rem}.cash-detail-content{gap:14px;padding:18px 20px 22px;display:grid}.cash-detail-content.is-compact{padding-top:15px}.cash-shift-meta{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.cash-shift-meta>span{background:#f5f8f6;border-radius:9px;gap:4px;padding:9px 10px;display:grid}.cash-shift-meta small,.cash-totals-grid small{color:var(--muted);font-size:.75rem}.cash-shift-meta strong{font-size:.75rem}.cash-shift-meta strong.is-open{color:var(--brand)}.cash-totals-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.cash-totals-grid article{border:1px solid #e5eae6;border-radius:10px;align-content:center;gap:6px;min-height:65px;padding:10px;display:grid}.cash-totals-grid strong{font-size:.75rem}.cash-totals-grid article:first-child{color:var(--brand);background:var(--brand-soft);border-color:#cfe4de}.cash-totals-grid article.is-balanced{color:var(--brand);background:var(--brand-soft)}.cash-totals-grid article.has-difference{color:var(--red);background:var(--red-soft)}.cash-movements{gap:8px;display:grid}.cash-movements>header{justify-content:space-between;align-items:center;display:flex}.cash-movements>header strong{font-size:.75rem}.cash-movements>header small,.cash-movements>p{color:var(--muted);font-size:.75rem}.cash-movements>div{border:1px solid #e6ebe7;border-radius:11px;display:grid;overflow:hidden}.cash-movements article{border-bottom:1px solid #edf0ed;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 12px;display:grid}.cash-movements article:last-child{border-bottom:0}.movement-icon{width:30px;height:30px;color:var(--brand);background:var(--brand-soft);border-radius:9px;place-items:center;font-weight:800;display:grid}.movement-icon.type-3,.movement-icon.type-5{color:var(--red);background:var(--red-soft)}.cash-movements article>div{gap:3px;display:grid}.cash-movements article strong{font-size:.75rem}.cash-movements article small,.cash-movements article em{color:var(--muted);font-size:.75rem;font-style:normal}.cash-movements article b{color:var(--brand);white-space:nowrap;font-size:.75rem}.cash-movements article b.is-out{color:var(--red)}.cash-history{padding:0;overflow:hidden}.cash-history>header{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:13px 17px;display:flex}.cash-history>header>div:first-child{color:var(--brand);align-items:center;gap:9px;display:flex}.cash-history>header>div:first-child span{gap:3px;display:grid}.cash-history>header strong{color:var(--ink);font-size:.75rem}.cash-history>header small{color:var(--muted);font-size:.75rem}.cash-history>header>div:last-child{gap:7px;display:flex}.cash-history>header label{width:min(100%,290px);height:39px;color:var(--muted);border:1px solid #dfe5e1;border-radius:9px;align-items:center;gap:7px;padding:0 10px;display:flex}.cash-history>header input{background:0 0;border:0;outline:0;flex:1;min-width:0}.cash-history>header select{background:#fff;border:1px solid #dfe5e1;border-radius:9px;height:39px;padding:0 9px;font-family:inherit}.cash-history-table{overflow-x:auto}.cash-history-table th,.cash-history-table td{padding:12px 13px}.cash-history-table th{background:#fafbf9}.cash-history-table td>strong,.cash-history-table td>small{display:block}.cash-history-table td>small{color:var(--muted);margin-top:4px;font-size:.75rem}.cash-difference{color:var(--red);font-weight:700}.cash-status{color:#68746f;background:#eef2ef;border-radius:999px;padding:5px 8px;font-size:.75rem;font-weight:700;display:inline-flex}.cash-status.status-1{color:var(--brand);background:var(--brand-soft)}.cash-history-cards{display:none}.cash-action-modal{width:min(100%,570px)}.cash-action-form textarea{resize:vertical;background:#fafbf9;border:1px solid #dce3de;border-radius:10px;width:100%;padding:10px 12px;font-family:inherit}.cash-close-summary{grid-template-columns:1fr 1fr;gap:8px;display:grid}.cash-close-summary>span{background:#f5f8f6;border-radius:9px;gap:5px;padding:11px;display:grid}.cash-close-summary small{color:var(--muted);font-size:.75rem}.cash-close-summary strong{font-size:.75rem}.cash-close-summary .is-negative{color:var(--red);background:var(--red-soft)}.cash-close-summary .is-positive{color:var(--brand);background:var(--brand-soft)}.cash-detail-modal{width:min(96vw,940px)}.sales-shift-warning{color:#966727;background:#fff9ed;border:1px solid #ead7b3;border-radius:9px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;margin:0 16px 13px;padding:10px;display:grid}.sales-shift-warning>span{gap:3px;display:grid}.sales-shift-warning strong{font-size:.75rem}.sales-shift-warning small{color:#8d7654;font-size:.75rem}.sales-shift-warning a{color:#856024;background:#f8e8c8;border-radius:7px;padding:6px 8px;font-size:.75rem;font-weight:700;text-decoration:none}@media (width<=900px){.cash-totals-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.cash-heading{flex-direction:column;align-items:stretch}.cash-heading>label{width:100%}.cash-stats{grid-template-columns:repeat(3,1fr);gap:7px}.cash-stats article{gap:7px;min-height:76px;padding:9px}.cash-stats article>span{width:34px;height:34px}.cash-stats small,.cash-stats strong{font-size:.75rem}.cash-current>header{flex-direction:column;align-items:stretch}.cash-current>header>div:last-child{grid-template-columns:1fr 1fr 1fr;display:grid}.cash-current>header>div:last-child button{min-width:0;padding-inline:7px}.cash-shift-meta,.cash-totals-grid{grid-template-columns:1fr 1fr}.cash-history>header{flex-direction:column;align-items:stretch}.cash-history>header>div:last-child{grid-template-columns:1fr 1fr;display:grid}.cash-history>header label{width:100%}.cash-history-table{display:none}.cash-history-cards{gap:8px;padding:12px;display:grid}.cash-history-cards article{cursor:pointer;border:1px solid #e5eae6;border-radius:11px;gap:9px;padding:12px;display:grid}.cash-history-cards header{justify-content:space-between;gap:8px;display:flex}.cash-history-cards header>div{gap:4px;display:grid}.cash-history-cards header small{color:var(--muted);font-size:.75rem}.cash-history-cards h3{margin:0;font-size:.75rem}.cash-history-cards article>div{grid-template-columns:1fr 1fr;gap:7px;display:grid}.cash-history-cards article>div span{background:#f5f8f6;border-radius:8px;gap:4px;padding:8px;display:grid}.cash-history-cards article>div small{color:var(--muted);font-size:.75rem}.cash-history-cards article>div strong{font-size:.75rem}.cash-detail-modal{border-radius:0;width:100%;max-height:100vh}}@media (width<=500px){.cash-stats,.cash-current>header>div:last-child,.cash-shift-meta,.cash-totals-grid,.cash-history>header>div:last-child,.cash-close-summary{grid-template-columns:1fr}.cash-movements article{grid-template-columns:30px minmax(0,1fr)}.cash-movements article>b{grid-column:2}.sales-shift-warning{grid-template-columns:26px minmax(0,1fr)}.sales-shift-warning a{grid-column:2;width:fit-content}}.accounting-page{min-width:0}.accounting-heading{align-items:flex-end}.accounting-heading__actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.accounting-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.accounting-stats article{border:1px solid var(--line);min-height:86px;box-shadow:var(--shadow);background:#fff;border-radius:15px;align-items:center;gap:10px;padding:15px;display:flex}.accounting-stats article>span{border-radius:12px;flex:none;place-items:center;width:41px;height:41px;display:grid}.accounting-stats article>span svg{width:20px}.accounting-stats .green{color:var(--brand);background:var(--brand-soft)}.accounting-stats .blue{color:var(--blue);background:var(--blue-soft)}.accounting-stats .orange{color:var(--orange);background:var(--orange-soft)}.accounting-stats .red{color:var(--red);background:var(--red-soft)}.accounting-stats article>div{gap:5px;min-width:0;display:grid}.accounting-stats small{color:var(--muted);font-size:.75rem}.accounting-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.accounting-ledger-panel{padding:0;overflow:hidden}.accounting-ledger-panel>header{border-bottom:1px solid #e8ede9;justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:12px 16px;display:flex}.accounting-tabs{background:#f1f4f2;border-radius:11px;gap:3px;padding:4px;display:flex}.accounting-tabs button{color:#6b7974;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:5px;min-height:34px;padding:0 10px;font-family:inherit;font-size:.75rem;display:inline-flex}.accounting-tabs button.is-active{color:var(--brand-dark);background:#fff;box-shadow:0 2px 9px #15362d14}.accounting-ledger-panel>header>label{width:min(100%,310px);height:39px;color:var(--muted);border:1px solid #dde4df;border-radius:9px;align-items:center;gap:7px;padding:0 10px;display:flex}.accounting-ledger-panel>header input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-family:inherit;font-size:.75rem}.accounting-table{min-height:260px;overflow-x:auto}.accounting-table th{background:#fafbf9;padding:12px 13px}.accounting-table td{padding:13px}.accounting-table td>strong,.accounting-table td>small{display:block}.accounting-table td>small{color:var(--muted);margin-top:4px;font-size:.75rem}.accounting-table td:nth-child(2)>strong{font-size:.75rem}.amount-in{color:var(--brand);font-weight:700}.amount-out{color:var(--red);font-weight:700}.accounting-cards{display:none}.accounting-form-modal{width:min(100%,720px)}.category-form-modal{width:min(100%,480px)}.accounting-form{gap:15px;padding:19px 21px 22px;display:grid}.accounting-form>label{color:#40504c;gap:7px;font-size:.75rem;font-weight:600;display:grid}.accounting-form input,.accounting-form select,.accounting-form textarea{width:100%;color:var(--ink);background:#fafbf9;border:1px solid #dce3de;border-radius:10px;outline:0;padding:0 11px;font-family:inherit;font-size:.75rem}.accounting-form input,.accounting-form select{height:43px}.accounting-form textarea{resize:vertical;padding-block:9px}.accounting-form label small{color:var(--muted);font-size:.75rem;font-weight:400}.accounting-form input:focus,.accounting-form select:focus,.accounting-form textarea:focus{background:#fff;border-color:#137d6e8c;box-shadow:0 0 0 4px #137d6e14}.transaction-type-grid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.transaction-type-grid button{color:#61706b;cursor:pointer;background:#fff;border:1px solid #dfe5e1;border-radius:9px;min-height:39px;padding:0 7px;font-family:inherit;font-size:.75rem}.transaction-type-grid button.is-active{color:var(--brand);background:var(--brand-soft);border-color:#a9d2c6;font-weight:700}.accounting-form .async-search-select{align-self:start}.journal-detail-modal{width:min(96vw,900px)}.journal-detail-body{gap:13px;padding:18px 20px 22px;display:grid}.journal-detail-meta{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.journal-detail-meta>span{background:#f5f8f6;border-radius:9px;gap:5px;padding:10px;display:grid}.journal-detail-meta small{color:var(--muted);font-size:.75rem}.journal-detail-meta strong{font-size:.75rem}.is-posted{color:var(--brand)}.journal-description{color:#4f5f59;background:#fff8eb;border-radius:9px;margin:0;padding:10px 12px;font-size:.75rem;line-height:1.8}.journal-lines-table{border:1px solid #e4e9e5;border-radius:10px;overflow-x:auto}.journal-lines-table th{background:#fafbf9}.journal-lines-table th,.journal-lines-table td{padding:11px 12px}.journal-lines-table tfoot{color:var(--brand-dark);background:var(--brand-soft);font-weight:700}@media (width<=980px){.accounting-stats{grid-template-columns:repeat(2,1fr)}.accounting-ledger-panel>header{flex-direction:column;align-items:stretch}.accounting-ledger-panel>header>label{width:100%}}@media (width<=760px){.accounting-heading{flex-direction:column;align-items:stretch}.accounting-heading__actions{grid-template-columns:1fr 1fr;display:grid}.accounting-heading__actions .primary-button{grid-column:1/-1}.accounting-stats{grid-template-columns:repeat(2,1fr);gap:7px}.accounting-stats article{gap:7px;min-height:75px;padding:9px}.accounting-stats article>span{width:34px;height:34px}.accounting-stats small,.accounting-stats strong{font-size:.75rem}.accounting-tabs{grid-template-columns:repeat(3,1fr);display:grid}.accounting-tabs button{justify-content:center;padding-inline:5px}.accounting-table{display:none}.accounting-cards{gap:8px;padding:12px;display:grid}.accounting-cards article{cursor:pointer;background:#fff;border:1px solid #e4e9e5;border-radius:11px;gap:9px;padding:12px;display:grid}.accounting-cards header{justify-content:space-between;gap:8px;display:flex}.accounting-cards header>div{gap:4px;display:grid}.accounting-cards header small,.accounting-cards footer{color:var(--muted);font-size:.75rem}.accounting-cards header>span{border-radius:999px;padding:5px 7px;font-size:.75rem}.accounting-cards .is-in{color:var(--brand);background:var(--brand-soft)}.accounting-cards .is-out{color:var(--red);background:var(--red-soft)}.accounting-cards p{color:#586761;margin:0;font-size:.75rem}.accounting-cards article>div{grid-template-columns:1fr 1fr;gap:7px;display:grid}.accounting-cards article>div span{background:#f5f8f6;border-radius:8px;gap:4px;padding:8px;display:grid}.accounting-cards article>div small{color:var(--muted);font-size:.75rem}.accounting-cards article>div strong{font-size:.75rem}.accounting-form-modal,.journal-detail-modal{border-radius:0;width:100%;max-height:100vh}.journal-detail-meta{grid-template-columns:1fr 1fr}}@media (width<=500px){.accounting-stats,.accounting-tabs{grid-template-columns:1fr}.transaction-type-grid,.journal-detail-meta{grid-template-columns:1fr 1fr}.accounting-form{padding:15px}}.dashboard-heading__actions{align-items:center;gap:8px;display:flex}.dashboard-empty,.report-empty,.report-chart-empty{min-height:150px;color:var(--muted);place-content:center;justify-items:center;gap:9px;font-size:.75rem;display:grid}.dashboard-empty svg,.report-empty svg{color:#91aaa3}.dashboard-sale-cards{display:none}.report-trend-chart{direction:ltr;min-width:0;height:235px;margin-top:14px;padding-top:21px;position:relative}.report-trend-chart:before,.report-trend-chart:after{content:"";background:#edf1ee;height:1px;position:absolute;left:0;right:0}.report-trend-chart:before{top:35%}.report-trend-chart:after{top:68%}.report-trend-chart svg{z-index:1;width:100%;height:180px;position:relative;overflow:visible}.report-trend-chart__max{z-index:2;color:var(--muted);direction:rtl;font-size:.75rem;position:absolute;top:0;left:0}.report-trend-chart__labels{height:27px;color:var(--muted);direction:ltr;justify-content:space-between;align-items:end;font-size:.75rem;display:flex}.report-trend-chart__labels span{direction:rtl}.report-chart-empty{background:#fafcfa;border:1px dashed #dce4df;border-radius:12px;height:235px;min-height:0}.reports-page{min-width:0}.reports-heading{align-items:flex-end}.report-range-badge{color:var(--brand);background:var(--brand-soft);border:1px solid #cfe1dc;border-radius:12px;align-items:center;gap:9px;padding:10px 13px;display:flex}.report-range-badge>span{align-items:center;gap:7px;font-size:.75rem;display:flex}.report-range-badge b{color:var(--muted);font-weight:400}.report-filters{grid-template-columns:minmax(230px,1fr) minmax(230px,1fr) auto;align-items:end;gap:12px;margin-bottom:14px;padding:16px;display:grid}.report-filters .persian-date-time-field{gap:6px;display:grid}.report-filters .persian-date-time-field>label{color:#40504c;font-size:.75rem;font-weight:600}.report-filters .persian-date-time-picker__container,.report-filters .persian-date-time-picker__input{width:100%}.report-filters .persian-date-time-picker__input{background:#fafbf9;border:1px solid #dce3de;border-radius:9px;height:42px;padding:0 10px;font-family:inherit;font-size:.75rem}.report-filters .persian-date-time-field>small{color:var(--muted);font-size:.75rem}.report-filters>button{min-height:42px}.report-filters>p{color:var(--red);grid-column:1/-1;margin:0;font-size:.75rem}.report-tabs{background:#e9eeea;border-radius:11px;gap:4px;width:fit-content;margin:0 0 14px;padding:4px;display:flex}.report-tabs button{color:#64716d;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:7px;min-height:38px;padding:0 14px;font-family:inherit;font-size:.75rem;display:flex}.report-tabs button.is-active{color:var(--brand-dark);background:#fff;box-shadow:0 3px 10px #19373114}.report-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.report-kpis article{border:1px solid var(--line);min-height:102px;box-shadow:var(--shadow);background:#fff;border-radius:14px;align-items:flex-start;gap:10px;padding:15px;display:flex}.report-kpis article>span{border-radius:11px;flex:none;place-items:center;width:39px;height:39px;display:grid}.report-kpis article>span svg{width:19px}.report-kpis .green{color:var(--brand);background:var(--brand-soft)}.report-kpis .red{color:var(--red);background:var(--red-soft)}.report-kpis .blue{color:var(--blue);background:var(--blue-soft)}.report-kpis .orange{color:var(--orange);background:var(--orange-soft)}.report-kpis article>div{gap:5px;min-width:0;display:grid}.report-kpis small,.report-kpis em{color:var(--muted);font-size:.75rem;font-style:normal}.report-kpis strong{text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.reports-grid{gap:14px;margin-bottom:14px;display:grid}.reports-grid--chart{grid-template-columns:minmax(0,1.65fr) minmax(270px,.65fr)}.report-panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-height:40px;display:flex}.report-panel-heading h3{margin:0;font-size:.82rem}.report-panel-heading p{color:var(--muted);margin:5px 0 0;font-size:.75rem}.report-panel-heading>strong{color:var(--brand);font-size:.75rem}.payment-report{align-content:start;gap:13px;display:grid}.payment-report>div:not(.report-empty){grid-template-columns:1fr auto;gap:6px 9px;display:grid}.payment-report>div>span{gap:3px;display:grid}.payment-report b{font-size:.75rem}.payment-report small{color:var(--muted);font-size:.75rem}.payment-report strong{font-size:.75rem}.payment-report em{background:#e8eeea;border-radius:5px;height:5px;position:relative;overflow:hidden}.payment-report em i{border-radius:inherit;background:var(--brand);height:100%;display:block}.payment-report>div>small{text-align:left}.top-products-panel{margin-bottom:14px;padding:0;overflow:hidden}.top-products-panel>header{padding:18px 20px 8px}.report-table{overflow-x:auto}.report-table th{background:#fafbf9;padding:12px 14px}.report-table td{padding:13px 14px}.report-table td:first-child{gap:4px;min-width:160px;display:grid}.report-table td:first-child small{color:var(--muted);font-size:.75rem}.report-positive{color:var(--brand);font-weight:700}.report-negative{color:var(--red);font-weight:700}.top-product-cards{display:none}.report-balance-strip{grid-template-columns:1fr 1fr;gap:12px;display:grid}.report-balance-strip span{min-height:52px;color:var(--muted);border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;padding:0 15px;font-size:.75rem;display:flex}.report-balance-strip b{color:var(--ink);font-size:.75rem}.price-report-panel{padding:0;overflow:visible}.price-report-filters{border-bottom:1px solid #e8ece9;grid-template-columns:1fr 1fr minmax(170px,.55fr);align-items:end;gap:10px;padding:16px;display:grid}.price-report-filters>div{position:relative}.price-report-filters>div>button{color:var(--red);cursor:pointer;background:0 0;border:0;margin-top:6px;padding:0;font-family:inherit;font-size:.75rem}.price-report-filters>label{color:#40504c;gap:7px;font-size:.75rem;font-weight:600;display:grid}.price-report-filters select{background:#fafbf9;border:1px solid #dce3de;border-radius:9px;width:100%;height:42px;padding:0 10px;font-family:inherit;font-size:.75rem}.price-report-list{grid-template-columns:1fr 1fr;gap:10px;padding:14px;display:grid}.price-report-list>article{background:#fafbf9;border:1px solid #e3e8e4;border-radius:12px;gap:11px;padding:13px;display:grid}.price-report-list>article>header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.price-report-list header>div{gap:3px;display:grid}.price-report-list header strong{font-size:.75rem}.price-report-list header small{color:var(--muted);font-size:.75rem}.price-report-list header>span{color:var(--brand);background:var(--brand-soft);border-radius:16px;padding:5px 7px;font-size:.75rem}.price-report-meta{color:var(--muted);flex-wrap:wrap;gap:8px 12px;display:flex}.price-report-meta span{align-items:center;gap:4px;font-size:.75rem;display:flex}.price-report-meta p{color:#53615d;width:100%;margin:0;font-size:.75rem;line-height:1.8}.price-report-values{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.price-report-values>span{background:#f0f4f1;border-radius:9px;grid-template-columns:1fr auto 1fr;gap:4px;padding:8px;display:grid}.price-report-values small{color:var(--muted);grid-column:1/-1;font-size:.75rem}.price-report-values del{color:#87928f;font-size:.75rem}.price-report-values b{color:#9aa6a2;font-size:.75rem}.price-report-values strong{color:var(--brand);font-size:.75rem}.price-report-list footer{align-items:center;gap:5px;font-size:.75rem;display:flex}.price-report-list footer.is-up{color:var(--brand)}.price-report-list footer.is-down{color:var(--red)}.price-report-panel>.pagination{border-top:1px solid #e8ece9;padding:13px 16px}@media (width<=1250px){.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-grid--chart{grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr)}}@media (width<=1020px){.reports-grid--chart,.price-report-list{grid-template-columns:1fr}}@media (width<=760px){.dashboard-heading{flex-direction:column;align-items:flex-start}.dashboard-heading__actions{width:100%}.dashboard-heading__actions a{flex:1;justify-content:center}.recent-sales .table-wrap{display:none}.dashboard-sale-cards{gap:8px;margin-top:12px;display:grid}.dashboard-sale-cards article{background:#fafbf9;border:1px solid #e5eae6;border-radius:11px;gap:6px;padding:11px;display:grid}.dashboard-sale-cards header{justify-content:space-between;gap:8px;display:flex}.dashboard-sale-cards header strong{font-size:.75rem}.dashboard-sale-cards header span{color:var(--brand);font-size:.75rem}.dashboard-sale-cards>article>small,.dashboard-sale-cards footer{color:var(--muted);font-size:.75rem}.dashboard-sale-cards b{font-size:.75rem}.reports-heading{flex-direction:column;align-items:flex-start}.report-range-badge{width:100%}.report-range-badge>span{flex-wrap:wrap}.report-filters{grid-template-columns:1fr}.report-filters>button{width:100%}.report-kpis{grid-template-columns:1fr 1fr;gap:9px}.report-kpis article{min-height:96px;padding:12px}.report-kpis strong{white-space:normal}.report-trend-chart{height:210px}.report-trend-chart svg{height:155px}.report-balance-strip{grid-template-columns:1fr}.report-table{display:none}.top-product-cards{gap:8px;padding:12px;display:grid}.top-product-cards article{border:1px solid #e5eae6;border-radius:11px;padding:11px}.top-product-cards header{justify-content:space-between;gap:8px;display:flex}.top-product-cards header strong{font-size:.75rem}.top-product-cards header small{color:var(--muted);font-size:.75rem}.top-product-cards article>div{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px;display:grid}.top-product-cards span{gap:4px;display:grid}.top-product-cards small{color:var(--muted);font-size:.75rem}.top-product-cards b{font-size:.75rem}.price-report-filters,.price-report-values{grid-template-columns:1fr}.price-report-list{padding:10px}}@media (width<=500px){.dashboard-heading__actions{flex-direction:column;align-items:stretch}.report-kpis{grid-template-columns:1fr}.report-tabs{width:100%}.report-tabs button{flex:1;justify-content:center}.report-range-badge>span{display:grid}.report-range-badge b{display:none}}.operations-page{min-width:0}.operations-heading{align-items:flex-end}.operations-secure-badge{color:var(--brand);background:var(--brand-soft);white-space:nowrap;border:1px solid #cbe1da;border-radius:20px;align-items:center;gap:7px;padding:9px 12px;font-size:.75rem;display:inline-flex}.operations-tabs{background:#e9eeea;border-radius:11px;gap:4px;width:fit-content;margin-bottom:14px;padding:4px;display:flex}.operations-tabs button{color:#65736e;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:7px;min-height:39px;padding:0 14px;font-family:inherit;font-size:.75rem;display:inline-flex}.operations-tabs button.is-active{color:var(--brand-dark);background:#fff;box-shadow:0 3px 10px #19373114}.operations-overview{gap:14px;display:grid}.operations-status-grid{grid-template-columns:1fr 1fr 1.3fr;gap:12px;display:grid}.operations-status-card,.operations-health-summary{border:1px solid var(--line);min-height:102px;box-shadow:var(--shadow);background:#fff;border-radius:14px;align-items:center;gap:11px;padding:15px;display:flex}.operations-status-card>span{color:#788681;background:#f0f3f1;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid}.operations-status-card>div,.operations-health-summary>div{flex:1;gap:4px;min-width:0;display:grid}.operations-status-card small,.operations-health-summary small{color:var(--muted);font-size:.75rem}.operations-status-card strong,.operations-health-summary strong{font-size:.75rem}.operations-status-card em{color:var(--muted);font-size:.75rem;font-style:normal}.operations-status-card>svg{color:#9ba5a1;width:19px}.operations-status-card.is-healthy>span,.operations-status-card.is-healthy>svg{color:var(--brand)}.operations-status-card.is-healthy>span{background:var(--brand-soft)}.operations-status-card.is-down>span,.operations-status-card.is-down>svg{color:var(--red)}.operations-status-card.is-down>span{background:var(--red-soft)}.operations-health-summary{color:#8f6151;background:#fffaf7;border-color:#edddd6}.operations-health-summary.is-healthy{color:var(--brand);background:#f8fcfa;border-color:#d8e9e3}.operations-health-summary>svg{flex:none}.operations-health-summary span{color:var(--muted);font-size:.75rem}.operations-health-summary button{width:35px;height:35px;color:inherit;cursor:pointer;opacity:.75;background:0 0;border:1px solid;border-radius:9px;place-items:center;display:grid}.backup-panel{padding:0;overflow:hidden}.backup-panel>header{border-bottom:1px solid #e8ede9;justify-content:space-between;align-items:center;gap:12px;padding:17px 19px;display:flex}.backup-panel>header>div,.audit-panel__heading>div{align-items:center;gap:10px;display:flex}.backup-panel>header h3,.audit-panel__heading h3{margin:0;font-size:.8rem}.backup-panel>header p,.audit-panel__heading p{color:var(--muted);margin:5px 0 0;font-size:.75rem}.panel-icon{width:39px;height:39px;color:var(--brand);background:var(--brand-soft);border-radius:11px;flex:none;place-items:center;display:grid}.panel-icon svg{width:19px}.backup-notice{color:#8b6839;background:#fffaf0;border:1px solid #f0dfbf;border-radius:10px;align-items:flex-start;gap:8px;margin:13px 16px 0;padding:11px 13px;display:flex}.backup-notice>svg{flex:none}.backup-notice p{gap:3px;margin:0;display:grid}.backup-notice strong{color:#6c502c;font-size:.75rem}.backup-notice span{font-size:.75rem;line-height:1.8}.operations-error{color:#a64d48;background:var(--red-soft);border-radius:9px;margin:12px 16px 0;padding:10px 12px;font-size:.75rem}.backup-list{gap:8px;padding:13px 16px 17px;display:grid}.backup-row{background:#fafbf9;border:1px solid #e5eae6;border-radius:11px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;display:grid}.backup-row__icon{width:36px;height:36px;color:var(--brand);background:var(--brand-soft);border-radius:10px;place-items:center;display:grid}.backup-row__icon svg{width:18px}.backup-row>div:nth-child(2){gap:5px;min-width:0;display:grid}.backup-row>div:nth-child(2)>strong{text-overflow:ellipsis;white-space:nowrap;text-align:right;font-size:.75rem;overflow:hidden}.backup-row>div:nth-child(2)>span{color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px;font-size:.75rem;display:flex}.backup-row>div:nth-child(2)>small{color:var(--red);font-size:.75rem}.backup-row>div:last-child{justify-items:end;gap:4px;display:grid}.backup-row>div:last-child b{color:var(--brand);background:var(--brand-soft);border-radius:15px;padding:5px 8px;font-size:.75rem}.backup-row.is-running>div:last-child b{color:#99682d;background:var(--orange-soft)}.backup-row.is-failed>div:last-child b{color:var(--red);background:var(--red-soft)}.backup-row>div:last-child small{color:var(--muted);font-size:.75rem}.operations-empty{min-height:190px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:8px;padding:24px;display:grid}.operations-empty svg{color:#91aaa3}.operations-empty strong{color:#586761;font-size:.75rem}.operations-empty span{font-size:.75rem}.audit-panel{padding:0;overflow:visible}.audit-panel__heading{border-bottom:1px solid #e8ede9;justify-content:space-between;align-items:center;gap:10px;padding:16px 18px;display:flex}.audit-panel__heading>span{color:var(--brand);background:var(--brand-soft);border-radius:15px;padding:6px 9px;font-size:.75rem}.audit-filters{border-bottom:1px solid #e8ede9;grid-template-columns:1fr 1fr 1fr .65fr .8fr;align-items:end;gap:10px;padding:15px 16px;display:grid}.audit-filters .persian-date-time-field,.audit-filters>label{color:#40504c;gap:6px;font-size:.75rem;font-weight:600;display:grid}.audit-filters .persian-date-time-picker__container,.audit-filters .persian-date-time-picker__input{width:100%}.audit-filters .persian-date-time-picker__input,.audit-filters select{width:100%;height:41px;color:var(--ink);background:#fafbf9;border:1px solid #dce3de;border-radius:9px;outline:0;padding:0 9px;font-family:inherit;font-size:.75rem}.audit-filters .persian-date-time-field>small{color:var(--muted);font-size:.75rem;font-weight:400}.audit-search{height:41px;color:var(--muted);background:#fafbf9;border:1px solid #dce3de;border-radius:9px;align-items:center;gap:7px;padding:0 10px;display:flex}.audit-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-family:inherit;font-size:.75rem}.audit-filters>.primary-button{min-height:41px}.audit-filters>p{color:var(--red);grid-column:1/-1;margin:0;font-size:.75rem}.filter-clear{width:fit-content;color:var(--red);cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:.75rem}.audit-list{gap:9px;min-width:0;padding:13px 16px;display:grid}.audit-row{background:#fafbf9;border:1px solid #e5eae6;border-radius:11px;min-width:0;max-width:100%;padding:12px 13px;overflow:hidden}.audit-row>header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.audit-action{color:var(--blue);background:var(--blue-soft);border-radius:14px;padding:5px 8px;font-size:.75rem}.audit-action.is-update{color:#9b682d;background:var(--orange-soft)}.audit-action.is-delete{color:var(--red);background:var(--red-soft)}.audit-row>header>div{gap:3px;min-width:0;display:grid}.audit-row>header strong{font-size:.75rem}.audit-row>header small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;text-align:right;font-size:.75rem;overflow:hidden}.audit-row time{color:var(--muted);white-space:nowrap;font-size:.75rem}.audit-row__meta{min-width:0;color:var(--muted);flex-wrap:wrap;gap:6px 13px;margin-top:9px;display:flex}.audit-row__meta span{align-items:center;gap:4px;min-width:0;font-size:.75rem;display:flex}.audit-row details{border-top:1px solid #e5eae6;min-width:0;max-width:100%;margin-top:10px}.audit-row summary{color:var(--brand);cursor:pointer;padding-top:9px;font-size:.75rem}.audit-diff{border:1px solid #e2e7e3;border-radius:8px;width:100%;max-width:100%;margin-top:9px;display:grid;overflow:hidden}.audit-diff>div{border-bottom:1px solid #e7ebe8;grid-template-columns:minmax(90px,.8fr) minmax(90px,1fr) auto minmax(90px,1fr);align-items:center;gap:7px;min-height:37px;padding:7px 9px;font-size:.75rem;display:grid}.audit-diff>div:last-child{border-bottom:0}.audit-diff b{color:#61706b}.audit-diff del{overflow-wrap:anywhere;color:#9a7673;min-width:0;text-decoration:none}.audit-diff span{color:#9aa5a1}.audit-diff strong{overflow-wrap:anywhere;min-width:0;color:var(--brand)}.audit-panel>.pagination{border-top:1px solid #e8ede9;padding:13px 16px}@media (width<=1180px){.operations-status-grid{grid-template-columns:1fr 1fr}.operations-health-summary{grid-column:1/-1}.audit-filters{grid-template-columns:1fr 1fr 1fr}}@media (width<=760px){.operations-heading{flex-direction:column;align-items:flex-start}.operations-secure-badge{width:fit-content}.operations-status-grid{grid-template-columns:1fr 1fr;gap:8px}.operations-health-summary{grid-column:1/-1}.backup-panel>header{flex-direction:column;align-items:stretch}.backup-panel>header>.primary-button{width:100%}.audit-panel__heading{align-items:flex-start}.audit-panel__heading p{max-width:230px}.audit-filters{grid-template-columns:1fr 1fr}.audit-filters>.primary-button{width:100%}.audit-row>header{grid-template-columns:auto minmax(0,1fr)}.audit-row time{grid-column:2}.audit-diff{overflow-x:auto}.audit-diff>div{min-width:580px}}@media (width<=500px){.operations-tabs{width:100%}.operations-tabs button{flex:1;justify-content:center;padding-inline:8px}.operations-status-grid{grid-template-columns:1fr}.operations-health-summary{grid-column:auto}.operations-status-card,.operations-health-summary{min-height:88px;padding:12px}.backup-notice{margin-inline:11px}.backup-list{padding-inline:11px}.backup-row{grid-template-columns:34px minmax(0,1fr)}.backup-row>div:last-child{grid-area:2/2;grid-template-columns:auto auto;place-items:center start}.audit-filters{grid-template-columns:1fr;padding-inline:11px}.audit-list{padding-inline:10px}.audit-row__meta span[dir=ltr]{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.audit-panel__heading>span{display:none}.audit-diff{overflow:hidden}.audit-diff>div{grid-template-columns:1fr;gap:5px;min-width:0}.audit-diff>div>span{display:none}.audit-diff del,.audit-diff strong{grid-template-columns:35px minmax(0,1fr);gap:6px;display:grid}.audit-diff del:before,.audit-diff strong:before{content:attr(data-label);color:var(--muted);font-size:.75rem;font-weight:400;text-decoration:none}}@media (width<=760px){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}}.topbar__store-picker{min-width:155px;color:var(--muted);gap:3px;font-size:.68rem;display:grid}.topbar__store-picker select{width:100%;max-width:210px;min-height:39px;color:var(--brand-dark);font:inherit;background:#fff;border:1px solid #dce5df;border-radius:10px;padding:0 10px;font-size:.78rem;font-weight:700}.topbar__store-picker small{color:var(--red);line-height:1.5}.stores-page{gap:18px;display:grid}.stores-page__heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.stores-page__heading small{color:var(--brand);font-size:.75rem}.stores-page__heading h1{margin:4px 0;font-size:1.25rem}.stores-page__heading p{color:var(--muted);margin:0;font-size:.78rem}.stores-page__heading button{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.stores-page__message{background:var(--brand-soft);color:var(--brand-dark);border-radius:10px;margin:0;padding:10px 13px;font-size:.78rem}.stores-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));align-items:start;gap:16px;display:grid}.store-card{padding:18px}.store-card>header{align-items:center;gap:11px;display:flex}.store-card__icon{width:42px;height:42px;color:var(--brand);background:var(--brand-soft);border-radius:11px;place-items:center;display:grid}.store-card>header>div{flex:1;gap:4px;min-width:0;display:grid}.store-card>header>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.store-card>header>div small{color:var(--muted);text-align:right;font-size:.7rem}.store-card>p{color:var(--muted);font-size:.75rem}.store-card__actions{gap:8px;margin-bottom:18px;display:flex}.store-card__actions button,.store-resources button,.store-resource button{color:var(--brand);font:inherit;cursor:pointer;background:#fff;border:1px solid #dce5df;border-radius:8px;align-items:center;gap:5px;padding:7px 9px;font-size:.73rem;display:inline-flex}.store-card__actions button:disabled,.store-resource button:disabled{opacity:.45;cursor:not-allowed}.store-resources{border-top:1px solid var(--line);margin-top:13px;padding-top:13px}.store-resources>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.store-resources>header strong{align-items:center;gap:6px;font-size:.8rem;display:inline-flex}.store-resource{border-bottom:1px solid #f0f2f0;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.store-resource>span:first-child{gap:3px;display:grid}.store-resource strong{font-size:.77rem}.store-resource small{color:var(--muted);text-align:right;font-size:.69rem}.store-resource__controls{align-items:center;gap:5px;display:flex}@media (width<=780px){.topbar__store-picker{min-width:125px}.topbar__store-picker select{max-width:155px}.stores-page__heading{align-items:flex-start}}@media (width<=520px){.topbar__store-picker{min-width:100px}.topbar__store-picker span{display:none}.topbar__store-picker select{max-width:115px;font-size:.7rem}.stores-page__heading{flex-direction:column}.stores-page__heading button{justify-content:center;width:100%}.store-card{padding:14px}}.inventory-transfers-page{gap:18px;display:grid}.inventory-transfers-page .page-heading{margin-bottom:0}.transfer-create-panel,.transfer-history-panel{overflow:hidden}.transfer-panel-heading{color:var(--brand);align-items:flex-start;gap:10px;padding:17px 21px 0;display:flex}.transfer-panel-heading h3{color:var(--ink);margin:0;font-size:.93rem}.transfer-panel-heading p{color:var(--muted);margin:5px 0 0;font-size:.75rem;line-height:1.8}.transfer-form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.transfer-form-grid label{color:#40504c;gap:7px;font-size:.75rem;font-weight:600;display:grid}.transfer-form-grid input,.transfer-form-grid select{width:100%;min-width:0;height:42px;color:var(--ink);font:inherit;background:#fff;border:1px solid #dce3de;border-radius:9px;padding:0 11px}.transfer-history-list{gap:9px;padding:16px 21px;display:grid}.transfer-history-item{border:1px solid #e7ebe8;border-radius:11px;overflow:hidden}.transfer-history-summary{text-align:right;cursor:pointer;background:#fff;border:0;grid-template-columns:1fr 2fr 1fr;gap:12px;width:100%;padding:13px;display:grid}.transfer-history-summary:hover{background:#f7faf8}.transfer-history-summary>span{gap:5px;min-width:0;display:grid}.transfer-history-summary strong{color:var(--ink);font-size:.76rem}.transfer-history-summary small{color:var(--muted);font-size:.73rem;line-height:1.7}.transfer-history-details{color:#485a54;background:#f8faf8;border-top:1px solid #e7ebe8;grid-template-columns:1fr 1fr;gap:9px;padding:12px 14px;font-size:.75rem;display:grid}@media (width<=700px){.transfer-form-grid,.transfer-history-summary,.transfer-history-details{grid-template-columns:1fr}.transfer-panel-heading{padding:15px 16px 0}.transfer-history-list{padding:13px 15px}}.report-store-selector{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:14px;gap:11px;margin-bottom:15px;padding:14px 16px;display:grid}.report-store-selector__heading{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.report-store-selector__heading strong{color:var(--ink);font-size:.81rem}.report-store-selector__heading small,.report-store-selector>p,.report-store-selector__stores p{color:var(--muted);font-size:.75rem}.report-store-selector__modes{flex-wrap:wrap;gap:7px;display:flex}.report-store-selector__modes button{color:#5d6d66;font:inherit;cursor:pointer;background:#fff;border:1px solid #dce5df;border-radius:9px;padding:8px 13px;font-size:.75rem}.report-store-selector__modes button.is-active{color:var(--brand);background:var(--brand-soft);border-color:#9bcdbf;font-weight:700}.report-store-selector__stores{flex-wrap:wrap;gap:7px;display:flex}.report-store-selector__stores label{cursor:pointer;background:#f9fbf9;border:1px solid #e3e9e4;border-radius:9px;align-items:center;gap:6px;padding:8px 11px;font-size:.75rem;display:flex}.report-store-selector__stores input{accent-color:var(--brand)}.report-store-selector__stores label small{color:var(--muted)}.report-store-selector__stores p{width:100%;color:var(--red);margin:0}.report-store-selector>p{color:var(--red);margin:0}.report-store-selector>p button{color:var(--brand);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}
