/* Rho-native look, matched from Rho's own web app (Merchant Maverick review, 11/2025):
   white canvas, light-gray left nav, neutral grays, one teal-green primary,
   rounded gray secondary buttons, big tabular balances, amber/green status pills. */
:root {
  --bg: #ffffff;
  --nav: #f6f6f4;
  --wash: #fafaf8;
  --line: #e7e7e4;
  --text: #1a1a1a;
  --sub: #6b6b68;
  --faint: #9a9a96;
  --accent: #127a5f;
  --accent-ink: #0d5c48;
  --accent-weak: #e6f3ee;
  --decided: #127a5f;
  --drifted: #c9821b;
  --drifted-weak: #fbf0de;
  --warn-weak: #fdeceb;
  --warn: #b3261e;
  --amber-bg: #fde7b0;
  --amber-ink: #6e4f00;
  --slack: #3f0e40;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Inter", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #ecece9; color: var(--text); font-family: var(--font); font-size: 14px; }
body { min-height: 100vh; }
button { font: inherit; cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }

/* presenter bar: for us, not part of the product */
.presenter { display: flex; align-items: center; gap: 6px; padding: 6px 14px; background: #1a1a1a; color: #bdbdb8; font-size: 12px; }
.presenter .tagline { margin-right: auto; }
.presenter a { color: #e8e8e4; text-decoration: none; padding: 4px 10px; border-radius: 6px; }
.presenter a.on { background: #3a3a37; color: #fff; }
.presenter button { background: none; border: 1px solid #4a4a46; color: #e8e8e4; border-radius: 6px; padding: 3px 10px; margin-left: 8px; }

/* window frame */
.window { margin: 18px auto; max-width: 1280px; background: var(--bg); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.08); overflow: hidden; display: grid; grid-template-columns: 228px 1fr; min-height: calc(100vh - 72px); }

/* Rho shell */
.nav { background: var(--nav); border-right: 1px solid var(--line); padding: 18px 12px; }
.wordmark { font-size: 26px; letter-spacing: -0.5px; font-weight: 400; padding: 2px 10px 16px; font-family: Georgia, "Times New Roman", serif; }
.org { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 8px 10px; margin-bottom: 14px; }
.org .badge { width: 24px; height: 24px; border-radius: 6px; background: #ececea; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: #3b3b39; text-decoration: none; }
.nav a:hover { background: #ededea; }
.nav a.on { background: #e9e9e6; color: var(--text); font-weight: 600; }
.nav .ico { width: 16px; text-align: center; color: var(--faint); }
.nav .pill-new { margin-left: auto; font-size: 10px; font-weight: 600; color: var(--accent-ink); background: var(--accent-weak); border-radius: 10px; padding: 1px 7px; }
.nav .count { margin-left: auto; font-size: 11px; background: var(--amber-bg); color: var(--amber-ink); border-radius: 10px; padding: 0 7px; }
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 12px 28px; border-bottom: 1px solid var(--line); color: var(--sub); font-size: 13px; }
.topbar .who { display: flex; align-items: center; gap: 8px; color: var(--text); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; background: #5a7d73; }
.avatar.sam { background: #6d5a8a; }
.page { padding: 26px 32px 40px; }
h1 { font-size: 26px; font-weight: 600; margin: 0; letter-spacing: -0.3px; display: flex; align-items: center; gap: 10px; }
.chip { font-size: 11px; font-weight: 600; border-radius: 10px; padding: 2px 8px; background: var(--accent-weak); color: var(--accent-ink); }
.chip.drifted { background: var(--drifted-weak); color: #7a4c06; }
.chip.decided { background: var(--accent-weak); color: var(--accent-ink); }
h1 .chip { font-size: 15px; padding: 5px 12px; border-radius: 8px; vertical-align: middle; }
.chip.gray { background: #efefec; color: var(--sub); }
.sub { color: var(--sub); }
.small { font-size: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 6px; padding: 8px 14px; background: #efefec; color: var(--text); }
.btn:hover { background: #e6e6e2; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.ghost { background: none; border: 1px solid var(--line); }
.link { background: none; border: 0; color: var(--accent-ink); padding: 0; text-decoration: underline; text-underline-offset: 2px; }

/* KPI row */
.kpis { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; margin: 22px 0 8px; }
.kpi .label { color: var(--sub); font-size: 12px; margin-bottom: 4px; }
.kpi .value { font-size: 26px; font-weight: 500; letter-spacing: -0.4px; }
.kpi .value.big { font-size: 40px; letter-spacing: -1px; transition: color .4s; }
.kpi .delta { font-size: 12px; margin-top: 4px; }
.neg { color: var(--warn); }
.pos { color: var(--accent-ink); }
.method { font-size: 12px; color: var(--sub); margin: 6px 0 18px; }

/* cards */
.card { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 16px 20px 0; flex-wrap: wrap; }
.card-h h2 { font-size: 16px; font-weight: 600; margin: 0; margin-right: auto; }
.grid2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }

/* the bridge */
.headline { padding: 6px 20px 0; font-size: 13px; color: var(--sub); }
.headline b { color: var(--text); }
.bridge { position: relative; height: 270px; margin: 28px 20px 54px 46px; border-bottom: 1px solid var(--line); }
.bridge .axis { position: absolute; left: -36px; font-size: 11px; color: var(--faint); transform: translateY(50%); }
.bridge .gl { position: absolute; left: 0; right: 0; border-top: 1px dashed #f0f0ed; }
.col { position: absolute; bottom: 0; top: 0; }
.bar { position: absolute; left: 0; right: 0; border-radius: 4px; transition: bottom .9s cubic-bezier(.2,.8,.2,1), height .9s cubic-bezier(.2,.8,.2,1), box-shadow .2s; cursor: pointer; }
.bar.total { background: #3a3a37; cursor: default; }
.bar.plan { background: #c9c9c4; cursor: default; }
.bar.decided { background: var(--decided); }
.bar.drifted { background: var(--drifted); }
.bar.saved { background: #5fb38b; cursor: default; }
.bar.sel { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--text); }
.bar .v { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--text); }
.xl { position: absolute; top: calc(100% + 8px); left: -6px; right: -6px; text-align: center; font-size: 11.5px; color: var(--sub); line-height: 1.25; }
.legend { display: flex; gap: 8px; align-items: center; }
.note-axis { font-size: 11px; color: var(--faint); padding: 0 20px 16px; }

/* evidence */
.ev { padding: 16px 20px 18px; }
.ev h3 { margin: 0 0 4px; font-size: 15px; }
.ev ul { margin: 8px 0 10px; padding-left: 18px; color: #3b3b39; }
.ev li { margin: 3px 0; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th { text-align: left; color: var(--sub); font-weight: 500; padding: 7px 6px; border-bottom: 1px solid var(--line); }
td { padding: 8px 6px; border-bottom: 1px solid #f1f1ee; vertical-align: top; }
td.amt, td.num { white-space: nowrap; }
td.amt { text-align: right; }
tr.fixed td { background: var(--accent-weak); transition: background 1.2s; }
.counted { font-size: 11.5px; color: var(--sub); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* modal */
.scrim { position: fixed; inset: 0; background: rgba(20,20,18,.35); display: grid; place-items: center; z-index: 20; }
.modal { width: 520px; background: #fff; border-radius: 12px; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal h2 { margin: 0 0 12px; font-size: 18px; }
.kv { background: var(--wash); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin: 8px 0; cursor: pointer; }
.radio.on { border-color: var(--accent); background: var(--accent-weak); }
.preview { margin: 14px 0 4px; font-size: 13px; }
.actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }

/* options */
.opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; cursor: pointer; background: #fff; }
.opt.on { border-color: var(--accent); background: var(--accent-weak); }
.opt.pending { border-style: dashed; }
.box { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #b8b8b3; display: grid; place-items: center; font-size: 12px; color: #fff; flex: none; }
.opt.on .box { background: var(--accent); border-color: var(--accent); }
.opt .t { flex: 1; }
.opt.decided-opt { cursor: default; }
.opt .d { font-weight: 600; white-space: nowrap; }
.result { position: sticky; top: 20px; padding: 20px; }
.result .value { font-size: 44px; font-weight: 500; letter-spacing: -1px; margin: 4px 0; }

/* approvals */
.appr { display: grid; grid-template-columns: 300px 1fr; gap: 18px; margin-top: 18px; }
.queue .row { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.queue .row.on { background: var(--wash); border-left: 3px solid var(--accent); }
.price { background: var(--warn-weak); border-radius: 10px; padding: 16px 18px; margin: 16px 0; }
.price .big { font-size: 24px; font-weight: 600; color: var(--warn); }
.status { padding: 12px 14px; border-radius: 8px; background: var(--accent-weak); color: var(--accent-ink); margin-top: 14px; }
.pillx { font-size: 11px; border-radius: 6px; padding: 2px 8px; background: var(--amber-bg); color: var(--amber-ink); font-weight: 600; }

/* Slack-like window */
.slackwin { margin: 18px auto; max-width: 1280px; border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 72px); box-shadow: 0 10px 40px rgba(0,0,0,.08); background: #fff; }
.s-side { background: var(--slack); color: #cfc3cf; padding: 16px 12px; font-size: 14px; }
.s-side .ws { color: #fff; font-weight: 700; font-size: 16px; padding: 0 8px 14px; }
.s-side .ch { padding: 4px 8px; border-radius: 6px; }
.s-side .ch.on { background: #1164a3; color: #fff; }
.s-side .sec { margin: 14px 8px 4px; font-size: 12px; opacity: .8; }
.s-main { display: flex; flex-direction: column; }
.s-head { padding: 14px 22px; border-bottom: 1px solid var(--line); font-weight: 700; }
.s-body { padding: 18px 22px; }
.msg { display: grid; grid-template-columns: 40px 1fr; gap: 10px; }
.appicon { width: 38px; height: 38px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: Georgia, serif; font-size: 18px; }
.who-line { font-weight: 700; }
.who-line .app { font-size: 10px; background: #e8e8e8; color: #555; padding: 1px 4px; border-radius: 3px; margin: 0 6px; font-weight: 600; }
.who-line .time { font-weight: 400; color: var(--sub); font-size: 12px; }
.brief { border-left: 4px solid var(--accent); background: #fcfcfb; border-radius: 4px; padding: 12px 16px; margin-top: 8px; max-width: 760px; }
.item { padding: 12px 0; border-bottom: 1px solid #f0f0ed; }
.item:last-of-type { border-bottom: 0; }
.item .h { font-weight: 700; font-size: 15px; }
.item .d { color: #444; margin: 3px 0 8px; }
.why { font-size: 11.5px; color: var(--sub); }
.held { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
.held summary { cursor: pointer; font-weight: 600; }
.held li { margin: 5px 0; color: #3b3b39; }
.thread { margin: 10px 0 0 50px; max-width: 740px; border-left: 2px solid var(--line); padding-left: 12px; animation: rise .6s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Ask about this */
.btn.sm { padding: 4px 10px; font-size: 12px; }
.ask { position: fixed; top: 32px; right: 0; bottom: 0; width: 400px; background: #fff; border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(0,0,0,.08); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; z-index: 15; animation: slidein .25s ease; }
@keyframes slidein { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.ask-h { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.ask .x { background: none; border: 0; font-size: 22px; color: var(--sub); }
.qs { display: flex; flex-wrap: wrap; gap: 6px; }
.q { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 5px 10px; font-size: 12.5px; }
.q.on { border-color: var(--accent); background: var(--accent-weak); color: var(--accent-ink); }
.bubble { border-radius: 10px; padding: 10px 12px; font-size: 13.5px; line-height: 1.5; }
.bubble.me { align-self: flex-end; background: #efefec; max-width: 85%; }
.bubble.ai { background: var(--wash); border: 1px solid var(--line); }
.srcs { margin-top: 8px; font-size: 12px; color: var(--sub); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.src { border: 0; background: var(--accent-weak); color: var(--accent-ink); border-radius: 10px; padding: 2px 8px; font-size: 12px; }
.handoff { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.handoff textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; resize: vertical; }
.handoff .facts { margin: 0; padding-left: 18px; font-size: 12.5px; color: #3b3b39; }
.handoff .actions { margin-top: 2px; }
.handoff.sent { background: var(--accent-weak); border-color: transparent; color: var(--accent-ink); font-size: 13px; line-height: 1.45; }
.handoff .msgq { margin-top: 6px; color: var(--text); }
.ask-in { margin-top: auto; }
.ask-in input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 13px; background: var(--wash); }

body.asking .window { margin: 18px 418px 18px 18px; }
body.asking .kpis { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 16px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: #1a1a1a; color: #fff; padding: 12px 18px; border-radius: 10px; transition: all .35s; z-index: 30; max-width: 640px; font-size: 13.5px; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.pulse { animation: pulse 1.2s ease; }
@keyframes pulse { 0% { color: var(--accent); } 100% { color: var(--text); } }

@media (max-width: 900px) {
  .window, .slackwin { grid-template-columns: 1fr; margin: 0; border-radius: 0; }
  .nav, .s-side { display: none; }
  .kpis, .grid2, .appr { grid-template-columns: 1fr; }
}

/* ---------- 11/11 review-mining features ---------- */
/* automated vs a person */
.tag { font-size: 10.5px; font-weight: 600; border-radius: 10px; padding: 1px 7px; white-space: nowrap; }
.tag.auto { background: #efefec; color: var(--sub); }
.tag.person { background: var(--accent-weak); color: var(--accent-ink); }
.bubble .by { margin-bottom: 6px; }
.avatar.rho { width: 24px; height: 24px; font-size: 11px; background: #8a6d3b; flex: none; }
.avatar.pulse-av { background: var(--accent); font-family: Georgia, serif; }
.to { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.to .tag { margin-left: auto; }
.wrongq { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.handoff.sent .to { color: var(--text); }

/* change history */
.hist { list-style: none; margin: 4px 0 0; padding: 0; overflow-y: auto; }
.hist li { padding: 12px 0; border-bottom: 1px solid #f1f1ee; font-size: 13px; line-height: 1.45; }
.hist .hh { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.hist .hh .avatar { width: 22px; height: 22px; font-size: 11px; }
.hist .time { margin-left: auto; color: var(--faint); font-size: 12px; }

/* correction rule checkbox, share modal */
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 2px; cursor: pointer; font-size: 13.5px; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.check.dis { cursor: default; color: var(--sub); }
.lbl { font-size: 12px; font-weight: 600; color: var(--sub); margin: 10px 0 6px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 6px 12px; font-size: 13px; }
.seg button.on { border-color: var(--accent); background: var(--accent-weak); color: var(--accent-ink); font-weight: 600; }
.h1btn { margin-left: auto; font-weight: 500; letter-spacing: 0; }

/* the shared, view-only page */
.previewbar { max-width: 1280px; margin: 14px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff7e0; border: 1px solid #f0dfa8; color: #5a4300; border-radius: 10px; padding: 8px 14px; font-size: 13px; }
.window.solo { grid-template-columns: 1fr; min-height: auto; margin-top: 12px; }
.sharebar { display: flex; align-items: center; gap: 14px; padding: 12px 28px; border-bottom: 1px solid var(--line); background: var(--nav); font-size: 13px; color: var(--sub); }
.sharebar b { color: var(--text); }
.wordmark.sm { font-size: 20px; padding: 0; color: var(--text); }
.value.hidden-v { color: var(--faint); font-size: 20px !important; }
.bar.nc { cursor: default; }

/* Sam's phone: approval in Slack */
body.onstage { background: #e4e4e0; }
.stage { display: flex; align-items: center; justify-content: center; gap: 48px; padding: 28px 18px; min-height: calc(100vh - 32px); }
.stage-note { max-width: 240px; color: var(--sub); font-size: 15px; line-height: 1.5; }
.stage-note b { color: var(--text); }
.phone { width: 390px; height: 800px; background: #fff; border-radius: 48px; border: 12px solid #1c1c1c; box-shadow: 0 30px 70px rgba(0,0,0,.22); position: relative; display: flex; flex-direction: column; overflow: hidden; }
.notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; background: #1c1c1c; border-radius: 16px; }
.p-top { display: flex; justify-content: space-between; padding: 14px 26px 8px; font-size: 13px; font-weight: 600; }
.p-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.p-back { font-size: 26px; color: #1164a3; line-height: 1; }
.appicon.sm { width: 30px; height: 30px; font-size: 15px; border-radius: 7px; }
.p-body { flex: 1; overflow-y: auto; padding: 14px 14px 8px; }
.p-msg { font-size: 14px; }
.p-card { margin-top: 8px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; line-height: 1.45; }
.p-title { font-size: 17px; font-weight: 700; }
.price.p-price { margin: 6px 0; padding: 12px 14px; }
.price.p-price .big { font-size: 19px; }
.p-why { background: var(--wash); border-radius: 8px; padding: 8px 10px; color: #3b3b39; }
.p-btns { display: flex; gap: 6px; margin-top: 4px; }
.p-btn { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 10px 6px; font-weight: 600; font-size: 14px; }
.p-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.p-status { background: var(--accent-weak); color: var(--accent-ink); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; animation: rise .5s ease; }
.p-link { align-self: flex-start; }
.p-input { margin: 8px 14px 22px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; color: var(--faint); font-size: 14px; }

@media (max-width: 900px) {
  .stage { flex-direction: column; gap: 16px; }
  .stage-note { max-width: 390px; text-align: center; }
  .phone { width: 100%; max-width: 390px; height: 760px; }
}

/* Bills: Pulse reads an incoming bill (from JP's build) */
.drop { margin-top: 18px; border: 1.5px dashed #cfcfca; border-radius: 12px; background: var(--wash); padding: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.drop-ico { font-size: 22px; color: var(--faint); }
.inboxrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-top: 14px; }
.file { font-size: 10px; font-weight: 700; color: #fff; background: #b3261e; border-radius: 4px; padding: 4px 5px; }
.reading { margin-top: 18px; padding: 20px 22px; max-width: 420px; }
.rstep { display: flex; gap: 10px; align-items: center; padding: 6px 0; opacity: 0; animation: rise .4s ease forwards; }
.rstep .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; display: grid; place-items: center; }
.grid2.bills { grid-template-columns: 1fr 1.1fr; align-items: start; }
.invoice { padding: 22px 24px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.inv-v { font-size: 18px; font-weight: 700; }
.inv-amt { font-size: 22px; font-weight: 600; }
.inv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; font-size: 13px; }
.inv-total { display: flex; justify-content: space-between; padding-top: 12px; font-size: 14px; }
.flds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 8px; }
.fld { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.fld .sub { font-size: 11.5px; }
.ledger { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 13px; background: var(--drifted-weak); border-radius: 8px; padding: 10px 12px; }
.ledger .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--drifted); margin-top: 5px; flex: none; }
.bill-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.status.amber { background: var(--drifted-weak); color: #7a4c06; }
.queue .qsec { background: var(--wash); font-weight: 600; padding: 8px 14px; }
.queue .save { cursor: pointer; }
.queue .save:hover { background: var(--wash); }
.pillx.green { background: var(--accent-weak); color: var(--accent-ink); }
.linkish { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.pillx { white-space: nowrap; }

/* Bills inbox (JP's invoice checks, ported 11/11) */
.pillx.green { background: var(--accent-weak); color: var(--accent-ink); }
.pillx.red { background: var(--warn-weak); color: var(--warn); }
.pillx.gray { background: #efefec; color: var(--sub); }
.inboxrow .pillx { white-space: nowrap; }
.file.eml { background: #5b5b57; }
.email { padding: 0; overflow: hidden; align-self: start; }
.em-h { padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; font-size: 13px; background: var(--wash); }
.em-h .sub { display: inline-block; width: 72px; }
.em-b { margin: 0; padding: 16px 18px; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; color: var(--ink, #1f1f1c); }
.flds.three { grid-template-columns: 1fr 1fr 1fr; }
.checks { display: grid; gap: 6px; margin: 8px 0 14px; }
.chk { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.chk .ci { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; margin-top: 1px; }
.chk.high { background: var(--warn-weak); } .chk.high .ci { background: var(--warn); }
.chk.medium { background: #fdf3e1; } .chk.medium .ci { background: #c9861a; }
.chk.info .ci { background: var(--faint); }
.chk.passed .ci { background: var(--accent); }
.hold-b { background: var(--warn-weak); color: var(--warn); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; }
.status.red { background: var(--warn-weak); color: var(--warn); }
