:root{--page:#eef2f9;--surface:#fff;--surface-alt:#f6f8fc;--border:#e4e9f2;--border-firm:#c7d0e0;--ink:#111a2e;--ink-soft:#45526b;--ink-muted:#6b7891;--rail:#16203a;--rail-deep:#0b1120;--rail-ink:#c3cddf;--blue:#4f46e5;--blue-deep:#4338ca;--green:#15a05c;--green-deep:#10814a;--amber:#ea9a0b;--amber-deep:#c27c04;--purple:#7c3aed;--teal:#0d9488;--red:#e0393e;--red-deep:#bd2026;--blue-soft:#eef0ff;--green-soft:#eafaf1;--amber-soft:#fff6e6;--red-soft:#fdeeee;--blue-ring:#4f46e52e;--blue-glow:#4f46e547;--radius:14px;--radius-sm:9px;--shadow:0 1px 2px #111a2e0d, 0 4px 12px #111a2e0f;--shadow-lift:0 2px 4px #111a2e0f, 0 12px 28px #111a2e1f;--shadow-hover:0 2px 6px #111a2e12, 0 10px 24px #111a2e1c;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Segoe UI,system-ui,-apple-system,sans-serif;line-height:1.5}*{box-sizing:border-box}body{background:var(--page);min-height:100vh;color:var(--ink);margin:0;font-size:14px}h1,h2,h3{color:var(--ink)}h2{margin:0 0 .25rem;font-size:1.15rem}h3{margin:1.75rem 0 .5rem;font-size:1rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.shell{grid-template:"nav header""nav main"1fr/232px 1fr;min-height:100vh;display:grid}.shell__header{background:var(--surface);border-bottom:1px solid var(--border);grid-area:header;justify-content:space-between;align-items:center;gap:1rem;height:68px;padding:0 1.5rem;display:flex}.shell__header strong{letter-spacing:-.01em;font-size:1.05rem;display:block}.shell__location{color:var(--ink-muted);margin-left:0;font-size:.78rem;display:block}.shell__user{color:var(--ink-soft);align-items:center;gap:.75rem;font-size:.85rem;display:flex}.shell__user span:before{content:"👤";margin-right:.4rem}.shell__user button{border:1px solid var(--border-firm);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink-soft);cursor:pointer;padding:.4rem .85rem;font-size:.82rem}.shell__nav{background:linear-gradient(180deg, var(--rail) 0%, var(--rail-deep) 100%);overscroll-behavior:contain;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#ffffff38 transparent;border-bottom:none;flex-direction:column;grid-area:nav;align-self:start;gap:.15rem;height:100dvh;padding:1rem .65rem 2rem;display:flex;position:sticky;top:0;overflow:hidden auto}.shell__nav::-webkit-scrollbar{width:6px}.shell__nav::-webkit-scrollbar-track{background:0 0}.shell__nav::-webkit-scrollbar-thumb{background:#ffffff2e;border-radius:999px}.shell__nav>*{flex-shrink:0}.shell__nav:before{content:"MOIZ MOBILE";background:linear-gradient(90deg,#fff 0%,#b9b4f5 100%);color:#0000;letter-spacing:.08em;-webkit-background-clip:text;background-clip:text;border-bottom:1px solid #ffffff1f;margin-bottom:.85rem;padding:.75rem .6rem 1.25rem;font-size:.95rem;font-weight:800;display:block}.shell__nav a{border-radius:var(--radius-sm);color:var(--rail-ink);border-bottom:none;align-items:center;gap:.7rem;padding:.6rem .75rem;font-size:.88rem;text-decoration:none;transition:background .12s,color .12s;display:flex}.shell__nav a:hover{color:#fff;background:#ffffff14}.shell__nav a.active{background:linear-gradient(135deg, var(--blue) 0%, #6d5ef0 100%);color:#fff;box-shadow:0 4px 14px var(--blue-glow);border-bottom:none;font-weight:600}.shell__nav a:before{text-align:center;width:1.25rem;font-size:1rem}.shell__nav a[href=\/my-day]:before{content:"📱"}.shell__nav a[href=\/udhaar-customers]:before{content:"🪪"}.shell__nav a[href=\/recovery]:before{content:"💰"}.shell__nav a[href=\/dashboard]:before{content:"🏠"}.shell__nav a[href=\/team]:before{content:"👤"}.shell__nav a[href=\/pos]:before{content:"🛒"}.shell__nav a[href=\/products]:before{content:"📦"}.shell__nav a[href=\/categories]:before{content:"🗂️"}.shell__nav a[href=\/brands]:before{content:"🏷️"}.shell__nav a[href=\/customers]:before{content:"👥"}.shell__nav a[href=\/invoices]:before{content:"📄"}.shell__nav a[href=\/purchases]:before{content:"🚚"}.shell__nav a[href=\/sale-returns]:before{content:"↩️"}.shell__nav a[href=\/purchase-returns]:before{content:"↪️"}.shell__nav a[href=\/suppliers]:before{content:"🏭"}.shell__nav a[href=\/supplier-ledger]:before{content:"📒"}.shell__nav a[href=\/expenses]:before{content:"🧾"}.shell__nav a[href=\/reports]:before{content:"📊"}.shell__nav a[href=\/day-close]:before{content:"💵"}.shell__nav a[href=\/proofs-missing]:before{content:"📎"}.shell__nav a[href=\/shop-accounts]:before{content:"🏦"}.shell__nav a[href=\/admin]:before{content:"⚙️"}.shell__main{grid-area:main;max-width:1500px;padding:1.5rem}.login-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-width:23rem;box-shadow:var(--shadow-lift);flex-direction:column;gap:.35rem;margin:5rem auto;padding:2rem;display:flex}.login-form h1{color:var(--blue);text-align:center;margin:0;font-size:1.2rem}.login-form__subtitle{color:var(--ink-muted);text-align:center;margin:.15rem 0 1rem;font-size:.82rem}.login-form label{color:var(--ink-soft);margin-top:.75rem;font-size:.82rem}.login-form input{padding:.6rem .7rem;font-size:.95rem}.login-form button{background:var(--blue);color:#fff;border-radius:var(--radius-sm);cursor:pointer;border:none;margin-top:1.5rem;padding:.7rem;font-size:.95rem;font-weight:600}.login-form button:hover:not(:disabled){background:var(--blue-deep)}.login-form button:disabled{opacity:.65;cursor:not-allowed}.password-field{display:flex;position:relative}.password-field input{flex:1;min-width:0;padding-right:2.6rem}.login-form .password-field__toggle{color:var(--ink-muted);cursor:pointer;background:0 0;border:none;border-radius:999px;place-items:center;margin:0;padding:.3rem;transition:background-color .18s,color .18s,transform .12s;display:grid;position:absolute;top:50%;right:.35rem;transform:translateY(-50%)}.login-form .password-field__toggle:hover:not(:disabled){background:var(--surface-alt);color:var(--ink)}.login-form .password-field__toggle:active{transform:translateY(-50%)scale(.9)}.login-form .password-field__toggle:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.login-form .password-field__toggle.is-shown{color:var(--blue)}.password-field__icon{grid-area:1/1;transition:opacity .22s,transform .26s cubic-bezier(.34,1.56,.64,1)}.password-field__icon--eye-off{opacity:0;transform:scale(.6)rotate(-45deg)}.is-shown .password-field__icon--eye{opacity:0;transform:scale(.6)rotate(45deg)}.is-shown .password-field__icon--eye-off{opacity:1;transform:none}@media (prefers-reduced-motion:reduce){.login-form .password-field__toggle,.password-field__icon{transition:none}}.login-form__error{background:var(--red-soft);border-left:3px solid var(--red);border-radius:var(--radius-sm);margin:.75rem 0 0;padding:.6rem .75rem}.field{flex-direction:column;margin-top:.75rem;display:flex}.field label,.login-form label,.filters label,.inline-form label{color:var(--ink-soft);margin-bottom:.2rem;font-size:.8rem;font-weight:600}input,select,textarea{color:var(--ink);background:var(--surface);border:1px solid var(--border-firm);border-radius:var(--radius-sm);padding:.5rem .6rem;font-family:inherit;font-size:.9rem}input:disabled,select:disabled{background:var(--surface-alt);color:var(--ink-muted);cursor:not-allowed}.field__hint{color:var(--ink-muted);margin-top:.2rem;font-size:.75rem;font-weight:400}.field-error{color:var(--red);margin-top:.2rem;font-size:.78rem}.form-error{background:var(--red-soft);border-left:3px solid var(--red);border-radius:var(--radius-sm);color:#991b1b;margin:.75rem 0;padding:.6rem .8rem}.form-success{background:var(--green-soft);border-left:3px solid var(--green);border-radius:var(--radius-sm);color:#166534;margin:.75rem 0;padding:.6rem .8rem}.form-actions{gap:.6rem;margin-top:1.5rem;display:flex}button{border-radius:var(--radius-sm);border:1px solid var(--border-firm);background:var(--surface);color:var(--ink);cursor:pointer;padding:.5rem 1rem;font-family:inherit;font-size:.85rem;transition:background .12s,border-color .12s}button:disabled{opacity:.55;cursor:not-allowed}.form-actions button[type=submit],.form-actions button:first-child{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}.form-actions button[type=submit]:hover:not(:disabled),.form-actions button:first-child:hover:not(:disabled){background:var(--green-deep)}.form-actions button[type=button]:last-child:not(:only-child){background:var(--red);border-color:var(--red);color:#fff;font-weight:600}.form-actions button[type=button]:last-child:not(:only-child):hover:not(:disabled){background:var(--red-deep)}.product-form,.purchase-form,.expense-form,.return-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-width:34rem;box-shadow:var(--shadow);flex-direction:column;padding:0 1.25rem 1.25rem;display:flex}.product-form h2,.purchase-form h2,.expense-form h2,.return-form h2{border-radius:var(--radius) var(--radius) 0 0;color:#fff;margin:0 -1.25rem .5rem;padding:.75rem 1.25rem;font-size:.95rem}.purchase-form{max-width:30rem}.expense-form{max-width:26rem}.return-form{max-width:44rem}.purchase-form__total{background:var(--surface-alt);border-radius:var(--radius-sm);margin-top:1rem;padding:.6rem .8rem;font-size:1.05rem;font-weight:700}.purchase-form__notice,.return-form__notice{background:var(--amber-soft);border-left:3px solid var(--amber);border-radius:var(--radius-sm);margin-top:.85rem;padding:.8rem;font-size:.85rem}.purchase-form__notice p,.return-form__notice p{margin-top:0}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.25rem;display:flex}.page-header button{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}.page-header button:hover:not(:disabled){background:var(--green-deep)}.filters,.inline-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-wrap:wrap;align-items:flex-end;gap:1rem;margin:1rem 0;padding:.9rem 1rem;display:flex}.filters .field,.inline-form .field{margin-top:0}.filters input,.filters select{min-width:13rem}.inline-form button{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600}.inline-form button:hover:not(:disabled){background:var(--blue-deep)}.checkbox{color:var(--ink-soft);align-items:center;gap:.4rem;padding-bottom:.5rem;font-size:.85rem;display:flex}.checkbox input{width:auto}.link-button{color:var(--blue);cursor:pointer;background:0 0;border:none;margin-bottom:.85rem;padding:0;font-size:.85rem}.link-button:hover{background:0 0;text-decoration:underline}.empty-state{background:var(--surface);border:1px dashed var(--border-firm);border-radius:var(--radius);color:var(--ink-muted);text-align:center;padding:1.5rem}.report-total{background:var(--blue-soft);border-left:3px solid var(--blue);border-radius:var(--radius-sm);padding:.8rem 1rem;font-size:1rem}.data-table,.pos__cart,.ledger__table,.audit__table,.backup-panel__table,.return-form__lines{border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:100%;box-shadow:var(--shadow);margin-top:.75rem;overflow:hidden}.data-table thead th,.pos__cart thead th,.ledger__table thead th,.audit__table thead th,.backup-panel__table thead th,.return-form__lines thead th{background:var(--rail);color:#fff;letter-spacing:.02em;text-transform:uppercase;text-align:left;border:none;padding:.65rem .7rem;font-size:.78rem;font-weight:600}.data-table td,.pos__cart td,.ledger__table td,.audit__table td,.backup-panel__table td,.return-form__lines td{border-bottom:1px solid var(--border);padding:.55rem .7rem;font-size:.87rem}.data-table tbody tr:last-child td,.ledger__table tbody tr:last-child td,.audit__table tbody tr:last-child td{border-bottom:none}.numeric,.data-table td.numeric,.data-table th.numeric{text-align:right;font-variant-numeric:tabular-nums}.owing{color:var(--red);font-weight:700}.data-table td button{margin-right:.3rem;padding:.3rem .65rem;font-size:.78rem}.data-table td button:first-of-type{background:var(--blue);border-color:var(--blue);color:#fff}.data-table td button:first-of-type:hover:not(:disabled){background:var(--blue-deep)}.data-table td button:last-of-type:not(:only-of-type){background:var(--red);border-color:var(--red);color:#fff}.data-table td button:last-of-type:not(:only-of-type):hover:not(:disabled){background:var(--red-deep)}.badge{letter-spacing:.01em;border-radius:999px;padding:.12rem .5rem;font-size:.7rem;font-weight:700;display:inline-block}.dashboard__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.dashboard__periods{border:1px solid var(--border-firm);border-radius:var(--radius-sm);gap:0;display:flex;overflow:hidden}.dashboard__periods button{border:none;border-right:1px solid var(--border-firm);background:var(--surface);color:var(--ink-soft);border-radius:0;padding:.45rem 1rem}.dashboard__periods button:last-child{border-right:none}.dashboard__periods button.is-active{background:var(--blue);color:#fff;font-weight:600}.dashboard__kpis{grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.85rem;margin:1.25rem 0 2rem;display:grid}.kpi{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:row;align-items:center;gap:.8rem;padding:.9rem 1rem;display:flex}.kpi:before{border-radius:var(--radius-sm);flex:none;place-items:center;width:2.6rem;height:2.6rem;font-size:1.15rem;display:grid}.kpi__label{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.75rem}.kpi__value{font-variant-numeric:tabular-nums;font-size:1.15rem;font-weight:700}.dashboard__kpis .kpi:first-child:before{content:"💰";background:var(--blue-soft)}.dashboard__kpis .kpi:nth-child(2):before{content:"🚚";background:var(--amber-soft)}.dashboard__kpis .kpi:nth-child(3):before{content:"📈";background:#ccfbf1}.dashboard__kpis .kpi:nth-child(4):before{content:"🧾";background:#f3e8ff}.dashboard__kpis .kpi:nth-child(5):before{content:"🏆";background:var(--green-soft)}.dashboard__kpis .kpi:nth-child(6):before{content:"💵";background:var(--green-soft)}.dashboard__kpis .kpi:nth-child(7):before{content:"📝";background:var(--amber-soft)}.dashboard__kpis .kpi:nth-child(8):before{content:"📥";background:var(--blue-soft)}.dashboard__kpis .kpi:nth-child(9):before{content:"📤";background:var(--red-soft)}.dashboard__kpis .kpi:nth-child(10):before{content:"📦";background:#e0e7ff}.dashboard__low-stock{background:var(--amber-soft);border:1px solid #fcd34d;border-left:4px solid var(--amber);border-radius:var(--radius);padding:1rem 1.25rem}.dashboard__low-stock h3{color:#92400e;margin:0 0 .4rem}.dashboard__low-stock h3:before{content:"⚠️ "}.dashboard__low-stock ul{margin:0;padding-left:1.2rem}.dashboard__low-stock li{font-size:.87rem}.dashboard__low-stock strong{color:var(--red)}.pos__lookup{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:.5rem;margin:1rem 0;padding:.9rem 1rem;display:flex}.pos__lookup label{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.pos__lookup input{flex:1;padding:.65rem .75rem;font-size:1rem}.pos__lookup button{background:var(--blue);border-color:var(--blue);color:#fff;padding:.65rem 1.4rem;font-weight:600}.pos__lookup button:hover:not(:disabled){background:var(--blue-deep)}.pos__empty{background:var(--surface);border:1px dashed var(--border-firm);border-radius:var(--radius);color:var(--ink-muted);text-align:center;padding:2rem}.pos__cart input{width:6rem;padding:.3rem .4rem;font-size:.85rem}.pos__cart td button{background:var(--red);border-color:var(--red);color:#fff;padding:.2rem .55rem;font-weight:700;line-height:1}.pos__totals{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-wrap:wrap;align-items:flex-start;gap:1.25rem;margin-top:1rem;padding:1rem;display:flex}.pos__summary{background:var(--surface-alt);border-radius:var(--radius-sm);grid-template-columns:auto auto;gap:.3rem 1.75rem;min-width:17rem;margin-left:auto;padding:.9rem 1rem;display:grid}.pos__summary dt{color:var(--ink-soft);font-size:.85rem}.pos__summary dd{text-align:right;font-variant-numeric:tabular-nums;margin:0;font-size:.9rem}.pos__summary dt:nth-last-of-type(-n+2),.pos__summary dd:nth-last-of-type(-n+2){font-size:1rem;font-weight:700}.pos__customer{background:var(--blue-soft);border-radius:var(--radius-sm);margin-top:.85rem;padding:.5rem .8rem;font-weight:600;display:inline-block}.pos__receipt{background:var(--green-soft);border-left:4px solid var(--green);border-radius:var(--radius-sm);color:#166534;padding:.75rem 1rem;font-weight:500}.pos .form-actions button{padding:.7rem 2rem;font-size:.95rem}.ledger__header{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;display:flex}.ledger__header h2{margin-bottom:.15rem}.ledger__mobile{color:var(--ink-muted);margin:0;font-size:.85rem}.ledger__header button{background:var(--green);border-color:var(--green);color:#fff;padding:.55rem 1.1rem;font-weight:600}.ledger__header button:hover:not(:disabled){background:var(--green-deep)}.ledger__summary{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.85rem;margin:1rem 0 1.5rem;display:grid}.ledger__summary dt{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.72rem}.ledger__summary dd{font-variant-numeric:tabular-nums;margin:.15rem 0 0;font-size:1.2rem;font-weight:700}.ledger__summary dt{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius) var(--radius) 0 0;border-bottom:none;padding:.75rem 1rem 0}.ledger__summary dd{background:var(--surface);border:1px solid var(--border);border-radius:0 0 var(--radius) var(--radius);box-shadow:var(--shadow);border-top:none;padding:0 1rem .85rem}.ledger__owing{color:var(--red)}.ledger__empty{color:var(--ink-muted);font-style:italic}.ledger__table td:last-child{font-weight:700}.return-form__lines input{width:5rem;padding:.3rem}.return-form__lines td:nth-child(2),.return-form__lines td:nth-child(3){text-align:right}.return-form__summary{background:var(--surface-alt);border-radius:var(--radius-sm);grid-template-columns:auto auto;justify-content:start;gap:.3rem 1.5rem;margin:1rem 0;padding:.9rem 1rem;display:grid}.return-form__summary dt{color:var(--ink-soft)}.return-form__summary dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.modal{z-index:50;background:#0f172a80;place-items:center;display:grid;position:fixed;inset:0}.modal__panel{background:var(--surface);border-radius:var(--radius);min-width:21rem;max-width:26rem;padding:1.5rem;box-shadow:0 20px 40px #0f172a40}.modal__panel h3{margin:0 0 .25rem;font-size:1.05rem}.modal__hint{color:var(--ink-muted);margin:0 0 .5rem;font-size:.85rem}.share-buttons{flex-wrap:wrap;align-items:center;gap:.6rem;margin:1rem 0;display:flex}.share-buttons__print:before{content:"🖨 "}.share-buttons__download:before{content:"⬇ "}.share-buttons__hint{color:var(--ink-muted);font-size:.78rem}.send-menu{display:inline-flex;position:relative}.send-menu .send-menu__toggle{color:#fff;background:#25d366;border-color:#25d366;font-weight:600}.send-menu .send-menu__toggle:hover:not(:disabled){background:#1ebe5a;border-color:#1ebe5a}.send-menu .send-menu__toggle--share:before{content:"📤 "}.send-menu .send-menu__toggle--remind:before{content:"🔔 "}.send-menu__panel{z-index:20;background:var(--surface);border:1px solid var(--border-firm);border-radius:var(--radius);width:max-content;max-width:min(20rem,100vw - 2rem);box-shadow:var(--shadow);text-align:left;flex-direction:column;gap:.6rem;padding:.85rem 1rem;display:flex;position:absolute;top:calc(100% + .4rem);right:0}.send-menu__prompt{color:var(--ink);margin:0;font-size:.85rem;font-weight:600}.send-menu__options{flex-wrap:wrap;gap:.5rem;display:flex}.send-menu .send-menu__whatsapp{color:#fff;background:#25d366;border-color:#25d366;font-weight:600}.send-menu .send-menu__whatsapp:before{content:"💬 "}.send-menu .send-menu__sms{background:var(--surface);border-color:var(--border-firm);color:var(--ink);font-weight:600}.send-menu .send-menu__sms:before{content:"✉ "}.send-menu .send-menu__whatsapp:hover:not(:disabled){background:#1ebe5a;border-color:#1ebe5a}.send-menu .send-menu__sms:hover:not(:disabled){background:var(--surface-alt);color:var(--ink)}.send-menu .send-menu__options button:disabled{background:var(--surface-alt);color:var(--ink-muted);border-color:var(--border-firm)}.proof{flex-wrap:wrap;align-items:center;gap:.4rem;display:inline-flex}.proof .proof__view,.proof .proof__attach{border:1px solid var(--border-firm);background:var(--surface);color:var(--ink);cursor:pointer;white-space:nowrap;border-radius:999px;align-items:center;padding:.3rem .65rem;font-size:.8rem;font-weight:600;display:inline-flex}.proof .proof__view:before{content:"📎 "}.proof .proof__view{border-color:var(--green);color:var(--green-deep)}.proof .proof__attach:hover{background:var(--surface-alt)}.proof input:disabled+.proof__attach,.proof .proof__attach[aria-disabled=true]{opacity:.6;cursor:wait}.proof__failed{color:var(--red,#b42318);font-size:.78rem}.expense-form__transfer{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-alt);margin:.5rem 0 .75rem;padding:.75rem 1rem .25rem}.expense-form__transfer legend{color:var(--ink-muted);padding:0 .35rem;font-size:.8rem;font-weight:600}.category-list{gap:.4rem;margin:.75rem 0;padding:0;list-style:none;display:grid}.category-list li{border:1px solid var(--border);border-radius:var(--radius);align-items:center;gap:.5rem;padding:.4rem .6rem;display:flex}.category-list li>span{flex:1}.is-retired{opacity:.6}.proof-viewer__panel{text-align:center;max-width:min(36rem,100vw - 2rem)}.proof-viewer__image{border-radius:var(--radius);border:1px solid var(--border);max-width:100%;max-height:65vh;margin:0 auto .75rem;display:block}.modal__proof{align-items:center;gap:.6rem;margin:.75rem 0;font-size:.85rem;display:flex}.team-grid{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.85rem;margin:1rem 0 1.5rem;display:grid}.team-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:.6rem;padding:.9rem 1rem;display:flex}.team-card header{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.team-card h3{margin:0}.team-card__job{color:var(--ink-muted);font-size:.75rem}.team-card dl{grid-template-columns:1fr auto;gap:.25rem .75rem;margin:0;font-size:.85rem;display:grid}.team-card dd{text-align:right;margin:0;font-weight:600}.team-card__links{gap:.75rem;display:inline-flex}.team-card footer{color:var(--ink-muted);justify-content:space-between;align-items:center;font-size:.8rem;display:flex}.stock-count__note{color:var(--ink-muted);font-size:.8em;font-weight:400}.stock-lines{gap:.35rem;margin:.5rem 0;padding:0;list-style:none;display:grid}.stock-lines li{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:.5rem;padding:.4rem 0;display:flex}.stock-lines li>span:first-child,.stock-lines label{flex:10rem}.stock-lines input[type=number]{width:5rem}.team-card dd.my-day__big{font-size:1.15rem}@media (width<=640px){.my-day .team-grid{grid-template-columns:1fr}.my-day .team-card dl{font-size:.95rem}}.timeline{gap:.4rem;margin:1rem 0;padding:0;list-style:none;display:grid}.timeline__item{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);border-left-width:4px;flex-wrap:wrap;align-items:baseline;gap:.35rem .9rem;padding:.55rem .8rem;display:flex}.timeline__item time{min-width:7.5rem;color:var(--ink-muted);font-size:.8rem}.timeline__item small{color:var(--ink-muted);flex-basis:100%}.timeline__item--Sale{border-left-color:var(--green)}.timeline__item--Return{border-left-color:var(--red)}.timeline__item--Recovery{border-left-color:#2563eb}.timeline__item--SignIn{border-left-color:var(--border-firm)}.ledger__actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:.6rem;display:flex}.reminder-buttons{flex-direction:column;align-items:flex-end;gap:.35rem;display:flex}.reminder-buttons__note{color:var(--ink-muted);font-size:.78rem}@media (width<=640px){.ledger__header{flex-direction:column}.ledger__actions{justify-content:flex-start}.reminder-buttons{align-items:flex-start}.send-menu__panel{left:0;right:auto}}.admin-section{margin-bottom:2.5rem}.admin-note{color:var(--ink-muted);max-width:42rem;font-size:.85rem}.backup-panel__header,.audit__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.backup-panel__header button{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600}.backup-panel__note{color:var(--ink-muted);max-width:42rem;font-size:.85rem}.backup-panel__empty{color:var(--ink-muted);font-style:italic}.backup-panel__warning{background:var(--red-soft);border-left:4px solid var(--red);border-radius:var(--radius-sm);color:#991b1b;padding:.85rem}.backup-panel__table td button{background:var(--amber);border-color:var(--amber);color:#fff;padding:.3rem .75rem;font-size:.78rem;font-weight:600}.audit__empty{color:var(--ink-muted);font-style:italic}.audit__table td:nth-child(5),.audit__table td:nth-child(6){font-variant-numeric:tabular-nums}.pick-list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin:0 0 1.5rem;padding:0;list-style:none;overflow:hidden}.pick-list li{border-bottom:1px solid var(--border)}.pick-list li:last-child{border-bottom:none}.pick-list button{text-align:left;background:0 0;border:none;border-radius:0;justify-content:space-between;align-items:center;width:100%;padding:.7rem .9rem;font-size:.9rem;display:flex}.pick-list button:hover{background:var(--blue-soft)}.pick-list__meta{color:var(--ink-muted);font-size:.78rem}.error-boundary{background:var(--surface);border:1px solid #fca5a5;border-top:4px solid var(--red);border-radius:var(--radius);max-width:34rem;box-shadow:var(--shadow-lift);margin:3rem auto;padding:1.75rem}.error-boundary h2{color:var(--red);margin-top:0}.error-boundary button{background:var(--blue);border-color:var(--blue);color:#fff;margin:.5rem 0 1rem}.error-boundary details{color:var(--ink-muted);font-size:.82rem}.error-boundary pre{white-space:pre-wrap;word-break:break-word;background:var(--surface-alt);border-radius:var(--radius-sm);padding:.6rem}@media (width<=1100px){.shell{grid-template-columns:68px 1fr}.shell__nav:before{content:"M";text-align:center;padding:.6rem 0 1rem;font-size:1.3rem}.shell__nav a{justify-content:center;gap:0;padding:.7rem 0;font-size:0}.shell__nav a:before{font-size:1.2rem}.dashboard__kpis{grid-template-columns:repeat(auto-fill,minmax(11rem,1fr))}}@media (width<=780px){.shell{grid-template-columns:1fr;grid-template-areas:"header""nav""main"}.shell__nav{flex-flow:wrap;height:auto;padding:.5rem;position:static;overflow:visible}.shell__nav:before{display:none}.shell__nav a{gap:.4rem;padding:.5rem .7rem;font-size:.8rem}.shell__header{flex-direction:column;align-items:flex-start;gap:.5rem;height:auto;padding:.85rem 1rem}.shell__main{padding:1rem}.pos__totals{flex-direction:column}.pos__summary{width:100%;margin-left:0}.ledger__summary{grid-template-columns:1fr}.data-table,.pos__cart,.ledger__table,.audit__table,.backup-panel__table{display:block;overflow-x:auto}}.pos__sale-type{border:1px solid var(--line);border-left:4px solid var(--blue);background:var(--surface);border-radius:10px;flex-wrap:wrap;align-items:center;gap:16px;margin:0 0 12px;padding:10px 14px;display:flex}.pos__sale-type legend{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:0 6px;font-size:12px;font-weight:600}.pos__sale-type .radio{cursor:pointer;align-items:center;gap:6px;font-weight:600;display:inline-flex}.pos__sale-type .field__hint{margin-left:auto}.link-button{color:var(--blue);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.link-button:hover{color:var(--blue-strong,var(--blue))}.data-table tfoot th,.data-table tfoot td{border-top:2px solid var(--line);font-weight:700}.page-header__actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.view-toggle{border:1px solid var(--border-firm);border-radius:var(--radius-sm);display:inline-flex;overflow:hidden}.view-toggle button{background:var(--surface);color:var(--ink-soft);border:0;border-radius:0;padding:.5rem .9rem;font-weight:600}.view-toggle button:hover:not(:disabled){background:var(--surface-alt)}.view-toggle button[aria-pressed=true]{background:var(--green);color:#fff}.product-picture{aspect-ratio:1;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-alt);width:100%;display:block}.product-picture--empty{border:1px dashed var(--border-firm);background:var(--surface-alt);flex-direction:column;justify-content:center;align-items:center;gap:.4rem;display:flex}.product-picture--empty:before{content:"📦";opacity:.45;font-size:1.8rem}.product-picture__caption{color:var(--ink-muted);font-size:.8rem}.product-detail__picture{aspect-ratio:4/3;max-width:22rem}.product-detail__picture.product-picture--empty:before{font-size:2.4rem}.product-grid{grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:1rem;margin:1rem 0 0;padding:0;list-style:none;display:grid}.product-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:100%;box-shadow:var(--shadow);text-align:left;cursor:pointer;font:inherit;color:inherit;flex-direction:column;gap:.35rem;padding:.75rem;display:flex}.product-card:hover{box-shadow:var(--shadow-lift);border-color:var(--border-firm)}.product-card__name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.product-card__meta{color:var(--ink-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.product-card__price{color:var(--green);font-weight:700}.product-card__stock{color:var(--ink-soft);align-items:center;gap:.4rem;font-size:.85rem;display:flex}.product-detail{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-width:28rem;box-shadow:var(--shadow-lift);flex-direction:column;margin-top:1rem;padding:0 1.25rem 1.25rem;display:flex}.product-detail__header{border-radius:var(--radius) var(--radius) 0 0;background:var(--teal);color:#fff;justify-content:space-between;align-items:center;margin:0 -1.25rem 1rem;padding:.75rem 1.25rem;display:flex}.product-detail__header h3{margin:0;font-size:.95rem}.product-detail__header button{color:#fff;background:#ffffff26;border-color:#fff6}.product-detail__header button:hover:not(:disabled){background:#ffffff47}.product-detail__facts{grid-template-columns:auto 1fr;gap:.5rem 1rem;margin-top:1rem;display:grid}.product-detail__facts dt{color:var(--ink-muted);font-size:.85rem}.product-detail__facts dd{margin:0;font-weight:600}.product-detail__actions{border-top:1px solid var(--border);gap:.6rem;margin-top:1.25rem;padding-top:1rem;display:flex}.product-detail__sell{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}.product-detail__sell:hover:not(:disabled){background:var(--green-deep)}.product-detail__actions button:not(.product-detail__sell):first-of-type{background:var(--blue);border-color:var(--blue);color:#fff}.product-detail__actions button:not(.product-detail__sell):first-of-type:hover:not(:disabled){background:var(--blue-deep)}.product-detail__actions button:last-child:not(.product-detail__sell){background:var(--red);border-color:var(--red);color:#fff}.product-detail__actions button:last-child:not(.product-detail__sell):hover:not(:disabled){background:var(--red-deep)}.pos__results{grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.75rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.pos__result{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:.3rem;padding:.7rem;display:flex}.pos__result-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.pos__result-meta{color:var(--ink-muted);font-size:.78rem}.pos__result-price{color:var(--green);font-weight:700}.pos__result-stock{color:var(--ink-soft);font-size:.8rem}.pos__result button{background:var(--green);border-color:var(--green);color:#fff;margin-top:.25rem;padding:.4rem;font-weight:600}.pos__result button:hover:not(:disabled){background:var(--green-deep)}.supplier-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin:1rem 0;padding:0 1.25rem 1.25rem}.supplier-form h3{border-radius:var(--radius) var(--radius) 0 0;background:var(--blue);color:#fff;margin:0 -1.25rem .75rem;padding:.75rem 1.25rem;font-size:.95rem}.supplier-form__group{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:0 1rem;display:grid}.supplier-form__payment{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);margin-top:1rem;padding:.25rem 1rem 1rem}.supplier-form__payment legend{color:var(--ink-soft);padding:0 .4rem;font-size:.85rem;font-weight:600}.supplier-form__actions{gap:.6rem;margin-top:1.25rem;display:flex}.supplier-form__actions button[type=submit]{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}.supplier-form__actions button[type=submit]:hover:not(:disabled){background:var(--green-deep)}.pos__proof{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.75rem;padding-top:.75rem;display:flex}.pos__proof label{color:var(--ink-soft);font-size:.85rem;font-weight:600}.pos__proof-ok{color:var(--green);font-size:.85rem;font-weight:600}.pos__proof-failed{color:var(--red);font-size:.85rem;font-weight:600}.cart-badge{color:#fff;cursor:pointer;white-space:nowrap;background:#0f7b3f;border:none;border-radius:999px;padding:.5rem 1rem;font-weight:600}.cart-badge:hover{background:#0c6533}.pos__browse{margin-left:.5rem}.kpi__note{color:#6b7280;margin-top:.25rem;font-size:.8rem;display:block}.share-buttons{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.75rem;display:flex}.share-buttons__number{min-width:12rem;margin:0}.share-buttons__hint,.share-buttons__expiry{color:#6b7280;flex-basis:100%;font-size:.8rem}.share-links{margin-top:.5rem}.share-links__list{gap:.5rem;margin:.5rem 0 0;padding:0;list-style:none;display:grid}.share-links__list li{border:1px solid #e5e7eb;border-radius:6px;gap:.15rem;padding:.5rem;font-size:.85rem;display:grid}.share-links__meta{color:#6b7280;font-size:.8rem}.day-close{grid-template-columns:1fr auto;gap:.35rem 1.5rem;max-width:28rem;margin:1rem 0;display:grid}.day-close dt{color:#374151}.day-close__total{border-top:1px solid #d1d5db;padding-top:.5rem;font-weight:700}.day-close__difference{color:#065f46;background:#ecfdf5;border-radius:6px;max-width:28rem;padding:.6rem .8rem;font-weight:600}.day-close__difference--off{color:#991b1b;background:#fef2f2}.day-close__closed{color:#4b5563}.day-close__note{font-style:italic}.shell__nav .shell__group-toggle{border-radius:var(--radius-sm);color:#ffffff85;letter-spacing:.06em;text-transform:uppercase;text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;margin-top:.35rem;padding:.55rem .75rem;font-size:.72rem;font-weight:700;transition:background .12s,color .12s;display:flex}.shell__nav .shell__group-toggle:hover:not(:disabled){color:#fff;background:#ffffff14}.shell__nav .shell__group-toggle:focus-visible{outline-offset:-2px;color:#fff;outline:2px solid #8b83f5}.shell__nav .shell__group-toggle:after{content:"⌄";font-size:.95rem;line-height:1;transition:transform .15s;transform:translateY(-2px)}.shell__nav .shell__group-toggle[aria-expanded=true]:after{transform:translateY(1px)rotate(180deg)}.shell__group-items{border-left:1px solid #ffffff1f;flex-direction:column;margin-left:.6rem;padding-left:.4rem;animation:.18s ease-out shell-group-open;display:flex}@keyframes shell-group-open{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.kpi,.filters,.inline-form,.data-table,.empty-state,.product-form,.purchase-form,.expense-form,.return-form,button{transition:background .15s,border-color .15s,box-shadow .2s,transform .15s}.kpi{position:relative;overflow:hidden}.kpi:after{content:"";background:linear-gradient(90deg, var(--blue) 0%, #6d5ef0 100%);opacity:.85;height:3px;position:absolute;inset:0 0 auto}.kpi:hover{box-shadow:var(--shadow-hover);border-color:#d6dcea;transform:translateY(-2px)}.dashboard__kpis .kpi:first-child:after{background:linear-gradient(90deg,#4f46e5,#6d5ef0)}.dashboard__kpis .kpi:nth-child(2):after{background:linear-gradient(90deg,#ea9a0b,#f7b93c)}.dashboard__kpis .kpi:nth-child(3):after{background:linear-gradient(90deg,#0d9488,#2bc0b0)}.dashboard__kpis .kpi:nth-child(4):after{background:linear-gradient(90deg,#7c3aed,#a273f5)}.dashboard__kpis .kpi:nth-child(5):after,.dashboard__kpis .kpi:nth-child(6):after{background:linear-gradient(90deg,#15a05c,#34c27c)}.dashboard__kpis .kpi:nth-child(7):after{background:linear-gradient(90deg,#ea9a0b,#f7b93c)}.dashboard__kpis .kpi:nth-child(8):after{background:linear-gradient(90deg,#4f46e5,#6d5ef0)}.dashboard__kpis .kpi:nth-child(9):after{background:linear-gradient(90deg,#e0393e,#f06b6f)}.dashboard__kpis .kpi:nth-child(10):after{background:linear-gradient(90deg,#4f46e5,#8b83f5)}.kpi:before{box-shadow:inset 0 0 0 1px #111a2e0d}.product-form h2{background:linear-gradient(135deg,#0d9488 0%,#14b8a6 100%)}.purchase-form h2{background:linear-gradient(135deg, var(--blue) 0%, #6d5ef0 100%)}.expense-form h2{background:linear-gradient(135deg,#7c3aed 0%,#9968f7 100%)}.return-form h2{background:linear-gradient(135deg,#ea9a0b 0%,#f7b93c 100%)}.data-table thead th,.pos__cart thead th,.ledger__table thead th,.audit__table thead th,.backup-panel__table thead th,.return-form__lines thead th{background:linear-gradient(135deg, var(--rail) 0%, #1f2b4a 100%)}.data-table tbody tr,.ledger__table tbody tr,.pos__cart tbody tr{transition:background .12s,box-shadow .12s}.data-table tbody tr:hover,.pos__cart tbody tr:hover,.ledger__table tbody tr:hover{background:var(--blue-soft);box-shadow:inset 3px 0 0 var(--blue)}.form-actions button[type=submit],.form-actions button:first-child,.page-header button,.inline-form button{box-shadow:0 1px 2px #111a2e14,0 4px 12px #111a2e1a}.form-actions button[type=submit],.form-actions button:first-child,.page-header button{background:linear-gradient(135deg, var(--green) 0%, #22b86d 100%);border-color:var(--green-deep)}.form-actions button[type=submit]:hover:not(:disabled),.form-actions button:first-child:hover:not(:disabled),.page-header button:hover:not(:disabled){background:linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);transform:translateY(-1px)}.inline-form button{background:linear-gradient(135deg, var(--blue) 0%, #6d5ef0 100%);border-color:var(--blue-deep)}.inline-form button:hover:not(:disabled){background:linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);transform:translateY(-1px)}.form-actions button[type=button]:last-child:not(:only-child){background:linear-gradient(135deg, var(--red) 0%, #ef5a5f 100%);border-color:var(--red-deep)}.form-actions button[type=button]:last-child:not(:only-child):hover:not(:disabled){background:linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%);transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.dashboard__periods{background:var(--surface-alt);box-shadow:var(--shadow)}.dashboard__periods button.is-active{background:linear-gradient(135deg, var(--blue) 0%, #6d5ef0 100%);box-shadow:0 2px 8px var(--blue-glow)}.dashboard__periods button:hover:not(:disabled):not(.is-active){background:var(--blue-soft);color:var(--blue)}input,select,textarea{background:var(--surface-alt);transition:background .15s,border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{background:var(--surface);box-shadow:0 0 0 4px var(--blue-ring)}input:hover:not(:disabled):not(:focus),select:hover:not(:disabled):not(:focus),textarea:hover:not(:disabled):not(:focus){border-color:var(--ink-muted)}.badge{box-shadow:0 1px 2px #111a2e0f}.form-error,.form-success,.report-total,.purchase-form__notice,.return-form__notice{box-shadow:var(--shadow);border-left-width:4px}.shell__header{position:relative;box-shadow:0 1px 3px #111a2e0d}.shell__header:after{content:"";background:linear-gradient(90deg, var(--blue) 0%, #6d5ef0 40%, transparent 100%);opacity:.55;height:2px;position:absolute;inset:auto 0 0}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}.kpi:hover,button:hover:not(:disabled),button:active:not(:disabled){transform:none}}.data-table--centred thead th,.data-table--centred tbody td,.data-table--centred th.numeric,.data-table--centred td.numeric{text-align:center}.data-table--centred td.numeric{font-variant-numeric:tabular-nums}.data-table--centred td button{margin:0 .15rem}.brand-categories{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--blue);border-radius:var(--radius);box-shadow:var(--shadow-lift);margin:1rem 0;padding:1.25rem}.brand-categories h3{margin-top:0}.brand-categories__list{background:var(--surface-alt);border-radius:var(--radius-sm);grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));gap:.35rem 1rem;margin:.85rem 0;padding:.85rem;display:grid}.brand-categories__list .checkbox{border-radius:var(--radius-sm);cursor:pointer;margin:0;padding:.35rem .5rem;transition:background .12s}.brand-categories__list .checkbox:hover{background:var(--blue-soft);color:var(--blue)}.brand-categories__list .checkbox input{cursor:pointer}.purchase-form__prices{border:1px solid var(--border);border-left:4px solid var(--teal);border-radius:var(--radius-sm);background:var(--surface-alt);margin:1rem 0 0;padding:.85rem 1rem 1rem}.purchase-form__prices legend{color:var(--ink-soft);letter-spacing:.02em;padding:0 .4rem;font-size:.82rem;font-weight:700}.purchase-form__prices .field:first-of-type{margin-top:.25rem}.purchase-form__prices input{background:var(--surface)}.button--primary{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600}.button--primary:hover:not(:disabled){background:var(--blue-deep);border-color:var(--blue-deep)}.segmented{border:1px solid var(--border-firm);border-radius:var(--radius);margin:.25rem 0 .6rem;display:inline-flex;overflow:hidden}.segmented__option{cursor:pointer;align-items:center;gap:.4rem;padding:.5rem .9rem;font-weight:500;display:inline-flex}.segmented__option+.segmented__option{border-left:1px solid var(--border-firm)}.segmented__option input{margin:0}.segmented__option.is-active{background:var(--blue-soft);color:var(--blue-deep);font-weight:600}.checkout__walkin-debt{border-left:4px solid var(--amber,#d97706);background:color-mix(in srgb, var(--amber,#d97706) 8%, transparent);border-radius:var(--radius);margin-top:.6rem;padding:.6rem .8rem}.checkout__owing{color:var(--red);font-weight:700}.badge--udhaar{background:var(--blue-soft);color:var(--blue-deep);border:1px solid var(--blue);font-weight:600}.badge--ok{background:color-mix(in srgb, var(--green) 14%, transparent);color:var(--green)}.udhaar-status{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin:.75rem 0;padding:.6rem .8rem;display:flex}.udhaar-status--on{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.udhaar-status__actions{flex-wrap:wrap;gap:.5rem;margin-left:auto;display:inline-flex}.udhaar-form{gap:.6rem;max-width:40rem;margin:.75rem 0 1.25rem;display:grid}.id-card-sides{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.75rem;display:grid}.id-card-side__preview{object-fit:contain;border:1px solid var(--border);border-radius:var(--radius);background:#f4f4f5;width:100%;max-height:10rem}.id-card-viewer{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.75rem;display:grid}.id-card-viewer figure{margin:0}.id-card-viewer figcaption{text-align:center;color:var(--ink-muted);font-size:.85rem}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;display:flex}.stat-tiles{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.75rem;margin:.75rem 0 1rem;display:grid}.stat-tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:.2rem;padding:.85rem 1rem;display:flex}.stat-tile__label{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.8rem}.stat-tile__value{font-size:1.35rem}.stat-tile--alert{border-color:var(--red)}.stat-tile--alert .stat-tile__value{color:var(--red)}.recovery-list{gap:.75rem;display:grid}.recovery-card{background:var(--surface);border:1px solid var(--border);border-left:5px solid var(--amber);border-radius:var(--radius);box-shadow:var(--shadow);gap:.5rem;padding:.9rem 1rem;display:grid}.recovery-card--overdue{border-left-color:var(--red)}.recovery-card__head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.recovery-card__head h3{margin:0 0 .2rem}.recovery-card__meta{color:var(--ink-muted);flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.85rem;display:inline-flex}.recovery-card__amount{color:var(--red);white-space:nowrap;font-size:1.3rem}.recovery-card__when{color:var(--ink-muted);flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;font-size:.85rem;display:flex}.recovery-card__actions{flex-wrap:wrap;align-items:flex-start;gap:.5rem;display:flex}.recovery-card__bills{margin-top:.25rem}@media (width<=640px){.recovery-card__head{flex-direction:column}.recovery-card__amount{font-size:1.5rem}}.proof-field{border:1px dashed var(--border-firm);border-radius:var(--radius);background:color-mix(in srgb, var(--blue-soft) 60%, transparent);padding:.55rem .7rem}.purchase-bill{grid-template-columns:minmax(0,1fr) 17rem;align-items:start;gap:1rem;margin:.75rem 0 1.5rem;display:grid}.purchase-bill__main{gap:.85rem;min-width:0;display:grid}.purchase-bill__main>h3{margin:0}.purchase-bill__step{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:.85rem 1rem}.purchase-bill__step h4{align-items:center;gap:.5rem;margin:0 0 .6rem;display:flex}.step-number{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:1.6rem;height:1.6rem;font-size:.85rem;font-weight:700;display:inline-grid}.purchase-bill__row{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.6rem .9rem;display:grid}.bill-line-form{border:1px dashed var(--border-firm);border-radius:var(--radius);background:color-mix(in srgb, var(--blue-soft) 45%, transparent);margin-top:.6rem;padding:.75rem}.bill-line-form h4{margin:0 0 .5rem}.bill-line-form__grid{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.6rem .9rem;display:grid}.purchase-bill__summary{background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--blue);border-radius:var(--radius);box-shadow:var(--shadow);gap:.6rem;padding:1rem;display:grid;position:sticky;top:1rem}.purchase-bill__summary dl{grid-template-columns:1fr auto;gap:.35rem .75rem;margin:0;display:grid}.purchase-bill__summary dt{color:var(--ink-muted)}.purchase-bill__summary dd{text-align:right;margin:0;font-weight:700}.purchase-bill__summary button{width:100%;padding:.7rem;font-size:1rem}.modal__panel.bill-dialog{flex-direction:column;gap:.8rem;width:min(46rem,100vw - 2rem);min-width:0;max-width:none;max-height:calc(100vh - 2rem);animation:.16s ease-out bill-dialog-in;display:flex}@keyframes bill-dialog-in{0%{opacity:0;transform:translateY(8px)scale(.98)}}@media (prefers-reduced-motion:reduce){.modal__panel.bill-dialog{animation:none}}.bill-dialog__head{grid-template-columns:1fr auto auto;align-items:start;gap:.75rem;display:grid}.bill-dialog__head .modal__hint{margin:.15rem 0 0}.bill-dialog__close{cursor:pointer;width:2rem;height:2rem;color:var(--ink-muted);background:0 0;border:none;border-radius:50%;font-size:1.5rem;line-height:1}.bill-dialog__close:hover{background:var(--surface-alt);color:var(--ink)}.bill-dialog__figures{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.6rem;margin:0;display:grid}.bill-dialog__figures>div{background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.55rem .75rem}.bill-dialog__figures dt{text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted);font-size:.72rem}.bill-dialog__figures dd{font-variant-numeric:tabular-nums;margin:.1rem 0 0;font-size:1.1rem;font-weight:700}.bill-dialog__figures .is-owing{background:var(--red-soft);border-color:#0000}.bill-dialog__figures .is-owing dd{color:var(--red-deep)}.bill-dialog__figures .is-settled{background:var(--green-soft);border-color:#0000}.bill-dialog__figures .is-settled dd{color:var(--green-deep)}.bill-dialog__meter{background:var(--border);border-radius:4px;height:8px;overflow:hidden}.bill-dialog__meter i{background:var(--green);height:100%;transition:width .2s;display:block}.bill-dialog__note{border-left:3px solid var(--border-firm);color:var(--ink-soft);margin:0;padding:.5rem .75rem;font-size:.88rem}.bill-dialog__tabs{border-bottom:1px solid var(--border);gap:.25rem;display:flex}.bill-dialog__tabs button{color:var(--ink-muted);cursor:pointer;font:inherit;background:0 0;border:none;border-bottom:3px solid #0000;padding:.5rem .8rem}.bill-dialog__tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--blue);font-weight:600}.bill-dialog__body{min-height:8rem;overflow:auto}.bill-dialog__body tfoot th{text-align:right}.bill-dialog__returned{margin-left:.5rem}.bill-dialog__payments{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.bill-dialog__payments li{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:.8rem;padding:.6rem 0;display:flex}.bill-dialog__payments li:first-child{border-top:none}.bill-dialog__payments li>div{flex-direction:column;display:flex}.bill-dialog__photo{flex-direction:column;align-items:flex-start;gap:.5rem;padding:.5rem 0;display:flex}@media (width<=640px){.bill-dialog__head{grid-template-columns:1fr auto}.bill-dialog__head .badge{grid-row:2}}@media (width<=900px){.purchase-bill{grid-template-columns:1fr}.purchase-bill__summary{position:static}}.pos__result-fallback{justify-self:start;font-size:.72rem}.customer-type{flex-wrap:wrap;align-items:center;gap:.6rem;margin:.5rem 0 .75rem;display:flex}.customer-type__label{color:var(--ink-muted);font-size:.85rem}.refund-reference{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.6rem .9rem;display:grid}.dashboard__kpis--plain .kpi:before{content:none}.dashboard__kpis--plain .kpi{padding-left:1rem}.lens-chips{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem;margin:.8rem 0;display:grid}.lens-chip{text-align:left;background:var(--surface);color:var(--ink);border:1px solid var(--border-firm);border-radius:var(--radius-sm);cursor:pointer;flex-direction:column;align-items:flex-start;gap:.1rem;min-width:0;padding:.6rem .8rem;display:flex}.lens-chip:hover{box-shadow:var(--shadow-hover)}.lens-chip[aria-pressed=true]{border-color:var(--blue);background:var(--blue-soft);box-shadow:inset 0 0 0 1px var(--blue)}.lens-chip--money{border-style:dashed;border-color:var(--blue)}.lens-chip--money[aria-pressed=true]{border-style:solid}.lens-chip__name{align-items:center;gap:.4rem;font-weight:600;display:flex}.lens-chip__note{color:var(--ink-muted);font-size:.72rem}.lens-chip__figure{font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:700}.lens-chip__flags{background:var(--red-soft);min-width:1.15rem;color:var(--red-deep);text-align:center;border-radius:999px;padding:0 .3rem;font-size:.7rem;font-weight:700}.attention{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--amber);border-radius:var(--radius-sm);margin-bottom:.9rem;padding:.7rem .9rem}.attention--clear{border-left-color:var(--green)}.attention ul{flex-direction:column;gap:.35rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.attention li{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;gap:.2rem .8rem;display:flex}.attention__pill{background:var(--amber-soft);color:var(--amber-deep);border-radius:999px;margin-right:.5rem;padding:0 .55rem;font-size:.72rem;font-weight:600;display:inline-block}.attention__pill--bad{background:var(--red-soft);color:var(--red-deep)}.lens-links{flex-wrap:wrap;align-items:baseline;gap:.4rem 1rem;margin:.7rem 0;display:flex}.lens-links small{color:var(--ink-muted);margin-left:auto}.lens-cols{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:.9rem;margin-bottom:.9rem;display:grid}.lens-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);min-width:0;margin-bottom:.9rem;padding:.8rem 1rem}.lens-cols .lens-panel{margin-bottom:0}.lens-panel h3{margin:0 0 .4rem;font-size:.95rem}.lens-panel__head{justify-content:space-between;align-items:baseline;gap:.6rem;display:flex}.lens-line{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;justify-content:space-between;gap:.8rem;padding:.3rem 0;display:flex}.lens-line:first-child{border-top:none}.lens-line--total{border-top:2px solid var(--ink);font-weight:700}.lens-line__out{color:var(--red)}.lens-meter{background:var(--border);border-radius:3px;height:6px;margin-bottom:.2rem;overflow:hidden}.lens-meter i{background:var(--blue);height:100%;display:block}.lens-timeline{margin:0;padding:0;list-style:none}.lens-timeline li{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;grid-template-columns:9rem 1fr auto;gap:.6rem;padding:.35rem 0;display:grid}.lens-timeline li:first-child{border-top:none}.lens-timeline__time{color:var(--ink-muted);font-size:.8rem}@media (width<=640px){.lens-timeline li{grid-template-columns:1fr auto}.lens-timeline__time{grid-column:1/-1}}.table-scroll{overflow-x:auto}.checkout__settle,.checkout__paid-by{gap:.5rem;margin-bottom:.6rem;display:grid}.checkout__paid-by{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr))}.checkout__question{grid-column:1/-1;margin:0;font-size:.9rem;font-weight:600}.checkout__option{border:1px solid var(--border-firm);border-radius:var(--radius-sm);cursor:pointer;align-items:flex-start;gap:.6rem;padding:.6rem .75rem;display:flex}.checkout__option:hover{border-color:var(--blue)}.checkout__option.is-active{border-color:var(--blue);background:var(--blue-soft);box-shadow:inset 0 0 0 1px var(--blue)}.checkout__option span{flex-direction:column;display:flex}.checkout__option small{color:var(--ink-muted)}.recovery-card__owed{text-align:right;flex-direction:column;align-items:flex-end;display:flex}.recovery-card__of{color:var(--ink-muted);font-size:.75rem}.recovery-summary{color:var(--ink-soft);font-variant-numeric:tabular-nums;margin:0 0 .6rem}.my-products{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);margin:.9rem 0;padding:.8rem 1rem;overflow-x:auto}.my-products__head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.4rem 1rem;margin-bottom:.5rem;display:flex}.my-products__head h3{margin:0;font-size:1rem}.my-products__total{font-variant-numeric:tabular-nums;font-weight:700}.my-payments{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);margin:.9rem 0;padding:.8rem 1rem}.my-payments h3{margin:0 0 .6rem;font-size:1rem}.my-payments__split{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.6rem;display:grid}.my-payments__box{border-radius:var(--radius-sm);flex-direction:column;gap:.1rem;padding:.6rem .8rem;display:flex}.my-payments__box span{text-transform:uppercase;letter-spacing:.04em;color:var(--ink-soft);font-size:.75rem}.my-payments__box strong{font-variant-numeric:tabular-nums;font-size:1.25rem}.my-payments__box small{color:var(--ink-muted)}.my-payments__box--cash{background:var(--green-soft)}.my-payments__box--online{background:var(--blue-soft)}.my-payments__box--online strong{color:var(--blue-deep)}.my-payments__methods{margin:.6rem 0 .3rem;padding:0;list-style:none}.my-payments__methods li{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;justify-content:space-between;padding:.3rem 0;display:flex}.my-payments__methods li:first-child{border-top:none}.badge--online{background:var(--blue-soft);color:var(--blue-deep);border:1px solid var(--blue);font-weight:600}.salesman-commission{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);margin:1rem 0;padding:.8rem 1rem}.salesman-commission__head{justify-content:space-between;align-items:baseline;gap:.6rem;display:flex}.salesman-commission__head h3{margin:0 0 .4rem;font-size:1rem}.stock-lines__commission{align-items:center;gap:.4rem;font-size:.85rem;display:inline-flex}.stock-lines__commission input{width:6rem}:root{--page:#fafbfe;--surface:#fff;--surface-alt:#f9fafb;--border:#e6eaed;--border-firm:#d3d5d7;--ink:#212b36;--ink-soft:#646b72;--ink-muted:#8a9097;--rail:#092c4c;--rail-deep:#061f36;--rail-ink:#646b72;--blue:#fe9f43;--blue-deep:#ec8a2b;--blue-soft:#fff6ee;--blue-ring:#fe9f4338;--blue-glow:#fe9f4352;--green:#3eb780;--green-deep:#2f9a69;--green-soft:#e8f7f0;--amber:#f4a017;--amber-deep:#d68a0c;--amber-soft:#fff8e6;--red:red;--red-deep:#d40000;--red-soft:#ffeded;--purple:#6938ef;--teal:#0e9384;--radius:8px;--radius-sm:5px;--shadow:0 1px 2px #212b360a;--shadow-lift:0 4px 16px #212b3614;--shadow-hover:0 4px 14px #212b3612;font-family:Nunito,Segoe UI,system-ui,-apple-system,sans-serif}body{background:var(--page);color:var(--ink-soft)}h1,h2,h3{color:var(--ink);font-weight:700}h2{font-size:1.2rem}.shell__header{background:var(--surface);border-bottom:1px solid var(--border);height:60px;box-shadow:none}.shell__header:after{content:none}.shell__header strong{color:var(--ink);font-weight:800}.shell__user button{background:var(--rail);border-color:var(--rail);color:#fff;font-weight:600}.shell__user button:hover:not(:disabled){background:var(--red);border-color:var(--red);color:#fff}.shell__nav{background:var(--surface);border-right:1px solid var(--border);scrollbar-color:#d3d5d7 transparent}.shell__nav::-webkit-scrollbar-thumb{background:#d3d5d7}.shell__nav::-webkit-scrollbar-thumb:hover{background:#bcbfc3}.shell__nav:before{background:linear-gradient(90deg, var(--rail) 0%, var(--rail) 55%, var(--blue) 100%);color:#0000;border-bottom:1px solid var(--border);-webkit-background-clip:text;background-clip:text;font-size:1.05rem}.shell__nav a{color:var(--ink-soft);font-size:.88rem;font-weight:600}.shell__nav a:hover{background:var(--surface-alt);color:var(--blue-deep)}.shell__nav a.active{background:var(--blue-soft);color:var(--blue-deep);box-shadow:none;font-weight:700}.shell__nav .shell__group-toggle{color:var(--ink);letter-spacing:.04em;font-size:.74rem}.shell__nav .shell__group-toggle:hover:not(:disabled){background:var(--surface-alt);color:var(--blue-deep)}.shell__nav .shell__group-toggle[aria-expanded=true]{color:var(--ink)}.shell__nav .shell__group-toggle:focus-visible{outline:2px solid var(--blue);color:var(--blue-deep)}.shell__group-items{border-left:1px solid var(--border)}button{border-color:var(--border);color:var(--ink);font-weight:600}button:hover:not(:disabled){background:var(--surface-alt)}.button--primary,.form-actions button:first-child,.login-form button,.page-header button,.inline-form button,.error-boundary button{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:none}.button--primary:hover:not(:disabled),.form-actions button:first-child:hover:not(:disabled),.login-form button:hover:not(:disabled),.page-header button:hover:not(:disabled),.inline-form button:hover:not(:disabled){background:var(--blue-deep);border-color:var(--blue-deep);color:#fff;transform:none}.form-actions button[type=button]:last-child:not(:only-child){background:var(--rail);border-color:var(--rail);color:#fff}.form-actions button[type=button]:last-child:not(:only-child):hover:not(:disabled){background:var(--rail-deep);border-color:var(--rail-deep)}input,select,textarea{border-color:var(--border)}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-ring);outline:none}.data-table thead th,.pos__cart thead th,.ledger__table thead th,.audit__table thead th,.backup-panel__table thead th,.return-form__lines thead th{background:var(--surface-alt);color:var(--ink);letter-spacing:0;text-transform:none;border-bottom:1px solid var(--border);font-size:.82rem;font-weight:700}.data-table tbody tr:nth-child(2n),.ledger__table tbody tr:nth-child(2n),.audit__table tbody tr:nth-child(2n),.backup-panel__table tbody tr:nth-child(2n){background:var(--surface)}.data-table tbody tr:hover,.pos__cart tbody tr:hover,.ledger__table tbody tr:hover{background:var(--surface-alt)}.data-table td,.pos__cart td,.ledger__table td{color:var(--ink-soft)}.data-table td button{border-radius:var(--radius-sm)}.badge{border-radius:4px;padding:.15rem .45rem;font-size:.68rem;font-weight:700}.badge--ok{background:var(--green);color:#fff;border:none}.badge--out{background:var(--red);color:#fff;border:none}.badge--low{background:var(--amber);color:#fff;border:none}.badge--udhaar{background:var(--blue-soft);color:var(--blue-deep);border:1px solid var(--blue)}.badge--online{color:#155eef;background:#eaf1ff;border:1px solid #155eef}.kpi,.team-card,.lens-panel,.lens-chip,.attention,.my-products,.my-payments,.salesman-commission,.recovery-card,.modal__panel,.login-form{border-radius:var(--radius);border-color:var(--border);box-shadow:var(--shadow)}.kpi{background:var(--surface);border:1px solid var(--border)}.kpi:hover{box-shadow:var(--shadow-hover);transform:none}.kpi__label{color:var(--blue-deep);text-transform:none;letter-spacing:0;font-size:.82rem;font-weight:600}.kpi__value{color:var(--ink);font-size:1.3rem;font-weight:800}.dashboard__kpis .kpi:first-child{background:var(--blue);border-color:var(--blue)}.dashboard__kpis .kpi:nth-child(2){background:var(--rail);border-color:var(--rail)}.dashboard__kpis .kpi:first-child .kpi__label,.dashboard__kpis .kpi:first-child .kpi__value,.dashboard__kpis .kpi:first-child .kpi__note,.dashboard__kpis .kpi:nth-child(2) .kpi__label,.dashboard__kpis .kpi:nth-child(2) .kpi__value,.dashboard__kpis .kpi:nth-child(2) .kpi__note{color:#fff}.dashboard__kpis .kpi:first-child:before,.dashboard__kpis .kpi:nth-child(2):before{background:#ffffff2e}.dashboard__kpis .kpi:nth-child(n):after{background:var(--blue)}.dashboard__kpis .kpi:nth-child(3n):after{background:var(--green)}.dashboard__kpis .kpi:nth-child(4n):after{background:var(--rail)}.dashboard__kpis .kpi:first-child:after,.dashboard__kpis .kpi:nth-child(2):after{background:0 0}.kpi--good .kpi__value{color:var(--green)}.kpi--bad .kpi__value{color:var(--red)}.dashboard__periods{background:var(--surface);border:1px solid var(--border);box-shadow:none}.dashboard__periods button.is-active,.view-toggle button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:none}.dashboard__low-stock{background:var(--amber-soft);border-radius:var(--radius);border-color:#ffe3a8}.dashboard__low-stock h3{color:#9a5b00}.product-form h2,.purchase-form h2,.expense-form h2,.return-form h2{background:var(--rail);color:#fff}.lens-chip[aria-pressed=true]{background:var(--blue-soft);border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.modal{background:#092c4c73}.login-form h1{color:var(--ink);font-weight:800}.kpi{flex-direction:column;align-items:flex-start;gap:.35rem;padding:1.1rem 1.15rem}.kpi__value{overflow-wrap:anywhere;font-size:1.35rem;line-height:1.2}.kpi__note{color:var(--ink-muted);font-size:.78rem}.shell__nav .shell__group-toggle{text-transform:none;letter-spacing:0;font-size:.82rem;font-weight:800}input,select,textarea{color:var(--ink);background:#fff}input:disabled,select:disabled{background:var(--surface-alt)}
