/*
 * Author: Hariram S <ramhari4090@gmail.com>
 *
 * The eight drawn dashboards on the use-cases page, one per trade. Each is a
 * .db block made of the same pieces the app's dashboard builder offers (stat
 * cards, bar, line, area, scatter, donut, radial, histogram, table, filled and
 * symbol map, text blocks, annotations, filter chips, AI insight lines), drawn
 * in HTML, CSS and SVG so they stay sharp at any width and need no images.
 *
 * Each trade sets its own colours through custom properties on .db[data-t]
 * (--a1..--a4 for series, --glow and --tint for the frame), so one set of
 * rules draws all eight. Series hues are taken from the app's colour-blind-safe
 * chart palette; values and labels are always printed next to the marks, so
 * nothing is read from colour alone.
 *
 * Charts are laid out with percentages: bars, dots and annotation lines are
 * HTML positioned by --v/--x/--y, and line paths are SVG in a 0-100 box with
 * non-scaling strokes. That keeps the text out of the SVG, so labels stay at
 * a readable size on a phone instead of shrinking with the drawing.
 *
 * Entrance: scenes.js adds .in when a dashboard scrolls into view (it already
 * has data-rv). Only transform, opacity and stroke-dashoffset animate; under
 * prefers-reduced-motion the final state shows at once.
 *
 * Used by:
 *     landing/use-cases.html
 *
 * Depends on:
 *     landing/assets/chrome.css (--font, --mono)
 *     landing/assets/site.css   (--ease, html.js)
 *     landing/assets/scenes.js  (.in on [data-rv])
 */

