/* Local system fonts and code-native graphics: no external asset requests. */
:root {
  --ink: #162c39;
  --muted: #526571;
  --paper: #f6f5f0;
  --white: #fff;
  --line: #dce2df;
  --blue: #164fc4;
  --teal: #136b62;
  --soft-blue: #eaf0fb;
  --soft-green: #eaf4ee;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #af570d;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.container {
  width: min(1220px, calc(100% - 80px));
  margin: auto;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  padding: 12px;
  background: white;
  z-index: 20;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  min-height: 94px;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 42px;
}
.wordmark {
  text-decoration: none;
  color: var(--ink);
  font-size: 27px;
  font-weight: 760;
  letter-spacing: -1.3px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.brand-icon {
  background: var(--ink);
  border-radius: 8px;
  color: white;
  font-family: Georgia, serif;
  font-style: italic;
  width: 38px;
  height: 38px;
  font-size: 28px;
  line-height: 36px;
  text-align: center;
  margin-right: 10px;
  position: relative;
}
.brand-icon span {
  font: 16px sans-serif;
  color: #a9e0cb;
  position: absolute;
  right: 3px;
  bottom: 0;
}
.brand-period {
  color: var(--teal);
}
.site-header nav {
  display: flex;
  gap: 26px;
  flex: 1;
}
.site-header nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 0;
  white-space: nowrap;
}
.site-header nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: 0 2px var(--blue);
}
.header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}
.search-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}
.search-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.preview-strip {
  font-size: 12px;
  letter-spacing: 0.02em;
  background: #edf0e9;
  color: #3e5547;
  padding: 9px 0;
}
.preview-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #5c7e58;
  border-radius: 50%;
  margin: 0 8px 1px 0;
}
.strip-divider {
  margin: 0 12px;
  color: #829080;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 19px;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
.button:hover {
  background: #103d9b;
}
.button.small {
  padding: 8px 14px;
  font-size: 13px;
}
.button.outline {
  background: transparent;
  color: var(--ink);
  border-color: #b8c5c8;
}
.button.outline:hover {
  background: #edf1f3;
}
.button.subtle {
  background: var(--white);
  color: var(--blue);
  border-color: var(--line);
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.17em;
  font-weight: 750;
  color: var(--teal);
  margin: 0 0 18px;
}
.hero {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 70px;
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 0 0 22px;
  max-width: 780px;
}
h2 {
  font-size: 26px;
  font-weight: 620;
  letter-spacing: -0.65px;
  line-height: 1.25;
  margin: 0 0 18px;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 650px;
  margin: 0;
}
.hero-note {
  border-left: 1px solid #ccd5ce;
  padding-left: 34px;
}
.hero-note .number {
  font-size: 48px;
  letter-spacing: -2px;
  line-height: 1;
  font-weight: 500;
}
.hero-note .number-label {
  font-size: 13px;
  color: var(--muted);
  margin-left: 12px;
}
.mini-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 14px;
  font-size: 12px;
}
.mini-flow span:not(.arrow) {
  border: 1px solid #c8d5cf;
  padding: 8px 12px;
  border-radius: 5px;
  background: #fff;
}
.mini-flow .flow-model {
  background: var(--ink) !important;
  color: white;
  border-color: var(--ink) !important;
}
.muted {
  color: var(--muted);
}
.small-text {
  font-size: 13px;
}
.hero-note p {
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
  margin: 0;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 42px;
  padding: 36px 0 64px;
}
.filters {
  padding-top: 10px;
}
.filter-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--muted);
}
.filter-button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 5px;
  margin-bottom: 4px;
}
.filter-button[aria-pressed="true"] {
  background: #e3e9e3;
  color: var(--ink);
  font-weight: 650;
}
.filter-button span {
  font-size: 12px;
  color: var(--muted);
}
.filter-note {
  font-size: 12px;
  color: var(--muted);
  padding-top: 18px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.search-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.search-field {
  flex: 1;
  position: relative;
}
.search-field input {
  width: 100%;
  border: 1px solid #bcc9cc;
  border-radius: 6px;
  background: #fff;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
}
.result-count {
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.model-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.model-card:hover {
  transform: translateY(-3px);
  border-color: #9bafba;
}
/* Stretch the title's native link over the card, leaving subject links above it. */
.model-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.model-card .tag {
  position: relative;
  z-index: 2;
}
.model-card:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.card-graphic {
  height: 135px;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  color: #214d86;
  position: relative;
  overflow: hidden;
}
.green .card-graphic {
  background: var(--soft-green);
  color: var(--teal);
}
.graphic-label {
  font-family: Georgia, serif;
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 1;
}
.graphic-label small {
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0;
  display: block;
  margin-top: 9px;
}
.equation-path {
  width: 115px;
  height: 70px;
  flex-shrink: 0;
}
.equation-path path,
.equation-path circle,
.equation-path rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.equation-path .node {
  fill: currentColor;
  stroke: none;
}
.card-content {
  padding: 24px 26px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #455c66;
  text-decoration: none;
  background: #fff;
}
.model-card h2 {
  font-size: 23px;
  margin: 15px 0 10px;
  letter-spacing: -0.7px;
}
.model-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.card-description {
  color: var(--muted);
  font-size: 14px;
  min-height: 68px;
  margin: 0 0 20px;
}
.card-facts {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid #e9edeb;
  font-size: 12px;
  color: var(--muted);
}
.card-facts strong {
  color: var(--ink);
  font-weight: 600;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #e9edeb;
}
.card-action {
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.release-label {
  font-size: 11px;
  color: var(--muted);
}
.collection-note {
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0 0;
}
.empty-state {
  grid-column: 1/-1;
  border: 1px dashed #bac8c8;
  border-radius: 8px;
  padding: 50px;
  text-align: center;
}
.empty-state h2 {
  font-size: 22px;
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.breadcrumbs a {
  text-decoration: none;
}
.model-heading {
  padding: 32px 0 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: start;
}
.model-heading h1 {
  font-size: 43px;
  max-width: 810px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.model-heading .lead {
  font-size: 17px;
  max-width: 790px;
}
.model-heading .tags {
  margin-bottom: 18px;
}
.byline {
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 0;
}
.model-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 5px;
}
.model-actions .release-label {
  text-align: right;
}
.page-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #cdd7d8;
  margin-bottom: 34px;
  overflow-x: auto;
}
.page-tabs a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 14px 0;
}
.page-tabs a[aria-current="page"] {
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
  font-weight: 650;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 45px;
  padding-bottom: 64px;
}
.detail-main {
  min-width: 0;
}
.detail-main section {
  margin-bottom: 32px;
}
.section-intro {
  color: var(--muted);
  font-size: 15px;
  max-width: 800px;
}
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.detail-sidebar .panel {
  position: sticky;
  top: 24px;
}
.detail-sidebar h2 {
  font-size: 18px;
}
.facts {
  margin: 0;
  font-size: 13px;
}
.facts dt {
  color: var(--muted);
  margin-top: 18px;
}
.facts dt:first-child {
  margin-top: 0;
}
.facts dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.facts code {
  font-size: 11px;
}
.notice {
  border-left: 3px solid #ab6b27;
  background: #f5eddf;
  padding: 14px 18px;
  color: #624c32;
  font-size: 13px;
  margin: 20px 0;
}
.notice p {
  margin: 0;
}
.notice strong {
  font-weight: 650;
}
.limitations {
  padding-left: 20px;
  font-size: 14px;
  color: #3f5662;
}
.limitations li {
  margin: 10px 0;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  background: #fff;
}
th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: #eef2ef;
}
th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.parameter-name {
  display: block;
  margin-bottom: 5px;
}
td .muted {
  font-size: 12px;
}
.output-panel {
  border: 1px solid #c5d7d1;
  background: #eff5f0;
  border-radius: 8px;
  padding: 22px;
}
.output-panel h3 {
  margin-bottom: 8px;
}
.output-panel p {
  margin: 4px 0;
  font-size: 14px;
}
.output-unit {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--teal);
}
.status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
  font-size: 13px;
}
.status-pill {
  border-radius: 20px;
  background: #e9eeea;
  padding: 5px 10px;
  font-size: 12px;
  color: #455b4a;
}
.status-pill.ready {
  background: #dceee5;
  color: #1d5b3d;
}
.status-pill.unavailable {
  background: #f5e7d9;
  color: #80521f;
}
.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.app-frame {
  width: 100%;
  height: 790px;
  border: 1px solid #bcc9ce;
  border-radius: 8px;
  background: white;
}
.wide-section {
  padding-bottom: 60px;
}
.app-message {
  margin: 16px 0;
}
.code-block,
.guide-markdown pre {
  background: #172d3a;
  color: #e6f0ef;
  padding: 22px;
  border-radius: 8px;
  overflow: auto;
  font:
    12px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  white-space: pre;
}
.code-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: 13px;
}
.code-toolbar h3 {
  margin: 0;
}
.api-editor {
  width: 100%;
  min-height: 230px;
  resize: vertical;
  background: #fff;
  border: 1px solid #aabdc5;
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  font:
    13px/1.7 ui-monospace,
    monospace;
}
.result-panel {
  margin-top: 20px;
}
.result-panel:empty {
  display: none;
}
.error {
  padding: 16px;
  background: #f9e8e4;
  color: #873b2b;
  border: 1px solid #e9beb3;
  border-radius: 6px;
  font-size: 14px;
}
.result-note {
  color: var(--muted);
  font-size: 13px;
}
.citation {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.citation h3 {
  font-size: 17px;
}
.citation p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}
.citation a {
  overflow-wrap: anywhere;
}
.source-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    13px/1.8 ui-monospace,
    monospace;
  color: #3d5664;
}
.details-block {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 16px 20px;
}
.details-block summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.details-block pre {
  font-size: 12px;
  overflow: auto;
}
.source-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}
.text-page {
  padding: 60px 0 75px;
  max-width: 900px;
}
.text-page h1 {
  font-size: 46px;
}
.text-page .lead {
  margin-bottom: 35px;
}
.text-page h2 {
  margin-top: 34px;
}
.text-page p,
.text-page li {
  color: var(--muted);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 30px 0;
}
.guide-grid .panel p {
  font-size: 14px;
}
.guides-home {
  padding: 55px 0 65px;
}
.guides-heading {
  max-width: 760px;
}
.guides-heading h1,
.guide-article h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin: 12px 0 18px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0;
}
.method-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.method-card:nth-child(even) {
  border-top-color: var(--blue);
}
.method-card:hover,
.method-card:focus-visible {
  background: #f0f5f6;
  border-color: var(--teal);
}
.method-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--soft-green);
  color: var(--teal);
  border-radius: 12px;
  font: 700 24px ui-monospace, monospace;
}
.method-card:nth-child(even) .method-icon {
  background: var(--soft-blue);
  color: var(--blue);
}
.method-card h2 {
  margin: 4px 0 10px;
  font-size: 24px;
}
.method-card p {
  margin: 0;
}
.method-card div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}
.method-status,
.method-action {
  grid-column: 2;
  font-size: 12px;
}
.method-status {
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.method-action {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}
.guide-ground-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  margin: 40px 0 25px;
  padding-top: 12px;
}
.guide-ground-rules h2 { font-size: 20px; }
.guide-ground-rules p { color: var(--muted); }
.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 55px;
  padding-bottom: 60px;
}
.guide-sidebar nav { display: grid; gap: 6px; }
.guide-article, .guide-sidebar { min-width: 0; }
.guide-sidebar nav a {
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
}
.guide-sidebar nav a[aria-current="page"] {
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 600;
}
.guide-readiness {
  padding: 14px 18px;
  background: var(--soft-green);
  border-left: 3px solid var(--teal);
  font-size: 13px;
  margin: 24px 0 32px;
}
.guide-markdown h2 { margin: 32px 0 12px; font-size: 24px; }
.guide-markdown p,
.guide-markdown li { color: var(--muted); }
.guide-markdown li { margin: 8px 0; }
.guide-markdown pre { margin-top: 8px; }
.guide-markdown :not(pre) > code { overflow-wrap: anywhere; }
.guide-back { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 20px; }
.api-guide-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px 0; font-size: 14px; }
@media (max-width: 800px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .guide-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-sidebar > p { display: none; }
  .method-card { padding: 22px; grid-template-columns: 1fr; }
  .method-status, .method-action { grid-column: 1; }
}
@media (max-width: 540px) {
  .method-grid, .guide-ground-rules { grid-template-columns: 1fr; gap: 18px; }
}
.step-number {
  font:
    12px ui-monospace,
    monospace;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}
