:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --line: #e2e8f0;
  --text: #0f1b2d;
  --muted: #5b6b80;
  --mustard: #2563eb;      /* primary blue */
  --mustard-ink: #ffffff;  /* text on blue */
  --ketchup: #2563eb;
  --lettuce: #15803d;
  --warn: #b45309;
  --radius: 18px;
  --display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--body); }
body { min-height: 100dvh; }
body.busy { cursor: progress; }
body.busy button { pointer-events: none; opacity: .7; }
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; }
h1 { font: 800 26px/1.15 var(--display); letter-spacing: -.3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.boot { display: grid; place-items: center; height: 100dvh; font-size: 56px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }

/* ---------- shell ---------- */
.demo-bar { background: #eaf1ff; color: #1d4ed8; text-align: center; font-size: 12.5px; font-weight: 600; padding: 6px 10px; }
.demo-bar .link { color: #1d4ed8; text-decoration: underline; font-weight: 700; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font: 800 18px/1 var(--display); color: var(--text); letter-spacing: -.2px; }
.brand .logo { font-size: 24px; }
.who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--mustard); color: var(--mustard-ink); font-weight: 700; font-size: 13px; }
.avatar.sm { width: 36px; height: 36px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.main { max-width: 560px; margin: 0 auto; padding: 18px 16px calc(110px + var(--safe-b)); }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-around;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b)); }
.tabs a { flex: 1; max-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0;
  font-size: 11.5px; font-weight: 600; color: var(--muted); border-radius: 12px; }