.db {
  --bg: #0c0d10; --card: rgba(255, 255, 255, .035); --card-2: rgba(255, 255, 255, .06);
  --ink: #f2f2f3; --mut: #a5a6ae; --line: rgba(255, 255, 255, .09); --grid: rgba(255, 255, 255, .07);
  --a1: #56b4e9; --a2: #a99bea; --a3: #33c29a; --a4: #f5b942; --glow: rgba(86, 180, 233, .35); --tint: rgba(86, 180, 233, .16);
  --nodata: rgba(255, 255, 255, .07); --ok: #4cd6a5; --warn: #f5b942; --bad: #ff9a8a; --info: #56b4e9;
  position: relative; isolation: isolate; margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line); border-radius: 22px; padding: clamp(12px, 1.8vw, 22px);
  background: radial-gradient(90% 60% at 100% 0%, var(--tint), transparent 60%), radial-gradient(70% 50% at 0% 100%, var(--tint), transparent 70%), var(--bg);
  box-shadow: 0 50px 120px -60px var(--glow), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: var(--ink); font-size: 13px; line-height: 1.45; font-variant-numeric: tabular-nums;
}
.db::before {
  content: ""; position: absolute; z-index: -1; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, var(--glow), transparent 30%, transparent 70%, var(--glow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.db p { margin: 0; }
.db svg { display: block; overflow: visible; }

/* Light "app in light theme" frames (accountants, owners). */
.db.light {
  --bg: #fbfaf7; --card: #fff; --card-2: #f4f2ec; --ink: #17171a; --mut: #5d5e66; --line: rgba(20, 20, 30, .1); --grid: rgba(20, 20, 30, .07);
  --nodata: #e7e5df; --ok: #0b7a55; --warn: #8a5a00; --bad: #b4321f; --info: #0072b2;
  box-shadow: 0 50px 120px -50px var(--glow), 0 0 0 1px rgba(255, 255, 255, .06);
}
.db.light .db-c { box-shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 8px 24px -16px rgba(20, 20, 30, .18); }

/* Header: title, subtitle, viewer filter chips. */
.db-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; padding: 4px 4px 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.db-ttl { display: flex; align-items: center; gap: 12px; min-width: 0; }
.db-logo { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a1), var(--a2)); color: #0b0b0d; font: 700 13px/1 var(--font); box-shadow: 0 6px 20px -6px var(--glow); }
.db-title { font-size: clamp(16px, 1.7vw, 20px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.db-meta { color: var(--mut); font-size: 12.5px; margin-top: 2px; }
.db-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.db-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 12px; color: var(--mut); white-space: nowrap; }
.db-chip b { color: var(--ink); font-weight: 500; }
.db-chip svg { width: 12px; height: 12px; fill: currentColor; }
.db-chip.on { border-color: color-mix(in srgb, var(--a1) 60%, transparent); background: color-mix(in srgb, var(--a1) 14%, transparent); }

/* Grid of cards. */
.db-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.db-c { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 14px 16px 16px; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; }
.s6 { grid-column: span 6; } .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s9 { grid-column: span 9; } .s12 { grid-column: span 12; }
.r2 { grid-row: span 2; }
.db-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.db-h p:first-child { font-weight: 600; font-size: 13.5px; letter-spacing: -.01em; }
.db-h .db-tag { color: var(--mut); font-size: 11.5px; text-align: right; }
.db-mono { font-family: var(--mono); }

/* Stat cards: typed label, value and percent change; accent is the filled variant, inline has an icon. */
.db-k { color: var(--mut); font-size: 12px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.db-v { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-top: 8px; }
.db-v small { font-size: .5em; font-weight: 500; color: var(--mut); letter-spacing: 0; margin-left: 3px; }
.db-d { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--ink); background: color-mix(in srgb, var(--a1) 22%, transparent); }
.db-c.accent { background: linear-gradient(150deg, var(--a1), color-mix(in srgb, var(--a1) 55%, var(--a2))); border-color: transparent; color: #0b0b0d; box-shadow: 0 18px 40px -24px var(--glow); }
.db-c.accent .db-k, .db-c.accent .db-v small { color: rgba(11, 11, 13, .78); }
.db-c.accent .db-d { color: #0b0b0d; background: rgba(255, 255, 255, .35); }
.db-stat { display: flex; flex-direction: column; justify-content: space-between; min-height: 104px; }
.db-inl { display: flex; align-items: center; gap: 14px; height: 100%; }
.db-inl .db-v { margin: 0; font-size: clamp(20px, 1.9vw, 26px); }
.db-inl .db-k { margin-top: 2px; }
.db-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); color: var(--mut); }
.db-c.accent .db-ic { background: rgba(255, 255, 255, .3); color: #0b0b0d; }
.db-ic svg { width: 20px; height: 20px; fill: currentColor; }

/* Plot areas. Bars and dots read --v, --x, --y as percentages. */
.db-plot { position: relative; height: var(--h, 170px); background-image: linear-gradient(var(--grid) 1px, transparent 1px); background-size: 100% 25%; border-bottom: 1px solid var(--line); }
.db-plot.ylab { margin-left: 34px; margin-top: 8px; }
.db-y { position: absolute; left: -34px; width: 30px; text-align: right; font-size: 10.5px; color: var(--mut); transform: translateY(-50%); }
.db-bars { display: flex; gap: var(--gap, 8px); align-items: stretch; }
.db-b { position: relative; flex: 1 1 0; min-width: 0; }
.db-b > i { position: absolute; bottom: 0; left: var(--pad, 14%); right: var(--pad, 14%); height: var(--v); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--c, var(--a1)), color-mix(in srgb, var(--c, var(--a1)) 70%, transparent)); }
.db-b > em { position: absolute; left: -6px; right: -6px; bottom: calc(var(--v) + 4px); text-align: center; font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.db-b.grp { display: flex; gap: 3px; align-items: flex-end; padding: 0 clamp(2px, .8vw, 10px); }
.db-b.grp > i { position: relative; left: auto; right: auto; flex: 1; }
.db-b.dim > i { opacity: .45; }
.db-xl { display: flex; gap: var(--gap, 8px); margin-top: 7px; }
.db-xl.ylab { margin-left: 34px; }
.db-xl span { flex: 1 1 0; min-width: 0; text-align: center; font-size: 11px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-xl.sb { justify-content: space-between; }
.db-xl.sb span { flex: none; }
.db-hist { --gap: 2px; --pad: 0%; }
.db-hist .db-b > i { border-radius: 3px 3px 0 0; }

/* Annotations: threshold line, shaded range, point callout, floating text. */
.db-thr { position: absolute; left: 0; right: 0; bottom: var(--v); border-top: 1.5px dashed var(--tc, var(--warn)); z-index: 2; }
.db-thr span { position: absolute; right: 0; bottom: 3px; font-size: 10.5px; font-weight: 600; color: var(--tc, var(--warn)); background: var(--bg); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.db-thr.l span { right: auto; left: 0; }
.db-rng { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--rc, var(--a2)) 18%, transparent) 0 6px, color-mix(in srgb, var(--rc, var(--a2)) 8%, transparent) 6px 12px); border-inline: 1px solid color-mix(in srgb, var(--rc, var(--a2)) 45%, transparent); }
.db-rng span { position: absolute; top: 6px; left: 6px; font-size: 10.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.db-pt { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 3; }
.db-pt::before { content: ""; position: absolute; width: 11px; height: 11px; left: -5.5px; top: -5.5px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--pc, var(--a4)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc, var(--a4)) 25%, transparent); }
.db-pt span { position: absolute; bottom: 12px; left: var(--ox, -10px); white-space: nowrap; font-size: 10.5px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(6px); }
.db-pt.below span { bottom: auto; top: 12px; }
.db-pt.r span { left: auto; right: -10px; }
.db-pt.txt::before { display: none; }
.db-pt.txt span { bottom: auto; top: 0; left: 0; transform: translateX(-50%); }