.loading {
  padding: 70px 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #efefe9;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 0;
  align-items: start;
}
.footer-brand {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
  text-decoration: none;
}
.footer-inner p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}
.footer-inner nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.footer-inner nav a,
.footer-note {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.footer-note {
  padding-top: 6px;
  white-space: nowrap;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 24px;
    padding: 18px 30px;
    flex-wrap: wrap;
  }
  .site-header nav {
    gap: 20px;
  }
  .header-actions {
    gap: 15px;
  }
  .container {
    width: calc(100% - 60px);
  }
  .hero {
    gap: 35px;
  }
  .catalog-layout {
    grid-template-columns: 165px 1fr;
    gap: 25px;
  }
  .card-content {
    padding: 20px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 25px;
  }
  .model-heading h1 {
    font-size: 38px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    gap: 16px;
    justify-content: space-between;
    padding: 18px 24px;
  }
  .wordmark {
    font-size: 24px;
  }
  .site-header nav {
    order: 3;
    flex-basis: 100%;
    overflow: auto;
    gap: 25px;
  }
  .site-header nav a {
    font-size: 13px;
    padding: 7px 0;
  }
  .container {
    width: calc(100% - 40px);
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 30px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-note {
    padding-left: 20px;
    display: none;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    padding-top: 24px;
    gap: 20px;
  }
  .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
  }
  .filter-title {
    width: 100%;
    margin-bottom: 2px;
  }
  .filter-button {
    width: auto;
    gap: 10px;
    padding: 8px 10px;
    margin: 0;
    font-size: 12px;
  }
  .filter-note {
    display: none;
  }
  .model-grid {
    gap: 16px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-sidebar .panel {
    position: static;
  }
  .detail-sidebar .facts {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
  }
  .detail-sidebar .facts dt {
    margin: 0;
  }
  .detail-sidebar .facts dd {
    margin: 0;
  }
  .model-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .model-heading h1 {
    font-size: 35px;
  }
  .model-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
  }
  .model-actions .release-label {
    text-align: left;
  }
  .page-tabs {
    gap: 24px;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .footer-inner nav {
    gap: 18px;
  }
  .footer-note {
    width: 100%;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .text-page {
    padding: 40px 0 50px;
  }
  .text-page h1 {
    font-size: 36px;
  }
}
@media (max-width: 540px) {
  .model-grid {
    grid-template-columns: 1fr;
  }
  .search-link span {
    display: none;
  }
  .header-actions {
    gap: 18px;
  }
  .header-inner {
    padding: 16px 20px;
  }
  .preview-strip {
    font-size: 11px;
  }
  .preview-strip .strip-divider {
    margin: 0 5px;
  }
  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .lead {
    font-size: 16px;
  }
  .search-row {
    gap: 10px;
  }
  .search-field input {
    font-size: 13px;
  }
  .result-count {
    font-size: 12px;
  }
  .card-description {
    min-height: 0;
  }
  .model-heading h1 {
    font-size: 31px;
    letter-spacing: -1px;
  }
  .page-tabs a {
    font-size: 12px;
  }
  .page-tabs {
    gap: 20px;
  }
  .panel {
    padding: 20px;
  }
  .detail-sidebar .facts {
    grid-template-columns: 1fr;
  }
  .detail-sidebar .facts dt {
    margin-top: 8px;
  }
  .app-frame {
    height: 920px;
  }
  .code-block {
    padding: 16px;
  }
  .empty-state {
    padding: 30px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
