@import"https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap";.baba-auth{--auth-ink: #152c37;--auth-muted: #7c878d;--auth-accent: #bc9161;min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);background:#f9f9f6;color:var(--auth-ink);font-family:Cairo,Tahoma,sans-serif}.baba-auth *{box-sizing:border-box}.baba-auth-brand{min-width:0;position:relative;overflow:hidden;background:#102d38;color:#fff;padding:40px clamp(28px,4vw,64px) 26px;display:flex;flex-direction:column;isolation:isolate}.baba-auth-brand:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;opacity:.35;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:64px 64px;-webkit-mask-image:linear-gradient(transparent,#000);mask-image:linear-gradient(transparent,#000)}.baba-auth-brand:after{content:"";position:absolute;width:530px;height:530px;left:-280px;top:5%;background:#45817c35;filter:blur(90px);z-index:-1;border-radius:50%}.baba-auth-wordmark{display:flex;align-items:center;gap:12px}.baba-auth-wordmark strong{font-family:Arial,sans-serif;font-size:29px;letter-spacing:3px;position:relative}.baba-auth-wordmark strong>span{font-size:9px;vertical-align:top;letter-spacing:0}.baba-auth-mark{width:43px;height:43px;display:grid;place-items:center;border:1px solid #ffffff29;border-radius:12px;color:#d5b48c;background:#ffffff05}.baba-auth-brand-caption{border-right:1px solid #ffffff26;padding-right:15px;margin-right:7px;font-size:10px;color:#9db1b8}.baba-auth-brand-content{margin:auto 0;padding-top:65px}.baba-auth-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.3px;color:#b7c9ce}.baba-auth-eyebrow>span{width:6px;height:6px;background:#c5a47b;border-radius:50%}.baba-auth-brand h1{font-size:clamp(34px,3.7vw,55px);line-height:1.6;font-weight:800;margin:20px 0 16px;letter-spacing:-1.8px}.baba-auth-brand h1>span{color:#d6b68e}.baba-auth-brand-content>p{font-size:13px;line-height:2;margin:0;color:#a7bbc2}.baba-auth-illustration{height:290px;position:relative;max-width:420px;margin:26px auto 8px;width:100%}.baba-auth-orbit{position:absolute;width:310px;height:310px;border:1px solid #ffffff0b;border-radius:50%;left:50%;top:-5px;transform:translate(-50%)}.baba-auth-orbit-inner{width:230px;height:230px;top:35px}.baba-auth-feature-card{position:absolute;border-radius:16px;background:#173b47;border:1px solid #ffffff19;box-shadow:0 15px 40px #00151c35}.baba-auth-feature-back{width:154px;height:152px;top:12px;right:0;transform:rotate(9deg);padding:20px;color:#a8c1c9}.baba-auth-feature-back>span{display:block;font-size:11px;margin:9px 0}.baba-auth-feature-back>i{display:block;height:5px;border-radius:3px;background:#ffffff12;width:65%;margin:8px 0}.baba-auth-feature-back>i:last-child{width:42%}.baba-auth-feature-middle{width:162px;height:145px;top:33px;left:0;transform:rotate(-10deg);padding:18px;color:#aec8ce}.baba-auth-feature-middle>span{font-size:11px;margin-right:8px;vertical-align:top}.baba-auth-mini-bars{display:flex;align-items:flex-end;gap:9px;height:54px;margin-top:13px}.baba-auth-mini-bars i{flex:1;border-radius:3px 3px 0 0;background:#47757b;height:50%}.baba-auth-mini-bars i:nth-child(2){height:75%}.baba-auth-mini-bars i:nth-child(3){height:60%}.baba-auth-mini-bars i:nth-child(4){height:95%;background:#c3a07b}.baba-auth-mini-bars i:nth-child(5){height:80%}.baba-auth-feature-front{width:216px;height:190px;top:64px;right:calc(50% - 108px);background:#faf9f4;color:#16313a;padding:20px;transform:rotate(-2deg)}.baba-auth-feature-front>div:first-child{display:flex;align-items:center;justify-content:space-between;color:#859596}.baba-auth-feature-icon{display:grid;place-items:center;height:37px;width:37px;border-radius:10px;background:#e9eee9;color:#47645d}.baba-auth-feature-front>strong{display:block;font-size:18px;margin-top:14px}.baba-auth-feature-front>span{display:block;font-size:9px;color:#8b9694;margin-top:4px}.baba-auth-mini-lines{display:flex;gap:5px;margin-top:17px}.baba-auth-mini-lines>i{height:4px;flex:1;background:#e1e7e1;border-radius:3px}.baba-auth-mini-lines>i:first-child{background:#c1a27e}.baba-auth-illustration-label{position:absolute;left:50%;bottom:1px;transform:translate(-50%);white-space:nowrap;color:#809da5;font-size:9px}.baba-auth-brand-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:20px;margin-top:20px;border-top:1px solid #ffffff10;font-size:9px;color:#7d9ba5}.baba-auth-brand-bottom>span:last-child{letter-spacing:1.6px;font-size:8px}.baba-auth-entry{display:flex;flex-direction:column;min-width:0;padding:35px clamp(24px,5vw,80px) 25px;background:radial-gradient(ellipse at 0 0,#eeeee6aa,transparent 60%),#fbfbf8}.baba-auth-entry-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:#8a9698}.baba-auth-workspace{display:inline-flex;align-items:center;gap:7px;border:1px solid #e1e7e0;padding:5px 10px;border-radius:20px;background:#fff8;color:#5e746b}.baba-auth-workspace>span{width:5px;height:5px;border-radius:50%;background:#6b9981}.baba-auth-form-card{width:100%;max-width:390px;margin:auto;padding:45px 0}.baba-auth-form-icon{display:grid;place-items:center;width:53px;height:53px;border:1px solid #e0e5df;border-radius:16px;background:#fff;box-shadow:0 4px 9px #1e343506;margin-bottom:22px;color:#45605c}.baba-auth-kicker{color:#7f8d8c;font-size:11px;margin:0 0 7px}.baba-auth-form-card h2{font-size:clamp(29px,3vw,38px);font-weight:800;letter-spacing:-1.4px;line-height:1.5;margin:0 0 11px;color:#17323b}.baba-auth-form-card h2>span{color:#bc9161}.baba-auth-description{color:#7e8b8d;font-size:12px;line-height:1.9;margin:0 0 30px}.baba-auth-form{display:grid;gap:20px}.baba-auth-field{display:grid;gap:9px;min-width:0}.baba-auth-field>label{color:#334e56;font-weight:700;font-size:12px;display:flex;gap:8px;align-items:center}.baba-auth-field>label>span{font-weight:400;color:#8c9699;font-size:10px}.baba-auth-input{display:flex;align-items:center;min-width:0;height:54px;border:1px solid #dfe5e1;border-radius:10px;background:#fff;padding:0 13px;gap:10px;transition:border-color .2s,box-shadow .2s}.baba-auth-input:focus-within{border-color:#607d75;box-shadow:0 0 0 3px #607d7510}.baba-auth-input>svg{flex-shrink:0;color:#91a09f}.baba-auth .baba-auth-input>input{width:0;min-width:0;flex:1;height:100%;padding:0;margin:0;border:0;background:transparent;outline:none;box-shadow:none;color:#213e45;font:inherit;font-size:15px;border-radius:0}.baba-auth-input>input[dir=ltr]{text-align:left}.baba-auth-input>input::placeholder{color:#a4afad;font-size:12px}.baba-auth-input>input[type=password]{letter-spacing:2px}.baba-auth-input>input[type=password]::placeholder{letter-spacing:0}.baba-auth-input>button{display:grid;place-items:center;flex:0 0 40px;height:44px;padding:0;border:0;background:transparent;color:#839693;border-radius:7px}.baba-auth-input>button:hover{background:#f1f4ef}.baba-auth-field>small{color:#83918f;line-height:1.7;font-size:10px}.baba-auth-submit{display:flex;justify-content:center;align-items:center;gap:14px;width:100%;min-height:54px;margin-top:7px;border:1px solid #173843;border-radius:10px;color:#fff;background:#173843;font:inherit;font-size:13px;font-weight:700;box-shadow:0 5px 12px #17384314;transition:background .2s,transform .2s}.baba-auth-submit:hover:not(:disabled){background:#224c57;transform:translateY(-1px)}.baba-auth-switch{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:7px;margin-top:26px;padding-top:25px;border-top:1px solid #e7ebe5;font-size:11px;color:#899591}.baba-auth-switch>button{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#45675b;font:inherit;font-weight:800;padding:7px 0;min-height:38px}.baba-auth-form-note{display:flex;gap:7px;align-items:center;justify-content:center;color:#9ca7a3;font-size:9px;margin-top:24px}.baba-auth-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8px;color:#9ca6a2}.baba-auth-entry-footer>span:last-child{letter-spacing:1.1px;font-size:7px}.baba-auth-spinner{animation:baba-auth-spin 1s linear infinite}@keyframes baba-auth-spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.baba-auth-brand-content{max-width:560px;width:100%;margin-inline:auto}.baba-auth-form-card{max-width:430px}}@media(max-width:1024px){.baba-auth{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.baba-auth-brand{padding-inline:25px}.baba-auth-brand-caption{display:none}.baba-auth-brand h1{font-size:34px}.baba-auth-entry{padding-inline:32px}.baba-auth-illustration{transform:scale(.85);transform-origin:center}.baba-auth-brand-bottom{flex-direction:column;align-items:flex-start}}@media(max-width:760px){.baba-auth{grid-template-columns:minmax(0,1fr)}.baba-auth-brand{padding:22px 24px 25px}.baba-auth-brand-caption{display:block}.baba-auth-wordmark strong{font-size:23px}.baba-auth-mark{width:36px;height:36px}.baba-auth-brand-content{padding-top:22px}.baba-auth-eyebrow{display:none}.baba-auth-brand h1{font-size:27px;line-height:1.55;letter-spacing:-.8px;margin:0}.baba-auth-brand h1 br{display:none}.baba-auth-brand h1>span{display:inline;margin-right:5px}.baba-auth-brand-content>p{font-size:11px;margin-top:10px}.baba-auth-desktop-break,.baba-auth-illustration,.baba-auth-brand-bottom{display:none}.baba-auth-entry{padding:24px 24px 20px}.baba-auth-entry-top{display:none}.baba-auth-form-card{padding:12px 0 30px;max-width:430px}.baba-auth-form-icon{width:44px;height:44px;border-radius:13px;margin-bottom:14px}.baba-auth-form-card h2{font-size:30px}.baba-auth-description{margin-bottom:24px}.baba-auth-form{gap:18px}.baba-auth-entry-footer{max-width:430px;width:100%;margin-inline:auto;flex-wrap:wrap}.baba-auth .baba-auth-input>input{font-size:16px}}@media(max-width:360px){.baba-auth-brand,.baba-auth-entry{padding-inline:18px}.baba-auth-brand h1{font-size:23px}.baba-auth-brand-caption{font-size:9px}.baba-auth-entry-footer>span:last-child{display:none}}@media(prefers-reduced-motion:reduce){.baba-auth *{animation:none!important;transition:none!important}}.baba-auth-entry-footer .baba-auth-developer{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;font-size:14px;color:#425e56;letter-spacing:0;line-height:1.8}.baba-auth-developer strong{color:#243f37;font-weight:800;font-size:11px;line-height:1.4}.baba-auth-developer a{color:#243f37;font-weight:700;text-decoration:none;white-space:nowrap}.baba-auth-developer a:hover{text-decoration:underline}@media(max-width:760px){.baba-auth-entry-footer{justify-content:center;text-align:center}.baba-auth-entry-footer .baba-auth-developer{justify-content:center;width:100%}}.baba-auth-entry-footer{flex-wrap:wrap;row-gap:8px;font-size:11px;color:#687b74}@media(max-width:360px){.baba-auth-entry-footer .baba-auth-developer{display:flex}}.baba-auth-entry-footer .baba-auth-developer{flex-direction:column;align-items:flex-start;gap:2px}.baba-auth-developer a{font-size:11px;font-weight:500;color:#687b74;letter-spacing:.5px}@media(max-width:760px){.baba-auth-entry-footer .baba-auth-developer{align-items:center}}.baba-session-loading{display:flex;align-items:center;justify-content:center;gap:14px;min-height:100dvh;background:#fbfbf8;color:#173843;font-size:15px}html[data-theme=dark] .baba-auth{--auth-ink: #e8f2f4;--auth-muted: #b1c5ca;background:#0b1424;color:var(--auth-ink)}html[data-theme=dark] .baba-auth-brand{background:#0a202d}html[data-theme=dark] .baba-auth-entry{background:radial-gradient(ellipse at 0 0,#1d3440,transparent 60%),#111e2b}html[data-theme=dark] .baba-auth-entry-top,html[data-theme=dark] .baba-auth-kicker,html[data-theme=dark] .baba-auth-description,html[data-theme=dark] .baba-auth-form-note,html[data-theme=dark] .baba-auth-switch,html[data-theme=dark] .baba-auth-entry-footer,html[data-theme=dark] .baba-auth-field>label>span,html[data-theme=dark] .baba-auth-field>small{color:#b0c2c7}html[data-theme=dark] .baba-auth-form-card h2,html[data-theme=dark] .baba-auth-field>label{color:#e8f2f4}html[data-theme=dark] .baba-auth-form-icon,html[data-theme=dark] .baba-auth-workspace,html[data-theme=dark] .baba-auth-input{background:#1a303e;color:#d5e5e8;border-color:#45606c}html[data-theme=dark] .baba-auth .baba-auth-input>input{color:#f0f8fa}html[data-theme=dark] .baba-auth-input>button{color:#c3d5d9}html[data-theme=dark] .baba-auth-input>button:hover{background:#294553}html[data-theme=dark] .baba-auth-switch{border-color:#3d5660}html[data-theme=dark] .baba-auth-switch>button,html[data-theme=dark] .baba-auth-developer strong,html[data-theme=dark] .baba-auth-developer a,html[data-theme=dark] .baba-auth-entry-footer .baba-auth-developer{color:#dcebee}html[data-theme=dark] .baba-auth-feature-front{background:#1b3743;color:#e9f1f3}html[data-theme=dark] .baba-auth-feature-front>span{color:#b4c9ce}html[data-theme=dark] .baba-auth-feature-icon{background:#2b4a51;color:#d9ece8}html[data-theme=dark] .baba-auth-mini-lines>i{background:#46606a}html[data-theme=dark] .baba-session-loading{background:#0b1424;color:#e8f2f4}html[data-theme=dark] .baba-auth-submit{background:#376e80;border-color:#376e80}html[data-theme=dark] .baba-auth-submit:hover:not(:disabled){background:#4b8799}.baba-auth-entry-footer{padding-bottom:44px}:root{--app-bg: #f4f6fa;--surface: #ffffff;--surface-muted: #f8faff;--surface-soft: #f2f6fc;--text: #17243a;--text-muted: #697991;--border: #e2e8f1;--line: #e2e8f1;--primary: #2459d6;--primary-hover: #1947b5;--primary-soft: #edf3ff;--navy: #14233d;--success: #12805c;--success-soft: #e6f7ef;--warning: #b87916;--warning-soft: #fff4dc;--danger: #cf4545;--danger-soft: #fff0ef;--chart-primary: #3185e8;--chart-secondary: #72b5ff;--chart-tertiary: #d3e6fb;--radius: 14px;--radius-sm: 9px;--shadow: 0 5px 22px rgba(25, 48, 83, .045);--shadow-hover: 0 12px 30px rgba(25, 48, 83, .09);--font-size-base: 14px;--font-size-small: 12px;--font-size-table: 13px;--font-size-heading: 27px;--transition: .2s ease}*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--app-bg);color:var(--text);font-family:Cairo,Tahoma,sans-serif;font-size:var(--font-size-base);line-height:1.7;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{max-width:100%}input::placeholder,textarea::placeholder{color:#9aa6b7}button,input,select,textarea{accent-color:var(--primary)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:2px}img{max-width:100%}#root{min-height:100vh}.app-shell{display:flex;min-height:100vh;direction:rtl}.main-area{min-width:0;flex:1;display:flex;flex-direction:column}.page-content{width:100%;min-width:0;flex:1;max-width:1900px;margin:0 auto;padding:28px clamp(16px,2.5vw,42px) 42px}.page-stack{display:grid;gap:24px}.brand{display:flex;align-items:center;gap:11px;padding:0 8px;color:var(--text);font-size:20px;font-weight:800;white-space:nowrap}.brand>span:last-child{display:flex;flex-direction:column;gap:2px}.brand small{color:var(--text-muted);font-size:10px;font-weight:700}.brand-mark{display:grid;flex-shrink:0;place-items:center;width:39px;height:39px;border-radius:12px;background:linear-gradient(145deg,#3276ff,#1745bb);color:#fff;font-size:21px;font-weight:800;box-shadow:0 5px 14px #2459d633}.nav-list{display:grid;gap:7px}.nav-item{display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;padding:12px 13px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--text-muted);text-align:right;font-size:13px;font-weight:700;transition:var(--transition)}.nav-item:hover{background:var(--primary-soft);color:var(--primary)}.nav-item.active{background:var(--primary);color:#fff;box-shadow:0 5px 14px #2459d626}.avatar{display:inline-grid;flex:0 0 36px;place-items:center;width:36px;height:36px;border:1px solid #d8e3ff;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:800}.topbar-actions{display:flex;align-items:center;gap:10px}.owner-user{display:flex;flex-direction:column;gap:2px;white-space:nowrap}.owner-user strong{color:var(--text);font-size:12px}.owner-user small{color:var(--text-muted);font-size:11px}.owner-shell{display:block;min-height:100vh;direction:rtl}.owner-shell .main-area{min-height:100vh}.owner-navbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:24px;min-height:82px;padding:12px clamp(14px,2.5vw,38px);border-bottom:1px solid var(--border);background:#fffffff7;box-shadow:0 5px 24px #15284a0a;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.owner-nav-list{display:flex;flex:1;align-items:center;gap:5px;min-width:0}.owner-nav-list .nav-item{justify-content:center;gap:7px;width:auto;padding:10px 12px;font-size:12px;white-space:nowrap}.customer-profile-return-stat{border-top:3px solid #d73535!important;background:#fff8f8!important}.customer-profile-return-stat .stat-top,.customer-profile-return-stat .stat-top svg,.customer-profile-return-stat>strong{color:#c62828!important}.form-grid label,.customers-form label,.fixed-prices-form label,.invoice-create-form label,.warehouses-form label,.transactions-form label,.notes-label{display:grid;gap:7px;min-width:0;color:var(--text-muted);font-size:13px;font-weight:700}.invoice-expanded,.all-invoices-expanded,.customer-invoice-details{margin:14px;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface);animation:invoice-details-open .56s cubic-bezier(.2,.75,.25,1) both}@keyframes invoice-details-open{0%{opacity:0;transform:translateY(-10px);clip-path:inset(0 0 100% 0)}to{opacity:1;transform:translateY(0);clip-path:inset(0 0 0 0)}}.retail-fixed-unit-price{display:inline-block;min-width:85px;text-align:center;white-space:nowrap}.retail-direction-field{display:grid;grid-template-columns:max-content minmax(200px,320px);align-items:center;gap:12px;color:var(--text-muted)}@media(max-width:650px){.retail-direction-field{grid-template-columns:1fr}}@media(max-width:720px){body{font-size:14px}.owner-navbar{gap:10px;min-height:auto;padding:11px 12px}.owner-navbar .brand{gap:8px;font-size:17px}.owner-navbar .brand-mark{width:34px;height:34px}.owner-user{display:none}.owner-nav-list{gap:5px;scrollbar-width:thin}.owner-nav-list .nav-item{gap:6px;padding:9px 10px;font-size:11px}.owner-nav-list .nav-item svg{width:15px;height:15px}.page-content,.owner-shell .page-content{padding:20px 12px 28px}.page-heading,.dashboard-heading,.customers-heading,.fixed-prices-heading,.reports-heading,.retail-sales-heading,.transactions-heading,.invoice-create-heading,.warehouses-heading,.customer-profile-heading,.customer-transactions-heading{align-items:flex-start}.page-heading h1{font-size:23px}.dashboard-stats,.reports-stats,.customer-profile-stats,.stats-grid,.stats-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.stat-card,.dashboard-stat,.reports-stat,.customer-profile-stat{padding:14px;gap:9px}.stat-card>strong,.dashboard-stat>strong,.reports-stat>strong,.customer-profile-stat>strong{font-size:20px}.panel,.customers-panel,.fixed-prices-panel,.transactions-table-panel,.customer-invoices-panel,.customer-transactions-panel,.invoice-create-items-panel,.retail-products-panel,.retail-invoice-panel,.warehouses-list-panel,.warehouses-search-panel,.reports-chart-panel,.reports-monthly-panel,.reports-collection-panel{padding:14px}.customers-form,.fixed-prices-form,.warehouses-form,.form-grid,.invoice-create-info,.transactions-form{grid-template-columns:minmax(0,1fr);padding:15px;gap:13px}.form-grid .form-actions,.customers-form-actions,.fixed-prices-form-actions,.invoice-create-actions,.transactions-form-actions{grid-column:auto}.table-toolbar,.customers-toolbar,.fixed-prices-toolbar,.transactions-toolbar,.transactions-filter-bar,.customer-invoices-toolbar{align-items:stretch;flex-direction:column}.local-search,.customers-search,.fixed-prices-search,.all-invoices-search,.customer-invoices-search,.transactions-search,.warehouses-search{width:100%}table{min-width:650px}thead th,tbody td{padding:12px 10px;font-size:12px}.invoice-expanded,.all-invoices-expanded,.customer-invoice-details{padding:13px;margin:8px}.expanded-heading{align-items:flex-start;flex-direction:column}.chart-wrap,.dashboard-chart-wrap,.reports-chart-wrap{height:250px}.dashboard-mini-row,.mini-row{grid-template-columns:minmax(65px,auto) minmax(0,1fr) auto;gap:7px;font-size:11px}.table-summary,.customers-summary,.customer-invoices-summary,.customer-transactions-summary,.transactions-summary{gap:17px;padding-right:5px;padding-left:5px}.table-summary strong,.transactions-summary-item strong{font-size:14px}.customer-profile-detail-grid,.warehouse-cards,.warehouses-cards{grid-template-columns:minmax(0,1fr)}.warehouse-price-editor{grid-template-columns:minmax(0,1fr);min-width:0}.warehouse-search-modes{width:100%}.warehouse-search-modes button{flex:1}.retail-payment-row{grid-template-columns:minmax(0,1fr) minmax(75px,100px) auto;gap:7px}.retail-quantity-input{width:72px}.retail-price-input{width:95px}.invoice-create-total,.invoice-total{align-items:flex-start;flex-direction:column}.btn-primary,.btn-secondary{min-height:39px;padding:9px 12px}}@media(max-width:420px){.dashboard-stats,.reports-stats,.customer-profile-stats,.stats-grid,.stats-grid.three{grid-template-columns:minmax(0,1fr)}.owner-nav-list .nav-item{padding:8px}.owner-nav-list .nav-item span{font-size:10px}.retail-payment-row{grid-template-columns:minmax(0,1fr)}.retail-quantity-input,.retail-price-input{width:100%}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 20px;background:linear-gradient(135deg,#f5f7fb,#e8edf7)}.login-page *{box-sizing:border-box}.login-card{width:100%;max-width:440px;padding:40px;background:#fff;border:1px solid #e9edf4;border-radius:22px;box-shadow:0 18px 60px #19284617}.login-brand{display:flex;flex-direction:column;align-items:center;margin-bottom:32px}.login-logo{width:58px;height:58px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;border-radius:17px;background:#202b46;color:#fff;font-size:30px;font-weight:800}.login-brand h1{margin:0;color:#202b46;font-size:25px;letter-spacing:3px}.login-brand p{margin-top:7px;color:#8a93a5;font-size:14px}.login-heading{margin-bottom:26px}.login-heading h2{margin:0 0 8px;color:#202b46;font-size:23px}.login-heading p{margin:0;color:#8992a4;font-size:14px}.login-form{display:flex;flex-direction:column;gap:21px}.login-field{display:flex;flex-direction:column;gap:9px}.login-field label,.login-password-label label{color:#354057;font-size:13px;font-weight:600}.login-field input{width:100%;height:49px;padding:0 14px;border:1px solid #dfe4ed;border-radius:10px;outline:none;background:#fbfcfe;color:#202b46;font:inherit;font-size:14px}.login-field input:focus{border-color:#526a9b;box-shadow:0 0 0 3px #526a9b1f}.login-password-label{display:flex;align-items:center;justify-content:space-between;gap:10px}.login-forgot,.login-show-password{border:none;background:transparent;color:#526a9b;font-size:12px;font-weight:600;cursor:pointer}.login-password-input{position:relative}.login-password-input input{padding-right:62px}.login-show-password{position:absolute;top:50%;right:13px;transform:translateY(-50%)}.login-remember{display:flex;align-items:center;gap:9px;color:#687286;font-size:13px}.login-remember input{accent-color:#202b46}.login-submit{width:100%;height:50px;border:none;border-radius:10px;background:#202b46;color:#fff;font-size:15px;font-weight:700;cursor:pointer;transition:background .2s,transform .2s}.login-submit:hover{background:#304365;transform:translateY(-1px)}.login-footer{margin-top:28px;padding-top:20px;border-top:1px solid #edf0f5;text-align:center;color:#a0a8b6;font-size:11px}@media(max-width:480px){.login-page{padding:20px 14px}.login-card{padding:28px 22px}.login-heading h2{font-size:21px}}.retail-sales-page{direction:rtl;text-align:right;width:100%;max-width:1500px;min-width:0;margin:0 auto;padding:28px;color:#172554;font-family:inherit;box-sizing:border-box}.retail-sales-page *,.retail-sales-page *:before,.retail-sales-page *:after{box-sizing:border-box}.retail-sales-page h1,.retail-sales-page h2,.retail-sales-page h3,.retail-sales-page p{margin-top:0}.retail-sales-page button,.retail-sales-page input,.retail-sales-page select{font:inherit}.retail-sales-page button{cursor:pointer;transition:all .2s ease}.retail-sales-page .retail-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:25px;padding:26px;border:1px solid #e2e8f0;border-radius:20px;background:linear-gradient(135deg,#fff,#f3f7ff);box-shadow:0 5px 20px #0f172a0d}.retail-sales-page .retail-heading-info{display:flex;align-items:center;gap:16px}.retail-sales-page .retail-heading-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:58px;height:58px;border-radius:17px;color:#fff;background:#2563eb;box-shadow:0 7px 16px #2563eb38}.retail-sales-page .retail-page-heading h1{margin-bottom:8px;color:#172554;font-size:clamp(24px,3vw,32px);font-weight:850;line-height:1.5}.retail-sales-page .retail-page-heading p{margin-bottom:0;color:#64748b;font-size:14px;line-height:1.8}.retail-sales-page .retail-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 20px;border:1px solid #2563eb;border-radius:11px;background:#2563eb;color:#fff;font-weight:750;box-shadow:0 5px 12px #2563eb33}.retail-sales-page .retail-primary-button:hover{background:#1d4ed8;transform:translateY(-1px)}.retail-sales-page .retail-summary{display:flex;align-items:center;gap:16px;margin-bottom:24px;padding:23px;border:1px solid #dbeafe;border-radius:17px;background:linear-gradient(110deg,#eff6ff,#fff);box-shadow:0 4px 15px #2563eb0d}.retail-sales-page .retail-summary-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:52px;height:52px;border-radius:15px;background:#dbeafe;color:#1d4ed8}.retail-sales-page .retail-summary-content{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0}.retail-sales-page .retail-summary-content span{color:#64748b;font-size:14px}.retail-sales-page .retail-summary-content strong{color:#172554;font-size:clamp(21px,2.5vw,29px);font-weight:850;overflow-wrap:anywhere}.retail-sales-page .retail-summary-count{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:75px;padding:12px;border:1px solid #dbeafe;border-radius:12px;background:#fff}.retail-sales-page .retail-summary-count span{color:#2563eb;font-size:23px;font-weight:850}.retail-sales-page .retail-summary-count small{color:#64748b}.retail-sales-page .retail-filters{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-bottom:25px;padding:17px;border:1px solid #e2e8f0;border-radius:15px;background:#fff;box-shadow:0 4px 15px #0f172a08}.retail-sales-page .retail-search-box{display:flex;align-items:center;gap:10px;flex:1 1 300px;min-width:0;min-height:46px;padding:0 13px;border:1px solid #dbe3ef;border-radius:11px;background:#f8fafc;color:#64748b}.retail-sales-page .retail-search-box:focus-within{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.retail-sales-page .retail-search-box input{width:100%;min-width:0;min-height:44px;padding:10px 0;border:0;outline:0;background:transparent;color:#172554;text-align:right;box-shadow:none}.retail-sales-page .retail-search-box input:focus{outline:0;box-shadow:none}.retail-sales-page .retail-search-box input::placeholder{color:#94a3b8}.retail-sales-page .retail-date-filter{display:flex;align-items:center;gap:9px;min-height:46px;padding:0 12px;border:1px solid #dbe3ef;border-radius:11px;background:#fff;color:#64748b}.retail-sales-page .retail-date-filter input{max-width:100%;min-height:42px;border:0;outline:none;background:transparent;color:#334155}.retail-sales-page .retail-reset-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:750}.retail-sales-page .retail-reset-button:hover{border-color:#93c5fd;background:#dbeafe}.retail-sales-page .retail-days-list{display:grid;gap:22px;min-width:0}.retail-sales-page .retail-day-card{min-width:0;overflow:hidden;border:1px solid #e2e8f0;border-radius:17px;background:#fff;box-shadow:0 5px 20px #0f172a0a}.retail-sales-page .retail-day-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:22px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.retail-sales-page .retail-day-title{display:flex;align-items:center;gap:13px;min-width:0}.retail-sales-page .retail-calendar-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:47px;height:47px;border-radius:13px;background:#dbeafe;color:#2563eb}.retail-sales-page .retail-day-title h2{margin-bottom:5px;color:#172554;font-size:18px;font-weight:800;line-height:1.7}.retail-sales-page .retail-day-title span{color:#64748b;font-size:13px}.retail-sales-page .retail-day-total{display:flex;flex-direction:column;gap:7px;padding:12px 16px;border:1px solid #dbeafe;border-radius:12px;background:#fff}.retail-sales-page .retail-day-total span{color:#64748b;font-size:12px}.retail-sales-page .retail-day-total strong{color:#1d4ed8;font-size:19px;font-weight:850}.retail-sales-page .retail-table-wrapper{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.retail-sales-page .retail-table{width:100%;min-width:1000px;border-collapse:separate;border-spacing:0;background:#fff;text-align:right}.retail-sales-page .retail-table thead th{padding:15px 13px;border-bottom:1px solid #dbe3ef;background:#f1f5f9;color:#475569;font-size:12px;font-weight:800;white-space:nowrap}.retail-sales-page .retail-table tbody td{padding:15px 13px;border-bottom:1px solid #edf2f7;color:#334155;font-size:13px;vertical-align:middle;white-space:nowrap}.retail-sales-page .retail-table tbody .retail-invoice-row{cursor:pointer;transition:background .15s ease}.retail-sales-page .retail-table tbody .retail-invoice-row:hover{background:#f5f9ff}.retail-sales-page .retail-table tbody .retail-invoice-row.is-expanded{background:#eff6ff}.retail-sales-page .retail-table tbody tr:last-child td{border-bottom:0}.retail-sales-page .retail-table .retail-actions-heading{text-align:center}.retail-sales-page .retail-invoice-number{display:inline-block;padding:6px 9px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;color:#1d4ed8;font-weight:800}.retail-sales-page .retail-customer-cell{display:flex;flex-direction:column;gap:6px}.retail-sales-page .retail-customer-cell strong{color:#172554;font-size:13px}.retail-sales-page .retail-customer-cell span{display:flex;align-items:center;gap:5px;color:#64748b;font-size:11px}.retail-sales-page .retail-discount-value{color:#dc2626!important;font-weight:750}.retail-sales-page .retail-table .retail-amount{color:#047857;font-weight:850}.retail-sales-page .retail-row-actions{display:flex;align-items:center;justify-content:center;gap:6px}.retail-sales-page .retail-action-button{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;padding:0;border:1px solid #dbeafe;border-radius:9px;background:#fff;color:#2563eb}.retail-sales-page .retail-action-button:hover{border-color:#93c5fd;background:#eff6ff;transform:translateY(-1px)}.retail-sales-page .retail-action-button.retail-delete-button{border-color:#fecaca;color:#dc2626}.retail-sales-page .retail-action-button.retail-delete-button:hover{background:#fef2f2}.retail-sales-page .retail-row-chevron{flex-shrink:0;color:#64748b}.retail-sales-page .retail-table .retail-details-row>td{padding:0;white-space:normal;background:#f8fbff}.retail-sales-page .retail-invoice-details{padding:24px;border-top:1px solid #dbeafe}.retail-sales-page .retail-details-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}.retail-sales-page .retail-details-heading h3{margin-bottom:6px;color:#172554;font-size:18px;font-weight:800}.retail-sales-page .retail-details-heading p{margin-bottom:0;color:#64748b;font-size:13px}.retail-sales-page .retail-details-date{color:#64748b;font-size:13px}.retail-sales-page .retail-details-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.retail-sales-page .retail-details-meta>div{display:flex;flex-direction:column;gap:8px;min-width:0;padding:15px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.retail-sales-page .retail-details-meta span{color:#64748b;font-size:12px}.retail-sales-page .retail-details-meta strong{overflow-wrap:anywhere;color:#172554;font-size:14px}.retail-sales-page .retail-items-wrapper{width:100%;overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.retail-sales-page .retail-items-table{width:100%;min-width:450px;border-collapse:collapse;text-align:right}.retail-sales-page .retail-items-table th{padding:13px 15px;border-bottom:1px solid #e2e8f0;background:#f1f5f9;color:#475569;font-size:12px}.retail-sales-page .retail-items-table td{padding:13px 15px;border-bottom:1px solid #edf2f7;color:#334155;font-size:13px}.retail-sales-page .retail-items-table tbody tr:last-child td{border-bottom:0}.retail-sales-page .retail-invoice-totals{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:12px;margin-top:20px}.retail-sales-page .retail-invoice-totals>div{display:flex;flex:1 1 180px;flex-direction:column;justify-content:center;gap:9px;min-width:0;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.retail-sales-page .retail-invoice-totals span{color:#64748b;font-size:12px}.retail-sales-page .retail-invoice-totals strong{color:#172554;font-size:17px;font-weight:850;overflow-wrap:anywhere}.retail-sales-page .retail-invoice-totals .retail-final-total{border-color:#bfdbfe;background:#eff6ff}.retail-sales-page .retail-invoice-totals .retail-final-total strong{color:#1d4ed8}.retail-sales-page .retail-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:48px 20px;border:1px dashed #cbd5e1;border-radius:16px;background:#fff;text-align:center}.retail-sales-page .retail-empty-icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:18px;background:#eff6ff;color:#2563eb}.retail-sales-page .retail-empty-state h3{margin-bottom:0;color:#172554;font-size:18px}.retail-sales-page .retail-empty-state p{margin-bottom:4px;color:#64748b;font-size:14px;line-height:1.8}.retail-sales-page .retail-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:24px;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.retail-sales-page .retail-edit-modal{width:100%;max-width:650px;max-height:calc(100vh - 48px);overflow-y:auto;padding:24px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0f172a40}.retail-sales-page .retail-edit-modal.retail-edit-modal-wide{max-width:1000px}.retail-sales-page .retail-modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.retail-sales-page .retail-modal-heading h2{margin-bottom:0;color:#172554;font-size:22px;font-weight:850}.retail-sales-page .retail-modal-heading button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#64748b}.retail-sales-page .retail-modal-heading button:hover{background:#f1f5f9;color:#dc2626}.retail-sales-page .retail-modal-subtitle{margin-bottom:22px;color:#64748b;font-size:14px}.retail-sales-page .retail-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.retail-sales-page .retail-edit-field{display:flex;flex-direction:column;gap:8px;min-width:0}.retail-sales-page .retail-edit-field span,.retail-sales-page .retail-edit-item label span{color:#475569;font-size:13px;font-weight:750}.retail-sales-page .retail-edit-modal input{width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;outline:none;background:#fff;color:#172554;text-align:right}.retail-sales-page .retail-edit-modal input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.retail-sales-page .retail-edit-items-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:25px 0 15px}.retail-sales-page .retail-edit-items-heading h3{display:flex;align-items:center;gap:8px;margin-bottom:0;color:#172554;font-size:17px}.retail-sales-page .retail-add-item-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 13px;border:1px solid #bfdbfe;border-radius:9px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:750}.retail-sales-page .retail-add-item-button:hover{background:#dbeafe}.retail-sales-page .retail-edit-items{display:grid;gap:12px}.retail-sales-page .retail-edit-item{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr auto;align-items:end;gap:12px;padding:15px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.retail-sales-page .retail-edit-item label{display:flex;flex-direction:column;gap:8px;min-width:0}.retail-sales-page .retail-edit-item-total{display:flex;flex-direction:column;gap:9px;min-width:0;padding-bottom:10px}.retail-sales-page .retail-edit-item-total span{color:#64748b;font-size:12px}.retail-sales-page .retail-edit-item-total strong{color:#047857;font-size:14px;overflow-wrap:anywhere}.retail-sales-page .retail-remove-item{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #fecaca;border-radius:9px;background:#fff;color:#dc2626}.retail-sales-page .retail-remove-item:hover{background:#fef2f2}.retail-sales-page .retail-edit-totals{margin-top:22px}.retail-sales-page .retail-modal-actions{display:flex;justify-content:flex-start;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid #e2e8f0}.retail-sales-page .retail-modal-cancel,.retail-sales-page .retail-modal-save{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 20px;border:1px solid #dbe3ef;border-radius:10px;font-weight:750}.retail-sales-page .retail-modal-cancel{background:#fff;color:#475569}.retail-sales-page .retail-modal-cancel:hover{background:#f1f5f9}.retail-sales-page .retail-modal-save{border-color:#2563eb;background:#2563eb;color:#fff}.retail-sales-page .retail-modal-save:hover{background:#1d4ed8}@media(max-width:1000px){.retail-sales-page{padding:20px}.retail-sales-page .retail-edit-item{grid-template-columns:repeat(2,minmax(0,1fr))}.retail-sales-page .retail-edit-item-total{padding-bottom:0}}@media(max-width:600px){.retail-sales-page{padding:12px}.retail-sales-page .retail-page-heading{align-items:stretch;flex-direction:column;padding:17px;border-radius:14px}.retail-sales-page .retail-heading-info{align-items:flex-start;gap:12px}.retail-sales-page .retail-heading-icon{width:46px;height:46px;border-radius:13px}.retail-sales-page .retail-page-heading h1{font-size:23px}.retail-sales-page .retail-primary-button{width:100%}.retail-sales-page .retail-summary{gap:10px;padding:15px}.retail-sales-page .retail-summary-icon{width:43px;height:43px}.retail-sales-page .retail-summary-count{min-width:58px;padding:9px}.retail-sales-page .retail-filters{align-items:stretch;flex-direction:column;padding:12px}.retail-sales-page .retail-search-box,.retail-sales-page .retail-date-filter,.retail-sales-page .retail-reset-button{width:100%;flex:auto}.retail-sales-page .retail-date-filter input{flex:1;width:100%}.retail-sales-page .retail-day-header{align-items:stretch;flex-direction:column;padding:15px}.retail-sales-page .retail-day-total{width:100%}.retail-sales-page .retail-invoice-details{padding:14px}.retail-sales-page .retail-details-meta{grid-template-columns:1fr}.retail-sales-page .retail-invoice-totals{flex-direction:column}.retail-sales-page .retail-invoice-totals>div{flex:auto;width:100%}.retail-sales-page .retail-modal-overlay{align-items:flex-start;padding:10px}.retail-sales-page .retail-edit-modal{max-height:calc(100dvh - 20px);padding:16px;border-radius:14px}.retail-sales-page .retail-edit-grid{grid-template-columns:1fr}.retail-sales-page .retail-edit-item{grid-template-columns:1fr 1fr;padding:12px}.retail-sales-page .retail-edit-item label:first-child{grid-column:1 / -1}.retail-sales-page .retail-remove-item{justify-self:start}.retail-sales-page .retail-modal-actions{flex-direction:column}.retail-sales-page .retail-modal-actions button{width:100%}}@media print{body *{visibility:hidden}.retail-sales-page,.retail-sales-page *{visibility:visible}.retail-sales-page{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;padding:0;color:#000}.retail-sales-page .retail-page-heading,.retail-sales-page .retail-filters,.retail-sales-page .retail-action-button,.retail-sales-page .retail-row-chevron,.retail-sales-page .retail-modal-overlay{display:none!important}.retail-sales-page .retail-day-card{margin-bottom:15px;border:1px solid #bbb;box-shadow:none;break-inside:avoid}.retail-sales-page .retail-table-wrapper{overflow:visible}.retail-sales-page .retail-table{min-width:0;font-size:10px}.retail-sales-page .retail-table th,.retail-sales-page .retail-table td{padding:7px;color:#000}}.retail-form-field{display:flex;flex-direction:column;gap:8px;width:100%;margin-bottom:16px}.retail-form-field label{font-size:14px;font-weight:600;color:#1f2937;text-align:right}.retail-form-field input{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #d1d5db;border-radius:10px;background-color:#fff;color:#111827;font-size:15px;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.retail-form-field input::placeholder{color:#9ca3af}.retail-form-field input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.retail-customer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;margin-bottom:16px}.retail-customer-fields .retail-form-field{margin-bottom:0}@media(max-width:600px){.retail-customer-fields{grid-template-columns:1fr;gap:12px}}.invoice-create-page{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:hidden;direction:rtl}.invoice-create-page *,.invoice-create-page *:before,.invoice-create-page *:after{box-sizing:border-box}.invoice-create-form,.invoice-create-info,.invoice-create-items-panel{width:100%;max-width:100%;min-width:0}.invoice-create-info{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-create-table-scroll{width:100%;max-width:100%;overflow-x:auto}html,body,#root{max-width:100%;min-height:100%}body{overflow-x:hidden}@media(max-width:900px){.invoice-create-info{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.invoice-create-info{grid-template-columns:minmax(0,1fr)}}.invoice-create-page{direction:rtl;width:100%;max-width:100%;min-width:0;gap:26px;box-sizing:border-box}.invoice-create-page,.invoice-create-page *{box-sizing:border-box}.invoice-create-heading h1{font-size:clamp(26px,2.2vw,34px);font-weight:800;color:#111827;margin:0 0 10px}.invoice-create-heading .muted{font-size:15px;line-height:1.8;color:#64748b}.invoice-create-page .panel{width:100%;max-width:100%;min-width:0;padding:28px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 5px 22px #0f172a0b}.invoice-create-info{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:24px}.owner-navbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:16px;min-height:82px;padding:12px clamp(14px,2.5vw,38px);border-bottom:1px solid var(--border);background:#fffffff7;box-shadow:0 5px 24px #15284a0a;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.owner-navbar .brand{font-size:19px}.owner-nav-list{display:flex;flex:1;align-items:center;gap:9px;min-width:0}.owner-nav-list .nav-item{justify-content:center;gap:7px;width:auto;min-height:40px;padding:8px 10px;border-color:#e5ebf4;background:#f7f9fc;font-size:13px;white-space:nowrap}.owner-nav-list .nav-item.active{color:#fff}.owner-shell .page-content{padding-top:28px}.page-heading,.dashboard-heading,.customers-heading,.fixed-prices-heading,.reports-heading,.retail-sales-heading,.transactions-heading,.invoice-create-heading,.warehouses-heading,.customer-profile-heading,.customer-transactions-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.page-heading h1,.page-content h1{color:var(--text)}.page-heading h1{margin:2px 0 5px;font-size:var(--font-size-heading);line-height:1.4;font-weight:800}.page-heading p{margin:0;color:var(--text-muted)}.eyebrow{color:var(--primary);font-size:12px;font-weight:800}.muted{color:var(--text-muted);font-size:12px}.date-chip,.select-like{padding:9px 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-muted);white-space:nowrap}.panel,.stat-card{min-width:0;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.panel{padding:22px}.panel h2{margin:0;color:var(--text);font-size:17px;font-weight:800}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-heading h2{margin:0;font-size:17px;font-weight:800}.panel-heading p{margin:3px 0 0;color:var(--text-muted);font-size:12px}.stats-grid,.dashboard-stats,.reports-stats,.customer-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.stats-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card,.dashboard-stat,.reports-stat,.customer-profile-stat{display:flex;flex-direction:column;gap:12px;min-width:0;padding:20px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text-muted);font-size:13px}.stat-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--primary-soft);color:var(--primary)}.stat-card>strong,.dashboard-stat>strong,.reports-stat>strong,.customer-profile-stat>strong{color:var(--text);font-size:25px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}.dashboard-stat>span,.reports-stat>span,.customer-profile-stat>span{color:var(--text-muted);font-size:13px}.dashboard-stat-sales,.reports-stat-sales{border-top:3px solid var(--primary)}.dashboard-stat-customers,.reports-stat-customers{border-top:3px solid #7b61d1}.reports-stat-paid{border-top:3px solid var(--success)}.reports-stat-remaining{border-top:3px solid var(--warning)}.positive{display:inline-flex;align-items:center;gap:4px;color:var(--success);font-size:12px}.dashboard-grid,.dashboard-main-grid,.reports-grid,.reports-charts-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px}.chart-panel{grid-row:span 2}.chart-wrap,.dashboard-chart-wrap,.reports-chart-wrap{width:100%;min-width:0;height:310px}.dashboard-panel-heading,.reports-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.dashboard-mini-list,.mini-list{display:grid}.dashboard-mini-row,.mini-row{display:grid;grid-template-columns:minmax(85px,auto) minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--border);font-size:13px}.dashboard-mini-row:last-child,.mini-row:last-child{border-bottom:0}.dashboard-mini-customer,.dashboard-mini-total{font-weight:700}.invoice-code{color:var(--primary);font-weight:800}.summary-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--border);color:var(--text-muted)}.summary-line:last-child{border-bottom:0}.summary-line strong{color:var(--text)}.danger-text{color:var(--danger)!important}.btn-primary,.btn-secondary,.btn-close-details,.back-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 16px;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:800;white-space:nowrap;transition:var(--transition)}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover);box-shadow:0 5px 14px #2459d626}.btn-secondary{border-color:var(--border);background:var(--surface);color:var(--text)}.btn-secondary:hover{border-color:#cbd7ea;background:var(--surface-muted)}.btn-close-details{background:var(--primary);color:#fff}.btn-close-details:hover{background:var(--primary-hover)}.back-button{justify-self:start;padding:6px 0;background:transparent;color:var(--primary)}.text-button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--primary);font-size:13px;font-weight:800}.icon-button,.small-icon{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-muted);transition:var(--transition)}.icon-button:hover,.small-icon:hover{border-color:transparent;background:var(--primary-soft);color:var(--primary)}.danger-icon{color:var(--danger)}.form-grid,.customers-form,.fixed-prices-form,.invoice-create-form,.warehouses-form,.transactions-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:17px}.form-grid label,.customers-form label,.customer-category-field,.fixed-prices-form label,.invoice-create-form label,.warehouses-form label,.transactions-form label,.notes-label{display:grid;gap:7px;min-width:0;color:var(--text-muted);font-size:13px;font-weight:700}.form-grid input,.form-grid select,.customers-form input,.customers-form select,.fixed-prices-form input,.fixed-prices-form select,.invoice-create-form input,.invoice-create-form select,.warehouses-form input,.warehouses-form select,.transactions-form input,.transactions-form select,.notes-label textarea,.table-select,.quantity-input,.retail-quantity-input,.retail-price-input,.warehouse-quantity-input,.warehouse-price-editor input{width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;outline:0;background:var(--surface);color:var(--text);transition:var(--transition)}.form-grid input:focus,.form-grid select:focus,.customers-form input:focus,.fixed-prices-form input:focus,.fixed-prices-form select:focus,.invoice-create-form input:focus,.invoice-create-form select:focus,.warehouses-form input:focus,.transactions-form input:focus,.transactions-form select:focus,.notes-label textarea:focus,.table-select:focus,.quantity-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.form-actions,.customers-form-actions,.fixed-prices-form-actions,.invoice-create-actions,.transactions-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.form-grid .form-actions,.customers-form-actions,.fixed-prices-form-actions,.invoice-create-actions,.transactions-form-actions{grid-column:1 / -1}.global-search,.local-search,.customers-search,.fixed-prices-search,.all-invoices-search,.customer-invoices-search,.retail-products-search,.transactions-search,.warehouses-search{display:flex;align-items:center;gap:9px;min-width:0;height:43px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-muted);transition:var(--transition)}.global-search:focus-within,.local-search:focus-within,.customers-search:focus-within,.fixed-prices-search:focus-within,.all-invoices-search:focus-within,.customer-invoices-search:focus-within,.retail-products-search:focus-within,.transactions-search:focus-within,.warehouses-search:focus-within{border-color:#8eafff;box-shadow:0 0 0 3px var(--primary-soft)}.global-search input,.local-search input,.customers-search input,.fixed-prices-search input,.all-invoices-search input,.customer-invoices-search input,.retail-products-search input,.transactions-search input,.warehouses-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text)}.global-search{flex:1;max-width:520px}.local-search{width:min(420px,100%)}.notes-label{margin-top:18px}.notes-label textarea{min-height:100px;resize:vertical}.wide-field{grid-column:1 / -1}.table-toolbar,.customers-toolbar,.fixed-prices-toolbar,.transactions-toolbar,.transactions-filter-bar,.invoice-create-panel-heading,.customer-invoices-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:18px}.table-scroll,.table-scroll-x,.table-responsive,.table-scroll-container,.customers-table-scroll,.fixed-prices-table-scroll,.all-invoices-table-scroll,.customer-invoices-table-scroll,.customer-transactions-table-scroll,.invoice-create-table-scroll,.transactions-table-scroll,.warehouses-table-scroll,.retail-cart-table-scroll{width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;border-radius:10px}table{width:100%;min-width:700px;border-collapse:separate;border-spacing:0;text-align:right}thead th{padding:15px 14px;border-bottom:1px solid var(--border);background:var(--surface-muted);color:#52627a;font-size:13px;font-weight:800;white-space:nowrap}tbody td{padding:15px 14px;border-bottom:1px solid var(--border);color:var(--text);font-size:var(--font-size-table);vertical-align:middle}tbody tr{transition:background var(--transition)}tbody tr:hover{background:#f6f9ff}tbody tr:last-child td{border-bottom:0}tfoot td{padding:14px;background:var(--surface-muted);font-weight:800}.selected-row,.customer-invoice-selected-row{background:var(--primary-soft)}.row-actions,.customers-row-actions,.customer-invoice-actions,.warehouse-row-actions{display:flex;align-items:center;gap:7px}.empty-state,.transactions-empty,.customer-transactions-empty,.warehouses-empty,.warehouses-global-empty,.retail-products-empty{padding:35px 20px;color:var(--text-muted);text-align:center;font-size:14px}.table-summary,.customers-summary,.customer-invoices-summary,.customer-transactions-summary,.transactions-summary{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:24px;padding:17px 12px 2px;margin-top:13px;border-top:1px solid var(--border)}.table-summary>div,.transactions-summary-item{display:flex;flex-direction:column;gap:5px}.table-summary span,.transactions-summary-item span{color:var(--text-muted);font-size:12px}.table-summary strong,.transactions-summary-item strong{color:var(--text);font-size:16px;font-weight:800}.invoice-summary{padding:16px;border:1px solid var(--border);border-radius:11px;background:var(--surface-muted)}.status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:7px;background:var(--surface-muted);color:var(--text-muted);font-size:11px;font-weight:800;white-space:nowrap}.status-success,.all-invoices-settled,.customer-invoice-settled,.retail-paid-in-full{background:var(--success-soft);color:var(--success)}.status-warning{background:var(--warning-soft);color:var(--warning)}.status-danger{background:var(--danger-soft);color:var(--danger)}.details-cell,.customer-invoice-details-cell{padding:0!important;background:var(--surface-muted);white-space:normal}.invoice-expanded,.all-invoices-expanded,.customer-invoice-details{margin:14px;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.expanded-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.expanded-heading h3{margin:0 0 4px;font-size:16px}.expanded-heading p{margin:0;color:var(--text-muted)}.invoice-expanded tfoot td{background:var(--primary-soft);font-size:14px}.dashboard-page,.reports-page,.customers-page,.fixed-prices-page,.transactions-page,.retail-sales-page,.invoice-create-page,.warehouses-page,.customer-profile-page,.customer-invoices-page,.customer-transactions-page{display:grid;gap:22px;min-width:0}.dashboard-date,.reports-year-chip{padding:9px 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-muted);font-size:12px;font-weight:700}.dashboard-main-grid{align-items:start}.dashboard-chart-panel{min-height:360px}.dashboard-invoices-panel{min-width:0}.dashboard-chart-wrap{height:320px}.customers-form,.fixed-prices-form,.warehouses-form{padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.customers-panel,.fixed-prices-panel,.transactions-table-panel,.customer-invoices-panel,.customer-transactions-panel,.invoice-create-items-panel,.retail-products-panel,.retail-invoice-panel,.warehouses-list-panel,.warehouses-search-panel,.reports-chart-panel,.reports-monthly-panel,.reports-collection-panel{min-width:0;padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.customers-count,.fixed-prices-count,.customer-invoices-count,.customer-transactions-count,.transactions-count{color:var(--text-muted);font-size:13px;font-weight:700}.customer-name,.customer-phone,.customer-balance,.fixed-price-product-name,.fixed-price-value,.customer-invoice-number,.customer-invoice-paid,.customer-invoice-remaining{font-weight:700}.customer-balance,.fixed-price-value{color:var(--primary);font-variant-numeric:tabular-nums}.customer-profile-back,.customer-transactions-back,.fixed-prices-back,.invoice-create-back{justify-self:start;width:fit-content}.customer-profile-title{margin:0;font-size:26px;font-weight:800}.customer-profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.customer-profile-details{padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.customer-profile-section-heading{margin:0 0 16px;font-size:17px;font-weight:800}.customer-profile-detail-grid,.customer-profile-detail-grid>div{display:grid;gap:16px}.customer-profile-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-profile-detail-item{padding:15px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted)}.customer-profile-detail-label{color:var(--text-muted);font-size:12px}.detail-grid{display:flex;flex-wrap:wrap;gap:22px;margin-top:20px}.detail-grid div{display:flex;align-items:center;gap:8px;color:var(--text-muted)}.fixed-price-actions{display:flex;align-items:center;gap:7px}.fixed-prices-toolbar{margin-bottom:18px}.customer-invoice-number,.all-invoices-number{color:var(--primary);font-weight:800}.customer-invoice-paid,.all-invoices-paid{color:var(--success);font-weight:800}.customer-invoice-remaining,.all-invoices-remaining{color:var(--danger);font-weight:800}.customer-invoice-delete{color:var(--danger)}.customer-invoice-chevron{color:var(--text-muted)}.customer-invoice-items-scroll{width:100%;overflow-x:auto}.customer-invoice-items-table{min-width:520px}.customer-invoice-items-table th,.customer-invoice-items-table td{padding:12px}.customer-invoice-item-actions{display:flex;align-items:center;gap:7px}.customer-transaction-date{color:var(--text-muted)}.customer-transaction-received{color:var(--success);font-weight:800}.customer-transaction-spent{color:var(--danger);font-weight:800}.customer-transaction-reference,.customer-transaction-note{color:var(--text-muted)}.invoice-create-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.invoice-create-product-select{min-width:170px}.invoice-create-quantity{width:100px}.invoice-create-unit-price{width:130px}.invoice-create-item-total{color:var(--primary);font-weight:800}.invoice-create-notes{margin-top:18px}.invoice-create-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:18px;border:1px solid #dce7ff;border-radius:12px;background:var(--primary-soft)}.invoice-create-total strong,.invoice-total strong{color:var(--primary);font-size:23px;font-weight:800}.invoice-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:18px;border-radius:12px;background:var(--primary-soft)}.transactions-heading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.transactions-receipt-review,.receipt-review{grid-column:1 / -1;padding:17px;border:1px solid var(--border);border-radius:14px;background:var(--surface-muted)}.transactions-receipt-preview,.receipt-preview{display:block;max-width:100%;max-height:360px;margin:12px auto;border-radius:10px;object-fit:contain}.transactions-amount,.transaction-amount{font-weight:800;font-variant-numeric:tabular-nums}.transactions-net{color:var(--primary);font-size:17px;font-weight:800}.transaction-receipt-link{color:var(--primary);font-weight:700}.notice{padding:11px;border:1px solid #f2d6a2;border-radius:10px;background:var(--warning-soft);color:#8a5b12;font-size:13px}.retail-sales-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:start;gap:20px}.retail-sales-cart-count{color:var(--text-muted);font-size:13px;font-weight:700}.retail-sales-panel-heading,.retail-payments-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.retail-products-list{display:grid;gap:10px;max-height:650px;overflow-y:auto}.retail-product-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--border);border-radius:11px;background:var(--surface);transition:var(--transition)}.retail-product-item:hover{border-color:#c8d8fa;background:var(--surface-muted)}.retail-product-info{display:flex;flex-direction:column;gap:4px;min-width:0}.retail-product-meta{color:var(--text-muted);font-size:12px}.retail-add-product,.retail-add-payment{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--primary);font-size:12px;font-weight:800}.retail-add-product:hover,.retail-add-payment:hover{background:var(--primary-soft)}.retail-quantity-input,.retail-price-input{min-height:36px;padding:7px;text-align:center}.retail-quantity-input{width:85px}.retail-price-input{width:115px}.retail-calculations{display:grid;gap:10px;margin-top:18px;padding:16px;border:1px solid var(--border);border-radius:11px;background:var(--surface-muted)}.retail-calculation-row{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--text-muted)}.retail-calculation-row strong{color:var(--text)}.retail-discount-field{display:flex;align-items:center;gap:10px}.retail-discount-field input{width:110px}.retail-discount-row{color:var(--warning)}.retail-net-total{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;border-top:1px solid var(--border);font-weight:800}.retail-net-total strong{color:var(--primary);font-size:22px}.retail-payments-section{margin-top:20px}.retail-payments-list{display:grid;gap:10px}.retail-payment-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,130px) auto;align-items:center;gap:10px}.retail-payment-summary{display:grid;gap:8px;margin-top:14px}.retail-remaining{color:var(--danger);font-weight:800}.retail-paid-in-full{color:var(--success);font-weight:800}.retail-overpaid-warning{padding:10px;border-radius:8px;background:var(--danger-soft);color:var(--danger);font-size:12px}.retail-confirm-sale{width:100%;margin-top:18px}.warehouses-cards,.warehouse-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.warehouses-card,.warehouse-card{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);transition:var(--transition)}.warehouses-card:hover,.warehouse-card:hover{border-color:#c8d8fa;box-shadow:var(--shadow)}.warehouse-card.selected{border-color:var(--primary);background:var(--primary-soft)}.warehouse-open{display:flex;flex:1;align-items:center;gap:11px;min-width:0;border:0;background:transparent;color:inherit;text-align:right}.warehouse-icon{display:grid;flex-shrink:0;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--primary-soft);color:var(--primary)}.warehouse-card-info{display:flex;flex:1;flex-direction:column;gap:5px}.warehouse-card-info strong{font-size:13px}.warehouse-card-info small{color:var(--text-muted);font-size:11px}.warehouse-search-modes{display:flex;flex-wrap:wrap;gap:7px}.warehouse-search-modes button{padding:9px 13px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-muted);font-size:12px;font-weight:700}.warehouse-search-modes button.chosen{border-color:var(--primary);background:var(--primary);color:#fff}.warehouse-selected-title{display:flex;align-items:center;gap:9px;margin:17px 0;color:var(--primary)}.warehouse-toolbar{margin-top:18px}.warehouse-quantity-input{width:90px;min-height:36px;padding:7px;text-align:center}.warehouse-price-editor{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:10px;min-width:250px;padding:13px;margin-top:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface-muted)}.warehouse-price-editor label{display:flex;flex-direction:column;gap:5px;color:var(--text-muted);font-size:11px}.warehouse-location-list{display:flex;flex-wrap:wrap;gap:6px;min-width:180px}.warehouse-location{display:inline-flex;align-items:center;gap:4px;padding:6px 9px;border:1px solid #dce7ff;border-radius:7px;background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:700}.reports-charts-grid{align-items:start}.reports-pie-wrap{display:grid;place-items:center;min-height:260px}.reports-legend,.legend-list{display:grid;gap:11px}.reports-legend-item,.legend-list>div{display:flex;align-items:center;gap:9px;color:var(--text-muted);font-size:13px}.reports-legend-label{min-width:0}.reports-legend-value,.legend-list strong{margin-right:auto;color:var(--text);font-weight:800}.legend-dot{flex-shrink:0;width:10px;height:10px;border-radius:50%;background:var(--chart-primary)}.legend-1{background:var(--chart-secondary)}.legend-2{background:var(--chart-tertiary)}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.setting-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);text-align:right}.setting-card:hover{border-color:var(--primary);box-shadow:var(--shadow)}.setting-icon{display:grid;flex-shrink:0;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--primary-soft);color:var(--primary)}.setting-copy{display:grid;gap:4px}.setting-copy small{color:var(--text-muted);font-size:11px}.setting-arrow{margin-right:auto;color:var(--text-muted);font-size:24px}.settings-note p{margin-bottom:0}.sidebar-footer{display:flex;align-items:center;gap:10px;padding:16px 10px 4px;margin-top:auto;border-top:1px solid var(--border)}.sidebar-footer>div{display:flex;flex-direction:column;gap:3px}.sidebar-footer strong{font-size:12px}.sidebar-footer small{color:var(--text-muted);font-size:11px}@media(max-width:1200px){.owner-navbar{flex-wrap:wrap;gap:12px}.owner-navbar .brand{margin-left:auto}.owner-nav-list{order:3;flex-basis:100%;overflow-x:auto;padding-bottom:3px}.owner-navbar .topbar-actions{margin-right:auto}.owner-nav-list .nav-item{flex-shrink:0}.dashboard-stats,.reports-stats,.customer-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dashboard-main-grid,.reports-grid,.reports-charts-grid{grid-template-columns:minmax(0,1fr)}.chart-panel{grid-row:auto}.retail-sales-grid{grid-template-columns:minmax(0,1fr)}}.invoice-create-info label,.invoice-create-notes{display:flex;flex-direction:column;gap:11px;min-width:0;color:#1f2937;font-size:15px;font-weight:700}.invoice-create-input,.invoice-create-info input,.invoice-create-notes textarea{display:block;width:100%;min-width:0;min-height:52px;padding:13px 16px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#111827;font-family:inherit;font-size:15px;font-weight:500;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.invoice-create-input::placeholder,.invoice-create-notes textarea::placeholder{color:#94a3b8}.invoice-create-input:focus,.invoice-create-notes textarea:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb1a}.invoice-create-input:disabled{background:#f8fafc;color:#64748b}.invoice-create-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.invoice-create-panel-heading h2{margin:0 0 10px;font-size:22px;font-weight:800;color:#111827}.invoice-create-panel-heading .muted{margin:0;font-size:14px;line-height:1.8;color:#64748b}.invoice-create-page .btn-primary,.invoice-create-page .btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 20px;border-radius:11px;font-family:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:background .2s ease,transform .2s ease}.invoice-create-page .btn-primary{background:#2563eb;border:1px solid #2563eb;color:#fff}.invoice-create-page .btn-primary:hover{background:#1d4ed8;transform:translateY(-1px)}.invoice-create-page .btn-secondary{background:#fff;border:1px solid #cbd5e1;color:#334155}.invoice-create-page .btn-secondary:hover{background:#f8fafc;border-color:#94a3b8}.invoice-create-table-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid #e2e8f0;border-radius:14px}.invoice-create-table{width:100%;min-width:850px;border-collapse:separate;border-spacing:0;text-align:right}.invoice-create-table thead{background:#f1f5f9}.invoice-create-table th{padding:19px 18px;color:#334155;font-size:15px;font-weight:800;white-space:nowrap;border-bottom:1px solid #e2e8f0}.invoice-create-table td{padding:17px 18px;color:#334155;font-size:15px;border-bottom:1px solid #edf2f7;vertical-align:middle}.invoice-create-table tbody tr:last-child td{border-bottom:none}.invoice-create-table tbody tr:hover{background:#f8fbff}.invoice-create-product-cell{min-width:250px}.invoice-create-product-input{min-width:230px}.invoice-create-quantity{width:110px;min-width:90px;text-align:center}.invoice-create-unit-price,.invoice-create-item-total{display:inline-block;font-size:15px;white-space:nowrap}.invoice-create-unit-price{color:#475569}.invoice-create-item-total{color:#111827;font-weight:800}.invoice-create-delete{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #fecaca;border-radius:11px;background:#fff;color:#dc2626;cursor:pointer}.invoice-create-delete:hover:not(:disabled){background:#fef2f2;border-color:#f87171}.invoice-create-delete:disabled{opacity:.4;cursor:not-allowed}.invoice-create-notes{margin-top:28px}.invoice-create-notes textarea{min-height:20px;resize:vertical;line-height:1.8}.invoice-create-total{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding:24px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}.invoice-create-total span{color:#1e40af;font-size:18px;font-weight:800}.invoice-create-total strong{color:#1d4ed8;font-size:28px;font-weight:900;white-space:nowrap}.invoice-create-actions{display:flex;align-items:center;gap:14px}.invoice-create-actions .btn-primary,.invoice-create-actions .btn-secondary{min-width:160px}@media(max-width:1000px){.invoice-create-info{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-create-page .panel{padding:22px}}@media(max-width:600px){.invoice-create-page{gap:18px}.invoice-create-page .panel{padding:15px;border-radius:13px}.invoice-create-info{grid-template-columns:minmax(0,1fr);gap:18px}.invoice-create-panel-heading{align-items:stretch;flex-direction:column}.invoice-create-add-button{width:100%}.invoice-create-total{padding:17px}.invoice-create-total span{font-size:15px}.invoice-create-total strong{font-size:21px}.invoice-create-actions{flex-direction:column;align-items:stretch}.invoice-create-actions .btn-primary,.invoice-create-actions .btn-secondary{width:100%}}.page-content:has(.invoice-create-page){max-width:none!important;width:100%!important;padding-left:16px!important;padding-right:16px!important}.invoice-create-page,.invoice-create-form,.invoice-create-items-panel{width:100%!important;max-width:none!important;min-width:0!important}.invoice-create-table-scroll{width:100%!important;max-width:none!important}.invoice-create-table{width:100%!important;min-width:1200px!important;table-layout:fixed!important}.invoice-create-table th:nth-child(1){width:60px}.invoice-create-table th:nth-child(2){width:35%}.invoice-create-table th:nth-child(3){width:130px}.invoice-create-table th:nth-child(4),.invoice-create-table th:nth-child(5){width:180px}.invoice-create-table th:nth-child(6){width:90px}.invoice-create-table th,.invoice-create-table td{padding:20px 16px!important}.invoice-create-product-input{width:100%!important;min-width:0!important}html,body,button,input,select,textarea{font-size:16px}.MuiTable-root{width:100%;min-width:1000px;border-collapse:collapse!important}.page-content:has(.invoice-create-page),.owner-shell .page-content:has(.invoice-create-page){width:100%!important;max-width:none!important;margin:0!important;padding:20px clamp(12px,1.5vw,24px) 32px!important}.invoice-create-page{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:18px!important;width:100%!important;max-width:none!important;min-width:0!important;overflow:visible!important}.invoice-create-heading,.invoice-create-info,.invoice-create-items-panel{grid-column:1 / -1;width:100%!important;max-width:none!important;min-width:0!important}.invoice-create-info{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(180px,1fr) minmax(180px,1fr)!important}.invoice-create-table-scroll{width:100%!important;max-width:100%!important;overflow-x:auto!important}.invoice-create-table{width:100%!important;min-width:1050px!important;table-layout:fixed!important;border-collapse:collapse!important}.invoice-create-table th,.invoice-create-table td{border:1px solid #cbd5e1!important;padding:14px 10px!important;font-size:15px!important}.invoice-create-table th:nth-child(1),.invoice-create-table td:nth-child(1){width:48px!important}.invoice-create-table th:nth-child(2),.invoice-create-table td:nth-child(2){width:38%!important}.invoice-create-table th:nth-child(3),.invoice-create-table td:nth-child(3){width:90px!important}.invoice-create-table th:nth-child(4),.invoice-create-table td:nth-child(4){width:115px!important}.invoice-create-table th:nth-child(5),.invoice-create-table td:nth-child(5){width:115px!important}.invoice-create-table th:nth-child(6),.invoice-create-table td:nth-child(6){width:75px!important}.invoice-create-product-input,.invoice-create-product-select{width:100%!important;min-width:0!important}table:not(.MuiTable-root){border-collapse:collapse!important}table:not(.MuiTable-root) th,table:not(.MuiTable-root) td{border:1px solid #cbd5e1!important;font-size:15px!important}.MuiTable-root{width:100%!important;min-width:1000px;border-collapse:collapse!important}.MuiTableCell-root{border:1px solid #cbd5e1!important;font-size:16px!important;line-height:1.6}.MuiTableCell-head{font-size:16px!important;font-weight:800!important}.MuiButton-root{font-size:16px!important}@media(max-width:900px){.invoice-create-info{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:600px){.invoice-create-info{grid-template-columns:minmax(0,1fr)!important}}input[type=search],.global-search input,.local-search input,.customers-search input,.fixed-prices-search input,.all-invoices-search input,.customer-invoices-search input,.retail-products-search input,.transactions-search input,.warehouses-search input,.MuiInputBase-input{outline:none!important;box-shadow:none!important}input[type=search]:focus,.global-search input:focus,.local-search input:focus,.customers-search input:focus,.fixed-prices-search input:focus,.all-invoices-search input:focus,.customer-invoices-search input:focus,.retail-products-search input:focus,.transactions-search input:focus,.warehouses-search input:focus,.MuiInputBase-input:focus{outline:none!important;box-shadow:none!important}.MuiOutlinedInput-notchedOutline{border-color:transparent!important}.invoice-notes-display{margin-top:16px;padding:16px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;direction:rtl;text-align:right;width:100%;box-sizing:border-box}.invoice-notes-display strong{display:block;margin-bottom:8px;color:#1e293b;font-size:16px;font-weight:700}.invoice-notes-display p{margin:0;color:#475569;font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.transaction-actions{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap;direction:ltr;width:100%;margin:0 0 24px}.transaction-add-btn,.transaction-upload-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border:1px solid #2563eb;border-radius:10px;background:#2563eb;color:#fff;font-family:inherit;font-size:17px;font-weight:700;line-height:1.5;cursor:pointer;white-space:nowrap;box-shadow:0 3px 8px #2563eb26;transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease}.transaction-add-btn:hover,.transaction-upload-btn:hover{background:#1d4ed8;border-color:#1d4ed8;box-shadow:0 5px 12px #2563eb38;transform:translateY(-1px)}.transaction-add-btn:active,.transaction-upload-btn:active{transform:translateY(0);box-shadow:none}.transaction-upload-btn{background:#fff;color:#2563eb;border-color:#cbd5e1}.transaction-upload-btn:hover{background:#eff6ff;color:#1d4ed8;border-color:#2563eb}.transaction-upload-btn input[type=file]{display:none}@media(max-width:600px){.transaction-actions{gap:10px}.transaction-add-btn,.transaction-upload-btn{min-height:44px;padding:10px 14px;font-size:15px}}.customer-profile-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-health-panel{display:flex;align-items:flex-start;gap:14px;padding:20px;border-right:4px solid #a3adbd}.customer-health-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:#f0f3f8;color:#66758a}.customer-health-copy{flex:1;min-width:0}.customer-health-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.customer-health-title h2{margin:0;font-size:17px}.customer-health-copy p{margin:6px 0;color:var(--text-muted)}.customer-health-copy small{color:var(--text-muted);font-size:11px}.customer-health-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:800}.customer-health-panel.customer-health-good{border-right-color:#16845b}.customer-health-icon:has(+.customer-health-copy .good),.customer-health-good .customer-health-icon{background:#e5f7ef;color:#16845b}.customer-health-badge.good{background:#e5f7ef;color:#14764f}.customer-health-panel.customer-health-medium{border-right-color:#d99722}.customer-health-badge.medium{background:#fff3d8;color:#95630c}.customer-health-panel.customer-health-needs{border-right-color:#cf4545}.customer-health-badge.needs{background:#fff0ef;color:#b93434}.customer-health-badge.neutral{background:#eef2f7;color:#637188}.customer-analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.customer-analytics-chart{height:260px}.customer-chart-legend{display:grid;gap:10px}.customer-chart-legend>div{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:9px;color:var(--text-muted);font-size:13px}.customer-chart-legend strong{color:var(--text)}.customer-legend-dot{width:9px;height:9px;border-radius:50%;background:#16845b}.customer-legend-dot.dot-1{background:#e8a23a}.customer-receipt-note{border-top:1px solid var(--border);padding-top:12px;color:var(--text-muted);font-size:12px}.customer-receipt-note strong{color:var(--text)}@media(max-width:1000px){.customer-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-analytics-grid{grid-template-columns:1fr}}@media(max-width:560px){.customer-profile-stats{grid-template-columns:1fr}.customer-health-panel{padding:15px}}.invoice-create-page{width:100%;max-width:none}.invoice-create-table-scroll{overflow-x:visible!important}.invoice-create-table{width:100%!important;min-width:0!important;table-layout:auto!important}.invoice-create-table th,.invoice-create-table td{padding:18px 14px!important}.page-content:has(.retail-sales-page),.owner-shell .page-content:has(.retail-sales-page){width:100%!important;max-width:none!important;margin:0!important;padding:20px clamp(16px,2.5vw,36px) 32px!important}.retail-sales-page,.retail-sales-grid,.retail-products-panel,.retail-invoice-panel{width:100%;max-width:none;min-width:0}.retail-sales-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:22px}.retail-products-list{max-height:none!important;overflow:visible!important}.retail-cart-table-scroll{width:100%!important;overflow-x:hidden!important}.MuiTable-root.retail-cart-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.retail-cart-table .MuiTableCell-root{padding:14px 10px!important;overflow-wrap:anywhere}.retail-cart-table .MuiTableCell-root:nth-child(1){width:36%}.retail-cart-table .MuiTableCell-root:nth-child(2){width:15%}.retail-cart-table .MuiTableCell-root:nth-child(3){width:18%}.retail-cart-table .MuiTableCell-root:nth-child(4){width:21%}.retail-cart-table .MuiTableCell-root:nth-child(5){width:10%}.retail-cart-table .MuiInputBase-root{width:100%;min-width:0}@media(max-width:900px){.retail-sales-grid{grid-template-columns:minmax(0,1fr)!important}.retail-cart-table .MuiTableCell-root{padding:10px 6px!important}}.page-content:has(.invoice-create-page),.owner-shell .page-content:has(.invoice-create-page){width:100%!important;max-width:none!important;margin:0!important;padding:20px clamp(16px,2.5vw,36px) 32px!important}.invoice-create-page,.invoice-create-form,.invoice-create-items-panel,.invoice-create-info{width:100%!important;max-width:none!important;min-width:0!important}.invoice-create-info{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.86fr)!important}.invoice-create-table-scroll{width:100%!important;max-width:100%!important;overflow-x:hidden!important}.MuiTable-root.invoice-create-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.invoice-create-table .MuiTableCell-root{padding:14px 8px!important;overflow-wrap:anywhere}.invoice-create-table .MuiTableCell-root:nth-child(1){width:4%!important}.invoice-create-table .MuiTableCell-root:nth-child(2){width:34%!important}.invoice-create-table .MuiTableCell-root:nth-child(3){width:20%!important}.invoice-create-table .MuiTableCell-root:nth-child(4){width:10%!important}.invoice-create-table .MuiTableCell-root:nth-child(5){width:11%!important}.invoice-create-table .MuiTableCell-root:nth-child(6){width:12%!important}.invoice-create-table .MuiTableCell-root:nth-child(7){width:9%!important}.invoice-create-table .MuiInputBase-root,.invoice-create-table .MuiSelect-select{min-width:0!important;width:100%!important}.retail-sales-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important}@media(max-width:900px){.invoice-create-info{grid-template-columns:repeat(2,minmax(0,1fr))!important}.retail-sales-grid{grid-template-columns:minmax(0,1fr)!important}}@media(max-width:600px){.invoice-create-info{grid-template-columns:minmax(0,1fr)!important}.invoice-create-table .MuiTableCell-root{padding:8px 4px!important;font-size:12px!important}}.invoice-create-page{font-size:16px!important;gap:22px!important}.invoice-create-page .page-heading h1{font-size:28px!important}.invoice-create-page .panel{padding:24px!important}.invoice-create-page .invoice-create-info{gap:20px 24px!important}.invoice-create-page .invoice-create-info>label{font-size:15px!important;font-weight:700}.invoice-create-page .MuiInputBase-root,.invoice-create-page .MuiSelect-select{min-height:48px!important;font-size:16px!important}.invoice-create-page .invoice-create-table .MuiTableCell-root{min-height:62px;padding:18px 10px!important;font-size:16px!important}.invoice-create-page .invoice-create-table .MuiTableCell-head{font-size:16px!important}.invoice-create-page .invoice-create-table .MuiTableRow-root{height:62px}.invoice-create-page .invoice-create-panel-heading{margin-bottom:22px!important}.invoice-create-page .invoice-create-actions .MuiButton-root{min-height:48px;padding-inline:22px}@media(max-width:700px){.invoice-create-page .panel{padding:16px!important}.invoice-create-page .invoice-create-table .MuiTableCell-root{padding:9px 5px!important;font-size:13px!important}}.invoice-create-workspace{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;align-items:start;direction:rtl}.invoice-create-products-panel,.invoice-create-items-panel{min-width:0;width:100%}.invoice-create-products-table-scroll,.invoice-create-table-scroll{width:100%;overflow-x:hidden!important}.invoice-create-products-table .MuiTableCell-root,.invoice-create-table .MuiTableCell-root{padding:12px 7px!important;overflow-wrap:anywhere}.invoice-create-products-table .MuiInputBase-root,.invoice-create-table .MuiInputBase-root{min-width:0;width:100%}@media(max-width:900px){.invoice-create-workspace{grid-template-columns:minmax(0,1fr)}}.customer-payment-fields{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px;border:1px solid var(--border);border-radius:12px;background:#f8faff}.customer-payment-fields h3{grid-column:1 / -1;margin:0;font-size:16px}.customer-payment-fields label{display:grid;gap:7px;min-width:0;font-weight:700}@media(max-width:800px){.customer-payment-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.customer-payment-fields{grid-template-columns:minmax(0,1fr)}}.invoice-create-workspace{display:grid!important;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr)!important;align-items:start;gap:20px;width:100%;min-width:0;direction:rtl}.invoice-create-workspace>.invoice-create-products-panel,.invoice-create-workspace>.invoice-create-items-panel{grid-column:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;align-self:start}.invoice-create-products-table-scroll,.invoice-create-table-scroll{width:100%!important;min-width:0!important;overflow-x:hidden!important}.MuiTable-root.invoice-create-products-table,.MuiTable-root.invoice-create-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.invoice-create-products-table .MuiTableCell-root,.invoice-create-table .MuiTableCell-root{padding:11px 7px!important;overflow-wrap:anywhere}@media(max-width:900px){.invoice-create-workspace{grid-template-columns:minmax(0,1fr)!important}}.customer-payment-display{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.customer-payment-detail{display:grid;gap:7px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:10px;background:#f8faff}.customer-payment-detail span{color:var(--text-muted);font-size:13px}.customer-payment-detail strong{overflow-wrap:anywhere;text-align:left}@media(max-width:800px){.customer-payment-display{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.customer-payment-display{grid-template-columns:minmax(0,1fr)}}.invoice-create-form>.invoice-create-workspace,.invoice-create-form>.invoice-create-actions{grid-column:1 / -1!important;width:100%!important;max-width:100%!important;min-width:0!important}.invoice-item-save-button{min-width:72px!important;padding:6px 10px!important;gap:6px!important;white-space:nowrap}.invoice-notes-save-hint{margin:4px 0 0;font-size:13px}.invoice-create-workspace{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr)!important}@media(max-width:900px){.invoice-create-form>.invoice-create-workspace,.invoice-create-form>.invoice-create-actions{grid-column:1 / -1!important}.invoice-create-workspace{grid-template-columns:minmax(0,1fr)!important}}@media(max-width:720px){.owner-nav-list{gap:9px}.owner-nav-list .nav-item{gap:7px;padding:9px 12px;font-size:12px}.owner-nav-list .nav-item svg{width:16px;height:16px}}@media(max-width:420px){.owner-nav-list .nav-item{padding:8px 10px}.owner-nav-list .nav-item span{font-size:12px}}.invoice-create-search-wrap{display:grid;gap:7px;margin:18px 0 14px;min-width:0}.invoice-create-search{display:flex!important;align-items:center;gap:11px;width:100%;min-width:0;min-height:52px;margin:0!important;padding:0 15px;border:1px solid #cbd8eb;border-radius:12px;background:#f8faff;color:#6480a2;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.invoice-create-search:focus-within{border-color:#3478ef;background:#fff;box-shadow:0 0 0 3px #2563eb1f}.invoice-create-search .MuiFormControl-root{flex:1;min-width:0;margin:0}.invoice-create-search .MuiInputBase-root{width:100%;min-width:0;height:48px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.invoice-create-search .MuiInputBase-input{min-width:0;padding:0!important;color:#172b4d;font-size:15px;text-align:right}.invoice-create-search .MuiInputBase-input::placeholder{color:#8b9bb0;opacity:1}.invoice-create-search-hint{color:#8493a8;font-size:12px}.invoice-create-search-clear{min-width:32px!important;width:32px;height:32px;padding:0!important;color:#71839a!important}.invoice-create-search-empty{display:grid;justify-items:center;gap:9px;min-height:185px;align-content:center;padding:24px;border:1px dashed #c7d5e8;border-radius:12px;background:linear-gradient(145deg,#fbfdff,#f5f8fd);color:#65758b;text-align:center}.invoice-create-search-empty-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#eaf1ff;color:#3478ef}.invoice-create-search-empty strong{color:#29415f;font-size:15px}.invoice-create-search-empty>span:last-child{max-width:360px;font-size:13px;line-height:1.7}.invoice-create-products-table-scroll{margin-top:8px;overflow:hidden;border:1px solid #d7e1ef;border-radius:10px}.invoice-create-products-table .MuiTableCell-head{background:#f0f5fb;color:#29415f;font-weight:700}.invoice-create-products-table .MuiTableCell-root{text-align:right}.invoice-create-products-table .MuiTableBody-root .MuiTableRow-root:hover{background:#f6f9ff}.invoice-create-notes-card{display:grid;gap:8px;margin-top:18px;padding:16px;border:1px solid #d8e3f1;border-radius:12px;background:#f9fbfe}.invoice-create-notes-card .record-note-field{gap:9px!important;color:#29415f!important}.invoice-create-notes-card .record-note-control,.invoice-create-notes-card .MuiInputBase-root{width:100%}.invoice-create-notes-card textarea{min-height:68px!important;height:68px!important;max-height:140px;padding:12px 14px!important;border:1px solid #d3deed!important;border-radius:9px!important;background:#fff!important;line-height:1.7;resize:vertical}.invoice-create-notes-card textarea:focus{border-color:#3478ef!important;outline:0;box-shadow:0 0 0 3px #2563eb1a}.invoice-create-notes-card>span{color:#8493a8;font-size:12px}@media(max-width:600px){.invoice-create-search{min-height:48px;padding-inline:11px}.invoice-create-search-empty{min-height:145px;padding:18px}.invoice-create-notes-card{padding:12px}}.owner-navbar{justify-content:center}.owner-nav-list{justify-content:center;flex-wrap:wrap;gap:11px}@media(max-width:1200px){.owner-nav-list{order:0;flex-basis:100%}}@media(max-width:720px){.owner-nav-list{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto}.owner-nav-list .nav-item{flex:0 0 auto}}.owner-navbar{flex-wrap:nowrap!important;gap:4px;min-height:58px;padding:6px 8px}.owner-nav-list{flex:1 1 auto;flex-wrap:nowrap!important;justify-content:space-between;gap:3px;min-width:0;overflow:hidden!important}.owner-nav-list .nav-item{flex:0 1 auto;min-width:0;min-height:34px;gap:4px;padding:5px 7px;font-size:11px}.owner-nav-list .nav-item span{min-width:fit-content;white-space:nowrap}.owner-nav-list .nav-item svg{flex:0 0 13px;width:13px;height:13px}.owner-shell .page-content{padding-top:16px}@media(max-width:1100px){.owner-navbar{padding-inline:5px;gap:2px}.owner-nav-list{gap:1px}.owner-nav-list .nav-item{gap:2px;padding-inline:4px;font-size:10px}.owner-nav-list .nav-item svg{display:none}}@media(max-width:720px){.owner-navbar{padding-inline:3px}.owner-nav-list .nav-item{font-size:8px;padding-inline:2px}}.invoice-item-note{display:block;margin-top:6px;color:var(--text-muted);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.note-table-row>.MuiTableCell-root,.note-table-row>td{background:#f6f9fe;color:#405875;white-space:pre-wrap;overflow-wrap:anywhere;border-top:0;padding-block:10px}.invoice-header-note-row>.MuiTableCell-root,.invoice-header-note-row>td{background:#eef5ff}.record-note-field{min-width:0}.transactions-table-panel .transactions-table{width:100%;min-width:760px}.external-manufacturing-order-fields>label:last-child{display:none}.external-manufacturing-returns th:nth-child(4),.external-manufacturing-returns td:nth-child(4){display:none}.transaction-date-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.transaction-date-filters label{display:grid;gap:5px;min-width:150px;color:var(--text-muted);font-size:12px}.transaction-date-filters input{min-width:145px}.customer-transaction-date-filters{margin:12px 0}.transaction-receipt-preview-button{display:grid;justify-items:center;gap:5px;padding:4px;border:0;background:transparent;color:var(--primary-color, #1264e8);cursor:pointer;font:inherit}.transaction-receipt-preview-button img{width:58px;height:48px;border:1px solid var(--border-color, #d8e3f0);border-radius:6px;object-fit:cover}.receipt-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:grid;place-items:center;padding:12px;background:#0a1423d1}.receipt-preview-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;width:min(1500px,98vw);height:min(96vh,1100px);padding:10px;border:1px solid var(--border-color, #d8e3f0);border-radius:14px;background:#fff;box-shadow:0 20px 60px #00000047}.receipt-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.receipt-zoom-controls{display:flex;align-items:center;gap:7px}.receipt-zoom-controls input[type=range]{width:clamp(90px,16vw,190px)}.receipt-zoom-reset{min-width:48px;padding:4px 7px;border:1px solid var(--border-color, #d8e3f0);border-radius:6px;background:#fff;color:var(--text, #17243a)}.receipt-preview-image-viewport{min-width:0;min-height:0;overflow:auto;text-align:center}.receipt-preview-image-viewport>img{display:block;max-width:none;height:auto;margin:0 auto}@media(max-width:650px){.transaction-date-filters,.transaction-date-filters label,.transaction-date-filters input{width:100%}}html body :is(.table-scroll,.table-scroll-x,.table-scroll-container,.MuiTableContainer-root){max-width:100%;overflow-x:auto!important;overscroll-behavior-inline:contain}html body .MuiTable-root,html body table:not(.no-flex-table){width:100%!important;min-width:100%!important;table-layout:auto!important}html body .MuiTable-root .MuiTableCell-root,html body table:not(.no-flex-table) :is(th,td){box-sizing:border-box;min-width:62px;max-width:520px;height:auto!important;padding-block:10px;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal;vertical-align:middle;line-height:1.55}html body .MuiTable-root .MuiTableCell-root :is(input,select,textarea,button),html body table:not(.no-flex-table) :is(th,td) :is(input,select,textarea,button){box-sizing:border-box;max-width:100%}html body .MuiTable-root .MuiTableCell-root .MuiInputBase-root,html body .MuiTable-root .MuiTableCell-root .MuiFormControl-root{min-width:0;max-width:100%}@media(max-width:700px){html body .MuiTable-root .MuiTableCell-root,html body table:not(.no-flex-table) :is(th,td){min-width:54px;padding-inline:6px;font-size:13px}}.returns-waste-page{--rw-blue: #1264e8;--rw-border: #d8e3f0}.returns-waste-heading{align-items:center}.returns-waste-heading h1{margin:2px 0 6px}.returns-waste-heading>button{min-height:44px}.returns-waste-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.returns-waste-stats>.stat-card{position:relative;display:grid;gap:12px;min-width:0;padding:18px 20px;border:1px solid var(--rw-border);border-radius:12px;background:#fff;box-shadow:0 4px 16px #102a430a}.returns-waste-stats>.stat-card>span{color:#62748b;font-size:14px}.returns-waste-stats>.stat-card>strong{color:#172b4d;font-size:24px}.returns-waste-stats>.stat-card>svg{position:absolute;top:18px;left:18px;color:var(--rw-blue)}.returns-waste-stats>.returns-waste-loss-card{border-top:3px solid #e04d4d;background:snow}.returns-waste-stats>.returns-waste-loss-card>strong,.returns-waste-stats>.returns-waste-loss-card>svg{color:#c73636}.returns-waste-panel{display:grid;gap:18px;min-width:0}.returns-waste-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.returns-waste-tabs{display:flex;gap:8px;padding:4px;border-radius:10px;background:#f1f5fa}.returns-waste-tabs .MuiButton-root{min-width:112px;color:#475a73;border-radius:8px}.returns-waste-tabs .MuiButton-root.active{color:#087b43;background:#dcfce9;box-shadow:inset 0 0 0 1px #75d69b}.returns-waste-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(4,minmax(130px,1fr)) auto;gap:10px;align-items:end}.returns-waste-filters>label{display:grid;gap:6px;min-width:0;color:#566a83;font-size:12px}.returns-waste-filters>label>:is(input,select){box-sizing:border-box;width:100%;min-width:0;height:42px;padding:0 11px;border:1px solid #d3dfed;border-radius:8px;background:#fff;color:#172b4d;font:inherit}.returns-waste-search{display:flex!important;align-items:center;gap:8px!important;height:42px;padding:0 11px;border:1px solid #d3dfed;border-radius:8px;background:#fff;color:#71839a!important}.returns-waste-search:focus-within{border-color:var(--rw-blue);box-shadow:0 0 0 3px #1264e81a}.returns-waste-search input{width:100%;min-width:0;height:38px;border:0;outline:0;background:transparent;color:#172b4d;font:inherit}.returns-waste-search input::placeholder{color:#98a5b5}.returns-waste-search button{display:grid;place-items:center;padding:4px;border:0;background:transparent;color:#72839a;cursor:pointer}.returns-waste-table-scroll{width:100%;overflow-x:auto;border:1px solid var(--rw-border);border-radius:10px}.MuiTable-root.returns-waste-table{min-width:1120px!important;table-layout:auto!important}.returns-waste-table .MuiTableCell-head{background:#f0f4f9;color:#243b5a;font-weight:700;white-space:nowrap!important}.returns-waste-table .MuiTableCell-root{padding:12px 10px!important}.returns-waste-table .MuiTableBody-root .MuiTableRow-root:hover{background:#f8fbff}.returns-waste-table .MuiTableCell-root:nth-child(4) small{display:block;margin-top:4px;color:#8290a3}.returns-waste-type{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap}.returns-waste-type.return{color:#07834b;background:#e0f7eb}.returns-waste-type.waste{color:#bd3030;background:#fff0f0}.returns-waste-money-loss{color:#bd3030!important;font-weight:700!important}.returns-waste-actions{display:flex;align-items:center;gap:3px;white-space:nowrap}.returns-waste-actions .MuiButton-root{min-width:32px;width:32px;height:32px;padding:0;color:#1670db}.returns-waste-actions .MuiButton-root.danger{color:#d33434}.returns-waste-note{background:#f5f8fd!important;color:#526983!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}.returns-waste-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#65758b;font-size:13px}.returns-waste-pagination>div{display:flex;align-items:center;gap:9px}.returns-waste-pagination .MuiButton-root{min-width:34px;height:34px;border:1px solid var(--rw-border);border-radius:8px}.returns-waste-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:10px!important}.returns-waste-entry-dialog .MuiDialog-paper{width:min(920px,calc(100% - 32px))}.returns-waste-entry-dialog .returns-waste-form{gap:18px;padding:18px 24px!important}.returns-waste-entry-dialog .returns-waste-form>label>:is(input,select){height:50px;padding-inline:14px}.returns-waste-form>label{display:grid;gap:6px;min-width:0;color:#405875;font-size:13px;font-weight:700}.returns-waste-form>label>:is(input,select){box-sizing:border-box;width:100%;min-width:0;height:44px;padding:0 10px;border:1px solid #cdd9e8;border-radius:8px;background:#fff;color:#172b4d;font:inherit}.returns-waste-cost-preview{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #f1cccc;border-radius:9px;background:#fff7f7;color:#9b3535}.returns-waste-form-notes{grid-column:1 / -1;min-width:0}.returns-waste-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.returns-waste-detail>div{display:grid;gap:5px;min-width:0;padding:11px;border:1px solid #e0e7f0;border-radius:8px;overflow-wrap:anywhere}.returns-waste-detail>div>span{color:#75859a;font-size:12px}.returns-waste-detail>div.wide{grid-column:1 / -1}.returns-waste-search-invoices{display:flex;align-items:end}.returns-waste-invoice-item-field{grid-column:1 / -1}.returns-waste-return-price{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:10px;padding:11px 13px;border:1px solid #d9e7fa;border-radius:8px;background:#f5f9ff;color:#4f6681;font-size:13px}.returns-waste-return-price strong{color:#1761c7}.returns-waste-balance-preview{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:10px;padding:11px 13px;border:1px solid #d8eadf;border-radius:8px;background:#f4fbf6;color:#4d705a;font-size:13px}.returns-waste-balance-preview strong{color:#17643b}.returns-waste-balance-preview b{color:#1c814b}.returns-waste-retail-hint{grid-column:1 / -1;margin:0;color:#8b651e;font-size:12px}.returns-waste-cost-preview.return-value{border-color:#d9e7fa;background:#f5f9ff;color:#335c8d}.returns-waste-cost-preview.return-value strong{color:#1761c7}.invoice-item-returned>.MuiTableCell-root{background:#fff0f0!important;color:#a72727!important}.return-invoice-row>.MuiTableCell-root{background:#fff0f0!important;color:#a72727!important;border-color:#f3bbbb!important}.customer-invoice-kind{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.customer-invoice-kind.sale{color:#087b43;background:#e0f7eb}.customer-invoice-kind.return{color:#b42323;background:#ffe3e3}.invoice-item-returned>.MuiTableCell-root:first-child{border-inline-start:4px solid #d93030!important}.invoice-returned-label{display:block;margin-top:5px;color:#bd3030;font-size:12px;font-weight:700}.dashboard-loss-summary{display:flex;justify-content:flex-start}.dashboard-loss-summary .dashboard-stat{width:min(100%,320px);border-top:3px solid #d94b4b}.dashboard-loss-summary .dashboard-stat-loss strong{color:#b83232}.dashboard-loss-summary .dashboard-stat-loss .stat-icon{color:#d13e3e;background:#fff0f0}.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-movements-heading{align-items:center}.stock-movements-heading-actions,.stock-movement-form-actions{display:flex;align-items:center;gap:10px}.stock-movements-heading-actions button,.stock-movement-form-actions button,.stock-movement-form .panel-heading button,.stock-filter-reset,.stock-movement-footer button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.stock-movement-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-movement-stat{border-top:3px solid #a8bfdc}.stock-movement-stat .stat-top{display:flex;justify-content:space-between;align-items:center}.stock-movement-stat strong{font-size:27px}.stock-movement-stat small{color:var(--text-muted, #718096)}.stock-movement-stat.stock-in{border-top-color:#16a36a}.stock-movement-stat.stock-in .stat-top svg,.movement-in{color:#16845b}.stock-movement-stat.stock-out{border-top-color:#dc5860}.stock-movement-stat.stock-out .stat-top svg,.movement-out{color:#c63f48}.stock-movement-stat.stock-balance{border-top-color:#3478df}.stock-movement-stat.stock-balance .stat-top svg{color:#3478df}.stock-movement-form{display:grid;gap:18px}.stock-movement-form .panel-heading{display:flex;align-items:center;justify-content:space-between}.stock-movement-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stock-movement-form-grid label,.stock-movement-date{display:grid;gap:7px;color:var(--text-secondary, #526173);font-size:13px;font-weight:650}.stock-movement-form-grid input,.stock-movement-form-grid select,.stock-movement-form-grid textarea,.stock-movement-filters input,.stock-movement-filters select{width:100%;min-width:0;min-height:42px;padding:9px 11px;border:1px solid var(--border-color, #d5dfeb);border-radius:9px;background:#fff;color:var(--text-primary, #1c2b3e);font:inherit}.stock-movement-form-grid textarea{resize:vertical}.stock-movement-form-grid input:disabled,.stock-movement-form-grid select:disabled{background:#f2f5f9;color:#78869a}.stock-movement-note-field{grid-column:1 / -1}.stock-movement-info{padding:10px 13px;border-radius:9px;background:#eef5ff;color:#315c98;font-size:13px}.stock-movement-form-actions{justify-content:space-between;color:var(--text-muted, #718096);font-size:12px}.stock-movement-list-panel{display:grid;gap:17px}.stock-movement-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr)) repeat(2,minmax(150px,1fr)) auto;align-items:end;gap:10px}.stock-movement-search{display:flex;align-items:center;gap:8px;min-width:0;min-height:42px;padding:0 11px;border:1px solid var(--border-color, #d5dfeb);border-radius:9px;color:#7b8ba1}.stock-movement-search input{border:0;outline:0;padding-inline:0}.stock-movement-search input:focus{box-shadow:none}.stock-product-autocomplete{position:relative;display:block!important;min-width:0}.stock-filter-product{align-self:end}.stock-product-suggestions{position:absolute;z-index:20;top:calc(100% + 4px);inset-inline:0;display:grid;max-height:230px;overflow:auto;padding:5px;border:1px solid var(--border-color, #d5dfeb);border-radius:9px;background:#fff;box-shadow:0 10px 25px #1c2b3e1c}.stock-product-suggestions button{padding:10px;border:0;border-radius:6px;background:transparent;color:var(--text-primary, #1c2b3e);text-align:right;cursor:pointer}.stock-product-suggestions button:hover{background:#eef5ff}.stock-product-suggestions span{padding:10px;color:var(--text-muted, #718096);font-size:12px}.stock-movement-date input{font-size:12px}.stock-movement-table-wrap{overflow-x:auto;border:1px solid var(--border-color, #d5dfeb);border-radius:11px}.stock-movement-table{width:100%;min-width:980px;border-collapse:collapse}.stock-movement-table th,.stock-movement-table td{padding:13px 12px;border-bottom:1px solid var(--border-color, #e3e9f1);text-align:right;vertical-align:middle;white-space:nowrap}.stock-movement-table th{background:#f3f7fb;color:#33465e;font-size:12px;font-weight:750}.stock-movement-table td{color:var(--text-primary, #28384d);font-size:13px}.stock-movement-table tbody tr:last-child td{border-bottom:0}.stock-movement-table tbody tr:hover{background:#f9fbfe}.stock-movement-table .movement-notes{min-width:170px;max-width:300px;white-space:normal;line-height:1.6}.movement-badge{display:inline-flex;padding:5px 10px;border-radius:999px;background:#edf2f8;font-size:12px;font-weight:700}.movement-badge.movement-in{background:#e6f7ef}.movement-badge.movement-out{background:#fff0f0}.movement-badge.movement-return{background:#e6f7ef;color:#16845b}.movement-badge.movement-waste{background:#fff0f0;color:#c63f48}.movement-badge.movement-adjustment{background:#fff5df;color:#9a6712}.movement-source{display:block;margin-top:5px;color:#76869b;font-size:10px}.movement-quantity{font-weight:750;direction:ltr;text-align:right}.movement-quantity-in{color:#16845b!important}.movement-quantity-out{color:#c63f48!important}.stock-movement-row-actions{display:flex;align-items:center;gap:6px}.stock-movement-row-actions button{display:inline-grid;width:34px;height:34px;place-items:center;border:1px solid #dce5f0;border-radius:8px;background:#fff;color:#3478df;cursor:pointer}.stock-movement-row-actions .movement-delete{color:#cb4851}.movement-managed{color:#7d8999;font-size:11px}.stock-movement-footer{display:flex;align-items:center;justify-content:space-between;color:var(--text-muted, #718096);font-size:13px}.stock-movement-footer>div{display:flex;align-items:center;gap:12px}.stock-movement-footer button{min-height:35px;padding:6px 12px;border:1px solid var(--border-color, #d5dfeb);border-radius:8px;background:#fff;color:#315c98;cursor:pointer}.stock-movement-footer button:disabled{opacity:.45;cursor:not-allowed}.stock-movement-error{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;border-radius:9px;background:#fff0f0;color:#a9343b}.stock-movement-error button{border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer}@media(max-width:1200px){.stock-movement-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-movement-search{grid-column:span 2}}@media(max-width:760px){.stock-movement-stats,.stock-movement-form-grid,.stock-movement-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-movement-search,.stock-filter-reset{grid-column:1 / -1}.stock-movements-heading,.stock-movements-heading-actions{align-items:stretch;flex-direction:column}.stock-movements-heading-actions{display:grid;grid-template-columns:1fr 1fr}.stock-movement-footer{align-items:flex-start;gap:12px;flex-direction:column}}@media print{.owner-navbar,.stock-movements-heading-actions,.stock-movement-stats,.stock-movement-form,.stock-movement-filters,.stock-movement-row-actions,.stock-movement-actions-col,.stock-movement-footer{display:none!important}.stock-movement-table{min-width:0}.stock-movement-table th,.stock-movement-table td{padding:7px;font-size:10px}}.infinite-load-status{display:grid;min-height:44px;place-items:center;padding:10px 14px;color:#758398;text-align:center;font-size:12px}@media(max-width:1100px){.returns-waste-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.returns-waste-search{grid-column:span 2}}@media(max-width:700px){.returns-waste-stats{grid-template-columns:minmax(0,1fr)}.returns-waste-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.returns-waste-search{grid-column:1 / -1}.returns-waste-tabs{width:100%}.returns-waste-tabs .MuiButton-root{flex:1;min-width:0}.returns-waste-form{grid-template-columns:minmax(0,1fr)}.returns-waste-cost-preview,.returns-waste-form-notes,.returns-waste-search-invoices,.returns-waste-invoice-item-field,.returns-waste-return-price,.returns-waste-retail-hint,.returns-waste-balance-preview{grid-column:auto}.returns-waste-return-price,.returns-waste-balance-preview{grid-template-columns:1fr auto}}.warehouse-valuation-summary{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;margin:.75rem 0;padding:1rem;border:1px solid #cbdcf5;background:#f4f8ff;color:#123a6d}.warehouse-valuation-summary span{color:#9a5a07}.warehouse-supplier-button{white-space:nowrap;padding:.4rem .6rem}.warehouses-table select{min-width:10rem;max-width:16rem}html[data-theme=dark]{color-scheme:dark;--app-bg: #0b1424;--surface: #152238;--surface-muted: #1b2c43;--surface-soft: #1b2c43;--text: #e7effb;--text-primary: #e7effb;--text-secondary: #b9c9dd;--text-muted: #a6bad2;--border: #34465e;--border-color: #34465e;--line: #34465e;--primary: #71a9ff;--primary-hover: #9ac1ff;--primary-soft: #203b62;--navy: #102136;--success: #5bd5a2;--success-soft: #173c34;--warning: #e9ba68;--warning-soft: #42331e;--danger: #fa828b;--danger-soft: #4a2631;--shadow: 0 7px 24px rgba(0, 0, 0, .22);--shadow-hover: 0 12px 30px rgba(0, 0, 0, .3)}html[data-theme=dark] body{background:var(--app-bg);color:var(--text)}html[data-theme=dark] .owner-navbar{background:#0f1b2df7;border-color:var(--border);box-shadow:var(--shadow)}html[data-theme=dark] .owner-nav-list .nav-item:not(.active){background:#1c2e47;color:var(--text);border-color:var(--border)}html[data-theme=dark] .owner-nav-list .nav-item:not(.active):hover{background:var(--primary-soft);color:#bdd7ff}html[data-theme=dark] .owner-nav-list .nav-item.active{background:#2f67bd;color:#fff}html[data-theme=dark] :is(.panel,.stat-card,.dashboard-stat,.reports-stat,.customer-profile-stat,.warehouse-card,.warehouses-card,.invoice-create-page .panel,.retail-day-card){background:var(--surface)!important;color:var(--text);border-color:var(--border);box-shadow:var(--shadow)}html[data-theme=dark] :is(.warehouse-card.selected,.warehouses-card.selected){background:var(--primary-soft)!important}html[data-theme=dark] :is(.customer-profile-return-stat,.invoice-item-returned>.MuiTableCell-root,.return-invoice-row>.MuiTableCell-root){background:#422633!important;color:#ffc1c4!important}html[data-theme=dark] :is(.page-heading,.panel,.stat-card,.warehouse-card,.dashboard-stat) :is(h1,h2,h3,strong){color:var(--text)}html[data-theme=dark] :is(.muted,.eyebrow,.stat-top,.warehouse-card-info small){color:var(--text-muted)}html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:#111e31;color:var(--text);border-color:var(--border)}html[data-theme=dark] :is(input,textarea)::placeholder{color:#91a9c4}html[data-theme=dark] :is(input,select,textarea):disabled{background:#1b2a40;color:#91a9c4}html[data-theme=dark] :is(.btn-secondary,.stock-movement-row-actions button,.stock-movement-footer button,.warehouse-supplier-button){background:#1d3049;color:#c5dcff;border-color:var(--border)}html[data-theme=dark] :is(.btn-primary,.invoice-create-page .btn-primary){background:#306ac4;color:#fff;border-color:#306ac4}html[data-theme=dark] :is(.btn-primary,.invoice-create-page .btn-primary):hover{background:#407bd6}html[data-theme=dark] :is(table th,.MuiTableCell-head,.stock-movement-table th){background:#1d3049!important;color:#e7effb!important;border-color:var(--border)}html[data-theme=dark] :is(table td,.MuiTableCell-body,.stock-movement-table td){color:var(--text)!important;border-color:var(--border)}html[data-theme=dark] :is(table tbody tr,.stock-movement-table tbody tr):hover{background:#20344e}html[data-theme=dark] :is(.table-scroll,.table-scroll-x,.stock-movement-table-wrap,.local-search,.stock-movement-search){border-color:var(--border)}html[data-theme=dark] :is(.invoice-create-info label,.invoice-create-notes,.stock-movement-form-grid label,.stock-movement-date){color:var(--text)}html[data-theme=dark] :is(.invoice-create-info input,.invoice-create-notes textarea,.stock-movement-form-grid input,.stock-movement-form-grid select,.stock-movement-form-grid textarea,.stock-movement-filters input,.stock-movement-filters select){background:#111e31;color:var(--text);border-color:var(--border)}html[data-theme=dark] :is(.stock-movement-table-wrap,.stock-movement-list-panel,.stock-movement-search){background:var(--surface)}html[data-theme=dark] :is(.stock-movement-table tbody tr:hover,.stock-movement-info,.note-table-row>td,.note-table-row>.MuiTableCell-root){background:#20344e;color:var(--text)}html[data-theme=dark] .warehouse-valuation-summary{background:#20344e!important;color:var(--text);border-color:var(--border)}html[data-theme=dark] .warehouse-valuation-summary span{color:#f4c679}html[data-theme=dark] :is(.MuiDialog-paper,.MuiPaper-root){color:var(--text)}html[data-theme=dark] .app-form-dialog-body{background:var(--surface)}.theme-toggle{position:fixed;left:16px;bottom:16px;z-index:1200;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 13px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);box-shadow:0 8px 24px #0f192d2e;font-size:12px;font-weight:700}.theme-toggle:hover{background:var(--primary-soft);color:var(--primary)}.theme-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:3px}@media(max-width:600px){.theme-toggle{width:44px;height:44px;padding:0}.theme-toggle span{display:none}}@media print{.theme-toggle{display:none!important}html[data-theme=dark] body,html[data-theme=dark] :is(.panel,.stat-card,.dashboard-stat,.warehouse-card){background:#fff!important;color:#111!important}}#root,.app-shell,.main-area,.owner-shell .main-area,.page-content,.page-stack,.panel,.stat-card{min-width:0}.owner-shell .main-area{width:100%;max-width:100%}.owner-shell .page-content{width:100%;max-width:1680px;margin-inline:auto;padding-inline:clamp(12px,2.3vw,32px)}.owner-shell .owner-navbar{padding:8px 12px}.owner-shell .owner-nav-list{justify-content:flex-start;overflow-x:auto!important;flex-wrap:nowrap!important;gap:6px;scrollbar-width:thin;scroll-padding-inline:12px;overscroll-behavior-inline:contain}.owner-shell .owner-nav-list .nav-item{flex:0 0 auto;min-height:44px;padding:8px 12px;font-size:13px;gap:6px}.owner-shell .owner-nav-list .nav-item svg{display:block;width:17px;height:17px;flex-basis:17px}.page-heading,.panel-heading,.table-toolbar,.form-actions,.row-actions{gap:12px;flex-wrap:wrap}.page-heading>*,.panel-heading>*,.table-toolbar>*,.form-grid>*,.detail-grid>*{min-width:0}.page-content h1{font-size:clamp(22px,3vw,30px);overflow-wrap:anywhere}.table-scroll,.table-scroll-x,.table-scroll-container,.MuiTableContainer-root{min-width:0;max-width:100%;overflow-x:auto}html body table:has(>thead>tr>:nth-child(6)){min-width:720px!important}.MuiDialog-paper{max-height:calc(100dvh - 48px)}.MuiDialogContent-root{min-width:0;overscroll-behavior:contain}.MuiDialogActions-root{flex-wrap:wrap;gap:8px}.user-management-page{min-width:0}.user-management-page .MuiTableCell-root .MuiStack-root{flex-wrap:wrap;gap:8px}.credentials-dialog .MuiDialog-paper{border-radius:20px;margin:20px;width:calc(100% - 40px);max-height:calc(100dvh - 40px);overflow:hidden}.credentials-header{display:flex;align-items:center;gap:12px;padding:22px 24px;border-bottom:1px solid #e6edf5;background:#f8faff;flex-shrink:0}.credentials-header p{margin:4px 0 0;color:#667892;font-size:13px;overflow-wrap:anywhere}.credentials-heading-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;color:#2459d6;background:#eaf1ff;border-radius:14px}.credentials-close,.credential-eye{display:grid;place-items:center;border:0;background:transparent;color:#60728c;min-width:44px;min-height:44px;padding:0;border-radius:9px}.credentials-close{margin-inline-start:auto;flex-shrink:0}.credentials-close:hover,.credential-eye:hover{background:#e9eff8}.credentials-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.credentials-dialog .MuiDialogContent-root{padding:22px 24px;overflow-y:auto}.credentials-section-title{font-size:13px;font-weight:800;color:#435775;margin-bottom:14px}.credential-field{display:grid;gap:7px;margin-bottom:16px;min-width:0}.credential-field>label{font-size:14px;font-weight:700;color:#243b5a}.credential-required{color:#bc3535}.credential-input-wrap{display:flex;align-items:center;min-width:0;padding:0 8px;border:1px solid #ccd8e8;border-radius:11px;background:#fff;transition:border-color .15s,box-shadow .15s}.credential-input-wrap:focus-within{border-color:#2459d6;box-shadow:0 0 0 3px #2459d615}.credential-field-icon{color:#8695ab;display:grid;place-items:center;flex:0 0 28px}.credentials-dialog .credential-input-wrap input{flex:1;width:0;min-width:0;height:50px;padding:10px 8px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;font:inherit;font-size:16px;text-align:left;outline:none}.credential-field small{font-size:12px;line-height:1.7;color:#718098}.credential-password-rules{display:flex;flex-wrap:wrap;gap:7px;margin:-4px 0 20px}.credential-password-rules span{padding:4px 9px;border-radius:7px;background:#f0f3f8;color:#697991;font-size:11px}.credential-password-rules span.valid{background:#e7f6ed;color:#16734b}.credentials-confirm-section{padding:16px;border:1px solid #e0e8f4;border-radius:12px;background:#f8faff}.credentials-confirm-section .credential-field{margin-bottom:0}.credentials-session-note{display:flex;gap:7px;align-items:flex-start;color:#697991;font-size:12px;margin:16px 0 0}.credentials-session-note svg{flex-shrink:0;margin-top:3px}.credentials-dialog .MuiDialogActions-root{padding:16px 24px;border-top:1px solid #e6edf5;margin:0;flex-shrink:0}.credentials-dialog .MuiDialogActions-root .MuiButton-root{min-height:44px;margin:0}@media(max-width:1024px){.dashboard-main-grid,.dashboard-grid,.customer-analytics-grid{grid-template-columns:minmax(0,1fr)}.stats-grid,.dashboard-stats,.stats-grid.three,.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.external-manufacturing-filters,.external-manufacturing-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.owner-shell .page-content{padding:14px 12px 24px}.owner-shell .owner-navbar{padding:6px 8px;min-height:60px}.owner-shell .owner-nav-list .nav-item{font-size:13px;padding:8px 10px}.page-heading,.panel-heading,.table-toolbar{flex-direction:column;align-items:stretch}.panel{padding:14px}.stats-grid,.dashboard-stats,.stats-grid.three,.detail-grid,.form-grid,.stock-movement-form-grid,.stock-movement-stats,.external-manufacturing-filters,.external-manufacturing-fields{grid-template-columns:minmax(0,1fr)!important}.form-grid>*,.detail-grid>*{grid-column:auto!important}.table-toolbar>*,.table-toolbar .MuiFormControl-root,.table-toolbar input,.table-toolbar select{width:100%;min-width:0;max-width:100%}.form-actions{display:flex;flex-wrap:wrap}.form-actions>button{flex:1 1 120px;min-height:44px}.MuiDialog-paper{margin:12px!important;width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px)!important}.MuiDialogTitle-root{padding:16px}.MuiDialogContent-root{padding-inline:16px}.MuiDialogActions-root{padding:12px 16px}.MuiDialogActions-root>button{min-height:44px}.credentials-header{padding:16px;gap:10px}.credentials-heading-icon{flex-basis:40px;height:40px;border-radius:11px}.credentials-dialog .MuiDialogContent-root{padding:18px 16px}.credentials-confirm-section{padding:12px}.credentials-dialog .MuiDialogActions-root{padding:12px 16px}.credentials-dialog .MuiDialogActions-root>button{flex:1}.receipt-preview-dialog{width:96vw;height:92dvh}.transaction-date-filters{flex-wrap:wrap}.transaction-date-filters>label{flex:1 1 140px;min-width:0}.page-content input:not([type=checkbox]):not([type=radio]),.page-content select,.page-content textarea{font-size:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}html,body{min-width:0}.stock-movement-table-wrap{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}@media(max-width:1024px){.external-manufacturing-order-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){.external-manufacturing-order-fields{grid-template-columns:minmax(0,1fr)!important}}.MuiButton-root:has(.MuiButton-startIcon,.MuiButton-endIcon){column-gap:8px}.MuiButton-root .MuiButton-startIcon,.MuiButton-root .MuiButton-endIcon{margin:0}.returns-waste-toolbar,.returns-waste-tabs,.returns-waste-filters{min-width:0;max-width:100%}@media(max-width:640px){.returns-waste-tabs{flex-wrap:wrap}.returns-waste-tabs .MuiButton-root{flex:1 1 100px}}@media(max-width:360px){.returns-waste-filters,.stock-movement-filters{grid-template-columns:minmax(0,1fr)}.returns-waste-filters>*,.stock-movement-filters>*{grid-column:auto;min-width:0}}.app-form-dialog .MuiDialog-paper{border-radius:14px;box-shadow:0 24px 80px #102b4938}.app-form-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-inline:12px;flex-shrink:0;background:#fff}.app-form-dialog-header .MuiDialogTitle-root{padding:18px 12px;font-size:20px;font-weight:750;color:#17324f}.app-form-dialog-header .MuiIconButton-root{flex-shrink:0;width:44px;height:44px}.app-form-dialog .app-form-dialog-body{padding:20px 24px;background:#fff;overflow-y:auto;min-width:0}.app-form-dialog-body>form.panel{margin:0;padding:0;border:0;box-shadow:none}.app-form-dialog-body>form{width:100%;min-width:0}.app-form-dialog-body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-form-dialog-body :is(.form-actions,.stock-movement-form-actions){grid-column:1 / -1;flex-wrap:wrap}.app-form-dialog-body>form>.panel-heading:first-child{margin-bottom:16px}@media(max-width:640px){.app-form-dialog-header .MuiDialogTitle-root{font-size:17px;padding-block:14px}.app-form-dialog .app-form-dialog-body{padding:16px}.app-form-dialog-body .form-grid{grid-template-columns:minmax(0,1fr)}.app-form-dialog-body .MuiStack-root[role=form]{flex-direction:column}.app-form-dialog-body :is(input,select,textarea){font-size:16px}}.customer-privacy-option{grid-column:1 / -1;display:flex!important;align-items:flex-start;gap:12px;padding:14px;border:1px solid #d7e3f4;border-radius:10px;background:#f4f8ff;cursor:pointer}.customer-privacy-option>input{flex:0 0 20px;width:20px;height:20px;margin:4px 0 0;accent-color:#2459d6}.customer-privacy-option>span{display:grid;gap:5px}.customer-privacy-option strong{color:#264d86;font-size:14px}.customer-privacy-option small{color:#6b7d96;font-size:12px;line-height:1.7}.customer-private-badge{display:block;color:#85621e;font-size:11px;margin-top:4px}:is(.invoice-create-page,.retail-sales-page){--invoice-field-border: #b9cbe1;--invoice-section-bg: #f6f9fd}:is(.invoice-create-page,.retail-sales-page)>.page-heading{padding:18px 20px;background:#fff;border:1px solid #dce5f0;border-inline-start:4px solid #2459d6;border-radius:12px}:is(.invoice-create-page,.retail-sales-page) .panel{border:1px solid #d8e3f0;border-radius:12px;box-shadow:0 3px 12px #173b6005;padding:20px;min-width:0}.invoice-create-page .invoice-create-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px;padding:20px!important;background:#f6f9fd}.invoice-create-info>label,.retail-direction-field,.retail-purchase-customer-field,.retail-form-field,.retail-discount-field{display:grid;gap:8px;min-width:0;font-weight:750;font-size:14px;color:#304f73}:is(.invoice-create-page,.retail-sales-page) .MuiInputBase-root{min-height:46px;border:1px solid var(--invoice-field-border)!important;border-radius:8px;background:#fff;box-shadow:none}:is(.invoice-create-page,.retail-sales-page) .MuiInputBase-root:focus-within{border-color:#2459d6!important;box-shadow:0 0 0 3px #2459d612}:is(.invoice-create-page,.retail-sales-page) .MuiOutlinedInput-notchedOutline{border:0!important}:is(.invoice-create-page,.retail-sales-page) .MuiInputBase-root input{border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;font-size:16px}:is(.invoice-create-page,.retail-sales-page) .MuiInputBase-root.Mui-disabled{background:#edf2f8;border-color:#dce4ee!important}:is(.invoice-create-page,.retail-sales-page) .MuiInputBase-root.Mui-disabled input{-webkit-text-fill-color:#5d718b}.invoice-create-page .invoice-create-workspace,.retail-sales-page .retail-sales-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:20px;align-items:start}:is(.invoice-create-products-panel,.invoice-create-items-panel,.retail-products-panel,.retail-invoice-panel)>.panel-heading{padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #e6edf5}:is(.invoice-create-products-panel,.invoice-create-items-panel,.retail-products-panel,.retail-invoice-panel)>.panel-heading h2{font-size:19px;color:#1b3c66}:is(.invoice-create-products-panel,.invoice-create-items-panel,.retail-products-panel,.retail-invoice-panel)>.panel-heading p{line-height:1.8;font-size:13px}:is(.invoice-create-page,.retail-sales-page) .MuiTableHead-root .MuiTableCell-root{background:#eef4fc;color:#345478;font-weight:800;padding-block:14px}.invoice-create-page .invoice-create-notes-card,.retail-sales-page .retail-payments-section{padding:16px;background:#f8faff;border:1px solid #dce6f4;border-radius:10px;margin-top:18px}.invoice-create-page .invoice-create-total,.retail-sales-page .retail-net-total{padding:16px;border-radius:10px;background:#edf4ff;border:1px solid #cfdef5;color:#204f96}:is(.invoice-create-actions,.retail-sales-page) .btn-primary,.retail-sales-page .retail-confirm-sale{min-height:48px;border-radius:9px;font-weight:800;font-size:15px}.invoice-create-actions{padding:14px;background:#fff;border:1px solid #dce5f0;border-radius:10px;justify-content:flex-end}@media(max-width:1100px){.invoice-create-page .invoice-create-info{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:900px){.invoice-create-page .invoice-create-workspace,.retail-sales-page .retail-sales-grid{grid-template-columns:minmax(0,1fr)!important}}@media(max-width:640px){.invoice-create-page .invoice-create-info{grid-template-columns:minmax(0,1fr)!important;padding:16px!important}:is(.invoice-create-page,.retail-sales-page) .panel{padding:14px}:is(.invoice-create-page,.retail-sales-page)>.page-heading{padding:14px 16px}}@media(max-width:640px){.app-form-dialog-body .external-manufacturing-order-fields>*{grid-column:auto!important;min-width:0}}:is(.invoice-create-page,.retail-sales-page) .MuiTableHead-root .MuiTableCell-root{white-space:nowrap!important;min-width:90px}.invoice-create-page .invoice-create-table{min-width:780px!important}.retail-sales-page>.retail-direction-field{display:grid!important;grid-template-columns:minmax(0,340px);align-content:start;justify-content:start;width:100%;max-width:100%;padding:20px;gap:9px;background:#f6f9fd;border:1px solid #d8e3f0;border-radius:12px}:is(.invoice-create-page,.retail-sales-page) .panel-heading h2:has(svg){display:flex;align-items:center;gap:8px}:is(.invoice-create-search,.retail-products-search) .MuiFormControl-root{flex:1;min-width:0;width:100%}:is(.invoice-create-page,.retail-sales-page) :is(.invoice-create-search,.retail-products-search) .MuiInputBase-root{border:0!important;background:transparent;box-shadow:none;width:100%}@media(max-width:640px){.retail-sales-page>.retail-direction-field{grid-template-columns:minmax(0,1fr);padding:16px}}.owner-shell .page-content:has(:is(.invoice-create-page,.retail-sales-page)){width:100%;max-width:1680px!important;padding-inline:24px!important}:is(.invoice-create-page,.retail-sales-page){gap:22px}:is(.invoice-create-page,.retail-sales-page)>.page-heading{margin:0;min-height:126px;align-items:center}:is(.invoice-create-page,.retail-sales-page)>.page-heading h1{font-size:28px;line-height:1.6;margin:0}:is(.invoice-create-page,.retail-sales-page) .invoice-editor-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px;align-items:end;padding:20px!important;margin:0;background:#f6f9fd}.invoice-editor-info>:is(label,div),.invoice-editor-info .retail-form-field{display:grid;gap:8px;min-width:0;margin:0;padding:0;border:0;background:transparent;font-size:14px;font-weight:750;color:#304f73}.invoice-editor-info :is(.MuiFormControl-root,.MuiInputBase-root){width:100%;min-width:0;margin:0}.invoice-editor-info .MuiInputBase-root{height:48px!important;min-height:48px!important}.invoice-editor-static-field>strong{display:flex;align-items:center;min-width:0;height:48px;padding:10px 14px;border:1px solid #dce4ee;border-radius:8px;background:#edf2f8;font-size:15px;font-weight:500;color:#5d718b}:is(.invoice-create-page,.retail-sales-page) .invoice-editor-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px;align-items:start;margin:0}:is(.invoice-editor-products,.invoice-editor-cart){min-width:0;padding:20px!important}:is(.invoice-editor-products,.invoice-editor-cart)>.panel-heading{min-height:78px;display:flex;align-items:flex-start;padding-bottom:14px;margin-bottom:16px}:is(.invoice-editor-products,.invoice-editor-cart)>.panel-heading h2{font-size:20px;line-height:1.6;margin:0 0 5px}:is(.invoice-editor-products,.invoice-editor-cart)>.panel-heading h2>svg{display:none}:is(.invoice-editor-products,.invoice-editor-cart)>.panel-heading p{margin:0;font-size:13px;line-height:1.8}:is(.invoice-create-search,.retail-products-search){width:100%;min-height:50px;border:1px solid #cbdaf0;border-radius:9px;padding:0 12px;margin:0 0 14px;display:flex;align-items:center;gap:8px;background:#f8faff}.invoice-editor-products .table-scroll{min-height:225px;max-height:365px;overflow:auto}.invoice-editor-products .MuiTable-root{min-width:550px!important}.invoice-editor-products .MuiTableHead-root{position:sticky;top:0;z-index:1}.invoice-editor-products .empty-state,.invoice-editor-products .invoice-create-search-empty{min-height:150px;padding:20px;margin:0;border:0;background:#f8faff}.invoice-editor-cart :is(.invoice-create-table-scroll,.retail-cart-table-scroll){min-height:180px;margin:0}.invoice-editor-cart .MuiTable-root{min-width:780px!important}.invoice-editor-cart .empty-state{min-height:90px}.invoice-editor-notes{margin:18px 0 0;padding:16px;background:#f8faff;border:1px solid #dce6f4;border-radius:10px}.invoice-editor-notes .MuiInputBase-root{background:#fff}.invoice-editor-notes textarea{min-height:112px}.invoice-editor-summary{display:grid;gap:14px;margin-top:18px;padding:16px;border:1px solid #dce6f4;border-radius:10px;background:#f8faff}.invoice-editor-summary>label{display:grid;gap:8px;color:#304f73;font-size:14px;font-weight:750}.invoice-editor-summary .retail-calculation-row,.invoice-editor-summary .retail-net-total{display:flex;align-items:center;justify-content:space-between;gap:14px}.invoice-editor-summary .retail-net-total{margin:0;min-height:64px}.invoice-editor-actions{width:100%;min-height:80px;margin:0;gap:12px;align-items:center}.invoice-editor-actions>.retail-confirm-sale{width:auto!important;margin:0!important;min-width:200px}@media(max-width:1100px){:is(.invoice-create-page,.retail-sales-page) .invoice-editor-info{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){.owner-shell .page-content:has(:is(.invoice-create-page,.retail-sales-page)){padding-inline:12px!important}:is(.invoice-create-page,.retail-sales-page) .invoice-editor-info{grid-template-columns:minmax(0,1fr)!important;padding:16px!important}:is(.invoice-editor-products,.invoice-editor-cart){padding:14px!important}:is(.invoice-create-page,.retail-sales-page)>.page-heading h1{font-size:23px}.invoice-editor-actions>button{flex:1 1 150px}}:is(.invoice-create-page,.retail-sales-page) .invoice-editor-workspace{grid-template-columns:minmax(290px,.65fr) minmax(0,1.35fr)!important}.invoice-editor-products .MuiTable-root{min-width:420px!important}.invoice-editor-products .MuiTableCell-root{font-size:12px;padding:8px!important}.invoice-editor-products>.panel-heading{min-height:64px}.invoice-editor-products .table-scroll{min-height:180px}.invoice-search-status{color:#617994;font-size:12px;margin:12px 0 0}@media(max-width:900px){:is(.invoice-create-page,.retail-sales-page) .invoice-editor-workspace{grid-template-columns:minmax(0,1fr)!important}}:is(.invoice-create-page,.retail-sales-page){width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.app-form-dialog-body :is(.all-invoices-expanded,.customer-invoice-details,.retail-invoice-details){width:100%;max-width:none;margin:0;box-shadow:none}.app-form-dialog-body :is(.all-invoices-items-scroll,.customer-invoice-items-scroll,.draft-invoice-items-scroll,.retail-items-wrapper){max-width:100%;overflow-x:auto}@media(max-width:640px){.app-form-dialog-body :is(.all-invoices-items-table,.customer-invoice-items-table,.retail-items-table){min-width:600px}}.app-form-dialog .app-form-dialog-body:has(.retail-invoice-details){background:#f7f9fc}.app-form-dialog .retail-invoice-details{display:grid;gap:20px;padding:0;border:0}.app-form-dialog .retail-details-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 18px;border:1px solid #dce7f3;border-radius:12px;background:#fff}.app-form-dialog .retail-details-heading h3{display:none}.app-form-dialog .retail-details-heading p{margin:0;font-size:14px;font-weight:700;color:#17324f}.app-form-dialog .retail-details-date{color:#657993;font-size:13px}.app-form-dialog .retail-details-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.app-form-dialog .retail-details-meta>div{display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px;border:1px solid #dce7f3;border-radius:12px;background:#fff}.app-form-dialog .retail-details-meta span,.app-form-dialog .retail-invoice-totals span{color:#64748b;font-size:12px}.app-form-dialog .retail-details-meta strong{color:#17324f;font-size:16px;overflow-wrap:anywhere}.app-form-dialog .retail-items-wrapper{width:100%;border:1px solid #dce7f3;border-radius:12px;background:#fff;overflow-x:auto}.app-form-dialog .retail-items-table{width:100%;min-width:540px;border-collapse:collapse;text-align:right}.app-form-dialog .retail-items-table .MuiTableCell-head{padding:13px 16px;background:#eaf1fa;color:#304f73;font-weight:750;white-space:nowrap}.app-form-dialog .retail-items-table .MuiTableCell-body{padding:13px 16px;color:#334155}.app-form-dialog .retail-items-table .note-table-row .MuiTableCell-root{background:#f7f9fc;color:#516782}.app-form-dialog .retail-invoice-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.app-form-dialog .retail-invoice-totals>div{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0;padding:16px;border:1px solid #dce7f3;border-radius:12px;background:#fff}.app-form-dialog .retail-invoice-totals strong{color:#17324f;font-size:19px;font-weight:800;overflow-wrap:anywhere}.app-form-dialog .retail-invoice-totals .retail-final-total{background:#eaf3ff;border-color:#b9d5fa}.app-form-dialog .retail-invoice-totals .retail-final-total strong{color:#1762ad}@media(max-width:700px){.app-form-dialog .retail-details-meta,.app-form-dialog .retail-invoice-totals{grid-template-columns:1fr}.app-form-dialog .retail-invoice-details{gap:14px}.app-form-dialog .retail-details-heading{padding:13px}}:is(.global-search,.local-search,.retail-search-box,.invoice-create-search)>.MuiFormControl-root{flex:1 1 0;width:100%;min-width:0;max-width:none;margin:0}:is(.global-search,.local-search,.retail-search-box,.invoice-create-search) .MuiInputBase-root{width:100%;min-width:0;background:transparent;box-shadow:none}:is(.global-search,.local-search,.retail-search-box,.invoice-create-search) .MuiOutlinedInput-notchedOutline{border:0!important}:is(.global-search,.local-search,.retail-search-box,.invoice-create-search) .MuiInputBase-input{width:100%;min-width:0;padding-inline:0!important;text-align:right}:is(.global-search,.local-search,.retail-search-box,.invoice-create-search)>svg,:is(.global-search,.local-search,.retail-search-box,.invoice-create-search)>.MuiButton-root{flex:0 0 auto}:is(.returns-waste-search,.stock-movement-search)>input{flex:1 1 0;width:100%;min-width:0}
