
:root{--blue:#07579d;--blue2:#0b6db7;--light:#eaf5ff;--ink:#12304a;--muted:#6b7c8e;--red:#d92d20;--green:#147d46;--border:#cfe0ef;--card:#fff;--bg:#f4f8fc}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink)}
button,input,select,textarea{font:inherit}button{cursor:pointer}
.app{display:flex;min-height:100vh}.sidebar{width:245px;background:#063f74;color:#fff;padding:18px 12px;position:fixed;inset:0 auto 0 0;overflow:auto}.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 18px;border-bottom:1px solid #ffffff22}.brand img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:10px}.brand b{font-size:15px;line-height:1.15}.brand small{display:block;opacity:.75;margin-top:3px}.nav{margin-top:15px}.nav button{width:100%;border:0;background:transparent;color:#fff;text-align:left;padding:12px 13px;border-radius:9px;margin:2px 0}.nav button:hover,.nav button.active{background:#ffffff18}.main{margin-left:245px;width:calc(100% - 245px);padding:20px}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.top h1{margin:0;font-size:25px}.pill{background:#e7f2fc;color:var(--blue);padding:7px 10px;border-radius:999px;font-weight:700;font-size:12px} .notif-badge{display:inline-flex;min-width:20px;height:20px;padding:0 6px;align-items:center;justify-content:center;border-radius:999px;background:var(--red);color:#fff;font-size:11px;font-weight:800;margin-left:3px}.notif-list{display:grid;gap:9px;max-height:60vh;overflow:auto}.notif{border:1px solid var(--border);border-radius:12px;padding:12px;background:#fff}.notif.unread{border-left:4px solid var(--blue);background:#f5faff}.notif-title{font-weight:800}.notif-meta{font-size:11px;color:var(--muted);margin-top:4px}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px;box-shadow:0 3px 12px #12304a0a}.metric{font-size:27px;font-weight:800;margin-top:6px}.label{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.good{color:var(--green)}.bad{color:var(--red)}
.section{margin-top:16px}.section h2{font-size:17px;margin:0 0 10px}.toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:12px}.btn{border:0;border-radius:9px;padding:10px 13px;font-weight:750}.primary{background:var(--blue);color:#fff}.secondary{background:#e9f2fa;color:var(--blue)}.danger{background:#feeceb;color:var(--red)}.input,.select,.textarea{border:1px solid var(--border);border-radius:9px;padding:10px 11px;background:#fff;min-width:150px}.textarea{min-height:90px;width:100%}
.tablewrap{overflow:auto;border:1px solid var(--border);border-radius:12px;background:#fff}.table{width:100%;border-collapse:collapse;min-width:760px}.table th{background:#07579d;color:#fff;text-align:left;font-size:12px;padding:10px}.table td{padding:9px;border-bottom:1px solid #e4edf4;font-size:13px}.table tr:nth-child(even){background:#f8fbfe}.status{font-size:11px;font-weight:800;padding:4px 7px;border-radius:999px;display:inline-block}.paid{background:#e4f6ec;color:var(--green)}.unpaid{background:#feeceb;color:var(--red)}.partial{background:#fff4d6;color:#8a5b00}
.logo{max-width:240px;height:65px;object-fit:contain;background:#fff;border-radius:8px}
.modal{position:fixed;inset:0;background:#0008;display:none;align-items:center;justify-content:center;padding:18px;z-index:20}.modal.open{display:flex}.modalbox{background:#fff;border-radius:16px;width:min(650px,100%);max-height:92vh;overflow:auto;padding:18px}.modalhead{display:flex;justify-content:space-between;align-items:center}.modalhead h3{margin:0}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:14px}.field label{display:block;font-size:12px;font-weight:750;margin-bottom:5px}.field.full{grid-column:1/-1}.empty{padding:30px;text-align:center;color:var(--muted)}
.receipt{background:#fff;padding:28px;border:1px solid #ddd;max-width:620px;margin:auto}.receipt h2{text-align:center;color:var(--blue)}.receipt .rhead{text-align:center}.receipt table{width:100%;border-collapse:collapse;margin-top:20px}.receipt td{padding:9px;border-bottom:1px solid #ddd}.receipt .total{font-size:20px;font-weight:800}.small{font-size:12px;color:var(--muted)}
@media(max-width:900px){.sidebar{width:70px}.brand div,.nav span{display:none}.brand{justify-content:center}.nav button{text-align:center}.main{margin-left:70px;width:calc(100% - 70px)}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.main{padding:12px}.grid{grid-template-columns:1fr 1fr}.top h1{font-size:20px}.formgrid{grid-template-columns:1fr}.field.full{grid-column:auto}.logo{max-width:180px}}
@media print{.sidebar,.top,.toolbar,.no-print{display:none!important}.main{margin:0;width:100%;padding:0}.receipt{border:0}}

/* Production dashboard upgrade */
.top{position:sticky;top:0;z-index:20;background:rgba(244,248,252,.94);backdrop-filter:blur(10px);padding:8px 0 14px}.dash-hero{background:linear-gradient(135deg,#063f74 0%,#0b6db7 60%,#16a6a0 100%);color:#fff;border-radius:18px;padding:24px;box-shadow:0 16px 40px rgba(6,63,116,.18);margin-bottom:18px}.dash-hero h2{margin:0 0 6px;font-size:26px}.dash-hero p{margin:0;opacity:.88}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.kpi{background:#fff;border:1px solid var(--border);border-radius:15px;padding:17px;box-shadow:0 8px 24px rgba(25,60,90,.06)}.kpi .icon{font-size:22px}.kpi .value{font-size:25px;font-weight:800;margin-top:8px;color:var(--ink)}.kpi .sub{font-size:12px;color:var(--muted);margin-top:4px}
/* Requested: keep descriptions beneath home-page totals visible. */
.kpi .sub{display:block!important;visibility:visible!important;opacity:1!important;line-height:1.45;color:#53657a!important}.split-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:16px}.progress{height:9px;background:#e8eef5;border-radius:99px;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,#0b6db7,#16a6a0);border-radius:99px}.cloud-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef6ff;color:#07579d}.cloud-badge.offline{background:#fff4e5;color:#9a5b00}.cloud-badge.live{background:#eaf8f0;color:#147d46}.trend{height:150px;display:flex;align-items:end;gap:9px;padding:14px 4px 4px}.bar{flex:1;min-width:16px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#0b6db7,#65b8e8);position:relative}.bar span{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);font-size:10px;color:var(--muted)}.quick-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.quick-actions button{padding:13px;border:1px solid var(--border);background:#fff;border-radius:12px;text-align:left;color:var(--ink)}.quick-actions button:hover{border-color:#8bbde4;background:#f7fbff}@media(max-width:1050px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.split-grid{grid-template-columns:1fr}}@media(max-width:700px){.sidebar{width:78px}.sidebar .brand b,.sidebar .brand small,.sidebar .nav button span{display:none}.main{margin-left:78px;width:calc(100% - 78px);padding:12px}.top{position:relative}.kpi-grid{grid-template-columns:1fr}.dash-hero h2{font-size:22px}}

/* IWDA Executive UI enhancement */
:root{--navy:#062f57;--blue3:#0a67ad;--cyan:#12a8d8;--soft:#f7fbff;--shadow:0 12px 34px rgba(7,55,95,.09)}
body{background:linear-gradient(180deg,#f5f9fd 0%,#eef5fb 100%)}
.main{background:transparent}.top{backdrop-filter:blur(12px);box-shadow:0 1px 0 rgba(7,55,95,.06)}
.dash-hero{position:relative;overflow:hidden;border-radius:22px;padding:25px 27px;background:linear-gradient(135deg,#063f74 0%,#0878bd 62%,#0ca6c9 100%);color:#fff;box-shadow:0 18px 45px rgba(4,68,116,.20);margin-bottom:16px}
.dash-hero:before,.dash-hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none}.dash-hero:before{width:250px;height:250px;right:-80px;top:-130px}.dash-hero:after{width:180px;height:180px;right:110px;bottom:-125px}
.dash-hero h2{font-size:29px;letter-spacing:-.6px;margin:6px 0 7px}.dash-hero p{max-width:690px;color:#dcefff;margin:0;line-height:1.6}.dash-hero .hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.hero-chip{padding:7px 10px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);border-radius:999px;font-size:12px}
.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi{position:relative;overflow:hidden;border:1px solid #dce9f4;box-shadow:var(--shadow);border-radius:18px;padding:18px 18px 17px;background:rgba(255,255,255,.94);min-height:128px}.kpi:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-52px;top:-48px;background:#eef7ff}.kpi .icon{position:relative;z-index:1;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#eaf5ff;font-size:20px;margin-bottom:12px}.kpi .value{font-size:24px;line-height:1.15;font-weight:800;letter-spacing:-.3px}.kpi .sub{margin-top:6px;color:#708397;font-size:12px;font-weight:600}
.dash-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:16px;margin-top:16px}.dash-card{background:#fff;border:1px solid #dce8f2;border-radius:18px;box-shadow:var(--shadow);padding:20px}.dash-card h3{margin:0;font-size:16px}.dash-card .card-sub{font-size:12px;color:#73869a;margin-top:4px}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.section-title .badge{font-size:11px;font-weight:700;border-radius:999px;padding:6px 9px;background:#edf7ff;color:#0967a7}.progress-xl{height:12px;background:#e8f1f8;border-radius:99px;overflow:hidden}.progress-xl span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#0878bd,#10a8c9)}.progress-labels{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:#708397}.month-chart{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;height:180px;align-items:end;padding:8px 2px 0}.month-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.month-bar-wrap{height:140px;width:100%;display:flex;align-items:flex-end;justify-content:center}.month-bar{width:min(34px,62%);min-height:7px;border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,#0ca8cf,#0868ad);box-shadow:0 6px 14px rgba(8,104,173,.16);transition:height .35s ease}.month-label{font-size:11px;color:#718397}.month-value{font-size:10px;font-weight:700;color:#2b4d68;min-height:12px}.health-ring{--rate:0%;width:178px;height:178px;border-radius:50%;display:grid;place-items:center;position:relative;margin:16px auto 10px;background:conic-gradient(from -90deg,#075985 0%,#087fbd var(--rate),#e8f0f7 var(--rate) 100%);box-shadow:0 16px 38px rgba(8,104,173,.20),0 4px 12px rgba(8,55,95,.10),inset 0 0 0 1px rgba(255,255,255,.92);transition:background .55s ease,transform .3s ease,box-shadow .3s ease}.health-ring:hover{transform:translateY(-2px) scale(1.015);box-shadow:0 20px 44px rgba(8,104,173,.25),0 6px 16px rgba(8,55,95,.12),inset 0 0 0 1px rgba(255,255,255,.96)}.health-ring:before{content:"";position:absolute;inset:15px;border-radius:50%;background:radial-gradient(circle at 32% 24%,#fff 0%,#fbfdff 46%,#edf5fb 100%);box-shadow:inset 0 3px 12px rgba(16,58,91,.075),0 2px 10px rgba(16,58,91,.08)}.health-ring:after{content:"";position:absolute;inset:6px;border-radius:50%;border:1px solid rgba(255,255,255,.9);box-shadow:inset 0 0 0 1px rgba(7,91,145,.06);pointer-events:none}.health-ring strong{grid-area:1/1;position:relative;z-index:1;font-size:42px;line-height:1;font-weight:900;letter-spacing:-1.8px;color:#103e62;text-shadow:0 1px 0 #fff}.health-ring small{grid-area:1/1;position:relative;z-index:1;margin-top:61px;color:#668198;font-size:9px;font-weight:900;letter-spacing:1.35px;text-transform:uppercase}.health-ring-caption{display:flex;justify-content:center;align-items:center;gap:5px;flex-wrap:wrap;margin:0 auto 17px;color:#718397;font-size:11px}.health-ring-caption b{color:#173f5f;font-size:12px;font-weight:800}.health-ring-caption span{color:#98a8b6}.health-list{display:grid;gap:9px}.health-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:9px 10px;border-radius:11px;background:#f7fafc}.health-row b{font-size:13px}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:6px;background:#0b78bb}.dot.warn{background:#e39b1c}.dot.bad{background:#d92d20}.dot.good{background:#15905a}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-actions button{min-height:88px;border:1px solid #dbe8f3;background:#fbfdff;border-radius:14px;padding:13px;text-align:left;transition:.18s ease;box-shadow:0 3px 12px rgba(7,55,95,.04)}.quick-actions button:hover{transform:translateY(-2px);border-color:#9fcce8;box-shadow:0 8px 20px rgba(7,55,95,.09)}.quick-actions b{color:#123e60}.activity-list{display:grid;gap:8px}.activity{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:12px;background:#f8fbfd}.activity-icon{width:34px;height:34px;border-radius:10px;background:#eaf5ff;display:grid;place-items:center}.activity-main{font-size:12px}.activity-main b{font-size:12px}.activity-time{font-size:10px;color:#8293a4}.activity-amt{font-weight:800;font-size:12px}.dashboard-table .table{margin-top:0}.dashboard-table .table tbody tr:hover{background:#f7fbfe}
@media(max-width:980px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr}}
@media(max-width:620px){.kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.kpi{min-height:112px;padding:14px}.kpi .value{font-size:18px}.kpi .icon{width:36px;height:36px;font-size:17px}.dash-hero{padding:20px;border-radius:17px}.dash-hero h2{font-size:23px}.dash-card{padding:15px}.month-chart{gap:5px}.month-bar{width:70%}.quick-actions{grid-template-columns:1fr}.top{padding:10px}.top h1{font-size:20px}}

/* IWDA secure sign-in landing and official green/gold receipt */
:root{--iwda-green:#064b2d;--iwda-green2:#087044;--iwda-gold:#e6a900}
body.auth-required{overflow:hidden}
body.auth-required .app{visibility:hidden;pointer-events:none}
body.auth-required #modal{display:flex!important;z-index:9999;background:linear-gradient(135deg,rgba(2,35,21,.96),rgba(4,79,45,.94));backdrop-filter:blur(8px);padding:18px}
body.auth-required #modal .modalbox{width:min(480px,100%);max-height:95vh;border:1px solid #d7e6dc;border-radius:24px;padding:28px;box-shadow:0 25px 80px #001b0e66}
body.auth-required #modal .modalhead{justify-content:center;border-bottom:1px solid #e8eee9;padding-bottom:16px}
body.auth-required #modal .modalhead h3{font-size:23px;color:var(--iwda-green);text-align:center}
body.auth-required #modal .modalbox:before{content:"ILATU WELFARE AND DEVELOPMENT ASSOCIATION";display:block;text-align:center;font-size:12px;letter-spacing:.08em;font-weight:900;color:var(--iwda-green);margin-bottom:10px}
body.auth-required #modal .btn.primary{background:linear-gradient(135deg,#064b2d,#087044);padding:13px;border-radius:11px}
body.auth-required #modal .btn.secondary{border:1px solid #d5e5da;background:#f3f8f4;color:#064b2d}
.receipt{max-width:850px!important;border:4px solid #064b2d!important;border-radius:16px!important;padding:24px!important;color:#082d1d!important;font-family:Georgia,serif!important}
.receipt h2{background:#064b2d;color:#fff!important;padding:14px;border-radius:5px;letter-spacing:1px}
.receipt .rhead{border-bottom:3px solid #e6a900;padding-bottom:12px}
.receipt table{margin-top:14px!important}
.receipt td{border-bottom:1px solid #b9d2c4!important}
.receipt .total{color:#064b2d}
@media(max-width:600px){body.auth-required #modal .modalbox{padding:20px}.receipt{padding:12px!important}}


/* IWDA refreshed sign-in and receipt branding */
.iwda-auth-brand{display:flex;align-items:center;gap:14px;padding:14px 16px;background:linear-gradient(135deg,#092f83,#174da8);color:#fff;border-radius:14px;margin-bottom:16px}.iwda-auth-brand img{width:76px;height:76px;object-fit:contain;background:#fff;border-radius:12px;padding:5px}.iwda-auth-brand h2{margin:0;font-size:20px;line-height:1.15}.iwda-auth-brand p{margin:5px 0 0;font-size:12px;opacity:.92}.receipt{max-width:900px!important;border:5px solid #075332!important;border-radius:18px!important;padding:0!important;overflow:hidden;color:#082f20!important;background:#fff!important;font-family:Georgia,serif!important}.receipt-brand{display:grid;grid-template-columns:190px 1fr 155px;align-items:center;gap:14px;padding:16px 18px;border-bottom:7px solid #075332}.receipt-brand .brand-logo{width:100%;max-height:145px;object-fit:contain}.receipt-brand .brand-name{text-align:center;color:#075332;font-family:Arial,sans-serif;font-weight:900;font-size:clamp(18px,3vw,31px);line-height:1.08}.receipt-brand .tagline{font-style:italic;font-size:15px;margin-top:12px;color:#173b2c}.receipt-no{border:2px solid #075332;border-radius:10px;text-align:center;overflow:hidden;font-family:Arial,sans-serif}.receipt-no b{display:block;background:#075332;color:white;padding:9px 4px;font-size:14px}.receipt-no span{display:block;padding:10px 3px;font-size:28px;font-weight:900;color:#075332}.receipt-title{background:#075332;color:#fff;text-align:center;padding:13px;font:bold 30px Arial,sans-serif;letter-spacing:1px}.receipt-details{padding:20px 28px}.receipt-line{display:grid;grid-template-columns:190px 1fr;gap:12px;padding:13px 0;border-bottom:1px solid #7a9f8c;font-size:19px;align-items:center}.receipt-line strong{font-family:Arial,sans-serif;font-size:17px}.receipt-line .value{font-weight:bold;font-size:22px;overflow-wrap:anywhere}.receipt-thanks{text-align:center;font-size:16px;font-style:italic;margin:20px 10px;color:#153c2a}.receipt-footer{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;align-items:end;padding:0 24px 20px;text-align:center;font-family:Arial,sans-serif;color:#075332}.receipt-footer .thank{font-size:15px;font-weight:bold;text-align:left}.receipt-footer .sign{border-top:1px solid #075332;padding-top:8px;font-size:14px}.receipt-footer .org{font-size:13px;font-weight:bold}.receipt-rule{height:3px;background:#e6ad08;margin:0 28px 15px}@media(max-width:650px){.receipt-brand{grid-template-columns:90px 1fr;gap:8px;padding:10px}.receipt-brand .brand-logo{max-height:90px}.receipt-no{grid-column:1/-1;display:flex;justify-content:center;align-items:center}.receipt-no b,.receipt-no span{padding:6px 12px}.receipt-line{grid-template-columns:125px 1fr;font-size:15px;padding:10px 0}.receipt-line strong{font-size:14px}.receipt-line .value{font-size:17px}.receipt-details{padding:12px}.receipt-footer{grid-template-columns:1fr 1fr}.receipt-footer .thank{grid-column:1/-1}.receipt-title{font-size:23px}}@media print{body *{visibility:hidden!important}#receiptPrint,#receiptPrint *{visibility:visible!important}#receiptPrint{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;box-shadow:none!important;margin:0!important;border-radius:0!important}.modal,.modalbox{position:static!important;display:block!important;background:#fff!important;box-shadow:none!important}.no-print,.toolbar{display:none!important}@page{size:A4 portrait;margin:8mm}}


/* IWDA modern sign-in screen refresh */
body.auth-required #modal{
  background:radial-gradient(ellipse at 15% 10%,rgba(25,145,91,.42),transparent 42%),
             radial-gradient(ellipse at 90% 90%,rgba(218,170,48,.18),transparent 38%),
             linear-gradient(135deg,#041f18 0%,#063f2c 48%,#082b25 100%)!important;
  padding:clamp(12px,3vw,28px)!important;
}
body.auth-required #modal .modalbox{
  width:min(470px,100%)!important;max-height:94vh!important;overflow:auto;
  padding:clamp(18px,4vw,30px)!important;border:1px solid rgba(255,255,255,.78)!important;
  border-radius:26px!important;background:rgba(255,255,255,.98)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.35),0 0 0 6px rgba(255,255,255,.06)!important;
}
body.auth-required #modal .modalhead{border-bottom:0!important;padding:0 0 14px!important;justify-content:center!important}
body.auth-required #modal .modalhead h3{font-size:clamp(22px,5vw,27px)!important;font-weight:850;letter-spacing:-.5px;color:#073f2c!important}
body.auth-required #modal .modalbox:before{content:none!important}
body.auth-required .iwda-auth-brand{
  display:flex;align-items:center;gap:15px;padding:17px!important;margin:0 0 17px!important;
  border-radius:18px!important;background:linear-gradient(130deg,#063b2a,#087447 72%,#b38a25)!important;
  box-shadow:0 12px 26px rgba(6,63,42,.16);color:#fff!important;
}
body.auth-required .iwda-auth-brand img{flex:0 0 76px;width:76px;height:76px;border-radius:15px!important;background:#fff;padding:5px;box-shadow:0 3px 12px #001d1333}
body.auth-required .iwda-auth-brand h2{color:#fff!important;font-size:23px!important;font-weight:900;letter-spacing:.3px}
body.auth-required .iwda-auth-brand p{color:#f0fff6!important;font-size:12px!important;line-height:1.45;margin-top:5px!important}
body.auth-required .iwda-auth-brand .iwda-auth-motto{display:inline-block;margin-top:9px!important;padding:6px 9px;border:1px solid rgba(255,255,255,.42);border-radius:999px;color:#fff5cc!important;font-size:11px!important;font-weight:900!important;letter-spacing:1.25px!important}
body.auth-required #modal .small{line-height:1.55}
body.auth-required #modal .field label{font-size:12px;color:#234638;font-weight:800;margin-bottom:7px}
body.auth-required #modal input.input{min-height:48px;padding:13px 14px!important;border:1px solid #d4e3da!important;border-radius:12px!important;background:#fbfdfb!important;color:#17382a!important;box-shadow:inset 0 1px 2px #0b4b2c08;outline:none}
body.auth-required #modal input.input:focus{border-color:#168052!important;box-shadow:0 0 0 4px rgba(22,128,82,.12)!important;background:#fff!important}
body.auth-required #modal .btn.primary{min-height:49px;background:linear-gradient(135deg,#064b2d,#0b8050)!important;border-radius:12px!important;font-weight:850;letter-spacing:.2px;box-shadow:0 8px 18px rgba(6,75,45,.18);transition:transform .15s ease,box-shadow .15s ease}
body.auth-required #modal .btn.primary:hover{transform:translateY(-1px);box-shadow:0 11px 22px rgba(6,75,45,.24)}
body.auth-required #modal .btn.secondary{min-height:42px;border:1px solid #d5e5da!important;background:#f5faf6!important;color:#075333!important;border-radius:11px!important}
body.auth-required #modal .toolbar{gap:8px}
body.auth-required #modal #authMessage{padding:0 2px;color:#07579d;font-size:13px;line-height:1.5}
@media(max-width:480px){body.auth-required #modal{align-items:center!important;padding:10px!important}body.auth-required #modal .modalbox{border-radius:21px!important;padding:17px!important}body.auth-required .iwda-auth-brand{gap:11px;padding:13px!important}body.auth-required .iwda-auth-brand img{width:64px;height:64px;flex-basis:64px}body.auth-required .iwda-auth-brand h2{font-size:20px!important}body.auth-required .iwda-auth-brand p{font-size:11px!important}body.auth-required #modal .toolbar{display:grid;grid-template-columns:1fr 1fr}body.auth-required #modal .toolbar .btn{font-size:12px;padding:10px 7px}}


/* IWDA PREMIUM FULL-SCREEN SIGN-IN — final override */
:root{
  --iwda-green:#063d27;
  --iwda-green2:#08734a;
  --iwda-gold:#e9b52f;
  --iwda-cream:#fffdf7;
}
body.auth-required{min-height:100vh;overflow:hidden;background:#032b1c}
body.auth-required .app{visibility:hidden!important;pointer-events:none!important}
body.auth-required #modal{
  position:fixed!important;inset:0!important;min-height:100vh;width:100%;
  display:flex!important;align-items:center!important;justify-content:center!important;
  z-index:99999!important;overflow-y:auto!important;padding:clamp(14px,3vw,36px)!important;
  background:
    radial-gradient(ellipse at 14% 16%,rgba(230,181,47,.24),transparent 32%),
    radial-gradient(ellipse at 88% 82%,rgba(29,151,98,.34),transparent 35%),
    linear-gradient(135deg,rgba(2,28,19,.97),rgba(4,66,42,.94) 52%,rgba(1,35,24,.98))!important;
  backdrop-filter:blur(10px);
}
body.auth-required #modal:before{
  content:"";position:fixed;inset:0;pointer-events:none;opacity:.2;
  background-image:linear-gradient(135deg,transparent 48%,rgba(255,255,255,.12) 49%,transparent 50%),linear-gradient(45deg,transparent 48%,rgba(255,255,255,.08) 49%,transparent 50%);
  background-size:72px 72px;
}
body.auth-required #modal .modalbox{
  position:relative;z-index:1;width:min(460px,100%)!important;max-height:calc(100dvh - 28px)!important;
  overflow-y:auto!important;padding:clamp(20px,4vw,34px)!important;
  border:1px solid rgba(255,255,255,.78)!important;border-radius:26px!important;
  background:linear-gradient(160deg,#fff 0%,#fffdf7 100%)!important;
  box-shadow:0 32px 90px rgba(0,0,0,.42),0 0 0 1px rgba(233,181,47,.2)!important;
}
body.auth-required #modal .modalbox:before{
  content:"ILATU WELFARE AND DEVELOPMENT ASSOCIATION";display:block;text-align:center;
  margin:0 0 16px;color:var(--iwda-green);font-size:10px;line-height:1.5;
  font-weight:900;letter-spacing:.14em;
}
body.auth-required #modal .iwda-auth-brand{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:16px!important;
  margin:0 0 18px!important;padding:18px!important;border-radius:18px!important;
  color:#fff!important;text-align:left!important;
  background:linear-gradient(135deg,#052f20 0%,#08633f 68%,#0b8050 100%)!important;
  border:1px solid rgba(233,181,47,.55)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
}
body.auth-required #modal .iwda-auth-brand img{
  width:82px!important;height:82px!important;flex:0 0 82px!important;object-fit:contain!important;
  padding:5px!important;border-radius:15px!important;background:#fff!important;
  border:2px solid var(--iwda-gold)!important;box-shadow:0 5px 18px rgba(0,0,0,.2)!important;
}
body.auth-required #modal .iwda-auth-brand h2{margin:0!important;color:#fff!important;font-size:25px!important;font-weight:950!important;letter-spacing:.06em!important;line-height:1.1!important}
body.auth-required #modal .iwda-auth-brand p{margin:6px 0 0!important;color:#f6f8f5!important;font-size:12px!important;line-height:1.35!important;opacity:1!important}
body.auth-required #modal .iwda-auth-brand .iwda-auth-motto{
  display:inline-block!important;margin-top:11px!important;padding:7px 11px!important;
  color:#fff4bf!important;background:rgba(0,0,0,.2)!important;
  border:1px solid var(--iwda-gold)!important;border-radius:8px!important;
  font-size:13px!important;font-weight:1000!important;letter-spacing:1.8px!important;
  text-transform:uppercase!important;text-shadow:0 1px 1px rgba(0,0,0,.35)!important;
}
body.auth-required #modal .modalhead{justify-content:center!important;padding:0 0 13px!important;margin-bottom:14px!important;border-bottom:1px solid #e5ece7!important}
body.auth-required #modal .modalhead h3{color:var(--iwda-green)!important;text-align:center!important;font-size:25px!important;font-weight:900!important;letter-spacing:-.03em!important}
body.auth-required #modal .small{color:#5a6d62!important;font-size:13px!important;line-height:1.6!important}
body.auth-required #modal .field label{display:block!important;margin-bottom:7px!important;color:#203d30!important;font-size:12px!important;font-weight:850!important}
body.auth-required #modal input.input{width:100%!important;min-height:50px!important;padding:13px 15px!important;border:1px solid #d4e2d8!important;border-radius:12px!important;background:#fbfdfb!important;color:#17382a!important;box-shadow:inset 0 1px 2px rgba(11,75,44,.04)!important;outline:none!important}
body.auth-required #modal input.input:focus{border-color:#128052!important;box-shadow:0 0 0 4px rgba(18,128,82,.13)!important;background:#fff!important}
body.auth-required #modal .btn.primary{width:100%!important;min-height:51px!important;padding:13px 16px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#06452e,#0a8050)!important;color:#fff!important;font-weight:900!important;letter-spacing:.02em!important;box-shadow:0 9px 22px rgba(6,75,45,.22)!important;transition:transform .18s ease,box-shadow .18s ease!important}
body.auth-required #modal .btn.primary:hover{transform:translateY(-1px);box-shadow:0 13px 26px rgba(6,75,45,.28)!important}
body.auth-required #modal .btn.secondary{min-height:43px!important;border:1px solid #d3e3d8!important;border-radius:11px!important;background:#f3f8f4!important;color:#075333!important;font-weight:800!important}
body.auth-required #modal .toolbar{gap:9px!important}
body.auth-required #modal #authMessage{padding:8px 10px!important;border-radius:9px!important;background:#f1f7f3!important;color:#075333!important;font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere}
@media(max-width:520px){
 body.auth-required #modal{padding:12px!important;align-items:center!important}
 body.auth-required #modal .modalbox{width:100%!important;max-height:calc(100dvh - 24px)!important;padding:18px!important;border-radius:21px!important}
 body.auth-required #modal .iwda-auth-brand{gap:12px!important;padding:14px!important}
 body.auth-required #modal .iwda-auth-brand img{width:66px!important;height:66px!important;flex-basis:66px!important}
 body.auth-required #modal .iwda-auth-brand h2{font-size:22px!important}
 body.auth-required #modal .iwda-auth-brand p{font-size:11px!important}
 body.auth-required #modal .iwda-auth-brand .iwda-auth-motto{font-size:11px!important;letter-spacing:1.2px!important}
 body.auth-required #modal .modalhead h3{font-size:22px!important}
}
@media(prefers-reduced-motion:reduce){body.auth-required #modal .btn.primary{transition:none!important}}


/* IWDA member identity box — isolated dashboard-only addition */
.iwda-member-identity{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 18px;padding:20px 22px;border:1px solid #d7e6f3;border-radius:18px;background:linear-gradient(120deg,#ffffff 0%,#eef7ff 58%,#f7fcff 100%);box-shadow:0 12px 28px rgba(7,55,95,.10);position:relative;overflow:hidden}
.iwda-member-identity:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,#e9b52f,#08734a)}
.iwda-member-identity .identity-label{font-size:11px;font-weight:900;letter-spacing:1.6px;color:#547087;text-transform:uppercase;margin-bottom:7px}
.iwda-member-identity .identity-name{font-size:clamp(19px,3vw,27px);font-weight:950;letter-spacing:.5px;line-height:1.2;text-transform:uppercase;color:#063f74;overflow-wrap:anywhere}
.iwda-member-identity .identity-number-wrap{padding:11px 16px;border-radius:13px;background:linear-gradient(135deg,#063f74,#0878bd);color:#fff;box-shadow:0 7px 16px rgba(6,63,116,.18);min-width:130px;text-align:center}
.iwda-member-identity .identity-number-label{font-size:10px;font-weight:850;letter-spacing:1.3px;text-transform:uppercase;opacity:.85}
.iwda-member-identity .identity-number{font-size:23px;font-weight:950;letter-spacing:1px;margin-top:3px;overflow-wrap:anywhere}
.iwda-member-identity .identity-note{font-size:12px;color:#718397;margin-top:5px}
@media(max-width:520px){.iwda-member-identity{padding:17px;gap:13px}.iwda-member-identity .identity-number-wrap{width:100%;text-align:left}.iwda-member-identity .identity-number{font-size:21px}}


/* IWDA announcements: preserve stored line breaks and improve paragraph readability */
.announcement-message{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  line-height:1.75;
  margin:12px 0 18px;
  color:var(--ink);
  font-size:14px;
}



/* IWDA CONNECT — premium announcements dashboard (scoped to this page only) */
.announcements-dashboard{display:grid;gap:20px;min-width:0}
.announcements-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:clamp(22px,4vw,34px);border-radius:24px;color:#fff;background:linear-gradient(125deg,#062e55 0%,#075b8f 58%,#0b7890 100%);box-shadow:0 14px 34px rgba(5,48,82,.16)}
.announcements-hero:before,.announcements-hero:after{content:"";position:absolute;z-index:-1;border:1px solid rgba(255,255,255,.13);border-radius:50%;pointer-events:none}
.announcements-hero:before{width:250px;height:250px;right:-75px;top:-120px}
.announcements-hero:after{width:180px;height:180px;right:38px;bottom:-130px}
.announcements-hero-copy{min-width:0}
.announcements-eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#d4f4ff;font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}
.announcements-eyebrow-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#76e3d0;box-shadow:0 0 0 4px rgba(118,227,208,.14)}
.announcements-hero h2{margin:0;color:#fff;font-size:clamp(25px,3.4vw,35px);line-height:1.15;letter-spacing:-.7px}
.announcements-hero p{max-width:580px;margin:10px 0 0;color:rgba(255,255,255,.83);font-size:14px;line-height:1.7}
.announcements-hero-mark{display:flex;flex:0 0 76px;width:76px;height:76px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.28);border-radius:23px;background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.15);font-size:35px}
.announcements-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.announcements-count{color:var(--muted,#64748b);font-size:13px;font-weight:600}
.announcements-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
.announcement-premium-card{position:relative;overflow:hidden;min-width:0;padding:clamp(18px,3vw,26px);border:1px solid var(--line,#e2e8f0);border-radius:19px;background:var(--card,#fff);box-shadow:0 5px 18px rgba(15,23,42,.045);transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}
.announcement-premium-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#0e7490,#2563eb)}
.announcement-premium-card:hover{border-color:rgba(14,116,144,.28);box-shadow:0 12px 28px rgba(15,23,42,.08);transform:translateY(-1px)}
.announcement-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.announcement-official-tag{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #d7edf4;border-radius:999px;background:#effaff;color:#075985;font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.announcement-official-tag span{width:6px;height:6px;border-radius:50%;background:#0e7490}
.announcement-date{display:inline-flex;align-items:center;gap:6px;color:var(--muted,#64748b);font-size:12px;font-weight:600}
.announcement-premium-card h3{margin:0;color:var(--ink,#0f172a);font-size:clamp(18px,2.2vw,22px);font-weight:800;line-height:1.4;letter-spacing:-.25px;overflow-wrap:anywhere}
.announcement-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;margin:14px 0 4px;color:var(--ink,#334155);font-size:14px}
.announcement-card-actions{display:flex;justify-content:flex-end;align-items:center;margin-top:18px;padding-top:15px;border-top:1px solid var(--line,#e2e8f0)}
.announcements-empty{padding:36px 22px;border:1px dashed var(--line,#cbd5e1);border-radius:19px;background:var(--card,#fff);text-align:center}
.announcements-empty-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:18px;background:#eff6ff;color:#1d4ed8;font-size:27px}
.announcements-empty h3{margin:0 0 7px;color:var(--ink,#0f172a);font-size:18px}
.announcements-empty p{max-width:420px;margin:0 auto;color:var(--muted,#64748b);font-size:13px;line-height:1.7}
@media(max-width:560px){.announcements-hero{align-items:flex-start;padding:22px 19px;border-radius:19px}.announcements-hero-mark{width:49px;height:49px;flex-basis:49px;border-radius:15px;font-size:24px}.announcements-hero p{font-size:13px}.announcement-premium-card{border-radius:16px}.announcement-premium-card:hover{transform:none}.announcement-card-meta{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.announcement-premium-card{transition:none}}


/* IWDA Settings page — visual-only enhancement; existing control IDs/actions preserved. */
.iwda-settings-page{display:grid;gap:18px;max-width:1180px;margin:0 auto;color:var(--ink)}
.iwda-settings-hero{position:relative;overflow:hidden;border-radius:23px;padding:clamp(20px,3vw,30px);color:#fff;background:linear-gradient(125deg,#063f74 0%,#0878bd 58%,#0c9fa9 100%);box-shadow:0 18px 42px rgba(6,63,116,.18)}
.iwda-settings-hero:before,.iwda-settings-hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none}.iwda-settings-hero:before{width:260px;height:260px;right:-90px;top:-150px}.iwda-settings-hero:after{width:160px;height:160px;right:115px;bottom:-125px}
.iwda-settings-eyebrow{position:relative;z-index:1;font-size:11px;font-weight:850;letter-spacing:.14em;color:#cdeeff}.iwda-settings-hero-row{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:8px}.iwda-settings-hero h2{font-size:clamp(25px,3vw,32px);line-height:1.15;letter-spacing:-.6px;margin:0 0 8px;color:#fff}.iwda-settings-hero p{margin:0;max-width:680px;line-height:1.65;color:#e1f2ff;font-size:14px}.iwda-settings-hero-icon{width:66px;height:66px;flex:0 0 66px;border-radius:20px;display:grid;place-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);font-size:32px;box-shadow:inset 0 1px rgba(255,255,255,.16)}
.iwda-settings-status{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.iwda-settings-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.23);background:rgba(255,255,255,.12);padding:7px 11px;border-radius:999px;font-size:11px;font-weight:750;color:#fff}
.iwda-settings-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:2px 2px 0}.iwda-settings-section-head h3{font-size:17px;letter-spacing:-.2px;margin:0 0 4px;color:#123e60}.iwda-settings-section-head p{font-size:12px;color:#71869a;margin:0;line-height:1.5}.iwda-settings-section-mark{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:12px;background:#e8f4fc;color:#0871b5;font-size:11px;font-weight:850}
.iwda-settings-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.iwda-setting-field{min-width:0;padding:18px;background:rgba(255,255,255,.96);border:1px solid #dce8f2;border-radius:17px;box-shadow:0 9px 25px rgba(7,55,95,.055);transition:border-color .18s ease,box-shadow .18s ease}.iwda-setting-field:focus-within{border-color:#8bc4e6;box-shadow:0 0 0 3px rgba(11,120,187,.08),0 9px 25px rgba(7,55,95,.055)}.iwda-setting-field label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:800;color:#183f5c}.iwda-setting-symbol{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:10px;background:#eaf5ff;color:#086eae;font-size:12px;font-weight:900}.iwda-setting-field>p{margin:9px 0 14px 42px;font-size:11px;line-height:1.5;color:#788b9d;min-height:17px}.iwda-setting-input-wrap{display:flex;align-items:center;gap:9px;padding:5px 10px;border:1px solid #dce7f0;border-radius:11px;background:#f8fbfe}.iwda-setting-input-wrap>span{font-size:11px;font-weight:800;color:#7890a4;white-space:nowrap}.iwda-setting-input-wrap .input{width:100%;min-width:0;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;padding:9px 2px!important;color:#163e5d;font-weight:800;font-size:16px}.iwda-setting-input-wrap .input:disabled{opacity:.72;color:#62798c;cursor:not-allowed}.iwda-prefix-wrap .input{font-size:14px}
.iwda-settings-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #dce8f2;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(7,55,95,.045)}.iwda-settings-edit-note{display:grid;gap:4px;min-width:180px}.iwda-settings-edit-note strong{font-size:12px;color:#164563}.iwda-settings-edit-note span{font-size:11px;color:#788b9d;line-height:1.45}.iwda-settings-actions .toolbar{margin:0!important;display:flex;flex-wrap:wrap;gap:8px}.iwda-settings-actions .btn,.iwda-settings-cloud-actions .btn{border-radius:10px;min-height:38px}.iwda-settings-actions .btn.danger{background:#fff5f4;border:1px solid #f2ceca;color:#a42e27}.iwda-settings-actions .btn:disabled{opacity:.48;cursor:not-allowed}
.iwda-settings-info-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:14px}.iwda-settings-info-card{display:flex;align-items:flex-start;gap:13px;min-width:0;padding:18px;background:#fff;border:1px solid #dce8f2;border-radius:17px;box-shadow:0 8px 24px rgba(7,55,95,.05)}.iwda-settings-info-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#eaf5ff;color:#0873b5;font-size:21px;font-weight:800}.iwda-settings-info-card h4{margin:1px 0 7px;font-size:14px;color:#153f5d}.iwda-settings-info-card p{margin:0;font-size:11px;line-height:1.75;color:#6e8295;overflow-wrap:anywhere}.iwda-settings-cloud-copy{min-width:0;flex:1}.iwda-settings-cloud-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px}.iwda-settings-footnote{display:flex;gap:10px;align-items:flex-start;padding:13px 15px;border-radius:13px;border:1px solid #dbece3;background:#f2faf5;color:#35634c}.iwda-settings-footnote>span{font-size:17px}.iwda-settings-footnote p{margin:0;font-size:11px;line-height:1.7;color:#557666;overflow-wrap:anywhere}
@media(max-width:760px){.iwda-settings-values,.iwda-settings-info-grid{grid-template-columns:1fr}.iwda-settings-actions{align-items:stretch;flex-direction:column}.iwda-settings-actions .toolbar{display:grid;grid-template-columns:1fr}.iwda-settings-actions .toolbar .btn{width:100%}.iwda-settings-hero-icon{width:50px;height:50px;flex-basis:50px;border-radius:15px;font-size:25px}.iwda-settings-field>p{min-height:0}}
@media(max-width:430px){.iwda-settings-hero{padding:19px;border-radius:18px}.iwda-settings-hero-row{align-items:flex-start}.iwda-settings-hero-icon{display:none}.iwda-setting-field{padding:15px}.iwda-settings-status{margin-top:15px}.iwda-settings-chip{font-size:10px}.iwda-settings-info-card{padding:15px}}


/* IWDA Connect — Premium Penalties page; styles scoped to this page only. */
.iwda-penalties-page{display:grid;gap:18px;max-width:1180px;margin:0 auto;color:var(--ink)}
.iwda-penalties-hero{position:relative;overflow:hidden;border-radius:23px;padding:clamp(20px,3vw,30px);color:#fff;background:linear-gradient(125deg,#063f74 0%,#075c8d 52%,#087f8c 100%);box-shadow:0 14px 34px rgba(6,63,116,.17)}
.iwda-penalties-hero:before{content:"";position:absolute;width:240px;height:240px;right:-65px;top:-115px;border:1px solid rgba(255,255,255,.17);border-radius:50%;box-shadow:0 0 0 26px rgba(255,255,255,.035),0 0 0 54px rgba(255,255,255,.025);pointer-events:none}
.iwda-penalties-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#c9f4f3;margin-bottom:14px}
.iwda-penalties-hero-row{display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;z-index:1}
.iwda-penalties-hero h2{font-size:clamp(24px,3vw,34px);line-height:1.14;letter-spacing:-.6px;color:#fff;margin:0 0 9px;font-weight:800}
.iwda-penalties-hero p{max-width:610px;margin:0;color:rgba(255,255,255,.83);font-size:13px;line-height:1.7}
.iwda-penalties-hero-icon{width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.27);border-radius:19px;background:rgba(255,255,255,.12);font-size:29px;box-shadow:inset 0 1px rgba(255,255,255,.12)}
.iwda-penalties-hero-foot{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;position:relative;z-index:1}
.iwda-penalties-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);font-size:11px;font-weight:700;color:#fff}
.iwda-penalties-section-head,.iwda-penalties-list-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.iwda-penalties-section-head{padding:2px 2px 0}
.iwda-penalties-section-head h3,.iwda-penalties-list-head h3{margin:0;font-size:17px;letter-spacing:-.2px;font-weight:800;color:var(--ink)}
.iwda-penalties-section-head p,.iwda-penalties-list-head p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.iwda-penalties-section-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eaf4fb;color:#17628b;font-size:11px;font-weight:900;flex:0 0 auto}
.iwda-penalties-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.iwda-penalty-stat{min-width:0;padding:18px 18px 17px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 6px 20px rgba(20,47,74,.045)}
.iwda-penalty-stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.iwda-penalty-stat-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;font-size:17px;font-weight:900}
.iwda-penalty-stat-kicker{font-size:9px;font-weight:900;letter-spacing:1.05px;color:var(--muted)}
.iwda-penalty-stat-total .iwda-penalty-stat-icon{background:#e9f3fb;color:#145d8d}.iwda-penalty-stat-paid .iwda-penalty-stat-icon{background:#e3f7ee;color:#087b50}.iwda-penalty-stat-unpaid .iwda-penalty-stat-icon{background:#fff0e8;color:#b64d21}
.iwda-penalty-stat-label{font-size:12px;font-weight:700;color:var(--muted)}
.iwda-penalty-stat-value{margin-top:6px;font-size:clamp(21px,2.4vw,29px);line-height:1.2;font-weight:900;letter-spacing:-.7px;color:var(--ink);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.iwda-penalty-stat-note{margin-top:8px;font-size:11px;color:var(--muted)}
.iwda-penalties-list-head{padding:3px 2px 0;margin-top:2px}
.iwda-penalties-add{white-space:nowrap;border-radius:12px!important;min-height:42px;box-shadow:0 5px 13px rgba(6,63,116,.12)}
.iwda-penalties-table-card{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:var(--card);box-shadow:0 8px 24px rgba(20,47,74,.045)}
.iwda-penalties-table-intro{display:flex;align-items:center;gap:11px;padding:17px 19px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,rgba(8,104,143,.045),transparent)}
.iwda-penalties-table-mark{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:#eaf4fb;color:#17628b;font-size:18px}
.iwda-penalties-table-intro strong{display:block;font-size:13px;font-weight:800;color:var(--ink)}
.iwda-penalties-table-intro span:not(.iwda-penalties-table-mark){display:block;margin-top:3px;font-size:11px;color:var(--muted)}
.iwda-penalties-table-card .tablewrap{border:0;border-radius:0;box-shadow:none}
.iwda-penalties-table{width:100%;border-collapse:separate;border-spacing:0}
.iwda-penalties-table thead th{padding:13px 15px;background:rgba(8,104,143,.045);color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.55px;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid var(--line)}
.iwda-penalties-table tbody td{padding:15px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:12px}
.iwda-penalties-table tbody tr:last-child td{border-bottom:0}
.iwda-penalties-table tbody tr:hover{background:rgba(8,104,143,.025)}
.iwda-penalty-row-no{display:inline-grid;place-items:center;min-width:29px;height:27px;padding:0 5px;border-radius:9px;background:var(--soft);font-size:10px;font-weight:800;color:var(--muted)}
.iwda-penalty-member{font-weight:800;color:var(--ink)}.iwda-penalty-description{color:var(--muted);line-height:1.5}.iwda-penalty-amount{font-weight:900;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.iwda-penalty-status{display:inline-flex;align-items:center;gap:4px;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.35px;white-space:nowrap}
.iwda-penalty-status.paid{background:#e3f7ee;color:#087b50}.iwda-penalty-status.unpaid{background:#fff0e8;color:#b64d21}
.iwda-penalty-actions{white-space:nowrap}.iwda-penalty-actions .btn{min-height:31px;padding:6px 10px;border-radius:9px;font-size:11px}.iwda-penalty-no-action{color:var(--muted)}
.iwda-penalties-empty{padding:35px 15px;text-align:center}.iwda-penalties-empty>span{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 12px;border-radius:15px;background:#e3f7ee;color:#087b50;font-size:22px;font-weight:900}.iwda-penalties-empty strong{display:block;font-size:14px;color:var(--ink)}.iwda-penalties-empty p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.iwda-penalties-footnote{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #dcebf5;border-radius:14px;background:#f4f9fd;color:#42657a}.iwda-penalties-footnote>span{font-size:15px;line-height:1.4}.iwda-penalties-footnote p{margin:0;font-size:11px;line-height:1.65}
@media(max-width:760px){.iwda-penalties-page{gap:14px}.iwda-penalties-hero{border-radius:19px;padding:20px}.iwda-penalties-hero-icon{width:49px;height:49px;flex-basis:49px;border-radius:15px;font-size:24px}.iwda-penalties-stats{grid-template-columns:1fr;gap:10px}.iwda-penalty-stat{padding:15px 16px}.iwda-penalty-stat-top{margin-bottom:10px}.iwda-penalty-stat-value{font-size:25px}.iwda-penalties-table-card .tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.iwda-penalties-table{min-width:720px}.iwda-penalties-table thead th,.iwda-penalties-table tbody td{padding:12px 13px}.iwda-penalties-list-head{align-items:flex-start}.iwda-penalties-add{padding:9px 11px!important;font-size:11px!important}.iwda-penalties-footnote{padding:12px}}
@media(min-width:761px) and (max-width:980px){.iwda-penalties-stats{gap:10px}.iwda-penalty-stat{padding:15px}}



/* IWDA premium dashboard refresh — visual-only, dashboard-scoped */
.iwda-dashboard-hero{padding:clamp(22px,3vw,32px);border-radius:24px;background:linear-gradient(128deg,#06365f 0%,#075f9f 49%,#0799a6 100%);box-shadow:0 20px 48px rgba(6,63,116,.19);margin-bottom:18px}
.iwda-dashboard-hero:before{width:290px;height:290px;right:-80px;top:-160px;border:1px solid rgba(255,255,255,.16);box-shadow:0 0 0 26px rgba(255,255,255,.025),0 0 0 54px rgba(255,255,255,.02)}
.iwda-dashboard-hero:after{width:185px;height:185px;right:150px;bottom:-140px;background:rgba(255,255,255,.045)}
.iwda-dashboard-hero-row{display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;z-index:1}
.iwda-dashboard-hero-copy{min-width:0}
.iwda-dashboard-eyebrow{font-size:10px;line-height:1.5;letter-spacing:.16em;font-weight:900;color:#cceeff}
.iwda-dashboard-hero h2{font-size:clamp(27px,3vw,35px);line-height:1.12;letter-spacing:-.8px;margin:9px 0 10px;font-weight:850}
.iwda-dashboard-hero p{font-size:14px;line-height:1.7;max-width:680px;color:#e2f4ff}
.iwda-dashboard-hero .hero-meta{gap:8px;margin-top:18px}
.iwda-dashboard-hero .hero-chip{padding:8px 11px;border-color:rgba(255,255,255,.23);background:rgba(255,255,255,.105);font-size:11px;font-weight:700;backdrop-filter:blur(8px)}
.iwda-dashboard-hero-art{width:94px;height:104px;flex:0 0 94px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:1px solid rgba(255,255,255,.26);border-radius:25px;background:linear-gradient(145deg,rgba(255,255,255,.19),rgba(255,255,255,.06));box-shadow:inset 0 1px rgba(255,255,255,.17),0 12px 28px rgba(0,0,0,.08);transform:rotate(2deg)}
.iwda-dashboard-hero-art-icon{font-size:39px;line-height:1;color:#fff;text-shadow:0 4px 12px rgba(0,0,0,.12)}
.iwda-dashboard-hero-art span{position:absolute;right:13px;top:7px;font-size:15px;color:#d5f5ff}
.iwda-dashboard-hero-art small{font-size:9px;letter-spacing:.22em;font-weight:900;color:#e3f7ff}
.iwda-dashboard-connection{position:relative;z-index:1;display:flex;align-items:center;gap:8px;margin-top:19px;padding-top:13px;border-top:1px solid rgba(255,255,255,.17);font-size:11px;font-weight:700;color:#e0f4ff}
.iwda-dashboard-connection-dot{width:8px;height:8px;border-radius:50%;background:#f0c56c;box-shadow:0 0 0 4px rgba(240,197,108,.14)}
.iwda-dashboard-connection-dot.is-live{background:#65e5a2;box-shadow:0 0 0 4px rgba(101,229,162,.14)}
.iwda-dashboard-connection-divider{opacity:.55}
.kpi-grid .kpi{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.kpi-grid .kpi:hover{transform:translateY(-2px);border-color:#b6d5e9;box-shadow:0 16px 32px rgba(7,55,95,.12)}
.dash-card{box-shadow:0 12px 30px rgba(7,55,95,.065);border-color:#d9e7f2}
.dash-card .section-title{padding-bottom:12px;border-bottom:1px solid #edf2f7;margin-bottom:15px}
.dash-card .section-title .badge{white-space:nowrap}
.health-row{border:1px solid #edf2f7;transition:background .16s ease}
.health-row:hover{background:#f0f7fc}
.quick-actions button{min-height:94px;border-color:#dbe8f3;box-shadow:0 5px 15px rgba(7,55,95,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.quick-actions button:hover{transform:translateY(-2px);border-color:#8fc2e1;box-shadow:0 12px 24px rgba(7,55,95,.09)}
.dashboard-table .tablewrap{border-radius:14px}
.dashboard-table .table thead th{padding:13px 14px}
.dashboard-table .table tbody td{padding:12px 14px}
@media(max-width:760px){.iwda-dashboard-hero{padding:20px;border-radius:19px}.iwda-dashboard-hero-row{align-items:flex-start}.iwda-dashboard-hero h2{font-size:25px}.iwda-dashboard-hero-art{width:64px;height:70px;flex-basis:64px;border-radius:17px}.iwda-dashboard-hero-art-icon{font-size:28px}.iwda-dashboard-hero-art small{font-size:7px}.iwda-dashboard-connection{font-size:10px;flex-wrap:wrap}.dash-card .section-title{gap:8px}.dash-card .section-title h3{font-size:15px}}
@media(max-width:460px){.iwda-dashboard-hero-art{display:none}.iwda-dashboard-hero .hero-meta{gap:6px}.iwda-dashboard-hero .hero-chip{font-size:10px;padding:7px 9px}.iwda-dashboard-hero h2{font-size:23px}.iwda-dashboard-connection{line-height:1.6}}


/* Premium finance and member pages — scoped visual treatment only */
.iwda-page-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:clamp(20px,3vw,29px);margin:0 0 17px;border-radius:22px;color:#fff;background:linear-gradient(128deg,#06365f 0%,#075f9f 52%,#0799a6 100%);box-shadow:0 16px 38px rgba(6,63,116,.16)}
.iwda-page-hero:after{content:"";position:absolute;width:210px;height:210px;right:-75px;top:-125px;border:1px solid rgba(255,255,255,.2);border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.035),0 0 0 49px rgba(255,255,255,.025);pointer-events:none}
.iwda-page-hero-copy{position:relative;z-index:1;min-width:0}
.iwda-page-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:900;color:#cceeff;margin-bottom:8px}
.iwda-page-hero h2{font-size:clamp(23px,2.8vw,31px);line-height:1.18;letter-spacing:-.5px;margin:0 0 8px;color:#fff;font-weight:850}
.iwda-page-hero p{font-size:13px;line-height:1.65;color:#e3f5ff;margin:0;max-width:680px}
.iwda-page-icon{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex:0 0 70px;width:70px;height:70px;border-radius:21px;border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.13);font-size:32px;box-shadow:inset 0 1px rgba(255,255,255,.15)}
.iwda-page-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 17px}
.iwda-page-metric{padding:15px 16px;border:1px solid #dce9f3;border-radius:16px;background:linear-gradient(145deg,#fff,#f7fbfe);box-shadow:0 7px 19px rgba(7,55,95,.045);min-width:0}
.iwda-page-metric-label{font-size:11px;color:#647b8f;font-weight:750;margin-bottom:8px}
.iwda-page-metric-value{font-size:clamp(18px,2vw,24px);font-weight:850;color:#123b5b;letter-spacing:-.4px;overflow-wrap:anywhere}
.iwda-page-metric-note{font-size:10px;color:#7890a2;margin-top:5px}
#content>.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;padding:12px;border:1px solid #e0eaf2;border-radius:15px;background:#f8fbfe}
#content>.toolbar .input,#content>.toolbar .select{min-width:180px;max-width:100%;border-radius:11px}
#content>.card:has(.tablewrap),#content>.card:has(>h2){border:1px solid #dce8f2;border-radius:17px;box-shadow:0 10px 28px rgba(7,55,95,.055);overflow:hidden}
#content>.card:has(.tablewrap) .tablewrap{border-radius:12px}
#content .table{border-collapse:separate;border-spacing:0}
#content .table thead th{background:#f0f6fb;color:#4b657b;font-size:10px;letter-spacing:.045em;text-transform:uppercase;padding:13px 14px;border-bottom:1px solid #dfeaf3;white-space:nowrap}
#content .table tbody td{padding:12px 14px;border-bottom:1px solid #edf2f7;font-size:12px;vertical-align:middle}
#content .table tbody tr:last-child td{border-bottom:0}
#content .table tbody tr:hover td{background:#f8fbfe}
#content .table .btn{border-radius:9px}
#content .card>h2{font-size:18px;color:#123b5b;padding:17px 18px 0;margin:0}
@media(max-width:620px){.iwda-page-hero{padding:19px;border-radius:18px}.iwda-page-icon{flex-basis:54px;width:54px;height:54px;border-radius:16px;font-size:25px}.iwda-page-hero h2{font-size:23px}.iwda-page-metrics{gap:8px}.iwda-page-metric{padding:12px 10px;border-radius:13px}.iwda-page-metric-label{font-size:10px}.iwda-page-metric-value{font-size:17px}.iwda-page-metric-note{font-size:9px}#content>.toolbar{padding:9px}#content>.toolbar .input,#content>.toolbar .select{min-width:0;width:100%}}
@media(max-width:390px){.iwda-page-icon{display:none}.iwda-page-metrics{grid-template-columns:1fr 1fr}.iwda-page-metric:last-child{grid-column:1/-1}}


/* IWDA premium individual member statement — presentation only */
.member-statement{max-width:900px!important;margin:20px auto!important;padding:0!important;border:1px solid #dbe5f0!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;color:#172b4d!important;font-family:Arial,Helvetica,sans-serif!important;box-shadow:0 12px 34px rgba(15,45,85,.10)!important}
.member-statement .statement-brand{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:18px;padding:24px 28px;background:linear-gradient(130deg,#082f70,#0b5a91);color:#fff}
.member-statement .statement-brand img{width:88px;height:88px;object-fit:contain;background:#fff;border-radius:12px;padding:5px}
.member-statement .statement-org{font-size:12px;letter-spacing:2px;text-transform:uppercase;opacity:.9;font-weight:800}
.member-statement .statement-brand h2{margin:8px 0 6px!important;background:none!important;color:#fff!important;padding:0!important;text-align:left!important;border-radius:0!important;font:800 27px Arial,sans-serif!important;letter-spacing:.3px}
.member-statement .statement-subtitle{font-size:13px;opacity:.9}
.member-statement .statement-member{padding:20px 28px;background:#f3f7fc;border-bottom:1px solid #e1e9f3;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.member-statement .statement-member label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#62748b;font-weight:800;margin-bottom:5px}
.member-statement .statement-member strong{font-size:17px;color:#102f59;overflow-wrap:anywhere}
.member-statement .statement-section{padding:0 28px;margin-top:24px}
.member-statement .statement-section h3{font:800 15px Arial,sans-serif!important;color:#0b477a!important;margin:0 0 10px!important;padding-bottom:9px;border-bottom:2px solid #dbe8f5}
.member-statement table{width:100%;border-collapse:separate!important;border-spacing:0!important;margin:0!important;font-family:Arial,sans-serif!important;font-size:13px}
.member-statement table th{background:#eaf2fb;color:#234b76;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.5px;padding:12px 13px;border-bottom:1px solid #d6e3f1}
.member-statement table td{padding:12px 13px!important;border-bottom:1px solid #e7edf5!important;color:#30445c;vertical-align:top}
.member-statement table tr:last-child td{border-bottom:0!important}
.member-statement .statement-summary{margin:24px 28px 0;padding:18px 20px;background:#f5f8fc;border:1px solid #e0e8f2;border-radius:13px}
.member-statement .statement-summary table td{padding:9px 10px!important}
.member-statement .statement-summary tr:last-child td{background:#e5f3ed;color:#07583b;font-weight:800;font-size:15px;border-radius:0}
.member-statement .statement-summary .total{font-size:14px!important;color:#123d69;font-variant-numeric:tabular-nums}
.member-statement .statement-footer{margin-top:24px;padding:18px 28px;background:#f8fafc;border-top:1px solid #e2e9f2;color:#68798d;font-size:11px;line-height:1.6}
.statement-actions{display:flex;justify-content:flex-end;gap:10px;max-width:900px;margin:14px auto 0}
.statement-actions .btn{border-radius:10px}
@media(max-width:600px){.member-statement .statement-brand{grid-template-columns:64px 1fr;padding:16px;gap:12px}.member-statement .statement-brand img{width:60px;height:60px}.member-statement .statement-brand h2{font-size:20px!important}.member-statement .statement-member{padding:15px 16px}.member-statement .statement-section{padding:0 12px;margin-top:20px}.member-statement .statement-summary{margin:20px 12px 0;padding:10px}.member-statement table{font-size:11px}.member-statement table th,.member-statement table td{padding:9px 7px!important}.member-statement .statement-footer{padding:16px}.statement-actions{padding:0 10px}}
@media print{body *{visibility:hidden!important}#statementPrint,#statementPrint *{visibility:visible!important}#statementPrint{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}#statementPrint .statement-brand{-webkit-print-color-adjust:exact;print-color-adjust:exact}#statementPrint .statement-summary,#statementPrint table th{ -webkit-print-color-adjust:exact;print-color-adjust:exact}.statement-actions,.iwda-page-hero,.iwda-page-metrics{display:none!important}@page{size:A4 portrait;margin:10mm}}

.iwda-year-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.iwda-year-toolbar .select{min-width:118px;max-width:150px}.iwda-year-toolbar .input{flex:1;min-width:180px}@media(max-width:720px){.month-chart{gap:4px}.month-label{font-size:9px}.month-value{font-size:8px}.month-bar{width:70%}}

/* IWDA presentation preference: keep pages clean by hiding explanatory/helper copy only. */
#content .dash-hero > p,
#content .announcements-hero p,
#content .announcements-empty p,
#content .iwda-settings-hero p,
#content .iwda-settings-section-head p,
#content .iwda-settings-info-card p,
#content .iwda-penalties-hero p,
#content .iwda-penalties-section-head p,
#content .iwda-penalties-list-head p,
#content .iwda-penalties-empty p,
#content .iwda-dashboard-hero p,
#content .iwda-page-hero p,
#content .ledger-heading p,
#content .payments p,
#content .fm-hero > p,
#content .fm-docs-heading p,
#content .fm-doc-register-head p,
#content .fm-callout,
#content .fm-card .fm-note,
#content .fm-source-note,
#content .fm-entry-intro,
#content .fm-upload-intro,
#content .iwda-settings-footnote,
#content .iwda-settings-edit-note span,
#content .iwda-penalties-footnote,
#content .iwda-page-metric-note,
#content .identity-note,
#content .card-sub {
  display:none !important;
}

/* IWDA Financial Management — premium compact presentation */
.fm-wrap{--fm-navy:#08264a;--fm-navy2:#104477;--fm-gold:#d4ad59;--fm-cream:#f6f5f0;color:#172b43;font-family:inherit}
.fm-hero{background:linear-gradient(118deg,#061b36 0%,#0b3764 62%,#155b83 100%);color:#fff;border:1px solid #244d72;border-bottom:4px solid var(--fm-gold);border-radius:17px;padding:20px 22px;margin-bottom:14px;position:relative;overflow:hidden;box-shadow:0 10px 26px #071f3d20}
.fm-hero:after{content:"";position:absolute;width:190px;height:190px;border:1px solid #e0c47b55;border-radius:50%;right:-55px;top:-105px;box-shadow:0 0 0 20px #d6b96a12,0 0 0 42px #d6b96a0a}
.fm-kicker{font-size:10px;letter-spacing:.17em;text-transform:uppercase;color:#e8cb83;font-weight:900}
.fm-hero h2{margin:6px 0 0;font-size:23px;line-height:1.2;color:#fff;font-weight:850;letter-spacing:.01em}.fm-hero p{margin:5px 0 0;color:#d8e5f1;max-width:720px;font-size:11px;line-height:1.4}
.fm-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 14px;padding:4px 0}.fm-tabs button{border:1px solid #d8e1eb;background:#fff;color:#24415e;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:800;box-shadow:0 2px 5px #102b4508}.fm-tabs button.active{background:#0a2d52;color:#f2d58c;border-color:#0a2d52;box-shadow:0 4px 10px #0a2d5228}
.fm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.fm-card{background:linear-gradient(180deg,#fff,#fbfcfe);border:1px solid #dfe7ef;border-top:3px solid #c9a65b;border-radius:12px;padding:14px;min-width:0;box-shadow:0 5px 15px #102b450b}.fm-card .fm-label{font-size:9px;color:#64758a;text-transform:uppercase;letter-spacing:.09em;font-weight:900}.fm-card .fm-value{font-size:21px;font-weight:900;color:#092c50;margin-top:8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.fm-card .fm-note{display:none}
.fm-section{background:#fff;border:1px solid #e0e7ef;border-radius:13px;padding:15px;margin-top:12px;box-shadow:0 4px 14px #102b4508}.fm-section h3{margin:0 0 10px;color:#0b2e52;font-size:14px;font-weight:850;letter-spacing:.01em}.fm-section p{display:none}
.fm-callout{border:1px solid #eadbb7;border-left:4px solid #c8a451;background:#fbf8ef;padding:9px 12px;border-radius:9px;color:#66552f;font-size:10px;line-height:1.45;margin-top:11px}
.fm-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.fm-item{border:1px solid #e7edf2;border-radius:11px;padding:12px}.fm-item b{display:block;color:#143553;font-size:13px}.fm-item span{display:block;color:#718096;font-size:11px;margin-top:4px;line-height:1.5}
.fm-status{display:inline-flex;align-items:center;background:#f6f1e3;color:#70551c;border:1px solid #e8d8ad;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:900;letter-spacing:.035em}
.fm-table-wrap{border:1px solid #e1e8ef;border-radius:10px;background:#fff}.fm-table{width:100%;border-collapse:collapse;min-width:620px}.fm-table th{background:#0a2c50;color:#f4e5bf;text-align:left;padding:10px;font-size:10px;font-weight:850;letter-spacing:.025em;white-space:nowrap}.fm-table td{padding:10px;border-bottom:1px solid #edf1f5;font-size:11px;color:#40546b;vertical-align:middle}.fm-table tbody tr:nth-child(even) td{background:#f8fafc}.fm-table tbody tr:last-child td{border-bottom:0}.fm-empty{padding:18px;text-align:center;color:#758397;background:#fafbfd;border:0;font-size:11px}
.fm-wrap .btn{border-radius:8px;font-size:11px;font-weight:800;padding:8px 11px}.fm-wrap .toolbar{gap:8px;align-items:center}.fm-wrap .toolbar .btn{white-space:nowrap}
@media(max-width:900px){.fm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.fm-grid,.fm-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fm-hero{padding:16px}.fm-hero h2{font-size:19px}.fm-card{padding:11px}.fm-card .fm-value{font-size:17px}.fm-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.fm-tabs button{white-space:nowrap;padding:8px 10px}.fm-section{padding:11px}}
@media(max-width:360px){.fm-grid{grid-template-columns:1fr}}

.fm-user-status{font-size:9px!important;font-weight:800!important;letter-spacing:.04em!important}
.fm-docs-hero{display:flex;align-items:center;gap:16px;padding:22px 24px;border:1px solid #dbe4ed;border-bottom:3px solid #c8a65e;border-radius:17px;background:radial-gradient(circle at 95% 10%,#d6b86a22,transparent 32%),linear-gradient(120deg,#071e38,#10466d);color:#fff;box-shadow:0 10px 24px #09274618}
.fm-docs-emblem{width:54px;height:54px;flex:0 0 54px;border:1px solid #d8bd7970;border-radius:15px;display:grid;place-items:center;font-size:28px;color:#f0d99e;background:#ffffff0d}
.fm-docs-heading{min-width:0;flex:1}.fm-docs-heading>span{font-size:8px;letter-spacing:.19em;color:#e8d39b;font-weight:900}.fm-docs-heading h3{font-size:20px;color:#fff;margin:5px 0 3px;font-weight:850}.fm-docs-heading p{font-size:10px;color:#d4e2ef;margin:0}.fm-doc-upload{background:linear-gradient(135deg,#d5b46c,#f0d99e)!important;color:#132f4c!important;border:0!important;padding:11px 15px!important}
.fm-doc-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.fm-doc-metrics>div{border:1px solid #e0e7ef;border-radius:12px;background:linear-gradient(145deg,#fff,#f8fafc);padding:13px 15px;box-shadow:0 4px 12px #102b4508}.fm-doc-metrics span{display:block;color:#738195;font-size:8px;font-weight:900;letter-spacing:.1em}.fm-doc-metrics b{display:block;color:#0b3157;font-size:22px;margin-top:5px}.fm-doc-register-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.fm-doc-register-head h3{margin:0}.fm-doc-register-head p{font-size:10px;color:#738195;margin:4px 0 0}.fm-doc-meta{font-size:7px;letter-spacing:.1em;color:#9a7b3b;margin-top:4px;font-weight:900}.fm-upload-intro{display:flex;align-items:center;gap:12px;padding:14px;margin:-2px 0 16px;border-radius:12px;background:linear-gradient(120deg,#092746,#124a73);color:#fff}.fm-upload-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #d8bd7970;border-radius:11px;color:#f0d99e;font-size:23px}.fm-upload-intro b,.fm-upload-intro span{display:block}.fm-upload-intro b{font-size:13px}.fm-upload-intro span{font-size:10px;color:#d6e3ef;margin-top:3px}.fm-document-form .fm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.fm-form-field.full{grid-column:1/-1}.fm-form-field label{display:block;font-size:9px;font-weight:900;letter-spacing:.08em;color:#425970;margin-bottom:6px}.fm-form-field .input,.fm-form-field .select{width:100%;min-height:43px;border:1px solid #d6e0ea;border-radius:9px;padding:10px 12px;background:#fff;color:#17324d}.fm-form-field small{display:block;color:#7b8999;font-size:9px;margin-top:6px}.fm-upload-security{display:flex;flex-direction:column;gap:3px;padding:11px 13px;margin:15px 0;border:1px solid #eadbb7;border-radius:9px;background:#fbf8ef}.fm-upload-security b{font-size:10px;color:#70551c}.fm-upload-security span{font-size:9px;color:#766846}.fm-upload-actions{justify-content:flex-end}
@media(max-width:600px){.fm-docs-hero{align-items:flex-start;flex-wrap:wrap;padding:16px}.fm-docs-heading{flex:1 1 calc(100% - 70px)}.fm-doc-upload{margin-left:70px}.fm-doc-metrics{gap:7px}.fm-doc-metrics>div{padding:10px}.fm-doc-metrics span{font-size:7px}.fm-doc-metrics b{font-size:18px}.fm-doc-register-head{align-items:flex-start;flex-direction:column}.fm-document-form .fm-form-grid{grid-template-columns:1fr}.fm-form-field.full{grid-column:auto}}

@media print{.fm-tabs,.fm-no-print{display:none!important}.fm-hero{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* IWDA Financial Management — refined executive interface */
.fm-wrap{max-width:1480px;margin:0 auto;padding:2px 0 22px;color:#182b40}
.fm-hero{min-height:142px;display:flex;flex-direction:column;justify-content:center;padding:25px 28px;margin:0 0 17px;border:1px solid #24496d;border-bottom:3px solid #c9a85f;border-radius:18px;background:radial-gradient(circle at 88% 12%,#ffffff18 0 1px,transparent 2px),radial-gradient(ellipse at 100% 0%,#2b628a 0%,transparent 42%),linear-gradient(115deg,#071d37 0%,#0b3157 58%,#104b70 100%);box-shadow:0 12px 28px #0927461a}
.fm-hero:after{width:230px;height:230px;right:-62px;top:-145px;border-color:#d8bd7950;box-shadow:0 0 0 24px #d6b96a12,0 0 0 50px #d6b96a09}
.fm-kicker{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:.2em;color:#e8d39b}
.fm-kicker:before{content:"";display:inline-block;width:23px;height:2px;background:#d4b66d;border-radius:3px}
.fm-hero h2{font-size:clamp(22px,2.5vw,29px);letter-spacing:-.025em;margin:9px 0 0;font-weight:800}
.fm-hero p{font-size:11px;color:#d6e3ef;margin:7px 0 0;letter-spacing:.035em}
.fm-tabs{gap:8px;margin:0 0 15px;padding:0 0 4px;scrollbar-width:thin;scrollbar-color:#c3ceda transparent}
.fm-tabs button{border:1px solid #dce4ed;border-radius:999px;padding:9px 15px;font-size:11px;font-weight:750;color:#334c65;background:linear-gradient(180deg,#fff,#f8fafc);transition:background .18s,border-color .18s,transform .18s;box-shadow:0 2px 5px #102b4508}
.fm-tabs button.active{background:linear-gradient(135deg,#092746,#124a73);border-color:#0d3559;color:#f4dfaa;box-shadow:0 5px 13px #09274626}
.fm-grid{gap:12px;margin:0 0 14px}
.fm-card{position:relative;overflow:hidden;border:1px solid #e1e8ef;border-top:0;border-radius:15px;padding:17px 17px 16px;background:linear-gradient(145deg,#fff 0%,#fbfcfe 100%);box-shadow:0 5px 18px #17324d0a;min-height:105px}
.fm-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#d9bd78,#b38b3e)}
.fm-card .fm-label{font-size:9px;letter-spacing:.12em;color:#758397}
.fm-card .fm-value{font-size:clamp(19px,2vw,24px);letter-spacing:-.025em;color:#102f4d;margin-top:10px;font-weight:850}
.fm-section{border:1px solid #e2e9f0;border-radius:15px;padding:17px;margin-top:13px;background:#fff;box-shadow:0 5px 18px #17324d09}
.fm-section h3{font-size:14px;color:#123453;letter-spacing:-.01em;margin-bottom:13px;display:flex;align-items:center;gap:9px}
.fm-section h3:before{content:"";width:3px;height:16px;border-radius:3px;background:#c6a45b;display:inline-block}
.fm-table-wrap{border:1px solid #e5ebf1;border-radius:11px;overflow:auto;scrollbar-width:thin;scrollbar-color:#b7c3d0 #f5f7fa}
.fm-table{min-width:660px}
.fm-table th{background:linear-gradient(90deg,#0a2948,#103b60);padding:12px 13px;font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#f1dfb5}
.fm-table td{padding:12px 13px;font-size:11px;line-height:1.45;color:#43566a}
.fm-table tbody tr:hover td{background:#f3f7fb}
.fm-table td b{color:#1a3854;font-weight:750}
.fm-status{padding:5px 9px;font-size:9px;background:#f8f3e7;color:#785d24;border-color:#eadcb9}
.fm-callout{font-size:10px;border-radius:10px;padding:10px 13px;line-height:1.5}
.fm-wrap .btn{border-radius:9px;padding:9px 13px;font-size:10px;letter-spacing:.01em}
.fm-wrap .btn.primary{box-shadow:0 4px 10px #0b34551c}
.fm-wrap .toolbar{row-gap:9px}
@media(max-width:900px){.fm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.fm-wrap{padding-bottom:14px}.fm-hero{min-height:122px;padding:19px 18px;border-radius:15px;margin-bottom:13px}.fm-hero h2{font-size:21px}.fm-hero p{font-size:10px}.fm-tabs{gap:6px;margin-bottom:12px}.fm-tabs button{padding:8px 12px;font-size:10px}.fm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}.fm-card{min-height:94px;padding:13px 11px 12px;border-radius:13px}.fm-card .fm-label{font-size:8px;line-height:1.35;letter-spacing:.08em}.fm-card .fm-value{font-size:17px;margin-top:8px}.fm-section{padding:13px 11px;margin-top:10px;border-radius:13px}.fm-section h3{font-size:13px;margin-bottom:10px}.fm-table{min-width:620px}.fm-table th{padding:10px;font-size:9px}.fm-table td{padding:10px;font-size:10px}.fm-callout{font-size:9px}}
@media(max-width:360px){.fm-grid{grid-template-columns:1fr}.fm-card{min-height:0}}



/* IWDA table refinement — general application tables only; FM styles remain isolated. */
.tablewrap{overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border:1px solid #d7e5f0;border-radius:14px;box-shadow:0 5px 18px rgba(7,55,95,.045)}
.table{border-collapse:separate;border-spacing:0;min-width:760px}
.table thead th{position:sticky;top:0;z-index:1;background:linear-gradient(135deg,#064b7f,#0878bd);color:#fff;padding:13px 12px;font-size:11px;font-weight:850;letter-spacing:.045em;white-space:nowrap;border-bottom:0}
.table tbody td{padding:12px;border-bottom:1px solid #e8eff5;vertical-align:middle;font-variant-numeric:tabular-nums}
.table tbody tr:nth-child(even){background:#f7faff}
.table tbody tr:hover{background:#edf6fd}
.table tbody tr:last-child td{border-bottom:0}
.table td.good{color:var(--green);font-weight:800}
.table td.bad{color:var(--red);font-weight:800}
@media(max-width:600px){.tablewrap{margin-left:0;margin-right:0;border-radius:11px}.table{min-width:720px}.table th,.table td{padding:10px 9px}}

/* IWDA Connect — unified premium application finish (visual-only layer) */
:root{
 --iwda-navy:#082f5d;--iwda-navy-deep:#062443;--iwda-blue:#145b96;--iwda-blue-soft:#edf4fb;
 --iwda-gold:#c99a35;--iwda-green:#16734b;--iwda-ink:#172b42;--iwda-muted:#718196;
 --iwda-line:#e1e9f1;--iwda-canvas:#f3f6fa;--iwda-white:#fff;
 --iwda-shadow:0 8px 26px rgba(17,43,72,.065);
}
html{scroll-behavior:smooth}
body{background:var(--iwda-canvas)!important;color:var(--iwda-ink)!important;font-family:Inter,"Segoe UI",system-ui,-apple-system,Arial,sans-serif!important;letter-spacing:0!important}
button,input,select,textarea{font-family:inherit!important}
.sidebar{background:linear-gradient(180deg,var(--iwda-navy-deep),var(--iwda-navy) 72%,#0b426f)!important;box-shadow:5px 0 24px rgba(5,29,54,.10);border-right:1px solid rgba(255,255,255,.08)}
.brand{padding:8px 9px 19px!important;border-bottom:1px solid rgba(255,255,255,.13)!important}
.brand img{border-radius:13px!important;box-shadow:0 4px 14px #001a3340}
.brand b{font-size:15px!important;letter-spacing:.015em}
.nav{margin-top:18px!important}
.nav button{min-height:43px!important;padding:11px 13px!important;border-radius:10px!important;margin:3px 0!important;font-size:13px!important;font-weight:650!important;transition:background .18s ease,transform .18s ease}
.nav button:hover{background:rgba(255,255,255,.10)!important;transform:translateX(2px)}
.nav button.active{background:linear-gradient(100deg,rgba(255,255,255,.17),rgba(255,255,255,.07))!important;box-shadow:inset 3px 0 var(--iwda-gold)}
.main{padding:24px clamp(14px,2.2vw,30px)!important;min-width:0}
.top{padding:11px 0 16px!important;margin-bottom:18px!important;background:rgba(243,246,250,.94)!important;box-shadow:0 1px 0 rgba(15,43,70,.07)!important}
.top h1{font-size:clamp(21px,2vw,27px)!important;font-weight:800!important;letter-spacing:-.035em!important;color:var(--iwda-navy)!important}
.card,.kpi,.dash-card,.fm-section,.ledger-kpi,.tablewrap,.statement-section{border:1px solid var(--iwda-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--iwda-shadow)!important}
.card,.dash-card{padding:19px!important}
.section{margin-top:22px!important}
.section h2,.section-title,.dash-card h3{color:var(--iwda-navy)!important;font-weight:800!important;letter-spacing:-.02em!important}
.kpi-grid{gap:13px!important}
.kpi{padding:17px!important;min-height:120px!important}
.kpi .value,.metric,.ledger-kpi .value{color:var(--iwda-navy)!important;font-variant-numeric:tabular-nums}
.label,.field label{color:#66788d!important;font-size:11px!important;font-weight:800!important;letter-spacing:.055em!important}
.btn,button.primary,button.secondary,button.danger{border-radius:10px!important;min-height:39px;font-weight:750!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.btn:hover,button.primary:hover,button.secondary:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(8,47,93,.12)}
.btn.primary,.primary{background:linear-gradient(135deg,#0a477b,#176aa8)!important;color:#fff!important}
.btn.secondary,.secondary{background:#edf3f9!important;color:#174c78!important;border:1px solid #dce7f1!important}
.btn.danger,.danger{background:#fff0ef!important;color:#b42318!important}
.input,.select,.textarea,input,select,textarea{border:1px solid #d7e1eb!important;border-radius:9px!important;background:#fff!important;color:#20364d!important;min-height:40px}
.input:focus,.select:focus,.textarea:focus,input:focus,select:focus,textarea:focus{outline:3px solid rgba(20,91,150,.12)!important;border-color:#6d9fc8!important}
.tablewrap,.ledger-table-wrap{overflow:auto!important;border:1px solid var(--iwda-line)!important;border-radius:13px!important}
.table{border-collapse:separate!important;border-spacing:0!important}
.table th{background:#edf3f8!important;color:#25445f!important;font-size:11px!important;font-weight:850!important;letter-spacing:.035em!important;text-transform:uppercase!important;border-bottom:1px solid #dce6ef!important}
.table td{padding:11px 10px!important;color:#30465c!important;border-bottom:1px solid #edf1f5!important;font-size:12.5px!important}
.table tr:nth-child(even){background:#fafcfe!important}
.table tr:hover{background:#f2f7fb!important}
.status,.badge,.pill{font-weight:800!important;letter-spacing:.01em}
.modal{backdrop-filter:blur(5px)!important;background:rgba(5,22,40,.56)!important}
.modalbox{border:1px solid #e1e8ef!important;border-radius:18px!important;box-shadow:0 24px 70px rgba(3,21,40,.25)!important;padding:22px!important}
.modalhead{padding-bottom:13px!important;border-bottom:1px solid #edf1f5!important;margin-bottom:5px}
.modalhead h3{color:var(--iwda-navy)!important;font-weight:850!important}
.formgrid{gap:13px!important}
.empty{padding:34px 18px!important;color:#7a8999!important}
.dash-hero{background:linear-gradient(115deg,#082f5d 0%,#104e80 65%,#176d75 100%)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:19px!important;box-shadow:0 14px 32px rgba(8,47,93,.16)!important;padding:25px!important}
.dash-hero h2{color:#fff!important;font-size:clamp(23px,2.5vw,29px)!important;font-weight:850!important}
.kpi{box-shadow:var(--iwda-shadow)!important}
.progress>span{background:linear-gradient(90deg,#145b96,#238b80)!important}
.quick-actions button{border:1px solid var(--iwda-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 12px rgba(17,43,72,.04)!important}
.quick-actions button:hover{border-color:#a9c4dc!important;background:#f8fbfe!important}
.receipt{box-shadow:none!important}
:focus-visible{outline:3px solid rgba(20,91,150,.35)!important;outline-offset:2px}

/* Keep the interface concise: remove helper/explanatory copy, not records, warnings, labels or notices. */
.dash-hero>p,.card-sub,.kpi .sub,.iwda-penalty-stat-note,
.help-text,.helper-text,.field-hint,.form-hint,.input-hint,.explanatory,
.description-text,.muted-note,.supporting-copy,.helper-copy,.instruction-copy,
.fm-help-text,.fm-description,.ui-explanation{display:none!important}

@media(max-width:900px){.main{padding:15px!important}.grid{gap:10px!important}.card,.dash-card{padding:15px!important}}
@media(max-width:700px){
 .sidebar{width:66px!important}.main{margin-left:66px!important;width:calc(100% - 66px)!important;padding:12px!important}
 .top{padding:8px 0 12px!important;margin-bottom:13px!important}
 .top h1{font-size:19px!important}.dash-hero{padding:18px!important;border-radius:15px!important}
 .kpi-grid{gap:9px!important}.kpi{padding:12px!important;min-height:100px!important;border-radius:13px!important}
 .kpi .value{font-size:18px!important}.card,.dash-card{padding:13px!important;border-radius:13px!important}
 .table th{font-size:10px!important;padding:9px 8px!important}.table td{font-size:11.5px!important;padding:9px 8px!important}
 .modalbox{padding:16px!important;border-radius:15px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}



/* IWDA premium navigation refinement — visual-only; navigation actions unchanged */
.sidebar .nav{display:flex;flex-direction:column;gap:5px;margin-top:20px}
.sidebar .nav button{
  position:relative;display:flex;align-items:center;gap:11px;width:100%;min-height:46px;
  padding:11px 14px;border:1px solid transparent;border-radius:13px;
  background:transparent;color:rgba(255,255,255,.88);text-align:left;
  font-size:13px;font-weight:700;letter-spacing:.01em;
  transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.sidebar .nav button:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.13);transform:translateX(2px)}
.sidebar .nav button.active{
  color:#fff;background:linear-gradient(105deg,rgba(255,255,255,.20),rgba(255,255,255,.09));
  border-color:rgba(255,255,255,.19);box-shadow:inset 3px 0 #78d4f4,0 5px 16px rgba(0,0,0,.10)
}
.sidebar .nav button:focus-visible,.mobile-nav button:focus-visible{
  outline:3px solid #f5c96a;outline-offset:2px
}
@media(max-width:700px){
 .mobile-nav{gap:4px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.97);border-top:1px solid rgba(14,65,105,.10);
  box-shadow:0 -10px 30px rgba(7,43,73,.13);backdrop-filter:blur(18px)}
 .mobile-nav button{
  position:relative;flex:0 0 66px;min-width:66px;min-height:56px;padding:5px 3px;
  border:1px solid transparent;border-radius:14px;background:transparent;color:#667b8e;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  font-size:10px;font-weight:750;letter-spacing:.005em;
  transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease
 }
 .mobile-nav button:active{transform:scale(.96)}
 .mobile-nav button.active{
  color:#07558c;background:linear-gradient(145deg,#eaf5ff 0%,#dceeff 100%);
  border-color:#d4e8f8;box-shadow:0 4px 12px rgba(9,83,137,.10)
 }
 .mobile-nav button.active:before{content:"";position:absolute;top:3px;left:50%;width:17px;height:3px;
  border-radius:99px;background:#0b83bd;transform:translateX(-50%)}
 .mobile-nav-icon{font-size:20px;line-height:1.15}
}
@media(prefers-reduced-motion:reduce){.sidebar .nav button,.mobile-nav button{transition:none!important}}




/* Individual receipt refinement — preserves the existing layout and green/gold palette. */
.receipt#receiptPrint{
  box-sizing:border-box;
  box-shadow:0 12px 32px rgba(7,83,50,.12);
  line-height:1.45;
  -webkit-print-color-adjust:exact;
  print-color-adjust:exact;
}
.receipt#receiptPrint .receipt-brand{
  gap:clamp(10px,1.8vw,18px);
  padding:clamp(12px,2vw,20px);
}
.receipt#receiptPrint .brand-name{
  letter-spacing:.025em;
  line-height:1.16;
  overflow-wrap:anywhere;
}
.receipt#receiptPrint .tagline{
  line-height:1.4;
}
.receipt#receiptPrint .receipt-no{
  box-shadow:inset 0 0 0 1px rgba(7,83,50,.08);
}
.receipt#receiptPrint .receipt-no span{
  line-height:1.15;
  overflow-wrap:anywhere;
  font-variant-numeric:tabular-nums;
}
.receipt#receiptPrint .receipt-title{
  line-height:1.2;
  text-wrap:balance;
}
.receipt#receiptPrint .receipt-details{
  padding-top:clamp(16px,2.5vw,24px);
  padding-bottom:clamp(16px,2.5vw,24px);
}
.receipt#receiptPrint .receipt-line{
  min-width:0;
  line-height:1.4;
}
.receipt#receiptPrint .receipt-line strong{
  line-height:1.35;
  overflow-wrap:anywhere;
}
.receipt#receiptPrint .receipt-line .value{
  min-width:0;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
}
.receipt#receiptPrint .receipt-line:nth-child(2) .value{
  font-size:clamp(23px,3vw,30px);
  letter-spacing:.01em;
}
.receipt#receiptPrint .receipt-thanks{
  line-height:1.6;
  max-width:660px;
  margin:clamp(16px,2vw,22px) auto;
  padding:0 18px;
  text-wrap:pretty;
}
.receipt#receiptPrint .receipt-rule{
  margin-top:4px;
}
.receipt#receiptPrint .receipt-footer{
  line-height:1.45;
}
.receipt#receiptPrint .receipt-footer .thank,
.receipt#receiptPrint .receipt-footer .sign,
.receipt#receiptPrint .receipt-footer .org{
  overflow-wrap:anywhere;
}
@media(max-width:650px){
  .receipt#receiptPrint .receipt-brand{align-items:center}
  .receipt#receiptPrint .receipt-no span{font-size:clamp(19px,5vw,25px)}
  .receipt#receiptPrint .receipt-line{gap:9px}
  .receipt#receiptPrint .receipt-line:nth-child(2) .value{font-size:22px}
  .receipt#receiptPrint .receipt-thanks{padding:0 8px}
}
@media print{
  .receipt#receiptPrint{box-shadow:none!important}
  .receipt#receiptPrint .receipt-line,
  .receipt#receiptPrint .receipt-footer,
  .receipt#receiptPrint .receipt-brand{break-inside:avoid}
}



.ledger-shell{background:linear-gradient(135deg,#071b4b,#0c3e9c 60%,#f08a13);padding:2px;border-radius:22px;margin-bottom:18px;box-shadow:0 14px 36px #082d6630}.ledger-panel{background:#f5f8ff;border-radius:20px;padding:20px}.ledger-heading{display:flex;align-items:center;gap:14px}.ledger-heading img{width:112px;height:112px;object-fit:contain;background:#fff;border-radius:15px;padding:5px;box-shadow:0 4px 16px #0a2a6630;flex-shrink:0}.ledger-heading h2{margin:0;color:#082c75;font-size:clamp(22px,4vw,32px)}.ledger-heading p{margin:5px 0;color:#53627d}.ledger-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.ledger-kpi{background:#fff;border:1px solid #dce5f7;border-radius:14px;padding:13px;min-width:0}.ledger-kpi small{display:block;color:#64748b;font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.ledger-kpi strong{display:block;color:#092e7c;font-size:clamp(19px,3vw,27px);font-weight:950;margin-top:7px;overflow-wrap:anywhere}.ledger-kpi.penalty-paid{background:#ecfdf3;border-color:#86d9a6}.ledger-kpi.penalty-paid small,.ledger-kpi.penalty-paid strong{color:#087443}.ledger-kpi.penalty-unpaid{background:#fff0f0;border:2px solid #dc2626;box-shadow:0 4px 14px #dc262622}.ledger-kpi.penalty-unpaid small,.ledger-kpi.penalty-unpaid strong{color:#b91c1c}.ledger-kpi.contribution-paid{background:#edf5ff;border-color:#9fc5ff}.ledger-table-wrap{overflow:auto;background:white;border:1px solid #dce5f7;border-radius:13px}.ledger-table{width:100%;border-collapse:collapse;min-width:600px}.ledger-table th{background:#0b347f;color:#fff;text-align:left;padding:15px 11px;font-size:15px;font-weight:900}.ledger-table td{padding:13px 11px;border-bottom:1px solid #e7edf8;color:#172b4d;font-size:15px;font-weight:650}.ledger-table td.penalty-cell{color:#b91c1c;background:#fff0f0;font-weight:900}.ledger-table td.ledger-paid-cell{color:#087443;background:#e7f8ed;font-weight:900}.ledger-grand-total{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:18px 22px;border-radius:12px;background:#0b347f;color:#fff;font-weight:900}.ledger-grand-total strong{color:#ffd447;font-size:clamp(22px,3vw,32px)}.ledger-table tr:nth-child(even) td{background:#f4f7fd}.ledger-table tr:nth-child(even) td.penalty-cell{background:#ffe8e8}.ledger-table tfoot th{background:#09275f;color:#fff;padding:12px 8px}.ledger-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.ledger-note{font-size:12px;color:#586780;line-height:1.6}.ledger-status{background:#fff7e8;border:1px solid #f7d59b;border-radius:12px;padding:12px;color:#77420b;margin:12px 0;font-size:13px}@media(max-width:600px){.ledger-panel{padding:13px}.ledger-heading img{width:64px;height:64px}.ledger-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ledger-kpi{padding:10px}.ledger-kpi small{font-size:9px}.ledger-kpi strong{font-size:16px}}



/* No circular stamp graphics: use large, transparent red document watermarks instead. */
#receiptPrint,.member-statement{position:relative!important;isolation:isolate!important;overflow:hidden;}
#receiptPrint:before,#statementPrint:before{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-24deg);width:110%;text-align:center;white-space:nowrap;font:1000 clamp(54px,10vw,118px)/1 Arial,sans-serif;letter-spacing:5px;color:rgba(205,24,37,.17);pointer-events:none;z-index:0;text-shadow:0 1px 0 rgba(205,24,37,.05);}
#receiptPrint:before{content:"RECEIVED";}
#statementPrint:before{content:"APPROVED";}
#receiptPrint:after,#statementPrint:after{content:"ILATU WELFARE AND DEVELOPMENT ASSOCIATION";position:absolute;left:50%;top:57%;transform:translate(-50%,-50%) rotate(-24deg);width:110%;text-align:center;white-space:nowrap;font:900 clamp(12px,2.2vw,24px)/1 Arial,sans-serif;letter-spacing:2px;color:rgba(205,24,37,.13);pointer-events:none;z-index:0;}
#receiptPrint>* ,.member-statement>*{position:relative;z-index:1;}
.iwda-stamp-row,.iwda-official-stamp{display:none!important;}
@media print{#receiptPrint:before,#statementPrint:before,#receiptPrint:after,#statementPrint:after{print-color-adjust:exact;-webkit-print-color-adjust:exact;}}

/* Premium ILATU Connect logo in the dashboard hero — presentation only */
.iwda-dashboard-logo-wrap{width:clamp(116px,15vw,178px);flex:0 0 clamp(116px,15vw,178px);position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px;border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(237,246,255,.94));border:2px solid rgba(255,255,255,.78);box-shadow:0 14px 34px rgba(0,20,60,.22),inset 0 0 0 1px rgba(8,83,157,.12);transform:rotate(1deg)}
.iwda-dashboard-logo{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;border-radius:12px;background:#fff}
.iwda-dashboard-logo-caption{font-size:9px;line-height:1.2;font-weight:950;letter-spacing:.16em;color:#074b91;text-align:center}
@media(max-width:760px){.iwda-dashboard-logo-wrap{width:94px;flex-basis:94px;padding:6px;border-radius:15px;gap:5px}.iwda-dashboard-logo-caption{font-size:7px;letter-spacing:.1em}}
@media(max-width:460px){.iwda-dashboard-logo-wrap{width:72px;flex-basis:72px;padding:4px;border-radius:12px;gap:3px;transform:none}.iwda-dashboard-logo{border-radius:8px}.iwda-dashboard-logo-caption{font-size:6px;letter-spacing:.04em}.iwda-dashboard-hero-row{gap:10px}.iwda-dashboard-hero-copy{flex:1}}



@media print{body *{visibility:hidden!important} .ledger-shell,.ledger-shell *{visibility:visible!important}.ledger-shell{position:absolute!important;left:0!important;top:0!important;width:100%!important;margin:0!important;padding:0!important}.ledger-actions,.ledger-status,.ledger-note{display:none!important}.ledger-panel{box-shadow:none!important;border:0!important;padding:0!important}.ledger-table-wrap{overflow:visible!important}.ledger-table{min-width:0!important;width:100%!important;table-layout:fixed!important;page-break-inside:auto}.ledger-table tr{page-break-inside:avoid;page-break-after:auto}.ledger-table thead{display:table-header-group}.ledger-table tfoot{display:table-footer-group}}



/* A4 landscape ledger: stronger type, clear alignment and print-safe table sizing. */
@media print {
  @page { size: A4 landscape; margin: 6mm; }
  .ledger-shell { width:100%!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
  .ledger-panel { padding:3mm!important; border-radius:0!important; background:#fff!important; }
  .ledger-heading h2 { font-size:19pt!important; font-weight:950!important; }
  .ledger-heading p { font-size:9pt!important; font-weight:700!important; }
  .ledger-kpis { gap:2mm!important; margin:3mm 0!important; }
  .ledger-kpi { padding:2mm!important; border-radius:2mm!important; }
  .ledger-kpi small { font-size:7.5pt!important; font-weight:950!important; }
  .ledger-kpi strong { font-size:12pt!important; font-weight:950!important; }
  .ledger-table-wrap { overflow:visible!important; border-radius:0!important; }
  .ledger-table { width:100%!important; min-width:0!important; table-layout:fixed!important; border-collapse:collapse!important; }
  .ledger-table th { padding:2mm 1mm!important; font-size:7.5pt!important; font-weight:950!important; line-height:1.15!important; }
  .ledger-table td { padding:1.8mm 1mm!important; font-size:7.2pt!important; font-weight:800!important; line-height:1.15!important; overflow-wrap:anywhere!important; }
  .ledger-table tfoot th { font-size:7.5pt!important; font-weight:950!important; }
  .ledger-grand-total { padding:3mm!important; margin-top:3mm!important; }
  .ledger-grand-total strong { font-size:15pt!important; }
  .ledger-actions,.ledger-status,.ledger-note,.iwda-year-toolbar { display:none!important; }
  .ledger-table tr { break-inside:avoid!important; }
  .ledger-table thead { display:table-header-group!important; }
  .ledger-table tfoot { display:table-footer-group!important; }
}
/* Receipt print: compact only on paper; preserve the on-screen receipt identity and palette. */
@media print {
  @page { size: A4 portrait; margin: 7mm; }
  body * { visibility:hidden!important; }
  #receiptPrint,#receiptPrint * { visibility:visible!important; }
  #receiptPrint {
    position:absolute!important; left:0!important; top:0!important;
    width:196mm!important; max-width:196mm!important; margin:0 auto!important;
    padding:0!important; border:2.5px solid #075332!important; border-radius:0!important;
    box-shadow:none!important; overflow:visible!important; box-sizing:border-box!important;
    break-inside:avoid!important; page-break-inside:avoid!important;
    -webkit-print-color-adjust:exact!important; print-color-adjust:exact!important;
  }
  #receiptPrint .receipt-brand { grid-template-columns:34mm 1fr 30mm!important; gap:3mm!important; padding:3mm 4mm!important; border-bottom-width:3px!important; }
  #receiptPrint .receipt-brand .brand-logo { max-height:24mm!important; width:100%!important; }
  #receiptPrint .receipt-brand .brand-name { font-size:16pt!important; line-height:1.08!important; }
  #receiptPrint .receipt-brand .tagline { font-size:8pt!important; margin-top:2mm!important; }
  #receiptPrint .receipt-no b { padding:2mm 1mm!important; font-size:8pt!important; }
  #receiptPrint .receipt-no span { padding:2mm 1mm!important; font-size:15pt!important; }
  #receiptPrint .receipt-title { padding:2.5mm!important; font-size:17pt!important; letter-spacing:.5px!important; }
  #receiptPrint .receipt-details { padding:3mm 7mm!important; }
  #receiptPrint .receipt-line { grid-template-columns:43mm 1fr!important; gap:3mm!important; padding:3mm 0!important; font-size:11pt!important; }
  #receiptPrint .receipt-line strong { font-size:10pt!important; }
  #receiptPrint .receipt-line .value { font-size:12pt!important; line-height:1.15!important; }
  #receiptPrint .receipt-thanks { margin:4mm 3mm!important; font-size:9.5pt!important; }
  #receiptPrint .receipt-rule { margin:0 7mm 3mm!important; height:2px!important; }
  #receiptPrint .receipt-footer { grid-template-columns:1fr 1fr 1fr!important; gap:3mm!important; padding:0 5mm 4mm!important; }
  #receiptPrint .receipt-footer .thank { font-size:8.5pt!important; }
  #receiptPrint .receipt-footer .sign { padding-top:2mm!important; font-size:8.5pt!important; }
  #receiptPrint .receipt-footer .org { font-size:7.5pt!important; }
  #receiptPrint:before { font-size:62pt!important; }
  #receiptPrint:after { font-size:12pt!important; }
  .toolbar,.no-print,.modal,.modalbox { display:none!important; }
}



/* Official IWDA financial documents — presentation only; no data or permissions changes. */
.ledger-shell{background:linear-gradient(135deg,#062653,#0b4c91 72%,#f28b13);padding:2px;border-radius:20px;}
.ledger-panel{background:#fff;border-radius:18px;padding:18px;overflow:hidden;}
.ledger-heading{display:flex;align-items:center;gap:18px;min-width:0;padding:20px 22px;margin:0 0 18px;border-radius:14px;background:linear-gradient(115deg,#062653 0%,#0b4c91 72%,#0879ad 100%);border-bottom:6px solid #f28b13;color:#fff;}
.ledger-heading>div{min-width:0;}
.ledger-eyebrow{font-size:11px;font-weight:900;letter-spacing:1.7px;color:#ffc06a;margin-bottom:7px;}
.ledger-association-name{font-size:clamp(14px,1.8vw,19px);font-weight:900;letter-spacing:.035em;line-height:1.25;color:#fff;margin-bottom:7px;}
.ledger-heading h2{margin:0!important;color:#fff!important;font-size:clamp(21px,3vw,31px)!important;font-weight:950;line-height:1.12;letter-spacing:.015em;}
.ledger-period{margin-top:7px;color:#ffe0a8;font-size:clamp(15px,2vw,20px);font-weight:900;letter-spacing:.06em;}
.ledger-heading p{margin:8px 0 0!important;color:#e7f1ff!important;font-size:11px;line-height:1.45;}
.ledger-heading img{flex:0 0 112px;width:112px!important;height:112px!important;object-fit:contain;background:#fff;border:3px solid #f28b13;border-radius:10px;padding:6px;box-shadow:0 4px 14px #001b3d55;}
.ledger-kpis{margin:16px 0 22px;gap:12px;}
.ledger-kpi{border-radius:12px;padding:13px 14px;box-shadow:0 3px 10px #102d4c0b;}
.ledger-kpi small{font-size:11px;letter-spacing:.07em;line-height:1.35;}
.ledger-kpi strong{font-size:clamp(18px,2.4vw,26px);font-variant-numeric:tabular-nums;}
.ledger-panel>h3{display:block;clear:both;position:relative;z-index:1;margin:22px 0 10px!important;padding:0 0 7px;border-bottom:2px solid #e7edf5;color:#0b347f!important;font-size:17px;line-height:1.3;font-weight:950;letter-spacing:.025em;}
.ledger-table-wrap{width:100%;margin:0 0 15px;border:1px solid #d7e3ef;border-radius:10px;overflow-x:auto;}
.ledger-table{width:100%;border-collapse:collapse;}
.ledger-table th{background:#0b347f;color:#fff;text-align:center;padding:11px 8px;font-size:12px;line-height:1.25;white-space:nowrap;}
.ledger-table th:nth-child(2),.ledger-table td:nth-child(2){text-align:left;}
.ledger-table td{padding:10px 8px;font-size:12px;line-height:1.3;font-weight:700;border-bottom:1px solid #e4edf5;font-variant-numeric:tabular-nums;}
.ledger-table tbody tr:nth-child(even) td{background:#f0f6fc;}
.ledger-table tfoot th{background:#d9f5e2;color:#075b32;border-top:2px solid #9acfae;font-size:12px;}
.ledger-grand-total{border-radius:10px;padding:17px 20px;background:#082e68;box-shadow:0 6px 18px #082e6822;}
.ledger-grand-total strong{color:#ffd447;font-variant-numeric:tabular-nums;}
.ledger-note{margin:12px 2px 2px;line-height:1.55;}
.receipt#receiptPrint{position:relative;isolation:isolate;display:flex;flex-direction:column;width:min(100%,820px);min-height:820px;margin:0 auto;padding:0;background:#fff;border:4px solid #075332;border-radius:12px;overflow:hidden;box-shadow:0 12px 32px rgba(7,83,50,.12);box-sizing:border-box;line-height:1.45;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
.receipt#receiptPrint:before{content:none!important;position:absolute;left:50%;top:50%;width:125%;transform:translate(-50%,-50%) rotate(-24deg);text-align:center;white-space:nowrap;font:900 clamp(58px,9vw,104px)/1 Arial,sans-serif;letter-spacing:5px;color:rgba(205,24,37,.15);pointer-events:none;z-index:0;}
.receipt#receiptPrint.receipt-recorded:before{content:"RECEIVED"!important;}
.receipt#receiptPrint:after{content:none!important;}
.receipt#receiptPrint>*{position:relative;z-index:1;}
.receipt#receiptPrint .receipt-brand{display:grid;grid-template-columns:minmax(110px,150px) minmax(0,1fr) minmax(110px,140px);align-items:center;gap:15px;padding:18px 20px;border-bottom:6px solid #075332;}
.receipt#receiptPrint .brand-logo{width:100%;height:125px;max-height:125px;object-fit:contain;padding:5px;background:#fff;border:1px solid #e0e9e3;border-radius:7px;}
.receipt#receiptPrint .brand-name{text-align:center;color:#075332;font-family:Arial,sans-serif;font-size:clamp(17px,2.4vw,25px);font-weight:950;line-height:1.16;letter-spacing:.015em;overflow-wrap:anywhere;}
.receipt#receiptPrint .tagline{margin-top:9px;color:#426a55;font-size:13px;font-style:italic;font-weight:700;line-height:1.35;}
.receipt#receiptPrint .receipt-no{border:2px solid #075332;border-radius:8px;text-align:center;overflow:hidden;}
.receipt#receiptPrint .receipt-no b{display:block;padding:9px 4px;background:#075332;color:#fff;font-size:12px;letter-spacing:.07em;}
.receipt#receiptPrint .receipt-no span{display:block;padding:12px 5px;color:#075332;font-size:clamp(16px,2.3vw,23px);font-weight:950;line-height:1.15;overflow-wrap:anywhere;}
.receipt#receiptPrint .receipt-title{background:#075332;color:#fff;text-align:center;padding:15px 10px;font:bold clamp(23px,3.4vw,30px)/1.2 Arial,sans-serif;letter-spacing:.06em;}
.receipt#receiptPrint .receipt-details{display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-evenly;min-height:320px;padding:25px 34px;}
.receipt#receiptPrint .receipt-line{display:grid;grid-template-columns:minmax(150px,205px) minmax(0,1fr);align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #9ab4a3;font-size:16px;line-height:1.4;}
.receipt#receiptPrint .receipt-line strong{color:#315b43;font-size:15px;font-weight:850;}
.receipt#receiptPrint .receipt-line .value{min-width:0;color:#173b2a;font-size:20px;font-weight:900;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
.receipt#receiptPrint .receipt-line:nth-child(2) .value{font-size:27px;color:#075332;}
.receipt#receiptPrint .receipt-thanks{max-width:690px;margin:18px auto;padding:0 22px;color:#174c31;text-align:center;font-size:15px;font-style:italic;font-weight:700;line-height:1.6;}
.receipt#receiptPrint .receipt-rule{height:4px;margin:4px 26px 15px;background:#d6a52b;flex-shrink:0;}
.receipt#receiptPrint .receipt-footer{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:14px;margin-top:auto;padding:0 22px 24px;color:#075332;text-align:center;font-family:Arial,sans-serif;}
.receipt#receiptPrint .receipt-footer .thank{font-size:14px;font-weight:850;line-height:1.45;text-align:left;}
.receipt#receiptPrint .receipt-footer .sign{border-top:1px solid #075332;padding-top:9px;font-size:13px;line-height:1.45;}
.receipt#receiptPrint .receipt-footer .org{font-size:12px;font-weight:900;line-height:1.4;}
@media(max-width:650px){
 .ledger-panel{padding:11px;}
 .ledger-heading{gap:10px;padding:13px 12px;}
 .ledger-heading img{flex-basis:74px;width:74px!important;height:74px!important;padding:4px;}
 .ledger-eyebrow{font-size:9px;letter-spacing:1px;}
 .ledger-association-name{font-size:12px;}
 .ledger-heading p{font-size:9px;}
 .ledger-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
 .ledger-kpi small{font-size:9px;}
 .ledger-kpi strong{font-size:16px;}
 .receipt#receiptPrint{min-height:0;border-width:3px;border-radius:8px;}
 .receipt#receiptPrint .receipt-brand{grid-template-columns:78px minmax(0,1fr);gap:9px;padding:10px;}
 .receipt#receiptPrint .brand-logo{height:78px;max-height:78px;}
 .receipt#receiptPrint .brand-name{font-size:14px;}
 .receipt#receiptPrint .tagline{font-size:10px;margin-top:5px;}
 .receipt#receiptPrint .receipt-no{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:0;}
 .receipt#receiptPrint .receipt-no b,.receipt#receiptPrint .receipt-no span{padding:7px 12px;font-size:13px;}
 .receipt#receiptPrint .receipt-title{font-size:21px;padding:12px 6px;}
 .receipt#receiptPrint .receipt-details{min-height:0;padding:12px 15px;}
 .receipt#receiptPrint .receipt-line{grid-template-columns:112px minmax(0,1fr);gap:8px;padding:11px 0;}
 .receipt#receiptPrint .receipt-line strong{font-size:12px;}
 .receipt#receiptPrint .receipt-line .value{font-size:15px;}
 .receipt#receiptPrint .receipt-line:nth-child(2) .value{font-size:19px;}
 .receipt#receiptPrint .receipt-thanks{font-size:12px;margin:12px 8px;padding:0 6px;}
 .receipt#receiptPrint .receipt-footer{grid-template-columns:1fr 1fr;gap:10px;padding:0 12px 15px;}
 .receipt#receiptPrint .receipt-footer .thank{grid-column:1/-1;text-align:center;}
 .receipt#receiptPrint .receipt-footer .org{font-size:10px;}
}
@media print{
 .receipt#receiptPrint{box-shadow:none!important;border-radius:0!important;}
 .receipt#receiptPrint .receipt-brand,.receipt#receiptPrint .receipt-line,.receipt#receiptPrint .receipt-footer{break-inside:avoid;page-break-inside:avoid;}
 .ledger-actions,.ledger-status,.iwda-year-toolbar,.sidebar,.top,.toolbar,.no-print{display:none!important;}
}



/* Premium official announcement presentation — scoped to the Announcements page only */
.announcements-dashboard{gap:22px}
.announcements-hero{
 background:linear-gradient(128deg,#062b55 0%,#0b477e 54%,#0b6678 100%);
 border:1px solid rgba(255,255,255,.16);
 box-shadow:0 16px 38px rgba(4,35,68,.2)
}
.announcements-eyebrow{font-size:11px;font-weight:900;letter-spacing:1.7px}
.announcements-hero h2{font-weight:950;text-shadow:0 1px 1px rgba(0,0,0,.12)}
.announcements-hero p{font-weight:600}
.announcements-count{
 display:inline-flex;align-items:center;min-height:36px;padding:8px 13px;
 border:1px solid #d9e7f4;border-radius:12px;background:#f2f7fc;
 color:#123b68;font-size:12px;font-weight:850;letter-spacing:.15px
}
.announcement-premium-card{
 padding:clamp(20px,3.2vw,29px);
 border:1px solid #d8e3ef;border-radius:18px;
 background:linear-gradient(145deg,#fff 0%,#fbfdff 100%);
 box-shadow:0 7px 22px rgba(9,39,74,.075)
}
.announcement-premium-card:before{width:5px;background:linear-gradient(180deg,#f59e0b 0%,#0c477e 48%,#087c65 100%)}
.announcement-premium-card h3{
 color:#092f5c;font-size:clamp(20px,2.5vw,25px);font-weight:950;
 line-height:1.3;letter-spacing:-.35px;margin-top:2px
}
.announcement-message{
 color:#182f4b;font-size:clamp(14px,1.5vw,15.5px);
 font-weight:650;line-height:1.85;letter-spacing:.04px;
 margin-top:16px;white-space:pre-wrap
}
.announcement-official-tag{
 border-color:#c9e4dc;background:#edf8f3;color:#075b43;
 font-size:10px;font-weight:900;letter-spacing:.9px
}
.announcement-official-tag span{background:#07845f;box-shadow:0 0 0 3px rgba(8,132,95,.12)}
.announcement-date{font-weight:750;color:#53677f}
.announcement-card-meta{margin-bottom:16px}
.announcement-card-actions{border-top:1px solid #dce6f0}
.announcements-empty{box-shadow:0 7px 22px rgba(9,39,74,.05)}
.announcements-empty h3{font-weight:900;color:#092f5c}
.announcements-empty p{font-weight:600}
@media(max-width:560px){
 .announcements-dashboard{gap:16px}
 .announcement-premium-card{padding:19px 17px}
 .announcement-premium-card h3{font-size:20px}
 .announcement-message{font-size:14px;line-height:1.8}
 .announcements-count{width:100%;justify-content:center}
}
@media(prefers-color-scheme:dark){
 .announcement-premium-card{background:var(--card,#fff);border-color:var(--line,#334155)}
 .announcement-premium-card h3{color:var(--ink,#e2e8f0)}
 .announcement-message{color:var(--ink,#dbeafe)}
 .announcements-count{background:var(--card,#fff);color:var(--ink,#e2e8f0);border-color:var(--line,#334155)}
 .announcement-date{color:var(--muted,#94a3b8)}
}



/* Premium notification styling — visual-only; notification data and read actions unchanged */
#modal .modalbox{border:1px solid #d8e4ef;box-shadow:0 24px 70px rgba(5,31,58,.24)}
#modal .modalhead{background:linear-gradient(120deg,#082f5d 0%,#0b477e 62%,#0b665f 100%);color:#fff;padding:18px 20px;border-bottom:3px solid #ed9b27}
#modal .modalhead h3{color:#fff;font-size:19px;font-weight:950;letter-spacing:.1px}
#modal .modalhead .btn.secondary{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.28)}
#modal #modalBody{padding:20px;background:linear-gradient(180deg,#f5f8fc 0%,#fff 100%)}
#modal .notif-list{gap:13px;max-height:66vh;padding:2px 4px 5px}
#modal .notif{
 position:relative;overflow:hidden;display:block;padding:17px 18px 15px 20px;
 border:1px solid #dce6f0;border-radius:15px;background:#fff;
 box-shadow:0 5px 17px rgba(10,42,76,.065);
 transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
 color:#17314f
}
#modal .notif:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#9aacc0}
#modal .notif.unread{border-color:#c8dced;background:linear-gradient(110deg,#f0f7ff 0%,#fff 76%);border-left:1px solid #c8dced}
#modal .notif.unread:before{background:linear-gradient(180deg,#f2a52b 0%,#0c4b83 100%)}
#modal .notif[role="button"]{cursor:pointer}
#modal .notif[role="button"]:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(10,42,76,.12);border-color:#a9c5df}
#modal .notif[role="button"]:focus-visible{outline:3px solid rgba(21,104,169,.28);outline-offset:2px}
#modal .notif-title{font-size:15px;line-height:1.45;font-weight:950;color:#092f5c;margin-bottom:8px;letter-spacing:-.1px}
#modal .notif>div:not(.notif-title):not(.notif-meta){font-size:13.5px;line-height:1.75;font-weight:650;color:#30465f;overflow-wrap:anywhere}
#modal .notif-meta{display:flex;align-items:center;gap:6px;margin-top:11px;padding-top:9px;border-top:1px solid #e8eef5;color:#687b91;font-size:11px;font-weight:750}
#modal .notif.unread .notif-meta:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#e89b22;box-shadow:0 0 0 3px rgba(232,155,34,.13)}
#modal .toolbar{margin-top:15px}
#modal .toolbar .btn{font-weight:850;border-radius:10px}
#modal .empty{padding:30px 18px;border:1px dashed #cbd9e7;border-radius:15px;background:#fff;color:#60748a;font-weight:700;text-align:center}
#notifBadge{min-width:21px;height:21px;font-weight:950;box-shadow:0 0 0 2px #fff}
@media(max-width:560px){
 #modal .modalhead{padding:15px 16px}
 #modal #modalBody{padding:13px}
 #modal .notif{padding:15px 14px 13px 17px;border-radius:13px}
 #modal .notif-title{font-size:14px}
 #modal .notif>div:not(.notif-title):not(.notif-meta){font-size:13px}
}



/* Personal welcome greeting — dashboard hero only */
#iwda-dashboard-greeting{
 display:flex;align-items:center;gap:10px;
 font-size:clamp(27px,3.2vw,37px)!important;
 line-height:1.16!important;font-weight:950!important;
 letter-spacing:-.85px!important;color:#fff!important;
 text-shadow:0 2px 12px rgba(0,0,0,.13);
}
#iwda-dashboard-greeting:after{
 content:"";display:inline-block;width:9px;height:9px;flex:0 0 9px;
 border-radius:50%;background:#f4b23e;
 box-shadow:0 0 0 5px rgba(244,178,62,.16);
}
.iwda-dashboard-hero .iwda-dashboard-eyebrow{
 letter-spacing:.17em;font-weight:900
}
.iwda-dashboard-hero .iwda-dashboard-hero-copy>p{
 color:#edf7ff;font-weight:600;max-width:650px
}
@media(max-width:560px){
 #iwda-dashboard-greeting{font-size:26px!important;letter-spacing:-.55px!important}
}





/* IWDA CONNECT — final premium polish layer
   Visual-only CSS: no IDs, data, calculations, permissions, or event handlers changed. */
:root{
  --iwda-premium-ink:#102f4b;
  --iwda-premium-muted:#667d91;
  --iwda-premium-line:#d9e6f0;
  --iwda-premium-shadow:0 14px 36px rgba(8,48,82,.085);
}
html{scroll-behavior:smooth}
body{color:var(--iwda-premium-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.sidebar{
  background:linear-gradient(180deg,#052f56 0%,#064879 58%,#073d68 100%);
  box-shadow:8px 0 28px rgba(4,35,62,.10);
  border-right:1px solid rgba(255,255,255,.08);
}
.brand{padding-bottom:20px}
.brand img{box-shadow:0 5px 16px rgba(0,0,0,.13);border:1px solid rgba(255,255,255,.55)}
.nav button{
  min-height:44px;border:1px solid transparent;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.nav button:hover{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.10);transform:translateX(2px)}
.nav button.active{
  background:linear-gradient(100deg,rgba(255,255,255,.20),rgba(255,255,255,.08));
  border-color:rgba(255,255,255,.18);box-shadow:inset 3px 0 #f1c75b;
}
.main{padding-top:22px}
.top{min-height:54px}
.top h1{font-weight:850;letter-spacing:-.55px;color:#0a3558}
.card,.dash-card,.kpi,.tablewrap,.modalbox{
  box-shadow:var(--iwda-premium-shadow);
}
.card,.dash-card,.kpi{border-color:var(--iwda-premium-line)}
.card,.dash-card{transition:box-shadow .2s ease,border-color .2s ease}
.card:hover,.dash-card:hover{border-color:#c4d9e9;box-shadow:0 17px 40px rgba(8,48,82,.10)}
.btn,button{transition:filter .16s ease,transform .16s ease,box-shadow .16s ease}
.btn:hover{filter:brightness(1.035);transform:translateY(-1px)}
.btn:active,button:active{transform:translateY(0)}
.btn.primary{background:linear-gradient(135deg,#07579d,#0b75b9);box-shadow:0 6px 15px rgba(7,87,157,.18)}
.btn.danger{box-shadow:0 4px 12px rgba(217,45,32,.07)}
.input:focus,.select:focus,.textarea:focus,input:focus,select:focus,textarea:focus{
  outline:none;border-color:#4a9bd0;box-shadow:0 0 0 3px rgba(11,109,183,.13)
}
.tablewrap{border-color:#d8e5ef}
.table{border-collapse:separate;border-spacing:0}
.table th{
  position:sticky;top:0;z-index:1;
  background:linear-gradient(180deg,#0a5f9f,#074b82);
  letter-spacing:.035em;text-transform:uppercase;font-size:10.5px;
}
.table td{vertical-align:middle}
.table tbody tr{transition:background .15s ease}
.table tbody tr:hover{background:#edf7ff}
.status{letter-spacing:.02em;padding:5px 9px}
.modalbox{border:1px solid #dce8f1;box-shadow:0 24px 70px rgba(3,28,49,.25)}
.modalhead{padding-bottom:12px;border-bottom:1px solid #edf2f6}
.section h2{font-weight:850;letter-spacing:-.25px;color:#103c60}
.pill,.cloud-badge{border:1px solid rgba(7,87,157,.08)}
.kpi .value,.metric{font-variant-numeric:tabular-nums;letter-spacing:-.55px}
.kpi-grid{align-items:stretch}
.kpi{display:flex;flex-direction:column;justify-content:flex-start}
.kpi .sub{line-height:1.5}
.dash-hero{isolation:isolate}
.dash-hero h2{font-weight:900}
.progress-xl,.progress{box-shadow:inset 0 1px 2px rgba(10,45,72,.06)}
.quick-actions button{font-weight:750;box-shadow:0 4px 12px rgba(8,48,82,.035);transition:all .18s ease}
.quick-actions button:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(8,48,82,.09)}
.receipt{box-shadow:0 10px 30px rgba(10,35,55,.08);border-radius:14px}
.small{line-height:1.55}
:focus-visible{outline:3px solid rgba(17,133,194,.38)!important;outline-offset:2px}
@media(max-width:900px){
  .sidebar{box-shadow:4px 0 18px rgba(4,35,62,.10)}
  .main{padding-top:16px}
}
@media(max-width:600px){
  .main{padding:11px}
  .top{gap:8px}
  .kpi{padding:15px;border-radius:15px}
  .kpi .value{font-size:clamp(19px,5vw,24px)}
  .dash-hero{padding:20px;border-radius:18px}
  .dash-card{padding:16px;border-radius:16px}
  .tablewrap{border-radius:10px}
  .toolbar .btn{min-height:42px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{transition:none!important;animation:none!important}
}




.fm-source-balance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 14px}
.fm-source-balance>div{padding:12px;border:1px solid #d8e7f2;border-radius:11px;background:#f5faff;min-width:0}
.fm-source-balance span{display:block;font-size:11px;color:#62798c;font-weight:700}
.fm-source-balance strong{display:block;margin-top:5px;font-size:18px;color:#123e60;overflow-wrap:anywhere}
.fm-source-note{grid-column:1/-1;margin:0;padding:9px 11px;border-radius:9px;background:#f5f8fb;color:#52697d;font-size:12px;line-height:1.45}
#fmExSubmit:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:520px){.fm-source-balance{grid-template-columns:1fr 1fr}.fm-source-balance strong{font-size:15px}}



.fm-entry-intro{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin:0 0 16px;border:1px solid #dce6ef;border-radius:13px;background:linear-gradient(135deg,#f7fbff,#fff)}
.fm-entry-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;background:#e8f1f8;color:#123e60;font-size:19px;font-weight:800}
.fm-entry-intro strong{display:block;color:#153c5c;font-size:14px;margin-bottom:3px}
.fm-entry-intro p{margin:0;color:#63778a;font-size:12px;line-height:1.5}
.fm-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.fm-entry-grid .field{min-width:0}
.fm-entry-grid .field.full{grid-column:1/-1}
.fm-entry-grid label{display:block;margin:0 0 6px;font-size:12px;font-weight:750;color:#344b60}
.fm-entry-grid .input,.fm-entry-grid .select,.fm-entry-grid .textarea{width:100%;min-height:43px;border:1px solid #ccd8e3;border-radius:10px;padding:10px 12px;background:#fff;color:#1c3449;font:inherit}
.fm-entry-grid .textarea{min-height:88px;resize:vertical}
.fm-entry-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.fm-entry-summary>div{padding:12px;border:1px solid #dce6ef;border-radius:11px;background:#f8fbfd}
.fm-entry-summary span{display:block;color:#687d90;font-size:11px;font-weight:700}
.fm-entry-summary b{display:block;margin-top:4px;color:#123e60;font-size:17px}
.fm-entry-actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:17px;padding-top:13px;border-top:1px solid #e6edf2}
.fm-entry-actions .btn{min-height:42px}
@media(max-width:560px){.fm-entry-grid{grid-template-columns:1fr}.fm-entry-grid .field.full{grid-column:auto}.fm-entry-actions{display:grid;grid-template-columns:1fr 1fr}.fm-entry-actions .btn{width:100%}}



:root{--navy:#062f57;--blue3:#0a67ad;--soft:#f5f9fd}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{min-width:320px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #58b8ee;outline-offset:2px}
.sidebar{background:linear-gradient(180deg,#062f57 0%,#074477 100%);box-shadow:5px 0 24px rgba(5,42,75,.08)}
.nav button{transition:background .18s ease,transform .18s ease}
.nav button.active{background:rgba(255,255,255,.16);box-shadow:inset 3px 0 #70c5f0}
.main{min-width:0}
.top{gap:12px;min-width:0}
.top>div:last-child{flex-wrap:wrap;justify-content:flex-end}
.mobile-nav{display:none}
@media(max-width:700px){
 .sidebar{display:none!important}
 .main{margin-left:0!important;width:100%!important;padding:12px 12px calc(86px + env(safe-area-inset-bottom))!important}
 .top{position:sticky;top:0;z-index:30;display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;padding:8px 0 12px;background:rgba(245,249,253,.97);backdrop-filter:blur(14px)}
 .top>div:first-child{flex:1 1 100%;min-width:0}
 .top>div:last-child{width:100%;justify-content:flex-start;gap:6px!important}
 .top h1{font-size:20px;line-height:1.2;margin:0 0 3px}
 .top .small{font-size:11px}
 .top .btn,.top .pill,.top .cloud-badge{font-size:11px;padding:7px 9px;min-height:34px}
 .dash-hero{padding:19px!important;border-radius:18px!important}
 .dash-hero h2{font-size:23px!important}
 .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .kpi{min-width:0;padding:13px!important;min-height:118px!important}
 .kpi .value{font-size:clamp(17px,5vw,22px)!important;overflow-wrap:anywhere}
 .dash-grid,.split-grid{grid-template-columns:1fr!important}
 .dash-card{padding:15px!important}
 .mobile-nav{display:flex;position:fixed;z-index:60;left:0;right:0;bottom:0;gap:2px;padding:7px 6px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #dbe7f1;box-shadow:0 -8px 26px rgba(12,43,70,.10);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .mobile-nav::-webkit-scrollbar{display:none}
 .mobile-nav button{flex:0 0 64px;min-width:64px;min-height:53px;border:0;border-radius:11px;background:transparent;color:#60758a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:700;padding:4px 2px}
 .mobile-nav button.active{color:#075b98;background:#eaf5ff}
 .mobile-nav-icon{font-size:19px;line-height:1.1}
 .tablewrap,.fm-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 input,select,textarea{max-width:100%}
 .modal{padding:10px!important;align-items:flex-end!important}
 .modalbox{width:100%!important;max-width:100%!important;max-height:90vh!important;border-radius:18px 18px 10px 10px!important;overflow:auto}
}
@media(min-width:701px) and (max-width:900px){.sidebar{width:78px}.brand div,.nav span{display:none}.brand{justify-content:center}.nav button{text-align:center}.main{margin-left:78px;width:calc(100% - 78px)}.mobile-nav{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.mobile-nav{display:none!important}}


.iwda-active-count{display:flex;align-items:center;gap:6px;margin-top:5px;color:#168447;font-size:12px}.iwda-active-count b,.iwda-active-count strong{font-weight:900}.iwda-dashboard-welcome{margin:2px 0 8px!important;font-weight:800!important;color:#fff!important;font-size:15px!important}.nav button[hidden],.mobile-nav button[hidden]{display:none!important}


/* Consistent navigation alignment on desktop, tablet and mobile */
.sidebar .nav{display:flex;flex-direction:column;gap:4px}
.sidebar .nav button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;min-height:46px!important;padding:10px 14px!important;text-align:left!important;line-height:1.25!important}
.sidebar .nav button span{display:inline!important;min-width:0;white-space:normal}
@media(max-width:900px){.sidebar .nav button{justify-content:center!important;padding:10px 8px!important}.sidebar .nav button span{display:none!important}}
.mobile-nav{align-items:stretch!important;justify-content:space-around!important;gap:4px!important}
.mobile-nav button{flex:1 1 70px!important;min-width:70px!important;max-width:92px!important;min-height:58px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;text-align:center!important;white-space:nowrap!important}
.mobile-nav button .mobile-nav-icon{display:block!important;line-height:1.1!important;font-size:19px!important}
.mobile-nav button span:last-child{display:block!important;font-size:10px!important;line-height:1.15!important}
.iwda-active-count{font-weight:900!important;color:#168447!important}
.iwda-active-count strong{font-weight:950!important;color:#168447!important}

/* Final navigation alignment: consistent icon/label rhythm on every screen */
.sidebar .nav button{box-sizing:border-box;min-height:48px!important;border-radius:10px!important}
.sidebar .nav button>span{flex:1;text-align:left}
.mobile-nav button{box-sizing:border-box;align-self:stretch}
.mobile-nav button span:last-child{min-height:12px;display:flex!important;align-items:center;justify-content:center}



/* Final Home navigation alignment across desktop, tablet and phones */
.sidebar .nav{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.sidebar .nav button{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:48px;width:100%;padding:10px 14px;line-height:1.2}
.sidebar .nav button>span{flex:1;min-width:0;text-align:left}
.mobile-nav{box-sizing:border-box;display:flex;align-items:stretch;justify-content:flex-start;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.mobile-nav::-webkit-scrollbar{display:none}
.mobile-nav button{box-sizing:border-box;flex:0 0 68px;min-width:68px;max-width:68px;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 3px;text-align:center;white-space:normal}
.mobile-nav button .mobile-nav-icon{display:block;line-height:1.1;font-size:19px}
.mobile-nav button span:last-child{display:flex;align-items:center;justify-content:center;min-height:22px;width:100%;font-size:10px;line-height:1.1;text-align:center;overflow-wrap:anywhere}
@media(min-width:701px){.mobile-nav{display:none!important}}
@media(max-width:700px){.mobile-nav{padding-left:8px;padding-right:8px}.mobile-nav button{flex-basis:68px;min-width:68px;max-width:68px}}



/* Member dashboard welcome, KPI labels and consistent navigation alignment */
.iwda-dashboard-welcome{display:block!important;margin:5px 0 10px!important;font-weight:850!important;font-size:15px!important;line-height:1.4!important;color:#fff!important}
.kpi{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0}
.kpi .value{display:block;width:100%;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.kpi .sub{display:block!important;visibility:visible!important;opacity:1!important;font-weight:750!important;line-height:1.4!important;min-height:2.7em}
.sidebar .nav{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.sidebar .nav button{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-height:48px!important;padding:10px 14px!important;text-align:left!important;line-height:1.25!important}
.sidebar .nav button .nav-icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 25px;width:25px;min-width:25px;text-align:center;font-size:18px}
.sidebar .nav button>span:last-child{display:block!important;flex:1;min-width:0;text-align:left;white-space:normal}
@media(max-width:900px){.sidebar .nav button{gap:8px!important;padding:9px 10px!important}.sidebar .nav button .nav-icon{flex-basis:23px;width:23px;min-width:23px}}
@media(max-width:700px){.mobile-nav{display:flex;align-items:stretch;justify-content:flex-start;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.mobile-nav button{box-sizing:border-box;flex:0 0 70px;min-width:70px;max-width:70px;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 3px;text-align:center;white-space:normal}.mobile-nav button>span:last-child{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.4em;line-height:1.2;text-align:center;overflow-wrap:anywhere}.mobile-nav .mobile-nav-icon{display:flex;align-items:center;justify-content:center;min-height:22px;font-size:19px}}



/* Keep interactive elements visually steady: remove hover/tap scaling and lift animations. */
:where(button, a, [role="button"], .kpi, .dash-card, .health-ring, .quick-actions button, .announcement-premium-card, .mobile-nav button):is(:hover, :active, :focus-visible) {
  transform: none !important;
}
:where(button, a, [role="button"], .kpi, .dash-card, .health-ring, .quick-actions button, .announcement-premium-card, .mobile-nav button) {
  transition-property: color, background-color, border-color, box-shadow, opacity !important;
}



/* Make every form title and field label clear and readable across the app. */
#modal .modalhead h3, #modalTitle {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 900 !important;
}
#modal .modalbox label,
#modal .modalbox form label,
#modal .modalbox .field label,
#modal .modalbox .fm-form-field label,
#modal .modalbox .fm-entry-grid label,
#modal .modalbox label[for],
form label,
.field label,
.fm-form-field label {
  display: block !important;
  color: #173b5b !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  margin: 0 0 7px !important;
}
#modal .modalbox input::placeholder,
#modal .modalbox textarea::placeholder {
  color: #718397 !important;
  opacity: 1 !important;
}



#iwdaMemberSupportButton{position:fixed;right:20px;bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:1200;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 19px;border:0;border-radius:999px;background:#168447;color:#fff!important;text-decoration:none!important;font:800 14px/1.1 system-ui,-apple-system,Segoe UI,sans-serif;letter-spacing:.1px;box-shadow:0 8px 24px rgba(12,45,32,.28);transition:transform .18s ease,box-shadow .18s ease}
#iwdaMemberSupportButton:hover{transform:translateY(-2px);box-shadow:0 11px 28px rgba(12,45,32,.34)}
#iwdaMemberSupportButton:focus-visible{outline:3px solid #d5a83b;outline-offset:3px}
#iwdaMemberSupportButton .iwda-support-icon{width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;font-size:21px;line-height:1}
@media(max-width:640px){#iwdaMemberSupportButton{right:13px;bottom:calc(84px + env(safe-area-inset-bottom,0px));min-height:47px;padding:0 15px;font-size:13px}}
@media print{#iwdaMemberSupportButton{display:none!important}}



/* IWDA Connect PWA upgrade: startup screen and discreet connectivity state. */
#iwdaStartupScreen{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 50% 35%,#145b9f 0%,#073b70 52%,#041f43 100%);color:#fff;transition:opacity .28s ease,visibility .28s ease}
#iwdaStartupScreen.iwda-startup-hidden{opacity:0;visibility:hidden;pointer-events:none}
#iwdaStartupScreen .iwda-startup-card{display:flex;flex-direction:column;align-items:center;gap:17px;text-align:center;max-width:320px}
#iwdaStartupScreen .iwda-startup-icon{display:block;width:clamp(112px,30vw,164px);height:clamp(112px,30vw,164px);object-fit:contain;border-radius:28px;filter:drop-shadow(0 15px 28px rgba(0,0,0,.28))}
#iwdaStartupScreen .iwda-startup-spinner{width:27px;height:27px;border:3px solid rgba(255,255,255,.25);border-top-color:#f5b32b;border-radius:50%;animation:iwdaStartupSpin .85s linear infinite}
#iwdaStartupScreen .iwda-startup-label{margin:0;color:#f2f7ff;font:600 13px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;letter-spacing:.035em}
#iwdaStartupScreen .iwda-startup-retry{display:none;max-width:280px;color:#eaf3ff;font:500 12px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}
#iwdaStartupScreen .iwda-startup-retry button{margin-top:10px;padding:9px 17px;border:1px solid rgba(255,255,255,.65);border-radius:999px;background:#fff;color:#073b70;font-weight:800}
@keyframes iwdaStartupSpin{to{transform:rotate(360deg)}}
#iwdaConnectionStatus{position:fixed;top:10px;right:12px;z-index:90000;display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid rgba(15,62,105,.12);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 3px 12px rgba(5,38,72,.10);color:#14517f;font:750 11px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;backdrop-filter:blur(8px)}
#iwdaConnectionStatus:before{content:"";width:7px;height:7px;border-radius:50%;background:#16834b}
#iwdaConnectionStatus.is-offline{background:#fff8e9;color:#875600;border-color:#f0d9a8}
#iwdaConnectionStatus.is-offline:before{background:#d58a12}
@media(prefers-reduced-motion:reduce){#iwdaStartupScreen{transition:none}#iwdaStartupScreen .iwda-startup-spinner{animation:none}}
@media print{#iwdaConnectionStatus,#iwdaStartupScreen{display:none!important}}



/* Top bar: bell on the left, sign-out on the right (single row). The title block stays hidden. */
#iwdaConnectionStatus{display:inline-flex!important;top:auto!important;left:auto!important;right:12px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;z-index:95000!important}
.app .main > .top{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;min-height:0!important;padding:8px 0!important;margin:0 0 8px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.app .main > .top > div:first-of-type{display:none!important}
.app .main > .top > div:last-of-type{display:flex!important;width:auto!important;flex:0 0 auto!important;justify-content:flex-end!important;align-items:center!important;gap:0!important;margin-left:auto}
.app .main > .top > div:last-of-type > *:not(#roleBtn){display:none!important}
.app .main > .top #roleBtn{display:inline-flex!important;visibility:visible!important;opacity:1!important}
.app .main > .top #iwdaBellBtn{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;flex:0 0 auto}



#iwdaConnectionStatus{display:inline-flex!important;position:fixed!important;top:auto!important;left:auto!important;right:12px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;z-index:95000!important}
@media(max-width:700px){#iwdaConnectionStatus{bottom:calc(70px + env(safe-area-inset-bottom))!important;right:10px!important}}



/* IWDA Connect - Announcements v2 + Communication Centre (scoped: .iwx-*) */
.iwx-page{max-width:900px;margin:0 auto;color:#12304a}
.iwx-hero{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px;padding:22px 20px;border-radius:18px;background:linear-gradient(120deg,#082f5d 0%,#0b477e 70%,#0b665f 100%);border-bottom:3px solid #ed9b27;color:#fff}
.iwx-hero h2{margin:0 0 6px;color:#fff;font-size:clamp(23px,5.5vw,30px);font-weight:900;letter-spacing:-.02em;line-height:1.15}
.iwx-hero p{margin:0;max-width:44ch;color:#dbe8f6;font-size:14px;line-height:1.55}
.iwx-hero-actions{display:flex;flex-wrap:wrap;gap:8px}
.iwx-btn{appearance:none;border:1px solid transparent;border-radius:11px;min-height:44px;padding:0 16px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;line-height:1.2}
.iwx-btn:focus-visible,.iwx-chip:focus-visible,.iwx-tile:focus-visible,.iwx-more:focus-visible,.iwx-link:focus-visible,.iwx-back:focus-visible{outline:3px solid rgba(237,155,39,.55);outline-offset:2px}
.iwx-btn-main{background:#ed9b27;color:#2a1a00}
.iwx-btn-main:hover{background:#f2a83f}
.iwx-btn-ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.35);color:#fff}
.iwx-btn-ghost:hover{background:rgba(255,255,255,.2)}
.iwx-btn-soft{background:#f1f6fb;border-color:#d3e1ee;color:#0b477e}
.iwx-btn-danger{background:#fff;border-color:#efc4c0;color:#a12b2b}
.iwx-tools{display:flex;flex-direction:column;gap:10px;margin:16px 0 6px}
.iwx-chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.iwx-chips::-webkit-scrollbar{display:none}
.iwx-chip{flex:0 0 auto;appearance:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid #cfe0ef;background:#fff;color:#27465f;font:inherit;font-size:13.5px;font-weight:800;cursor:pointer}
.iwx-chip em{font-style:normal;min-width:20px;padding:1px 6px;border-radius:999px;background:#eaf2fa;color:#27465f;font-size:12px;text-align:center}
.iwx-chip[aria-pressed="true"]{background:#0b477e;border-color:#0b477e;color:#fff}
.iwx-chip[aria-pressed="true"] em{background:rgba(255,255,255,.2);color:#fff}
.iwx-search input{width:100%;box-sizing:border-box;min-height:46px;padding:0 14px;border:1px solid #cfe0ef;border-radius:12px;background:#fff;font:inherit;font-size:16px;color:#12304a}
.iwx-search input:focus{outline:none;border-color:#0b6db7;box-shadow:0 0 0 4px rgba(11,109,183,.14)}
.iwx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.iwx-count{margin:10px 2px 12px;color:#5d7288;font-size:12.5px;font-weight:700}
.iwx-card{position:relative;margin:0 0 12px;padding:16px 16px 14px 18px;border:1px solid #d8e4ef;border-left:5px solid #0b6db7;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(7,55,95,.05)}
.iwx-lv-urgent{border-left-color:#d92d20;background:linear-gradient(90deg,#fff7f6 0,#fff 46%)}
.iwx-lv-important{border-left-color:#e08a00}
.iwx-card-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-bottom:10px}
.iwx-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.iwx-pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:850}
.iwx-pill-urgent{background:#d92d20;color:#fff}
.iwx-pill-important{background:#fdecc8;color:#7a4a00}
.iwx-pill-general{background:#e4f0fb;color:#0b477e}
.iwx-pill-cat{background:#f1f4f8;color:#41566b}
.iwx-new{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:850;color:#0b477e}
.iwx-new:before{content:"";width:8px;height:8px;border-radius:50%;background:#e08a00}
.iwx-date{color:#5d7288;font-size:12.5px;font-weight:700}
.iwx-card-title{margin:0 0 8px;color:#082f5d;font-size:clamp(17px,4.4vw,20px);font-weight:900;line-height:1.3;letter-spacing:-.01em;overflow-wrap:anywhere}
.iwx-body{color:#2b4560;font-size:14.5px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;max-width:72ch}
.iwx-clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.iwx-clamp.iwx-open{display:block;-webkit-line-clamp:unset;overflow:visible}
.iwx-more{appearance:none;margin-top:6px;padding:8px 0;border:0;background:none;color:#0b6db7;font:inherit;font-size:13.5px;font-weight:850;cursor:pointer}
.iwx-card-foot{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:12px;padding-top:10px;border-top:1px solid #e8eef5;color:#5d7288;font-size:12.5px;font-weight:700}
.iwx-status{display:inline-flex;align-items:center;gap:6px;color:#147d46}
.iwx-status i{width:8px;height:8px;border-radius:50%;background:#147d46}
.iwx-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.iwx-empty{padding:34px 18px;border:1px dashed #c4d6e7;border-radius:14px;background:#fff;text-align:center;color:#5d7288}
.iwx-empty h3{margin:0 0 6px;color:#082f5d;font-size:17px}
.iwx-empty p{margin:0;font-size:14px}
/* forms inside the shared modal */
.iwx-form{display:flex;flex-direction:column;gap:14px;color:#12304a}
.iwx-step{margin:0;color:#5d7288;font-size:13px;line-height:1.55;font-weight:700}
.iwx-field{display:flex;flex-direction:column;gap:7px}
.iwx-label{font-size:13px;font-weight:850;color:#1d3d5c}
.iwx-input{width:100%;box-sizing:border-box;min-height:46px;padding:11px 13px;border:1px solid #c9dbea;border-radius:11px;background:#fff;color:#12304a;font:inherit;font-size:16px}
.iwx-area{min-height:130px;resize:vertical;line-height:1.55}
.iwx-input:focus{outline:none;border-color:#0b6db7;box-shadow:0 0 0 4px rgba(11,109,183,.14)}
.iwx-hint{color:#6b7c8e;font-size:12px;font-weight:700;text-align:right}
.iwx-help{margin:0;color:#5d7288;font-size:13px;line-height:1.6}
.iwx-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.iwx-choices-col{grid-template-columns:1fr}
.iwx-choice{display:flex;flex-direction:column;gap:3px;padding:11px 12px;border:1.5px solid #cfe0ef;border-radius:12px;background:#fff;cursor:pointer}
.iwx-choice input{position:absolute;opacity:0;pointer-events:none}
.iwx-choice b{font-size:14px;color:#12304a}
.iwx-choice span{font-size:12px;line-height:1.4;color:#5d7288}
.iwx-choice.on{border-color:#0b477e;background:#eef5fc;box-shadow:0 0 0 3px rgba(11,71,126,.1)}
.iwx-choice-urgent.on{border-color:#d92d20;background:#fff4f2;box-shadow:0 0 0 3px rgba(217,45,32,.1)}
.iwx-choice-important.on{border-color:#e08a00;background:#fff7e8;box-shadow:0 0 0 3px rgba(224,138,0,.12)}
.iwx-choice-row{flex-direction:row;align-items:center;min-height:46px}
.iwx-choice:focus-within{outline:3px solid rgba(237,155,39,.5);outline-offset:2px}
.iwx-pick{padding:12px;border:1px solid #d8e4ef;border-radius:12px;background:#f7fbff;display:flex;flex-direction:column;gap:10px}
.iwx-pick[hidden]{display:none}
.iwx-pick-tools{display:flex;align-items:center;gap:14px;font-size:13px;font-weight:800;color:#5d7288}
.iwx-link{appearance:none;border:0;background:none;padding:6px 0;color:#0b6db7;font:inherit;font-weight:850;cursor:pointer}
.iwx-pick-tools span{margin-left:auto}
.iwx-pick-list{max-height:210px;overflow:auto;display:flex;flex-direction:column;gap:2px}
.iwx-pick-row{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 6px;border-radius:8px;font-size:14px;font-weight:650;cursor:pointer}
.iwx-pick-row[hidden]{display:none}
.iwx-pick-row input{width:20px;height:20px;flex:0 0 20px}
.iwx-pick-row:hover{background:#eaf3fb}
.iwx-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:2px}
.iwx-actions .btn{min-height:46px;padding:0 18px}
.iwx-msg{margin:0;min-height:0;font-size:13px;line-height:1.5;font-weight:750}
.iwx-msg.bad{color:#b42318}
.iwx-msg.ok{color:#475f77}
.iwx-preview .iwx-card{margin:0;box-shadow:none}
.iwx-summary{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:0;font-size:13.5px}
.iwx-summary dt{color:#5d7288;font-weight:800}
.iwx-summary dd{margin:0;font-weight:750;overflow-wrap:anywhere}
.iwx-notice-card{border:1px solid #d8e4ef;border-left:5px solid #0b6db7;border-radius:12px;background:#fff;padding:13px 14px}
.iwx-notice-title{font-weight:900;color:#082f5d;margin-bottom:6px;overflow-wrap:anywhere}
.iwx-notice-body{font-size:13.5px;line-height:1.7;color:#2b4560;white-space:pre-wrap;overflow-wrap:anywhere}
.iwx-done{padding:14px;border-radius:12px;background:#eaf7ef;color:#0f5f35;font-size:14.5px;line-height:1.5}
/* communication centre */
.iwx-cc{display:flex;flex-direction:column;gap:14px}
.iwx-cc-head strong{display:block;color:#082f5d;font-size:18px;font-weight:900}
.iwx-cc-head span{display:block;margin-top:2px;color:#0b6db7;font-size:14px;font-weight:800}
.iwx-cc-head p{margin:8px 0 0;color:#5d7288;font-size:13.5px;line-height:1.55}
.iwx-tiles{display:grid;grid-template-columns:1fr;gap:10px}
.iwx-tile{appearance:none;display:flex;flex-direction:column;gap:4px;text-align:left;padding:14px 15px;border:1px solid #d3e1ee;border-radius:13px;background:#fff;font:inherit;color:#12304a;cursor:pointer;min-height:64px}
.iwx-tile:hover{border-color:#0b6db7;background:#f4f9fe}
.iwx-tile b{font-size:15px;font-weight:900;color:#082f5d}
.iwx-tile span{font-size:13px;line-height:1.45;color:#5d7288}
.iwx-wide{width:100%;min-height:48px}
.iwx-back{appearance:none;align-self:flex-start;margin:0 0 2px;padding:8px 0;border:0;background:none;color:#0b6db7;font:inherit;font-size:13.5px;font-weight:850;cursor:pointer}
.iwx-hist{display:flex;flex-direction:column;gap:10px}
.iwx-hist-row{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px solid #d8e4ef;border-radius:12px;background:#fff;font-size:13px;color:#5d7288}
.iwx-hist-row b{color:#082f5d;font-size:14.5px;overflow-wrap:anywhere}
.iwx-notif-cc{margin:0 0 12px}
/* keep line breaks in stored notification text; arrears text is unaffected */
#modal .notif>div:not(.notif-title):not(.notif-meta){white-space:pre-line}
/* arrears entry now lives inside the Communication Centre */
#iwdaArrearsModalBtn{display:none}
#iwdaPushSettings + .toolbar:has(#iwdaArrearsModalBtn){display:none}
@media(min-width:640px){.iwx-hero{padding:26px 28px}.iwx-tools{flex-direction:row;align-items:center;justify-content:space-between}.iwx-search{flex:0 1 280px}.iwx-tiles{grid-template-columns:repeat(3,1fr)}.iwx-card{padding:18px 20px 16px 22px}.iwx-hist-row{flex-direction:row;align-items:baseline;gap:14px}.iwx-hist-row b{flex:1}}
@media(max-width:420px){.iwx-choices:not(.iwx-choices-col){grid-template-columns:1fr}.iwx-actions .btn{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.iwx-btn,.iwx-chip,.iwx-tile{transition:none}}



.iwda-notification-open{cursor:pointer;outline-offset:3px}.iwda-notification-open:focus-visible{outline:2px solid #1455a0;border-radius:8px}.iwda-notification-actions{display:flex;justify-content:flex-end;padding:7px 10px 10px;border-top:1px solid #e8edf4}.iwda-notification-actions .btn{font-size:12px;padding:7px 12px}
/* RECEIPT WATERMARK: larger and precisely centered on the receipt, including print. */
#receiptPrint{position:relative!important;}
#receiptPrint:before{
  left:50%!important;top:50%!important;
  width:145%!important;
  transform:translate(-50%,-50%) rotate(-24deg)!important;
  text-align:center!important;line-height:1!important;
  font-size:clamp(76px,13vw,142px)!important;
  letter-spacing:7px!important;
}
@media print{
  #receiptPrint:before{
    left:50%!important;top:50%!important;width:145%!important;
    transform:translate(-50%,-50%) rotate(-24deg)!important;
    font-size:88pt!important;letter-spacing:7px!important;
  }
}



/* Compact official receipt layout: preserves all information without stretching to a full A4 page. */
#receiptPrint{
  min-height:0!important;height:auto!important;max-height:none!important;
  display:flex!important;flex-direction:column!important;position:relative!important;
  isolation:isolate!important;box-sizing:border-box!important;
}
#receiptPrint .receipt-brand{padding:12px 16px!important;}
#receiptPrint .receipt-brand .brand-logo{max-height:92px!important;}
#receiptPrint .receipt-brand .brand-name{font-size:clamp(17px,2.6vw,25px)!important;}
#receiptPrint .receipt-brand .tagline{font-size:12px!important;margin-top:6px!important;}
#receiptPrint .receipt-no b{padding:6px 4px!important;font-size:11px!important;}
#receiptPrint .receipt-no span{padding:6px 3px!important;font-size:23px!important;}
#receiptPrint .receipt-title{padding:9px!important;font-size:clamp(19px,2.8vw,25px)!important;}
#receiptPrint .receipt-details{padding:10px 20px!important;display:flex!important;flex-direction:column!important;justify-content:space-evenly!important;flex:0 0 auto!important;}
#receiptPrint .receipt-line{padding:7px 0!important;}
#receiptPrint .receipt-line strong{font-size:15px!important;}
#receiptPrint .receipt-line .value{font-size:19px!important;}
#receiptPrint .receipt-thanks{margin:10px 10px!important;font-size:14px!important;}
#receiptPrint .receipt-rule{margin:0 20px 10px!important;}
#receiptPrint .receipt-footer{padding:0 16px 12px!important;gap:10px!important;margin-top:0!important;}
#receiptPrint .receipt-footer .thank{font-size:12px!important;}
#receiptPrint .receipt-footer .sign{font-size:12px!important;padding-top:6px!important;}
#receiptPrint .receipt-footer .org{font-size:10px!important;}
#receiptPrint:before{
  content:"RECEIVED"!important;position:absolute!important;left:50%!important;top:50%!important;
  width:100%!important;transform:translate(-50%,-50%) rotate(-24deg)!important;
  display:block!important;text-align:center!important;white-space:nowrap!important;
  font-size:clamp(48px,9vw,92px)!important;line-height:1!important;letter-spacing:5px!important;
  color:rgba(205,24,37,.15)!important;pointer-events:none!important;z-index:0!important;
}
#receiptPrint>*{position:relative;z-index:1;}
@media(max-width:650px){
  #receiptPrint .receipt-brand{padding:9px!important;}
  #receiptPrint .receipt-brand .brand-logo{max-height:72px!important;}
  #receiptPrint .receipt-details{padding:8px 10px!important;}
  #receiptPrint .receipt-line{padding:6px 0!important;}
  #receiptPrint .receipt-thanks{margin:8px 5px!important;font-size:12px!important;}
  #receiptPrint .receipt-footer{padding:0 9px 9px!important;}
}
@media print{
  @page{size:A4 portrait;margin:5mm;}
  #receiptPrint{
    width:200mm!important;max-width:200mm!important;min-height:145mm!important;height:145mm!important;max-height:145mm!important;
    margin:0 auto!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;
    display:flex!important;flex-direction:column!important;break-inside:avoid!important;page-break-inside:avoid!important;
    box-shadow:none!important;border-radius:0!important;
  }
  #receiptPrint .receipt-brand{padding:4mm 6mm!important;}
  #receiptPrint .receipt-brand .brand-logo{max-height:82px!important;}
  #receiptPrint .receipt-brand .brand-name{font-size:22px!important;}
  #receiptPrint .receipt-brand .tagline{font-size:11px!important;margin-top:5px!important;}
  #receiptPrint .receipt-title{padding:8px!important;font-size:22px!important;}
  #receiptPrint .receipt-details{padding:4mm 8mm!important;flex:1 1 auto!important;min-height:0!important;}
  #receiptPrint .receipt-line{padding:2mm 0!important;}
  #receiptPrint .receipt-line strong{font-size:11pt!important;}
  #receiptPrint .receipt-line .value{font-size:13pt!important;}
  #receiptPrint .receipt-thanks{margin:3mm auto!important;font-size:10pt!important;}
  #receiptPrint .receipt-rule{margin:0 7mm 3mm!important;}
  #receiptPrint .receipt-footer{padding:0 6mm 4mm!important;gap:8px!important;}
  #receiptPrint .receipt-footer .thank,#receiptPrint .receipt-footer .sign{font-size:10pt!important;}
  #receiptPrint .receipt-footer .org{font-size:9pt!important;}
  #receiptPrint:before{left:50%!important;top:50%!important;width:100%!important;transform:translate(-50%,-50%) rotate(-24deg)!important;font-size:58pt!important;letter-spacing:5px!important;}
}



/* Preserve the original receipt design while making the open and printed versions shorter, clearer and bolder. */
#receiptPrint{min-height:0!important;height:auto!important;max-height:none!important;padding:0!important;line-height:1.32!important;}
#receiptPrint .receipt-brand{padding:9px 14px!important;gap:10px!important;border-bottom-width:4px!important;}
#receiptPrint .receipt-brand .brand-logo{height:76px!important;max-height:76px!important;}
#receiptPrint .receipt-brand .brand-name{font-size:clamp(16px,2.4vw,23px)!important;font-weight:900!important;}
#receiptPrint .receipt-brand .tagline{font-size:11px!important;margin-top:4px!important;font-weight:700!important;}
#receiptPrint .receipt-no b{padding:5px 3px!important;font-size:10px!important;font-weight:900!important;}
#receiptPrint .receipt-no span{padding:5px 3px!important;font-size:21px!important;font-weight:950!important;}
#receiptPrint .receipt-title{padding:8px 7px!important;font-size:clamp(19px,2.7vw,24px)!important;font-weight:900!important;}
#receiptPrint .receipt-details{min-height:0!important;padding:7px 18px!important;gap:0!important;}
#receiptPrint .receipt-line{padding:6px 0!important;line-height:1.25!important;}
#receiptPrint .receipt-line strong{font-size:14px!important;font-weight:900!important;}
#receiptPrint .receipt-line .value{font-size:18px!important;font-weight:900!important;}
#receiptPrint .receipt-line:nth-child(2) .value{font-size:22px!important;}
#receiptPrint .receipt-thanks{margin:7px auto!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;}
#receiptPrint .receipt-rule{height:3px!important;margin:0 18px 8px!important;}
#receiptPrint .receipt-footer{padding:0 14px 9px!important;gap:8px!important;margin-top:0!important;line-height:1.25!important;}
#receiptPrint .receipt-footer .thank,#receiptPrint .receipt-footer .sign{font-size:11px!important;font-weight:900!important;}
#receiptPrint .receipt-footer .org{font-size:9px!important;font-weight:900!important;}
@media(max-width:650px){
 #receiptPrint .receipt-brand{padding:8px!important;grid-template-columns:72px minmax(0,1fr)!important;gap:7px!important;}
 #receiptPrint .receipt-brand .brand-logo{height:68px!important;max-height:68px!important;}
 #receiptPrint .receipt-brand .brand-name{font-size:14px!important;}
 #receiptPrint .receipt-no b,#receiptPrint .receipt-no span{padding:5px 9px!important;}
 #receiptPrint .receipt-title{font-size:19px!important;padding:8px 5px!important;}
 #receiptPrint .receipt-details{padding:6px 10px!important;}
 #receiptPrint .receipt-line{grid-template-columns:112px minmax(0,1fr)!important;padding:5px 0!important;gap:7px!important;}
 #receiptPrint .receipt-line strong{font-size:12px!important;}
 #receiptPrint .receipt-line .value{font-size:15px!important;}
 #receiptPrint .receipt-thanks{font-size:12px!important;margin:6px auto!important;}
 #receiptPrint .receipt-footer{padding:0 8px 8px!important;gap:6px!important;}
}
@media print{
 @page{size:A4 portrait;margin:5mm;}
 #receiptPrint{width:200mm!important;max-width:200mm!important;min-height:145mm!important;height:145mm!important;max-height:145mm!important;overflow:hidden!important;box-shadow:none!important;border-radius:0!important;break-inside:avoid!important;page-break-inside:avoid!important;}
 #receiptPrint .receipt-brand{padding:3mm 5mm!important;}
 #receiptPrint .receipt-brand .brand-logo{height:auto!important;max-height:20mm!important;}
 #receiptPrint .receipt-title{padding:2mm!important;font-size:17pt!important;}
 #receiptPrint .receipt-details{padding:2mm 6mm!important;flex:1 1 auto!important;}
 #receiptPrint .receipt-line{padding:1.5mm 0!important;}
 #receiptPrint .receipt-line strong{font-size:10pt!important;}
 #receiptPrint .receipt-line .value{font-size:12pt!important;}
 #receiptPrint .receipt-thanks{margin:2mm auto!important;font-size:9pt!important;}
 #receiptPrint .receipt-rule{margin:0 5mm 2mm!important;}
 #receiptPrint .receipt-footer{padding:0 5mm 3mm!important;gap:3mm!important;}
 #receiptPrint .receipt-footer .thank,#receiptPrint .receipt-footer .sign{font-size:8.5pt!important;}
 #receiptPrint .receipt-footer .org{font-size:7.5pt!important;}
}



/* Original three-digit receipt serial and compact, parallel two-line official watermark. */
#receiptPrint .receipt-no span{font-variant-numeric:tabular-nums;letter-spacing:2px!important;white-space:nowrap!important;overflow-wrap:normal!important;}
#receiptPrint:before{
 content:"RECEIVED"!important;position:absolute!important;left:50%!important;top:50%!important;
 width:110%!important;transform:translate(-50%,-50%) rotate(-24deg)!important;
 text-align:center!important;white-space:nowrap!important;font:1000 clamp(48px,9vw,92px)/1 Arial,sans-serif!important;
 letter-spacing:5px!important;color:rgba(205,24,37,.15)!important;pointer-events:none!important;z-index:0!important;
}
#receiptPrint:after{
 content:"ILATU WELFARE AND DEVELOPMENT ASSOCIATION"!important;position:absolute!important;
 left:50%!important;top:55%!important;width:110%!important;
 transform:translate(-50%,-50%) rotate(-24deg)!important;text-align:center!important;white-space:nowrap!important;
 font:900 clamp(10px,1.8vw,20px)/1 Arial,sans-serif!important;letter-spacing:1.4px!important;
 color:rgba(205,24,37,.13)!important;pointer-events:none!important;z-index:0!important;
}
#receiptPrint>*{position:relative;z-index:1;}
@media print{
 #receiptPrint:before,#receiptPrint:after{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
 #receiptPrint:before{top:50%!important;}
 #receiptPrint:after{top:55%!important;}
}



/* Official Treasurer signature: transparent ink image placed on the existing signature line.
   The receipt grid, typography, colours and dimensions remain unchanged. */
#receiptPrint .receipt-footer .sign{position:relative!important;}
#receiptPrint .receipt-footer .sign .treasurer-signature{
 position:absolute!important;display:block!important;left:50%!important;top:-27px!important;
 transform:translateX(-50%)!important;width:108px!important;height:39px!important;
 max-width:78%!important;object-fit:contain!important;object-position:center bottom!important;
 opacity:.96!important;z-index:2!important;pointer-events:none!important;
}
@media print{
 #receiptPrint .receipt-footer .sign .treasurer-signature{
  print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important;
 }
}



/* Premium notification experience: visual emphasis and accessible live alerts only. */
button[onclick="openNotifications()"]{
 position:relative!important;border:1px solid #d9e6f2!important;
 background:linear-gradient(135deg,#fff 0%,#edf5ff 100%)!important;
 color:#0a3764!important;font-weight:900!important;
 box-shadow:0 5px 16px rgba(8,47,93,.12)!important;
 min-height:42px!important;transition:transform .18s ease,box-shadow .18s ease!important;
}
button[onclick="openNotifications()"]:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(8,47,93,.18)!important}
button[onclick="openNotifications()"] .notif-badge{
 min-width:22px;height:22px;background:linear-gradient(135deg,#e63e43,#a80f25)!important;
 box-shadow:0 0 0 3px rgba(230,62,67,.12);font-size:11px;font-weight:950;
}
button[onclick="openNotifications()"] .notif-badge.has-unread{animation:iwdaNotifPulse 2.2s ease-in-out infinite}
@keyframes iwdaNotifPulse{0%,100%{box-shadow:0 0 0 3px rgba(230,62,67,.12)}50%{box-shadow:0 0 0 7px rgba(230,62,67,.02)}}
#modal .notif-list{gap:14px;max-height:66vh;padding:3px 4px 7px}
#modal .notif{padding:0!important;border:1px solid #d8e4ef!important;border-radius:16px!important;overflow:hidden;background:#fff!important;box-shadow:0 7px 20px rgba(8,47,93,.075)!important}
#modal .notif:before{content:"";position:static!important;left:auto!important;top:auto!important;bottom:auto!important;display:block;height:4px;width:100%;background:linear-gradient(90deg,#ed9b27,#0b477e 58%,#0b665f)}
#modal .notif.unread{border-color:#c6d9eb!important;background:linear-gradient(120deg,#f3f8ff,#fff 72%)!important}
#modal .iwda-notification-open{display:block;padding:17px 18px 13px;cursor:pointer;color:#17314f;outline-offset:-4px}
#modal .iwda-notification-open:hover{background:rgba(225,239,252,.42)}
#modal .iwda-notification-open:focus-visible{outline:3px solid rgba(21,104,169,.38);border-radius:12px}
#modal .notif-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#092f5c!important;font-size:15px!important;line-height:1.45;font-weight:950!important;margin:0 0 8px!important}
/* Duplicate legacy UNREAD pseudo-badge removed; the status chip is rendered once in the notification card. */
#modal .iwda-notification-open>div:not(.notif-title):not(.notif-meta){font-size:13.5px;line-height:1.65;color:#334d68}
#modal .notif-meta{font-size:11px!important;color:#647b93!important;margin-top:10px!important;font-weight:700}
#modal .iwda-notification-actions{padding:9px 14px 12px!important;border-top:1px solid #e7eef5!important;background:rgba(247,250,253,.8)}
#modal .iwda-notification-actions .btn{border-radius:999px!important;font-weight:800!important}
#modal .iwda-notification-actions .btn:hover{border-color:#a8c2dc!important;background:#edf5fc!important}
.iwda-notification-summary{display:flex;align-items:center;gap:13px;padding:15px 17px;margin:0 0 15px;border-radius:15px;background:linear-gradient(115deg,#082f5d,#0b477e 68%,#0b665f);color:#fff;box-shadow:0 8px 20px rgba(8,47,93,.15)}
.iwda-notification-summary-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.15);font-size:22px}
.iwda-notification-summary strong{display:block;font-size:14px;font-weight:950;letter-spacing:.01em}
.iwda-notification-summary span{display:block;margin-top:3px;color:#e5f1fc;font-size:11.5px;line-height:1.45}
#iwdaLiveNotificationAlerts{position:fixed;z-index:10050;top:16px;right:16px;width:min(390px,calc(100vw - 28px));display:grid;gap:10px;pointer-events:none}
.iwda-live-alert{pointer-events:auto;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start;padding:15px;border:1px solid rgba(255,255,255,.65);border-radius:17px;background:linear-gradient(125deg,#082f5d 0%,#0b477e 68%,#0b665f 100%);color:#fff;box-shadow:0 16px 42px rgba(4,25,49,.3);animation:iwdaAlertIn .28s ease-out}
.iwda-live-alert-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.15);font-size:22px}
.iwda-live-alert-content{min-width:0}
.iwda-live-alert-kicker{font-size:9px;letter-spacing:.12em;font-weight:950;color:#ffd58b;margin-bottom:4px}
.iwda-live-alert-title{font-size:14px;font-weight:950;line-height:1.35;overflow-wrap:anywhere}
.iwda-live-alert-message{font-size:12px;line-height:1.5;color:#e7f1fb;margin-top:5px;overflow-wrap:anywhere}
.iwda-live-alert-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.iwda-live-alert-actions button{border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:7px 12px;font-size:11px;font-weight:900;cursor:pointer}
.iwda-live-alert-open{background:#fff;color:#093866}
.iwda-live-alert-dismiss{background:rgba(255,255,255,.12);color:#fff}
@keyframes iwdaAlertIn{from{opacity:0;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){#iwdaLiveNotificationAlerts{top:9px;right:9px;width:calc(100vw - 18px)}#modal .iwda-notification-open{padding:14px 14px 12px}.iwda-notification-summary{padding:13px}.iwda-live-alert{padding:13px}}
@media(prefers-reduced-motion:reduce){button[onclick="openNotifications()"] .notif-badge.has-unread{animation:none!important}.iwda-live-alert{animation:none!important}button[onclick="openNotifications()"]{transition:none!important}}

/* Focused mobile form positioning correction: lift insertion modals without changing their layout or controls. */
@media(max-width:768px){#modal.modal.open > .modalbox{transform:translateY(-64px)}}



.iwda-notification-state{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:9px;letter-spacing:.06em;font-weight:900;vertical-align:middle}
.iwda-notification-state.is-unread{background:#fff0d7;color:#875000;border:1px solid #f2d29a}
.iwda-notification-state.is-read{background:#edf2f7;color:#607184;border:1px solid #d8e0e8}
#modal .notif:not(.unread) .iwda-notification-open{opacity:.88}
.iwda-push-settings{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;margin:0 0 14px;border:1px solid #dce7f1;border-radius:13px;background:#f7fafc}
.iwda-push-settings strong,.iwda-push-settings span{display:block}
.iwda-push-settings strong{font-size:13px;color:#17314f}
.iwda-push-settings span{font-size:11px;line-height:1.45;color:#647b93;margin-top:3px}
@media(max-width:520px){.iwda-push-settings{align-items:flex-start;flex-direction:column}.iwda-push-settings .btn{width:100%}}



/* Modal always above the sticky top bar, bell and sign-out controls. */
#modal.modal{z-index:96000!important}
/* Top bar: bell first on the left, sign-out on the right, never wrapping. */
.app .main > .top #iwdaBellBtn{flex:0 0 auto;order:0}
button#iwdaBellBtn #notifBadge:not(.has-unread){background:#8a97a6!important;box-shadow:none!important;animation:none!important}
#iwdaPushActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:520px){#iwdaPushActions{width:100%;justify-content:flex-start}}
.iwda-push-settings .iwda-push-note{margin-top:4px}
.iwda-composer-preview{border:1px dashed #b8cde0;border-radius:12px;background:#f7fbff;padding:12px 14px;font-size:12.5px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#17314f;max-height:230px;overflow:auto}
.iwda-composer-preview .iwda-pv-title{font-weight:900;font-size:14px;margin-bottom:6px}
.iwda-composer-check{display:flex;align-items:center;gap:9px;font-weight:700;font-size:13px}
.iwda-composer-check input{width:18px;height:18px}
.iwda-arrears-wrap{max-height:48vh;overflow:auto;border:1px solid #dce7f1;border-radius:12px}
.iwda-arrears-wrap table{width:100%;border-collapse:collapse;font-size:12.5px}
.iwda-arrears-wrap th,.iwda-arrears-wrap td{padding:8px 10px;border-bottom:1px solid #e8eff5;text-align:left}
.iwda-arrears-wrap th{background:#0a5f9f;color:#fff;font-size:11px;position:sticky;top:0}
.iwda-arrears-wrap td.num,.iwda-arrears-wrap th.num{text-align:right;white-space:nowrap}
.iwda-arrears-note{font-size:12px;color:#647b93;margin:8px 0}
