*,*:before,*:after{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,system-ui,-apple-system,Roboto,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}h1,h2,h3{line-height:1.2;margin:0 0 .5rem;font-weight:650;letter-spacing:-.01em}h1{font-size:1.75rem}h2{font-size:1.2rem}p{margin:0 0 .75rem}.muted{color:var(--text-muted)}a{color:var(--link);text-decoration:underline;text-underline-offset:3px}a:hover{color:var(--link-hover)}:focus{outline:none}:focus-visible{outline:2px solid var(--focus);outline-offset:2px;box-shadow:0 0 0 2px var(--bg);border-radius:6px}.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;gap:1rem;padding:.9rem 1.5rem;background:var(--surface);border-bottom:1px solid var(--border)}.brand{font-weight:750;letter-spacing:.14em;color:var(--text);text-decoration:none}.topnav{display:flex;gap:.25rem;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.topnav a{color:var(--text);text-decoration:none;padding:.45rem .8rem;border-radius:8px;border-left:3px solid transparent}.topnav a:hover{background:var(--hover-bg)}.topnav a[aria-current=page]{background:var(--selected-bg);border-left-color:var(--selected-bar)}@media (min-width: 641px) and (max-width: 1360px){.topnav a{padding:.45rem .55rem}}main{flex:1;width:100%;max-width:1080px;margin:0 auto;padding:2.5rem 1.5rem 6rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.5rem;margin-bottom:1.25rem}.grid{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.big-number{font-size:2rem;font-weight:700;letter-spacing:-.02em}.accent-detail{color:var(--accent-bronze)}.btn{display:inline-flex;align-items:center;gap:.5rem;font:inherit;font-weight:600;padding:.65rem 1.15rem;border-radius:10px;cursor:pointer;border:1px solid transparent}.btn-primary{background:var(--primary-bg);color:var(--primary-text)}.btn-primary:hover{background:var(--primary-hover)}.btn-primary:active{background:var(--primary-active)}.btn-secondary{background:transparent;color:var(--text);border-color:var(--text)}.btn-secondary:hover{background:var(--hover-bg)}.btn[aria-disabled=true]{background:var(--disabled-bg);color:var(--disabled-text);border-color:transparent;cursor:not-allowed}.disabled-reason{font-size:.875rem;color:var(--text-muted);margin-top:.35rem}label{display:block;font-weight:600;margin-bottom:.35rem}input:not([type]),input[type=text],input[type=email],input[type=password],input[type=url],input[type=tel],input[type=number],textarea,select{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;padding:.6rem .75rem}.field{margin-bottom:1rem}.check{display:flex;gap:.5rem;align-items:center;font-weight:400}.status{display:inline-flex;align-items:center;gap:.35rem;font-size:.875rem;font-weight:600;padding:.2rem .6rem;border-radius:999px}.status-ok{background:var(--status-ok-bg);color:var(--status-ok-text)}.status-warn{background:var(--status-warn-bg);color:var(--status-warn-text)}.status-danger{background:var(--status-danger-bg);color:var(--status-danger-text)}.list{list-style:none;padding:0;margin:0}.list li{padding:.9rem 0;border-bottom:1px solid var(--border);display:flex;gap:1rem;align-items:center}.list li:last-child{border-bottom:none}.option{display:flex;gap:.75rem;align-items:flex-start;padding:.8rem 1rem;border-radius:12px;border:1px solid var(--border);border-left:3px solid var(--border);margin-bottom:.5rem;cursor:pointer}.option:hover{background:var(--hover-bg)}.option.selected{background:var(--selected-bg);border-left-color:var(--selected-bar)}.fab{position:fixed;right:1.25rem;bottom:1.25rem;z-index:20;box-shadow:0 6px 20px #00000024}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a0f1973;display:grid;place-items:center;z-index:30}.dialog{width:min(560px,calc(100vw - 2rem));max-height:90vh;overflow:auto}.notice{padding:.75rem 1rem;border-radius:10px;margin:.75rem 0}@media (max-width: 640px){.topnav{position:fixed;bottom:0;left:0;right:0;margin:0;justify-content:space-around;background:var(--surface);border-top:1px solid var(--border);padding:.4rem;z-index:10}.nav-logout,.nav-secondary{display:none}.fab{bottom:4.5rem}main{padding-top:1.5rem}}.page-head{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:1rem}.page-actions{margin:0 0 1.25rem}.section-head{display:flex;gap:.5rem 1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:.5rem}.section-head h2{margin:0}.actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:flex-start;margin-top:.5rem}.row{display:grid;gap:0 1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.grow{flex:1;min-width:0}.small{font-size:.875rem}.hint{font-size:.875rem;color:var(--text-muted);margin-top:.3rem}.optional{font-weight:400}.amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.strong-link{font-weight:600;color:var(--text);text-decoration:none}.strong-link:hover{text-decoration:underline;color:var(--link-hover)}.crumbs{font-size:.875rem;margin-bottom:.75rem;color:var(--text-muted)}.tag{font-size:.75rem;border:1px solid var(--border-strong);border-radius:999px;padding:.1rem .5rem;color:var(--text-muted)}.tree-row.depth-1{padding-left:1.25rem}.tree-row.depth-2{padding-left:2.5rem}.tree-row.depth-3{padding-left:3.75rem}.tree-row.depth-1,.tree-row.depth-2,.tree-row.depth-3{border-left:2px solid var(--border)}.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem 1.25rem;margin:0 0 .75rem}.facts dt{font-size:.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.facts dd{margin:.15rem 0 0}.timeline{list-style:none;padding:0;margin:0}.timeline li{padding:.6rem 0 .6rem 1rem;border-left:2px solid var(--border);margin-left:.25rem}.terms{width:100%;border-collapse:collapse;margin-bottom:.75rem}.terms th{text-align:left;font-weight:400;padding:.35rem 0}.terms td{text-align:right}.terms tr.total th,.terms tr.total td{border-top:1px solid var(--border-strong);font-weight:650;padding-top:.5rem}fieldset.plain{border:0;padding:0;margin:0 0 1rem}fieldset.plain legend{font-weight:600;margin-bottom:.35rem}.charge{grid-template-columns:2fr 1fr 1.4fr auto;align-items:center;margin-bottom:.5rem}.chips{display:flex;flex-wrap:wrap;gap:.25rem 1rem}.picker{display:grid;gap:.5rem}.subpanel{border:1px solid var(--border);border-radius:12px;padding:.75rem}.linklike{background:none;border:0;padding:.25rem 0;font:inherit;color:var(--link);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.linklike:hover{color:var(--link-hover)}details{margin:.25rem 0 1rem}details>summary{cursor:pointer;color:var(--link)}input[type=date],input[type=datetime-local],input[type=time],input[type=search],input[type=file]{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;padding:.55rem .75rem}input:disabled{background:var(--disabled-bg);color:var(--disabled-text)}@media (max-width: 640px){.charge{grid-template-columns:1fr 1fr}.topnav a{padding:.45rem .4rem;font-size:.85rem}.list li{flex-wrap:wrap}.list li .grow{flex-basis:100%}}.mobile-only{display:none}@media (max-width: 640px){.mobile-only{display:block}}.subhead{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin:.75rem 0 0;font-weight:600}.owner-row{margin-bottom:.75rem}.share{display:flex;align-items:center;gap:.4rem}.share input{width:4.5rem}.tabs{display:flex;gap:.25rem;flex-wrap:wrap;margin:0 0 1.25rem;border-bottom:1px solid var(--border)}.tab{font:inherit;background:none;border:0;border-bottom:3px solid transparent;padding:.6rem .9rem;color:var(--text);cursor:pointer;display:inline-flex;gap:.4rem;align-items:center}.tab:hover{background:var(--hover-bg)}.tab.selected{border-bottom-color:var(--selected-bar);background:var(--selected-bg);font-weight:600}.badge{background:var(--status-warn-bg);color:var(--status-warn-text);border-radius:999px;padding:0 .5rem;font-size:.8rem;font-weight:650}.filters{display:flex;gap:.75rem;flex-wrap:wrap;align-items:flex-end;margin-bottom:.75rem}.filter{display:grid;gap:.25rem;font-size:.875rem}.filter select{width:auto}.tx-list li{align-items:flex-start}.tx-date{min-width:5.5rem;padding-top:.15rem}.tx-main{flex:1;min-width:0;text-align:left;background:none;border:0;font:inherit;color:inherit;padding:0;cursor:pointer}.tx-main:disabled{cursor:default}.tx-main .strong{font-weight:600}.tx-tag{font-size:.85rem;color:var(--text-muted)}.tx-excluded{opacity:.72}.amount-in{color:var(--status-ok-text)}.bulkbar{position:sticky;top:0;z-index:5;display:flex;gap:1rem;align-items:center;padding:.6rem 1rem;margin-bottom:.75rem;background:var(--surface);border:1px solid var(--border-strong);border-radius:12px}.tx-detail{margin-bottom:1rem}.tab{white-space:nowrap}@media (max-width: 640px){.tx-list li{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"chk date amt" "chk main main";gap:.15rem .6rem}.tx-list li>input[type=checkbox]{grid-area:chk;margin-top:.2rem}.tx-list .tx-date{grid-area:date;min-width:0}.tx-list .amount{grid-area:amt}.tx-list .tx-main{grid-area:main}.tabs{flex-wrap:nowrap;overflow-x:auto}}.matrix-wrap{overflow-x:auto;position:relative}.matrix,.ledger{border-collapse:collapse;width:100%;font-size:.9rem}.matrix th,.matrix td,.ledger th,.ledger td{padding:.5rem .4rem;border-bottom:1px solid var(--border);text-align:center;vertical-align:top}.matrix th[scope=row],.ledger th[scope=row]{text-align:left;font-weight:500;min-width:12rem}.matrix thead th,.ledger thead th{font-size:.8rem;color:var(--text-muted);font-weight:600;text-transform:uppercase;letter-spacing:.03em}.ledger td.amount,.matrix td.amount{text-align:right}.rent-cell{display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:999px;font-weight:700}.rc-paid{background:var(--status-ok-bg);color:var(--status-ok-text)}.rc-partial,.rc-due{background:var(--status-warn-bg);color:var(--status-warn-text)}.rc-partial_overdue,.rc-overdue{background:var(--status-danger-bg);color:var(--status-danger-text)}.rc-open{color:var(--text-muted);border:1px dashed var(--border-strong)}.rc-none{width:1.75rem}.legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center;margin-top:.75rem}.legend span{display:inline-flex;gap:.35rem;align-items:center}.year-switch{display:inline-flex;gap:.75rem;align-items:center}.year-switch .linklike{font-size:1.3rem;text-decoration:none;padding:0 .4rem}.qr-card{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}.qr-card img{border-radius:8px;background:#fff;padding:6px}.evidence{margin-top:.15rem}.ident-form{grid-template-columns:auto 1fr auto;align-items:center;margin-top:.5rem}.mobile-nav-only{display:none}@media (max-width: 640px){.topnav .mobile-nav-only{display:inline-block}}.more-list li{padding:1rem 0}.matrix th[scope=row]{position:sticky;left:0;background:var(--surface);z-index:1}@media (max-width: 640px){.matrix th[scope=row]{min-width:8.5rem;max-width:8.5rem}}.matrix thead th:first-child{position:sticky;left:0;background:var(--surface);z-index:1}.attention{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}.attention a{text-decoration:none}.seg{display:inline-flex;gap:.25rem}.cf-svg-wrap{position:relative}.cf-chart svg{width:100%;height:auto;display:block}.cf-axis{stroke:var(--border-strong);stroke-width:1}.cf-bar{fill:var(--primary-bg)}.cf-bar.cf-neg{fill:var(--text-muted)}.cf-bar.cf-hover{opacity:.8}.cf-label{font-size:11px;fill:var(--text-muted)}.cf-chart g:focus-visible{outline:none}.cf-chart g:focus-visible .cf-bar{stroke:var(--focus);stroke-width:2}.cf-tip{margin-top:.25rem;font-size:.875rem}.loan-balance{display:grid;text-align:right}.row-plan td,.row-plan th{color:var(--text-muted)}.row-actual td{font-weight:600}.qr-img{border-radius:8px;background:#fff;padding:6px}.hide-numbers .amount,.hide-numbers .big-number{color:transparent!important;text-shadow:0 0 10px var(--text);-webkit-user-select:none;user-select:none}.hide-numbers .status .amount-inline{color:transparent}.lead-sentence{font-size:1.1rem;margin:0 0 1.25rem;max-width:52rem}.big-number{overflow-wrap:anywhere}@media (max-width: 640px){.cf-label{font-size:16px}.big-number{font-size:1.6rem}}.public{max-width:640px}.discussion{margin:.5rem 0 0 1rem;padding-left:1rem;border-left:2px solid var(--border)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.settlement-doc{max-width:820px}@media print{.topbar,.no-print,.fab,nav.tabs,.mobile-nav-only{display:none!important}main{padding:0;max-width:none}body{background:#fff}.settlement-doc{max-width:none}}main,.card,.matrix-wrap{min-width:0}:root{--series-1: #2a78d6;--series-2: #eb6834;--series-3: #1baf7a;--series-4: #eda100;--series-5: #e87ba4;--series-6: #008300;--series-7: #6250d6;--series-8: #e34948}:root[data-mode=dark]{--series-1: #3987e5;--series-2: #d95926;--series-3: #199e70;--series-4: #c98500;--series-5: #d55181;--series-6: #008300;--series-7: #9085e9;--series-8: #e66767}.viz-wrap{position:relative;width:100%;min-width:0}.viz-grid{stroke:var(--border);stroke-width:1}.viz-zero{stroke:var(--border-strong);stroke-width:1}.viz-cross{stroke:var(--text-muted);stroke-width:1}.viz-dot{stroke:var(--surface);stroke-width:2}.viz-tick{fill:var(--text-muted);font-size:.75rem;font-variant-numeric:tabular-nums}.viz-legend{list-style:none;display:flex;flex-wrap:wrap;gap:.25rem 1rem;padding:0;margin:.4rem 0;font-size:.85rem;color:var(--text)}.viz-legend li{display:inline-flex;align-items:center;gap:.4rem}.viz-key{display:inline-block;width:14px;height:2px;border-radius:1px;vertical-align:middle}.viz-tip{position:absolute;pointer-events:none;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:.45rem .6rem;box-shadow:0 4px 16px #0000001f;min-width:180px;font-size:.85rem;z-index:2}.viz-tip-row{display:flex;align-items:center;gap:.4rem;white-space:nowrap}svg:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}.photo-grid{list-style:none;padding:0;margin:0 0 1rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}.photo-grid li{display:flex;flex-direction:column;gap:.25rem;min-width:0}.photo-grid img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:6px;border:1px solid var(--border);background:var(--surface)}.photo-grid .small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-actions{display:flex;gap:.75rem}.public-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.5rem;margin:1rem 0}.public-photos img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:6px}.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.option-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.4rem .75rem}.option-grid legend{grid-column:1 / -1}.vault-chip{margin-left:auto;margin-right:.5rem;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:.3rem .75rem;font-size:.85rem;cursor:pointer;white-space:nowrap}.vault-chip.unlocked{border-color:var(--status-ok-text)}.recovery-key{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.05rem;letter-spacing:.04em;word-break:break-all;padding:.75rem 1rem;border:1px dashed var(--border);border-radius:8px;background:var(--surface)}.stay-grid th,.stay-grid td{padding:0;text-align:center}.stay-grid thead th{font-size:.75rem;min-width:1.6rem;padding:.25rem 0}.stay-grid thead th.weekend{color:var(--text-muted)}.stay-grid th[scope=row]{text-align:left;padding:.4rem .6rem;white-space:nowrap;position:sticky;left:0;background:var(--surface);z-index:1}.stay-cell{height:2.2rem;border-left:1px solid var(--border)}.stay-cell button{display:block;width:100%;height:100%;min-height:2.2rem;border:0;background:transparent;cursor:pointer;padding:0}.stay-cell button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.stay-confirmed{background:var(--primary-bg)}.stay-confirmed.ch-airbnb{background:var(--accent-bronze)}.stay-confirmed.ch-booking{background:var(--status-ok)}.stay-confirmed.ch-vrbo,.stay-confirmed.ch-other{background:var(--text-muted)}.stay-blocked{background:repeating-linear-gradient(135deg,var(--border-strong) 0 3px,transparent 3px 7px)}.stay-inquiry{box-shadow:inset 0 0 0 2px var(--status-warn)}.stay-start{border-left:3px solid var(--surface)}.stay-today{box-shadow:inset 0 -3px 0 var(--focus)}.stay-legend .stay-cell{display:inline-block;width:1rem;height:1rem;vertical-align:middle;margin:0 .25rem 0 .75rem;border-radius:3px;border:0}.stay-grid thead th:first-child{position:sticky;left:0;background:var(--surface);z-index:1;text-align:left;padding-left:.6rem}.fab-left{left:1.25rem;right:auto}.assistant-panel{position:fixed;top:0;right:0;bottom:0;width:min(440px,100vw);z-index:25;display:flex;flex-direction:column;background:var(--surface);border-left:1px solid var(--border);box-shadow:-8px 0 24px #0000001f}.assistant-head{display:flex;gap:.5rem;align-items:center;padding:.75rem 1rem;border-bottom:1px solid var(--border)}.assistant-head select{flex:1;min-width:0;width:auto}.assistant-msgs{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.assistant-msg{padding:.6rem .8rem;border-radius:12px;max-width:92%;overflow-wrap:anywhere}.assistant-msg.from-user{align-self:flex-end;background:var(--selected-bg)}.assistant-msg.from-assistant{align-self:flex-start;background:var(--bg);border:1px solid var(--border)}.assistant-input{display:flex;gap:.5rem;padding:.75rem 1rem;border-top:1px solid var(--border);align-items:flex-end}.assistant-input textarea{flex:1;min-width:0;width:auto;resize:none}.assistant-input .disabled-reason,.assistant-input [role=note]{display:none}@media (max-width: 640px){.assistant-panel{bottom:0;z-index:40}}.demo-banner{display:flex;flex-wrap:wrap;gap:.25rem 1rem;align-items:baseline;margin:0 0 1rem;padding:.6rem .9rem;border-radius:8px;background:var(--status-warn-bg);color:var(--status-warn-text)}.demo-banner>span{flex:1 1 18rem;min-width:0}.demo-banner .linklike{color:inherit}