.tabs a.on { color: var(--mustard); background: #eaf1ff; }
.fab { position: fixed; right: max(16px, calc(50% - 264px)); bottom: calc(84px + var(--safe-b)); z-index: 21;
  background: var(--ketchup); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 24px rgba(37,99,235,.3); }

/* ---------- common ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 1px 2px rgba(15,27,45,.04); }
.card.empty { text-align: center; color: var(--muted); padding: 26px 16px; }
.card.tip { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.card.tip b { color: var(--text); }
.sec { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 13px/1 var(--body); text-transform: uppercase;
  letter-spacing: .8px; color: var(--muted); margin: 26px 2px 10px; }
.count { background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 3px 8px; font-size: 12px; letter-spacing: 0; }
.list, .people { display: flex; flex-direction: column; gap: 8px; }
.pill { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; }
.pill.ok { background: #dcfce7; color: var(--lettuce); }
.pill.warn { background: #fef3c7; color: var(--warn); }
.pill.bad { background: #fee2e2; color: #dc2626; }
.pill.muted { background: var(--surface-2); color: var(--muted); }
.pill.accent { background: var(--mustard); color: var(--mustard-ink); }
.chip { background: rgba(255,255,255,.2); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 700; }
.chip.st-cancelled { background: #fee2e2; color: #dc2626; }
.chip.st-past { background: var(--surface-2); color: var(--muted); }
.btn { border: 0; border-radius: 14px; padding: 13px 18px; font-weight: 700; cursor: pointer; }
.btn.block { width: 100%; }
.btn.primary { background: var(--mustard); color: var(--mustard-ink); }
.btn.ghost { background: var(--surface-2); border: 1px solid var(--line); }
.btn.danger { background: transparent; color: #dc2626; border: 1px solid #fca5a5; }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.link { background: none; border: 0; color: var(--mustard); font-weight: 600; cursor: pointer; padding: 4px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 24px; cursor: pointer; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.row-btns .btn { flex: 1; white-space: nowrap; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 14px; }
.bar i { display: block; height: 100%; background: var(--lettuce); border-radius: 99px; transition: width .3s; }
.seg { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin: 14px 0 4px; overflow-x: auto; }
.seg button, .seg label span { flex: 1; display: block; text-align: center; white-space: nowrap; border: 0; background: none; border-radius: 10px;
  padding: 9px 10px; font-weight: 600; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.seg label { flex: 1; }
.seg button.on, .seg input:checked + span { background: var(--mustard); color: var(--mustard-ink); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- home ---------- */
.hello { margin-bottom: 14px; }
.hello p { margin: 4px 0 0; }
.hero { display: block; position: relative; overflow: hidden; border-radius: 22px; padding: 18px;
  background: #2563eb; color: #fff; box-shadow: 0 10px 28px rgba(37,99,235,.25); }
.hero.kind-food { background: #0284c7; box-shadow: 0 10px 28px rgba(2,132,199,.25); }
.hero.kind-other { background: #4f46e5; box-shadow: 0 10px 28px rgba(79,70,229,.25); }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero .pill.warn { background: #fff; color: #b45309; }
.hero .pill.ok { background: #fff; color: #15803d; }
.hero .pill.accent { background: #fff; color: #2563eb; }
.hero-emoji { position: absolute; right: -6px; bottom: -14px; font-size: 104px; opacity: .18; transform: rotate(-12deg); pointer-events: none; }
.hero h2 { font: 800 30px/1.05 var(--display); margin: 14px 0 6px; letter-spacing: -.5px; }
.hero-meta { margin: 2px 0; font-weight: 600; opacity: .92; }
.hero .bar { background: rgba(255,255,255,.25); }
.hero .bar i { background: #fff; }
.hero-foot { margin: 8px 0 0; font-size: 13px; font-weight: 600; opacity: .9; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 10px; text-align: center; }
.stat b { display: block; font: 800 19px/1.2 var(--display); }
.stat span { font-size: 12px; color: var(--muted); }
.stat.warn b { color: var(--warn); font-size: 16px; }
.stat.good b { color: var(--lettuce); }

/* ---------- event rows ---------- */
.ev-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.ev-row:active { background: var(--surface-2); }
.ev-row.st-past { opacity: .72; }
.ev-row.st-cancelled .ev-title { text-decoration: line-through; color: var(--muted); }
.badge-date { flex: none; width: 50px; height: 54px; border-radius: 12px; background: var(--surface-2); display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1; }
.badge-date span { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--mustard); }
.badge-date b { font: 800 22px/1.1 var(--display); }
.badge-date.st-today, .badge-date.st-upcoming { background: #eaf1ff; }
.ev-main { flex: 1; min-width: 0; }
.ev-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- calendar ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal-head h1 { font-size: 22px; text-align: center; }
.cal { margin-top: 10px; padding: 10px; }
.dow, .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow span { text-align: center; font-size: 11.5px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.dow span:nth-child(6), .dow span:nth-child(7) { color: var(--mustard); }
.cell { aspect-ratio: 1 / 1.08; border: 0; border-radius: 12px; background: transparent; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; padding: 5px 0 0; cursor: pointer; font-weight: 600; }
.cell.has-ev { background: var(--surface-2); }
.cell.is-today span { background: var(--mustard); color: #fff; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.cell.is-sel { outline: 2px solid var(--mustard); }
.marks { display: flex; gap: 1px; font-size: 13px; line-height: 1; margin-top: 2px; }
.marks i { font-style: normal; }
.marks i.x { opacity: .35; filter: grayscale(1); }

/* ---------- event detail ---------- */
.back { background: none; border: 0; color: var(--mustard); font-weight: 700; font-size: 15px; padding: 4px 0 12px; cursor: pointer; }
.detail h1 { margin: 12px 0 8px; }
.facts { margin: 0; display: grid; gap: 8px; }
.facts div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; }
.facts dt { color: var(--muted); font-size: 13px; padding-top: 1px; }
.facts dd { margin: 0; font-weight: 600; }
.notes { white-space: pre-wrap; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; margin: 12px 0 0; font-size: 14px; }
.money { margin-top: 10px; }
.money-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.money-row span { display: block; font-size: 12.5px; color: var(--muted); }
.money-row b { font: 800 20px/1.2 var(--display); }
.warn-t { color: var(--warn); }
.owed-me { margin: 12px 0 0; padding: 10px 12px; background: #eaf1ff; border-radius: 12px; font-size: 14px; }
.p-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: left; }
.p-row.is-me { border-color: #93b4f5; }
.p-row.is-off { opacity: .55; }
.p-row.as-btn { width: 100%; cursor: pointer; }
.p-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.p-main small { color: var(--muted); font-size: 12.5px; }
.you { background: var(--mustard); color: var(--mustard-ink); font-size: 10.5px; border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }
.ctrls { flex-basis: 100%; display: flex; gap: 6px; padding-left: 46px; }
.ctrls .btn { flex: 1; padding: 8px 6px; white-space: nowrap; }
.det { display: block; padding: 0; }
.det summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; list-style: none; cursor: pointer; }
.det summary::-webkit-details-marker { display: none; }
.det-list { border-top: 1px solid var(--line); padding: 6px 12px 10px 58px; display: flex; flex-direction: column; }
.det-list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 13.5px; color: var(--muted); }
.det-list a span { color: var(--warn); font-weight: 600; white-space: nowrap; }

/* ---------- forms / sheet ---------- */
.form { display: flex; flex-direction: column; gap: 12px; }
.form h2 { font: 800 22px/1.2 var(--display); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font-size: 16px; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--mustard); border-color: transparent; }
.form input[readonly] { opacity: .6; }
.form .check { flex-direction: row; align-items: center; gap: 10px; color: var(--text); font-size: 15px; }
.form .check input { width: 20px; height: 20px; accent-color: var(--mustard); }
.form .seg { margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bill { border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin: 0; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.bill legend { font-weight: 700; padding: 0 6px; }
.bill .seg { background: var(--bg); }
.bill.mode-split .if-fixed, .bill.mode-fixed .if-split { display: none; }
.bill-preview { margin: 0; padding: 10px 12px; border-radius: 12px; background: #dcfce7; color: var(--lettuce); font-weight: 600; font-size: 14px; }
.danger-zone { border-top: 1px solid var(--line); padding-top: 14px; }
#sheet { position: fixed; inset: 0; z-index: 50; display: none; }
#sheet.open { display: block; }
.sheet-bg { position: absolute; inset: 0; background: rgba(15,27,45,.45); }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; max-height: 92dvh; overflow-y: auto;
  background: var(--surface); border-radius: 24px 24px 0 0; padding: 20px 16px calc(20px + var(--safe-b)); animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
#toast { position: fixed; box-shadow: 0 8px 24px rgba(15,27,45,.18); left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 20px); z-index: 60; opacity: 0; pointer-events: none;
  background: var(--lettuce); color: #ffffff; font-weight: 700; padding: 11px 18px; border-radius: 14px; max-width: 90vw; text-align: center; transition: .2s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: #dc2626; color: #fff; }

/* ---------- login ---------- */
.login { max-width: 420px; margin: 0 auto; padding: 48px 20px 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.login-logo { font-size: 72px; line-height: 1; filter: drop-shadow(0 10px 24px rgba(37,99,235,.25)); }
.brand-big { font: 800 36px/1 var(--display); color: var(--text); letter-spacing: -.5px; }
.login .form { width: 100%; text-align: left; margin-top: 10px; }
.demo-pick { width: 100%; margin-top: 8px; }
.demo-pick p { margin: 0; }

/* ---------- payment slips ---------- */
.pill.info { background: #e0edff; color: #1d4ed8; }
.pay-card { margin-top: 10px; border-color: #bfd3fb; display: flex; flex-direction: column; gap: 10px; }
.pay-card.ok { border-color: #bbf7d0; background: #f0fdf4; }
.pay-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pay-head .big { font: 800 24px/1.1 var(--display); color: var(--text); }
.pay-to { margin: 0; font-size: 14.5px; }
.acct { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.slip-sent { background: #e0edff; color: #1d4ed8; border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.pay-card .row-btns { margin-top: 0; }
.slip-view { display: flex; flex-direction: column; gap: 10px; }
.slip-view h2 { font: 800 20px/1.2 var(--display); }
.slip-view p { margin: 0; }
.slip-view img { display: block; width: 100%; max-height: 62dvh; object-fit: contain; background: var(--surface-2); border-radius: 14px; border: 1px solid var(--line); }
.slip-view .pill { align-self: flex-start; }

/* ---------- FeelBurger fund ---------- */
.pill.fund { background: #e0edff; color: #1d4ed8; }
.stat.fundstat b { font-size: 15.5px; color: var(--mustard); padding-top: 3px; }
.monthly-due { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; border-color: #fde68a; background: #fffbeb; }
.monthly-due span { font-size: 13.5px; color: var(--warn); }
.fund-card { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.fund-card.empty-fund { border-color: #fde68a; }
.fund-bal { font: 800 34px/1.1 var(--display); color: var(--mustard); letter-spacing: -.5px; }
.fund-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.fund-split span { display: block; font-size: 12px; color: var(--muted); }
.fund-split b { font-size: 14.5px; }
.monthly { display: flex; flex-direction: column; gap: 8px; }
.monthly .bar { margin-top: 2px; }
.monthly .link { align-self: center; }
.small-head .icon-btn { width: 40px; height: 40px; font-size: 20px; }
.f-list { padding: 4px 14px; }
.f-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.f-row:last-child { border-bottom: 0; }
.f-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 16px; }
.f-row .in { color: var(--lettuce); white-space: nowrap; }
.f-row .out { color: var(--text); white-space: nowrap; }
.bill .if-fund { display: none; }
.bill.mode-split.use-fund .if-fund { display: flex; }
.bill.mode-fixed .use-fund-row { display: none; }
.bill .check { font-size: 14.5px; }
.bill-preview.bad { background: #fee2e2; color: #dc2626; }

/* ---------- club: roles, notices, polls ---------- */
.role-chip { display: inline-block; vertical-align: middle; font: 700 12px/1 var(--body); background: #e0edff; color: #1d4ed8; border-radius: 999px; padding: 5px 9px; letter-spacing: 0; }
.role-chip.big { min-width: 86px; text-align: center; }
.committee { display: flex; flex-direction: column; padding: 4px 14px; }
.c-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.c-row:last-child { border-bottom: 0; }
.row-btns.tight { margin: 0 0 10px; }
.notices { display: flex; flex-direction: column; gap: 10px; }
.notice { display: flex; flex-direction: column; gap: 8px; }
.notice.pinned { border-color: #bfd3fb; }
.notice h3 { margin: 0; font-size: 17px; }
.n-head { display: flex; gap: 6px; flex-wrap: wrap; }
.n-head:empty { display: none; }
.n-body { margin: 0; white-space: pre-wrap; font-size: 14.5px; }
.n-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 8px; }
.n-tools { display: flex; gap: 2px; }
.danger-t { color: #dc2626; }
.poll { display: flex; flex-direction: column; gap: 6px; }
.poll p { margin: 2px 0 0; }
.opt { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 8px;
  width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 11px 12px; cursor: pointer; min-height: 46px; }
.opt i { position: absolute; left: 0; top: 0; bottom: 0; background: #eaf1ff; z-index: 0; transition: width .3s; }
.opt > span, .opt > small { position: relative; z-index: 1; }
.opt .o-text { font-weight: 600; }
.opt .o-num { font-weight: 800; color: var(--mustard); }
.opt .o-who { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.opt.mine { border-color: var(--mustard); box-shadow: inset 0 0 0 1px var(--mustard); }
.opt.lead i { background: #dcfce7; }
.opt:disabled { cursor: default; }
.vote-due, .pin-note { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.vote-due { border-color: #bfd3fb; background: #eff5ff; }
.vote-due span, .pin-note span { font-size: 13.5px; color: var(--muted); }
.monthly-due.sent { border-color: #bfd3fb; background: #eff5ff; }
.monthly-due.sent span { color: #1d4ed8; }
.monthly-due .row-btns { margin-top: 8px; }
.demo-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }

/* ---------- money report ---------- */
.seg.small-seg { margin-top: 6px; }
.report { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.r-h { margin: 14px 0 4px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.r-block { display: flex; flex-direction: column; }
.r-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.r-line span small { display: block; color: var(--muted); font-size: 12px; }
.r-line b { white-space: nowrap; text-align: right; }
.r-line.in b { color: var(--lettuce); }
.r-line.total { border-bottom: 0; border-top: 2px solid var(--text); margin-top: 2px; }
.r-line.total b, .r-line.total span { font-weight: 800; }
#print-root { display: none; }

@media print {
  @page { size: A4; margin: 16mm; }
  body.print-report > *:not(#print-root) { display: none !important; }
  body.print-report #print-root { display: block; }
  body.print-report { background: #fff; color: #0f1b2d; font-size: 11.5pt; }
  .p-doc .r-line { padding: 5px 0; font-size: 11pt; }
  .p-doc .r-h { font-size: 9.5pt; margin-top: 12px; }
  .p-top { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid #2563eb; padding-bottom: 10px; margin-bottom: 14px; }
  .p-brand { font: 800 22pt/1 Inter, Arial, sans-serif; color: #2563eb; }
  .p-sub { font-size: 11pt; color: #5b6b80; margin-top: 4px; }
  .p-meta { text-align: right; font-size: 9pt; color: #5b6b80; line-height: 1.5; }
  .p-big { display: flex; justify-content: space-between; align-items: baseline; background: #eff5ff; border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; }
  .p-big b { font: 800 18pt/1 Inter, Arial, sans-serif; color: #2563eb; }
  .p-foot { margin-top: 18px; padding-top: 8px; border-top: 1px solid #e2e8f0; font-size: 9pt; color: #5b6b80; }
  .r-block { break-inside: avoid; }
}
