/* Explore page */

html.is-explore-workspace[data-theme="dark"] {
  color-scheme: dark;
}

html.is-explore-workspace[data-theme="light"] {
  color-scheme: light;

  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-alt: #eef1f6;
  --surface-hover: #e4e9f1;
  --overlay: #ffffff;

  --border: #7b879a;
  --border-strong: #667287;
  --border-soft: #dde3ec;

  --text: #171c28;
  --text-secondary: #475268;
  --text-tertiary: #5d687c;
  --text-inverse: #f7f9fc;

  --accent: #4f67c8;
  --accent-hover: #3f56b4;
  --accent-soft: #e2e7f8;
  --today: #b34f69;

  --series-gpt: #2f6f9f;
  --series-claude: #a9573d;
  --series-gemini: #6754b8;
  --series-llama: #18799a;
  --series-deepseek: #465fb5;
  --series-qwen: #8a47a8;
  --series-grok: #5a6475;
  --series-cursor: #526875;
  --series-doubao: #3269b2;
  --series-kimi: #59677a;
  --series-minimax: #ae416f;
  --series-chatglm: #277d70;
  --series-hunyuan: #9a6328;
  --series-featured: #8a681f;
  --series-comparison: #5567b1;
  --signal-lead: #82601f;

  --success: #287a63;
  --modality-text: #2f6f9f;
  --modality-image: #287a55;
  --modality-video: #a65335;
  --modality-audio: #7056a9;
  --modality-file: #82601f;
  --status-unread: #2d7a4d;
  --warning: #82601f;
  --error: #b54258;

  --bg-rgb: 244, 246, 250;
  --surface-rgb: 255, 255, 255;
  --text-rgb: 23, 28, 40;
  --accent-rgb: 79, 103, 200;
  --today-rgb: 179, 79, 105;
  --future-region-rgb: 226, 230, 238;
  --shadow-rgb: 36, 43, 58;

  --series-gpt-rgb: 47, 111, 159;
  --series-claude-rgb: 169, 87, 61;
  --series-gemini-rgb: 103, 84, 184;
  --series-llama-rgb: 24, 121, 154;
  --series-deepseek-rgb: 70, 95, 181;
  --series-qwen-rgb: 138, 71, 168;
  --series-grok-rgb: 90, 100, 117;
  --series-cursor-rgb: 82, 104, 117;
  --series-doubao-rgb: 50, 105, 178;
  --series-kimi-rgb: 89, 103, 122;
  --series-minimax-rgb: 174, 65, 111;
  --series-chatglm-rgb: 39, 125, 112;
  --series-hunyuan-rgb: 154, 99, 40;
  --series-featured-rgb: 138, 104, 31;
  --series-comparison-rgb: 85, 103, 177;
  --signal-lead-rgb: 130, 96, 31;

  --modality-text-rgb: 47, 111, 159;
  --modality-image-rgb: 40, 122, 85;
  --modality-video-rgb: 166, 83, 53;
  --modality-audio-rgb: 112, 86, 169;
  --modality-file-rgb: 130, 96, 31;
  --status-unread-rgb: 45, 122, 77;

  --shadow-hairline: 0 1px 0 rgba(23, 28, 40, 0.07);
  --shadow-subtle: 0 18px 50px rgba(36, 43, 58, 0.1);
  --shadow-raised: 0 22px 70px rgba(36, 43, 58, 0.14);
  --shadow-popover: 0 24px 70px rgba(36, 43, 58, 0.2);
}

body[data-page="explore"] > .site-header--tool {
  position: sticky;
  z-index: 110;
  top: 0;
  min-height: 66px;
  padding: 0;
  overflow: visible;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(var(--bg-rgb), 0.9);
  backdrop-filter: blur(18px);
}

body[data-page="explore"] {
  --explore-header-height: 66px;
  --explore-control-height: 0px;
}

