:root{color:#17221c;font-synthesis:none;--green-950:#082d1f;--green-900:#0e3a29;--green-800:#145138;--green-700:#1c6949;--green-100:#eaf4ef;--green-50:#f3f8f5;--copper:#c7623f;--copper-100:#f9ece7;--ink:#17221c;--muted:#69746e;--line:#dfe5e1;--soft:#f6f8f6;--white:#fff;--danger:#bd3f34;--danger-bg:#faecea;--warning:#a76421;--warning-bg:#fdf2e5;--success:#21724d;--shadow:0 12px 32px #0a301f14;direction:rtl;background:#f7f8f7;font-family:IBM Plex Sans Arabic,Noto Sans Arabic,Segoe UI,Tahoma,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input,select,textarea{color:var(--ink)}svg{stroke-width:1.8px;width:20px;height:20px}h1,h2,h3,p{margin-top:0}.block{display:block}.success-text{color:var(--success)}.danger-text{color:var(--danger)!important}.muted-cell{color:var(--muted);max-width:240px}.ltr-code{text-align:right;letter-spacing:.02em;direction:ltr;font-family:Segoe UI,sans-serif;font-size:12px;font-weight:650}.print-only{display:none}.button{white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 17px;font-size:14px;font-weight:700;transition:all .18s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button--primary{background:var(--green-800);color:#fff;box-shadow:0 5px 12px #14513824}.button--primary:hover{background:var(--green-900)}.button--outline{color:var(--green-800);background:#fff;border-color:#9ab4a5}.button--ghost{background:var(--soft);color:var(--ink);border-color:var(--line)}.button--large{width:100%;height:50px}.icon-button{width:38px;height:38px;color:inherit;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:inline-grid}.icon-button:hover{background:var(--soft)}.link-button,.text-action{color:var(--green-700);background:0 0;border:0;align-items:center;gap:5px;font-size:12px;font-weight:700;display:inline-flex}.link-button svg,.text-action svg{width:15px;height:15px}.spinner{border:2px solid;border-left-color:#0000;border-radius:50%;width:18px;height:18px;animation:.75s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.brand{color:#fff;justify-content:center;align-items:center;gap:12px;height:110px;display:flex}.brand__mark{color:#df874c;border:1px solid #d59146a6;border-radius:50% 50% 42% 58%;place-items:center;width:43px;height:50px;display:grid;transform:rotate(-8deg)}.brand__mark svg{width:27px;height:27px}.brand strong{font-size:25px;line-height:1.25;display:block}.brand small{color:#df874c;letter-spacing:5px;font:9px/1.8 Segoe UI,sans-serif;display:block}.login-page{direction:ltr;background:#fff;grid-template-columns:minmax(440px,620px) 1fr;min-height:100vh;display:grid}.login-panel{direction:rtl;flex-direction:column;justify-content:center;padding:56px clamp(44px,7vw,110px);display:flex}.login-panel>.brand{height:auto;color:var(--green-900);justify-content:flex-start;margin-bottom:68px}.login-copy h1{margin-bottom:10px;font-size:32px}.login-copy p{color:var(--muted);margin-bottom:30px;line-height:1.8}.login-panel form{gap:20px;display:grid}.login-panel label,.field{gap:8px;font-size:13px;font-weight:700;display:grid}.input-with-icon{border:1px solid #cfd8d3;border-radius:9px;align-items:center;gap:10px;height:50px;padding:0 14px;transition:all .18s;display:flex}.input-with-icon:focus-within{border-color:var(--green-700);box-shadow:0 0 0 3px var(--green-100)}.input-with-icon>svg{color:var(--muted)}.input-with-icon input{background:0 0;border:0;outline:0;flex:1;min-width:0}.form-error{background:var(--danger-bg);color:var(--danger);border-radius:8px;margin:0;padding:10px 13px;font-size:13px}.demo-access{border-top:1px solid var(--line);color:var(--muted);align-items:center;gap:8px;margin-top:25px;padding-top:20px;font-size:12px;display:flex}.demo-access button{border:1px solid var(--line);height:34px;color:var(--green-800);background:#fff;border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-weight:700;display:flex}.demo-access svg{width:15px}.login-security{color:var(--muted);align-items:center;gap:6px;margin:18px 0 0;font-size:11px;display:flex}.login-security svg{width:14px}.login-visual{background:var(--green-950);color:#fff;direction:rtl;flex-direction:column;justify-content:center;align-items:center;padding:70px;display:flex;position:relative;overflow:hidden}.login-visual:after{content:"";border:1px solid #d3804629;border-radius:48% 52% 61% 39%;width:540px;height:540px;position:absolute;inset:auto -230px -220px auto;transform:rotate(25deg)}.henna-orbit{border:1px solid #d68a4b40;border-radius:51% 49% 45% 55%;place-items:center;width:250px;height:250px;margin-bottom:60px;display:grid;position:relative}.henna-orbit:after,.henna-orbit:before{content:"";border:1px solid #d68a4b2e;border-radius:50%;position:absolute}.henna-orbit:before{inset:28px}.henna-orbit:after{inset:58px}.henna-orbit svg{color:#d47b45;width:70px;height:70px}.henna-orbit span{background:#d47b45;border-radius:50%;width:9px;height:9px;position:absolute;top:17px;left:70px}.henna-orbit span+span{width:5px;height:5px;inset:auto 48px 29px auto}.login-visual blockquote{text-align:center;max-width:620px;margin:0 0 17px;font-size:23px;font-weight:600;line-height:1.9}.login-visual small{color:#b7c8bf}.app-loading{min-height:100vh;color:var(--green-800);place-content:center;justify-items:center;gap:12px;display:grid}.app-loading .spinner{width:30px;height:30px}.app-shell{direction:rtl;grid-template-columns:250px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:linear-gradient(180deg,var(--green-950),#0b3525);color:#fff;z-index:30;flex-direction:column;height:100vh;display:flex;position:sticky;top:0}.sidebar:after{content:"";pointer-events:none;border:1px solid #d37c3f47;border-radius:60% 40% 55% 45%;width:250px;height:250px;position:absolute;inset:auto -75px -110px auto;transform:rotate(-22deg)}.sidebar nav{flex-direction:column;gap:3px;padding:20px 13px;display:flex;overflow:auto}.sidebar nav button,.sidebar__footer button{color:#eaf2ed;text-align:right;background:0 0;border:0;border-radius:8px;align-items:center;gap:13px;height:49px;padding:0 15px;font-weight:650;display:flex}.sidebar nav button svg,.sidebar__footer svg{width:21px;height:21px}.sidebar nav button.active{box-shadow:inset -3px 0 var(--copper);color:#fff;background:#ffffff1c}.sidebar nav button:hover,.sidebar__footer button:hover{background:#ffffff12}.sidebar__footer{z-index:1;border-top:1px solid #ffffff1a;margin-top:auto;padding:16px 13px 25px}.sidebar__footer button{color:#cbd9d1;width:100%}.sidebar__mobile-close{display:none}.workspace{direction:rtl;min-width:0}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#fff;align-items:center;gap:24px;height:78px;padding:0 clamp(20px,3vw,44px);display:flex;position:sticky;top:0}.topbar__title{align-items:center;gap:8px;font-weight:800;display:none}.global-search{border:1px solid var(--line);border-radius:8px;align-items:center;gap:10px;width:min(500px,42vw);height:43px;margin-inline:auto;padding:0 13px;display:flex}.global-search svg{color:var(--muted);width:19px}.global-search input{background:0 0;border:0;outline:0;flex:1}.topbar__tools{align-items:center;gap:15px;display:flex}.topbar__tools>.icon-button{position:relative}.notification-dot{background:var(--copper);color:#fff;border-radius:50%;width:16px;height:16px;font:10px/16px sans-serif;position:absolute;top:2px;right:2px}.profile{border-right:1px solid var(--line);align-items:center;gap:9px;min-width:175px;padding-right:15px;display:flex}.profile .avatar{background:var(--green-100);width:38px;height:38px;color:var(--green-800);border-radius:50%;place-items:center;font-weight:800;display:grid}.profile strong,.profile small{display:block}.profile strong{font-size:13px}.profile small{color:var(--muted);margin-top:3px;font-size:10px}.profile>svg{width:15px;margin-right:auto}.mobile-menu{display:none}.page{max-width:1800px;margin:auto;padding:28px clamp(20px,3vw,42px) 44px}.page-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.page-header h1{margin-bottom:7px;font-size:27px}.page-header p{color:var(--muted);margin:0;font-size:13px}.page-header__actions{align-items:center;gap:8px;display:flex}.live-update{color:var(--muted);font-size:11px}.live-update:before{content:"";background:#37a66d;border-radius:50%;width:7px;height:7px;margin-left:7px;display:inline-block}.panel{border:1px solid var(--line);background:#fff;border-radius:10px}.panel-loading,.skeleton-page{min-height:300px;color:var(--muted);background:linear-gradient(90deg,#f4f6f5 25%,#fafbfa 37%,#f4f6f5 63%) 0 0/400% 100%;border-radius:10px;place-items:center;animation:1.4s infinite skeleton;display:grid}@keyframes skeleton{to{background-position:-100% 0}}.stats-strip{border-block:1px solid var(--line);background:#fff;grid-template-columns:repeat(5,1fr);margin:0 0 18px;display:grid}.stats-strip article{border-left:1px solid var(--line);justify-content:space-between;min-width:0;padding:19px 20px;display:flex}.stats-strip article:last-child{border-left:0}.stats-strip span,.stats-strip strong,.stats-strip small{display:block}.stats-strip span{color:var(--muted);font-size:11px}.stats-strip strong{margin:7px 0;font-size:22px}.stats-strip small{color:var(--success);font-size:10px}.stats-strip svg{color:var(--green-700);opacity:.7}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(270px,.85fr);gap:14px;display:grid}.panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:58px;padding:13px 18px;display:flex}.panel>header h2{margin:0;font-size:15px}.panel>header p{color:var(--muted);margin:3px 0 0;font-size:10px}.panel--chart{grid-column:1}.panel--chart header>div:first-child{align-items:baseline;gap:8px;display:flex}.legend{color:var(--muted);gap:16px;font-size:10px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{background:var(--green-700);width:18px;height:2px}.legend i.orange{background:var(--copper);border-top:1px dashed #fff}.chart-wrap{padding:5px 13px 3px}.chart-wrap svg{width:100%;height:auto;overflow:visible}.chart-grid{stroke:#e6ebe8;stroke-width:1px}.chart-line{fill:none;stroke:var(--green-800);stroke-width:2.5px}.chart-area{fill:#1c69490f;stroke:none}.chart-point{fill:#fff;stroke:var(--green-800);stroke-width:2px}.chart-wrap text{fill:#849089;font-size:9px}.stock-alerts{grid-area:1/2}.stock-alerts header h2{align-items:center;gap:7px;display:flex}.stock-alerts header h2 svg{color:var(--copper)}.compact-table__head,.compact-table>div{border-bottom:1px solid #eef1ef;grid-template-columns:1fr 52px 52px;align-items:center;gap:8px;padding:9px 17px;font-size:11px;display:grid}.compact-table__head{color:var(--muted);background:#fafbfa}.compact-table>div span strong,.compact-table>div span small{display:block}.compact-table>div span small{color:var(--muted);margin-top:2px;font-size:9px}.recent-sales{grid-column:1}.table-scroll{overflow:auto}.recent-sales table,.data-table,.report-products table{border-collapse:collapse;text-align:right;width:100%}.recent-sales th,.recent-sales td,.data-table th,.data-table td,.report-products th,.report-products td{white-space:nowrap;border-bottom:1px solid #edf0ee;padding:11px 14px;font-size:11px}.recent-sales th,.data-table th,.report-products th{color:var(--muted);background:#fafbfa;font-weight:650}.status{color:#56635c;background:#f0f3f1;border-radius:5px;justify-content:center;align-items:center;min-height:25px;padding:2px 9px;font-size:10px;font-weight:700;display:inline-flex}.status--success{background:var(--green-100);color:var(--success);border:1px solid #cce1d5}.status--danger{background:var(--danger-bg);color:var(--danger);border:1px solid #f2ccc7}.status--warning{background:var(--warning-bg);color:var(--warning);border:1px solid #f1d8bb}.top-products{grid-column:2}.rank-row{border-bottom:1px solid #edf0ee;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;padding:10px 17px;display:grid}.rank{background:var(--green-50);width:25px;height:25px;color:var(--green-700);border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.rank-row strong,.rank-row small{display:block}.rank-row strong,.rank-row b{font-size:11px}.rank-row small{color:var(--muted);margin-top:3px;font-size:9px}.quick-actions{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:14px;display:grid}.quick-actions>button{background:var(--green-50);min-height:88px;color:var(--green-900);text-align:right;border:1px solid #cfe0d6;border-radius:10px;justify-content:space-between;align-items:center;padding:16px 21px;display:flex}.quick-actions__quote{background:var(--copper-100)!important;color:#80381f!important;border-color:#f0d4c9!important}.quick-actions button>span{grid-template-columns:32px 1fr;column-gap:10px;display:grid}.quick-actions button>span svg{grid-row:1/3;width:28px;height:28px}.quick-actions strong,.quick-actions small{display:block}.quick-actions small{color:var(--muted);margin-top:4px;font-size:10px}.quick-actions>button>svg{width:18px}.empty{text-align:center;min-height:150px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.empty svg{color:#a5b0aa;width:30px;height:30px;margin-bottom:8px}.empty strong{color:var(--ink);font-size:13px}.empty p{margin:5px 0 0;font-size:11px}.app-shell--cashier{grid-template-columns:205px minmax(0,1fr)}.app-shell--cashier .sidebar .brand{height:92px}.app-shell--cashier .sidebar nav{padding-top:10px}.app-shell--cashier .page{max-width:none;padding:0}.pos-layout{direction:ltr;grid-template-columns:minmax(0,1fr) 370px;min-height:calc(100vh - 78px);display:grid}.pos-catalog,.cart-panel{direction:rtl}.pos-catalog{min-width:0;padding:23px 25px 30px}.pos-search{gap:10px;display:flex}.scan-input{background:#fff;border:1px solid #aebbb3;border-radius:8px;flex:1;align-items:center;gap:10px;height:48px;padding:0 14px;display:flex}.scan-input:focus-within{border-color:var(--green-700);box-shadow:0 0 0 3px var(--green-100)}.scan-input input{background:0 0;border:0;outline:0;flex:1}.scan-input>svg{color:var(--muted)}.scan-input>svg:last-child{color:var(--green-700)}.category-tabs{border-bottom:1px solid var(--line);align-items:center;gap:0;margin:18px 0 0;display:flex;overflow:auto}.category-tabs button{white-space:nowrap;color:#59665f;background:0 0;border:0;border-bottom:2px solid #0000;padding:13px 15px;font-size:11px}.category-tabs button.active{color:var(--green-800);border-bottom-color:var(--green-800);font-weight:800}.catalog-toolbar{height:52px;color:var(--muted);justify-content:space-between;align-items:center;font-size:11px;display:flex}.catalog-toolbar strong{color:var(--ink)}.product-table{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden}.product-table__head,.product-row{grid-template-columns:minmax(240px,1.5fr) minmax(100px,.65fr) 90px 100px 80px;align-items:center;gap:10px;display:grid}.product-table__head{height:40px;color:var(--muted);border-bottom:1px solid var(--line);background:#f8f9f8;padding:0 14px;font-size:10px}.product-row{text-align:right;width:100%;min-height:66px;color:var(--ink);background:#fff;border:0;border-bottom:1px solid #e8ece9;padding:8px 14px;font-size:11px}.product-row:last-child{border-bottom:0}.product-row:hover{background:#fbfdfc}.product-identity{align-items:center;gap:10px;display:flex}.product-identity i,.table-product i{width:40px;height:40px;color:var(--green-700);background:linear-gradient(145deg,#eef4e9,#dce8d5);border:1px solid #dfe8da;border-radius:7px;place-items:center;font-size:17px;font-style:normal;font-weight:800;display:grid}.product-identity strong,.product-identity small{display:block}.product-identity small{color:var(--muted);margin-top:3px;font-size:9px}.product-row>b{font-size:12px}.product-row em{color:var(--green-700);align-items:center;gap:4px;font-style:normal;font-weight:800;display:flex}.product-row em svg{width:15px}.scan-hint{min-height:80px;color:var(--green-800);border:1px dashed #b9c8bf;border-radius:9px;justify-content:center;align-items:center;gap:15px;margin-top:16px;display:flex}.scan-hint>svg{width:35px;height:35px}.scan-hint strong{font-size:13px}.scan-hint p{color:var(--muted);margin:4px 0 0;font-size:10px}.cart-panel{border-right:1px solid var(--line);background:#fff;flex-direction:column;height:calc(100vh - 78px);display:flex;position:sticky;top:78px;overflow:hidden}.cart-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:67px;padding:0 17px;display:flex}.cart-panel>header>div{align-items:center;gap:9px;display:flex}.cart-panel>header h2{margin:0;font-size:16px}.cart-panel>header small{color:var(--muted);font-size:9px}.cart-panel>header svg{color:var(--green-700)}.cart-items{flex:1;min-height:120px;overflow:auto}.cart-items article{border-bottom:1px solid #e9eeeb;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;min-height:96px;padding:13px 17px;display:grid}.cart-remove{color:var(--muted);background:0 0;border:0;padding:0}.cart-remove svg{width:15px}.cart-items article strong,.cart-items article small,.cart-items article b{display:block}.cart-items article strong{font-size:11px}.cart-items article small{color:var(--muted);margin:3px 0 6px;font-size:9px}.cart-items article b{font-size:11px}.quantity{border:1px solid var(--line);direction:ltr;border-radius:5px;grid-template-columns:30px 32px 30px;display:grid;overflow:hidden}.quantity button{background:#f8faf9;border:0;place-items:center;display:grid}.quantity svg{width:13px}.quantity span{border-inline:1px solid var(--line);place-items:center;height:29px;font-size:11px;display:grid}.cart-options{border-top:1px solid var(--line)}.cart-options label{border-bottom:1px solid var(--line);grid-template-columns:24px 88px 1fr 14px;align-items:center;min-height:50px;padding:0 17px;font-size:11px;display:grid}.cart-options label svg{width:18px;color:var(--green-700)}.cart-options select,.cart-options input{text-align:left;background:0 0;border:0;outline:0;min-width:0}.cart-options label>svg:last-child{width:13px;color:var(--muted)}.cart-totals{margin:0;padding:13px 17px}.cart-totals div{color:var(--muted);justify-content:space-between;margin:8px 0;font-size:10px;display:flex}.cart-totals dd{color:var(--ink);margin:0}.cart-totals .grand-total{color:var(--ink);border-top:1px dashed #cfd8d3;margin-top:12px;padding-top:14px;font-size:18px;font-weight:800}.cart-totals .grand-total dd{color:var(--green-800)}.button--checkout{justify-content:flex-start;min-height:54px;margin:0 17px 9px}.button--checkout span{margin-right:auto}.print-last{margin:0 17px 14px}.payment-total{text-align:center;background:var(--green-50);border-radius:8px;padding:20px}.payment-total span,.payment-total small{color:var(--muted);display:block}.payment-total strong{color:var(--green-800);margin:5px;font-size:30px;display:block}.payment-methods{grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0;display:grid}.payment-methods button{border:1px solid var(--line);background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:6px;height:85px;display:flex;position:relative}.payment-methods button.active{border-color:var(--green-700);background:var(--green-50);color:var(--green-800)}.payment-methods button>svg:last-child{width:15px;position:absolute;top:6px;right:6px}.payment-methods strong{font-size:12px}.data-panel{overflow:hidden}.data-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;min-height:66px;padding:11px 15px;display:flex}.data-toolbar>span{color:var(--muted);font-size:11px}.search-field{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:9px;width:min(450px,100%);height:42px;padding:0 12px;display:flex}.search-field:focus-within{border-color:var(--green-700);box-shadow:0 0 0 3px var(--green-100)}.search-field svg{width:18px;color:var(--muted)}.search-field input{background:0 0;border:0;outline:0;flex:1;min-width:0}.search-field kbd{border:1px solid var(--line);color:var(--muted);border-radius:4px;padding:2px 4px;font-size:9px}.data-table th,.data-table td{padding:13px 15px;font-size:12px}.table-product,.customer-cell{align-items:center;gap:9px;display:flex}.table-product strong,.table-product small,.code-stack b,.code-stack small{display:block}.table-product small,.code-stack small{color:var(--muted);margin-top:3px;font-size:9px}.customer-cell i{background:var(--green-100);width:35px;height:35px;color:var(--green-800);border-radius:50%;place-items:center;font-style:normal;font-weight:800;display:grid}.row-actions{gap:3px;display:flex}.row-actions button{color:#58655e;background:0 0;border:0;border-radius:6px;place-items:center;width:31px;height:31px;display:grid}.row-actions button:hover{background:var(--soft)}.row-actions button.danger{color:var(--danger)}.row-actions svg{width:16px}.customer-summary,.sales-day-strip,.inventory-stats,.purchase-summary,.report-kpis{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px;display:grid}.customer-summary article,.sales-day-strip article,.inventory-stats article,.purchase-summary article,.report-kpis article{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:13px;min-height:88px;padding:16px 19px;display:flex}.customer-summary article>svg,.sales-day-strip article>svg,.inventory-stats article>svg,.purchase-summary article>svg,.report-kpis article>svg{width:28px;height:28px;color:var(--green-700)}.customer-summary strong,.customer-summary small,.sales-day-strip strong,.sales-day-strip small,.inventory-stats strong,.inventory-stats small,.purchase-summary strong,.purchase-summary small,.report-kpis strong,.report-kpis small{display:block}.customer-summary strong,.sales-day-strip strong,.inventory-stats strong,.purchase-summary strong,.report-kpis strong{margin-top:3px;font-size:20px}.customer-summary small,.sales-day-strip small,.inventory-stats small,.purchase-summary small,.report-kpis small{color:var(--muted);font-size:10px}.sales-day-strip,.inventory-stats{grid-template-columns:repeat(4,1fr)}.purchase-summary{grid-template-columns:repeat(3,1fr)}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#061b1285;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;width:min(560px,100%);max-height:90vh;overflow:auto;box-shadow:0 24px 70px #00000040}.modal--wide{width:min(880px,100%)}.modal>header{border-bottom:1px solid var(--line);z-index:1;background:#fff;justify-content:space-between;align-items:center;height:63px;padding:0 20px;display:flex;position:sticky;top:0}.modal>header h2{margin:0;font-size:17px}.modal__body{padding:21px}.form-grid{grid-template-columns:1fr 1fr;gap:17px 13px;display:grid}.field--wide{grid-column:1/-1}.field input,.field select,.field textarea,.report-filters input{background:#fff;border:1px solid #cfd8d3;border-radius:7px;outline:0;width:100%;min-height:42px;padding:8px 11px}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.report-filters input:focus{border-color:var(--green-700);box-shadow:0 0 0 3px var(--green-100)}.form-actions,.modal-actions{justify-content:flex-end;gap:8px;padding-top:10px;display:flex}.toast{background:var(--green-900);color:#fff;min-height:48px;box-shadow:var(--shadow);z-index:200;border-radius:9px;align-items:center;gap:9px;padding:0 15px;font-size:13px;display:flex;position:fixed;bottom:24px;left:24px}.barcode-preview{text-align:center;border:1px dashed #bac5be;border-radius:8px;width:280px;margin:auto;padding:20px}.barcode-preview>strong,.barcode-preview h3,.barcode-preview>b{display:block}.barcode-preview h3{margin:8px 0;font-size:14px}.barcode-preview>b{margin-top:5px;font-size:16px}.barcode{max-width:100%;height:auto;margin:auto;display:block}.inventory-layout{grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:14px;display:grid}.movements>header{justify-content:flex-start;gap:9px}.movements>div{border-bottom:1px solid #edf0ee;grid-template-columns:47px 1fr auto;align-items:center;gap:8px;padding:11px 15px;display:grid}.movements>div>span strong,.movements>div>span small{display:block}.movements>div>span small,.movements time{color:var(--muted);font-size:9px}.movement-plus,.movement-minus{text-align:center;border-radius:5px;padding:5px;font:700 11px Segoe UI}.movement-plus{background:var(--green-100);color:var(--success)}.movement-minus{background:var(--danger-bg);color:var(--danger)}.inventory-current{background:var(--green-50);border-radius:8px;justify-content:space-between;align-items:center;padding:15px;display:flex}.inventory-current strong{color:var(--green-800);font-size:20px}.line-items{border:1px solid var(--line);border-radius:8px;margin:18px 0;overflow:hidden}.line-items>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:57px;padding:0 15px;display:flex}.line-items h3{margin:0;font-size:14px}.line-item{border-bottom:1px solid var(--line);grid-template-columns:minmax(220px,1fr) 100px 130px 120px 35px;align-items:center;gap:8px;padding:9px;display:grid}.line-item select,.line-item input{border:1px solid var(--line);border-radius:6px;min-width:0;height:38px;padding:0 8px}.line-item strong{text-align:center;font-size:11px}.purchase-total{justify-content:flex-end;align-items:center;gap:20px;margin-bottom:15px;display:flex}.purchase-total strong{color:var(--green-800);font-size:24px}.supplier-grid{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.supplier-total,.supplier-card{border:1px solid var(--line);background:#fff;border-radius:10px;min-height:188px;padding:18px}.supplier-total{background:var(--green-50);color:var(--green-800);justify-content:center;align-items:center;gap:15px;display:flex}.supplier-total>svg{width:40px;height:40px}.supplier-total strong,.supplier-total small{display:block}.supplier-total strong{font-size:28px}.supplier-total small{color:var(--muted)}.supplier-card header{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-bottom:13px;display:flex}.supplier-card h3{margin:0;font-size:14px}.supplier-card p{color:var(--muted);margin:3px 0 0;font-size:10px}.supplier-card header .status{margin-right:auto}.supplier-avatar{background:var(--green-100);width:39px;height:39px;color:var(--green-800);border-radius:8px;place-items:center;display:grid}.supplier-card dl{margin:12px 0 0}.supplier-card dl div{justify-content:space-between;gap:10px;margin-top:9px;font-size:10px;display:flex}.supplier-card dt{color:var(--muted);align-items:center;gap:5px;display:flex}.supplier-card dt svg{width:13px}.supplier-card dd{margin:0}.supplier-search{margin-top:13px;padding:12px}.pricing-info{background:var(--green-50);border:1px solid #cfe0d6;border-radius:9px;align-items:center;gap:14px;margin-bottom:16px;padding:17px 20px;display:flex}.pricing-info>svg{width:31px;height:31px;color:var(--green-700)}.pricing-info h2{margin:0;font-size:14px}.pricing-info p{color:var(--muted);margin:4px 0 0;font-size:11px}.report-filters{gap:10px;margin-bottom:14px;display:flex}.report-filters label{align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.report-filters input{width:150px;min-height:40px}.report-kpis{grid-template-columns:repeat(4,1fr)}.reports-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:14px;display:grid}.panel--report-chart>header{justify-content:flex-start;gap:10px}.report-chart{width:100%;height:auto;padding:10px 18px}.report-chart line{stroke:#dfe5e1}.report-chart path{fill:none;stroke:var(--green-700);stroke-width:3px}.report-chart circle{fill:#fff;stroke:var(--green-700);stroke-width:2px}.payment-breakdown>div{border-bottom:1px solid var(--line);grid-template-columns:100px 1fr auto;align-items:center;gap:10px;padding:13px 16px;display:grid}.payment-breakdown strong,.payment-breakdown small{font-size:10px;display:block}.payment-breakdown small{color:var(--muted);margin-top:3px}.payment-breakdown b{font-size:10px}.progress{background:#e7ece9;border-radius:4px;height:5px;overflow:hidden}.progress i{background:var(--green-700);height:100%;display:block}.report-products{grid-column:1/-1}@media (width<=1180px){.stats-strip{grid-template-columns:repeat(3,1fr)}.stats-strip article:nth-child(3){border-left:0}.stats-strip article:nth-child(n+4){border-top:1px solid var(--line)}.pos-layout{grid-template-columns:minmax(0,1fr) 330px}.product-table__head,.product-row{grid-template-columns:minmax(210px,1.3fr) 90px 78px 90px 70px}.supplier-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=980px){.app-shell,.app-shell--cashier{grid-template-columns:1fr}.sidebar{width:260px;box-shadow:var(--shadow);transition:all .22s;position:fixed;top:0;right:0;transform:translate(105%)}.sidebar--open{transform:none}.sidebar__mobile-close{color:#fff;display:grid;position:absolute;top:10px;left:10px}.mobile-menu{display:grid}.topbar__title{display:flex}.global-search{display:none}.topbar__tools{margin-right:auto}.pos-layout{grid-template-columns:1fr}.cart-panel{border-right:0;border-top:1px solid var(--line);height:auto;min-height:550px;position:relative;top:0}.dashboard-grid{grid-template-columns:1fr}.panel--chart,.stock-alerts,.recent-sales,.top-products,.quick-actions{grid-area:auto/1}.inventory-layout,.reports-grid{grid-template-columns:1fr}.report-products{grid-column:1}.supplier-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=720px){.topbar{height:65px;padding:0 14px}.profile{min-width:0}.profile>span:not(.avatar),.profile>svg{display:none}.page{padding:20px 13px}.page-header{flex-direction:column;align-items:flex-start}.page-header__actions{width:100%;overflow:auto}.stats-strip,.customer-summary,.sales-day-strip,.inventory-stats,.purchase-summary,.report-kpis{grid-template-columns:1fr 1fr}.stats-strip article:nth-child(n){border:0;border-bottom:1px solid var(--line)}.quick-actions{grid-template-columns:1fr}.pos-layout{min-height:calc(100vh - 65px)}.pos-catalog{padding:14px 10px}.pos-search{flex-direction:column}.product-table__head{display:none}.product-row{grid-template-columns:1fr auto;gap:6px;padding:11px}.product-row>span:nth-child(2),.product-row>span:nth-child(3){display:none}.product-row>b{grid-area:1/2}.product-row>em{grid-column:2}.category-tabs{margin-top:10px}.cart-panel{height:auto}.form-grid{grid-template-columns:1fr}.field--wide{grid-column:1}.modal__body{padding:15px}.line-item{grid-template-columns:1fr 70px}.line-item input:nth-of-type(2),.line-item strong{grid-row:2}.line-item .icon-button{position:absolute}.supplier-grid{grid-template-columns:1fr}.report-filters{flex-wrap:wrap}.payment-methods{grid-template-columns:1fr 1fr 1fr}.login-page{grid-template-columns:1fr}.login-visual{display:none}.login-panel{padding:40px 24px}.login-panel>.brand{margin-bottom:50px}.demo-access{flex-wrap:wrap}.toast{bottom:12px;left:12px;right:12px}.scan-hint{padding:14px}.scan-hint p{line-height:1.7}}@media (width<=480px){.stats-strip,.customer-summary,.sales-day-strip,.inventory-stats,.purchase-summary,.report-kpis{grid-template-columns:1fr}.topbar__title span{display:none}.page-header h1{font-size:23px}.button{padding-inline:12px}.profile{border:0;padding:0}.cart-panel{min-height:600px}.payment-methods,.supplier-grid{grid-template-columns:1fr}}@media print{@page{margin:5mm}.sidebar,.topbar,.page>:not(.printable-report),.modal-backdrop,.toast{display:none!important}.app-shell,.workspace{display:block}.page{padding:0}.printable-report{border:0;display:block!important}.printable-report .data-toolbar,.printable-report button{display:none}.printable-report table{font-size:10pt}.print-only{display:block}body:has(#thermal-receipt){background:#fff;width:80mm}.app-shell:has(#thermal-receipt)>:not(.workspace){display:none!important}.workspace:has(#thermal-receipt)>.topbar{display:none!important}.workspace:has(#thermal-receipt)>.page>:not(.pos-layout){display:none!important}.pos-layout:has(#thermal-receipt)>:not(#thermal-receipt){display:none!important}.pos-layout:has(#thermal-receipt){display:block}.thermal-receipt{color:#000;direction:rtl;width:72mm;margin:0 auto;font:10pt Tahoma,sans-serif}.thermal-receipt h1{text-align:center;margin:2mm;font-size:20pt}.thermal-receipt>p{text-align:center}.receipt-meta{border-block:1px dashed #000;gap:1mm;padding:2mm 0;display:grid}.thermal-receipt table{border-collapse:collapse;width:100%;margin:2mm 0}.thermal-receipt th,.thermal-receipt td{text-align:right;border-bottom:1px dotted #777;padding:1.3mm}.thermal-receipt dl div{justify-content:space-between;margin:1mm 0;display:flex}.thermal-receipt dd{margin:0}.receipt-total{border-top:1px dashed #000;padding-top:2mm;font-size:14pt;font-weight:700}.receipt-thanks{border-top:1px dashed #000;padding-top:3mm!important}.print-label{border:0;width:50mm;padding:0;display:block!important}.modal-backdrop:has(.print-label){background:0 0;position:static;display:block!important}.modal-backdrop:has(.print-label) .modal{box-shadow:none;width:50mm}.modal-backdrop:has(.print-label) .modal>header{display:none}.modal-backdrop:has(.print-label) .modal-actions{display:none}.modal-backdrop:has(.print-label) .modal__body{padding:0}}.pos-layout{direction:rtl}.brand__mark{background:#fff;border:2px solid #ffffffc7;border-radius:50%;width:55px;height:55px;overflow:hidden;transform:none;box-shadow:0 4px 14px #0000001f}.brand__mark img{object-fit:cover;width:100%;height:100%;display:block}.brand strong{font-size:22px}.brand small{color:#bdcb89;letter-spacing:0;font:600 11px/1.8 inherit}.login-panel .brand__mark{border-color:#dce6d7;width:68px;height:68px}.login-panel .brand strong{font-size:29px}.barcode-preview>img{object-fit:cover;border-radius:50%;width:44px;height:44px;margin:0 auto 4px;display:block}@media print{.thermal-receipt>img{object-fit:cover;border-radius:50%;width:18mm;height:18mm;margin:0 auto;display:block}.thermal-receipt h1{font-size:18pt}}.register-link{background:var(--green-50);width:100%;min-height:62px;color:var(--green-800);text-align:right;border:1px dashed #9ab4a5;border-radius:9px;align-items:center;gap:11px;margin-top:14px;padding:10px 14px;display:flex}.register-link:hover{background:#eaf4ef;border-style:solid}.register-link>svg{width:24px;height:24px}.register-link strong,.register-link small{display:block}.register-link strong{font-size:13px}.register-link small{color:var(--muted);margin-top:3px;font-size:10px}.login-panel--register{padding-block:30px}.login-panel--register>.brand{margin-bottom:25px}.back-to-login{color:var(--green-700);background:0 0;border:0;align-items:center;gap:6px;margin-bottom:22px;padding:0;font-size:12px;font-weight:700;display:flex}.back-to-login svg{width:16px}.register-form{gap:14px!important}.register-fields{grid-template-columns:1fr 1fr;gap:11px;display:grid}.register-success{text-align:center;padding:35px 0}.register-success>svg{width:58px;height:58px;color:var(--success);margin-bottom:13px}.register-success h1{margin-bottom:9px;font-size:27px}.register-success p{color:var(--muted);max-width:390px;margin:0 auto 24px;line-height:1.8}.admin-control{color:var(--green-700);align-items:center;gap:7px;font-size:11px;font-weight:700;display:flex}.admin-control svg{width:17px}.approval-queue{background:#fff8f1;border:1px solid #efd4b8;border-radius:10px;margin-bottom:15px;overflow:hidden}.approval-queue>header{border-bottom:1px solid #f0ddca;align-items:center;gap:11px;min-height:70px;padding:12px 18px;display:flex}.approval-queue>header>svg{color:var(--warning);width:25px;height:25px}.approval-queue h2{margin:0;font-size:15px}.approval-queue p{color:var(--muted);margin:4px 0 0;font-size:10px}.approval-queue>header>strong{background:var(--warning);color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;margin-right:auto;font-size:11px;display:grid}.approval-list article{border-bottom:1px solid #f2e4d6;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 18px;display:grid}.approval-list article:last-child{border-bottom:0}.employee-avatar,.employee-cell i{width:38px;height:38px;color:var(--warning);background:#fff0e2;border-radius:50%;place-items:center;font-style:normal;font-weight:800;display:grid}.approval-list h3{margin:0;font-size:13px}.approval-list p,.approval-list small{color:var(--muted);margin:3px 0 0;font-size:10px;display:block}.employee-stats{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:15px;display:grid}.employee-stats article{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:13px;min-height:88px;padding:16px 19px;display:flex}.employee-stats article>svg{width:27px;height:27px;color:var(--green-700)}.employee-stats strong,.employee-stats small{display:block}.employee-stats strong{margin-top:3px;font-size:20px}.employee-stats small{color:var(--muted);font-size:10px}.employee-cell{align-items:center;gap:9px;display:flex}.employee-cell i{background:var(--green-100);color:var(--green-800)}.employee-cell strong,.employee-cell small{display:block}.employee-cell small{color:var(--muted);margin-top:3px;font-size:9px}.employee-table td{vertical-align:middle}@media (width<=900px){.employee-stats{grid-template-columns:1fr 1fr}.register-fields{grid-template-columns:1fr}}@media (width<=620px){.employee-stats{grid-template-columns:1fr}.approval-list article{grid-template-columns:40px 1fr}.approval-list article .button{grid-column:1/-1}.login-panel--register{padding-block:24px}}.login-page{grid-template-columns:1fr minmax(440px,620px);grid-template-areas:"visual panel"}.login-panel{grid-area:panel}.login-visual{grid-area:visual}.brand strong{max-width:150px;font-size:18px}.login-panel .brand strong{max-width:none;font-size:25px}.shared-data-notice{background:var(--green-50);border:1px solid #cfe0d6;border-radius:9px;align-items:center;gap:12px;min-height:66px;margin-bottom:14px;padding:11px 16px;display:flex}.shared-data-notice>span{width:38px;height:38px;color:var(--green-700);background:#fff;border-radius:9px;place-items:center;display:grid;position:relative}.shared-data-notice>span svg{width:19px}.shared-data-notice>span svg+svg{background:#fff;border-radius:50%;width:11px;height:11px;position:absolute;bottom:4px;left:4px}.shared-data-notice strong{font-size:13px}.shared-data-notice p{color:var(--muted);margin:3px 0 0;font-size:10px}.shared-data-notice em{color:var(--success);background:#fff;border:1px solid #cce1d5;border-radius:5px;margin-right:auto;padding:4px 9px;font-size:9px;font-style:normal;font-weight:800}.customer-summary--four{grid-template-columns:repeat(4,1fr)}.customer-cell>span>.status{margin-top:4px}.customer-file-table .address-cell{white-space:normal;min-width:170px;max-width:250px;line-height:1.7}.customer-file-table td small.block{color:var(--muted);margin-top:3px;font-size:9px}.customer-form .field textarea{line-height:1.7}.credit-warning,.credit-confirm{border-radius:7px;align-items:center;gap:7px;min-height:42px;margin:0 0 14px;padding:9px 11px;font-size:11px;display:flex}.credit-warning{background:var(--warning-bg);color:var(--warning);border:1px solid #efd4b8}.credit-confirm{background:var(--green-50);color:var(--success);border:1px solid #cce1d5}.credit-warning svg,.credit-confirm svg{width:17px}.sync-state{color:var(--green-700);white-space:nowrap;background:var(--green-50);border:1px solid #d3e6da;border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:12px;font-weight:700;display:inline-flex}.sync-state svg{stroke-width:2px;width:15px;height:15px}.sync-state--connecting{color:#9a6a16;background:#fffaf0;border-color:#efdfbd}.sync-state--connecting svg{animation:1s linear infinite spin}.sync-state--offline{color:#a33c2b;background:#fff5f2;border-color:#efd2cb}@media (width<=700px){.sync-state span{display:none}.sync-state{padding:7px}}.forgot-password-link{color:var(--green-700);background:0 0;border:0;justify-self:start;margin:-5px 0 4px;padding:0;font-size:12px;font-weight:750}.forgot-password-link:hover{text-decoration:underline}.install-app-button{background:var(--green-50);min-height:36px;color:var(--green-800);white-space:nowrap;border:1px solid #d3e6da;border-radius:8px;align-items:center;gap:7px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.install-app-button:hover{background:#e5f1e9}.install-app-button svg,.installed-app-label svg{width:16px;height:16px}.installed-app-label{color:var(--success);align-items:center;gap:6px;font-size:12px;font-weight:750;display:inline-flex}.install-help{gap:12px;display:grid}.install-help>p{color:var(--muted);margin:0;line-height:1.8}.install-help article{border:1px solid var(--line);border-radius:9px;align-items:flex-start;gap:13px;padding:13px;display:flex}.install-help article>svg{width:23px;color:var(--green-700);flex:none}.install-help strong,.install-help small{display:block}.install-help small{color:var(--muted);margin-top:4px;line-height:1.7}.install-note{background:var(--warning-bg);border-radius:7px;color:var(--warning)!important;padding:10px!important}.account-layout{grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr);align-items:start;gap:20px;display:grid}.account-card{padding:22px}.account-card>header{border-bottom:1px solid var(--line);align-items:center;gap:12px;margin-bottom:20px;padding-bottom:17px;display:flex}.account-card>header>svg{width:34px;height:34px;color:var(--green-700);background:var(--green-50);border-radius:8px;padding:7px}.account-card h2,.account-security h2{margin:0 0 5px;font-size:18px}.account-card header p,.account-security p{color:var(--muted);margin:0;font-size:12px;line-height:1.8}.account-divider{background:var(--soft);border-radius:8px;align-items:center;gap:10px;padding:12px;display:flex}.account-divider>svg{color:var(--green-700)}.account-divider strong,.account-divider small{display:block}.account-divider small{color:var(--muted);margin-top:3px;font-size:11px}.account-security{background:var(--green-950);color:#fff;border-radius:10px;padding:24px;position:sticky;top:102px}.account-security>svg{color:#b9dac6;width:34px;height:34px;margin-bottom:16px}.account-security p{color:#c8d7cf}.account-security ul{color:#e7f0eb;gap:10px;margin:18px 0 0;padding:0 18px 0 0;font-size:12px;display:grid}.reset-explanation{background:var(--warning-bg);color:var(--warning);border-radius:7px;margin:0;padding:10px;font-size:12px}.password-reset-queue{margin-bottom:18px}.password-reset-queue .employee-avatar svg{width:18px}@media (width<=1100px){.install-app-button span{display:none}.install-app-button{padding:8px}}@media (width<=800px){.account-layout{grid-template-columns:1fr}.account-security{position:static}.install-app-button{display:none}}.sales-day-strip--payments{grid-template-columns:repeat(5,1fr)}@media (width<=1100px){.customer-summary--four,.sales-day-strip--payments{grid-template-columns:repeat(3,1fr)}}@media (width<=720px){.login-page{grid-template-columns:1fr;grid-template-areas:"panel"}.customer-summary--four,.sales-day-strip--payments{grid-template-columns:1fr 1fr}.shared-data-notice em{display:none}}@media (width<=480px){.customer-summary--four,.sales-day-strip--payments{grid-template-columns:1fr}.shared-data-notice{align-items:flex-start}}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(270px,.85fr)}@media (width<=980px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}}.dashboard-grid>*,.page>section,.panel,.workspace,.stats-strip article{min-width:0}.panel--chart,.chart-wrap{overflow:hidden}.chart-wrap svg{width:100%;max-width:100%;height:auto;display:block;overflow:hidden}.panel--chart header{flex-wrap:wrap;gap:8px}.panel--chart .legend{flex-wrap:wrap}.table-scroll,.table-wrapper{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.table-wrapper table{border-collapse:collapse;text-align:right;width:100%}.table-wrapper th,.table-wrapper td{white-space:nowrap;border-bottom:1px solid #edf0ee;padding:10px 12px;font-size:11px}.table-wrapper th{color:var(--muted);background:#fafbfa;font-weight:650}.stats-strip span,.stats-strip strong,.stats-strip small,.rank-row strong,.rank-row small,.compact-table>div span strong,.compact-table>div span small,.quick-actions strong,.quick-actions small,.panel header h2,.panel header p{overflow-wrap:anywhere;word-break:break-word}.audit-details{overflow-wrap:anywhere;min-width:220px;max-width:420px;white-space:normal!important}.audit-row--danger td:first-child{box-shadow:inset -3px 0 var(--danger,#c0392b)}.audit-row--warn td:first-child{box-shadow:inset -3px 0 var(--copper)}.badge{color:var(--ink);white-space:nowrap;background:#eef1ef;border-radius:999px;padding:3px 9px;font-size:10px;display:inline-block}.badge--danger{color:#a5281b;background:#fdecea}.badge--warn{background:var(--copper-100);color:#80381f}.badge--ok{color:#14683f;background:#e8f5ee}.empty{text-align:center;color:var(--muted);padding:22px}@media (width<=980px){html,body{overflow-x:hidden}.page{overflow-x:clip}}@media (width<=420px){.stats-strip{grid-template-columns:1fr}.stats-strip article{border-left:0;border-bottom:1px solid var(--line)}.compact-table__head,.compact-table>div{grid-template-columns:1fr 46px 46px;padding:9px 12px}.rank-row{grid-template-columns:26px 1fr auto;padding:10px 12px}}.muted-text{color:var(--muted);font-size:10px}.pos-screen{direction:rtl;flex-direction:column;gap:14px;max-width:780px;margin:0 auto;padding:12px 14px 28px;display:flex}.pos-scanbar{z-index:30;background:var(--bg,#f6f8f7);border-bottom:1px solid var(--line);padding:8px 0 10px;position:sticky;top:0}.scan-input--hero{position:relative}.pos-topbar{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.pos-topbar__who{align-items:center;gap:9px;min-width:0;display:flex}.pos-topbar__who i{background:var(--green-50);width:34px;height:34px;color:var(--green-900);border-radius:50%;flex:none;place-items:center;font-style:normal;font-weight:800;display:grid}.pos-topbar__who strong{overflow-wrap:anywhere;font-size:13px;display:block}.pos-topbar__who small{color:var(--muted);font-size:10px;display:block}.pos-logout{color:#a5281b;background:#fdecea;border:1px solid #f0c9c2;border-radius:10px;flex:none;align-items:center;gap:6px;min-height:42px;padding:0 14px;font-size:12px;font-weight:700;display:flex}.pos-logout svg{width:17px;height:17px}.logout-confirm{gap:14px;display:grid}.logout-confirm p{margin:0;font-size:13px;line-height:1.7}.logout-confirm .logout-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.logout-confirm .logout-actions button{min-height:48px}.scan-input--hero{border:2px solid var(--green-700);background:#fff;border-radius:12px;align-items:center;gap:10px;height:62px;padding:0 14px;display:flex;box-shadow:0 2px 10px #123f2c14}.scan-input--hero input{min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:17px;font-weight:650}.scan-input--hero input::placeholder{color:#9aa8a1;font-size:15px;font-weight:500}.scan-input--hero>svg{width:22px;height:22px;color:var(--green-700);flex:none}.scan-clear{width:28px;height:28px;color:var(--muted);background:#eef1ef;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.scan-results{inset-inline:0;z-index:40;border:1px solid var(--line);background:#fff;border-radius:12px;max-height:46vh;position:absolute;top:calc(100% - 2px);overflow-y:auto;box-shadow:0 12px 32px #09261a2e}.scan-results button{text-align:right;background:0 0;border:0;border-bottom:1px solid #eef1ef;grid-template-columns:minmax(0,1fr) auto 34px;align-items:center;gap:10px;width:100%;min-height:58px;padding:12px 14px;display:grid}.scan-results button:last-child{border-bottom:0}.scan-results button.active{background:var(--green-50)}.scan-results__name{min-width:0}.scan-results__name strong{overflow-wrap:anywhere;font-size:13px;display:block}.scan-results__name small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.scan-results b{white-space:nowrap;font-size:13px}.scan-results em{background:var(--green-700);color:#fff;border-radius:8px;place-items:center;width:30px;height:30px;font-style:normal;display:grid}.scan-results em svg{width:17px;height:17px}.scan-results__empty{text-align:center;color:var(--muted);padding:18px;font-size:12px}.scan-hint-line{color:var(--muted);align-items:center;gap:7px;margin:8px 2px 0;font-size:11px;display:flex}.scan-hint-line svg{width:15px;height:15px;color:var(--copper)}.pos-invoice{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden}.pos-invoice>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.pos-invoice>header>div{align-items:center;gap:10px;display:flex}.pos-invoice>header h2{margin:0;font-size:15px}.pos-invoice>header small{color:var(--muted);font-size:11px}.invoice-lines{max-height:46vh;overflow-y:auto}.invoice-line{border-bottom:1px solid #eef1ef;grid-template-columns:minmax(0,1fr) auto auto 32px;align-items:center;gap:10px;padding:12px 14px;display:grid}.invoice-line__info{min-width:0}.invoice-line__info strong{overflow-wrap:anywhere;font-size:13px;display:block}.invoice-line__info small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.invoice-line__qty{align-items:center;gap:4px;display:flex}.invoice-line__qty button{border:1px solid var(--line);width:34px;height:34px;color:var(--green-900);background:#fff;border-radius:9px;place-items:center;display:grid}.invoice-line__qty button svg{width:16px;height:16px}.invoice-line__qty input{text-align:center;border:1px solid var(--line);border-radius:9px;width:48px;height:34px;font-size:14px;font-weight:700}.invoice-line__qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.invoice-line__qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.invoice-line__total{white-space:nowrap;font-size:13px}.invoice-line__remove{color:#a5281b;background:#fdecea;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.invoice-empty{text-align:center;color:var(--muted);padding:34px 18px}.invoice-empty svg{color:#c6d2cb;width:34px;height:34px}.invoice-empty strong{color:var(--ink);margin:10px 0 4px;font-size:14px;display:block}.invoice-empty p{margin:0;font-size:12px}.invoice-options{border-bottom:1px solid var(--line);background:#fafbfa;grid-template-columns:1fr 1fr;gap:10px;padding:12px 14px;display:grid}.invoice-options label{color:var(--muted);gap:6px;min-width:0;font-size:11px;display:grid}.invoice-options label svg{width:15px;height:15px}.invoice-options select,.invoice-options input{border:1px solid var(--line);background:#fff;border-radius:9px;width:100%;min-width:0;height:44px;padding:0 10px;font-size:13px}.invoice-totals{border-bottom:1px solid var(--line);margin:0;padding:12px 16px}.invoice-totals>div{justify-content:space-between;padding:5px 0;font-size:12px;display:flex}.invoice-totals dt,.invoice-totals dd{margin:0}.invoice-totals .grand-total{color:var(--green-900);border-top:1px dashed var(--line);margin-top:6px;padding-top:10px;font-size:17px;font-weight:800}.invoice-pay{gap:10px;padding:14px 16px;display:grid}.pay-methods{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.pay-methods button{border:1px solid var(--line);min-height:58px;color:var(--ink);background:#fff;border-radius:11px;place-items:center;gap:4px;font-size:11px;font-weight:650;display:grid}.pay-methods button svg{width:20px;height:20px;color:var(--green-700)}.pay-methods button.active{border-color:var(--green-700);background:var(--green-50);box-shadow:inset 0 0 0 1px var(--green-700)}.button--checkout{min-height:60px;font-size:16px}@media (width<=620px){.pos-screen{padding:10px 10px 0}.invoice-options{grid-template-columns:1fr}.invoice-line{grid-template-columns:minmax(0,1fr) auto 30px;row-gap:8px}.invoice-line__qty{grid-column:1}.invoice-line__total{grid-column:2}.scan-input--hero{height:58px}.scan-results{max-height:44vh}.invoice-lines{max-height:none}.pos-invoice{border-radius:14px 14px 0 0}.invoice-totals{z-index:15;border-top:1px solid var(--line);background:#fff;position:sticky;bottom:0}.invoice-pay{z-index:16;border-top:1px solid var(--line);padding-bottom:max(14px, env(safe-area-inset-bottom));background:#fff;position:sticky;bottom:0}.pay-methods button{min-height:54px}.button--checkout{min-height:58px}}.hold-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.hold-btn{justify-content:center;align-items:center;gap:6px;min-height:50px;font-size:12px;display:flex;position:relative}.hold-btn svg{width:17px;height:17px}.hold-count{inset-inline-start:8px;background:var(--copper);color:#fff;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:11px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.hold-modal{gap:12px;display:grid}.hold-modal p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.hold-modal label{gap:6px;font-size:12px;font-weight:650;display:grid}.hold-modal input{border:1px solid var(--line);border-radius:10px;height:48px;padding:0 12px;font-size:14px}.hold-modal small{color:var(--muted);font-size:11px}.held-list{gap:10px;max-height:60vh;display:grid;overflow-y:auto}.held-item{border:1px solid var(--line);border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;padding:12px;display:grid}.held-item__info{min-width:0}.held-item__info strong{overflow-wrap:anywhere;font-size:13px;display:block}.held-item__info small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.held-item>b{white-space:nowrap;font-size:14px}.held-item__actions{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px;display:grid}.held-item__actions button{justify-content:center;align-items:center;gap:6px;min-height:44px;font-size:12px;display:flex}.held-item__actions svg{width:16px;height:16px}.held-cancel{color:#a5281b!important;border-color:#f0c9c2!important}.logout-actions--three{grid-template-columns:1fr}.logout-actions--three button{justify-content:center;align-items:center;gap:7px;display:flex}.held-admin .rank-row{grid-template-columns:1fr auto}.sale-details{gap:14px;display:grid}.sale-details__meta{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.sale-details__meta span{border:1px solid var(--line);background:#fafbfa;border-radius:10px;gap:3px;min-width:0;padding:9px 11px;display:grid}.sale-details__meta small{color:var(--muted);font-size:10px}.sale-details__meta strong{overflow-wrap:anywhere;font-size:12px}.sale-details .invoice-totals{border:1px solid var(--line);border-radius:11px}@media print{.workspace:has(#thermal-receipt)>.page>:not(.pos-screen):not(.pos-layout){display:none!important}.pos-screen:has(#thermal-receipt){display:block!important}.pos-screen:has(#thermal-receipt)>:not(#thermal-receipt){display:none!important}#thermal-receipt,.thermal-receipt{display:block!important}.pos-topbar,.pos-scanbar,.pos-invoice,.scan-results{display:none!important}#thermal-receipt{z-index:9999;background:#fff;width:72mm;margin:0 auto;position:absolute;inset-block-start:0;inset-inline-start:0}}.update-banner{inset-inline:12px;z-index:200;background:var(--green-900,#0b3525);color:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;font-size:13px;display:flex;position:fixed;bottom:12px;box-shadow:0 10px 30px #09261a4d}.update-banner button{color:var(--green-900,#0b3525);background:#fff;border:0;border-radius:9px;padding:9px 16px;font-size:13px;font-weight:800}@media print{.update-banner{display:none!important}.app-shell,.workspace,.page{display:block!important}.page>.pos-screen.has-receipt{padding:0!important;display:block!important}.page>.pos-screen.has-receipt>:not(#thermal-receipt){display:none!important}.pos-screen.has-receipt #thermal-receipt,.pos-screen.has-receipt .thermal-receipt{width:72mm;margin:0 auto;position:static;display:block!important}.sidebar,.topbar,.modal-backdrop,.toast,.update-banner{display:none!important}}.last-sale{border-bottom:1px solid var(--line);background:#f2f9f5}.last-sale>header{border-bottom:1px solid #d9ece1;align-items:center;gap:10px;padding:12px 14px;display:flex}.last-sale>header>svg{width:22px;height:22px;color:var(--success,#14683f);flex:none}.last-sale>header>div{flex:1;min-width:0}.last-sale>header strong{overflow-wrap:anywhere;font-size:13px;display:block}.last-sale>header small{color:var(--muted);font-size:10px;display:block}.last-sale__items>div{border-bottom:1px dashed #d9ece1;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 14px;font-size:12px;display:grid}.last-sale__items span{overflow-wrap:anywhere}.last-sale__items b{color:var(--muted);white-space:nowrap;font-size:11px}.last-sale__items em{white-space:nowrap;font-style:normal;font-weight:700}.last-sale__totals{margin:0;padding:10px 14px}.last-sale__totals>div{justify-content:space-between;padding:3px 0;font-size:12px;display:flex}.last-sale__totals .grand-total{color:var(--green-900);border-top:1px dashed #cfe0d6;margin-top:5px;padding-top:7px;font-size:15px;font-weight:800}.last-sale>.button{width:calc(100% - 28px);min-height:46px;margin:0 14px 14px}@media print{.last-sale{display:none!important}}body>#thermal-receipt{display:none}@media print{body>.app-shell{display:none!important}body>#thermal-receipt{color:#000;direction:rtl;width:72mm;margin:0 auto;font:10pt Tahoma,sans-serif;display:block!important}}.page-header--with-back{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;display:grid}.back-button{border:1px solid var(--line);min-height:44px;color:var(--green-900);background:#fff;border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.back-button svg{width:18px;height:18px}.back-button:hover{background:var(--green-50)}@media (width<=620px){.page-header--with-back{grid-template-columns:auto 1fr}.page-header--with-back .page-header__actions{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.back-button{min-height:46px;padding:0 16px}}.leave-confirm-backdrop{z-index:300;background:#09261a73;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.leave-confirm{text-align:center;background:#fff;border-radius:14px;gap:12px;width:100%;max-width:380px;padding:20px;display:grid}.leave-confirm strong{font-size:15px}.leave-confirm p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.leave-confirm__actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.leave-confirm__actions button{min-height:46px}@media print{.leave-confirm-backdrop{display:none!important}}.credit-text{color:#0d6e8c}.balance{gap:2px;display:grid}.balance strong{font-size:13px}.balance small{font-size:9px}.balance--debit strong,.balance--debit small{color:#a5281b}.balance--credit strong,.balance--credit small{color:#0d6e8c}.balance--zero strong,.balance--zero small{color:var(--muted)}.filter-row{flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;display:flex}.filter-row__hint{color:var(--muted);font-size:11px}.chip{border:1px solid var(--line);min-height:40px;color:var(--ink);background:#fff;border-radius:999px;padding:0 16px;font-size:12px;font-weight:650}.chip--active{background:var(--green-900);color:#fff;border-color:var(--green-900)}.row-actions--wide{align-items:center;gap:6px;display:flex}.pay-chip{background:var(--green-50);min-height:38px;color:var(--green-900);white-space:nowrap;border:1px solid #cfe0d6;border-radius:9px;align-items:center;gap:5px;padding:0 12px;font-size:11px;font-weight:700;display:inline-flex}.pay-chip svg{width:15px;height:15px}.pay-preview{border:1px dashed var(--line);background:#fafbfa;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;font-size:12px;display:flex}.detail-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 14px;display:grid}.detail-stats article{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:10px;min-width:0;padding:12px 14px;display:flex}.detail-stats article>svg{width:20px;height:20px;color:var(--green-700);flex:none}.detail-stats small{color:var(--muted);font-size:10px;display:block}.detail-stats strong{overflow-wrap:anywhere;font-size:15px;display:block}.detail-meta{color:var(--muted);flex-wrap:wrap;gap:14px;font-size:11px;display:flex}.toggle-field{border:1px solid var(--line);background:#fafbfa;border-radius:11px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.toggle-field input{flex:none;width:20px;height:20px;margin-top:2px}.toggle-field strong{font-size:13px;display:block}.toggle-field small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.6;display:block}@media (width<=620px){.detail-stats{grid-template-columns:1fr 1fr}.row-actions--wide{flex-direction:column;align-items:stretch}.pay-chip{justify-content:center}}@media (width<=980px){.topbar{z-index:40;border-bottom:1px solid var(--line);background:#fff;gap:8px;position:sticky;top:0}.mobile-menu{border:1px solid var(--green-700);background:var(--green-50);min-height:44px;color:var(--green-900);border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:800;display:inline-flex!important}.mobile-menu svg{width:20px;height:20px}.global-search,.topbar__tools .sync-state span:last-child,.topbar__tools .profile>span:not(.avatar),.topbar__tools .profile svg{display:none}.topbar__title{min-width:0;font-size:13px;overflow:hidden}.topbar__title span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sidebar--open:before{content:"";z-index:-1;pointer-events:none;background:#09261a73;position:fixed;inset:0}.sidebar nav button{min-height:52px;font-size:14px}}@media print{.topbar,.mobile-menu{display:none!important}}.split-rows{flex-direction:column;gap:.5rem;margin:.75rem 0;display:flex}.split-row{border:1px solid var(--line,#e5e0d8);background:#fff;border-radius:.75rem;grid-template-columns:minmax(0,1fr) 6.5rem auto;align-items:center;gap:.5rem;padding:.55rem .7rem;display:grid}.split-row__label{align-items:center;gap:.45rem;min-width:0;font-weight:600;display:flex}.split-row__label svg{flex:none;width:1.05rem;height:1.05rem}.split-row__label em{opacity:.7;font-size:.72rem;font-style:normal;font-weight:500}.split-row input{text-align:center;border:1px solid var(--line,#e5e0d8);direction:ltr;border-radius:.5rem;width:100%;min-width:0;padding:.45rem;font-weight:700}.split-row--off{opacity:.45}.split-row--off input,.split-row--off .split-rest{cursor:not-allowed}.split-rest{border:1px solid var(--line,#e5e0d8);white-space:nowrap;background:#faf7f2;border-radius:.5rem;padding:.4rem .6rem;font-size:.8rem;font-weight:600}.split-rest:disabled{opacity:.4}.split-remaining{color:#a3341f;background:#fdf0ec;border-radius:.75rem;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.6rem;padding:.7rem .9rem;font-weight:700;display:flex}.split-remaining strong{direction:ltr;font-size:1.15rem}.split-remaining--ok{color:#1d6b38;background:#eaf7ee}.split-remaining svg{width:1.15rem;height:1.15rem}.split-cash{flex-direction:column;gap:.35rem;margin-bottom:.6rem;font-weight:600;display:flex}.split-cash input{border:1px solid var(--line,#e5e0d8);text-align:center;direction:ltr;border-radius:.5rem;padding:.55rem;font-weight:700}.split-change{color:#1d6b38;font-size:.95rem}.receipt-split{border-top:1px dashed #000;margin-top:.35rem;padding-top:.3rem}.receipt-split__head dt,.receipt-credit dt,.receipt-credit dd,.receipt-change dt,.receipt-change dd{font-weight:700}.invoice-payments{flex-wrap:wrap;gap:.4rem;margin:.6rem 0;display:flex}.invoice-payments span{background:#f5f1ea;border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .6rem;font-size:.85rem;font-weight:600;display:inline-flex}.invoice-payments b{direction:ltr}@media (width<=420px){.split-row{grid-template-columns:minmax(0,1fr) 5rem auto;gap:.35rem;padding:.5rem}.split-row__label{font-size:.85rem}.split-rest{padding:.35rem .45rem;font-size:.75rem}}.pay-chip--return{color:#a3341f;background:#fdf0ec;border-color:#f0c9bd}.pay-chip--return svg{width:.95rem;height:.95rem}.return-modal{flex-direction:column;gap:.85rem;display:flex}.return-hint{background:#faf7f2;border-radius:.6rem;margin:0;padding:.6rem .75rem;font-size:.88rem;line-height:1.7}.return-modal .row-muted{opacity:.5}.return-modal .muted{opacity:.7;font-size:.8rem}.qty-mini{align-items:center;gap:.25rem;display:inline-flex}.qty-mini button{border:1px solid var(--line,#e5e0d8);background:#fff;border-radius:.45rem;width:1.85rem;height:1.85rem;font-size:1rem;font-weight:700;line-height:1}.qty-mini input{text-align:center;border:1px solid var(--line,#e5e0d8);direction:ltr;border-radius:.45rem;width:3.2rem;padding:.35rem;font-weight:700}.return-actions-row{flex-wrap:wrap;gap:.5rem;display:flex}.return-summary{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.return-summary div{background:#f5f1ea;border-radius:.65rem;flex-direction:column;gap:.15rem;padding:.6rem .75rem;display:flex}.return-summary span{opacity:.75;font-size:.8rem}.return-summary strong{font-size:1.05rem}.return-refund{background:#eaf7ee;border-radius:.7rem;padding:.7rem .8rem}.return-refund h4{margin:0 0 .5rem;font-size:.92rem}.return-refund ul{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.return-refund li{grid-template-columns:auto auto 1fr;align-items:baseline;gap:.5rem;font-size:.9rem;display:grid}.return-refund b{direction:ltr;font-weight:700}.return-refund em{opacity:.75;text-align:left;font-size:.78rem;font-style:normal}.return-reason{flex-direction:column;gap:.35rem;font-weight:600;display:flex}.return-reason textarea{border:1px solid var(--line,#e5e0d8);resize:vertical;border-radius:.55rem;padding:.55rem;font-family:inherit;font-size:.95rem}@media (width<=480px){.return-summary{grid-template-columns:1fr}.return-refund li{grid-template-columns:1fr auto;row-gap:.1rem}.return-refund em{text-align:right;grid-column:1/-1}.return-modal table{font-size:.82rem}.return-modal th,.return-modal td{padding:.4rem .25rem}.return-modal th:nth-child(2),.return-modal td:nth-child(2),.return-modal th:nth-child(3),.return-modal td:nth-child(3){display:none}.qty-mini input{width:2.4rem}.qty-mini button{width:1.7rem;height:1.7rem}}
