:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#24362f;background:#f5f7f5;font-synthesis:none;font-size:15px;line-height:1.55;--accent:#235f4c;--line:#dee5df;--muted:#65766d}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3vw,36px);font-weight:600;letter-spacing:-1.1px;line-height:1.2;margin-bottom:12px}h2{font-size:21px;line-height:1.35;font-weight:600;letter-spacing:-.4px}h3{font-size:18px;font-weight:600}p{color:var(--muted)}.app-shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 16px;display:flex;flex-direction:column;gap:35px}.brand{display:flex;gap:11px;align-items:center;padding:0 9px;font-weight:600}.brand small{display:block;font-size:12px;font-weight:400;color:var(--muted)}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:600;flex-shrink:0}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{padding:10px 14px;border-radius:9px;color:var(--muted);font-size:14px}.sidebar nav a:hover{background:#f3f6f3}.sidebar nav .active{background:#e8f0e9;color:#194c3c;font-weight:600}.sidebar-bottom{margin-top:auto;padding:20px 14px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:13px}.plain-button{border:0;padding:0;background:transparent;color:var(--muted);cursor:pointer;font-size:13px}.main-wrap{min-width:0}.topbar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 40px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}main{padding:38px 40px;max-width:1400px;margin:auto}.page-heading{margin-bottom:30px}.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.6px;color:var(--accent);margin-bottom:13px}.lead{font-size:16px;max-width:680px}.badge{display:inline-block;font-size:11px;font-weight:500;line-height:1.4;padding:6px 10px;border-radius:6px;background:#e1eee4;color:#23533b}.badge.neutral{background:#edf0ec;color:#58675e}.welcome-panel{display:grid;grid-template-columns:1.3fr 1fr;gap:38px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;margin-bottom:35px}.welcome-panel h2{margin-top:20px;font-size:26px}.welcome-panel p{max-width:580px;font-size:14px}.button{display:inline-flex;justify-content:center;align-items:center;gap:20px;border:1px solid var(--accent);border-radius:9px;background:var(--accent);color:white;padding:11px 17px;font-size:13px;font-weight:500;cursor:pointer}.button:hover{background:#194f3e}.button.secondary{background:#fff;color:var(--accent);border-color:var(--line)}.source-map{display:flex;flex-direction:column;justify-content:center;gap:13px}.source-map>div{background:#f6f8f5;border:1px solid #e5ebe4;border-radius:10px;padding:15px 16px;font-size:14px;font-weight:500}.source-map small{display:block;color:var(--muted);font-size:12px;margin-left:19px;font-weight:400}.dot{display:inline-block;width:7px;height:7px;margin-right:12px;border-radius:50%;background:#91aa94}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:16px}.section-heading h2{margin-bottom:0}.section-heading>span{font-size:12px;color:var(--muted)}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.feature-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px;transition:border-color .15s}.feature-card:hover{border-color:#8eaa97}.card-number{font-size:12px;color:#85988b;margin-bottom:22px}.feature-card h3{margin-bottom:9px}.feature-card p{font-size:13px;margin-bottom:25px}.text-link{font-size:13px;color:var(--accent);font-weight:500;margin-top:auto}.main-wrap footer{padding:0 40px 25px;color:#718077;font-size:11px}.connection-list,.panel{background:#fff;border:1px solid var(--line);border-radius:12px}.connection-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px;border-bottom:1px solid var(--line)}.connection-row:last-child{border-bottom:0}.connection-row h2{font-size:17px;margin-bottom:5px}.connection-row p{font-size:13px;margin-bottom:0;max-width:550px}.connection-row .badge{flex-shrink:0}.empty-panel{background:#fff;border:1px dashed #cbd8cf;border-radius:14px;padding:50px 30px;text-align:center}.empty-symbol{font-size:40px;color:#92aa9a;margin-bottom:14px}.empty-panel p{max-width:600px;margin:0 auto 25px;font-size:14px}.split-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{padding:25px}.panel p,.note{font-size:13px}.note{margin:20px 0 0;color:var(--muted)}.reference-row{display:flex;flex-direction:column;gap:3px;margin-bottom:15px;font-size:14px}.reference-row small{color:var(--muted)}.login-body{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:28px}.login-panel{background:#fff;border:1px solid var(--line);border-radius:18px;width:100%;max-width:470px;padding:36px}.login-panel>.brand-mark{margin-bottom:27px}.login-panel h1{font-size:28px;letter-spacing:-.7px}.login-panel .lead{font-size:14px}.login-panel form{margin-top:28px}.login-panel label{display:block;font-size:13px;margin-bottom:7px}.login-panel input:not([type=hidden]){width:100%;padding:11px 13px;border:1px solid #c9d5cd;border-radius:8px;margin-bottom:17px;background:#fcfdfc;font-size:16px}.login-panel button{width:100%;margin-top:8px}.form-error{padding:12px;background:#fff2f0;border-radius:7px;color:#9a3e30;font-size:13px}@media(max-width:1000px){.app-shell{grid-template-columns:200px minmax(0,1fr)}main{padding:28px 25px}.topbar{padding:17px 25px}.welcome-panel{gap:22px;padding:24px}.card-grid{grid-template-columns:1fr}.feature-card{padding:22px}.feature-card p{margin-bottom:14px}.card-number{margin-bottom:12px}.section-heading{flex-wrap:wrap}.connection-row{align-items:flex-start;flex-direction:column;gap:12px}}@media(max-width:700px){.app-shell{display:block}.sidebar{padding:18px;gap:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar nav{flex-direction:row;flex-wrap:wrap;gap:4px}.sidebar nav a{padding:7px 10px;font-size:12px}.sidebar-bottom{padding:12px 8px 0}.topbar{padding:15px 20px;flex-wrap:wrap;min-height:0}main{padding:27px 20px}.welcome-panel,.split-panels{grid-template-columns:1fr}.source-map{gap:9px}.welcome-panel h2{font-size:22px}.main-wrap footer{padding:0 20px 20px}.login-body{padding:18px}.login-panel{padding:27px}.login-panel h1{font-size:25px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.metric-grid .panel{display:flex;flex-direction:column;gap:8px}.metric-grid small{color:var(--muted)}.metric-grid strong{font-size:28px;font-weight:600}@media(max-width:1000px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.metric-grid{grid-template-columns:1fr}}

