.bdct { --bd-fg: #1c1c1c; --bd-muted: #5f5f5f; --bd-line: #e2e0dc; --bd-panel: #ffffff; --bd-bg: #f6f5f2; --bd-radius: 8px;
  color: var(--bd-fg); background: var(--bd-bg); font-family: inherit; font-size: 16px; line-height: 1.5; padding: clamp(12px, 2.5vw, 28px); border-radius: var(--bd-radius); max-width: 1320px; margin: 0 auto; box-sizing: border-box; }
.bdct *, .bdct *::before, .bdct *::after { box-sizing: border-box; }
.bdct h2, .bdct h3, .bdct h4, .bdct p { margin: 0; padding: 0; border: 0; text-transform: none; letter-spacing: normal; }
.bdct h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; color: var(--bd-fg); }
.bdct h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.35rem; line-height: 1.2; margin: 0 0 6px; color: var(--bd-fg); }
.bdct h4 { font-size: 0.8rem; font-weight: 600; color: var(--bd-muted); margin: 16px 0 4px; }
.bdct a { color: inherit; text-decoration: underline; }
.bdct button, .bdct select, .bdct input { font: inherit; }
.bdct .bdct-loading { color: var(--bd-muted); padding: 40px 0; text-align: center; }
.bdct .bdct-lede { color: var(--bd-muted); max-width: 72ch; margin-bottom: 18px; }
.bdct .bdct-lede b { color: var(--bd-fg); font-variant-numeric: tabular-nums; }
.bdct .bdct-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--bd-line); margin-bottom: 18px; }
.bdct .bdct-tab { background: none; border: none; border-bottom: 2px solid transparent; color: var(--bd-muted); padding: 8px 14px; cursor: pointer; margin-bottom: -1px; font-size: 1rem; border-radius: 0; box-shadow: none; }
.bdct .bdct-tab[aria-selected="true"] { color: var(--bd-fg); border-bottom-color: var(--bd-fg); font-weight: 600; }
.bdct .bdct-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); gap: 14px; margin-bottom: 18px; }
.bdct .bdct-tile { border-top: 2px solid var(--bd-fg); padding-top: 8px; }
.bdct .bdct-tile .n { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1.1; display: block; font-variant-numeric: tabular-nums; }
.bdct .bdct-tile .l { font-size: 0.8rem; color: var(--bd-muted); display: block; margin-top: 2px; }
.bdct .bdct-card { background: var(--bd-panel); border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 18px; min-width: 0; }
.bdct .bdct-gap { margin-bottom: 18px; }
.bdct .bdct-note { font-size: 0.8rem; color: var(--bd-muted); margin-bottom: 12px; line-height: 1.45; }
.bdct .bdct-muted { color: var(--bd-muted); }
.bdct .bdct-muted-svg { fill: var(--bd-muted); }
.bdct svg text { fill: currentColor; }
.bdct svg text.bdct-muted-svg { fill: var(--bd-muted); }
.bdct .bdct-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.bdct .bdct-chips { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.bdct .bdct-chip { font-size: 0.8rem; border: 1px solid var(--bd-line); background: var(--bd-panel); color: var(--bd-fg); border-radius: 999px; padding: 4px 10px 4px 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; line-height: 1.3; box-shadow: none; text-transform: none; }
.bdct .bdct-chip .sw { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.bdct .bdct-chip[aria-pressed="false"] { opacity: .4; }
.bdct select, .bdct input[type="search"] { font-size: 0.8rem; padding: 6px 8px; border: 1px solid var(--bd-line); border-radius: 6px; background: var(--bd-panel); color: var(--bd-fg); height: auto; width: auto; max-width: 100%; margin: 0; }
.bdct input[type="search"] { min-width: 12rem; flex: 1 1 12rem; }
.bdct .bdct-chk { font-size: 0.8rem; display: inline-flex; gap: 6px; align-items: center; color: var(--bd-muted); margin: 0; }
.bdct .bdct-reset { font-size: 0.8rem; background: none; border: none; color: var(--bd-muted); text-decoration: underline; cursor: pointer; padding: 4px; box-shadow: none; }
.bdct button:focus-visible, .bdct select:focus-visible, .bdct input:focus-visible, .bdct circle:focus-visible, .bdct tr:focus-visible { outline: 2px solid var(--bd-fg); outline-offset: 2px; }
.bdct .bdct-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: 18px; }
@media (max-width: 860px) { .bdct .bdct-main { grid-template-columns: 1fr; } }
.bdct .bdct-modes { display: inline-flex; border: 1px solid var(--bd-line); border-radius: 6px; overflow: hidden; margin: 6px 0 8px; }
.bdct .bdct-mode { font-size: 0.8rem; background: var(--bd-panel); color: var(--bd-muted); border: none; border-radius: 0; padding: 5px 10px; cursor: pointer; box-shadow: none; }
.bdct .bdct-mode[aria-pressed="true"] { background: var(--bd-fg); color: #fff; }
.bdct .bdct-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.75rem; color: var(--bd-muted); margin: 4px 0 10px; }
.bdct .bdct-legend span { display: inline-flex; align-items: center; gap: 5px; }
.bdct .rk { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.bdct .bdct-map { position: relative; min-height: 420px; }
.bdct .bdct-map svg, .bdct .c-timeline svg, .bdct .c-div svg, .bdct .c-balance svg, .bdct .c-stack svg { display: block; max-width: 100%; height: auto; }
.bdct .dist { stroke: #fff; stroke-width: .6; cursor: pointer; }
.bdct .dist.sel { stroke: var(--bd-fg); stroke-width: 1.6; }
.bdct .pin { cursor: pointer; stroke: #fff; stroke-width: 1.2; }
.bdct .pin.sel { stroke: var(--bd-fg); stroke-width: 2.4; }
.bdct .bdct-tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--bd-line); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.12); padding: 6px 9px; font-size: 0.75rem; max-width: 16rem; line-height: 1.35; z-index: 5; color: var(--bd-fg); }
.bdct .bdct-tip .d { color: var(--bd-muted); display: block; }
.bdct .bdct-shown { font-size: 0.8rem; color: var(--bd-muted); margin-top: 8px; }
.bdct .bdct-detail .bdct-meta { font-size: 0.8rem; color: var(--bd-muted); margin-bottom: 8px; }
.bdct .bdct-badge { display: inline-flex; align-items: center; font-size: 0.75rem; border: 1px solid var(--bd-line); border-radius: 999px; padding: 2px 8px; margin: 0 6px 6px 0; }
.bdct .sw2 { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; flex: none; }
.bdct .bdct-detail p { font-size: 0.95rem; line-height: 1.55; }
.bdct .bdct-detail ul { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; line-height: 1.5; }
.bdct .bdct-detail li { margin-bottom: 4px; }
.bdct .dt { color: var(--bd-muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.bdct .bdct-prompt { color: var(--bd-muted); }
.bdct .bdct-resp { border-left: 3px solid var(--bd-line); padding: 6px 0 6px 10px; margin: 6px 0; font-size: 0.95rem; }
.bdct .bdct-resp .who { font-size: 0.75rem; color: var(--bd-muted); display: block; }
.bdct .bdct-linkbtn { font-size: 0.75rem; background: var(--bd-panel); border: 1px solid var(--bd-line); border-radius: 999px; padding: 3px 10px; margin: 4px 6px 0 0; cursor: pointer; color: var(--bd-fg); display: inline-flex; align-items: center; text-align: left; box-shadow: none; text-transform: none; line-height: 1.35; }
.bdct .bdct-tablewrap { max-height: 32rem; overflow: auto; }
.bdct table { width: 100%; border-collapse: collapse; font-size: 0.8rem; margin: 0; border: 0; }
.bdct th { position: sticky; top: 0; background: var(--bd-panel); text-align: left; font-weight: 600; color: var(--bd-muted); padding: 6px 8px; border: 0; border-bottom: 1px solid var(--bd-line); white-space: nowrap; }
.bdct td { padding: 7px 8px; border: 0; border-bottom: 1px solid var(--bd-line); vertical-align: top; line-height: 1.4; background: none; }
.bdct .num { text-align: right; font-variant-numeric: tabular-nums; }
.bdct tr.click { cursor: pointer; }
.bdct tr.click:hover, .bdct tr.on { background: var(--bd-bg); }
.bdct tr.on { box-shadow: inset 3px 0 0 var(--bd-fg); }
.bdct .bdct-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 14px; margin-bottom: 18px; }
.bdct .bdct-rcards { display: grid; gap: 14px; }
.bdct .bdct-rcard { background: var(--bd-panel); border: 1px solid var(--bd-line); border-radius: var(--bd-radius); padding: 18px; }
.bdct .bdct-rcard.on { box-shadow: inset 3px 0 0 var(--bd-fg); }
.bdct .bdct-rcard h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.bdct .bdct-rcard .bdct-meta { font-size: 0.75rem; color: var(--bd-muted); }
.bdct .bdct-rcard p { font-size: 0.95rem; line-height: 1.55; margin-top: 6px; }
.bdct .bdct-eff { display: inline-block; font-size: 0.75rem; border-radius: 999px; padding: 2px 9px; border: 1px solid; }
.bdct .bdct-rcard .src { font-size: 0.75rem; color: var(--bd-muted); margin-top: 8px; }
.bdct .c-timeline { position: relative; }
.bdct .tl-dot { cursor: pointer; stroke: #fff; stroke-width: 1.5; }
.bdct .tl-dot.on { stroke: var(--bd-fg); stroke-width: 2.5; }
.bdct .bdct-method { font-size: 0.8rem; color: var(--bd-muted); line-height: 1.6; max-width: 80ch; margin-top: 18px; }
.bdct .bdct-method p { margin-bottom: 8px; }
.bdct .bdct-method b { color: var(--bd-fg); }
@media (max-width: 640px) { .bdct .hide-sm { display: none; } .bdct .bdct-tile .n { font-size: 1.6rem; } }
