@font-face {
  font-family: Golos;
  src: url("/static/fonts/GolosText.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ground: #f1f3f6;
  --ink: #192a46;
  --muted: #59677c;
  --line: #d9dfe8;
  --blue: #264fa5;
  --blue-soft: #edf2fc;
  --ok: #266b50;
  --ok-bg: #eaf4ee;
  --warn: #89550b;
  --warn-bg: #fbf1dc;
  --error: #9a3536;
  --error-bg: #fff0ef;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: #a8b3c6 var(--ground);
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Golos, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
::selection {
  background: #c9d9fb;
  color: #142952;
}
button,
input {
  font: inherit;
  caret-color: var(--blue);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #517cce;
  outline-offset: 4px;
}
button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
}
.skip:focus {
  top: 12px;
}
.header {
  height: 88px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 70px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.brand-light {
  font-weight: 450;
  margin-left: 6px;
}
.header nav {
  align-self: stretch;
  display: flex;
  gap: 32px;
}
.nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 0 2px;
  color: var(--muted);
  font-size: 14px;
}
.nav-link:hover {
  color: var(--blue);
}
.nav-link.active {
  color: var(--blue);
  border-color: var(--blue);
}
.connection {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 7px;
  height: 7px;
  background: #8490a4;
  border-radius: 50%;
  flex: none;
}
.connection.online .dot {
  background: var(--ok);
}
.connection.offline .dot {
  background: var(--warn);
}
main {
  max-width: 1344px;
  margin: auto;
  padding: 56px 48px 64px;
  min-height: calc(100vh - 171px);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 550;
  margin-bottom: 20px;
  text-wrap: balance;
}
h1 span {
  color: #63738e;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.02em;
}
h3 {
  font-weight: 550;
}
p {
  max-width: 72ch;
}
.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.page-intro > div > p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.7;
}
.intro-note {
  padding-bottom: 4px;
  min-width: 275px;
}
.intro-note p {
  font-size: 13px !important;
  margin: 18px 0 12px !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
}
.model-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8c8e8;
  border-radius: 5px;
  font-size: 12px;
  color: var(--blue);
  padding: 5px 9px;
  font-weight: 550;
  white-space: nowrap;
}
.note-caption {
  font-size: 12px;
  color: var(--muted);
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 40px;
}
.upload-sheet {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.sheet-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.sheet-heading h2 {
  margin: 0;
  font-size: 17px;
}
.sheet-heading > span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.drop-zone {
  margin: 20px 28px 24px;
  padding: 32px 16px 34px;
  min-height: 325px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed #bdc8da;
  border-radius: 8px;
  background: #fbfcfe;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.drop-zone.drag-over {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.upload-icon {
  color: #5577b7;
  margin-bottom: 14px;
}
.drop-zone h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.drop-zone p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 22px;
}
.upload-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.button {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition:
    background 0.15s,
    color 0.15s;
}
.primary {
  background: var(--blue);
  color: #fff;
}
.primary:hover:not(:disabled) {
  background: #1d4089;
}
.secondary {
  background: white;
  border-color: #bdc8da;
  color: var(--ink);
}
.secondary:hover {
  background: #f0f3f8;
}
.quiet {
  background: none;
  color: var(--muted);
  padding: 11px 8px;
}
.quiet:hover {
  color: var(--ink);
  background: #e9edf4;
}
.sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 18px 28px;
}
.sheet-foot > span {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.text-button {
  background: none;
  border: 0;
  color: var(--blue);
  min-height: 44px;
  font-size: 12px;
  white-space: nowrap;
  padding: 8px 0;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button span {
  margin-left: 7px;
}
.criteria {
  padding-top: 23px;
}
.criteria h2 {
  font-size: 16px;
  margin-bottom: 27px;
}
.criterion-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 22px;
}
.criterion-group h3 {
  font-size: 13px;
  margin-bottom: 11px;
}
.criterion-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.criterion-group li {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.criterion-group li:before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid #8293af;
  transform: rotate(45deg);
  flex: none;
}
.criteria-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 30ch;
}
.bottom-note {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.bottom-note a {
  color: var(--blue);
  text-decoration: none;
}
.bottom-note a:hover {
  text-decoration: underline;
}
.footer {
  min-height: 83px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.footer-sep {
  padding: 0 12px;
  color: #a1aabd;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.error {
  background: var(--error-bg);
  color: var(--error);
  margin: 0 28px 20px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
}
.progress {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--blue);
}
.progress small {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
}
.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #d4dff4;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.results {
  animation: arrive 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.has-results > .page-intro { display: none; }
@keyframes arrive {
  from {
    clip-path: inset(0 0 12px);
    transform: translateY(6px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}
.results-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.results-top h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.results-top p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.result-actions {
  display: flex;
  gap: 10px;
}
.demo-notice {
  background: #e4eaf5;
  color: #375276;
  padding: 12px 18px;
  font-size: 12px;
  max-width: none;
  border-radius: 6px;
  margin-bottom: 20px;
}
.results-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 28px;
}
.result-list {
  grid-column: 1 / -1;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  align-self: start;
  overflow: hidden;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.filters {
  display: flex;
  gap: 4px;
}
.filters button {
  min-height: 42px;
  border: 0;
  background: none;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  border-radius: 5px;
}
.filters button[aria-pressed="true"] {
  color: var(--blue);
  background: var(--blue-soft);
}
.filters button:hover {
  background: #f0f3f8;
}
.filters span {
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}
.table-hint {
  font-size: 12px;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  font-size: 12px;
}
th {
  font-weight: 450;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  padding: 13px 12px;
  background: #fafbfd;
}
th:first-child,
td:first-child {
  padding-left: 24px;
}
td {
  padding: 17px 12px;
  border-top: 1px solid #e5e9f0;
  font-variant-numeric: tabular-nums;
}
td:last-child {
  padding-right: 24px;
}
tbody tr.selected {
  background: var(--blue-soft);
}
tbody tr:hover {
  background: #f6f8fc;
}
.file-link {
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink);
  font-weight: 500;
  padding: 6px 0;
  min-height: 44px;
  overflow-wrap: anywhere;
  max-width: 320px;
  font-size: 12px;
  line-height: 1.4;
}
.file-subtitle {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 4px;
}
.status.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.status.ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.status.failed {
  background: var(--error-bg);
  color: var(--error);
}
.status:before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.row-arrow {
  color: var(--blue);
  font-size: 17px;
}
.table-note {
  font-size: 12px;
  color: var(--muted);
  padding: 18px 24px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.empty-filter {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  padding: 40px 20px;
}
.inspection {
  padding: 19px 0 0;
}
.viewer {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.viewer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}
.viewer-heading h2 {
  font-size: 17px;
  overflow-wrap: anywhere;
  margin: 0 0 6px;
}
.viewer-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.viewer-navigation, .zoom-controls, .viewer-toolbar {
  display: flex;
  gap: 6px;
  align-items: center;
}
.viewer-navigation { flex-shrink: 0; }
.viewer-navigation output, .zoom-controls output {
  min-width: 48px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.viewer-button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  color: var(--ink);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.viewer-button:hover:not(:disabled) { background: var(--blue-soft); color: var(--blue); }
.viewer-button:disabled { color: var(--muted); opacity: .45; cursor: default; }
.viewer-button svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.viewer-toolbar {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 6px 12px;
  background: #fafbfd;
}
.viewer-stage {
  position: relative;
  height: 480px;
  background: #111923;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  outline-offset: -4px;
}
.viewer-stage.is-zoomed { cursor: grab; touch-action: none; }
.viewer-stage.is-zoomed:active { cursor: grabbing; }
.viewer-stage img {
  width: 100%; height: 100%; object-fit: contain;
  transform-origin: center; pointer-events: none;
}
.viewer-empty {
  text-align: center;
  color: #c7d3e2;
  max-width: 38ch;
  padding: 24px;
  font-size: 13px;
  line-height: 1.8;
}
.viewer-empty svg { width: 48px; height: 48px; stroke: #8fa7c4; fill: none; stroke-width: 1.5; margin-bottom: 16px; }
.viewer-empty p { margin: 0; }
.viewer-adjustments {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 18px 22px 8px;
}
.viewer-adjustments label {
  flex: 1; min-width: 0; font-size: 12px; color: var(--muted);
}
.viewer-adjustments output { float: right; font-variant-numeric: tabular-nums; }
.viewer-adjustments input {
  display: block; width: 100%; height: 32px; margin: 0;
  accent-color: var(--blue); cursor: pointer;
}
.viewer-adjustments input:disabled { cursor: default; opacity: .45; }
.viewer-hint, .viewer-disclaimer {
  font-size: 12px; color: var(--muted); line-height: 1.7;
  margin: 0; padding: 0 22px 12px; max-width: none;
}
.viewer-disclaimer { padding-bottom: 18px; }
.viewer:fullscreen { border: 0; border-radius: 0; overflow: auto; display: flex; flex-direction: column; }
.viewer:fullscreen .viewer-stage { flex: 1; min-height: 200px; }
.viewer.is-empty { align-self: start; }
.viewer.is-empty .viewer-stage { height: 220px; }
.viewer.is-empty .viewer-toolbar,
.viewer.is-empty .viewer-adjustments,
.viewer.is-empty .viewer-hint,
.viewer.is-empty .viewer-disclaimer { display: none; }
@media (max-width: 800px) {
  .viewer-stage { height: 420px; }
}
@media (max-width: 480px) {
  .viewer-heading { flex-wrap: wrap; padding: 16px; gap: 8px; }
  .viewer-heading > div:first-child { width: 100%; }
  .viewer-navigation { margin-left: auto; }
  .viewer-stage { height: 340px; }
  .viewer-adjustments { padding: 16px 16px 8px; gap: 12px; flex-wrap: wrap; }
  .viewer-adjustments label { flex-basis: calc(50% - 12px); }
  .viewer-adjustments .viewer-button { margin-left: auto; }
  .viewer-hint, .viewer-disclaimer { padding-left: 16px; padding-right: 16px; }
}
.inspection h2 {
  font-size: 16px;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.inspection-region {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.inspection .status {
  font-size: 12px;
  margin-bottom: 22px;
}
.inspection h3 {
  font-size: 12px;
  margin-bottom: 8px;
}
.finding-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.finding-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.finding-list svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.finding-list .found {
  color: var(--warn);
}
.finding-list .not-found {
  color: var(--muted);
}
.finding-copy small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.inspection-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.metadata {
  margin-top: 20px;
}
.metadata summary {
  font-size: 12px;
  color: var(--blue);
  cursor: pointer;
  min-height: 44px;
  padding: 11px 0;
}
.metadata dl {
  margin: 0;
}
.metadata dt {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.metadata dd {
  font-size: 12px;
  margin: 4px 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.model-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 40px;
}
.model-sheet {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.model-sheet > h2 {
  margin-top: 38px;
  margin-bottom: 16px;
}
.model-sheet > h2:first-child {
  margin-top: 0;
}
.model-sheet > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  margin: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--blue);
}
.metrics td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 12px;
}
.metrics td:not(:first-child) {
  white-space: nowrap;
}
.model-footnote {
  font-size: 12px !important;
  margin-top: 14px;
}
.definitions {
  margin: 0;
}
.definitions > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.definitions > div:last-child {
  border: 0;
  padding-bottom: 0;
}
.definitions dt {
  font-size: 12px;
  font-weight: 550;
}
.definitions dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.model-limits {
  padding-top: 26px;
}
.model-limits h2 {
  font-size: 16px;
}
.model-limits p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
}
.model-limits strong {
  font-weight: 550;
  color: var(--ink);
}
.text-link {
  font-size: 12px;
  color: var(--blue);
  display: inline-block;
  padding: 8px 0;
  min-height: 44px;
}
.small {
  font-size: 12px !important;
}
@media (min-width: 1600px) {
  main {
    padding-top: 68px;
  }
  .page-intro {
    margin-bottom: 52px;
  }
}
@media (max-width: 1100px) {
  .header {
    padding: 0 32px;
    gap: 40px;
  }
  main {
    padding: 44px 32px 52px;
  }
  h1 {
    font-size: 44px;
  }
  .workspace,
  .model-layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .intro-note {
    min-width: 235px;
  }
  .footer {
    padding: 24px 32px;
  }
  .footer > span:nth-child(2) {
    max-width: 30ch;
  }
  .results-workspace {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 24px;
  }
  .table-hint {
    display: none;
  }
  .result-actions .button {
    padding: 10px 12px;
  }
  .results-top h2 {
    font-size: 21px;
  }
  .results-top {
    align-items: flex-start;
  }
}
@media (max-width: 800px) {
  .header {
    height: 76px;
    gap: 25px;
    padding: 0 24px;
  }
  .header nav {
    gap: 22px;
  }
  .brand {
    font-size: 18px;
  }
  .connection {
    font-size: 12px;
    gap: 6px;
  }
  .connection .dot {
    width: 8px;
    height: 8px;
  }
  .page-intro {
    align-items: flex-start;
    margin-bottom: 30px;
  }
  h1 {
    font-size: 40px;
  }
  .intro-note {
    display: none;
  }
  .workspace,
  .model-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .criteria {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    padding: 12px 0;
  }
  .criteria h2 {
    grid-column: 1/-1;
    margin-bottom: 22px;
  }
  .criterion-group {
    margin-bottom: 0;
  }
  .criteria-note {
    grid-column: 1/-1;
    max-width: 70ch;
    margin: 20px 0 0;
  }
  .results-workspace {
    grid-template-columns: 1fr;
  }
  .inspection {
    background: #e9edf5;
    border-radius: 10px;
    padding: 24px;
  }
  .finding-list {
    max-width: 540px;
  }
  .results-top {
    flex-direction: column;
  }
  .model-limits {
    padding-top: 8px;
  }
  .model-limits p {
    max-width: 70ch;
  }
  .model-limits h2 {
    font-size: 20px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer > span:nth-child(2) {
    order: 3;
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .header {
    height: auto;
    min-height: 112px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding: 18px 20px 0;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .header nav {
    grid-column: 1/-1;
    grid-row: 2;
    gap: 24px;
    min-height: 49px;
  }
  .nav-link {
    font-size: 12px;
  }
  .connection {
    grid-column: 2;
    grid-row: 1;
  }
  main {
    padding: 32px 20px 40px;
  }
  .page-intro {
    margin-bottom: 28px;
    gap: 16px;
  }
  h1 {
    font-size: 34px;
    line-height: 1.14;
    margin-bottom: 18px;
  }
  .page-intro > div > p {
    font-size: 13px;
    line-height: 1.7;
  }
  .desktop-break {
    display: none;
  }
  .sheet-heading {
    margin: 0 18px;
    padding: 20px 0;
  }
  .sheet-heading h2 {
    font-size: 15px;
  }
  .sheet-heading > span {
    font-size: 12px;
  }
  .drop-zone {
    margin: 16px 16px 20px;
    padding: 27px 12px;
    min-height: 312px;
  }
  .drop-zone h3 {
    font-size: 20px;
  }
  .drop-zone p {
    font-size: 12px;
  }
  .button {
    min-height: 46px;
    font-size: 12px;
    padding: 11px 14px;
  }
  .sheet-foot {
    padding: 15px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .sheet-foot > span {
    font-size: 12px;
  }
  .text-button {
    font-size: 12px;
  }
  .criteria {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 0 0;
  }
  .criterion-group {
    padding-bottom: 18px;
    margin-bottom: 20px;
  }
  .criteria h2 {
    font-size: 17px;
  }
  .criterion-group h3 {
    font-size: 13px;
  }
  .criterion-group li {
    font-size: 12px;
  }
  .criteria-note {
    margin-top: 0;
    max-width: none;
    font-size: 12px;
  }
  .bottom-note {
    margin-top: 26px;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
  }
  .footer {
    padding: 22px 20px;
    font-size: 12px;
    gap: 16px;
  }
  .results-top h2 {
    font-size: 22px;
  }
  .results-top p {
    font-size: 12px;
  }
  .result-actions {
    width: 100%;
  }
  .result-actions .button {
    flex: 1;
    font-size: 12px;
    gap: 8px;
  }
  .list-toolbar {
    padding: 10px;
  }
  .filters {
    width: 100%;
    justify-content: space-between;
  }
  .filters button {
    font-size: 12px;
    padding: 8px;
  }
  .table-scroll table:not(.metrics) th:nth-child(3),
  .table-scroll table:not(.metrics) td:nth-child(3) {
    display: none;
  }
  th:first-child,
  td:first-child {
    padding-left: 14px;
  }
  th,
  td {
    padding-left: 7px;
    padding-right: 7px;
  }
  td:last-child {
    padding-right: 12px;
  }
  .file-link {
    font-size: 12px;
    max-width: 170px;
  }
  .file-subtitle {
    font-size: 12px;
  }
  .status {
    font-size: 12px;
    padding: 5px 6px;
  }
  .table-note {
    padding: 16px 14px;
    line-height: 1.7;
  }
  .inspection {
    padding: 22px;
  }
  .demo-notice {
    font-size: 12px;
    line-height: 1.7;
    padding: 12px 14px;
  }
  .model-sheet {
    padding: 22px 18px;
  }
  .model-sheet > p {
    font-size: 13px;
  }
  .pipeline {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: 12px;
  }
  .definitions > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .metrics th {
    white-space: normal;
    min-width: 82px;
    font-size: 12px;
  }
  .metrics td {
    font-size: 12px;
    padding-left: 7px;
    padding-right: 7px;
  }
  .metrics th:first-child,
  .metrics td:first-child {
    padding-left: 0;
  }
  .metrics td:first-child {
    min-width: 100px;
  }
  .model-layout {
    gap: 24px;
  }
  #model-view .page-intro > .model-tag {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.arrow-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.result-row {
  cursor: pointer;
}
.back-to-row {
  display: inline-flex;
  margin-bottom: 10px;
}
