/* Birth Chart (Tool 1) — the five-level funnel. Loaded through the `styles:` list in birth-chart.njk, so it sits in <head>,
   BEFORE the tool kit's inline <style> blocks. Every rule is therefore scoped `.bc .x` (0,2,0), which beats both the kit's
   `.tk .x` / `.tk p` resets, and token overrides use `.tk.bc` so they win over the kit's `.tk { … }` declarations.
   Depends on tokens.css, partials/tool-kit-css.njk and partials/result-kit-css.njk. */

.tk.bc {
  /* Blueprint v3 tone shapes: flow cyan (triangle), friction amber (square), fusion violet (circle) */
  --tone-flow: var(--accent-moon, #0284C7);
  --tone-tension: var(--accent-numerology, #D97706);
  --tone-fusion: var(--accent-tarot, #7C3AED);
  --c-soft: #F8FAFC;
}
.bc .ic { width: 24px; height: 24px; flex: none; display: block; }
.bc .tk-empty li .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--c-accent); }
.bc .tone-flow { color: var(--tone-flow); }
.bc .tone-tension { color: var(--tone-tension); }
.bc .tone-fusion { color: var(--tone-fusion); }

/* Small uppercase card heading with an icon, used by Levels 2 and 3 */
.bc .bc-kicker { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 16px; }
.bc .bc-kicker .ic { width: 18px; height: 18px; color: var(--c-accent); }
.bc .bc-step { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent-ink); margin-bottom: 4px; }
.bc .bc-fine { margin-top: 12px; font-size: 0.8125rem; color: var(--c-muted); line-height: 1.45; }