/* Lines and areas: SVG in a 0-100 box; strokes keep their width when stretched. */
.db-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.db-svg path:not(.f) { vector-effect: non-scaling-stroke; fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.db-svg path.dash { stroke-dasharray: 5 4; stroke-width: 1.75; }
.db-dot { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--c, var(--a1)); border: 2px solid var(--bg); }
.db-lg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--mut); margin-bottom: 10px; }
.db-lg span { display: inline-flex; align-items: center; gap: 6px; }
.db-lg i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.db-lg i.ln { height: 3px; border-radius: 2px; }
.db-lg i.dsh { height: 0; border-top: 2px dashed var(--c); background: none; border-radius: 0; }
.db-lg b { color: var(--ink); font-weight: 600; }

/* Scatter: HTML dots positioned by --x/--y (percent from left / from bottom). */
.db-sc .db-s { position: absolute; left: var(--x); bottom: var(--y); width: 7px; height: 7px; margin: 0 0 -3.5px -3.5px; border-radius: 50%; background: color-mix(in srgb, var(--a1) 70%, transparent); border: 1px solid var(--a1); }
.db-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--mut); margin-top: 6px; }

/* Donut, pie and radial. */
.db-ring { display: flex; align-items: center; gap: 18px; }
.db-ring .db-svgw { position: relative; flex: none; width: var(--sz, 150px); aspect-ratio: 1; }
.db-ring svg { width: 100%; height: 100%; }
.db-ring circle { fill: none; transform-box: fill-box; transform-origin: center; }
.db-leg { display: grid; gap: 9px; flex: 1; min-width: 0; font-size: 12px; }
.db-leg li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; list-style: none; }
.db-leg i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.db-leg span { color: var(--mut); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-leg b { font-weight: 600; }
.db .db-leg { padding: 0; margin: 0; }

/* Tables with status pills. */
.db-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.db-t th { text-align: left; font-weight: 500; color: var(--mut); font-size: 11.5px; padding: 0 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.db-t td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.db-t tr:last-child td { border-bottom: 0; }
.db-t th:first-child, .db-t td:first-child { padding-left: 0; }
.db-t th:last-child, .db-t td:last-child { padding-right: 0; }
.db-t .r { text-align: right; }
.db-t tfoot td { font-weight: 600; border-top: 1px solid var(--line); border-bottom: 0; }
.db-p { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); }
.db-p::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.db-p.ok { --pc: var(--ok); } .db-p.warn { --pc: var(--warn); } .db-p.bad { --pc: var(--bad); } .db-p.info { --pc: var(--info); }

/* Map. */
.db-mapw { max-width: 400px; margin: 0 auto; }
.db-mapw svg { width: 100%; height: auto; }
.db-mapw path { stroke: var(--bg); stroke-width: .7; stroke-linejoin: round; }
.db-scale { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--mut); margin-top: 12px; }
.db-scale i { flex: 1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--a1) 22%, var(--bg)), var(--a1)); }
.db-bub { position: absolute; left: var(--x); top: var(--y); width: var(--r); height: var(--r); margin: calc(var(--r) / -2) 0 0 calc(var(--r) / -2); border-radius: 50%; background: color-mix(in srgb, var(--a1) 50%, transparent); border: 1px solid var(--a1); }


