:root {
  color-scheme: light;
  --ink: #152c32;
  --muted: #586c70;
  --teal: #00516c;
  --deep: #102f37;
  --orange: #ff9700;
  --line: #d9e1dd;
  --paper: #f6f7f4;
  --white: #fff;
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .4; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, label:has(input:focus-visible) { outline: 3px solid #e38613; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 10; top: 8px; left: -60em; padding: 13px; background: white; }
.skip:focus { left: 8px; }
.application { display: grid; grid-template-columns: 218px minmax(0,1fr); min-height: 100vh; }
.rail { position: sticky; align-self: start; top: 0; display: flex; flex-direction: column; min-height: 100vh; height: 100dvh; overflow: auto; background: var(--deep); color: #eaf2ee; padding: 36px 20px 18px; }
.brand, .login-brand { display: inline-flex; align-items: center; gap: 12px; }
.brand { align-self: flex-start; margin: 0 0 52px 8px; }
.brand-symbol { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 39px; height: 39px; border-radius: 11px; background: var(--orange); flex: none; overflow: hidden; }
.brand-symbol i { display: block; height: 14px; width: 4px; transform: skew(-20deg); background: #132e35; border-radius: 2px; }
.brand-symbol i:nth-child(2) { height: 19px; }
.brand-symbol i:nth-child(3) { height: 24px; }
.brand-name { font-size: 24px; font-weight: 760; letter-spacing: -1.6px; line-height: .95; }
.brand-name > span { color: var(--orange); }
.brand-name small { display: block; padding-top: 5px; font-size: 10px; font-weight: 580; text-transform: uppercase; letter-spacing: 1.65px; }
.rail-content { display: flex; flex-direction: column; flex: 1; }
.rail-block { margin-bottom: 33px; }
.rail-label, .eyebrow { margin: 0 0 11px; font-size: 10px; font-weight: 730; line-height: 1.5; letter-spacing: 1.45px; text-transform: uppercase; }
.rail-label { color: #a4babb; margin-left: 10px; }
.workspace-switch { display: grid; gap: 4px; }
.workspace-switch button, .nav-link, .logout button { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; color: #d3e1de; background: transparent; text-align: left; border-radius: 8px; }
.workspace-switch button { padding: 8px 10px; font-size: 13px; font-weight: 560; min-height: 42px; }
.workspace-switch button:hover, .nav-link:hover, .logout button:hover { background: #21414a; color: white; }
.workspace-switch button[aria-pressed=true] { background: #24464d; color: white; }
.workspace-avatar { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: #f7d8a9; color: #48301c; font-weight: 700; font-size: 12px; }
.workspace-avatar.company { color: #bfe4e3; background: #35535a; }
.active-dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; }
[aria-pressed=true] .active-dot { background: #ffb13d; }
.nav-link { margin-bottom: 3px; padding: 11px 10px; font-size: 13px; font-weight: 520; min-height: 42px; }
.nav-link.active { color: #ffd18b; background: #1d3e45; }
.nav-glyph { width: 23px; text-align: center; font-size: 18px; line-height: 18px; }
.logout { margin-top: auto; padding-top: 15px; border-top: 1px solid #345159; }
.logout button { padding: 11px; font-size: 13px; }.logout button span { font-size: 17px; }
.menu-toggle { display: none; }
.application main { min-width: 0; }
.topbar { min-height: 64px; display: flex; gap: 15px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 clamp(22px,3.3vw,58px); background: #f9faf7; }
.breadcrumb { color: var(--muted); font-size: 12px; }
.breadcrumb span { color: #93a2a1; margin: 0 8px; }
.breadcrumb strong { font-weight: 600; color: var(--ink); }
.manage-link { display: inline-flex; gap: 7px; align-items: center; font-weight: 620; font-size: 12px; }
.manage-link span { font-size: 19px; }.manage-link:hover { text-decoration: underline; }
.page { max-width: 1470px; margin: 0 auto; padding: 32px clamp(22px,3.3vw,58px) 55px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.eyebrow { color: #47636b; }
.eyebrow > span { display: inline-block; margin-right: 5px; height: 7px; width: 7px; border-radius: 2px; transform: rotate(-8deg); background: #d87700; }
.page-head .eyebrow { margin-bottom: 6px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(32px,3.4vw,52px); letter-spacing: -.058em; line-height: 1.05; font-weight: 650; }
h2 { font-size: clamp(19px,1.65vw,25px); letter-spacing: -.05em; font-weight: 650; line-height: 1.12; }
.month-stepper { display: flex; flex: none; align-items: center; border: 1px solid #cad6d2; border-radius: 8px; background: white; min-height: 38px; }
.month-stepper button, .pagination button { width: 32px; height: 36px; border: 0; background: transparent; font-size: 21px; color: #496668; }
.month-stepper button:hover, .pagination button:hover { background: #eef3ef; border-radius: 7px; }
.month-stepper label { position: relative; text-align: center; min-width: 134px; padding: 7px 3px; font-size: 12px; font-weight: 620; cursor: pointer; }
.month-stepper input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.month-stepper input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.summary { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); margin-bottom: 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: white; }
.result { position: relative; display:flex; flex-direction:column; justify-content:center; isolation: isolate; padding: clamp(23px,2.3vw,36px); background: linear-gradient(109deg,#073f4c 0%,#105364 100%); color: white; overflow: hidden; }
.result::before, .result::after { content: ""; position: absolute; z-index:-1; border: 1px solid #ffffff0e; width: 185px; height: 185px; border-radius: 50%; right:-130px; top: -62px; }
.result::after { width: 220px; height:220px; right:-145px; top:-78px; }
.metric-label { display:flex; align-items:center; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.35; }
.result .metric-label { color: #e1edeb; }
.result-icon, .metric-icon { display: inline-grid; place-items:center; font-size: 16px; width: 24px; height: 24px; border-radius: 7px; font-weight: 590; line-height: 1; flex:none; }
.result-icon { color: #ffd49c; background: #376475; }
.hero-value { margin: 15px 0 19px; line-height: 1.02; letter-spacing: -.055em; font-size: clamp(30px,3.5vw,54px); font-weight: 600; overflow-wrap:anywhere; }
.hero-value.missing { font-size: clamp(28px,3vw,43px); color: #f0f5ef; }
.coverage { margin:0; display:flex; align-items:center; gap:7px; font-size: 11px; line-height:1.5; color:#dfebe9; }
.signal { flex:none; width:6px; height:6px; border-radius:50%; background:#ffc16c; }
.coverage.complete .signal { background:#98dab8; }
.metric-stack { display:grid; padding: 8px clamp(15px,2.3vw,32px); }
.metric { display: flex; align-items: center; justify-content:space-between; gap: 12px; min-height:49px; }
.metric + .metric { border-top:1px solid #e3e9e5; }
.metric strong { font-size: clamp(14px,1.5vw,23px); letter-spacing:-.045em; font-weight:650; text-align:right; }
.metric strong.missing { color:#697c7d; font-size:14px; font-weight:500; letter-spacing:-.01em; }
.pos-icon { color:#22765c; background:#e0f0e7; }.neg-icon { color:#9b5620; background:#faebd8; }.card-icon { color:#36677a; background:#e3edf1; }
.content-grid { display:grid; grid-template-columns:minmax(0,1.77fr) minmax(252px,1fr); gap:18px; align-items:start; }
.right-stack { display:grid; gap:18px; min-width:0; }
.panel { border:1px solid var(--line); border-radius:13px; background:white; min-width:0; }
.panel-head { display:flex; align-items:center; justify-content:space-between; gap: 8px; padding:21px 21px 0; }
.eyebrow.small { font-size:9px; line-height:1.35; letter-spacing:1.25px; margin:0 0 5px; }
.count { color:#527075; background:#eef3f1; font-size:11px; border-radius:20px; padding:5px 8px; }
.filters { display:flex; gap:7px; padding:17px 20px; }
.search, .filters select { border:1px solid var(--line); border-radius:7px; background: #fbfcfa; }
.search { display:flex; align-items:center; gap:8px; padding:0 10px; flex:1; min-width:0; }
.search input { border:0; outline:0; background:transparent; width:100%; min-width:0; height:34px; font-size:12px; }
.search:focus-within { outline:2px solid #5b8790; }.search input:focus { outline:0; }
.glass { width:12px; height:12px; border:1.35px solid #6a7c7f; border-radius:50%; position:relative; flex:none; }
.glass::after { content:""; position:absolute; background:#6a7c7f; width:5px; height:1.5px; transform: rotate(45deg); right:-4px; bottom:-2px; }
.filters select { width:114px; min-width:0; padding:0 5px; font-size:11px; color:#3b5156; }
.list-body { border-top:1px solid var(--line); }
.empty { display:flex; align-items:flex-start; gap:10px; flex-direction:column; padding:20px; color:var(--muted); line-height:1.5; }
.empty.large { align-items:center; text-align:center; padding:38px 21px 40px; }
.empty strong { display:block; color:#263f45; font-size:14px; font-weight:620; }
.empty p { max-width:290px; font-size:12px; margin:0; }
.empty.large p { margin-top:-4px; }
.empty a, .text-btn { display:inline-flex; align-items:center; justify-content:center; background:#e8f2ef; border:1px solid #cbdcd5; border-radius:7px; padding:7px 10px; color:#214c4c; font-size:12px; font-weight:620; }
.empty a:hover, .text-btn:hover { background:#dceae6; }
.empty-ledger { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:5px; width:34px; height:39px; border:1.5px solid #8ca5a1; border-radius:5px; padding:6px; transform: rotate(-5deg); margin: 0 0 5px; background:#f0f5f2; }
.empty-ledger i { width:100%; height:2px; border-radius:1px; background:#91ada3; }.empty-ledger i:last-child { width:65%; }
.round-icon, .circle-link { border:1px solid var(--line); height:29px; width:29px; border-radius:50%; display:grid; place-items:center; font-size:16px; color:#496166; }
.circle-link:hover { background:#edf3f0; }.round-icon { border:0; background:#f0f4f1; }
.waiting { color:var(--muted); padding:15px 21px; font-size:12px; }
.transactions { width:100%; border-collapse:collapse; table-layout:fixed; }
.transactions th { text-align:left; color:#5a7074; font-weight:550; font-size:10px; background:#f7f9f6; padding:9px 5px; }
.transactions td { font-size:12px; padding:11px 5px; border-top:1px solid #e8ece8; }
.transactions td:first-child,.transactions th:first-child { padding-left:20px; }
.transactions td:last-child,.transactions th:last-child { padding-right:20px; }
.transactions th:nth-child(1) { width:57%; }.transactions th:nth-child(2) { width:15%; }.transactions th:nth-child(3) { width:28%; text-align:right; }
.transactions td:last-child { text-align:right; font-weight:650; white-space:nowrap; }
.transactions td:nth-child(2) { color:var(--muted); font-size:11px; }
.transactions tr:hover td { background:#fafcf9; }
.row-detail { display:block; border:0; padding:0; background:transparent; text-align:left; width:100%; }
.row-detail strong,.row-detail small { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.row-detail strong { font-size:12px; font-weight:590; color:var(--ink); }.row-detail small { font-size:10px; color:var(--muted); margin-top:4px; }
.row-detail:hover strong { text-decoration:underline; }
.positive { color:#176b53; }.negative { color:#87451e; }.neutral { color:#425568; }
.pagination { display:flex; justify-content:space-between; align-items:center; padding:8px 16px 8px 20px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
.category-items,.source-items { list-style:none; padding:12px 20px 15px; margin:0; }
.category-items li { padding:9px 0; }.category-line,.source-line { display:flex; align-items:center; justify-content:space-between; gap:7px; }
.category-line { font-size:12px; }.category-line strong { font-size:11px; white-space:nowrap; }
.bar { height:5px; border-radius:3px; background:#edf1ec; overflow:hidden; margin-top:7px; }
.bar i { display:block; height:100%; background:#418288; border-radius:3px; }
.category-items li:nth-child(even) .bar i { background:#89a8a5; }
.source-items li { font-size:12px; padding:11px 0; }
.source-items li + li { border-top:1px solid #e3eae6; }
.source-items li small { display:block; color:var(--muted); font-size:10px; margin-top:4px; line-height:1.45; }
.source-name { font-weight:590; }
.state { display:inline-flex; align-items:center; gap:4px; font-size:10px; color:#546a70; white-space:nowrap; }.state::before { content:""; display:inline-block; width:5px; height:5px; border-radius:50%; background:#8e9c9e; }.state.synced::before { background:#1d8567; }.state.configured::before { background:#d99029; }.state.error::before { background:#bb5e36; }
.sync-btn { border:1px solid var(--line); background:#f7faf7; padding:4px 7px; font-size:10px; margin-top:6px; border-radius:5px; }
.history { margin-top:18px; }.chart-legend { display:flex; gap:12px; font-size:11px; color:var(--muted); }.chart-legend span::before { content:""; display:inline-block; height:7px; width:7px; border-radius:2px; margin-right:5px; background:#33746c; }.chart-legend span + span::before { background:#e0a061; }
.history-items { list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(115px,1fr)); gap:15px; padding:15px 21px 22px; margin:0; }.history-items li { min-width:0; }.history-items li > strong { display:block; font-size:11px; margin:0 0 8px; }.history-value { display:block; margin-top:4px; font-size:11px; color:var(--muted); }.history-items .bar { height:4px; margin:3px 0 7px; }.history-items .bar i { background:#33746c; }.history-items .bar:nth-of-type(2) i { background:#e0a061; }
.notice { margin:0 0 16px; padding:12px 15px; border:1px solid #e6c292; border-radius:7px; font-size:13px; background:#fff5e5; color:#744e20; line-height:1.5; }.notice button { margin-left:8px; border:0; background:none; color:inherit; text-decoration:underline; font-size:inherit; }
dialog { width:min(490px,calc(100% - 30px)); max-height:82dvh; padding:0; border:1px solid #c4d1cb; border-radius:14px; color:var(--ink); box-shadow:0 24px 80px #172f3755; }dialog::backdrop { background: #14282d75; }
.dialog-inner { padding:24px; }.dialog-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }.dialog-head button { border:1px solid var(--line); border-radius:50%; background:white; width:29px; height:29px; font-size:19px; }
#detail-title { margin-top:10px; line-height:1.2; }#detail-amount { font-size:28px; letter-spacing:-.05em; font-weight:650; margin:10px 0 19px; }
#detail-fields { margin:0; }#detail-fields > div,.share { display:flex; justify-content:space-between; align-items:baseline; gap:16px; font-size:12px; border-top:1px solid var(--line); padding:9px 0; }#detail-fields dt { color:var(--muted); }#detail-fields dd { margin:0; text-align:right; overflow-wrap:anywhere; }
#detail-shares h3 { font-size:14px; margin:17px 0 6px; }
.login-page { display:grid; place-items:center; min-height:100dvh; padding:18px; background:radial-gradient(ellipse at center top,#e1ece6,var(--paper) 67%); }
.login-card { width:min(100%,389px); border:1px solid var(--line); border-radius:18px; background:#fff; padding:32px; box-shadow:0 14px 40px #2942380c; }
.login-brand { margin-bottom:36px; }.login-card h1 { font-size:32px; }.login-card .eyebrow { margin-bottom:5px; }.login-card form { margin-top:22px; display:grid; }.login-card form label { font-size:12px; font-weight:600; margin:0 0 5px; }.login-card form input { width:100%; border:1px solid #c5d1ce; background:#fcfdfb; padding:10px 12px; border-radius:6px; margin-bottom:14px; }.login-card .primary { border:0; margin-top:5px; background:var(--deep); color:#fff; border-radius:7px; padding:11px 14px; font-weight:600; display:flex; justify-content:space-between; }.login-card .primary:hover { background:#1d4c57; }
@media(min-width:1600px) { .application { grid-template-columns:245px minmax(0,1fr); }.rail { padding-left:25px; padding-right:25px; } }
@media(max-width:1120px) { .application { grid-template-columns:184px minmax(0,1fr); }.rail { padding-left:13px; padding-right:13px; }.page { padding-right:20px; padding-left:20px; }.topbar { padding-left:20px; padding-right:20px; }.content-grid { grid-template-columns:minmax(0,1.5fr) minmax(235px,1fr); gap:12px; }.right-stack { gap:12px; }.panel-head { padding:17px 15px 0; }.filters { padding:14px; }.transactions td:first-child,.transactions th:first-child { padding-left:14px; }.transactions td:last-child,.transactions th:last-child { padding-right:14px; }.category-items,.source-items { padding-left:15px; padding-right:15px; } }
@media(max-width:900px) { .content-grid { grid-template-columns:1fr; }.right-stack { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }.topbar { min-height:54px; }.summary { grid-template-columns:1fr 1.2fr; }.metric-label { font-size:11px; }.empty.large { padding:24px 19px 27px; }.page-head { align-items:flex-end; }.month-stepper label { min-width:111px; font-size:11px; }.month-stepper button { width:25px; } }
@media(max-width:700px) { .application { display:block; }.rail { position:relative; min-height:0; height:auto; padding:10px 17px; display:grid; grid-template-columns:1fr auto; align-items:center; overflow:visible; }.brand { margin:0; gap:8px; }.brand-symbol { width:30px; height:30px; border-radius:8px; gap:2px; }.brand-symbol i { width:3px; height:10px; }.brand-symbol i:nth-child(2) { height:15px; }.brand-symbol i:nth-child(3) { height:19px; }.brand-name { font-size:20px; }.brand-name small { padding-top:3px; font-size:8px; letter-spacing:1.1px; }.menu-toggle { display:block; background:#22434a; color:white; border:1px solid #3e5a5e; border-radius:6px; padding:6px 9px; font-size:12px; }.menu-toggle span { padding-left:5px; }.rail-content { grid-column:1/-1; display:none; }.rail-content.open { display:block; padding:16px 0 1px; }.rail-block { margin-bottom:12px; }.rail-label { margin-left:0; margin-bottom:5px; }.workspace-switch { grid-template-columns:repeat(2,1fr); }.nav-block nav { display:grid; grid-template-columns:repeat(2,1fr); gap:4px; }.logout { padding-top:5px; }.topbar { padding:0 16px; min-height:42px; }.manage-link,.breadcrumb { font-size:11px; }.manage-link span { font-size:15px; }.page { padding:23px 15px 34px; }.page-head { margin-bottom:17px; gap:10px; flex-wrap:wrap; }.summary { margin-bottom:13px; }.result { padding:20px 15px; }.result .metric-label { gap:5px; }.hero-value { font-size:31px; }.hero-value.missing { font-size:26px; }.coverage { font-size:10px; }.metric-stack { padding:5px 12px; }.metric { min-height:46px; gap:7px; }.metric-icon { width:19px; height:19px; font-size:14px; }.metric-label { gap:5px; font-size:10px; }.metric strong.missing { font-size:11px; }.content-grid { gap:13px; }.right-stack { gap:12px; }.history-items { grid-template-columns:repeat(3,minmax(0,1fr)); }.page-head .eyebrow { font-size:9px; } }
@media(max-width:510px) { h1 { font-size:33px; }.page-head { align-items:flex-start; flex-direction:column; gap:14px; }.month-stepper label { min-width:130px; }.month-stepper { min-height:33px; }.month-stepper button { height:32px; width:28px; }.summary { grid-template-columns:1fr; }.result { min-height:126px; padding:17px 19px; }.hero-value { margin:7px 0 10px; font-size:35px; }.hero-value.missing { font-size:30px; }.result .metric-label { font-size:12px; }.metric-stack { padding:2px 16px; }.metric { min-height:39px; }.metric-label { font-size:11px; }.metric strong { font-size:15px; }.metric strong.missing { font-size:12px; }.right-stack { grid-template-columns:1fr; }.transactions th:nth-child(1) { width:52%; }.transactions th:nth-child(2) { width:16%; }.transactions th:nth-child(3) { width:32%; }.transactions td:last-child { font-size:11px; }.filters { gap:5px; }.filters select { width:103px; font-size:10px; }.chart-legend { font-size:9px; gap:6px; }.login-card { padding:25px; } }
@media(prefers-reduced-motion:no-preference) { html { scroll-behavior:smooth; } }
@media print { .application { display:block; }.rail,.topbar,.filters,.month-stepper button,.sync-btn,.circle-link,.pagination { display:none; }.page { padding:0; }.result { print-color-adjust:exact; }.panel,.summary { break-inside:avoid; } }
.balances { margin-top:18px; }.balance-total { color:#315952; background:#eef4ef; border-radius:6px; font-size:11px; font-weight:600; padding:7px 10px; text-align:right; }.balance-items { list-style:none; padding:13px 21px 18px; margin:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); gap:9px; }.balance-items li { border:1px solid var(--line); padding:12px; border-radius:7px; min-width:0; }.balance-items strong,.balance-items span,.balance-items small { display:block; }.balance-items strong { font-size:12px; }.balance-items span { font-size:18px; font-weight:620; margin:7px 0; letter-spacing:-.04em; }.balance-items small { font-size:10px; color:var(--muted); }
.category-switch { display:inline-flex; align-items:center; gap:1px; margin:13px 20px 0; padding:2px; border:1px solid #d6dfd9; border-radius:6px; background:#f2f6f2; }.category-switch button { border:0; background:transparent; color:#4e6468; border-radius:4px; font-size:10px; padding:4px 10px; }.category-switch button[aria-pressed=true] { background:white; color:#22464d; box-shadow:0 1px 3px #10323c20; font-weight:650; }.category-switch + div .empty { padding-top:14px; }
