.capital{min-width:0}.cap-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.cap-summary>div{padding:13px;border:1px solid var(--line);background:var(--surface);border-radius:9px}.cap-summary span{font-size:12px;color:var(--muted)}.cap-summary b{display:block;font-size:22px;font-variant-numeric:tabular-nums;margin-top:4px}.cap-warning{padding:10px 14px;border-left:3px solid #d9a536;background:rgba(217,165,54,.09);font-size:13px}.cap-method{font-size:13px;margin:12px 0}.cap-method summary{cursor:pointer}.cap-scroll{overflow:auto;max-height:65vh;border:1px solid var(--line);border-radius:7px;max-width:100%;margin:14px 0}.cap-calendar{border-collapse:separate;border-spacing:0;min-width:3400px;font-size:12px}.cap-calendar th,.cap-calendar td{padding:9px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);white-space:nowrap;text-align:right;min-width:128px;font-variant-numeric:tabular-nums}.cap-calendar tbody th:first-child,.cap-calendar thead tr:first-child th:first-child{position:sticky;left:0;z-index:2;background:var(--surface);min-width:280px;max-width:320px;text-align:left;white-space:normal}.cap-calendar thead th{position:sticky;top:0;background:var(--surface);z-index:3}.cap-calendar thead tr:nth-child(2) th{top:38px}.cap-calendar thead tr:first-child th:first-child{z-index:4}.cap-calendar .cap-level-1 th{padding-left:24px;font-weight:500}.cap-calendar .cap-level-2 th{padding-left:43px;font-weight:400}.cap-expand,.cap-month{border:0;background:none;color:inherit;cursor:pointer;font:inherit}.cap-expand{padding:0 8px 0 0}.cap-selected{background:rgba(50,145,160,.1)}.cap-toolbar{display:flex;align-items:center;gap:16px;margin:14px 0}.cap-toolbar label{display:flex;gap:8px;align-items:center}.cap-property{min-width:1600px;font-size:12px}.cap-property td,.cap-property th{padding:9px;vertical-align:top}.cap-property small{display:block;font-size:10px;color:var(--muted);margin-top:4px;max-width:150px;overflow-wrap:anywhere}.cap-property td .btn{display:block;margin-bottom:6px}.cap-property th:first-child{position:sticky;left:0;background:var(--surface);z-index:1;min-width:135px}.cap-asset{padding:14px;border-bottom:1px solid var(--line)}.cap-dialog{width:min(620px,calc(100vw - 30px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:22px;background:var(--surface);color:var(--text)}.cap-dialog::backdrop{background:rgba(0,0,0,.4)}.cap-dialog label{display:block;margin:10px 0}.cap-dialog input,.cap-dialog select,.cap-dialog textarea{width:100%;box-sizing:border-box}.cap-dialog p{font-size:13px}.cap-dialog [hidden]{display:none!important}@media(max-width:700px){.cap-summary{grid-template-columns:1fr 1fr;gap:7px}.cap-summary b{font-size:17px}.cap-summary>div{padding:10px}.cap-calendar tbody th:first-child,.cap-calendar thead tr:first-child th:first-child{min-width:170px;max-width:190px}.cap-calendar td{min-width:112px}.capital .tabrow{overflow-x:auto;flex-wrap:nowrap}.capital .tabrow button{flex-shrink:0}.cap-warning{font-size:12px}.cap-dialog{padding:15px}.cap-property{font-size:11px}.cap-toolbar{align-items:flex-start;flex-direction:column}}

.cap-calendar thead tr:nth-child(2) th{left:auto;min-width:128px;max-width:none;text-align:center;white-space:nowrap}
/* Capital 1.1: compact owner dashboard; all rules are scoped to this section. */
.capital{--cap-head:64px;--cap-key:38px}.capital h1{margin-bottom:2px}.capital .sub{margin-top:0}.cap-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}.cap-summary>button{font:inherit;text-align:left;color:var(--text);padding:12px;border:1px solid var(--line);background:var(--surface);border-radius:8px;cursor:pointer;min-width:0}.cap-summary>button.on{border-color:#39848d;box-shadow:inset 0 0 0 1px #39848d}.cap-summary b{font-size:clamp(16px,1.7vw,24px)}.cap-summary span{display:block;min-height:30px}.capital .neg{color:#c43e43!important}.cap-panel{padding:12px 16px;border:1px solid var(--line);border-radius:7px;background:var(--surface);margin:8px 0 12px}.cap-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:4px 0}.cap-breakdown>div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:7px 0}.cap-breakdown dt{font-size:13px}.cap-breakdown dd{margin:0;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.cap-method{margin:8px 0}.cap-calendar-scroll{max-height:68vh}.cap-calendar{min-width:3700px;table-layout:fixed}.cap-calendar th,.cap-calendar td{height:32px;box-sizing:border-box;padding:6px 9px;min-width:136px}.cap-calendar thead tr:first-child th{height:32px}.cap-calendar thead tr:nth-child(2) th{top:32px;height:32px}.cap-calendar tbody th:first-child,.cap-calendar thead tr:first-child th:first-child{width:330px;min-width:330px;max-width:330px}.cap-calendar .cap-key-row>*{position:sticky;top:64px;background:var(--surface);z-index:3;font-weight:700;height:38px}.cap-calendar .cap-key-second>*{top:102px}.cap-calendar .cap-key-row>th:first-child{z-index:4}.cap-calendar thead th{z-index:5}.cap-calendar thead tr:first-child th:first-child{z-index:6}.cap-calendar .cap-level-3 th{padding-left:55px;font-weight:400}.cap-expand{text-align:left;white-space:normal;line-height:1.4;width:100%}.cap-calendar .cap-level-0 th{font-weight:650}.cap-detail-row>td{text-align:left;white-space:normal;background:var(--surface);padding:12px}.cap-plot-detail{position:sticky;left:12px;width:var(--cap-detail-width,800px);max-width:calc(100vw - 80px);font-size:13px;white-space:normal}.cap-plot-detail h3{margin:4px 0;font-size:15px}.cap-properties>details{border-bottom:1px solid var(--line);padding:10px 0}.cap-properties>details>summary{display:flex;align-items:center;gap:16px;cursor:pointer}.cap-properties summary>span{flex:1}.cap-properties summary small{display:block;color:var(--muted);font-size:11px}.cap-properties .cap-plot-detail{position:static;width:auto;max-width:none;padding:12px 0}.cap-properties summary strong{font-variant-numeric:tabular-nums}.cap-panel p{margin:7px 0;font-size:13px}.cap-toolbar select{max-width:240px}
@media(max-width:900px){.cap-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cap-summary b{font-size:19px}.cap-breakdown{grid-template-columns:1fr}.cap-calendar tbody th:first-child,.cap-calendar thead tr:first-child th:first-child{width:200px;min-width:200px;max-width:200px}.cap-calendar .cap-key-row>*{height:52px}.cap-calendar .cap-key-second>*{top:116px}.cap-plot-detail{max-width:calc(100vw - 48px)}.cap-properties>details>summary{flex-wrap:wrap;gap:6px}.cap-properties summary>span{flex-basis:100%}.cap-panel{padding:10px}.capital .flex{flex-wrap:wrap}}
.cap-calendar .cap-key-row>*{background:#edf4f8}.cap-calendar .cap-key-row td{font-size:13px}.cap-summary>button:focus-visible,.cap-expand:focus-visible,.cap-month:focus-visible{outline:2px solid #39848d;outline-offset:2px}
.cap-breakdown dt{min-width:0;overflow-wrap:anywhere}.main:has(> #capitalRoot){padding:18px 22px 28px}.cap-calendar .cap-level-1 th{color:#49647c}.cap-calendar .cap-level-2 th,.cap-calendar .cap-level-3 th{color:var(--muted)}
@media(max-width:700px){.main:has(> #capitalRoot){padding:12px!important}.capital .sub{text-align:left}.cap-calendar tbody th:first-child,.cap-calendar thead tr:first-child th:first-child{width:185px;min-width:185px;max-width:185px}}
/* Capital 1.2: one-column house economics, separate from monthly asset values. */
.cap-house-card{max-width:calc(100vw - 60px);color:var(--text);padding:4px 0}.cap-house-card header p{margin:3px 0 9px}.cap-house-card h3{font-size:16px;line-height:1.4}.cap-house-card .cap-house-economics,.cap-house-receipts{display:block;margin:0}.cap-house-economics>div,.cap-house-receipts>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--line)}.cap-house-economics dt,.cap-house-receipts dt{min-width:0;font-size:13px;overflow-wrap:anywhere}.cap-house-economics dd,.cap-house-receipts dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px;font-weight:600}.cap-house-price dt,.cap-house-price dd{font-weight:700}.cap-house-price dd{font-size:18px;color:#254e7b}.cap-house-result{margin-top:5px;background:#edf5fa;padding:10px!important;border-radius:5px}.cap-house-result dd{font-size:20px}.cap-house-profit{font-weight:650}.cap-house-profit dd{font-size:18px}.capital .cap-positive{color:#23734c}.cap-house-notice{font-size:12px;color:#8a6526;background:#fff8e9;padding:8px;border-radius:5px}.cap-house-costs{margin:12px 0;font-size:13px}.cap-house-costs>summary{cursor:pointer;color:#49647c;padding:5px 0;font-weight:600}.cap-house-costs .cap-house-economics>div{padding:5px 0}.cap-house-company,.cap-house-forecast{margin-top:12px;padding:10px;background:#f3f6f9;border:1px solid var(--line);border-radius:5px;font-size:13px}.cap-house-card footer{margin-top:10px}.cap-house-card .small{line-height:1.5;white-space:normal}.cap-properties .cap-house-card{max-width:none}
@media(max-width:700px){.cap-house-card{max-width:calc(100vw - 48px);width:var(--cap-detail-width,100%)}.cap-house-economics>div,.cap-house-receipts>div{gap:8px;padding:8px 0}.cap-house-economics dt,.cap-house-receipts dt{font-size:12px}.cap-house-economics dd,.cap-house-receipts dd{font-size:13px}.cap-house-price dd,.cap-house-profit dd{font-size:15px}.cap-house-result dd{font-size:16px}.cap-house-result{padding:8px!important}.cap-house-company,.cap-house-forecast{padding:8px}.cap-properties .cap-house-card{width:auto}}
/* 1.3: three compact lines per existing month, no additional columns. */
.cap-economy-cell{display:grid;gap:2px;font-size:11px;line-height:1.25;min-width:136px}.cap-economy-cell>span:first-child{font-weight:600}.cap-economy-cell>strong{font-size:12px}.cap-economy-panel{margin:0;font-size:12px}.cap-economy-panel summary{cursor:pointer;font-weight:600}.cap-economy-panel dd small{display:block;color:#9b6e22;font-weight:400;white-space:normal}.cap-detail-row .cap-plot-detail{box-sizing:border-box}.cap-detail-row td{height:auto!important;vertical-align:top}.cap-house-card{overflow-wrap:anywhere}
.cap-economy-cell>span,.cap-economy-cell>strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* 1.4: a direct three-level tree, one short disclosure per property. */
.cap-simple-card{padding:10px 12px;max-width:800px;width:min(var(--cap-detail-width,800px),800px);border:1px solid var(--line);border-radius:6px;background:var(--surface)}.cap-simple-card header p{margin:3px 0 7px;font-size:12px;color:var(--muted);text-align:left}.cap-simple-card .cap-house-economics>div{padding:8px 0}.cap-simple-note{font-size:12px;line-height:1.45;color:var(--muted);margin:8px 0!important;text-align:left!important}.cap-simple-card footer{display:flex;gap:6px}.cap-simple-card .cap-house-result dt{font-weight:600}.cap-simple-card dd{white-space:normal;text-align:right;min-width:110px}.cap-simple-card .cap-house-price dd,.cap-simple-card .cap-house-result dd{white-space:nowrap}.cap-simple-card .cap-house-result dd{font-size:17px}.cap-detail-row .cap-simple-card{position:relative;left:0;box-sizing:border-box}.cap-detail-row>td{padding:10px!important}.cap-economy-cell{font-size:11px;gap:3px}.cap-calendar .cap-level-3 th{padding-left:46px}.cap-economy-cell strong{font-size:12px}
@media(max-width:700px){.cap-simple-card{padding:9px;max-width:calc(100vw - 48px);width:calc(100vw - 48px)}.cap-simple-card .cap-house-economics>div{gap:8px}.cap-simple-card .cap-house-result dd{font-size:14px}.cap-simple-card dt{font-size:12px}.cap-simple-card dd{min-width:100px;font-size:13px}}
.cap-detail-row .cap-simple-card{position:sticky;left:12px;top:auto}
/* Capital 1.5: four direct property indicators, two frozen columns. */
.cap-calendar-v15{--cap-object-width:250px;--cap-indicator-width:170px;width:3684px;min-width:3684px;table-layout:fixed}.cap-calendar-v15 .cap-object-col{width:var(--cap-object-width)}.cap-calendar-v15 .cap-indicator-col{width:var(--cap-indicator-width)}.cap-calendar-v15 .cap-month-col{width:136px}.cap-calendar-v15 tbody th.cap-object-label,.cap-calendar-v15 thead th.cap-object-head{width:var(--cap-object-width);min-width:var(--cap-object-width);max-width:var(--cap-object-width);left:0;white-space:normal;text-align:left;vertical-align:top;background:var(--surface);z-index:3}.cap-calendar-v15 tbody th.cap-indicator,.cap-calendar-v15 thead th.cap-indicator-head{position:sticky;left:var(--cap-object-width);width:var(--cap-indicator-width);min-width:var(--cap-indicator-width);max-width:var(--cap-indicator-width);padding:3px 8px;text-align:left;white-space:normal;font-weight:400;color:var(--muted);background:var(--surface);z-index:3}.cap-calendar-v15 thead th.cap-object-head,.cap-calendar-v15 thead th.cap-indicator-head{top:0;z-index:6;font-weight:600;color:var(--text);vertical-align:middle}.cap-calendar-v15 tbody th.cap-wide-label{min-width:420px;max-width:420px;width:420px}.cap-calendar-v15 .cap-estate-row>th.cap-object-label{padding:7px 8px;line-height:1.4;border-bottom:1px solid #becbd7;overflow-wrap:anywhere}.cap-calendar-v15 .cap-level-1>th.cap-object-label{padding-left:20px}.cap-calendar-v15 .cap-level-2>th.cap-object-label{padding-left:32px}.cap-calendar-v15 .cap-level-3>th.cap-object-label{padding-left:44px}.cap-calendar-v15 .cap-estate-row>td,.cap-calendar-v15 .cap-estate-row>th.cap-indicator{height:24px;padding-top:3px;padding-bottom:3px;line-height:17px;font-size:11px;border-bottom:1px solid #edf1f5}.cap-calendar-v15 .cap-estate-last>td,.cap-calendar-v15 .cap-estate-last>th.cap-indicator{border-bottom:1px solid #becbd7}.cap-calendar-v15 .cap-estate-total,.cap-calendar-v15 .cap-estate-last>th.cap-indicator{font-weight:650}.cap-calendar-v15 .cap-estate-total .cap-positive{color:#26704b}.cap-calendar-v15 .cap-estate-row>td .hint{font-size:10px}.cap-calendar-v15 .cap-key-row>th.cap-wide-label{z-index:4}.cap-calendar-v15 .cap-estate-row>th.cap-object-label .cap-expand{font-size:12px}.cap-calendar-v15 .cap-estate-row>th.cap-object-label{font-size:12px}
@media(max-width:700px){.cap-calendar-v15{--cap-object-width:110px;--cap-indicator-width:125px;width:3499px;min-width:3499px}.cap-calendar-v15 tbody th.cap-wide-label{width:235px;min-width:235px;max-width:235px}.cap-calendar-v15 .cap-estate-row>th.cap-object-label{padding-left:5px;font-size:10px;line-height:1.35}.cap-calendar-v15 .cap-level-1>th.cap-object-label{padding-left:10px}.cap-calendar-v15 .cap-level-2>th.cap-object-label{padding-left:15px}.cap-calendar-v15 .cap-level-3>th.cap-object-label{padding-left:20px}.cap-calendar-v15 .cap-estate-row>th.cap-object-label .cap-expand{font-size:10px}.cap-calendar-v15 .cap-estate-row>th.cap-indicator{font-size:10px;padding-left:5px;padding-right:5px}.cap-calendar-v15 .cap-estate-row>td{font-size:11px}}
/* Blue calendar hierarchy: visual classes only; widths and financial cells unchanged. */
.cap-calendar-v15{--cap-ink:#20466d;--cap-main:#e8f1fa;--cap-sub:#f3f7fb;--cap-rule:#c2d3e5;--cap-fine:#e4ebf3;--cap-hover:#dceaf7}
.cap-calendar-v15 tbody tr{--cap-row-bg:#fff;--cap-indent:8px}.cap-calendar-v15 tbody tr.cap-row-main{--cap-row-bg:var(--cap-main)}.cap-calendar-v15 tbody tr.cap-row-sub{--cap-row-bg:var(--cap-sub)}.cap-calendar-v15 .cap-level-1{--cap-indent:20px}.cap-calendar-v15 .cap-level-2{--cap-indent:32px}.cap-calendar-v15 .cap-level-3{--cap-indent:44px}
.cap-calendar.cap-calendar-v15 tbody tr>th,.cap-calendar.cap-calendar-v15 tbody tr>td{background:var(--cap-row-bg);border-color:var(--cap-fine)}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-main>th,.cap-calendar.cap-calendar-v15 tbody tr.cap-row-main>td{border-bottom-color:var(--cap-rule)}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-main>th{color:var(--cap-ink);font-size:15px;font-weight:650}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-sub>th{color:#365574;font-size:13.5px;font-weight:500}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-detail>th{color:#526579;font-size:12.5px;font-weight:400}
.cap-calendar.cap-calendar-v15 tbody tr>th.cap-wide-label{padding-left:var(--cap-indent)}.cap-calendar.cap-calendar-v15 tbody tr>th.cap-object-label{padding-left:var(--cap-indent);font-size:12.5px}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-main>th.cap-object-label{font-size:15px;font-weight:650;color:var(--cap-ink)}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-sub>th.cap-object-label{font-size:13.5px;font-weight:500;color:#365574}.cap-calendar.cap-calendar-v15 tbody tr>th.cap-indicator{padding:4px 8px;font-size:11.5px;font-weight:400;color:#64768a}.cap-calendar.cap-calendar-v15 .cap-estate-last>th.cap-indicator{font-weight:600}
.cap-calendar-v15 tbody td{font-size:12.5px;font-weight:400;color:#23364c}.cap-calendar-v15 tbody .cap-key-row td{font-size:13.5px;font-weight:700;color:#173d62}.cap-calendar-v15 .cap-estate-row>td{font-size:12px;height:26px;line-height:17px}.cap-calendar-v15 .cap-estate-total{font-weight:650}.cap-calendar-v15 .cap-estate-total .cap-positive{color:#26704b}.cap-calendar-v15 .cap-estate-row>th.cap-object-label{border-bottom-color:var(--cap-rule)}.cap-calendar-v15 .cap-estate-last>td,.cap-calendar-v15 .cap-estate-last>th.cap-indicator{border-bottom-color:var(--cap-rule)}.cap-calendar-v15 .cap-estate-row>td .hint{font-size:10.5px;color:#8190a2}.cap-calendar-v15 tbody td.cap-selected{background:#e3edf7}
.cap-calendar-v15 thead th{background:#f3f6fa;color:#536a83;font-size:12px;font-weight:500;border-color:#dce5ef}.cap-calendar-v15 thead th.cap-object-head,.cap-calendar-v15 thead th.cap-indicator-head{background:#edf3f9;color:var(--cap-ink);font-size:13px;font-weight:600;box-shadow:0 1px 0 #c2d3e5}.cap-calendar-v15 tbody th.cap-indicator,.cap-calendar-v15 thead th.cap-indicator-head{box-shadow:1px 0 0 #c7d6e5}.cap-calendar-v15 tbody th.cap-wide-label{box-shadow:1px 0 0 #c7d6e5}
.cap-calendar-v15 th:has(>.cap-expand){padding:0!important}.cap-calendar-v15 .cap-expand{display:flex;align-items:center;gap:6px;box-sizing:border-box;min-height:34px;width:100%;height:100%;padding:6px 10px 6px var(--cap-indent);margin:0;color:inherit;font:inherit;line-height:1.35;text-align:left;border-radius:0;transition:background-color .12s ease}.cap-calendar-v15 .cap-row-main .cap-expand{min-height:38px}.cap-calendar-v15 th.cap-object-label>.cap-expand{min-height:104px;align-items:flex-start;padding-top:10px;padding-bottom:10px}.cap-calendar-v15 .cap-expand:hover{background:var(--cap-hover)}.cap-calendar-v15 .cap-expand:focus-visible{outline:2px solid #4479a6;outline-offset:-2px;background:var(--cap-hover)}.cap-calendar-v15 .cap-chevron{flex:0 0 12px;width:12px;font:14px/1.35 system-ui;text-align:center;color:#416b94}.cap-calendar-v15 .cap-section-title{flex:1;min-width:0;overflow-wrap:anywhere}.cap-calendar-v15 .cap-row-detail>.cap-wide-label{border-left:2px solid #e1eaf3}
@media(max-width:700px){.cap-calendar-v15 tbody tr{--cap-indent:5px}.cap-calendar-v15 .cap-level-1{--cap-indent:10px}.cap-calendar-v15 .cap-level-2{--cap-indent:15px}.cap-calendar-v15 .cap-level-3{--cap-indent:20px}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-main>th{font-size:13px}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-sub>th{font-size:12px}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-detail>th{font-size:11.5px}.cap-calendar.cap-calendar-v15 tbody tr>th.cap-object-label{font-size:11px}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-main>th.cap-object-label{font-size:12.5px}.cap-calendar.cap-calendar-v15 tbody tr.cap-row-sub>th.cap-object-label{font-size:11.5px}.cap-calendar.cap-calendar-v15 tbody tr>th.cap-indicator{font-size:10.5px;padding:4px 5px}.cap-calendar-v15 tbody td{font-size:12px}.cap-calendar-v15 .cap-estate-row>td{font-size:11.5px}.cap-calendar-v15 .cap-key-row td{font-size:13px}.cap-calendar-v15 .cap-expand,.cap-calendar-v15 .cap-row-main .cap-expand{min-height:44px;padding-right:6px;gap:4px}.cap-calendar-v15 th.cap-object-label>.cap-expand{min-height:104px;padding-top:8px}.cap-calendar-v15 .cap-chevron{flex-basis:10px;width:10px;font-size:13px}.cap-calendar-v15 .cap-key-row>*{height:52px}}
@media(prefers-reduced-motion:reduce){.cap-calendar-v15 .cap-expand{transition:none}}
.cap-calendar.cap-calendar-v15 .cap-estate-row>th.cap-object-label>.cap-expand{font:inherit;line-height:1.35}
