@font-face { font-family: "Dancing Script"; src: url("../fonts/dancing-script-600.woff2") format("woff2"); font-weight: 600; font-display: swap; } /* OFL 1.1, see fonts/OFL-DancingScript.txt */
/* The Debt Cheat Sheet dashboard shell (db-*). Inner content (wording, questions, tables, the collections plan)
   is styled by cheat-sheet.css. Layout switches on the container width, so phones and narrow windows match. */
.cs-main { max-width: 1320px; padding: 16px 14px 0; }
.db-root { container: db / inline-size; }
.db-app {
  --navy: #0b1f4d; --navy2: #16307a; --ink: #0f172a; --muted: #5b6475; --line: #e6e9f0; --surface: #fff; --bg: #f4f6fb;
  --accent: #2563eb; --good: #047857; --good-bg: #ecfdf5; --warn: #c2410c; --warn-bg: #fff1eb; --check: #b45309;
  --r-lg: 20px; --r-md: 14px; --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .07);
  display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 20px; align-items: start;
  font-variant-numeric: tabular-nums;
}
.db-muted { color: var(--muted); }
.db-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; margin: 0 0 6px; opacity: .85; }
.db-h2 { font-size: 1.1rem; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }

/* sidebar */
.db-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; border-radius: var(--r-lg); padding: 18px 14px; box-shadow: var(--shadow); min-height: calc(100vh - 140px); }
.db-brand { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.db-brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; background: linear-gradient(135deg, #34d399, #059669); color: #fff; letter-spacing: -.02em; }
.db-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.db-brand-text span { font-size: .72rem; opacity: .7; letter-spacing: .04em; }
.db-nav { display: flex; flex-direction: column; gap: 4px; }
.db-tab { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; min-height: 44px; transition: background .15s ease; }
.db-tab:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.db-tab-on { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 3px 0 0 #34d399; }
.db-tab-label { flex: 1; }
.db-count { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: #f97316; color: #fff; font-size: .75rem; font-weight: 800; display: inline-grid; place-items: center; }
.db-side-progress { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); }
.db-side-progress-text { display: flex; flex-direction: column; line-height: 1.25; }
.db-side-progress-text strong { font-size: 1.2rem; }
.db-side-progress-text span { font-size: .8rem; opacity: .8; }
.db-tabbar { display: none; }

/* rings */
.db-ring-track { stroke: rgba(148, 163, 184, .28); }
.db-ring-fill { stroke: #34d399; transition: stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1); }
.db-ring-warn .db-ring-fill { stroke: #f97316; }
.db-ring-ok .db-ring-fill { stroke: #10b981; }
.db-ring-mark { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.db-ring-progress .db-ring-track { stroke: rgba(255, 255, 255, .18); }

/* main */
.db-main { min-width: 0; outline: none; }
.db-view { animation: db-in .28s ease both; }
@keyframes db-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.db-view-head { margin: 4px 0 14px; }
.db-view-head h1 { margin: 8px 0 4px; font-size: clamp(1.4rem, 3.2vw, 1.8rem); letter-spacing: -.01em; }
.db-view-head p { margin: 0; }
.db-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.db-empty { color: var(--muted); padding: 20px 0; }

/* overview */
.db-hero { display: flex; gap: 18px; align-items: center; justify-content: space-between; background: radial-gradient(120% 160% at 0% 0%, #2d53c4 0%, var(--navy) 62%); color: #fff; border-radius: var(--r-lg); padding: 24px 22px; box-shadow: 0 14px 34px rgba(11, 31, 77, .28); margin-bottom: 20px; }
.db-hero h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 4.6vw, 2.4rem); letter-spacing: -.02em; }
.db-hero-meta { margin: 0 0 2px; opacity: .9; }
.db-hero-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.db-hero-progress { position: relative; flex: none; width: 96px; height: 96px; }
.db-hero-progress-num { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 850; font-size: 1.3rem; }
.db-hero-badge { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 2px solid rgba(110, 231, 183, .6); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: #6ee7b7; }
.db-hero-badge-big { font-size: 2.1rem; letter-spacing: -.02em; color: #fff; line-height: 1; margin-bottom: 4px; }
.db-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 8px 0 20px; }
.db-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); min-height: 132px; transition: transform .15s ease, box-shadow .15s ease; }
.db-tile:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 23, 42, .12); }
.db-tile-words { display: flex; flex-direction: column; gap: 2px; }
.db-tile-words span { font-size: .86rem; }
.db-tile-num { font-size: 2.3rem; font-weight: 850; line-height: 1; letter-spacing: -.03em; color: var(--warn); }
.db-tile-check .db-tile-num { color: var(--check); }
.db-tile-balances { grid-row: span 1; }
.db-gauge { position: relative; width: 88px; height: 88px; }
.db-gauge-num { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 850; font-size: 1.25rem; }
.db-over-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
.db-next { background: linear-gradient(135deg, #ecfdf5 0%, #fff 70%); border: 1px solid #a7f3d0; border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); }
.db-next .db-eyebrow { color: var(--good); }
.db-next h3 { margin: 0 0 6px; font-size: 1.25rem; }
.db-next p { margin: 0 0 14px; color: var(--muted); }
.db-start { display: inline-flex; align-items: center; gap: 8px; background: var(--good); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 12px; text-decoration: none; min-height: 44px; box-shadow: 0 8px 18px rgba(4, 120, 87, .25); }
.db-start:hover { background: #065f46; }
.db-tools-teaser { margin: 4px 0 8px; }

/* your steps */
.db-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.db-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); min-height: 60px; }
.db-step:hover { border-color: #c7d2fe; }
.db-step-num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #eef2ff; color: var(--accent); }
.db-step-progress .db-step-num { background: #fef3c7; color: #b45309; }
.db-step-done .db-step-num { background: var(--good); color: #fff; }
.db-step-bar { flex: none; width: 72px; height: 8px; border-radius: 99px; background: #e5e7eb; overflow: hidden; }
.db-step-fill { display: block; height: 100%; background: linear-gradient(90deg, #10b981, #059669); border-radius: 99px; }
.db-step-progress .db-step-fill { background: linear-gradient(90deg, #f59e0b, #d97706); }
.db-next { margin-bottom: 16px; }

/* lists */
.db-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; } /* rows never wider than the list, whatever the names */
/* Anything the dashboard hides stays hidden, whatever display its class gives it (e.g. Merged View search) */
.db-root [hidden] { display: none !important; }
.db-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 64px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .15s ease, box-shadow .15s ease; }
.db-item:hover { border-color: #c7d2fe; box-shadow: 0 6px 16px rgba(15, 23, 42, .08); }
.db-item-on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.db-item-words { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.db-item-words strong { overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; } /* a run-together creditor name wraps */
.db-item-words .db-muted { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.db-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.db-amount { font-weight: 800; color: var(--warn); }
.db-chev { color: #94a3b8; }
.db-item-done { opacity: .72; }
.db-item-done .db-item-words strong { text-decoration: line-through; text-decoration-color: #94a3b8; }
.db-item-plan { background: linear-gradient(135deg, #eef2ff, #fff); border-color: #c7d2fe; }
.db-item-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: var(--accent); }
.db-icon-alert, .db-icon-minus { background: var(--warn-bg); color: var(--warn); }
.db-icon-card { background: #fff7ed; color: #ea580c; }
.db-icon-bulb, .db-icon-check { background: var(--good-bg); color: var(--good); }
.db-icon-star { background: #fef3c7; color: #b45309; }
.db-chip { font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.db-chip-todo { background: #fff7ed; color: #c2410c; }
.db-chip-done { background: var(--good-bg); color: var(--good); }
.db-chip-progress { background: #fef3c7; color: #b45309; }
.db-summary-check { border-left: 4px solid var(--check); }
.db-summary-balances, .db-summary-collections, .db-summary-charge_offs, .db-summary-errors { border-left: 4px solid #f97316; }

/* list + detail */
.db-split { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 18px; align-items: start; }
/* styles.css hides sideways overflow on html and body; on body that makes it a scroll box, so nothing "sticky"
   could pin to the screen (the detail scrolled away with the page). clip hides the same overflow without that. */
body.dcs { overflow-x: clip; }
.db-split > .db-list { min-width: 0; }
/* Computer: the detail stays pinned beside the list and scrolls inside itself, so picking any account shows it
   right there without the page moving. (Phones: list or detail, see the container query below.) */
.db-pane { position: sticky; top: 16px; min-width: 0; outline: none; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 6px 14px; margin: -2px -6px 0; }
.db-pane-empty { display: grid; place-items: center; gap: 8px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 60px 20px; margin-top: 88px; }
.db-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); animation: db-up .3s ease both; }
@keyframes db-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.db-detail.db-tone-fix { border-top: 5px solid #f97316; }
.db-detail.db-tone-good { border-top: 5px solid #10b981; }
.db-detail-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.db-detail-title { flex: 1; min-width: 0; }
.db-detail-title h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.01em; }
.db-detail-title p { margin: 2px 0 0; }
.db-back { display: none; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; text-decoration: none; margin-bottom: 10px; min-height: 44px; }
.db-detail-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.db-done { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 2px solid var(--good); background: #fff; color: var(--good); font: inherit; font-weight: 800; cursor: pointer; }
.db-done-on { background: var(--good); color: #fff; }
.db-pop { animation: db-pop .45s ease; }
@keyframes db-pop { 40% { transform: scale(1.06); } }
.db-foot-note { flex-basis: 100%; margin: 0; font-size: .84rem; color: var(--muted); }
.db-status { flex-basis: 100%; }
.db-status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.db-status-opt { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.db-status-opt:hover { border-color: #c7d2fe; }
.db-status-on.db-w-0 { background: #f1f5f9; border-color: #94a3b8; }
.db-status-on.db-w-05 { background: #fef3c7; border-color: #f59e0b; color: #92400e; }
.db-status-on.db-w-1 { background: var(--good); border-color: var(--good); color: #fff; }
.db-rights { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--r-md); padding: 10px 14px; margin: 10px 0; }
.db-rights p { margin: 2px 0 0; font-weight: 600; }
.db-soon { background: #fefce8; border: 1px solid #fde68a; border-radius: var(--r-md); padding: 10px 14px; margin: 10px 0; }
.db-soon p { margin: 2px 0 0; }
.db-fcra { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--r-md); padding: 10px 14px; margin: 10px 0; }
.db-fcra p { margin: 2px 0 6px; }
.db-fcra ul { margin: 0; padding-left: 1.2em; }
.db-fcra li { margin: 4px 0; }
.db-fcra-line { display: block; font-size: .8rem; font-weight: 700; color: #b91c1c; }
.db-block-step { font-size: 1rem; margin: 18px 0 6px; padding-top: 10px; border-top: 1px solid #e2e8f0; }
.db-soon-line { display: block; font-size: .8rem; font-weight: 700; color: #a16207; }
.db-lead { margin: 14px 0 6px; font-weight: 800; font-size: 1.02rem; }
.db-form-note { margin: 8px 0 0; font-weight: 700; font-size: .92rem; }
.db-next-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; text-decoration: none; }
.db-pane .cs-plan-panel { margin: 0; box-shadow: none; border: 0; padding: 0; background: none; }

/* Check: quick review */
.db-check { max-width: 720px; }
.db-review-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.db-review-count { font-weight: 800; color: var(--check); white-space: nowrap; }
.db-track { flex: 1; height: 10px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.db-track-fill { height: 100%; background: linear-gradient(90deg, #f59e0b, #d97706); border-radius: 99px; transition: width .3s ease; }
.db-review-card { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid #f59e0b; border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow); animation: db-up .25s ease both; transition: opacity .2s ease, transform .2s ease; }
.db-review-card.db-leave { opacity: 0; transform: translateX(-24px); }
.db-review-kind { display: inline-block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--check); background: #fff7e6; padding: 4px 10px; border-radius: 99px; }
.db-review-value { font-size: clamp(1.3rem, 3.6vw, 1.7rem); font-weight: 800; margin: 12px 0 4px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.db-review-on { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .9rem; }
.db-review-q { font-weight: 700; font-size: 1.08rem; margin: 18px 0 12px; }
.db-review-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.db-big { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: 14px; font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; border: 2px solid var(--line); background: #fff; color: var(--ink); transition: transform .1s ease; }
.db-big:active { transform: scale(.98); }
.db-big-yes { border-color: #10b981; color: var(--good); }
.db-big-yes:hover, .db-big-yes.db-big-on { background: #10b981; color: #fff; }
.db-big-no { border-color: #f97316; color: var(--warn); }
.db-big-no:hover, .db-big-no.db-big-on { background: #f97316; color: #fff; }
.db-review-nav { display: flex; justify-content: space-between; margin-top: 10px; }
.db-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; padding: 0 4px; }
.db-review-done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); }
.db-review-done-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.db-review-done-head h2 { margin: 0; }
.db-review-done-head p { margin: 2px 0 0; }
.db-sub { margin: 18px 0 4px; font-size: 1.05rem; }
.db-call { border: 1px solid #fed7aa; background: #fffaf5; border-radius: var(--r-md); padding: 12px 14px; margin: 10px 0; }
.db-call-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.db-call-value { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.db-review-done .cs-btn { margin-top: 12px; }

/* merged view */
.db-mv-note { background: #f8fafc; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; margin: 0 0 14px; font-size: .9rem; }
.db-mv-note p { margin: 2px 0 0; color: var(--muted); }
.db-search { width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid #cbd5e1; font: inherit; margin: 12px 0 8px; background: #fff; }
.db-result-count { margin: 0 0 6px; font-size: .84rem; color: var(--muted); }
.db-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.db-filter { min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid #cbd5e1; background: #fff; font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; color: var(--ink); }
.db-filter-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.db-amount-plain { color: var(--ink); }
.db-mv-tag { white-space: nowrap; }
.db-detail > .db-mv-tag { margin-right: 12px; }
.db-mv-collection, .db-mv-charge_off, .db-mv-repossession, .db-mv-foreclosure, .db-mv-bankruptcy { background: #fee2e2; color: #b91c1c; }
.db-mv-past_due, .db-mv-late { background: #fef3c7; color: #b45309; }
.db-mv-good { background: var(--good-bg); color: var(--good); }
.db-mv-closed { background: #f1f5f9; color: #475569; }
.db-match-note { margin: 10px 0; padding: 8px 12px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-weight: 600; font-size: .9rem; }
.db-hist { margin: 14px 0; }
.db-hist-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.db-hist-row .cs-bureau-pill { flex: none; width: 34px; text-align: center; padding: 2px 0; }
.db-hist-cells { flex: 1; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; }
.db-hc { display: inline-block; height: 16px; border-radius: 3px; min-width: 8px; }
.db-hc-ok { background: #10b981; } .db-hc-late1 { background: #f59e0b; } .db-hc-late2 { background: #ea580c; }
.db-hc-bad { background: #b91c1c; } .db-hc-none { background: #e5e7eb; }
.db-hist-ends { display: flex; justify-content: space-between; margin-left: 42px; font-size: .74rem; color: var(--muted); }
.db-hist-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.db-hist-legend .db-hc { width: 12px; height: 12px; vertical-align: -1px; }
.db-mv-more { margin-top: 16px; }
.db-mv-group { margin: 14px 0 2px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.db-mv-summary { margin-bottom: 8px; }
.db-mv-more summary { cursor: pointer; }
.db-mv-more .cs-grid-title:empty { display: none; }

/* path switch */
.db-path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px; margin: 0 0 16px; box-shadow: var(--shadow); }
.db-path-title { display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.db-path-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #eef2f7; border-radius: 12px; padding: 4px; }
.db-path-opt { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 800; color: var(--muted); cursor: pointer; }
.db-path-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .15); }
.db-path-text { margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.db-path-compact { background: rgba(255, 255, 255, .08); border: 0; box-shadow: none; padding: 10px; margin: 0; }
.db-path-compact .db-path-title { color: rgba(255, 255, 255, .7); }
.db-path-compact .db-path-row { background: rgba(255, 255, 255, .12); }
.db-path-compact .db-path-opt { color: rgba(255, 255, 255, .8); font-size: .82rem; min-height: 36px; }
.db-path-compact .db-path-on { background: #fff; color: var(--navy); }
.db-path-note { margin: 10px 0 0; font-size: .88rem; color: var(--muted); }
.db-topbar { display: none; }

/* the one-time partner offer */
.db-modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 42, .45); display: grid; place-items: center; padding: 16px; animation: db-in .2s ease both; }
.db-modal { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 24px 60px rgba(15, 23, 42, .3); outline: none; }
.db-modal h2 { margin: 0 0 8px; font-size: 1.25rem; }
.db-modal p { margin: 0 0 10px; }
.db-offer-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.db-offer-list li { display: flex; gap: 8px; align-items: flex-start; }
.db-offer-list .cs-icon { color: var(--good); margin-top: 3px; }
.db-offer-price { font-weight: 800; }
.db-offer-free { margin-top: 10px !important; font-weight: 600; }
.db-modal-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.db-modal-btn { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 48px; text-align: center; }
.db-offer-inline { margin: 12px 0 0; }
@container db (max-width: 560px) { .db-modal-buttons { grid-template-columns: 1fr; } }

/* "we mail it for you" */
.db-mail-offer { border: 2px solid #c7d2fe; background: linear-gradient(135deg, #eef2ff, #fff); border-radius: var(--r-md); padding: 14px; margin: 12px 0; }
.db-mail-offer p { margin: 6px 0; }
.db-mail-offer .cs-btn { display: inline-flex; gap: 8px; align-items: center; margin: 4px 0; }
.db-mail-inline { margin: 0 0 12px; font-weight: 700; }
.db-mail-inline a { color: var(--accent); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.db-mail { max-width: 760px; }
.db-mail-title { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 0 0 10px; }
.db-mail-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; counter-reset: st; }
.db-mail-steps li { counter-increment: st; font-size: .78rem; font-weight: 700; color: var(--muted); background: #eef2f7; border-radius: 99px; padding: 4px 10px; }
.db-mail-steps li::before { content: counter(st) ". "; }
.db-mail-steps .db-mail-on { background: var(--navy); color: #fff; }
.db-mail-steps .db-mail-done { background: var(--good-bg); color: var(--good); }
.db-mail-card h2 { margin-top: 0; }
.db-mail-choice { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin: 6px 0; font-weight: 700; min-height: 44px; }
.db-mail-choice input { width: 20px; height: 20px; }
.db-mail-total { font-weight: 800; margin: 12px 0 4px; }
.db-mail-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.db-mail-nav .cs-btn:only-child { margin-left: auto; }
.db-mail-error:empty { display: none; }
.db-sig-tabs { max-width: 320px; margin-bottom: 8px; }
.db-sig-pad { display: block; width: 100%; max-width: 600px; aspect-ratio: 600 / 180; border: 1px dashed #94a3b8; border-radius: 12px; background: #fffbeb; touch-action: none; margin: 8px 0; }
.db-mail-upload { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 8px 0; }
.db-mail-upload p { margin: 2px 0 8px; }
.db-agreement { max-height: 340px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 8px 0; font-size: .9rem; background: #fafbfd; }
.db-agreement h3 { font-size: 1rem; margin: 10px 0 4px; }
.db-agreement p, .db-agreement li { margin: 4px 0; }
.db-agr-b { font-weight: 800; }
.db-mail-status { border: 2px solid #a7f3d0; background: var(--good-bg); border-radius: var(--r-md); padding: 12px 14px; margin: 12px 0; }
.db-mail-status p { margin: 4px 0; }
.db-mail-done { display: flex; align-items: center; gap: 10px; }
.db-mail-done h2 { margin: 0; }
.db-mail-waiting { margin-top: 10px; }
.db-card-frame { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; background: #fff; }

/* two ways to handle one account */
.db-choice { margin: 12px 0; }
.db-choice-intro { font-weight: 800; margin: 0 0 8px; }
.db-choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.db-choice-card { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; min-height: 88px; }
.db-choice-card strong { font-size: 1.05rem; }
.db-choice-card span { color: var(--muted); font-size: .9rem; }
.db-choice-card:hover { border-color: #c7d2fe; }
.db-choice-on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); background: #f8faff; }
.db-choice-body:empty { display: none; }
.db-choice-body { margin-top: 10px; }
.db-cost { font-size: .9rem; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; }

/* dispute letters */
.db-letter-link { margin-top: 10px; }
.db-letter-link .cs-btn { display: inline-flex; gap: 8px; align-items: center; }
.db-tips { margin: 4px 0 0; padding-left: 18px; }
.db-tips li { margin: 3px 0; }
.db-letter-view { max-width: 820px; }
.db-letter-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.db-back-show { display: inline-flex; margin: 0; }
.db-letter-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 14px; }
.db-letter-help .db-rights { margin: 0; }
.db-letter { background: #fff; color: #111827; border: 1px solid var(--line); border-radius: 8px; padding: 40px 44px; box-shadow: var(--shadow); font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.55; }
.db-letter p { margin: 0 0 12px; }
.db-letter-block { margin: 0 0 18px; }
.db-blank { display: flex; align-items: flex-end; gap: 8px; margin: 8px 0; }
.db-blank-label { white-space: nowrap; font-size: .92em; }
.db-blank-line { flex: 1; border-bottom: 1px solid #111827; min-height: 1.3em; }
.db-letter-re { font-weight: 700; }
.db-letter-items { padding-left: 20px; margin: 0 0 14px; }
.db-letter-items li { margin-bottom: 10px; }
.db-letter-items p { margin: 2px 0 0; }
.db-letter-own { margin: 0 0 14px; }
.db-own-words { width: 100%; box-sizing: border-box; font: inherit; border: 1px dashed #94a3b8; border-radius: 6px; padding: 8px; margin-top: 4px; }
.db-own-print { display: none; }
.db-letter-enc { font-size: .9em; margin-top: 18px; }
.db-directions { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 14px; }
.db-quick { margin: 4px 0 8px; padding-left: 20px; font-weight: 600; }
.db-quick li { margin: 2px 0; }
.db-fold { border-top: 1px solid var(--line); padding: 8px 0 0; margin-top: 8px; }
.db-fold summary { cursor: pointer; color: var(--accent); font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.db-fold .db-tips { margin-top: 4px; }
.db-fields-note { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: .86rem; color: #1e3a8a; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 8px 12px; }
.db-field { display: flex; align-items: flex-end; gap: 8px; margin: 6px 0; }
.db-field-input { flex: 1; min-width: 0; font: inherit; border: 1px solid #fde68a; background: #fffbeb; padding: 6px 10px; border-radius: 8px; min-height: 38px; }
.db-field-input:focus { outline: 2px solid #93c5fd; background: #fff; }
.db-field-print { display: none; }
.db-on-reports { margin: 2px 0 0; font-size: .9rem; color: #334155; }
.db-means { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: #f0f9ff; border: 1px solid #bae6fd; }
.db-means p { margin: 4px 0 0; font-size: 1rem; line-height: 1.5; color: #0f172a; }
.db-learn { margin-top: 18px; }
.db-learn .db-rights, .db-learn-hint { margin: 10px 0; }
.db-learn-hint p { margin: 4px 0 0; }
.db-ask-about { margin-top: 12px; }
.db-touring .db-detail { padding-bottom: 60vh; } /* the tour: scroll room below an item's last parts */
.db-ask-menu { display: flex; align-items: center; gap: 10px; width: 100%; margin: 6px 0 12px; padding: 11px 14px; border: 1px solid rgba(147, 197, 253, .45);
  border-radius: 12px; background: rgba(147, 197, 253, .12); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.db-ask-menu:hover { background: rgba(147, 197, 253, .22); }
.db-ask-menu svg, .db-ask-top svg { width: 20px; height: 20px; flex: none; }
.db-ask-top { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 99px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
.db-print-master { display: inline-flex; gap: 8px; align-items: center; margin: 4px 0 10px; }
.db-your-details { margin: 14px 0; padding: 14px 16px; border: 1px solid #fde68a; border-radius: 12px; background: #fffbeb; }
.db-field-static { flex: 1; min-height: 1.4em; border-bottom: 1px solid #94a3b8; }
.db-print-head { margin: 22px 0 6px; font-size: .92rem; }
.db-print-head a { margin-left: 6px; }
.db-print-stack .db-letter { margin-bottom: 18px; }
.db-ways-label { margin-top: 16px; }
.db-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 16px; }
.db-way { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.db-way strong { display: block; }
.db-way-cost { display: inline-block; margin: 4px 0; padding: 2px 8px; border-radius: 99px; background: #ecfdf5; color: #065f46; font-size: .8rem; font-weight: 800; }
.db-way p { margin: 4px 0 0; font-size: .9rem; color: #334155; }
.db-pick-needed { color: #b45309; font-weight: 700; }
.db-master-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.db-master-acts .cs-btn { display: inline-flex; gap: 8px; align-items: center; }
.db-tell-apart { display: block; font-size: .8rem; font-weight: 700; color: #475569; margin: 1px 0 2px; }
.db-letters-group { margin: 22px 0 4px; font-size: 1.05rem; }
.db-letter-h { font-weight: 700; margin-bottom: 4px !important; }
.db-letter-points { padding-left: 20px; margin: 0 0 12px; }
.db-letter-points li { margin-bottom: 6px; }
.db-kind-note { margin: 10px 0 0; }
.db-address-pick .cs-choice { text-align: left; }
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .db-view, .db-letter-view { opacity: 1 !important; transform: none !important; }
  body.dcs, .cs-main { background: #fff !important; }
  body * { visibility: hidden !important; }
  .db-letter, .db-letter * { visibility: visible !important; }
  .db-letter { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; padding: 0; }
  .db-own-words { display: none; }
  .db-fields-note { display: none; }
  .db-field-input { display: none; }
  .db-field-print { display: block; flex: 1; min-height: 1.4em; }
  .db-own-print { display: block; white-space: pre-wrap; }
  .db-letter-own .db-blank-label { display: none; }
  .db-letter-own:has(.db-own-print:empty) { display: none; }
  .db-field-bare .db-blank-label { display: none; }
  .db-field-opt:has(.db-field-print:empty) { display: none; }
  /* print all: every letter in the stack, each on its own page; the details box and headings stay on screen */
  .db-print-stack { position: absolute; left: 0; top: 0; width: 100%; }
  .db-print-stack .db-letter { position: static; margin: 0; }
  .db-print-stack .db-letter + .db-letter, .db-print-stack .db-print-head + .db-letter { break-before: page; }
  .db-print-stack .db-print-head:first-child + .db-letter { break-before: auto; }
  .db-print-head { display: none; }
}

/* tools */
.db-tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 16px; }
.db-tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); }

/* Loading placeholder (in the page before the Cheat Sheet arrives) */
.db-skeleton { display: grid; gap: 14px; }
.db-skeleton div { height: 110px; border-radius: 20px; background: linear-gradient(90deg, #e9edf5 25%, #f5f7fb 50%, #e9edf5 75%); background-size: 200% 100%; animation: db-shimmer 1.3s infinite linear; }
.db-skeleton div:first-child { height: 150px; }
@keyframes db-shimmer { to { background-position: -200% 0; } }
.cs-gate:not([hidden]) ~ #cs-sheet .db-skeleton { display: none; }

/* tablets and phones */
@container db (max-width: 899px) {
  .db-app { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .db-side { display: none; }
  .db-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
    background: rgba(11, 31, 77, .97); backdrop-filter: blur(8px); color: #fff; border-radius: 14px; padding: 8px 8px 8px 14px; margin: 0 0 14px; box-shadow: 0 6px 18px rgba(15, 23, 42, .18); }
  .db-topbar[hidden] { display: none; }
  .db-topbar-title { font-size: .92rem; white-space: nowrap; }
  .db-path-top { background: none; padding: 0; display: flex; align-items: center; }
  .db-path-top .db-path-title { display: none; }
  .db-path-top .db-path-row { min-width: 0; }
  .db-path-top .db-path-opt { min-height: 36px; padding: 0 10px; font-size: .78rem; white-space: nowrap; }
  .db-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(11, 31, 77, .97); backdrop-filter: blur(8px); padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); justify-content: space-around; box-shadow: 0 -8px 24px rgba(15, 23, 42, .2); }
  .db-tabbar .db-tab { flex: 1; flex-direction: column; gap: 2px; padding: 6px 2px; font-size: .72rem; min-height: 56px; justify-content: center; position: relative; border-radius: 12px; }
  .db-tabbar .db-tab-on { box-shadow: none; }
  .db-tabbar .db-tab-label { flex: none; }
  .db-tabbar .db-count { position: absolute; top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; font-size: .66rem; padding: 0 5px; }
  .db-over-grid { grid-template-columns: minmax(0, 1fr); }
  .db-split { grid-template-columns: minmax(0, 1fr); }
  .db-split .db-pane { position: static; max-height: none; overflow: visible; padding: 0; margin: 0; }
  .db-split:not(.db-has-detail) .db-pane { display: none; }
  .db-split.db-has-detail .db-list { display: none; }
  .db-mv-picked > .db-mv-summary, .db-mv-picked > .db-mv-extra { display: none; }
  .db-back { display: inline-flex; }
  .db-detail { padding: 16px; }
  .db-letter-help { grid-template-columns: 1fr; }
  .db-letter { padding: 22px 18px; }
}
@container db (max-width: 560px) {
  .db-hero { flex-direction: column; align-items: flex-start; padding: 20px 18px; }
  .db-hero-progress { position: absolute; top: 18px; right: 18px; width: 72px; height: 72px; }
  .db-hero-progress svg { width: 72px; height: 72px; }
  .db-hero-progress-num { font-size: 1rem; }
  .db-hero { position: relative; padding-right: 100px; }
  .db-step-bar { width: 44px; }
  .db-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .db-tile { min-height: 118px; padding: 14px; }
  .db-tile-balances { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .db-item { padding: 12px; gap: 10px; }
  .db-item-right .db-chip { display: none; }
  .db-item-right .db-mv-tag { display: inline-block; font-size: .64rem; padding: 2px 7px; }
  .db-review-card { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .db-view, .db-detail, .db-review-card { animation: none; }
  .db-ring-fill, .db-track-fill, .db-review-card { transition: none; }
  .db-skeleton div { animation: none; }
}

/* First-login training: dim the page, ring the real element, explain it in a card */
.db-tour-back { position: fixed; inset: 0; z-index: 90; background: transparent; }
.db-tour-back.db-tour-dim { background: rgba(15, 23, 42, .62); }
.db-tour-ring { position: fixed; z-index: 91; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 4px #34d399, 0 0 0 9999px rgba(15, 23, 42, .62); transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease; }
.db-tour-ring[hidden] { display: none; }
.db-tour-card { position: fixed; z-index: 92; background: #fff; color: var(--ink); border-radius: 16px; padding: 18px 20px 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .35); max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow: auto; outline: none; }
.db-tour-card.db-tour-center { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 32px)); }
.db-tour-card { max-height: calc(100vh - 16px); overflow-y: auto; overscroll-behavior: contain; } /* a long step on a small screen scrolls inside the card */
.db-tour-card h2 { font-size: 1.2rem; margin: 2px 0 8px; }
.db-tour-card p { margin: 0 0 10px; line-height: 1.5; }
.db-tour-count { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.db-tour-opts { display: grid; gap: 10px; margin: 6px 0 12px; }
.db-tour-opt { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line);
  background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.db-tour-opt strong { font-size: 1.02rem; }
.db-tour-opt span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.db-tour-opt:hover { border-color: #c7d2fe; }
.db-tour-opt-on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); background: #f8faff; }
.db-tour-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.db-tour-nav .cs-btn[disabled] { opacity: .45; cursor: not-allowed; }
.db-tour-again { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.db-tour-again p { margin: 4px 0 10px; }
@media (max-width: 700px) {
  .db-tour-card:not(.db-tour-center) { left: 12px !important; width: auto !important; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .db-tour-ring { transition: none; } }
@media print { .db-tour-back, .db-tour-ring, .db-tour-card { display: none !important; } }

/* Dispute on Demand: the queue, then its own form in a pop-up */
.db-dod-queue { width: min(620px, 100%); }
.db-dod-list { display: grid; gap: 8px; margin: 10px 0 12px; }
.db-dod-row { display: grid; grid-template-columns: 1fr minmax(170px, 220px); gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.db-dod-name { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.db-dod-name input { width: 18px; height: 18px; }
.db-dod-name strong { display: block; }
.db-dod-type { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.db-dod-form { width: min(760px, 100%); height: min(92vh, 900px); display: flex; flex-direction: column; padding: 14px; }
.db-dod-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.db-dod-head h2 { margin: 0; }
.db-dod-frame { flex: 1; width: 100%; border: 0; border-radius: 12px; background: #fff; min-height: 300px; }
.db-dod-done:not(:empty) { color: var(--good); font-weight: 700; margin: 0 0 6px; }
.db-dod-done:empty { display: none; }
@container db (max-width: 560px) {
  .db-dod-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .db-dod-form { width: 100%; height: 100%; max-height: none; border-radius: 0; }
}
/* the public demo's notes in place of paid-service forms */
.db-demo-note { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--r-md); padding: 16px 18px; margin: 12px 0; }
.db-demo-note h2 { margin: 0 0 6px; font-size: 1.1rem; }
.db-demo-note p, .db-demo-modal p { margin: 0; line-height: 1.5; }
.db-demo-modal h2 { margin: 0 0 8px; }

/* The public demo's banner (demo.html): one tidy row; on phones the extras sit behind "Options" */
.demo-bar { display: flex; align-items: center; gap: 10px 14px; padding: 8px 16px; background: #0b1f4d; color: #e2e8f0; position: relative; z-index: 30; }
.demo-logo img { height: 28px; display: block; }
.demo-pill { flex: none; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0b1f4d; background: #fde68a; border-radius: 999px; padding: 3px 9px; }
.demo-note { margin: 0; font-size: .88rem; color: #cbd5e1; flex: 1 1 auto; min-width: 0; }
.demo-inline { display: flex; align-items: center; gap: 14px; }
.demo-btn { font: inherit; font-weight: 700; font-size: .85rem; padding: 6px 13px; border-radius: 999px; border: 1px solid #93c5fd; background: transparent; color: #fff; cursor: pointer; white-space: nowrap; }
.demo-btn:hover { background: rgba(147,197,253,.15); }
.demo-link { color: #bfdbfe; font-size: .85rem; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.demo-link:hover { color: #fff; }
.demo-cta { flex: none; font-weight: 800; font-size: .88rem; padding: 7px 15px; border-radius: 999px; background: #22c55e; color: #052e16; text-decoration: none; white-space: nowrap; }
.demo-cta:hover { background: #16a34a; color: #fff; }
.demo-cta-short, .demo-pill-short { display: none; }
.demo-more { display: none; position: relative; }
.demo-more summary { list-style: none; cursor: pointer; font-size: .82rem; font-weight: 700; color: #fff; border: 1px solid #475569; border-radius: 999px; padding: 5px 11px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.demo-more summary::-webkit-details-marker { display: none; }
.demo-more summary::after { content: " \25BE"; }
.demo-more[open] summary::after { content: " \25B4"; }
.demo-panel { position: fixed; left: 12px; right: 12px; top: 54px; background: #0b1f4d; border: 1px solid #334155; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.demo-panel p { margin: 0; font-size: .85rem; color: #cbd5e1; line-height: 1.4; }
@media (max-width: 1100px) { .demo-note { display: none; } }
@media (max-width: 860px) {
  .demo-bar { padding: 7px 12px; gap: 8px; }
  .demo-inline { display: none; }
  .demo-more { display: block; }
  .demo-cta { margin-left: auto; font-size: .82rem; padding: 6px 13px; }
  .demo-cta-long, .demo-pill-long { display: none; }
  .demo-cta-short, .demo-pill-short { display: inline; }
  .demo-logo img { height: 24px; }
  .demo-bar > * { flex-shrink: 0; }
}
@media (max-width: 340px) { .demo-pill { display: none; } }

/* Sign out (client page only) */
.db-signout { margin-top: auto; background: none; border: 1px solid rgba(255, 255, 255, .28); color: #e2e8f0; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: .85rem; cursor: pointer; }
.db-signout:hover { background: rgba(255, 255, 255, .08); }
.db-tools-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.db-signout.db-signout-inline { margin-top: 0; color: var(--ink); border-color: var(--line); background: var(--surface); }
