/* Connect. Simple, calm, phone first. Lexend Deca headings, Open Sans body. */
:root {
  --bg: #f3f3f1; --card: #ffffff; --ink: #2b2a28; --ink2: #4a4844; --muted: #8c8981; --line: #e7e5e0; --soft: #f6f5f2;
  --yellow: #ebbd06; --ok: #1e8e4e; --ok-bg: #e6f4ec; --bad: #c8382f; --bad-bg: #fbeae8; --warn: #a96b00; --warn-bg: #fdf3dc;
  --r: 16px; --r-sm: 11px; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  --head: 'Lexend Deca', system-ui, sans-serif; --body: 'Open Sans', system-ui, sans-serif;
  --tab-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.2; }
h1 { font-size: 26px; } h2 { font-size: 18px; } h3 { font-size: 15px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
svg { flex: none; }

/* Shell */
.shell { display: flex; min-height: 100vh; }
.rail { display: none; }
main { flex: 1; min-width: 0; padding-bottom: calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
.page { max-width: 680px; margin: 0 auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.page.wide-page { max-width: 1180px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { flex: 1; height: var(--tab-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; }
.tabbar a.on { color: var(--ink); }
.devonly { background: var(--warn-bg); color: var(--warn); font-size: 12px; text-align: center; padding: 5px 12px; font-weight: 600; }
.viewing { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 8px 12px; position: sticky; top: 0; z-index: 60; }
.viewing button { margin-left: 8px; background: var(--yellow); border: 0; border-radius: 99px; padding: 3px 10px; font-weight: 700; cursor: pointer; color: var(--ink); }
@media (min-width: 900px) {
  .tabbar { display: none; }
  main { padding-bottom: 40px; }
  .rail { display: flex; flex-direction: column; gap: 4px; width: 220px; padding: 20px 12px; position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); background: var(--card); }
  .rail .mark { display: flex; align-items: center; gap: 8px; padding: 4px 12px 18px; text-decoration: none; font-family: var(--head); font-size: 20px; }
  .rail a:not(.mark) { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--ink2); font-weight: 600; }
  .rail a.on { background: var(--soft); color: var(--ink); }
  .rail a:not(.mark):hover { background: var(--soft); }
  .page { padding: 28px 24px; }
  h1 { font-size: 30px; }
}

/* Cards + rows */
.card { background: var(--card); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card h3 { margin-bottom: 8px; }
.pad { padding: 16px; }
.row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; text-decoration: none; min-height: 60px; }
.card.flush .row + .row, .list .row + .row { border-top: 1px solid var(--line); }
a.row:hover, .row a.grow:hover { background: var(--soft); }
.row .t { font-weight: 600; display: block; text-decoration: none; } .row .s { color: var(--muted); font-size: 13px; }
.row .ic { color: var(--muted); display: flex; }
.grow { flex: 1; min-width: 0; text-decoration: none; }
.grow .t, .grow .s { overflow: hidden; text-overflow: ellipsis; }
.stage-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 8px; }
.stage-h.nopad { padding: 0 0 10px; }
.stage-h h3 { margin: 0; }
.sec-h { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.pagehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.crumb { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; margin-left: -4px; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }
.empty .btn { margin-top: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1.5px solid transparent; background: var(--soft); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .06s ease, background .15s; }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #000; }
.btn.yes { background: var(--ok); color: #fff; }
.btn.no { background: var(--bad); color: #fff; }
.btn.line { background: var(--card); border-color: var(--line); }
.btn.line:hover { border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn.big-btn { min-height: 56px; font-size: 16px; border-radius: 14px; }
.btn:disabled { opacity: .5; }
.link { background: none; border: 0; color: var(--ink); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; padding: 6px 0; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); border: 0; cursor: pointer; text-decoration: none; flex: none; }
.icon-btn.light { background: rgba(255,255,255,.15); color: #fff; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.acts .btn { flex: 1 1 0; }
.acts.col { flex-direction: column; }
.acts.big .btn { min-height: 52px; }
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--soft); color: var(--ink2); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.bad { background: var(--bad-bg); color: var(--bad); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.dark { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll, .stages.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.stages.scroll { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.chip i { font-style: normal; color: var(--muted); font-weight: 700; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; } .chip.on i { color: #cfccc4; }
.chip.check input { accent-color: var(--ink); margin: 0; }
.chip.check:has(input:checked) { border-color: var(--ink); background: var(--soft); }

/* Today */
.hello h1 { font-size: 30px; }
.lead-in { font-size: 16px; color: var(--ink2); margin: 4px 0 0; }
.map-card { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #e9e7e2; }
.minimap { height: 200px; }
.map-open { position: absolute; right: 10px; top: 10px; z-index: 500; background: #fff; border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 13px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; box-shadow: var(--shadow); }
.bigmap { height: calc(100vh - 200px); min-height: 380px; border-radius: var(--r); overflow: hidden; }
.pin { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 26px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 12px var(--body); box-shadow: 0 2px 6px rgba(0,0,0,.25); border: 2px solid #fff; }
.pin.hot { background: var(--bad); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.q { background: var(--card); border-radius: var(--r); padding: 12px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); min-width: 0; }
.q b { font-family: var(--head); font-weight: 600; font-size: 17px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q span { font-size: 12px; color: var(--muted); }
.q.hot { color: var(--bad); }
@media (max-width: 520px) { .quick { grid-template-columns: repeat(2, 1fr); } }

/* Feed cards */
.feed { display: flex; flex-direction: column; gap: 12px; border-left: 4px solid transparent; }
.feed.u3 { border-left-color: var(--bad); } .feed.u2 { border-left-color: var(--yellow); }
.feed-top { display: flex; gap: 12px; align-items: flex-start; }
.feed .t { font-weight: 700; font-size: 16px; line-height: 1.3; }
.feed .s { color: var(--ink2); font-size: 14px; margin-top: 2px; }
.feed .ctx { display: inline-block; color: var(--muted); font-size: 13px; margin-top: 4px; text-decoration: none; font-weight: 600; }
.feed .ctx:hover { color: var(--ink); }
.feed .due { font-size: 12px; font-weight: 700; color: var(--bad); white-space: nowrap; }
.who { width: 30px; height: 30px; border-radius: 50%; color: #fff; font: 700 11px var(--body); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.feed.big .t { font-size: 19px; } .feed.big .btn { min-height: 56px; font-size: 17px; }
.simple h1 { font-size: 30px; }

/* Job */
.job-hero, .person-hero, .client-hero { display: flex; gap: 16px; align-items: center; }
.job-hero h1 { font-size: 24px; }
.addr { display: inline-flex; gap: 4px; align-items: center; text-decoration: none; font-size: 14px; margin-top: 2px; }
.next { margin-top: 6px; font-size: 14px; color: var(--ink2); }
.ring { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ring svg { position: absolute; inset: 0; }
.ring b { position: relative; font-family: var(--head); font-weight: 600; }
.tabs { display: flex; gap: 4px; background: #e9e7e2; padding: 4px; border-radius: 13px; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1; border: 0; background: none; padding: 9px 10px; border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--ink2); cursor: pointer; white-space: nowrap; }
.tabs button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.svc .tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.svc.done .tick { background: var(--ok); border-color: var(--ok); }
.svc.done .t { color: var(--muted); }
.svc [role=button] { cursor: pointer; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.tile { background: var(--card); border-radius: var(--r-sm); padding: 12px 14px; box-shadow: var(--shadow); }
.card .tile { background: var(--soft); box-shadow: none; }
.tile span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.tile b { font-family: var(--head); font-weight: 600; font-size: 18px; }
.stage-line { display: grid; grid-template-columns: 1fr 90px 42px; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.stage-line b { text-align: right; }
.bar { display: block; height: 7px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.ph { padding: 0; border: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--soft); cursor: pointer; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
pre.update { white-space: pre-wrap; font: 14px/1.55 var(--body); background: var(--soft); border-radius: var(--r-sm); padding: 14px; margin: 0 0 12px; }
.banner { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; }
.banner.warn { background: var(--warn-bg); color: var(--warn); } .banner.ok { background: var(--ok-bg); color: var(--ok); }
details.card summary { cursor: pointer; font-weight: 700; margin-bottom: 4px; }
details.card .chips { margin-top: 10px; }

/* Options (booking) */
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { display: grid; grid-template-columns: 1fr auto; text-align: left; gap: 2px 10px; padding: 14px 16px; background: var(--card); border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; align-items: center; }
.opt b { font-size: 16px; } .opt span { color: var(--muted); font-size: 14px; grid-column: 1; }
.opt svg { grid-row: 1 / 3; grid-column: 2; }
.opt.on { border-color: var(--ink); }

/* Leads */
.lead-card { display: flex; flex-direction: column; gap: 10px; }
.lead-card.hot { border-left: 4px solid var(--bad); }
.lead-main { display: flex; gap: 12px; text-decoration: none; }
.lead-main .t { font-weight: 700; font-size: 16px; } .lead-main .s { color: var(--muted); font-size: 13px; }
.lead-main .right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lead-main .right b { font-family: var(--head); font-weight: 600; }
.lead-next { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink2); background: var(--soft); padding: 8px 10px; border-radius: 10px; }
.lead-next.hot { background: var(--bad-bg); color: var(--bad); }
.lead-card .acts .btn { min-height: 40px; font-size: 14px; }
.summary { font-size: 15px; line-height: 1.55; }
.say { margin: 0; padding-left: 20px; } .say li { margin: 6px 0; }
.story { list-style: none; margin: 0; padding: 0; }
.story li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.story li:first-child { border-top: 0; }
.story .d { color: var(--muted); font-weight: 600; font-size: 13px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin-bottom: 12px; }
.kv span { color: var(--muted); } .kv b { font-weight: 600; word-break: break-word; }

/* Plan */
.plan-wrap { overflow-x: auto; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
table.plan { border-collapse: collapse; min-width: 100%; font-size: 12px; }
.plan th, .plan td { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); padding: 6px; vertical-align: top; }
.plan thead th { font-weight: 700; text-align: center; min-width: 84px; background: var(--soft); position: sticky; top: 0; }
.plan thead th span { display: block; color: var(--muted); font-weight: 600; }
.plan th.now { background: var(--ink); color: #fff; } .plan th.now span { color: #cfccc4; }
.plan th.wkend, .plan td:has(+ td) { }
.plan .jobcol { position: sticky; left: 0; background: var(--card); text-align: left; min-width: 150px; max-width: 170px; z-index: 1; font-weight: 700; }
.plan .jobcol a { text-decoration: none; }
.chipx { display: block; background: color-mix(in srgb, var(--c) 14%, white); border-left: 3px solid var(--c); padding: 3px 6px; border-radius: 6px; margin-bottom: 4px; font-weight: 600; line-height: 1.25; }
.chipx.unconf { border-left-style: dashed; opacity: .85; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink2); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend i.dash { border: 2px dashed var(--muted); }

/* Cash */
.cash { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; height: 170px; align-items: end; margin-bottom: 10px; }
.wk { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.wk .bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.wk .bars i { width: 40%; max-width: 18px; border-radius: 4px 4px 0 0; min-height: 2px; }
.wk .in { background: var(--ok); } .wk .out { background: var(--bad); }
.wk span { font-size: 11px; color: var(--muted); white-space: nowrap; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 12px; }
.f { display: flex; flex-direction: column; gap: 5px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f > span { font-size: 13px; font-weight: 600; color: var(--ink2); }
.f input:not([type=checkbox]):not([type=color]), .f select, .f textarea { width: 100%; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--card); font-size: 16px; }
.f input[type=color] { width: 60px; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 2px; background: var(--card); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); }
.row-check { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
.row-check input { width: 20px; height: 20px; accent-color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
.err { color: var(--bad); font-weight: 600; font-size: 14px; margin: 0; }
.search { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 12px; padding: 0 14px; box-shadow: var(--shadow); color: var(--muted); }
.search input { flex: 1; border: 0; background: none; padding: 13px 0; font-size: 16px; outline: none; color: var(--ink); }

/* Avatars */
.av { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 700; flex: none; }

/* Sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(20,20,18,.42); z-index: 100; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
.sheet { background: var(--card); width: 100%; max-width: 560px; border-radius: 22px 22px 0 0; padding: 8px 18px calc(22px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; animation: up .22s cubic-bezier(.2,.8,.2,1); }
.grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 4px auto 10px; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 120; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
.lightbox .icon-btn { position: absolute; top: 16px; right: 16px; }

/* Toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 200; display: flex; align-items: center; gap: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100vw - 32px); animation: up .2s ease; }
.toast button { background: none; border: 0; color: var(--yellow); font-weight: 800; cursor: pointer; }
@media (min-width: 900px) { .toast { bottom: 24px; } }

/* Auth */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.auth-card { width: 100%; max-width: 400px; background: var(--card); border-radius: 22px; padding: 28px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 22px; font-weight: 600; }
.auth-links { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.auth-links a { color: var(--ink2); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.more-list { display: flex; flex-direction: column; gap: 12px; }
.more-list summary { cursor: pointer; font-weight: 700; color: var(--ink2); padding: 12px 16px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); list-style: none; display: flex; justify-content: space-between; }
.more-list summary::after { content: '+'; font-size: 18px; line-height: 1; color: var(--muted); }
.more-list[open] summary::after { content: '–'; }
.more-list[open] > .card { margin-top: 12px; }

/* v3.1: money bar, job lines, budget, cash plan */
.banner.bad { background: var(--bad-bg); color: var(--bad); }
.moneybar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mb { background: var(--card); border: 0; border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; text-align: left; text-decoration: none; color: var(--ink); font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mb span { color: var(--muted); font-size: 12px; font-weight: 600; }
.mb b { font-family: var(--head); font-size: 19px; font-weight: 600; white-space: nowrap; }
.mb em { font-style: normal; font-size: 11px; color: var(--muted); }
.mb .ok, .tile .ok { color: var(--ok); } .mb .bad, .tile .bad, .mb em.bad { color: var(--bad); }
@media (max-width: 520px) { .mb b { font-size: 16px; } .mb { padding: 10px; } }
.quick.three { grid-template-columns: repeat(3, 1fr); }
.page > .quick:last-child { grid-template-columns: repeat(3, 1fr); }
.jobline .jl-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.jobline .jl-top .muted { font-size: 12px; font-weight: 600; white-space: nowrap; }
.jobline .bar { margin: 6px 0 4px; }
.jobline .flags { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.stage-line.now span { font-weight: 700; }
.budget { position: relative; height: 12px; background: var(--line); border-radius: 99px; margin: 10px 0 6px; }
.budget i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.budget i.ok { background: var(--ok); } .budget i.bad { background: var(--bad); }
.budget b { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: var(--ink); border-radius: 2px; }
.next-inv h3 { margin: 0 0 6px; }
.row.nopad { padding: 0; }
.ev .evd { width: 52px; font-size: 13px; font-weight: 700; color: var(--muted); flex: none; }
.ev .bal { width: 84px; text-align: right; font-size: 12px; color: var(--muted); flex: none; }
.ev.neg .bal { color: var(--bad); font-weight: 700; }
@media (max-width: 520px) { .ev .bal { display: none; } }
