@font-face{font-family:Tajawal;font-style:normal;font-weight:400;font-display:swap;src:url("fonts/Tajawal-400.ttf") format("truetype")}
@font-face{font-family:Tajawal;font-style:normal;font-weight:500;font-display:swap;src:url("fonts/Tajawal-500.ttf") format("truetype")}
@font-face{font-family:Tajawal;font-style:normal;font-weight:700;font-display:swap;src:url("fonts/Tajawal-700.ttf") format("truetype")}
@font-face{font-family:Tajawal;font-style:normal;font-weight:800;font-display:swap;src:url("fonts/Tajawal-800.ttf") format("truetype")}
:root{--ink:#203756;--muted:#7789a0;--green:#2563a9;--lime:#badbff;--line:#e1e8f2;--bg:#f3f6fb;--red:#b65a48}*{box-sizing:border-box}body{margin:0;font-family:Tajawal,Tahoma,Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);padding:11px 16px;transition:.16s}button:hover{background:#edf4ff}button:focus-visible,a:focus-visible{outline:3px solid #90b8ec;outline-offset:3px}a{color:inherit;text-decoration:none}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#1b4e8c}.sidebar{position:fixed;right:0;top:0;bottom:0;width:244px;background:#fff;padding:36px 22px;border-left:1px solid var(--line);display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;font-size:29px;font-weight:bold;margin:0 10px 43px}.brandmark{display:grid;place-items:center;background:var(--green);color:var(--lime);font-size:32px;width:48px;height:48px;border-radius:14px}.brand small{font-size:10px;display:block;color:var(--muted);font-weight:normal;margin-top:4px}.navlabel{font-size:10px;color:#8799af;margin:0 14px 14px}nav{display:grid;gap:5px}nav a{padding:13px 14px;display:flex;align-items:center;gap:12px;border-radius:9px;font-size:13px;color:#6e829c}nav a.active{background:#eaf2ff;color:#205b9d;font-weight:bold}nav a:hover{background:#edf3fb}.navicon{font-family:Arial,sans-serif;font-size:19px;width:22px;text-align:center}.sidebar-bottom{margin-top:auto;padding:22px 8px 0;font-size:10px;line-height:1.8;color:#7890aa;border-top:1px solid var(--line)}.sidebar-bottom small{display:block;color:#94a4b8;font-size:9px;margin-right:12px}.local-dot{display:inline-block;background:#69b7ff;width:6px;height:6px;border-radius:50%;margin-left:6px}.app{margin-right:244px}header{height:80px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 16px;color:#b7c8db}.breadcrumb b{font-weight:normal;color:#385477}.header-tools{display:flex;align-items:center;gap:22px;color:#8194ac;font-size:11px}.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#edf4ff;color:#4678ac}main{max-width:1600px;padding:36px 40px 0;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:.4px;color:#8093ac;margin-bottom:10px}h1{font-size:27px;letter-spacing:-.7px;margin:0 0 10px}p{color:var(--muted);line-height:1.9;margin:0;font-size:12px}.pageactions{display:flex;gap:10px;align-items:center}input,select{border:1px solid #dce5f1;border-radius:8px;padding:11px 12px;background:white;color:var(--ink);min-width:0}input:focus,select:focus{outline:2px solid #adcaed}input[type=month]{max-width:165px;color:#617d9e;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{border:1px solid var(--line);border-radius:13px;background:#fff;padding:22px;min-height:146px;position:relative}.stat.hero{background:#16477f;color:#fff;border:0;overflow:hidden}.stat.hero:after{content:'';position:absolute;width:150px;height:150px;border:26px solid #ffffff07;border-radius:50%;left:-60px;bottom:-75px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#7189a5}.stat.hero .stat-top{color:#d3e4fb}.stat-icon{font-size:16px;color:#74a8df}.stat-value{font-size:29px;line-height:1.6;font-weight:bold;margin-top:11px;direction:ltr;text-align:right;letter-spacing:-1px}.stat-value small{font-size:11px;font-weight:normal;letter-spacing:0;margin-left:5px}.stat-note{font-size:10px;color:#8198b2;margin-top:8px}.stat.hero .stat-note{color:#abcdf3}.grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.panelhead{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}h2{font-size:15px;margin:0 0 6px}h3{font-size:13px;margin:0}.sub{font-size:10px;color:var(--muted)}.linkbtn{border:0;padding:5px;font-size:11px;color:#5a7d51;background:none}.legend{display:flex;gap:16px;font-size:10px;color:#7690ac}.legend i{display:inline-block;width:7px;height:7px;border-radius:2px;margin-left:5px}.chart{height:177px;padding:10px 24px 0;display:flex;align-items:stretch;gap:20px;direction:rtl;background:repeating-linear-gradient(to top,transparent 0,transparent 43px,#edf2f9 44px);margin:0 24px 16px}.bar-group{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:5px;position:relative;padding-bottom:24px}.bar{width:20px;max-width:35%;border-radius:4px 4px 0 0;min-height:2px;background:#397ac2}.bar.expense{background:#c4defa}.bar-label{position:absolute;bottom:0;font-size:9px;color:#8ca0b9;white-space:nowrap}.ringwrap{display:flex;align-items:center;justify-content:center;gap:27px;padding:17px 20px 28px}.ring{width:139px;height:139px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#3579c4 var(--pct),#edf3fc 0);position:relative}.ring:before{content:'';position:absolute;inset:14px;background:white;border-radius:50%}.ringtext{z-index:1;text-align:center}.ringtext b{font-size:26px;display:block}.ringtext small{font-size:9px;color:var(--muted)}.ringdetails{display:grid;gap:18px;font-size:10px;color:#7890ac}.ringdetails strong{display:block;font-size:15px;color:#2c547f;margin-top:6px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}th{background:#f5f8fd;color:#7390af;font-size:10px;font-weight:normal;padding:14px 22px}td{padding:17px 22px;border-bottom:1px solid #edf2f8;font-size:11px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8faff}.resident-name{display:flex;gap:10px;align-items:center}.initial{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#edf4ff;color:#547fab}.resident-name small{display:block;font-size:9px;color:#8ca0b8;margin-top:5px}.badge{display:inline-block;padding:5px 9px;border-radius:5px;background:#eaf3ff;color:#306bac;font-size:10px}.badge.warn{background:#fcf4df;color:#ad9650}.badge.red{background:#faeeea;color:#b66a54}.amount{font-variant-numeric:tabular-nums;direction:ltr;display:inline-block}.positive{color:#2b76a5}.negative{color:#b57462}.tools{display:flex;gap:5px}.tools button{padding:5px 8px;font-size:10px;border-color:#e6edf7}.empty{text-align:center;padding:35px 24px;color:#8097b2;font-size:12px;line-height:2}.empty-symbol{display:block;font-size:32px;color:#a9c6e7;margin-bottom:10px}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.toolbar input{flex:1;max-width:330px}.note{padding:14px 18px;background:#edf4ff;border:1px solid #dce8f8;border-radius:9px;font-size:11px;line-height:1.9;color:#5479a6;margin-bottom:20px}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 22px 22px}.quick-actions button{font-size:10px;padding:14px 7px;background:#f5f8fd;border-color:#edf1e7}.quick-actions span{display:block;font-size:21px;color:#467bb6;margin-bottom:8px}footer{font-size:10px;color:#8ba0b9;text-align:center;padding:28px 0}footer span{margin:0 10px}.settings{max-width:720px;padding:26px}.settings label{display:block;margin-bottom:18px;color:#6a86a5;font-size:12px}.settings input{display:block;width:100%;margin-top:9px}.settings h2{margin-bottom:20px}.settings hr{border:0;border-top:1px solid var(--line);margin:26px 0}.settings .toolbar{margin:14px 0 0}dialog{border:0;padding:0;border-radius:16px;width:min(500px,92vw);max-height:90vh;box-shadow:0 30px 100px #122e3c40;color:var(--ink)}dialog::backdrop{background:#142f2870;backdrop-filter:blur(3px)}#form{padding:25px}.modalhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modalhead h2{font-size:18px}.iconbtn{border:0;font-size:25px;padding:0 6px;color:#89a2bf}.field{display:block;font-size:12px;color:#6b85a6;margin-bottom:17px}.field input,.field select{display:block;width:100%;margin-top:8px}.modalactions{display:flex;gap:8px;margin-top:24px}#formError{font-size:12px;color:#aa4e3d;line-height:1.7}#toast{position:fixed;bottom:24px;left:24px;max-width:calc(100vw - 48px);padding:14px 22px;background:#16477f;color:white;border-radius:10px;box-shadow:0 10px 40px #0002;z-index:100;display:none;font-size:12px}.danger{color:#b56754}body.fatal main{opacity:.5}.summaryline{padding:18px 24px;border-top:1px solid var(--line);font-size:12px;color:#6c88a6}.summaryline strong{color:#295c96;margin:0 8px}@media(min-width:1600px){main{padding-top:45px}}@media(max-width:1150px){.sidebar{width:206px;padding:28px 14px}.app{margin-right:206px}main{padding:28px 24px 0}header{padding:0 24px}.stat{padding:17px}.stat-value{font-size:24px}.grid{grid-template-columns:1fr}.chart{height:195px}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:17px 18px 0;border-bottom:1px solid var(--line)}.brand{font-size:24px;margin:0 0 17px}.brandmark{width:39px;height:39px}.brand small{font-size:9px}.navlabel,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;gap:4px;margin:0 -18px;padding:0 12px 12px}nav a{white-space:nowrap;font-size:11px;padding:9px}.navicon{font-size:16px;width:17px}.app{margin:0}header{height:51px;padding:0 18px}.header-tools #today{display:none}main{padding:24px 16px 0}.pagehead{display:block}h1{font-size:25px}.pageactions{margin-top:18px}.pageactions button{flex:1}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{min-height:133px;padding:16px}.stat-value{font-size:23px}.stat-top{font-size:10px}.grid{gap:16px;margin-bottom:16px}.panelhead{padding:19px 16px}.chart{margin:0 10px 16px;gap:9px;padding:10px 6px 0}th,td{padding:14px}.ringwrap{gap:35px}.quick-actions{padding:0 15px 18px;gap:7px}.legend{gap:9px;font-size:9px}.settings{padding:20px}}@media print{.sidebar,header,.pageactions,.toolbar,.tools,footer,button{display:none!important}.app{margin:0}main{padding:0}.panel,.stat{break-inside:avoid}.stats{grid-template-columns:repeat(4,1fr)}body{background:white}.grid{display:block}.panel{margin-bottom:15px}}

/* Expanded resident record, with a compact two-column desktop form. */
dialog:has(.resident-fields){width:min(720px,94vw)}.resident-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.resident-fields input[type=date]{min-height:41px}@media(max-width:540px){.resident-fields{grid-template-columns:1fr;gap:0}}
.filter-label{display:grid;gap:7px;color:#7f9179;font-size:10px}.filter-label select{font-size:12px;min-width:140px}.check-filter{display:flex;align-items:center;gap:7px;font-size:12px;color:#6c8264;padding-top:19px}.check-filter input{accent-color:#2563a9}.reportfilters{align-items:end;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}.report-section{margin-top:22px}.print-controls{justify-content:flex-end}.printonly{display:none}.summaryline{line-height:2.2}.sidebar{padding-top:26px}.brand{margin-bottom:25px}nav a{padding-top:11px;padding-bottom:11px}@media print{@page{size:A4 landscape;margin:12mm}.printonly{display:block;margin-bottom:20px}.printonly p{color:#333}.pagehead,.note,.print-controls,.reportfilters,.check-filter,.stat-note{display:none!important}.tablewrap{overflow:visible!important}table{white-space:normal;table-layout:auto;font-size:9px;width:100%}th,td{padding:7px 5px;font-size:9px;overflow-wrap:anywhere}thead{display:table-header-group}tr{break-inside:avoid}.panel{break-inside:auto!important;border:1px solid #bbb;overflow:visible}.panelhead{padding:10px}th{color:#222;background:#eee!important}td p{font-size:8px;color:#555}.initial{display:none}.resident-name{display:block}.tools,th:last-child:empty{display:none}.stat-value{font-size:18px}.stat{min-height:80px;padding:10px}.stat.hero{background:white;color:#222;border:1px solid #ccc}.stat.hero .stat-top{color:#333}.stats{gap:8px}.report-section{margin-top:18px}a{color:#222}}
.reading-hint{font-size:10px;margin-bottom:14px;background:#f1f6fd;padding:9px 12px;border-radius:7px}.sidebar{overflow-y:auto}.sidebar-bottom{flex-shrink:0;margin-top:20px}nav{flex-shrink:0}@media(min-width:761px){.sidebar-bottom{margin-top:auto}}@media(max-width:760px){.sidebar{overflow:visible}}
.badge.credit{background:#e8f1f9;color:#477b9d}.badge.mixed{background:#f0eafa;color:#8663a2}.credit-text{color:#477b9d}.settlement-summary{background:#f4f8ff}.settlement-summary p{font-size:10px;margin-top:9px}nav a{padding-top:9px;padding-bottom:9px}.tools{flex-wrap:wrap;max-width:230px}.filter-label select{max-width:240px}@media print{.settlement-summary p{display:block;color:#333}.settlement-summary{font-size:9px}.settlement-summary strong{white-space:nowrap}th,td{font-size:8px;padding:5px 4px}.badge{font-size:8px;padding:3px 4px}}
.permission-grid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:1px;background:#dfe9f7;border:1px solid #dfe9f7;border-radius:8px;overflow:hidden;margin:15px 0;font-size:11px}.permission-grid>*{padding:10px;background:#f5f8fd;margin:0;text-align:center}.permission-grid label{display:grid;place-items:center}.permission-grid input{accent-color:#2563a9;width:17px;height:17px}.login-card{max-width:480px;margin:25px auto}.login-card .field{margin:16px 0}.login-card button{margin-top:15px}.login-card h2{font-size:20px}#loginError{color:#b65a48;font-size:12px}#accountTools{font-size:10px;color:#6c87a6;display:flex;align-items:center;gap:7px}#accountTools button{padding:6px 10px;font-size:10px}dialog:has(.permission-grid){width:min(700px,94vw)}[hidden]{display:none!important}@media(max-width:760px){.permission-grid{font-size:9px}.permission-grid>*{padding:9px 3px}#accountTools{font-size:9px}}@media print{#accountTools{display:none!important}}
/* Al Ameen 4 — calm blue, legible Arabic, and clear financial hierarchy. */
@media screen{body{font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased;background:radial-gradient(ellipse at top left,#eaf1fc 0,transparent 47%),#f3f6fb}.sidebar{background:linear-gradient(165deg,#102b50,#163963);border:0;box-shadow:-6px 0 35px #18385b0b;padding:27px 18px 20px}.brand{color:#fff;gap:12px;margin:3px 9px 31px;font-size:26px;font-weight:800;line-height:1.2}.brand em{font-style:normal;color:#8fc8ff}.brand small{color:#9bb8dc;font-size:11px;margin-top:9px;font-weight:400;white-space:nowrap}.brandmark{background:#ffffff0d;border:1px solid #ffffff20;border-radius:14px;color:#a7d1ff;width:49px;height:54px;box-shadow:none}.brandmark svg{width:33px;height:33px}.navlabel{color:#91aed1;letter-spacing:.2px;font-size:10px;margin-bottom:12px}nav{gap:4px}nav a{font-size:13px;color:#c3d6ee;padding:10px 12px;font-weight:500;border:1px solid transparent;line-height:1.6;position:relative}nav a:hover{background:#ffffff09;color:white}nav a.active{background:linear-gradient(100deg,#2b588b,#234b7a);border-color:#5176a14d;color:#fff;box-shadow:0 5px 16px #06182d20}nav a.active:before{content:'';position:absolute;right:-1px;width:3px;height:21px;background:#8bcbff;border-radius:3px}.navicon{color:#7fa4d2}.active .navicon{color:#c3e6ff}.sidebar-bottom{color:#adc5e3;border-color:#ffffff18;font-size:10px;line-height:2;padding-top:18px}.sidebar-bottom small{color:#789dc8;font-size:10px}.local-dot{background:#8ecaff;box-shadow:0 0 0 3px #8ecaff12}.app>header{height:78px;background:#ffffffd9;backdrop-filter:blur(14px);border-bottom:1px solid #e2eaf5}.breadcrumb{font-size:12px;color:#617d9f}.breadcrumb b{font-weight:500}.header-tools{font-size:12px}.avatar{background:#e9f2ff;border:1px solid #d5e6fc;color:#2c66aa;font-weight:700;width:36px;height:36px}.eyebrow{color:#3474bb;font-weight:700;font-size:12px;margin-bottom:6px;display:flex;align-items:center;gap:7px}.eyebrow:before{content:'';width:5px;height:5px;border-radius:50%;background:#5599e4}h1{font-size:30px;font-weight:800;letter-spacing:-.6px;line-height:1.4;margin-bottom:7px}p{font-size:13px;color:#788ca6;line-height:1.9}.pagehead{margin-bottom:26px}.pageactions input{font-weight:500;min-height:43px}.primary{background:linear-gradient(135deg,#286db5,#245d9d);border-color:#245d9d;box-shadow:0 4px 9px #2363ab14;font-weight:700}.primary:hover{background:#1e568f;box-shadow:0 6px 15px #2363ab24}button{font-weight:500;border-radius:10px;min-height:38px;font-size:13px}button:hover{transform:translateY(-1px)}button:disabled{opacity:.5;cursor:wait;transform:none}input,select{font-size:13px;border-radius:9px;min-height:41px;border-color:#dce6f3}input:focus,select:focus{outline:3px solid #3984d514;border-color:#8bb2e2}.stat{border-radius:15px;padding:22px 20px;box-shadow:0 4px 20px #244e7a04;min-height:157px;border-color:#e1e9f5}.stat.hero{background:linear-gradient(125deg,#1d477a,#265d9b);box-shadow:0 8px 20px #224f7c17}.stat.hero:after{width:180px;height:180px;left:-45px;bottom:-87px;border-color:#ffffff06;border-width:28px}.stat-top{font-size:12px;font-weight:500}.stat-icon{display:grid;place-items:center;border-radius:9px;background:#edf5ff;border:1px solid #e3eefb;width:32px;height:32px;font-size:18px;color:#5085be}.stat.hero .stat-icon{background:#ffffff0d;border-color:#ffffff12;color:#b6d8ff}.stat-value{font-size:31px;font-weight:800;line-height:1.6;margin-top:9px}.stat-value .amount{letter-spacing:-.5px}.stat-note{font-size:11px;margin-top:5px}.panel{border-radius:15px;border-color:#e1e9f4;box-shadow:0 4px 18px #274a7903}.panelhead{padding:22px 24px}h2{font-size:17px;font-weight:700;line-height:1.5}.sub{font-size:11px;line-height:1.8}.linkbtn{font-size:12px;color:#377cbd}.legend{font-size:11px}.chart{margin-bottom:20px;height:183px}.bar{background:linear-gradient(#528dce,#2e70b9);border-radius:5px 5px 0 0}.bar.expense{background:#cee0f6}.bar-label{font-size:11px}.ringdetails{font-size:12px}.ringdetails strong{font-size:17px}.ringtext b{font-size:30px;font-weight:800}.ringtext small{font-size:11px}.ringwrap{padding-bottom:31px}.quick-actions{gap:10px}.quick-actions button{border-color:#e4edf9;border-radius:11px;font-size:12px;padding:15px 8px;background:#f5f9ff}.quick-actions span{color:#4f86be}.note{font-size:12px;line-height:2;border-radius:11px;padding:15px 18px}.tablewrap{scrollbar-color:#bfd3ed #f5f8fd}th{font-size:12px;font-weight:700;background:#f4f8fe;color:#7190b2;padding:15px 18px}td{font-size:13px;padding:16px 18px;color:#3a5678}.resident-name small{font-size:11px}.initial{width:35px;height:35px;background:#eaf3ff;color:#5381b7;font-weight:700}.badge{font-size:11px;padding:5px 10px;font-weight:500}.tools button{font-size:11px;min-height:30px;padding:4px 9px}.summaryline{font-size:12px}.empty{min-height:148px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px;padding:25px}.empty-symbol{font-size:30px;line-height:1.2}.toolbar{gap:10px}.print-controls{margin-top:-10px;margin-bottom:17px}.print-controls button{font-size:11px;min-height:33px;padding:7px 13px;background:#ffffff99}.filter-label{font-size:11px}.field{font-size:13px;color:#617fa2}.settings label{font-size:13px}.settings{max-width:820px}.modalhead h2{font-size:20px}#form{padding:28px}dialog{border-radius:18px}dialog::backdrop{background:#102b5066}.modalactions{padding-top:17px;border-top:1px solid #eaf0f7}#toast{background:#214e81;line-height:1.9}.permission-grid{font-size:12px}footer{font-size:11px;color:#8ca1ba;padding-top:28px}.header-tools #accountTools{font-size:10px;max-width:185px;line-height:1.5}.breadcrumb span{margin:0 13px}.settings hr{margin:29px 0}}
@media screen and (max-width:1150px){.brand{font-size:22px;margin-right:5px}.brandmark{width:40px;height:47px}.brand small{font-size:10px}nav a{font-size:12px;padding:9px}.stat-value{font-size:26px}.stat{padding:18px 15px}.stat-top{font-size:11px}.stat-note{font-size:10px}}
@media screen and (max-width:760px){.sidebar{background:#14345c;padding:19px 18px 0;border-radius:0;box-shadow:none}.brand{margin:0 0 18px;font-size:25px}.brand small{font-size:10px}.brandmark{width:40px;height:44px}.brandmark svg{width:29px;height:29px}nav{padding-bottom:12px;gap:5px}nav a{padding:8px 10px;font-size:12px}nav a.active:before{display:none}header .breadcrumb{font-size:10px}.app>header{height:56px}.header-tools #accountTools{font-size:9px;max-width:120px}.pagehead h1{font-size:27px}.eyebrow{font-size:11px}.stat{min-height:142px;padding:15px}.stat-value{font-size:25px}.stat-icon{width:25px;height:25px;font-size:15px}.stat-top{font-size:10px}.stat-note{font-size:10px}.panelhead{padding:18px 16px}h2{font-size:16px}.chart{height:170px}.legend{font-size:9px}.print-controls{margin-top:0}.brandmark{border-radius:11px}.pageactions button{font-size:13px}.pageactions{gap:8px}.empty{font-size:12px}.quick-actions button{font-size:11px}th,td{padding:13px;font-size:12px}.settings{padding:20px}.modalactions button{flex:1}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}button:hover{transform:none}}
.print-letterhead{display:none}.print-direction{display:flex;align-items:center;gap:8px;color:#7891af;font-size:11px}.print-direction select{font-size:11px;min-height:32px;padding:4px 9px;border-color:#dfe8f4}.print-settings{margin-top:24px;max-width:1000px}.letterhead-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 26px 25px}.letterhead-card{background:#f5f8fd;border:1px solid #dfe8f5;border-radius:13px;padding:17px}.letterhead-card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.letterhead-card-title h3{font-size:15px}.letterhead-card-title>span{font-size:11px;color:#8da0b8}.letterhead-preview{background:#fff;border:1px solid #dce6f3;border-radius:5px;overflow:hidden;max-height:270px;margin:0 auto 17px;box-shadow:0 4px 15px #284c7310;display:grid;place-items:center}.letterhead-preview.portrait{aspect-ratio:210/297;height:270px}.letterhead-preview.landscape{aspect-ratio:297/210;width:100%;margin-top:34px;margin-bottom:50px}.letterhead-preview img{width:100%;height:100%;object-fit:contain}.letterhead-preview>div{text-align:center;color:#9bb4d0;font-size:11px}.letterhead-preview span{display:block;font-size:33px;color:#adc7e7;line-height:1.4}.letterhead-preview strong{display:block;font-size:12px;color:#6686ad}.letterhead-preview small{display:block;font-size:10px;margin-top:7px}.upload-letterhead{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 15px;border:1px solid #ccdff4;border-radius:9px;background:white;color:#3a74b3;font-size:12px;cursor:pointer;font-weight:500;position:relative;overflow:hidden}.upload-letterhead input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.letterhead-card button{margin-right:6px;font-size:11px}#printSettingsForm{padding:0 26px 26px}.print-margin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.print-margin-grid fieldset{border:1px solid #e1eaf5;border-radius:11px;padding:16px}.print-margin-grid legend{font-size:12px;color:#6484aa;padding:0 7px}.margin-inputs{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.margin-inputs .field{margin-bottom:0;font-size:12px}.margin-inputs input{width:100%}#printSettingsForm .toolbar{align-items:end;margin:20px 0 15px}.print-help{font-size:11px;line-height:2}.print-settings .panelhead p{max-width:660px}input[readonly]{background:#f2f6fc;color:#6b87a9}#loginError{line-height:1.8}@media(max-width:760px){.letterhead-cards,.print-margin-grid{grid-template-columns:1fr}.letterhead-cards{padding:0 18px 20px}.letterhead-preview.landscape{max-width:330px;margin-top:15px;margin-bottom:17px}#printSettingsForm{padding:0 18px 22px}.print-settings .panelhead{align-items:start}.print-controls{flex-wrap:wrap}.print-direction{margin-left:auto}}@media print{.print-direction,.print-settings{display:none!important}}
.ui-icon{width:22px;height:22px;display:inline-block;vertical-align:middle;flex-shrink:0}.navicon{display:grid;place-items:center;line-height:1}.navicon .ui-icon{width:21px;height:21px}.stat-icon .ui-icon{width:19px;height:19px}.quick-actions .ui-icon{width:27px;height:27px}.empty-symbol .ui-icon{width:35px;height:35px}.cycle-manager{margin-bottom:21px}.cycle-manager .panelhead p{font-size:11px}.audit-value{white-space:pre-wrap;overflow-wrap:anywhere;max-width:270px;font-size:11px;line-height:1.8}.audit-value:empty:after{content:'—'}nav a{padding-top:8px;padding-bottom:8px}@media print{.cycle-manager .tools{display:none}.audit-value{font-size:8px;max-width:none}.ui-icon{width:14px;height:14px}.navicon{display:none}}

/* Sort controls stay outside the column label so printed headers retain their text. */
th.sortable-column{cursor:pointer}.table-sort-toggle{display:inline-flex;gap:0;align-items:center;justify-content:center;vertical-align:middle;margin-inline-start:6px;min-height:26px;min-width:25px;padding:2px!important;border:0!important;background:transparent!important;color:#9cafc5;font-family:Arial,sans-serif;font-size:13px;line-height:1;box-shadow:none!important}.table-sort-toggle span{display:block}.table-sort-toggle:hover{color:#245b8d}th[aria-sort=ascending] .sort-up,th[aria-sort=descending] .sort-down{color:#1e5f9c;font-weight:700}.table-sort-toggle:focus-visible{outline:2px solid #397ac2;outline-offset:2px}@media print{.table-sort-toggle{display:none!important}}

/* Building identity supplied by the owner. */
.brandmark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}.building-logo{display:block;width:72px;height:72px;object-fit:contain;border-radius:14px;margin:0 auto 18px}.resident-portal .building-logo{width:56px;height:56px;margin:0 0 12px}

.brandmark .building-mark{display:block;width:30px;height:30px;background-color:currentColor;-webkit-mask:url("building-logo-72.png?v=logo-tint-20261021") center/contain no-repeat;mask:url("building-logo-72.png?v=logo-tint-20261021") center/contain no-repeat}

.money-amount{display:inline-flex;direction:rtl;unicode-bidi:isolate;align-items:baseline;gap:.25em;white-space:nowrap}.money-amount>bdi{direction:ltr;unicode-bidi:isolate}

.user-login{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;direction:rtl}.user-presence-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22a456;box-shadow:0 0 0 3px #22a4561a;flex-shrink:0}.user-presence-dot[hidden]{display:none}

.credit-display-controls{margin:0 0 8px}.credit-print-columns{width:100%;box-sizing:border-box;margin:0;padding:12px 16px 15px;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}.credit-print-columns legend{padding:0 7px;font-size:12px;color:#6c89ae}.credit-print-columns>div{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap}.credit-print-columns label{display:flex;align-items:center;gap:7px;margin:0;font-size:13px;white-space:nowrap}.credit-print-columns input{width:16px;height:16px;margin:0;accent-color:#2867a7}.credit-print-columns label:has(input:disabled){opacity:.4}.credit-filter-hint{font-size:12px;margin:9px 0 20px;line-height:1.8}@media(max-width:640px){.credit-print-columns{padding-inline:12px}.credit-print-columns>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.credit-print-columns label{font-size:12px;white-space:normal;line-height:1.6}}@media print{.credit-display-controls,.credit-filter-hint{display:none!important}}
@media screen{
.app>header{gap:20px;position:relative;z-index:20}.app>header .breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.app>header .header-tools{gap:18px;flex-shrink:0}.header-tools #today{white-space:nowrap;font-size:12px;color:#8194ac}.header-tools #accountTools{max-width:none;line-height:1.5;flex-shrink:0;padding-inline-start:18px;border-inline-start:1px solid #e3ebf6}.account-menu{position:relative}.account-menu>summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;border-radius:50%;width:40px;height:40px}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>summary:focus-visible{outline:3px solid #90b8ec;outline-offset:3px}.account-menu>summary .avatar{width:40px;height:40px;font-size:16px;font-weight:500;transition:background .15s}.account-menu[open]>summary .avatar,.account-menu>summary:hover .avatar{background:#dcecff;border-color:#a9cdf4}.account-dropdown{position:absolute;inset-inline-end:0;top:calc(100% + 14px);width:260px;max-width:calc(100vw - 32px);padding:8px;border:1px solid #e0e8f3;border-radius:14px;background:#fff;box-shadow:0 12px 36px #17375220;z-index:60;text-align:right;color:#203756}.account-identity{display:grid;gap:5px;padding:12px 12px 14px;border-bottom:1px solid #edf1f6;margin-bottom:6px;overflow-wrap:anywhere}.account-identity strong{font-size:14px;font-weight:700}.account-identity span{font-size:12px;color:#7188a3;text-align:right}.account-identity small{font-size:11px;color:#8194ac}.account-dropdown>button{width:100%;display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:10px 12px;font-size:12px;color:#a65348;border-radius:8px;min-height:40px;text-align:right}.account-dropdown>button:hover{background:#fcf2ef;transform:none}.account-dropdown>button svg{flex-shrink:0}.header-tools .notification-bell{min-height:40px;padding:8px 12px;line-height:1.4}.header-tools .notification-tools{display:flex;align-items:center}.header-tools .notification-bell svg{width:20px;height:20px}
}
@media screen and (max-width:760px){.app>header{padding-inline:16px;gap:12px;height:64px}.app>header .header-tools{gap:10px}.header-tools #accountTools{padding-inline-start:10px;max-width:none}.app>header .breadcrumb{font-size:12px}.account-dropdown{top:calc(100% + 12px);width:250px}.header-tools .notification-bell{width:40px;height:40px;min-height:40px;padding:8px;justify-content:center}.header-tools .notification-bell>span{display:none}}

.reportfilters .credit-display-controls{flex:1 1 100%;margin:4px 0 0}.reportfilters .credit-print-columns{border:0;border-top:1px solid #edf1f6;border-radius:0;padding:10px 0 0}.reportfilters .credit-print-columns legend{padding:0 0 0 10px}.reportfilters .credit-print-columns label{color:#526f92}.reportfilters .credit-print-columns input{min-height:16px}[data-credit-balances] tfoot td{background:#edf4fc;border-top:2px solid #cbdced;font-weight:700}.report-table[data-layout=credit-balances] tfoot td{border-top:2px solid #7e9cba!important;font-weight:700!important}

.reportfilters .credit-print-columns input{flex:0 0 16px;height:16px;min-height:16px}

/* A4 settings: full sheet previews and aligned controls. */
.letterhead-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.letterhead-card{display:flex;flex-direction:column;min-width:0;padding:18px}.letterhead-card-title{gap:12px;min-height:28px;margin-bottom:14px}.letterhead-card-title h3{margin:0}.letterhead-card-title>span{white-space:nowrap}.letterhead-preview-stage{height:300px;display:grid;place-items:center;margin-bottom:18px;min-width:0}.letterhead-preview{margin:0;max-height:none;max-width:100%;min-width:0;min-height:0}.letterhead-preview.portrait{height:280px;width:auto;aspect-ratio:210/297}.letterhead-preview.landscape{width:min(100%,396px);height:auto;max-height:none;aspect-ratio:297/210;margin:0}.letterhead-preview img{display:block;min-height:0;width:100%;height:100%;object-fit:contain}.letterhead-preview>div{padding:12px}.letterhead-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:0}.upload-letterhead,.letterhead-card .letterhead-actions button{height:42px;min-height:42px;margin:0;padding:0 8px;border-radius:9px;font-size:12px;line-height:1.5;display:flex;align-items:center;justify-content:center}.upload-letterhead:focus-within{outline:2px solid #367db6;outline-offset:2px}.upload-letterhead[aria-disabled=true]{opacity:.55;cursor:wait}.letterhead-status{display:grid;gap:8px;margin-top:14px;font-size:12px;color:#346899;line-height:1.7}.letterhead-status[hidden]{display:none}.letterhead-status progress{width:100%;height:7px;accent-color:#2869a7}.letterhead-status.is-error{color:#b44343}.print-margin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.print-margin-grid fieldset{min-width:0}.margin-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.margin-inputs label{margin:0;font-size:12px}.print-settings-actions{display:grid;grid-template-columns:minmax(200px,280px) max-content;align-items:end;gap:12px;margin:22px 0 12px}.print-settings-actions label{display:grid;gap:8px;margin:0;font-size:12px}.print-settings-actions select,.print-settings-actions button{height:46px;min-height:46px;margin:0}.print-settings-feedback{font-size:12px;color:#346899;line-height:1.8;margin:0 0 10px}.print-settings-feedback:empty{display:none}.print-settings .print-help{margin:0}@media(max-width:760px){.letterhead-cards,.print-margin-grid{grid-template-columns:1fr}.letterhead-card{padding:16px}.letterhead-preview.landscape{margin:0}.print-settings-actions{grid-template-columns:1fr}.print-settings-actions button{width:100%}}

.print-settings .panelhead{gap:12px}.print-settings .panelhead>.badge{white-space:nowrap;flex-shrink:0}

.dashboard-follow-up{margin:22px 0;overflow:hidden}.follow-up-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e3ecf7}.follow-up-heading h2{font-size:18px;margin:0 0 5px}.follow-up-heading p{font-size:12px;color:#8198b5;margin:0;line-height:1.7}.follow-up-heading button{height:38px;min-height:38px;padding:0 14px;font-size:12px;white-space:nowrap}.follow-up-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px}.follow-up-row{display:flex;align-items:center;gap:12px;text-align:right;border:0;border-bottom:1px solid #e6eef8;border-radius:0;background:transparent;box-shadow:none;padding:17px 12px;width:100%;min-width:0;color:#23476e}.follow-up-row:hover{background:#f4f8fd;transform:none}.follow-up-row:focus-visible{outline:2px solid #397ac2;outline-offset:-3px}.follow-up-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;background:#edf5ff;border-radius:10px;color:#4a80ba}.follow-up-icon svg{width:20px;height:20px}.follow-up-copy{display:grid;gap:5px;flex:1;min-width:0}.follow-up-copy>span{font-size:13px;font-weight:500;line-height:1.7}.follow-up-copy small{font-size:11px;color:#8197b1;line-height:1.7;font-weight:400}.follow-up-count{display:grid;place-items:center;min-width:36px;height:30px;padding:0 8px;background:#e7f1ff;color:#245f9a;font-size:15px;font-weight:700;border-radius:8px;flex-shrink:0}.follow-up-arrow{color:#8da9c9;font-size:23px;font-weight:400}.follow-up-empty{padding:20px 24px;font-size:13px;color:#647f9d;line-height:1.8;margin:0}.follow-up-error{padding:12px 24px;color:#a65747;background:#fff8f4;font-size:12px;line-height:1.8;margin:0}@media(max-width:760px){.follow-up-list{grid-template-columns:1fr;padding:0 6px}.follow-up-heading{padding:16px;align-items:flex-start}.follow-up-heading h2{font-size:17px}.follow-up-row{padding:15px 10px;gap:10px}.follow-up-copy small{font-size:10px}.follow-up-icon{width:32px;height:32px;flex-basis:32px}.follow-up-count{min-width:32px;font-size:14px}}@media print{.dashboard-follow-up{display:none!important}}

.view-loading{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:42px 20px;min-height:180px;color:#6682a5}.view-loading p{margin:0;font-size:14px;line-height:1.8}.view-spinner{width:24px;height:24px;border:3px solid #dce9f9;border-top-color:#3275b8;border-radius:50%;animation:view-spin .8s linear infinite}@keyframes view-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.view-spinner{animation:none}}
dialog.consumption-alert-dialog{width:min(1120px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}.consumption-alert-dialog #fields{min-width:0}.consumption-explainer{font-size:13px;line-height:1.9;background:#f1f6fd;border:1px solid #dce8f7;border-radius:10px;padding:12px 16px;margin-bottom:18px;color:#46658a}.consumption-alert-dialog td{font-size:12px;line-height:1.8;vertical-align:middle}.consumption-alert-dialog td small{display:block;font-size:11px;line-height:1.8;color:#8094ad;margin-top:5px}.consumption-alert-dialog td .tools button{min-height:34px;padding:6px 11px;font-size:12px;white-space:nowrap}.consumption-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:12px;color:#7c94b1}.consumption-pagination .tools{display:flex;gap:7px}.consumption-pagination button{min-height:34px;font-size:12px;padding:6px 12px}.consumption-footnote{font-size:11px;line-height:1.9;color:#8397b0;margin:16px 0 0}.consumption-loading{padding:24px 0;text-align:center;color:#7c94b1}@media(max-width:600px){dialog.consumption-alert-dialog{width:calc(100vw - 16px);padding:20px 14px}.consumption-alert-dialog #modalTitle{font-size:18px}.consumption-explainer{font-size:12px;padding:11px}.consumption-alert-dialog .table-wrap{margin-inline:0}.consumption-pagination{flex-wrap:wrap}}
@media(max-width:600px){.consumption-alert-dialog .tablewrap{overflow:visible;margin:0}.consumption-alert-dialog table{display:block;min-width:0;width:100%}.consumption-alert-dialog thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.consumption-alert-dialog tbody{display:block}.consumption-alert-dialog tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e1eaf6;border-radius:10px;padding:8px;margin-bottom:12px;background:#fff}.consumption-alert-dialog td{display:block;width:auto!important;border:0;padding:9px 7px;min-width:0;text-align:right;overflow-wrap:anywhere}.consumption-alert-dialog td:first-child,.consumption-alert-dialog td:nth-child(2){grid-column:1 / -1}.consumption-alert-dialog td::before{content:attr(data-label);display:block;font-size:10px;color:#879cb5;line-height:1.8;margin-bottom:3px}.consumption-alert-dialog td:last-child{display:flex;align-items:center;justify-content:flex-end}.consumption-alert-dialog td:last-child::before{display:none}.consumption-alert-dialog td:last-child .tools{margin:0}.consumption-alert-dialog td small{font-size:10px}.consumption-alert-dialog #fields{width:100%}}
.fund-match-status{display:block;margin-top:7px;font-size:10px;line-height:1.7;color:#8299b5;max-width:240px}.fund-match-status.matched{color:#2c7a69;background:#eff8f4;border:1px solid #d9eee5}.fund-match-status.needs-review{color:#a56e2e;background:#fff9ed;border:1px solid #f3e5c8}button.fund-match-status{min-height:0;padding:4px 8px;font-weight:400;text-align:right;border-radius:6px}.fund-match-toolbar{justify-content:flex-end;margin-bottom:14px}.fund-match-toolbar button{min-height:36px;font-size:12px;padding:7px 12px}.fund-match-intro{font-size:14px;color:#52769c;text-align:center;line-height:1.8;margin:0 0 20px}.fund-match-balance{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;background:#f3f7fd;border:1px solid #dce8f7;border-radius:10px;padding:14px;margin:0 0 22px;font-size:13px}.fund-match-balance button{grid-column:1 / -1;justify-self:end;font-size:11px;min-height:30px;padding:5px 10px}.fund-match-difference{display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px;border:1px solid #e1eaf4;border-radius:10px;margin:0 0 22px;color:#7d94b1;font-size:13px;line-height:1.8}.fund-match-difference small{grid-column:1 / -1;font-size:11px;color:inherit}.fund-match-difference.matched{color:#2f7b68;background:#f3faf6;border-color:#d7ece2}.fund-match-difference.needs-review{color:#a27436;background:#fffbf3;border-color:#eee0c9}.fund-match-hint{font-size:11px;line-height:1.9;color:#8a9bb0;margin:8px 0 16px}.fund-match-drift{font-size:12px;line-height:1.9;border:1px solid #f0dfbd;border-radius:9px;background:#fffaf1;color:#997137;padding:12px;margin-bottom:20px}.fund-match-note{margin:16px 0;font-size:12px;color:#7b91ae}.fund-match-note p{margin-top:7px;white-space:pre-wrap;color:#4b698b}dialog.fund-match-history{width:min(1050px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}.fund-match-history .tools button{min-height:34px;padding:6px 11px;font-size:12px}.fund-match-history td{font-size:12px;vertical-align:middle}dialog.fund-reconcile-editor textarea[name=note]{box-sizing:border-box;width:100%;border:1px solid #dce5f1;border-radius:9px;padding:12px;font:inherit;resize:vertical;min-height:90px;color:#365575;background:#fff}
@media(max-width:600px){.fund-match-toolbar{display:flex;flex-wrap:wrap;justify-content:stretch}.fund-match-toolbar button{flex:1;white-space:nowrap}.fund-match-balance,.fund-match-difference{font-size:12px;grid-template-columns:minmax(0,1fr) auto}.fund-match-history .tablewrap{overflow:visible}.fund-match-history table{display:block;width:100%;min-width:0}.fund-match-history thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.fund-match-history tbody{display:block}.fund-match-history tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e1eaf4;border-radius:10px;padding:7px;margin-bottom:12px}.fund-match-history td{display:block;width:auto!important;border:0;padding:9px 7px;min-width:0;text-align:right;font-size:12px;overflow-wrap:anywhere}.fund-match-history td::before{content:attr(data-label);display:block;font-size:10px;line-height:1.7;color:#859ab4;margin-bottom:3px}.fund-match-history td:nth-child(2){grid-column:1 / -1}.fund-match-history td:last-child{display:flex;align-items:center;justify-content:flex-end}.fund-match-history td:last-child::before{display:none}.fund-match-history .request-payment-info{font-size:12px}.fund-match-history .request-payment-info dd{overflow-wrap:anywhere}dialog.fund-match-history{padding:22px 16px}}
.payroll-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.payroll-breakdown{display:block;margin-top:6px;font-size:10px;color:#8297b2;line-height:1.8}.payroll-preview-lines{display:grid;gap:7px}.payroll-preview-lines p{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;line-height:1.8;margin:0}.payroll-preview-lines p:last-child{border-top:1px solid #dae6f5;padding-top:9px;color:#285b8f}.payroll-allocation{font-size:11px;line-height:1.9;border-top:1px solid #dae6f5;padding-top:10px;margin-top:10px}#salaryExcessReason{background:#fffaf0;border:1px solid #f0e1c5;border-radius:10px;padding:12px 14px;margin-bottom:18px}#salaryExcessReason[hidden]{display:none}#salaryExcessReason label{margin:0;font-size:12px;color:#98723a}@media(max-width:900px){.payroll-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.payroll-stats .stat{padding:16px 12px}.payroll-stats .stat-value{font-size:24px}.payroll-stats .stat-note{font-size:10px}}
.reminder-panel{padding:22px;margin-bottom:22px}.reminder-panel>.panelhead{padding:0 0 20px}.reminder-filters{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;align-items:end;gap:14px;margin-bottom:20px}.reminder-filters label{display:grid;gap:8px;font-size:12px;color:#7b91ac}.reminder-filters input,.reminder-filters select,.reminder-filters button{height:44px;margin:0}.reminder-selection{align-items:center;gap:8px}.reminder-selection span{margin-inline-start:auto;color:#7990ad;font-size:12px}.reminder-panel label:has(textarea){display:grid;gap:10px;color:#7590af}.reminder-panel textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid #dce6f4;border-radius:10px;padding:14px;line-height:1.9;color:#37597f;resize:vertical;margin-bottom:10px}.reminder-panel #debtReminderPreview .primary{margin-top:16px}.reminder-panel input[type=checkbox]{width:17px;height:17px;accent-color:#2867a8}.follow-up-review-note{margin:12px 0;padding:10px 12px;border-inline-start:3px solid #91b4d4;background:#f3f7fd;border-radius:6px;font-size:11px;color:#708ba9}.follow-up-review-note p{font-size:12px;line-height:1.8;color:#426384;white-space:pre-wrap;margin-top:7px}.follow-up-review-hint{font-size:12px;line-height:1.9;margin-bottom:20px}.follow-up-review-entry{border-bottom:1px solid #e1e9f3;padding:14px 0}.follow-up-review-entry>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#3f6890}.follow-up-review-entry small{font-size:10px;color:#869bb5}.follow-up-review-entry p{font-size:13px;color:#496787;line-height:1.9;margin-top:9px;white-space:pre-wrap}.funds-panel td{vertical-align:middle;padding-block:18px}.fund-name-cell{min-width:210px;max-width:310px}.fund-name{font-size:13px;font-weight:500;color:#2c527d}.fund-account-info{display:grid;gap:5px;margin:11px 0 0;font-size:11px;line-height:1.6}.fund-account-info div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:7px}.fund-account-info dt{color:#8b9eb6}.fund-account-info dd{margin:0;color:#597798;overflow-wrap:anywhere}.fund-row-actions{display:flex;align-items:center;justify-content:flex-start;gap:7px;white-space:nowrap}.fund-row-actions button{height:34px;min-height:34px;font-size:11px;padding:6px 10px;line-height:1.6}.fund-row-actions .fund-more-toggle{width:34px;padding:0;font-size:23px;line-height:1}.fund-current-balance{font-weight:500}.fund-type{font-size:11px;color:#6c89a7}.fund-action-menu{position:fixed;z-index:1200;display:grid;width:198px;padding:6px;border:1px solid #dce7f5;border-radius:11px;background:#fff;box-shadow:0 10px 35px #1d456822;direction:rtl}.fund-action-menu button{text-align:right;border:0;box-shadow:none;border-radius:6px;padding:10px 12px;font-size:12px;min-height:37px}.fund-action-menu .danger{color:#b76a5c}.fund-action-menu button:disabled{opacity:.45;cursor:not-allowed}.consumption-alert-dialog td:last-child>.tools{display:grid;gap:8px}.consumption-alert-dialog td:last-child .tools .tools{display:flex;flex-wrap:wrap;gap:5px}#modal textarea[name=note]{box-sizing:border-box;width:100%;font:inherit;line-height:1.8;border:1px solid #dce7f5;border-radius:9px;padding:12px;resize:vertical}
@media(max-width:760px){.reminder-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.reminder-panel{padding:15px}.reminder-selection{flex-wrap:wrap}.reminder-selection span{margin:0}.follow-up-review-entry>div{flex-direction:column;gap:5px}.fund-row-actions{gap:5px}.fund-row-actions button{font-size:10px;padding:6px 8px}.fund-name-cell{min-width:185px}.fund-account-info div{grid-template-columns:65px minmax(0,1fr)}}@media print{.fund-action-menu,.fund-row-actions,.fund-match-toolbar{display:none!important}}
.follow-up-heading-actions{display:flex;gap:7px;align-items:center;flex-shrink:0}.follow-up-review-title{font-size:13px;color:#2f587e;margin-bottom:10px}.fund-row-actions button:focus-visible,.fund-action-menu button:focus-visible{outline:2px solid #6399d6;outline-offset:1px}@media(max-width:600px){.follow-up-heading{flex-wrap:wrap}.follow-up-heading-actions{width:100%;justify-content:flex-end}.reminder-panel .tablewrap{overflow:visible}.reminder-table,.reminder-table tbody{display:block;width:100%;min-width:0}.reminder-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.reminder-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e1eaf4;border-radius:10px;margin-bottom:12px;padding:8px}.reminder-table td{display:block;width:auto!important;border:0;min-width:0;padding:8px;text-align:right;font-size:12px;overflow-wrap:anywhere}.reminder-table td::before{content:attr(data-label);display:block;font-size:10px;color:#8b9db5;margin-bottom:5px}.reminder-table td:first-child{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-start;gap:10px}.reminder-table td:first-child::before{margin:0}.reminder-table td:nth-child(2),.reminder-table td:last-child{grid-column:1/-1}}
.occupancy-heading{text-align:center;margin-bottom:18px}.occupancy-heading p{margin:5px 0}.occupancy-section{margin:20px 0}.occupancy-section h3{font-size:15px;color:#203b60;margin:0 0 10px}.occupancy-section small{display:block;font-size:11px;margin-top:4px}.occupancy-section td,.occupancy-section th{padding:10px 8px;vertical-align:middle;font-size:12px}.occupancy-totals{padding:12px;background:#f3f7fd;border-radius:10px;line-height:2}.occupancy-tools{display:flex;justify-content:flex-end}.occupancy-tools button{min-height:36px;padding:6px 12px}.occupancy-confirm{display:flex;align-items:flex-start;gap:9px;line-height:1.8}.occupancy-confirm input{width:17px;min-width:17px;margin-top:5px}
#modal:has(.occupancy-heading){width:min(920px,calc(100vw - 32px));max-width:920px}.occupancy-section table{min-width:0!important;width:100%;table-layout:fixed}.occupancy-section th{white-space:normal}.occupancy-section .tablewrap{overflow-x:auto}
@media(max-width:600px){#modal:has(.occupancy-heading){width:calc(100vw - 20px);padding:22px 16px}.occupancy-section table,.occupancy-section tbody{display:block;width:100%}.occupancy-section thead{display:none}.occupancy-section tbody tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e1e8f2;padding:8px 0}.occupancy-section tbody td{display:block;min-width:0;border:0!important;text-align:right!important;padding:7px 8px;font-size:13px;overflow-wrap:anywhere}.occupancy-section tbody td:first-child{grid-column:1/-1;color:#245781}.occupancy-section tbody td:before{content:attr(data-label);display:block;font-size:11px;color:#7789a0;margin-bottom:3px}.occupancy-section .tablewrap{overflow:visible}.occupancy-totals{font-size:13px}}
.credit-transfer-heading{text-align:center;margin:0 0 22px}.credit-transfer-heading p{margin:0 0 6px;color:#203756}.credit-transfer-heading small{color:#7789a0}.credit-transfer-preview{padding:14px 16px;border:1px solid #dce7f4;border-radius:12px;background:#f6f9fe;margin:16px 0}.credit-transfer-preview dl{display:grid;gap:10px;margin:0}.credit-transfer-preview dl>div{display:flex;justify-content:space-between;align-items:center;gap:15px}.credit-transfer-preview dt{color:#6884a4;font-size:13px}.credit-transfer-preview dd{margin:0;white-space:nowrap}.credit-transfer-preview dl>div:nth-child(3){padding-block:10px;border-block:1px solid #dce7f4;color:#203756}.credit-transfer-preview p{line-height:1.8;margin:4px 0;color:#6884a4}
#modal:has(.credit-transfer-history){width:min(980px,calc(100vw - 24px));max-width:980px}.credit-transfer-history table{table-layout:fixed;min-width:760px;width:100%}.credit-transfer-history td,.credit-transfer-history th{padding:10px 8px;vertical-align:middle;font-size:13px;overflow-wrap:anywhere}.credit-transfer-history th:nth-child(1){width:13%}.credit-transfer-history th:nth-child(2){width:14%}.credit-transfer-history th:nth-child(3),.credit-transfer-history th:nth-child(4){width:9%}.credit-transfer-history th:nth-child(5){width:14%}.credit-transfer-history th:nth-child(6){width:28%}.credit-transfer-history th:nth-child(7){width:13%}

/* التعميمات والقرارات */
.announcement-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:22px}.announcement-filters label{display:grid;gap:7px;margin:0;min-width:150px}.announcement-filters label:first-child{flex:1;min-width:190px}.announcement-filters input,.announcement-filters select{width:100%;box-sizing:border-box}.announcement-filters>button{min-height:48px;margin:0}.announcement-title-cell{max-width:560px;min-width:200px}.announcement-title-cell>span{display:block}.announcement-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#7b91ad;font-size:13px;line-height:1.8;margin-top:6px;overflow-wrap:anywhere}.announcement-pin,.announcement-new,.announcement-status,.announcement-kind{display:inline-block;padding:4px 10px;border-radius:8px;font-size:12px;white-space:nowrap;background:#eef4fc;color:#2a659b}.announcement-pin{background:#fff7e7;color:#88651d;margin-inline-end:7px}.announcement-new,.announcement-status.published{background:#eaf7f1;color:#28745c}.announcement-status.archived{background:#f0f1f4;color:#6f7886}.announcement-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;color:#7c91ad;font-size:13px}.announcement-detail h3{font-size:21px;margin:0 0 12px}.announcement-meta{color:#7c91ad;font-size:13px}.announcement-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;color:#203756;margin:22px 0;text-align:start}.announcement-detail footer{border-top:1px solid #e3ebf5;padding-top:16px;color:#7b91ad;font-size:12px;line-height:1.8}.announcement-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.announcement-pin-choice{display:flex!important;align-items:center;gap:9px!important}.announcement-pin-choice input{width:18px!important;min-height:18px!important;flex:0 0 18px}.announcement-form-note{color:#7b91ad;font-size:13px;line-height:1.8}.announcement-list{display:grid;gap:14px}.announcement-item{display:block;text-align:start;width:100%;padding:20px;border:1px solid #dce7f5;border-radius:14px;background:#fff;font-family:inherit;cursor:pointer}.announcement-item:hover{border-color:#9bbce0;background:#f8fbff}.announcement-item-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#7b91ad;font-size:12px}.announcement-item-title{display:block;margin-top:14px;font-size:17px;color:#203756}.announcement-open-label{display:block;margin-top:14px;color:#2865a1;font-size:12px}#portalAnnouncementDialog .tools{justify-content:flex-end}#portalAnnouncementDialog h2{margin:0;font-size:23px}#portalAnnouncements[aria-busy=true]{opacity:.6;pointer-events:none}@media(max-width:600px){.announcement-form-grid{grid-template-columns:1fr;gap:0}.announcement-filters label{min-width:0;flex:1}.announcement-filters label:first-child{flex-basis:100%}.announcement-item{padding:16px}.announcement-pagination{flex-wrap:wrap}.announcement-item-meta{flex-wrap:wrap}}
#announcementFilter>label,#portalAnnouncementFilter>label{margin:0}#announcementFilter input,#announcementFilter select,#portalAnnouncementFilter input,#portalAnnouncementFilter select{height:48px}#announcementFilter>button,#portalAnnouncementFilter>button{height:48px}
.backup-download-status{padding:20px 24px;margin-bottom:22px;border:1px solid #d9e7f7;border-radius:14px;background:#edf5ff}.backup-status-title{display:flex;align-items:center;gap:12px;color:#245d98;font-size:15px}.backup-download-status p{margin-top:10px}.backup-download-status progress{display:block;width:100%;height:8px;margin-top:16px;border:0;border-radius:8px;overflow:hidden;accent-color:#2865a1}.backup-download-status progress::-webkit-progress-bar{background:#dae7f6}.backup-download-status progress::-webkit-progress-value{background:#2865a1}.backup-spinner{width:20px;height:20px;border:2px solid #bfd5ef;border-top-color:#2865a1;border-radius:50%;flex:0 0 20px;animation:backup-spin .8s linear infinite}.backup-download-error{border-color:#e8c4bd;background:#fff5f3}.backup-download-error .backup-status-title{color:#a44737}@keyframes backup-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.backup-spinner{animation-duration:2s}}
/* مركز النسخ الاحتياطي والاستعادة */
.backup-overview{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.backup-eyebrow{color:#8094ad;font-size:12px}.backup-overview h2{margin:9px 0;font-size:20px}.backup-age{padding:9px 14px;border-radius:10px;background:#eaf7f1;color:#35765e;font-size:12px;white-space:nowrap}.backup-age.warn{background:#fff6e8;color:#8c6c2e}.backup-options{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;margin-bottom:24px}.backup-option-main,.backup-option-sql{padding:26px;display:flex;align-items:flex-start;gap:16px}.backup-option-main{flex-wrap:wrap;border-top:3px solid #2865a1}.backup-option-main>div{flex:1;min-width:190px}.backup-option-main h2,.backup-option-sql h2{font-size:19px;margin:0 0 12px}.backup-option-main small{display:block;color:#8195af;margin-top:10px;font-size:12px}.backup-option-main>button{margin-inline-start:58px}.backup-option-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:#edf5ff;border:1px solid #dae8f8;border-radius:12px;color:#2865a1}.backup-option-icon svg{width:22px;height:22px}.backup-option-sql{flex-direction:column;justify-content:space-between}.backup-tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.backup-center-panel{padding:24px}.backup-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.backup-section-heading h2{margin:0;font-size:18px}.backup-result{display:inline-block;padding:6px 11px;font-size:12px;border-radius:8px;background:#edf3fa;color:#647b98;white-space:nowrap}.backup-result.delivered,.backup-result.restored{background:#eaf7f1;color:#2f7960}.backup-result.failed{background:#fff1ed;color:#ab5b47}.backup-result.preparing{background:#fff6e8;color:#8c6c2e}.backup-footnote,.backup-page-note{margin-top:20px;font-size:12px;color:#8295ad;line-height:1.9}.backup-page-note{margin-bottom:20px}.backup-safety-link{display:inline-block;padding:8px 12px;border:1px solid #dce7f4;border-radius:9px;font-size:12px;white-space:nowrap}.backup-restore-heading{margin-bottom:22px}.backup-restore-heading h2{margin:0 0 12px;font-size:20px}#backupInspectForm,#backupApplyForm{max-width:600px}#backupInspectForm label,#backupApplyForm label{display:grid;gap:10px;margin-bottom:20px}#backupInspectForm input,#backupApplyForm input{width:100%;box-sizing:border-box}.backup-file-picker{display:flex;align-items:center;gap:10px}.backup-file-picker input{min-width:0;flex:1}.backup-file-picker button{flex:0 0 36px;width:36px;height:36px;padding:0;border-radius:50%;color:#8b9bb0}.backup-file-picker small{font-size:12px;color:#8295ad}.backup-preview-date{padding:14px 18px;margin-bottom:18px;background:#f0f6fd;border:1px solid #dce8f6;border-radius:10px;color:#597ea8;font-size:13px}.backup-restore-preview .tablewrap{max-height:370px;overflow:auto;margin-bottom:22px}.backup-restore-preview th{position:sticky;top:0}.backup-restore-preview table td{padding-top:12px;padding-bottom:12px}.backup-restore-warning{padding:16px 20px;border:1px solid #ecd9b9;border-radius:12px;background:#fffaf1;margin-bottom:24px}.backup-restore-warning p{color:#8a6c37}.backup-restore-warning p+p{margin-top:8px}.backup-restore-progress{display:grid;grid-template-columns:20px 1fr;gap:12px;align-items:center;padding:18px;margin-top:22px;border:1px solid #dce7f6;background:#eef5ff;border-radius:12px;color:#2865a1;font-size:13px}.backup-restore-progress progress{grid-column:1/-1;width:100%;height:8px;accent-color:#2865a1}.backup-restore-error{margin-top:16px;color:#ad5144}.backup-restore-progress[hidden],.backup-spinner[hidden],[data-backup-progress][hidden]{display:none!important}@media(max-width:800px){.backup-options{grid-template-columns:1fr}.backup-overview{align-items:flex-start;flex-direction:column}.backup-option-main>button{margin-inline-start:0}.backup-center-panel{padding:18px}.backup-option-main,.backup-option-sql{padding:20px}}
.security-audit-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.security-summary-label{font-size:12px;color:#7b91ad;margin-bottom:12px}.security-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.security-summary>div{padding:20px;border:1px solid #dde7f4;border-radius:13px;background:#fff;display:grid;gap:14px}.security-summary span{font-size:12px;color:#7b91ad}.security-summary strong{font-size:25px;color:#245c96}.security-summary>div:last-child strong{color:#a56632}.security-audit-panel{padding:22px}.security-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:16px}#securityAuditFilter>label{display:grid;gap:8px;margin:0;min-width:145px}#securityAuditFilter>label:first-child{flex:1;min-width:200px}#securityAuditFilter input:not([type=checkbox]),#securityAuditFilter select,#securityAuditFilter>button{height:46px;box-sizing:border-box}#securityAuditFilter label.security-risk-filter{display:flex;align-items:center;gap:8px;height:46px;font-size:12px;min-width:0}#securityAuditFilter input[type=checkbox]{width:17px;height:17px;min-height:0;margin:0}.security-explanation{font-size:12px;color:#8094ad;margin:12px 0 20px;line-height:1.9}.security-history-note{color:#8295ad;font-size:12px;margin-top:16px}.security-risk{display:inline-block;padding:5px 10px;border-radius:8px;font-size:11px;white-space:nowrap;background:#eff4fa;color:#7b8fa8}.security-risk.watch{background:#fff6e6;color:#9a742f}.security-risk.suspicious{background:#fff0eb;color:#b55e48}.security-sort{display:inline-flex;gap:10px;align-items:center;color:inherit;border:0;padding:0;background:transparent!important;font-size:inherit;text-align:inherit}.security-sort span{color:#8aafd2}.security-audit-panel td{font-size:12px}.security-loading{margin:12px 0 18px;color:#6d8bab}.security-event-details{display:grid;gap:0;margin:20px 0}.security-event-details>div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px solid #edf1f7;line-height:1.8}.security-event-details dt{color:#8295ae;font-size:13px}.security-event-details dd{margin:0;color:#344f72;font-size:13px;overflow-wrap:anywhere}.security-detail-status{margin-bottom:14px}@media(max-width:780px){.security-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.security-audit-panel{padding:16px}.security-event-details>div{grid-template-columns:115px minmax(0,1fr)}#securityAuditFilter>label{flex:1;min-width:135px}#securityAuditFilter>label:first-child{flex-basis:100%}}
.security-audit-panel .audit-time{display:block;margin-top:4px;color:#8297b4;font-size:11px}.security-audit-panel td:first-child{white-space:nowrap}
.backup-verified-latest{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px}.backup-verified-latest h2{font-size:18px;margin:8px 0}.backup-verified-latest p{font-size:12px;color:#8295ad;line-height:1.9;margin:0}.backup-verified-latest button{flex:none}.backup-verification-result{border:1px solid #d9e7f4;border-radius:13px;padding:20px;margin-bottom:24px;background:#f6faff}.backup-verification-result.passed{border-color:#c9e7db;background:#f3faf7}.backup-verification-result.failed{border-color:#f0d8cf;background:#fff8f5}.backup-verification-result .backup-section-heading{margin-bottom:12px}.backup-verification-result .backup-section-heading span{font-size:12px;color:#8295ad}.backup-verification-result p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.backup-verification-numbers{display:flex;flex-wrap:wrap;gap:10px 25px;margin:15px 0;color:#416f62;font-size:13px}.backup-verification-numbers b{font-size:19px;margin-inline-end:5px}.backup-verification-history{margin-top:28px;border-top:1px solid #e2eaf5;padding-top:20px}.backup-verification-history h3{font-size:16px;margin:0 0 16px}.backup-verification-history td{vertical-align:middle}.backup-verification-history td:first-child{overflow-wrap:anywhere}.backup-verification-result .backup-footnote{font-size:11px}@media(max-width:650px){.backup-verified-latest{padding:18px;align-items:flex-start;flex-direction:column}.backup-verification-result{padding:16px}.backup-verification-result .backup-section-heading{align-items:flex-start;flex-direction:column;gap:8px}.backup-verification-history .tablewrap{overflow-x:auto}}
@media screen{button[data-save-pending]{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:progress}button[data-save-pending]::before{content:'';width:14px;height:14px;flex:0 0 14px;border:2px solid currentColor;border-inline-start-color:transparent;border-radius:50%;animation:view-spin .8s linear infinite}form[aria-busy=true] button:disabled{cursor:progress}@media(prefers-reduced-motion:reduce){button[data-save-pending]::before{animation-duration:2s}}}

.account-menu>summary{width:46px;height:46px;min-height:46px;border:1px solid #dce6f2;border-radius:14px;background:#f1f6fc;color:#2866a0}
.account-menu>summary:hover{background:#e4effb}
.account-dropdown{width:244px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:8px;border-radius:16px;box-shadow:0 12px 34px #16365825}
.account-dropdown>a,.account-dropdown>button{display:flex;align-items:center;min-height:46px;width:100%;box-sizing:border-box;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:#203756;text-align:start;text-decoration:none;font:inherit;font-size:14px}
.account-dropdown>a:hover,.account-dropdown>a:focus-visible{background:#edf4fc}
.account-dropdown>button[data-action=logout]{color:#a43838;border-top:1px solid #e9eef5;border-radius:0 0 9px 9px;margin-top:4px}
@media print{#accountTools{display:none!important}}

.account-dropdown>button[data-password-dialog]{color:#203756}.account-dropdown>button[data-password-dialog]:hover{background:#edf4fc}

/* Credentials are separate from the shared form dialog. */
dialog.beneficiary-credentials{width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
.beneficiary-credentials-content{padding:24px;min-width:0;overflow-wrap:anywhere}
.beneficiary-credentials-content h2{line-height:1.6;margin-bottom:12px}
.beneficiary-credentials-content label{grid-template-columns:minmax(0,1fr)}
.beneficiary-credentials-content input{width:100%;box-sizing:border-box}
.beneficiary-credentials-content button{max-width:100%;white-space:normal;margin-top:16px}
@media(max-width:480px){.beneficiary-credentials-content{padding:16px}}

@font-face{font-family:ControlDigits;src:local("Arial");unicode-range:U+0030-0039}
input,select,option,textarea{font-family:ControlDigits,Tajawal,Tahoma,Arial,sans-serif;font-variant-numeric:lining-nums tabular-nums}
input[type=number],input[type=date],input[type=month],input[type=time],input[type=datetime-local],input[type=week]{font-family:Arial,Tahoma,sans-serif;direction:ltr}
input[data-english-number]{font-family:Arial,Tahoma,sans-serif;direction:ltr;font-variant-numeric:lining-nums tabular-nums}
input::-webkit-datetime-edit{font-family:Arial,Tahoma,sans-serif;direction:ltr}
input[data-english-calendar]::-webkit-calendar-picker-indicator{display:none}
input[data-english-calendar]{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563a9' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 2v6m10-6v6M3 11h18'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:18px;padding-right:38px}
input[data-english-calendar]{font-family:Arial,Tajawal,sans-serif}input[data-english-calendar=month]{max-width:165px}
.english-calendar{width:min(380px,calc(100vw - 24px));padding:18px;max-height:calc(100dvh - 24px);overflow:auto;font-family:Arial,Tajawal,sans-serif}
.calendar-title,.calendar-selects,.calendar-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.calendar-title strong,.calendar-actions button,.calendar-apply{font-family:Tajawal,Arial,sans-serif}
.calendar-selects select{font-family:Arial,sans-serif;min-width:0;flex:1;padding:8px 4px}
.calendar-selects button{padding:8px}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.calendar-days span{font-size:11px;padding:8px 0}.calendar-days button{font-family:Arial,sans-serif;padding:10px 0}
.calendar-days [aria-current=date]{background:#2563a9;color:white}.english-calendar button:disabled{opacity:.35;cursor:default}
.calendar-actions{margin:16px 0 0}.calendar-apply{width:100%;margin:12px 0}
.active-funds-overview{margin-bottom:24px}.active-funds-overview>.panelhead{padding:0 0 16px}
.print-settings{width:100%;max-width:none;margin-inline:0}.print-settings fieldset{min-width:0}.user-password-toggle{display:flex;align-items:center;gap:8px;white-space:nowrap}.user-password-toggle input{width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:#2563a9}.user-controls{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.settings-organized{width:100%;max-width:none;margin-inline:0}.settings-organized fieldset{min-width:0;border:1px solid var(--line);border-radius:12px;margin:0 0 22px;padding:20px}.settings-organized legend{font-weight:700;padding:0 10px}
.settings-grid,.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-grid .field{margin-bottom:0}.backup-grid .settings{max-width:none;margin-bottom:22px}.backup-grid p{margin-bottom:20px}.settings-organized>p{margin-top:18px}
@media(max-width:760px){.settings-grid,.backup-grid{grid-template-columns:minmax(0,1fr)}.settings-organized fieldset{padding:14px}}

.property-actions{min-width:210px;max-width:260px;align-items:center;gap:6px!important}.property-actions button{white-space:nowrap}.property-more-popover{position:fixed;inset:auto;margin:0;width:225px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:8px;border:1px solid #dce6f2;border-radius:12px;background:#fff;color:#203756;box-shadow:0 12px 40px #102b5030;direction:rtl;font-family:Tajawal,Tahoma,Arial,sans-serif}.property-more-popover:popover-open{display:grid;gap:4px}.property-more-popover button{width:100%;text-align:right;padding:11px 12px;font-size:12px;border:0;border-radius:7px;background:transparent}.property-more-popover button:not(:disabled):hover{background:#edf4ff}.property-more-popover button:disabled{opacity:.45;cursor:not-allowed}.property-more-popover .danger{color:#b65a48;border-top:1px solid #edf1f7;border-radius:0 0 7px 7px}.property-actions button:disabled{opacity:.45;cursor:not-allowed}@media print{.property-more-popover{display:none!important}}

.sms-panel{padding:24px;margin-bottom:20px;min-width:0}.sms-panel h2{margin-bottom:18px}.sms-panel p{line-height:1.9;margin-bottom:12px}.sms-panel label{display:grid;gap:8px;margin:0 0 18px}.sms-panel textarea{resize:vertical;width:100%;min-height:70px;box-sizing:border-box}.sms-panel select[multiple]{min-height:150px}.sms-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.sms-compose-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:24px;align-items:start}.sms-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.sms-template-body,.sms-message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;min-width:180px}.sms-block{display:block;margin-top:7px}.sms-estimate{direction:ltr;text-align:left;background:#f0f5fc;border-radius:10px;padding:16px;max-height:200px;overflow:auto;font-size:12px}.sms-rules{border-top:1px solid var(--line);padding-top:20px}.sms-rule{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,1fr);gap:18px;margin:0 0 20px;align-items:center}.sms-rule label.check-filter,.sms-panel label.check-filter{display:flex;align-items:center;gap:10px}.sms-rule label{margin:0}.sms-stats .stat-value{font-size:25px;display:block;margin:14px 0}.sms-stats .stat-note{line-height:1.7}.sms-panel .tablewrap{margin-inline:-5px}.sms-template-grid h2{font-size:19px}@media(max-width:900px){.sms-compose-grid,.sms-template-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){.sms-rule{grid-template-columns:minmax(0,1fr)}.sms-panel{padding:18px}.sms-tabs button{flex:1;white-space:normal;min-width:40%}}
.sms-panel textarea,#fields textarea{border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:12px 14px;font:inherit;line-height:1.8;box-sizing:border-box;width:100%}.sms-panel textarea:focus,#fields textarea:focus{outline:2px solid #b9d5fa;border-color:#6d9bd8}
.sms-history-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.sms-history-toolbar #smsHistoryFilter{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0;flex:1;min-width:0;max-width:none}.sms-history-toolbar #smsHistoryFilter input{flex:1;min-width:180px}.sms-history-toolbar #smsHistoryFilter select{width:auto;min-width:160px;margin:0}.sms-history-toolbar input,.sms-history-toolbar select,.sms-history-toolbar button{height:44px;margin:0;white-space:nowrap}.sms-history-toolbar button{flex-shrink:0;padding:10px 16px;font-size:13px}@media(max-width:600px){.sms-history-toolbar #smsHistoryFilter{flex-basis:100%}.sms-history-toolbar #smsHistoryFilter input{flex-basis:100%}.sms-history-toolbar #smsHistoryFilter select{flex:1;min-width:0}}
