/* Shared IPL styles. Scoped to plugin screens and the resident portal. */
.ggbn {
    --ink:#132d38; --muted:#496471; --line:#dce8ed; --accent:#09685c; --canvas:#edf4f6;
    box-sizing:border-box; background:var(--canvas); color:var(--ink);
    border-radius:20px; padding:clamp(12px,2.4vw,28px);
    font-family:Inter,system-ui,sans-serif;
}
.ggbn *, .ggbn *::before, .ggbn *::after { box-sizing:border-box; }
.ggbn :focus-visible { outline:3px solid #21a493; outline-offset:3px; }
.ggbn .ggbn-hero {
    margin:0 0 16px; padding:clamp(18px,3vw,26px); border-radius:20px;
    background:linear-gradient(115deg,#123642,#095f58); color:#fff;
    box-shadow:0 12px 24px #173d471f;
}
.ggbn .ggbn-hero :is(h1,h2) { color:#fff; font-size:clamp(24px,3vw,34px); font-weight:700; letter-spacing:-.035em; margin:5px 0 0; padding:0; }
.ggbn .ggbn-brand { display:flex; align-items:center; gap:10px; color:#ddf2ee; font-size:13px; font-weight:650; }
.ggbn .ggbn-brand::before { content:"GG"; display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:#b9eddd; color:#0b493f; }
.ggbn .ggbn-nav { display:flex; gap:6px; flex-wrap:wrap; padding:8px; margin:0 0 16px; border-radius:12px; background:#153744; }
.ggbn .ggbn-nav a { color:#fff; padding:8px 12px; border-radius:8px; text-decoration:none; font-weight:600; }
.ggbn .ggbn-nav a:hover { background:#244b57; }
.ggbn .ggbn-nav a[aria-current="page"] { background:#b9eddd; color:#103c37; }
.ggbn .ggbn-panel,.ggbn .ggbn-payment-card {
    background:#fff; border:1px solid var(--line); border-radius:16px;
    box-shadow:0 5px 16px #1b40550b; padding:clamp(14px,2vw,22px); margin:0 0 16px; min-width:0;
}
.ggbn :is(.ggbn-panel,.ggbn-payment-card) > :is(h2,h3) { margin:0 0 12px; font-weight:700; color:var(--ink); }
.ggbn .ggbn-fields { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.ggbn .ggbn-fields label { display:grid; gap:5px; font-weight:600; min-width:0; }
.ggbn :is(select,input:not([type="checkbox"]):not([type="hidden"])) { max-width:100%; min-height:38px; border-color:#a9bcc5; border-radius:9px; color:var(--ink); }
.ggbn :is(.button,button[type="submit"]) { min-height:38px; padding:6px 13px; border:1px solid #93b6b7; border-radius:9px; color:#0b493f; background:#f2f8f8; font:inherit; font-weight:650; cursor:pointer; }
.ggbn :is(.button-primary,.ggbn-submit) { background:var(--accent); border-color:var(--accent); color:#fff; }
.ggbn :is(.button-primary,.ggbn-submit):hover { background:#074e47; color:#fff; }
.ggbn .ggbn-scroll { overflow-x:auto; max-width:100%; overscroll-behavior-inline:contain; }
.ggbn .widefat { border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.ggbn .gg-sheet { min-width:680px; }
.ggbn .widefat :is(th,td) { padding:10px 12px; vertical-align:middle; }
.ggbn .widefat th { background:#f2f7f9; color:var(--muted); font-weight:700; }
.ggbn .widefat tbody tr:hover td { background:#f0f8fa; }
.ggbn .gg-sheet :is(th,td):nth-child(6) { text-align:right; font-variant-numeric:tabular-nums; }
.ggbn .ggbn-state { display:inline-block; padding:3px 9px; border-radius:14px; font-size:12px; font-weight:700; white-space:nowrap; }
.ggbn .ggbn-state:is(.filled,.approved) { background:#d8f2e5; color:#075444; }
.ggbn .ggbn-state.future { background:#e6eef4; color:#294b61; }
.ggbn .ggbn-state:is(.open,.pending) { background:#fff0ce; color:#704700; }
.ggbn .ggbn-state.rejected { background:#fbe5e4; color:#882a24; }
.ggbn .ggbn-status { background:#e2f3ef; border:1px solid #a9d4c8; border-radius:9px; padding:10px 12px; }
.ggbn.ggbn-portal { width:min(100%,580px); margin-inline:auto; }
.ggbn .ggbn-month { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:10px 0; margin:0; border-bottom:1px solid var(--line); }
.ggbn .ggbn-month .ggbn-state { margin-inline-start:auto; }
.ggbn .ggbn-submit { min-height:44px !important; }
.ggbn .ggbn-review-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr)); gap:12px; }
.ggbn .ggbn-payment-card { margin:0; }
.ggbn .ggbn-payment-card > strong { margin-right:7px; }
@media(max-width:600px) {
    .ggbn .ggbn-fields > label { flex:1 1 140px; }
    .ggbn .ggbn-fields > label > :is(input,select) { width:100%; }
    .ggbn .ggbn-nav { flex-wrap:nowrap; overflow-x:auto; }
    .ggbn .ggbn-nav a { flex:none; }
}

.ggbn-dashboard-hero,.ggbn-dashboard-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.ggbn-dashboard-heading h2 { margin:0 0 12px; }
.ggbn-dashboard-hero label { color:#fff; }
.ggbn-dashboard-hero input { background:#fff; padding:4px 8px; }
.ggbn-dashboard-hero button { background:#b9eddd; color:#103c37; }
.ggbn-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:12px; }
.ggbn .ggbn-kpi { display:grid; gap:8px; border-top:3px solid #45a99a; }
.ggbn .ggbn-kpi:nth-child(3) { border-top-color:#d19336; }
.ggbn-kpi strong { font-size:clamp(25px,3vw,34px); font-variant-numeric:tabular-nums; }
.ggbn-kpi a,.ggbn-dashboard-heading a,.ggbn-actions a { color:var(--accent); font-weight:650; }
.ggbn-dashboard-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(220px,1fr); align-items:start; gap:14px; }
.ggbn-dashboard-grid table { min-width:500px; }
.ggbn-actions { list-style:disc; padding-left:19px; }
.ggbn-actions li::marker { color:#b87718; }
.ggbn .ggbn-fields input[type="month"] { width:100%; min-width:0; }
@media(max-width:1100px) { .ggbn-dashboard-grid { grid-template-columns:minmax(0,1fr); } }

.ggbn-queue .ggbn-hero p{margin-bottom:0;color:#ddf2ee}
.ggbn-queue-tabs,.ggbn-queue-pagination,.ggbn-queue-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ggbn-queue-tabs a{background:#d7f4ed;color:#103c37;border-radius:9px;padding:9px 13px;text-decoration:none;font-weight:650}
.ggbn-queue-tabs a[aria-current=page]{background:#b9eddd;box-shadow:inset 0 0 0 2px #62b2a5}
.ggbn-queue-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:16px;align-items:start}
.ggbn-queue-grid table{min-width:390px}
.ggbn-queue .ggbn-selected td{background:#e2f0eb}
.ggbn-queue-detail dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:7px}
.ggbn-queue-detail dd{margin:0;overflow-wrap:anywhere}
.ggbn-proof{background:#f3f6f6;border:1px dashed #9bb6b7;border-radius:12px;padding:16px;text-align:center}
.ggbn-queue-detail textarea{width:100%;margin:6px 0 10px}
.ggbn-queue-buttons button{flex:1}
.ggbn .ggbn-reject{color:#991d16;border-color:#ce746d;background:#fff}
@media(max-width:1100px){.ggbn-queue-grid{grid-template-columns:minmax(0,1fr)}}

.ggbn-history .ggbn-hero p{color:#ddf2ee;margin-bottom:0}
.ggbn-history-filter{margin-bottom:16px}
.ggbn .ggbn-hide-test{display:flex;align-items:center;gap:8px}
.ggbn-history-table table{min-width:740px}
.ggbn-history-table td{white-space:nowrap}
.ggbn-history .ggbn-record-link{background:#09685c;color:#fff;border:1px solid #58a699}

.ggbn-cash .ggbn-hero p{color:#ddf2ee;margin-bottom:0}.ggbn-cash-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;justify-content:space-between;margin:0 0 16px}.ggbn-cash-controls input{width:95px}.ggbn-cash-entry form,.ggbn-cash-entry label{display:grid;gap:7px;min-width:0}.ggbn-cash-entry form{gap:12px}.ggbn-cash-entry input{width:100%;min-width:0}.ggbn-cash .widefat{min-width:620px}.ggbn-cash td:nth-child(3){min-width:125px;overflow-wrap:anywhere}.ggbn-cash td:nth-child(4){white-space:nowrap}

.ggbn-arrears .ggbn-hero p{color:#ddf2ee;margin-bottom:0}.ggbn-arrears .ggbn-queue-grid table{min-width:580px}.ggbn-arrears-template textarea{width:100%;background:#f2f7f9;border:1px solid #dce8ed;border-radius:12px;padding:12px;margin-bottom:12px;resize:vertical}.ggbn-arrears [hidden]{display:none!important}

.ggbn-residents .ggbn-hero p{color:#ddf2ee;margin-bottom:0}.ggbn-residents table{min-width:630px}.ggbn-residents .ggbn-selected td{background:#e2f0eb}.ggbn-residents .ggbn-resident-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:10px}.ggbn-residents textarea{width:100%;border-radius:9px;border-color:#a9bcc5}.ggbn-residents td:last-child{white-space:nowrap}

.ggbn.ggbn-resident-home{width:min(100%,630px);font-size:16px;line-height:1.45}
.ggbn-resident-home .ggbn-hero p,.ggbn-portal-current p{margin:4px 0 0}
.ggbn-portal-current{padding:20px;border-radius:18px;background:#126957;color:#fff;margin-bottom:20px}
.ggbn-portal-current h3{color:#fff;margin:3px 0 0;font-size:clamp(20px,4vw,27px)}
.ggbn-resident-home section>h3{margin:0 0 10px;font-size:20px}
.ggbn-portal-calendar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:20px}
.ggbn-calendar-cell{display:grid;align-content:center;text-align:center;min-height:58px;padding:6px 2px;border-radius:10px;background:#edf0f0;font-size:13px;overflow-wrap:anywhere}
.ggbn-calendar-cell.approved{background:#e0f2ec;color:#075444}
.ggbn-calendar-cell.pending{background:#fff1c9;color:#704700}
.ggbn-calendar-cell.open{background:#fbe9df;color:#723b1c}
.ggbn-calendar-cell[aria-current=date]{outline:2px solid #68998e;outline-offset:-2px}
.ggbn .ggbn-portal-history{padding:0;overflow:hidden}
.ggbn-portal-history>p{padding:14px}
.ggbn-portal-history article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}
.ggbn-portal-history article:last-child{border-bottom:0}
.ggbn-portal-history article>div{display:grid;gap:3px;overflow-wrap:anywhere}
.ggbn-portal-history article>div:last-child{justify-items:end}
.ggbn-portal-history article a,.ggbn-portal-history article small{font-size:13px}
.ggbn .ggbn-portal-proof{padding:0;overflow:hidden}
.ggbn-portal-proof summary{background:#09685c;color:#fff;padding:14px;text-align:center;font-weight:700;cursor:pointer}
.ggbn-portal-proof form{padding:14px}
@media(max-width:380px){.ggbn-calendar-cell{font-size:12px}.ggbn-portal-history article{padding:10px}}

.ggbn-proof-page .ggbn-hero a{color:#b9eddd}
.ggbn-proof-page form,.ggbn-proof-page form>label{display:grid;gap:7px}
.ggbn-proof-page form{gap:16px}
.ggbn-proof-page form>label,.ggbn-proof-page legend{font-weight:650}
.ggbn-proof-page :is(input[type=text],input[type=date]){width:100%;min-width:0;min-height:48px;padding:8px 12px;border:1px solid #a9bcc5;background:#fff;font:inherit;color:var(--ink)}
.ggbn-proof-page fieldset{min-width:0;padding:0;border:0;margin:0}
.ggbn-proof-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,105px),1fr));gap:8px;margin-top:8px}
.ggbn-proof-months label{position:relative;cursor:pointer}
.ggbn-proof-months input{position:absolute;opacity:0;width:1px;height:1px}
.ggbn-proof-months span{display:block;text-align:center;padding:9px;border:1px solid #a9bcc5;border-radius:8px;background:#fff}
.ggbn-proof-months input:checked+span{border-color:#09685c;background:#e0f2ec;color:#075444}
.ggbn-proof-months input:focus-visible+span{outline:3px solid #21a493}
.ggbn .ggbn-proof-totals{margin:0}
.ggbn-proof-line{display:flex;justify-content:space-between;gap:10px}
.ggbn-proof-page .ggbn-proof{display:grid;gap:4px;justify-items:center;font-weight:400}
.ggbn-proof-page input[type=file]{width:100%;font:inherit}
.ggbn-proof-footer{text-align:center;color:var(--muted);font-size:13px}
.ggbn .ggbn-proof-cta{display:block;text-align:center;text-decoration:none;padding:13px;border-radius:10px;background:#09685c;color:#fff;font-weight:700}

.ggbn.ggbn-login{width:min(100%,430px);padding:clamp(20px,5vw,32px);background:#f2f5f3;color:#132d38;font-size:15px}
.ggbn-login-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#09685c;color:white;font-weight:750;margin-bottom:14px}
.ggbn-login h2{margin:0;font-size:clamp(22px,5vw,27px);line-height:1.16;font-weight:750;color:var(--ink)}
.ggbn-login p{color:var(--muted);margin:8px 0 0}
.ggbn-login form{margin-top:25px}
.ggbn-login form p{margin:0 0 14px}
.ggbn-login form label{display:block;color:var(--ink);font-weight:650;margin-bottom:5px}
.ggbn-login input:not([type=hidden]){width:100%;min-height:48px;border:1px solid var(--line);padding:9px 12px;background:#fff;font:inherit}
.ggbn .ggbn-login-help,.ggbn .ggbn-login-support{text-align:center}
.ggbn-login input[type=submit]{background:#09685c;color:#fff;border-color:#09685c;cursor:pointer;font-weight:700}
.ggbn-login-help a{color:#09685c;font-weight:650}
.ggbn-login-support{border-top:1px solid var(--line);padding-top:16px;margin-top:24px!important}

body.ggbn-canvas{margin:0;background:#edf4f6;min-height:100vh}
.ggbn-canvas #ggbn-canvas-main{box-sizing:border-box;min-height:100vh;padding:clamp(12px,3vw,32px) clamp(10px,2vw,24px)}
.ggbn-canvas #ggbn-canvas-main>.ggbn-portal{margin:0 auto}
.ggbn-portal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ggbn a.ggbn-logout{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border-radius:8px;background:#dcf3ed;color:#075444;text-decoration:none;font-weight:700;white-space:nowrap}
.ggbn-logout span{font-size:1.25em}
.ggbn a.ggbn-logout:focus-visible{outline:3px solid #21a493;outline-offset:2px}

body.ggbn-canvas{background:radial-gradient(ellipse at top,#e4f1eb,transparent 560px),#f5f6f1;color:#15312f;font-family:system-ui,sans-serif}
.ggbn.ggbn-resident-home,.ggbn.ggbn-login{--ink:#15312f;--muted:#456461;--line:#dbe8e1;background:transparent;padding:0;border:0;box-shadow:none}
.ggbn.ggbn-resident-home{width:min(100%,680px)}
.ggbn-resident-home .ggbn-hero{padding:clamp(20px,5vw,36px);border:1px solid #1b5b50;border-radius:24px;background:radial-gradient(ellipse at 100% 0,#236557,transparent 70%),#073d39;box-shadow:0 14px 32px #073d391a}
.ggbn-resident-brand{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:750;letter-spacing:.025em}
.ggbn-resident-brand img{display:block;border:1px solid #fff3db55;border-radius:11px}
.ggbn-portal-heading{margin-bottom:18px}
.ggbn-resident-home .ggbn-hero h2{font-size:clamp(29px,6vw,44px);letter-spacing:-.045em;line-height:1.12;margin:0 0 8px;text-wrap:balance}
.ggbn-resident-home .ggbn-hero a:not(.ggbn-logout){text-underline-offset:4px}
.ggbn-portal-current{background:#e2f0e8;color:#15312f;border:1px solid #c7e0d2;padding:clamp(16px,4vw,24px)}
.ggbn-portal-current h3{color:#075444}
.ggbn-calendar-cell{border:1px solid #dbe8e1;background:#fff;min-height:65px}
.ggbn.ggbn-proof-page form,.ggbn.ggbn-login{background:#fff;border:1px solid #dbe8e1;border-radius:22px;padding:clamp(16px,4vw,32px);box-shadow:0 9px 30px #15312f0b}
.ggbn.ggbn-login{margin-top:clamp(12px,7vh,64px)}
.ggbn-login .ggbn-resident-brand{margin-bottom:18px}
.ggbn-proof-page form :is(input[type=text],input[type=date],select),.ggbn-login input:not([type=submit]){min-height:48px;border:1px solid #b8cec4;border-radius:10px;padding:9px 12px;background:#f8fbf8;color:#15312f}
.ggbn-proof-page form select{width:100%;font:inherit}
.ggbn-proof-page form [readonly]{color:#456461}
.ggbn-proof-page .ggbn-proof-months span{padding:11px 6px;border-radius:10px;border-color:#c2d5cc}
.ggbn-proof-page .ggbn-proof-totals{padding:14px 16px;border-color:#c7e0d2;background:#eaf5ee}
.ggbn-proof-totals [data-lines]:not(:empty){margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #c7e0d2}
.ggbn-proof-page .ggbn-proof{border-color:#9cbfb0;background:#f4f9f5}
.ggbn-proof-page input[type=file]::file-selector-button{border:0;border-radius:7px;background:#e3f0e8;color:#164b3e;padding:8px 10px;margin-right:8px;font:inherit;cursor:pointer}
.ggbn-proof-page .ggbn-submit,.ggbn-login input[type=submit],.ggbn .ggbn-proof-cta{background:#075c4b;min-height:48px;border-radius:11px}
.ggbn-proof-page .ggbn-submit:disabled{opacity:.55;cursor:not-allowed}
.ggbn-resident-home :is(a,button,input,select):focus-visible,.ggbn-login :is(a,input):focus-visible{outline:3px solid #20836c;outline-offset:3px}

/* Resident dashboard inspired by the supplied reference layout. */
body.ggbn-canvas{background:#f7f9f8}
.ggbn-canvas #ggbn-canvas-main{padding:0 20px 52px}
.ggbn.ggbn-resident-dashboard{width:min(100%,1024px);padding:0;background:transparent;box-shadow:none}
.ggbn-resident-dashboard .ggbn-resident-nav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 -20px 24px;padding:14px max(20px,calc((100vw - 1024px)/2));background:#fff;border-bottom:1px solid #e3eae7}
.ggbn-resident-nav>div{display:grid;gap:1px}
.ggbn-resident-nav .ggbn-resident-brand{color:#14372f}
.ggbn-resident-nav small{margin-left:54px;font-size:11px;color:#657973}
.ggbn-resident-dashboard .ggbn-hero{position:relative;min-height:188px;padding:30px 32px;margin-bottom:20px;background:radial-gradient(circle at 96% 14%,#286c5a 0,transparent 36%),linear-gradient(115deg,#0b3b35,#075749);border-radius:24px;overflow:hidden;box-shadow:0 12px 26px #123e321a}
.ggbn-resident-dashboard .ggbn-hero:after{content:"";position:absolute;inset:0;background-image:radial-gradient(#ffffff22 1px,transparent 1px);background-size:17px 17px;pointer-events:none}
.ggbn-resident-dashboard .ggbn-hero>*{position:relative;z-index:1}
.ggbn-resident-dashboard .ggbn-hero h2{font-size:clamp(30px,4vw,43px);letter-spacing:-.04em;margin:10px 0 8px}
.ggbn-resident-dashboard .ggbn-hero p{font-size:15px;color:#d9f0e7}
.ggbn-resident-dashboard .ggbn-hero strong{color:#fff}
.ggbn-occupancy{display:inline-block;padding:6px 12px;border:1px solid #ffffff44;border-radius:99px;background:#ffffff16;color:#d9f7e9;font-size:12px;font-weight:700}
.ggbn-resident-dashboard .ggbn-hero-summary{position:absolute;right:30px;bottom:30px;z-index:2;display:grid;gap:3px;min-width:180px;padding:16px 20px;border:1px solid #ffffff33;border-radius:17px;background:#002b2766;color:#dcf5eb;font-size:12px}
.ggbn-hero-summary strong{font-size:21px}
.ggbn-resident-dashboard .ggbn-portal-current{background:#fff;color:#14372f;border:2px solid #dfba67;padding:0;overflow:hidden;border-radius:22px;box-shadow:0 8px 25px #123e320c}
.ggbn-current-banner{padding:12px 24px;background:#fff8e9;color:#795117;font-weight:750;font-size:14px}
.ggbn-resident-dashboard .ggbn-portal-current h3{color:#15322d;font-size:30px;margin:7px 0}
.ggbn-resident-dashboard .ggbn-portal-current>h3,.ggbn-resident-dashboard .ggbn-portal-current>p{margin-left:24px;margin-right:24px}
.ggbn-resident-dashboard .ggbn-portal-current>p{color:#62736e}
.ggbn-resident-dashboard .ggbn-portal-current .ggbn-proof-cta{display:inline-flex;width:auto;margin:8px 24px 24px;padding:13px 20px;border-radius:13px;background:#08755a;color:#fff}
.ggbn-resident-dashboard .ggbn-resident-section{padding:24px;margin:20px 0;border:1px solid #e3eae7;border-radius:22px;background:#fff;box-shadow:0 8px 25px #123e3208}
.ggbn-section-heading{display:grid;gap:2px;margin-bottom:18px}
.ggbn-section-heading h3{margin:0!important;font-size:21px!important;color:#163832}
.ggbn-section-heading p{margin:0;color:#60736d;font-size:13px}
.ggbn-resident-dashboard .ggbn-portal-calendar{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.ggbn-resident-dashboard .ggbn-calendar-cell{min-height:96px;display:grid;align-content:space-between;text-align:left;padding:14px;border-radius:16px;border:1px solid #e1e9e5;background:#f8faf9;text-decoration:none;transition:transform .15s,border-color .15s}
.ggbn-resident-dashboard .ggbn-calendar-cell strong{font-size:17px;color:#15352e}
.ggbn-resident-dashboard .ggbn-calendar-cell span{font-weight:700}
.ggbn-resident-dashboard .ggbn-calendar-cell small{font-size:12px}
.ggbn-resident-dashboard a.ggbn-calendar-cell:hover{transform:translateY(-2px);border-color:#158a6b}
.ggbn-resident-dashboard .ggbn-calendar-cell.approved{background:#eefaf3;border-color:#c9e8d7;color:#16674a}
.ggbn-resident-dashboard .ggbn-calendar-cell.open{background:#fff2f0;border-color:#f1d4d0;color:#a9473c}
.ggbn-resident-dashboard .ggbn-calendar-cell.pending{background:#eef5fc;border-color:#cde3f4;color:#28648b}
.ggbn-resident-dashboard .ggbn-calendar-cell[aria-current=date]{outline:2px solid #d69c3d;outline-offset:-2px}
.ggbn-resident-dashboard .ggbn-portal-history{border:0;box-shadow:none}
.ggbn-resident-dashboard .ggbn-portal-history article{padding:17px 6px}
.ggbn-resident-dashboard .ggbn-portal-history article>div:first-child>strong{font-size:15px}
.ggbn-resident-dashboard .ggbn-portal-history article a{color:#08755a;font-weight:700}
.ggbn-resident-dashboard .ggbn-logout{background:#fff0ed!important;color:#a94637!important;border:1px solid #f4d7d1;border-radius:11px}
@media(max-width:700px){.ggbn-resident-dashboard .ggbn-hero-summary{position:relative;right:auto;bottom:auto;margin-top:20px;width:max-content;max-width:100%}.ggbn-resident-dashboard .ggbn-hero{padding:24px}.ggbn-resident-dashboard .ggbn-portal-calendar{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:450px){.ggbn-canvas #ggbn-canvas-main{padding:0 12px 36px}.ggbn-resident-dashboard .ggbn-resident-nav{margin:0 -12px 16px;padding:12px}.ggbn-resident-dashboard .ggbn-portal-calendar{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ggbn-resident-dashboard .ggbn-resident-section{padding:18px}.ggbn-resident-nav small{margin-left:0}}
.ggbn-resident-dashboard{font-family:"Plus Jakarta Sans",system-ui,sans-serif!important;color:#1e293b!important}
.ggbn-resident-dashboard header.sticky{background:white;border-bottom:1px solid #dde4eb;position:sticky;top:0;z-index:3;padding:10px 20px}
.ggbn-resident-dashboard header.sticky>div,.ggbn-resident-dashboard header.sticky .flex,.ggbn-resident-dashboard .md\:flex-row,.ggbn-resident-dashboard #billing-banner-strip,.ggbn-resident-dashboard #billing-banner-strip+div,.ggbn-resident-dashboard .flex-wrap.items-end{display:flex;align-items:center;gap:14px}
.ggbn-resident-dashboard header.sticky>div,.ggbn-resident-dashboard .md\:flex-row,.ggbn-resident-dashboard #billing-banner-strip,.ggbn-resident-dashboard #billing-banner-strip+div{justify-content:space-between}
.ggbn-resident-dashboard header.sticky p,.ggbn-resident-dashboard .text-xs{font-size:12px;margin:0}
.ggbn-resident-dashboard header.sticky .font-bold{font-weight:800}.ggbn-resident-dashboard header.sticky .rounded-full,.ggbn-resident-dashboard #billing-arrears-badge{background:#d1fae5;color:#065f46;padding:4px 8px;border-radius:20px;font-size:11px}
.ggbn-resident-dashboard .bg-hero-pattern{padding:32px;border-radius:24px;background:radial-gradient(#ffffff16 1px,transparent 1px) 0 0/16px 16px,#0b493f;color:white;margin:24px 0}
.ggbn-resident-dashboard .bg-hero-pattern h1{font:800 clamp(29px,4vw,40px)/1.15 system-ui;color:white;display:inline-block;margin:10px 8px 6px 0}
.ggbn-resident-dashboard .bg-hero-pattern p{margin:4px 0}.ggbn-resident-dashboard .bg-hero-pattern .grid{display:flex;gap:20px;background:#032f29;padding:16px;border-radius:16px}.ggbn-resident-dashboard .bg-hero-pattern .uppercase{font-size:11px;color:#a7f3d0;text-transform:uppercase}.ggbn-resident-dashboard .bg-hero-pattern .font-extrabold{font-weight:800}
#billing-alert-card{border:2px solid #ebc06b;border-radius:24px;background:white;overflow:hidden}#billing-banner-strip{background:#fff7e4;padding:14px 24px;font-weight:700;color:#854d0e}#billing-banner-strip+div{padding:24px}#current-month-amount{font:800 34px/1.2 system-ui;margin:4px 0}#total-arrears-amount{color:#be123c;font-weight:750}#btn-open-upload{display:inline-block;background:#047857;color:white;padding:14px 20px;border-radius:14px;font-weight:700;text-decoration:none}
.history-tabs{float:right;display:flex;gap:3px;background:#edf2f6;border-radius:12px;padding:3px}.history-tabs button,#theme-toggle{border:0;border-radius:9px;padding:8px;background:transparent;cursor:pointer}.history-tabs [aria-pressed=true],#theme-toggle{background:white;color:#134e4a}.ggbn-resident-dashboard [hidden]{display:none!important}
.ggbn-resident-dashboard.night{background:#0f172a!important;color:#e2e8f0!important}.night :is(header.sticky,.ggbn-resident-section,#billing-alert-card,.ggbn-portal-history){background:#1e293b!important;color:#f1f5f9}.night .ggbn-resident-section h3{color:#fff}
@media(max-width:700px){.ggbn-resident-dashboard .md\:flex-row,.ggbn-resident-dashboard #billing-banner-strip+div{align-items:stretch;flex-direction:column}.history-tabs{float:none;width:max-content;max-width:100%;margin-bottom:12px}.ggbn-resident-dashboard header.sticky .rounded-full{display:none}.ggbn-resident-dashboard .bg-hero-pattern{padding:20px}}
.ggbn-resident-dialog{width:min(680px,calc(100% - 24px));max-height:90vh;padding:18px;border:1px solid #d1e3dc;border-radius:24px;color:#123b33;background:#f8fafc;box-shadow:0 25px 80px #0f172a55}
.ggbn-resident-dialog::backdrop{background:#0f172aaa}
.ggbn-resident-dialog form[method=dialog]{display:flex;justify-content:flex-end;margin:0 0 8px}
.ggbn-resident-dialog iframe{width:100%;height:72vh;border:0}
.ggbn-resident-dialog button,.ggbn-resident-dashboard button[data-receipt]{cursor:pointer}
.ggbn-resident-dialog [data-download-receipt]{background:#047857;color:white;border:0;border-radius:12px;padding:12px 18px}
[data-proof-preview] img,[data-proof-preview] iframe{display:block;max-width:100%;max-height:300px;border:0}

body.ggbn-canvas:has(.ggbn-resident-dashboard.night){background:#040817;color:#f8fafc}
.ggbn-resident-dashboard.night{background:transparent!important}
.night header.sticky{border-color:#1e293b;box-shadow:0 0 0 100vmax #101727;clip-path:inset(0 -100vmax);background:#101727!important}
.night header.sticky .font-bold{color:#f8fafc}
.night header.sticky p,.night .ggbn-section-heading p,.night .ggbn-calendar-cell small,.night .ggbn-portal-history small{color:#a2b5ce}
.night #theme-toggle{background:#1e293b;color:#fbbf24;min-width:38px}
.night .ggbn-logout{background:#340c1c!important;color:#fda4af!important;border-color:#831843}
.night .bg-hero-pattern{margin:32px 0;padding:36px;background:conic-gradient(from 45deg at 50% 50%,#0b433c,#155c51,#0e4a41,#0b433c) 0 0/18px 18px}
.night .bg-hero-pattern .grid{background:#073a32e8;border:1px solid #28685c}
.night :is(#billing-alert-card,.ggbn-resident-section,.ggbn-portal-history){background:#111829!important;color:#f8fafc}
.night #billing-alert-card{border-color:#8a5b1b}
.night #billing-banner-strip{background:#291915;color:#fbbf24;border-bottom:1px solid #573421}
.night #billing-arrears-badge{background:#4c0b20;color:#fda4af}
.night #current-month-amount{color:#f8fafc}
.night #total-arrears-amount{color:#fb7185}
.night #btn-open-upload{background:#059669;color:white}
.night .ggbn-resident-section{margin:32px 0;padding:28px;border-color:#202c40}
.night .ggbn-portal-calendar{gap:14px}
.night .ggbn-calendar-cell{position:relative;min-height:110px;background:#151e30;border-color:#202c40;color:#a2b5ce;font:inherit;font-size:13px}
.night .ggbn-calendar-cell strong{color:#fff}
.night .ggbn-calendar-cell.approved{background:#0d2029;border-color:#10463d;color:#5ee6b0}
.night .ggbn-calendar-cell.open{background:#211426;border-color:#632138;color:#fda4af}
.night .ggbn-calendar-cell.pending{background:#102236;border-color:#23435c;color:#93c5fd}
.night .ggbn-calendar-cell span{justify-self:start;border-radius:20px;padding:3px 9px;background:#ffffff0e}
.night .history-tabs,.night .ggbn-portal-history button{background:#1e293b;color:#e2e8f0;border:1px solid #334155;border-radius:11px}
.night .history-tabs button{color:#cbd5e1}
.night .history-tabs [aria-pressed=true]{background:#334155;color:#fff}
.night .ggbn-portal-history article{border-color:#202c40}
.night .ggbn-portal-history a{color:#6ee7b7}
.night .ggbn-resident-dialog{background:#111829;color:#f8fafc;border-color:#334155}
@media(max-width:700px){.night .bg-hero-pattern,.night .ggbn-resident-section{padding:18px;margin:20px 0}}
.ggbn-transfer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:13px}
.ggbn-transfer>span:first-child,.ggbn-transfer button,.ggbn-wa{padding:8px 12px;border:1px solid #cbd5e1;border-radius:11px}
.ggbn-transfer button{background:#edf2f6;color:#134e4a;cursor:pointer}
.ggbn-copy-status:empty{display:none}
.ggbn-resident-dashboard .ggbn-wa{display:block;text-align:center;margin-top:8px;color:#065f46;background:#ecfdf5;text-decoration:none;font-weight:700;font-size:13px}
.night .ggbn-transfer>span:first-child,.night .ggbn-transfer button{background:#1e293b;color:#f1f5f9;border-color:#334155}
.night .ggbn-wa{background:#082923;color:#6ee7b7;border-color:#145348}
.ggbn-history-caption{margin:4px 0 12px;color:#94a9c4}
.ggbn-resident-dashboard .ggbn-portal-history article{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 0}
.ggbn-resident-dashboard .ggbn-portal-history .ggbn-history-main{display:flex;align-items:center;gap:14px}
.ggbn-month-icon{display:grid;place-items:center;min-width:42px;height:42px;background:#09322e;color:#6ee7b7;border-radius:12px;font-weight:800}
.ggbn-history-main .ggbn-state{margin-left:8px}
.ggbn-history-main small{display:block;margin-top:4px}
.ggbn-history-actions button,.ggbn-history-actions a,.ggbn-resident-dialog form[method=dialog] button{padding:8px 12px;border-radius:12px;font-size:13px}
#ggbn-upload-dialog{width:min(575px,calc(100% - 16px));padding:10px}
#ggbn-receipt-dialog{width:min(504px,calc(100% - 24px));padding:24px}
.ggbn-receipt-card{margin:20px 0;padding:22px;border:1px solid #39495f;border-radius:18px;background:#edf5f3}
.night .ggbn-receipt-card{background:#182233}
.ggbn-receipt-card header{font-weight:800;padding-bottom:16px;border-bottom:1px dashed #475569}
.ggbn-receipt-card>strong{display:block;text-align:center;font-size:36px;padding:20px 0;border-bottom:1px dashed #475569}
.ggbn-receipt-card dl{display:grid;grid-template-columns:auto 1fr;gap:10px;margin:16px 0 0}
.ggbn-receipt-card dd{margin:0;text-align:right;overflow-wrap:anywhere;font-weight:700}
.ggbn-embedded #ggbn-canvas-main{padding:10px}
.ggbn-embedded .ggbn-proof-page .ggbn-portal-heading{display:none}
body.ggbn-dark-proof,.ggbn-dark-proof .ggbn-proof-page form{background:#111829;color:#f1f5f9}
.ggbn-dark-proof .ggbn-proof-page form{border-color:#263449;box-shadow:none}
.ggbn-dark-proof .ggbn-proof-page .ggbn-hero{background:transparent;border:0;box-shadow:none;padding:8px}
.ggbn-dark-proof .ggbn-proof-page :is(input[type=text],input[type=date],select),.ggbn-dark-proof .ggbn-proof-months span,.ggbn-dark-proof .ggbn-proof-page .ggbn-proof{background:#182233;color:#f1f5f9;border-color:#3b4b61;color-scheme:dark}
.ggbn-dark-proof .ggbn-proof-page .ggbn-proof-totals{background:#0a282e;color:#a7f3d0;border-color:#15574e}
.ggbn-dark-proof .ggbn-proof-months input:checked+span{background:#153448;color:#e2f8ff}
.ggbn-proof-page .ggbn-proof-months{grid-template-columns:repeat(2,minmax(0,1fr))}
.ggbn-proof-page .ggbn-proof-months span{display:grid;grid-template-columns:1fr auto;gap:2px 6px;text-align:left}
.ggbn-proof-months small{grid-row:2}
.ggbn-proof-months strong{grid-column:2;grid-row:1}
.ggbn-select-unpaid{border:0;background:none;color:#0f8d6a;font-weight:750;cursor:pointer;padding:6px 0}
.ggbn-dark-proof .ggbn-select-unpaid{color:#6ee7b7}
@media(max-width:480px){.ggbn-resident-dashboard .ggbn-portal-history article{grid-template-columns:1fr}.ggbn-resident-dashboard .ggbn-portal-history article .ggbn-history-actions{justify-items:start}}
/* Readable foregrounds throughout the resident payment form in dark mode. */
body.ggbn-dark-proof .ggbn.ggbn-proof-page {
    --ink:#f1f5f9;
    --muted:#b7c6dc;
    --line:#40516b;
    color:var(--ink);
    color-scheme:dark;
}
.ggbn-dark-proof .ggbn-proof-page :is(h2,label,legend,.ggbn-proof-months b,.ggbn-proof-months strong){color:#f1f5f9}
.ggbn-dark-proof .ggbn-proof-page :is(p,small,.ggbn-proof-footer,output){color:#b7c6dc}
.ggbn-dark-proof .ggbn-proof-page input::placeholder{color:#b7c6dc;opacity:1}
.ggbn-dark-proof .ggbn-proof-page input[readonly]{color:#d6e2f1}
.ggbn-dark-proof .ggbn-proof-page input[type=file]::file-selector-button{background:#28394f;color:#f1f5f9}
.ggbn-dark-proof .ggbn-proof-page .ggbn-proof-totals :is(strong,span){color:#a7f3d0}
.ggbn-dark-proof .ggbn-proof-page .ggbn-status{background:#182233;color:#e2e8f0;border-color:#40516b}
