:root,body[data-theme="ivory"]{--bg:#f8f9fb;--card:#ffffff;--text:#202632;--muted:#697180;--line:#e8ebf0;--accent:#3158ac;--tint:#edf2fc;--hero:#23447e;--warning:#fff5e8;--warning-text:#84550f;color-scheme:light;background:var(--bg);color:var(--text)}
[hidden]{display:none!important}body{letter-spacing:-.15px}.shell{max-width:740px;padding:calc(20px + var(--tg-content-safe-area-inset-top,0px)) 22px calc(110px + env(safe-area-inset-bottom))}header{margin:0 0 30px;padding-bottom:20px;border-bottom:1px solid var(--line)}.brand{font-size:16px;font-weight:650;letter-spacing:-.4px;gap:10px}.brand-symbol{display:grid;place-items:center;width:37px;height:40px;border:1px solid #e4e9f2;border-radius:12px;color:var(--accent);background:linear-gradient(145deg,#fff,#edf1f9);box-shadow:0 3px 8px #243b6610}.brand-symbol svg{width:23px;height:23px}.brand-dot,.brand .mark{display:none}.icon-button{border-radius:13px;width:42px;height:42px;color:#748096;box-shadow:0 2px 5px #20263203}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#738096;font-weight:650}h1{font-size:29px;line-height:1.25;letter-spacing:-.8px;font-weight:600}h2{font-size:19px;font-weight:600}h3{font-size:16px;font-weight:600}.object-heading{padding:2px 1px 6px}.object-heading h1{font-size:25px;max-width:560px;margin:9px 0 14px;line-height:1.3}.access-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#737d8f}.access-label svg{width:13px;height:13px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:27px 0 12px}.section-heading h2{margin:0}.section-heading .text-button{font-size:12px;display:flex;align-items:center;gap:6px}.section-heading svg{width:15px;height:15px}.pay-card,.meter-card,.card{padding:23px;border-radius:23px;background:var(--card);border:1px solid var(--line);box-shadow:0 4px 18px #25354f04;margin:12px 0}.payment-grid{display:grid;gap:12px}.payment-grid .pay-card{margin:0}.pay-heading{display:flex;align-items:center;gap:12px}.pay-heading h3{margin:0 0 5px}.pay-heading .small{font-size:12px}.pay-icon{width:44px;height:46px;border-radius:14px;display:grid;place-items:center;color:#4b6896;background:linear-gradient(145deg,#f7f9fc,#eaf0fa);border:1px solid #e4eaf5;box-shadow:inset 0 1px 0 #fff;flex-shrink:0}.pay-icon svg{width:23px;height:23px;stroke-width:1.55}.pay-icon.utilities{color:#8d7449;background:linear-gradient(145deg,#fdfbf7,#f3eddf);border-color:#eee7da}.pay-icon.meter{color:#4b7d77;background:linear-gradient(145deg,#f8fbfa,#e7f1ef);border-color:#e1ece9}.pay-icon.documents{color:#6c658b;background:linear-gradient(145deg,#faf9fd,#edeaf6);border-color:#e9e5f3}.detail-link{margin-left:auto;border:0;background:transparent;width:34px;height:36px}.pay-sum{font-size:31px;line-height:1.25;font-weight:600;letter-spacing:-1px;margin:23px 0 12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.due-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 20px;font-size:12px;color:var(--muted);min-height:24px}.deadline{padding:5px 8px;background:var(--tint);border-radius:7px;color:var(--accent);font-size:11px}.deadline.late{background:#fcefed;color:#a64239}.primary,.secondary{min-height:49px;border-radius:13px;font-size:14px;gap:9px;line-height:1.4;transition:background .16s,transform .16s;box-shadow:none}.primary{background:var(--accent);color:#fff;border:1px solid #3158ac;box-shadow:0 3px 6px #3158ac12;text-decoration:none}.secondary{background:#f9fafc;border:1px solid #e4e8ef;color:#3b4a63}.primary svg,.secondary svg{width:19px;height:19px}.primary:active,.secondary:active,.document-link:active{transform:scale(.985)}.primary:hover{background:#274b98}.secondary:hover{background:#f0f3f9}.pay-foot{font-size:11px;line-height:1.5;color:var(--muted);margin:11px 0 0}.pay-status{padding:13px;border-radius:12px;display:flex;gap:8px;align-items:center;color:#3e638c;background:#f0f4fa;font-size:13px}.pay-status.confirmed{color:#2d7563;background:#edf7f2}.pay-status svg{width:19px;height:19px}.undo{font-size:12px;color:var(--muted);margin-top:5px}.owner-review{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.meter-card .number{font-size:30px;font-weight:550;margin:22px 0;letter-spacing:-.6px}.meter-card .number .small{font-size:14px}.document-link{display:flex;align-items:center;gap:13px;width:100%;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--text);text-align:left;margin-top:18px}.document-link>svg{margin-left:auto;width:17px;color:#8994a5}.document-link strong{display:block;font-size:14px;font-weight:550}.document-link small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}.hero{background:linear-gradient(120deg,#244375,#335a98);border-radius:23px}.hero:after{display:none}.hero .muted,.hero .eyebrow{color:#d2def1}.badge{background:#f0f4fa;color:#567194;font-size:11px}.card .row{gap:16px;font-size:13px}.row strong{text-align:right}.number{overflow-wrap:anywhere}.text-button{color:var(--accent)}.history-tabs{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);margin:8px 0 20px;padding-bottom:12px;font-size:13px}.history-tabs .selected{color:var(--accent);font-weight:600}.history-tabs button{display:flex;align-items:center;gap:7px;font-size:13px}.history-tabs svg{width:15px}.empty-state{text-align:center;background:#fff;border:1px solid var(--line);border-radius:23px;padding:32px 22px;margin:18px 0}.empty-state .pay-icon{margin:0 auto 20px}.empty-state p{font-size:13px;color:var(--muted);margin-bottom:22px}.calendar-note{font-size:11px;color:var(--muted)}.payment-settings label{font-size:13px;margin-top:18px}.payment-settings input{margin-top:6px}.footer-note{color:#7b8493;font-size:11px}#nav{background:#ffffffed;border:1px solid #e5e9f0;box-shadow:0 8px 35px #243b6610;border-radius:22px;backdrop-filter:blur(18px);bottom:calc(12px + env(safe-area-inset-bottom));width:calc(100% - 36px);max-width:690px;padding:9px 8px}#nav button{font-size:11px;gap:6px;min-height:47px;border-radius:12px;color:#7c8696}#nav button.active{background:#eff3fb;color:var(--accent)}#nav svg{width:21px;height:21px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7294d6;outline-offset:3px}input,select{border-radius:13px;background:#fff;border-color:#dde3ec}dialog{box-shadow:0 20px 80px #243b6620}dialog::backdrop{background:#1c2c4b50}#notice{background:#243e66;box-shadow:0 5px 20px #243e6620}.login-panel{text-align:center;padding:35px 8px 20px;max-width:420px;margin:auto}.login-emblem{display:grid;place-items:center;width:83px;height:88px;border-radius:26px;margin:0 auto 30px;background:linear-gradient(140deg,#fff,#e8eef9);border:1px solid #dfe7f3;box-shadow:0 12px 35px #3158ac0c,inset 0 2px 0 white;color:#45649a;transform:rotate(-5deg)}.login-emblem svg{width:37px;height:37px;stroke-width:1.3;transform:rotate(5deg)}.login-panel h1{font-size:37px;line-height:1.13;letter-spacing:-1.6px;margin:16px 0 20px}.login-intro{font-size:14px;color:var(--muted);line-height:1.7}.login-features{display:flex;justify-content:center;gap:17px;margin:30px 0 36px}.login-features span{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:11px;color:#6e7889}.login-features svg{width:20px;height:20px;color:#7085a6}.login-privacy{display:flex;justify-content:center;gap:6px;align-items:center;color:#7b8799;font-size:11px;margin-top:21px}.login-privacy svg{width:13px;height:13px}.login-panel .primary{display:flex;align-items:center;justify-content:center;padding:15px 12px}.login-panel .error{text-align:left;padding:14px;border-radius:12px;background:#fff0ee;font-size:13px}.rate{font-size:11px;line-height:1.5}.chart{margin-top:15px}.bar-col i{background:#5d7fb8;border-radius:6px 6px 2px 2px}.bar-col:last-child i{background:#3158ac}
@media(min-width:620px){.payment-grid{grid-template-columns:1fr 1fr}.pay-card{display:flex;flex-direction:column}.pay-card>.primary,.pay-card>.pay-status{margin-top:auto}.pay-sum{font-size:29px}.shell{padding-left:28px;padding-right:28px}.object-heading h1{font-size:28px}}
@media(max-width:370px){.shell{padding-left:16px;padding-right:16px}.pay-card,.meter-card,.card{padding:19px}.pay-sum{font-size:29px}.login-panel{padding-top:18px}.login-panel h1{font-size:33px}.object-heading h1{font-size:23px}.brand{font-size:15px}.document-link{padding:16px}.document-link small{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
