:root{--navy:#102c39;--ink:#1b3543;--muted:#71828b;--line:#e4eaf0;--bg:#f3f6f8;--teal:#17836f;--teal-soft:#e5f3ed;--red:#c95849;--red-soft:#faede8;--amber:#ac7621;--amber-soft:#fcf4e2;--shadow:0 8px 32px #18313f05;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.5}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}.sidebar{position:fixed;width:236px;inset:0 auto 0 0;background:var(--navy);color:#b1c0c8;display:flex;flex-direction:column;padding:30px 19px;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none!important;margin-bottom:54px}.brand-symbol{width:45px;height:45px;display:grid;place-items:center;border:1px solid #55727f;font-family:Georgia,serif;font-size:25px;letter-spacing:-2px}.brand b{display:block;font-size:10px;letter-spacing:1.2px;font-weight:600}.brand small{display:block;font-size:11px;color:#97acb8;margin-top:3px}.nav-caption{padding:0 14px;color:#698493;font-size:9px;font-weight:700;letter-spacing:1.8px;margin-bottom:15px}nav{display:grid;gap:7px}.nav-btn{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#a6bcc6;padding:13px 14px;text-align:left;border-radius:8px;font-size:13px;position:relative}.nav-btn svg{width:18px;height:18px}.nav-btn:hover{background:#ffffff09;color:#fff}.nav-btn.active{background:#204554;color:white}.nav-btn.active:before{content:"";position:absolute;width:3px;height:22px;left:-19px;background:#72c1a8;border-radius:0 3px 3px 0}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff13;padding:22px 10px 0;font-size:10px;line-height:1.8}.private{font-size:11px;color:#d4e2e7;display:flex;align-items:center;gap:7px}.private i{width:6px;height:6px;border-radius:50%;background:#5dc49d}.side-help{font-size:10px;border:0;background:none;color:#8eadbb;text-align:left;padding:10px 0 0}.main-shell{margin-left:236px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{padding:0 14px;color:#ccd6dc}.breadcrumb b{color:#405964;font-weight:500}.topbar-actions{display:flex;align-items:center;gap:15px}.save-state{font-size:10px;color:var(--muted)}.icon-btn{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);width:33px;height:33px;font-size:20px}.avatar{border:0;border-radius:50%;background:#eaf0f3;color:var(--navy);font-size:10px;font-weight:700;width:33px;height:33px}main{padding:30px 36px 36px;max-width:1740px;width:100%;margin:auto;flex:1}.page-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--teal);font-weight:700;margin:0 0 8px}h1{font-size:29px;letter-spacing:-.9px;font-weight:650;line-height:1.2;margin:0}h2{font-size:17px;font-weight:600;letter-spacing:-.25px;margin:0}h3{font-size:14px;margin:0 0 10px}p{margin:8px 0}.subtitle{color:var(--muted);font-size:12px;margin-top:9px}.heading-actions{display:flex;gap:9px;align-items:center}.btn{border:1px solid var(--line);background:white;color:var(--ink);border-radius:7px;padding:9px 13px;font-size:12px;font-weight:600;display:inline-flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap}.btn:hover{background:#f6f9fa;text-decoration:none}.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}.btn.primary:hover{background:#106955}.btn.danger{background:var(--red);color:white;border-color:var(--red)}.btn.small{font-size:10px;padding:5px 8px}.btn.ghost{background:none;border-color:transparent}.btn svg{width:15px;height:15px}.banner{border:1px solid #ecd9b4;background:var(--amber-soft);border-radius:9px;padding:13px 16px;display:flex;align-items:center;gap:13px;color:#805f27;font-size:12px;margin-bottom:22px}.banner p{margin:0;flex:1}.banner strong{font-weight:600}.banner .btn{background:#fff9ec;border-color:#e8d4ab;color:#805f27}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.kpi{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px 20px 17px;box-shadow:var(--shadow);min-width:0}.kpi-top{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px}.kpi-top svg{width:17px;height:17px;color:#97acb8}.kpi-value{font-size:29px;font-weight:600;letter-spacing:-.9px;line-height:1.4;margin:10px 0 2px;white-space:nowrap;font-variant-numeric:tabular-nums}.kpi-value em{font-size:11px;font-style:normal;margin-left:5px;letter-spacing:0;font-weight:500;color:var(--muted)}.kpi-sub{font-size:10px;color:var(--muted)}.negative{color:var(--red)}.positive{color:var(--teal)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;margin-bottom:20px}.card{border:1px solid var(--line);background:#fff;border-radius:11px;box-shadow:var(--shadow);overflow:hidden;min-width:0}.card-header{display:flex;justify-content:space-between;align-items:center;padding:21px 22px 15px;gap:12px}.card-header p{font-size:11px;color:var(--muted);margin:5px 0 0}.card-header h2{font-size:15px}.card-body{padding:0 22px 22px}.chart-wrap{position:relative;padding:5px 12px 5px}.chart-wrap svg{width:100%;height:auto;display:block;overflow:visible}.chart-tip{position:absolute;pointer-events:none;background:var(--navy);color:white;padding:8px 11px;border-radius:7px;font-size:11px;box-shadow:0 5px 20px #0002;display:none;z-index:5;white-space:nowrap}.chart-legend{display:flex;gap:17px;font-size:10px;color:var(--muted);padding:6px 22px 16px}.chart-legend span{display:flex;align-items:center;gap:6px}.dot{width:7px;height:7px;background:var(--teal);border-radius:50%;display:inline-block}.dot.red{background:var(--red)}.dot.gray{background:#9aaab4}.timeline{padding:0 21px 12px}.timeline-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid #edf1f4}.timeline-row:last-child{border-bottom:0}.date-box{text-align:center;background:#f3f6f8;border-radius:7px;padding:5px 2px;height:43px}.date-box b{display:block;font-size:15px;line-height:1.1}.date-box small{font-size:9px;color:var(--muted);text-transform:uppercase}.timeline-title{font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-row p{font-size:10px;color:var(--muted);margin:1px 0 3px}.timeline-row strong{font-size:12px;letter-spacing:-.2px;font-variant-numeric:tabular-nums}.badge{display:inline-flex;align-items:center;font-size:9px;line-height:1.5;padding:3px 7px;border-radius:4px;background:#edf2f5;color:#627b88;white-space:nowrap}.badge.green{background:var(--teal-soft);color:var(--teal)}.badge.amber{background:var(--amber-soft);color:var(--amber)}.badge.red{background:var(--red-soft);color:var(--red)}.badge.blue{background:#eaf1fb;color:#5077ab}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.summary-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:18px 22px;border-top:1px solid var(--line)}.summary-strip span{font-size:10px;color:var(--muted);display:block}.summary-strip strong{font-size:16px;font-variant-numeric:tabular-nums;display:block;margin-top:3px}.mini-table,.table{width:100%;border-collapse:collapse}.mini-table th,.table th{text-align:left;font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:#7b8d98;font-weight:600;padding:11px 18px;background:#f9fbfc;border-bottom:1px solid var(--line);white-space:nowrap}.mini-table td,.table td{padding:13px 18px;border-bottom:1px solid #edf1f4;font-size:11px;vertical-align:middle}.mini-table tr:last-child td,.table tr:last-child td{border-bottom:0}.table th:first-child,.table td:first-child{padding-left:22px}.table th:last-child,.table td:last-child{padding-right:22px}.table .num,.mini-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.table td small{display:block;color:var(--muted);font-size:10px;margin-top:3px;font-weight:400}.table td strong{font-size:12px;font-weight:600}.table tr:hover td{background:#fafcfd}.table-wrap{overflow-x:auto}.toolbar{display:flex;align-items:center;gap:10px;padding:16px 21px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar .search{margin-left:auto;min-width:210px}.segments{display:inline-flex;border:1px solid var(--line);background:#fff;border-radius:7px;padding:3px;gap:3px}.segment{border:0;background:none;border-radius:5px;padding:6px 11px;font-size:10px;color:var(--muted);font-weight:600}.segment.active{background:#eaf0f3;color:var(--navy)}select,.search,input,textarea{border:1px solid #dce4e9;border-radius:6px;background:#fff;padding:8px 10px;color:var(--ink);font-size:12px;min-width:0}select{cursor:pointer;max-width:100%}input:focus,select:focus,textarea:focus{border-color:#73aa9a;outline:2px solid #b8d9ce66}input[type=checkbox]{width:15px;height:15px;accent-color:var(--teal)}input[readonly]{background:#f4f6f8;color:#71828b}.plan-controls{display:flex;align-items:center;gap:10px;margin-bottom:20px;flex-wrap:wrap}.plan-controls label{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.section-note{font-size:11px;color:var(--muted);padding:14px 22px;background:#fbfcfd;border-top:1px solid var(--line)}.alerts{padding:0 21px 12px}.alert-row{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f4;align-items:start}.alert-row:last-child{border:0}.alert-indicator{width:6px;height:6px;min-width:6px;margin-top:6px;border-radius:50%;background:#d7a652}.alert-indicator.high{background:var(--red)}.alert-indicator.info{background:#8ba1b1}.alert-text{flex:1;font-size:11px}.alert-text p{margin:2px 0;color:var(--muted);font-size:10px;line-height:1.5}.text-link{border:0;padding:0;background:none;color:var(--teal);font-size:10px}.progress-track{height:5px;background:#edf1f4;border-radius:3px;overflow:hidden}.progress-track i{display:block;background:var(--teal);height:100%}.empty{padding:42px 24px;text-align:center;color:var(--muted)}.empty h3{color:var(--ink);margin-bottom:6px}.empty p{font-size:12px}.property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.property-card{padding:22px}.property-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:15px}.property-icon{background:#eaf1f4;border-radius:9px;width:37px;height:37px;display:grid;place-items:center}.property-icon svg{width:20px;height:20px;color:#527685}.property-card h2{font-size:16px;margin-bottom:3px}.property-card>p{font-size:11px;color:var(--muted)}.property-value{font-size:27px;font-weight:600;letter-spacing:-.6px;margin-top:20px}.property-value small{font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted)}.property-plan{font-size:11px;border-top:1px solid var(--line);padding-top:13px;margin-top:16px;min-height:54px}.property-card .actions{display:flex;gap:7px;margin-top:16px}.property-source{font-size:9px;color:#8c9ca6;margin-top:10px}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.settings-box{padding:22px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px}.field{display:flex;flex-direction:column;gap:5px}.field.full{grid-column:1/-1}.field label{font-size:11px;color:#58727f;font-weight:500}.field small{font-size:10px;color:var(--muted)}.field textarea{resize:vertical;min-height:70px}.field.check{flex-direction:row;align-items:center}.field input,.field select{width:100%}.field.check input{width:auto}.form-section{font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:700;color:var(--teal);margin:23px 0 12px;padding-top:18px;border-top:1px solid var(--line)}.form-section:first-child{margin-top:0;border:0;padding:0}.settings-description{font-size:11px;color:var(--muted);line-height:1.8}.settings-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:12px 0 18px}.metric-grid div{background:#f5f8fa;padding:12px;border-radius:7px;font-size:10px;color:var(--muted)}.metric-grid b{display:block;font-size:16px;color:var(--ink);margin-top:3px}.app-footer{display:flex;justify-content:space-between;gap:20px;padding:18px 36px;color:#93a1aa;font-size:9px;letter-spacing:.1px;border-top:1px solid #e7edf1}.app-footer>span:first-child{letter-spacing:1px}.app-footer b{font-weight:400;margin-left:7px}.app-footer a{color:#78909d}dialog{border:0;border-radius:14px;padding:0;width:min(760px,calc(100vw - 28px));max-height:90vh;color:var(--ink);box-shadow:0 20px 100px #102c3935;background:#fff}dialog.wide{width:min(1060px,calc(100vw - 28px))}dialog::backdrop{background:#0c243b70;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:20px 25px;position:sticky;top:0;background:white;z-index:2}.dialog-header h2{font-size:18px}.dialog-body{padding:22px 25px;overflow:auto}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;padding:15px 25px;background:#fafcfd;border-top:1px solid var(--line);position:sticky;bottom:0;z-index:2}.dialog-note{background:#f0f6f3;padding:11px 13px;border-radius:7px;font-size:11px;color:#54796a;margin-bottom:18px}.dialog-errors{color:var(--red);font-size:12px;white-space:pre-wrap;padding:0 25px 16px}.file-zone{border:1px dashed #b6c9d2;border-radius:9px;background:#f8fbfc;padding:22px;text-align:center;color:var(--muted);font-size:12px;margin:16px 0}.file-zone input{max-width:100%}.file-row{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.file-row small{display:block;color:var(--muted);font-size:10px}.loading{padding:100px 20px;text-align:center;color:var(--muted)}.loading h1{font-size:23px;color:var(--ink);margin-top:20px}.loading p{font-size:12px}.loader{border:2px solid #dce7e5;border-top-color:var(--teal);width:28px;height:28px;border-radius:50%;margin:auto;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast-container{position:fixed;right:24px;bottom:24px;display:grid;gap:8px;z-index:100}.toast{background:var(--navy);color:#fff;box-shadow:0 7px 25px #102c3930;padding:13px 20px;border-radius:9px;max-width:420px;font-size:12px}.toast.error{background:#a44536}.small-muted{color:var(--muted);font-size:11px}.pill-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.break{overflow-wrap:anywhere}.help-content{font-size:13px;line-height:1.8}.help-content h3{margin-top:20px}.help-content ol{padding-left:20px}.help-content li{padding:4px 0}.inline-actions{display:flex;gap:4px;justify-content:flex-end}.table-footer{padding:13px 22px;color:var(--muted);font-size:10px;border-top:1px solid var(--line)}.login-wrap{max-width:390px;margin:16vh auto;padding:30px;background:#fff;border:1px solid var(--line);border-radius:14px}.login-wrap h1{font-size:25px;margin-bottom:10px}.login-wrap .field{margin:20px 0}.login-wrap .brand{color:var(--ink);margin-bottom:25px}.login-wrap .brand-symbol{border-color:var(--ink)}.login-wrap .btn{width:100%}
@media(min-width:1500px){main{padding:38px 44px}.topbar{padding:0 44px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 340px}.kpi-value{font-size:34px}}
@media(max-width:1150px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.main-shell{margin-left:205px}main{padding:25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 270px}.kpis{gap:11px}.kpi{padding:16px}.kpi-value{font-size:25px}.property-grid{grid-template-columns:1fr 1fr}.kpi-top{font-size:10px}}
@media(max-width:950px){.dashboard-grid{grid-template-columns:1fr}.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.timeline-row{border:0}.two-col,.settings-grid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}.save-state{display:none}.app-footer>span:nth-child(2){display:none}.page-heading{align-items:start}.heading-actions{flex-wrap:wrap;justify-content:end}}
@media(max-width:680px){.sidebar{position:static;width:100%;padding:16px 18px 10px}.brand{margin:0 0 13px}.brand-symbol{width:33px;height:33px;font-size:20px}.brand small{font-size:10px}.sidebar-bottom,.nav-caption{display:none}nav{display:flex;overflow-x:auto;gap:4px}.nav-btn{padding:9px;gap:5px;font-size:10px;white-space:nowrap}.nav-btn svg{width:14px;height:14px}.nav-btn.active:before{display:none}.main-shell{margin:0}.topbar{height:54px;padding:0 18px}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 7px}main{padding:22px 15px}.page-heading{flex-direction:column;gap:16px}h1{font-size:25px}.heading-actions{width:100%;justify-content:start}.banner{align-items:start;padding:12px;font-size:10px;flex-wrap:wrap}.banner .btn{margin-left:25px}.kpi{padding:14px}.kpi-value{font-size:23px}.kpi-sub{font-size:9px}.timeline{display:block}.timeline-row{border-bottom:1px solid var(--line)}.card-header{padding:17px}.card-body{padding:0 17px 18px}.two-col,.property-grid{grid-template-columns:1fr}.app-footer{padding:15px;font-size:8px}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.metric-grid{grid-template-columns:1fr 1fr}.toolbar{padding:13px;gap:8px}.toolbar .search{min-width:100%;margin:0}.segments{flex-wrap:wrap}.summary-strip{gap:9px;padding:15px}.summary-strip strong{font-size:13px}.dialog-body{padding:18px}.dialog-header{padding:17px}.dialog-footer{padding:13px 18px}.topbar-actions{gap:7px}.table td,.table th{padding:11px 13px}.plan-controls{gap:8px}.plan-controls label{flex:1}.plan-controls input,.plan-controls select{width:100%}}
@media print{.sidebar,.topbar,.app-footer,.heading-actions,.btn,.toolbar,.plan-controls,.toast-container{display:none!important}.main-shell{margin:0}main{padding:10px;max-width:none}body{background:#fff}.card,.kpi{box-shadow:none;break-inside:avoid}.dashboard-grid{grid-template-columns:1fr}.table-wrap{overflow:visible}.table{font-size:9px}.table td,.table th{padding:7px}.page-heading{margin-bottom:15px}dialog{display:none}.chart-wrap svg{max-height:270px}.kpis{grid-template-columns:repeat(4,1fr)}.card{margin-bottom:14px}.card-header h2{font-size:13px}.kpi-value{font-size:20px}}

/* OS Capital Partners: refined surfaces and clear import workflows. */
:root{--navy:#102c39;--ink:#183441;--muted:#677d87;--line:#dfe8eb;--bg:#f2f5f6;--shadow:0 5px 24px #15374308}
.sidebar{background:linear-gradient(165deg,#102f3e,#102833 80%)}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:38px}
.brand-logo{display:flex;align-items:center;justify-content:center;width:100%;min-height:78px;padding:12px 14px;background:#fff;border-radius:8px;box-shadow:0 3px 15px #06131c14}
.brand-logo img{display:block;width:100%;height:52px;object-fit:contain}
.brand .brand-caption{color:#b8cbd3;font-size:10px;letter-spacing:1.25px;text-transform:uppercase;margin:0 3px}
.topbar{box-shadow:0 2px 9px #15374303}.card,.kpi{border-radius:13px}.card-header{padding-top:23px}
.btn{transition:background .15s,border-color .15s,box-shadow .15s}.btn.primary{box-shadow:0 3px 8px #17836f14}.btn:focus-visible,.text-link:focus-visible{outline:2px solid #6eb59e;outline-offset:3px}.btn:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}
.property-card .actions{flex-wrap:wrap}.payment-table td:nth-child(2){min-width:195px}.payment-table td:nth-child(3){min-width:150px}.payment-table td:nth-child(2) strong{line-height:1.55}
.dialog-intro{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 22px}.required-mark{color:var(--teal);font-weight:700}.field-inactive{display:none}.import-options{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}.import-option{padding:22px;border:1px solid var(--line);border-radius:12px;background:#fafcfc}.import-option h3{margin:10px 0 7px;font-size:16px}.import-option p{font-size:12px;color:var(--muted);line-height:1.7;min-height:42px}.step-number{font-size:11px;font-weight:700;color:var(--teal);letter-spacing:1px}.upload-drop{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;padding:23px 18px;margin:18px 0 12px;border:1px dashed #88b5ab;border-radius:10px;background:#edf6f2;color:#275f50;font-size:12px;font-weight:600}.upload-drop input{max-width:100%;background:#fff;font-size:11px}.upload-drop small{font-size:11px;font-weight:400}.rentroll-upload{margin-top:22px}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 12px}.preview-heading span{font-size:11px;color:var(--muted)}.import-busy{padding:20px;color:var(--teal);font-size:12px}.import-messages{padding:11px 15px;background:var(--amber-soft);color:#805f27;border-radius:8px;margin:15px 0;font-size:12px}.import-messages p{margin:4px 0}.import-messages.error{background:var(--red-soft);color:var(--red)}.import-summary{display:grid;grid-template-columns:1.4fr .7fr 1.1fr;gap:12px;margin:20px 0 15px}.import-summary>div{border:1px solid var(--line);background:#f6f9f9;border-radius:9px;padding:14px}.import-summary span{font-size:10px;color:var(--muted);display:block;margin-bottom:6px}.import-summary strong{font-size:18px;font-variant-numeric:tabular-nums}.import-summary>div:first-child strong{color:var(--teal)}.rentroll-table{min-width:780px}.rentroll-table input,.rentroll-table select{width:100%;padding:7px;font-size:11px}.rentroll-table td{padding:10px!important}.rentroll-table td:first-child{font-size:10px;color:var(--muted)}.rentroll-table td:nth-child(2){min-width:170px}.rentroll-table td:nth-child(3){min-width:115px}.replace-confirm{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;background:#f3f7f7;border-radius:8px;padding:14px;margin-top:18px}.replace-confirm input{flex-shrink:0;margin-top:4px}.fee-row{border:1px solid var(--line);border-radius:10px;padding:17px;margin:15px 0;background:#fbfcfc}.fee-row-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:12px}.fee-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:13px}.fee-grid label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:var(--muted)}.fee-grid input,.fee-grid select{width:100%;font-size:12px}.fee-source{grid-column:span 2}.login-wrap .brand-logo{box-shadow:none;border:1px solid var(--line);min-height:85px}.login-wrap .brand-caption{color:var(--muted)}[hidden]{display:none!important}
@media(max-width:680px){.brand{margin-bottom:17px;max-width:220px;gap:7px}.brand-logo{min-height:55px;padding:8px 12px}.brand-logo img{height:38px}.brand .brand-caption{font-size:9px}.import-options{grid-template-columns:1fr}.import-option{padding:17px}.import-summary{grid-template-columns:1fr 1fr}.import-summary>div:first-child{grid-column:1/-1}.fee-grid{grid-template-columns:1fr 1fr}.fee-source{grid-column:1/-1}.preview-heading{align-items:flex-start;flex-direction:column}.property-card .actions .btn{flex:1}.dialog-intro{font-size:12px}}
.brand-logo{min-height:102px}.brand-logo img{height:76px}@media(max-width:680px){.brand-logo{min-height:78px}.brand-logo img{height:62px}}
:root .banner>svg{width:22px;height:22px;min-width:22px;flex:0 0 22px}

/* Immobilienportfolio: valuation, mortgage ranks and LTV at one as-of date. */
.portfolio-basis{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:-5px 0 20px}.portfolio-kpis .kpi-value{font-size:26px}.portfolio-kpis .kpi-sub{line-height:1.6}.portfolio-grid{align-items:start}.portfolio-card{padding:22px}.portfolio-values{display:grid;grid-template-columns:1fr;gap:15px;margin:23px 0 18px}.portfolio-values>div>span,.mortgage-values span{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.portfolio-values strong{display:block;font-size:23px;font-weight:600;letter-spacing:-.4px;line-height:1.4;font-variant-numeric:tabular-nums}.portfolio-values strong small{font-size:10px;font-weight:400;color:var(--muted);letter-spacing:0}.portfolio-values>div>small{display:block;color:var(--muted);font-size:10px;margin-top:3px;line-height:1.6}.valuation-value{border-top:1px solid var(--line);padding-top:14px}.valuation-value>span{color:var(--teal)!important}.valuation-source{overflow-wrap:anywhere}.mortgage-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.mortgage-values strong{font-size:14px;font-variant-numeric:tabular-nums}.mortgage-values small{font-size:9px;color:var(--muted);font-weight:400}.ltv-panel{padding:17px 0 9px}.ltv-title{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px;gap:10px}.ltv-title>span{font-size:11px;color:var(--muted)}.ltv-title strong{font-size:22px;color:var(--navy);font-variant-numeric:tabular-nums}.ltv-over .ltv-title strong{color:var(--red)}.ltv-track,.ltv-empty-track{height:12px;border-radius:4px;background:#e8eef0;position:relative;display:flex;overflow:hidden}.ltv-segment{height:100%;flex-shrink:0;min-width:0}.rank-one{background:#214e61}.rank-two{background:#40a88f}.rank-open{background:repeating-linear-gradient(45deg,#c5a15c,#c5a15c 3px,#e8d5a8 3px,#e8d5a8 6px)}.ltv-market-marker{position:absolute;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 0 1px #173d4b66}.ltv-axis{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:5px}.ltv-legend{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:9px;color:var(--muted);margin-top:11px}.ltv-legend span{display:flex;align-items:center;gap:5px}.ltv-legend i{height:7px;width:7px;border-radius:2px;display:inline-block}.ltv-missing .ltv-title strong{color:#98a8af;font-size:19px}.ltv-empty-track{background:repeating-linear-gradient(135deg,#edf2f4,#edf2f4 6px,#e5ecef 6px,#e5ecef 12px)}.ltv-missing p{font-size:10px;color:var(--muted);margin-bottom:0}.rank-warning,.sold-note{font-size:10px;color:#8f692b;line-height:1.6;background:#fbf5e8;border-radius:6px;padding:8px 10px;margin-top:12px}.sold-note{color:var(--muted);background:#f1f4f5}.portfolio-warning{border:1px solid #e6d6b8;background:#fffaf0;border-radius:10px;padding:14px 18px;margin-bottom:20px;font-size:12px;color:#86632d}.portfolio-warning p{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:0}.portfolio-warning .btn{font-size:10px;padding:4px 7px}.portfolio-warning span{font-size:11px}.portfolio-issues{border-top:1px solid var(--line);margin-top:13px;padding-top:10px;color:var(--muted);font-size:10px}.portfolio-issues summary{cursor:pointer;color:#906c32;font-weight:600}.portfolio-issues p{margin:7px 0;line-height:1.6}.portfolio-actions{border-top:1px solid var(--line);padding-top:15px;gap:6px!important}.portfolio-actions .btn{font-size:10px;padding:7px 9px}.portfolio-actions .btn:first-child{border-color:#8cbbae;color:var(--teal)}.portfolio-net-note{font-size:9px!important;color:var(--muted);margin:12px 0 0!important}.portfolio-footnote{margin-top:22px;border:1px solid var(--line);border-radius:9px;line-height:1.7}.property-sold{background:#fbfcfc}.property-sold .property-icon{opacity:.6}.valuation-provider{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:0 0 20px}.valuation-provider strong{color:var(--ink);margin-right:5px}
@media(min-width:1700px){.portfolio-values{grid-template-columns:1fr 1fr}.valuation-value{border-top:0;border-left:1px solid var(--line);padding-top:0;padding-left:14px}.portfolio-values strong{font-size:20px}}
@media(max-width:1150px){.portfolio-kpis .kpi-value{font-size:23px}}@media(max-width:680px){.portfolio-basis{line-height:1.7}.portfolio-kpis .kpi-value{font-size:23px}.portfolio-values{grid-template-columns:1fr 1fr;gap:12px}.valuation-value{border-top:0;border-left:1px solid var(--line);padding-top:0;padding-left:12px}.portfolio-values strong{font-size:20px}.mortgage-values strong{font-size:15px}.portfolio-card{padding:20px}.portfolio-actions .btn{flex:0 1 auto!important}.portfolio-footnote{font-size:10px}.portfolio-warning{padding:13px;font-size:11px}}

.ltv-over .ltv-title strong{color:var(--navy)}.valuation-flags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:9px;color:var(--muted);margin-top:7px}.valuation-notes{font-size:10px;color:var(--muted);margin-top:8px;line-height:1.6}.valuation-notes summary{cursor:pointer;color:#526e7d}.valuation-notes p{margin:7px 0}.portfolio-context{border:1px solid #d9e5eb;border-radius:9px;background:#f2f7fa;padding:12px 16px;margin:0 0 20px;color:#536e7c;font-size:11px;line-height:1.7}.portfolio-context p{margin:3px 0}

.badge.entity-ksa{background:#e5eef9;color:#21496f;border:1px solid #ceddee;font-weight:700;letter-spacing:.7px}.property-flags{display:flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.financing-group-card{grid-column:1/-1;border-color:#cbdce8;background:#fbfdff}.group-title{display:flex;align-items:center;gap:10px}.group-financing-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:35px;padding:4px 22px 22px}.group-financing-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.group-financing-metrics span{font-size:10px;color:var(--muted);display:block;margin-bottom:7px}.group-financing-metrics strong{font-size:18px;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.group-financing-metrics small{font-size:9px;color:var(--muted);font-weight:400;letter-spacing:0}.group-financing-note{font-size:11px;line-height:1.7;color:var(--muted);margin:20px 0 0;max-width:650px}.group-financing-body .ltv-panel{padding-top:0}.group-financing-issues{padding:0 22px 18px;font-size:11px;color:var(--muted);line-height:1.7}.group-financing-issues summary{cursor:pointer;color:#526f85}.shared-financing{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin-top:4px}.shared-financing strong{font-size:12px;color:#345c79}.shared-financing p{font-size:12px;margin:5px 0}.shared-financing>span{display:block;font-size:10px;line-height:1.6;color:var(--muted)}.shared-financing .btn{margin-top:10px;font-size:10px}.financing-scope-note{font-size:11px;line-height:1.7;color:#516e82;border-left:3px solid #b8cede;padding:8px 12px;background:#f2f7fb;margin-bottom:17px}
@media(max-width:1150px){.group-financing-body{grid-template-columns:1fr}.group-financing-body .ltv-panel{max-width:650px}.group-financing-metrics strong{font-size:17px}}@media(max-width:680px){.group-financing-metrics{grid-template-columns:1fr 1fr;gap:17px}.group-financing-body{padding:4px 18px 18px;gap:20px}.financing-group-card .card-header{align-items:flex-start;flex-direction:column}.group-title{align-items:flex-start}.group-title h2{line-height:1.6}.group-financing-metrics strong{font-size:18px}}

.portfolio-total-label{font-size:10px;letter-spacing:.9px;text-transform:uppercase;color:var(--muted);font-weight:600;margin:0 0 10px}.portfolio-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:0 0 19px}.portfolio-filter-bar>span{font-size:11px;color:var(--muted)}.group-rent-total{display:flex;align-items:baseline;gap:13px;margin:18px 0 0;padding-top:13px;border-top:1px solid var(--line)}.group-rent-total span{font-size:11px;color:var(--muted)}.group-rent-total strong{font-size:18px;font-variant-numeric:tabular-nums;color:var(--ink)}@media(max-width:680px){.portfolio-filter-bar{gap:9px}.portfolio-filter-bar>span{font-size:10px}.group-rent-total{flex-wrap:wrap;gap:7px}}

/* Payment details appear only while the pointer rests over a plan amount. */
.plan-amount{cursor:help;text-decoration:underline dotted #9db9bd;text-underline-offset:4px;text-decoration-thickness:1px}
.plan-hover{position:fixed;z-index:90;width:420px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:hidden;pointer-events:none;box-sizing:border-box;background:#fff;border:1px solid #cddfe2;border-top:3px solid var(--teal);border-radius:10px;box-shadow:0 12px 40px #102c3929;color:var(--ink);text-align:left;padding:15px 17px;font-size:11px;line-height:1.45}
.plan-hover-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.plan-hover-heading>strong{font-size:12px}.plan-hover-heading>b{font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums}.plan-hover-heading small{font-size:9px;font-weight:400;color:var(--muted)}.plan-hover-period{font-size:10px;color:var(--muted);margin:3px 0 10px}
.plan-hover-equation{display:grid;gap:4px;padding:9px 10px;background:#f1f6f6;border-radius:6px;margin-bottom:7px;font-size:10px;color:#58727d}.plan-hover-equation span{display:flex;justify-content:space-between;gap:10px}.plan-hover-equation b{white-space:nowrap;color:var(--ink);font-variant-numeric:tabular-nums}
.plan-hover-payment{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:9px 0;border-bottom:1px solid #eaf0f1}.plan-hover-payment>div{min-width:0}.plan-hover-payment small{display:block;color:var(--muted);font-size:9px}.plan-hover-payment strong{display:block;font-size:11px;overflow-wrap:anywhere;font-weight:600;margin:1px 0}.plan-hover-payment span{display:block;color:var(--muted);font-size:10px;overflow-wrap:anywhere}.plan-hover-payment>b{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.plan-hover-payment:last-child{border-bottom:0}.plan-hover-empty{padding:9px 0;color:var(--muted);font-size:11px;margin:0}.plan-hover-more{border-top:1px solid var(--line);padding-top:8px;font-size:10px;color:#5a7582}.plan-hover-foot{border-top:1px solid var(--line);padding-top:8px;margin-top:5px;color:var(--muted);font-size:9px}
@media(hover:none){.plan-amount{text-decoration:none;cursor:default}.plan-hover{display:none!important}}
@media print{.plan-hover{display:none!important}.plan-amount{text-decoration:none}}

/* Credit register: current-day balances, clear locations and repayment modes. */
.register-overview{display:grid;grid-template-columns:1.2fr 1.2fr 1fr;gap:16px;margin-bottom:22px}.register-metric{padding:21px 22px}.register-metric>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);font-weight:600}.register-metric>strong{display:block;margin-top:9px;font-size:26px;font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums;color:var(--navy)}.register-metric>strong>small{font-size:11px;letter-spacing:0;font-weight:400;color:var(--muted)}.register-metric p{font-size:10px;line-height:1.6;color:var(--muted);margin:7px 0 0}.register-date>strong{font-size:23px;margin-top:11px}.register-table{min-width:1190px}.register-table th,.register-table td{padding:15px 17px}.register-table td:first-child{min-width:175px;max-width:240px}.register-table td:nth-child(2){min-width:140px;max-width:180px}.register-table td strong{overflow-wrap:anywhere}.register-table .register-place{font-size:11px;color:var(--teal);margin-top:5px}.register-table .register-id{font-size:9px;letter-spacing:.2px}.register-balance{min-width:175px}.register-balance>strong{font-size:13px}.register-balance small{white-space:normal;line-height:1.6;max-width:205px;margin-left:auto}.register-amortization{min-width:165px;max-width:205px}.register-amortization>strong{font-size:11px}.register-amortization small{line-height:1.55}.register-table tfoot{background:#f2f7f7;border-top:2px solid #cddfdd}.register-table tfoot td{font-size:11px;color:var(--muted);padding-top:16px;padding-bottom:16px}.register-table tfoot strong{color:var(--ink);font-size:12px}.register-table tfoot .num strong{font-size:14px}
@media(max-width:1150px){.register-overview{gap:12px;grid-template-columns:1fr 1fr}.register-date{grid-column:1/-1;display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:14px 20px}.register-date>strong{margin:0;font-size:18px}.register-date>p{margin:0}.register-metric>strong{font-size:23px}}
@media(max-width:680px){.register-overview{grid-template-columns:1fr}.register-metric{padding:17px 19px}.register-date{grid-column:auto;gap:10px}.register-date>strong{font-size:18px}.register-table th,.register-table td{padding:12px 13px}}
@media print{.register-overview{grid-template-columns:1fr 1fr 1fr;gap:10px}.register-metric{padding:12px}.register-metric>strong{font-size:20px}.register-date{display:block;grid-column:auto}.register-date>strong{margin-top:9px}.register-table{min-width:0}.register-table th,.register-table td{padding:6px!important;font-size:8px!important;min-width:0!important}.register-table td:first-child,.register-table td:nth-child(2),.register-amortization{min-width:0}.register-table small{font-size:7px}.register-table .register-balance>strong{font-size:10px}}

.register-table{min-width:1300px}.register-security{min-width:85px;white-space:nowrap}

@media print{.register-table{min-width:0}}

/* Collapsible financing categories, with the same daily balances as the register. */
.category-toolbar{flex-wrap:wrap}.category-filter-label{font-size:10px;color:var(--muted);display:flex;gap:9px;align-items:center}.category-filter-label select{max-width:310px;font-size:11px;padding:8px 10px}.category-toolbar .search{min-width:190px;flex:1;max-width:330px}.category-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px 16px}.category-overview-heading h2{font-size:16px;margin:0}.category-overview-heading p{font-size:11px;color:var(--muted);margin:5px 0 0}.loan-category{border-top:1px solid var(--line)}.loan-category>summary{display:flex;align-items:center;gap:15px;padding:20px 23px;list-style:none;cursor:pointer;transition:background .15s}.loan-category>summary::-webkit-details-marker{display:none}.loan-category>summary:hover{background:#f6f9f9}.loan-category>summary:focus-visible{outline:2px solid var(--teal);outline-offset:-3px}.category-chevron{color:var(--teal);font-size:24px;line-height:1;transition:transform .15s;flex-shrink:0}.loan-category[open] .category-chevron{transform:rotate(90deg)}.loan-category[open]>summary{background:#f0f6f5;border-bottom:1px solid #d6e5e1}.category-name{font-size:13px;font-weight:600;line-height:1.5}.category-name>small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}.category-amount{margin-left:auto;text-align:right;font-size:19px;font-weight:600;white-space:nowrap;color:var(--navy);font-variant-numeric:tabular-nums}.category-amount>small{font-size:10px;font-weight:400;color:var(--muted)}.category-amount>span{display:block;font-size:9px;font-weight:400;color:#9a7135}.category-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 22px;background:#fbfcfc}.category-actions>span{font-size:10px;color:var(--muted)}.category-actions .btn{font-size:10px;padding:6px 10px}.loan-category .register-table tfoot td{padding-top:11px;padding-bottom:11px}
@media(max-width:680px){.category-filter-label{width:100%;justify-content:space-between}.category-filter-label select{flex:1;max-width:none}.category-toolbar .search{max-width:none}.category-overview-heading{padding:17px}.loan-category>summary{padding:17px 15px;gap:10px}.category-name{font-size:12px}.category-amount{font-size:15px}.category-amount>small{font-size:9px}.category-actions{padding:10px 15px}.category-actions>span{display:none}}
@media print{.category-toolbar,.category-actions,.category-chevron{display:none!important}.loan-category>summary{padding:12px}.loan-category>summary .category-amount{font-size:16px}.loan-category:not([open])>:not(summary){display:block!important}.loan-category{break-inside:avoid}.category-overview-heading{padding:12px}}

/* Actual property photos and independent portfolio status/entity filters. */
.portfolio-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.portfolio-filters .segment small{margin-left:4px;font-size:9px;opacity:.75}.property-photo{width:136px;height:88px;border-radius:8px;overflow:hidden;flex-shrink:0;border:1px solid #dae4e8;background:#edf2f3}.property-photo img{display:block;width:100%;height:100%;object-fit:cover}.portfolio-card .property-top{gap:12px;min-height:88px}.property-photo-current{display:flex;align-items:center;gap:18px;padding:12px;background:#f5f8f9;border-radius:8px;margin-bottom:15px}.property-photo-current strong{display:block;font-size:12px;margin-bottom:9px}.portfolio-empty{grid-column:1/-1;background:white;border:1px solid var(--line);border-radius:10px}.portfolio-filter-bar{flex-wrap:wrap}
@media(max-width:680px){.property-photo{width:120px;height:82px}.portfolio-filters{gap:9px}.portfolio-filters .segment{padding:6px 8px}.property-photo-current{align-items:flex-start}}

/* Six portfolio metrics, with debt, hypothetical equity and LTV adjacent. */
.portfolio-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1599px){.portfolio-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.portfolio-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.portfolio-kpis{grid-template-columns:1fr}}

/* Weighted nominal annual rates alongside category balances. */
.category-name{flex:1;min-width:0}.category-metrics{display:grid;grid-template-columns:minmax(165px,1fr) 160px;gap:25px;align-items:center;flex-shrink:0}.category-metrics .category-amount{margin-left:0}.category-rate{text-align:right;display:block;font-variant-numeric:tabular-nums}.category-rate>small{display:block;font-size:9px;color:var(--muted);font-weight:500;line-height:1.5}.category-rate>strong{display:block;font-size:19px;font-weight:600;color:var(--navy);line-height:1.6}.category-rate>strong>small{font-size:11px;font-weight:400;color:var(--muted)}.category-rate>span{display:block;font-size:9px;color:var(--muted);line-height:1.5}.category-rate>small{white-space:nowrap}
@media(max-width:980px){.category-metrics{grid-template-columns:150px 145px;gap:16px}.category-rate>strong{font-size:17px}.category-metrics .category-amount{font-size:17px}}
@media(max-width:680px){.loan-category>summary{display:grid;grid-template-columns:15px minmax(0,1fr)}.category-metrics{grid-column:2;grid-template-columns:1fr 1fr;gap:12px;width:100%;min-width:0}.category-metrics .category-amount{text-align:left;font-size:16px}.category-rate>strong{font-size:17px}.category-rate>small{white-space:normal}}
.category-rate.is-partial>small{color:var(--amber);font-weight:600}
.category-amount>.category-share{color:var(--muted);font-size:10px;line-height:1.5;font-weight:400;white-space:normal;margin-top:3px}

/* Standing liquidity target, using the same dated valuation basis as the plan. */
.liquidity-target{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:30px;padding:24px 28px;margin-bottom:20px;border-left:3px solid var(--teal)}
.liquidity-target h2{margin:0;font-size:19px;color:var(--navy)}
.liquidity-target .eyebrow{margin:0 0 9px;font-size:9px}
.liquidity-target-amount{font-size:30px;font-weight:600;color:var(--navy);font-variant-numeric:tabular-nums;margin:9px 0}
.liquidity-target-amount>span{font-size:12px;font-weight:400;color:var(--muted)}
.liquidity-target p{font-size:11px;line-height:1.65;color:var(--muted);margin:8px 0 0}
.liquidity-target-basis{border-left:1px solid var(--line);padding-left:28px;align-self:center}
.liquidity-target-basis>span{font-size:11px;color:var(--muted);display:block}
.liquidity-target-basis>strong{font-size:20px;color:var(--navy);display:block;margin-top:5px;font-weight:600}
.liquidity-target-basis .btn{margin-top:12px;font-size:10px;padding:7px 12px}
.liquidity-target .liquidity-target-warning{color:var(--amber)}
@media(max-width:760px){.liquidity-target{grid-template-columns:1fr;gap:16px;padding:20px}.liquidity-target-basis{border-left:0;border-top:1px solid var(--line);padding:15px 0 0}.liquidity-target-amount{font-size:26px}}

/* Global nominal interest remains independent of the register filters. */
.register-interest-overview{padding:21px 24px;margin-bottom:22px}
.register-interest-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.register-interest-heading h2{font-size:16px;margin:0}
.register-interest-values{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:19px}
.register-interest-values>div+div{border-left:1px solid var(--line);padding-left:24px}
.register-interest-values span{display:block;font-size:10px;color:var(--muted);letter-spacing:.4px;text-transform:uppercase}
.register-interest-values strong{display:block;font-size:27px;font-weight:600;color:var(--navy);font-variant-numeric:tabular-nums;margin-top:7px}
.register-interest-values small{font-size:12px;color:var(--muted);font-weight:400}
.register-interest-coverage{font-size:11px;color:var(--muted);line-height:1.65;margin:17px 0 0}
.register-interest-note{font-size:10px;color:var(--muted);line-height:1.65;margin:7px 0 0}
.register-interest-target{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:17px;font-size:12px;color:var(--navy)}
.interest-target-swatch{display:inline-block;width:22px;border-top:2px dashed #7c8f99}
.group-additional-rents{border-top:1px solid var(--line);padding-top:14px;margin-top:15px}
.group-additional-rents h3{font-size:12px;margin:0 0 8px}
.group-rent-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:8px 0;font-size:11px}
.group-rent-row strong,.group-rent-row small{display:block}
.group-rent-row small,.group-additional-rents>p{font-size:10px;color:var(--muted);line-height:1.6}
.group-rent-row>span{white-space:nowrap;font-variant-numeric:tabular-nums}
.summary-strip small{display:block;font-size:9px;line-height:1.5;color:var(--muted);margin-top:5px}
.indicative-rents{margin:0 0 22px;padding-top:21px}
.indicative-rent-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:0 23px}
.indicative-rent-heading h2{font-size:17px;margin:0}
.indicative-rent-heading p:not(.eyebrow){font-size:11px;color:var(--muted);margin:5px 0 0}
.indicative-rent-metrics{display:grid;grid-template-columns:1.2fr 1.2fr 1fr;gap:22px;padding:23px}
.indicative-rent-metrics>div>span{font-size:10px;color:var(--muted);display:block}
.indicative-rent-metrics strong{display:block;font-size:25px;color:var(--navy);font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums;margin-top:5px}
.indicative-rent-metrics small{font-size:11px;font-weight:400;color:var(--muted)}
.indicative-rent-metrics>div>small{display:block;margin-top:3px}
.indicative-rent-progress{height:7px;background:#e9eff1;border-radius:5px;overflow:hidden;margin:0 23px}
.indicative-rent-progress>i{display:block;height:100%;background:var(--teal);border-radius:5px}
.indicative-rent-progress-label{margin:7px 23px 20px;color:var(--teal);font-size:11px}
.indicative-rent-note,.indicative-rent-muted{font-size:11px;line-height:1.7;color:var(--muted);padding:13px 23px;margin:0}
.indicative-rent-table{border-top:1px solid var(--line)}
.indicative-rent-table .btn{font-size:10px;padding:5px 8px}
.property-indicative-rent{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}
.property-indicative-rent>span{display:block;font-size:10px;color:var(--teal)}
.property-indicative-rent>strong{font-size:17px!important;margin:3px 0;font-weight:600}
.property-indicative-rent>small{display:block;font-size:10px;color:var(--muted)}
.property-indicative-rent .btn{font-size:9px;padding:4px 7px;margin-top:7px}
@media(max-width:850px){.indicative-rent-metrics{grid-template-columns:1fr 1fr}.indicative-rent-metrics>div:last-child{grid-column:1/-1}.indicative-rent-table{min-width:660px}}
@media(max-width:520px){.indicative-rent-metrics{grid-template-columns:1fr;gap:14px}.indicative-rent-metrics strong{font-size:23px}.indicative-rent-heading{flex-wrap:wrap}}
@media(max-width:680px){.register-interest-overview{padding:18px}.register-interest-values{grid-template-columns:1fr;gap:15px}.register-interest-values>div+div{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.register-interest-values strong{font-size:24px}}
@media print{.register-interest-overview{break-inside:avoid;padding:12px}.register-interest-values strong{font-size:20px}}

/* Forward interest view has its own horizon; cash-plan controls remain separate. */
.interest-development{margin-bottom:22px;padding:22px 24px}
.interest-development-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.interest-development-heading h2{font-size:16px;margin:0}
.interest-development-heading p{font-size:11px;color:var(--muted);margin:5px 0 0}
.interest-development-chart{position:relative;margin:20px 0 0}
.interest-development-chart svg{display:block;width:100%;height:auto;min-height:180px;overflow:visible}
.interest-development-chart svg text{fill:#788f98;font-size:10px;font-family:inherit;font-variant-numeric:tabular-nums}
.interest-development-empty{padding:36px 16px;text-align:center;font-size:12px;color:var(--muted);line-height:1.7}
.interest-development-empty p{margin:0 0 9px}
.interest-development-legend{display:flex;gap:18px;flex-wrap:wrap;align-items:center;font-size:10px;color:var(--muted);margin:10px 0 0}
.interest-development-legend>span{display:flex;gap:7px;align-items:center}
.interest-development-note{border-top:1px solid var(--line);padding-top:13px;margin-top:17px;font-size:10px;line-height:1.7;color:var(--muted)}
.interest-development-warning,.interest-development-warnings{font-size:11px;line-height:1.7;color:var(--amber);margin:12px 0 0}
.interest-development-warnings summary{cursor:pointer}
.interest-development-warnings ul{margin:7px 0;padding-left:19px}
.interest-development-no-rates{position:absolute;left:15%;right:8%;top:32%;text-align:center;font-size:11px;color:var(--muted);pointer-events:none}
.interest-development-tooltip{position:fixed;z-index:90;max-width:min(350px,calc(100vw - 24px));background:white;border:1px solid #cddfe2;border-top:3px solid var(--teal);border-radius:9px;box-shadow:0 12px 40px #102c3929;padding:14px 16px;pointer-events:none;font-size:11px;line-height:1.5;color:var(--ink)}
.interest-development-tooltip>strong{font-size:13px}
.interest-development-tooltip>p{font-size:10px;color:var(--muted);margin:3px 0 10px}
.interest-development-tooltip dl{margin:0}
.interest-development-tooltip dl>div{display:flex;justify-content:space-between;gap:20px;margin-top:6px}
.interest-development-tooltip dt{color:var(--muted)}
.interest-development-tooltip dd{margin:0;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.interest-development-tooltip .interest-development-tooltip-note{margin:10px 0 0;border-top:1px solid var(--line);padding-top:8px;color:var(--amber)}
@media(max-width:680px){.interest-development{padding:18px}.interest-development-heading{align-items:flex-start;gap:14px}.interest-development-chart{margin-left:-12px;margin-right:-7px}.interest-development-chart svg{min-height:150px}.interest-development-legend{gap:8px 14px}}
@media(hover:none){.interest-development-tooltip{display:none!important}}
@media print{.interest-development{break-inside:avoid;padding:12px}.interest-development-heading .segments,.interest-development-tooltip{display:none!important}.interest-development-chart svg{min-height:0}}

.portfolio-capital{padding:22px 24px;margin-bottom:22px}
.capital-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.capital-heading>div{min-width:0}
.capital-heading h2{font-size:16px;margin:0}
.capital-heading p{font-size:10px;line-height:1.7;color:var(--muted);margin:5px 0 0}
.capital-market>span{font-size:10px;color:var(--muted);display:block}
.capital-market>strong{display:block;font-size:25px;font-weight:600;color:var(--navy);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.capital-market small{font-size:11px;font-weight:400;color:var(--muted)}
.capital-bar{position:relative;display:flex;height:22px;border-radius:5px;overflow:hidden;background:#ecf1f3;margin-top:20px}
.capital-segment{display:block;flex:0 0 auto;min-width:0;height:100%}
.capital-mortgage{background:#214e61}
.capital-equity{background:#9bcbb9}
.capital-market-marker{position:absolute;top:0;bottom:0;width:3px;background:white;box-shadow:0 0 0 1px #244754}
.capital-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:16px}
.capital-legend>div{min-width:0}
.capital-legend>div>span{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}
.capital-legend strong{display:block;font-size:19px;font-weight:600;margin:6px 0 3px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.capital-legend small{font-size:10px;font-weight:400;line-height:1.6;color:var(--muted)}
.capital-legend>div>small{display:block}
.capital-negative{font-size:11px;color:var(--red);line-height:1.7;margin:10px 0 0}
.rent-surplus{padding-top:21px;margin-bottom:22px}
.rent-surplus-bar{position:relative;display:flex;height:8px;border-radius:5px;background:#e9eff1;margin:0 23px;overflow:hidden}
.rent-surplus-bar>i{display:block;flex:0 0 auto;height:100%;min-width:0}
.rent-surplus-cost{background:#214e61}
.rent-surplus-positive{background:#9bcbb9}
.rent-surplus-bar>.rent-surplus-marker{position:absolute;width:2px;background:white;top:0;bottom:0}
.rent-surplus-note{font-size:11px;line-height:1.7;color:var(--muted);margin:13px 23px 18px}
.rent-surplus-details{border-top:1px solid var(--line)}
.rent-surplus-details>summary{cursor:pointer;padding:12px 23px;font-size:11px;color:var(--teal)}
.rent-surplus-table{border-top:1px solid var(--line)}
@media(max-width:680px){
 .rent-surplus-table,.rent-surplus-table tbody{display:block;width:100%;min-width:0}.rent-surplus-table thead{display:none}
 .rent-surplus-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
 .rent-surplus-table td{display:block;min-width:0;padding:0!important;border:0;text-align:left!important;white-space:normal;overflow-wrap:anywhere}
 .rent-surplus-table td:first-child{grid-column:1/-1}.rent-surplus-table td::before{display:block;font-size:9px;color:var(--muted);margin-bottom:3px}
 .rent-surplus-table td:nth-child(2)::before{content:'Erfasstes Soll CHF / Jahr'}.rent-surplus-table td:nth-child(3)::before{content:'Hypozins CHF / Jahr'}.rent-surplus-table td:nth-child(4)::before{content:'Überschuss CHF / Jahr'}
}
.portfolio-kpis .kpi-value{white-space:normal;overflow-wrap:anywhere;line-height:1.3}
.indicative-rent-metrics>div{min-width:0}
.indicative-rent-metrics strong{overflow-wrap:anywhere}
@media(max-width:680px){
 .portfolio-capital{padding:18px}.capital-legend{grid-template-columns:1fr;gap:14px}.capital-market>strong{font-size:23px}
 .portfolio-values{grid-template-columns:minmax(0,1fr)}.valuation-value{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:14px}
 .group-financing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.group-financing-metrics strong{overflow-wrap:anywhere}
 .group-rent-row{flex-wrap:wrap}.group-rent-row>span{white-space:normal}
 .indicative-rent-table{display:block;min-width:0;width:100%}.indicative-rent-table thead{display:none}.indicative-rent-table tbody{display:block}
 .indicative-rent-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
 .indicative-rent-table td{display:block;min-width:0;padding:0!important;border:0;text-align:left!important;white-space:normal;overflow-wrap:anywhere}
 .indicative-rent-table td:first-child,.indicative-rent-table td:last-child{grid-column:1/-1}
 .indicative-rent-table td:nth-child(2)::before{content:'Ist annualisiert CHF / Jahr'}.indicative-rent-table td:nth-child(3)::before{content:'Soll CHF / Jahr'}
 .indicative-rent-table td:nth-child(4)::before{content:'Ist in % vom Soll'}.indicative-rent-table td:nth-child(5)::before{content:'Zieltermin'}
 .indicative-rent-table td::before{display:block;font-size:9px;color:var(--muted);margin-bottom:3px}
}

/* The ledger balance shares its day-end basis with the liquidity plan. */
.payment-table th.payment-liquidity-column,.payment-table td.payment-liquidity-column{background:#eef6f4;border-left:2px solid #b7d7cf;min-width:153px}
.payment-table th.payment-liquidity-column{color:#205a50}
.payment-table th.payment-liquidity-column small{display:block;margin-top:4px;font-size:10px;font-weight:400;letter-spacing:0;text-transform:none}
.payment-table td.payment-liquidity-column>span{font-weight:600;color:#205a50;font-variant-numeric:tabular-nums;white-space:nowrap}
.payment-table td.payment-liquidity-column.negative>span{color:#a9463c}
.payment-table td.payment-liquidity-column>small{font-size:9px;color:#5c7e75;margin-top:3px}
.payment-row-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;min-width:150px}.payment-row-actions .btn{font-size:10px;padding:7px 9px}.payment-source-note p{margin-bottom:0}
.payment-source-action{margin:0 0 18px}.payment-fixed-value{padding:11px 12px;background:#f3f6f7;border:1px solid #dce5e8;border-radius:7px;font-size:13px}.payment-fixed-value small{display:block;margin-top:4px}.dialog-note>small{display:block;margin-top:8px}
.payment-history-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid var(--line);background:#f8fafb}.payment-history-toggle{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;cursor:pointer}.payment-history-toggle input{width:17px;height:17px;accent-color:var(--teal)}.payment-history-controls>span{font-size:11px;color:var(--muted)}.payment-historical td{background:#f8fafb}.payment-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.payment-pagination>div{display:flex;gap:8px;flex-wrap:wrap}
@media(min-width:1101px){
 .portfolio-kpis{grid-template-columns:repeat(12,minmax(0,1fr))}
 .portfolio-kpis>.portfolio-kpi{grid-column:span 3}
 .portfolio-kpis>.portfolio-kpi:nth-last-child(-n+3){grid-column:span 4}
}

/* Important capital repayments and a complete view of loan maturities. */
.table th.plan-repayment-column,.table td.plan-repayment-column{background:#fff7ed;border-left:2px solid #dfb88b}
.table th.plan-repayment-column{color:#805126}
.table td.plan-repayment-column.has-repayment{background:#ffecd6}
.plan-repayment-column.has-repayment .plan-amount{display:inline-block;background:#ffe0b9;border:1px solid #e2ae71;border-radius:5px;padding:5px 8px;font-weight:700;color:#783e13}
.loan-maturities{margin-top:22px;border-top:3px solid #d5a164}
.maturity-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 24px 20px}
.maturity-summary>div{padding:15px 17px;background:#fbf6ef;border:1px solid #eee0cb;border-radius:7px;min-width:0}
.maturity-summary span{display:block;font-size:11px;color:var(--muted)}
.maturity-summary strong{display:block;margin-top:7px;font-size:21px;font-weight:600;color:#805126;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.maturity-summary small{display:block;margin-top:4px;color:var(--muted);font-size:10px}
.maturity-table{min-width:0;width:100%;table-layout:fixed}
.maturity-table td,.maturity-table th{padding:13px 15px;white-space:normal;overflow-wrap:anywhere}
.maturity-table .maturity-amount{background:#fff7ed;color:#805126;white-space:nowrap;font-variant-numeric:tabular-nums}
.maturity-table td.maturity-amount{font-weight:600}
.maturity-table .maturity-date{white-space:normal}
.maturity-table .maturity-open{color:#956721}
.maturity-note{font-size:11px;color:var(--muted);line-height:1.6}
.planned-repayments{margin:15px 24px 20px;border:1px solid #e9ddcd;border-radius:7px;background:#fffcf8}
.planned-repayments>summary{cursor:pointer;padding:14px 16px;font-size:12px;font-weight:600;color:#805126}
.planned-repayments .table-wrap{border-top:1px solid #e9ddcd}
@media(max-width:680px){
 .maturity-summary{grid-template-columns:1fr;padding:0 16px 16px;gap:9px}
 .maturity-summary strong{font-size:20px}
 .maturity-table,.maturity-table tbody{display:block;min-width:0;width:100%}
 .maturity-table thead{display:none}
 .maturity-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border-bottom:1px solid var(--line)}
 .maturity-table td{display:block;min-width:0;padding:0!important;border:0;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important;background:transparent!important}
 .maturity-table td:first-child{grid-column:1/-1}
 .maturity-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-size:9px;font-weight:400}
 .planned-repayments{margin:12px 16px 16px}
}

@media(min-width:681px){
 .loan-maturities>.table-wrap>.maturity-table th:nth-child(1){width:17%}
 .loan-maturities>.table-wrap>.maturity-table th:nth-child(2){width:15%}
 .loan-maturities>.table-wrap>.maturity-table th:nth-child(3){width:21%}
 .loan-maturities>.table-wrap>.maturity-table th:nth-child(4){width:22%}
 .loan-maturities>.table-wrap>.maturity-table th:nth-child(5){width:14%}
 .loan-maturities>.table-wrap>.maturity-table th:nth-child(6){width:11%}
}

.brand .brand-name{display:block;margin:0 3px;font-size:16px;line-height:1.25;letter-spacing:.1px;font-weight:650;color:#f4f8fa}
.brand .brand-caption{font-size:9.5px;line-height:1.55;letter-spacing:.1px;text-transform:none;color:#b8cbd3;margin:-4px 3px 0;white-space:normal}
.login-wrap .brand .brand-name{color:var(--navy)}
.login-wrap .brand .brand-caption{color:var(--muted)}

.portfolio-growth{margin:0 0 22px;overflow:hidden}
.portfolio-growth-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 24px 16px}
.portfolio-growth-heading h2{margin:0 0 7px;font-size:20px}
.portfolio-growth-heading p:not(.eyebrow){margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.portfolio-growth-heading p.portfolio-growth-selected{color:var(--teal);font-weight:650;margin:0 0 5px!important}
.portfolio-growth-scenarios{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 24px 18px;padding:12px 14px;border:1px solid #dfe9e8;border-radius:9px;background:#f7faf9}
.portfolio-growth-scenarios>span{font-size:11px;font-weight:600;color:var(--ink)}
.portfolio-growth-scenarios>small{font-size:10px;color:var(--muted);flex-basis:100%}
.portfolio-growth-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 24px 16px}
.portfolio-growth-metrics>div{min-width:0;background:#f3f8f8;border:1px solid #e0eaea;border-radius:8px;padding:16px}
.portfolio-growth-metrics span,.portfolio-growth-metrics small{display:block;color:var(--muted);font-size:11px;line-height:1.55}
.portfolio-growth-metrics strong{display:block;margin:6px 0 4px;font-size:23px;color:var(--navy);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.portfolio-growth-metrics strong small{display:inline;font-size:11px;font-weight:400}
.portfolio-growth-assumptions{margin:0 24px 18px;font-size:12px;line-height:1.7;color:var(--muted)}
.portfolio-growth-assumptions strong{color:var(--navy);font-weight:600}
.portfolio-growth-partial,.portfolio-growth-empty{margin:0 24px 16px;padding:12px 14px;border-left:3px solid #ba944f;background:#fbf7ed;font-size:12px;line-height:1.65;color:#795d2d}
.portfolio-growth-chart{margin:0 16px;min-width:0}
.portfolio-growth-chart svg{display:block;width:100%;height:auto;max-height:360px;overflow:visible;font-family:inherit}
.portfolio-growth-chart .growth-grid{stroke:#e6eeee;stroke-width:1}
.portfolio-growth-chart .growth-axis,.portfolio-growth-chart .growth-axis-title{fill:#647780;font-size:12px}
.portfolio-growth-chart .growth-value{fill:#173d4b;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}
.portfolio-growth-chart .growth-x-label{fill:#233f4b;font-size:15px;font-weight:600}
.portfolio-growth-chart .growth-ltv{fill:#586d76;font-size:13px;font-variant-numeric:tabular-nums}
.portfolio-growth-chart .growth-missing{fill:#92703a;font-size:13px}
.growth-mortgage{fill:#193b4a;background:#193b4a}
.growth-equity,.growth-market{fill:#60b6aa;background:#60b6aa}
.portfolio-growth-legend{display:flex;flex-wrap:wrap;gap:10px 22px;padding:9px 24px 18px;color:var(--muted);font-size:11px}
.portfolio-growth-legend span{display:inline-flex;align-items:center;gap:7px}
.portfolio-growth-negative{margin:0 24px 18px;color:#8c643a;font-size:12px;line-height:1.6}
.portfolio-growth-table{width:100%;min-width:0;table-layout:fixed}
.portfolio-growth-table th,.portfolio-growth-table td{white-space:normal;overflow-wrap:anywhere;padding:13px 18px;font-variant-numeric:tabular-nums}
.portfolio-growth-table th:first-child{width:19%}
.portfolio-growth-table th:last-child{width:13%}
.portfolio-growth-table td small{display:block;margin-top:4px;color:var(--muted);font-size:10px}
.portfolio-growth-notes{padding:10px 24px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.65}
.portfolio-growth-notes p{margin:7px 0}
@media(max-width:680px){
 .portfolio-growth-heading{padding:18px 16px 14px;gap:8px}
 .portfolio-growth-heading h2{font-size:18px}
 .portfolio-growth-scenarios{margin:0 16px 16px;padding:11px 12px;gap:8px}
 .portfolio-growth-metrics{grid-template-columns:1fr;margin:0 16px 14px;gap:8px}
 .portfolio-growth-metrics>div{padding:12px 14px}
 .portfolio-growth-metrics strong{font-size:22px}
 .portfolio-growth-assumptions,.portfolio-growth-partial,.portfolio-growth-empty,.portfolio-growth-negative{margin-left:16px;margin-right:16px}
 .portfolio-growth-chart{margin:0 5px}
 .portfolio-growth-chart .growth-value{font-size:25px}
 .portfolio-growth-chart .growth-x-label{font-size:24px}
 .portfolio-growth-chart .growth-ltv{font-size:22px}
 .portfolio-growth-chart .growth-axis,.portfolio-growth-chart .growth-axis-title,.portfolio-growth-chart .growth-missing{font-size:21px}
 .portfolio-growth-legend{padding:12px 16px 17px;gap:8px 16px;line-height:1.6}
 .portfolio-growth-table,.portfolio-growth-table tbody{display:block;width:100%;min-width:0}
 .portfolio-growth-table thead{display:none}
 .portfolio-growth-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border-top:1px solid var(--line)}
 .portfolio-growth-table td{display:block;min-width:0;padding:0!important;border:0;white-space:normal!important;text-align:left!important;font-size:12px}
 .portfolio-growth-table td:first-child{grid-column:1/-1}
 .portfolio-growth-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-size:10px}
 .portfolio-growth-notes{padding:8px 16px 16px}
}

/* Separate credit drawdowns and the resulting closing liquidity balance. */
.liquidity-plan-table{table-layout:fixed;min-width:1080px;width:100%}
.liquidity-plan-table th,.liquidity-plan-table td{padding:13px 9px}
.liquidity-plan-table th{white-space:normal;line-height:1.45;vertical-align:middle}
.liquidity-plan-table .plan-amount{font-size:10.5px}
.liquidity-plan-table .plan-period-range{display:block;white-space:normal;line-height:1.5;font-variant-numeric:tabular-nums}
.liquidity-plan-table .plan-period-range strong,.liquidity-plan-table .plan-period-range small{display:block;white-space:nowrap}
.liquidity-plan-table .plan-period-range small{font-size:10px;color:var(--muted);font-weight:400}
.table th.plan-drawdown-column,.table td.plan-drawdown-column{background:#eff8f1;border-left:2px solid #b4d4ba}
.table th.plan-drawdown-column{color:#286843}
.table td.plan-drawdown-column.has-drawdown{background:#e2f2e6}
.plan-drawdown-column.has-drawdown .plan-amount{display:inline-block;background:#cce9d5;border:1px solid #85bc98;border-radius:5px;padding:5px 8px;font-weight:700;color:#205e38}
.table th.plan-balance-column{background:#3d474f;color:#fff;border-left:2px solid #2e373d}
.table td.plan-balance-column{background:#596168;border-left:2px solid #424b51;color:#fff}
.table td.plan-balance-column .plan-amount{font-weight:700;color:#fff}
.table td.plan-balance-column.negative .plan-amount{color:#ffded8}
.property-folder{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 9px;margin:14px 0 17px;padding:10px;border:1px solid #d6e6e0;border-radius:9px;background:#f3f8f6}.property-folder .property-folder-open{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:600;padding:7px 9px;border-color:#aacbbf;color:#216450;background:#fff;white-space:nowrap}.property-folder-open svg{width:16px;height:16px;flex:none}.property-folder-open:hover:not(:disabled){background:#e6f2ed;border-color:#76ab97}.property-folder-open:focus-visible{outline:2px solid #216450;outline-offset:3px}.property-folder-open:disabled{opacity:.55;cursor:default}.property-folder-path{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:var(--muted)}.property-folder-note{grid-column:1/-1;font-size:10px;color:var(--muted)}
.alert-row-action{cursor:pointer;border-radius:7px;padding-left:8px;padding-right:8px;transition:background .15s ease}.alert-row-action:hover,.alert-row-action:focus-visible{background:#f0f6f4}.alert-row-action:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.issue-open-label{display:inline-block;margin-top:3px;font-weight:600}.issue-context{border:1px solid #d9e4e8;border-left:4px solid var(--amber);border-radius:8px;background:#f8fafb;padding:14px 16px;margin-bottom:22px;scroll-margin-block:15px}.issue-context-heading{display:flex;flex-direction:column;gap:4px}.issue-context-heading>span{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:700}.issue-context-heading strong{font-size:13px;color:var(--ink)}.issue-context p{font-size:11px;line-height:1.65;color:#617782}.issue-context .issue-context-hint{color:var(--ink);font-weight:500}.issue-highlight-help{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin:12px 0 5px!important}.issue-highlight-help>span{display:inline-flex;gap:6px;align-items:center}.issue-key{display:inline-block;width:9px;height:9px;border-radius:2px}.issue-key.missing{background:var(--red)}.issue-key.review{background:var(--amber)}.issue-context .issue-context-save{font-size:10px;color:var(--muted)}.issue-review-action{border-top:1px solid var(--line);padding-top:11px;margin-top:10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.issue-review-action small{font-size:10px;color:var(--muted);line-height:1.5}.issue-review-action .issue-unsaved-note{color:var(--amber);font-weight:600}.issue-context .issue-hidden-note{color:var(--amber);font-size:10px}.issue-field-missing,.issue-field-review{border:1px solid;border-radius:8px;padding:10px;scroll-margin-block:32px}.field.issue-field-missing,.fee-grid label.issue-field-missing{border-color:#d69b91;background:#fdf0ec}.field.issue-field-review,.fee-grid label.issue-field-review{border-color:#ddc18b;background:#fff8e9}.issue-field-missing>input,.issue-field-missing>select,.issue-field-missing>textarea{border-color:#ce8a7e}.issue-field-review>input,.issue-field-review>select,.issue-field-review>textarea{border-color:#d8b66e}.issue-field-marker{display:inline-block;font-size:9px;line-height:1.4;font-weight:700;margin-left:7px;padding:2px 5px;border-radius:4px;white-space:nowrap}.issue-field-missing .issue-field-marker{color:#a34534;background:#f4d6cf}.issue-field-review .issue-field-marker{color:#896018;background:#f2e0b7}.fee-grid label.issue-field-missing,.fee-grid label.issue-field-review{position:relative}.fee-grid label .issue-field-marker{margin:0;align-self:flex-start;order:-1}.issue-field-missing:focus-within{box-shadow:0 0 0 2px #d69b9140}.issue-field-review:focus-within{box-shadow:0 0 0 2px #ddc18b40}@media(max-width:680px){.issue-context{padding:12px}.issue-context-heading strong{font-size:12px;overflow-wrap:anywhere}.issue-review-action{align-items:flex-start;flex-direction:column}.issue-field-marker{white-space:normal}.issue-highlight-help{gap:8px 13px}.alert-row-action .alert-text{min-width:0;overflow-wrap:anywhere}}

/* Touch editing on iPhone and iPad. */
@media (pointer: coarse) {
 input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  font-size: 16px;
 }
 input:not([type="checkbox"]):not([type="radio"]), select,
 .btn, .segment, .nav-btn, .icon-btn, .avatar, button.text-link {
  min-height: 44px;
 }
 .btn, .segment, .nav-btn, .icon-btn, .avatar, button.text-link {
  min-width: 44px;
 }
 .field.check, .payment-history-toggle {
  min-height: 44px;
 }
 .field.check input, .payment-history-toggle input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
 }
 textarea {
  min-height: 88px;
 }
 dialog {
  max-width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
 }
 .dialog-header h2 {
  min-width: 0;
  overflow-wrap: anywhere;
 }
 .dialog-header .icon-btn {
  flex: 0 0 44px;
 }
 .dialog-footer {
  flex-wrap: wrap;
  padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
 }
 .login-wrap {
  width: calc(100% - 28px);
  margin: calc(24px + env(safe-area-inset-top, 0px)) auto calc(24px + env(safe-area-inset-bottom, 0px));
 }
}
@media (pointer: coarse) and (max-width: 680px) {
 .sidebar {
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
  padding-left: calc(18px + env(safe-area-inset-left, 0px));
  padding-right: calc(18px + env(safe-area-inset-right, 0px));
 }
 .main-shell {
  padding-bottom: env(safe-area-inset-bottom, 0px);
 }
}

.topbar .breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar-actions{min-width:0}
.topbar-actions .save-state{min-width:0;overflow-wrap:anywhere}
.topbar-logout{white-space:nowrap;flex-shrink:0}
@media(max-width:480px){
 .topbar{height:auto;min-height:54px;padding-top:10px;padding-bottom:10px}
 .topbar .breadcrumb{display:none}
 .topbar-actions{width:100%;justify-content:flex-end}
 .topbar-actions .save-state{flex:1;margin-right:auto}
 .topbar-actions .icon-btn,.topbar-actions .avatar{flex-shrink:0}
}