.registry-panel{margin:28px 0 20px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.registry-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:25px}.registry-heading h2{margin-bottom:7px}.registry-heading p{margin-bottom:0;max-width:600px;font-size:13px}.registry-filters{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;flex-wrap:wrap}.registry-filters label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:11px}.registry-filters select{min-width:145px;padding:9px 28px 9px 10px;border:1px solid #cbd8cf;border-radius:8px;background:#fff;color:#24362f;font-size:13px}.registry-filters .button{padding:9px 14px}.registry-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f9faf9}.registry-metrics>div{padding:16px 18px;border-right:1px solid var(--line)}.registry-metrics>div:last-child{border-right:0}.registry-metrics small,.finance-table small{display:block;color:var(--muted);font-size:11px}.registry-metrics strong{display:block;margin-top:5px;font-size:17px;font-weight:600;white-space:nowrap}.table-scroll{overflow-x:auto}.finance-table{width:100%;min-width:1180px;border-collapse:collapse;font-size:12px}.finance-table th{padding:12px 14px;background:#fbfcfb;color:#718077;font-size:10px;font-weight:600;text-align:left;text-transform:uppercase;letter-spacing:.45px;white-space:nowrap}.finance-table td{padding:13px 14px;border-top:1px solid #e9eeea;vertical-align:top}.finance-table tbody tr:hover{background:#fbfcfb}.finance-table td strong{display:block;font-weight:600}.finance-table .money{text-align:right;white-space:nowrap}.finance-table .negative{color:#9c3f35;font-weight:600}.deal-link{color:var(--accent);font-weight:600;white-space:nowrap}.status-pill{display:inline-block;padding:4px 7px;border-radius:5px;background:#edf0ec;color:#58675e;font-size:10px;font-weight:600;white-space:nowrap}.status-pill.success{background:#e1eee4;color:#23533b}.status-pill.warning{background:#fff3d8;color:#8a5b00}.status-pill.danger{background:#fff0ed;color:#9c3f35}.table-empty{text-align:center;color:var(--muted);padding:35px!important}.pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.pagination a{color:var(--accent);font-weight:600}@media(max-width:1180px){.registry-heading{align-items:flex-start;flex-direction:column}.registry-filters{justify-content:flex-start}.registry-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.registry-metrics>div:nth-child(3){border-right:0}}@media(max-width:700px){.registry-heading{padding:20px}.registry-filters{width:100%}.registry-filters label,.registry-filters select,.registry-filters .button{width:100%}.registry-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.registry-metrics>div:nth-child(3){border-right:1px solid var(--line)}.registry-metrics>div:nth-child(even){border-right:0}}

.message-list{margin-bottom:20px}.message{padding:12px 15px;border:1px solid #cfe0d3;border-radius:9px;background:#edf7ef;color:#24563d;font-size:13px}.message.error{border-color:#efd1ca;background:#fff2f0;color:#913f32}.review-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.review-panel{overflow:visible}.review-list{border-top:1px solid var(--line)}.review-card{padding:25px;border-bottom:1px solid var(--line)}.review-card:last-child{border-bottom:0}.review-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.review-card-header small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.review-amount{font-size:19px;font-weight:600;white-space:nowrap}.review-rule{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0;color:var(--muted);font-size:12px}.status-pill.neutral{background:#edf0ec;color:#58675e}.review-current{margin:15px 0;padding:13px 15px;border:1px solid #cfe0d3;border-radius:9px;background:#f3f8f4}.review-current.stale{border-color:#ead29c;background:#fff9ec}.review-current strong,.review-current span{display:block}.review-current span{color:var(--muted);font-size:11px}.review-current p{margin:7px 0 0;color:#35483f;font-size:13px;white-space:pre-wrap}.review-current .review-warning,.review-source-warning{color:#8a5b00;font-weight:600}.review-source-warning{padding:12px 14px;border:1px solid #ead29c;border-radius:9px;background:#fff9ec;font-size:12px}.review-form fieldset{margin:0;padding:0;border:0}.review-form legend{margin-bottom:8px;color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.45px}.candidate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.candidate-card{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #dbe4dd;border-radius:9px;background:#fbfcfb;cursor:pointer}.candidate-card:has(input:checked){border-color:#6f9980;background:#f0f6f1}.candidate-card input{margin-top:4px;flex-shrink:0}.candidate-card span,.candidate-card small{display:block;min-width:0}.candidate-card strong{font-size:13px}.candidate-card small{margin-top:3px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.candidate-empty{grid-column:1/-1;margin:0;padding:14px;border:1px dashed #cbd8cf;border-radius:9px;font-size:12px}.review-note{display:flex;flex-direction:column;gap:6px;margin-top:14px;color:var(--muted);font-size:11px}.review-note textarea{width:100%;min-height:76px;resize:vertical;padding:10px 12px;border:1px solid #cbd8cf;border-radius:8px;background:#fff;color:#24362f;font:inherit}.review-actions{display:flex;align-items:center;gap:9px;margin-top:11px;flex-wrap:wrap}.plain-action{padding:10px 12px;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:13px}.empty-panel.compact{margin:20px;padding:30px}.empty-panel.compact h2{font-size:18px}.empty-panel.compact p{margin-bottom:0}@media(max-width:1100px){.review-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.candidate-list{grid-template-columns:1fr}}@media(max-width:700px){.review-metrics{grid-template-columns:1fr}.review-card{padding:20px}.review-card-header{flex-direction:column}.review-actions .button,.review-actions .plain-action{width:100%}}
.article-summary-table{min-width:760px}.article-parent-row td{border-top:1px solid #dce5df;background:#f5f8f5}.article-parent-row td:first-child{border-left:3px solid #789886}.article-subtotal-label{color:var(--muted);font-size:11px}.article-child-row td{background:#fcfdfc}.article-child-name{position:relative;padding-left:32px!important}.article-child-name:before{position:absolute;left:16px;color:#aebbb3;content:"↳"}.article-section-row td{padding-top:20px!important;padding-bottom:8px!important;background:#fff;color:#718077;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.45px}@media(max-width:700px){.article-summary-table{min-width:680px}}
.history-chart-card{margin:20px 0 0;padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}.history-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:12px}.history-chart-heading.compact{margin-bottom:20px}.history-chart-heading .eyebrow{margin-bottom:7px}.history-chart-heading h2{margin-bottom:5px}.history-chart-heading p:not(.eyebrow){max-width:680px;margin-bottom:0;font-size:12px}.history-chart-legend{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:11px;white-space:nowrap}.history-chart-legend span{display:inline-flex;align-items:center;gap:7px}.legend-swatch{display:inline-block;width:10px;height:10px;border-radius:3px}.legend-swatch.revenue{background:#2d7a5d}.legend-swatch.expense{background:#d99a62}.legend-swatch.outflow{background:#b95d52}.legend-line{display:inline-block;width:16px;height:0;border-top:2px solid #203c32}.history-chart-scroll{overflow-x:auto;margin:0 -4px;padding:0 4px}.history-money-chart{display:block;width:100%;min-width:760px;height:auto}.chart-grid-line{stroke:#e5ebe7;stroke-width:1}.chart-grid-line.zero{stroke:#aebbb3;stroke-width:1.2}.chart-axis-label,.chart-month-label{fill:#78877e;font:10px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.chart-bar.revenue{fill:#2d7a5d}.chart-bar.expense{fill:#d99a62}.chart-bar.outflow{fill:#b95d52}.chart-result-line{fill:none;stroke:#203c32;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.chart-result-point{fill:#fff;stroke:#203c32;stroke-width:2}.history-secondary-grid{display:grid;grid-template-columns:1fr;gap:20px}.history-secondary-grid.has-comparison{grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr)}.expense-structure{display:flex;flex-direction:column;gap:16px}.expense-structure-row{display:flex;flex-direction:column;gap:7px}.expense-structure-label{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:12px}.expense-structure-label span{min-width:0}.expense-structure-label strong{font-size:11px;font-weight:600;white-space:nowrap}.expense-structure-track{height:8px;overflow:hidden;border-radius:999px;background:#edf1ee}.expense-structure-track span{display:block;height:100%;border-radius:inherit;background:#4d806c}.expense-structure-row.reimbursement .expense-structure-track span{background:#d99a62}.expense-structure-total{display:flex;justify-content:space-between;gap:16px;margin:20px 0 0;padding-top:14px;border-top:1px solid #e9eeea;color:var(--muted);font-size:11px}.expense-structure-total strong{color:var(--ink)}.comparison-list{display:flex;flex-direction:column}.comparison-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;padding:12px 0;border-bottom:1px solid #e9eeea}.comparison-list>div:first-child{padding-top:0}.comparison-list>div:last-child{border-bottom:0}.comparison-list span{color:var(--muted);font-size:12px}.comparison-list strong{font-size:14px}.comparison-list small{grid-column:1/-1;color:#78877e;font-size:10px}.comparison-card .note{margin-top:14px}@media(max-width:900px){.history-secondary-grid.has-comparison{grid-template-columns:1fr}.history-chart-heading{flex-direction:column;gap:12px}.history-chart-legend{justify-content:flex-start}}@media(max-width:700px){.history-chart-card{padding:20px}.expense-structure-label{align-items:flex-start;flex-direction:column;gap:2px}}
.expense-structure-track span{min-width:4px}
.history-registry-intro{align-items:flex-start;padding-bottom:20px}.history-registry-intro>div{max-width:720px}.history-filter-bar{padding:16px 25px 18px;border-top:1px solid var(--line);background:#fbfcfb}.history-filters{display:grid;grid-template-columns:minmax(100px,.65fr) minmax(150px,1.2fr) minmax(135px,1.05fr) minmax(150px,1.2fr) minmax(150px,1.2fr) auto;align-items:end;justify-content:stretch;width:100%;gap:10px;flex-wrap:nowrap}.history-filters label{min-width:0}.history-filters select{width:100%;min-width:0;height:38px}.history-filters .button{height:38px;white-space:nowrap}.history-registry-note{margin:0;padding:14px 25px 16px}@media(max-width:1180px){.history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.history-filters .button{width:100%}}@media(max-width:700px){.history-filter-bar{padding:16px 20px 20px}.history-filters{grid-template-columns:1fr}.history-registry-note{padding:14px 20px 16px}}
