html {
  overflow-x: clip;
}

body[data-page="dashboard"] {
  min-height: 100vh;
  overflow-x: clip;
  background: #f3f6fb;
  font-family: var(--product-font);
}

:root[data-theme="dark"] body[data-page="dashboard"] {
  background: var(--product-bg);
}

.dashboard-main {
  width: auto;
  margin: 0 24px 0 calc(var(--product-content-start) + 24px);
  padding: 14px 0 56px;
}

.dashboard-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--product-border);
}

.dashboard-search {
  display: flex;
  width: min(430px, 36vw);
  min-width: 240px;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 13px;
  border: 1px solid var(--product-border);
  border-radius: 10px;
  background: var(--product-surface);
  box-shadow: 0 4px 14px rgba(24, 54, 96, 0.035);
}

.dashboard-search:focus-within {
  border-color: color-mix(in srgb, var(--product-primary) 52%, var(--product-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--product-primary) 12%, transparent);
}

.dashboard-search svg,
.toolbar-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dashboard-search svg {
  color: var(--product-text-tertiary);
}

.dashboard-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--product-text);
  font-size: 13px;
}

.dashboard-search input::placeholder {
  color: var(--product-text-tertiary);
}

.dashboard-search kbd {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 0;
  border-radius: 6px;
  background: var(--product-surface-alt);
  color: var(--product-text-tertiary);
  font-family: var(--product-font);
  font-size: 11px;
}

.dashboard-toolbar__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dashboard-toolbar__actions > p {
  display: none;
}

.range-switch {
  display: flex;
  min-height: 40px;
  padding: 3px;
  border: 1px solid var(--product-border);
  border-radius: 10px;
  background: var(--product-surface);
}

.range-switch button {
  min-width: 66px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--product-text-secondary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.range-switch button:hover,
.range-switch button:focus-visible {
  color: var(--product-text);
}

.range-switch button.is-active {
  background: var(--product-primary-soft);
  color: var(--product-primary);
}

.toolbar-button,
.toolbar-primary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.toolbar-button {
  border: 1px solid var(--product-border);
  background: var(--product-surface);
  color: var(--product-text-secondary);
  cursor: pointer;
}

.toolbar-button:hover,
.toolbar-button:focus-visible {
  border-color: var(--product-border-strong);
  color: var(--product-text);
}

.toolbar-primary {
  padding-right: 16px;
  padding-left: 16px;
  border: 1px solid var(--product-primary);
  background: var(--product-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--product-primary) 18%, transparent);
}

.toolbar-primary:hover,
.toolbar-primary:focus-visible {
  background: var(--product-primary-hover);
}

.dashboard-heading {
  display: flex;
  min-height: 68px;
  align-items: center;
  margin-bottom: 12px;
}

.section-eyebrow,
.card-kicker {
  display: none;
}

.dashboard-heading h1 {
  margin: 0;
  font-size: clamp(1.75rem, 2.15vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.dashboard-heading > div > p:last-child {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--product-text-secondary);
  font-size: 13px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.kpi-card,
.dashboard-card,
.dashboard-method {
  border: 1px solid #e7edf6;
  background: var(--product-surface);
  box-shadow: 0 6px 20px rgba(24, 54, 96, 0.05);
}

:root[data-theme="dark"] .kpi-card,
:root[data-theme="dark"] .dashboard-card,
:root[data-theme="dark"] .dashboard-method {
  border-color: var(--product-border);
}

.kpi-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 164px;
  grid-column: span 3;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 18px 15px;
  border-radius: 12px;
}

.kpi-card:nth-child(1) {
  grid-column: span 4;
}

.kpi-card:nth-child(2) {
  grid-column: span 2;
}

.kpi-card--primary {
  border-color: transparent;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(145deg, #0e55ed 0%, #1463ff 56%, #297dff 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 99, 255, 0.2);
}

.kpi-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--product-text-secondary);
  font-size: 13px;
  font-weight: 680;
}

.kpi-card--primary .kpi-card__top,
.kpi-card--primary p {
  color: rgba(255, 255, 255, 0.82);
}

.kpi-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: var(--product-primary);
}

.kpi-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.kpi-card--primary .kpi-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.kpi-icon--cyan { color: var(--product-cyan); }
.kpi-icon--violet { color: var(--product-violet); }
.kpi-icon--orange { color: var(--product-orange); }

.kpi-card__hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  max-width: 66%;
  flex: 1;
  flex-direction: column;
}

.kpi-card__value,
.kpi-card__number {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 15px;
  color: var(--product-text);
  font-size: clamp(1.28rem, 1.7vw, 1.75rem);
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.035em;
}

.kpi-card__number {
  font-size: clamp(2rem, 2.5vw, 2.5rem);
}

.kpi-card--primary .kpi-card__value {
  color: #ffffff;
  font-size: clamp(1.75rem, 2.2vw, 2.25rem);
}

.kpi-card p {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 7px 0 0;
  color: var(--product-text-tertiary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kpi-card.kpi-card--primary p {
  color: rgba(255, 255, 255, 0.82);
}

.kpi-card .kpi-card__highlight {
  max-width: 340px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.kpi-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: auto;
  padding: 0 12px;
  border-radius: 8px;
  background: #ffffff;
  color: #174ccb;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.kpi-card__hero-visual {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 15px;
  width: 108px;
  height: 116px;
}

.kpi-card__hero-visual span {
  position: absolute;
  right: 16px;
  width: 74px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
  box-shadow: 0 16px 26px rgba(2, 48, 150, 0.2);
  transform: rotate(30deg) skewX(-12deg);
}

.kpi-card__hero-visual span:nth-child(1) { bottom: 2px; opacity: 0.55; }
.kpi-card__hero-visual span:nth-child(2) { right: 8px; bottom: 29px; opacity: 0.72; }
.kpi-card__hero-visual span:nth-child(3) { right: 21px; bottom: 55px; opacity: 0.9; }

.kpi-card__hero-visual img {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 39px;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.kpi-mini-chart {
  position: relative;
  z-index: 1;
  display: flex;
  height: 30px;
  align-items: flex-end;
  gap: 3px;
  margin-top: auto;
  padding-top: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--product-primary) 25%, var(--product-border));
}

.kpi-mini-chart span {
  display: block;
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: color-mix(in srgb, var(--product-primary) 58%, transparent);
}

.kpi-mini-chart--rank {
  display: grid;
  height: 34px;
  align-content: end;
  border-bottom: 0;
  gap: 4px;
}

.kpi-mini-chart--rank span {
  height: 3px;
  border-radius: 3px;
}

.kpi-mini-chart--line {
  border-bottom: 0;
}

.kpi-mini-chart--line svg {
  display: block;
  width: 100%;
  height: 30px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-grid--primary > .usage-card {
  grid-column: span 8;
}

.dashboard-grid--primary > .capability-snapshot-card {
  grid-column: span 4;
}

.dashboard-grid--secondary > .dashboard-card {
  min-height: 356px;
  grid-column: span 4;
}

.dashboard-card {
  min-width: 0;
  padding: 18px;
  border-radius: 12px;
}

[data-dashboard-search].is-search-match {
  outline: 3px solid color-mix(in srgb, var(--product-primary) 24%, transparent);
  outline-offset: 3px;
  animation: dashboard-search-match 1.2s ease both;
}

@keyframes dashboard-search-match {
  0%,
  100% { transform: translateY(0); }
  35% { transform: translateY(-3px); }
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.card-header h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card-header p:not(.card-kicker) {
  display: none;
}

.source-badge {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--product-surface-alt);
  color: var(--product-text-secondary);
  font-size: 11px;
}

.card-source-badge {
  display: inline-block;
  margin-top: 12px;
}

.card-link {
  min-height: 30px;
  flex: 0 0 auto;
  color: var(--product-primary);
  font-size: 12px;
  font-weight: 730;
  line-height: 30px;
  text-decoration: none;
  white-space: nowrap;
}

.chart-state {
  min-height: 0;
  margin-bottom: 2px;
  color: var(--product-text-tertiary);
  font-size: 11px;
}

.chart-state:empty {
  display: none;
}

.line-chart {
  position: relative;
  height: 260px;
}

.line-chart svg,
.pulse-chart svg,
.release-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-grid-line {
  stroke: var(--product-border);
  stroke-dasharray: 3 5;
}

.chart-axis-label {
  fill: var(--product-text-tertiary);
  font-family: var(--product-font);
  font-size: 11px;
}

.usage-line {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.usage-point {
  cursor: pointer;
  fill: var(--product-surface);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.usage-point:hover,
.usage-point:focus {
  stroke-width: 4;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 2px;
}

.legend-item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  color: var(--product-text-secondary);
  font-size: 11px;
}

.legend-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legend-line {
  width: 14px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: currentColor;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--product-border);
  color: var(--product-text-tertiary);
  font-size: 11px;
}

.card-footer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-footer a {
  flex: 0 0 auto;
  color: var(--product-primary);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.snapshot-leader {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 2px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(100deg, var(--product-primary-soft), transparent);
}

.snapshot-leader span {
  color: var(--product-text-secondary);
  font-size: 12px;
}

.snapshot-leader strong {
  color: var(--product-primary);
  font-size: 26px;
  letter-spacing: -0.04em;
}

.snapshot-ranking {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 16px;
  list-style: none;
}

.snapshot-item {
  display: grid;
  grid-template-columns: 22px 20px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 7px;
}

.snapshot-item__rank {
  color: var(--product-text-tertiary);
  font-size: 10px;
}

.snapshot-item img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.snapshot-item__data {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(90px, 0.9fr) minmax(70px, 1.5fr);
  align-items: center;
  gap: 8px;
}

.snapshot-item__data span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snapshot-item__track,
.ranking-track {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--product-surface-alt);
}

.snapshot-item__track i,
.ranking-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--product-primary);
}

.snapshot-item__score {
  font-size: 11px;
  text-align: right;
}

