:root{font-family:Tajawal,Cairo,system-ui,-apple-system,sans-serif;color:#0d1b2a;background:#f2f4f7;--brand-dark: #0d1b2a;--brand-deeper: #07131f;--brand-surface: #0d1b2a;--brand-navy: #0d1b2a;--brand-teal: #14b8a6;--brand-gold: #d4af37;--brand-light: #f2f4f7;--brand-mark-navy: #0d1b2a;--brand-mark-gold-light: #f2cf72;--brand-mark-gold: #d4af37;--brand-mark-gold-deep: #a9821c;--brand-mark-teal-light: #5ed8cc;--brand-mark-teal: #14b8a6;--brand-mark-teal-deep: #0f8278;--brand-mark-cutout: #ffffff;--brand-mark-lines: #ffffff;--brand-wordmark: #0d1b2a;--brand-surface-hover: #132b40;--on-brand: #ffffff;--primary: #0f766e;--primary-hover: #0b5f59;--primary-solid: #0f766e;--primary-solid-hover: #0b5f59;--on-primary: #ffffff;--primary-soft: #e7f8f5;--background: #f2f4f7;--surface: #ffffff;--surface-muted: #eef2f5;--surface-subtle: #f8fafc;--border: #dce3ea;--border-strong: #c7d0d9;--text: #0d1b2a;--text-muted: #5f6c7b;--text-soft: #82909e;--debt: #c75151;--debt-soft: #fff0f0;--debt-solid: #c75151;--debt-border: #efcaca;--debt-icon-surface: #f9dede;--payment: #0f8a78;--payment-soft: #e8f8f4;--payment-solid: #0f8a78;--payment-border: #b9e2d9;--payment-icon-surface: #d7f0ea;--on-semantic: #ffffff;--danger: #b84444;--danger-surface: #fff1f1;--danger-border: #efcaca;--success: var(--payment);--success-surface: var(--payment-soft);--focus-ring: #14b8a6;--info-surface: #edf6fb;--info-border: #cfe2ee;--info-text: #315d73;--warning-text: #7b5c16;--warning-surface: #fdf8e9;--warning-border: #ead48b;--control-surface: #f8fafc;--control-strong-surface: #eef2f6;--skeleton-base: #e6ebf0;--skeleton-highlight: #f8fafc;--chart-grid: #e3e8ee;--chart-zero: rgb(95 108 123 / 45%);--chart-area: rgb(20 184 166 / 9%);--auth-sheen: rgb(255 255 255 / 36%);--auth-page-start: #eaf0f4;--auth-page-end: #f8fafc;--auth-panel: rgb(255 255 255 / 96%);--auth-panel-border: #d7e0e7;--auth-panel-shadow: 0 24px 68px rgb(13 27 42 / 12%);--auth-tab-bg: #eef2f5;--auth-tab-border: #dce3ea;--auth-tab-active: #ffffff;--auth-tab-shadow: 0 3px 10px rgb(13 27 42 / 9%);--auth-input-bg: #f8fafc;--auth-input-focus-bg: #ffffff;--auth-input-border: #ccd6df;--auth-input-border-hover: #b7c4cf;--auth-input-focus: #0f766e;--auth-focus-ring: rgb(20 184 166 / 16%);--auth-placeholder: #7d8996;--auth-grid-opacity: .12;--header-avatar-bg: #e5eef3;--switcher-bg: #e9eef3;--bottom-nav-bg: rgb(255 255 255 / 96%);--scrollbar-thumb: #94a3b1;--scrollbar-thumb-hover: #647789;--overlay: rgb(7 19 31 / 52%);--navy-950: var(--text);--navy-900: #203247;--navy-800: #35495d;--navy-700: #526579;--navy-600: #6d7e8e;--navy-50: #edf2f6;--teal-800: var(--brand-dark);--teal-700: var(--primary);--teal-600: #0f8278;--teal-500: #14b8a6;--teal-200: #9fe0d7;--teal-50: #e7f8f5;--teal-25: #f2fbf9;--gold-500: #a9821c;--gold-100: #fbf4dc;--z-navigation: 450;--z-backdrop: 500;--z-dialog: 600;--z-sheet: 700;--z-toast: 900;--radius-sm: 10px;--radius-md: 14px;--radius-lg: 18px;--shadow-xs: 0 3px 10px rgb(13 27 42 / 5%);--shadow-sm: 0 12px 32px rgb(13 27 42 / 9%);--avatar-blue-bg: #e7eef5;--avatar-blue-text: #24445f;--avatar-rose-bg: #faeaea;--avatar-rose-text: #a94343;--avatar-mint-bg: #e3f7f3;--avatar-mint-text: #0f766e;--avatar-sand-bg: #faf4df;--avatar-sand-text: #80651b;font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=dark]{color:#f2f4f7;background:#07131f;--brand-dark: #f2f4f7;--brand-deeper: #ffffff;--brand-surface: #0d1b2a;--brand-wordmark: #f2f4f7;--brand-surface-hover: #17344b;--on-brand: #ffffff;--primary: #5fd6ca;--primary-hover: #84e2d8;--primary-solid: #11998a;--primary-solid-hover: #14aa99;--on-primary: #ffffff;--primary-soft: #103533;--background: #07131f;--surface: #0d1b2a;--surface-muted: #13283a;--surface-subtle: #091824;--border: #243a4b;--border-strong: #365064;--text: #f2f4f7;--text-muted: #a9b5c2;--text-soft: #7f90a0;--debt: #ef8585;--debt-soft: #3a2222;--debt-solid: #a94747;--debt-border: #613636;--debt-icon-surface: #3a2222;--payment: #63d2bd;--payment-soft: #10342f;--payment-solid: #11998a;--payment-border: #235e56;--payment-icon-surface: #123f39;--on-semantic: #ffffff;--danger: #f08b8b;--danger-surface: #382020;--danger-border: #613636;--success: var(--payment);--success-surface: var(--payment-soft);--focus-ring: #5fd6ca;--info-surface: #172b33;--info-border: #294653;--info-text: #a9cee0;--warning-text: #e5bd75;--warning-surface: #382f1e;--warning-border: #5b4928;--control-surface: #13283a;--control-strong-surface: #091824;--skeleton-base: #13283a;--skeleton-highlight: #1d3548;--chart-grid: #243a4b;--chart-zero: rgb(169 181 194 / 42%);--chart-area: rgb(20 184 166 / 12%);--auth-sheen: rgb(255 255 255 / 4%);--auth-page-start: #06101a;--auth-page-end: #0d1b2a;--auth-panel: rgb(13 27 42 / 97%);--auth-panel-border: #284154;--auth-panel-shadow: 0 26px 76px rgb(0 0 0 / 30%);--auth-tab-bg: #091824;--auth-tab-border: #243a4b;--auth-tab-active: #13283a;--auth-tab-shadow: 0 3px 12px rgb(0 0 0 / 18%);--auth-input-bg: #091824;--auth-input-focus-bg: #102336;--auth-input-border: #365064;--auth-input-border-hover: #4a6578;--auth-input-focus: #5fd6ca;--auth-focus-ring: rgb(20 184 166 / 20%);--auth-placeholder: #7f90a0;--auth-grid-opacity: .16;--header-avatar-bg: #173044;--switcher-bg: #091824;--bottom-nav-bg: rgb(13 27 42 / 96%);--scrollbar-thumb: #52697c;--scrollbar-thumb-hover: #7890a3;--overlay: rgb(0 0 0 / 58%);--navy-950: var(--text);--navy-900: #e2e8ee;--navy-800: #ced8e2;--navy-700: #b8c5d1;--navy-600: #9cabb9;--navy-50: #13283a;--teal-800: var(--brand-dark);--teal-700: var(--primary);--teal-600: #49c9bc;--teal-500: #5fd6ca;--teal-200: #245e59;--teal-50: #103533;--teal-25: #0c2827;--gold-500: #e0bc55;--gold-100: #3b3217;--shadow-xs: 0 3px 12px rgb(0 0 0 / 22%);--shadow-sm: 0 14px 34px rgb(0 0 0 / 28%);--avatar-blue-bg: #173044;--avatar-blue-text: #a7c5de;--avatar-rose-bg: #3a2424;--avatar-rose-text: #ef9b9b;--avatar-mint-bg: #103a36;--avatar-mint-text: #73d8ca;--avatar-sand-bg: #373019;--avatar-sand-text: #e0c56b}*{box-sizing:border-box}html{background:var(--background);scrollbar-color:var(--scrollbar-thumb) var(--surface-subtle);scrollbar-width:thin}body{margin:0;min-width:320px;min-height:100vh;background:var(--background);color:var(--text);line-height:1.5}h1,h2,h3,.page-header__title{font-family:Cairo,Tajawal,sans-serif}strong,[dir=ltr]{font-variant-numeric:tabular-nums}[dir=ltr]{unicode-bidi:isolate}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);white-space:nowrap}button,input,textarea,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button,a,input,textarea,select{outline-color:var(--focus-ring)}:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:var(--surface-subtle)}*::-webkit-scrollbar-thumb{border:2px solid var(--surface-subtle);border-radius:999px;background:var(--scrollbar-thumb)}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.app-shell{min-height:100dvh;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.app-content{width:min(100%,760px);margin:0 auto;padding:10px clamp(16px,4vw,26px) 36px}.page-header{margin-bottom:18px}.page-header__eyebrow{margin:0 0 5px;color:var(--text-muted);font-size:14px}.page-header__title{margin:0;color:var(--text);font-size:clamp(26px,6vw,32px);font-weight:700;letter-spacing:-.5px}.section{margin-top:28px}.section-title{margin:0 0 12px;font-size:18px;font-weight:800}.balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.balance-card{min-width:0;min-height:148px;padding:20px;border-radius:var(--radius-lg);color:var(--on-brand);box-shadow:0 10px 30px #0f172a17}.balance-card--usd{background:var(--brand-surface)}.balance-card--lbp{background:var(--primary-solid)}.balance-card__label{margin:0 0 8px;font-size:13px;opacity:.82}.balance-card__value{margin:0;font-size:clamp(20px,5vw,28px);font-weight:800;direction:ltr;text-align:right}.amount-fit-lg{font-size:.94em}.amount-fit-xl{font-size:.88em}.amount-fit-xxl{font-size:.82em}.customer-summary{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:inherit;font:inherit;text-align:right;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.customer-summary strong{display:block;margin-bottom:3px}.customer-summary span{color:var(--text-muted);font-size:14px}.customer-summary__count{color:var(--teal-700);font-size:20px;font-weight:800}.read-only-card{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.read-only-card strong{color:var(--navy-950)}.read-only-card span{color:var(--text-muted);font-size:13px;line-height:1.7}.empty-card{padding:24px;text-align:center;background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius-md)}.empty-card strong{display:block;color:var(--navy-950)}.empty-card span,.empty-card p{display:block;margin:5px 0 0;color:var(--text-muted);font-size:13px;line-height:1.6}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.zimma-brand{display:inline-flex;min-width:0;align-items:center;justify-content:center;gap:.42em;color:var(--brand-wordmark);line-height:1;white-space:nowrap}.zimma-brand__mark{display:block;flex:0 0 auto;filter:drop-shadow(0 6px 14px rgb(3 31 42 / 14%))}.zimma-brand__wordmark{display:block;overflow:hidden;color:var(--brand-wordmark);font-family:Cairo,Tajawal,sans-serif;font-weight:800;letter-spacing:-.055em;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.zimma-brand--xs{gap:5px}.zimma-brand--xs .zimma-brand__mark{width:30px;height:30px}.zimma-brand--xs .zimma-brand__wordmark{font-size:20px}.zimma-brand--sm{gap:6px}.zimma-brand--sm .zimma-brand__mark{width:38px;height:38px}.zimma-brand--sm .zimma-brand__wordmark{font-size:24px}.zimma-brand--md{gap:8px}.zimma-brand--md .zimma-brand__mark{width:48px;height:48px}.zimma-brand--md .zimma-brand__wordmark{max-width:145px;font-size:29px}.zimma-brand--lg{gap:10px}.zimma-brand--lg .zimma-brand__mark{width:66px;height:66px}.zimma-brand--lg .zimma-brand__wordmark{max-width:220px;font-size:38px}.zimma-brand--xl{gap:13px}.zimma-brand--xl .zimma-brand__mark{width:92px;height:92px}.zimma-brand--xl .zimma-brand__wordmark{max-width:min(62vw,280px);font-size:clamp(40px,9vw,54px)}@media(max-width:380px){.zimma-brand--xl .zimma-brand__mark{width:82px;height:82px}.zimma-brand--xl .zimma-brand__wordmark{font-size:42px}}.app-loading-screen{width:100%;display:grid;place-items:start stretch;overflow:hidden;background:var(--background);color:var(--text)}.app-loading-screen--screen{min-height:100dvh;padding:max(24px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}.app-loading-screen--page{min-height:clamp(470px,72dvh,720px);padding:8px 0 28px;background:transparent}.app-loading-skeleton{width:min(100%,760px);display:grid;gap:18px;margin:0 auto}.app-loading-skeleton__toolbar{display:grid;grid-template-columns:minmax(96px,1fr) auto;align-items:center;gap:14px}.app-loading-skeleton__title{width:min(48vw,230px);height:34px;border-radius:13px}.app-loading-skeleton__actions{display:grid;grid-template-columns:repeat(3,clamp(46px,12vw,82px));gap:10px}.app-loading-skeleton__actions>span{height:34px;border-radius:999px}.app-loading-skeleton__divider{height:1px;background:var(--border)}.app-loading-skeleton__chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.app-loading-skeleton__chips>span{height:44px;border-radius:16px}.app-loading-skeleton__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:dense;grid-auto-rows:clamp(112px,19vw,154px);gap:10px}.app-loading-skeleton__cards>span{min-width:0;border-radius:var(--radius-lg)}.app-loading-skeleton__cards>span:nth-child(1),.app-loading-skeleton__cards>span:nth-child(3),.app-loading-skeleton__cards>span:nth-child(4),.app-loading-skeleton__cards>span:nth-child(5),.app-loading-skeleton__cards>span:nth-child(6){grid-row:span 2}.app-loading-skeleton__block{background:linear-gradient(100deg,var(--skeleton-base) 22%,var(--skeleton-highlight) 42%,var(--skeleton-base) 62%);background-size:220% 100%;animation:zimma-skeleton-shimmer 1.25s ease-in-out infinite}@keyframes zimma-skeleton-shimmer{0%{background-position:110% 0}to{background-position:-110% 0}}@media(max-width:420px){.app-loading-screen--screen{padding-inline:max(14px,env(safe-area-inset-left))}.app-loading-screen--page{min-height:clamp(440px,70dvh,650px)}.app-loading-skeleton{gap:14px}.app-loading-skeleton__toolbar{gap:10px}.app-loading-skeleton__actions{grid-template-columns:repeat(3,clamp(40px,11vw,54px));gap:7px}.app-loading-skeleton__chips,.app-loading-skeleton__cards{gap:8px}.app-loading-skeleton__cards{grid-auto-rows:clamp(104px,31vw,132px)}}@media(prefers-reduced-motion:reduce){.app-loading-skeleton__block{animation:none;background:var(--skeleton-base)}}.home-page{display:grid;gap:14px}.home-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:2px 2px 0}.home-welcome h1,.home-welcome p{margin:0}.home-welcome h1{max-width:min(72vw,560px);font-size:clamp(19px,5vw,23px);font-weight:700;letter-spacing:-.025em;line-height:1.35;overflow-wrap:anywhere}.home-welcome p{margin-top:2px;color:var(--text-muted);font-size:11.5px}.home-welcome>span{color:var(--primary);font-size:11.5px;font-weight:700;white-space:nowrap}.ledger-hero{position:relative;overflow:hidden;padding:18px;border:1px solid rgb(255 255 255 / 10%);border-radius:var(--radius-lg);background:radial-gradient(circle at 12% 8%,rgb(20 184 166 / 18%),transparent 34%),linear-gradient(145deg,#0d1b2a,#102a3d);color:var(--on-brand);box-shadow:0 14px 32px #0d1b2a2e}.ledger-hero:before{position:absolute;inset-inline:18px;inset-block-start:0;height:2px;border-radius:999px;background:linear-gradient(90deg,var(--brand-gold),var(--brand-teal));content:""}.ledger-hero__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ledger-hero__heading>div{min-width:0;flex:1 1 auto}.ledger-hero__heading p,.ledger-hero__heading h2,.ledger-hero__heading strong,.ledger-hero__heading span{display:block;margin:0}.ledger-hero__heading p{color:#ffffffb3;font-size:11.5px;font-weight:550}.ledger-hero__heading h2{margin-top:3px;font-family:Tajawal,Cairo,sans-serif;font-size:14px;font-weight:650}.ledger-hero__heading strong{width:100%;max-width:100%;margin-top:5px;font-size:clamp(29px,8vw,38px);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.035em;line-height:1.15;white-space:nowrap}.ledger-hero__heading strong.amount-fit-lg{font-size:clamp(28px,7.5vw,36px)}.ledger-hero__heading strong.amount-fit-xl{font-size:clamp(26px,7vw,34px)}.ledger-hero__heading strong.amount-fit-xxl{font-size:clamp(24px,6.4vw,31px)}.ledger-hero__heading strong.is-negative{color:#ffd3d3}.ledger-hero__heading>div>span{margin-top:5px;color:#ffffffb8;font-size:11.5px}.ledger-hero__icon{width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;color:#ffffffeb}.ledger-hero__today{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.ledger-hero__today article{min-width:0;display:flex;align-items:flex-start;gap:8px;padding:11px;border:1px solid rgb(255 255 255 / 15%);border-radius:var(--radius-sm);background:#ffffff0f}.ledger-hero__metric-icon{width:25px;height:25px;display:grid;flex:0 0 auto;place-items:center}.ledger-hero__metric-icon svg{display:block}.ledger-hero__metric-icon--payment{color:#7be1d4}.ledger-hero__metric-icon--debt{color:#ffbcbc}.ledger-hero__today article>div{min-width:0}.ledger-hero__today small,.ledger-hero__today strong,.ledger-hero__today article span{display:block}.ledger-hero__today small{color:#ffffffb3;font-size:10.5px}.ledger-hero__today strong{max-width:100%;margin-top:2px;font-size:clamp(15px,4.3vw,19px);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1.25;white-space:nowrap}.ledger-hero__today strong.amount-fit-lg{font-size:clamp(14.5px,4vw,18px)}.ledger-hero__today strong.amount-fit-xl{font-size:clamp(13.5px,3.75vw,17px)}.ledger-hero__today strong.amount-fit-xxl{font-size:clamp(12.5px,3.45vw,15.5px)}.ledger-hero__today article div>span{margin-top:1px;color:#ffffffa3;font-size:10px}.ledger-hero__action{width:100%;min-height:43px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;border:1px solid rgb(255 255 255 / 28%);border-radius:var(--radius-sm);background:#ffffff1c;color:var(--on-brand);font-size:13px;font-weight:700;transition:background-color .15s ease}.ledger-hero__action span{font-size:20px;font-weight:400}.ledger-hero__action:hover{background:#ffffff29}.ledger-hero__action[aria-disabled=true]{cursor:not-allowed;opacity:.66}.home-ledger-grid{display:grid;gap:14px}.ledger-section{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.ledger-section__header{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 13px;border-bottom:1px solid var(--border)}.ledger-section__header h2{margin:0;font-size:15px;font-weight:650}.ledger-section__header>div{display:flex;align-items:center;gap:5px}.ledger-section__header button{min-height:34px;padding:0 5px;border:0;background:transparent;color:var(--primary);font-size:11.5px;font-weight:700}.ledger-section__header h2 .ledger-section__title-link{min-height:0;padding:0;color:inherit;font:inherit;font-weight:inherit;line-height:inherit;text-align:right}.ledger-section__header h2 .ledger-section__title-link:hover{color:var(--primary)}.ledger-section__header .section-search-button{width:34px;display:grid;place-items:center;padding:0;border-radius:50%;background:var(--surface-muted)}.ledger-customer-list{padding-inline:12px}.ledger-customer-row{width:100%;min-width:0;min-height:67px;display:grid;grid-template-columns:38px minmax(0,1fr) minmax(88px,auto) 16px;align-items:center;gap:9px;padding:8px 0;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;text-align:start}.ledger-customer-row:last-child{border-bottom:0}.ledger-customer-row:hover{background:var(--surface-subtle)}.ledger-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--brand-dark);font-size:14px;font-weight:750}.ledger-customer-row__identity,.ledger-customer-row__balance{min-width:0;display:flex;flex-direction:column}.ledger-customer-row__identity{text-align:start}.ledger-customer-row__identity strong{overflow:hidden;font-size:13.5px;text-overflow:ellipsis;white-space:nowrap}.ledger-customer-row__identity small,.ledger-customer-row__balance small{overflow:hidden;color:var(--text-muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.ledger-customer-row__balance{align-items:flex-end;color:var(--debt)}.ledger-customer-row__balance--credit{color:var(--payment)}.ledger-customer-row__balance strong{max-width:145px;overflow:hidden;font-size:13.5px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.ledger-customer-row__balance strong.amount-fit-lg{font-size:13px}.ledger-customer-row__balance strong.amount-fit-xl{font-size:12.2px}.ledger-customer-row__balance strong.amount-fit-xxl{font-size:11.4px}.ledger-customer-row__balance:has(svg){flex-direction:row;align-items:center;gap:4px;color:var(--payment)}.transaction-timeline{margin:0;padding:6px 14px 7px;list-style:none}.timeline-item{position:relative;min-height:65px;padding-inline-start:18px}.timeline-item:not(:last-child):before{position:absolute;inset-block-start:22px;inset-block-end:-2px;inset-inline-start:4px;width:1px;background:var(--border-strong);content:""}.timeline-item__dot{position:absolute;inset-block-start:20px;inset-inline-start:0;width:9px;height:9px;border:2px solid var(--surface);border-radius:50%;background:var(--debt);box-shadow:0 0 0 1px var(--debt)}.timeline-item--payment .timeline-item__dot{background:var(--payment);box-shadow:0 0 0 1px var(--payment)}.timeline-item>button{width:100%;min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;text-align:start}.timeline-item:last-child>button{border-bottom:0}.timeline-item__main,.timeline-item__meta{min-width:0;display:flex;flex-direction:column}.timeline-item__main{text-align:start}.timeline-item__main strong{overflow:hidden;font-size:13.5px;text-overflow:ellipsis;white-space:nowrap}.timeline-item__main small{color:var(--debt);font-size:10.5px}.timeline-item--payment .timeline-item__main small{color:var(--payment)}.timeline-item__meta{align-items:flex-end}.timeline-item__meta strong{color:var(--debt);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.timeline-item__meta strong.amount-fit-lg{font-size:12.6px}.timeline-item__meta strong.amount-fit-xl{font-size:12px}.timeline-item__meta strong.amount-fit-xxl{font-size:11.3px}.timeline-item--payment .timeline-item__meta strong{color:var(--payment)}.timeline-item__meta small{margin-top:2px;color:var(--text-muted);font-size:10px}.ledger-empty,.home-error{min-height:158px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:22px;text-align:center}.ledger-empty strong,.home-error strong{font-size:14px}.ledger-empty span,.home-error span{color:var(--text-muted);font-size:12px}.ledger-empty button,.home-error button{min-height:37px;margin-top:5px;padding:0 13px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--primary);font-size:12px;font-weight:700}.home-error{border:1px solid var(--danger-border);border-radius:var(--radius-md);background:var(--danger-surface)}.ledger-list-skeleton{display:grid;gap:8px;padding:12px}.ledger-list-skeleton span{min-height:52px;border-radius:var(--radius-sm);background:linear-gradient(90deg,var(--skeleton-base) 25%,var(--skeleton-highlight) 50%,var(--skeleton-base) 75%);background-size:200% 100%;animation:ledger-shimmer 1.25s infinite linear}@keyframes ledger-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.ledger-list-skeleton span{animation:none}}@media(min-width:900px){.home-page{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start;gap:16px}.home-page>.subscription-notice,.home-welcome,.home-page>.home-error{grid-column:1 / -1}.ledger-hero{grid-column:2;grid-row:auto / span 1;min-height:100%}.home-ledger-grid{grid-column:1}}.auth-page{position:relative;isolation:isolate;min-height:100dvh;display:grid;place-items:center;overflow-x:hidden;overflow-y:auto;padding:max(26px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(26px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:radial-gradient(circle at 82% 10%,rgb(18 170 164 / 11%),transparent 30%),radial-gradient(circle at 16% 88%,rgb(217 166 61 / 8%),transparent 32%),linear-gradient(155deg,var(--auth-page-start),var(--auth-page-end))}.auth-page:before{position:fixed;z-index:-1;inset:0;background:linear-gradient(rgb(255 255 255 / 1.4%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 1.4%) 1px,transparent 1px);background-size:48px 48px;content:"";-webkit-mask-image:radial-gradient(circle at center,black,transparent 74%);mask-image:radial-gradient(circle at center,black,transparent 74%);opacity:var(--auth-grid-opacity);pointer-events:none}.auth-card{position:relative;width:min(100%,438px);overflow:hidden;padding:clamp(24px,6vw,32px) clamp(20px,5vw,28px) 28px;border:1px solid var(--auth-panel-border);border-radius:22px;background:var(--auth-panel);box-shadow:var(--auth-panel-shadow)}.auth-card:before{position:absolute;inset-block-start:0;inset-inline:0;height:3px;background:linear-gradient(90deg,var(--brand-mark-gold),var(--brand-mark-teal),var(--primary));content:""}.auth-brand{display:grid;justify-items:center;gap:11px;margin-bottom:24px;text-align:center}.auth-brand .zimma-brand{max-width:100%}.auth-brand .zimma-brand__mark{filter:drop-shadow(0 10px 22px rgb(3 31 42 / 14%)) drop-shadow(0 0 18px rgb(18 170 164 / 7%))}.auth-brand p{max-width:280px;margin:0;color:var(--text-muted);font-size:14px;font-weight:520;line-height:1.75}.auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin-bottom:22px;padding:4px;border:1px solid var(--auth-tab-border);border-radius:14px;background:var(--auth-tab-bg)}.auth-tab{min-height:44px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--text-muted);font-size:14px;font-weight:700;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.auth-tab--active{background:var(--auth-tab-active);color:var(--text);box-shadow:var(--auth-tab-shadow)}.auth-form{display:grid;min-width:0}.auth-field{display:grid;min-width:0;gap:7px;margin-bottom:16px}.auth-field>span{color:var(--text);font-size:13.5px;font-weight:700}.auth-field input{width:100%;min-width:0;height:54px;padding:0 14px;border:1px solid var(--auth-input-border);border-radius:13px;background:var(--auth-input-bg);color:var(--text);caret-color:var(--primary);font-size:16px;outline:none;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.auth-field input::placeholder{color:var(--auth-placeholder);opacity:1}.auth-field input:hover:not(:focus){border-color:var(--auth-input-border-hover)}.auth-field input:focus{border-color:var(--auth-input-focus);background:var(--auth-input-focus-bg);box-shadow:0 0 0 4px var(--auth-focus-ring)}.auth-field input[aria-invalid=true]{border-color:var(--danger);background:var(--danger-surface);box-shadow:0 0 0 3px #b43d3d17}.auth-field input:-webkit-autofill,.auth-field input:-webkit-autofill:hover,.auth-field input:-webkit-autofill:focus,.auth-field input:-webkit-autofill:active{-webkit-text-fill-color:var(--text);caret-color:var(--primary);-webkit-box-shadow:0 0 0 1000px var(--auth-input-bg) inset;border-color:var(--auth-input-border);transition:background-color 9999s ease-out 0s}.auth-field input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--auth-input-focus-bg) inset,0 0 0 4px var(--auth-focus-ring);border-color:var(--auth-input-focus)}.field-error{color:var(--danger);font-size:12px;font-weight:650;line-height:1.55}.auth-message{margin:0 0 16px;padding:11px 13px;border:1px solid var(--danger-border);border-radius:12px;background:var(--danger-surface);color:var(--danger);font-size:13px;font-weight:600;line-height:1.7}.auth-message--success{border-color:var(--payment-border);background:var(--success-surface);color:var(--success)}.auth-submit{width:100%;min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border:1px solid rgb(255 255 255 / 9%);border-radius:13px;background:linear-gradient(135deg,var(--brand-surface),var(--primary-solid));color:var(--on-brand);box-shadow:0 10px 22px #103d2f21;font-size:15px;font-weight:800;transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}.auth-submit:disabled{cursor:wait;opacity:.58}.auth-submit:not(:disabled):active{transform:translateY(1px)}@media(hover:hover){.auth-submit:not(:disabled):hover{box-shadow:0 12px 26px #103d2f2e;filter:brightness(1.035)}}.password-field{position:relative}.password-field input{padding-right:54px;padding-left:14px}.password-toggle{position:absolute;top:50%;right:6px;left:auto;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:transparent;color:var(--text-muted);transform:translateY(-50%);transition:background-color .15s ease,color .15s ease}.password-toggle:hover{color:var(--text)}.password-toggle:active{background:var(--control-strong-surface)}.forgot-password{min-height:44px;justify-self:start;display:inline-flex;align-items:center;margin:-5px 0 13px;padding:0 2px;border:0;background:transparent;color:var(--primary);font-size:13.5px;font-weight:750}.auth-helper{margin:-5px 0 22px;color:var(--text-muted);font-size:13.5px;line-height:1.8;text-align:start}.auth-back-button{width:100%;min-height:46px;margin-top:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:0;border-radius:11px;background:transparent;color:var(--primary);font-weight:750}.auth-back-button:hover{background:var(--primary-soft)}.subscription-notice{display:flex;flex-direction:column;gap:6px;margin-bottom:18px;padding:14px 16px;border:1px solid var(--warning-border);border-radius:var(--radius-md);background:var(--warning-surface);color:var(--warning-text);line-height:1.7}.subscription-notice strong{font-weight:800}.subscription-notice span{font-size:13px}.subscription-notice--expired,.subscription-notice--disabled,.subscription-notice--danger{border-color:var(--danger-border);background:var(--danger-surface);color:var(--danger)}.read-only-card{border-style:dashed}@media(max-width:480px){.auth-page{align-items:start;padding-top:max(18px,env(safe-area-inset-top));padding-inline:max(12px,env(safe-area-inset-left))}.auth-card{width:100%;margin:0 auto;padding:24px 18px 22px;border-radius:20px}.auth-brand{margin-bottom:20px}.auth-brand .zimma-brand--lg .zimma-brand__mark{width:56px;height:56px}.auth-brand .zimma-brand--lg .zimma-brand__wordmark{max-width:min(54vw,188px);font-size:33px}}@media(max-height:700px){.auth-page{place-items:start center}.auth-card{margin-block:6px 18px}.auth-brand{margin-bottom:18px}.auth-brand .zimma-brand--lg .zimma-brand__mark{width:50px;height:50px}.auth-brand .zimma-brand--lg .zimma-brand__wordmark{font-size:30px}}@media(prefers-reduced-motion:reduce){.auth-tab,.auth-field input,.password-toggle,.auth-submit{transition:none}}.app-header{width:min(100%,760px);min-height:66px;display:grid;grid-template-columns:minmax(0,1fr) clamp(124px,34vw,148px) auto;align-items:center;gap:10px;margin:0 auto;padding:max(10px,env(safe-area-inset-top)) clamp(14px,4vw,24px) 8px}.app-header:not(:has(.app-header__currency)){display:flex;justify-content:space-between}.app-brand,.desktop-sidebar__brand{border:0;background:transparent;color:var(--brand-dark)}.app-brand{min-width:0;display:inline-flex;align-items:center;padding:0}.app-brand__name{max-width:min(120px,100%);overflow:hidden;color:var(--brand-wordmark);font-family:Cairo,Tajawal,sans-serif;font-size:23px;font-weight:720;letter-spacing:-.045em;line-height:1;text-overflow:ellipsis;white-space:nowrap}.app-header__currency{min-width:0;width:100%}.app-header__actions{display:flex;align-items:center;justify-self:end;gap:7px}.header-icon-button,.header-avatar{width:40px;height:40px;display:grid;place-items:center;padding:0;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--brand-dark);box-shadow:var(--shadow-xs)}.header-avatar{background:var(--header-avatar-bg);font-size:13px;font-weight:750}.currency-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:3px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--switcher-bg)}.currency-switcher button{min-width:0;min-height:38px;display:flex;align-items:center;justify-content:center;gap:4px;padding:0 7px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font-size:11.5px;font-weight:700;white-space:nowrap;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.currency-switcher button b{font-weight:750}.currency-switcher button[aria-pressed=true]{background:var(--surface);color:var(--brand-dark);box-shadow:0 1px 4px #0d1b2a1a}.bottom-nav{position:fixed;z-index:var(--z-navigation);inset-inline:0;bottom:0;min-height:70px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:5px max(4px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));border-top:1px solid var(--border);background:var(--bottom-nav-bg);box-shadow:0 -8px 22px #0d1b2a0f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav__item{min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:2px 1px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-size:clamp(9.5px,2.35vw,10.5px);font-weight:650;line-height:1.25}.bottom-nav__item span{max-width:100%;overflow:visible;text-overflow:clip;white-space:nowrap}.bottom-nav__item--active{background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px #14b8a61a}.bottom-nav__item--active svg{fill:none;stroke-width:2.2}.desktop-sidebar{display:none}@media(min-width:900px){.app-shell{display:grid;grid-template-columns:minmax(0,1fr) 232px}.app-main{min-width:0;grid-column:1}.app-header{width:min(100%,1120px);min-height:70px;display:flex;justify-content:space-between;padding:18px 32px 8px}.app-header .app-brand{display:none}.app-header__currency{width:252px}.currency-switcher button{min-height:36px;font-size:12px}.bottom-nav{display:none}.desktop-sidebar{position:fixed;z-index:var(--z-navigation);inset-block:0;inset-inline-end:0;width:232px;display:flex;flex-direction:column;padding:24px 16px;border-inline-start:1px solid var(--border);background:var(--surface)}.desktop-sidebar__brand{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0 11px 24px;text-align:right}.desktop-sidebar__brand .zimma-brand{max-width:100%}.desktop-sidebar__brand>span:not(.zimma-brand){max-width:164px;overflow:hidden;color:var(--text-muted);font-family:Tajawal,Cairo,sans-serif;font-size:11.5px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.desktop-sidebar__nav,.desktop-sidebar__footer{display:grid;gap:5px}.desktop-sidebar__footer{margin-top:auto;padding-top:16px;border-top:1px solid var(--border)}.sidebar-item{min-height:44px;display:flex;align-items:center;gap:10px;padding:0 12px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-size:13px;font-weight:650;text-align:right}.sidebar-item:hover{background:var(--surface-muted);color:var(--text)}.sidebar-item--active{background:var(--primary-soft);color:var(--primary);box-shadow:inset -3px 0 0 var(--brand-teal)}}@media(max-width:360px){.bottom-nav__item{font-size:9.2px}.bottom-nav__item svg{width:19px;height:19px}}.customers-page{display:grid;gap:13px}.customers-page .page-header{margin:0}.customers-page__header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.customers-page .page-header__title{font-size:clamp(22px,6vw,28px);letter-spacing:-.035em}.customers-page .page-header__eyebrow{margin:2px 0 0;font-size:11.5px}.page-header__action{min-height:42px;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid var(--primary-solid);border-radius:var(--radius-sm);background:var(--primary-solid);color:var(--on-primary);font-size:12.5px;font-weight:700}.subscription-notice--compact{margin:0;padding:10px 13px}.customers-toolbar{display:flex;align-items:center}.customers-toolbar--split{gap:8px}.customers-search-wrap{position:relative;min-width:0;flex:1}.customers-search{width:100%;min-height:45px;padding:0 43px 0 42px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);color:var(--text);font:inherit;font-size:12.5px;outline:none;box-shadow:var(--shadow-xs)}.customers-search:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--focus-ring) 18%,transparent)}.customers-search-icon{position:absolute;z-index:1;top:50%;inset-inline-start:14px;color:var(--text-muted);pointer-events:none;transform:translateY(-50%)}.customers-search-clear{position:absolute;top:50%;inset-inline-end:8px;width:31px;height:31px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:var(--surface-muted);color:var(--text-muted);transform:translateY(-50%)}.customers-filter-button{min-width:46px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text-muted);font-size:11px;font-weight:700;white-space:nowrap}.customers-filter-button:hover,.customers-filter-button--active{border-color:var(--teal-200);background:var(--primary-soft);color:var(--primary)}.customers-list{overflow:hidden;padding:0;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.customer-directory-row{width:100%;min-width:0;min-height:68px;display:grid;grid-template-columns:40px minmax(0,1fr) minmax(68px,auto) 16px;align-items:center;gap:9px;padding:8px 12px;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;text-align:start}.customer-directory-row:last-of-type{border-bottom:0}.customer-directory-row:hover{background:var(--surface-subtle)}.customer-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--brand-dark);font-size:15px;font-weight:750}.customer-directory-row__identity{min-width:0;display:flex;flex-direction:column;text-align:start}.customer-directory-row__identity strong{overflow:hidden;color:var(--text);font-size:13.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.customer-directory-row__identity small{overflow:hidden;margin-top:2px;color:var(--text-muted);font-size:10.5px;text-align:start;text-overflow:ellipsis;white-space:nowrap}.customer-directory-row__balance{min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:1px;color:var(--text-muted)}.customer-directory-row__balance strong{max-width:132px;overflow:hidden;font-size:12px;font-variant-numeric:tabular-nums;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.customer-directory-row__balance strong.amount-fit-lg{font-size:11.5px}.customer-directory-row__balance strong.amount-fit-xl{font-size:10.8px}.customer-directory-row__balance strong.amount-fit-xxl{font-size:10px}.customer-directory-row__balance small{font-size:9.5px;font-weight:700;white-space:nowrap}.customer-directory-row__balance.is-debt{color:var(--debt)}.customer-directory-row__balance.is-credit{color:var(--payment)}.customer-directory-row__balance.is-settled{flex-direction:row;align-items:center;gap:4px;color:var(--text-muted)}.customers-load-more{width:100%;min-height:49px;display:grid;place-items:center;gap:0;padding:7px 14px;border:0;border-top:1px solid var(--border);background:var(--surface);color:var(--primary);font-size:12px;font-weight:750}.customers-load-more span{color:var(--text-muted);font-size:10px;font-weight:500}.customers-load-more:disabled{cursor:wait;opacity:.65}.customers-inline-error{margin:0;padding:10px 13px;border-top:1px solid var(--danger-border);background:var(--danger-surface);color:var(--danger);font-size:11.5px;text-align:center}.customers-skeleton{padding:0;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.customers-skeleton span{min-height:68px;border-radius:0;border-bottom:1px solid var(--border)}.customers-skeleton span:last-child{border-bottom:0}@media(max-width:380px){.customers-filter-button{min-width:44px;padding-inline:8px}.customers-filter-button span{display:none}.customer-directory-row{grid-template-columns:36px minmax(0,1fr) minmax(58px,auto) 14px;gap:7px;padding-inline:10px}.customer-avatar{width:36px;height:36px}.customer-directory-row__balance strong{max-width:104px;font-size:10.8px}}@media(min-width:700px){.customers-page{max-width:880px;margin-inline:auto}.customer-directory-row{min-height:72px;padding-inline:16px;grid-template-columns:42px minmax(220px,1fr) minmax(120px,auto) 18px}.customer-directory-row__balance strong{max-width:180px;font-size:12.5px}}.ledgers-page{display:grid;gap:13px}.ledgers-page .page-header{margin:0}.ledgers-page__header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.ledgers-page .page-header__title{font-size:clamp(22px,6vw,28px);letter-spacing:-.035em}.ledgers-page .page-header__eyebrow{margin:2px 0 0;font-size:11.5px}.ledger-summary-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ledger-summary-strip__item{min-width:0;display:grid;gap:2px;padding:12px 13px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.ledger-summary-strip__item span{color:var(--text-muted);font-size:10.5px;font-weight:650}.ledger-summary-strip__item strong{min-width:0;overflow:hidden;color:var(--text);font-size:clamp(16px,4.4vw,20px);font-variant-numeric:tabular-nums;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.ledger-summary-strip__item small{color:var(--text-muted);font-size:9.5px}.ledger-summary-strip__item.is-receivable{border-color:var(--payment-border);background:var(--payment-soft)}.ledger-summary-strip__item.is-receivable strong{color:var(--payment)}.ledger-summary-strip__item.is-payable{border-color:var(--debt-border);background:var(--debt-soft)}.ledger-summary-strip__item.is-payable strong{color:var(--debt)}.ledgers-summary-error{margin:-3px 0 0;color:var(--text-muted);font-size:10.5px;text-align:center}.ledger-accounts-list{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.ledger-account-row{width:100%;min-width:0;min-height:70px;display:grid;grid-template-columns:40px minmax(0,1fr) minmax(84px,auto) 16px;align-items:center;gap:9px;padding:9px 12px;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;text-align:start}.ledger-account-row:last-of-type{border-bottom:0}.ledger-account-row:hover{background:var(--surface-subtle)}.ledger-account-row__identity,.ledger-account-row__balance{min-width:0;display:flex;flex-direction:column}.ledger-account-row__identity{text-align:start}.ledger-account-row__identity strong{overflow:hidden;color:var(--text);font-size:13.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.ledger-account-row__identity small{margin-top:2px;overflow:hidden;color:var(--text-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.ledger-account-row__balance{align-items:flex-end}.ledger-account-row__balance strong{max-width:145px;overflow:hidden;font-size:13px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.ledger-account-row__balance strong.amount-fit-lg{font-size:12.5px}.ledger-account-row__balance strong.amount-fit-xl{font-size:11.7px}.ledger-account-row__balance strong.amount-fit-xxl{font-size:10.9px}.ledger-account-row__balance small{font-size:9.5px;font-weight:700}.ledger-account-row__balance.is-debt{color:var(--debt)}.ledger-account-row__balance.is-credit{color:var(--payment)}.ledger-account-row__balance.is-settled{flex-direction:row;align-items:center;gap:4px;color:var(--text-muted)}.ledger-detail-page{width:min(100%,900px);margin:0 auto}.ledger-detail-identity{min-width:0;display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 2px 12px}.ledger-detail-identity>div{min-width:0}.ledger-detail-identity h2{overflow:hidden;margin:0;color:var(--text);font-size:18px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.ledger-detail-identity span{display:block;margin-top:2px;color:var(--text-muted);font-size:11.5px;text-align:right}.ledger-detail-identity button{min-height:38px;display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;padding:0 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--primary);font-size:11px;font-weight:700}.ledger-detail-identity button:hover{background:var(--primary-soft)}.ledger-balance-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:"icon label label" "icon amount state";align-items:center;gap:2px 9px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.ledger-balance-card>svg{grid-area:icon}.ledger-balance-card>span{grid-area:label;color:var(--text-muted);font-size:10.5px}.ledger-balance-card>strong{grid-area:amount;min-width:0;overflow:hidden;font-size:clamp(21px,6.2vw,29px);font-variant-numeric:tabular-nums;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.ledger-balance-card>small{grid-area:state;align-self:end;padding-bottom:3px;font-size:10px;font-weight:750}.ledger-balance-card--debt{border-color:var(--debt-border);background:var(--debt-soft);color:var(--debt)}.ledger-balance-card--credit{border-color:var(--payment-border);background:var(--payment-soft);color:var(--payment)}.ledger-balance-card--settled{color:var(--primary)}.ledger-detail-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:9px}.ledger-detail-actions .ledger-add-transaction{margin-top:0}.ledger-add-transaction{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:9px;border:1px solid var(--primary-solid);border-radius:var(--radius-md);background:var(--primary-solid);color:var(--on-primary);font-size:13px;font-weight:750}.ledger-detail-history{margin-top:14px}.ledger-detail-heading{align-items:flex-start;flex-direction:column;gap:10px}.ledger-detail-heading>div:first-child{width:100%;display:flex;align-items:baseline;justify-content:space-between;gap:12px}.ledger-detail-heading>div:first-child>span{color:var(--text-muted);font-size:10.5px}.ledger-filter-tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted)}.ledger-filter-tabs button{min-height:34px;padding:0 5px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font-size:10.5px;font-weight:700}.ledger-filter-tabs button.is-active{background:var(--surface);color:var(--primary);box-shadow:var(--shadow-xs)}.ledger-detail-skeleton{display:grid;gap:10px}.ledger-detail-skeleton span{display:block;min-height:58px;border-radius:var(--radius-md);background:linear-gradient(100deg,var(--skeleton-base) 25%,var(--skeleton-highlight) 40%,var(--skeleton-base) 58%);background-size:200% 100%;animation:customer-details-shimmer 1.1s ease-in-out infinite}.ledger-detail-skeleton span:nth-child(2){min-height:100px}.ledger-detail-skeleton span:last-child{min-height:280px}@media(max-width:380px){.ledger-account-row{grid-template-columns:36px minmax(0,1fr) minmax(72px,auto) 14px;gap:7px;padding-inline:10px}.ledger-account-row__balance strong{max-width:100px;font-size:11.5px}.ledger-summary-strip__item{padding-inline:10px}.ledger-summary-strip__item strong{font-size:15px}}@media(min-width:700px){.ledgers-page{max-width:900px;margin-inline:auto}.ledger-account-row{grid-template-columns:42px minmax(240px,1fr) minmax(150px,auto) 18px;min-height:74px;padding-inline:16px}.ledger-detail-page{max-width:900px}.ledger-detail-heading{flex-direction:row;align-items:center}.ledger-detail-heading>div:first-child{flex:1}.ledger-filter-tabs{width:min(390px,48%)}}@media(prefers-reduced-motion:reduce){.ledger-detail-skeleton span{animation:none}}.ledger-reminder-action{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--primary);font-size:12px;font-weight:750;white-space:nowrap}.ledger-reminder-action:hover{background:var(--primary-soft)}@media(max-width:430px){.ledger-detail-actions{grid-template-columns:1fr}.ledger-reminder-action{width:100%}}.sheet-backdrop{position:fixed;inset:0;z-index:var(--z-sheet);display:flex;align-items:flex-end;justify-content:center;padding:0;background:#07172a73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.customer-sheet{width:100%;max-width:560px;max-height:88dvh;display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border-radius:24px 24px 0 0;box-shadow:0 -16px 50px #0f172a2e;animation:customer-sheet-in .18s ease-out}@keyframes customer-sheet-in{0%{transform:translateY(28px);opacity:0}to{transform:translateY(0);opacity:1}}.sheet-handle{flex:0 0 auto;width:42px;height:5px;margin:9px auto 2px;border-radius:999px;background:var(--border-strong)}.customer-sheet__header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px 14px;border-bottom:1px solid var(--border)}.customer-sheet__header>div{min-width:0}.customer-sheet__header p{margin:0 0 3px;color:var(--text-muted);font-size:12px;font-weight:700}.customer-sheet__header h2{margin:0;color:var(--navy-950);font-size:22px;font-weight:900;line-height:1.35}.sheet-close{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--control-surface);color:var(--navy-950);font-size:25px;font-weight:500;line-height:1}.sheet-close:active{background:var(--surface-muted)}.customer-sheet__body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:17px 18px 6px}.customer-sheet .auth-field{display:block;margin-bottom:16px}.customer-sheet .auth-field>span{display:block;margin-bottom:7px;color:var(--navy-900);font-size:13px;font-weight:800}.customer-sheet .auth-field small{color:var(--text-muted);font-size:12px;font-weight:600}.customer-sheet .auth-field input{width:100%;height:48px;padding:0 14px;border:1px solid var(--border);border-radius:13px;background:var(--control-surface);color:var(--text);font-size:16px;outline:none}.customer-sheet .auth-field input:focus{border-color:var(--teal-600);background:var(--surface);box-shadow:0 0 0 3px #0d94881a}.customer-notes-input{display:block;width:100%;min-height:90px;padding:12px 14px;border:1px solid var(--border);border-radius:13px;background:var(--control-surface);color:var(--text);font-size:15px;line-height:1.6;outline:none;resize:none}.customer-notes-input:focus{border-color:var(--teal-600);background:var(--surface);box-shadow:0 0 0 3px #0d94881a}.customer-notes-input::placeholder,.customer-sheet input::placeholder{color:var(--text-soft)}.customer-sheet .auth-message{margin:2px 0 10px;padding:10px 12px;border:1px solid var(--danger-border);border-radius:10px;background:var(--danger-surface)}.customer-sheet__footer{flex:0 0 auto;display:grid;grid-template-columns:.8fr 1.4fr;gap:10px;padding:12px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface)}.customer-sheet__footer .auth-submit{min-height:48px;margin:0;border-radius:13px}.sheet-secondary-button{min-height:48px;padding:10px 14px;border:1px solid var(--border);border-radius:13px;background:var(--control-surface);color:var(--navy-900);font-weight:800}.sheet-secondary-button:active{background:var(--surface-muted)}.sheet-close:disabled,.sheet-secondary-button:disabled{cursor:not-allowed;opacity:.5}.transaction-customer-context{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin-bottom:12px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted)}.transaction-customer-context>span{color:var(--text-muted);font-size:12px;font-weight:700;white-space:nowrap}.transaction-customer-context>strong{min-width:0;overflow:hidden;color:var(--text);font-size:13px;font-weight:800;text-align:start;text-overflow:ellipsis;white-space:nowrap}.transaction-kind-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:18px;padding:4px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-muted)}.transaction-kind{min-height:43px;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font-weight:700}.transaction-kind--debt.transaction-kind--active{background:var(--debt-soft);color:var(--debt);box-shadow:inset 0 0 0 1px #c84b4b2e}.transaction-kind--payment.transaction-kind--active{background:var(--payment-soft);color:var(--payment);box-shadow:inset 0 0 0 1px #24845f2e}.customer-sheet .transaction-amount-input-wrap input{height:58px;padding-inline:14px 68px;font-size:23px;font-variant-numeric:tabular-nums;font-weight:650;direction:ltr;text-align:right}.transaction-amount-input-wrap>span{position:absolute;inset-block:0;inset-inline-end:14px;display:flex;align-items:center;color:var(--text-muted);font-weight:700}.transaction-amount-field>small{display:block;margin-top:5px}.transaction-submit{min-height:48px;border:0;border-radius:var(--radius-md);color:var(--on-semantic);font-weight:750}.transaction-submit--debt{background:var(--debt-solid)}.transaction-submit--payment{background:var(--payment-solid)}.transaction-submit:disabled{cursor:not-allowed;opacity:.48}.customer-picker-search{min-height:48px;display:grid;grid-template-columns:20px minmax(0,1fr) 34px;align-items:center;gap:7px;padding:0 12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-muted)}.customer-picker-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #14b8a624}.customer-picker-search input{min-width:0;height:46px;border:0;background:transparent;outline:0}.customer-picker-search button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--surface-muted);color:var(--text-muted)}.customer-picker-list{margin-top:12px}.customer-picker-row{width:100%;min-height:66px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;padding:9px 2px;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;text-align:start}.customer-picker-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--brand-dark);font-weight:700}.customer-picker-row>span:last-child{min-width:0;display:flex;flex-direction:column;text-align:start}.customer-picker-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-picker-row small,.picker-empty span{color:var(--text-muted);font-size:12px}.picker-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center}.transaction-type-switch,.transaction-currency-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;margin-bottom:16px;border-radius:12px;background:var(--control-strong-surface)}.transaction-type-button,.transaction-currency-button{min-height:42px;padding:8px 12px;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font-size:13px;font-weight:800}.transaction-type-button--active,.transaction-currency-button--active{background:var(--surface);color:var(--navy-950);box-shadow:0 2px 8px #0f172a0f}.transaction-type-button--active:first-child{color:var(--danger)}.transaction-type-button--active:last-child{color:var(--success)}.transaction-amount-input-wrap{position:relative}.customer-sheet .transaction-amount-input-wrap input{padding-left:70px;direction:ltr;text-align:left;font-size:22px;font-weight:900}.transaction-amount-input-wrap>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:13px!important;font-weight:800!important;pointer-events:none}.transaction-amount-field small{display:block;margin-top:6px}.transaction-detail-summary{overflow:hidden;border:1px solid var(--border);border-radius:15px;background:var(--surface)}.transaction-detail-summary__amount{padding:18px;background:var(--control-surface)}.transaction-detail-summary__amount span{display:block;margin-bottom:5px;color:var(--text-muted);font-size:12px;font-weight:700}.transaction-detail-summary__amount strong{display:block;color:var(--navy-950);font-size:24px;font-weight:900;direction:ltr;text-align:right}.transaction-detail-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-top:1px solid var(--border)}.transaction-detail-row>span{color:var(--text-muted);font-size:11px;font-weight:700}.transaction-detail-row>strong{color:var(--navy-950);font-size:12px;font-weight:800;text-align:start}.transaction-detail-row--note{align-items:flex-start}.transaction-detail-row--note strong{max-width:70%;color:var(--text-muted);line-height:1.7}.transaction-delete-link{min-height:48px;border:1px solid var(--danger-border);border-radius:13px;background:var(--surface);color:var(--danger);font-weight:800}.transaction-delete-button{min-height:48px;border:0;border-radius:13px;background:var(--debt-solid);color:var(--on-semantic);font-weight:900}.transaction-delete-button:disabled{cursor:wait;opacity:.55}.transaction-delete-confirm{padding:16px 4px 8px;text-align:center}.transaction-delete-confirm__icon{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 12px;border-radius:15px;background:var(--danger-surface);color:var(--danger);font-size:24px;font-weight:900}.transaction-delete-confirm h3{margin:0 0 7px;color:var(--navy-950);font-size:19px}.transaction-delete-confirm p{margin:0 auto 12px;max-width:300px;color:var(--text-muted);font-size:13px;line-height:1.7}.transaction-delete-confirm strong{color:var(--danger);font-size:14px}.transaction-currency-section{margin-bottom:18px}.transaction-field-label{margin-bottom:9px;color:var(--text-muted);font-size:12px;font-weight:800}.transaction-currency-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.transaction-currency-card{position:relative;min-height:78px;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--navy-950);font-family:inherit;text-align:right;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.transaction-currency-card:active{transform:scale(.98)}.transaction-currency-card--active{border-color:var(--navy-950);box-shadow:0 0 0 2px #0f172a12}.transaction-currency-card__symbol{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;background:var(--control-strong-surface);color:var(--navy-950);font-size:14px;font-weight:900;direction:ltr}.transaction-currency-card--active .transaction-currency-card__symbol{background:var(--brand-surface);color:var(--on-brand)}.transaction-currency-card__content{min-width:0;display:flex;flex-direction:column;gap:2px}.transaction-currency-card__content strong{font-size:13px;font-weight:900}.transaction-currency-card__content small{color:var(--text-muted);font-size:10px;font-weight:700;direction:ltr}.transaction-currency-card__check{position:absolute;top:7px;left:8px;width:18px;height:18px;display:grid;place-items:center;border-radius:999px;color:var(--navy-950);font-size:11px;font-weight:900}.transaction-detail-customer{min-width:0;display:flex;align-items:center;gap:11px;margin-bottom:14px;padding:0 2px}.transaction-detail-customer__avatar{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--brand-dark);font-size:16px;font-weight:750}.transaction-detail-customer strong{min-width:0;overflow:hidden;color:var(--text);font-size:16px;text-overflow:ellipsis;white-space:nowrap}.transaction-detail-summary__amount--debt strong{color:var(--debt)}.transaction-detail-summary__amount--payment strong{color:var(--payment)}.transaction-detail-summary__amount--debt span{color:var(--debt)}.transaction-detail-summary__amount--payment span{color:var(--payment)}.transaction-balance-state{display:inline-flex;align-items:baseline;gap:5px;font-variant-numeric:tabular-nums}.transaction-balance-state small{font-size:10px}.transaction-balance-state.is-debt{color:var(--debt)}.transaction-balance-state.is-credit{color:var(--payment)}.transaction-balance-state.is-settled{color:var(--primary)}.transaction-balance-loading{color:var(--text-muted)!important;font-weight:600!important}.transaction-detail-warning{margin:9px 0 0;color:var(--text-muted);font-size:11px;text-align:center}.transaction-more-actions{padding:4px 0 10px}.transaction-more-delete{width:100%;min-height:58px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:11px;padding:10px 13px;border:1px solid var(--debt-border);border-radius:var(--radius-md);background:var(--danger-surface);color:var(--danger);text-align:right}.transaction-more-delete>span{min-width:0;display:flex;flex-direction:column}.transaction-more-delete strong{font-size:13px}.transaction-more-delete small{color:var(--text-muted);font-size:10.5px}.customer-sheet__footer--single{grid-template-columns:1fr}.transaction-more-button,.transaction-edit-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.transaction-delete-confirm__icon svg{display:block}.customer-filter-sheet__body{display:grid;gap:18px}.customer-filter-group{min-width:0;margin:0;padding:0;border:0}.customer-filter-group legend{width:100%;margin-bottom:7px;color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:13px;font-weight:700}.customer-filter-option{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 4px;border-bottom:1px solid var(--border);color:var(--text);font-size:12.5px;cursor:pointer}.customer-filter-option:last-child{border-bottom:0}.customer-filter-option input{width:18px;height:18px;margin:0;accent-color:var(--primary-solid)}.customer-filter-apply{display:inline-flex;align-items:center;justify-content:center;gap:7px}.customer-details-ledger{width:min(100%,980px);margin:0 auto}.customer-details-toolbar{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;min-height:44px;margin-bottom:16px}.customer-details-toolbar h1{margin:0;color:var(--text);font-size:17px;font-weight:700;text-align:center}.customer-details-icon-button{width:42px;height:42px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text)}.customer-details-icon-button:hover,.customer-details-icon-button[aria-expanded=true]{background:var(--surface-muted)}.customer-details-menu{position:relative;z-index:15}.customer-details-menu__popover{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-start:0;width:min(268px,calc(100vw - 32px));overflow:hidden;padding:6px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm)}.customer-details-menu__popover button{width:100%;min-height:44px;display:flex;align-items:center;gap:11px;padding:0 11px;border:0;border-radius:9px;background:transparent;color:var(--text);font-size:13px;font-weight:600;text-align:right}.customer-details-menu__popover button:hover,.customer-details-menu__popover button:focus-visible{background:var(--surface-muted)}.customer-details-menu__popover button:disabled{cursor:wait;opacity:.55}.customer-details-menu__popover .customer-details-menu__danger{margin-top:5px;border-top:1px solid var(--border);border-radius:0 0 9px 9px;color:var(--danger)}.customer-details-identity{min-width:0;display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:2px 4px}.customer-details-avatar{flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:20px;font-weight:700}.customer-details-identity>div:last-child{min-width:0}.customer-details-identity h2{max-width:100%;overflow:hidden;margin:0;color:var(--text);font-size:19px;font-weight:700;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.customer-details-identity span,.customer-details-identity small{display:block;color:var(--text-muted);font-size:12px;font-weight:500}.customer-details-identity span{width:fit-content;margin-top:1px;text-align:right}.customer-details-identity small{margin-top:3px}.customer-details-feedback,.customer-details-readonly{margin:0 0 10px;padding:9px 11px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-muted);font-size:12px;font-weight:600}.customer-details-feedback{border-color:var(--teal-200);background:var(--primary-soft);color:var(--primary)}.customer-balance-summary{min-height:112px;display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.customer-balance-summary>svg{flex:0 0 44px;width:44px;height:44px;padding:10px;border-radius:50%;background:var(--surface-muted)}.customer-balance-summary>div{min-width:0}.customer-balance-summary span,.customer-balance-summary b{display:block;font-size:12px;font-weight:650}.customer-balance-summary span{color:var(--text-muted)}.customer-balance-summary strong{display:block;max-width:100%;margin-top:2px;color:inherit;font-size:clamp(25px,8vw,34px);font-weight:700;line-height:1.22;overflow-wrap:anywhere;text-align:right}.customer-balance-summary b{margin-top:2px}.customer-balance-summary--debt{border-color:var(--debt-border);background:var(--debt-soft);color:var(--debt)}.customer-balance-summary--debt>svg{background:var(--debt-icon-surface)}.customer-balance-summary--credit{border-color:var(--payment-border);background:var(--payment-soft);color:var(--payment)}.customer-balance-summary--credit>svg{background:var(--payment-icon-surface)}.customer-balance-summary--settled{color:var(--primary)}.customer-details-actions{display:grid;gap:8px;margin-top:10px}.customer-record-action,.customer-summary-action{min-height:47px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border-radius:var(--radius-md);font-size:14px;font-weight:700}.customer-record-action{border:1px solid var(--brand-surface);background:var(--brand-surface);color:var(--on-brand);box-shadow:var(--shadow-xs)}.customer-record-action:hover{background:var(--brand-surface-hover)}.customer-record-action:disabled{cursor:not-allowed;opacity:.45}.customer-summary-action{justify-content:flex-start;border:1px solid var(--border-strong);background:var(--surface);color:var(--text)}.customer-summary-action span{flex:1;text-align:center}.customer-summary-action svg:first-child{color:var(--primary)}.customer-last-activity{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;margin-top:6px;border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px}.customer-last-activity strong{color:var(--text);font-size:11px;font-weight:600}.customer-ledger-section{margin-top:20px}.customer-ledger-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.customer-ledger-heading h2{margin:0;color:var(--text);font-size:17px;font-weight:700}.customer-ledger-filter{position:relative;min-width:94px}.customer-ledger-filter select{width:100%;min-height:38px;appearance:none;padding:0 34px 0 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text);font-size:12px;font-weight:650}.customer-ledger-filter>svg{position:absolute;inset-block-start:50%;inset-inline-start:12px;pointer-events:none;color:var(--text-muted);transform:translateY(-50%)}.customer-ledger-list{border-block-start:1px solid var(--border)}.customer-ledger-entry{display:contents}.customer-ledger-day{padding:11px 2px 7px;border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600}.customer-ledger-row{width:100%;min-height:70px;display:grid;grid-template-columns:38px minmax(0,1fr) minmax(104px,auto);align-items:center;gap:10px;padding:10px 2px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);text-align:right}.customer-ledger-row:hover{background:color-mix(in srgb,var(--surface-muted) 65%,transparent)}.customer-ledger-row__icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%}.customer-ledger-row__icon--debt{background:var(--debt-soft);color:var(--debt)}.customer-ledger-row__icon--payment{background:var(--payment-soft);color:var(--payment)}.customer-ledger-row__content,.customer-ledger-row__value{min-width:0}.customer-ledger-row__content strong,.customer-ledger-row__content small,.customer-ledger-row__value strong,.customer-ledger-row__value small{display:block}.customer-ledger-row__content strong{font-size:13px;font-weight:700}.customer-ledger-row__content small{overflow:hidden;margin-top:2px;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.customer-ledger-row__value{text-align:left}.customer-ledger-row__value strong{max-width:180px;overflow-wrap:anywhere;font-size:13px;font-weight:700;line-height:1.35;text-align:left}.customer-ledger-row--debt .customer-ledger-row__value strong{color:var(--debt)}.customer-ledger-row--payment .customer-ledger-row__value strong{color:var(--payment)}.customer-ledger-row__value small{margin-top:3px;color:var(--text-muted);font-size:10px}.customer-ledger-more,.customer-ledger-state button,.customer-details-error button{min-height:40px;padding:0 13px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--primary);font-size:12px;font-weight:700}.customer-ledger-more{width:100%;margin-top:10px}.customer-ledger-more:disabled{cursor:wait;opacity:.6}.customer-ledger-state{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px dashed var(--border-strong);border-radius:var(--radius-md);background:var(--surface);color:var(--text-muted);text-align:center}.customer-ledger-state strong{color:var(--text);font-size:13px}.customer-ledger-inline-error{margin:8px 0 0;color:var(--danger);font-size:12px;text-align:center}.customer-details-skeleton,.customer-ledger-loading{display:grid;gap:10px}.customer-details-skeleton>span,.customer-ledger-loading>span{display:block;border-radius:var(--radius-md);background:linear-gradient(100deg,var(--skeleton-base) 25%,var(--skeleton-highlight) 40%,var(--skeleton-base) 58%);background-size:200% 100%;animation:customer-details-shimmer 1.1s ease-in-out infinite}.customer-details-skeleton__toolbar{height:44px}.customer-details-skeleton__identity{height:64px}.customer-details-skeleton__balance{height:112px}.customer-details-skeleton__ledger{height:310px}.customer-ledger-loading>span{height:68px}.customer-details-error{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:22px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);text-align:center}.customer-details-error>div{display:flex;gap:8px}.customer-summary-metrics,.customer-summary-facts{margin:0;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.customer-summary-facts{margin-top:10px}.customer-summary-metrics>div,.customer-summary-facts>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:10px 12px}.customer-summary-metrics>div+div,.customer-summary-facts>div+div{border-top:1px solid var(--border)}.customer-summary-metrics dt,.customer-summary-facts dt{color:var(--text-muted);font-size:12px;font-weight:600}.customer-summary-metrics dd,.customer-summary-facts dd{margin:0;color:var(--text);font-size:13px;font-weight:700;text-align:left}.customer-summary-metrics dd small{display:inline-block;margin-inline-start:3px;font-size:10px}.customer-summary-metrics .is-debt{color:var(--debt)}.customer-summary-metrics .is-payment,.customer-summary-metrics .is-credit{color:var(--payment)}.customer-summary-metrics .is-settled{color:var(--primary)}@keyframes customer-details-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media(max-width:360px){.customer-details-toolbar{grid-template-columns:38px minmax(0,1fr) 38px}.customer-details-icon-button{width:38px;height:38px}.customer-balance-summary strong{font-size:23px}.customer-ledger-row{grid-template-columns:34px minmax(0,1fr) minmax(92px,auto);gap:8px}.customer-ledger-row__icon{width:34px;height:34px}}@media(min-width:720px){.customer-details-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-details-actions .customer-record-action{grid-column:1 / -1}}@media(min-width:900px){.customer-details-ledger{display:grid;grid-template-columns:340px minmax(0,1fr);grid-template-areas:"toolbar toolbar" "identity ledger" "balance ledger" "actions ledger" "activity ledger";align-items:start;column-gap:28px}.customer-details-toolbar{grid-area:toolbar;margin-bottom:22px}.customer-details-identity{grid-area:identity}.customer-balance-summary{grid-area:balance}.customer-details-actions{grid-area:actions;grid-template-columns:1fr}.customer-details-actions .customer-record-action{grid-column:auto}.customer-last-activity{grid-area:activity}.customer-ledger-section{grid-area:ledger;margin-top:0}.customer-ledger-section{padding:16px 18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.customer-details-menu__popover{inset-inline-start:auto;inset-inline-end:0}}@media(prefers-reduced-motion:reduce){.customer-details-skeleton>span,.customer-ledger-loading>span{animation:none}}.customer-profile{width:min(100%,760px);margin:0 auto}.customer-profile__identity{display:grid;justify-items:center;gap:3px;padding:4px 10px 10px;text-align:center}.customer-profile__avatar{width:62px;height:62px;display:grid;place-items:center;margin-bottom:4px;border-radius:50%;background:var(--primary-soft);color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:21px;font-weight:750}.customer-profile__identity h2{max-width:100%;overflow:hidden;margin:0;color:var(--text);font-size:19px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.customer-profile__identity>span{color:var(--text-muted);font-size:12px}.customer-profile__identity small{color:var(--text-soft);font-size:10.5px}.customer-profile__quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:2px 0 15px}.customer-profile__quick-actions button,.customer-profile__quick-actions a{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border:1px solid var(--teal-200);border-radius:var(--radius-sm);background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:700;text-decoration:none}.customer-profile__quick-actions button:disabled{cursor:not-allowed;opacity:.48}.customer-profile__document-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:-7px 0 14px}.customer-profile__document-actions button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-muted);font-size:10.5px;font-weight:700}.customer-profile__document-actions button:hover:not(:disabled){background:var(--surface-subtle);color:var(--primary)}.customer-profile__document-actions button:disabled{cursor:wait;opacity:.62}.customer-profile__section{margin-top:14px}.customer-profile__section>h3{margin:0 2px 8px;color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:14px;font-weight:700}.customer-profile__financial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.customer-profile__financial-grid>div{min-width:0;min-height:68px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:10px 12px;border-bottom:1px solid var(--border)}.customer-profile__financial-grid>div:nth-child(odd){border-inline-end:1px solid var(--border)}.customer-profile__financial-grid>div:nth-last-child(-n+2){border-bottom:0}.customer-profile__financial-grid .customer-profile__financial-wide{grid-column:1 / -1;min-height:54px;border-inline-end:0}.customer-profile__financial-grid span{color:var(--text-muted);font-size:10.5px}.customer-profile__financial-grid strong{max-width:100%;overflow:hidden;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.customer-profile__financial-grid .is-debt strong{color:var(--debt)}.customer-profile__financial-grid .is-payment strong,.customer-profile__financial-grid .is-credit strong{color:var(--payment)}.customer-profile__financial-grid .is-settled strong{color:var(--text-muted)}.customer-profile__ledger-link{width:100%;min-height:58px;display:grid;grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;gap:9px;margin-top:8px;padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--primary);text-align:right}.customer-profile__ledger-link>span{min-width:0;display:flex;flex-direction:column}.customer-profile__ledger-link strong{color:var(--text);font-size:12.5px}.customer-profile__ledger-link small{margin-top:1px;color:var(--text-muted);font-size:10px}.customer-profile__notes{min-height:64px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:9px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text-muted)}.customer-profile__notes p{margin:0;color:var(--text);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.customer-profile__delete{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:18px;border:1px solid var(--danger-border);border-radius:var(--radius-md);background:var(--danger-surface);color:var(--danger);font-size:12px;font-weight:750}.customer-profile-skeleton{width:min(100%,760px);display:grid;gap:10px;margin:0 auto}.customer-profile-skeleton span{min-height:58px;border-radius:var(--radius-md);background:linear-gradient(100deg,var(--skeleton-base) 25%,var(--skeleton-highlight) 40%,var(--skeleton-base) 58%);background-size:200% 100%;animation:customer-details-shimmer 1.1s ease-in-out infinite}.customer-profile-skeleton span:first-child{min-height:110px}.customer-profile-skeleton span:nth-child(3){min-height:150px}@media(min-width:700px){.customer-profile__financial-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-profile__financial-grid>div,.customer-profile__financial-grid>div:nth-child(odd){border-inline-end:1px solid var(--border);border-bottom:0}.customer-profile__financial-grid>div:nth-child(4){border-inline-end:0}.customer-profile__financial-grid .customer-profile__financial-wide{grid-column:1 / -1;border-top:1px solid var(--border);border-inline-end:0}}@media(prefers-reduced-motion:reduce){.customer-profile-skeleton span{animation:none}}.account-page{gap:22px}.account-identity{display:grid;justify-items:center;gap:4px;padding:8px 16px 4px;text-align:center}.account-identity__avatar{width:68px;height:68px;display:grid;place-items:center;margin-bottom:8px;border-radius:50%;background:var(--avatar-mint-bg);color:var(--avatar-mint-text);font-family:Cairo,Tajawal,sans-serif;font-size:23px;font-weight:750}.account-identity strong{max-width:min(100%,520px);overflow:hidden;color:var(--text);font-size:18px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.account-identity>span:not(.account-identity__avatar){max-width:100%;overflow-wrap:anywhere;color:var(--text-muted);font-size:12.5px}.account-business-card,.account-data-list,.account-subscription{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.account-business-card{padding:15px}.account-business-card__header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px}.account-business-card__icon,.account-data-row__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--primary-soft);color:var(--primary)}.account-business-card__header>div{min-width:0}.account-business-card__header span:not(.account-business-card__icon),.account-data-row small{display:block;color:var(--text-muted);font-size:11px;font-weight:650}.account-business-card__header strong{display:block;margin-top:3px;overflow:hidden;color:var(--text);font-size:15px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.account-edit-icon{width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--primary)}.account-edit-icon:hover{background:var(--primary-soft)}.account-business-edit{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.account-business-edit label>span{display:block;margin-bottom:7px;color:var(--text-muted);font-size:11px;font-weight:700}.account-business-edit input{width:100%;min-height:46px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--text);outline:none}.account-business-edit input:focus{border-color:var(--primary);background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb,var(--focus-ring) 15%,transparent)}.account-business-edit__actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:9px;margin-top:11px}.account-business-edit__actions .auth-submit{margin:0}.account-settings-message,.account-password-message,.account-readonly-hint{margin:11px 0 0;font-size:12px;line-height:1.7}.account-settings-message,.account-password-message{color:var(--primary);font-weight:700}.account-readonly-hint{color:var(--text-muted)}.account-password-card{width:min(100%,560px)}.account-password-card .auth-helper{margin-bottom:18px}.account-password-card .auth-field input{padding-right:52px;padding-left:13px;background:var(--surface-subtle)}.account-password-card .password-toggle{right:8px;left:auto}.account-password-card .auth-field input:focus{background:var(--surface)}.account-password-form .auth-submit{margin-top:2px}.account-password-forgot{margin:12px auto 0;text-align:center}.account-password-forgot:disabled{cursor:wait;opacity:.6}.account-data-list{overflow:hidden;margin-top:10px}.account-data-row{min-height:64px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 14px;border-bottom:1px solid var(--border)}.account-data-row:last-child{border-bottom:0}.account-data-row>div{min-width:0}.account-data-row strong{display:block;margin-top:2px;overflow-wrap:anywhere;color:var(--text);font-size:13.5px;font-weight:750}.account-data-row--action button{min-height:34px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--primary);font-size:11.5px;font-weight:750}.account-data-row--action button:hover:not(:disabled){background:var(--primary-soft)}.account-data-row--action button:disabled{cursor:wait;opacity:.62}.account-subscription{overflow:hidden}.account-subscription__status{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;padding:16px;background:var(--success-surface)}.account-subscription__status>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--surface);color:var(--payment)}.account-subscription__status strong{display:block;color:var(--text);font-size:15px;font-weight:800}.account-subscription__status small{display:block;margin-top:2px;color:var(--text-muted);font-size:11.5px;line-height:1.6}.account-subscription--pending .account-subscription__status{background:var(--gold-100)}.account-subscription--pending .account-subscription__status>span{color:var(--gold-500)}.account-subscription--expired .account-subscription__status,.account-subscription--disabled .account-subscription__status{background:var(--danger-surface)}.account-subscription--expired .account-subscription__status>span,.account-subscription--disabled .account-subscription__status>span{color:var(--danger)}.account-subscription__details{display:grid;padding:2px 16px}.account-subscription__details>div{min-height:48px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--border);color:var(--text);font-size:12.5px}.account-subscription__details>div:last-child{border-bottom:0}.account-subscription__details svg{flex:0 0 auto;color:var(--primary)}.account-logout{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid var(--danger-border);border-radius:var(--radius-md);background:var(--danger-surface);color:var(--danger);font-weight:800}.account-logout:hover:not(:disabled){border-color:var(--danger)}.account-logout:disabled{cursor:wait;opacity:.65}@media(min-width:700px){.account-identity{padding-top:12px}.account-business-card,.account-data-list,.account-subscription{width:100%}}.admin-hero{position:relative;overflow:hidden;display:flex;align-items:stretch;justify-content:space-between;gap:16px;padding:18px;border:1px solid rgb(255 255 255 / 9%);border-radius:var(--radius-lg);background:radial-gradient(circle at 8% 0%,rgb(20 184 166 / 20%),transparent 36%),linear-gradient(145deg,var(--brand-navy),#102a3d);box-shadow:0 16px 34px #07131f2e;color:var(--on-brand)}.admin-hero:before{position:absolute;inset-inline:18px;inset-block-start:0;height:2px;border-radius:999px;background:linear-gradient(90deg,var(--brand-gold),var(--brand-teal));content:""}.admin-hero__copy{min-width:0;flex:1 1 auto}.admin-hero__eyebrow{display:inline-flex;align-items:center;gap:6px;color:#ffffffad;font-size:11.5px;font-weight:700}.admin-hero h1{margin:7px 0 0;color:#fff;font-family:Cairo,Tajawal,sans-serif;font-size:clamp(22px,6vw,30px);font-weight:800;line-height:1.35}.admin-hero__copy>p{margin:4px 0 0;color:#ffffff9e;font-size:11.5px;line-height:1.7}.admin-hero__metric{min-width:108px;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px;border:1px solid rgb(255 255 255 / 13%);border-radius:var(--radius-md);background:#ffffff12;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.admin-hero__metric-icon{width:36px;height:36px;display:grid;flex:0 0 auto;place-items:center;border-radius:11px;background:#14b8a629;color:#7be1d4}.admin-hero__metric-copy{min-width:0;display:grid;gap:2px}.admin-hero__metric-copy strong{color:#fff;font-size:20px;font-weight:800;line-height:1}.admin-hero__metric-copy small{color:#ffffff9e;font-size:10px;white-space:nowrap}.admin-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.admin-status-card{min-width:0;min-height:74px;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-xs)}.admin-status-card__icon{width:36px;height:36px;display:grid;flex:0 0 auto;place-items:center;border-radius:11px;background:var(--surface-muted);color:var(--text-muted)}.admin-status-card__copy{min-width:0;display:grid;gap:4px}.admin-status-card strong,.admin-status-card__copy>span{display:block}.admin-status-card strong{color:var(--text);font-size:20px;font-weight:850;line-height:1}.admin-status-card__copy>span{overflow:hidden;color:var(--text-muted);font-size:10.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.admin-status-card--active{border-color:color-mix(in srgb,var(--payment) 25%,var(--border));background:color-mix(in srgb,var(--payment-soft) 62%,var(--surface))}.admin-status-card--active .admin-status-card__icon{background:var(--payment-soft);color:var(--payment)}.admin-status-card--pending{border-color:color-mix(in srgb,var(--brand-gold) 30%,var(--border))}.admin-status-card--pending .admin-status-card__icon{background:var(--gold-100);color:var(--gold-500)}.admin-status-card--expired .admin-status-card__icon{background:var(--warning-surface);color:var(--warning-text)}.admin-status-card--disabled{border-color:color-mix(in srgb,var(--danger) 22%,var(--border));background:color-mix(in srgb,var(--danger-surface) 54%,var(--surface))}.admin-status-card--disabled .admin-status-card__icon{background:var(--danger-surface);color:var(--danger)}.admin-toolbar{display:grid;gap:8px;margin-top:14px}.admin-toolbar .customers-search-wrap{min-height:48px;border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-xs)}.admin-toolbar .customers-count{width:fit-content;margin-inline-start:auto;padding:5px 9px;border:1px solid var(--border);border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:10.5px;font-weight:750}.admin-feedback{margin:12px 0 0;padding:12px 14px;border:1px solid var(--payment-border);border-radius:var(--radius-md);background:var(--success-surface);color:var(--payment);font-size:12px;font-weight:750;line-height:1.7}.admin-accounts{display:grid;gap:10px;margin-top:14px}.admin-account-card{position:relative;overflow:hidden;padding:15px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.admin-account-card:before{position:absolute;inset-block:0;inset-inline-start:0;width:3px;background:var(--border-strong);content:""}.admin-account-card--active:before{background:var(--payment)}.admin-account-card--pending:before{background:var(--brand-gold)}.admin-account-card--expired:before{background:var(--warning-text)}.admin-account-card--disabled:before,.admin-account-card--blocked:before{background:var(--danger)}.admin-account-card__top{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px}.admin-account-avatar{width:42px;height:42px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--primary) 12%,var(--border));border-radius:13px;background:linear-gradient(145deg,var(--primary-soft),var(--surface-muted));color:var(--primary);font-family:Cairo,Tajawal,sans-serif;font-size:17px;font-weight:850}.admin-account-identity{min-width:0}.admin-account-identity strong,.admin-account-identity span{display:block}.admin-account-identity strong{overflow:hidden;color:var(--text);font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.admin-account-identity span{margin-top:3px;color:var(--text-muted);font-size:10.5px;line-height:1.5}.admin-status-badge{min-height:27px;display:inline-flex;align-items:center;padding:4px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:9.5px;font-weight:800;white-space:nowrap}.admin-status-badge--active{border-color:var(--payment-border);background:var(--payment-soft);color:var(--payment)}.admin-status-badge--pending{border-color:color-mix(in srgb,var(--brand-gold) 30%,var(--border));background:var(--gold-100);color:var(--gold-500)}.admin-status-badge--disabled,.admin-status-badge--blocked{border-color:var(--danger-border);background:var(--danger-surface);color:var(--danger)}.admin-status-badge--expired{border-color:var(--warning-border);background:var(--warning-surface);color:var(--warning-text)}.admin-account-card__date{min-height:42px;display:flex;align-items:center;gap:7px;margin-top:13px;padding:9px 11px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--text-muted);font-size:11px}.admin-account-card__date svg{flex:0 0 auto;color:var(--primary)}.admin-account-card__date strong{margin-inline-start:auto;color:var(--text);font-size:11.5px;font-weight:800}.admin-account-actions{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:8px;margin-top:10px}.admin-account-action{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border-radius:var(--radius-sm);font:inherit;font-size:11.5px;font-weight:800;transition:border-color .15s ease,background-color .15s ease,color .15s ease,transform .1s ease}.admin-account-action--activate{border:1px solid color-mix(in srgb,var(--primary) 34%,var(--border));background:var(--primary-soft);color:var(--primary)}.admin-account-action--disable{border:1px solid var(--danger-border);background:var(--surface);color:var(--danger)}.admin-account-action:disabled{cursor:not-allowed;opacity:.45}.admin-account-card__admin-note{margin:11px 0 0;padding:10px 11px;border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text-muted);font-size:10.5px;line-height:1.7}.admin-confirm-account{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-subtle)}.admin-confirm-account__icon{width:40px;height:40px;display:grid;flex:0 0 auto;place-items:center;border-radius:12px;background:var(--primary-soft);color:var(--primary)}.admin-confirm-account small,.admin-confirm-account strong{display:block}.admin-confirm-account small{color:var(--text-muted);font-size:10.5px}.admin-confirm-account strong{margin-top:2px;color:var(--text);font-size:13px}.admin-confirm-copy{margin:13px 0 16px;color:var(--text-muted);font-size:12px;line-height:1.8}.admin-duration-fieldset{margin:0;padding:0;border:0}.admin-duration-fieldset legend{margin-bottom:8px;color:var(--text);font-size:12.5px;font-weight:800}.admin-duration-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.admin-duration-option{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-muted);font:inherit;font-size:11.5px;font-weight:800;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.admin-duration-option--active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px #14b8a614}@media(hover:hover){.admin-account-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.admin-account-action--activate:hover:not(:disabled),.admin-duration-option:hover{border-color:var(--primary);background:color-mix(in srgb,var(--primary-soft) 72%,var(--surface))}.admin-account-action--disable:hover:not(:disabled){background:var(--danger-surface)}}.admin-account-action:active:not(:disabled),.admin-duration-option:active:not(:disabled){transform:translateY(1px)}.admin-account-action:focus-visible,.admin-duration-option:focus-visible{outline:3px solid var(--auth-focus-ring);outline-offset:2px}@media(max-width:390px){.admin-hero{align-items:flex-start;flex-direction:column}.admin-hero__metric{width:100%;justify-content:flex-start}.admin-account-card__top{grid-template-columns:40px minmax(0,1fr)}.admin-status-badge{grid-column:2;width:fit-content}.admin-account-actions{grid-template-columns:1fr}}@media(min-width:620px){.admin-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center}.admin-toolbar .customers-count{margin-inline-start:0}}@media(min-width:700px){.admin-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-accounts .customers-load-more{grid-column:1 / -1}}@media(min-width:900px){.admin-hero{padding:22px}.admin-hero__metric{min-width:132px}}.more-page,.more-detail-page{display:grid;gap:22px}.more-page__header{display:flex;flex-direction:column;gap:3px;margin-bottom:0}.more-page__header .page-header__eyebrow{order:2;margin:0}.more-account-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 18px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.more-account-card__identity{min-width:0;display:flex;align-items:center;gap:12px}.more-account-card__avatar{flex:0 0 54px;width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:var(--avatar-mint-bg);color:var(--avatar-mint-text);font-family:Cairo,Tajawal,sans-serif;font-size:20px;font-weight:700}.more-account-card__copy{min-width:0;display:grid;gap:2px}.more-account-card__copy strong{overflow:hidden;color:var(--text);font-size:17px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.more-account-card__copy span{min-width:0;overflow-wrap:anywhere;color:var(--text-muted);font-size:13px;text-align:right}.more-account-card__subscription{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;padding-inline-start:66px}.more-status{min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text-muted);font-size:12px;font-weight:750}.more-status--active{border-color:var(--teal-200);background:var(--success-surface);color:var(--brand-dark)}.more-status--pending{border-color:var(--gold-100);background:var(--gold-100);color:var(--avatar-sand-text)}.more-status--expired,.more-status--disabled{border-color:var(--danger-border);background:var(--danger-surface);color:var(--danger)}.more-account-card__date{color:var(--text-muted);font-size:12px}.more-account-card__link{grid-column:1 / -1;min-height:42px;display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;padding:0;border:0;border-top:1px solid var(--border);background:transparent;color:var(--primary);font-weight:750;text-align:right}.more-account-card__link:hover{color:var(--primary-hover)}.more-section{display:grid;gap:9px}.more-section h2{margin:0;color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:15px;font-weight:700}.more-section__rows{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.more-row{width:100%;min-height:70px;display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:11px;padding:11px 14px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);text-align:right;transition:background-color .15s ease,color .15s ease}.more-row:last-child{border-bottom:0}.more-row:hover{background:var(--surface-subtle)}.more-row:active{background:var(--surface-muted)}.more-row__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--primary-soft);color:var(--primary)}.more-row__copy{min-width:0;display:grid;gap:2px}.more-row__copy strong{color:var(--text);font-size:14px;font-weight:750}.more-row__copy small{color:var(--text-muted);font-size:11.5px;line-height:1.6}.more-row__chevron{color:var(--text-soft)}.more-build-meta{display:grid;justify-items:center;gap:3px;margin-top:-4px;padding:4px 0 0}.more-version,.more-powered{margin:0;text-align:center}.more-version{color:var(--text-soft);font-size:11px}.more-powered{color:var(--primary);font-size:10.5px;font-weight:700;letter-spacing:.01em}.more-logout{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid var(--danger-border);border-radius:var(--radius-md);background:var(--danger-surface);color:var(--danger);font-weight:800}.more-logout:hover{border-color:var(--danger)}.more-dialog-backdrop{position:fixed;z-index:var(--z-backdrop);inset:0;display:grid;place-items:center;padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:var(--overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.more-dialog{z-index:var(--z-dialog);width:min(100%,410px);max-height:calc(100dvh - 40px);overflow:auto;padding:22px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);text-align:center}.more-dialog__icon{width:46px;height:46px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:var(--danger-surface);color:var(--danger)}.more-dialog h2{margin:0;color:var(--text);font-family:Cairo,Tajawal,sans-serif;font-size:19px}.more-dialog>p{margin:8px 0 0;color:var(--text-muted);font-size:13px;line-height:1.8}.more-dialog .more-dialog__error{padding:10px 12px;border:1px solid var(--danger-border);border-radius:var(--radius-sm);background:var(--danger-surface);color:var(--danger)}.more-dialog__actions{display:grid;grid-template-columns:1fr 1.25fr;gap:9px;margin-top:18px}.more-dialog__actions button{min-height:44px;padding:0 12px;border-radius:var(--radius-sm);font-weight:750;white-space:nowrap}.more-dialog__actions button:disabled{cursor:wait;opacity:.68}.more-dialog__cancel{border:1px solid var(--border);background:var(--surface);color:var(--text)}.more-dialog__cancel:hover:not(:disabled){background:var(--surface-muted)}.more-dialog__confirm{border:1px solid var(--danger);background:var(--danger);color:var(--surface)}.more-dialog__confirm:hover:not(:disabled){background:var(--debt)}.more-detail-page{align-content:start}.more-detail-back{width:fit-content;min-height:42px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--primary);font-weight:750}.more-detail-back:hover{background:var(--primary-soft)}.more-detail-page__header{margin:0}.more-placeholder{display:grid;justify-items:center;gap:13px;min-height:210px;padding:30px 22px;border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--surface);text-align:center}.more-placeholder__icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--primary)}.more-placeholder p{max-width:480px;margin:0;color:var(--text-muted);font-size:13px;line-height:1.9}.about-zimma{display:grid;justify-items:center;gap:18px;padding:28px 22px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs);text-align:center}.about-zimma .zimma-brand{max-width:100%}.about-zimma h1{margin:0;color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:clamp(20px,5vw,25px);line-height:1.55}.about-zimma p{max-width:560px;margin:9px 0 0;color:var(--text-muted);font-size:13px;line-height:1.9}@media(min-width:700px){.more-account-card{grid-template-columns:minmax(0,1fr) auto auto;padding:18px 20px}.more-account-card__subscription,.more-account-card__link{grid-column:auto;padding-inline-start:0}.more-account-card__subscription{display:grid;justify-items:start}.more-account-card__link{min-width:108px;justify-content:flex-end;padding-inline-start:16px;border-top:0;border-inline-start:1px solid var(--border)}}@media(min-width:900px){.more-page,.more-detail-page{max-width:720px}}@media(max-width:380px){.more-account-card__subscription{padding-inline-start:0}.more-row{grid-template-columns:38px minmax(0,1fr) 18px;gap:9px;padding-inline:11px}.more-row__icon{width:38px;height:38px}}.more-internal-header{min-height:52px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:8px}.more-internal-header__back{width:42px;height:42px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--brand-dark)}.more-internal-header__back:hover{background:var(--primary-soft)}.more-internal-header__copy{grid-column:2;min-width:0;text-align:center}.more-internal-header__copy h1{margin:0;color:var(--brand-dark);font-size:clamp(18px,5vw,22px);font-weight:750;line-height:1.5}.more-internal-header__copy p{margin:2px 0 0;color:var(--text-muted);font-size:11.5px;line-height:1.5}.settings-page{gap:20px}.settings-group{display:grid;gap:8px}.settings-group h2{margin:0;color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:14px;font-weight:700}.settings-panel{overflow:hidden;padding:0 14px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.settings-setting{min-height:64px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px}.settings-setting__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--primary-soft);color:var(--primary)}.settings-setting__copy{min-width:0;display:grid;gap:2px}.settings-setting__copy strong{color:var(--text);font-size:13.5px;font-weight:750}.settings-setting__copy small{color:var(--text-muted);font-size:11px;line-height:1.55}.settings-setting__availability,.settings-setting__value{color:var(--text-muted);font-size:11.5px;font-weight:700;white-space:nowrap}.settings-setting__availability{padding:4px 7px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted)}.settings-setting__availability[data-state=enabled]{border-color:color-mix(in srgb,var(--primary-solid) 30%,var(--border));background:var(--primary-soft);color:var(--primary)}.settings-setting__availability[data-state=denied]{border-color:var(--danger-border);background:var(--danger-surface);color:var(--danger)}.settings-panel__note{margin:0 -14px;padding:10px 14px 12px;border-top:1px solid var(--border);color:var(--text-muted);font-size:11px;line-height:1.75}.settings-segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 13px 51px;padding:3px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted)}.settings-segmented--two{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-segmented--numerals{grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,.8fr))}.settings-segmented--numerals button{min-width:0;padding-inline:5px;line-height:1.3;white-space:normal}.settings-segmented button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 7px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font-size:11.5px;font-weight:700}.settings-segmented button[aria-pressed=true]{background:var(--primary);color:var(--surface);box-shadow:var(--shadow-xs)}.settings-divider{height:1px;margin:0 -14px;background:var(--border)}.more-row--static{cursor:default;grid-template-columns:42px minmax(0,1fr) auto}.more-row--static:hover,.more-row--static:active{background:transparent}.more-row--static .more-row__icon{background:var(--surface-muted);color:var(--text-muted)}.more-row__state{color:var(--text-soft);font-size:11px;font-weight:700;white-space:nowrap}.more-availability-card{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:start;gap:13px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.more-availability-card__icon{width:50px;height:50px;display:grid;place-items:center;border-radius:var(--radius-md);background:var(--primary-soft);color:var(--primary)}.more-availability-card strong{display:block;color:var(--text);font-size:14px;font-weight:800}.more-availability-card p{margin:5px 0 0;color:var(--text-muted);font-size:11.5px;line-height:1.8}.more-safety-callout{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:13px 14px;border:1px solid var(--info-border);border-radius:var(--radius-md);background:var(--info-surface);color:var(--info-text)}.more-safety-callout svg{margin-top:2px}.more-safety-callout strong{display:block;color:inherit;font-size:12.5px;font-weight:800}.more-safety-callout span{display:block;margin-top:2px;color:inherit;font-size:11px;line-height:1.7}.support-intro{display:grid;justify-items:center;gap:10px;padding:8px 16px 2px;text-align:center}.support-intro__icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;border:2px solid var(--primary);color:var(--primary)}.support-intro h2{margin:0;color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:18px}.support-intro p{margin:3px 0 0;color:var(--text-muted);font-size:11.5px}.support-search{min-height:46px;display:grid;grid-template-columns:20px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:0 10px 0 6px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text-muted)}.support-search input{min-width:0;height:44px;padding:0;border:0;background:transparent;color:var(--text);outline:none}.support-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.support-search button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text-muted)}.support-search button:hover{background:var(--surface-muted)}.faq-list{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.faq-item{border-bottom:1px solid var(--border)}.faq-item:last-child{border-bottom:0}.faq-item summary{min-height:52px;display:flex;align-items:center;padding:10px 14px;color:var(--text);cursor:pointer;font-size:12.5px;font-weight:750;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:before{content:"‹";flex:0 0 auto;margin-inline-end:auto;color:var(--text-soft);font-size:19px;line-height:1;transition:transform .15s ease}.faq-item[open] summary:before{transform:rotate(-90deg)}.faq-item p{margin:0;padding:0 14px 13px;color:var(--text-muted);font-size:11.5px;line-height:1.85}.support-empty{padding:22px 16px;color:var(--text-muted);font-size:12px;text-align:center}.support-faq-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.support-faq-heading h2{margin:0}.support-faq-heading>span{color:var(--text-soft);font-size:11px;font-weight:700;white-space:nowrap}.faq-categories{display:grid;gap:18px}.faq-category{display:grid;gap:8px}.faq-category h3{margin:0;padding-inline:4px;color:var(--text-muted);font-size:11.5px;font-weight:800;line-height:1.6}.support-contact{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:15px;border:1px solid var(--info-border);border-radius:var(--radius-lg);background:var(--info-surface);color:var(--info-text)}.support-contact>svg{margin-top:2px}.support-contact__copy{min-width:0}.support-contact__copy strong{display:block;color:inherit;font-size:13px;font-weight:800}.support-contact__copy span{display:block;margin-top:3px;color:inherit;font-size:11.5px;line-height:1.75}.support-contact__actions{grid-column:1 / -1;display:grid;gap:8px;margin-top:3px}.support-contact__link{min-width:0;min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--info-text) 18%,var(--border));border-radius:var(--radius-md);background:var(--surface);color:var(--text);text-decoration:none}.support-contact__link:hover{border-color:color-mix(in srgb,var(--primary-solid) 35%,var(--border));background:var(--primary-soft)}.support-contact__link:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.support-contact__link>svg{color:var(--primary)}.support-contact__link>span{min-width:0}.support-contact__link strong{display:block;color:var(--text);font-size:12.5px;font-weight:800}.support-contact__link small{display:block;overflow:hidden;margin-top:2px;color:var(--text-muted);font-size:11px;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}@media(min-width:620px){.support-contact__actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.about-content-card{padding:18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.about-content-card>p{margin:0;color:var(--text-muted);font-size:13px;line-height:1.95}.about-feature-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.about-feature-list li{position:relative;padding-inline-start:20px;color:var(--text);font-size:13px;line-height:1.8}.about-feature-list li:before{content:"";position:absolute;inset-inline-start:2px;top:.72em;width:6px;height:6px;border-radius:50%;background:var(--primary)}.about-pillars{display:grid;gap:10px}.about-pillars article{padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.about-pillars strong{display:block;margin-bottom:6px;color:var(--brand-dark);font-size:13px}.about-pillars p{margin:0;color:var(--text-muted);font-size:12.5px;line-height:1.85}.about-not-bank{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--primary-soft);color:var(--primary)}.about-not-bank p{margin:0;color:var(--text);font-size:12.5px;line-height:1.9}.about-not-bank p+p{margin-top:8px;color:var(--text-muted)}@media(min-width:700px){.about-feature-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px}.about-pillars{grid-template-columns:repeat(3,minmax(0,1fr))}}.about-meta-row{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 14px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.about-meta-row span{color:var(--text-muted);font-size:12px}.about-meta-row strong{color:var(--text);font-size:12.5px}.about-powered{margin:4px 0 max(10px,env(safe-area-inset-bottom));padding:12px 0;color:var(--text-soft);font-size:10.5px;text-align:center;letter-spacing:.01em}.legal-page{max-width:720px}.legal-document{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.legal-document__header{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:14px;padding:20px;border-bottom:1px solid var(--border);background:var(--surface-muted)}.legal-document__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:var(--radius-md);background:var(--primary-soft);color:var(--primary)}.legal-document__heading{min-width:0}.legal-document__heading h1{margin:0;color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:clamp(19px,5vw,24px);font-weight:780;line-height:1.5}.legal-document__updated{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 0;color:var(--text-muted);font-size:11.5px;line-height:1.6}.legal-document__updated time{color:var(--text);font-weight:700}.legal-document__intro{display:grid;gap:8px;padding:18px 20px;border-bottom:1px solid var(--border);background:var(--primary-soft)}.legal-document__intro p{margin:0;color:var(--text);font-size:12.5px;line-height:1.9}.legal-document__sections{display:grid}.legal-section{padding:20px;border-bottom:1px solid var(--border)}.legal-section h2{display:flex;align-items:baseline;gap:8px;margin:0 0 12px;color:var(--brand-dark);font-family:Cairo,Tajawal,sans-serif;font-size:14px;font-weight:760;line-height:1.6}.legal-section__number{flex:0 0 auto;color:var(--primary);font-family:Tajawal,Cairo,sans-serif;font-variant-numeric:tabular-nums;font-weight:800}.legal-section__body{display:grid;gap:10px}.legal-section__body p,.legal-section__body ul{margin:0}.legal-section__body p{color:var(--text-muted);font-size:12.5px;line-height:1.95}.legal-section__body ul{display:grid;gap:7px;padding:0;padding-inline-start:22px;color:var(--text)}.legal-section__body li{padding-inline-start:2px;font-size:12.5px;line-height:1.8}.legal-section__body a,.legal-document__footer a{color:var(--primary);font-weight:700;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}.legal-section__body a:hover,.legal-document__footer a:hover{color:var(--brand-dark)}.legal-document__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:16px 20px max(16px,env(safe-area-inset-bottom));background:var(--surface-muted);color:var(--text-muted);font-size:11.5px;line-height:1.6}.legal-document__footer strong{color:var(--text);font-weight:750}@media(max-width:520px){.legal-document__header{grid-template-columns:44px minmax(0,1fr);gap:11px;padding:16px}.legal-document__icon{width:44px;height:44px;border-radius:var(--radius-sm)}.legal-document__intro,.legal-section{padding:16px}.legal-document__footer{align-items:flex-start;flex-direction:column;padding-inline:16px}}@media(max-width:460px){.settings-segmented{margin-inline-start:0}.settings-setting__availability{max-width:92px;white-space:normal;text-align:center}.more-row--static{grid-template-columns:38px minmax(0,1fr)}.more-row--static .more-row__state{grid-column:2;margin-top:-4px}}.settings-panel--preferences{padding:0}.settings-preference-row,.settings-preference-row__main{min-height:72px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px}.settings-preference-row{padding:8px 14px;border-bottom:1px solid var(--border)}.settings-preference-row:last-of-type{border-bottom:0}.settings-preference-row--stack{display:block}.settings-preference-row--stack .settings-preference-row__main{min-height:56px}.settings-switch{position:relative;width:44px;height:26px;flex:0 0 auto;padding:2px;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface-muted);transition:background-color .15s ease,border-color .15s ease}.settings-switch span{display:block;width:20px;height:20px;border-radius:50%;background:var(--surface);box-shadow:0 1px 4px #0918122e;transform:translate(0);transition:transform .15s ease}[dir=rtl] .settings-switch[aria-checked=true] span{transform:translate(-18px)}[dir=ltr] .settings-switch[aria-checked=true] span{transform:translate(18px)}.settings-switch[aria-checked=true]{border-color:var(--primary-solid);background:var(--primary-solid)}.settings-switch:disabled{cursor:wait;opacity:.62}.push-control__action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 51px 4px 0;padding:9px 0 4px;border-top:1px solid var(--border)}[dir=ltr] .push-control__action{margin:0 0 4px 51px}.push-control__action p{max-width:440px;margin:0;color:var(--text-muted);font-size:11.5px;line-height:1.7}.push-control__button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;padding:0 14px;border:1px solid var(--primary-solid);border-radius:var(--radius-sm);background:var(--primary-solid);color:#fff;font-size:12px;font-weight:750}.push-control__button--secondary{border-color:var(--border-strong);background:var(--surface);color:var(--text)}.push-control__button:disabled{cursor:wait;opacity:.68}.push-control__button svg{animation:zimma-spin .9s linear infinite}.app-toast{position:fixed;z-index:calc(var(--z-sheet) + 2);inset-inline:16px;bottom:max(18px,env(safe-area-inset-bottom));width:fit-content;max-width:min(440px,calc(100vw - 32px));margin-inline:auto;padding:11px 14px;border:1px solid color-mix(in srgb,var(--primary-solid) 28%,var(--border));border-radius:var(--radius-sm);background:var(--brand-dark);box-shadow:0 14px 34px #0918123d;color:#fff;font-size:12.5px;font-weight:700;line-height:1.55}.app-toast[data-tone=error]{border-color:var(--danger-border);background:var(--danger)}.settings-inline-control{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 51px 4px 0;padding-top:7px;border-top:1px solid var(--border);color:var(--text-muted);font-size:11.5px;font-weight:650}[dir=ltr] .settings-inline-control{margin:0 0 4px 51px}.settings-inline-control select,.settings-inline-control input{min-height:36px;max-width:150px;padding-inline:10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--control-surface);color:var(--text)}.settings-save-error{margin:0;padding:11px 13px;border:1px solid var(--danger-border);border-radius:var(--radius-sm);background:var(--danger-surface);color:var(--danger);font-size:12px;font-weight:700}@media(max-width:440px){.settings-segmented,.settings-inline-control,[dir=ltr] .settings-inline-control{margin-inline:0}.push-control__action,[dir=ltr] .push-control__action{align-items:stretch;flex-direction:column;margin-inline:0}.push-control__button{width:100%}}.backup-page{padding-bottom:20px}.backup-status-card__meta{display:block;margin-top:7px;color:var(--text-soft);font-size:11px;line-height:1.6}.backup-feedback{padding:11px 13px;border:1px solid var(--teal-200);border-radius:var(--radius-md);background:var(--success-surface);color:var(--brand-dark);font-size:12px;font-weight:700;line-height:1.7}.backup-feedback--error{border-color:var(--danger-border);background:var(--danger-surface);color:var(--danger)}.backup-action-row{cursor:pointer;grid-template-columns:42px minmax(0,1fr) auto}.backup-action-row:disabled{cursor:not-allowed;opacity:.58}.backup-action-row:disabled:hover,.backup-action-row:disabled:active{background:transparent}.backup-file-input{position:fixed;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.backup-google-card{display:grid;gap:14px;padding:15px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.backup-google-card__identity{display:flex;align-items:center;gap:11px;min-width:0}.backup-google-card__identity>span{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--primary-soft);color:var(--primary)}.backup-google-card__identity>div{min-width:0;display:grid;gap:2px}.backup-google-card__identity strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.backup-google-card__identity small{color:var(--text-muted);font-size:11px;line-height:1.6}.backup-schedule{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-muted)}.backup-schedule button{min-height:38px;padding:0 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-size:12px;font-weight:750;cursor:pointer}.backup-schedule button:hover:not(:disabled){background:var(--surface);color:var(--text)}.backup-schedule button[aria-pressed=true]{background:var(--surface);color:var(--primary);box-shadow:var(--shadow-xs)}.backup-schedule button:disabled{cursor:not-allowed;opacity:.6}.backup-google-card__meta{display:grid;gap:3px;color:var(--text-muted);font-size:10.5px;line-height:1.7}.backup-google-card__actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.backup-primary-action,.backup-secondary-action,.backup-danger-action{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border-radius:var(--radius-md);font-size:12px;font-weight:800;cursor:pointer}.backup-primary-action{border:1px solid var(--primary);background:var(--primary);color:var(--surface)}.backup-primary-action:hover:not(:disabled){background:var(--primary-hover)}.backup-secondary-action{border:1px solid var(--border);background:var(--surface);color:var(--text-muted)}.backup-secondary-action:hover:not(:disabled){background:var(--surface-subtle);color:var(--text)}.backup-primary-action:disabled,.backup-secondary-action:disabled,.backup-danger-action:disabled{cursor:not-allowed;opacity:.55}.backup-drive-list{overflow:hidden;margin-top:10px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.backup-drive-list__heading{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;border-bottom:1px solid var(--border);background:var(--surface-subtle)}.backup-drive-list__heading strong{color:var(--text);font-size:12.5px}.backup-drive-list__heading span{min-width:28px;min-height:24px;display:inline-grid;place-items:center;padding-inline:7px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:11px;font-weight:800}.backup-drive-list__empty{margin:0;padding:18px 14px;color:var(--text-muted);font-size:11.5px;text-align:center}.backup-drive-file{min-height:64px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--border)}.backup-drive-file:last-child{border-bottom:0}.backup-drive-file__icon{width:36px;height:36px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text-muted)}.backup-drive-file__copy{min-width:0;display:grid;gap:2px}.backup-drive-file__copy strong{color:var(--text);font-size:11.5px;font-weight:750}.backup-drive-file__copy small{color:var(--text-soft);font-size:10.5px}.backup-drive-file button{min-height:36px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--primary);font-size:11px;font-weight:800;cursor:pointer}.backup-drive-file button:hover:not(:disabled){background:var(--primary-soft)}.backup-drive-file button:disabled{cursor:not-allowed;opacity:.5}.backup-confirm-dialog{max-width:470px}.backup-confirm-warning{margin:0;color:var(--text-muted);font-size:12px;line-height:1.8}.backup-preview{display:grid;gap:1px;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.backup-preview>span{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11.5px}.backup-preview>span:last-child{border-bottom:0}.backup-preview strong{color:var(--text);font-size:12px;font-weight:800;text-align:end}.backup-danger-action{border:1px solid var(--danger);background:var(--danger);color:var(--surface)}.backup-danger-action:hover:not(:disabled){filter:brightness(.94)}@media(max-width:520px){.backup-google-card__actions{grid-template-columns:1fr}.backup-drive-file{grid-template-columns:34px minmax(0,1fr) auto}}.reports-page{display:grid;gap:12px}.reports-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-block:3px 1px}.reports-heading h1,.reports-heading p{margin:0}.reports-heading h1{color:var(--text);font-size:clamp(27px,7vw,34px);line-height:1.2;letter-spacing:-.045em}.reports-heading p{margin-top:3px;color:var(--text-muted);font-size:13px}.reports-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 98px;gap:10px}.reports-toolbar button{min-height:46px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-weight:700}.reports-toolbar button:disabled{cursor:not-allowed;opacity:.55}.reports-toolbar__period{min-width:0;display:grid;grid-template-columns:19px minmax(0,1fr) 16px;align-items:center;gap:8px;padding-inline:13px;text-align:right}.reports-toolbar__period span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reports-toolbar__period svg:last-child{color:var(--text-muted)}.reports-toolbar__pdf{display:flex;align-items:center;justify-content:center;gap:7px}.reports-period-label{margin:-2px 2px 2px;color:var(--text-muted);font-size:12px}.reports-feedback{margin:0;padding:9px 12px;border:1px solid var(--payment-border);border-radius:var(--radius-sm);background:var(--payment-soft);color:var(--primary);font-size:12px;font-weight:650}.reports-feedback.is-error{border-color:var(--danger-border);background:var(--danger-surface);color:var(--danger)}.report-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.report-card__header{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px 9px}.report-card__header>div{min-width:0;display:flex;align-items:center;gap:8px}.report-card__header svg{flex:none;color:var(--primary)}.report-card__header h2{margin:0;color:var(--text);font-size:15px;font-weight:750}.report-summary-list{margin:0;padding:0 15px 5px}.report-summary-list>div{min-height:45px;display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,auto);align-items:center;gap:14px}.report-summary-list dt{color:var(--text-muted);font-size:13px}.report-summary-list dd{min-width:0;margin:0;overflow:hidden;font-size:clamp(19px,5.2vw,25px);font-weight:800;line-height:1.2;text-align:left;text-overflow:ellipsis;white-space:nowrap}.report-summary-list dd.is-debt,.report-activity .is-debt{color:var(--debt)}.report-summary-list dd.is-payment,.report-activity .is-payment{color:var(--payment)}.report-summary-list dd.is-net{color:var(--brand-dark)}.report-summary-list dd.is-net.is-negative{color:var(--debt)}.report-summary-list__net{margin-top:3px;border-top:1px solid var(--border)}.report-card__meta{min-height:39px;display:flex;align-items:center;gap:9px;padding:8px 15px 11px;color:var(--text-muted);font-size:11.5px}.report-card__meta i{width:3px;height:3px;border-radius:50%;background:var(--border-strong)}.report-chart-card{padding-bottom:12px}.report-chart{padding:0 15px}.report-chart__canvas{height:176px;padding-top:3px}.report-chart__canvas svg{width:100%;height:100%;overflow:visible}.report-chart__grid{stroke:var(--chart-grid);stroke-width:.36;vector-effect:non-scaling-stroke}.report-chart__zero-line{stroke:var(--chart-zero);stroke-width:.7;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.report-chart__area{fill:var(--chart-area)}.report-chart__line{fill:none;stroke:var(--primary);stroke-width:2.45;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.report-chart__marker{fill:var(--surface);stroke:var(--primary);stroke-width:1.45;vector-effect:non-scaling-stroke}.report-chart__marker--current{fill:var(--primary);stroke:var(--surface);stroke-width:1.7}.report-chart__axis{display:flex;justify-content:space-between;gap:12px;margin-top:2px;color:var(--text-soft);font-size:10.5px}.report-chart__range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}.report-chart__range span{min-width:0;display:flex;flex-direction:column;gap:1px;color:var(--text-muted);font-size:10.5px}.report-chart__range b{min-width:0;overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.report-chart-empty{min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);font-size:12px}.report-chart-empty svg{color:var(--primary)}.report-balance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 12px 13px}.report-balance-card{min-width:0;min-height:116px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:13px;border:1px solid var(--border);border-radius:var(--radius-md)}.report-balance-card--receivable{border-color:var(--payment-border);background:var(--payment-soft)}.report-balance-card--payable{border-color:var(--debt-border);background:var(--debt-soft)}.report-balance-card>span{color:var(--text-muted);font-size:11.5px;font-weight:650}.report-balance-card--receivable>span,.report-balance-card--receivable>strong{color:var(--payment)}.report-balance-card--payable>span,.report-balance-card--payable>strong{color:var(--debt)}.report-balance-card>strong{min-width:0;overflow:hidden;font-size:clamp(18px,5.2vw,26px);font-weight:800;line-height:1.18;text-overflow:ellipsis;white-space:nowrap}.report-balance-card small{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:10.5px}.report-balance-card small svg{flex:none}.report-top-customers ol{list-style:none;margin:0;padding:0 13px 10px}.report-top-customers li{min-height:46px;display:grid;grid-template-columns:29px minmax(0,1fr) minmax(82px,auto);align-items:center;gap:9px;border-top:1px solid var(--border)}.report-top-customers li:first-child{border-top:0}.report-rank{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:var(--surface-muted);color:var(--text-muted);font-size:11px;font-weight:800}.report-top-customers li>strong{min-width:0;overflow:hidden;text-align:start;color:var(--text);font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.report-top-customers li>b{min-width:0;overflow:hidden;color:var(--debt);font-size:13px;font-weight:800;text-align:left;text-overflow:ellipsis;white-space:nowrap}.report-inline-empty{margin:0;padding:8px 15px 17px;color:var(--text-muted);font-size:12px}.report-activity dl{margin:0;padding:0 14px 10px}.report-activity dl>div{min-height:52px;display:grid;grid-template-columns:minmax(90px,.72fr) minmax(0,1fr);align-items:center;gap:12px;border-top:1px solid var(--border)}.report-activity dl>div:first-child{border-top:0}.report-activity dt{color:var(--text-muted);font-size:11.5px}.report-activity dd{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;margin:0}.report-activity dd b{max-width:100%;overflow:hidden;color:var(--text);font-size:13.5px;text-overflow:ellipsis;white-space:nowrap}.report-activity dd span{max-width:100%;text-align:start;overflow:hidden;color:var(--text-muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.report-empty-note{display:flex;align-items:center;gap:9px;padding:11px 13px;border:1px dashed var(--border-strong);border-radius:var(--radius-sm);color:var(--text-muted);font-size:11.5px}.report-empty-note svg{flex:none;color:var(--primary)}.reports-skeleton{display:grid;gap:12px}.reports-skeleton span{display:block;min-height:162px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.reports-skeleton span:nth-child(2){min-height:240px}.reports-error{margin-top:2px}.reports-page .amount-fit-lg{font-size:.93em!important}.reports-page .amount-fit-xl{font-size:.86em!important}.reports-page .amount-fit-xxl{font-size:.79em!important}.report-sheet{width:min(100%,520px)}.report-sheet__header{min-height:63px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;padding:8px 16px 12px;border-bottom:1px solid var(--border)}.report-sheet__header h2{margin:0;color:var(--text);font-size:17px;text-align:center}.report-sheet__header-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--surface-muted);color:var(--brand-dark)}.report-period-options,.report-export-options{display:grid;padding:4px 16px}.report-period-options label,.report-export-options label{min-height:54px;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:12px;border-bottom:1px solid var(--border);cursor:pointer}.report-period-options label:last-child,.report-export-options label:last-child{border-bottom:0}.report-period-options span{color:var(--text);font-size:13.5px}.report-period-options input,.report-export-options input{width:19px;height:19px;margin:0;accent-color:var(--primary)}.report-export-options label{min-height:72px}.report-export-options label>span{min-width:0;display:flex;flex-direction:column;gap:2px}.report-export-options strong{color:var(--text);font-size:13.5px}.report-export-options small{color:var(--text-muted);font-size:10.5px;line-height:1.6}.report-sheet__footer{padding:12px 16px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--border)}.report-sheet__primary{width:100%;min-height:47px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:var(--radius-sm);background:var(--brand-surface);color:var(--on-brand);font-weight:750}.report-sheet__primary:disabled{cursor:not-allowed;opacity:.6}.report-custom-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px 16px}.report-custom-fields label{min-width:0;display:grid;gap:7px}.report-custom-fields label>span{color:var(--text-muted);font-size:11.5px}.report-custom-fields input{width:100%;min-width:0;min-height:44px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);direction:ltr}.report-sheet__error{margin:0 16px 14px;padding:9px 11px;border:1px solid var(--danger-border);border-radius:var(--radius-sm);background:var(--danger-surface);color:var(--danger);font-size:11.5px}@media(max-width:360px){.reports-toolbar{grid-template-columns:minmax(0,1fr) 84px}.report-balance-grid{gap:7px;padding-inline:9px}.report-balance-card{padding:10px}.report-top-customers li{grid-template-columns:27px minmax(0,1fr) minmax(72px,auto);gap:7px}.report-custom-fields{grid-template-columns:1fr}}@media(min-width:720px){.reports-toolbar{grid-template-columns:minmax(210px,280px) 104px;justify-content:start}.reports-period-label{max-width:384px}.report-chart__canvas{height:210px}}@media(min-width:900px){.reports-page{grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:14px;align-items:start}.reports-heading,.reports-toolbar,.reports-period-label,.reports-feedback,.reports-error,.reports-skeleton,.report-empty-note{grid-column:1 / -1}.report-period-summary,.report-chart-card{grid-column:1}.report-current-balances,.report-top-customers,.report-activity{grid-column:2}.report-chart__canvas{height:248px}.report-balance-card>strong{font-size:clamp(18px,2.2vw,24px)}.report-summary-list dd{font-size:clamp(20px,2.3vw,26px)}}.transactions-page{display:grid;gap:12px}.transactions-page__header{margin:0}.transactions-page .page-header__title{font-size:clamp(23px,6vw,29px);letter-spacing:-.035em}.transactions-page .page-header__eyebrow{margin:2px 0 0;font-size:12px}.transactions-search-wrap{position:relative;min-height:47px;display:grid;grid-template-columns:24px minmax(0,1fr) 34px;align-items:center;gap:6px;padding:0 12px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);color:var(--text-muted);box-shadow:var(--shadow-xs)}.transactions-search-wrap:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #14b8a624}.transactions-search-wrap input{min-width:0;height:45px;border:0;background:transparent;color:var(--text);font-size:13px;outline:0}.transactions-search-wrap button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:8px;background:var(--surface-muted);color:var(--text-muted)}.transactions-toolbar{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px}.transactions-filter-button{min-height:39px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid var(--teal-200);border-radius:var(--radius-sm);background:var(--primary-soft);color:var(--brand-dark);font-size:12.5px;font-weight:700}.transactions-count{color:var(--text-muted);font-size:11.5px;white-space:nowrap}.transactions-status{margin:0;padding:8px 11px;border:1px solid var(--teal-200);border-radius:var(--radius-sm);background:var(--primary-soft);color:var(--primary);font-size:11.5px;font-weight:600}.transactions-ledger{overflow:hidden;border-block-start:1px solid var(--border)}.transactions-day-heading{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 2px 6px;border-bottom:1px solid var(--border);color:var(--text-muted)}.transactions-day-heading strong{color:var(--text);font-size:12.5px}.transactions-day-heading span{font-size:11px}.transaction-ledger-row{width:100%;min-height:72px;display:grid;grid-template-columns:39px minmax(0,1fr) minmax(105px,auto) 16px;align-items:center;gap:9px;padding:9px 2px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);text-align:start}.transaction-ledger-row:hover{background:color-mix(in srgb,var(--surface-muted) 62%,transparent)}.transaction-ledger-avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--brand-dark);font-size:14px;font-weight:750}.transaction-ledger-identity,.transaction-ledger-amount,.transaction-desktop-date{min-width:0;display:flex;flex-direction:column}.transaction-ledger-identity{text-align:start}.transaction-ledger-identity strong{overflow:hidden;font-size:13.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.transaction-ledger-identity small{overflow:hidden;color:var(--text-muted);font-size:10.5px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.transaction-ledger-amount{align-items:flex-end;text-align:left}.transaction-ledger-amount strong{max-width:170px;overflow-wrap:anywhere;font-size:13.5px;font-weight:750;line-height:1.35;text-align:left}.transaction-ledger-amount strong.amount-fit-lg{font-size:13px}.transaction-ledger-amount strong.amount-fit-xl{font-size:12.3px}.transaction-ledger-amount strong.amount-fit-xxl{font-size:11.5px}.transaction-ledger-amount small{margin-top:2px;color:var(--text-muted);font-size:10px}.transaction-ledger-row.is-debt .transaction-ledger-amount strong{color:var(--debt)}.transaction-ledger-row.is-payment .transaction-ledger-amount strong{color:var(--payment)}.transaction-desktop-note,.transaction-desktop-type,.transaction-desktop-date,.transactions-desktop-head{display:none}.transactions-load-more{width:100%;min-height:45px;margin-top:8px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--primary);font-size:12px;font-weight:700}.transactions-load-more:disabled{cursor:wait;opacity:.6}.transactions-inline-error,.transactions-filter-error{margin:8px 0 0;color:var(--danger);font-size:11.5px;text-align:center}.transactions-skeleton{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.transactions-skeleton span{display:block;height:72px;border-bottom:1px solid var(--border);background:linear-gradient(100deg,var(--skeleton-base) 25%,var(--skeleton-highlight) 40%,var(--skeleton-base) 58%);background-size:200% 100%;animation:transactions-shimmer 1.1s ease-in-out infinite}.transactions-skeleton span:last-child{border-bottom:0}.transactions-filter-body{display:grid;gap:18px;padding-bottom:18px}.transactions-filter-group{margin:0;padding:0;border:0}.transactions-filter-group legend,.transactions-filter-field>span,.transactions-custom-range span{display:block;margin-bottom:7px;color:var(--text);font-size:12.5px;font-weight:700}.transactions-filter-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-muted)}.transactions-filter-segment{min-height:40px;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font-size:12px;font-weight:700}.transactions-filter-segment.is-active{background:var(--primary-solid);color:var(--on-primary)}.transactions-filter-field select,.transactions-custom-range input{width:100%;min-height:46px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-size:13px}.transactions-custom-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.transactions-customer-filter{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);text-align:right}.transactions-customer-filter>span{min-width:0;display:flex;flex-direction:column}.transactions-customer-filter small{color:var(--text-muted);font-size:10.5px}.transactions-clear-customer{margin-top:6px;padding:0;border:0;background:transparent;color:var(--primary);font-size:11px}@keyframes transactions-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media(max-width:360px){.transaction-ledger-row{grid-template-columns:35px minmax(0,1fr) minmax(92px,auto) 14px;gap:7px}.transaction-ledger-avatar{width:35px;height:35px}.transaction-ledger-amount strong{font-size:12.5px}}@media(min-width:900px){.transactions-page{width:min(100%,1080px);margin-inline:auto}.transactions-page__header{margin-bottom:2px}.transactions-search-wrap{width:min(100%,640px)}.transactions-toolbar{justify-content:flex-start}.transactions-count{order:-1;margin-inline-end:auto}.transactions-ledger{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.transactions-desktop-head{min-height:42px;display:grid;grid-template-columns:38px minmax(140px,1fr) minmax(170px,1.25fr) 86px minmax(130px,.8fr) minmax(150px,.9fr);align-items:center;gap:14px;padding:0 18px;border-bottom:1px solid var(--border);background:var(--surface-muted);color:var(--text-muted);font-size:11px;font-weight:650}.transactions-desktop-head span:first-child{grid-column:1 / 3}.transactions-day-heading{padding-inline:18px;background:var(--surface-subtle)}.transaction-ledger-row{min-height:62px;grid-template-columns:38px minmax(140px,1fr) minmax(170px,1.25fr) 86px minmax(130px,.8fr) minmax(150px,.9fr);gap:12px;padding:8px 18px}.transaction-ledger-identity{margin-inline-start:-4px}.transaction-mobile-note,.transaction-mobile-time,.transaction-mobile-chevron,.transaction-ledger-amount small{display:none}.transaction-desktop-note,.transaction-desktop-type,.transaction-desktop-date{display:flex}.transaction-desktop-note{min-width:0;overflow:hidden;color:var(--text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.transaction-desktop-type{width:fit-content;padding:4px 8px;border-radius:8px;font-size:11px;font-weight:700}.is-debt .transaction-desktop-type{background:var(--debt-soft);color:var(--debt)}.is-payment .transaction-desktop-type{background:var(--payment-soft);color:var(--payment)}.transaction-ledger-amount{align-items:flex-start}.transaction-ledger-amount strong{max-width:none;text-align:right}.transaction-desktop-date{color:var(--text);font-size:11.5px}.transaction-desktop-date small{color:var(--text-muted);font-size:10.5px}}@media(prefers-reduced-motion:reduce){.transactions-skeleton span{animation:none}}@media(max-width:420px){.app-content{padding-inline:14px}.ledger-hero{padding:16px}.ledger-hero__heading strong{font-size:clamp(27px,8vw,33px)}.ledger-customer-row,.customer-ledger-row{grid-template-columns:39px minmax(0,1fr) minmax(82px,auto) 15px;gap:8px}.ledger-avatar,.customer-avatar{width:39px;height:39px}.client-details__header{grid-template-columns:40px minmax(0,1fr) auto;gap:7px}.client-back-button,.client-avatar{width:40px;height:40px}.client-details__name h1{font-size:18px}.client-balance-card{padding:14px}}@media(max-width:360px){.app-header,.app-content{padding-inline:12px}.app-header{grid-template-columns:minmax(0,1fr) 122px auto;gap:7px}.app-brand__name{max-width:min(88px,100%);font-size:21px}.currency-switcher button{padding-inline:4px;font-size:10.5px}.header-icon-button,.header-avatar{width:35px;height:35px}.ledger-hero__icon{width:40px;height:40px}.client-header-action--share span{display:none}}@media(max-width:600px){.customer-sheet,.share-sheet{max-width:none;max-height:88dvh}.customer-sheet__header,.customer-sheet__body,.share-sheet__header,.share-sheet__body{padding-inline:16px}.customer-sheet__footer{padding-inline:max(16px,env(safe-area-inset-left))}}@media(min-width:700px){.sheet-backdrop{align-items:center;padding:24px}.customer-sheet,.share-sheet{border-radius:var(--radius-lg);max-height:min(760px,calc(100dvh - 48px))}}@media(min-width:900px){.app-shell{padding-bottom:0}.app-content{width:min(100%,1120px);padding-top:12px;padding-bottom:54px}}.notification-layer,.reminder-layer{position:fixed;z-index:var(--z-sheet);inset:0;display:grid;align-items:end;justify-items:center;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}.notification-backdrop,.reminder-backdrop{position:absolute;inset:0;border:0;background:#0918126b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.notification-center,.reminder-sheet{position:relative;width:min(100%,520px);max-height:min(78dvh,720px);overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 22px 58px #0918122e}.notification-center{display:grid;grid-template-rows:auto minmax(0,1fr)}.notification-center__header,.reminder-sheet__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 18px 14px;border-bottom:1px solid var(--border)}.notification-center__header h2,.reminder-sheet__header h2{margin:4px 0 0;font-size:20px}.notification-center__eyebrow,.reminder-sheet__header span{display:flex;align-items:center;gap:6px;color:var(--text-muted);font-size:12px}.notification-center__actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.notification-center__mark-all{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid var(--border);border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:750;white-space:nowrap}.notification-center__mark-all:disabled{cursor:wait;opacity:.58}@media(hover:hover){.notification-center__mark-all:not(:disabled):hover{border-color:var(--border-strong);background:var(--surface-muted)}}.notification-center__close,.reminder-sheet__header>button{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text)}.notification-center__body{overflow-y:auto;overscroll-behavior:contain}.notification-center__state{min-height:250px;display:grid;place-items:center;align-content:center;gap:8px;padding:28px;color:var(--text-muted);text-align:center}.notification-center__state strong{color:var(--text)}.notification-center__spinner{width:28px;height:28px;border:3px solid var(--border);border-block-start-color:var(--primary);border-radius:50%;animation:zimma-spin .9s linear infinite}.notification-list{display:grid}.notification-row{position:relative;width:100%;min-height:84px;display:grid;grid-template-columns:38px minmax(0,1fr) 8px;align-items:start;gap:11px;padding:14px 16px;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;text-align:start}.notification-row:hover{background:var(--surface-muted)}.notification-row--unread{background:var(--primary-soft)}.notification-row__icon{width:36px;height:36px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--primary)}.notification-row__copy{min-width:0;display:grid;gap:3px}.notification-row__copy strong{color:var(--text);font-size:13.5px}.notification-row__copy>span{color:var(--text-muted);font-size:12.5px;line-height:1.65}.notification-row__copy small{color:var(--text-muted);font-size:11px}.notification-row__dot{width:7px;height:7px;margin-top:6px;border-radius:50%;background:var(--primary-solid)}.notification-list__more{min-height:46px;margin:12px 16px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--primary);font-size:12.5px;font-weight:750}.notification-list__more:disabled{cursor:wait;opacity:.62}.notification-list__error{margin:0 16px 14px;color:var(--danger);font-size:12px;text-align:center}.reminder-sheet__body{display:grid;gap:18px;padding:18px}.reminder-sheet__datetime{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reminder-sheet label{display:grid;gap:7px;color:var(--text);font-size:13px;font-weight:650}.reminder-sheet label small{color:var(--text-muted);font-weight:500}.reminder-sheet input,.reminder-sheet textarea{width:100%;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--control-surface);color:var(--text)}.reminder-sheet input{min-height:44px;padding:0 11px}.reminder-sheet textarea{min-height:92px;resize:none;padding:10px 11px}.reminder-sheet__error{margin:0;color:var(--debt);font-size:12.5px}.reminder-sheet__actions{display:flex;justify-content:flex-end;gap:9px}.reminder-sheet__save,.reminder-sheet__delete{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 15px;border-radius:var(--radius-sm);font-weight:700}.reminder-sheet__save{border:1px solid var(--primary-solid);background:var(--primary-solid);color:var(--on-primary)}.reminder-sheet__delete{border:1px solid var(--debt-border);background:var(--debt-soft);color:var(--debt)}.reminder-sheet__loading{min-height:180px;display:grid;place-items:center;color:var(--text-muted)}.header-notification-button{position:relative}.header-notification-badge{position:absolute;inset-block-start:-4px;inset-inline-end:-4px;min-width:17px;height:17px;display:grid;place-items:center;padding-inline:4px;border:2px solid var(--surface);border-radius:999px;background:var(--debt-solid);color:var(--on-semantic);font-size:9px;font-weight:800;line-height:1}@keyframes zimma-spin{to{transform:rotate(360deg)}}@media(min-width:700px){.notification-layer,.reminder-layer{align-items:center}}@media(max-width:420px){.notification-center__header{gap:10px;padding-inline:14px}.notification-center__actions{gap:6px}.notification-center__mark-all{min-height:34px;padding-inline:9px}.reminder-sheet__datetime{grid-template-columns:1fr}.reminder-sheet__actions{flex-direction:column-reverse}.reminder-sheet__actions button{width:100%}}
