:root{--teal:#007b83;--dark:#123b40;--amber:#f0a500;--line:#dce7e8;--muted:#63787c;--surface:#fff;--bg:#f3f7f7}*{box-sizing:border-box}body{margin:0;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--dark);background:var(--bg)}[hidden]{display:none!important}header{height:86px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4vw;gap:20px}.brand{color:var(--dark);text-decoration:none;display:flex;align-items:center;gap:12px;font-size:24px;font-weight:750;letter-spacing:-.7px}.brand small{display:block;font-size:11px;font-weight:500;letter-spacing:.8px;color:var(--muted)}.mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--teal);color:white;font-size:29px}.identity{display:flex;align-items:center;gap:12px;font-size:13px}main{max-width:1680px;margin:auto;padding:38px 4vw 50px}h1{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:5px 0 10px}h2{font-size:19px;margin:0 0 10px}h3{font-size:15px;margin:22px 0 8px}p{margin:0 0 16px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.8px;color:var(--teal);margin:0 0 8px}.muted{color:var(--muted)}.small{font-size:12px}.card{background:var(--surface);border:1px solid var(--line);border-radius:12px}.login{max-width:440px;margin:6vh auto;padding:34px}.login h1{font-size:28px}.login label{margin-top:17px}.login button{margin:22px 0 0}label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:12px}input,select{font:14px system-ui;padding:10px 12px;border:1px solid #bdced0;border-radius:6px;min-width:0;background:white;color:var(--dark);height:41px}input:focus,select:focus{outline:2px solid #71bec3;outline-offset:1px}button{font:600 13px system-ui;cursor:pointer;border:1px solid var(--teal);border-radius:6px;padding:11px 17px;color:white;background:var(--teal);white-space:nowrap}button:hover{filter:brightness(.95)}button:disabled{opacity:.45;cursor:default}.quiet{background:white;color:var(--dark);border-color:var(--line)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading p:last-child{margin:0}nav{display:flex;border-bottom:1px solid var(--line);margin-bottom:24px;gap:22px}.tab{border:0;border-bottom:3px solid transparent;background:none;color:var(--muted);border-radius:0;padding:12px 0}.tab.active{border-bottom-color:var(--teal);color:var(--teal)}.filters{display:flex;gap:16px;align-items:end;padding:20px;margin-bottom:18px;flex-wrap:wrap}.filters .search{flex:1;min-width:200px}.check{flex-direction:row;align-items:center;height:41px;gap:8px;white-space:nowrap;font-weight:500}.check input{height:17px;width:17px;accent-color:var(--teal)}.table-info{display:flex;justify-content:space-between;margin:16px 2px 10px;font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;font-size:10px;letter-spacing:.7px;text-transform:uppercase;background:#edf4f4;color:#587277;padding:13px 15px;border-bottom:1px solid var(--line)}td{padding:13px 15px;border-bottom:1px solid #eaf0f0}tbody tr:hover{background:#f7fbfb}tbody tr:last-child td{border-bottom:0}.status{display:inline-block;padding:3px 8px;border-radius:12px;background:#fbeaea;color:#a73636;font-size:10px;font-weight:750}.status.ok{background:#e4f6ef;color:#197957}td button{padding:5px 9px;font-size:11px}td input[type=checkbox]{height:16px;width:16px;accent-color:var(--teal)}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:16px;font-size:12px}.empty{padding:50px 20px;text-align:center;color:var(--muted)}.empty p{margin:0}.assignbar{display:flex;align-items:end;gap:14px;padding:16px;margin-bottom:16px;background:#f0f9f9}.assignbar label{min-width:250px}.customer-grid{display:grid;grid-template-columns:320px 1fr;gap:22px}.customer-grid>.card{padding:24px;min-width:0}.customer-grid form label{margin-bottom:13px}.manage{padding:24px;margin-top:24px}.manage .filters{padding:0;border:0}.manage .filters label{min-width:300px}#notice{padding:13px 17px;margin-bottom:22px;border:1px solid #f1d28b;background:#fff5dc;border-radius:8px;color:#7b5710}#notice.success{border-color:#b3dfcf;background:#eaf8f2;color:#216b51}footer{padding:22px 4vw;border-top:1px solid var(--line);color:var(--muted);font-size:11px;background:white}#readingsTable td:nth-child(3){font-weight:600}@media(max-width:800px){header{height:auto;padding:18px 5vw;align-items:flex-start}.brand{font-size:20px}.identity{flex-wrap:wrap;justify-content:flex-end;max-width:50%}.identity button{padding:7px}main{padding:25px 5vw}.customer-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column}h1{font-size:27px}.filters{padding:16px}.table-info{gap:10px;flex-wrap:wrap}.assignbar{flex-wrap:wrap}nav{gap:18px;overflow:auto}.manage .filters label{min-width:100%}}

/* Compact customer layout: 5% outer spacing, readings first, billing second. */
body.customer-view main{width:90%;max-width:1120px;margin:5vh auto;padding:0}
body.customer-view #tabs,body.customer-view #dateLabel{display:none!important}
body.customer-view .page-heading{margin-bottom:22px}
body.customer-view #filterForm{padding:18px 22px;gap:14px;margin-bottom:18px}
body.customer-view #customerMeterLabel{flex:1;max-width:420px;min-width:200px}
body.customer-view #readingsPanel{margin-bottom:30px}
body.customer-view #billingSummary{padding:24px;margin-top:28px;margin-bottom:5vh}
body.customer-view #billingSummary>label{max-width:620px;margin:14px 0 18px}
body.customer-view #billingDetail{margin:14px 0 20px;color:var(--muted);line-height:1.7}
body.customer-view table{table-layout:fixed;white-space:normal;width:100%;font-size:13px}
body.customer-view th{padding:15px 18px;line-height:1.5;font-size:10px}
body.customer-view td{padding:17px 18px;vertical-align:middle;overflow-wrap:anywhere}
body.customer-view #readingsTable th:nth-child(1){width:26%}
body.customer-view #readingsTable th:nth-child(2){width:30%}
body.customer-view #readingsTable th:nth-child(3),body.customer-view #readingsTable th:nth-child(4){width:22%}
body.customer-view #readingsTable td:nth-child(n+3),body.customer-view #readingsTable th:nth-child(n+3),body.customer-view #billingSummary td:not(:first-child),body.customer-view #billingSummary th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
body.customer-view #readingsTable td:nth-child(3){font-weight:600}
body.customer-view #billingSummary th{width:25%}
body.customer-view .table-wrap{border-radius:10px}
body.customer-view .pagination{margin-top:18px}
@media(max-width:600px){body.customer-view #billingSummary{padding:18px}body.customer-view th,body.customer-view td{padding:12px 9px}body.customer-view table{font-size:12px}body.customer-view #customerMeterLabel{max-width:100%}body.customer-view #filterForm{padding:16px}}

body.customer-view #readingInfo{display:none}
body.customer-view .billing-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.customer-view #billingDetail:empty{display:none}

body.customer-view #readingInfo{display:none}
body.customer-view .billing-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.customer-view #billingDetail:empty{display:none}

body.customer-view #passwordButton{display:none!important}