/* AI insight line under a chart, AI dashboard summary, text block. */
.db-ai { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 9px 11px; border-radius: 10px; background: color-mix(in srgb, var(--a2) 10%, transparent); border: 1px solid color-mix(in srgb, var(--a2) 28%, transparent); font-size: 12px; line-height: 1.45; }
.db-ai svg { flex: none; width: 14px; height: 14px; fill: var(--a2); margin-top: 1px; }
.db.light .db-ai svg { fill: color-mix(in srgb, var(--a2) 70%, #000); }
.db-sumh { display: inline-flex; gap: 6px; align-items: center; }
.db-sumh svg { width: 14px; height: 14px; fill: var(--a2); }
.db-sum { background: linear-gradient(160deg, color-mix(in srgb, var(--a2) 16%, var(--card)), var(--card) 70%); }
.db-sum ul { margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.db-sum li { list-style: none; display: grid; grid-template-columns: 18px 1fr; gap: 6px; font-size: 12.5px; }
.db-sum li::before { content: attr(data-n); font: 600 11px/18px var(--mono); color: var(--a2); }
.db.light .db-sum li::before { color: color-mix(in srgb, var(--a2) 70%, #000); }
.db-txt { font-size: 12.5px; color: var(--mut); }
.db-txt b { color: var(--ink); font-weight: 600; }
.db-sec { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mut); margin-top: 6px; }
.db-sec::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Trade colours. Series hues come from the app's chart palette (dark and light). */
.db[data-t="mkt"] { --a1: #e39bc4; --a2: #a99beA; --a3: #56b4e9; --a4: #f5b942; --glow: rgba(227, 107, 176, .5); --tint: rgba(227, 107, 176, .14); }
.db[data-t="ret"] { --a1: #f5b942; --a2: #f27c3a; --a3: #56b4e9; --a4: #e39bc4; --glow: rgba(245, 160, 50, .45); --tint: rgba(245, 160, 50, .13); }
.db[data-t="mfg"] { --bg: #0a0e12; --a1: #56b4e9; --a2: #33c29a; --a3: #f5b942; --a4: #f27c3a; --glow: rgba(56, 170, 230, .45); --tint: rgba(56, 170, 230, .12); }
.db[data-t="aud"] { --bg: #0e0c0c; --a1: #f27c3a; --a2: #56b4e9; --a3: #9ca3af; --a4: #e39bc4; --glow: rgba(242, 110, 58, .42); --tint: rgba(242, 110, 58, .11); }
.db[data-t="acc"] { --a1: #009e73; --a2: #6f5cc2; --a3: #c28600; --a4: #0072b2; --glow: rgba(0, 158, 115, .55); --tint: rgba(0, 158, 115, .08); }
.db[data-t="ba"] { --bg: #0b0b12; --a1: #a99bea; --a2: #56b4e9; --a3: #33c29a; --a4: #f5b942; --glow: rgba(140, 120, 255, .5); --tint: rgba(140, 120, 255, .14); }
.db[data-t="da"] { --bg: #07100d; --a1: #33c29a; --a2: #a99bea; --a3: #56b4e9; --a4: #e39bc4; --glow: rgba(51, 194, 154, .4); --tint: rgba(51, 194, 154, .1); }
.db[data-t="own"] { --bg: #fdf8f3; --a1: #d55e00; --a2: #6f5cc2; --a3: #0072b2; --a4: #c28600; --glow: rgba(255, 140, 80, .55); --tint: rgba(255, 150, 90, .12); }
.db[data-t="acc"] .db-logo, .db[data-t="own"] .db-logo { color: #fff; }
.db[data-t="acc"] .db-c.accent, .db[data-t="own"] .db-c.accent { color: #fff; }
.db[data-t="acc"] .db-c.accent .db-k, .db[data-t="own"] .db-c.accent .db-k { color: rgba(255, 255, 255, .95); }
.db[data-t="acc"] .db-c.accent .db-d, .db[data-t="own"] .db-c.accent .db-d { color: #fff; background: rgba(255, 255, 255, .2); }
.db[data-t="acc"] .db-c.accent { background: linear-gradient(150deg, #00805d, #0a6a6a); }
.db[data-t="own"] .db-c.accent { background: linear-gradient(150deg, #b84f00, #9a3d5c); }

/* Responsive: the card grid reflows; nothing scrolls sideways. */
@media (max-width: 1100px) {
  .db .s2 { grid-column: span 3; }
  .db .s3 { grid-column: span 6; } .db .s4, .db .s5, .db .s7, .db .s8 { grid-column: span 12; }
  .db .s6 { grid-column: span 6; }
  .db .s4.k4 { grid-column: span 6; }
  .db .r2 { grid-row: auto; }
}
@media (max-width: 760px) {
  .db .s6, .db .s9 { grid-column: span 12; }
  .db .s2 { grid-column: span 6; }
  .db .hide-s { display: none; }
}
@media (max-width: 480px) {
  .db { border-radius: 16px; }
  .db-g { gap: 8px; }
  .db-c { padding: 12px; }
  .db-chips { width: 100%; }
  .db-ring { flex-direction: column; align-items: stretch; }
  .db-ring .db-svgw { align-self: center; }
  .db-b > em { font-size: 10px; }
  .db .hide-xs { display: none; }
  .db-v { font-size: 22px; }
  .db-k { flex-wrap: wrap; gap: 4px; }
  .db-k > span:first-child { flex-basis: 100%; }
}

/* Entrance. Without .js the final state shows. */
html.js .db .db-b > i, html.js .db .db-hist .db-b > i { transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); transition-delay: calc(250ms + var(--i, 0) * 45ms); }
html.js .db .db-b > em, html.js .db .db-thr, html.js .db .db-pt, html.js .db .db-rng { opacity: 0; transition: opacity .6s ease; transition-delay: calc(800ms + var(--i, 0) * 45ms); }
html.js .db .db-svg path:not(.f) { transform: scaleX(0); transform-box: view-box; transform-origin: 0 0; transition: transform 1.6s var(--ease) .3s; }
html.js .db .db-svg path.f { opacity: 0; transition: opacity 1.2s ease .6s; }
html.js .db .db-dot, html.js .db .db-s, html.js .db .db-bub { opacity: 0; transform: scale(.2); transition: opacity .5s ease, transform .7s var(--ease); transition-delay: calc(400ms + var(--i, 0) * 25ms); }
html.js .db .db-ring circle.seg { stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.3s var(--ease); transition-delay: calc(300ms + var(--i, 0) * 120ms); }
html.js .db .db-mapw path { opacity: 0; transition: opacity .7s ease; transition-delay: calc(200ms + var(--i, 0) * 25ms); }
html.js .db .db-c { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--ci, 0) * 60ms); }
html.js .db.in .db-c, html.js .db.in .db-b > i, html.js .db.in .db-svg path:not(.f), html.js .db.in .db-dot, html.js .db.in .db-s, html.js .db.in .db-bub { opacity: 1; transform: none; }
html.js .db.in .db-b > em, html.js .db.in .db-thr, html.js .db.in .db-pt, html.js .db.in .db-rng, html.js .db.in .db-svg path.f, html.js .db.in .db-mapw path { opacity: 1; }
html.js .db.in .db-ring circle.seg { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html.js .db *, html.js .db *::before { transition: none !important; }
}

/* "Built from" caption under each dashboard: the builder pieces it uses. */
.db-cap { margin-top: 14px; font: 400 12.5px/1.6 var(--mono); color: var(--muted, #a1a1aa); max-width: 100ch; }
.db-cap b { font-weight: 500; color: #ededed; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; margin-right: 8px; }
.db-fill { display: flex; flex-direction: column; }
.db-fill .db-ring { flex: 1; }
