:root{--ink:#183432;--muted:#73817b;--line:#e3e7df;--paper:#f6f7f2;--white:#fff;--accent:#d2efa4;--deep:#132d2b;--soft:#edf3e9;--danger:#ad4935;--shadow:0 3px 14px #17352b04;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:disabled{cursor:not-allowed;opacity:.5}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.15px;line-height:1.15;font-weight:650}h2{font-size:18px;font-weight:650;letter-spacing:-.3px}h3{font-size:16px;font-weight:650;letter-spacing:-.2px}small{font-weight:400}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #83b784;outline-offset:3px}input,select{min-width:0}input:read-only{background:#f1f4ed;color:#748176}input:focus,select:focus{border-color:#759c7b;box-shadow:0 0 0 3px #7da78018}input::placeholder{color:#9aa49d}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}.sprite{position:absolute;width:0;height:0;overflow:hidden}.app-shell{display:flex;min-height:100vh}.sidebar{width:242px;flex-shrink:0;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:var(--deep);color:#f4f5ed;padding:32px 22px 24px;z-index:20}.brand{display:flex;gap:12px;align-items:center;font-size:20px;font-weight:650;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--accent);color:var(--deep)}.brand-mark svg{width:27px;height:27px}.brand small{display:block;font-size:10px;color:#a7bbb0;margin-top:6px;letter-spacing:.3px}.workspace-label{font-size:9px;letter-spacing:1.5px;color:#849f94;margin:47px 6px 17px}.main-nav{display:flex;flex-direction:column;gap:7px}.main-nav a{display:flex;align-items:center;gap:11px;min-height:48px;padding:0 12px;border-radius:9px;font-size:13px;color:#c2d0c5}.main-nav a:hover{background:#24403a}.main-nav a.active{background:#304c3c;color:#ddf4bf}.main-nav b{font-size:10px;padding:4px 6px;border-radius:4px;margin-left:auto;background:#486248;color:#d4ebba;font-weight:500}.side-bottom{margin-top:auto}.tariff-mini{display:flex;align-items:flex-start;gap:12px;padding:18px 10px 26px;color:#a9c0ae;font-size:10px}.tariff-mini svg{color:var(--accent);margin-top:4px}.tariff-mini strong{font-size:24px;color:#e9f0dc;display:block;margin-top:8px;font-weight:500}.tariff-mini strong span{font-size:11px;color:#a9c0ae}.private-note{display:flex;gap:11px;border-top:1px solid #385047;padding:23px 10px 0;font-size:12px;color:#d4e1d4}.private-note svg{color:#93b388;width:18px;height:18px}.private-note small{display:block;margin-top:6px;font-size:10px;color:#91a996}.workspace{margin-left:242px;min-width:0;width:calc(100% - 242px)}.topbar{height:72px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:11px;background:#fafbf7;color:#8a968b}.topbar>span:first-child{color:#5b7065}.top-divider{margin:0 13px;color:#bdc7b9}#breadcrumb{color:#8a968b}.owner-chip{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);padding:9px 12px;border-radius:7px;color:#4c6656;font-size:11px}.status-dot{width:6px;height:6px;border-radius:50%;background:#80a962}main{max-width:1530px;margin:auto;padding:34px 38px 28px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:650;color:#7c8f7a;margin-bottom:9px}.subtitle{font-size:12px;line-height:1.6;color:#78877b;margin-top:10px}.date-chip{font-size:11px;white-space:nowrap;background:#ecefe6;border-radius:6px;padding:9px 12px;color:#687962}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:29px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 20px 16px;box-shadow:var(--shadow);min-height:125px}.summary-card>span{font-size:10px;color:#758571}.summary-card>strong{display:block;font-size:25px;letter-spacing:-.65px;margin:13px 0 10px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.summary-card small{font-size:11px;color:#8a9982;letter-spacing:0}.summary-foot{font-size:9px;color:#91a087}.progress{height:4px;background:#e9efdf;border-radius:8px;margin-top:18px}.progress i{height:100%;display:block;background:#92b76a;border-radius:8px}.registry-layout{display:grid;grid-template-columns:minmax(265px,.76fr) minmax(0,1.62fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h2{font-size:15px}.section-heading h3{display:flex;align-items:center;gap:7px}.section-heading h3 svg{width:17px;height:17px;color:#80945f}.count-pill{font-size:10px;color:#7e8e73;background:#f0f3e9;border-radius:5px;padding:4px 7px}.directory{padding:21px 0 0;overflow:hidden}.directory>.section-heading{padding:0 21px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #dbe1d3;border-radius:7px;margin:19px 17px 12px;padding:0 10px;height:43px;background:#fafbf7;color:#9aa78f}.search-box input{width:100%;height:100%;outline:0;border:0;background:transparent;font-size:12px;color:var(--ink);box-shadow:none}.search-box svg{width:17px;height:17px}.search-box .clear-search{width:23px;height:26px;padding:2px;opacity:.6}.filter-row{display:flex;gap:5px;margin:0 17px 16px}.filter{border-radius:5px;min-height:32px;padding:7px 9px;font-size:9px;color:#8a9680;background:#f6f7f1;white-space:nowrap}.filter.active{background:#e5eddb;color:#4e6944}.garage-list{max-height:655px;min-height:275px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d4dfca transparent}.garage-row{width:100%;display:flex;align-items:center;gap:11px;padding:15px 19px;background:#fff;text-align:left;min-height:76px;border-top:1px solid #f0f2eb;border-left:3px solid transparent;position:relative;color:var(--ink)}.garage-row:hover{background:#f7faf2}.garage-row.selected{border-left-color:#829d60;background:#eef4e6}.garage-number{width:34px;min-width:34px;height:34px;display:grid;place-items:center;border-radius:6px;background:#f4f5ee;font-size:11px;color:#899b79;font-variant-numeric:tabular-nums}.selected .garage-number{background:#dce8cb;color:#587545}.garage-row-text{display:flex;flex-direction:column;gap:6px;min-width:0}.garage-row-text strong{font-size:11px;font-weight:550}.garage-row-text>span{font-size:9px;color:#8b9981;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-status{margin-left:auto;flex-shrink:0;font-size:9px;color:#bbc5b2}.row-status svg{width:15px;height:15px}.row-status.debt{color:var(--danger);background:#f9ede7;padding:4px;border-radius:4px}.row-status.ready{color:#7b985c}.directory-foot{padding:14px 19px;background:#fafbf7;font-size:9px;color:#8f9b85;border-top:1px solid #e6eadf}.garage-detail{min-width:0;scroll-margin-top:18px}.detail-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;min-height:49px}.garage-title{display:flex;align-items:center;gap:12px}.detail-garage-icon{width:48px;height:48px;display:grid;place-items:center;background:#e6ecdf;color:#6e8356;border-radius:11px}.detail-garage-icon svg{width:25px;height:25px}.garage-title .eyebrow{font-size:8px;margin-bottom:6px}.garage-title h2{font-size:24px;letter-spacing:-.65px}.icon-button{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;background:transparent;color:#8a9c7c;padding:5px}.icon-button:hover{background:#e8edde}.edit-profile{background:#fff;border:1px solid var(--line);width:36px;height:36px}.edit-profile svg{width:16px;height:16px}.owner-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 16px;border:1px dashed #d8e0d0;border-radius:9px;background:#f9faf6}.identity{display:flex;align-items:center;gap:11px;min-width:0}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#eaf0e1;color:#8ca277;flex-shrink:0}.avatar svg{width:16px;height:16px}.identity>div{display:flex;flex-direction:column;gap:5px;min-width:0}.identity strong{font-size:11px;font-weight:550;overflow-wrap:anywhere}.identity div>span{font-size:9px;color:#8a9981;overflow-wrap:anywhere}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#6c8458;background:transparent;min-height:31px;padding:4px 0;font-size:10px;font-weight:500;white-space:nowrap}.text-button:hover{color:#314d2c;text-decoration:underline}.text-button svg{width:13px;height:13px}.energy-panel{padding:22px;margin-bottom:14px}.tariff-badge,.plain-badge{font-size:9px;padding:5px 8px;border-radius:4px;white-space:nowrap}.tariff-badge{color:#708950;background:#edf4e1}.plain-badge{color:#89987d;background:#f2f5ec}.reading-pair{display:grid;grid-template-columns:1fr 30px 1fr;gap:15px;align-items:center;margin-top:25px}.reading-pair label{font-size:10px;color:#87977b;display:block;margin-bottom:12px}.reading-pair strong{font-size:29px;font-weight:550;letter-spacing:-.6px;font-variant-numeric:tabular-nums;white-space:nowrap}.reading-pair small{font-size:10px;font-weight:400;color:#99a48c;letter-spacing:0;margin-left:7px}.reading-arrow{align-self:center;color:#b1bfa1;margin-top:20px}.reading-arrow svg{width:22px}.reading-caption{font-size:9px;color:#94a087;margin:15px 0 20px;line-height:1.6}.balance-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0e6;padding-top:17px;margin-bottom:19px}.balance-strip>div{display:flex;flex-direction:column;gap:8px}.balance-strip span{font-size:10px;color:#7b8d6d}.balance-strip strong{font-size:24px;font-weight:550;letter-spacing:-.4px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:11px 16px;border-radius:7px;font-size:11px;font-weight:550;white-space:nowrap}.primary-button{background:var(--deep);color:#eff5df;border:1px solid var(--deep)}.primary-button:hover{background:#274d3d}.primary-button svg{width:16px;height:16px}.secondary-button{background:white;border:1px solid #dce4d1;color:#647c50}.secondary-button:hover{background:#f1f5e8}.secondary-button svg{width:15px;height:15px}.full{width:100%}.trailing{margin-left:auto}.full .trailing{margin-left:auto}.full.primary-button{justify-content:flex-start}.full.primary-button>svg:first-child{color:#bdd58c}.membership-panel{padding:21px 22px;margin-bottom:14px}.membership-body{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:19px 0 13px}.membership-body>div:first-child{display:flex;flex-direction:column;gap:8px}.membership-body label{font-size:10px;color:#89987b}.membership-body strong{font-size:24px;font-weight:550;letter-spacing:-.4px}.membership-body span{font-size:9px;color:#96a289}.membership-actions{display:flex;flex-direction:column;gap:3px}.membership-actions .secondary-button{min-height:35px;padding:8px 12px;font-size:10px}.small-note{font-size:9px;line-height:1.65;color:#97a28e}.history-panel{padding:20px 22px}.empty-history{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:23px 5px 12px}.empty-history strong{font-size:11px;font-weight:500;color:#829274}.empty-history>span:last-child{font-size:9px;color:#a1ac96;line-height:1.6}.empty-icon{width:30px;height:30px;display:grid;place-items:center;color:#acb99b;margin-bottom:1px}.empty-icon svg{width:24px;height:24px}.event-row{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid #eef1e7}.event-row:last-child{border-bottom:0}.event-icon{width:31px;height:31px;display:grid;place-items:center;background:#f2f3ed;color:#9aab89;border-radius:7px;flex-shrink:0}.event-icon.electric{background:#f4f3e5;color:#a2a260}.event-icon.credit{background:#edf4e7;color:#85a76b}.event-icon svg{width:15px;height:15px}.event-description{display:flex;flex-direction:column;gap:6px;min-width:0}.event-description strong{font-size:10px;font-weight:550;line-height:1.5}.event-description span{font-size:9px;color:#98a58c;line-height:1.5}.event-amount{font-size:11px;font-weight:550;margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}.positive{color:#709255}.negative{color:var(--danger)}.site-footer{margin:0 38px;padding:20px 0 25px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);font-size:9px;color:#a1ac95}.site-footer .text-button{font-size:9px;color:#919f84;white-space:normal;text-align:right;min-height:24px}.list-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:35px 12px;color:#92a07f}.list-empty strong{font-size:12px;font-weight:500}.list-empty span{font-size:10px;line-height:1.7}.list-empty>svg{width:28px;height:28px;color:#b3bea4}.journal-panel{padding:23px}.journal-filters{display:flex;align-items:flex-end;gap:15px;padding-bottom:22px;border-bottom:1px solid var(--line)}.journal-filters label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#829176}.journal-filters input,.journal-filters select{width:160px;max-width:100%;height:40px;border:1px solid var(--line);border-radius:7px;padding:0 10px;color:#4e6652;background:#fafbf7;font-size:11px}.journal-filters select{width:210px}.journal-count{font-size:10px;color:#91a181;margin-left:auto;padding-bottom:13px;white-space:nowrap}.large-empty{padding:70px 20px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:18px;color:#819571}.large-empty>svg{width:40px;height:40px;color:#adbf9a}.large-empty h2{font-size:20px;color:#5b7754}.large-empty p{font-size:12px;line-height:1.7}.large-empty a{margin-top:4px}.private-pill{display:flex;align-items:center;gap:7px;color:#70845f;background:#ebf1e2;border:1px solid #dde6d3;padding:9px 12px;border-radius:6px;font-size:10px;white-space:nowrap}.private-pill svg{width:13px;height:13px}.storage-banner{display:flex;align-items:flex-start;gap:18px;background:#eaf0e1;border:1px solid #dbe5cd;border-radius:11px;padding:26px;margin-bottom:22px}.storage-symbol{width:42px;height:42px;display:grid;place-items:center;background:#dce9cc;color:#7a9460;border-radius:10px;flex-shrink:0}.storage-banner h2{font-size:17px;margin:2px 0 10px}.storage-banner p{font-size:11px;line-height:1.85;color:#738564;max-width:710px}.storage-banner>div>span{display:block;color:#94a17f;font-size:9px;line-height:1.6;margin-top:12px}.data-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.data-card{padding:24px;display:flex;align-items:flex-start;flex-direction:column;gap:15px}.data-icon{width:38px;height:38px;border:1px solid #e3e9da;background:#f3f6ec;display:grid;place-items:center;border-radius:9px;color:#8ca474}.data-icon svg{width:18px;height:18px}.data-card h2{font-size:17px}.data-card>p{font-size:11px;line-height:1.8;color:#869579}.privacy-hint{font-size:10px;line-height:1.8;color:#98a58b;margin-bottom:2px}.privacy-hint svg{width:11px;height:11px;vertical-align:middle;margin-right:4px}.data-card .primary-button,.data-card .secondary-button{margin-top:auto}.data-card .text-button{min-height:24px}.data-card.rules-card{background:#f9faf6;gap:12px}.rules-card dl{width:100%;margin:0;font-size:10px}.rules-card dl>div{padding:12px 0;border-bottom:1px solid #e5eadb}.rules-card dt{color:#8b9a7c;margin-bottom:7px}.rules-card dd{margin:0;color:#526e48;line-height:1.7}.source-note{margin-top:22px;font-size:9px;line-height:1.9;color:#9ba88e;max-width:850px}.warning{border:1px solid #e7d5af;background:#faf3e4;border-radius:8px;padding:14px 16px;font-size:11px;line-height:1.7;color:#947333;margin-bottom:20px}.toast{position:fixed;bottom:26px;left:calc(50% + 100px);transform:translate(-50%,20px);background:var(--deep);color:#eaf4dd;padding:14px 22px;border-radius:9px;box-shadow:0 6px 30px #132d2b25;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;font-size:12px;line-height:1.6}.toast.visible{opacity:1;transform:translate(-50%,0)}
dialog{border:1px solid #dbe3d1;border-radius:16px;padding:26px;width:min(500px,calc(100vw - 28px));color:var(--ink);box-shadow:0 20px 100px #102b2445;max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#18342c65;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.modal-heading h2{font-size:21px;line-height:1.3}.modal-heading .icon-button{flex-shrink:0}.modal-lead{font-size:11px;line-height:1.85;color:#829374;margin-bottom:21px}.field{display:flex;flex-direction:column;gap:9px;font-size:11px;color:#6f865d;margin-top:17px}.field input{border:1px solid #dce4d2;border-radius:7px;height:45px;padding:0 12px;font-size:13px;color:var(--ink);width:100%;background:#fafbf8}.field input:read-only{background:#eef3e7;color:#8ca079}.field-hint{font-size:10px;line-height:1.75;color:#99a88a;margin-top:9px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.calculation-preview{margin-top:22px;padding:18px;background:#eef4e6;border:1px solid #e0ead3;border-radius:9px;display:flex;gap:18px;flex-wrap:wrap;min-height:66px;align-items:center}.calculation-preview>div{display:flex;flex-direction:column;gap:8px;flex:1;min-width:120px}.calculation-preview span{font-size:10px;color:#8b9c77;line-height:1.6}.calculation-preview strong{font-size:22px;font-weight:550;color:#4c6943}.calculation-preview p{width:100%;font-size:10px;color:#89a070;border-top:1px solid #dae6cb;padding-top:12px;line-height:1.6}.calculation-preview p b{color:#5a794a}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-error{padding:12px 14px;border-radius:7px;background:#fff1e9;border:1px solid #f0d8c5;font-size:11px;color:#a75c3e;line-height:1.8;margin:12px 0}.file-picker{display:flex;align-items:center;flex-direction:column;gap:16px;border:1px dashed #bfcea8;border-radius:10px;background:#f4f7ee;padding:26px;margin:18px 0;color:#8ca574;font-size:12px}.file-picker input{font-size:11px;width:100%;color:#829474}.file-picker strong{font-weight:500}.import-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f0f5e8;border-radius:9px;padding:20px;margin-bottom:20px}.import-stats>div{display:flex;flex-direction:column;gap:10px}.import-stats span{font-size:10px;color:#8ca276}.import-stats strong{font-size:28px;font-weight:500}.import-stats+p{font-size:12px;line-height:1.8;color:#819971}
@media(min-width:1550px){.registry-layout{grid-template-columns:minmax(300px,.85fr) minmax(0,1.5fr)}main{padding-top:42px}.garage-list{max-height:700px}.summary-card{padding:22px 24px}.summary-card>strong{font-size:29px}.summary-card>span{font-size:11px}.garage-row{min-height:81px}.garage-row-text strong{font-size:12px}.garage-row-text>span{font-size:10px}.energy-panel,.membership-panel,.history-panel{padding:25px}.reading-pair strong{font-size:34px}.reading-caption{margin-bottom:23px}.balance-strip{padding-top:22px;margin-bottom:22px}.owner-card{padding:17px}.detail-heading{margin-bottom:21px}}
@media(max-width:1160px){.sidebar{width:205px;padding:27px 16px}.brand{font-size:18px;gap:9px}.brand-mark{width:38px;height:38px}.brand-mark svg{width:25px}.brand small{font-size:9px}.workspace-label{font-size:8px}.workspace{margin-left:205px;width:calc(100% - 205px)}main{padding:28px 24px}.topbar{padding:0 24px}.summary-grid{gap:10px}.summary-card{padding:16px 13px;min-height:118px}.summary-card>strong{font-size:23px}.summary-card small{font-size:9px}.summary-card>span{font-size:9px}.summary-foot{font-size:8px}.registry-layout{gap:18px;grid-template-columns:265px minmax(0,1fr)}.site-footer{margin:0 24px}.energy-panel,.membership-panel,.history-panel{padding:19px 17px}.reading-pair{gap:8px;grid-template-columns:1fr 20px 1fr}.reading-pair strong{font-size:25px}.reading-pair small{font-size:9px;margin-left:5px}.reading-pair label{font-size:9px}.owner-card{padding:12px}.identity strong{font-size:10px}.identity div>span{font-size:8px}.avatar{width:28px;height:28px}.owner-card .text-button{font-size:9px}.membership-body{gap:10px}.membership-body span{font-size:8px}.primary-button,.secondary-button{font-size:10px}.section-heading h3{font-size:14px}.garage-title h2{font-size:23px}.plain-badge,.tariff-badge{font-size:8px;padding:5px}.topbar{height:65px}.page-intro{margin-bottom:25px}.summary-grid{margin-bottom:24px}.owner-chip{font-size:10px}.topbar{font-size:10px}}
@media(max-width:1000px){.sidebar{width:78px;padding:25px 12px}.brand>span:last-child,.workspace-label,.main-nav a>span,.main-nav b,.tariff-mini,.private-note>span{display:none}.brand{justify-content:center}.main-nav{margin-top:44px}.main-nav a{justify-content:center;padding:0}.main-nav svg{width:22px;height:22px}.private-note{justify-content:center;padding:22px 0 0}.workspace{margin-left:78px;width:calc(100% - 78px)}h1{font-size:31px}.topbar{height:64px}.registry-layout{grid-template-columns:260px minmax(0,1fr)}.summary-card>strong{font-size:23px}.garage-list{max-height:650px}.toast{left:calc(50% + 39px)}}
@media(max-width:760px){:root{--paper:#f5f7f0}.sidebar{position:fixed;inset:auto 0 0 0;width:100%;height:68px;padding:0 12px;background:#fff;border-top:1px solid #e0e6d7;box-shadow:0 -4px 20px #17352805;padding-bottom:env(safe-area-inset-bottom);height:calc(68px + env(safe-area-inset-bottom))}.sidebar .brand,.side-bottom{display:none}.main-nav{flex-direction:row;margin:0;gap:12px;height:68px;align-items:center;justify-content:space-around}.main-nav a{width:30%;min-height:51px;gap:5px;flex-direction:column;border-radius:9px;font-size:9px;padding:6px 0;color:#91a07f}.main-nav a>span{display:block;font-size:9px}.main-nav a.active{background:#eaf1df;color:#617f47}.main-nav a:hover{background:#f0f4e7}.main-nav svg{width:21px;height:21px}.workspace{width:100%;margin:0;padding-bottom:calc(74px + env(safe-area-inset-bottom))}.topbar{height:57px;padding:0 19px;font-size:10px;background:#fcfdf9}.top-divider,#breadcrumb{display:none}.owner-chip{padding:7px 9px;font-size:9px}.status-dot{width:5px;height:5px}main{padding:26px 17px 24px}.page-intro{margin-bottom:23px;align-items:flex-start;gap:10px}.eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:9px}h1{font-size:28px;letter-spacing:-.9px}.subtitle{font-size:11px;margin-top:9px;max-width:270px}.date-chip{font-size:8px;padding:7px 8px;margin-top:1px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:25px}.summary-card{padding:17px 15px 13px;min-height:114px}.summary-card>span{font-size:9px}.summary-card>strong{font-size:24px;margin-top:13px;margin-bottom:10px}.summary-card small{font-size:10px}.summary-foot{font-size:8px}.progress{margin-top:18px}.registry-layout{display:flex;flex-direction:column;gap:26px}.directory,.garage-detail{width:100%}.directory{padding-top:18px}.directory>.section-heading{padding:0 17px}.section-heading h2{font-size:15px}.search-box{height:47px;margin-top:16px}.search-box input{font-size:16px}.search-box svg{width:18px;height:18px}.filter-row{gap:7px;margin-bottom:12px}.filter{min-height:35px;font-size:10px;padding:8px 12px}.garage-list{max-height:246px;min-height:0}.garage-row{min-height:72px;padding:13px 16px;gap:13px}.garage-row-text strong{font-size:12px}.garage-row-text>span{font-size:10px}.garage-number{width:37px;height:37px;font-size:12px}.directory-foot{font-size:9px;padding:13px 17px}.garage-detail{scroll-margin-top:16px}.detail-heading{margin-bottom:15px}.detail-garage-icon{width:45px;height:45px}.garage-title .eyebrow{font-size:8px}.garage-title h2{font-size:26px}.edit-profile{width:40px;height:40px}.owner-card{padding:14px;gap:6px;margin-bottom:14px}.avatar{width:32px;height:32px}.identity{gap:9px}.identity strong{font-size:11px}.identity div>span{font-size:9px;line-height:1.5;max-width:200px}.owner-card .text-button{font-size:10px;min-height:42px;min-width:60px}.energy-panel,.membership-panel,.history-panel{padding:21px 18px}.section-heading h3{font-size:15px}.tariff-badge,.plain-badge{font-size:9px;padding:5px 7px}.reading-pair{margin-top:26px;gap:10px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}.reading-pair label{font-size:9px;line-height:1.6;margin-bottom:11px}.reading-pair strong{font-size:28px;white-space:normal;overflow-wrap:anywhere}.reading-pair small{font-size:9px;margin-left:5px;display:inline-block}.reading-caption{font-size:9px;margin-top:14px;line-height:1.8}.balance-strip{padding-top:18px;margin-bottom:19px}.balance-strip span{font-size:10px}.balance-strip strong{font-size:25px}.balance-strip .secondary-button{min-height:42px;padding:9px 12px;font-size:10px}.primary-button{min-height:47px;font-size:12px}.secondary-button{min-height:44px;font-size:11px}.full.primary-button{padding:12px 16px}.membership-body{margin-top:21px;gap:8px}.membership-body strong{font-size:25px}.membership-body span{font-size:9px;line-height:1.7;max-width:170px}.membership-body label{font-size:10px}.membership-actions .secondary-button{font-size:10px;min-height:40px}.membership-actions .text-button{font-size:9px;min-height:36px}.small-note{font-size:9px}.empty-history{padding:25px 3px 12px;gap:11px}.empty-history strong{font-size:11px;line-height:1.6}.empty-history>span:last-child{font-size:9px}.event-row{gap:9px;padding:16px 0}.event-description strong{font-size:10px}.event-description span{font-size:9px}.event-amount{font-size:11px}.site-footer{margin:0 17px;padding:17px 0 12px;align-items:flex-start;font-size:8px;line-height:1.7;gap:20px}.site-footer .text-button{max-width:180px;font-size:8px;padding:0;line-height:1.7}.toast{bottom:calc(83px + env(safe-area-inset-bottom));left:50%;font-size:11px;width:max-content;max-width:calc(100% - 32px);padding:13px 18px}.journal-panel{padding:18px 15px}.journal-filters{flex-wrap:wrap;gap:13px}.journal-filters label{width:calc(50% - 7px);font-size:10px}.journal-filters input,.journal-filters select{width:100%;font-size:16px;height:44px}.journal-filters select{font-size:12px}.journal-count{padding-bottom:0;margin-left:0;font-size:9px}.large-empty{padding:50px 8px}.large-empty h2{font-size:19px}.large-empty p{font-size:11px}.page-intro:has(+.journal-panel){flex-wrap:wrap}.page-intro>.secondary-button{font-size:10px;min-height:39px;padding:9px 12px}.page-intro>.private-pill{display:none}.storage-banner{padding:20px 16px;gap:12px;align-items:flex-start}.storage-symbol{width:31px;height:31px;border-radius:7px}.storage-symbol svg{width:17px;height:17px}.storage-banner h2{font-size:15px;line-height:1.5;margin-top:0}.storage-banner p{font-size:10px;line-height:1.9}.storage-banner>div>span{font-size:8px}.data-grid{grid-template-columns:1fr;gap:15px}.data-card{padding:23px 21px;gap:16px}.data-card>p{font-size:11px}.data-card h2{font-size:18px}.privacy-hint{font-size:10px}.source-note{font-size:9px;margin-top:20px}.rules-card dl{font-size:11px}.warning{font-size:11px}dialog{padding:23px 20px;border-radius:14px;max-height:calc(100dvh - 26px);width:calc(100vw - 26px)}.modal-heading h2{font-size:20px}.modal-heading .icon-button{width:35px;height:35px}.modal-lead{font-size:11px}.field{font-size:11px}.field input{height:48px;font-size:16px}.two-fields{gap:12px}.field-hint{font-size:10px}.calculation-preview{padding:16px;gap:15px}.calculation-preview strong{font-size:23px}.form-actions{gap:9px}.form-actions .primary-button{font-size:11px;padding:11px 13px}.form-actions .secondary-button{font-size:11px}.file-picker input{font-size:12px}.import-stats span{font-size:10px}}
@media(max-width:370px){main{padding-left:13px;padding-right:13px}.topbar{padding:0 15px}.page-intro{flex-wrap:wrap}.date-chip{display:none}h1{font-size:28px}.summary-card{padding:15px 12px}.summary-card>strong{font-size:23px}.reading-pair strong{font-size:25px}.energy-panel,.membership-panel,.history-panel{padding:19px 15px}.plain-badge{font-size:8px}.identity div>span{font-size:8px;max-width:170px}.owner-card .text-button{font-size:9px;min-width:50px}.membership-actions .secondary-button{padding:8px 9px}.modal-heading h2{font-size:18px}.form-actions .primary-button{font-size:10px;padding:10px}.two-fields{gap:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.expenses-intro .primary-button{white-space:nowrap}
.expenses-toolbar{display:flex;align-items:center;gap:23px;padding:17px 21px;margin-bottom:20px}
.expenses-toolbar label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#819174}
.expenses-toolbar input{height:41px;width:180px;padding:0 11px;background:#fafbf7;border:1px solid var(--line);border-radius:7px;font-size:13px;color:var(--ink)}
.expense-period{font-size:12px;color:#8a9a7a;padding-top:17px}
.expenses-toolbar .secondary-button{margin-left:auto}
.expense-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:23px}
.expense-summary strong{white-space:normal;overflow-wrap:anywhere;font-size:clamp(22px,2.1vw,29px)}
.expense-summary .summary-foot{line-height:1.8}
.expense-ledger{padding:21px 23px}
.expense-ledger>.section-heading{margin-bottom:18px}
.expense-table-heading,.expense-row{display:grid;grid-template-columns:110px minmax(130px,1.5fr) minmax(100px,1fr) minmax(95px,auto) 33px;gap:18px;align-items:center}
.expense-table-heading{font-size:9px;color:#98a68a;padding:13px 0;border-block:1px solid #edf0e7}
.expense-table-heading>span:nth-child(4){text-align:right}
.expense-row{padding:20px 0;border-bottom:1px solid #edf0e7}
.expense-row:last-child{border-bottom:0}
.expense-row time{font-size:11px;color:#8a9c79;line-height:1.7}
.expense-category{display:inline-block;font-size:10px;line-height:1.5;padding:5px 8px;border-radius:5px;background:#f0f3eb;color:#7e916c}
.expense-category.waste{background:#eaf3df;color:#69844e}
.expense-details p{font-size:11px;line-height:1.8;color:#8c9c7c;margin-top:8px;overflow-wrap:anywhere;white-space:pre-wrap}
.expense-recipient{font-size:11px;line-height:1.8;color:#778d67;overflow-wrap:anywhere}
.expense-mobile-label{display:none}
.expense-amount{font-size:14px;font-weight:550;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.expense-empty{padding:55px 10px}
.expense-empty h2{font-size:20px}
.expenses-footnote{margin-top:19px;font-size:10px;line-height:1.9;color:#8d9e7b}
.expenses-footnote p{display:flex;align-items:flex-start;gap:7px}
.expenses-footnote svg{width:13px;height:13px;margin-top:3px}
.expenses-footnote p+p{margin-top:5px}
#expense-form .field select,#expense-form .field textarea{border:1px solid #dce4d2;background:#fafbf8;color:var(--ink);border-radius:7px;padding:12px;font-size:13px;width:100%}
#expense-form .field select{height:45px;padding-block:0}
#expense-form .field textarea{resize:vertical;min-height:85px;line-height:1.7}
.restore-expenses-summary{font-size:11px;line-height:1.8;color:#7c926a;margin-bottom:17px}
@media(max-width:1160px){.expense-table-heading,.expense-row{grid-template-columns:90px minmax(100px,1.3fr) minmax(80px,1fr) minmax(85px,auto) 32px;gap:12px}.expense-ledger{padding:20px 17px}.expense-row time,.expense-recipient,.expense-details p{font-size:10px}.expense-amount{font-size:12px}}
@media(max-width:760px){
  .main-nav{gap:4px}.main-nav a{width:25%;min-width:0;min-height:57px;padding:5px 2px;gap:4px}.main-nav a>span{font-size:8px;line-height:1.4;text-align:center}.main-nav svg{width:20px;height:20px}
  .expenses-intro{flex-wrap:wrap;gap:17px}.expenses-intro .primary-button{min-height:44px;padding:12px 15px;font-size:11px}
  .expenses-toolbar{padding:17px 15px;gap:12px;flex-wrap:wrap;margin-bottom:16px}.expenses-toolbar label{flex:1;min-width:145px}.expenses-toolbar input{font-size:16px;width:100%;height:44px}.expense-period{display:none}.expenses-toolbar .secondary-button{margin-left:0;align-self:flex-end;font-size:10px;min-height:44px;padding:10px 12px}
  .expense-summary{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.expense-summary .summary-card:first-child{grid-column:1/-1;min-height:115px;background:#edf3e5;border-color:#dae5cc}.expense-summary .summary-card:first-child>strong{font-size:32px}.expense-summary strong{font-size:22px}.expense-summary .summary-card{min-height:116px}.expense-summary .summary-foot{font-size:9px}
  .expense-ledger{padding:19px 16px}.expense-ledger>.section-heading{margin-bottom:10px}.expense-table-heading{display:none}
  .expense-row{grid-template-columns:minmax(0,1fr) auto 36px;gap:10px 8px;padding:19px 0}.expense-row time{grid-column:1;font-size:10px}.expense-amount{grid-column:2;grid-row:1;max-width:150px;font-size:16px}.expense-row>.icon-button{grid-column:3;grid-row:1;width:36px;height:38px;background:#f3f6ec}.expense-row>.icon-button svg{width:16px;height:16px}.expense-details{grid-column:1/-1;grid-row:2}.expense-details p{font-size:11px;margin-top:9px}.expense-category{font-size:10px}.expense-recipient{grid-column:1/-1;grid-row:3;font-size:11px}.expense-mobile-label{display:inline;color:#a1af90;margin-right:8px;font-size:10px}.expense-empty{padding:35px 1px;gap:15px}.expense-empty h2{font-size:18px;line-height:1.5}.expense-empty p{font-size:11px;line-height:1.8}.expenses-footnote{font-size:9px;line-height:1.9;margin-top:16px}
  #expense-form .field select,#expense-form .field textarea{font-size:16px}#expense-form .field select{height:48px}#expense-form .field textarea{min-height:90px}.restore-expenses-summary{font-size:11px}
}
@media(max-width:370px){.expense-amount{font-size:14px;max-width:125px}.expense-summary strong{font-size:20px}.expenses-toolbar{gap:10px;padding-inline:12px}.expenses-toolbar label{min-width:130px}.expenses-toolbar .secondary-button{font-size:9px;padding-inline:9px}.expenses-intro .primary-button{font-size:11px}}
.membership-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:21px}
.membership-toolbar label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#819174}
.membership-toolbar input{height:40px;width:112px;border:1px solid var(--line);border-radius:7px;background:#fafbf7;padding:0 11px;color:var(--ink);font:inherit;font-size:14px}
.membership-toolbar .text-button{display:flex;align-items:center;gap:6px;font-size:10px;text-align:right}
.membership-toolbar .text-button svg{width:13px;height:13px;flex-shrink:0}
.membership-rate-line{display:flex;justify-content:space-between;gap:12px;margin-top:15px;font-size:11px;line-height:1.8;color:#7c906b;flex-wrap:wrap}
.membership-year-totals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:20px}
.membership-year-totals>div{min-width:0;display:flex;flex-direction:column;gap:8px;align-self:start}
.membership-year-totals strong{font-size:clamp(20px,2vw,28px);overflow-wrap:anywhere;line-height:1.5}
.membership-year-totals span{line-height:1.7;max-width:none}
.membership-progress{height:5px;border-radius:5px;background:#e9efdf;overflow:hidden;margin-top:19px}
.membership-progress i{display:block;height:100%;background:#90ac70;border-radius:5px}
.membership-accrual{font-size:10px;line-height:1.9;color:#8b9c7a;margin-top:13px}
.annual-actions{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:9px 14px;margin-top:18px}
.annual-actions .text-button{font-size:10px;gap:5px;display:flex;align-items:center}
.annual-actions .text-button svg{width:13px;height:13px}
.payment-year-edit{font-size:9px;min-height:26px;padding:3px 0;display:flex;align-items:center;gap:5px}
.payment-year-edit svg{width:11px;height:11px}
#membership-payment-preview .text-button{font-size:11px;min-height:36px;line-height:1.6}
.membership-panel>.small-note{line-height:1.8}
@media(max-width:760px){.membership-toolbar input{height:44px;font-size:16px}.membership-toolbar{gap:10px}.membership-toolbar .text-button{min-height:44px;font-size:10px}.membership-rate-line{font-size:11px}.membership-year-totals strong{font-size:25px}.membership-year-totals label{font-size:10px}.membership-year-totals span{font-size:9px}.membership-accrual{font-size:10px}.annual-actions .text-button{min-height:40px}.membership-panel .plain-badge{font-size:8px}.payment-year-edit{min-height:30px}}
@media(max-width:370px){.membership-year-totals{gap:10px}.membership-year-totals strong{font-size:22px}.membership-toolbar .text-button{font-size:9px}.membership-panel .plain-badge{padding-inline:5px;font-size:7px}}
.owner-identities{flex:1;min-width:0}
.owner-identities+.text-button{align-self:flex-start;flex-shrink:0}
.owner-contact-list{margin-top:14px;padding-top:12px;border-top:1px solid #e1e7d9}
.owner-contact-list>p{font-size:10px;line-height:1.8;color:#8a9981;margin-bottom:10px}
.contact-summary{display:flex;flex-direction:column;gap:5px;padding:8px 0;min-width:0}
.contact-summary strong{font-size:11px;font-weight:550;line-height:1.7;overflow-wrap:anywhere}
.contact-summary span{font-size:11px;color:#7e906e;line-height:1.7;overflow-wrap:anywhere}
.profile-contacts-section{margin-top:25px;padding-top:20px;border-top:1px solid #e3e9db}
.profile-contacts-section h3{font-size:15px;line-height:1.6;font-weight:550}
.profile-contacts-section .field-hint{margin-top:6px}
.contact-editor{position:relative;min-width:0;margin:21px 0 0;padding:12px 14px 17px;border:1px solid #dce5d2;border-radius:9px;background:#f8faf5}
.contact-editor legend{font-size:11px;color:#7b9168;padding:0 6px;max-width:calc(100% - 90px);line-height:1.7}
.contact-editor .two-fields{gap:12px}
.contact-editor .field{margin-top:19px;min-width:0}
.contact-editor .field input{background:#fff}
.remove-contact{position:absolute;right:12px;top:1px;min-height:28px;display:flex;align-items:center;gap:4px;font-size:10px}
.remove-contact svg{width:12px;height:12px}
.add-contact{margin-top:15px;min-height:41px}
.profile-actions{position:sticky;bottom:0;padding-top:13px;padding-bottom:2px;background:#fff;border-top:1px solid #e8edde;z-index:1}
@media(max-width:560px){.contact-editor .two-fields{grid-template-columns:minmax(0,1fr);gap:0}.contact-editor{padding:10px 12px 15px}.contact-editor .field{margin-top:17px}.contact-editor .field+.field{margin-top:15px}.contact-editor .two-fields{margin-top:8px}.remove-contact{top:0;min-height:36px}.profile-contacts-section h3{font-size:15px}.add-contact{min-height:44px}.contact-summary span{font-size:12px}.profile-actions{gap:8px}.profile-actions .primary-button{font-size:11px}}
/* Shared database status and migration */
.migration-card{margin-bottom:20px;max-width:100%;gap:14px}.migration-card p{max-width:850px}.migration-card button{margin:8px 12px 8px 0}.empty-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.6;margin:12px 0}.empty-confirm input{margin-top:6px;flex:0 0 auto}.member-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(140px,220px) auto;gap:14px;align-items:end;margin:16px 0}.member-form .field{margin:0}.member-form button{margin:0}.server-list{margin-top:14px}.server-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid var(--border,#e1e8e5);overflow-wrap:anywhere}.server-row div{display:flex;flex-direction:column;gap:5px}.server-row span{font-size:12px;color:var(--muted,#657674)}.refresh-form{font-size:12px;margin-bottom:14px}button:disabled{opacity:.46;cursor:not-allowed}.site-footer button{max-width:75%;text-align:right}#sync-status{font-size:12px}@media(max-width:760px){.member-form{grid-template-columns:1fr}.server-row{align-items:flex-start;flex-direction:column}.migration-card{padding:20px}.migration-card button{max-width:100%;white-space:normal}}
.profile-save-status{padding:10px 13px;margin:0 0 16px;border-radius:10px;background:#f0f5f2;color:#2b5b48;font-size:13px;line-height:1.5}.profile-save-status[data-state="saving"],.profile-save-status[data-state="draft"]{background:#f6f3e9;color:#806423}.profile-save-status[data-state="error"],.profile-save-status[data-state="conflict"],.profile-save-status[data-state="incomplete"]{background:#fff1e8;color:#8c4d2a}
.ownership-section{margin-top:16px;padding:16px;border:1px solid #dce6d2;border-radius:12px;background:#f7f9f3}.ownership-section fieldset{border:0;padding:0;min-width:0}.ownership-check{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600}.ownership-check input[type=checkbox]{width:19px;height:19px;min-height:19px;margin:0;accent-color:#41642b;flex-shrink:0}.ownership-section .field{margin-top:14px}.ownership-section .field-hint{margin:10px 0;overflow-wrap:anywhere}.ownership-section input[type=file]{padding:10px;max-width:100%;font-size:12px}.ownership-section a{text-decoration:underline}.ownership-section button{max-width:100%;white-space:normal}
.member-picker{padding:0 20px 20px;margin-bottom:18px;max-width:420px}.member-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.member-panels .reading-pair{gap:12px}.member-panels .reading-pair strong{font-size:24px} [hidden]{display:none!important}@media(max-width:760px){.member-panels{grid-template-columns:1fr}}
.requisites-fields{border:0;padding:0;min-width:0}.requisites-fields h2{margin-top:25px}.requisites-fields h2:first-child{margin-top:10px}.requisites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.requisites-letterhead{text-align:center;padding:22px 0;overflow-wrap:anywhere;border-bottom:2px solid #71815e}.requisites-letterhead p{margin:7px 0}.requisites-letterhead h3{margin-bottom:12px}@media(max-width:620px){.requisites-grid{grid-template-columns:1fr;gap:0}}
.certificate-card-button{margin-bottom:18px;width:100%}.certificate-garage-choices{border:1px solid #dce3d5;border-radius:10px;padding:14px;margin-bottom:18px;display:flex;flex-wrap:wrap;gap:14px}.certificate-garage-choices label,.certificate-review{display:flex;align-items:center;gap:9px}.certificate-garage-choices input,.certificate-review input{width:19px;height:19px;min-height:19px;flex-shrink:0;accent-color:#41642b}.certificate-preview{margin-top:18px}.certificate-paper{background:#fff;color:#20251d;border:1px solid #dce3d5;padding:28px;margin:18px 0;font-family:Georgia,'Times New Roman',serif;overflow-wrap:anywhere}.certificate-paper p{margin:14px 0;line-height:1.6}.certificate-paper-header{text-align:center;border-bottom:1px solid #78866a;padding-bottom:12px}.certificate-paper-header p{margin:6px 0;font-size:13px}.certificate-paper-title{text-align:center;margin:18px 0 12px}.certificate-table{border-collapse:collapse;width:100%;font-size:13px}.certificate-table th,.certificate-table td{padding:11px 8px;border-bottom:1px solid #dce3d5;text-align:right}.certificate-table th:first-child,.certificate-table td:first-child{text-align:left}.certificate-table thead,.certificate-table tr:last-child{background:#f0f2ed}.certificate-table-wrap{overflow-x:auto}.certificate-review{margin:20px 0;align-items:flex-start;line-height:1.6}.certificate-history-row{padding:18px 0;border-bottom:1px solid #e3e8dd;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.certificate-history-row p{margin:6px 0}.certificate-history-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.certificate-preview .warning ul{padding-left:20px}.certificate-preview .warning li{margin:8px 0}@media(max-width:560px){.certificate-paper{padding:16px 12px}.certificate-table{font-size:12px}.certificate-table th,.certificate-table td{padding:9px 5px}}
.certificate-table .certificate-subtotal{background:#f5f6f2}.certificate-table .certificate-total{background:#edf0e8;font-weight:600}
.local-login{max-width:580px;margin:8vh auto;padding:20px}.local-login .data-card{padding:28px}.local-login h1{margin-top:14px}.local-account-actions{display:flex;gap:12px;flex-wrap:wrap}

/* Member cards contain two values; the chairman's reading row has an arrow column. */
.member-panels .data-card{min-width:0}
.member-panels .reading-pair{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.member-panels .reading-pair>div{min-width:0}
.member-panels .reading-pair strong{display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;line-height:1.3}
.member-panels .reading-pair small{white-space:nowrap}
.member-panels .balance-strip{width:100%;flex-wrap:wrap}
.member-panels .balance-strip strong{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.member-reading-card{margin-block:18px}
.member-reading-card form,#security-password-form{width:100%;min-width:0}
@media(max-width:760px){
  .member-panels .reading-pair{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:12px}
  .member-panels .reading-pair label{font-size:12px;line-height:1.5;margin-bottom:7px}
  .member-panels .reading-pair strong{font-size:clamp(20px,6vw,28px)}
  .member-panels .reading-pair small{font-size:12px}
  .member-panels .balance-strip{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:0}
  .member-panels .balance-strip span{font-size:12px;line-height:1.5}
  .member-panels .balance-strip strong{font-size:clamp(20px,6vw,28px)}
  .member-panels .field{width:100%;max-width:100%}
  .member-workspace .workspace{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
  .member-workspace .main-nav a{flex:1;max-width:240px;width:auto}
  .member-workspace .main-nav a>span{font-size:11px;line-height:1.3}
  .member-workspace .event-row{align-items:flex-start;flex-wrap:wrap}
  .member-workspace .event-row>strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;margin-left:auto}
}

.member-profile{margin-bottom:24px;padding:18px 20px;background:#edf3e6;border:1px solid #dce6d2;border-radius:12px;min-width:0}
.member-profile-name{font-size:21px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.member-profile-garages{font-size:12px;line-height:1.6;color:#657b5c;margin-top:6px}
@media(max-width:760px){.member-profile{padding:16px;margin-bottom:20px}.member-profile-name{font-size:20px}.member-profile-garages{font-size:12px}}

.tenant-card{border-top:1px solid #dce6d2;padding-top:16px;display:flex;flex-direction:column;gap:10px;width:100%;min-width:0}
.tenant-card h3{font-size:15px}.tenant-name{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.tenant-phone{font-size:15px;text-decoration:underline;min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
.tenant-actions{display:flex;flex-wrap:wrap;gap:12px}.tenant-card.panel{padding:20px;margin-bottom:18px}
@media(max-width:760px){.tenant-actions .text-button{min-height:44px}.tenant-card.panel{padding:18px}.tenant-phone{font-size:16px}}

.community-entry{padding:10px 38px;background:#edf2e3;border-bottom:1px solid var(--line)}.community-entry a{display:flex;align-items:center;min-height:44px;color:#385335;font-size:14px;overflow-wrap:anywhere}@media(max-width:760px){.community-entry{padding:6px 20px}.community-entry a{font-size:13px}}

.official-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap;vertical-align:middle}.official-board{background:#e8efdb;color:#4b652d;border:1px solid #cedcb5}.official-chairman{background:#deebe8;color:#24534a;border:1px solid #b9d3ca}.board-appointment{display:flex;gap:10px;align-items:center;min-height:44px;font-size:13px}.board-appointment input{width:20px;height:20px;flex:none}.topbar{height:auto;min-height:72px;flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:10px}

@media(max-width:760px){.main-nav a[data-nav="readings-payments"]>span{white-space:normal;overflow-wrap:normal}.member-workspace .main-nav a{min-width:0}.payments-history .event-row{flex-wrap:wrap;gap:8px}.payments-history .event-row>strong{white-space:nowrap;margin-left:auto}}

.account-directory{border-top:1px solid var(--line);padding-top:20px;min-width:0}.account-directory .field{max-width:560px}.account-row{overflow-wrap:anywhere}.account-row>strong{font-size:15px}.account-empty{padding:16px 0;color:#617261}

.notification-toolbar{position:relative;padding:8px 38px;background:#f9faf5;border-bottom:1px solid var(--line);z-index:25}.notification-menu>summary{list-style:none;min-height:44px;display:flex;gap:8px;justify-content:flex-end;align-items:center;font-size:13px;color:#365343;cursor:pointer}.notification-menu>summary::-webkit-details-marker{display:none}.notice-count{background:#3f6435;color:#fff;padding:3px 7px;border-radius:12px;font-size:11px}.notice-count[hidden]{display:none}.notification-panel{position:absolute;right:20px;top:100%;width:min(440px,calc(100% - 40px));max-height:70dvh;overflow:auto;background:white;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 12px 30px #18343220}.notification-panel h2{font-size:20px;margin-bottom:12px}.notice-sound{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px}.notice-sound input{width:20px;height:20px}.notification-panel button{min-height:44px;padding:8px 10px;border-radius:8px;background:#edf2e4;color:#3f593b;font-size:12px}.notice-status{font-size:12px;color:#64735e;line-height:1.5}.notice-item{padding:15px 10px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.notice-unread{background:#f1f6e9}.notice-item>strong{font-size:14px}.notice-item p{font-size:13px;line-height:1.5;margin:8px 0}.notice-item time{font-size:11px;color:#6c7b66}.notice-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.notice-actions span{font-size:11px;color:#6c7b66}.notice-list>p{font-size:13px;line-height:1.6;margin:12px 0}@media(max-width:760px){.notification-toolbar{padding:6px 20px}.notification-panel{right:10px;width:calc(100% - 20px);max-height:65dvh;padding:16px}}

.energy-wallet-card{margin:16px 0}.energy-wallet-card .balance-strip{flex-wrap:wrap;gap:12px}.energy-wallet-card .balance-strip strong{white-space:nowrap}.energy-wallet-card summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:13px}@media(max-width:760px){.energy-wallet-card .balance-strip{flex-direction:column;align-items:flex-start}.energy-wallet-card .balance-strip strong{font-size:26px}}

.receipt-button{display:inline-flex;min-height:44px;align-items:center;margin:4px 16px 4px 0;font-size:12px}.receipt-cash-confirm{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5}.receipt-cash-confirm input{width:20px;height:20px;flex:none}.receipt-form-status{font-size:13px;color:#865136}.energy-wallet-card .event-row span{display:flex;flex-direction:column;align-items:flex-start}

.cancel-payment-button,.payment-cancelled{color:#94513e}.payment-cancelled{font-size:12px;line-height:1.5;margin:5px 0}.cancelled-payment-amount{text-decoration:line-through;color:#7b7f75}#cancel-payment-form textarea{font:inherit;width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;resize:vertical}

.weekly-report-row{padding:18px 0;border-bottom:1px solid var(--line);display:grid;gap:10px;min-width:0}.weekly-report-row h3{font-size:16px}.weekly-report-row p{font-size:13px;line-height:1.6;margin-top:5px}.weekly-report-row .form-actions{flex-wrap:wrap}.weekly-report-row a{min-height:44px;display:inline-flex;align-items:center}.weekly-report-row strong{white-space:nowrap}#weekly-report-form{display:grid;gap:14px;max-width:560px}@media(min-width:761px){.sidebar{overflow-y:auto}}@media(max-width:760px){body:not(.member-workspace) .main-nav{overflow-x:auto;justify-content:flex-start;gap:5px;scrollbar-width:thin}body:not(.member-workspace) .main-nav a{flex:0 0 80px;width:80px}}

/* Chairman-only ownership status in the garage directory. */
.filter-row{flex-wrap:wrap}
.garage-row-text .owner-status{display:block;width:fit-content;max-width:100%;white-space:normal;overflow-wrap:normal;line-height:1.45;font-size:11px;font-weight:600;padding:3px 7px;border-radius:6px;margin:5px 0}
.owner-status.unverified{color:#785009;background:#fff0c2;border:1px solid #e4c36b}
.owner-status.verified{color:#416b38;background:#eef5e8}
.owner-status.pending{color:#72796e;background:#f2f3ef}
.garage-row-text .owner-name-hint{display:block;color:#956715;font-size:11px;line-height:1.5;white-space:normal}
.owner-photo{width:54px;height:54px;border-radius:50%;object-fit:cover;flex-shrink:0}.owner-photo[hidden]{display:none}.owner-photo.large{width:96px;height:96px}.avatar{position:relative;overflow:hidden}.avatar .owner-photo{position:absolute;inset:0;width:100%;height:100%;z-index:1}.member-profile>.owner-photo{float:left;margin:0 14px 8px 0}.member-profile{display:flow-root}.avatar-preview{display:flex;align-items:center;gap:14px}.avatar-placeholder{color:#7b8773;font-size:13px}.avatar-preview:has(.owner-photo:not([hidden])) .avatar-placeholder{display:none}

.guide-highlight{outline:3px solid #c4a448!important;outline-offset:4px;border-radius:8px}#guide-dialog{position:fixed;inset:auto 24px 100px auto;margin:0;width:min(430px,calc(100vw - 32px));max-height:calc(100dvh - 135px);overflow:auto;padding:24px;border:1px solid #dfe5d5;border-radius:16px;color:#183432;box-shadow:0 18px 70px #18343240}#guide-dialog::backdrop{background:#18343230}#guide-dialog h2{font-size:23px;line-height:1.3;margin:8px 0 14px}#guide-dialog p{line-height:1.6;font-size:14px}#guide-dialog .guide-return-note{font-size:12px;color:#627357}.guide-choice{display:flex;align-items:flex-start;gap:10px;margin-top:18px;font-size:14px;line-height:1.5}.guide-choice input{width:20px!important;height:20px!important;flex:none;margin-top:1px}.guide-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px}#guide-error{color:#96492e}.guide-notice{position:fixed;z-index:10000;bottom:95px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:470px;box-sizing:border-box;background:#183432;color:white;padding:16px 20px;border-radius:12px;font-size:14px;line-height:1.5}@media(max-width:760px){#guide-dialog{right:16px;bottom:100px;padding:20px}.guide-actions button{min-height:44px}.guide-actions{gap:8px}#guide-dialog .guide-actions .text-button{margin-right:auto}}

/* Transparent modal layer: four shades leave the actual target fully lit. */
#guide-dialog{inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}#guide-dialog::backdrop{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}#guide-dialog .guide-shade{position:fixed;background:rgba(8,23,20,.58);pointer-events:auto}#guide-hole{position:fixed;border:2px solid #c4a448;border-radius:10px;pointer-events:none;box-shadow:0 0 0 1px #e7dca4}#guide-card{position:fixed;width:min(410px,calc(100vw - 16px));padding:24px;border:1px solid #dfe5d5;border-radius:16px;background:#fff;color:#183432;box-shadow:0 18px 65px #102b2440;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}#guide-card .guide-actions{position:relative}#guide-dialog #guide-card h2{font-size:22px}#guide-card .guide-actions button{min-height:44px}@media(max-width:760px){#guide-card{padding:20px}#guide-card .guide-actions{gap:8px}#guide-card .primary-button{font-size:12px;padding:10px 14px}}
