.customer-tree-panel{margin-block:var(--space-4);overflow:hidden}.customer-panel{margin-block:var(--space-6);animation:.22s ease-out customer-reveal}.customer-panel>nav{margin-bottom:var(--space-4)}.customer-views,.customer-breadcrumb{gap:var(--space-3);flex-wrap:wrap;display:flex}.customer-views a[aria-current=page]{background:var(--brand);color:var(--ink)}.trends-panel{margin-block:var(--space-4)}.trend-figure{margin:var(--space-4) 0 0}.trend-figure svg{width:100%;min-height:180px;display:block;overflow:visible}.trend-figure text{fill:var(--ink-muted);font:12px var(--font-sans)}.trend-line{fill:none;stroke:var(--brand);stroke-width:2px}.trend-bar,.trend-point{fill:var(--brand)}.trend-range{stroke:var(--brand);opacity:.4;stroke-width:2px}.trend-limit{stroke:var(--danger);stroke-dasharray:6 4;fill:none}.trend-hit{fill:#0000;cursor:pointer}.trend-figure g:focus{outline:none}.trend-figure g:focus .trend-hit{stroke:var(--ink);stroke-width:1px}.trend-bubble{min-height:3em;padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-raised);overflow-wrap:anywhere}.live-load{margin-block:var(--space-4)}.live-load .grid>div{gap:var(--space-2);display:grid}.customer-summary{gap:var(--space-4);margin-block:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.customer-summary strong{font-size:1.25rem;display:block}.home-blocks{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));display:grid}.home-bars{border-bottom:1px solid var(--border);height:140px;margin-top:var(--space-4);align-items:end;gap:3px;display:flex}.home-bars button{background:var(--brand);border:0;flex:1;min-width:0;min-height:2px;padding:0}.home-bars button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.home-amount{font-size:2rem;font-weight:700}.customer-map{gap:var(--space-2);grid-template-columns:repeat(auto-fill,minmax(70px,1fr));display:grid}.customer-map a{padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-sm);text-align:center}.customer-map .not-smart{background:repeating-linear-gradient(135deg,var(--surface) 0,var(--surface) 5px,var(--border) 5px,var(--border) 6px)}.meter-tabs{gap:var(--space-2);margin-block:var(--space-4);flex-wrap:wrap;display:flex}.meter-readings{max-width:100%;overflow-x:auto}.meter-readings table{white-space:nowrap}.settings-inheritance form{gap:var(--space-3);display:grid}.settings-inheritance input{box-sizing:border-box;max-width:100%}.level-tabs details{position:relative}.level-tabs summary{cursor:pointer;padding:var(--space-3);white-space:nowrap;list-style:none}.level-tabs details>div{z-index:50;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);min-width:230px;padding:var(--space-2);position:absolute}.level-tabs details>div a{padding:var(--space-2);white-space:normal;display:block}.tier-item{min-width:0}.tier-item>span{overflow-wrap:anywhere}@media (max-width:600px){.customer-tree-panel .tier-column-head{display:none}.customer-tree-panel .tier-item{padding-inline-start:var(--space-2)!important}.trend-figure svg{min-height:150px}.home-blocks{grid-template-columns:minmax(0,1fr)}.level-tabs{flex-wrap:wrap;overflow:visible}.level-tabs details>div{max-width:calc(100vw - 48px);left:0}}@keyframes customer-reveal{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.customer-panel{animation:none}}.trends-panel .utility{flex-wrap:wrap;max-width:100%}.trends-panel .utility button{white-space:normal;min-width:0}.customer-panel,.trends-panel,.live-load{min-width:0}.trend-figure .table-scroll{max-width:100%}.trend-grid path{stroke:var(--border);stroke-width:1px;fill:none}.customer-settings{margin-block:var(--space-4)}.home-bar-caption{min-height:3em;margin-top:var(--space-3)}.home-chart{margin:0}.home-bar-caption{overflow-wrap:anywhere}.level-tabs .level-tab{position:relative}.level-tabs .level-tab-trigger{min-height:44px;padding:var(--space-3);color:var(--ink);font:600 14px/20px var(--font-display);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:0;align-items:center;margin:0;text-decoration:none;display:inline-flex}.level-tabs .level-tab-trigger[aria-current=page]{box-shadow:inset 0 -3px var(--brand)}.level-tabs .level-tab-trigger:hover{background:var(--surface-sunken)}.level-tab-menu{z-index:50;min-width:230px;max-width:calc(100vw - 48px);padding:var(--space-2);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-raised);position:absolute;top:100%;left:0;box-shadow:0 8px 24px #0002}.level-tabs .level-tab-menu a{padding:var(--space-3);color:var(--ink);font:500 14px/20px var(--font-sans);white-space:normal;display:block}@media (max-width:600px){.level-tabs{gap:var(--space-1)}.level-tab-menu{top:auto;left:var(--space-4);right:var(--space-4);min-width:0;max-width:none;position:fixed}}.customers-workspace{gap:var(--space-6);grid-template-columns:360px minmax(0,1fr);align-items:start;display:grid}.customer-levels{min-width:0;top:var(--space-4);overscroll-behavior:contain;scrollbar-gutter:stable;max-height:calc(100dvh - 32px);position:sticky;overflow-y:auto}.customer-levels-toggle{display:none}.customer-tree-panel{padding:var(--space-3);margin:0}.customer-tree-panel .tier-item{gap:var(--space-1);padding-block:var(--space-3);grid-template-columns:28px minmax(0,1fr);align-items:start;display:grid}.customer-tree-panel .tier-level{display:none}.customer-tree-panel .tier-toggle{width:28px;min-width:28px;height:28px;padding:0}.customer-tree-panel .tier-label{min-width:0;display:block}.customer-tree-panel .tier-label>small{display:block}.customer-tree-summary{color:var(--ink-muted);margin-top:var(--space-1);font-size:12px}.customer-tree-status{white-space:normal;margin-top:var(--space-1);font-size:11px;display:inline-block}.customer-tree-panel .tier-controls{flex-wrap:wrap}.customer-details{min-width:0;container-type:inline-size}.customer-heading h2{margin-block:var(--space-3);overflow-wrap:anywhere;font-size:2rem}.customer-heading h2:focus{outline:none}.customer-breadcrumb{gap:var(--space-2);overflow-wrap:anywhere;font-size:13px}.customer-breadcrumb a:not(:last-child):after{content:" /";color:var(--ink-muted);margin-left:var(--space-2)}.customer-period{margin-bottom:var(--space-4);flex-wrap:wrap}.customer-details .customer-panel{margin:0}.customer-empty{text-align:center;min-height:200px;color:var(--ink-muted);place-items:center;display:grid}.customer-details .cs-figures{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-details .cs-tile,.customer-details .cs-value{overflow-wrap:anywhere;min-width:0}.customer-details .cs-header,.customer-details .cs-section-head{gap:var(--space-3);flex-wrap:wrap}.customer-details .cs-segments{flex-wrap:wrap}.customer-details .cs-block-layout,.customer-details .ud-split .ud-stage{grid-template-columns:minmax(0,1fr)}.customer-details .ud-split .ud-map-frame{display:none}.customer-details .ud-back{display:inline}.customer-details .ud-close{display:none}.customer-details .ud-figures{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-details .ud-detail-head{flex-wrap:wrap}@container (max-width:680px){.customer-details .cs-figures{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-details .cs-unit-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.customer-details .cs-attention{grid-template-columns:minmax(0,1fr)}}@container (max-width:400px){.customer-details .cs-figures,.customer-details .ud-occupant{grid-template-columns:minmax(0,1fr)}}@media (max-width:1023px){.customers-workspace{gap:var(--space-4);grid-template-columns:minmax(0,1fr)}.customer-levels{scrollbar-gutter:auto;max-height:none;position:static;overflow:visible}.customer-levels-toggle{width:100%;margin-bottom:var(--space-2);justify-content:space-between;display:flex}.customer-level-tree{display:none}.customer-level-tree.is-open{display:block}.customer-tree-panel{max-height:60dvh;overflow-y:auto}.customer-heading h2{font-size:1.65rem}}.customers-workspace:not(.finance-workspace) .customer-tree-panel .tier-item:is([data-kind=unit],[data-kind=block]) .tier-label{align-items:center;gap:var(--space-2);min-width:0;display:flex}.customers-workspace:not(.finance-workspace) .customer-tree-panel .tier-item:is([data-kind=unit],[data-kind=block]) .tier-label>.muted{display:none}.customers-workspace:not(.finance-workspace) .customer-tree-panel .tier-item:is([data-kind=unit],[data-kind=block]) :is(.tier-name,.customer-tree-status){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.customers-workspace:not(.finance-workspace) .customer-tree-panel .tier-item:is([data-kind=unit],[data-kind=block]) .customer-tree-summary{white-space:nowrap;flex:none;margin:0}
