.bt-panel {
  --bt-accent: #55e9ff;
  --bt-accent-2: #2e7dff;
  --bt-rgb: 85, 233, 255;
  --bt-line: rgba(101, 181, 231, 0.22);
  --bt-muted: #89a8c1;
  --bt-text: #eaf7ff;
  --bt-soft-text: #b9d5e7;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 22px 0;
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid rgba(75, 165, 228, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% -8%, rgba(26, 131, 207, 0.2), transparent 32%),
    radial-gradient(circle at 92% 1%, rgba(48, 76, 205, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(6, 28, 51, 0.98), rgba(3, 16, 31, 0.99) 68%);
  box-shadow: 0 24px 70px rgba(0, 8, 22, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  color: var(--bt-text);
}

.bt-panel::before {
  position: absolute;
  z-index: -1;
  top: -2px;
  left: 8%;
  width: 44%;
  height: 3px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, transparent, #2f87ff 22%, #3deaff 68%, transparent);
  box-shadow: 0 0 22px rgba(61, 234, 255, 0.7);
  content: "";
}

.bt-panel::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(111, 190, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 190, 235, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 42%);
  content: "";
  pointer-events: none;
}

.bt-panel[hidden] { display: none !important; }
.bt-panel *, .bt-panel *::before, .bt-panel *::after { box-sizing: border-box; }
.bt-panel button { font: inherit; cursor: pointer; }
.bt-panel h2, .bt-panel h3, .bt-panel h4, .bt-panel p, .bt-panel dl, .bt-panel dd { margin: 0; }
.bt-panel button:focus-visible, .bt-panel summary:focus-visible { outline: 2px solid var(--bt-accent); outline-offset: 3px; }
.bt-panel svg { display: block; }

.bt-tone-composite { --bt-accent: #55e9ff; --bt-accent-2: #2e7dff; --bt-rgb: 85, 233, 255; }
.bt-tone-standard { --bt-accent: #43e3ff; --bt-accent-2: #2377ff; --bt-rgb: 67, 227, 255; }
.bt-tone-longTerm { --bt-accent: #b798ff; --bt-accent-2: #6657f8; --bt-rgb: 183, 152, 255; }
.bt-tone-regular { --bt-accent: #ffcf68; --bt-accent-2: #f47956; --bt-rgb: 255, 207, 104; }

.bt-header, .bt-section-heading, .bt-detail-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.bt-header {
  position: relative;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(95, 174, 226, 0.15);
}

.bt-panel .bt-eyebrow, .bt-section-kicker {
  color: var(--bt-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bt-panel h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 8px;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-shadow: 0 0 28px rgba(108, 201, 255, 0.12);
}

.bt-independent {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 213, 104, 0.43);
  border-radius: 999px;
  color: #ffdb78;
  background: linear-gradient(110deg, rgba(255, 204, 74, 0.13), rgba(255, 148, 64, 0.045));
  box-shadow: inset 0 0 15px rgba(255, 199, 72, 0.06);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.bt-panel .bt-header-note {
  max-width: 720px;
  margin-top: 10px;
  color: var(--bt-muted);
  font-size: 13px;
  line-height: 1.7;
}

.bt-update {
  display: grid;
  flex: 0 0 auto;
  gap: 6px;
  min-width: 145px;
  padding: 11px 14px;
  border: 1px solid rgba(75, 161, 219, 0.16);
  border-radius: 12px;
  background: rgba(3, 21, 39, 0.48);
  text-align: right;
}
.bt-update span { color: var(--bt-muted); font-size: 11px; }
.bt-update strong { color: #d2efff; font-size: 15px; font-weight: 650; }

.bt-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.bt-panel .bt-filter {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 66px;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid rgba(var(--bt-rgb), 0.22);
  border-radius: 14px;
  color: #b2cee0;
  background: linear-gradient(145deg, rgba(10, 41, 68, 0.63), rgba(4, 24, 43, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bt-panel .bt-filter::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bt-accent), var(--bt-accent-2), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bt-panel .bt-filter:hover { color: #eefaff; border-color: rgba(var(--bt-rgb), 0.45); transform: translateY(-1px); }
.bt-panel .bt-filter-active {
  color: #f4fcff;
  border-color: rgba(var(--bt-rgb), 0.78);
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--bt-rgb), 0.22), transparent 54%),
    linear-gradient(135deg, rgba(var(--bt-rgb), 0.15), rgba(7, 33, 58, 0.92));
  box-shadow: 0 10px 26px rgba(0, 10, 26, 0.2), inset 0 0 20px rgba(var(--bt-rgb), 0.075);
}
.bt-panel .bt-filter-active::after { opacity: 1; transform: scaleX(1); }

.bt-filter-icon, .bt-metric-icon, .bt-detail-icon, .bt-selected-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(var(--bt-rgb), 0.42);
  color: var(--bt-accent);
  background:
    radial-gradient(circle at 36% 26%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(var(--bt-rgb), 0.22), rgba(var(--bt-rgb), 0.045));
  box-shadow: inset 0 0 14px rgba(var(--bt-rgb), 0.11), 0 0 16px rgba(var(--bt-rgb), 0.08);
}

.bt-filter-icon { width: 38px; height: 38px; border-radius: 12px; }
.bt-filter-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.bt-filter > span:last-child { display: grid; min-width: 0; gap: 2px; font-size: 15px; font-weight: 680; line-height: 1.2; }
.bt-filter small { color: var(--bt-muted); font-size: 9px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.bt-filter-active .bt-filter-icon { border-color: rgba(var(--bt-rgb), 0.82); box-shadow: inset 0 0 16px rgba(var(--bt-rgb), 0.18), 0 0 22px rgba(var(--bt-rgb), 0.25); }
.bt-filter-active small { color: rgba(var(--bt-rgb), 0.85); }

.bt-module {
  position: relative;
  border: 1px solid var(--bt-line);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(12, 45, 74, 0.72), rgba(5, 25, 45, 0.76));
  box-shadow: 0 16px 42px rgba(0, 8, 22, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.bt-section-heading h3 { margin-top: 3px; font-size: 19px; font-weight: 720; line-height: 1.4; }
.bt-section-heading > span { color: var(--bt-muted); font-size: 12px; }
.bt-count-chip {
  padding: 5px 9px;
  border: 1px solid rgba(var(--bt-rgb), 0.28);
  border-radius: 999px;
  color: #c5e1ef !important;
  background: rgba(var(--bt-rgb), 0.07);
  font-variant-numeric: tabular-nums;
}

.bt-summary { padding: clamp(16px, 1.8vw, 24px); }
.bt-summary-heading { margin-bottom: 16px; }
.bt-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.bt-summary-card {
  position: relative;
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(var(--bt-rgb), 0.25);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--bt-rgb), 0.12), transparent 40%),
    linear-gradient(145deg, rgba(11, 42, 70, 0.8), rgba(5, 25, 44, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.bt-summary-card::before {
  position: absolute;
  top: 0;
  left: 17px;
  width: 72px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--bt-accent), var(--bt-accent-2));
  box-shadow: 0 0 16px rgba(var(--bt-rgb), 0.5);
  content: "";
}

.bt-panel .bt-active-metric {
  border-color: rgba(var(--bt-rgb), 0.7);
  box-shadow: 0 13px 36px rgba(0, 9, 24, 0.2), inset 0 0 30px rgba(var(--bt-rgb), 0.06);
}

.bt-metric-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bt-metric-icon { width: 42px; height: 42px; border-radius: 50%; }
.bt-metric-icon svg, .bt-detail-icon svg, .bt-selected-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.bt-metric-name { display: grid; min-width: 0; gap: 2px; }
.bt-metric-name small { color: var(--bt-accent); font-size: 9px; font-weight: 800; letter-spacing: 0.13em; }
.bt-panel .bt-metric-name h4 { color: #e6f5fe; font-size: 17px; font-weight: 720; line-height: 1.35; }
.bt-status-chip {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid rgba(var(--bt-rgb), 0.24);
  border-radius: 999px;
  color: rgba(var(--bt-rgb), 0.95);
  background: rgba(var(--bt-rgb), 0.07);
  font-size: 10px;
  font-weight: 650;
}
.bt-status-complete { color: #7af2c9; border-color: rgba(88, 235, 187, 0.35); background: rgba(43, 194, 145, 0.09); }

.bt-summary-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: center;
  gap: 12px;
  min-height: 128px;
  margin-top: 14px;
}
.bt-summary-primary { display: grid; gap: 14px; }
.bt-summary-primary > div { min-width: 0; }
.bt-summary-primary dt { margin-bottom: 2px; color: var(--bt-muted); font-size: 11px; }
.bt-summary-primary dd { color: #f2faff; font-size: clamp(24px, 2.4vw, 32px); font-weight: 760; font-variant-numeric: tabular-nums; letter-spacing: -0.025em; line-height: 1.2; }
.bt-summary-primary > div:last-child dd { color: var(--bt-accent); }

.bt-ring { --bt-ring-value: 0; position: relative; display: grid; width: 104px; height: 104px; place-items: center; }
.bt-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.bt-ring circle { fill: none; stroke-linecap: round; stroke-width: 9; }
.bt-ring-track { stroke: rgba(116, 164, 195, 0.13); }
.bt-ring-fill { stroke: var(--bt-accent); stroke-dasharray: var(--bt-ring-value) 100; filter: drop-shadow(0 0 5px rgba(var(--bt-rgb), 0.52)); transition: stroke-dasharray 0.45s ease; }
.bt-ring-glow { position: absolute; inset: 13px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--bt-rgb), 0.13), transparent 70%); box-shadow: inset 0 0 14px rgba(var(--bt-rgb), 0.08); }
.bt-ring-center { position: relative; z-index: 1; display: grid; gap: 1px; text-align: center; }
.bt-ring-center strong { color: var(--bt-accent); font-size: 22px; font-weight: 780; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.bt-ring-center small { color: var(--bt-muted); font-size: 9px; }
.bt-ring-excess::after { position: absolute; top: 2px; right: 1px; width: 9px; height: 9px; border: 2px solid rgba(5, 25, 43, 0.95); border-radius: 50%; background: #73f4c5; box-shadow: 0 0 10px #73f4c5; content: ""; }
.bt-ring-missing { opacity: 0.58; }

.bt-gap-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; margin-top: 6px; padding: 9px 11px; border: 1px solid rgba(var(--bt-rgb), 0.12); border-radius: 10px; background: rgba(2, 18, 34, 0.42); }
.bt-gap-strip span { color: var(--bt-muted); font-size: 11px; }
.bt-gap-strip strong { color: #dceffd; font-size: 21px; font-weight: 760; font-variant-numeric: tabular-nums; }
.bt-panel .bt-positive { color: #66ebbc !important; }
.bt-panel .bt-negative { color: #ff8fa4 !important; }

.bt-progress { position: relative; overflow: hidden; height: 12px; margin-top: 16px; border: 1px solid rgba(116, 179, 217, 0.1); border-radius: 999px; background: rgba(109, 159, 191, 0.13); box-shadow: inset 0 2px 4px rgba(0, 4, 13, 0.4); }
.bt-progress > span { position: relative; display: block; height: 100%; min-width: 0; overflow: hidden; border-radius: inherit; background: linear-gradient(90deg, var(--bt-accent-2), var(--bt-accent)); box-shadow: 0 0 13px rgba(var(--bt-rgb), 0.36); transition: width 0.45s ease; }
.bt-progress > span::before { position: absolute; inset: 1px 2px auto; height: 35%; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.04)); content: ""; }
.bt-progress > span i { position: absolute; top: 50%; right: 1px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 9px var(--bt-accent); transform: translateY(-50%); }
.bt-progress-caption { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; color: var(--bt-muted); font-size: 10px; line-height: 1.5; }
.bt-progress-caption > span:last-child { flex: 0 0 auto; }
.bt-progress-caption em { margin-left: 4px; padding: 2px 5px; border-radius: 4px; color: #66ebbc; background: rgba(50, 206, 153, 0.08); font-style: normal; }
.bt-progress.bt-progress-missing, .bt-rank-progress.bt-progress-missing { border: 1px dashed rgba(151, 165, 179, 0.38); background: repeating-linear-gradient(135deg, rgba(151, 165, 179, 0.05) 0 4px, rgba(151, 165, 179, 0.14) 4px 8px); }

.bt-main { display: grid; grid-template-columns: minmax(285px, 0.74fr) minmax(0, 1.65fr); align-items: start; gap: 18px; margin-top: 18px; }
.bt-ranking { padding: 18px; overflow: hidden; }
.bt-ranking::before { position: absolute; top: -72px; right: -58px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--bt-rgb), 0.12), transparent 68%); content: ""; pointer-events: none; }
.bt-ranking-caption { display: flex; justify-content: space-between; gap: 8px; margin: 13px 0 11px; color: var(--bt-muted); font-size: 11px; }
.bt-ranking-list { display: grid; gap: 7px; }
.bt-ranking-list > .bt-empty { grid-column: 1 / -1; }

.bt-panel .bt-rank-row {
  --bt-rank-tone: var(--bt-accent);
  --bt-rank-start: var(--bt-accent-2);
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  width: 100%;
  min-height: 62px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(79, 156, 207, 0.09);
  border-radius: 11px;
  color: #e1f2fc;
  background: linear-gradient(100deg, rgba(16, 50, 78, 0.58), rgba(7, 30, 51, 0.48));
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.bt-panel .bt-rank-row:hover { border-color: rgba(var(--bt-rgb), 0.34); background: linear-gradient(100deg, rgba(24, 68, 103, 0.7), rgba(8, 34, 58, 0.62)); transform: translateX(2px); }
.bt-panel .bt-rank-row.bt-selected { border-color: rgba(var(--bt-rgb), 0.72); background: linear-gradient(95deg, rgba(var(--bt-rgb), 0.18), rgba(8, 35, 60, 0.82)); box-shadow: inset 3px 0 0 var(--bt-accent), inset 0 0 22px rgba(var(--bt-rgb), 0.055); }
.bt-rank-number { color: #8eb0c7; font-size: 11px; font-variant-numeric: tabular-nums; }
.bt-rank-identity { display: grid; min-width: 0; gap: 2px; }
.bt-rank-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 680; }
.bt-rank-identity small { color: #83a6be; font-size: 10px; line-height: 1.2; }
.bt-rank-result { display: grid; min-width: 0; gap: 2px; text-align: right; }
.bt-rank-value { color: var(--bt-rank-tone); font-size: 16px; font-weight: 780; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bt-rank-excess { color: var(--bt-rank-tone); font-size: 8px; font-weight: 500; line-height: 1.2; white-space: nowrap; }

.bt-panel .bt-top-rank { min-height: 67px; border-color: rgba(var(--bt-medal-rgb), 0.44); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px rgba(0, 7, 19, 0.13); }
.bt-panel .bt-medal-gold { --bt-medal-rgb: 255, 202, 76; --bt-rank-tone: #ffdf78; --bt-rank-start: #a96a09; background: linear-gradient(108deg, rgba(126, 78, 4, 0.38), rgba(61, 48, 25, 0.31) 53%, rgba(255, 209, 92, 0.09)); }
.bt-panel .bt-medal-silver { --bt-medal-rgb: 190, 216, 236; --bt-rank-tone: #e5f2fa; --bt-rank-start: #66839b; background: linear-gradient(108deg, rgba(110, 139, 158, 0.29), rgba(43, 57, 69, 0.34) 53%, rgba(211, 232, 245, 0.07)); }
.bt-panel .bt-medal-bronze { --bt-medal-rgb: 224, 150, 97; --bt-rank-tone: #f2b98f; --bt-rank-start: #8f4c2b; background: linear-gradient(108deg, rgba(131, 68, 32, 0.31), rgba(68, 43, 32, 0.32) 53%, rgba(231, 152, 96, 0.07)); }
.bt-panel .bt-top-rank:hover { border-color: rgba(var(--bt-medal-rgb), 0.7); }
.bt-panel .bt-top-rank.bt-selected { border-color: rgba(var(--bt-medal-rgb), 0.85); box-shadow: inset 3px 0 0 var(--bt-rank-tone), 0 10px 24px rgba(0, 7, 19, 0.18); }
.bt-top-rank .bt-rank-number { color: var(--bt-rank-tone); }
.bt-rank-medal { position: relative; display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--bt-rank-tone); border-radius: 50%; background: radial-gradient(circle at 34% 25%, rgba(255,255,255,0.34), transparent 34%), linear-gradient(145deg, rgba(var(--bt-medal-rgb), 0.34), rgba(3, 17, 30, 0.92)); font-size: 10px; font-weight: 800; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.21), 0 0 11px rgba(var(--bt-medal-rgb), 0.2); }
.bt-rank-medal::after { position: absolute; top: calc(100% - 3px); left: 6px; width: 15px; height: 7px; background: var(--bt-rank-tone); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 65%, 0 100%); content: ""; opacity: 0.8; }
.bt-rank-progress { grid-column: 2 / -1; display: block; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(118, 159, 187, 0.14); box-shadow: inset 0 1px 2px rgba(0, 4, 12, 0.4); }
.bt-rank-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--bt-rank-start), var(--bt-rank-tone)); box-shadow: 0 0 8px var(--bt-rank-tone); }
.bt-panel .bt-ranking-note { margin-top: 13px; color: var(--bt-muted); font-size: 10px; line-height: 1.65; }

.bt-details { min-width: 0; }
.bt-selected-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 165px;
  padding: 21px 24px;
  overflow: hidden;
  border-color: rgba(var(--bt-rgb), 0.5);
  background:
    radial-gradient(circle at 84% 14%, rgba(var(--bt-rgb), 0.2), transparent 36%),
    linear-gradient(112deg, rgba(var(--bt-rgb), 0.15), rgba(6, 30, 52, 0.8) 54%, rgba(4, 24, 43, 0.92));
  box-shadow: inset 4px 0 0 var(--bt-accent), 0 16px 40px rgba(0, 8, 24, 0.18);
}
.bt-selected-hero::after { position: absolute; right: -23px; bottom: -58px; width: 160px; height: 160px; border: 1px solid rgba(var(--bt-rgb), 0.1); border-radius: 50%; box-shadow: 0 0 0 22px rgba(var(--bt-rgb), 0.025), 0 0 0 46px rgba(var(--bt-rgb), 0.018); content: ""; pointer-events: none; }
.bt-selected-title { display: flex; align-items: center; min-width: 0; gap: 15px; }
.bt-selected-icon { width: 58px; height: 58px; border-radius: 18px; }
.bt-selected-icon svg { width: 28px; height: 28px; }
.bt-panel .bt-selected-title h3 { margin: 7px 0 6px; font-size: clamp(25px, 2.7vw, 36px); font-weight: 760; line-height: 1.22; letter-spacing: -0.025em; }
.bt-panel .bt-selected-title p { color: #93b5ca; font-size: 12px; }
.bt-selected-visual { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; flex: 0 0 auto; }
.bt-selected-visual .bt-ring { width: 126px; height: 126px; }
.bt-selected-visual .bt-ring-center strong { font-size: 27px; }
.bt-selected-visual .bt-ring-center small { font-size: 9px; }
.bt-rank-pill { padding: 4px 8px; border: 1px solid rgba(var(--bt-rgb), 0.26); border-radius: 999px; color: #b8d8e9; background: rgba(3, 20, 36, 0.42); font-size: 10px; white-space: nowrap; }

.bt-detail-cards { display: grid; gap: 13px; margin-top: 14px; }
.bt-detail-card {
  position: relative;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(var(--bt-rgb), 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--bt-rgb), 0.09), transparent 30%),
    linear-gradient(135deg, rgba(10, 39, 65, 0.78), rgba(5, 25, 44, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.bt-detail-card::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: linear-gradient(to bottom, var(--bt-accent), transparent 78%); content: ""; opacity: 0.8; }
.bt-detail-card-heading { margin-bottom: 14px; }
.bt-detail-card-heading > div { display: flex; align-items: center; min-width: 0; gap: 9px; }
.bt-detail-icon { width: 34px; height: 34px; border-radius: 10px; }
.bt-detail-icon svg { width: 18px; height: 18px; }
.bt-detail-card-heading h4 { color: #edf9ff; font-size: 18px; font-weight: 710; }
.bt-detail-card-heading > span { flex: 0 0 auto; padding: 4px 8px; border: 1px solid rgba(var(--bt-rgb), 0.18); border-radius: 999px; color: var(--bt-muted); background: rgba(var(--bt-rgb), 0.045); font-size: 10px; }

.bt-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.bt-field { min-width: 0; min-height: 71px; padding: 10px 11px; border: 1px solid rgba(108, 173, 215, 0.11); border-radius: 10px; background: rgba(3, 19, 35, 0.36); }
.bt-fields dt { min-height: 17px; margin-bottom: 4px; color: var(--bt-muted); font-size: 10px; line-height: 1.45; }
.bt-fields dd { color: #ebf8ff; font-size: clamp(19px, 2vw, 25px); font-weight: 740; font-variant-numeric: tabular-nums; line-height: 1.28; overflow-wrap: anywhere; }
.bt-field-underwritten dd, .bt-fields .bt-rate { color: var(--bt-accent); }
.bt-field-gap { border-color: rgba(255, 143, 164, 0.1); }
.bt-detail-progress { height: 13px; margin-top: 13px; }
.bt-complete .bt-field-rate { border-color: rgba(82, 226, 177, 0.18); background: rgba(47, 180, 135, 0.045); }
.bt-complete .bt-fields .bt-rate { color: #69ebbf; }
.bt-complete .bt-progress > span { background: linear-gradient(90deg, #16966f, #63ebbe); box-shadow: 0 0 13px rgba(88, 235, 187, 0.3); }
.bt-panel .bt-detail-note { margin-top: 12px; padding: 10px 12px; border-left: 2px solid rgba(var(--bt-rgb), 0.55); border-radius: 0 8px 8px 0; color: var(--bt-muted); background: rgba(var(--bt-rgb), 0.035); font-size: 11px; line-height: 1.7; }
.bt-detail-note strong { color: #bcd9e9; }

.bt-source-note { margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(83, 163, 215, 0.14); color: var(--bt-muted); font-size: 11px; }
.bt-source-note summary { display: list-item; width: fit-content; cursor: pointer; color: #bbd9ea; font-weight: 650; }
.bt-panel .bt-source-note p { max-width: 1040px; margin-top: 10px; line-height: 1.8; white-space: pre-line; }
.bt-panel .bt-empty { padding: 30px 12px; color: var(--bt-muted); text-align: center; font-size: 13px; line-height: 1.8; }
.bt-panel .bt-empty small { font-size: 11px; }
.bt-sr-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 1500px) {
  .bt-detail-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bt-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
  .bt-summary-grid { grid-template-columns: 1fr; }
  .bt-summary-card { display: grid; grid-template-columns: minmax(190px, 0.75fr) minmax(280px, 1.25fr); gap: 6px 18px; align-items: center; }
  .bt-metric-heading { grid-row: 1 / span 2; align-self: start; }
  .bt-summary-visual { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .bt-gap-strip, .bt-summary-card .bt-progress, .bt-summary-card .bt-progress-caption { grid-column: 1 / -1; }
  .bt-main { grid-template-columns: minmax(255px, 0.7fr) minmax(0, 1.3fr); gap: 14px; }
  .bt-ranking { padding: 14px; }
  .bt-selected-hero { padding: 18px; }
  .bt-detail-card { padding: 16px; }
  .bt-fields { gap: 7px; }
}

@media (max-width: 880px) {
  .bt-main { grid-template-columns: 1fr; }
  .bt-ranking-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-selected-hero { margin-top: 0; }
}

@media (max-width: 680px) {
  .bt-panel { margin: 14px 0; padding: 15px; border-radius: 18px; }
  .bt-header { flex-direction: column; gap: 13px; padding-bottom: 17px; }
  .bt-update { display: flex; align-items: center; min-width: 0; gap: 8px; padding: 7px 10px; text-align: left; }
  .bt-update strong { font-size: 12px; }
  .bt-panel h2 { gap: 8px; font-size: 23px; }
  .bt-independent { min-height: 24px; font-size: 9px; }
  .bt-panel .bt-header-note { font-size: 11px; }
  .bt-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 17px 0; }
  .bt-panel .bt-filter { min-height: 58px; padding: 8px 9px; border-radius: 12px; }
  .bt-filter-icon { width: 32px; height: 32px; border-radius: 9px; }
  .bt-filter-icon svg { width: 17px; height: 17px; }
  .bt-filter > span:last-child { font-size: 12px; }
  .bt-filter small { font-size: 8px; }
  .bt-module { border-radius: 15px; }
  .bt-summary { padding: 12px; }
  .bt-section-heading { align-items: flex-end; gap: 8px; }
  .bt-section-heading h3 { font-size: 17px; }
  .bt-section-heading > span { max-width: 46%; text-align: right; font-size: 9px; }
  .bt-summary-card { display: block; padding: 15px; border-radius: 13px; }
  .bt-summary-visual { display: grid; grid-template-columns: minmax(0, 1fr) 99px; min-height: 118px; margin-top: 10px; }
  .bt-ring { width: 99px; height: 99px; }
  .bt-ring-center strong { font-size: 21px; }
  .bt-summary-primary dd { font-size: 25px; }
  .bt-gap-strip { margin-top: 5px; }
  .bt-progress { height: 12px; }
  .bt-ranking { padding: 12px; }
  .bt-ranking-list { grid-template-columns: 1fr; }
  .bt-panel .bt-rank-row { min-height: 60px; }
  .bt-selected-hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 16px; }
  .bt-selected-title { align-items: flex-start; }
  .bt-selected-icon { width: 48px; height: 48px; border-radius: 14px; }
  .bt-panel .bt-selected-title h3 { margin-top: 5px; font-size: 23px; }
  .bt-selected-visual { grid-template-columns: 106px minmax(0, 1fr); align-items: center; justify-items: start; }
  .bt-selected-visual .bt-ring { width: 106px; height: 106px; }
  .bt-selected-visual .bt-ring-center strong { font-size: 23px; }
  .bt-rank-pill { white-space: normal; }
  .bt-detail-card { padding: 14px; border-radius: 13px; }
  .bt-detail-card-heading h4 { font-size: 16px; }
  .bt-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-field { min-height: 66px; padding: 8px 9px; }
  .bt-fields dd { font-size: 20px; }
}

@media (max-width: 390px) {
  .bt-panel { padding: 11px; }
  .bt-panel .bt-filter { gap: 7px; padding: 7px; }
  .bt-filter-icon { width: 29px; height: 29px; }
  .bt-filter > span:last-child { font-size: 11px; }
  .bt-summary-visual { grid-template-columns: minmax(0, 1fr) 90px; }
  .bt-ring { width: 90px; height: 90px; }
  .bt-ring-center strong { font-size: 18px; }
  .bt-metric-name h4 { font-size: 15px !important; }
  .bt-status-chip { padding: 3px 6px; font-size: 9px; }
  .bt-selected-title { gap: 10px; }
  .bt-selected-icon { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .bt-panel .bt-rank-row, .bt-panel .bt-filter, .bt-progress > span, .bt-ring-fill { transition: none; }
}
