:root{--ink:#12283f;--muted:#68798b;--blue:#0876e4;--line:#e2e9f0;--bg:#f4f7fb;--navy:#0b2e52}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue);text-decoration:none}button,input,textarea,select{font:inherit}button,a.button{cursor:pointer}.shell{min-height:100vh;display:grid;grid-template-columns:300px minmax(0,1fr)}.sidebar{background:white;border-right:1px solid var(--line);padding:24px 16px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:block;padding:0 12px 22px}.brand img{width:198px;height:auto;display:block}.nav-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin:22px 14px 8px}.nav a{display:flex;align-items:center;gap:12px;padding:9px 13px;border-radius:8px;color:#4c6075;font-size:13px;margin:2px 0}.nav a:hover{background:#f0f6fd}.nav a.active{background:#e9f3ff;color:#0873df;font-weight:650}.nav .number{font-size:10px;font-weight:600;color:#8c9daf;min-width:18px}.sidebar-note{border-top:1px solid var(--line);padding:20px 12px;font-size:12px;color:var(--muted);margin-top:24px}.workspace{min-width:0}.topbar{background:white;border-bottom:1px solid var(--line);padding:18px 36px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:var(--muted)}.topbar strong{color:var(--ink)}.topbar form{margin:0}.logout{background:none;border:none;color:var(--muted);font-size:12px;padding:5px}.main{padding:32px 36px;max-width:1500px;margin:0 auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}h1{font-size:30px;font-weight:650;letter-spacing:-1px;margin:3px 0 8px}h2{font-size:18px;font-weight:650;margin:0 0 16px}h3{font-size:15px;margin:0 0 6px}p{margin:0 0 14px}.muted{color:var(--muted)}.button,button.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);color:white;border:1px solid var(--blue);border-radius:7px;padding:10px 17px;font-size:13px;font-weight:600;white-space:nowrap}.button.secondary{background:white;color:var(--ink);border-color:var(--line)}.card{border:1px solid var(--line);border-radius:12px;background:white;padding:24px;margin-bottom:22px;box-shadow:0 3px 14px #0c305505}.hero{border-radius:12px;background:var(--navy);color:white;padding:30px;display:flex;justify-content:space-between;gap:28px;margin-bottom:24px}.hero h2{font-size:25px;letter-spacing:-.5px}.hero .muted{color:#a9c1d9}.hero .button{align-self:flex-start}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat{border:1px solid var(--line);background:white;border-radius:10px;padding:18px 22px}.stat .value{font-size:29px;font-weight:650;margin:5px 0}.stat small{color:var(--muted)}.grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-weight:500;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.5px;background:#f8fafc;white-space:nowrap}td,th{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:top}td{max-width:300px;overflow-wrap:anywhere}tr:last-child td{border-bottom:none}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty .symbol{font-size:32px;color:#9ebadb;margin-bottom:12px}.empty h3{color:var(--ink);font-size:17px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field label{display:block;font-weight:550;font-size:13px;margin-bottom:7px}.field input:not([type=checkbox]),.field textarea,.field select{width:100%;background:white;color:var(--ink);border:1px solid #ccd8e3;border-radius:7px;padding:10px 12px;min-height:43px}.field textarea{min-height:105px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #b4d9ff;border-color:var(--blue)}.field.wide{grid-column:1/-1}.field small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.actions{display:flex;gap:12px;align-items:center;margin-top:24px}.alert{padding:14px 18px;border-radius:8px;border:1px solid #b9dcce;background:#effaf5;margin-bottom:22px;font-size:13px}.alert.error{background:#fff1f1;border-color:#f2c9c9;color:#9f3232}.alert.info{background:#eef5ff;border-color:#cce0f8;color:#325b83}.error-text{color:#b33535;font-size:12px;margin-top:5px}.badge{border-radius:20px;padding:3px 10px;font-size:10px;background:#edf4fc;color:#315f90;display:inline-block}.badge.draft{background:#fff6e6;color:#94631a}.subnav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.subnav a{background:white;border:1px solid var(--line);padding:7px 12px;border-radius:7px;font-size:12px}.step{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.step:last-child{border:0}.step-num{height:32px;width:32px;min-width:32px;border-radius:8px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:600}.filter{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.filter .field{flex:1;min-width:170px}.filter button{min-height:43px}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--navy);color:white;display:flex;flex-direction:column;justify-content:center;padding:70px}.login-story h1{font-size:46px;line-height:1.12;max-width:450px;margin:20px 0}.login-story p{color:#b5c9dd;max-width:400px}.login-form{display:flex;align-items:center;justify-content:center;padding:40px;background:white}.login-inner{max-width:380px;width:100%}.login-inner img{width:240px;margin-bottom:25px}.login-inner .field{margin-bottom:18px}.login-inner button{width:100%}.login-footer{font-size:11px;color:var(--muted);margin-top:22px}.pagination{display:flex;justify-content:space-between;gap:16px;font-size:12px;margin-top:20px}.list-item{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px}.list-item:last-child{border:none}.list-item small{display:block;color:var(--muted)}.footer{font-size:11px;color:var(--muted);padding:6px 0 25px}.checklist{padding-left:20px}.checklist li{margin:9px 0}.mono{font-family:ui-monospace,monospace;font-size:11px;overflow-wrap:anywhere}svg{max-width:100%}@media(max-width:1000px){.shell{grid-template-columns:280px minmax(0,1fr)}.sidebar{padding:20px 10px}.brand img{width:175px}.main{padding:25px}.topbar{padding:18px 25px}.grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.login-story{padding:40px}.login-story h1{font-size:36px}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;height:auto;border-bottom:1px solid var(--line);padding:15px}.brand{padding:0 0 12px}.brand img{width:160px}.nav{display:flex;overflow-x:auto;gap:4px}.nav a{white-space:nowrap}.nav-label,.sidebar-note{display:none}.main{padding:22px 16px}.topbar{padding:14px 16px}.topbar .breadcrumb{display:none}.page-head{flex-direction:column}h1{font-size:26px}.hero{padding:22px;display:block}.hero .button{margin-top:12px}.form-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:15px}.card{padding:18px}.login-page{display:block}.login-story{display:none}.login-form{min-height:100vh;padding:28px}}
.meter-entry{display:grid;grid-template-columns:minmax(220px,1fr) minmax(120px,190px) minmax(150px,190px) auto;gap:18px;align-items:end}.meter-info h2{margin-bottom:6px}.meter-info p{margin-bottom:5px;font-size:12px}.reading-result{grid-column:1/-1;font-size:13px}.meter-entry button:disabled{opacity:.6;cursor:wait}@media(max-width:1000px){.meter-entry{grid-template-columns:1fr 1fr}.meter-info{grid-column:1/-1}}@media(max-width:700px){.meter-entry{grid-template-columns:1fr}.meter-info{grid-column:auto}}

.shared-date-entry .shared-date-field{grid-column:3}.meter-entry>button{min-height:43px}.reading-date-text{min-height:43px;display:flex;align-items:center}.reading-date-text[hidden]{display:none}@media(max-width:1000px){.meter-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.shared-date-entry .shared-date-field{grid-column:2}.meter-info{grid-column:1/-1}}

.reading-history input{min-width:145px}.reading-history td{max-width:none}.reading-history [name=notes]{min-width:180px}.history-result{font-size:12px;margin-top:6px;max-width:240px}.reading-highlight{background:#e9f3ff}:is(#meter-chart,#meter-value-chart) svg{width:100%;height:auto;min-height:200px}:is(#meter-chart,#meter-value-chart) circle{cursor:pointer}:is(#meter-chart,#meter-value-chart) circle:focus{outline:none;stroke:#12283f;stroke-width:3}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.history-actions{display:flex;gap:8px;align-items:center}.delete-reading{background:white;color:#b33535;border-color:#e8baba}.delete-reading:hover{background:#fff1f1}

.subnav a.active{background:#e9f3ff;border-color:#b4d9ff;color:#0873df;font-weight:650}

.chart-tabs{display:flex;gap:8px;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:12px}.chart-tabs button{padding:9px 16px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:13px}.chart-tabs button[aria-selected=true]{background:#e9f3ff;border-color:#b4d9ff;color:#0873df;font-weight:650}.chart-tabs button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

.cost-type-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;white-space:nowrap}.cost-type-actions form{margin:0;flex:none}.cost-type-actions .button{padding:6px 10px;font-size:12px;line-height:18px;min-height:32px}

.delete-dialog{width:min(440px,calc(100vw - 36px));box-sizing:border-box;border:1px solid var(--line);border-radius:14px;padding:28px;color:var(--ink);background:white;box-shadow:0 24px 80px #12283f33}.delete-dialog::backdrop{background:#12283f70;backdrop-filter:blur(2px)}.dialog-eyebrow{font-size:11px;color:var(--muted);letter-spacing:.06em;margin-bottom:10px}.delete-dialog h2{font-size:22px;margin:0 0 16px}.delete-dialog p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.button.danger{background:#b33535;border-color:#b33535;color:white}.button.danger:hover{background:#942828;border-color:#942828}.delete-dialog button:focus-visible{outline:3px solid #b4d9ff;outline-offset:3px}.delete-dialog button:disabled{opacity:.6;cursor:wait}



.cost-table-wrap{overflow:visible;border:1px solid var(--line);border-radius:8px;margin-bottom:24px}.cost-table{table-layout:fixed}.cost-table .cost-col-name{width:32%}.cost-table .cost-col-method{width:12%}.cost-table .cost-col-price{width:17%}.cost-table .cost-col-net{width:5%}.cost-table .cost-col-tax,.cost-table .cost-col-estimate{width:6%}.cost-net-cell{text-align:center;padding-top:24px!important}.cost-table th{position:sticky;top:0;z-index:1;white-space:normal;overflow-wrap:anywhere;box-shadow:0 1px 0 var(--line)}.cost-table th.cost-key-heading{overflow-wrap:normal;hyphens:manual}.cost-table th.cost-estimate-heading{overflow-wrap:normal;hyphens:manual}.cost-table td,.cost-table th{padding:12px 8px}.cost-table .field{min-width:0}.cost-table .field input,.cost-table .field select{min-width:0;padding:8px 6px;font-size:12px}.cost-table .field small{min-height:18px}.cost-table td>label{font-size:12px;overflow-wrap:anywhere}.cost-table td small{display:block;font-size:11px}
.special-cost-section{margin-top:28px}.special-cost{background:#f8fbff;border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:16px;min-width:0}.special-cost[hidden],.special-cost [hidden]{display:none}.special-cost .field{min-width:0;margin:0}.special-cost .field input:not([type=checkbox]),.special-cost .field select{min-width:0;max-width:100%}.special-cost-heading{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;margin-bottom:14px}.special-details{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:16px}.special-details .field{flex:0 1 260px}.special-details>label{min-height:43px;margin:0}.special-details>label,.special-check{display:inline-flex!important;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.special-details input[type=checkbox],.special-check input{margin:0}.special-details small{flex-basis:100%;font-size:11px}.special-cost-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}.special-cost-values label{min-height:20px}.special-cost-footer{display:flex;justify-content:flex-end;margin-top:14px}.special-row-remove{padding:6px 10px;font-size:12px}
@media(max-width:700px){.special-cost-heading{grid-template-columns:1fr}.special-cost{padding:14px}.cost-table{font-size:12px}.cost-table td,.cost-table th{padding:10px 4px}.cost-table .field input,.cost-table .field select{padding:8px 3px}.cost-table th{font-size:10px;letter-spacing:0}}

.cost-table [hidden]{display:none}.cost-table .field input+select{margin-top:8px}



.weg-inclusion-form{margin:0}.weg-inclusion-form label{display:inline-flex;padding:8px;cursor:pointer}.weg-inclusion-form input{width:17px;height:17px}.weg-unchecked{background:#f8fafc}.weg-unchecked>td:last-child{color:var(--muted)}

.special-input-mode,.special-meter-kind{grid-column:1;grid-row:1}.special-amount{grid-column:2;grid-row:1}.special-price-unit,.special-total{grid-column:3;grid-row:1}.special-own,.special-vat{grid-column:4;grid-row:1}.special-estimation{grid-column:1/3;grid-row:2}
@media(max-width:1100px){.special-cost-values{grid-template-columns:repeat(2,minmax(0,1fr))}.special-price-unit,.special-total{grid-column:1;grid-row:2}.special-own,.special-vat{grid-column:2;grid-row:2}.special-estimation{grid-row:3}}
@media(max-width:450px){.special-cost-values{grid-template-columns:minmax(0,1fr)}.special-amount{grid-column:1;grid-row:2}.special-price-unit,.special-total{grid-row:3}.special-own,.special-vat{grid-column:1;grid-row:4}.special-estimation{grid-column:1;grid-row:5}}

.payment-entry{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:16px}.payment-entry .field{min-width:0}.tenant-payment-table{table-layout:fixed}.tenant-payment-table td:nth-child(1){width:32%}.tenant-payment-table td:nth-child(2){width:18%}.tenant-payment-table input{min-width:0}.payment-actions{display:flex;gap:6px;flex-wrap:wrap}.payment-actions form{margin:0}.payment-actions .button{padding:7px 10px;font-size:12px}@media(max-width:1100px){.payment-entry{grid-template-columns:1fr 1fr}}@media(max-width:700px){.payment-entry{grid-template-columns:1fr}}

#billing-filters{display:grid;gap:14px}#billing-filters .field{min-width:0}#billing-filters .billing-filter-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.9fr) minmax(0,1fr) minmax(0,1.7fr);gap:12px;align-items:end}#billing-filters .billing-filter-weg{grid-template-columns:minmax(0,1fr) minmax(160px,.9fr) minmax(0,1fr)}#billing-filters .billing-filter-period{display:flex;gap:12px;align-items:end;flex-wrap:wrap}#billing-filters .billing-year{flex:0 0 90px;min-width:90px}#billing-filters .billing-period{flex:0 0 130px;min-width:130px}
@supports (appearance:base-select){
#billing-filters select,#billing-filters select::picker(select){appearance:base-select}
#billing-filters select{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#billing-filters select::picker(select){width:max-content;min-width:anchor-size(width);max-width:min(44rem,calc(100vw - 32px));background:white;color:var(--ink);border:1px solid #ccd8e3;border-radius:7px;padding:4px;box-shadow:0 8px 24px #0b2e5226}
#billing-filters option{white-space:normal;overflow-wrap:anywhere;padding:8px 12px;border-radius:4px}
#billing-filters option:hover,#billing-filters option:focus{background:#e9f3ff}
select[data-period-picker],select[data-period-picker]::picker(select){appearance:base-select}
select[data-period-picker]::picker(select){max-height:min(340px,60vh);overflow-y:auto;background:white;color:var(--ink);border:1px solid #ccd8e3;border-radius:7px;padding:4px;box-shadow:0 8px 24px #0b2e5226}
select[data-period-picker] option{padding:8px 12px;white-space:nowrap;scroll-margin-block:140px}
select[data-period-picker] option:hover,select[data-period-picker] option:focus{background:#e9f3ff}
}
@media(max-width:700px){#billing-filters .billing-filter-context,#billing-filters .billing-filter-weg{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){#billing-filters .billing-filter-context,#billing-filters .billing-filter-weg{grid-template-columns:minmax(0,1fr)}}

.billing-foundations{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}.billing-foundations .button{font-size:12px;padding:7px 12px}

.billing-foundations .button.active{background:#e9f3ff;color:#0873df;border-color:#b4d9ff}


#billing-filters,.billing-secondary-filter{padding:14px 16px;margin-bottom:14px}#billing-filters{gap:10px}#billing-filters .field label,.billing-secondary-filter .field label{font-size:12px;margin-bottom:4px}#billing-filters .field input,#billing-filters .field select,.billing-secondary-filter .field input,.billing-secondary-filter .field select{min-height:36px;padding:6px 10px;font-size:13px}#billing-filters button.primary,#billing-filters .billing-filter-period>.button,.billing-secondary-filter button.primary{min-height:36px;padding:7px 12px;font-size:12px}.billing-secondary-filter .field{flex:0 1 300px;min-width:0}
.invoice-list small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.invoice-list .invoice-money{white-space:nowrap}.invoice-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.invoice-list .invoice-actions a{font-size:12px}.badge.complete{background:#edf8f1;color:#28714c}.invoice-summary{display:flex;flex-direction:column;gap:8px;font-size:13px}.invoice-files{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.invoice-checkboxes{display:flex;gap:24px;flex-wrap:wrap}.invoice-checkboxes label{display:flex;align-items:center;gap:8px}

.community-period-new{margin-top:20px}.community-period-new .field{flex:0 1 130px;min-width:120px}

#billing-filters .billing-year{flex:0 0 160px;min-width:160px}

.settlement-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.settlement-actions>*{flex-shrink:0}.settlement-action-cell{width:1%;max-width:none;white-space:nowrap}.settlement-actions form{margin:0}.settlement-units{margin-top:10px}.settlement-units summary{cursor:pointer;color:var(--blue)}.settlement-units a{display:block;padding:5px 0}

.weg-payment-table{table-layout:fixed;width:100%}.weg-payment-table .payment-amount{width:125px}.weg-payment-table .payment-date{width:140px}.weg-payment-table .payment-buttons{width:185px}.weg-payment-table input{width:100%;min-width:0}.weg-payment-table .payment-actions{flex-wrap:nowrap}.weg-payment-table td{padding-left:8px;padding-right:8px}.weg-payment-entry{display:grid;grid-template-columns:160px 140px minmax(180px,1fr) auto;gap:12px;margin-bottom:20px}.weg-payment-entry .field{min-width:0}@media(max-width:1000px){.weg-payment-entry{grid-template-columns:1fr 1fr}.weg-payment-table .payment-amount{width:100px}.weg-payment-table .payment-date{width:120px}.weg-payment-table .payment-buttons{width:95px}.weg-payment-table .payment-actions{flex-direction:column;align-items:flex-start}}@media(max-width:700px){.weg-payment-entry{grid-template-columns:1fr}}

.property-table th{white-space:normal}.property-table .resource-actions{width:90px;min-width:90px;white-space:nowrap}

.page-notifications{position:fixed;top:18px;right:20px;z-index:50;display:grid;gap:10px;width:min(420px,calc(100vw - 32px));pointer-events:none}.page-notification{display:flex;align-items:start;gap:14px;padding:14px 16px;border:1px solid #b9dcce;border-left:4px solid #27805a;border-radius:9px;background:#effaf5;color:#214f3b;box-shadow:0 8px 30px #0b2e5226;font-size:13px;line-height:1.5;pointer-events:auto;max-height:45vh;overflow-y:auto}.page-notification>div{flex:1;min-width:0;overflow-wrap:anywhere}.page-notification button{flex:none;background:none;border:0;border-radius:4px;color:inherit;font-size:22px;line-height:1;padding:0 3px;cursor:pointer}.page-notification button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.page-notification.error{background:#fff1f1;border-color:#f2c9c9;border-left-color:#b33535;color:#9f3232}.page-notification ul{margin:7px 0 0;padding-left:18px}@media(max-width:700px){.page-notifications{top:12px;right:16px}}

.weg-unit-summary{margin:20px 0 28px}.weg-unit-summary table{max-width:720px}.weg-unit-costs{margin-top:28px;scroll-margin-top:20px}.weg-unit-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:10px}.weg-unit-heading h2{margin:0}.weg-preview-table{table-layout:fixed;width:100%;font-size:12px}.weg-preview-table th,.weg-preview-table td{padding:10px 8px;overflow-wrap:normal}.weg-preview-table .weg-select{width:70px;white-space:normal;hyphens:manual}.weg-preview-table .weg-position{width:30%}.weg-preview-table .weg-money,.weg-unit-summary .weg-money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.weg-preview-table thead .weg-money{white-space:normal;hyphens:manual}.weg-preview-table td>small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:4px}.weg-preview-table details{margin-top:5px;font-size:11px}.weg-preview-table .weg-cost-category th{background:#eaf1f7;color:#23496b;padding-top:9px;padding-bottom:9px}.weg-preview-table .weg-cost-subtotal th,.weg-preview-table .weg-cost-subtotal td{background:#f5f8fa;font-weight:600}.weg-preview-table tfoot th,.weg-preview-table tfoot td{border-top:2px solid #bdcddd;font-weight:700;background:#eaf1f7}.weg-preview-table .weg-cost-subtotal th,.weg-preview-table tfoot th{text-align:right}.weg-preview-table .weg-inclusion-form{margin:0}.weg-preview-table .error-text{color:#a32c2c}@media(max-width:900px){.weg-preview-table{min-width:740px}.weg-preview-table .weg-position{width:220px}}

.settlement-create-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.settlement-create-form button:disabled{opacity:.5;cursor:default}

.settlement-overwrite-list{max-height:35vh;overflow-y:auto;padding-left:20px}.settlement-overwrite-list li{margin-bottom:10px}

#settlement-overwrite-dialog .dialog-actions{display:grid;grid-template-columns:1fr 1fr}#settlement-overwrite-dialog .settlement-keep-existing{grid-column:1/-1}#settlement-overwrite-dialog .dialog-actions>a{text-align:center}

.portal-check{display:flex;gap:10px;align-items:flex-start;margin:16px 0}.portal-check input{flex:0 0 auto;width:18px;height:18px;margin:3px 0}.portal-link-create .field{flex:1;min-width:240px}.portal-link-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(240px,2fr) auto;gap:18px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}.portal-link-row .field{display:flex;gap:8px;min-width:0}.portal-link-row input{min-width:0}.portal-link-actions{display:flex;gap:8px;flex-wrap:wrap}.portal-link-actions form{margin:0}.meter-review-heading{display:flex;justify-content:space-between;gap:18px}.meter-review-body{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr);gap:28px}.meter-review-photo{width:100%;max-height:380px;object-fit:contain;background:var(--bg);border-radius:8px;margin-bottom:12px}.meter-review .form-grid{gap:14px}.meter-review .field{min-width:0}.meter-review .alert{margin-bottom:16px}.meter-review select{width:100%;min-width:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1100px){.portal-link-row{grid-template-columns:1fr}.portal-link-row .field{max-width:100%}}@media(max-width:700px){.meter-review-body{grid-template-columns:1fr}.meter-review-heading{flex-wrap:wrap}.portal-link-row .field{flex-wrap:wrap}}

@media (min-width:701px) and (max-width:1440px), (min-width:701px) and (max-height:850px){
.topbar{padding:9px 24px;gap:14px}.topbar .breadcrumb{margin-right:auto}.main{padding:20px 24px}
.meter-page-head{margin-bottom:14px;gap:12px}.meter-page-head .meter-page-head h1{font-size:24px;line-height:1.25;margin:0 0 4px;letter-spacing:-.5px}.meter-page-head p{font-size:13px;line-height:1.4;margin:0}
#reading-filters{padding:16px;margin-bottom:14px}.meter-page-head~.subnav{margin-bottom:14px}
}
@media(max-width:700px){.meter-page-head{margin-bottom:12px}.meter-page-head .meter-page-head h1{font-size:22px;line-height:1.25;margin:0 0 4px}.meter-page-head p{font-size:12px;line-height:1.4;margin:0}}

.meter-review-heading>.badge{align-self:flex-start;flex:none;padding:3px 8px;line-height:1.4;white-space:nowrap}

.reading-list-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.reading-list-actions form{margin:0}.reading-list-actions .button{padding:6px 9px;font-size:12px;line-height:1.3;min-height:30px}.reading-list-actions .delete-reading{color:#b33535;border-color:#e8baba}.reading-list-actions .delete-reading:hover{background:#fff1f1}

.meter-table-heading{align-items:center;gap:10px;margin-top:-8px;margin-bottom:10px}.meter-table-heading h2{font-size:18px;line-height:1.3}.meter-table-heading .button{padding:8px 12px;font-size:13px;line-height:1.3;min-height:35px}

.portal-link-create{margin-bottom:14px}.portal-link-create+.portal-link-row{border-top:0;padding-top:0}

.pagination{align-items:center;flex-wrap:wrap}.pagination-links{display:flex;align-items:center;gap:40px;white-space:nowrap}.pagination-links a{text-decoration:underline;text-underline-offset:3px}.pagination-links a:hover{color:#075cae}.pagination-links a:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:2px}.pagination-links [aria-disabled=true]{color:#9aa6b2;cursor:default}

.weg-inclusion-form:has(.tenant-percentage){display:flex;align-items:center;gap:10px;white-space:nowrap}.tenant-percentage{display:inline-flex;align-items:center;gap:5px}.tenant-percentage input{width:66px;min-height:34px;padding:5px 7px;border:1px solid #ccd8e3;border-radius:7px;color:var(--ink);text-align:right;background:white}.tenant-percentage input:focus{outline:2px solid #b4d9ff;border-color:var(--blue)}.tenant-percentage input:disabled{background:#f8fafc;color:var(--muted)}

.assignment-anrechnung{white-space:nowrap}.assignment-anrechnung>.tenant-percentage{margin-left:10px}

.cost-type-assignment-form .actions{flex-wrap:wrap}

.preview-assignment-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}.preview-assignment-form>input[type=checkbox]{width:17px;height:17px;flex-shrink:0;cursor:pointer}.preview-assignment-form>.tenant-percentage{margin:0}

#billing-filters .billing-filter-tenant-settlements{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.7fr)}@media(max-width:700px){#billing-filters .billing-filter-tenant-settlements{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){#billing-filters .billing-filter-tenant-settlements{grid-template-columns:minmax(0,1fr)}}