.ranking-bars {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.ranking-item {
  display: grid;
  grid-template-columns: 20px 22px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 7px;
}

.ranking-rank {
  color: var(--product-text-tertiary);
  font-size: 10px;
}

.ranking-logo {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 7px;
  background: var(--product-surface-alt);
}

.ranking-logo img {
  width: 14px;
  height: 14px;
}

.ranking-data {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(90px, 0.8fr) minmax(80px, 1.3fr);
  align-items: center;
  gap: 8px;
}

.ranking-data > span {
  overflow: hidden;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-item:nth-child(1) .ranking-track i {
  background: var(--product-primary);
}

.ranking-item:nth-child(2) .ranking-track i,
.ranking-item:nth-child(3) .ranking-track i {
  background: color-mix(in srgb, var(--product-primary) 78%, #ffffff);
}

.ranking-item:nth-child(n+4) .ranking-track i {
  background: color-mix(in srgb, var(--product-primary) 48%, var(--product-border));
}

.ranking-score {
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.release-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.release-total strong {
  font-size: 25px;
}

.release-total span {
  color: var(--product-text-tertiary);
  font-size: 11px;
}

.release-chart {
  height: 82px;
}

.release-bar {
  fill: var(--product-primary);
}

.release-list,
.news-list {
  display: grid;
  max-height: 188px;
  margin: 6px 0 0;
  overflow: hidden auto;
  padding: 0;
  list-style: none;
  scrollbar-width: thin;
}

.release-list li,
.news-list li {
  display: grid;
  align-items: center;
  min-height: 37px;
  border-top: 1px solid var(--product-border);
  gap: 8px;
}

.release-list li {
  grid-template-columns: 24px minmax(0, 1fr) auto;
}

.release-logo {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: var(--product-surface-alt);
}

.release-logo img {
  width: 14px;
  height: 14px;
}

.release-copy,
.news-item-copy {
  min-width: 0;
}

.release-copy strong,
.news-item-copy a {
  display: block;
  overflow: hidden;
  color: var(--product-text);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-copy span,
.news-item-copy span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--product-text-tertiary);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-date {
  color: var(--product-text-tertiary);
  font-size: 10px;
}

.pulse-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 6px;
}

.pulse-metrics > div {
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--product-surface-alt);
}

.pulse-metrics span {
  display: block;
  color: var(--product-text-tertiary);
  font-size: 10px;
}

.pulse-metrics strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
}

.pulse-chart {
  height: 62px;
}

.pulse-bar {
  fill: var(--product-primary);
  opacity: 0.78;
}

.pulse-score-line {
  fill: none;
  stroke: var(--product-violet);
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.news-list {
  max-height: 150px;
  margin-top: 3px;
}

.news-list li {
  grid-template-columns: 12px minmax(0, 1fr) auto;
}

.news-score-shape {
  width: 7px;
  height: 7px;
  background: var(--product-primary);
}

.news-score-shape[data-band="high"] {
  border: 1.5px solid var(--product-primary);
  background: transparent;
  transform: rotate(45deg);
}

.news-score-shape[data-band="mid"] {
  border-radius: 50%;
  background: var(--product-violet);
}

.news-score-shape[data-band="low"] {
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-bottom: 7px solid var(--product-orange);
  border-left: 4px solid transparent;
  background: transparent;
}

.news-score {
  color: var(--product-violet);
  font-size: 10px;
}

.usage-data-card {
  margin-bottom: 16px;
  padding: 0;
}

.data-table-details {
  overflow: hidden;
}

.data-table-details summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  color: var(--product-text-secondary);
  cursor: pointer;
  font-size: 13px;
  list-style: none;
}

.data-table-details summary::-webkit-details-marker {
  display: none;
}

.data-table-details summary strong {
  color: var(--product-text);
  font-size: 14px;
}

.data-table-details summary small {
  color: var(--product-text-tertiary);
  font-size: 11px;
}

.data-table-details[open] summary {
  border-bottom: 1px solid var(--product-border);
}

.table-scroll {
  max-height: 260px;
  overflow: auto;
}

.data-table-details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table-details th,
.data-table-details td {
  padding: 9px 18px;
  border-top: 1px solid var(--product-border);
  text-align: left;
}

.data-table-details th {
  position: sticky;
  top: 0;
  background: var(--product-surface);
  color: var(--product-text-tertiary);
}

.data-table-details td:nth-child(3) {
  font-family: var(--product-mono);
}

.dashboard-method {
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
}

.dashboard-method summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--product-text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.dashboard-method summary::-webkit-details-marker {
  display: none;
}

.dashboard-method summary span {
  color: var(--product-text-tertiary);
  font-size: 16px;
  font-weight: 500;
}

.dashboard-method[open] summary {
  border-bottom: 1px solid var(--product-border);
}

.dashboard-method[open] summary span {
  transform: rotate(45deg);
}

.dashboard-method > p {
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--product-text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

.chart-tooltip {
  position: fixed;
  z-index: 300;
  max-width: 260px;
  padding: 9px 11px;
  border: 1px solid var(--product-border-strong);
  border-radius: 9px;
  background: var(--product-surface-raised);
  color: var(--product-text);
  box-shadow: 0 14px 36px rgba(16, 31, 53, 0.18);
  font-size: 12px;
  pointer-events: none;
}

.dashboard-toast {
  position: fixed;
  z-index: 320;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 11px 14px;
  border-radius: 9px;
  background: var(--product-text);
  color: var(--product-surface);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dashboard-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="dashboard"] .sidebar-illustration-card {
  border-radius: 12px;
  background: var(--product-surface);
  color: var(--product-text);
}

body[data-page="dashboard"] .sidebar-illustration-card img {
  aspect-ratio: 16 / 9;
}

body[data-page="dashboard"] .sidebar-illustration-card figcaption {
  padding: 10px 12px 12px;
  color: var(--product-text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

body[data-page="dashboard"] .sidebar-freshness {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
}

@media (max-width: 1380px) {
  .dashboard-toolbar__actions > p {
    display: none;
  }

  .dashboard-search {
    width: min(360px, 32vw);
  }

  .kpi-card {
    min-height: 158px;
  }

  .kpi-card__hero-copy {
    max-width: 72%;
  }

  .kpi-card .kpi-card__highlight {
    display: none;
  }

  .ranking-data,
  .snapshot-item__data {
    grid-template-columns: minmax(70px, 0.85fr) minmax(60px, 1.15fr);
  }
}

@media (max-width: 1120px) {
  .dashboard-main {
    margin-right: 20px;
    margin-left: calc(var(--product-content-start) + 20px);
  }

  .dashboard-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-search {
    width: 100%;
  }

  .dashboard-toolbar__actions {
    justify-content: flex-start;
  }

  .kpi-card,
  .kpi-card:nth-child(1),
  .kpi-card:nth-child(2) {
    grid-column: span 6;
  }

  .dashboard-grid--primary > .usage-card,
  .dashboard-grid--primary > .capability-snapshot-card {
    grid-column: 1 / -1;
  }

  .dashboard-grid--secondary > .dashboard-card {
    grid-column: span 6;
  }

  .dashboard-grid--secondary > .news-pulse-card {
    grid-column: 1 / -1;
  }

  .news-pulse-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
    gap: 0 20px;
  }

  .news-pulse-card .card-header {
    grid-column: 1 / -1;
  }

  .news-pulse-card .news-list {
    grid-column: 2;
    grid-row: 2 / span 2;
    max-height: 230px;
    margin-top: 0;
  }

  .news-pulse-card .pulse-chart {
    height: 96px;
  }
}

@media (max-width: 699px) {
  .dashboard-main {
    width: auto;
    margin: 0 16px;
    padding: calc(var(--product-mobile-header-height) + 12px) 0 40px;
  }

  .dashboard-toolbar {
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .dashboard-toolbar__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .range-switch {
    width: 100%;
  }

  .range-switch button {
    min-width: 0;
    flex: 1;
  }

  .toolbar-button {
    padding: 0 11px;
  }

  .toolbar-primary {
    width: 40px;
    overflow: hidden;
    padding: 0;
    font-size: 0;
  }

  .toolbar-primary span {
    font-size: 16px;
  }

  .dashboard-heading {
    min-height: auto;
    margin-bottom: 16px;
  }

  .dashboard-heading h1 {
    font-size: 28px;
  }

  .dashboard-heading > div > p:last-child {
    font-size: 12px;
    line-height: 1.5;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }

  .kpi-card,
  .kpi-card:nth-child(1),
  .kpi-card:nth-child(2) {
    min-height: 132px;
    grid-column: auto;
    padding: 14px;
  }

  .kpi-card.kpi-card--primary {
    min-height: 154px;
    grid-column: 1 / -1;
  }

  .kpi-card:last-child {
    grid-column: 1 / -1;
  }

  .kpi-card__hero-copy {
    max-width: 72%;
  }

  .kpi-card__hero-visual {
    right: 2%;
    transform: scale(0.85);
    transform-origin: right bottom;
  }

  .kpi-icon {
    width: 25px;
    height: 25px;
  }

  .kpi-card__value,
  .kpi-card__number {
    margin-top: 10px;
    font-size: 17px;
  }

  .kpi-card__number {
    font-size: 25px;
  }

  .kpi-mini-chart {
    height: 24px;
  }

  .dashboard-grid {
    gap: 12px;
    margin-bottom: 12px;
  }

  .dashboard-grid--primary > .dashboard-card,
  .dashboard-grid--secondary > .dashboard-card {
    min-height: auto;
    grid-column: 1 / -1;
  }

  .dashboard-card {
    padding: 15px;
  }

  .card-header {
    gap: 10px;
  }

  .card-header h2 {
    font-size: 16px;
  }

  .card-link {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .source-badge {
    display: none;
  }

  .line-chart {
    height: 220px;
    contain: layout paint;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .line-chart svg {
    width: 680px;
    min-width: 680px;
    overflow: hidden;
  }

  .card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .card-footer span {
    max-width: 100%;
    white-space: normal;
  }

  .snapshot-item__data,
  .ranking-data {
    grid-template-columns: minmax(94px, 0.8fr) minmax(80px, 1.2fr);
  }

  .news-pulse-card {
    display: block;
  }

  .news-pulse-card .news-list {
    max-height: 190px;
    margin-top: 4px;
  }

  .pulse-chart {
    height: 74px;
    contain: layout paint;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .pulse-chart svg {
    width: 420px;
    min-width: 420px;
    overflow: hidden;
  }

  .usage-data-card {
    margin-bottom: 12px;
  }

  .data-table-details summary {
    min-height: 68px;
    padding: 0 14px;
  }

  .data-table-details summary > span:last-child {
    display: none;
  }

  .data-table-details th,
  .data-table-details td {
    min-width: 96px;
    padding: 8px 12px;
  }

  .dashboard-method summary {
    min-height: 50px;
    padding: 0 14px;
  }
}

/* Compact visual summary: one glance, three complementary data views. */
.dashboard-grid--visuals > .capability-profile-card {
  grid-column: span 5;
}

.dashboard-grid--visuals > .news-score-card {
  grid-column: span 3;
}

.dashboard-grid--visuals > .release-mix-card {
  grid-column: span 4;
}

.dashboard-grid--visuals > .dashboard-card {
  min-height: 254px;
}

.card-header--compact {
  min-height: 28px;
  margin-bottom: 6px;
  align-items: center;
}

.capability-profile-chart {
  height: 174px;
}

.capability-profile-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.radar-grid,
.radar-axis {
  fill: none;
  stroke: var(--product-border);
  stroke-width: 1;
}

.radar-average {
  fill: none;
  stroke: #8d98aa;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}

.radar-leader {
  fill: color-mix(in srgb, var(--product-primary) 16%, transparent);
  stroke: var(--product-primary);
  stroke-width: 2.25;
}

.radar-point {
  fill: var(--product-surface);
  stroke: var(--product-primary);
  stroke-width: 2;
  cursor: help;
}

.radar-point:focus {
  outline: none;
  stroke: #6d4aff;
  stroke-width: 3;
}

.radar-label {
  fill: var(--product-text-secondary);
  font-size: 11px;
  font-weight: 650;
}

.visual-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--product-text-secondary);
  font-size: 11px;
}

.visual-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.visual-legend i {
  display: inline-block;
  width: 16px;
  height: 0;
  border-top: 2px solid var(--product-primary);
}

.visual-legend .visual-legend__average {
  border-color: #8d98aa;
  border-top-style: dashed;
}

.news-score-chart {
  height: 184px;
  padding: 8px 8px 0;
}

.score-columns {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.score-column {
  display: grid;
  height: 100%;
  min-width: 0;
  grid-template-rows: 24px minmax(0, 1fr) 24px;
  justify-items: center;
  color: var(--product-text-secondary);
  font-size: 10px;
  cursor: help;
}

.score-column strong {
  color: var(--product-text);
  font-size: 15px;
}

.score-column__track {
  position: relative;
  display: flex;
  width: min(42px, 72%);
  height: 100%;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 8px 8px 4px 4px;
  background: var(--product-surface-alt);
}

.score-column__track i {
  display: block;
  width: 100%;
  border-radius: inherit;
  background: var(--product-primary);
  transition: height 220ms ease;
}

.score-column[data-band="mid"] .score-column__track i {
  background: #7257ed;
}

.score-column[data-band="low"] .score-column__track i {
  background: #7da4f6;
}

.score-column:focus {
  outline: 2px solid color-mix(in srgb, var(--product-primary) 44%, transparent);
  outline-offset: 4px;
  border-radius: 6px;
}

.release-series-chart {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.release-series-chart li {
  display: grid;
  min-width: 0;
  grid-template-columns: 20px minmax(66px, 0.65fr) minmax(80px, 1.6fr) 24px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.release-series-chart img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.release-series-chart li > span:not(.release-series-track) {
  overflow: hidden;
  color: var(--product-text);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-series-track {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--product-surface-alt);
}

.release-series-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b6ff6, var(--product-primary));
}

.release-series-chart strong {
  color: var(--product-text);
  font-size: 11px;
  text-align: right;
}

:root[data-theme="dark"] .radar-average {
  stroke: #7f8ca2;
}

:root[data-theme="dark"] .radar-point {
  fill: var(--product-surface);
}

@media (max-width: 1320px) {
  .dashboard-grid--visuals > .capability-profile-card {
    grid-column: span 7;
  }

  .dashboard-grid--visuals > .news-score-card {
    grid-column: span 5;
  }

  .dashboard-grid--visuals > .release-mix-card {
    grid-column: 1 / -1;
  }

  .release-series-chart {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
}

@media (max-width: 699px) {
  .dashboard-grid--visuals > .dashboard-card {
    min-height: 242px;
    grid-column: 1 / -1;
  }

  .release-series-chart {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .score-column__track i {
    transition: none;
  }
}

@media (max-width: 370px) {
  .toolbar-button span {
    display: none;
  }

  .toolbar-button {
    width: 40px;
    padding: 0;
  }

  .kpi-card,
  .kpi-card:nth-child(2) {
    grid-column: 1 / -1;
  }
}

/* Reference-led overview refresh — 2026-07-31 */
body[data-page="dashboard"] {
  background:
    radial-gradient(circle at 72% 0%, rgba(54, 99, 255, 0.045), transparent 32%),
    #f7f9fc;
}

.dashboard-main {
  margin-right: 28px;
  margin-left: calc(var(--product-content-start) + 28px);
  padding-top: 18px;
}

.dashboard-heading {
  min-height: 78px;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 10px;
}

.dashboard-heading h1 {
  font-size: clamp(1.75rem, 2vw, 2.2rem);
  letter-spacing: -0.04em;
}

.dashboard-heading > div > p:last-child {
  margin-top: 8px;
  color: #7c879a;
  font-size: 13px;
}

.customize-dashboard-button {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #dfe6f1;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
  color: #24334b;
  box-shadow: 0 7px 20px rgba(27, 53, 91, 0.06);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.customize-dashboard-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #2468f2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.customize-dashboard-button > span:last-child {
  margin-left: 1px;
  color: #8d98aa;
  font-size: 18px;
  line-height: 1;
}

.customize-dashboard-button:hover,
.customize-dashboard-button:focus-visible {
  border-color: #b8ccfa;
  color: #1458df;
  box-shadow: 0 9px 24px rgba(27, 79, 194, 0.12);
  transform: translateY(-1px);
}

.dashboard-toolbar {
  min-height: 44px;
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: 0;
}

.dashboard-search {
  width: min(360px, 32vw);
  min-height: 38px;
  border-color: #e2e8f1;
  border-radius: 10px;
  box-shadow: none;
}

.range-switch,
.toolbar-button {
  min-height: 38px;
  border-color: #e2e8f1;
  box-shadow: none;
}

.range-switch button {
  min-height: 30px;
}

.toolbar-primary {
  min-height: 38px;
  border-color: #2468f2;
  background: #2468f2;
  box-shadow: 0 7px 18px rgba(36, 104, 242, 0.16);
}

.kpi-grid,
.dashboard-grid {
  gap: 16px;
  margin-bottom: 16px;
}

.kpi-card,
.dashboard-card,
.dashboard-method {
  border-color: #e8edf4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 2px rgba(24, 43, 73, 0.025),
    0 10px 30px rgba(43, 67, 101, 0.045);
}

.kpi-card,
.kpi-card:nth-child(1),
.kpi-card:nth-child(2) {
  min-height: 188px;
  grid-column: span 3;
  padding: 20px 21px 18px;
}

.kpi-card--primary {
  border-color: #e8edf4;
  background:
    radial-gradient(circle at 92% 14%, rgba(115, 91, 246, 0.11), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #ffffff 70%, #f6f4ff 100%);
  color: var(--product-text);
  box-shadow:
    0 1px 2px rgba(24, 43, 73, 0.025),
    0 10px 30px rgba(43, 67, 101, 0.045);
}

.kpi-card__top {
  justify-content: flex-start;
  gap: 10px;
  color: #2a3342;
  font-size: 14px;
  font-weight: 760;
}

.kpi-icon {
  order: -1;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.kpi-card--primary .kpi-card__top,
.kpi-card--primary p {
  color: #68758a;
}

.kpi-card--primary .kpi-icon {
  background: #f0ecff;
  color: #735bf6;
}

.kpi-card__hero-copy {
  max-width: 74%;
}

.kpi-card__value,
.kpi-card__number {
  margin-top: 18px;
  font-size: clamp(1.35rem, 1.65vw, 1.8rem);
  letter-spacing: -0.03em;
}

.kpi-card__number {
  font-size: clamp(2rem, 2.35vw, 2.45rem);
}

.kpi-card--primary .kpi-card__value {
  color: #131b2a;
  font-size: clamp(1.55rem, 1.9vw, 2rem);
}

.kpi-card p,
.kpi-card.kpi-card--primary p {
  margin-top: 8px;
  color: #8792a3;
}

.kpi-card a {
  min-height: 31px;
  margin-top: 13px;
  padding: 0 11px;
  border: 1px solid #a9c2ff;
  border-radius: 999px;
  background: #ffffff;
  color: #2468f2;
  font-size: 11px;
  box-shadow: 0 4px 12px rgba(36, 104, 242, 0.07);
}

.kpi-card__hero-visual {
  right: 2%;
  bottom: 10px;
  width: 112px;
  height: 112px;
  opacity: 0.72;
}

.kpi-card__hero-visual span {
  border-color: rgba(108, 90, 246, 0.12);
  background: linear-gradient(145deg, rgba(117, 92, 246, 0.12), rgba(74, 118, 245, 0.035));
  box-shadow: none;
}

.kpi-card__hero-visual img {
  filter: none;
}

.kpi-mini-chart {
  color: #2468f2;
  opacity: 0.92;
}

.dashboard-grid--primary {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.dashboard-grid--primary > .usage-card {
  min-height: 365px;
  grid-column: span 8;
}

.dashboard-grid--primary > .capability-snapshot-card {
  min-height: 365px;
  grid-column: span 4;
}

.dashboard-grid--secondary > .dashboard-card {
  min-height: 320px;
  grid-column: span 4;
}

.dashboard-card {
  padding: 18px 20px;
}

.card-header {
  min-height: 30px;
}

.card-header h2 {
  color: #202938;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.card-link {
  color: #2468f2;
}

.source-badge {
  border-color: #e5eaf2;
  background: #f8fafc;
  color: #6f7b8e;
}

.chart-grid-line {
  stroke: #e5eaf1;
  stroke-dasharray: 4 5;
}

.chart-axis-label {
  fill: #8b96a7;
}

.line-chart {
  height: 244px;
}

.usage-line {
  stroke-width: 2.2;
}

.usage-point {
  fill: #ffffff;
  stroke-width: 2;
}

.chart-legend {
  border-top-color: #edf0f5;
}

.card-footer {
  border-top-color: #edf0f5;
}

.snapshot-leader {
  min-height: 54px;
  margin-top: 13px;
  border: 1px solid #edf1f7;
  border-radius: 11px;
  background: linear-gradient(90deg, #f3f7ff, #fbfcff);
}

.snapshot-leader strong {
  color: #2468f2;
}

.snapshot-item__track,
.ranking-track {
  background: #edf1f6;
}

.snapshot-item__track i,
.ranking-track i {
  background: linear-gradient(90deg, #9b78f4, #2468f2);
}

.ranking-item:nth-child(1) .ranking-track i,
.ranking-item:nth-child(2) .ranking-track i,
.ranking-item:nth-child(3) .ranking-track i,
.ranking-item:nth-child(n+4) .ranking-track i {
  background: linear-gradient(90deg, #a784f5, #3475f3);
}

.release-bar,
.pulse-bar {
  fill: #3475f3;
}

.pulse-score-line {
  stroke: #7a61e9;
}

.release-list li,
.news-list li {
  border-top-color: #edf0f5;
}

.pulse-metrics > div {
  border-color: #edf1f6;
  background: #f8faff;
}

.usage-data-card {
  border-radius: 15px;
}

[data-dashboard-panel][hidden] {
  display: none !important;
}

.dashboard-grid--secondary:not(:has(> .dashboard-card:not([hidden]))) {
  display: none;
}

.dashboard-customizer {
  width: min(520px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid #e0e6ef;
  border-radius: 18px;
  background: #ffffff;
  color: #1c2636;
  box-shadow: 0 26px 80px rgba(20, 39, 72, 0.2);
}

.dashboard-customizer::backdrop {
  background: rgba(20, 29, 45, 0.28);
  backdrop-filter: blur(3px);
}

.dashboard-customizer form {
  margin: 0;
}

.dashboard-customizer header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid #edf0f5;
}

.dashboard-customizer header p {
  margin: 0 0 5px;
  color: #2468f2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.dashboard-customizer header h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.dashboard-customizer header span {
  display: block;
  margin-top: 7px;
  color: #7a8698;
  font-size: 12px;
  line-height: 1.5;
}

.customizer-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e5eaf1;
  border-radius: 9px;
  background: #f8fafc;
  color: #667287;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
}

.customizer-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 20px 24px;
}

.customizer-options label {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  background: #fbfcfe;
  cursor: pointer;
}

.customizer-options label:has(input:checked) {
  border-color: #b9ccfb;
  background: #f5f8ff;
}

.customizer-options strong,
.customizer-options small {
  display: block;
}

.customizer-options strong {
  color: #273144;
  font-size: 13px;
}

.customizer-options small {
  margin-top: 4px;
  color: #8a95a6;
  font-size: 10px;
  line-height: 1.35;
}

.customizer-options input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: #2468f2;
}

.dashboard-customizer footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid #edf0f5;
}

.customizer-reset,
.customizer-apply {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.customizer-reset {
  border: 0;
  background: transparent;
  color: #667287;
}

.customizer-apply {
  border: 1px solid #2468f2;
  background: #2468f2;
  color: #ffffff;
}

:root[data-theme="dark"] body[data-page="dashboard"] {
  background:
    radial-gradient(circle at 72% 0%, rgba(58, 109, 255, 0.09), transparent 32%),
    var(--product-bg);
}

:root[data-theme="dark"] .kpi-card,
:root[data-theme="dark"] .dashboard-card,
:root[data-theme="dark"] .dashboard-method {
  background: var(--product-surface);
}

:root[data-theme="dark"] .kpi-card--primary {
  background:
    radial-gradient(circle at 92% 14%, rgba(115, 91, 246, 0.13), transparent 34%),
    var(--product-surface);
}

:root[data-theme="dark"] .kpi-card--primary .kpi-card__value,
:root[data-theme="dark"] .card-header h2 {
  color: var(--product-text);
}

:root[data-theme="dark"] .customize-dashboard-button {
  border-color: var(--product-border);
  background: var(--product-surface);
  color: var(--product-text);
}

:root[data-theme="dark"] .dashboard-customizer {
  border-color: var(--product-border);
  background: var(--product-surface-raised);
  color: var(--product-text);
}

:root[data-theme="dark"] .dashboard-customizer header,
:root[data-theme="dark"] .dashboard-customizer footer {
  border-color: var(--product-border);
}

:root[data-theme="dark"] .customizer-options label {
  border-color: var(--product-border);
  background: var(--product-surface);
}

:root[data-theme="dark"] .customizer-options label:has(input:checked) {
  border-color: color-mix(in srgb, var(--product-primary) 48%, var(--product-border));
  background: var(--product-primary-soft);
}

:root[data-theme="dark"] .customizer-options strong {
  color: var(--product-text);
}

@media (max-width: 1320px) {
  .kpi-card,
  .kpi-card:nth-child(1),
  .kpi-card:nth-child(2) {
    min-height: 170px;
    grid-column: span 6;
  }

  .dashboard-grid--secondary > .dashboard-card {
    grid-column: span 6;
  }

  .dashboard-grid--secondary > .news-pulse-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1560px) and (min-width: 1321px) {
  .kpi-card--primary .kpi-card__value {
    font-size: 1.35rem;
  }

  .kpi-card--primary .kpi-card__hero-copy {
    max-width: 78%;
  }

  .kpi-card__hero-visual {
    right: -2%;
    opacity: 0.55;
  }
}

@media (max-width: 1120px) {
  .dashboard-main {
    margin-right: 20px;
    margin-left: calc(var(--product-content-start) + 20px);
  }

  .dashboard-heading {
    align-items: flex-start;
  }

  .dashboard-toolbar {
    align-items: stretch;
  }
}

@media (max-width: 699px) {
  .dashboard-main {
    margin: 0 16px;
    padding-top: calc(var(--product-mobile-header-height) + 14px);
  }

  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
  }

  .dashboard-heading h1 {
    font-size: 27px;
  }

  .customize-dashboard-button {
    width: 100%;
  }

  .dashboard-toolbar {
    margin-bottom: 16px;
  }

  .kpi-card,
  .kpi-card:nth-child(1),
  .kpi-card:nth-child(2) {
    min-height: 142px;
    grid-column: 1 / -1;
  }

  .dashboard-grid--primary > .usage-card,
  .dashboard-grid--primary > .capability-snapshot-card,
  .dashboard-grid--secondary > .dashboard-card {
    min-height: auto;
    grid-column: 1 / -1;
  }

  .customizer-options {
    grid-template-columns: 1fr;
  }

  .dashboard-customizer header,
  .customizer-options,
  .dashboard-customizer footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customize-dashboard-button {
    transition: none;
  }
}

/* News-first dashboard composition */
.topic-card {
  justify-content: flex-start;
}

.topic-pills {
  display: flex;
  align-content: flex-start;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px 9px;
  margin-top: 22px;
}

.topic-pills span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2468f2;
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}

.topic-pills span:nth-child(2) {
  background: #f3efff;
  color: #7257ed;
}

.topic-pills span:nth-child(3) {
  background: #edf8ff;
  color: #147da7;
}

.topic-pills span:nth-child(4) {
  background: #f3f5f8;
  color: #667287;
}

.news-trend-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.news-trend-area {
  fill: #2468f2;
  fill-opacity: 0.1;
}

.news-trend-line {
  fill: none;
  stroke: #2468f2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.news-trend-point {
  fill: #ffffff;
  stroke: #2468f2;
  stroke-width: 2;
  cursor: help;
  vector-effect: non-scaling-stroke;
}

.news-trend-point:hover,
.news-trend-point:focus {
  fill: #2468f2;
  outline: none;
}

.news-pulse-card {
  display: flex;
  flex-direction: column;
}

.news-pulse-card .news-list {
  max-height: 248px;
  grid-column: auto;
  grid-row: auto;
  margin-top: 14px;
}

.platform-activity-strip {
  display: grid;
  min-height: 72px;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 1.45fr) auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
  padding: 13px 18px;
}

.platform-activity-strip__label,
.platform-activity-strip__data {
  display: flex;
  min-width: 0;
  align-items: center;
}

.platform-activity-strip__label {
  gap: 11px;
}

.platform-activity-strip__label .kpi-icon {
  order: 0;
  flex: 0 0 auto;
}

.platform-activity-strip__label strong,
.platform-activity-strip__label span,
.platform-activity-strip__data span,
.platform-activity-strip__data strong,
.platform-activity-strip__data time {
  display: block;
}

.platform-activity-strip__label strong {
  color: var(--product-text);
  font-size: 13px;
}

.platform-activity-strip__label div > span {
  margin-top: 3px;
  overflow: hidden;
  color: var(--product-text-tertiary);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-activity-strip__data {
  justify-content: flex-end;
  gap: 16px;
}

.platform-activity-strip__data > span {
  max-width: 280px;
  overflow: hidden;
  color: var(--product-text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-activity-strip__data strong {
  color: var(--product-text);
  font-size: 14px;
  white-space: nowrap;
}

.platform-activity-strip__data time {
  color: var(--product-text-tertiary);
  font-size: 10px;
  white-space: nowrap;
}

.platform-activity-strip > a {
  color: #2468f2;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

:root[data-theme="dark"] .topic-pills span {
  background: color-mix(in srgb, #2468f2 16%, var(--product-surface));
}

:root[data-theme="dark"] .topic-pills span:nth-child(2) {
  background: color-mix(in srgb, #7257ed 16%, var(--product-surface));
}

:root[data-theme="dark"] .topic-pills span:nth-child(3) {
  background: color-mix(in srgb, #147da7 16%, var(--product-surface));
}

:root[data-theme="dark"] .topic-pills span:nth-child(4) {
  background: var(--product-surface-alt);
}

:root[data-theme="dark"] .news-trend-area {
  fill-opacity: 0.16;
}

@media (max-width: 1120px) {
  .platform-activity-strip {
    grid-template-columns: minmax(220px, 1fr) minmax(300px, 1.4fr);
  }

  .platform-activity-strip > a {
    display: none;
  }
}

@media (max-width: 699px) {
  .topic-pills {
    margin-top: 16px;
  }

  .topic-pills span {
    min-height: 31px;
    padding: 0 11px;
    font-size: 11px;
  }

  .news-trend-chart {
    height: 220px;
    contain: layout paint;
  }

  .news-trend-chart svg {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .platform-activity-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }

  .platform-activity-strip__data {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding-top: 11px;
    border-top: 1px solid var(--product-border);
  }

  .platform-activity-strip__data > span {
    width: 100%;
    max-width: none;
  }
}

/* Compact workspace chrome: data starts immediately below the shared product shell. */
.dashboard-main {
  padding-top: 12px;
}

.dashboard-toolbar {
  margin-bottom: 14px;
}

.dashboard-toolbar .customize-dashboard-button {
  min-height: 38px;
  padding-inline: 12px;
  border-color: #e2e8f1;
  box-shadow: none;
}

@media (max-width: 699px) {
  .dashboard-main {
    padding-top: calc(var(--product-mobile-header-height) + 10px);
  }

  .dashboard-toolbar__actions .customize-dashboard-button {
    grid-column: 1 / -1;
  }
}

/* Reference-led overview: compact intelligence dashboard with one cobalt focal card. */
body[data-page="dashboard"] {
  background:
    radial-gradient(circle at 78% 2%, rgba(50, 113, 255, 0.055), transparent 24rem),
    #f5f7fb;
}

:root[data-theme="dark"] body[data-page="dashboard"] {
  background: var(--product-bg);
}

.dashboard-main {
  margin-right: 16px;
  margin-left: calc(var(--product-content-start) + 16px);
  padding-top: 10px;
}

.dashboard-toolbar {
  min-height: 46px;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.dashboard-search {
  min-height: 36px;
}

.range-switch,
.toolbar-button,
.toolbar-primary,
.customize-dashboard-button {
  min-height: 36px;
}

/* Personal information hub / 个人信息中转站 */
.dashboard-hub-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-hub-grid > .dashboard-card {
  min-height: 0;
  padding: 20px;
}

.dashboard-focus {
  grid-column: span 8;
}

.dashboard-maintenance {
  grid-column: span 4;
}

.dashboard-recent {
  grid-column: 1 / -1;
}

.dashboard-github {
  grid-column: 1 / -1;
}

.github-preview__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.github-preview__status p {
  margin: 0;
  color: var(--product-text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.github-preview-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--product-border);
  border-radius: 12px;
  background: var(--product-surface-alt);
  list-style: none;
}

.github-preview-list li {
  min-width: 0;
  border-right: 1px solid var(--product-border-soft);
}

.github-preview-list li:last-child {
  border-right: 0;
}

.github-preview-list a {
  display: grid;
  min-height: 134px;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 12px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.github-preview-list a:hover,
.github-preview-list a:focus-visible {
  background: var(--product-surface);
}

.github-preview__rank {
  color: var(--product-text-tertiary);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.github-preview__copy {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 5px;
}

.github-preview__copy strong,
.github-preview__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.github-preview__copy strong {
  color: var(--product-text);
  font-size: 13px;
}

.github-preview__copy small {
  color: var(--product-text-tertiary);
  font-size: 10px;
}

.github-preview__growth {
  display: flex;
  grid-column: 1 / -1;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.github-preview__growth b {
  color: var(--product-primary);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.github-preview__growth small {
  color: var(--product-text-tertiary);
  font-size: 10px;
}

.github-preview-empty {
  padding: 28px;
  border: 1px dashed var(--product-border);
  border-radius: 12px;
  color: var(--product-text-tertiary);
  text-align: center;
}

.section-label {
  display: block;
  margin-bottom: 5px;
  color: var(--product-primary);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.09em;
}

.dashboard-focus__grid {
  display: grid;
  min-height: 286px;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 14px;
}

.focus-news,
.focus-release {
  min-width: 0;
  border: 1px solid var(--product-border);
  border-radius: 12px;
}

.focus-news {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(145deg, #0d50d6, #176bf5 62%, #2d7cff);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(20, 99, 255, 0.18);
}

.focus-news::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to bottom right, transparent 8%, #000 88%);
  pointer-events: none;
}

.focus-news > * {
  position: relative;
  z-index: 1;
}

.focus-news__meta {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.focus-news strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 42px;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.focus-news p {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.focus-news__action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 760;
}

.focus-news:hover,
.focus-news:focus-visible {
  border-color: transparent;
  box-shadow: 0 20px 42px rgba(20, 99, 255, 0.26);
  transform: translateY(-2px);
}

.focus-release {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--product-surface-alt);
}

.focus-release__identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.focus-release__identity > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.focus-release__identity small,
.focus-release__identity time {
  color: var(--product-text-tertiary);
  font-size: 11px;
}

.focus-release__identity small {
  color: var(--product-text-secondary);
  font-weight: 740;
}

.focus-release__logo {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--product-border);
  border-radius: 12px;
  background: var(--product-surface);
}

.focus-release__logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

:root[data-theme="dark"] .focus-release__logo img.is-monochrome {
  filter: brightness(0) invert(1);
}

.focus-release h3 {
  margin: 28px 0 0;
  color: var(--product-text);
  font-size: clamp(1.45rem, 1.8vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.focus-release > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--product-text-secondary);
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.focus-release > a,
.maintenance-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: auto;
  color: var(--product-primary);
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}

.maintenance-refresh {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--product-border);
  border-radius: 8px;
  background: var(--product-surface);
  color: var(--product-text-secondary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.maintenance-refresh:hover,
.maintenance-refresh:focus-visible {
  border-color: var(--product-primary);
  color: var(--product-primary);
}

.maintenance-summary {
  min-height: 42px;
  margin: 0 0 12px;
  padding: 11px 12px;
  border-radius: 9px;
  background: var(--product-surface-alt);
  color: var(--product-text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.maintenance-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maintenance-list li {
  display: grid;
  min-height: 55px;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--product-border-soft);
}

.maintenance-state {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--product-success);
}

.maintenance-list li[data-status="stale"] .maintenance-state {
  border-radius: 2px;
  background: var(--product-orange);
  transform: rotate(45deg);
}

.maintenance-list li[data-status="error"] .maintenance-state {
  background: var(--product-danger);
}

.maintenance-list li > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.maintenance-list strong,
.maintenance-list small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.maintenance-list strong {
  color: var(--product-text);
  font-size: 13px;
}

.maintenance-list small {
  color: var(--product-text-tertiary);
  font-size: 11px;
}

.maintenance-list em {
  color: var(--product-text-secondary);
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
}

.recent-update-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--product-border);
  list-style: none;
}

.recent-update-list li {
  min-width: 0;
  border-bottom: 1px solid var(--product-border-soft);
}

.recent-update-list li:nth-child(odd) {
  border-right: 1px solid var(--product-border-soft);
}

.recent-update-list a {
  display: grid;
  min-height: 108px;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 16px 18px;
  color: inherit;
  text-decoration: none;
}

.recent-update-list a:hover,
.recent-update-list a:focus-visible {
  background: var(--product-surface-alt);
}

.recent-update__marker {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border: 2px solid var(--product-primary);
  border-radius: 50%;
}

.recent-update__marker--release {
  border-radius: 2px;
  background: color-mix(in srgb, var(--product-violet) 18%, transparent);
  border-color: var(--product-violet);
  transform: rotate(45deg);
}

.recent-update__copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.recent-update__meta {
  overflow: hidden;
  color: var(--product-text-tertiary);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-update__copy strong {
  overflow: hidden;
  color: var(--product-text);
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-update__summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--product-text-secondary);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.recent-update__action {
  color: var(--product-primary);
  font-size: 11px;
  font-weight: 720;
}

.recent-update-empty {
  padding: 38px 18px;
  color: var(--product-text-tertiary);
  text-align: center;
}

@media (max-width: 1199px) {
  .dashboard-focus,
  .dashboard-maintenance {
    grid-column: 1 / -1;
  }

  .dashboard-focus__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  }

  .github-preview-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .github-preview-list li:nth-child(3n) {
    border-right: 0;
  }

  .github-preview-list li:nth-child(n + 4) {
    border-top: 1px solid var(--product-border-soft);
  }
}

@media (max-width: 699px) {
  .dashboard-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-hub-grid > .dashboard-card {
    grid-column: 1;
    padding: 16px;
  }

  .dashboard-focus__grid,
  .recent-update-list {
    grid-template-columns: 1fr;
  }

  .github-preview__status {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .github-preview-list {
    grid-template-columns: 1fr;
  }

  .github-preview-list li,
  .github-preview-list li:nth-child(3n) {
    border-right: 0;
    border-top: 1px solid var(--product-border-soft);
  }

  .github-preview-list li:first-child {
    border-top: 0;
  }

  .github-preview-list a {
    min-height: 94px;
  }

  .dashboard-focus__grid {
    min-height: 0;
  }

  .focus-news {
    min-height: 300px;
    padding: 20px;
  }

  .focus-release {
    min-height: 250px;
  }

  .recent-update-list li:nth-child(odd) {
    border-right: 0;
  }

  .recent-update-list a {
    min-height: 116px;
    padding-right: 8px;
    padding-left: 8px;
  }
}

.kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.kpi-card,
.kpi-card:nth-child(1),
.kpi-card:nth-child(2) {
  min-height: 122px;
  grid-column: auto;
  padding: 16px 18px;
  border-color: color-mix(in srgb, var(--product-border) 86%, #d9e2f1);
  border-radius: 13px;
  background: color-mix(in srgb, var(--product-surface) 96%, transparent);
  box-shadow: 0 8px 24px rgba(23, 47, 86, 0.055);
}

.kpi-card__top {
  justify-content: flex-start;
  gap: 11px;
  color: var(--product-text);
  font-size: 13px;
  font-weight: 760;
}

.kpi-card__top small {
  color: var(--product-text-tertiary);
  font-size: 12px;
  font-weight: 600;
}

.kpi-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--product-primary) 8%, var(--product-surface));
}

.kpi-icon--violet {
  background: color-mix(in srgb, var(--product-violet) 8%, var(--product-surface));
}

.kpi-icon--cyan {
  background: color-mix(in srgb, var(--product-cyan) 8%, var(--product-surface));
}

.kpi-card__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 0 45px;
}

.kpi-card__number {
  margin: 0;
  color: var(--product-text);
  font-size: clamp(1.75rem, 2.25vw, 2.2rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
}

.metric-change {
  padding: 3px 7px;
  border-radius: 6px;
  background: color-mix(in srgb, #08a88a 9%, var(--product-surface));
  color: #078c77;
  font-size: 10px;
  font-weight: 800;
}

.kpi-card > p {
  margin: 2px 0 0 45px;
  color: var(--product-text-tertiary);
  font-size: 11px;
}

.kpi-card .kpi-mini-chart {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34%;
  max-width: 136px;
  height: 34px;
  margin: 0;
  padding: 0;
  opacity: 0.95;
}

.kpi-card .kpi-mini-chart--rank {
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
}

.kpi-card .kpi-mini-chart--rank span {
  flex: 0 0 3px;
  background: linear-gradient(90deg, #8c3dff, #b881ff);
}

.kpi-mini-chart--line {
  overflow: visible;
}

.kpi-mini-chart--line::before,
.kpi-mini-chart--line::after {
  position: absolute;
  content: "";
}

.kpi-mini-chart--line::before {
  inset: 5px 0 0;
  background: linear-gradient(180deg, rgba(0, 172, 188, 0.18), transparent);
  clip-path: polygon(0 78%, 14% 62%, 28% 66%, 43% 30%, 56% 50%, 70% 17%, 84% 44%, 100% 10%, 100% 100%, 0 100%);
}

.kpi-mini-chart--line::after {
  inset: 5px 0 auto;
  height: 26px;
  border-top: 2px solid var(--product-cyan);
  clip-path: polygon(0 76%, 14% 60%, 28% 64%, 43% 28%, 56% 48%, 70% 15%, 84% 42%, 100% 8%, 100% 16%, 84% 50%, 70% 23%, 56% 56%, 43% 36%, 28% 72%, 14% 68%, 0 84%);
}

.dashboard-grid--feature,
.dashboard-grid--analysis {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.latest-model-hero {
  position: relative;
  min-height: 292px;
  grid-column: span 8;
  overflow: hidden;
  border: 1px solid rgba(31, 102, 255, 0.65);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 108%, rgba(67, 157, 255, 0.65), transparent 35%),
    linear-gradient(122deg, #0d4ed2 0%, #0c60e7 50%, #0839a8 100%);
  box-shadow: 0 15px 34px rgba(17, 78, 196, 0.18);
  color: #ffffff;
  isolation: isolate;
}

.latest-model-hero::before {
  position: absolute;
  z-index: -1;
  inset: auto -5% -68% -12%;
  height: 118%;
  border: 1px dashed rgba(149, 204, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(126, 192, 255, 0.035),
    0 0 0 48px rgba(126, 192, 255, 0.03),
    0 0 0 72px rgba(126, 192, 255, 0.025);
  content: "";
  transform: rotate(-6deg);
}

.latest-model-hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: 49%;
  min-height: 292px;
  flex-direction: column;
  padding: 21px 22px;
}

.latest-model-hero__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}

.latest-model-hero__meta span {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 760;
}

.latest-model-hero__meta time {
  color: rgba(255, 255, 255, 0.74);
}

.latest-model-hero h2 {
  margin: 15px 0 0;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.latest-model-hero__vendor {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.latest-model-hero__summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-model-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.latest-model-hero__tags span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
}

.latest-model-hero__copy > a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: auto;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 760;
  text-decoration: none;
}

.latest-model-hero__benchmark {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 18%;
  bottom: 24px;
  width: 33%;
  min-width: 230px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(35, 116, 236, 0.44);
  backdrop-filter: blur(10px);
}

.latest-model-hero__benchmark > span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.latest-model-hero__score {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 11px;
}

.latest-model-hero__score strong {
  font-size: 2.45rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.latest-model-hero__score span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
}

.latest-model-hero__score em {
  margin-left: 6px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(40, 226, 190, 0.17);
  color: #75f0d8;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.latest-model-hero .snapshot-ranking {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.latest-model-hero .snapshot-item {
  display: grid;
  min-height: 19px;
  grid-template-columns: 17px 1fr 30px;
  gap: 7px;
  align-items: center;
}

.latest-model-hero .snapshot-item__rank,
.latest-model-hero .snapshot-item img {
  display: none;
}

.latest-model-hero .snapshot-item__data {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
}

.latest-model-hero .snapshot-item__data > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-model-hero .snapshot-item__track {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.latest-model-hero .snapshot-item__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ea7ff, #d8ecff);
}

.latest-model-hero .snapshot-item__score {
  color: #ffffff;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.latest-model-hero__visual {
  position: absolute;
  z-index: 2;
  right: 1.5%;
  bottom: 14px;
  width: 132px;
  height: 164px;
}

.latest-model-hero__visual i {
  position: absolute;
  right: 16px;
  bottom: calc(var(--layer, 0) * 22px);
  width: 94px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(226, 239, 255, 0.6), rgba(94, 149, 255, 0.25));
  box-shadow: 0 13px 20px rgba(0, 32, 115, 0.25);
  transform: rotate(30deg) skewX(-12deg);
}

.latest-model-hero__visual i:nth-child(1) { --layer: 0; opacity: 0.45; }
.latest-model-hero__visual i:nth-child(2) { --layer: 1; right: 8px; opacity: 0.62; }
.latest-model-hero__visual i:nth-child(3) { --layer: 2; right: 18px; opacity: 0.78; }
.latest-model-hero__visual i:nth-child(4) { --layer: 3; right: 11px; }

.latest-model-hero__visual img {
  position: absolute;
  z-index: 2;
  top: 38px;
  right: 50px;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.dashboard-grid--feature > .news-pulse-card {
  min-height: 292px;
  grid-column: span 4;
}

.dashboard-grid--analysis > .news-trend-card {
  min-height: 328px;
  grid-column: span 4;
}

.dashboard-grid--analysis > .capability-card {
  min-height: 328px;
  grid-column: span 5;
}

.dashboard-side-stack {
  display: grid;
  min-width: 0;
  grid-column: span 3;
  grid-template-rows: minmax(190px, 1fr) auto;
  gap: 14px;
}

.dashboard-side-stack > .dashboard-card {
  min-height: 0;
}

.dashboard-card {
  border-color: color-mix(in srgb, var(--product-border) 86%, #d9e2f1);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(23, 47, 86, 0.05);
}

.card-header {
  align-items: center;
}

.card-header h2 {
  font-size: 14px;
  letter-spacing: -0.015em;
}

.card-header h2 small {
  color: var(--product-text-tertiary);
  font-size: 11px;
  font-weight: 600;
}

.card-link {
  font-size: 10px;
}

.news-pulse-card .news-list {
  margin-top: 8px;
}

.news-pulse-card .news-list li {
  min-height: 45px;
  padding: 7px 0;
}

.news-pulse-card .news-item-copy a {
  -webkit-line-clamp: 1;
  font-size: 10.5px;
}

.news-pulse-card .news-item-copy span {
  margin-top: 3px;
  font-size: 9px;
}

.news-pulse-card .news-score {
  font-size: 9px;
}

.news-pulse-card .news-score-shape {
  transform: scale(0.8);
}

.news-trend-chart {
  height: 228px;
  margin-top: 8px;
}

.news-trend-card .card-footer {
  margin-top: 2px;
  font-size: 9px;
}

.ranking-bars {
  gap: 7px;
  margin-top: 13px;
}

.ranking-item {
  min-height: 23px;
  grid-template-columns: 22px 22px minmax(0, 1fr) 34px;
  gap: 7px;
}

.ranking-logo {
  width: 20px;
  height: 20px;
}

.ranking-data {
  grid-template-columns: minmax(90px, 145px) 1fr;
  gap: 8px;
}

.ranking-data > span {
  font-size: 10px;
}

.ranking-track {
  height: 4px;
}

.ranking-rank,
.ranking-score {
  font-size: 9px;
}

.release-card {
  padding: 14px;
}

.release-total {
  margin-top: 6px;
}

.release-total strong {
  font-size: 1.25rem;
}

.release-total span {
  font-size: 9px;
}

.release-chart {
  height: 88px;
  margin-top: 4px;
}

.release-card .release-list {
  display: none;
}

.dashboard-side-stack .topic-card {
  min-height: 106px;
  padding: 14px;
}

.dashboard-side-stack .topic-pills {
  gap: 7px;
  margin-top: 10px;
}

.dashboard-side-stack .topic-pills span {
  min-height: 27px;
  padding: 0 10px;
  font-size: 9px;
}

.dashboard-grid--visuals {
  display: none !important;
}

@media (max-width: 1320px) {
  .toolbar-primary {
    display: none;
  }

  .latest-model-hero {
    grid-column: span 8;
  }

  .latest-model-hero__copy {
    width: 48%;
  }

  .latest-model-hero__benchmark {
    right: 15%;
    width: 36%;
  }

  .latest-model-hero__visual {
    right: 0;
    transform: scale(0.84);
    transform-origin: right bottom;
  }

  .latest-model-hero .snapshot-item__data {
    grid-template-columns: 66px 1fr;
  }

  .dashboard-grid--analysis > .news-trend-card,
  .dashboard-grid--analysis > .capability-card,
  .dashboard-side-stack {
    grid-column: span 4;
  }

  .ranking-data {
    grid-template-columns: minmax(76px, 110px) 1fr;
  }
}

@media (max-width: 1120px) {
  .dashboard-toolbar {
    align-items: stretch;
  }

  .dashboard-search {
    width: 100%;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-card:last-child {
    grid-column: 1 / -1;
  }

  .latest-model-hero,
  .dashboard-grid--feature > .news-pulse-card {
    grid-column: 1 / -1;
  }

  .latest-model-hero__benchmark {
    right: 17%;
  }

  .dashboard-grid--analysis > .news-trend-card,
  .dashboard-grid--analysis > .capability-card {
    grid-column: span 6;
  }

  .dashboard-side-stack {
    grid-column: 1 / -1;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: none;
  }
}

@media (max-width: 699px) {
  .dashboard-main {
    margin: 0 12px;
    padding-top: calc(var(--product-mobile-header-height) + 10px);
  }

  .dashboard-toolbar {
    display: none;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .kpi-card:last-child {
    grid-column: auto;
  }

  .kpi-card,
  .kpi-card:nth-child(1),
  .kpi-card:nth-child(2) {
    min-height: 112px;
  }

  .dashboard-grid--feature,
  .dashboard-grid--analysis {
    gap: 10px;
  }

  .latest-model-hero {
    min-height: 520px;
  }

  .latest-model-hero__copy {
    width: 100%;
    min-height: 266px;
    padding: 19px;
  }

  .latest-model-hero__benchmark {
    top: auto;
    right: 15px;
    bottom: 16px;
    left: 15px;
    width: auto;
    min-width: 0;
  }

  .latest-model-hero__visual {
    display: none;
  }

  .dashboard-grid--feature > .news-pulse-card,
  .dashboard-grid--analysis > .news-trend-card,
  .dashboard-grid--analysis > .capability-card,
  .dashboard-side-stack {
    grid-column: 1 / -1;
  }

  .dashboard-side-stack {
    grid-template-columns: 1fr;
  }

  .ranking-data {
    grid-template-columns: minmax(86px, 130px) 1fr;
  }
}

/* Viewport-fill fidelity pass: scale the three content bands together on wide desktops. */
@media (min-width: 1121px) and (min-height: 760px) {
  .dashboard-main {
    display: flex;
    min-height: 100svh;
    box-sizing: border-box;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 14px;
  }

  .dashboard-toolbar,
  .kpi-grid,
  .dashboard-grid--feature,
  .dashboard-grid--analysis {
    margin-bottom: 0;
  }

  .dashboard-toolbar {
    flex: 0 0 46px;
  }

  .kpi-grid {
    min-height: 122px;
    flex: 0.34 1 0;
  }

  .dashboard-grid--feature {
    min-height: 300px;
    flex: 0.94 1 0;
  }

  .dashboard-grid--analysis {
    min-height: 330px;
    flex: 1 1 0;
  }

  .kpi-card,
  .latest-model-hero,
  .dashboard-grid--feature > .news-pulse-card,
  .dashboard-grid--analysis > .news-trend-card,
  .dashboard-grid--analysis > .capability-card,
  .dashboard-side-stack {
    height: 100%;
    min-height: 0;
  }
}

.latest-model-hero {
  background:
    linear-gradient(105deg, rgba(28, 126, 255, 0.3), rgba(11, 74, 220, 0.12)),
    url("../assets/dashboard-hero-cobalt-v2.png") center / cover no-repeat,
    #0757e6;
  background-blend-mode: screen, normal, normal;
}

.latest-model-hero::before {
  display: none;
}

.latest-model-hero__copy {
  height: 100%;
  min-height: 0;
  padding: clamp(21px, 1.55vw, 34px);
}

.latest-model-hero h2 {
  margin-top: clamp(14px, 1.2vh, 22px);
  font-size: clamp(1.9rem, 2.15vw, 2.85rem);
}

.latest-model-hero__vendor {
  font-size: clamp(11px, 0.7vw, 14px);
}

.latest-model-hero__summary {
  max-width: 590px;
  margin-top: clamp(15px, 1.8vh, 26px);
  font-size: clamp(11px, 0.7vw, 14px);
  line-height: 1.65;
}

.latest-model-hero__tags {
  gap: clamp(6px, 0.5vw, 10px);
  margin-top: clamp(12px, 1.5vh, 22px);
}

.latest-model-hero__tags span {
  padding: clamp(5px, 0.42vw, 8px) clamp(8px, 0.65vw, 13px);
  font-size: clamp(9px, 0.58vw, 12px);
}

.latest-model-hero__copy > a {
  min-height: clamp(34px, 2.5vw, 44px);
  padding-inline: clamp(12px, 0.9vw, 18px);
  font-size: clamp(10px, 0.62vw, 13px);
}

.latest-model-hero__benchmark {
  top: 7%;
  right: 18%;
  bottom: 7%;
  display: flex;
  width: 34%;
  flex-direction: column;
  padding: clamp(17px, 1.25vw, 26px);
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(25, 104, 226, 0.53);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.latest-model-hero__benchmark > span {
  font-size: clamp(9px, 0.58vw, 12px);
}

.latest-model-hero__score {
  margin-top: clamp(10px, 1.1vh, 17px);
}

.latest-model-hero__score strong {
  font-size: clamp(2.3rem, 2.9vw, 3.9rem);
}

.latest-model-hero .snapshot-ranking {
  flex: 1;
  justify-content: space-between;
  gap: clamp(7px, 0.75vh, 13px);
  margin-top: clamp(13px, 1.6vh, 24px);
}

.latest-model-hero .snapshot-item {
  min-height: clamp(18px, 2.1vh, 28px);
  grid-template-columns: minmax(0, 1fr) clamp(34px, 2.8vw, 48px);
}

.latest-model-hero .snapshot-item__data {
  grid-template-columns: minmax(58px, 0.58fr) 1fr;
  font-size: clamp(9px, 0.58vw, 12px);
}

.latest-model-hero .snapshot-item__track {
  height: clamp(3px, 0.28vw, 5px);
}

.latest-model-hero .snapshot-item__score {
  font-size: clamp(9px, 0.58vw, 12px);
}

.latest-model-hero__visual {
  right: 1.25%;
  bottom: 4%;
  width: 16%;
  height: 64%;
}

.latest-model-hero__visual i {
  right: 12%;
  bottom: calc(var(--layer, 0) * 13%);
  width: 72%;
  height: 34%;
  border-radius: clamp(12px, 1vw, 20px);
}

.latest-model-hero__visual i:nth-child(2) { right: 5%; }
.latest-model-hero__visual i:nth-child(3) { right: 13%; }
.latest-model-hero__visual i:nth-child(4) { right: 8%; }

.latest-model-hero__visual img {
  top: 23%;
  right: 40%;
  width: 29%;
  height: 29%;
}

.dashboard-grid--feature > .news-pulse-card,
.dashboard-grid--analysis > .news-trend-card,
.dashboard-grid--analysis > .capability-card {
  display: flex;
  flex-direction: column;
}

.news-pulse-card .news-list {
  display: grid;
  min-height: 0;
  max-height: none;
  flex: 1;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  align-content: stretch;
}

.news-pulse-card .news-list li {
  min-height: 0;
  align-content: center;
}

.news-pulse-card .news-item-copy a {
  font-size: clamp(10px, 0.64vw, 13px);
}

.news-pulse-card .news-item-copy span,
.news-pulse-card .news-score {
  font-size: clamp(8px, 0.52vw, 11px);
}

.news-trend-chart {
  min-height: 190px;
  height: auto;
  flex: 1;
}

.news-trend-chart svg {
  width: 100%;
  height: 100%;
}

.capability-card .ranking-bars {
  min-height: 0;
  flex: 1;
  justify-content: space-around;
}

.ranking-item {
  min-height: clamp(22px, 2.3vh, 32px);
}

.ranking-logo {
  width: clamp(20px, 1.25vw, 25px);
  height: clamp(20px, 1.25vw, 25px);
}

.ranking-data > span,
.ranking-rank,
.ranking-score {
  font-size: clamp(9px, 0.58vw, 12px);
}

.ranking-track {
  height: clamp(4px, 0.3vw, 6px);
}

.dashboard-side-stack {
  grid-template-rows: minmax(0, 1.05fr) minmax(0, 0.72fr);
}

.dashboard-side-stack .release-card {
  display: flex;
  flex-direction: column;
}

.release-chart {
  min-height: 74px;
  height: auto;
  flex: 1;
}

.release-chart svg {
  width: 100%;
  height: 100%;
}

.release-total strong {
  font-size: clamp(1.2rem, 1.5vw, 2rem);
}

.release-total span {
  font-size: clamp(8px, 0.52vw, 11px);
}

.dashboard-side-stack .topic-card {
  min-height: 0;
}

.dashboard-side-stack .topic-pills {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 0.55vw, 10px);
}

.dashboard-side-stack .topic-pills span {
  min-width: 0;
  min-height: clamp(27px, 3vh, 38px);
  justify-content: center;
  padding-inline: clamp(7px, 0.6vw, 12px);
  overflow: hidden;
  font-size: clamp(8px, 0.52vw, 11px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .latest-model-hero__benchmark {
    right: 15%;
    width: 37%;
  }

  .dashboard-side-stack .topic-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Dashboard restore plan: card density and chart fidelity. */
.kpi-card,
.kpi-card:nth-child(1),
.kpi-card:nth-child(2) {
  --kpi-copy-indent: 45px;
  display: grid;
  min-height: 132px;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 38%);
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.kpi-card__copy {
  min-width: 0;
}

.kpi-card__metric {
  gap: 6px;
  margin-top: 7px;
  margin-left: var(--kpi-copy-indent);
}

.kpi-card__copy > p {
  margin-left: var(--kpi-copy-indent);
}

.kpi-card__number {
  flex: 0 0 auto;
  overflow: visible;
  font-size: clamp(1.9rem, 2.3vw, 2rem);
  font-weight: 800;
}

.metric-change {
  border-radius: 999px;
  background: color-mix(in srgb, #16a34a 12%, transparent);
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
}

.metric-change--neutral {
  background: color-mix(in srgb, var(--product-text-tertiary) 10%, transparent);
  color: var(--product-text-secondary);
}

.kpi-card > .kpi-mini-chart {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  height: 62px;
  margin: 0;
  padding: 0;
  border: 0;
}

.kpi-card .kpi-mini-chart--bars {
  gap: 6px;
}

.kpi-card .kpi-mini-chart--bars span {
  min-width: 6px;
  border-radius: 3px 3px 1px 1px;
  background: color-mix(in srgb, var(--product-primary) 58%, transparent);
  opacity: 0.5;
}

.kpi-card .kpi-mini-chart--bars span:nth-last-child(-n+4) {
  opacity: 0.72;
}

.kpi-card .kpi-mini-chart--bars span.is-latest {
  background: var(--product-primary);
  opacity: 1;
}

.kpi-card .kpi-mini-chart--rank,
.kpi-card .kpi-mini-chart--line {
  display: block;
  color: var(--product-violet);
}

.kpi-card .kpi-mini-chart--line {
  color: var(--product-cyan);
}

.kpi-card .kpi-mini-chart--line::before,
.kpi-card .kpi-mini-chart--line::after {
  display: none;
}

.kpi-mini-chart svg,
.kpi-mini-chart--line svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.kpi-sparkline__line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.kpi-sparkline__point {
  fill: var(--product-surface);
  stroke: currentColor;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.ranking-bars,
.capability-card .ranking-bars {
  gap: 14px;
  align-content: space-between;
  justify-content: stretch;
  justify-items: stretch;
}

.ranking-item {
  grid-template-columns: 28px 26px 150px minmax(0, 1fr) 48px;
  gap: 9px;
}

.ranking-name {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-rank {
  font-size: 11px;
}

.ranking-score {
  font-size: 13px;
  font-weight: 800;
}

.ranking-track {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in srgb, var(--product-primary) 8%, var(--product-surface-alt));
}

.ranking-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--product-primary) 55%, #7aa7ff), var(--product-primary));
  transition: width 0.6s ease-out;
  transition-delay: calc(var(--rank-index) * 45ms);
}

.ranking-item:nth-child(1) .ranking-track i {
  opacity: 1;
}

.ranking-item:nth-child(2) .ranking-track i,
.ranking-item:nth-child(3) .ranking-track i {
  background: linear-gradient(90deg, color-mix(in srgb, var(--product-primary) 48%, #8cb5ff), color-mix(in srgb, var(--product-primary) 82%, #ffffff));
  opacity: 0.88;
}

.ranking-item:nth-child(n+4) .ranking-track i {
  background: linear-gradient(90deg, color-mix(in srgb, var(--product-primary) 38%, #9bbcff), color-mix(in srgb, var(--product-primary) 58%, #ffffff));
  opacity: 0.78;
}

.latest-model-hero__benchmark {
  width: clamp(300px, 34%, 380px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(9, 30, 92, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.latest-model-hero__score strong {
  font-size: clamp(2.75rem, 3vw, 3.9rem);
  font-weight: 800;
}

.latest-model-hero__score em {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.latest-model-hero .snapshot-item {
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  gap: 10px;
}

.latest-model-hero .snapshot-ranking {
  align-content: space-between;
  justify-content: stretch;
  justify-items: stretch;
}

.latest-model-hero .snapshot-item__label {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(9px, 0.58vw, 12px);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-model-hero .snapshot-item__track {
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.latest-model-hero .snapshot-item__track i {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), #ffffff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.latest-model-hero__visual i {
  width: 68%;
  aspect-ratio: 1;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: clamp(16px, 1.2vw, 20px);
  background: rgba(255, 255, 255, calc(0.1 + var(--layer, 0) * 0.035));
  box-shadow: 0 14px 28px rgba(0, 32, 115, 0.22);
  transform: rotate(45deg);
  backdrop-filter: blur(8px);
}

.latest-model-hero__visual img {
  z-index: 5;
  top: 20%;
  right: 38%;
}

.news-trend-area {
  fill: url("#news-trend-area-gradient");
  fill-opacity: 1;
}

.news-trend-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--product-surface-alt) 72%, transparent);
}

.news-trend-legend > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 7px minmax(0, 1fr);
  gap: 3px 7px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  color: var(--product-text-tertiary);
  font-size: 10px;
  text-align: center;
}

.news-trend-legend i {
  width: 7px;
  height: 7px;
  grid-row: span 2;
  border-radius: 50%;
  background: var(--product-primary);
}

.news-trend-legend strong {
  color: var(--product-text);
  font-size: 11px;
}

.news-trend-legend [data-category="research"] i {
  background: var(--product-violet);
}

.news-trend-legend [data-category="evaluation"] i {
  background: var(--product-cyan);
}

.news-trend-legend [data-category="industry"] i {
  background: var(--product-orange);
}

.release-chart {
  min-height: 110px;
}

.release-bar {
  fill: color-mix(in srgb, var(--product-primary) 22%, var(--product-surface-alt));
  opacity: 1;
}

.release-bar.is-latest {
  fill: var(--product-primary);
}

.release-bar-value {
  fill: var(--product-text-tertiary);
  font-size: 11px;
  font-weight: 650;
}

.release-bar-value.is-latest {
  fill: var(--product-primary);
}

.news-pulse-card .news-list li {
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--product-border) 40%, transparent);
}

.news-pulse-card .news-list li:last-child {
  border-bottom: 0;
}

.news-model-logo {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--product-border) 76%, transparent);
  border-radius: 7px;
  background: var(--product-surface-alt);
}

.news-model-logo img,
.news-model-logo svg {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.news-model-logo svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.news-model-logo.is-fallback {
  color: var(--product-text-tertiary);
}

.news-pulse-card .news-item-copy a {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}

.news-pulse-card .news-item-copy span {
  font-size: 11px;
}

.dashboard-side-stack .topic-pills {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

.dashboard-side-stack .topic-pills > span {
  min-height: 0;
  justify-content: flex-start;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.topic-pills svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.topic-pills [data-topic="agent"] {
  background: color-mix(in srgb, var(--product-primary) 12%, transparent);
  color: color-mix(in srgb, var(--product-primary) 80%, var(--product-text));
}

.topic-pills [data-topic="multimodal"] {
  background: color-mix(in srgb, var(--product-violet) 12%, transparent);
  color: color-mix(in srgb, var(--product-violet) 80%, var(--product-text));
}

.topic-pills [data-topic="open"] {
  background: color-mix(in srgb, #16a34a 12%, transparent);
  color: color-mix(in srgb, #16a34a 80%, var(--product-text));
}

.topic-pills [data-topic="context"] {
  background: color-mix(in srgb, var(--product-orange) 12%, transparent);
  color: color-mix(in srgb, var(--product-orange) 80%, var(--product-text));
}

.topic-pills [data-topic="release"] {
  background: color-mix(in srgb, var(--product-cyan) 12%, transparent);
  color: color-mix(in srgb, var(--product-cyan) 80%, var(--product-text));
}

.topic-pills [data-topic="benchmark"] {
  background: color-mix(in srgb, #4f46e5 12%, transparent);
  color: color-mix(in srgb, #4f46e5 80%, var(--product-text));
}

:root[data-theme="dark"] .metric-change {
  color: #65d88d;
}

:root[data-theme="dark"] .metric-change--neutral {
  color: var(--product-text-secondary);
}

:root[data-theme="dark"] .kpi-sparkline__point {
  fill: var(--product-surface);
}

:root[data-theme="dark"] .news-model-logo.is-monochrome img {
  filter: invert(1);
}

:root[data-theme="dark"] .source-badge {
  border-color: color-mix(in srgb, var(--product-border) 84%, transparent);
  background: var(--product-surface-alt);
  color: var(--product-text-secondary);
}

@media (max-width: 1320px) {
  .ranking-item {
    grid-template-columns: 24px 24px 116px minmax(0, 1fr) 42px;
  }
}

@media (max-width: 1680px) and (min-width: 1121px) {
  .latest-model-hero__copy {
    width: 43%;
  }
}

@media (max-height: 1100px) {
  .ranking-bars,
  .capability-card .ranking-bars {
    gap: 9px;
  }
}

@media (max-width: 699px) {
  .kpi-card,
  .kpi-card:nth-child(1),
  .kpi-card:nth-child(2) {
    --kpi-copy-indent: 36px;
    min-height: 126px;
    grid-template-columns: minmax(0, 1fr) minmax(106px, 40%);
    gap: 12px;
    padding: 16px;
  }

  .ranking-item {
    grid-template-columns: 22px 22px 98px minmax(48px, 1fr) 38px;
    gap: 6px;
  }

  .ranking-name,
  .ranking-score {
    font-size: 11px;
  }

  .latest-model-hero .snapshot-item {
    grid-template-columns: 58px minmax(0, 1fr) 38px;
  }

  .news-trend-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ranking-track i {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .latest-model-hero {
    min-height: 340px;
  }

  .latest-model-hero__benchmark {
    right: 16%;
  }

  .dashboard-side-stack {
    grid-template-rows: none;
  }
}

@media (max-width: 699px) {
  .latest-model-hero {
    min-height: 520px;
    background-position: 62% center;
  }

  .latest-model-hero__copy {
    height: auto;
  }

  .latest-model-hero__benchmark {
    top: auto;
    right: 15px;
    bottom: 16px;
    left: 15px;
    width: auto;
  }

  .dashboard-side-stack .topic-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