.tool-header__inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark--modelscience {
  flex: 0 0 auto;
  gap: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.wordmark--modelscience__mark,
.wordmark--modelscience__type {
  display: block;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

.wordmark--modelscience__mark {
  width: 32px;
  height: 33px;
}

.wordmark--modelscience__type {
  width: 112px;
  height: 16px;
}

html.is-explore-workspace[data-theme="light"] .wordmark--modelscience__mark,
html.is-explore-workspace[data-theme="light"] .wordmark--modelscience__type {
  filter: none;
}

.tool-nav {
  align-items: center;
}

.tool-changelog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tool-changelog__icon {
  display: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.theme-menu {
  position: relative;
  flex: 0 0 auto;
}

.theme-menu > summary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: var(--surface-alt);
  cursor: pointer;
  font-size: 0.68rem;
  line-height: 1;
  list-style: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.theme-menu > summary::-webkit-details-marker {
  display: none;
}

.theme-menu > summary:hover,
.theme-menu[open] > summary {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.theme-menu > summary:focus-visible,
.theme-menu__popover button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.theme-menu__current-icon {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
}

.theme-menu__current-icon .theme-icon {
  display: none;
  grid-area: 1 / 1;
}

html[data-theme-mode="light"] .theme-menu__current-icon .theme-icon--light,
html[data-theme-mode="dark"] .theme-menu__current-icon .theme-icon--dark,
html[data-theme-mode="system"] .theme-menu__current-icon .theme-icon--system {
  display: block;
}

.theme-menu__chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 160ms var(--ease-out);
}

.theme-menu[open] .theme-menu__chevron {
  transform: rotate(180deg);
}

.theme-menu__popover {
  position: absolute;
  z-index: 140;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 208px;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: rgba(var(--surface-rgb), 0.98);
  box-shadow: var(--shadow-popover);
}

.theme-menu__popover button {
  display: grid;
  min-height: 48px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.theme-menu__popover button:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.theme-menu__popover button[aria-pressed="true"] {
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: inset 2px 0 0 var(--accent);
}

.theme-menu__popover button > span {
  display: grid;
  gap: 2px;
}

.theme-menu__popover strong {
  font-size: 0.72rem;
  font-weight: 600;
}

.theme-menu__popover small {
  color: var(--text-tertiary);
  font-size: 0.58rem;
}

html.is-explore-workspace.is-theme-changing body[data-page="explore"],
html.is-explore-workspace.is-theme-changing body[data-page="explore"] > .site-header--tool,
html.is-explore-workspace.is-theme-changing .control-dock,
html.is-explore-workspace.is-theme-changing .timeline-shell,
html.is-explore-workspace.is-theme-changing .timeline-toolbar,
html.is-explore-workspace.is-theme-changing .timeline-footer,
html.is-explore-workspace.is-theme-changing .information-comparison,
html.is-explore-workspace.is-theme-changing .detail-panel,
html.is-explore-workspace.is-theme-changing .dialog-card {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

html.is-explore-workspace[data-theme="light"] .news-range-field input {
  color-scheme: light;
}

html.is-explore-workspace[data-theme="light"] .series-mark--mono img,
html.is-explore-workspace[data-theme="light"] .news-score-trend__series-label-logo.is-monochrome {
  filter: brightness(0);
}

html.is-explore-workspace[data-theme="light"] body[data-page="explore"] .social-link > img {
  filter: none;
}

body[data-page="explore"] .workspace {
  padding-top: 0;
}

body[data-page="explore"] .timeline-section {
  scroll-margin-top: calc(var(--explore-header-height) + var(--explore-control-height) + 20px);
}

body[data-page="explore"] .news-section {
  scroll-margin-top: calc(var(--explore-header-height) + var(--explore-control-height) + 20px);
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  align-content: center;
  text-align: center;
}

.not-found h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.not-found > p:not(.eyebrow) {
  margin: 28px 0 34px;
  color: var(--text-secondary);
}

@media (max-width: 1679px) {
  body[data-page="explore"] {
    --explore-control-height: 116px;
  }

  .control-rail {
    position: sticky;
    z-index: 80;
    inset: auto;
    top: var(--explore-header-height, 0px);
    width: auto;
  }

  .control-dock {
    position: relative;
    top: auto;
    max-height: none;
    margin: 0 calc(var(--page-gutter) * -1);
    padding: 0 var(--page-gutter);
    overflow: visible;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(var(--bg-rgb), 0.95);
    box-shadow: var(--shadow-hairline);
  }

  .control-dock.is-stuck {
    top: auto;
    transform: none;
  }

  .control-dock__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: var(--control-height);
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .model-control {
    display: flex;
    align-items: start;
    gap: 20px;
  }

  .control-heading {
    display: grid;
    flex: 0 0 auto;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .model-chip-list {
    width: max-content;
    max-width: 100%;
    flex: 0 1 auto;
    gap: 7px;
  }

  .model-chip-group {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .model-chip-group__label {
    margin-bottom: 0;
  }

  .model-chip-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .model-chip-group:first-child .model-chip-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .control-dock .model-chip {
    width: auto;
  }

  .control-dock .model-chip-group:first-child .model-chip {
    width: 100%;
  }

  .control-dock .chip-check {
    margin-left: 1px;
  }

  .view-control {
    display: flex;
    padding-top: 0;
    border-top: 0;
  }

  .control-dock .range-menu,
  .control-dock .reset-button {
    width: auto;
  }
}

@media (max-width: 1180px) {
  body[data-page="explore"] {
    --explore-control-height: 168px;
  }

  :root {
    --page-gutter: 32px;
    --label-column: 118px;
  }

  .workspace {
    display: block;
  }

  .control-dock {
    top: auto;
    max-height: none;
    margin: 0 calc(var(--page-gutter) * -1);
    padding: 0 var(--page-gutter);
    overflow: visible;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(var(--bg-rgb), 0.95);
    box-shadow: var(--shadow-hairline);
  }

  .control-dock__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .control-dock {
    --control-height: 168px;
  }

  .model-control {
    display: flex;
    align-items: start;
    gap: 20px;
  }

  .control-heading {
    display: grid;
    flex: 0 0 auto;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .model-chip-list {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    gap: 7px;
  }

  .model-chip-group {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .model-chip-group__label {
    margin-bottom: 0;
  }

  .model-chip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .control-dock .model-chip {
    width: auto;
  }

  .control-dock .chip-check {
    margin-left: 1px;
  }

  .view-control {
    display: flex;
    justify-content: space-between;
    padding-left: 92px;
    padding-top: 0;
    border-top: 0;
  }

  .control-dock .range-menu,
  .control-dock .reset-button {
    width: auto;
  }

  .lane-label {
    padding-left: 16px;
  }

  .method-strip {
    grid-template-columns: 1fr 1.35fr;
  }

  .method-strip .button {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 100svh;
    padding-bottom: 44px;
  }

  .site-header__inner {
    min-height: calc(100svh - 66px);
    gap: 28px;
  }

  .hero-copy {
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 12vw, 5.6rem);
  }

  .hero-intro {
    max-width: 540px;
    padding-bottom: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading__aside {
    justify-self: start;
  }

  .interaction-hint {
    justify-content: flex-start;
  }

  .timeline-toolbar {
    align-items: start;
  }

  .timeline-toolbar__controls {
    align-items: center;
  }

  .timeline-legend {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .timeline-footer p:last-child {
    max-width: 360px;
  }

  .method-strip {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }
}

@media (min-width: 700px) and (max-width: 1350px) {
  .information-bars {
    --information-bar-label-height: 78px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .information-bars__stage {
    width: max(100%, calc(var(--information-bar-count) * 112px + 28px));
  }

  .information-bars__columns {
    grid-template-columns: repeat(var(--information-bar-count), minmax(100px, 1fr));
    gap: 12px;
  }

  .information-bar__identity {
    padding-top: 10px;
  }

  .information-bar__identity .series-mark {
    width: 22px;
    height: 22px;
  }

  .information-bar__copy {
    transform: none;
  }

  .information-bar__copy strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 699px) {
  body[data-page="explore"] {
    --explore-control-height: 192px;
  }

  :root {
    --page-gutter: 18px;
    --label-column: 104px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 100svh;
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .site-header__inner {
    min-height: calc(100svh - 52px);
    gap: 22px;
  }

  .topline {
    align-items: start;
  }

  body[data-page="explore"] .wordmark > span:last-child {
    display: none;
  }

  .topnav {
    gap: 0;
  }

  .nav-button {
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .hero-intro {
    gap: 18px;
  }

  .hero-intro > p {
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-explore-button {
    width: min(100%, 224px);
    min-height: 64px;
    font-size: 0.92rem;
  }

  .hero-explore-button__sparkle {
    width: 24px;
    height: 24px;
  }

  .hero-button {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 0.8rem;
  }

  .control-dock {
    --control-height: 192px;
  }

  .control-dock__inner {
    gap: 8px;
  }

  .model-control {
    display: grid;
    gap: 7px;
  }

  .control-heading {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .control-heading__count {
    align-self: center;
  }

  .model-chip-list {
    margin-right: calc(var(--page-gutter) * -1);
    padding-right: var(--page-gutter);
  }

  .model-chip-group {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
  }

  .model-chip {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .view-control {
    padding-left: 0;
  }

  .reset-button span {
    display: none;
  }

  .timeline-section,
  .news-section {
    padding-top: 68px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 2.2rem;
  }

  .timeline-shell {
    margin-inline: calc(var(--page-gutter) * -1);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .timeline-toolbar,
  .timeline-footer {
    padding-inline: var(--page-gutter);
  }

  .timeline-toolbar {
    display: grid;
    gap: 10px;
  }

  .timeline-toolbar__primary {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .timeline-mode-switch {
    width: max-content;
  }

  .timeline-legend {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .timeline-toolbar__controls {
    width: 100%;
    flex-wrap: wrap;
    justify-self: end;
    justify-content: flex-end;
    gap: 8px;
  }

  .signal-filter-controls {
    flex: 1 1 100%;
    justify-content: flex-end;
  }

  .timeline-toolbar__controls > .signal-filter-controls {
    display: none;
  }

  .signal-mobile-filter-toggle:not([hidden]) {
    display: inline-flex;
  }

  .signal-mobile-filter-sheet .signal-filter-controls {
    display: grid;
    gap: 14px;
  }

  .signal-mobile-filter-sheet .signal-filter-menu {
    display: grid;
    gap: 8px;
  }

  .signal-mobile-filter-sheet .signal-filter-menu summary {
    width: 100%;
    justify-content: space-between;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 600;
  }

  .signal-mobile-filter-sheet .signal-filter-options {
    position: static;
    width: 100%;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-color: var(--border-soft);
    box-shadow: none;
    backdrop-filter: none;
  }

  .signal-mobile-filter-sheet .signal-filter-options__heading {
    grid-column: 1 / -1;
  }

  .signal-mobile-filter-sheet .news-view-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-score-trend,
  .news-count-bars {
    min-height: 420px;
  }

  .news-score-trend__fixed-axis {
    --trend-axis-width: 44px;
  }

  .news-score-trend__header,
  .news-count-bars__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px 14px 10px;
  }

  .news-count-bars__range {
    white-space: normal;
  }

  .news-count-bars__chart {
    padding: 8px 10px 0 6px;
  }

  .news-count-detail {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 6px;
    width: auto;
    height: auto;
    max-height: min(68%, 520px);
  }

  .news-score-trend__header-tools {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }

  .news-score-trend__label-toggle {
    font-size: 0.58rem;
  }

  .news-score-trend__legend {
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .news-score-trend__legend::-webkit-scrollbar {
    display: none;
  }

  .news-score-trend__legend span {
    font-size: 0.56rem;
  }

  .timeline-legend span:last-child {
    display: none;
  }

  .timeline-layout {
    min-height: 420px;
  }

  .lane-label {
    gap: 6px;
    padding-inline: 10px 6px;
  }

  .lane-label .series-mark {
    width: 16px;
    height: 16px;
  }

  .lane-label__name {
    font-size: 0.72rem;
    letter-spacing: -0.015em;
  }

  .lane-label__vendor {
    display: none;
  }

  .timeline-footer {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  .timeline-footer__status {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  .timeline-footer p:last-child {
    text-align: left;
  }

  .detail-panel {
    inset: auto 0 0 !important;
    width: 100%;
    max-width: none;
    max-height: min(78vh, 720px);
    padding: 26px 22px calc(26px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    animation-name: sheet-enter;
  }

  .dense-event-picker {
    inset: auto 0 0 !important;
    width: 100%;
    max-width: none;
    max-height: min(68vh, 620px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    animation-name: sheet-enter;
  }

  .dense-event-picker__list {
    max-height: min(52vh, 480px);
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  @keyframes sheet-enter {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .method-strip {
    margin-top: 90px;
    margin-bottom: 90px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .dialog-header,
  .dialog-body {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 1020px) {
  .feature-story,
  .feature-story--news {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .feature-story__copy {
    max-width: 680px;
  }

  .feature-story--news .feature-story__copy {
    order: -1;
  }

  .feature-preview,
  .knowledge-preview {
    width: min(100%, 760px);
    justify-self: center;
  }

}

@media (max-width: 820px) {
  body[data-page="explore"] > .site-header--tool {
    min-height: 62px;
    padding: 0;
  }

  .tool-header__inner {
    min-height: 62px;
  }

  .tool-nav .tool-method,
  .tool-nav .tool-feedback {
    display: none;
  }

  .feature-bridge {
    min-height: 540px;
  }

  .feature-bridge h2 {
    font-size: clamp(2.8rem, 9vw, 5.4rem);
  }

  .feature-story {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media (max-width: 699px) {
  .site-header--landing {
    padding-bottom: 86px;
  }

  .site-header--landing .site-header__inner {
    min-height: calc(100svh - 86px);
  }

  .landing-nav .nav-button {
    display: none;
  }

  .nav-tool-link,
  .nav-home-link {
    min-height: 44px;
    padding-inline: 13px;
  }

  .tool-nav .nav-button {
    display: none;
  }

  .tool-nav .tool-changelog {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius-pill);
  }

  .tool-changelog__icon {
    display: block;
  }

  .tool-changelog__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .tool-header__inner {
    gap: 10px;
  }

  .feature-bridge {
    min-height: 500px;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .feature-bridge h2 {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .feature-bridge > p:not(.eyebrow) {
    margin-top: 24px;
    font-size: 0.94rem;
  }

  .feature-bridge__axis {
    width: 90%;
    margin-top: 52px;
  }

  .model-loop-section {
    min-height: 184px;
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .model-loop-section__meta > span {
    display: none;
  }

  .model-loop {
    --model-loop-gap: 46px;
  }

  .model-loop__item {
    gap: 10px;
    font-size: 0.78rem;
  }

  .model-loop__item img,
  .model-loop__mark {
    width: 32px;
    height: 32px;
  }

  .feature-story,
  .feature-story--news {
    gap: 44px;
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .feature-story__copy h2 {
    font-size: clamp(2.3rem, 11vw, 3.75rem);
  }

  .feature-story__copy > p:not(.eyebrow) {
    margin-top: 24px;
    font-size: 0.94rem;
  }

  .feature-status-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin: -6px 0 22px !important;
    font-size: 0.64rem !important;
  }

  .timeline-preview {
    min-height: 430px;
  }

  .timeline-preview::before {
    inset: 58px 0 34px 88px;
  }

  .preview-lane {
    grid-template-columns: 88px 1fr;
  }

  .preview-series {
    gap: 6px;
    padding-left: 12px;
    font-size: 0.65rem;
  }

  .preview-track {
    margin-right: 14px;
  }

  .preview-track > i em {
    display: none;
  }

  .preview-years {
    margin-left: 88px;
  }

  .news-preview {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .preview-news-card,
  .preview-news-card:nth-child(3) {
    min-height: 170px;
    grid-column: auto;
  }

  .knowledge-preview {
    padding: 30px 26px;
  }

  .knowledge-preview h3 {
    font-size: 2.2rem;
  }

  .landing-cta {
    min-height: 560px;
  }

  .landing-cta h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-scroll-cue {
    bottom: -8px;
  }
}

/* Explore single-screen workspace */

.tool-header__context {
  display: grid;
  min-width: 0;
  gap: 1px;
  margin-right: auto;
  padding-left: 20px;
  border-left: 1px solid var(--border-soft);
}

.tool-header__context p,
.tool-header__context h1 {
  margin: 0;
}

.tool-header__context p {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  line-height: 1.25;
  letter-spacing: 0.13em;
}

.tool-header__context h1 {
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-updated {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  white-space: nowrap;
}

.model-filter-toggle,
.model-filter-close,
.model-filter-scrim {
  display: none;
}

html.is-explore-workspace,
html.is-explore-workspace body[data-page="explore"] {
  height: 100%;
  overflow: hidden;
}

html.is-explore-workspace body[data-page="explore"] {
  --explore-header-height: 57px;
  display: block;
  height: 100dvh;
  min-height: 0;
}

html.is-explore-workspace .scroll-progress {
  display: none;
}

html.is-explore-workspace body[data-page="explore"] > .site-header--tool {
  position: relative;
  min-height: var(--explore-header-height);
  background: rgba(var(--bg-rgb), 0.94);
}

html.is-explore-workspace .tool-header__inner {
  width: 100%;
  min-height: var(--explore-header-height);
  max-width: none;
  padding-inline: clamp(20px, 2vw, 36px);
}

@media (min-width: 1680px) {
  html.is-explore-workspace .tool-header__inner {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr) auto;
    column-gap: 20px;
  }

  html.is-explore-workspace .wordmark--modelscience {
    justify-self: center;
  }

  html.is-explore-workspace .tool-header__context {
    margin-right: 0;
    padding-left: 0;
    border-left: 0;
  }
}

html.is-explore-workspace .workspace {
  position: fixed;
  z-index: 1;
  inset: var(--explore-header-height) 0 0;
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 20px;
  padding: 18px clamp(20px, 2vw, 36px) 20px;
  overflow: hidden;
}

html.is-explore-workspace .control-rail {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  min-height: 0;
}

html.is-explore-workspace .control-dock {
  position: relative;
  top: auto;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 16px;
  overflow-y: auto;
  border-radius: 18px;
  background: rgba(var(--surface-rgb), 0.78);
  backdrop-filter: blur(16px);
}

html.is-explore-workspace .control-dock__inner {
  min-height: 100%;
  align-content: space-between;
}

html.is-explore-workspace .workspace-main,
html.is-explore-workspace .timeline-section,
html.is-explore-workspace .timeline-shell {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

html.is-explore-workspace .timeline-section {
  padding-top: 0;
}

html.is-explore-workspace .timeline-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 18px;
  background: rgba(var(--surface-rgb), 0.76);
  opacity: 1;
  transform: none;
}

html.is-explore-workspace .timeline-layout {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--border-strong) transparent;
  scrollbar-width: thin;
}

html.is-explore-workspace .timeline-toolbar {
  min-height: 52px;
  padding: 7px 18px;
}

html.is-explore-workspace .timeline-footer {
  min-height: 42px;
  padding: 6px 18px;
}

html.is-explore-workspace .timeline-footer__status {
  width: auto;
}

html.is-explore-workspace .timeline-tooltip {
  z-index: 210;
}

html.is-explore-workspace .dense-event-picker,
html.is-explore-workspace .detail-panel {
  z-index: 220;
  max-height: min(680px, calc(100dvh - var(--explore-header-height) - 28px));
}

html.is-explore-workspace.is-information-placeholder .timeline-shell {
  grid-template-rows: auto minmax(0, 1fr);
}

.tool-updated[data-state="information"] .tool-updated__dot {
  background: var(--signal-lead);
}

.tool-updated__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.tool-updated[data-state="live"] .tool-updated__dot {
  background: var(--accent);
}

.tool-updated[data-state="stale"] .tool-updated__dot,
.tool-updated[data-state="warning"] .tool-updated__dot {
  background: var(--signal-lead);
}

.tool-updated[data-state="fallback"] .tool-updated__dot {
  background: var(--border-strong);
}

.tool-updated[data-state="stale"],
.tool-updated[data-state="warning"] {
  color: var(--signal-lead);
}

.tool-updated[data-state="fallback"] {
  color: var(--text-tertiary);
}

@media (min-width: 700px) {
  html.is-explore-workspace .detail-panel--news {
    width: min(560px, calc(100vw - 48px));
    max-height: none;
    padding: 28px 30px;
    overflow: visible;
  }

  html.is-explore-workspace .detail-panel--news h3 {
    max-width: 470px;
  }

  html.is-explore-workspace .detail-panel--news .signal-detail__title-row h3 {
    max-width: none;
  }
}

@media (max-width: 1679px) {
  html.is-explore-workspace .workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px var(--page-gutter) 12px;
  }

  html.is-explore-workspace .control-rail {
    position: relative;
    z-index: 80;
    top: auto;
    height: auto;
  }

  html.is-explore-workspace .control-dock {
    height: auto;
    margin: 0;
    padding: 0 14px;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
  }

  html.is-explore-workspace .control-dock__inner {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
  }

  html.is-explore-workspace .model-control {
    display: flex;
    align-items: start;
    gap: 16px;
  }

  html.is-explore-workspace .control-heading {
    display: grid;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
  }

  html.is-explore-workspace .model-chip-list {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    gap: 6px;
  }

  html.is-explore-workspace .model-chip-group {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
  }

  html.is-explore-workspace .model-chip-group__label {
    margin: 0;
  }

  html.is-explore-workspace .model-chip-row,
  html.is-explore-workspace .model-chip-group:first-child .model-chip-row {
    display: flex;
    width: auto;
    grid-template-columns: none;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  html.is-explore-workspace .control-dock .model-chip,
  html.is-explore-workspace .control-dock .model-chip-group:first-child .model-chip {
    width: auto;
    min-height: 36px;
  }

  html.is-explore-workspace .news-lane-control {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-top: 0;
    border-right: 1px solid var(--border-soft);
    border-left: 1px solid var(--border-soft);
  }

  html.is-explore-workspace .news-lane-options {
    display: flex;
    gap: 6px;
  }

  html.is-explore-workspace .news-lane-toggle {
    min-height: 36px;
    padding-inline: 9px;
    white-space: nowrap;
  }

  html.is-explore-workspace .view-control {
    display: flex;
    padding: 0;
    border: 0;
  }

  html.is-explore-workspace .control-dock .reset-button {
    width: auto;
  }
}

@media (max-width: 1180px) {
  html.is-explore-workspace .tool-updated,
  html.is-explore-workspace .tool-feedback {
    display: none;
  }

  html.is-explore-workspace .workspace {
    padding-inline: 20px;
  }

  html.is-explore-workspace .timeline-footer .interaction-hint {
    display: none;
  }
}

@media (min-width: 700px) and (max-width: 1450px) {
  html.is-explore-workspace .control-dock__inner,
  html.is-explore-workspace .model-control,
  html.is-explore-workspace .model-chip-list,
  html.is-explore-workspace .model-chip-group,
  html.is-explore-workspace .model-chip-row {
    min-width: 0;
  }

  html.is-explore-workspace .model-chip-list {
    overflow: hidden;
  }

  html.is-explore-workspace .model-chip-row {
    max-width: 100%;
    gap: 6px;
    padding-right: 4px;
    scroll-padding-inline-end: 4px;
  }

  html.is-explore-workspace .control-dock .model-chip,
  html.is-explore-workspace .control-dock .model-chip-group:first-child .model-chip {
    min-height: 36px;
    gap: 5px;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  html.is-explore-workspace .control-dock .model-chip .series-mark {
    width: 17px;
    height: 17px;
  }

  html.is-explore-workspace .control-dock .model-chip .chip-check {
    width: 12px;
    height: 12px;
  }

  html.is-explore-workspace .news-lane-control__label {
    display: none;
  }

  html.is-explore-workspace .news-lane-control {
    padding-inline: 8px;
  }

  html.is-explore-workspace .news-lane-toggle {
    gap: 5px;
    padding-inline: 8px;
    font-size: 0.7rem;
  }

  html.is-explore-workspace .timeline-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    padding-block: 9px;
  }

  html.is-explore-workspace .timeline-toolbar__primary {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  html.is-explore-workspace .timeline-toolbar__primary > .timeline-legend {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 8px;
  }

  html.is-explore-workspace .timeline-toolbar__controls {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  html.is-explore-workspace.is-information-placeholder .timeline-toolbar {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1100px) and (max-width: 1800px) {
  .information-row {
    min-height: 116px;
  }

  .information-row__quick-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .information-row__quick-specs > span:last-child {
    grid-column: 1 / -1;
  }

  .information-modality-marks {
    gap: 4px;
  }

  .information-modality-marks > span {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 899px) {
  .timeline-minimap {
    display: none;
  }
}

@media (max-width: 820px) {
  html.is-explore-workspace .tool-header__context p {
    display: none;
  }

  html.is-explore-workspace .tool-header__context h1 {
    max-width: 150px;
  }

  html.is-explore-workspace .timeline-toolbar,
  html.is-explore-workspace .timeline-footer {
    padding-inline: 14px;
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  html.is-explore-workspace .timeline-toolbar__primary {
    grid-template-columns: minmax(0, 1fr);
  }

  html.is-explore-workspace .timeline-toolbar__primary > .timeline-legend {
    justify-content: flex-start;
  }

  html.is-explore-workspace .signal-legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  html.is-explore-workspace .signal-legend button {
    min-height: 34px;
    justify-content: center;
    padding-inline: 8px;
    white-space: nowrap;
  }

  .news-score-trend__header,
  .news-count-bars__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .news-count-bars__range {
    white-space: normal;
  }

  .news-score-trend__header-tools {
    width: 100%;
    justify-content: space-between;
  }

  .news-score-trend__legend {
    min-width: 0;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .news-score-trend__legend::-webkit-scrollbar {
    display: none;
  }

  .information-comparison {
    padding: 16px 14px 18px;
  }

  .information-comparison__header {
    display: grid;
    min-height: 242px;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 0 4px 15px;
  }

  .information-comparison__heading-row {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .information-comparison__meta {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    margin-top: 8px;
  }

  .information-comparison__snapshot {
    justify-self: end;
    margin: 0;
  }

  .information-metric-tabs {
    width: 100%;
    margin-top: 12px;
  }

  .information-chart {
    padding-top: 8px;
  }

  .information-chart__scale {
    grid-template-columns: 30px minmax(0, 1fr) 106px;
    gap: 12px;
    padding-inline: 5px;
  }

  .information-chart__scale span:first-child,
  .information-chart__scale span:last-child {
    grid-column: 2;
  }

  .information-row {
    min-height: 146px;
    grid-template-columns: 30px minmax(0, 1fr) 106px;
    grid-template-rows: auto auto auto;
    gap: 9px 12px;
    padding: 12px 9px 12px 6px;
  }

  .information-row__rank {
    grid-row: 1 / 4;
  }

  .information-row__identity {
    grid-column: 2;
  }

  .information-row__quick-specs {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
  }

  .information-row__track {
    grid-column: 2;
    grid-row: 3;
  }

  .information-row__result {
    grid-column: 3;
    grid-row: 1 / 4;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
  }

  .information-row__result strong {
    max-width: 106px;
    white-space: normal;
    text-align: right;
  }

  .information-modality-marks {
    gap: 4px;
  }

  .information-modality-marks > span {
    width: 24px;
    height: 24px;
  }

  .information-compare {
    display: block;
    padding-top: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--border-strong) transparent;
    scrollbar-width: thin;
  }

  .information-compare__selectors {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 12px;
  }

  .information-compare__select-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .information-compare__selectors .information-compare-select:first-child {
    grid-column: 1;
  }

  .information-compare__profiles,
  .information-compare__body {
    padding-inline: 2px;
  }

  .information-compare__body {
    overflow: visible;
  }

  .information-compare-profiles {
    grid-template-columns: 1fr;
  }

  .information-compare-profiles::before {
    display: none;
  }

  .information-compare-profile:first-of-type {
    grid-column: 1;
  }

  .information-compare-profile > p:not(.information-compare-profile__identity) {
    min-height: 0;
  }

  .information-compare-row {
    grid-template-columns: 1fr;
    padding-bottom: 4px;
  }

  .information-compare-row__label {
    min-height: 38px;
    padding-bottom: 7px;
  }

  .information-compare-row__value {
    display: grid;
    grid-template-columns: minmax(112px, 0.35fr) minmax(0, 1fr);
    gap: 12px;
    border-left: 0;
    border-top: 1px dashed var(--border-soft);
  }

  .information-compare-row__value::before {
    overflow: hidden;
    content: attr(data-model-label);
    color: var(--text-tertiary);
    font-family: var(--font-sans);
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 699px) {
  html.is-explore-workspace body[data-page="explore"] {
    --explore-header-height: 57px;
  }

  html.is-explore-workspace .wordmark--modelscience {
    gap: 0;
  }

  html.is-explore-workspace .wordmark--modelscience__mark {
    width: 30px;
    height: 31px;
  }

  html.is-explore-workspace .wordmark--modelscience__type {
    display: none;
  }

  html.is-explore-workspace .tool-header__inner {
    min-height: var(--explore-header-height);
    gap: 8px;
    padding-inline: 10px;
  }

  html.is-explore-workspace .tool-header__context,
  html.is-explore-workspace .tool-updated,
  html.is-explore-workspace .tool-feedback {
    display: none;
  }

  html.is-explore-workspace .tool-nav {
    gap: 4px;
  }

  html.is-explore-workspace .tool-nav .tool-method {
    display: inline-flex;
  }

  .model-filter-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    background: var(--surface-alt);
    cursor: pointer;
    font-size: 0.72rem;
  }

  .model-filter-toggle span {
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    color: var(--text);
    background: var(--accent-soft);
    font-family: var(--font-mono);
    font-size: 0.6rem;
  }

  html.is-explore-workspace .workspace {
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }

  html.is-explore-workspace .control-rail {
    position: fixed;
    z-index: 205;
    inset: auto 0 0;
    height: auto;
    max-height: min(72dvh, 580px);
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
    transition: transform 200ms var(--ease-out), visibility 200ms ease;
  }

  html.is-explore-workspace.is-model-filter-open .control-rail {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  html.is-explore-workspace .control-dock {
    max-height: min(72dvh, 580px);
    padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 1px solid var(--border-strong);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(var(--surface-rgb), 0.98);
    box-shadow: 0 -18px 54px rgba(var(--shadow-rgb), 0.48);
  }

  html.is-explore-workspace .control-dock__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 0;
  }

  html.is-explore-workspace .model-control {
    display: grid;
    gap: 12px;
  }

  html.is-explore-workspace .control-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-soft);
  }

  html.is-explore-workspace .control-heading__count {
    justify-self: start;
  }

  .model-filter-close {
    display: inline-flex;
    justify-self: end;
    border-color: transparent;
    background: transparent;
  }

  html.is-explore-workspace .model-chip-list {
    margin: 0;
    padding: 0;
  }

  html.is-explore-workspace .model-chip-group {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  html.is-explore-workspace .control-dock .model-chip,
  html.is-explore-workspace .control-dock .model-chip-group:first-child .model-chip {
    min-height: 44px;
  }

  html.is-explore-workspace .news-lane-control {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--border-soft);
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
    border-left: 0;
  }

  html.is-explore-workspace .news-lane-control__label {
    display: block;
  }

  html.is-explore-workspace .news-lane-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.is-explore-workspace .news-lane-toggle {
    min-height: 44px;
    justify-content: flex-start;
  }

  html.is-explore-workspace .view-control {
    justify-content: flex-end;
  }

  html.is-explore-workspace .timeline-shell {
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  html.is-explore-workspace .timeline-toolbar {
    gap: 8px;
    padding: 8px 10px;
  }

  html.is-explore-workspace .timeline-footer {
    min-height: 42px;
    padding: 6px 10px;
  }

  html.is-explore-workspace .timeline-footer,
  html.is-explore-workspace .timeline-footer__status {
    align-items: center;
    flex-direction: row;
  }

  html.is-explore-workspace .timeline-footer__status {
    justify-content: flex-start;
  }

  html.is-explore-workspace .timeline-footer .tier-visibility-hint,
  html.is-explore-workspace .timeline-footer .interaction-hint {
    display: none;
  }

  html.is-explore-workspace .timeline-mode-switch button,
  html.is-explore-workspace .range-menu summary,
  html.is-explore-workspace .news-date-menu summary,
  html.is-explore-workspace .zoom-step,
  html.is-explore-workspace .zoom-menu summary,
  html.is-explore-workspace .signal-mobile-filter-toggle {
    min-height: 40px;
  }

  html.is-explore-workspace .news-date-popover {
    position: fixed;
    top: 112px;
    right: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 122px);
    overflow-y: auto;
  }

  html.is-explore-workspace .news-date-popover__body {
    grid-template-columns: minmax(0, 1fr);
  }

  html.is-explore-workspace .news-range-panel {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  html.is-explore-workspace .timeline-layout {
    min-height: 0;
  }

  html.is-explore-workspace .timeline-time-rail-spacer,
  html.is-explore-workspace .timeline-time-rail {
    display: none;
  }

  html.is-explore-workspace .timeline-edge-indicators {
    top: 8px;
    height: 0;
    grid-row: 2;
    align-items: flex-start;
    padding-inline: 8px;
  }

  html.is-explore-workspace .timeline-edge-indicator {
    min-height: 24px;
    padding-inline: 8px;
  }

  .model-filter-scrim {
    position: fixed;
    z-index: 195;
    inset: var(--explore-header-height, 56px) 0 0;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.56);
    cursor: pointer;
  }

  html.is-model-filter-open .model-filter-scrim {
    display: block;
  }
}

@media (max-width: 1020px) {
  .site-footer__inner {
    min-height: 0;
    gap: 52px;
    padding-top: 64px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .footer-navs {
    width: min(100%, 620px);
  }
}

@media (max-width: 699px) {
  .site-footer__inner {
    min-height: auto;
    gap: 52px;
    padding-top: 54px;
    padding-bottom: 26px;
  }

  .footer-main {
    gap: 48px;
  }

  .footer-navs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
  }

  .footer-nav:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .footer-credit {
    align-self: flex-end;
  }
}

@media (max-width: 699px) {
  .timeline-mode-switch {
    width: 100%;
    grid-template-columns: 29fr 25fr 46fr;
  }

  .timeline-mode-switch button {
    min-width: 0;
    padding-inline: 9px;
  }

  .timeline-mode-switch__glider {
    left: 3px;
    width: calc(29% - 1px);
  }

  .timeline-mode-switch [data-timeline-mode="news"][aria-pressed="true"] ~ .timeline-mode-switch__glider {
    left: 29%;
    width: 25%;
  }

  .timeline-mode-switch #information-mode[aria-pressed="true"] ~ .timeline-mode-switch__glider {
    left: 54%;
    width: calc(46% - 3px);
  }

  .information-comparison {
    padding: 14px 12px 18px;
  }

  .information-comparison__header {
    display: grid;
    min-height: 248px;
    gap: 4px;
    padding: 0 2px 13px;
  }

  .information-comparison__header h2 {
    font-size: 1.35rem;
  }

  .information-comparison__heading-row {
    display: grid;
    gap: 10px;
  }

  .information-view-switch {
    width: max-content;
  }

  .information-view-switch button {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .information-comparison__intro > p {
    max-width: 310px;
    line-height: 1.55;
  }

  .information-comparison__meta {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    margin-top: 8px;
  }

  .information-comparison__snapshot {
    justify-self: end;
    margin: 0;
  }

  .information-metric-tabs {
    width: calc(100vw - 28px);
    gap: 5px;
    margin-top: 13px;
    padding-bottom: 3px;
    overflow: visible;
  }

  .information-metric-tabs__groups,
  .information-metric-tabs__metrics {
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .information-metric-tabs__groups::-webkit-scrollbar,
  .information-metric-tabs__metrics::-webkit-scrollbar {
    display: none;
  }

  .information-metric-tabs button {
    min-height: 38px;
    padding-inline: 11px;
  }

  .information-metric-tabs__groups button {
    min-height: 30px;
  }

  .information-chart {
    padding-top: 8px;
  }

  .information-bars {
    --information-bar-label-height: 86px;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: 24px minmax(0, 1fr);
    padding-top: 8px;
  }

  .information-bars__unit,
  .information-bars__hint,
  .information-bars__axis {
    font-size: 0.56rem;
  }

  .information-bars__hint {
    max-width: 160px;
  }

  .information-bars__toolbar {
    gap: 8px;
    padding-right: 8px;
  }

  .information-bar-order button {
    min-height: 24px;
    padding-inline: 8px;
    font-size: 0.56rem;
  }

  .information-bars__axis {
    padding-right: 6px;
  }

  .information-bars__stage {
    width: max(100%, calc(var(--information-bar-count) * 102px + 16px));
  }

  .information-bars__stage::before {
    right: 8px;
  }

  .information-bars__columns {
    grid-template-columns: repeat(var(--information-bar-count), minmax(92px, 1fr));
    gap: 10px;
    padding-right: 8px;
  }

  .information-bar__fill {
    width: 32px;
  }

  .information-bar__value {
    font-size: 0.64rem;
  }

  .information-bar__identity {
    padding-top: 10px;
  }

  .information-bar__identity .series-mark {
    width: 22px;
    height: 22px;
  }

  .information-bar__copy {
    transform: none;
  }

  .information-bar__copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.64rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .information-chart__scale {
    grid-template-columns: 28px minmax(0, 1fr) 84px;
    gap: 10px;
    padding-inline: 4px;
  }

  .information-chart__scale span:first-child {
    grid-column: 2;
  }

  .information-chart__scale span:last-child {
    grid-column: 2;
  }

  .information-row {
    min-height: 128px;
    grid-template-columns: 28px minmax(0, 1fr) 84px;
    grid-template-rows: auto auto auto;
    gap: 9px 10px;
    padding: 11px 8px 11px 5px;
  }

  .information-row__rank {
    grid-row: 1 / 4;
  }

  .information-row__identity {
    grid-column: 2;
  }

  .information-row__track {
    grid-column: 2;
    grid-row: 3;
  }

  .information-row__quick-specs {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .information-row__quick-specs > span:nth-child(2) {
    display: none;
  }

  .information-row__result {
    grid-column: 3;
    grid-row: 1 / 4;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
  }

  .information-row__result strong {
    max-width: 84px;
    white-space: normal;
    text-align: right;
  }

  .information-row-group.is-open .information-row-detail__inner {
    padding: 14px 12px;
  }

  .information-row-detail__header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .information-row-detail__header .detail-date {
    grid-column: 1;
    grid-row: 2;
  }

  .information-row-detail__close {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .information-detail__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .information-row-detail__notes {
    grid-template-columns: 1fr;
  }

  .information-row-detail__notes .signal-detail__provenance,
  .information-row-detail__notes .detail-links {
    grid-column: 1;
  }

  .information-compare {
    display: block;
    padding-top: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--border-strong) transparent;
    scrollbar-width: thin;
  }

  .information-compare__selectors {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 2px 12px;
  }

  .information-compare__select-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .information-compare__selectors .information-compare-select:first-child {
    grid-column: 1;
  }

  .information-compare-select select {
    min-height: 44px;
    font-size: 0.75rem;
  }

  .information-compare__profiles {
    padding: 0 2px;
    background: transparent;
  }

  .information-compare-profiles {
    grid-template-columns: 1fr;
  }

  .information-compare-profiles::before {
    display: none;
  }

  .information-compare-profile:first-of-type {
    grid-column: 1;
  }

  .information-compare__body {
    padding-inline: 2px;
    overflow: visible;
  }

  .information-compare-profile > p:not(.information-compare-profile__identity) {
    min-height: 0;
  }

  .information-compare-row {
    grid-template-columns: 1fr;
    padding-bottom: 4px;
  }

  .information-compare-row__label {
    min-height: 38px;
    padding-bottom: 7px;
  }

  .information-compare-row__value {
    display: grid;
    grid-template-columns: minmax(92px, 0.45fr) minmax(0, 1fr);
    gap: 10px;
    border-left: 0;
    border-top: 1px dashed var(--border-soft);
  }

  .information-compare-row__value::before {
    overflow: hidden;
    content: attr(data-model-label);
    color: var(--text-tertiary);
    font-family: var(--font-sans);
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .information-compare-row__value .information-modality-marks,
  .information-compare-row__value .information-compare-tags {
    min-width: 0;
  }
}

@media (min-width: 700px) and (max-height: 820px) {
  .information-compare {
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--border-strong) transparent;
    scrollbar-width: thin;
  }

  .information-compare__body {
    overflow: visible;
  }
}

@media (max-width: 699px) {
  .theme-menu > summary {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }

  .theme-menu__summary,
  .theme-menu__chevron {
    display: none;
  }

  .theme-menu__popover {
    position: fixed;
    top: calc(var(--explore-header-height, 57px) + 8px);
    right: 10px;
    width: min(208px, calc(100vw - 20px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .information-bar__fill,
  .information-bar__value {
    transition: none !important;
    will-change: auto;
  }

  .news-score-trend__point-pulse {
    display: none;
  }

  .page-grain {
    transform: none !important;
    will-change: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .feature-bridge__axis i::before {
    transform: scaleX(1);
  }

  .blur-text__char {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    will-change: auto;
  }

  .model-loop {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .model-loop::-webkit-scrollbar {
    display: none;
  }

  .model-loop__track {
    transform: none !important;
    will-change: auto;
  }

  .event-summary-card__unread-sweep {
    display: none;
  }
}

@media print {
  :root {
    color-scheme: light;
    --bg: var(--print-bg);
    --surface: var(--print-bg);
    --surface-alt: var(--print-surface-alt);
    --surface-hover: var(--print-surface-hover);
    --overlay: var(--print-bg);
    --border: var(--print-border);
    --border-strong: var(--print-border-strong);
    --border-soft: var(--print-border-soft);
    --text: var(--print-text);
    --text-secondary: var(--print-text-secondary);
    --text-tertiary: var(--print-text-tertiary);
  }

  .page-grain,
  .lightfall,
  .scroll-progress,
  .control-dock,
  .topnav,
  .interaction-hint,
  .reset-button,
  .method-strip .button,
  .site-footer {
    display: none !important;
  }

  body {
    background: var(--surface);
  }

  .site-header,
  .timeline-section,
  .news-section {
    break-inside: avoid;
  }

  .timeline-viewport {
    overflow: visible;
  }

  .timeline-shell {
    box-shadow: none;
  }

  .series-mark--mono img {
    filter: none;
  }
}
