.fin-controls label{display:flex;flex-direction:column;gap:7px;font-weight:600}.fin-controls input,.fin-controls select{min-height:44px;font-size:16px}.fin-controls select{max-width:540px}.fin-periods{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.fin-periods button{min-height:44px;padding:12px 18px!important;background:#edf5f8;color:#284757;border:1px solid #c7dfe6}.fin-periods button.selected{background:#148ea4;color:white;border-color:#087b90;box-shadow:0 0 0 2px #bce9ef}.fin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:22px 0}.fin-card{background:white!important;color:#243e50!important;border:1px solid #cddfe5;border-top:4px solid #26acce;border-radius:12px;text-align:left;padding:22px!important;display:flex;flex-direction:column;gap:16px;min-height:150px}.fin-card strong{font-size:29px;line-height:1.2}.fin-card small{font-size:12px;color:#56707d}.fin-card.positive{border-top-color:#28a36c}.fin-card.waiting{border-top-color:#eeb641}.fin-card.negative{border-top-color:#df4b55;background:#fff3f3!important}.fin-cards.secondary .fin-card strong{font-size:23px}.fin-cards.secondary .fin-card{min-height:130px}.fin-card:hover{box-shadow:0 6px 20px #21495818}.fin-card:focus-visible,.fin-periods button:focus-visible{outline:3px solid #137e95;outline-offset:3px}#finance-modal{width:min(1200px,94vw);max-height:90vh;border:1px solid #c9dce5;border-radius:16px;padding:24px;color:#243e50}#finance-modal::backdrop{background:#162c4566}#finance-modal .row{justify-content:space-between}#finance-modal .table-scroll{max-height:65vh}@media(max-width:700px){.fin-controls select{max-width:85vw}.fin-cards{grid-template-columns:1fr}.fin-card strong{font-size:25px}}

.finance-badge button[data-fin-manual-bank]{appearance:none!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;min-height:0!important;min-width:0!important;font:inherit!important;line-height:inherit!important;text-align:left!important;text-decoration:underline;text-underline-offset:2px;cursor:pointer;display:inline!important}.finance-badge button[data-fin-manual-bank]:hover{text-decoration-thickness:2px}.finance-badge button[data-fin-manual-bank]:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.finance-badge button[data-fin-excess]{appearance:none!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;min-height:0!important;min-width:0!important;font:inherit!important;line-height:inherit!important;text-align:left!important;text-decoration:underline;text-underline-offset:2px;cursor:pointer;display:inline!important}.finance-badge button[data-fin-excess]:hover{text-decoration-thickness:2px}.finance-badge button[data-fin-excess]:focus-visible{outline:2px solid currentColor;outline-offset:2px}

#excess-review,#excess-search,#excess-transfer{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0}
#excess-review label,#excess-transfer label{display:flex;flex-direction:column;gap:6px;flex:1 1 260px;min-width:0}
#excess-review label{flex-basis:100%}
#excess-search label{display:flex;flex-direction:column;gap:6px;flex:1 1 260px;min-width:0}
#excess-review textarea,#excess-transfer textarea{box-sizing:border-box;width:100%;min-height:72px;padding:10px;border:1px solid #bad1de;border-radius:6px;font:inherit}
#excess-transfer select,#excess-transfer input,#excess-search input{box-sizing:border-box;width:100%;max-width:100%}
#excess-transfer p{flex-basis:100%}
#excess-error{color:#a52b36;font-weight:600}

.fin-period-banner{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;margin:18px 0 12px;padding:16px 20px;background:#e2f5f8;border:2px solid #169bb0;border-left-width:6px;border-radius:8px;color:#17475b}
.fin-period-banner strong{font-size:22px;line-height:1.35;font-variant-numeric:tabular-nums;color:#103d50}
.fin-period-banner small{font-size:14px;font-weight:600}
#content [data-fin-period][aria-pressed="true"],#content [data-journal-period][aria-pressed="true"]{background:#096c80!important;color:#fff!important;border:2px solid #064859!important;box-shadow:0 0 0 3px #ace0e8!important;font-weight:700!important}
#content [data-fin-period][aria-pressed="true"]::before,#content [data-journal-period][aria-pressed="true"]::before{content:"✓ ";font-weight:700}
@media(max-width:600px){.fin-period-banner{gap:6px;padding:12px}.fin-period-banner>*{width:100%}.fin-period-banner strong{font-size:19px}}

.fin-summary h3{font-size:20px;margin:30px 0 12px;color:#21495e}
.fin-summary p{max-width:1150px;line-height:1.6}
.fin-main-three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.fin-equation{display:flex;flex-direction:column;gap:10px;background:#eff8fa;border-left:4px solid #159bb0;padding:18px;margin:18px 0;line-height:1.5}
.fin-equation>strong{font-size:22px;color:#173e51;font-variant-numeric:tabular-nums}
.fin-cost-equation{max-width:900px}
.fin-cost-equation>span{display:flex;justify-content:space-between;gap:24px}
.fin-cost-equation b{white-space:nowrap}
.fin-unknown{background:#fff7e5;border:1px solid #e3b64e;border-left:5px solid #d99c22;padding:16px 20px;border-radius:6px;margin:20px 0}
.fin-unknown h3{margin-top:0}
.fin-explain{padding:16px 0}
.fin-explain>summary{cursor:pointer;font-weight:600;color:#176b7f}
@media(max-width:700px){.fin-main-three{grid-template-columns:1fr!important}.fin-equation>strong{font-size:18px}.fin-cost-equation>span{flex-wrap:wrap;gap:4px}.fin-summary h3{font-size:18px}}

/* Presentation only. Measured PlanFact tokens; financial behaviour is unchanged. */
:root{--nav:#34485c;--accent:#1f98ad;--ink:#333;--line:#e6e6e6;--muted:#737b82;--sidebar-width:196px}
body{font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.43;color:var(--ink);background:#fff}
button,input,select,textarea{font-family:Roboto,Arial,sans-serif;font-size:13px;line-height:18px}
button{background:var(--accent);border-radius:5px;padding:9px 16px;min-height:38px;font-weight:500}
input:not([type=checkbox]):not([type=radio]),select{min-height:38px;padding:8px 10px;border:1px solid #e5e6e7;border-radius:4px;color:#333;background:#fff}
textarea{padding:10px 12px;border:1px solid #d9dfe3;border-radius:4px;line-height:1.5}
input[type=checkbox],input[type=radio]{accent-color:var(--accent)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #1f98ad;outline-offset:3px}
a{color:#16869b;text-underline-offset:3px}a:hover{text-decoration:underline}
h1{font-size:20px;line-height:1.5;font-weight:700}h2{font-size:18px;line-height:1.4;font-weight:600}h3{font-size:15px;font-weight:600}
.sub,.muted,.foot,.pulse-muted{color:var(--muted);font-size:12px}.foot{line-height:1.5}
aside{width:var(--sidebar-width);background:#34485d;padding:64px 12px 16px}aside h2{font-size:20px}aside small{font-size:10px;color:#bbc8d2}
#nav{margin-top:20px}#nav button{font-size:13px;line-height:18px;min-height:36px;padding:8px 10px;border-radius:4px;color:#dce3e9;margin:2px 0}
#nav button.active{background:#273547;border-left:3px solid #52e3fc;color:#fff}#nav button:hover{background:#2c3d50;filter:none}
#nav .nav-group{padding:8px 0;border-color:#ffffff14}#nav summary{font-size:12px;padding:9px 3px;color:#e5ebef;font-weight:500}
.nav-group-title{font-size:10px;letter-spacing:.07em;color:#aebdca;padding:7px 3px}.nav-search-label{font-size:11px;color:#c5d0d9}.nav-search-label input{min-height:34px!important}
#menu-toggle{background:#34485c;color:#fff;top:10px;left:12px;min-height:34px;padding:7px 10px;font-size:12px;box-shadow:none;border:1px solid #ffffff25}
main{margin-left:var(--sidebar-width);padding:20px 24px;max-width:none;min-width:0}#app main{padding-top:0}
#app main>header{min-height:64px;margin:0 -24px 20px;padding:12px 24px 12px 20px;background:#34485c;color:#fff;border:0;align-items:center}
#app main>header h1{margin:0;color:#fff}#app main>header .sub{color:#d4dfe7;font-size:12px;display:block;max-width:850px}
#app main>header .tag{display:none}#app main>header #who{font-size:12px;color:#e6edf2}#logout{background:transparent;border:1px solid #ffffff60;color:#fff;font-size:12px}
body.menu-collapsed #app main>header{padding-left:128px}
#page-context{background:#fafafa;border:1px solid #ebedef;border-radius:4px;padding:12px 16px;margin-bottom:16px}#page-context p{font-size:12px;color:#737b82;margin:6px 0}
.section-crumb{font-size:11px;color:#737b82;font-weight:400}.section-tabs{gap:6px;margin-top:10px}.section-tabs button{padding:6px 12px;min-height:32px;border-radius:4px;font-size:12px;border-color:#e1e6e9}
.section-tabs button[aria-current=page]{background:#1f98ad;border-color:#1f98ad}.section-related{margin-top:8px}.section-related button,.outline-links button{min-height:28px;padding:4px 8px;border:0;background:transparent;color:#16869b}
.panel,.card,.finance-chart-panel,.pulse-metric{box-shadow:none;border:1px solid #e6e9eb;border-radius:5px;background:#fff}
.panel{padding:16px;margin:16px 0}.row{gap:10px}.cards,.fin-cards{gap:12px;margin:18px 0;grid-template-columns:repeat(auto-fit,minmax(195px,1fr))}
.card{padding:16px;border-top:2px solid #27b8f0;background:#fff}.card:nth-child(3n+2),.card:nth-child(3n){background:#fff}
.card strong,.pulse-metric strong{font-size:30px;font-weight:400;line-height:1.35;letter-spacing:0;font-variant-numeric:tabular-nums}.card small{font-size:12px;color:#737b82}
.fin-card{padding:16px!important;gap:12px;min-height:128px;border-radius:5px;border:1px solid #e6e9eb;border-top:2px solid #27b8f0;color:#333!important;box-shadow:none}
.fin-card strong{font-size:30px;font-weight:400;line-height:1.25;font-variant-numeric:tabular-nums}.fin-card small{font-size:12px;color:#737b82}.fin-cards.secondary .fin-card{min-height:108px}.fin-cards.secondary .fin-card strong{font-size:24px}
.fin-card:hover{box-shadow:0 2px 8px #34485c15;border-color:#1f98ad;filter:none}.fin-card.positive{border-top-color:#20ad76}.fin-card.waiting{border-top-color:#edb94c}.fin-card.negative{border-top-color:#e36067}
.pulse-metric{padding:16px;border-top-width:2px}.pulse-metric p{font-size:12px;min-height:0}.pulse-metric small{font-size:12px}.pulse-intro h2{font-size:22px}.pulse-intro{margin:18px 0}.pulse-metrics{gap:12px}
.fin-controls label{font-size:12px;font-weight:500;gap:5px}.fin-controls input,.fin-controls select{font-size:13px;min-height:38px}
.fin-periods{gap:6px;margin:14px 0}.fin-periods button{min-height:34px;padding:7px 12px!important;background:#fff;border:1px solid #e1e6e9;color:#59646c;font-size:12px;border-radius:4px}
.fin-periods button.selected{background:#1f98ad;color:#fff;border-color:#1f98ad;box-shadow:none}
.notice{border-radius:4px;font-size:12px;line-height:1.5;padding:10px 12px;background:#f3f8fa;color:#536a77}.tag,.pill{border-radius:3px;padding:3px 6px;font-size:11px}
.table-hint{font-size:11px;color:#7c858d;margin:0 0 6px}.table-scroll{border:1px solid #e8ebed;border-radius:3px;max-height:74vh}
.table-scroll table,table{font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}
.table-scroll th{background:#f8f8f8;color:#60666b;font-size:12px;font-weight:600;line-height:17px;padding:9px 10px;border-bottom:1px solid #dfe4e7;border-right:0;box-shadow:none;min-width:80px}
.table-scroll td{padding:8px 10px;vertical-align:middle;border-bottom:1px solid #eceff1;border-right:0;color:#333}.table-scroll tbody tr:nth-child(even){background:#fcfcfc}.table-scroll tbody tr:hover{background:#f0f8fa}
.table-scroll td small{font-size:11px;color:#737b82;line-height:1.35}.table-scroll td button{font-size:12px;min-height:30px;padding:5px 9px}.table-scroll td.num{text-align:right}
.finance-badge{font-size:11px;line-height:1.35;border-radius:3px;padding:3px 6px;font-weight:500;min-height:0}.finance-ok{background:#e9f6ef;color:#23845c}.finance-wait{background:#fff5df;color:#916918}.finance-due{background:#fceced;color:#b34550}
.finance-badge button{background:transparent!important;color:inherit!important;border:0!important;min-height:0!important;padding:0!important;text-align:left}
.property-report .table-scroll th:first-child{background:#f8f8f8}.property-report .table-scroll td:first-child{background:#fff}.property-report .table-scroll td,.property-report .table-scroll td:nth-child(n+3){padding:8px}
.property-report .table-scroll th:first-child,.property-report .table-scroll td:first-child{min-width:210px}.property-report .table-scroll th:nth-child(n+3),.property-report .table-scroll td:nth-child(n+3){min-width:92px}
.property-report .article-link{font-size:13px;min-height:0;padding:0;background:transparent}.property-report .table-scroll td:nth-child(2) svg{height:24px}
.finance-chart-panel{padding:20px;margin:20px 0;border-radius:5px}.chart-heading h2{font-size:18px}.chart-heading p{font-size:12px;color:#737b82}.finance-chart-scroll svg{height:320px}.finance-chart-scroll text{font-family:Roboto,Arial,sans-serif;font-size:12px;fill:#737b82}.property-chart>svg{height:320px!important}
.chart-legend{gap:14px}.chart-legend button{background:transparent;border:0;color:#60666b;font-size:12px;padding:5px 8px;min-height:30px}.chart-legend i{border-radius:2px;width:10px;height:10px}.chart-unit{background:#f4f5f6;border-radius:3px;font-size:11px}
dialog,#finance-modal{color:#333;border:1px solid #e0e5e8!important;border-radius:6px!important;padding:24px!important;box-shadow:0 12px 48px #14233326;max-width:calc(100vw - 32px);max-height:90dvh}
dialog::backdrop{background:#263b4d66}dialog h2{font-size:20px;margin-top:0}dialog p{font-size:13px;line-height:1.5}dialog .table-scroll{max-height:55dvh}dialog [data-part]{padding:12px 0;border-bottom:1px solid #edf0f2}
dialog [data-part]>input{flex:1;min-width:120px}dialog [data-part]>div{min-width:200px!important}dialog textarea{width:100%!important}
.login{border:1px solid #e6e9eb;border-radius:6px;padding:28px;box-shadow:0 8px 36px #34485c12}.login h1{font-size:24px}.login button{width:100%}
@media(min-width:1800px){.finance-chart-scroll svg{height:380px}}
@media(max-width:1100px){.pulse-columns{grid-template-columns:1fr}.pulse-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){main{margin-left:0;padding:16px 12px}#app main>header{margin:0 -12px 16px;padding:58px 12px 12px!important;align-items:flex-start;flex-wrap:wrap;gap:10px}aside{width:220px;padding-top:60px;box-shadow:4px 0 24px #14233326}#nav{display:block}#app main>header h1{font-size:20px}.panel{padding:12px}.cards,.fin-cards,.pulse-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.card,.fin-card,.pulse-metric{padding:12px!important;min-width:0}.card strong,.fin-card strong,.pulse-metric strong{font-size:24px;overflow-wrap:anywhere}.fin-card{min-height:120px}.fin-controls select{max-width:100%}.fin-controls label{max-width:100%}.finance-chart-panel{padding:12px}.finance-chart-scroll svg{height:280px}.split{grid-template-columns:1fr}dialog,#finance-modal{padding:16px!important;width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)}dialog [data-part]>div,dialog [data-part]>input{min-width:100%!important}.table-scroll{max-height:68dvh}.fin-periods button{min-height:40px}}
@media(max-width:420px){.cards,.fin-cards,.pulse-metrics{grid-template-columns:1fr}.login{margin:8vh 12px}#page-context{padding:10px}.chart-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Compact, visible date context shared by operations and booking screens. */
#content .fin-period-banner{padding:9px 12px;margin:12px 0 8px;border-radius:4px;border-width:1px;border-left-width:3px;gap:12px;font-size:12px}
#content .fin-period-banner strong{font-size:16px;font-weight:500}#content .fin-period-banner small{font-size:11px}
#content [data-journal-period]{min-height:34px;padding:7px 12px!important;border:1px solid #e1e6e9;background:#fff!important;color:#59646c!important;box-shadow:none!important}
#content [data-journal-period][aria-pressed=true]{background:#1f98ad!important;color:#fff!important;border-color:#1f98ad}
#journal-filter input[name=party],#journal-filter input[name=search]{min-width:210px;flex:1}#journal-filter select{max-width:285px}
@media(max-width:850px){#journal-filter{align-items:stretch}#journal-filter select,#journal-filter input[name=party],#journal-filter input[name=search]{width:100%;max-width:100%;min-width:0}#content .fin-period-banner{flex-wrap:wrap}#content .fin-period-banner strong{font-size:15px}}

.pulse-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.pulse-metric{min-width:0}.pulse-metric strong{font-size:26px;overflow-wrap:anywhere}
@media(max-width:850px){.pulse-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pulse-metric strong{font-size:22px}}
@media(max-width:420px){.pulse-metrics{grid-template-columns:1fr}}
/* Operations workspace: compact journal and contextual payment drawer. */
.journal-workspace{--journal-line:#e5eaf0;--journal-ink:#34495e}
.journal-workspace .journal-controls{padding:14px 18px;margin:0 0 12px;overflow:visible}
.journal-toolbar,.journal-filter-primary,.journal-views,.journal-period,.journal-grid-toolbar,.journal-pagination,#journal-selection{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.journal-toolbar{justify-content:space-between;margin-bottom:14px}
.journal-presets{display:flex;gap:4px;flex-wrap:wrap}
.journal-workspace .journal-presets button{background:#f0f4f7;color:#50667a;border:1px solid transparent;padding:7px 12px}
.journal-workspace .journal-presets button[aria-pressed=true]{background:#e5f5f8;color:#127f95;border-color:#91d5df}
.journal-filter-primary label{display:flex;align-items:center;gap:6px;font-size:12px;color:#6b7e91}
.journal-filter-primary input[name=search]{flex:2;min-width:200px}.journal-filter-primary input[name=party]{flex:1;min-width:160px}
.journal-filters-extra{margin:12px 0}.journal-filters-extra summary,.journal-source-details summary{cursor:pointer;color:#61778b;font-size:12px}
.journal-filters-extra .row{margin-top:10px}.journal-filters-extra select{max-width:390px}
.journal-views{border-top:1px solid var(--journal-line);padding-top:10px}.journal-views input{max-width:190px}.journal-views select{max-width:220px}
.journal-views button{background:transparent!important;color:#218fa5!important;border:1px solid #dbe6eb!important}
.journal-period{padding:4px 2px 12px;color:#708397;font-size:12px}.journal-period strong{font-size:15px;color:#34495e}.journal-period #journal-loading{margin-left:auto;color:#168ba0}
.journal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:white;border:1px solid var(--journal-line);border-radius:6px;margin-bottom:10px}
.journal-metrics>div{padding:16px 20px;border-right:1px solid var(--journal-line)}.journal-metrics>div:last-child{border:0}.journal-metrics small{font-size:12px;color:#73869a;display:block}.journal-metrics strong{display:block;font-size:23px;font-weight:500;margin-top:7px;font-variant-numeric:tabular-nums}.journal-metrics strong small{display:inline;font-size:12px}
.journal-income{color:#158d99}.journal-expense{color:#cb765a}.journal-source-details{margin:12px 2px;color:#6b7e91;font-size:12px}
.journal-workspace .journal-grid{padding:0;overflow:hidden;margin-top:14px}.journal-grid-toolbar{justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--journal-line);font-size:12px;color:#6b7e91}
.journal-grid .table-scroll{border:0;border-radius:0;max-height:65vh}.journal-grid .table-scroll table{min-width:1030px;table-layout:fixed}
.journal-grid .table-scroll th{font-size:12px!important;padding:10px!important;min-width:0!important;background:#edf4f8!important;white-space:normal}
.journal-grid .table-scroll td{padding:10px!important;font-size:13px!important;line-height:1.45;border-right:0!important;vertical-align:top}
.journal-grid th:nth-child(1){width:38px}.journal-grid th:nth-child(2){width:155px}.journal-grid th:nth-child(3){width:29%}.journal-grid th:nth-child(4){width:160px;text-align:right}.journal-grid th:nth-child(5){width:22%}.journal-grid th:nth-child(6){width:165px}.journal-grid th:nth-child(7){width:90px}
.journal-grid td small{display:block;font-size:11px;color:#8492a2;line-height:1.5;font-weight:400}.journal-grid td strong{font-weight:500}.journal-grid td a{font-weight:500;text-decoration:none}.journal-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;color:#8292a2;margin-top:3px}
.journal-grid .journal-amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.journal-grid td button{background:transparent!important;color:inherit!important;padding:0!important;font-weight:500;min-height:0;box-shadow:none!important;border:0!important;text-align:inherit}.journal-grid td button:hover{text-decoration:underline}
.journal-grid tbody tr{cursor:pointer}.journal-grid tbody tr:hover,.journal-grid tbody tr.is-current{background:#eaf7fa!important}.journal-grid tbody tr.is-selected{background:#f0f8fc!important}.journal-grid .journal-open{color:#258da2!important;font-size:12px}.journal-state{display:inline-block;font-size:11px;padding:2px 6px;border-radius:4px;white-space:nowrap}.journal-state.is-done{background:#e8f6ef;color:#308964}.journal-state.is-pending{background:#fff3d9;color:#a47a2c}
.journal-pagination{padding:10px 16px;justify-content:flex-end;font-size:12px;color:#718598}#journal-selection{padding:10px 16px;background:#edf8fb;color:#347284;font-size:12px}#journal-selection[hidden]{display:none}.journal-empty{padding:40px!important;text-align:center}
dialog.journal-drawer{position:fixed!important;inset:0 0 0 auto!important;margin:0!important;width:min(690px,94vw)!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-left:1px solid #dce5ed!important;border-radius:0!important;padding:0 24px 24px!important;overflow:auto!important;background:white;color:#34495e;box-shadow:-10px 0 45px #20374524}
dialog.journal-drawer::backdrop{background:#20374530}
.journal-drawer .journal-drawer-header{position:sticky;top:0;z-index:5;background:white;margin:0 -24px 18px;padding:18px 24px;border-bottom:1px solid #e5eaf0;display:flex;align-items:center;justify-content:space-between;gap:12px}.journal-drawer-header small{color:#718598;font-size:12px}.journal-drawer-header h2{font-size:26px;margin:5px 0 0;font-weight:500}.journal-drawer-header button{padding:7px 11px;background:#edf3f7!important;color:#456278!important;margin-left:4px}
#journal-dialog>h2{display:none}.journal-drawer p{font-size:13px;line-height:1.6}.journal-drawer h3{font-size:15px;margin:20px 0 10px}.journal-drawer #journal-booking-links{background:#f3f8fb;border:1px solid #e4edf3;border-radius:6px;padding:0 14px 10px;margin:16px 0}.journal-drawer #journal-booking-links a{font-size:13px;line-height:1.6}.journal-drawer #journal-document-area{padding:10px 0;border-bottom:1px solid #e7edf2}
.journal-drawer #journal-parts [data-part]{display:grid;grid-template-columns:1fr 110px;gap:8px;background:#f8fafc;border:1px solid #e5ebf0;border-radius:6px;padding:12px;margin:10px 0}.journal-drawer #journal-parts [data-part]>input[name=category]{grid-column:1/-1}.journal-drawer #journal-parts [data-part]>div{grid-column:1/-1;min-width:0!important}.journal-drawer #journal-parts select{width:100%}.journal-drawer #journal-parts [data-part]>button{justify-self:end;background:transparent!important;color:#a07070!important}.journal-drawer #journal-balance{padding:10px 12px;background:#eaf5f8;font-weight:500;position:sticky;bottom:0;z-index:2}.journal-drawer textarea{width:100%!important;min-height:72px}.journal-drawer .table-scroll{max-height:38vh}.journal-drawer .table-scroll table{min-width:620px}.journal-drawer #journal-edit-form>button{margin:5px 3px 0 0}
.journal-bulk-dialog{width:min(760px,94vw);max-height:90dvh;overflow:auto;padding:24px;border:1px solid #d7e2eb;border-radius:8px;color:#34495e}.journal-bulk-dialog form>label{display:flex;flex-direction:column;gap:6px;margin:14px 0}.journal-bulk-dialog::backdrop{background:#20374555}.journal-bulk-dialog .table-scroll{max-height:30vh}
@media(max-width:900px){.journal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-metrics>div{padding:12px;border-bottom:1px solid var(--journal-line)}.journal-metrics strong{font-size:20px}.journal-filter-primary input[name=search],.journal-filter-primary input[name=party]{flex:1 1 100%}.journal-toolbar>button{width:100%}}
@media(max-width:560px){dialog.journal-drawer{width:100vw!important;padding-left:16px!important;padding-right:16px!important}.journal-drawer .journal-drawer-header{margin-left:-16px;margin-right:-16px;padding:14px 16px}.journal-views input{max-width:none;flex:1}.journal-metrics strong{font-size:17px}.journal-period{align-items:flex-start;flex-direction:column}}
.journal-drawer .journal-drawer-actions{position:sticky;bottom:-24px;background:white;border-top:1px solid #dde7ed;padding:14px 0;display:flex;gap:6px;flex-wrap:wrap;z-index:3;margin-top:18px}.journal-drawer #journal-balance{position:static}.journal-drawer .journal-payment-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:#f3f8fb;padding:12px;border-radius:5px;font-size:12px}.journal-payment-facts strong{display:block;font-size:16px;margin-top:6px}.journal-payment-facts small{grid-column:1/-1;color:#7d8c9a}
/* Report workspace: readable controls, drilldowns and object cards. */
.ws-value{appearance:none;background:transparent!important;color:#178fa6!important;border:0!important;border-radius:0;padding:0!important;font:inherit;text-align:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:#9ccbd3;text-underline-offset:3px;box-shadow:none!important}
.ws-value:hover{color:#106779!important;text-decoration-color:currentColor}.ws-value:focus-visible{outline:2px solid #169db3;outline-offset:4px}
.cards .ws-value,.pulse-metric .ws-value{color:inherit!important}.pulse-metric.loss .ws-value{color:#c95361!important}
.ws-periods,.ws-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.ws-periods button,.ws-tabs button{background:#fff;color:#446274;border:1px solid #d7e3e9;border-radius:5px;padding:8px 12px}.ws-periods [aria-pressed=true],.ws-tabs [aria-pressed=true]{background:#1d9fb3;color:white;border-color:#1d9fb3}
.ws-filter{align-items:end;gap:14px}.ws-object-title{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.ws-object-title h2{margin:8px 0;font-size:23px}.ws-explanation{color:#6b8090;margin:12px 0;font-size:12px}.ws-explanation summary{cursor:pointer}.ws-explanation .notice{margin:8px 0}
.ws-caution{background:#fff3d8;border-left:3px solid #e7a837;padding:12px;color:#835f20}.ws-detail{box-sizing:border-box;width:min(1280px,96vw);max-width:96vw;max-height:92vh;padding:0;border:1px solid #dbe4eb;border-radius:10px;color:#294555;box-shadow:0 20px 90px #18324340}.ws-detail::backdrop{background:#16324775}.ws-detail>header{display:flex;justify-content:space-between;align-items:start;gap:20px;background:#fff;padding:20px 24px;border-bottom:1px solid #e2eaf0;position:sticky;top:0;z-index:3}.ws-detail h2{margin:0;font-size:20px}.ws-detail header p{margin:8px 0 0;color:#687f90}.ws-detail-content{padding:20px 24px}.ws-detail-content small{display:block;max-width:400px;color:#7a8b98;margin-top:4px}.ws-detail footer{display:flex;align-items:center;gap:20px;justify-content:center;margin-top:18px}.ws-detail-total{font-size:16px}.ws-detail-totals{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:20px}.ws-detail-totals strong{display:block;font-size:21px;margin-top:7px}.ws-detail .table-scroll{max-height:58vh}.ws-detail [role=status]{min-height:100px}
[data-chart-point]{cursor:pointer}[data-chart-point]:hover{filter:brightness(.86)}[data-chart-point]:focus{outline:3px solid #304c60;outline-offset:3px}.ranking-row .ws-value{font-size:inherit}
#ws-property-body .cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}#ws-property-body .cards strong{font-size:26px}#ws-property-body small{display:block}
@media(max-width:760px){.ws-detail{width:98vw;max-width:98vw;max-height:96vh}.ws-detail>header,.ws-detail-content{padding:14px}.ws-detail .table-scroll{max-height:64vh}.ws-periods button{padding:8px;font-size:12px}.ws-tabs{position:sticky;top:0;background:#f4f7f9;padding:8px 0;z-index:4}.ws-object-title h2{font-size:19px}#ws-property-body .cards strong{font-size:22px}}
.ws-method button{background:#fff!important;color:#365365!important;border:1px solid #c7dbe1!important}.ws-method button[aria-pressed=true]{background:#1d9fb3!important;color:#fff!important;border-color:#1d9fb3!important}.ws-method button[aria-pressed=true]::before{content:"✓ "}
.journal-drawer #journal-parts [data-part]{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-drawer #journal-parts [data-part]>input[name=amount]{grid-column:1/-1;min-width:0}.journal-drawer #journal-parts [data-part]>label{display:flex;flex-direction:column;gap:5px;min-width:0}.journal-drawer #journal-parts [data-part]>label input{width:100%;min-width:0;box-sizing:border-box}.journal-drawer #journal-parts [data-part]>button{grid-column:1/-1}
.pnl-fold>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:revert;font-weight:600;color:#35596b}.pnl-fold>summary strong{margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}.pnl-fold-content{margin-top:14px}.pnl-commission-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}.pnl-commission-toggle input{width:18px;height:18px;accent-color:#209db2}.ws-profit-method{border-left:3px solid #209db2}.property-report>.pnl-fold{margin:12px 0}
.pnl-fold>summary{list-style:none}.pnl-fold>summary::before{content:"▸";display:inline-block;transition:transform .15s ease;color:#209db2}.pnl-fold[open]>summary::before{transform:rotate(90deg)}
.property-monthly-panel{padding:10px 12px}.pm-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.pm-heading h2{margin:0 0 3px}.pm-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pm-tools button{padding:5px 8px}.pm-scroll{overflow:auto;max-height:70vh;margin-top:8px}.pm-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:12px;font-variant-numeric:tabular-nums}.pm-table th,.pm-table td{border-bottom:1px solid #e6ebef;padding:5px 8px;white-space:nowrap}.pm-table thead th{position:sticky;top:0;background:#f3f6f8;z-index:3}.pm-table th:first-child{position:sticky;left:0;z-index:2;background:#fff;text-align:left;min-width:205px}.pm-table thead th:first-child{z-index:4;background:#f3f6f8}.pm-table td{text-align:right}.pm-table .pm-group th,.pm-table .pm-total-row th,.pm-table .pm-total-row td,.pm-table .pm-profit th,.pm-table .pm-profit td{font-weight:700;background:#f4f8fa}.pm-table .pm-group button{background:transparent;color:#168da4;padding:0 4px;min-width:18px}.pm-table .pm-detail th{font-weight:400;padding-left:22px}.pm-table .pm-total{font-weight:700}.pm-table .pm-net th,.pm-table .pm-net td{background:#f4f8fa;color:#315f70;font-weight:600}.pm-table .pm-profit th,.pm-table .pm-profit td{background:#e5f5eb;color:#185c3d}.pm-table .pm-fees th,.pm-table .pm-fees td{color:#788690;font-style:italic}.pm-table .ws-value{padding:2px 0;min-height:0}.pm-table tbody tr:hover td,.pm-table tbody tr:hover th{background:#f4f9fb}.pm-table tbody tr.pm-profit:hover td,.pm-table tbody tr.pm-profit:hover th{background:#e5f5eb}