/* ================= Level 1: verdict hero ================= */
.bc .bc-hero { container: bchero / inline-size; position: relative; overflow: hidden; padding: 24px 18px 20px; }
@media (min-width: 720px) { .bc .bc-hero { padding: 36px 40px 28px; } }
.bc .bc-hero-mark { position: absolute; right: -10%; top: -14%; width: min(70%, 460px); color: var(--c-accent); opacity: 0.06; pointer-events: none; }
.bc .bc-hero-mark svg { width: 100%; height: auto; stroke-width: 0.9; }
.bc .bc-hero > :not(.bc-hero-mark) { position: relative; }
.bc .bc-el-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--tone) 10%, #fff); border: 1px solid color-mix(in srgb, var(--tone) 30%, #fff); color: color-mix(in srgb, var(--tone) 80%, #000); font-size: 0.8125rem; font-weight: 700; }
.bc .bc-el-chip .ic { width: 16px; height: 16px; color: var(--tone); }
.bc .bc-title { margin-top: 18px; outline: none; }
.bc .bc-eyebrow { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent-ink); }
.bc .bc-nw { white-space: nowrap; }
.bc .bc-verdict { display: block; margin-top: 8px; font-size: clamp(2.25rem, 9.5cqw, 4.75rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; color: var(--c-ink); }

/* Core archetype lockup: Sun · Chart ruler · Dominant element, ruler centred and raised */
.bc .bc-lockup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; max-width: 620px; align-items: end; }
.bc .bc-badge { --tone: var(--c-accent); display: grid; justify-items: center; text-align: center; gap: 2px; padding: 14px 8px 12px; border-radius: var(--r-box); border: 1px solid color-mix(in srgb, var(--tone) 24%, #fff); background: color-mix(in srgb, var(--tone) 5%, #fff); min-width: 0; }
.bc .bc-badge.is-ruler { padding-top: 20px; padding-bottom: 16px; border-color: color-mix(in srgb, var(--tone) 40%, #fff); background: color-mix(in srgb, var(--tone) 9%, #fff); }
.bc .bc-badge.is-locked { border-style: dashed; background: var(--c-soft); }
.bc .bc-badge-g { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tone); border: 1px solid color-mix(in srgb, var(--tone) 30%, #fff); margin-bottom: 6px; }
.bc .bc-badge.is-ruler .bc-badge-g { width: 60px; height: 60px; }
.bc .bc-badge-g .ic { width: 26px; height: 26px; }
.bc .bc-badge-l { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.bc .bc-badge-v { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; overflow-wrap: anywhere; }
.bc .bc-badge.is-locked .bc-badge-v { font-size: 0.875rem; font-weight: 600; color: var(--c-muted); }
.bc .bc-badge-s { font-size: 0.8125rem; color: var(--c-muted); }
@media (max-width: 400px) { .bc .bc-badge-g { width: 44px; height: 44px; } .bc .bc-badge.is-ruler .bc-badge-g { width: 50px; height: 50px; } .bc .bc-badge-v { font-size: 0.9375rem; } }

.bc .bc-hook { margin-top: 24px; max-width: 30ch; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em; text-wrap: balance; }
.bc .bc-beat { margin-top: 10px; max-width: 60ch; font-size: 1rem; color: var(--c-muted); text-wrap: pretty; }
.bc .bc-hero .rh-meta { margin-top: 16px; font-size: 0.875rem; }
.bc .bc-hero .notes { margin-top: 14px; }

/* ================= Level 2: snackable stats ================= */
.bc .bc-funnel { container: bcfunnel / inline-size; }
.bc .bc-stats { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@container bcfunnel (min-width: 640px) {
  .bc .bc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc .bc-sig { grid-column: 1 / -1; }
}
.bc .bc-bars { display: grid; gap: 12px; }
.bc .bc-bar { --tone: var(--c-accent); display: grid; grid-template-columns: 96px minmax(0, 1fr) 46px; gap: 12px; align-items: center; font-size: 0.9375rem; }
.bc .bc-bar-l { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.bc .bc-bar-l .ic { width: 18px; height: 18px; color: var(--tone); }
.bc .bc-bar-t { height: 10px; border-radius: 999px; background: #EEF2F6; overflow: hidden; display: block; }
.bc .bc-bar-f { display: block; height: 100%; width: var(--w); background: var(--tone); border-radius: 999px; transform-origin: left; }
.bc .results.is-in .bc-bar-f { animation: bc-grow 0.9s var(--ease) 0.3s both; }
@keyframes bc-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bc .bc-bar-n { text-align: right; font-weight: 700; }
.bc .bc-bar.is-top .bc-bar-l, .bc .bc-bar.is-top .bc-bar-n { color: var(--c-ink); font-weight: 800; }
.bc .bc-bar:not(.is-top) .bc-bar-n { color: var(--c-muted); }
.bc .bc-rarity { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--c-accent-tint); border: 1px solid color-mix(in srgb, var(--c-accent) 20%, #fff); }
.bc .bc-rarity b { display: block; font-size: 1rem; font-weight: 800; color: var(--c-accent-ink); letter-spacing: -0.01em; }
.bc .bc-rarity small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--c-muted); }
.bc .bc-summary { margin-top: 16px; font-size: 0.9375rem; color: var(--c-muted); }
.bc .bc-summary b { color: var(--c-ink); }

/* Signature planet bento tile */
.bc .bc-sig { display: grid; gap: 20px; }
@container bcfunnel (min-width: 640px) { .bc .bc-sig { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; } }
.bc .bc-sig-main { display: flex; gap: 16px; align-items: flex-start; }
.bc .bc-sig-main .bc-kicker { margin-bottom: 6px; }
.bc .bc-sig-g { --tone: var(--c-accent); flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 8%, #fff); border: 1px solid color-mix(in srgb, var(--tone) 32%, #fff); color: var(--c-ink); }
.bc .bc-sig-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.bc .bc-sig-name .dim { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.bc .bc-sig-role { margin-top: 6px; font-size: 1rem; color: #334155; }
.bc .bc-sig .rk-tags { margin-top: 12px; }
.bc .bc-sig-side { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
@container bcfunnel (min-width: 640px) { .bc .bc-sig-side { border-top: 0; border-left: 1px solid var(--c-line); padding-left: 24px; } }
.bc .bc-mini { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.bc .bc-mini:last-child { border-bottom: 0; padding-bottom: 0; }
@container bcfunnel (min-width: 640px) { .bc .bc-mini:first-child { padding-top: 0; } }
.bc .bc-mini dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.bc .bc-mini dd { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 0.9375rem; }
.bc .bc-mini dd b { font-weight: 700; }
.bc .bc-mini-g { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--c-line); flex: none; color: var(--c-ink); }
.bc .bc-mini-g .ic { width: 18px; height: 18px; }
.bc .bc-mini.is-locked dd { color: var(--c-muted); }
.bc .bc-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.bc .bc-count { --tone: var(--c-muted); display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--tone) 30%, #fff); background: color-mix(in srgb, var(--tone) 7%, #fff); font-size: 0.875rem; }
.bc .bc-count .ic { width: 18px; height: 18px; color: var(--tone); }
.bc .bc-count b { font-weight: 800; font-size: 1rem; }
.bc .bc-count span { color: var(--c-muted); font-weight: 600; }

/* ================= Level 3: Big Three + dynamics ================= */
.bc .big3 { display: grid; gap: 12px; }
@media (min-width: 720px) { .bc .big3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bc .b3 { --tone: var(--c-accent); display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-box); background: color-mix(in srgb, var(--tone) 6%, #fff); border: 1px solid color-mix(in srgb, var(--tone) 22%, #fff); min-width: 0; }
.bc .b3-label { grid-column: 2; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--c-muted); }
.bc .b3-tag { grid-column: 2; font-size: 0.8125rem; font-weight: 600; color: color-mix(in srgb, var(--tone) 75%, #000); }
.bc .b3-glyph { grid-column: 1; grid-row: 1 / 5; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tone); border: 1px solid color-mix(in srgb, var(--tone) 30%, #fff); }
.bc .b3-glyph .ic { width: 26px; height: 26px; }
.bc .b3-sign { grid-column: 2; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.bc .b3-sign .or { font-size: 0.875rem; font-weight: 600; color: var(--c-muted); }
.bc .b3-pos { grid-column: 2; font-size: 0.9375rem; color: var(--c-muted); }
.bc .b3-text { grid-column: 1 / -1; margin-top: 12px; font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--c-ink); }
.bc .b3.is-locked { --tone: var(--c-muted); background: var(--c-soft); border-style: dashed; }
.bc .b3.is-locked .b3-sign { font-size: 1.0625rem; }
.bc .b3.is-locked .b3-text { font-weight: 400; color: var(--c-muted); }
@media (min-width: 720px) {
  .bc .b3 { display: block; padding: 20px; }
  .bc .b3-tag { margin-top: 2px; }
  .bc .b3-glyph { width: 60px; height: 60px; margin: 14px 0 12px; }
}
.bc .bc-dyn { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 720px) { .bc .bc-dyn { grid-template-columns: 1fr 1fr; } }
.bc .bc-dyn-col { padding: 18px 20px; border-radius: var(--r-box); border: 1px solid var(--c-line); background: #fff; }
.bc .bc-dyn-h { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.bc .bc-dyn-h .ic { width: 18px; height: 18px; }
.bc .is-up .bc-dyn-h { color: var(--el-earth); }
.bc .is-down .bc-dyn-h { color: var(--tone-tension); }
.bc .bc-dyn-col ul { display: grid; gap: 10px; }
.bc .bc-dyn-col li { position: relative; padding-left: 18px; font-size: 0.9375rem; line-height: 1.45; color: #334155; }
.bc .bc-dyn-col li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: 0.35; }
.bc .is-up li::before { background: var(--el-earth); opacity: 1; border-radius: 50%; }
.bc .is-down li::before { background: var(--tone-tension); opacity: 1; }
.bc .bc-dyn-col li b { color: var(--c-ink); font-weight: 700; }

/* ================= Level 4: the wheel ================= */
.bc .bc-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; }
.bc .bc-sec-head .card-sub { margin-bottom: 0; max-width: 56ch; }
.bc .bc-toggles { display: flex; gap: 8px; }
.bc .bc-toggle { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--c-muted); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.bc .bc-toggle .ic { width: 16px; height: 16px; }
.bc .bc-toggle[data-toggle="flow"] .ic { color: var(--tone-flow); }
.bc .bc-toggle[data-toggle="friction"] .ic { color: var(--tone-tension); }
.bc .bc-toggle[aria-pressed="true"] { color: var(--c-ink); border-color: color-mix(in srgb, var(--c-ink) 30%, #fff); background: var(--c-soft); }
.bc .bc-toggle[aria-pressed="false"] { text-decoration: line-through; }
.bc .bc-toggle:hover { border-color: var(--c-ink); }

.bc .wc-grid { display: grid; gap: 20px; margin-top: 16px; }
/* Side-by-side only when the CARD is wide (a viewport query misfires: from 980px the form becomes a sidebar). */
.bc .wc-card { container: wc / inline-size; }
@container wc (min-width: 820px) { .bc .wc-grid { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); align-items: start; } }
.bc .wheel-host { width: 100%; max-width: 640px; margin: 0 auto; }
.bc .wheel-svg { width: 100%; height: auto; display: block; overflow: visible; user-select: none; -webkit-tap-highlight-color: transparent; }
.bc .wheel-svg .pl { cursor: pointer; outline: none; transition: opacity 0.2s; }
.bc .wheel-svg .pl .halo { transition: fill 0.15s, stroke 0.15s; }
.bc .wheel-svg .pl:hover .halo { fill: var(--c-accent-tint); stroke: var(--c-accent); stroke-width: 1.5; }
.bc .wheel-svg .pl:focus-visible .halo { fill: var(--c-accent-tint); stroke: var(--c-accent); stroke-width: 3; }
.bc .wheel-svg .pl.sel .halo { fill: var(--c-accent-tint); stroke: var(--c-accent); stroke-width: 2.2; }
.bc .wheel-svg .asp { transition: stroke-opacity 0.2s, stroke-width 0.2s; }
.bc .wheel-svg.has-sel .asp { stroke-opacity: 0.08; }
.bc .wheel-svg.has-sel .asp.on { stroke-opacity: 1; stroke-width: 2.6; }
.bc .wheel-svg .asp.is-off { display: none; }
.bc .wheel-svg.has-sel .pl:not(.sel):not(.rel) { opacity: 0.32; }
.bc .results.is-in .wheel-svg .planets .pl { animation: bc-fade 0.5s ease both; animation-delay: calc(0.25s + var(--i, 0) * 45ms); }
.bc .results.is-in .wheel-svg .aspects { animation: bc-fade 0.8s ease 0.5s both; }
@keyframes bc-fade { from { opacity: 0; } to { opacity: 1; } }

.bc .inspector { border: 1px solid var(--c-line); border-radius: var(--r-box); background: color-mix(in srgb, var(--c-accent) 3%, #fff); padding: 18px; min-height: 200px; }
.bc .ins-empty { display: grid; place-items: center; text-align: center; gap: 12px; min-height: 160px; color: var(--c-muted); font-size: 0.9375rem; }
.bc .ins-empty b { color: var(--c-ink); }
.bc .ins-ring { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--c-field); color: var(--c-muted); }
.bc .ins-head { display: flex; align-items: center; gap: 12px; }
.bc .ins-head > div { flex: 1; min-width: 0; }
.bc .ins-glyph { --tone: var(--c-accent); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid color-mix(in srgb, var(--tone) 35%, #fff); color: var(--c-ink); flex: none; }
.bc .ins-head h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.bc .ins-meta { color: var(--c-muted); font-size: 0.9375rem; }
.bc .ins-close { width: 36px; height: 36px; border: 1px solid var(--c-line); background: #fff; border-radius: 10px; cursor: pointer; display: grid; place-items: center; color: var(--c-muted); }
.bc .ins-close:hover { color: var(--c-ink); background: #F1F5F9; }
.bc .ins-close .ic { width: 16px; height: 16px; }
.bc .ins-theme { margin-top: 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent-ink); }
.bc .ins-text { margin-top: 6px; font-size: 1rem; }
.bc .ins-house { margin-top: 10px; font-size: 0.9375rem; color: var(--c-muted); }
.bc .ins-house b { color: var(--c-ink); }
.bc .ins-aspects { display: grid; gap: 6px; }
.bc .ins-aspects li { --tone: var(--c-muted); display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--c-line); font-size: 0.9375rem; }
.bc .ins-aspects svg { color: var(--tone); }
.bc .legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 0.8125rem; color: var(--c-muted); }
.bc .legend li { display: inline-flex; align-items: center; gap: 6px; }
.bc .legend .ic { width: 16px; height: 16px; }

/* ================= Level 5: deep dive ================= */
.bc .ptable { width: 100%; border-collapse: collapse; margin-top: 12px; }
.bc .ptable th, .bc .ptable td { padding: 10px 8px; text-align: left; vertical-align: middle; border-top: 1px solid var(--c-line); font-weight: 400; }
.bc .ptable thead th { border-top: 0; padding-bottom: 8px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--c-muted); }
.bc .ptable tbody tr { cursor: pointer; transition: background 0.15s; }
.bc .ptable tbody tr:hover, .bc .ptable tbody tr.sel { background: var(--c-accent-tint); }
.bc .ptable td.num { white-space: nowrap; }
.bc .row-btn { all: unset; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.bc .row-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-accent) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
.bc .tn b { font-weight: 700; display: block; line-height: 1.2; }
.bc .tn small { color: var(--c-muted); font-size: 0.8125rem; }
.bc .sg { --tone: var(--c-ink); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.bc .sg svg { color: var(--tone); }
.bc .rx { display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; color: var(--el-fire); background: color-mix(in srgb, var(--el-fire) 10%, #fff); border-radius: 6px; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; cursor: help; }
@media (max-width: 560px) {
  .bc .ptable th, .bc .ptable td { padding: 9px 4px; font-size: 0.9375rem; }
  .bc .tn small { display: none; }
}
@media (max-width: 420px) {
  .bc .ptable .sg svg, .bc .ptable .gl { display: none; }
  .bc .ptable thead th { font-size: 0.6875rem; letter-spacing: 0.03em; }
}

.bc .agrid-wrap { max-width: 520px; margin: 16px 0 0; }
.bc .agrid { border-collapse: collapse; table-layout: fixed; width: 100%; }
.bc .agrid th { height: 26px; padding: 0; color: var(--c-muted); border: 0; font-weight: 400; }
.bc .agrid th svg { margin: 0 auto; }
.bc .agrid td { height: 30px; padding: 0; border: 1px solid var(--c-line); }
.bc .agrid td.ag-void, .bc .agrid td.ag-corner { border: 0; }
.bc .agrid td.ag-none span { display: block; width: 3px; height: 3px; border-radius: 50%; background: #CBD5E1; margin: 0 auto; }
.bc .ag { all: unset; box-sizing: border-box; width: 100%; height: 100%; min-height: 28px; display: grid; place-items: center; cursor: pointer; color: var(--tone); transition: background 0.15s; }
.bc .ag:hover, .bc .ag.on { background: color-mix(in srgb, var(--tone) 14%, #fff); }
.bc .ag:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }
.bc .ag svg { width: 100%; max-width: 18px; height: auto; }
.bc .alist { display: grid; gap: 8px; }
.bc .al { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 12px; cursor: pointer; background: #fff; transition: background 0.15s, border-color 0.15s; }
.bc .al:hover, .bc .al.on { background: color-mix(in srgb, var(--tone) 7%, #fff); border-color: color-mix(in srgb, var(--tone) 35%, #fff); }
.bc .al:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-accent) 55%, transparent); outline-offset: 2px; }
.bc .al-gl { display: inline-flex; align-items: center; gap: 2px; color: var(--c-ink); }
.bc .al-gl svg:nth-child(2) { color: var(--tone); margin: 0 4px; }
.bc .al-tx b { font-weight: 700; display: block; font-size: 0.9375rem; line-height: 1.3; }
.bc .al-tx small { color: var(--c-muted); font-size: 0.8125rem; display: block; }
.bc .al-orb { text-align: right; font-weight: 700; font-size: 0.9375rem; }
.bc .al-orb small { display: block; color: var(--c-muted); font-weight: 500; font-size: 0.75rem; }
@media (max-width: 480px) { .bc .al-gl { display: none; } .bc .al { grid-template-columns: minmax(0, 1fr) auto; } }
.bc .alist-wrap { margin-top: 24px; }

.bc .facts { display: grid; gap: 0; margin-top: 12px; }
.bc .facts > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--c-line); }
.bc .facts > div:first-child { border-top: 0; padding-top: 0; }
.bc .facts dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--c-muted); }
.bc .facts dd { font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.9375rem; }
.bc .facts .gl, .bc .moon-ic { display: inline-flex; }
.bc .houses { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 720px) { .bc .houses { grid-template-columns: 1fr 1fr; gap: 8px 16px; } }
.bc .houses li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 12px; }
.bc .hn { width: 30px; height: 30px; border-radius: 50%; background: var(--c-accent-tint); color: var(--c-accent-ink); display: grid; place-items: center; font-weight: 800; font-size: 0.875rem; flex: none; }
.bc .ht { display: grid; gap: 1px; min-width: 0; }
.bc .ht small { color: var(--c-muted); font-size: 0.8125rem; }
.bc .disclaimer { text-align: center; font-size: 0.8125rem; color: var(--c-muted); padding: 8px 12px; }

@media (prefers-reduced-motion: reduce) {
  .bc .bc-bar-f, .bc .wheel-svg .pl, .bc .wheel-svg .aspects { animation: none !important; }
}

.bc .bc-table-link {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-chart, #6366F1);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.bc .bc-table-link:hover {
  filter: brightness(1.2);
}

.bc .b3-link-row,
.bc .ins-sub-link {
  margin-top: 10px;
}

.bc .bc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-chart, #6366F1);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bc .bc-card-link:hover {
  filter: brightness(1.2);
}

