@charset "UTF-8";
@font-face{font-family:Manrope;src:url('/static/fonts/manrope-cyrillic.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116,U+20BD}
@font-face{font-family:Manrope;src:url('/static/fonts/manrope-latin-ext.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0100-02BA,U+1E00-1EFF,U+20A0-20AB}
@font-face{font-family:Manrope;src:url('/static/fonts/manrope-latin.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}
:root{font-family:Manrope,-apple-system,BlinkMacSystemFont,sans-serif;font-synthesis:none;color:#191a1d;background:#f6f6f4;--ink:#191a1d;--muted:#727577;--line:#e5e5e2;--bg:#f6f6f4;--blue:#2457e6;--green:#247554;--red:#bf3e38;--amber:#976114;--radius:22px;--nav-h:78px;--view-height:100dvh;--view-top:0px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
*{box-sizing:border-box;min-width:0}html{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none}body{margin:0;width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none;font-size:16px;font-weight:600;line-height:1.4}#app{width:100%;max-width:100%;overflow-x:clip}button,input,select{font:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}input,select{font-size:18px!important;max-width:100%;min-width:0}input[type=month]{min-width:0;max-width:100%;-webkit-appearance:none;appearance:none}input::-webkit-date-and-time-value{min-width:0;text-align:left}button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--blue)}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(30px,5vw,40px);font-weight:800;letter-spacing:-.055em;line-height:1.1}h2{font-size:22px;letter-spacing:-.04em;font-weight:800}h3{font-size:18px;letter-spacing:-.025em;font-weight:800}p{line-height:1.45}svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:var(--muted)}.small{font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.text-right{text-align:right}.inline-error{color:var(--red);font-size:14px}.boot{min-height:100dvh;display:grid;align-content:center;justify-items:center;gap:18px}.brand-mark{display:inline-grid;place-items:center;width:45px;height:45px;background:var(--ink);color:white;border-radius:14px;font-size:32px;font-weight:800}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:24px;letter-spacing:-.04em}.brand small{font-size:15px}.noscript{padding:24px}
/* One content column; navigation never takes space above the task. */
.shell{min-height:100dvh}.main{width:100%;max-width:1000px;margin:0 auto;padding:48px 32px calc(var(--nav-h) + 32px)}.sidebar{display:none}.topbar{display:none}.mobile-nav{position:fixed;inset:auto 0 0;z-index:25;display:flex;justify-content:center;gap:4px;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:#f6f6f4f5;border-top:1px solid var(--line);backdrop-filter:blur(20px);max-width:100%}.mobile-nav button{flex:1;max-width:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:55px;border:0;border-radius:15px;background:transparent;color:#858785;padding:5px 2px;font-size:12px;font-weight:700;white-space:nowrap}.mobile-nav button.active{color:var(--ink);background:#eaeae7}.mobile-nav svg{width:23px;height:23px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px;flex-wrap:wrap}.page-head>div:first-child{min-width:0}.page-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.page-head p{display:none}.period-input{border:0;border-radius:12px;background:#eaeae7;color:var(--ink);padding:11px 12px;width:177px;font-size:16px!important;min-height:46px;font-weight:700}.page-actions .button{min-height:46px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:15px;background:var(--ink);color:#fff;min-height:54px;padding:13px 20px;font-size:17px;font-weight:800;line-height:1.25;text-align:center;transition:background .18s,transform .18s;max-width:100%;overflow-wrap:anywhere}.button:active{transform:scale(.97)}.button:hover{background:#353639}.button.secondary{background:#eaeae7;color:var(--ink)}.button.danger{background:#fbeceb;color:var(--red)}.button.ghost{background:transparent;color:var(--ink)}.button.full{width:100%}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 0;min-height:44px;border:0;background:none;color:var(--ink);font-size:15px;font-weight:800}.more-button,.icon-button,.modal-head button{display:inline-flex;align-items:center;justify-content:center;border:0;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#eeefeb;color:var(--ink)}.more-button{background:transparent}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 12px}.count{font-size:14px;color:var(--muted);margin-left:8px}.card{border:1px solid var(--line);background:white;border-radius:var(--radius);overflow:hidden}.card-pad{padding:20px}.empty{padding:24px;text-align:center;display:grid;gap:16px;justify-items:center}.empty-icon{display:none}.empty p:empty{display:none}.empty p{color:var(--muted);font-size:15px}.empty h2{font-size:22px}.section-spacer{margin-top:16px}
/* Overview: two numbers and direct actions instead of repeated cards. */
.home-screen{max-width:760px;margin:auto}.balance-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.balance-card{border-radius:24px;background:white;padding:24px 20px;display:flex;flex-direction:column;gap:16px;min-height:180px;border:1px solid var(--line);overflow:hidden}.balance-label{color:var(--muted);font-size:17px;font-weight:700}.balance-value{font-size:clamp(27px,3.3vw,43px);font-weight:800;line-height:1.1;letter-spacing:-.055em;overflow-wrap:anywhere}.balance-value.balance-text,.balance-value.text-value{font-size:24px;letter-spacing:-.04em}.balance-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:auto;font-size:13px;color:var(--muted)}.balance-footer .badge{font-size:13px}.balance-date{font-size:13px;color:var(--muted)}.home-status{margin:14px 0;display:flex;flex-direction:column;gap:8px}.home-status-row,.status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:12px 16px;background:#eaeae7;border:0;border-radius:16px;font-size:16px;font-weight:700;color:var(--ink);width:100%;text-align:left}.home-status-row>span,.status-row>span{min-width:0}.home-status .badge{flex-shrink:0}.home-units{margin-top:18px}.compact-unit{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;padding:15px 0;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);font-size:17px}.compact-unit strong{font-weight:800;display:block;overflow-wrap:anywhere}.compact-unit small{display:block;color:var(--muted);font-size:14px;margin-top:3px}.compact-unit>span:last-child{font-weight:800;white-space:nowrap}.home-actions{display:flex;gap:10px;margin-top:16px}.home-actions>*{flex:1}.home-actions .button{width:100%}.unit-select,.meter-select{display:block;width:100%;border:0;border-radius:14px;padding:12px 40px 12px 14px;background:#eaeae7;color:var(--ink);font-weight:700;margin-bottom:12px;min-height:48px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23191a1d' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.badge{display:inline-flex;align-items:center;max-width:100%;border-radius:7px;font-size:13px;font-weight:700;line-height:1.3;color:var(--muted);overflow-wrap:anywhere}.badge.paid,.badge.submitted{color:var(--green)}.badge.overdue{color:var(--red)}.badge.pending,.badge.upcoming{color:var(--amber)}.amount{font-size:26px;font-weight:800;letter-spacing:-.05em;line-height:1.2;overflow-wrap:anywhere}.units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.unit{padding:18px}.unit-header{display:flex;justify-content:space-between;gap:8px}.unit-title{display:flex;gap:10px}.unit-icon{display:none}.unit-title p{font-size:14px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.unit-meta{display:flex;gap:6px;flex-wrap:wrap;color:var(--muted);font-size:14px;margin:12px 0}.unit-tenant{font-size:14px;display:flex;gap:6px;align-items:center}.unit-finances{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.unit-finances .label{font-size:14px;color:var(--muted);margin-bottom:5px}.unit-finances .amount{font-size:24px;margin-bottom:5px}.unit-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.property-stack{display:grid;gap:16px}.property-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px}.property-header p{font-size:14px;color:var(--muted);margin-top:4px}.property-header .button{padding:12px;font-size:15px}.property-units{padding:0 18px}.property-unit{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid var(--line)}.property-unit p{font-size:14px;color:var(--muted);margin-top:4px}.payment-list{display:grid;gap:0}.payment-row{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.payment-row+.payment-row{border-top:1px solid var(--line)}.payment-main{display:flex;gap:10px;min-width:0}.payment-title{font-size:20px;font-weight:800;letter-spacing:-.03em}.payment-description{font-size:14px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere;margin-top:5px}.payment-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.payment-right .amount{margin-bottom:5px}.payment-actions .button{font-size:15px;min-height:48px;padding:12px 15px}.payment-actions{display:grid;gap:6px}
/* Forms stay inside the visual viewport, including native iOS keyboard changes. */
label.field{display:block;font-size:14px;font-weight:700;color:var(--muted);margin-bottom:16px;min-width:0}.field input,.field select{display:block;width:100%;height:54px;margin-top:7px;padding:0 14px;border:1px solid var(--line);border-radius:14px;background:#f6f6f4;color:var(--ink);font-size:18px;font-weight:700;appearance:none}.field select{padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23727577' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat}.field input:focus,.field select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.field input::placeholder{color:#a0a29e;font-weight:500}.field input:disabled{color:#777;-webkit-text-fill-color:#777}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-error{font-size:14px;font-weight:600;color:var(--red);background:#fbeceb;border-radius:12px;padding:12px;margin-bottom:14px;overflow-wrap:anywhere}.form-error:empty{display:none}.reading-card{padding:20px;margin-bottom:12px}.reading-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.reading-heading p{font-size:14px;color:var(--muted);margin-top:5px}.utility-row{padding-top:16px;border-top:1px solid var(--line);margin-top:12px}.utility-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:10px}.utility-top p{font-size:14px;color:var(--muted);margin-top:4px}.reading-entry{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.reading-entry .field{margin:0}.reading-entry .button{grid-column:1/-1;width:100%}.reading-entry .form-error{grid-column:1/-1}.previous-reading{display:flex;align-items:center;height:54px;font-size:22px;font-weight:800;color:var(--muted);margin-top:7px;padding:0 14px;border-radius:14px;background:#f6f6f4}.utility-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:13px;color:var(--muted);margin-top:12px}.settings-grid,.settings-stack{display:grid;gap:12px}.settings-card{padding:20px}.settings-card h2{margin-bottom:12px}.settings-card p{color:var(--muted);font-size:14px}.account-summary{padding:0 0 24px;display:grid;gap:6px}.account-summary h2{font-size:32px}.account-summary p{font-size:17px;color:var(--muted)}.account-summary .badge{font-size:14px}.settings-list{display:flex;flex-direction:column;gap:2px}.settings-row{display:flex;align-items:center;gap:14px;padding:15px 0;min-height:62px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font-size:19px;font-weight:700;text-align:left;width:100%}.settings-row.danger{color:var(--red)}.settings-row svg{width:24px;height:24px}.settings-row>span{flex:1}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-label{font-size:13px;color:var(--muted);margin-bottom:5px}.detail-value{font-size:17px;font-weight:700;overflow-wrap:anywhere}.modal-open{overflow:hidden}.modal-overlay{position:fixed;top:var(--view-top);left:0;width:100%;height:var(--view-height);padding:24px;display:flex;align-items:center;justify-content:center;background:#191a1d55;backdrop-filter:blur(8px);z-index:50;overflow:hidden}.modal{display:flex;flex-direction:column;width:100%;max-width:510px;max-height:100%;border-radius:26px;background:#fff;overflow:hidden;box-shadow:0 24px 80px #0002}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 14px;gap:12px;flex-shrink:0}.modal-head h2{font-size:25px;line-height:1.15;overflow-wrap:anywhere}.modal-body{padding:0 22px 22px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding:16px;min-height:0}.modal-description{font-size:16px;color:var(--muted);line-height:1.45;margin-bottom:16px}.modal-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.modal-actions .button{flex:1}.invite-code{font-size:24px;letter-spacing:.03em;font-weight:800;overflow-wrap:anywhere;padding:20px;background:var(--bg);border-radius:14px;margin-bottom:14px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.switch-row span{font-size:15px;overflow-wrap:anywhere}.history-item,.notifications-item{padding:14px 0;border-bottom:1px solid var(--line)}.history-item p,.notifications-item p{font-size:14px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.history-item h3,.notifications-item h3{font-size:17px}.notice{display:flex;align-items:center;gap:10px;padding:14px;background:#eeefeb;border-radius:14px;margin-bottom:14px;font-size:14px;overflow-wrap:anywhere}.notice.warning{color:var(--red);background:#fbeceb}.checked-line{display:flex;align-items:center;gap:8px;color:var(--green)}.offline,#toast{position:fixed;left:16px;right:16px;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 10px);width:fit-content;max-width:calc(100% - 32px);margin:auto;padding:12px 18px;border-radius:14px;background:var(--ink);color:white;z-index:80;font-size:14px;overflow-wrap:anywhere;line-height:1.4}.offline{background:#f1e5d1;color:#815817}#toast{pointer-events:none;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translateY(0)}.loader-line{position:fixed;inset:0 0 auto;height:2px;background:var(--ink);z-index:100;animation:loading 1s ease-in-out infinite}.skeleton-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.skeleton{height:150px;border-radius:22px;background:#ecece8;animation:shimmer 1s alternate infinite}@keyframes loading{50%{opacity:.25}}@keyframes shimmer{to{opacity:.45}}
.auth-layout{min-height:100dvh;display:grid;place-items:center;padding:30px 20px;background:var(--bg)}.auth-aside{display:none}.auth-main{width:100%;max-width:380px}.auth-box{width:100%}.auth-box h1{font-size:40px;margin-bottom:26px}.auth-mobile-brand{display:none}.auth-sub,.auth-note{display:none}.tabs{display:flex;gap:6px;padding:4px;background:#eaeae7;border-radius:16px;margin-bottom:22px}.tabs button{flex:1;border:0;border-radius:12px;padding:12px 8px;min-height:48px;background:transparent;color:var(--muted);font-size:18px;font-weight:800}.tabs button.active{color:var(--ink);background:white}.role-select{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.role-select button{min-height:48px;border:1px solid var(--line);border-radius:13px;background:transparent;display:flex;justify-content:center;align-items:center;gap:6px;color:var(--muted);font-size:16px;font-weight:700}.role-select button.selected{background:var(--ink);color:#fff;border-color:var(--ink)}.role-select svg{width:19px}.auth-box .field{margin-bottom:16px}
@media(max-width:760px){.main{padding:24px 20px calc(var(--nav-h) + env(safe-area-inset-bottom) + 18px);max-width:600px}.page-head{margin-bottom:20px;gap:12px}.page-head h1{font-size:32px}.page-actions{gap:8px}.period-input{width:157px;font-size:14px!important;min-height:44px;padding:9px 10px}.page-head>.page-actions:has(.button){width:100%;justify-content:space-between}.page-actions .button{font-size:16px;min-height:48px;padding:12px 14px}.balance-card{padding:20px 16px;gap:14px;min-height:158px;border-radius:22px}.balance-label{font-size:15px}.balance-value{font-size:clamp(24px,7vw,36px);letter-spacing:-.055em}.balance-value.balance-text,.balance-value.text-value{font-size:23px}.balance-footer{font-size:12px;line-height:1.25}.balance-footer .badge{font-size:12px}.home-actions .button{font-size:16px}.home-units{margin-top:12px}.compact-unit{padding:12px 0}.units{grid-template-columns:1fr}.unit{padding:18px}.payment-row{padding:18px;gap:10px}.payment-title{font-size:19px}.payment-right .amount{font-size:26px}.property-header{flex-wrap:wrap}.property-header h2{font-size:22px}.property-header .button{min-height:48px}.reading-card{padding:18px}.reading-heading{margin-bottom:8px}.reading-heading h3{font-size:20px}.reading-heading p{font-size:13px}.utility-row{margin-top:8px;padding-top:12px}.utility-top{margin-bottom:12px}.utility-top h3{font-size:21px}.utility-top p{font-size:13px}.modal-overlay{padding:12px;align-items:flex-end}.modal{border-radius:24px;max-height:100%}.modal-head{padding:18px 18px 12px}.modal-body{padding:0 18px 18px}.modal-head h2{font-size:24px}.account-summary{padding-bottom:18px}.settings-row{min-height:58px;padding:13px 0}.keyboard-open .mobile-nav{visibility:hidden;pointer-events:none}.keyboard-open .main{padding-bottom:20px}.keyboard-open .modal-overlay{padding:8px}.keyboard-open .modal-head{padding:12px 16px 8px}.keyboard-open #toast{bottom:12px}.auth-layout{padding:24px 20px}.auth-box h1{font-size:36px;margin-bottom:22px}}
@media(max-width:360px){.main{padding-left:14px;padding-right:14px;padding-top:20px}.page-head h1{font-size:29px}.period-input{width:145px;font-size:13px!important}.page-head{gap:8px}.balance-grid{gap:8px}.balance-card{padding:16px 12px;min-height:146px;gap:12px}.balance-label{font-size:14px}.balance-value{font-size:26px}.balance-footer .badge{font-size:11px}.mobile-nav{padding-left:8px;padding-right:8px;gap:0}.mobile-nav button{font-size:10px}.button{padding:12px 14px;font-size:16px;min-height:50px}.home-status-row,.status-row{font-size:14px}.compact-unit{font-size:15px}.compact-unit small{font-size:12px}.payment-row{flex-wrap:wrap}.payment-right{flex-direction:row;justify-content:space-between;align-items:center;width:100%;text-align:left}.payment-actions .button{font-size:14px}.form-grid{gap:0 8px}.modal-body{padding-left:14px;padding-right:14px}.auth-box .field{margin-bottom:12px}.auth-layout{padding:20px 16px}.role-select{gap:6px}.role-select button{font-size:14px}}
@media(max-height:680px) and (max-width:760px){.main{padding-top:16px}.page-head{margin-bottom:14px}.home-screen .balance-card{min-height:134px;padding-top:16px;padding-bottom:16px;gap:10px}.home-status{margin:10px 0}.home-units{margin-top:8px}.section-heading{margin:12px 0 4px}.home-actions{margin-top:10px}.compact-unit{padding:9px 0}.home-status-row,.status-row{min-height:48px;padding:10px 12px}.settings-row{min-height:51px;padding:10px 0}.account-summary{padding-bottom:12px}.account-summary h2{font-size:27px}.auth-box h1{font-size:30px;margin-bottom:16px}.tabs{margin-bottom:16px}.auth-layout{place-items:start center}.reading-card{padding:14px}.reading-heading{margin-bottom:6px}.utility-top{margin-bottom:8px}.utility-row{padding-top:8px}.utility-foot{margin-top:8px}.field input,.field select,.previous-reading{height:50px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Task-specific controls share the same compact geometry. */
#app>.auth-main{min-height:100dvh;max-width:420px;display:grid;align-content:center;margin:0 auto;padding:32px 20px}.auth-index{display:inline-block;font-size:.44em;letter-spacing:-.03em;margin-left:10px;vertical-align:top;line-height:1.65;color:var(--muted)}.home-status>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;padding:10px 0;font-size:17px;font-weight:600}.home-status strong{font-weight:800;font-size:22px}.bad{color:var(--red)}.home-address{display:flex;flex-direction:column;gap:3px;width:100%;padding:0 0 18px;text-align:left;border:0;background:transparent;color:var(--ink)}.home-address strong{font-size:20px;font-weight:800;letter-spacing:-.035em;overflow-wrap:anywhere}.home-address span{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.reading-shortcut{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;min-height:72px;padding:16px 0;margin-top:10px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:var(--ink)}.reading-shortcut strong{display:block;font-size:19px;font-weight:800;letter-spacing:-.03em}.reading-shortcut small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.home-empty{min-height:240px;display:grid;align-content:center}.balance-empty{font-size:35px}.unit-select,.meter-select{padding:0;background:none;height:auto;min-height:0}.unit-select select,.meter-select select{display:block;width:100%;max-width:100%;padding:12px 40px 12px 14px;min-height:48px;border:0;border-radius:14px;background:#eaeae7;color:var(--ink);font-size:16px!important;appearance:none;font-weight:700;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23191a1d' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.payment-list{gap:12px}.payment-row{display:block}.payment-main{align-items:start;justify-content:space-between}.payment-main>.badge{flex-shrink:0}.payment-right{flex-direction:row;justify-content:space-between;align-items:center;margin-top:18px;flex-wrap:wrap;text-align:left}.payment-right .amount{font-size:36px}.payment-right .button{font-size:15px;min-height:48px;padding:12px 15px}.payment-confirmed{font-size:13px;color:var(--muted)}.settings-list .button{margin-top:12px}.home-screen>.page-head>.page-actions:has(.icon-button){flex-wrap:nowrap}
@media(max-width:360px){.home-screen>.page-head:has(.icon-button){flex-wrap:nowrap}.home-screen>.page-head:has(.icon-button) h1{font-size:26px}.home-screen>.page-head:has(.icon-button) .period-input{width:124px;font-size:12px!important;padding:8px}.home-screen>.page-head:has(.icon-button) .icon-button{width:40px;height:44px}.home-status>button{font-size:15px}.payment-right .amount{font-size:31px}.home-address{padding-bottom:14px}.reading-shortcut{min-height:65px;padding:12px 0}.home-actions{margin-top:14px}}
@media(max-height:680px) and (max-width:760px){#app>.auth-main{align-content:start;padding-top:24px}.home-screen .home-status>button{min-height:42px;padding:8px 0}.home-screen .compact-unit{padding:8px 0}.home-screen .home-address{padding-bottom:12px}.home-screen .reading-shortcut{min-height:64px}.home-screen .balance-card{min-height:132px}.settings-list .settings-row{min-height:50px}}

/* A compact period label keeps the native picker and its accessible input. */
.period-control{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;min-height:44px;padding:10px 12px;border-radius:12px;background:#eaeae7;font-size:16px;font-weight:700;white-space:nowrap}.period-control svg{width:17px;height:17px}.period-control:focus-within{outline:2px solid var(--ink);outline-offset:2px}#period-select.period-input{position:absolute;inset:0;width:100%;height:100%;min-height:44px;opacity:0;cursor:pointer;font-size:16px!important;padding:0}.page-head>.page-actions{flex-wrap:nowrap}

@media(max-height:680px) and (max-width:760px){.payment-row{padding:14px}.payment-description{font-size:13px;line-height:1.4}.payment-right{margin-top:12px;gap:6px}.payment-right .amount{font-size:28px}.payment-right .button{min-height:44px;padding:10px 14px}}
@media(max-width:360px){.payment-title{font-size:17px}.payment-main>.badge{font-size:11px}.payment-title{overflow-wrap:anywhere}}

@media(max-height:680px) and (max-width:760px){.home-units .compact-unit:nth-of-type(n+2){display:none}}

@media(max-height:680px) and (max-width:760px){.main{padding-bottom:calc(66px + max(10px, env(safe-area-inset-bottom)))}.reading-card:last-child{margin-bottom:0}}

/* Phosphor paths keep the same optical weight across navigation and actions. */
svg.icon{width:22px;height:22px;fill:currentColor;stroke:none;stroke-width:0;display:block;flex-shrink:0}.mobile-nav button{gap:3px;padding-top:3px;padding-bottom:3px;color:#777b79}.mobile-nav button.active{color:var(--ink)}.mobile-nav .icon{width:26px;height:26px}.settings-row .icon{width:24px;height:24px}.period-control .icon{width:18px;height:18px}.modal-head .icon{width:22px;height:22px}

/* Reading photos share the submit row; the full image opens only on demand. */
.utility-tools{display:flex;align-items:center;gap:4px;flex-shrink:0}.reading-submit-row{grid-column:1/-1;display:flex;align-items:stretch;gap:8px;min-width:0}.reading-entry .reading-submit-row>.button{flex:1;width:auto;min-width:0;padding-left:12px;padding-right:12px}.reading-photo-actions{display:flex;align-items:stretch;gap:6px;flex-shrink:0}.photo-control{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:50px;min-height:44px;padding:0;border:0;border-radius:14px;background:#eaeae7;color:var(--ink);overflow:hidden}.photo-control .icon{width:24px;height:24px}.photo-selected{border:1px solid var(--line);background:#fff}.photo-control img{width:100%;height:100%;max-height:54px;object-fit:cover;display:block}.photo-input[hidden]{display:none!important}.photo-preparing{animation:shimmer .7s alternate infinite}.history-reading{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-reading>div{min-width:0}.history-reading h3{overflow-wrap:anywhere}.history-reading .photo-control,.utility-tools .photo-control{width:44px;height:44px}.photo-modal{max-width:740px}.photo-viewer{width:100%;min-width:0}.meter-photo{display:block;width:100%;max-width:100%;height:auto;max-height:calc(var(--view-height) - 160px);object-fit:contain;border-radius:14px;background:var(--bg)}.meter-photo[hidden],.photo-error[hidden]{display:none}.photo-error{padding:32px 0;text-align:center;color:var(--red);font-size:16px}.photo-replace{margin-top:14px}.photo-filename{overflow-wrap:anywhere;font-size:16px;color:var(--muted)}
@media(max-width:360px){.reading-submit-row{gap:6px}.reading-photo-actions{gap:5px}.photo-control{width:44px}.reading-entry .reading-submit-row>.button{font-size:16px;padding-left:10px;padding-right:10px}}
.photo-loading{min-height:160px;display:grid;place-items:center;color:var(--muted);font-size:16px}.photo-loading[hidden]{display:none}
