.teams-data-columns { align-items: start; }
.teams-data-columns.sidebar { grid-template-columns: minmax(300px, 1fr) minmax(0, 2.333fr); }
.teams-page .teams-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.teams-page .teams-data-breadcrumb { color: var(--teams-muted); margin-bottom: -16px; font-size: 13px; }
.teams-page .teams-data-breadcrumb a { color: inherit; }
.teams-page .teams-data-breadcrumb a:hover { color: var(--teams-accent); }
.teams-page .teams-table-caption { min-height: 52px; }
.teams-page .teams-period-menu .teams-menu-panel { left: auto; right: 0; }
.teams-period-menu a[aria-current="page"] { color: white; background: var(--teams-field); border-radius: 6px; }
.teams-custom-range summary { margin: 6px 0 12px; }
.teams-range-field { font-size: 13px; }
.teams-range-menu summary { justify-content: space-between; padding: 11px 13px; }
.teams-range-menu .teams-menu-panel { min-width: 100%; }
.teams-page .teams-roster-filters { max-width: 790px; }
.teams-page .teams-roster-search { flex: 1.8; }
.teams-page .teams-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.teams-page .teams-tabs a { display: inline-flex; align-items: center; padding: 7px 12px; color: var(--teams-muted); border-radius: 8px; }
.teams-page .teams-tabs a:hover, .teams-page .teams-tabs a[aria-current="page"] { color: white; background: var(--teams-field); text-decoration: none; }
.teams-page .teams-tabs a[aria-current="page"] { font-weight: 600; }
.teams-page .teams-detail-values { display: grid; gap: 3px; margin: 0; }
.teams-detail-values dt { color: var(--teams-muted); font-size: 12px; font-weight: 400; }
.teams-detail-values dd { margin: 0 0 8px; }
.teams-detail-values dd:last-child { margin-bottom: 0; }
.teams-page .teams-cls-value { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; }
.teams-page .teams-cls-value .metric-value { font-size: 46px; font-weight: 700; line-height: 1.1; }
.teams-page .teams-data-note { border-style: dashed; }
.teams-page .teams-data-note h2 { margin-bottom: 12px; }
.teams-page .teams-compact-metrics { gap: 12px; }
.teams-page .teams-compact-metrics .metric-card { min-height: 108px; padding: 16px 20px; }
.teams-page .teams-compact-metrics .metric-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.teams-page .teams-compact-metrics .metric-value { font-size: clamp(16px, 1.6vw, 22px); line-height: 1.2; }
.teams-page .teams-compact-metrics .metric-value .unit,
.teams-page .teams-population-stats .metric-value .unit { color: inherit; font-size: inherit; font-weight: inherit; }
.teams-page .teams-population-stats { gap: 16px; }
.teams-page .teams-pairing-note { padding: 14px 20px; }
.teams-page .teams-benchmark-values { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.teams-benchmark-values dt { font-weight: 400; }
.teams-benchmark-values dd { display: flex; align-items: center; justify-content: end; gap: 8px; margin: 0; }
.teams-chart-card h2, .teams-waveform h3 { margin-bottom: 6px; }
.teams-chart-card .teams-muted, .teams-waveform .teams-muted { font-size: 12px; margin-bottom: 16px; }
.teams-page .teams-waveform { border: 1px solid var(--teams-border); border-radius: 12px; padding: 20px; }
.teams-page .teams-waveform + .teams-waveform { margin-top: 16px; }
.teams-page .teams-risk-text { display: block; font-size: 40px; line-height: 1.15; margin-bottom: 12px; }
.teams-risk-text.high { color: #ff737b; }
.teams-risk-text.medium { color: #ffb379; }
.teams-risk-text.low { color: #81e3a1; }
.teams-page .teams-risks-warning { color: #ffc193; margin-top: 10px; }
.teams-page .teams-samples > summary { display: flex; justify-content: space-between; align-items: center; min-height: 100px; cursor: pointer; list-style: none; gap: 12px; }
.teams-samples > summary::-webkit-details-marker { display: none; }
.teams-page .teams-samples-title { font-size: 18px; font-weight: 600; }
.teams-samples:not([open]) .teams-hide-samples, .teams-samples[open] .teams-show-samples { display: none; }
.teams-page .teams-samples h3 { margin: 18px 0 12px; }
.teams-page .teams-index-count { margin-left: 4px; }
.teams-page .teams-invitation-form { margin-top: 20px; }
.teams-invitation-form legend { font-size: 14px; font-weight: 600; }
.teams-invitation-form fieldset > label { display: flex; gap: 9px; align-items: center; color: white; }
.teams-invitation-form fieldset > p { margin: 0 0 8px 25px; font-size: 13px; }
.teams-page .teams-row-actions { gap: 5px; }
.teams-page .teams-row-actions form { margin: 0; }
@media (max-width: 900px) {
  .teams-data-columns.sidebar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .teams-page .teams-data-breadcrumb { margin-bottom: -8px; }
  .teams-page .teams-table-caption { min-height: auto; }
  .teams-page .teams-compact-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teams-page .teams-compact-metrics .metric-card { padding: 14px; }
  .teams-page .teams-samples > summary { min-height: 68px; }
  .teams-page .teams-roster-search { flex: 1 1 100%; }
  .teams-page .teams-period-menu .teams-menu-panel { left: 0; right: auto; }
}
