@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plex-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
img {
  height: auto;
}
.result-table {
  position: relative;
}
.evidence-stamp {
  background: #315e58 !important;
}
:root {
  --bg: #f8f7f3;
  --paper: #fff;
  --ink: #202c2b;
  --muted: #606863;
  --faint: #747971;
  --line: #daddd5;
  --wash: #efefe8;
  --accent: #ac3a24;
  --accent-wash: #f8eae3;
  --green: #315e58;
  --green-wash: #e7eeea;
  --shadow: 0 20px 60px #25302910;
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --body: Manrope, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #161d1c;
  --paper: #1d2725;
  --ink: #edece4;
  --muted: #b2bab0;
  --faint: #a4aaa2;
  --line: #38443f;
  --wash: #232e2a;
  --accent: #f3a085;
  --accent-wash: #3e2b24;
  --green: #a1c9ba;
  --green-wash: #263e33;
  --shadow: 0 20px 60px #0003;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 102px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
img {
  max-width: 100%;
  display: block;
}
button:disabled {
  opacity: 0.38;
  cursor: default;
}
::selection {
  background: #eac5b4;
  color: #202c2b;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
}
h2 {
  font-size: 34px;
  line-height: 1.45;
  letter-spacing: -1.2px;
}
h3 {
  font-size: 20px;
  line-height: 1.5;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  max-width: 1320px;
  padding-left: 40px;
  padding-right: 40px;
  margin-inline: auto;
}
.section {
  padding-top: 104px;
  padding-bottom: 94px;
  scroll-margin-top: 8px;
}
.mono,
.eyebrow,
.micro,
kbd {
  font-family: var(--mono);
  font-weight: 400;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 1.65px;
  line-height: 1.7;
  color: var(--muted);
}
.micro {
  font-size: 11px;
  color: var(--muted);
}
.accent {
  color: var(--accent);
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 2px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 11px 21px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #00000008;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
[data-theme="dark"] .button.primary {
  color: #242220;
}
.button.quiet {
  background: transparent;
}
.button.small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
  gap: 10px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 19px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  background: none;
  padding: 0;
  color: var(--ink);
}
.text-link:hover,
a:hover {
  color: var(--accent);
}
.skip {
  position: fixed;
  left: 20px;
  top: -80px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.topbar {
  height: 76px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.65px;
  white-space: nowrap;
}
.brand svg {
  width: 29px;
  height: 29px;
  stroke-width: 2;
  flex-shrink: 0;
}
.brand-soft {
  font-weight: 500;
}
.version {
  font: 9px var(--mono);
  letter-spacing: 0.5px;
  border: 1px solid var(--line);
  padding: 3px 4px;
  align-self: center;
  margin-left: 2px;
  color: var(--muted);
}
nav {
  display: flex;
  gap: 27px;
  margin-left: auto;
}
nav a {
  font-size: 12px;
  white-space: nowrap;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 19px;
}
.release-dot {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.release-dot:before {
  content: "";
  display: inline-block;
  background: var(--green);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 6px;
}
.mobile-menu {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 50px;
  min-height: 624px;
  align-items: center;
  padding-top: 62px;
  padding-bottom: 65px;
}
.hero h1 {
  font-family: var(--body);
  font-size: clamp(37px, 3.5vw, 53px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -2px;
  margin: 24px 0;
}
.hero-lead {
  font-size: 19px;
  line-height: 1.85;
  letter-spacing: 0.1px;
}
.hero-context {
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 450px;
  margin-top: 16px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.hero-foot {
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 36px;
}
.hero-foot .mono {
  letter-spacing: 0.7px;
}
.hero-evidence {
  height: 475px;
  position: relative;
  border-left: 1px solid var(--line);
  margin-top: 8px;
}
.orbit-label {
  position: absolute;
  top: 0;
  left: 28px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.hero-grid-lines {
  position: absolute;
  inset: 30px 0 10px 28px;
  background-image: radial-gradient(var(--line) 0.9px, transparent 0.9px);
  background-size: 16px 16px;
  mask-image: linear-gradient(90deg, #000, transparent);
}
.hero-phone {
  width: 204px;
  position: absolute;
  right: 34px;
  top: 32px;
  padding: 5px;
  background: #25302d;
  border-radius: 25px;
  box-shadow: 0 22px 35px #1f332324;
  transform: rotate(4deg);
  overflow: hidden;
  transition: transform 0.3s;
}
.hero-phone:hover {
  transform: rotate(0);
}
.hero-phone img {
  border-radius: 20px;
  aspect-ratio: 9/20;
  width: 100%;
}
.paper-note {
  position: absolute;
  top: 85px;
  left: 23px;
  z-index: 2;
  width: 228px;
  padding: 23px 23px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.note-kicker {
  font-size: 10px;
  color: var(--muted);
}
.paper-note strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 13px;
}
.note-line {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--accent);
  margin: 18px 0;
}
.paper-note p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.paper-note .text-link {
  margin-top: 20px;
  font-size: 11px;
}
.evidence-stamp {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: var(--green);
  color: #fff;
  border: 1px solid #ffffff33;
  padding: 14px 17px;
  min-width: 235px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.stamp-check {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  font-size: 16px;
}
.evidence-stamp strong {
  display: block;
  font: 24px/1.2 var(--mono);
  letter-spacing: -1px;
}
.evidence-stamp div > span {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.stamp-corner {
  margin-left: auto;
  font-size: 22px;
}
.evidence-caption {
  position: absolute;
  bottom: 6px;
  left: 25px;
  font-size: 8px;
  letter-spacing: 0.7px;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  padding-block: 25px;
}
.stats-strip > div {
  padding-inline: 34px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 22px;
  align-items: center;
}
.stats-strip > div:first-child {
  padding-left: 0;
}
.stats-strip > div:last-child {
  border: 0;
  padding-right: 0;
}
.stats-strip strong {
  font: 40px/1.2 var(--body);
  font-weight: 500;
  letter-spacing: -2px;
  white-space: nowrap;
}
.stats-strip strong > span {
  font-size: 11px;
  margin-left: 4px;
  letter-spacing: 0;
  color: var(--muted);
}
.stats-strip p {
  font-size: 12px;
  line-height: 1.7;
}
.stats-strip small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 34px;
}
.section-heading .eyebrow {
  margin-bottom: 13px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
  margin-bottom: 4px;
}
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
  gap: 16px;
}
.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 3px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.segmented button {
  background: transparent;
  padding: 7px 15px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.segmented button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 4px #0000000b;
}
.separator {
  color: var(--line);
  padding: 0 8px;
}
.result-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
  background: var(--paper);
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  background: var(--wash);
  padding: 14px 22px;
  white-space: nowrap;
}
td {
  padding: 21px 22px;
  font-size: 12px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.task-result-title {
  font-weight: 650;
  font-size: 14px;
  display: block;
}
.cell-sub {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
  max-width: 330px;
  line-height: 1.7;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1.7;
  white-space: nowrap;
}
.status.pass {
  color: var(--green);
  background: var(--green-wash);
}
.status.partial {
  color: var(--accent);
  background: var(--accent-wash);
}
.status.neutral {
  color: var(--muted);
  background: var(--wash);
}
.status.pass:before {
  content: "✓";
}
.status.partial:before {
  content: "◐";
}
.result-link {
  white-space: nowrap;
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 5px;
  background: var(--paper);
}
.result-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.result-footnote {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
}
.result-footnote p {
  flex: 1;
}
.result-footnote a {
  white-space: nowrap;
  font-size: 11px;
}
.info-mark {
  font: 10px/16px var(--mono);
  border: 1px solid var(--line);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.task-section {
  background: var(--wash);
  border-block: 1px solid var(--line);
}
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.domain-card {
  position: relative;
  text-align: left;
  display: block;
  padding: 23px 23px 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  transition:
    background 0.18s,
    transform 0.18s,
    border-color 0.18s;
}
.domain-card:hover {
  background: var(--paper);
  transform: translateY(-3px);
}
.domain-card.selected {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.domain-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  margin-bottom: 20px;
}
.domain-top > span {
  font: 12px var(--mono);
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.domain-top strong {
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
}
.domain-card h3 {
  font-size: 16px;
}
.domain-card .domain-en {
  font-size: 9px;
  font-family: var(--mono);
  color: var(--muted);
  margin-top: 3px;
}
.domain-card p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
  margin: 12px 0 16px;
}
.domain-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
}
.domain-bottom span:last-child {
  font-size: 16px;
}
.domain-bar {
  height: 3px;
  background: var(--line);
  margin-top: 13px;
  border-radius: 3px;
  overflow: hidden;
}
.domain-bar span {
  display: block;
  height: 100%;
  background: var(--green);
}
.taxonomy-line {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px 2px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}
.taxonomy-label {
  margin-right: 12px;
}
.taxonomy-line i {
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
}
.taxonomy-line .text-link {
  margin-left: auto;
  font-size: 10px;
}
.catalog {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}
.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 26px 19px;
}
.catalog-head > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.catalog-head h3 {
  font-size: 17px;
}
.count {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--wash);
  color: var(--muted);
  padding: 3px 7px;
  border-radius: 4px;
  margin-left: 7px;
}
.filters {
  display: flex;
  gap: 9px;
  padding: 0 26px 20px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 200px;
  flex: 1;
  padding: 0 11px;
}
.search-field svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
}
.search-field input {
  background: none;
  color: var(--ink);
  border: 0;
  outline: 0;
  padding: 11px 0;
  width: 100%;
  font-size: 12px;
}
.search-field:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.search-field kbd {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
}
.select-field select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  padding: 0 31px 0 12px;
  font-size: 11px;
  max-width: 200px;
}
.reset-button {
  background: none;
  font-size: 11px;
  padding: 0 8px;
  color: var(--muted);
}
.catalog-notice {
  font-size: 10px;
  color: var(--muted);
  padding: 10px 26px;
  background: var(--bg);
  border-block: 1px solid var(--line);
}
.task-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.task-item {
  display: block;
  text-align: left;
  padding: 22px 26px;
  min-width: 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s;
}
.task-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.task-item:hover {
  background: var(--bg);
}
.task-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.task-item-id {
  font: 9px var(--mono);
  letter-spacing: 0.25px;
  color: var(--muted);
}
.task-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 6px;
}
.task-item p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.task-tags {
  display: flex;
  gap: 5px;
  margin-top: 13px;
  flex-wrap: wrap;
}
.tag {
  font-size: 9px;
  padding: 2px 6px;
  color: var(--muted);
  background: var(--wash);
  border-radius: 3px;
}
.task-item .arrow {
  font-size: 16px;
  color: var(--faint);
  margin-left: auto;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 26px;
  gap: 12px;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.pagination .mono {
  font-size: 11px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 65px 30px;
  text-align: center;
  color: var(--muted);
}
.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 12px;
}
.case-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.case-tab {
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.case-tab > span {
  font: 11px var(--mono);
  color: var(--muted);
}
.case-tab strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.case-tab small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.case-tab.active {
  border-color: var(--green);
  background: var(--green-wash);
}
.trace-workbench {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.workbench-header {
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.workbench-header h3 {
  font-size: 21px;
  margin: 7px 0;
}
.workbench-header p {
  font-size: 11px;
  color: var(--muted);
}
.share-button {
  white-space: nowrap;
}
.query-disclosure {
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.query-disclosure summary {
  cursor: pointer;
  font-size: 11px;
  padding: 13px 0;
  color: var(--muted);
}
.query-disclosure .query {
  font-size: 12px;
  line-height: 2;
  padding: 5px 0 20px;
  white-space: pre-wrap;
}
.trace-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.trace-controls > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trace-controls .icon-button {
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.trace-stage {
  font: 10px var(--mono);
  color: var(--muted);
}
.agent-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.agent-panel {
  min-width: 0;
  padding: 24px 25px;
}
.agent-panel:first-child {
  border-right: 1px solid var(--line);
}
.agent-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 12px;
}
.agent-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
}
.agent-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 9px;
  letter-spacing: -0.3px;
}
.agent-mark.db {
  background: #4772bc;
  color: white;
}
.agent-body {
  display: grid;
  grid-template-columns: 1fr 181px;
  gap: 20px;
  min-height: 402px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-button {
  position: relative;
  text-align: left;
  display: flex;
  gap: 10px;
  padding: 12px 9px;
  background: none;
  border-radius: 5px;
  border: 1px solid transparent;
}
.step-button .step-circle {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 9px var(--mono);
  margin-top: 1px;
  color: var(--muted);
}
.step-button strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.step-button small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 6px;
}
.step-button.active {
  background: var(--wash);
  border-color: var(--line);
}
.step-button.active .step-circle {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}
.step-detail {
  padding: 14px 9px 0;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.step-observation {
  margin-top: 10px;
  font: 9px/1.7 var(--mono);
  color: var(--muted);
}
.phone-evidence {
  align-self: start;
  position: relative;
}
.phone-image-button {
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 15px;
  background: #e1e4df;
  width: 100%;
  overflow: hidden;
}
.phone-image-button img {
  width: 100%;
  border-radius: 11px;
  aspect-ratio: 9/20;
  object-fit: contain;
  background: #fff;
}
.phone-evidence figcaption {
  font-size: 8px;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
  margin-top: 7px;
}
.phone-evidence figure {
  margin: 0;
}
.text-evidence {
  height: 395px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
}
.text-evidence .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.text-evidence .large-numeral {
  font: 54px var(--mono);
  color: var(--line);
  letter-spacing: -4px;
}
.text-evidence p {
  font-size: 12px;
  line-height: 1.9;
}
.text-evidence .evidence-type {
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.agent-outcome {
  padding: 17px 0 0;
  margin-top: 15px;
  border-top: 1px solid var(--line);
}
.agent-outcome p {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
}
.agent-outcome .micro {
  display: block;
  font-size: 9px;
  margin-top: 5px;
}
.artifact {
  margin-top: 15px;
  background: var(--bg);
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.artifact-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.artifact-head strong {
  font-size: 11px;
  font-weight: 600;
}
.artifact a {
  font-size: 11px;
  color: var(--green);
}
.artifact .hash {
  display: block;
  font: 8px var(--mono);
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.artifact details {
  margin-top: 9px;
  font-size: 10px;
}
.artifact summary {
  cursor: pointer;
  color: var(--muted);
}
.check-list {
  padding: 9px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
  font-size: 9px;
}
.check-list .fail {
  color: var(--accent);
}
.check-list .ok {
  color: var(--green);
}
.trace-conclusion {
  padding: 22px 28px;
  background: var(--green-wash);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
}
.trace-conclusion > strong {
  font-size: 11px;
  align-self: start;
  color: var(--green);
}
.trace-conclusion p {
  font-size: 12px;
  line-height: 1.9;
}
.trace-conclusion .limitation {
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.trace-note {
  display: flex;
  gap: 24px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 10px;
}
.trace-note > span {
  white-space: nowrap;
  font-size: 9px;
  padding-top: 3px;
}
.finding-section {
  background: #22312d;
  color: #edf0e8;
  padding: 76px 0;
}
.finding-grid {
  display: grid;
  grid-template-columns: 0.87fr 1.13fr;
  gap: 80px;
  align-items: center;
}
.finding-section .eyebrow {
  color: #bac8bd;
  font-size: 10px;
  letter-spacing: 1px;
}
.finding-section h2 {
  font-size: 39px;
  line-height: 1.5;
  margin: 22px 0;
}
.finding-section p {
  font-size: 13px;
  line-height: 1.95;
  color: #dde4d9;
  max-width: 405px;
}
.finding-section .finding-secondary {
  color: #b2c2b7;
  font-size: 11px;
  margin-top: 16px;
}
.finding-tags {
  display: flex;
  gap: 7px;
  margin-top: 23px;
  flex-wrap: wrap;
}
.finding-tags span {
  font-size: 9px;
  border: 1px solid #53665a;
  padding: 4px 7px;
  border-radius: 3px;
  color: #c3d1c5;
}
.overlay-study {
  border: 1px solid #526157;
  background: #1c2925;
  border-radius: 12px;
  padding: 22px 25px;
}
.dark-segmented {
  background: #24362e;
  border-color: #4e6255;
}
.dark-segmented button {
  color: #bdcabb;
}
.dark-segmented button.active {
  background: #e6ece1;
  color: #26392e;
}
.overlay-content {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 29px;
  align-items: center;
  margin-top: 22px;
}
.overlay-shot {
  padding: 3px;
  border: 1px solid #78867b;
  background: #cad3c7;
  border-radius: 14px;
  overflow: hidden;
}
.overlay-shot img {
  border-radius: 10px;
  width: 100%;
}
.overlay-readout .mono {
  font-size: 8px;
  letter-spacing: 0.5px;
  color: #b0c1b3;
}
.overlay-readout > div {
  padding: 20px 0 13px;
  border-bottom: 1px solid #43534a;
}
.overlay-readout > div > span {
  display: block;
  font-size: 10px;
  color: #b3c4b8;
}
.overlay-readout strong {
  display: block;
  font: 28px var(--mono);
  color: #f1f2e8;
  margin-top: 6px;
  white-space: nowrap;
}
.overlay-readout strong small {
  font-size: 11px;
  color: #bcc9bd;
}
.overlay-readout p {
  font-size: 11px;
  margin: 17px 0;
}
.overlay-readout .micro {
  font-size: 9px;
  color: #b1c0b4;
}
.method-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  margin-top: 40px;
}
.method-flow article {
  position: relative;
  padding: 27px 27px 28px 0;
  margin-right: 27px;
  border-right: 1px solid var(--line);
}
.method-flow article:last-child {
  border: 0;
  margin-right: 0;
}
.step-num {
  font: 11px var(--mono);
  color: var(--accent);
}
.method-flow h3 {
  margin: 17px 0 10px;
  font-size: 17px;
}
.method-flow p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.method-bottom {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 65px;
  margin-top: 48px;
}
.archive-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--paper);
  border-radius: 9px;
}
.archive-card h3 {
  font-size: 21px;
  margin: 14px 0 21px;
}
.archive-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 22px;
}
.archive-numbers span {
  font-size: 10px;
  color: var(--muted);
}
.archive-numbers strong {
  display: block;
  font: 32px var(--body);
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1.5;
}
.archive-card > p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.resource-links {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
}
.method-details details {
  border-bottom: 1px solid var(--line);
}
.method-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  padding: 18px 0;
  list-style: none;
}
.method-details summary::-webkit-details-marker {
  display: none;
}
.method-details summary span {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
}
.method-details details[open] summary span {
  transform: rotate(45deg);
}
.method-details details p {
  font-size: 11px;
  line-height: 1.95;
  color: var(--muted);
  padding-bottom: 20px;
  max-width: 530px;
}
.closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 55px 62px;
}
.closing h2 {
  font-size: 29px;
  margin-top: 13px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 27px;
  border-top: 1px solid var(--line);
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.footer-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.footer-brand span {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
footer > div {
  display: flex;
  gap: 19px;
}
.mobile-only {
  display: none;
}
.loading {
  padding: 30px;
  color: var(--muted);
}
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  width: min(760px, calc(100vw - 32px));
  max-height: 90dvh;
  box-shadow: 0 25px 100px #0004;
}
dialog::backdrop {
  background: #0b1b18a6;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: sticky;
  float: right;
  right: 17px;
  top: 17px;
  margin: 17px 17px 0 0;
  background: var(--paper);
  z-index: 2;
  font-size: 24px;
}
.dialog-body {
  padding: 40px;
}
.dialog-body h2 {
  font-size: 27px;
  margin: 13px 45px 14px 0;
}
.dialog-body .query-box {
  white-space: pre-wrap;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 5px;
  padding: 20px;
  font-size: 13px;
  line-height: 2;
  margin: 20px 0;
}
.dialog-body h3 {
  font-size: 14px;
  margin: 23px 0 10px;
}
.dialog-body ul {
  padding-left: 20px;
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}
.dialog-body p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}
.dialog-body .dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.dialog-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.detail-note {
  font-size: 11px !important;
  margin-top: 22px;
  padding: 13px;
  background: var(--wash);
  border-radius: 5px;
}
body.dialog-open {
  overflow: hidden;
}
#image-dialog {
  max-width: 95vw;
  width: fit-content;
  max-height: 95dvh;
  background: var(--bg);
  padding: 12px;
}
#image-dialog img {
  max-height: 82dvh;
  max-width: 85vw;
  width: auto;
  margin: auto;
}
#image-dialog .dialog-close {
  position: fixed;
  right: 24px;
  top: 24px;
  float: none;
  margin: 0;
}
#image-dialog p {
  font-size: 11px;
  text-align: center;
  margin: 10px 8px 2px;
  max-width: 80vw;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 7px;
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 80;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  padding: 20px;
  text-align: center;
}
.noscript a {
  text-decoration: underline;
}
@media (min-width: 1500px) {
  .hero {
    gap: 80px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-evidence {
    margin-left: 15px;
  }
}
@media (max-width: 1150px) {
  .topbar {
    gap: 20px;
    padding-inline: 28px;
  }
  .release-dot {
    display: none;
  }
  nav {
    gap: 20px;
  }
  .hero {
    gap: 20px;
  }
  .hero-evidence {
    height: 444px;
  }
  .paper-note {
    width: 207px;
    left: 15px;
  }
  .hero-phone {
    width: 184px;
    right: 15px;
  }
  .hero h1 {
    font-size: 41px;
  }
  .evidence-stamp {
    min-width: 206px;
  }
  .stats-strip > div {
    padding-inline: 17px;
    gap: 12px;
  }
  .stats-strip strong {
    font-size: 33px;
  }
  .stats-strip small {
    font-size: 8px;
  }
  .agent-panel {
    padding: 20px 17px;
  }
  .agent-body {
    grid-template-columns: 1fr 155px;
    gap: 10px;
    min-height: 350px;
  }
  .text-evidence {
    height: 340px;
    padding: 20px 12px;
  }
  .finding-grid {
    gap: 40px;
  }
  .overlay-content {
    grid-template-columns: 145px 1fr;
    gap: 20px;
  }
  .overlay-readout strong {
    font-size: 23px;
  }
  .domain-card {
    padding: 20px 18px;
  }
  .domain-card p {
    font-size: 9px;
  }
  .method-bottom {
    gap: 35px;
  }
}
@media (max-width: 850px) {
  .wrap {
    padding-inline: 26px;
  }
  .hero {
    padding-top: 48px;
    grid-template-columns: 1.1fr 1fr;
    min-height: 570px;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-context {
    font-size: 11px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 10px 13px;
    gap: 12px;
  }
  .hero-foot {
    font-size: 8px;
    gap: 8px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .hero-evidence {
    height: 390px;
  }
  .hero-phone {
    width: 151px;
    right: 6px;
    top: 38px;
  }
  .paper-note {
    width: 164px;
    padding: 18px 15px;
    top: 85px;
    left: 7px;
  }
  .paper-note strong {
    font-size: 19px;
  }
  .paper-note p {
    font-size: 10px;
  }
  .paper-note .text-link {
    font-size: 10px;
  }
  .evidence-stamp {
    min-width: 175px;
    right: 0;
    bottom: 0;
    padding: 12px;
    gap: 9px;
  }
  .evidence-stamp strong {
    font-size: 20px;
  }
  .evidence-stamp div > span {
    font-size: 8px;
  }
  .stamp-corner {
    display: none;
  }
  .orbit-label {
    font-size: 8px;
    left: 16px;
  }
  .stats-strip > div {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    padding-inline: 19px;
  }
  .stats-strip strong {
    font-size: 33px;
  }
  .stats-strip small {
    font-size: 8px;
  }
  .section {
    padding-block: 72px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading > p {
    font-size: 10px;
  }
  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .domain-card p {
    font-size: 11px;
  }
  .domain-card {
    padding: 21px 23px;
  }
  .domain-top {
    margin-bottom: 14px;
  }
  .domain-bottom {
    font-size: 10px;
  }
  .taxonomy-line {
    gap: 9px;
    font-size: 10px;
  }
  .taxonomy-label {
    margin-right: 4px;
  }
  .taxonomy-line .text-link {
    margin-left: 0;
  }
  .filters {
    flex-wrap: wrap;
  }
  .search-field {
    flex-basis: 100%;
  }
  .select-field {
    flex: 1;
  }
  .select-field select {
    width: 100%;
    max-width: none;
  }
  .case-tab {
    padding: 13px 10px;
    gap: 8px;
  }
  .case-tab small {
    display: none;
  }
  .case-tab strong {
    font-size: 10px;
  }
  .agent-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }
  .step-button {
    padding: 7px 4px;
    flex-direction: column;
    gap: 6px;
  }
  .step-button strong {
    font-size: 9px;
    line-height: 1.7;
  }
  .step-button small {
    display: none;
  }
  .step-detail {
    min-height: 90px;
    font-size: 10px;
  }
  .phone-evidence {
    max-width: 175px;
    justify-self: center;
    width: 100%;
    margin-top: 10px;
  }
  .text-evidence {
    height: 386px;
  }
  .agent-panel {
    padding: 20px 16px;
  }
  .agent-heading {
    align-items: start;
    gap: 8px;
    flex-wrap: wrap;
  }
  .agent-heading .status {
    font-size: 8px;
  }
  .finding-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .finding-section h2 {
    font-size: 32px;
  }
  .finding-section p {
    font-size: 11px;
  }
  .overlay-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .overlay-shot {
    width: 134px;
    justify-self: center;
  }
  .overlay-readout > div {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
    padding-block: 6px;
  }
  .overlay-readout strong {
    font-size: 19px;
  }
  .overlay-readout p {
    margin-block: 12px;
  }
  .overlay-study {
    padding: 18px;
  }
  .dark-segmented button {
    font-size: 10px;
    padding-inline: 10px;
  }
  .overlay-readout > .mono {
    display: block;
  }
  .method-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .method-flow article {
    padding-right: 18px;
    margin-right: 18px;
  }
  .method-flow h3 {
    font-size: 15px;
  }
  .method-flow p {
    font-size: 10px;
  }
  footer {
    flex-wrap: wrap;
  }
  .closing h2 {
    font-size: 25px;
  }
  .workbench-header {
    padding: 22px;
  }
  .workbench-header h3 {
    font-size: 18px;
  }
  .trace-conclusion {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .trace-note {
    gap: 15px;
    font-size: 9px;
  }
}
@media (max-width: 620px) {
  html {
    scroll-padding-top: 82px;
  }
  .topbar {
    height: 64px;
    padding-inline: 18px;
    gap: 10px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .brand svg {
    width: 25px;
    height: 25px;
  }
  .version {
    font-size: 8px;
  }
  .nav-end {
    margin-left: auto;
    gap: 8px;
  }
  .nav-end .icon-button {
    width: 31px;
    height: 31px;
    font-size: 16px;
  }
  .mobile-menu {
    display: grid;
  }
  nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    background: var(--bg);
    padding: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 20px #0001;
    justify-content: space-around;
    gap: 8px;
  }
  nav.open {
    display: flex;
  }
  nav a {
    font-size: 11px;
  }
  .wrap {
    padding-inline: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 37px;
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.5;
    margin: 22px 0 18px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-context {
    max-width: 420px;
    font-size: 12px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 12px 17px;
    gap: 18px;
  }
  .hero-foot {
    margin-top: 23px;
    font-size: 8px;
    gap: 16px;
  }
  .hero-evidence {
    height: 370px;
    width: min(100%, 400px);
    justify-self: center;
    margin: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .orbit-label {
    top: 13px;
    left: 4px;
    font-size: 8px;
  }
  .hero-grid-lines {
    inset: 35px 0 10px;
  }
  .hero-phone {
    width: 148px;
    top: 35px;
    right: 22px;
  }
  .paper-note {
    width: 191px;
    top: 74px;
    left: 15px;
    padding: 19px;
  }
  .paper-note strong {
    font-size: 22px;
  }
  .evidence-stamp {
    bottom: 5px;
    right: 0;
  }
  .evidence-caption {
    left: 0;
    font-size: 7px;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    padding-block: 0;
    border-bottom: 0;
  }
  .stats-strip > div {
    flex-direction: row;
    gap: 19px;
    padding: 19px 12px;
    border-bottom: 1px solid var(--line);
  }
  .stats-strip > div:nth-child(even) {
    border-right: 0;
    padding-right: 0;
    padding-left: 17px;
  }
  .stats-strip > div:nth-child(odd) {
    padding-left: 0;
  }
  .stats-strip > div:last-child {
    border-bottom: 1px solid var(--line);
  }
  .stats-strip strong {
    font-size: 32px;
  }
  .stats-strip p {
    font-size: 10px;
  }
  .stats-strip small {
    font-size: 7px;
    white-space: normal;
    max-width: 120px;
  }
  .section {
    padding-block: 58px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
  }
  .section-heading h2 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
    margin-bottom: 9px;
  }
  .section-heading > p {
    font-size: 11px;
  }
  .results-toolbar {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    gap: 13px;
  }
  .segmented button {
    font-size: 11px;
    padding: 7px 13px;
  }
  .results-toolbar .micro {
    font-size: 9px;
  }
  .result-table table {
    min-width: 650px;
  }
  th {
    padding: 12px 15px;
    font-size: 10px;
  }
  td {
    padding: 18px 15px;
  }
  .task-result-title {
    font-size: 12px;
  }
  .cell-sub {
    max-width: 200px;
    font-size: 9px;
  }
  .status {
    font-size: 9px;
  }
  .result-footnote {
    font-size: 10px;
    gap: 7px;
  }
  .result-footnote a {
    font-size: 10px;
  }
  .domain-grid {
    gap: 8px;
  }
  .domain-card {
    padding: 17px 13px 13px;
  }
  .domain-top {
    margin-bottom: 14px;
  }
  .domain-card h3 {
    font-size: 13px;
  }
  .domain-card .domain-en {
    font-size: 7px;
  }
  .domain-card p {
    font-size: 9px;
    line-height: 1.9;
    min-height: 34px;
    margin: 10px 0;
  }
  .domain-top svg {
    width: 20px;
    height: 20px;
  }
  .domain-top strong {
    font-size: 21px;
  }
  .domain-top > span {
    font-size: 9px;
  }
  .domain-bottom {
    font-size: 8px;
  }
  .taxonomy-line {
    font-size: 10px;
    padding: 18px 0;
    gap: 8px;
  }
  .taxonomy-label {
    flex-basis: 100%;
    margin-bottom: 1px;
  }
  .taxonomy-line .text-link {
    font-size: 9px;
    margin-left: auto;
  }
  .catalog-head {
    padding: 18px 16px;
    gap: 10px;
  }
  .catalog-head > div {
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-head h3 {
    font-size: 16px;
  }
  .catalog-head .micro {
    font-size: 9px;
  }
  .catalog-head > .text-link {
    font-size: 10px;
  }
  .filters {
    padding: 0 16px 15px;
    gap: 8px;
  }
  .search-field {
    min-width: 100%;
  }
  .select-field select {
    font-size: 10px;
    padding-left: 8px;
    height: 38px;
  }
  .reset-button {
    font-size: 10px;
  }
  .catalog-notice {
    padding: 10px 16px;
    font-size: 9px;
    line-height: 1.9;
  }
  .task-list {
    grid-template-columns: 1fr;
  }
  .task-item {
    padding: 19px 16px;
  }
  .task-item:nth-child(odd) {
    border-right: 0;
  }
  .task-item h4 {
    font-size: 14px;
  }
  .task-item p {
    font-size: 11px;
    min-height: 0;
  }
  .pagination {
    padding: 16px;
    flex-wrap: wrap;
    gap: 13px;
  }
  .pagination > div {
    margin-left: auto;
    gap: 10px;
  }
  .pagination .micro {
    font-size: 9px;
  }
  .pagination .button {
    font-size: 10px;
    padding: 7px 9px;
  }
  .case-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .case-tab {
    padding: 12px;
  }
  .case-tab strong {
    font-size: 11px;
  }
  .case-tab > span {
    font-size: 10px;
  }
  .case-tab small {
    display: block;
    font-size: 8px;
  }
  .workbench-header {
    padding: 19px 16px;
    gap: 8px;
  }
  .workbench-header .eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .workbench-header h3 {
    font-size: 16px;
    max-width: 250px;
  }
  .workbench-header .button {
    font-size: 9px;
    min-height: 30px;
    padding: 6px 8px;
  }
  .workbench-header p {
    font-size: 10px;
  }
  .query-disclosure {
    padding-inline: 16px;
  }
  .query-disclosure .query {
    font-size: 11px;
    line-height: 1.9;
  }
  .trace-controls {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .trace-controls .micro {
    font-size: 8px;
  }
  .agent-columns {
    grid-template-columns: 1fr;
  }
  .agent-panel {
    padding: 21px 16px;
  }
  .agent-panel:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .agent-body {
    grid-template-columns: 1fr 148px;
    gap: 12px;
    min-height: 331px;
  }
  .steps {
    display: flex;
  }
  .step-button {
    flex-direction: row;
    gap: 7px;
    padding: 9px 7px;
  }
  .step-button strong {
    font-size: 10px;
  }
  .step-button .step-circle {
    width: 17px;
    height: 17px;
    font-size: 8px;
  }
  .step-detail {
    font-size: 10px;
    padding: 11px 7px 0;
    min-height: 0;
  }
  .step-observation {
    font-size: 8px;
  }
  .phone-evidence {
    margin: 0;
    max-width: none;
  }
  .text-evidence {
    height: 319px;
    padding: 20px 12px;
  }
  .text-evidence p {
    font-size: 11px;
  }
  .agent-heading {
    flex-wrap: nowrap;
    margin-bottom: 17px;
  }
  .agent-heading .status {
    font-size: 8px;
  }
  .agent-name {
    font-size: 14px;
  }
  .agent-outcome {
    margin-top: 20px;
  }
  .trace-conclusion {
    padding: 20px 16px;
  }
  .trace-conclusion p {
    font-size: 11px;
  }
  .trace-conclusion .limitation {
    font-size: 9px;
  }
  .trace-note {
    flex-direction: column;
    gap: 5px;
  }
  .finding-section {
    padding: 53px 0;
  }
  .finding-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .finding-section h2 {
    font-size: 33px;
    margin: 18px 0;
  }
  .finding-section p {
    font-size: 12px;
  }
  .finding-section .eyebrow {
    font-size: 8px;
  }
  .overlay-study {
    padding: 18px;
  }
  .overlay-content {
    grid-template-columns: 141px 1fr;
    gap: 18px;
  }
  .overlay-shot {
    width: 141px;
  }
  .overlay-readout > div {
    display: block;
    margin-right: 0;
    padding: 15px 0 10px;
  }
  .overlay-readout strong {
    font-size: 21px;
  }
  .overlay-readout p {
    font-size: 10px;
  }
  .overlay-readout .micro {
    font-size: 8px;
  }
  .method-flow {
    grid-template-columns: 1fr 1fr;
    margin-top: 25px;
  }
  .method-flow article {
    padding: 23px 16px 23px 0;
    margin-right: 15px;
  }
  .method-flow article:nth-child(even) {
    border-right: 0;
    margin-right: 0;
    padding-left: 6px;
  }
  .method-flow article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .method-flow h3 {
    font-size: 16px;
    margin: 12px 0 8px;
  }
  .method-flow p {
    font-size: 11px;
  }
  .method-bottom {
    margin-top: 30px;
  }
  .archive-card {
    padding: 23px;
  }
  .archive-card h3 {
    font-size: 20px;
  }
  .archive-numbers strong {
    font-size: 30px;
  }
  .method-details summary {
    font-size: 12px;
  }
  .method-details details p {
    font-size: 11px;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-block: 37px;
  }
  .closing .eyebrow {
    font-size: 9px;
  }
  .closing h2 {
    font-size: 25px;
  }
  .closing .button {
    font-size: 12px;
  }
  footer {
    padding-block: 25px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-brand {
    font-size: 14px;
  }
  .footer-brand span {
    font-size: 9px;
  }
  footer > p {
    font-size: 9px;
  }
  .mobile-only {
    display: block;
  }
  .dialog-body {
    padding: 27px 22px;
  }
  .dialog-body h2 {
    font-size: 23px;
  }
  .dialog-body .eyebrow {
    font-size: 8px;
  }
  .dialog-body .query-box {
    font-size: 12px;
    padding: 16px;
  }
  .detail-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dialog-body .button {
    font-size: 11px;
    gap: 10px;
  }
  .dialog-close {
    right: 12px;
    top: 12px;
    margin: 12px 12px 0 0;
  }
  .dialog-body .dialog-actions {
    flex-wrap: wrap;
  }
  .check-list {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .hero-phone,
  .paper-note,
  .evidence-stamp {
    transform: none;
  }
  .button:hover,
  .domain-card:hover {
    transform: none;
  }
}
@media print {
  .topbar,
  .hero-evidence,
  .filters,
  .pagination,
  .hero-actions,
  .case-tabs,
  .trace-controls,
  .finding-section,
  .closing,
  footer {
    display: none;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .section {
    padding: 24px 0;
  }
  .hero {
    display: block;
    padding: 0;
    min-height: 0;
  }
  body {
    background: white;
    color: black;
  }
  .task-item,
  .agent-panel {
    break-inside: avoid;
  }
  .task-list {
    display: block;
  }
  .phone-evidence {
    display: none;
  }
  .agent-body {
    display: block;
  }
  .steps {
    display: block;
  }
}

/* Reading density: keep evidence and task prose comfortably legible. */
.task-item p {
  font-size: 12px;
}
.task-item-id,
.tag {
  font-size: 10px;
}
.domain-card p {
  font-size: 11px;
}
.catalog-notice {
  font-size: 11px;
}
.step-detail,
.agent-outcome p {
  font-size: 12px;
}
.agent-outcome .micro {
  font-size: 10px;
}
.trace-note {
  font-size: 11px;
}
.trace-conclusion .limitation {
  font-size: 11px;
}
.method-flow p,
.archive-card > p,
.method-details details p {
  font-size: 12px;
}
@media (max-width: 620px) {
  .domain-card p {
    font-size: 10px;
  }
  .catalog-notice {
    font-size: 10px;
  }
  .step-detail,
  .agent-outcome p {
    font-size: 11px;
  }
  .trace-note,
  .trace-conclusion .limitation {
    font-size: 10px;
  }
}

.finding-grid > *,
.overlay-readout {
  min-width: 0;
}
@media (max-width: 620px) {
  .finding-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 360px) {
  .overlay-content {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
  }
  .overlay-shot {
    width: 112px;
  }
  .overlay-readout strong {
    font-size: 18px;
  }
  .overlay-readout strong small {
    font-size: 9px;
  }
  .agent-body {
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 8px;
  }
  .step-button {
    padding-inline: 3px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding-inline: 12px;
    gap: 12px;
  }
}
