:root {
  color-scheme: light;
  --canvas:#f4f5f0;
  --paper:#fff;
  --ink:#1b2c26;
  --muted:#54685e;
  --line:#e2e8e0;
  --green:#215d49;
  --green-dark:#183d31;
  --leaf:#d5e8a9;
  --radius:18px;
  font: 15px/1.48 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color:var(--ink);
  background:var(--canvas);
}
* { box-sizing:border-box; }
body { margin:0; }
button, input, select { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.55; }
button, a, input, select { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible { outline:3px solid #6da389; outline-offset:3px; }
a { color:var(--green); }
h1,h2,p,dl,dd { margin:0; }
h1,h2,strong { line-height:1.16; }
small { font-size:.84em; }
[hidden] { display:none!important; }
.definitions { position:absolute; width:0; height:0; overflow:hidden; }
.icon { width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.muted { color:var(--muted); }
.negative { color:#a72d27!important; }
.positive { color:#23654e; }
.eyebrow { color:#497262; font-weight:750; font-size:10.5px; letter-spacing:.135em; }
.brand { display:inline-flex; align-items:center; gap:9px; color:var(--ink); font-size:21px; font-weight:800; letter-spacing:-.065em; white-space:nowrap; }
.brand-accent { color:var(--green); }
.brand-mark { display:inline-grid; place-items:center; background:#245d49; color:#e8f4cf; width:36px; height:36px; border-radius:11px; }
.brand-mark svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.primary,.secondary,.danger,.danger-text,.text-button,.icon-button,.brand-button,.month-label {
  border:0; display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:10px;
}
.primary,.secondary,.danger,.danger-text { min-height:44px; padding:0 15px; font-weight:690; }
.primary { background:var(--green); color:#fff; }
.primary:hover { background:#184d3b; }
.secondary { background:white; color:var(--green); border:1px solid #dce5da; }
.secondary:hover { background:#f5f8f3; }
.danger { background:#9f332c; color:white; }
.danger-text { color:#9f332c; background:transparent; padding-left:0; }
.text-button { min-height:36px; color:var(--green); background:none; font-weight:720; padding:0; text-align:left; }
.text-button:hover { text-decoration:underline; }
.text-button .icon { width:16px; height:16px; }
.icon-button { width:38px; height:38px; color:#52675c; background:transparent; }
.icon-button:hover { background:#edf2ec; color:var(--green); }
.brand-button { background:none; padding:0; width:max-content; }
.wide { width:100%; }
.loading { min-height:100dvh; display:grid; place-content:center; justify-items:center; gap:12px; color:var(--muted); }
.auth-page { display:grid; grid-template-columns:1.03fr 1fr; min-height:100dvh; }
.auth-story {
  position:relative; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden;
  background:radial-gradient(ellipse at 86% 74%,#3d7055 0%,#224c3d 36%,#163b2f 73%);
  padding:clamp(26px,5vw,72px); color:#fff;
}
.auth-story:after { content:""; width:490px; aspect-ratio:1; position:absolute; border:1px solid #edfbd01f; border-radius:50%; bottom:-220px; right:-120px; box-shadow:0 0 0 42px #edfbd011, 0 0 0 84px #edfbd00b, 0 0 0 125px #edfbd008; pointer-events:none; }
.auth-top,.auth-copy,.auth-foot { position:relative; z-index:1; }
.auth-top { display:flex; align-items:center; gap:15px; justify-content:space-between; }
.auth-story .brand,.auth-story .brand-accent { color:white; }
.auth-story .brand-mark { background:#d6e8b4; color:var(--green-dark); }
.auth-copy { margin:64px 0; }
.auth-copy .eyebrow { color:#d9ebb9; }
.auth-copy h1 { font-size:clamp(42px,5.7vw,84px); line-height:.99; font-weight:760; letter-spacing:-.077em; margin:15px 0 19px; }
.auth-copy p { max-width:385px; color:#deebe0; font-size:16px; }
.auth-example { margin-top:34px; width:min(100%,360px); display:flex; align-items:center; gap:13px; padding:14px; border:1px solid #dff0d33d; border-radius:15px; background:#f2ffe51a; }
.example-icon { display:grid; place-items:center; width:39px; height:39px; border-radius:11px; background:#d4e8ad; color:#21533f; flex:none; }
.auth-example > span:nth-child(2) { flex:1; min-width:0; }
.auth-example small,.auth-example strong { display:block; }
.auth-example small { color:#dbe8d8; margin-bottom:5px; }
.auth-example strong { font-size:22px; letter-spacing:-.04em; }
.auth-example > svg { color:#c4df99; width:70px; flex:none; }
.auth-foot { display:flex; align-items:center; gap:8px; color:#dae8d6; font-size:13px; }
.auth-foot .icon { width:15px; height:15px; }
.auth-area { display:grid; place-items:center; padding:34px 24px; }
.auth-panel { width:min(100%,430px); padding:30px; background:var(--paper); border:1px solid var(--line); border-radius:24px; box-shadow:0 9px 36px #2942350a; }
.auth-panel h2 { margin:7px 0; font-size:33px; letter-spacing:-.055em; }
.auth-panel form { margin-top:25px; }
.auth-panel .primary { justify-content:space-between; margin-top:3px; }
.auth-mini { display:none; }
.auth-switch { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:12px; color:var(--muted); font-size:13px; }
.auth-hint { margin-top:-10px; }
.demo-link { border-top:1px solid var(--line); padding-top:16px; margin-top:12px; text-align:center; }
.demo-link small { display:block; margin-top:7px; }
.stack { display:grid; gap:15px; }
label { display:grid; gap:6px; min-width:0; font-weight:650; font-size:13px; }
label small { font-weight:450; }
input,select { display:block; width:100%; min-width:0; min-height:44px; padding:8px 11px; border:1px solid #dbe3d9; border-radius:9px; color:var(--ink); background:#fcfdfa; font-size:16px; }
input:focus,select:focus { outline:2px solid #73a48d; outline-offset:1px; }
input::placeholder { color:#6b7f73; opacity:1; }
.with-unit { display:flex; align-items:center; position:relative; }
.with-unit input { padding-right:52px; }
.with-unit > span { position:absolute; right:11px; color:var(--muted); font-size:12px; pointer-events:none; }
.form-error { color:#922c25; padding:10px 12px; border-radius:9px; background:#fff0eb; font-size:13px; }
.shell { display:grid; grid-template-columns:225px minmax(0,1fr); min-height:100dvh; }
.sidebar { display:flex; flex-direction:column; position:sticky; top:0; align-self:start; height:100dvh; padding:25px 17px; background:var(--paper); border-right:1px solid var(--line); }
.sidebar .brand-button { margin:0 0 46px 7px; }
.nav-caption { padding-left:11px; margin-bottom:10px; color:#66786e; font-weight:720; font-size:10px; letter-spacing:.11em; }
.sidebar nav { display:grid; gap:5px; }
.nav-button { display:flex; justify-content:flex-start; align-items:center; gap:10px; width:100%; min-height:44px; border:0; border-radius:10px; padding:0 11px; color:#52675c; background:transparent; font-weight:650; text-align:left; }
.nav-button:hover { background:#f2f5f0; }
.nav-button.active { background:#e6f0e8; color:#235a45; }
.nav-button .icon { width:19px; height:19px; }
.sidebar-foot { margin-top:auto; display:flex; gap:8px; align-items:center; border-top:1px solid var(--line); padding:16px 2px 0; }
.sidebar-foot strong,.sidebar-foot small { display:block; }
.sidebar-foot strong { font-size:13px; }
.sidebar-foot small { color:var(--muted); font-size:11px; margin-top:3px; }
.workspace { min-width:0; }
.topbar { height:65px; display:flex; justify-content:space-between; align-items:center; gap:10px; padding:0 clamp(18px,4vw,45px); background:var(--paper); border-bottom:1px solid var(--line); }
.top-label { color:#596e63; font-size:13px; }
.account { display:flex; align-items:center; gap:8px; min-width:0; }
.account strong { font-size:13px; max-width:130px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.avatar { display:grid; place-items:center; width:31px; height:31px; border-radius:50%; background:#dfeee2; color:#275b48; font-weight:750; font-size:12px; flex:none; }
.logout { margin-left:3px; }
.mobile-brand,.mobile-nav { display:none; }
.main { max-width:1390px; margin:auto; padding:28px clamp(18px,4vw,45px) 40px; }
.demo-banner { display:flex; gap:5px 13px; justify-content:space-between; flex-wrap:wrap; align-items:center; padding:3px 12px 3px 13px; margin-bottom:18px; border:1px solid #dce7cc; border-radius:10px; background:#edf3e3; color:#49634c; font-size:12px; }
.demo-banner .text-button { min-height:29px; }
.screen-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:14px; margin-bottom:20px; }
.screen-heading h1 { font-size:clamp(30px,3.3vw,45px); letter-spacing:-.064em; margin:5px 0 6px; }
.screen-heading p { font-size:14px; }
.heading-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.month-picker { display:flex; align-items:center; gap:1px; min-height:44px; border:1px solid var(--line); border-radius:10px; padding:2px; background:var(--paper); }
.month-picker .icon-button { width:35px; height:36px; }
.month-picker .icon-button .icon { width:16px; height:16px; }
.month-label { color:#344b40; background:none; padding:0 3px; min-height:36px; font-size:13px; font-weight:700; text-transform:capitalize; }
.month-label .icon { width:16px; height:16px; }
.hero { position:relative; display:flex; justify-content:space-between; align-items:flex-end; min-height:168px; gap:14px; overflow:hidden; padding:23px 25px; color:#f8fff5; border-radius:var(--radius); background:linear-gradient(108deg,#1a4436,#25624b 70%,#2d6e55); }
.hero-risk { background:linear-gradient(108deg,#4f322e,#78493f); }
.hero-copy,.opening { position:relative; z-index:1; }
.hero-kicker { display:flex; align-items:center; gap:8px; color:#d3e9d7; font-size:10.5px; font-weight:750; letter-spacing:.1em; }
.hero-kicker .icon { width:17px; height:17px; }
.hero-copy > strong { display:block; font-size:clamp(31px,5vw,57px); line-height:1.14; letter-spacing:-.065em; margin:5px 0 11px; }
.hero-status { display:inline-flex; align-items:center; gap:6px; color:#eff8df; background:#f0ffe327; padding:5px 9px; border-radius:999px; font-size:11px; font-weight:650; }
.hero-status .icon { width:14px; height:14px; }
.hero-warning { color:#fff0d5; background:#96624585; }
.hero-art { position:absolute; inset:0 0 0 auto; width:48%; height:100%; color:#bce1ac58; }
.opening { color:#e4efdd; font-size:11px; font-weight:650; text-align:right; white-space:nowrap; }
.opening button { display:flex; gap:7px; align-items:center; justify-content:flex-end; width:100%; min-height:39px; padding:0 9px; margin-top:3px; border:1px solid #e8ffdf35; border-radius:8px; color:white; background:#123f2e67; font-size:14px; font-weight:700; }
.opening button:hover { background:#0e3328c0; }
.opening .icon { width:13px; height:13px; }
.stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin:14px 0; }
.stat { min-width:0; display:grid; justify-items:start; gap:5px; background:var(--paper); border:1px solid var(--line); border-radius:15px; padding:13px 16px; }
.badge { display:inline-grid; place-items:center; flex:none; width:36px; height:36px; border-radius:10px; color:#486759; background:#edf3ed; }
.badge .icon { width:17px; height:17px; }
.badge.income { color:#267254; background:#e4f2e9; }
.badge.expense { color:#855744; background:#f7ece4; }
.badge.credit { color:#7c5b24; background:#f5eedc; }
.badge.risk { color:#a4352d; background:#fdebe7; }
.stat-label { color:#4a6055; font-size:12px; font-weight:650; }
.stat strong { font-size:clamp(17px,2.5vw,29px); letter-spacing:-.045em; overflow-wrap:anywhere; }
.stat-foot { font-size:11px; }
.panel { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:17px; min-width:0; }
.chart-layout { display:grid; grid-template-columns:1.65fr 1fr; gap:13px; }
.panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:13px; }
.panel h2 { font-size:17px; letter-spacing:-.027em; }
.panel-head p { color:var(--muted); font-size:12px; margin-top:5px; }
.pill { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; color:#35644f; background:#eaf3e9; border-radius:999px; padding:4px 9px; font-weight:680; font-size:11px; }
.dark-pill { background:#e0f3d521; color:#e9f4e1; }
.dot { display:inline-block; width:8px; height:8px; flex:none; border-radius:50%; background:#3f896f; }
.dot.amber { background:#d4a452; }
.forecast-chart { width:100%; display:block; max-height:190px; overflow:visible; }
.forecast-chart text { font-size:13px; fill:#64786d; }
.gridline { stroke:#e5eae4; stroke-width:1; }
.zero-line { stroke:#b15c52; stroke-dasharray:4 4; }
.chart-line { fill:none; stroke:#2b765b; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.chart-dot { fill:#2b765b; stroke:white; stroke-width:1.6; }
.chart-note { display:flex; justify-content:space-between; gap:5px; padding-top:8px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); }
.chart-note strong { color:var(--ink); }
.spending-panel { display:flex; flex-direction:column; }
.spending-body { flex:1; display:grid; align-items:center; justify-items:center; grid-template-columns:1fr 1.1fr; gap:12px; padding:0 0 7px; }
.ring { position:relative; display:grid; place-items:center; width:100%; max-width:114px; }
.ring svg { display:block; width:100%; }
.ring span { position:absolute; display:grid; justify-items:center; gap:3px; }
.ring small { color:var(--muted); font-size:8px; letter-spacing:.08em; font-weight:730; }
.ring strong { font-size:14px; letter-spacing:-.04em; }
.legend { display:grid; gap:9px; width:100%; }
.legend div { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:1px 6px; color:var(--muted); font-size:11px; }
.legend strong { grid-column:2; color:var(--ink); font-size:13px; white-space:nowrap; }
.loan-shortcut { justify-content:space-between; border-top:1px solid var(--line); border-radius:0; font-size:12px; margin-top:3px; min-height:33px; }
.operations { margin-top:14px; }
.all-entries { margin-top:0; }
.operations .panel-head { align-items:center; }
.operations .panel-head .text-button { white-space:nowrap; font-size:12px; }
.entry-list { list-style:none; padding:0; margin:0; }
.entry-row { display:flex; align-items:center; gap:10px; padding:9px 0; border-top:1px solid var(--line); }
.entry-name { flex:1; min-width:0; overflow-wrap:anywhere; }
.entry-name strong,.entry-name span { display:block; }
.entry-name strong { font-size:14px; }
.entry-name span { color:var(--muted); font-size:11px; margin-top:3px; }
.entry-amount { white-space:nowrap; font-size:14px; }
.edit-button { width:33px; height:38px; }
.edit-button .icon { width:16px; height:16px; }
.empty { display:grid; justify-items:center; text-align:center; gap:12px; padding:22px 8px 12px; color:var(--muted); border-top:1px solid var(--line); }
.filters { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.filters button { min-height:38px; border:1px solid var(--line); border-radius:999px; background:white; color:var(--muted); padding:0 12px; font-size:12px; font-weight:650; }
.filters button.selected { background:#e5f1e6; color:#285e48; border-color:#c8dfcc; }
.loan-layout { display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start; }
.loan-form-panel form { margin-top:20px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.payment { display:grid; gap:4px; background:#e7f1e8; color:var(--green-dark); border-radius:13px; padding:14px; }
.payment > span { color:#4a6757; font-size:11px; font-weight:650; }
.payment strong { font-size:clamp(23px,4vw,37px); letter-spacing:-.055em; }
.payment small { font-size:13px; letter-spacing:0; font-weight:600; }
.verdict { display:flex; gap:8px; padding:12px; border-radius:11px; margin:12px 0 4px; }
.verdict p { margin-top:4px; font-size:12px; }
.good { color:#245c46; background:#eaf5e7; }
.caution { color:#794a1a; background:#fff2db; }
.results > div { display:flex; gap:10px; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--line); font-size:13px; }
.results > div:last-child { border-bottom:0; padding-bottom:0; }
.results dt { color:var(--muted); }
.results dd { font-weight:750; text-align:right; white-space:nowrap; }
.simulation-note { padding:10px 4px 0; font-size:12px; }
dialog { width:min(calc(100% - 30px),480px); max-height:calc(100dvh - 32px); border:1px solid var(--line); border-radius:18px; color:var(--ink); padding:18px; background:white; box-shadow:0 15px 70px #152e2b4d; }
dialog::backdrop { background:#152e2b70; }
.dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:14px; }
.dialog-heading h2 { font-size:21px; letter-spacing:-.04em; }
.dialog-actions { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:8px; }
.end-field { margin:12px 0 5px; }
.field-hint { font-size:12px; margin-top:-7px; }
.toast { position:fixed; bottom:18px; right:18px; z-index:3; max-width:calc(100% - 36px); padding:10px 14px; border-radius:11px; background:#234b3d; color:white; box-shadow:0 7px 25px #152e2b33; }
@media(max-width:1100px) {
  .shell { grid-template-columns:180px minmax(0,1fr); }
  .sidebar { padding-left:11px; padding-right:11px; }
}
@media(max-width:800px) {
  .shell { display:block; }
  .sidebar,.top-label { display:none; }
  .mobile-brand { display:block; }
  .topbar { height:57px; padding:0 13px; }
  .mobile-nav { position:fixed; z-index:2; inset:auto 0 0; display:grid; grid-template-columns:repeat(3,1fr); padding:4px 8px max(5px,env(safe-area-inset-bottom)); background:#fff; border-top:1px solid var(--line); }
  .mobile-nav .nav-button { min-height:48px; justify-content:center; flex-direction:column; gap:2px; padding:4px 0; font-size:11px; text-align:center; }
  .main { padding:19px 13px calc(84px + env(safe-area-inset-bottom)); }
  .toast { bottom:calc(65px + env(safe-area-inset-bottom)); }
}
@media(max-width:650px) {
  .auth-page { display:block; padding:14px; min-height:100dvh; }
  .auth-story { display:none; }
  .auth-area { min-height:calc(100dvh - 28px); padding:0; }
  .auth-panel { padding:22px; }
  .auth-mini { display:block; margin-bottom:24px; }
  .chart-layout,.loan-layout { grid-template-columns:1fr; }
  .hero { min-height:143px; padding:15px; }
  .hero-art { width:63%; opacity:.7; }
  .spending-body { grid-template-columns:120px 1fr; justify-items:start; }
  .legend { max-width:200px; }
  .legend div { grid-template-columns:auto 1fr auto; }
  .legend strong { grid-column:auto; }
  .demo-banner { gap:2px 8px; }
  .demo-banner .text-button { font-size:12px; }
}
@media(max-width:420px) {
  .account strong,.full-add { display:none; }
  .heading-actions { gap:7px; }
  .screen-heading { margin-bottom:15px; }
  .screen-heading p { font-size:13px; }
  .stats { gap:5px; margin:10px 0; }
  .stat { padding:8px 7px; border-radius:12px; }
  .stat .badge { width:30px; height:30px; }
  .stat-label { font-size:11px; }
  .stat-foot { font-size:9.5px; }
  .hero-kicker { font-size:9px; letter-spacing:.07em; }
  .hero { padding:13px; gap:6px; }
  .hero-status { font-size:10px; }
  .opening { font-size:10px; }
  .opening button { font-size:12px; }
  .panel { padding:12px; }
  .entry-row { gap:7px; }
  .entry-amount { font-size:12px; }
}
@media(max-width:340px) {
  .hero { align-items:flex-start; flex-direction:column; }
  .opening { text-align:left; }
  .opening button { justify-content:flex-start; }
}

.view-tools { margin:0 0 13px; display:flex; justify-content:flex-start; }
.view-tools label { display:flex; align-items:center; gap:10px; color:var(--muted); }
.view-tools select { width:min(250px,55vw); background:white; }
.bank-toolbar { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:12px; padding:13px 15px; margin-bottom:13px; background:#e7f1e8; border:1px solid #d5e7d8; border-radius:14px; }
.bank-toolbar > div:first-child { display:grid; gap:4px; }
.bank-toolbar strong { font-size:23px; letter-spacing:-.035em; }
.bank-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr)); gap:13px; }
.bank-card .panel-head { justify-content:flex-start; align-items:center; }
.bank-card .panel-head h2 { flex:1; overflow-wrap:anywhere; }
.bank-card .panel-head button { flex:none; }
.bank-figures { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:12px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.bank-figures > div { min-width:0; display:grid; gap:4px; align-content:start; }
.bank-figures span,.bank-figures small { color:var(--muted); font-size:12px; }
.bank-figures strong { font-size:clamp(18px,3vw,25px); letter-spacing:-.045em; overflow-wrap:anywhere; }
.bank-actions { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; padding-top:12px; }
.bank-actions .text-button { font-size:12px; }
.bank-note { margin-top:12px; font-size:12px; }
.badge.transfer { color:#366b78; background:#e5f0f3; }
.hero-copy { min-width:0; }
.hero-status { max-width:100%; overflow-wrap:anywhere; }
@media(max-width:800px) {
  .mobile-nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:420px) {
  .bank-toolbar .heading-actions .primary,.bank-toolbar .heading-actions .secondary { padding:0 9px; font-size:12px; gap:5px; }
  .bank-toolbar .heading-actions .icon { width:16px; height:16px; }
  .bank-toolbar .heading-actions { gap:6px; }
  .view-tools label { font-size:12px; }
  .view-tools select { font-size:16px; }
}

.opening-replacement { display:flex; align-items:flex-start; gap:8px; padding:10px; border:1px solid var(--line); border-radius:10px; }
.opening-replacement input { flex:none; width:17px; min-height:17px; height:17px; margin:2px 0 0; accent-color:var(--green); }
.opening-replacement small { display:block; margin-top:4px; }

.balance-detail-link { font-size:12px; margin-top:5px; }
.balance-detail { display:grid; gap:14px; }
.balance-formula { border:1px solid var(--line); border-radius:12px; padding:0 12px 10px; }
.balance-formula .balance-formula-total { font-weight:700; }
.balance-formula-total dt { color:var(--ink); }
.ledger-section { display:grid; gap:9px; }
.ledger-section h3 { margin:0; font-size:16px; }
.ledger-opening,.ledger-empty { font-size:12px; }
.balance-ledger,.ledger-lines { list-style:none; padding:0; margin:0; }
.ledger-day { margin-bottom:8px; }
.ledger-day-heading { display:flex; flex-wrap:wrap; justify-content:space-between; gap:3px 8px; padding:7px 8px; border-radius:7px; background:#edf3ed; font-size:11px; color:var(--muted); }
.ledger-day-heading time,.ledger-day-heading strong { color:var(--ink); font-weight:700; }
.ledger-lines li { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px; border-bottom:1px solid var(--line); font-size:13px; }
.ledger-lines li > strong { white-space:nowrap; }
.ledger-lines li > div { min-width:0; overflow-wrap:anywhere; }
.ledger-lines small { display:block; color:var(--muted); margin-top:2px; }
