html {
  overflow-x: hidden;
  scroll-padding-top: 96px;
}

.review-page {
  min-height: 100vh;
  box-sizing: border-box;
  padding-top: 76px;
  color: #24211d;
  background:
    linear-gradient(180deg, rgba(248, 246, 241, 0.72), rgba(255, 255, 255, 0.96) 360px),
    #fff;
}

.review-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 29, 25, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 29, 25, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000 0, transparent 78%);
}

.review-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  box-sizing: border-box;
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 0 max(24px, calc((100vw - 1440px) / 2 + 24px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(48, 43, 36, 0.08);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(14px);
}

.review-brand,
.review-actions a,
.review-topnav a {
  color: inherit;
  text-decoration: none;
}

.review-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.review-brand img {
  border-radius: 8px;
}

.review-brand span {
  display: grid;
  gap: 2px;
}

.review-brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.review-brand em {
  color: #6f675f;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.review-topnav {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(58, 52, 43, 0.06);
}

.review-topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 6px;
  padding: 0 14px;
  color: #6a6258;
  font-size: 13px;
  font-weight: 800;
}

.review-topnav a.is-active {
  color: #fff;
  background: #b8583a;
}

.review-topnav a.is-active:hover {
  background: #a94c31;
}

.review-topnav a.is-active:active {
  background: #9d432b;
}

.review-topnav a.is-active:focus-visible {
  outline: 0;
  box-shadow: inset 0 -2px 0 #fff;
}

.review-topnav a[aria-disabled="true"] {
  color: #9b9288;
}

.review-actions {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  justify-content: end;
  gap: 10px;
}

.review-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(48, 43, 36, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.review-actions a:hover,
.review-topnav a:hover {
  text-decoration: none;
}

.review-shell {
  width: min(1800px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 20px 0 44px;
}

.review-page.is-free-validation .review-shell,
.review-page.is-technical-spec .review-shell,
.review-page.is-training-replay .review-shell {
  width: min(1500px, calc(100% - 48px));
}

.review-page.is-technical-spec .review-hero,
.review-page.is-training-replay .review-hero {
  display: none;
}

.review-hero {
  display: block;
  margin-bottom: 18px;
}

.review-eyebrow {
  margin: 0 0 8px;
  color: #a65336;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.review-hero h1 {
  margin: 0;
  color: #211d19;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(34px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 500;
}

.review-hero p {
  max-width: 720px;
  margin-top: 8px;
  color: #6b6258;
  font-size: 15px;
  line-height: 1.7;
}

.review-page.is-free-validation.has-free-conversation .review-hero {
  display: none;
}

.review-board {
  --review-panel-height: clamp(620px, calc(100vh - 312px), 760px);
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "chats";
  align-items: stretch;
  gap: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.review-board[hidden],
.training-replay-board[hidden],
.free-validation-board[hidden],
.technical-spec-board[hidden] {
  display: none;
}

.training-replay-board {
  min-height: calc(100vh - 112px);
  background: transparent;
}

.training-wire-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 32px;
  align-items: end;
  margin: 0 0 10px;
}

.training-wire-title h2 {
  margin: 0;
  color: #211d19;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: 30px;
  line-height: 1.14;
  font-weight: 500;
}

.training-wire-title p:not(.review-eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: #5f5951;
  font-size: 14px;
  line-height: 1.5;
}

.training-version-wire {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}

.training-version-wire button,
.training-meta-wire button,
.training-dsw-tabs-wire button,
.training-dsw-actions-wire button,
.training-activity-rail-wire button {
  font: inherit;
}

.training-version-wire button {
  appearance: none;
  min-height: auto;
  border: 0;
  padding: 0;
  color: #5f5951;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.training-version-wire button:hover,
.training-version-wire button:focus-visible {
  border-color: transparent;
  color: #211d19;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.training-version-wire button:focus-visible {
  outline: 2px solid rgba(184, 88, 58, 0.55);
  outline-offset: 4px;
}

.training-version-wire button[data-current="true"] {
  color: #211d19;
}

.training-version-wire button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.training-meta-wire {
  display: grid;
  align-items: end;
}

.training-meta-wire div {
  display: grid;
  gap: 4px;
  justify-items: end;
  font-size: 13px;
}

.training-meta-wire strong,
.training-meta-wire span {
  display: block;
}

.training-wire-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.training-workspace-wire {
  min-width: 0;
  border: 1px solid rgba(48, 43, 36, 0.32);
  background: #1a1917;
  color: #d8d3ca;
}

.training-workspace-wire,
.training-workspace-wire * {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.training-workspace-wire:hover,
.training-workspace-wire *:hover,
.training-workspace-wire *:focus-within {
  scrollbar-color: #474747 transparent;
}

.training-workspace-wire:hover * {
  scrollbar-color: #474747 transparent;
}

.training-workspace-wire::-webkit-scrollbar,
.training-workspace-wire *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: transparent;
}

.training-workspace-wire::-webkit-scrollbar-track,
.training-workspace-wire *::-webkit-scrollbar-track {
  background: transparent;
}

.training-workspace-wire::-webkit-scrollbar-thumb,
.training-workspace-wire *::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background-color: transparent;
}

.training-workspace-wire:hover::-webkit-scrollbar-thumb,
.training-workspace-wire:hover *::-webkit-scrollbar-thumb,
.training-workspace-wire *:hover::-webkit-scrollbar-thumb,
.training-workspace-wire *:focus-within::-webkit-scrollbar-thumb {
  background-color: #474747;
}

.training-workspace-wire::-webkit-scrollbar-corner,
.training-workspace-wire *::-webkit-scrollbar-corner {
  background: transparent;
}

.training-dsw-top-wire {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 0;
  align-items: center;
  height: 38px;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  background: #151411;
}

.training-dsw-name-wire {
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.training-dsw-tabs-wire,
.training-dsw-actions-wire {
  display: flex;
  align-items: center;
  min-width: 0;
}

.training-dsw-tabs-wire {
  align-self: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.training-dsw-actions-wire button {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8d3ca;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.training-dsw-actions-wire .training-fullscreen-wire {
  display: grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  padding: 0;
}

.training-fullscreen-wire svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.training-fullscreen-wire [hidden] {
  display: none;
}

.training-workspace-tab-wire {
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 132px;
  max-width: 240px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  box-shadow: inset 0 -2px 0 transparent;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.training-workspace-tab-open-wire,
.training-workspace-tab-close-wire,
.training-workspace-tab-add-wire {
  -webkit-appearance: none;
  appearance: none;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d8d3ca;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.training-workspace-tab-open-wire {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden;
  padding: 0 8px 0 16px;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-workspace-tab-close-wire {
  display: grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  height: 100%;
  padding: 0 8px 0 4px;
  color: #837d74;
  font-size: 15px;
  line-height: 1;
  opacity: 0.64;
  transition: color 120ms ease, opacity 120ms ease;
}

.training-workspace-tab-close-wire:hover,
.training-workspace-tab-close-wire:focus-visible {
  background-color: transparent !important;
  color: #fff;
  opacity: 1;
  outline: none;
}

.training-workspace-tab-add-wire {
  width: 34px;
  min-width: 34px;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: #9f988f;
  font-size: 16px;
}

.training-workspace-tab-add-wire:hover,
.training-workspace-tab-add-wire:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.training-dsw-actions-wire button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.training-workspace-tab-wire.is-active {
  background: transparent;
  box-shadow: inset 0 -2px 0 rgba(237, 232, 222, 0.72);
}

.training-workspace-tab-wire:hover,
.training-workspace-tab-wire:focus-within {
  background: rgba(255, 255, 255, 0.09);
}

.training-workspace-tab-open-wire:hover,
.training-workspace-tab-open-wire:focus-visible {
  background-color: transparent !important;
  outline: none;
}

.training-workspace-tab-wire.is-active .training-workspace-tab-open-wire {
  color: #fff;
}

.training-dsw-actions-wire {
  gap: 4px;
  padding-right: 6px;
}

.training-dsw-body-wire {
  --training-activity-width: 44px;
  --training-file-width: 260px;
  --training-side-width: 280px;
  display: grid;
  grid-template-columns: var(--training-activity-width) var(--training-file-width) 6px minmax(520px, 1fr) 6px var(--training-side-width);
  height: clamp(600px, calc(100dvh - 245px), 820px);
  min-height: 0;
  overflow: hidden;
  transition: grid-template-columns 140ms ease;
}

.training-activity-rail-wire {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 0;
  padding: 8px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #11110f;
}

.training-activity-rail-wire button {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #817c74;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.training-activity-rail-wire button:hover,
.training-activity-rail-wire button:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: #ece8e0;
  outline: none;
}

.training-activity-rail-wire button[aria-pressed="true"] {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.training-activity-rail-wire svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.training-file-wire,
.training-terminal-wire,
.training-side-wire {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 0;
}

.training-resize-handle-wire {
  position: relative;
  z-index: 4;
  width: 6px;
  min-width: 6px;
  min-height: 0;
  border: 0;
  padding: 0;
  background: #141311;
  cursor: col-resize;
  touch-action: none;
  outline: none;
}

.training-resize-handle-wire::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 2px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  transition: width 100ms ease, background-color 100ms ease;
}

.training-resize-handle-wire:hover::after,
.training-resize-handle-wire:focus-visible::after,
.training-resize-handle-wire.is-resizing::after {
  width: 2px;
  background: #d4a138;
}

.training-resize-handle-wire:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(212, 161, 56, 0.5);
}

.training-dsw-body-wire.is-panel-resizing,
.training-dsw-body-wire.is-panel-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

.training-dsw-body-wire.is-panel-resizing {
  transition: none;
}

.training-file-wire {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 0;
  padding: 0;
}

.training-file-head-wire,
.training-file-path-wire,
.training-file-tree-wire ul,
.training-mini-progress-wire {
  margin: 0;
}

.training-file-head-wire {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.training-file-path-wire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.training-file-path-wire strong {
  font-size: 12px;
}

.training-file-tools-wire {
  display: flex;
  align-items: center;
  gap: 4px;
}

.training-file-tools-wire button {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #d8d3ca;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.training-file-tree-wire {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 14px;
}

.training-file-tree-wire ul {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
  color: #d8d3ca;
  font-size: 12px;
}

.training-file-tree-wire li {
  min-width: 0;
  display: grid;
  grid-template-columns: 10px 14px minmax(0, 1fr);
  align-items: center;
  column-gap: 6px;
  min-height: 20px;
  padding-left: calc(var(--depth, 0) * 14px);
}

.training-file-tree-wire li > span {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid rgba(216, 211, 202, 0.46);
}

.training-file-tree-wire li[data-kind="file"] > span {
  border: 0;
}

.training-file-tree-wire li > b {
  width: 12px;
  height: 9px;
  border: 1px solid rgba(216, 211, 202, 0.42);
  border-radius: 1px;
  box-sizing: border-box;
}

.training-file-tree-wire li[data-kind="folder"] > b {
  border-color: rgba(166, 83, 54, 0.62);
}

.training-file-tree-wire li[data-kind="file"] > b {
  height: 13px;
}

.training-mini-progress-wire {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  list-style: none;
  padding: 10px 14px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.training-mini-progress-wire li {
  position: relative;
  display: flex;
  justify-content: center;
}

.training-mini-progress-wire li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50%;
  width: 100%;
  height: 1px;
  background: rgba(216, 211, 202, 0.24);
  transform: translateY(-50%);
}

.training-mini-progress-wire li:first-child::before {
  content: none;
}

.training-mini-progress-wire span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(216, 211, 202, 0.34);
  border-radius: 999px;
  background: #1a1917;
  color: #d8d3ca;
  font-size: 10px;
  font-weight: 800;
}

.training-mini-progress-wire li.is-done span,
.training-mini-progress-wire li.is-current span {
  border-color: #d4a138;
  background: #d4a138;
  color: #171614;
}

.training-command-wire {
  display: grid;
  gap: 8px;
  min-height: 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.training-command-wire span {
  color: #a9a197;
  font-size: 12px;
  line-height: 1.5;
}

.training-command-wire code {
  display: block;
  max-height: 92px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  background: #11100f;
  color: #f4d280;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  line-height: 1.45;
  word-break: break-all;
}

.training-command-wire code[data-training-copy-command] {
  cursor: pointer;
}

.training-command-wire code[data-training-copy-command]:focus-visible {
  outline: 1px solid rgba(212, 161, 56, 0.72);
  outline-offset: 2px;
}

.training-terminal-wire {
  display: block;
  position: relative;
  background: #090909;
}

.training-session-wire {
  display: flex;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  background: #0d0d0d;
}

.training-session-tab-wire {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7px 24px;
  align-items: center;
  gap: 7px;
  width: 116px;
  height: 34px;
  padding-left: 12px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #151515;
  color: inherit;
}

.training-session-tab-wire strong {
  min-width: 0;
  overflow: hidden;
  color: #e8e5df;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-session-tab-wire [data-training-session-state] {
  width: 6px;
  height: 6px;
  overflow: hidden;
  border-radius: 50%;
  background: #4caf63;
  color: transparent;
  font-size: 0;
}

.training-session-tab-wire [data-training-session-state][data-status="running"] {
  background: #d4a138;
}

.training-session-tab-wire button {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 2px;
  padding: 0;
  background: transparent;
  color: #9a958d;
  font: inherit;
  font-size: 14px;
  line-height: 1;
}

.training-session-tab-wire button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.training-terminal-screen {
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 12px 10px;
  background: #090909;
}

.training-terminal-screen.is-fallback {
  padding: 12px 10px;
  overflow: auto;
  color: #f0eee8;
  font-family: Consolas, "SFMono-Regular", "Cascadia Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.training-terminal-screen .xterm {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0;
}

.training-terminal-screen .xterm-helper-textarea {
  min-width: 0;
  min-height: 0;
  resize: none;
}

.training-terminal-screen .xterm-viewport,
.training-terminal-screen .xterm-screen {
  background: transparent !important;
}

.training-terminal-screen .xterm-viewport::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: transparent;
}

.training-terminal-screen .xterm-viewport::-webkit-scrollbar-track {
  background: transparent;
}

.training-terminal-screen .xterm-viewport::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
}

.training-terminal-screen .xterm-viewport:hover::-webkit-scrollbar-thumb,
.training-workspace-wire:hover .training-terminal-screen .xterm-viewport::-webkit-scrollbar-thumb,
.training-terminal-screen .xterm-viewport:focus-within::-webkit-scrollbar-thumb {
  background: #474747;
}

.training-terminal-screen .xterm-viewport::-webkit-scrollbar-corner {
  background: transparent;
}

.training-terminal-screen .xterm-scrollable-element > .scrollbar.vertical {
  width: 6px !important;
  opacity: 0;
  transition: opacity 120ms linear;
}

.training-terminal-screen:hover .xterm-scrollable-element > .scrollbar.vertical,
.training-terminal-screen:focus-within .xterm-scrollable-element > .scrollbar.vertical {
  opacity: 1;
}

.training-terminal-screen .xterm-scrollable-element > .scrollbar.vertical > .slider {
  width: 6px !important;
  border-radius: 999px;
  background: #474747 !important;
}

.training-side-wire {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-right: 0;
  padding: 0;
  background: #242321;
  animation: training-drawer-in 140ms ease-out;
}

.training-side-wire > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin: 0;
  padding: 0 14px;
  color: #f2eee6;
  font-size: 16px;
  font-weight: 900;
}

.training-side-wire section {
  min-height: 0;
  overflow: auto;
  border: 0;
  padding: 0 14px 20px;
  background: transparent;
}

.training-side-wire div {
  color: #a9a197;
  font-size: 12px;
}

.training-resource-panel-wire {
  display: grid;
  align-content: start;
  gap: 20px;
}

.training-resource-row-wire {
  display: grid;
  gap: 10px;
  margin: 0;
}

.training-resource-row-wire header,
.training-resource-value-wire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
}

.training-resource-row-wire span,
.training-resource-value-wire span {
  color: #f1eee8;
  font-size: 13px;
  font-weight: 600;
}

.training-resource-row-wire strong,
.training-resource-value-wire strong {
  color: #55d66a;
  font-size: 13px;
  font-weight: 700;
}

.training-resource-row-wire svg {
  width: 100%;
  height: 86px;
  display: block;
  overflow: visible;
}

.training-resource-grid-wire line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-dasharray: 3 4;
}

.training-resource-row-wire polygon {
  fill: rgba(0, 172, 190, 0.34);
  stroke: none;
}

.training-resource-row-wire polyline {
  fill: none;
  stroke: #00abc0;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.training-resource-value-wire {
  margin-top: -6px;
}

.training-file-station-wire,
.training-side-wire p {
  color: #a9a197;
  font-size: 12px;
}

.training-file-station-wire {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-file-station-wire li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.training-file-station-wire span {
  color: #d4a138;
  font-size: 10px;
  font-weight: 800;
}

.training-file-tools-wire button:disabled,
.training-dsw-actions-wire button:disabled,
.training-dsw-tabs-wire button:disabled {
  cursor: default;
  opacity: 0.48;
}

.training-workspace-wire {
  overflow-x: auto;
}

.training-workspace-wire:fullscreen,
.training-workspace-wire.is-workspace-fullscreen {
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr);
  width: 100vw;
  max-width: none;
  height: 100dvh;
  min-width: 0;
  border: 0;
  overflow: hidden;
  background: #1a1917;
}

.training-workspace-wire:fullscreen .training-dsw-body-wire,
.training-workspace-wire.is-workspace-fullscreen .training-dsw-body-wire {
  height: 100%;
  min-height: 0;
}

.training-workspace-wire::backdrop {
  background: #11110f;
}

.training-dsw-tabs-wire {
  overflow-x: auto;
  overflow-y: hidden;
}

.training-workspace-tab-wire.is-pending .training-workspace-tab-open-wire {
  color: #8d877f;
}

.training-dsw-body-wire.is-side-closed {
  grid-template-columns: var(--training-activity-width) var(--training-file-width) 6px minmax(520px, 1fr);
}

.training-dsw-body-wire.is-side-closed [data-training-resize-panel="side"] {
  display: none;
}

.training-dsw-body-wire.is-file-closed {
  grid-template-columns: var(--training-activity-width) minmax(520px, 1fr) 6px var(--training-side-width);
}

.training-dsw-body-wire.is-file-closed.is-side-closed {
  grid-template-columns: var(--training-activity-width) minmax(520px, 1fr);
}

.training-dsw-body-wire.is-file-closed [data-training-resize-panel="file"] {
  display: none;
}

.training-file-wire[hidden],
.training-side-wire[hidden],
.training-terminal-wire [data-training-view][hidden] {
  display: none !important;
}

.training-file-tree-wire {
  padding: 6px 7px;
}

.training-file-tree-wire ul {
  gap: 0;
}

.training-file-tree-wire li {
  display: block;
  min-height: 0;
  padding-left: 0;
}

.training-file-tree-wire li > button {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  display: grid;
  grid-template-columns: 10px 14px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  border: 0;
  border-radius: 2px;
  padding: 3px 5px 3px calc(5px + var(--depth, 0) * 14px);
  background: transparent;
  color: #d8d3ca;
  font: inherit;
  text-align: left;
}

.training-file-tree-wire li > button:hover,
.training-file-tree-wire li > button:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.training-file-caret {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid rgba(216, 211, 202, 0.5);
  transform-origin: 2px 4px;
}

.training-file-tree-wire li[data-kind="file"] .training-file-caret {
  border: 0;
}

.training-file-tree-wire li[data-expanded="true"] .training-file-caret {
  transform: rotate(90deg);
}

.training-file-icon {
  width: 14px;
  height: 16px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
  color: rgba(216, 211, 202, 0.72);
}

.training-file-icon.is-folder {
  height: 14px;
  color: rgba(216, 161, 66, 0.9);
}

.training-file-icon.is-archive {
  color: #e6bc70;
}

.training-file-icon.is-code {
  color: #9cc8e8;
}

.training-file-icon.is-data {
  color: #81c19e;
}

.training-file-icon.is-report {
  color: #c7b3df;
}

.training-file-icon.is-binary {
  color: #d5c7af;
}

.training-file-label {
  font-size: 12px;
}

.training-file-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-file-tree-wire small {
  color: #827b72;
  font-size: 9px;
  white-space: nowrap;
}

.training-file-tree-wire li.is-new .training-file-label {
  color: #f0cf7b;
}

.training-command-wire {
  align-content: start;
  gap: 7px;
  min-height: 118px;
  padding: 10px 12px 11px;
}

.training-command-head-wire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.training-command-head-wire strong {
  min-width: 0;
  overflow: hidden;
  color: #f0ece4;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-command-head-wire span {
  color: #d4a138;
  font-size: 10px;
  white-space: nowrap;
}

.training-command-wire code {
  max-height: 82px;
  padding: 7px;
  font-size: 10px;
  line-height: 1.4;
}

.training-command-wire p {
  margin: 0;
  color: #b6aea3;
  font-size: 11px;
  line-height: 1.5;
}

.training-command-wire > button {
  justify-self: start;
  min-height: 28px;
  border: 1px solid rgba(212, 161, 56, 0.44);
  border-radius: 3px;
  padding: 0 9px;
  background: transparent;
  color: #f0cf7b;
  font-size: 10px;
  font-weight: 700;
}

.training-terminal-view-wire {
  display: grid;
  grid-template-rows: 40px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
}

.training-session-wire {
  gap: 9px;
  padding: 0 10px 0 14px;
}

.training-session-wire strong {
  color: #f0eee8;
  font-size: 12px;
}

.training-session-wire > span {
  color: #62c179;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.training-session-wire > button {
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  margin-left: auto;
  border: 0;
  border-radius: 2px;
  padding: 0;
  background: transparent;
  color: #aaa49b;
  font-size: 16px;
  line-height: 1;
}

.training-session-wire > button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.training-launcher-wire,
.training-editor-wire {
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  background: #11110f;
  color: #ded9d0;
}

.training-launcher-wire {
  overflow: auto;
  padding: 22px 24px 28px;
}

.training-launcher-wire > header,
.training-source-manifest-wire > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.training-launcher-wire > header div {
  display: grid;
  gap: 3px;
}

.training-launcher-wire > header span,
.training-source-manifest-wire > header span {
  color: #827b72;
  font-size: 9px;
  font-weight: 800;
}

.training-launcher-wire > header strong {
  color: #fff;
  font-size: 15px;
}

.training-launcher-actions-wire {
  display: flex;
  align-items: center;
  gap: 10px;
}

.training-launcher-actions-wire > b {
  color: #62c179;
  font-size: 10px;
}

.training-launcher-actions-wire button {
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #e6e1d9;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
}

.training-launcher-actions-wire button:hover,
.training-launcher-actions-wire button:focus-visible {
  border-color: rgba(212, 161, 56, 0.72);
  background: rgba(212, 161, 56, 0.12);
  color: #fff3cc;
  outline: none;
}

.training-launcher-grid-wire {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.training-launcher-wire h3 {
  margin: 0 0 12px;
  color: #f2eee6;
  font-size: 12px;
}

.training-launcher-wire dl {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.training-launcher-wire dt {
  color: #827b72;
}

.training-launcher-wire dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #d8d3ca;
}

.training-source-manifest-wire {
  padding-top: 20px;
}

.training-source-manifest-wire ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-source-manifest-wire li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 96px;
  gap: 12px;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10px;
}

.training-source-manifest-wire li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-source-manifest-wire li b {
  color: #aaa49b;
  font-weight: 500;
}

.training-source-manifest-wire li code {
  color: #f0cf7b;
  font-family: Consolas, monospace;
}

.training-editor-wire {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.training-editor-wire > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
}

.training-editor-wire > header div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.training-editor-wire > header strong {
  color: #f2eee6;
  font-size: 12px;
}

.training-editor-wire > header span {
  min-width: 0;
  overflow: hidden;
  color: #827b72;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-editor-wire > header small {
  color: #62c179;
  font-size: 9px;
  font-weight: 800;
}

.training-editor-scroll-wire {
  min-height: 0;
  overflow: auto;
  background: #0d0d0c;
}

.training-editor-scroll-wire pre {
  min-width: max-content;
  margin: 0;
  padding: 14px 0 22px;
  color: #dedbd4;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
}

.training-editor-token-key {
  color: #f0cf7b;
  font-style: normal;
}

.training-editor-token-punct {
  color: #9cc7d1;
  font-style: normal;
}

.training-editor-token-literal {
  color: #d8a7d8;
  font-style: normal;
}

.training-editor-scroll-wire code > span {
  display: block;
  min-height: 17px;
  padding: 0 18px 0 58px;
  white-space: pre;
}

.training-editor-scroll-wire code > span::before {
  content: attr(data-line);
  display: inline-block;
  width: 36px;
  margin-left: -48px;
  margin-right: 12px;
  color: #58544f;
  text-align: right;
  user-select: none;
}

.training-editor-scroll-wire code > span:hover {
  background: rgba(255, 255, 255, 0.035);
}

.training-editor-document-wire {
  max-width: 880px;
  padding: 26px 34px 40px;
  color: #ded9d0;
  font-size: 13px;
  line-height: 1.72;
}

.training-editor-document-wire h1,
.training-editor-document-wire h2,
.training-editor-document-wire h3 {
  margin: 1.25em 0 0.55em;
  color: #f5f0e7;
  line-height: 1.25;
}

.training-editor-document-wire h1 {
  font-size: 21px;
}

.training-editor-document-wire h2 {
  font-size: 17px;
}

.training-editor-document-wire h3 {
  font-size: 14px;
}

.training-editor-document-wire h1:first-child,
.training-editor-document-wire h2:first-child,
.training-editor-document-wire h3:first-child {
  margin-top: 0;
}

.training-editor-document-wire p,
.training-editor-document-wire ul,
.training-editor-document-wire blockquote {
  margin: 0 0 1em;
}

.training-editor-document-wire ul {
  padding-left: 20px;
}

.training-editor-document-wire code {
  border-radius: 2px;
  padding: 1px 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #f0cf7b;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 0.92em;
}

.training-editor-document-wire blockquote {
  border-left: 2px solid #d4a138;
  padding-left: 12px;
  color: #aaa49b;
}

.training-editor-document-wire hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 22px 0;
}

.training-editor-table-wire {
  min-width: max-content;
  padding: 16px 20px 28px;
}

.training-editor-table-wire table {
  border-collapse: collapse;
  color: #dcd7ce;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 11px;
}

.training-editor-table-wire th,
.training-editor-table-wire td {
  max-width: 340px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.training-editor-table-wire th {
  position: sticky;
  top: 0;
  background: #20201d;
  color: #f0cf7b;
  font-weight: 700;
}

.training-editor-table-wire tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.training-editor-empty-wire {
  color: #827b72;
  font-size: 12px;
}

.training-editor-wire > footer {
  min-height: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 14px;
  color: #827b72;
  font-size: 9px;
}

.training-side-wire > header strong {
  color: #f2eee6;
  font-size: 16px;
}

.training-side-wire > header button {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  border: 0;
  border-radius: 2px;
  padding: 0;
  background: transparent;
  color: #b8b2a8;
  font-size: 20px;
  line-height: 1;
}

.training-side-wire > header button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.training-resource-panel-wire {
  gap: 18px;
}

.training-resource-row-wire {
  gap: 8px;
}

.training-resource-row-wire svg {
  height: 76px;
}

.training-resource-value-wire {
  margin-top: 0;
  min-height: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.training-resource-value-wire.is-unavailable strong {
  color: #8d877f;
}

.training-file-station-path-wire {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.training-file-station-path-wire span,
.training-file-station-summary-wire span {
  color: #918b83;
  font-size: 10px;
}

.training-file-station-path-wire code {
  overflow-wrap: anywhere;
  color: #d9d5ce;
  font-family: Consolas, "SFMono-Regular", "Cascadia Mono", monospace;
  font-size: 10px;
  line-height: 1.45;
}

.training-file-station-search-wire {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.training-file-station-search-wire > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.training-file-station-search-wire input {
  width: 100%;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  padding: 0 10px;
  background: #1d1c1b;
  color: #eeeae3;
  font: inherit;
  font-size: 11px;
  outline: none;
}

.training-file-station-search-wire input:focus {
  border-color: rgba(212, 161, 56, 0.72);
}

.training-file-station-search-wire input::placeholder {
  color: #77716a;
}

.training-file-station-summary-wire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.training-file-station-summary-wire strong {
  color: #d7d2ca;
  font-size: 10px;
  font-weight: 500;
}

.training-file-station-wire {
  gap: 0;
}

.training-file-station-wire li {
  display: block;
}

.training-file-station-wire li[hidden] {
  display: none;
}

.training-file-station-wire li > button {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto 20px;
  gap: 7px;
  align-items: center;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  padding: 6px 2px;
  background: transparent;
  color: #d8d3ca;
  text-align: left;
}

.training-file-station-wire li > button:hover {
  background: rgba(255, 255, 255, 0.04);
}

.training-file-station-type-wire {
  color: #d4a138;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.training-file-station-copy-wire {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.training-file-station-copy-wire b {
  min-width: 0;
  overflow: hidden;
  color: #dedad3;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
}

.training-file-station-copy-wire small,
.training-file-station-size-wire {
  color: #817a72;
  font-size: 9px;
  line-height: 1.35;
}

.training-file-station-size-wire {
  white-space: nowrap;
}

.training-file-station-more-wire {
  color: #8b857d;
  font-size: 15px;
  text-align: center;
}

.training-file-station-empty-wire {
  margin: 20px 0 0;
  text-align: center;
}

@keyframes training-drawer-in {
  from {
    opacity: 0;
    transform: translateX(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1420px) {
  .training-dsw-body-wire.is-side-closed {
    grid-template-columns: var(--training-activity-width) var(--training-file-width) 6px minmax(520px, 1fr);
  }

  .training-dsw-body-wire.is-file-closed {
    grid-template-columns: var(--training-activity-width) minmax(520px, 1fr) 6px var(--training-side-width);
  }

  .training-dsw-body-wire.is-file-closed.is-side-closed {
    grid-template-columns: var(--training-activity-width) minmax(520px, 1fr);
  }

  .training-dsw-top-wire {
    grid-template-columns: 230px minmax(0, 1fr) auto;
  }

  .training-workspace-tab-open-wire {
    padding: 0 8px 0 14px;
  }

  .training-dsw-actions-wire button {
    padding: 0 7px;
  }
}

@media (max-width: 1180px) {
  .training-workspace-wire {
    min-width: 1134px;
  }
}

@media (max-height: 820px) {
  .training-wire-title h2 {
    font-size: 28px;
  }

  .training-wire-title p:not(.review-eyebrow) {
    margin-top: 5px;
    line-height: 1.35;
  }

}


.review-page .review-board i::after {
  content: none;
  animation: none;
}

.case-rail,
.review-chat-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.review-page .base-panel,
.review-page .optimized-panel {
  position: relative;
  z-index: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
  color: #24211d;
  animation: none;
  transform: none;
  backdrop-filter: none;
}

.case-rail {
  grid-area: rail;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-self: start;
  gap: 14px;
  height: var(--review-panel-height);
  min-height: 0;
  padding: 18px;
}

.review-chat-panel {
  border-left: 0;
}

.rail-heading h2,
.review-chat-panel h2 {
  margin: 0;
  color: #26211c;
  font-size: 20px;
  line-height: 1.25;
}

.rail-heading span,
.rail-note p {
  color: #6e655c;
  font-size: 13px;
  line-height: 1.75;
}

.case-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.case-card {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(48, 43, 36, 0.12);
  border-radius: 8px;
  padding: 9px;
  color: #2a251f;
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
  box-shadow: none;
}

.case-card:hover {
  border-color: rgba(22, 72, 63, 0.24);
  background: #fff;
}

.case-card.is-active {
  border-color: rgba(22, 72, 63, 0.5);
  background: #eef8f5;
  box-shadow: inset 3px 0 0 #16483f;
}

.case-card img {
  width: 70px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(48, 43, 36, 0.1);
  background: #f5f1e8;
}

.case-card span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.case-card strong {
  font-size: 13px;
  line-height: 1.35;
}

.case-card em {
  color: #71675d;
  font-size: 11px;
  font-style: normal;
}

.case-card b {
  width: fit-content;
  border-radius: 4px;
  padding: 2px 7px;
  color: #a65336;
  background: #fff1e9;
  font-size: 11px;
  line-height: 1.3;
}

.rail-note {
  border-top: 1px solid rgba(48, 43, 36, 0.1);
  padding-top: 14px;
}

.rail-note strong {
  display: block;
  margin-bottom: 6px;
  color: #16483f;
  font-size: 13px;
}

.review-chat-grid {
  grid-area: chats;
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "baseline optimized";
  gap: 16px 18px;
}

.review-chat-baseline {
  grid-area: baseline;
}

.review-chat-optimized {
  grid-area: optimized;
}

.comparison-tour {
  --comparison-tour-accent: #b45c3e;
  position: absolute;
  z-index: 24;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.comparison-tour[hidden] {
  display: none;
}

.comparison-tour-ring {
  position: absolute;
  box-sizing: border-box;
  border: 4px solid var(--comparison-tour-accent);
  border-radius: 47% 53% 45% 55% / 52% 46% 54% 48%;
  pointer-events: none;
  transform: rotate(-0.8deg);
}

.comparison-tour-ring[hidden] {
  display: none;
}

.comparison-tour-ring::after {
  position: absolute;
  inset: -7px -5px -6px -7px;
  border: 1px solid rgba(180, 92, 62, 0.48);
  border-radius: 52% 48% 54% 46% / 45% 55% 47% 53%;
  content: "";
  transform: rotate(1.5deg);
}

.comparison-tour-bubble {
  position: absolute;
  width: 340px;
  box-sizing: border-box;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px 15px;
  color: #2b211d;
  background: #f4e2d8;
  box-shadow: 0 4px 8px rgba(94, 55, 37, 0.18);
  pointer-events: auto;
  outline: none;
}

.comparison-tour-bubble::before {
  position: absolute;
  top: var(--tour-tail-top, 46px);
  width: 15px;
  height: 15px;
  border: 0;
  background: #f4e2d8;
  content: "";
  transform: rotate(45deg);
}

.comparison-tour[data-step="baseline"] .comparison-tour-bubble::before {
  left: -8px;
}

.comparison-tour[data-step="optimized"] .comparison-tour-bubble::before {
  right: -8px;
}

.comparison-tour[data-step="conclusion"] .comparison-tour-bubble::before {
  display: none;
}

.comparison-tour-bubble > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.comparison-tour-bubble > header span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0 8px;
  color: #fff;
  background: var(--comparison-tour-accent);
  font-size: 11px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.comparison-tour-bubble > header button {
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  padding: 0 5px;
  color: #6a4d40;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.comparison-tour-bubble > header button:hover {
  color: #3c2a22;
  background: rgba(180, 92, 62, 0.1);
}

.comparison-tour-bubble h3 {
  margin: 12px 0 8px;
  color: #2b211d;
  font-size: 17px;
  line-height: 1.35;
  text-wrap: balance;
}

.comparison-tour-bubble ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-tour-bubble li {
  position: relative;
  padding-left: 15px;
  color: #4f3b32;
  font-size: 13px;
  line-height: 1.55;
}

.comparison-tour-bubble li::before {
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  background: var(--comparison-tour-accent);
  content: "";
}

.comparison-tour-bubble p {
  margin: 0;
  color: #4f3b32;
  font-size: 13px;
  line-height: 1.62;
}

.comparison-tour-bubble > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.comparison-tour-bubble > footer button {
  min-width: 72px;
  min-height: 34px;
  border: 1px solid rgba(123, 58, 34, 0.22);
  border-radius: 999px;
  padding: 0 13px;
  color: #4b342a;
  background: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
}

.comparison-tour-bubble > footer button[hidden] {
  display: none;
}

.comparison-tour-bubble > footer [data-tour-next] {
  border-color: var(--comparison-tour-accent);
  color: #fff;
  background: var(--comparison-tour-accent);
}

.comparison-tour-bubble > footer button:hover {
  background: #fff;
}

.comparison-tour-bubble > footer [data-tour-next]:hover {
  border-color: #91442e;
  background: #91442e;
}

.comparison-tour-bubble button:hover {
  transform: none;
}

.comparison-tour-bubble button:focus-visible {
  outline: 3px solid rgba(220, 137, 104, 0.48);
  outline-offset: 2px;
}

.review-chat-panel {
  height: var(--review-panel-height);
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(250px, 1fr) auto;
  gap: 12px;
  padding: 0;
}

.review-chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-chat-stream {
  position: relative;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  max-height: none;
  border: 1px solid rgba(48, 43, 36, 0.08);
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.review-chat-empty {
  align-self: center;
  justify-self: center;
  width: min(86%, 360px);
  border: 0;
  padding: 0;
  color: rgba(106, 98, 88, 0.52);
  background: transparent;
  text-align: center;
  pointer-events: none;
}

.review-chat-empty:empty {
  display: none;
}

.review-chat-empty strong,
.review-chat-empty span {
  display: block;
}

.review-chat-empty strong {
  margin-bottom: 5px;
  color: rgba(49, 43, 37, 0.42);
  font-size: 13px;
  font-weight: 900;
}

.review-chat-empty span {
  color: rgba(106, 98, 88, 0.48);
  font-size: 12px;
  line-height: 1.7;
}

.review-chat-message {
  border-radius: 0;
  padding: 0;
}

.review-chat-message span {
  display: block;
  margin-bottom: 7px;
  color: #8b7f73;
  font-size: 12px;
  font-weight: 900;
}

.review-chat-message p {
  white-space: pre-line;
  color: #312b25;
  font-size: 14.5px;
  line-height: 1.82;
  margin: 0;
}

.review-user-message {
  justify-self: end;
  width: min(78%, 620px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.review-user-message span {
  display: none;
  color: #5f564d;
  text-align: right;
}

.review-user-stack {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.material-preview-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.material-preview-trigger:focus-visible {
  outline: 3px solid rgba(22, 72, 63, 0.34);
  outline-offset: 3px;
}

.review-user-attachment-preview {
  display: inline-grid;
  justify-items: end;
  gap: 5px;
  filter: drop-shadow(0 12px 24px rgba(50, 44, 35, 0.1));
}

.review-user-attachment-preview img {
  width: 118px;
  height: 86px;
  border: 3px solid #fffdfa;
  border-radius: 16px;
  object-fit: cover;
  object-position: top;
  background: #f7f4ed;
  box-shadow:
    0 1px 0 rgba(48, 43, 36, 0.08),
    0 10px 22px rgba(50, 44, 35, 0.12);
}

.review-user-attachment-preview strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(48, 43, 36, 0.12);
  border-radius: 999px;
  padding: 0 9px;
  color: #5f564d;
  background: rgba(255, 253, 250, 0.94);
  box-shadow: 0 6px 14px rgba(50, 44, 35, 0.08);
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-2px);
}

.review-user-text {
  max-width: 100%;
  border-radius: 24px 24px 8px 24px;
  padding: 13px 16px;
  color: #2d2924;
  background: #f3f2ef;
  box-shadow:
    0 1px 0 rgba(48, 43, 36, 0.04),
    0 8px 20px rgba(50, 44, 35, 0.04);
}

.review-assistant-message {
  position: relative;
  justify-self: start;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 2px 0;
  background: transparent;
}

.review-assistant-message::before {
  content: none;
  display: none;
}

.review-assistant-message span {
  display: none;
}

.review-assistant-message p {
  width: min(100%, 760px);
  border: 0;
  border-radius: 0;
  padding: 3px 0;
  background: transparent;
}

.review-chat-optimized .review-assistant-message {
  background: transparent;
}

.review-chat-optimized .review-assistant-message p {
  border-color: transparent;
  background: transparent;
}

.review-assistant-message.is-streaming p::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.15em;
  margin-left: 3px;
  border-radius: 999px;
  background: #16483f;
  vertical-align: -0.18em;
  animation: review-caret 900ms steps(2, start) infinite;
}

.review-chat-attachment,
.review-attachment-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.review-chat-attachment {
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.review-chat-attachment img,
.review-attachment-chip img {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(48, 43, 36, 0.12);
}

.review-chat-attachment strong,
.review-attachment-chip span {
  color: #16483f;
  font-size: 12px;
  font-weight: 900;
}

.review-chat-composer {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(48, 43, 36, 0.14);
  border-radius: 28px;
  padding: 14px;
  background: #fff;
  box-shadow:
    0 18px 42px rgba(50, 44, 35, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.review-board[data-review-state="invalid"] .review-chat-composer {
  border-color: rgba(189, 104, 73, 0.32);
}

.case-picker-popover[hidden] {
  display: none;
}

.case-picker-popover {
  position: absolute;
  left: 12px;
  bottom: 58px;
  z-index: 40;
  width: min(420px, calc(100% - 24px));
  max-height: 430px;
  overflow: auto;
  border: 1px solid rgba(48, 43, 36, 0.14);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 28px 70px rgba(48, 43, 36, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.case-picker-head {
  padding: 8px 10px 10px;
}

.case-picker-head strong,
.case-picker-head span {
  display: block;
}

.case-picker-head strong {
  color: #24211d;
  font-size: 14px;
}

.case-picker-head span {
  margin-top: 4px;
  color: #7d746a;
  font-size: 12px;
  line-height: 1.5;
}

.case-picker-list {
  display: grid;
  gap: 6px;
}

.case-picker-card {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 8px;
  color: #2a251f;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-picker-card:hover {
  background: #f3f1ec;
}

.case-picker-card.is-active {
  background: transparent;
  box-shadow: none;
}

.case-picker-card.is-active::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(32, 33, 31, 0.58);
  border-radius: inherit;
  opacity: 0.24;
  pointer-events: none;
  content: "";
  animation: case-picker-current 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes case-picker-current {
  0%,
  100% {
    opacity: 0.22;
  }

  50% {
    opacity: 0.72;
  }
}

.case-picker-card img {
  width: 58px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(48, 43, 36, 0.1);
  background: #f7f4ed;
}

.case-picker-card span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.case-picker-card strong {
  color: #24211d;
  font-size: 13px;
  line-height: 1.35;
}

.case-picker-card em {
  color: #7d746a;
  font-size: 12px;
  font-style: normal;
}

.case-picker-card small {
  display: none;
  color: #66625c;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.case-picker-card.is-active small {
  display: inline;
}

.case-picker-card b {
  padding: 0;
  color: #68645e;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .case-picker-card.is-active::after {
    opacity: 0.58;
    animation: none;
  }
}

.composer-attachment-row {
  display: flex;
  min-width: 0;
}

.composer-attachment-row.is-empty {
  display: none;
}

.review-chat-composer .review-attachment-chip {
  position: relative;
  width: 118px;
  min-height: 0;
  display: block;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.review-chat-composer .material-preview-trigger {
  display: block;
  width: 118px;
  border-radius: 15px;
}

.review-chat-composer .review-attachment-chip::before {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(246, 242, 235, 0.72), rgba(255, 253, 250, 0.94), rgba(246, 242, 235, 0.72)),
    #f6f2eb;
  background-size: 220% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(48, 43, 36, 0.08),
    0 8px 18px rgba(50, 44, 35, 0.08);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.review-chat-composer .review-attachment-chip img {
  display: block;
  width: 118px;
  height: 88px;
  border-radius: 15px;
  border: 0;
  object-fit: cover;
  object-position: top;
  background: #f6f2eb;
  box-shadow:
    inset 0 0 0 1px rgba(48, 43, 36, 0.08),
    0 8px 18px rgba(50, 44, 35, 0.08);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.composer-attachment-row.is-loading .review-attachment-chip::before {
  opacity: 1;
  animation: review-attachment-loading 1.05s ease-in-out infinite;
}

.composer-attachment-row.is-loading .review-attachment-chip img {
  opacity: 0;
  transform: scale(0.985);
}

.composer-attachment-row.is-loading .attachment-remove {
  opacity: 0;
  pointer-events: none;
}

.composer-attachment-row.is-loaded .review-attachment-chip img {
  opacity: 1;
  transform: scale(1);
}

.review-chat-composer .attachment-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0;
  color: #fff;
  background: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  z-index: 2;
}

.review-chat-composer .attachment-remove::before,
.review-chat-composer .attachment-remove::after {
  width: 10px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  grid-area: 1 / 1;
}

.review-chat-composer .attachment-remove::before {
  transform: rotate(45deg);
}

.review-chat-composer .attachment-remove::after {
  transform: rotate(-45deg);
}

.review-chat-composer .attachment-remove:hover {
  background: #000;
  transform: translateY(-1px);
}

.review-chat-composer .review-attachment-chip span {
  display: none;
}

.review-chat-composer textarea {
  min-height: 74px;
  resize: none;
  border: 0;
  padding: 2px 2px 0;
  color: #312b25;
  background: transparent;
  box-shadow: none;
  outline: none;
  font-size: 14px;
  line-height: 1.72;
}

.composer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.composer-tool,
.composer-model-picker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(48, 43, 36, 0.12);
  color: #6e655c;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.composer-tool {
  position: relative;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0;
  line-height: 0;
}

.composer-tool::before,
.composer-tool::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.6px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.composer-tool::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.composer-tool:disabled {
  opacity: 0.42;
  cursor: default;
}

.composer-model-picker {
  margin-left: auto;
  min-height: 32px;
  border-color: transparent;
  border-radius: 999px;
  padding: 0 8px 0 10px;
  color: #5f574f;
  background: transparent;
  cursor: default;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  opacity: 0.96;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.composer-model-picker::after {
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.64;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.composer-model-picker:hover {
  color: #302b25;
  background: rgba(48, 43, 36, 0.06);
}

.review-chat-composer [data-run-comparison] {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-left: 0;
  width: 42px;
  min-width: 42px;
  height: 42px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  padding: 0;
  color: transparent;
  background-color: #111;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 19V5' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M5.75 11.25L12 5L18.25 11.25' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  border-color: #111;
  font-size: 0;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.review-chat-composer [data-run-comparison]::before,
.review-chat-composer [data-run-comparison]::after {
  content: none;
}

.review-chat-composer [data-run-comparison]:not(:disabled):hover {
  background-color: #000;
  border-color: #000;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.review-chat-composer [data-run-comparison]:disabled {
  cursor: default;
  opacity: 0.38;
  background-color: #111;
  border-color: #9b9288;
  box-shadow: none;
  transform: none;
}

.review-board[data-review-state="generating"] .review-chat-composer [data-run-comparison] {
  opacity: 1;
  background-color: #111;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' y='7' width='10' height='10' rx='2.4'/%3E%3C/svg%3E");
  border-color: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.free-validation-board {
  --review-panel-height: clamp(560px, calc(100dvh - 104px), 760px);
  width: min(100%, 1500px);
  margin: 0 auto;
}

.free-chat-panel {
  height: var(--review-panel-height);
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

.case-picker-card.without-attachment {
  grid-template-columns: minmax(0, 1fr) auto;
}

@media (min-width: 981px) {
  html.is-free-validation {
    height: 100%;
    overflow: hidden;
  }

  body.review-page.is-free-validation {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  body.review-page.is-free-validation .review-shell {
    height: calc(100dvh - 76px);
    min-height: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 20px 0 16px;
    overflow: hidden;
  }

  body.review-page.is-free-validation.has-free-conversation .review-shell {
    grid-template-rows: minmax(0, 1fr);
  }

  body.review-page.is-free-validation .free-validation-board,
  body.review-page.is-free-validation .free-chat-panel,
  body.review-page.is-free-validation .free-chat-surface {
    min-height: 0;
  }

  body.review-page.is-free-validation .free-validation-board,
  body.review-page.is-free-validation .free-chat-panel {
    height: 100%;
  }

  body.review-page.is-free-validation .free-chat-surface {
    overflow: hidden;
  }

  body.review-page.is-free-validation .free-chat-stream {
    overscroll-behavior: contain;
  }
}

.free-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
}

.free-chat-header h2 {
  margin: 0;
  color: #26211c;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.free-chat-subtitle {
  max-width: min(58vw, 620px);
  margin: 0;
  color: #6a6258;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.free-chat-surface {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.free-chat-stream {
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 0;
  overflow: auto;
  border: 0;
  border-radius: 0;
  padding: 28px max(24px, calc((100% - 980px) / 2)) 18px;
  background: transparent;
  box-shadow: none;
}

.free-chat-welcome {
  align-self: start;
  justify-self: center;
  width: min(100%, 640px);
  margin-top: 62px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #8a8178;
  background: transparent;
  text-align: center;
}

.free-chat-welcome span {
  display: block;
}

.free-chat-welcome span {
  font-size: 13px;
  line-height: 1.7;
}

.free-chat-message {
  width: min(100%, 980px);
}

.free-chat-message .free-message-body {
  margin: 0;
  white-space: pre-line;
  color: #302b25;
  font-size: 15px;
  line-height: 1.82;
}

.free-user-message {
  display: grid;
  justify-items: end;
  gap: 8px;
  justify-self: end;
}

.free-user-message .free-message-body {
  display: inline-block;
  max-width: min(100%, 700px);
  border-radius: 22px;
  padding: 12px 16px;
  background: #f3f2ef;
}

.free-user-attachment-preview {
  display: inline-grid;
  justify-items: end;
  gap: 5px;
  filter: drop-shadow(0 12px 24px rgba(50, 44, 35, 0.1));
}

.free-user-attachment-preview img {
  display: block;
  width: 118px;
  height: 86px;
  border: 3px solid #fffdfa;
  border-radius: 16px;
  object-fit: cover;
  object-position: top;
  background: #f7f4ed;
  box-shadow:
    inset 0 0 0 1px rgba(48, 43, 36, 0.08),
    0 10px 24px rgba(50, 44, 35, 0.12);
}

.free-user-attachment-preview strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 999px;
  padding: 2px 10px;
  color: #302b25;
  background: rgba(255, 253, 250, 0.96);
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(50, 44, 35, 0.08);
}

.free-assistant-message {
  position: relative;
  justify-self: start;
  padding-left: 0;
}

.free-assistant-message .free-message-body {
  white-space: normal;
}

.free-user-message .free-message-body {
  white-space: pre-line;
}

.free-assistant-message.is-pending .free-message-body::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(19, 117, 109, 0.16), rgba(19, 117, 109, 0.8));
  animation: review-pending 900ms ease-in-out infinite;
}

.free-assistant-message.is-streaming .free-message-body::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.15em;
  margin-left: 3px;
  border-radius: 999px;
  background: #16483f;
  vertical-align: -0.18em;
  animation: review-caret 900ms steps(2, start) infinite;
}

.free-process-divider {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 860px);
  color: #8b8379;
  font-size: 13px;
  line-height: 1.4;
}

.free-process-divider::after {
  display: block;
  height: 1px;
  background: rgba(48, 43, 36, 0.12);
  content: "";
}

.free-process-divider span {
  white-space: nowrap;
}

.free-process-divider.is-error {
  color: #a45d43;
}

.free-assistant-message .free-message-body > * {
  margin-top: 0;
  margin-bottom: 12px;
}

.free-assistant-message .free-message-body > *:last-child {
  margin-bottom: 0;
}

.free-assistant-message .free-message-body h1,
.free-assistant-message .free-message-body h2,
.free-assistant-message .free-message-body h3,
.free-assistant-message .free-message-body h4 {
  color: #27221e;
  font-weight: 750;
  line-height: 1.35;
}

.free-assistant-message .free-message-body h1 {
  font-size: 22px;
}

.free-assistant-message .free-message-body h2 {
  font-size: 19px;
}

.free-assistant-message .free-message-body h3,
.free-assistant-message .free-message-body h4 {
  font-size: 16px;
}

.free-assistant-message .free-message-body ul,
.free-assistant-message .free-message-body ol {
  padding-left: 1.35em;
}

.free-assistant-message .free-message-body li + li {
  margin-top: 4px;
}

.free-assistant-message .free-message-body code {
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 6px;
  padding: 1px 5px;
  background: #f6f3ed;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.free-assistant-message .free-message-body pre {
  overflow: auto;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 14px;
  padding: 14px;
  background: #f8f5ef;
}

.free-assistant-message .free-message-body pre code {
  border: 0;
  padding: 0;
  background: transparent;
}

.free-assistant-message .free-message-body blockquote {
  border-left: 3px solid #16483f;
  margin-left: 0;
  padding-left: 12px;
  color: #665f57;
}

.free-assistant-message .free-message-body a {
  color: #0d6f64;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.free-chat-composer {
  display: grid;
  grid-template-rows: minmax(100px, 1fr) 34px;
  gap: 8px;
  width: min(100% - 56px, 980px);
  min-height: 176px;
  height: 176px;
  box-sizing: border-box;
  margin: 0 auto 8px;
  border: 1px solid rgba(48, 43, 36, 0.14);
  border-radius: 16px;
  padding: 12px 14px 10px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(50, 44, 35, 0.05);
}

.free-chat-metrics {
  width: min(100% - 56px, 980px);
  min-height: 18px;
  box-sizing: border-box;
  margin: 0 auto 10px;
  color: #766e65;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  text-align: center;
}

.free-chat-metrics[hidden] {
  display: none;
}

.free-chat-metrics.is-running {
  color: #5f5750;
}

.free-chat-metrics.is-error {
  color: #9b4f35;
}

.free-file-input {
  display: none;
}

.free-chat-attachment-row {
  display: flex;
  min-width: 0;
}

.free-chat-attachment-row.is-empty {
  display: none;
}

.free-attachment-preview {
  position: relative;
  width: 118px;
  min-height: 0;
  display: block;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.free-attachment-preview img {
  display: block;
  width: 118px;
  height: 88px;
  border-radius: 15px;
  object-fit: cover;
  object-position: top;
  background: #f6f2eb;
  box-shadow:
    inset 0 0 0 1px rgba(48, 43, 36, 0.08),
    0 8px 18px rgba(50, 44, 35, 0.08);
}

.free-attachment-preview span {
  display: none;
}

.free-attachment-preview .attachment-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0;
  color: #fff;
  background: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  z-index: 2;
}

.free-attachment-preview .attachment-remove::before,
.free-attachment-preview .attachment-remove::after {
  width: 10px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  grid-area: 1 / 1;
}

.free-attachment-preview .attachment-remove::before {
  transform: rotate(45deg);
}

.free-attachment-preview .attachment-remove::after {
  transform: rotate(-45deg);
}

.free-attachment-preview .attachment-remove:hover {
  background: #000;
  transform: translateY(-1px);
}

.free-chat-composer:focus-within {
  border-color: rgba(48, 43, 36, 0.14);
  box-shadow: 0 4px 8px rgba(50, 44, 35, 0.05);
}

.free-chat-composer textarea {
  width: 100%;
  min-height: 100px;
  height: 100%;
  max-height: 112px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  resize: none;
  border: 0;
  padding: 2px 8px 0 2px;
  color: #312b25;
  background: transparent;
  box-shadow: none;
  outline: none;
  font-size: 15px;
  line-height: 1.62;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 67, 60, 0.28) transparent;
}

.free-chat-composer textarea::placeholder {
  color: #6f6962;
  opacity: 1;
}

.free-chat-composer textarea::-webkit-scrollbar {
  width: 6px;
}

.free-chat-composer textarea::-webkit-scrollbar-track {
  background: transparent;
}

.free-chat-composer textarea::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(74, 67, 60, 0.24);
}

.free-chat-composer textarea:focus {
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

.free-chat-composer textarea:disabled {
  color: #7b7268;
}

.free-chat-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.free-model-trigger {
  min-width: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  padding: 0 8px;
  color: #514b44;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.free-model-trigger:hover {
  color: #2d2925;
  background: #f3f1ed;
}

.free-model-trigger:active {
  background: #ebe8e2;
}

.free-model-trigger:focus-visible {
  outline: 2px solid #b8583a;
  outline-offset: 2px;
}

.free-model-trigger:disabled {
  opacity: 0.48;
  cursor: default;
}

.free-model-trigger-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.free-model-popover {
  position: fixed;
  inset: auto;
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  overflow: auto;
  margin: 0;
  border: 1px solid #d9d4cc;
  border-radius: 14px;
  padding: 8px;
  color: #2f2a25;
  background: #fff;
  box-shadow: 0 6px 8px rgba(40, 36, 29, 0.14);
}

.free-model-popover::backdrop {
  background: transparent;
}

.review-actions [data-review-guide-trigger] {
  border: 1px solid #e4e2dc;
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: #3f3d37;
  font-size: 13px;
  white-space: nowrap;
}
.review-actions [data-review-guide-trigger][hidden] { display: none; }

.free-connection-notice {
  margin: 0 auto 12px;
  max-width: 960px;
  padding: 8px 0;
  color: #65645f;
  font-size: 14px;
  line-height: 1.6;
}
.free-connection-notice a, .free-connection-notice button {
  margin-left: 8px;
  color: #364e48;
  background: none;
  border: 0;
  text-decoration: underline;
}
.free-model-empty { margin: 12px; color: #65645f; font-size: 14px; }
.free-model-default { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.free-model-default input { width: auto; }
.saved-connection-row { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid #e3e2dc; }
.saved-connection-row > input { min-width: 0; padding: 8px 10px; border: 1px solid #dddcd5; border-radius: 6px; }
.saved-connection-row > small { color: #686862; line-height: 1.5; }
.saved-connection-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.saved-connection-actions button { border: 0; padding: 4px 0; background: none; font-size: 13px; color: #364e48; text-decoration: underline; }
.saved-connection-actions button:disabled { color: #686862; text-decoration: none; cursor: default; }

.free-model-list {
  max-height: 40vh;
  overflow-y: auto;
  display: grid;
  gap: 2px;
}

.free-model-option {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  color: #302b26;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.free-model-option:hover {
  background: #f5f3ef;
}

.free-model-option:active,
.free-model-option.is-selected {
  background: #efede8;
}

.free-model-option:focus-visible {
  outline: 2px solid #b8583a;
  outline-offset: -2px;
}

.free-model-option-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.free-model-option-copy strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.free-model-option-copy small {
  overflow: hidden;
  color: #777067;
  font-size: 11.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.free-model-option-state {
  color: #7c756d;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.free-model-option-state[data-state="connected"] {
  color: #27664e;
}

.free-model-option-state[data-state="sleeping"] {
  color: #9a5a2f;
}

.free-model-option-state[data-state="invalid"],
.free-model-option-state[data-state="error"] {
  color: #a13f2f;
}

.free-model-option-check {
  opacity: 0;
  color: #2f2a25;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.free-model-option.is-selected .free-model-option-check {
  opacity: 1;
}

.free-model-connect-toggle {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  border: 0;
  border-top: 1px solid #e6e2dc;
  border-radius: 0 0 8px 8px;
  padding: 8px 10px 2px;
  color: #4c4640;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.free-model-connect-toggle:hover {
  color: #25211d;
  border-color: transparent;
  background: #f5f2ee;
  transform: none;
}

.free-model-connect-toggle:focus-visible {
  outline: 2px solid #b8583a;
  outline-offset: -2px;
}

.free-api-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  margin: auto;
  border: 0;
  border-radius: 14px;
  padding: 0;
  overflow: auto;
  color: #25211d;
  background: #fff;
  box-shadow: 0 22px 68px rgba(28, 24, 20, 0.24);
}

.free-api-dialog::backdrop {
  background: rgba(32, 28, 24, 0.42);
}

.free-api-dialog:focus {
  outline: none;
}

.free-model-connect-form {
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.free-model-connect-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.free-model-connect-heading h2,
.free-model-connect-heading p {
  margin: 0;
}

.free-model-connect-heading h2 {
  color: #211d19;
  font-size: 19px;
  line-height: 1.35;
}

.free-model-connect-heading p {
  margin-top: 5px;
  color: #675f57;
  font-size: 12.5px;
  line-height: 1.55;
}

.free-model-connect-heading > button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: #5f5850;
  background: transparent;
  font: inherit;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.free-model-connect-heading > button:hover,
.free-model-connect-heading > button:focus-visible {
  background: #f3f0ec;
  outline: none;
}

.free-model-field {
  display: grid;
  gap: 6px;
  color: #4e4841;
  font-size: 11.5px;
  font-weight: 700;
}

.free-model-field input {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  border: 1px solid #d9d4cd;
  border-radius: 8px;
  padding: 0 11px;
  color: #2f2a25;
  background: #fff;
  font: inherit;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}

.free-model-field input[readonly] {
  color: #6e675f;
  background: #f6f4f0;
}

.free-model-field input:focus-visible {
  border-color: #d9d4cd;
  outline: none;
  box-shadow: none;
}

.free-model-connection-status {
  margin: 0;
  color: #615a53;
  font-size: 11.5px;
  line-height: 1.5;
}

.free-model-connection-status[data-state="connected"] {
  color: #27664e;
}

.free-model-connection-status[data-state="sleeping"] {
  color: #8b4e28;
}

.free-model-connection-status[data-state="invalid"],
.free-model-connection-status[data-state="error"] {
  color: #9f392c;
}

.free-model-connect-actions {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.free-model-connect-actions a,
.free-model-connect-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6d0c8;
  border-radius: 8px;
  padding: 0 14px;
  color: #332d27;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.free-model-connect-actions [hidden] {
  display: none;
}

.free-model-connect-actions a,
.free-model-disconnect {
  border: 0;
  color: #5d5650;
  background: transparent;
}

.free-model-connect-actions a:hover,
.free-model-disconnect:hover {
  color: #24201c;
  background: #f3f1ed;
}

.free-model-connect-actions .free-model-connect-submit {
  border-color: #c96f4c;
  color: #fff;
  background: #c96f4c;
}

.free-model-connect-actions .free-model-connect-submit:hover {
  border-color: #b95f3e;
  color: #fff;
  background: #b95f3e;
}

.free-model-connect-actions button:not(.free-model-connect-submit):not(.free-model-disconnect):hover {
  border-color: #bdb5ab;
  color: #332d27;
  background: #f7f4f0;
  transform: none;
}

.free-model-popover button:active,
.free-api-dialog button:active {
  transform: none;
}

.free-model-connect-actions a:focus-visible,
.free-model-connect-actions button:focus-visible {
  outline: 2px solid #b8583a;
  outline-offset: 2px;
}

.free-model-connect-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.free-chat-actions .composer-model-picker {
  margin-left: auto;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

.free-chat-actions .composer-model-picker::after {
  display: none;
}

.free-chat-send {
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  box-sizing: border-box;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 0;
  background-color: #111;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 19V5' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M5.75 11.25L12 5L18.25 11.25' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px 17px;
  box-shadow: none;
}

.free-chat-send.is-generating {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' y='7' width='10' height='10' rx='2.4'/%3E%3C/svg%3E");
}

.free-chat-send:not(:disabled):hover {
  background-color: #000;
  border-color: #000;
  box-shadow: none;
  transform: translateY(-1px);
}

.free-chat-send:disabled {
  opacity: 0.42;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.technical-spec-board {
  width: min(100%, 1120px);
  margin: 0 auto;
  color: #24211d;
}

.tech-research-hero {
  border-bottom: 1px solid rgba(48, 43, 36, 0.16);
  padding: clamp(54px, 8vw, 118px) 0 clamp(32px, 5vw, 64px);
}

.tech-research-hero h2 {
  max-width: 900px;
  margin: 0;
  color: #211d19;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

.tech-research-hero p:not(.review-eyebrow) {
  max-width: 820px;
  margin: 28px 0 0;
  color: #504942;
  font-size: 18px;
  line-height: 1.9;
}

.tech-hero-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(38px, 5vw, 66px);
  border-top: 1px solid rgba(48, 43, 36, 0.14);
  border-bottom: 1px solid rgba(48, 43, 36, 0.14);
}

.tech-hero-footer div {
  min-height: 128px;
  border-right: 1px solid rgba(48, 43, 36, 0.12);
  padding: 22px 24px 20px 0;
}

.tech-hero-footer div + div {
  padding-left: 24px;
}

.tech-hero-footer div:last-child {
  border-right: 0;
}

.tech-hero-footer span,
.tech-summary-grid span,
.tech-method-flow span,
.tech-param-overview span,
.tech-observation-panel span,
.tech-limits-grid span {
  color: #a45736;
  font-size: 12px;
  font-weight: 900;
}

.tech-hero-footer strong {
  display: block;
  margin-top: 20px;
  color: #211d19;
  font-size: 22px;
  line-height: 1.2;
}

.tech-hero-footer em {
  display: block;
  margin-top: 8px;
  color: #6a6258;
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
}

.tech-research-layout {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(34px, 5vw, 54px);
}

.tech-research-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 3px;
  color: #766e64;
  font-size: 13px;
}

.tech-research-toc strong {
  margin-bottom: 8px;
  color: #211d19;
  font-size: 14px;
}

.tech-research-toc a {
  border-radius: 6px;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
}

.tech-research-toc a:hover {
  color: #16483f;
  text-decoration: none;
}

.tech-research-article {
  min-width: 0;
  display: grid;
  gap: 0;
}

.tech-paper-section {
  min-width: 0;
  border-bottom: 1px solid rgba(48, 43, 36, 0.12);
  padding: 10px 0 clamp(54px, 7vw, 94px);
  scroll-margin-top: 96px;
}

.tech-paper-section + .tech-paper-section {
  padding-top: clamp(54px, 7vw, 94px);
}

.tech-paper-section h3 {
  max-width: 780px;
  margin: 0;
  color: #211d19;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
}

.tech-paper-section > p:not(.review-eyebrow) {
  max-width: 820px;
  margin: 22px 0 0;
  color: #504942;
  font-size: 15px;
  line-height: 2;
}

.tech-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(48, 43, 36, 0.12);
  border-bottom: 1px solid rgba(48, 43, 36, 0.12);
}

.tech-summary-grid article {
  min-height: 176px;
  border-right: 1px solid rgba(48, 43, 36, 0.12);
  padding: 24px 26px 24px 0;
}

.tech-summary-grid article:nth-child(2n) {
  border-right: 0;
  padding-left: 26px;
}

.tech-summary-grid article:nth-child(n + 3) {
  border-top: 1px solid rgba(48, 43, 36, 0.12);
}

.tech-summary-grid strong,
.tech-method-flow strong,
.tech-param-overview strong,
.tech-observation-panel strong,
.tech-limits-grid strong {
  display: block;
  margin-top: 20px;
  color: #211d19;
  font-size: 24px;
  line-height: 1.2;
}

.tech-summary-grid p,
.tech-method-flow p,
.tech-param-overview p,
.tech-limits-grid p {
  margin: 10px 0 0;
  color: #6a6258;
  font-size: 13px;
  line-height: 1.75;
}

.tech-method-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid rgba(48, 43, 36, 0.12);
  border-bottom: 1px solid rgba(48, 43, 36, 0.12);
}

.tech-method-flow article {
  min-height: 188px;
  border-right: 1px solid rgba(48, 43, 36, 0.12);
  padding: 24px 20px 24px 0;
}

.tech-method-flow article + article {
  padding-left: 20px;
}

.tech-method-flow article:nth-child(3n) {
  border-right: 0;
}

.tech-method-flow article:nth-child(n + 4) {
  border-top: 1px solid rgba(48, 43, 36, 0.12);
}

.tech-method-flow article:nth-child(3n + 1) {
  padding-left: 0;
}

.tech-method-flow span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(22, 72, 63, 0.18);
  border-radius: 50%;
  color: #16483f;
  background: rgba(232, 246, 241, 0.8);
  font-size: 12px;
}

.tech-callout {
  margin-top: 30px;
  border-left: 3px solid #13756d;
  padding: 16px 0 16px 22px;
  color: #504942;
}

.tech-callout strong {
  display: block;
  color: #211d19;
  font-size: 15px;
  font-weight: 900;
}

.tech-callout p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #5e564e;
  font-size: 14px;
  line-height: 1.85;
}

.tech-param-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(48, 43, 36, 0.12);
  border-bottom: 1px solid rgba(48, 43, 36, 0.12);
}

.tech-param-overview article {
  min-height: 158px;
  border-right: 1px solid rgba(48, 43, 36, 0.1);
  padding: 22px 18px 22px 0;
}

.tech-param-overview article + article {
  padding-left: 18px;
}

.tech-param-overview article:last-child {
  border-right: 0;
}

.tech-param-overview strong {
  font-size: 21px;
}

.tech-research-table {
  max-width: 100%;
  min-width: 0;
  display: grid;
  margin-top: 34px;
  border-top: 1px solid rgba(48, 43, 36, 0.14);
  border-bottom: 1px solid rgba(48, 43, 36, 0.14);
  overflow-x: auto;
}

.tech-research-table div {
  min-width: 760px;
  display: grid;
  grid-template-columns: 0.7fr repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(48, 43, 36, 0.09);
}

.tech-research-table div:last-child {
  border-bottom: 0;
}

.tech-research-table span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: #585149;
  font-size: 13px;
  line-height: 1.55;
}

.tech-research-table div:first-child span {
  min-height: 46px;
  color: #211d19;
  background: rgba(245, 241, 233, 0.72);
  font-weight: 900;
}

.tech-research-table [role="rowheader"] {
  color: #211d19;
  font-weight: 900;
}

.tech-parameter-table div {
  min-width: 940px;
  grid-template-columns: 0.72fr 1.1fr 1.25fr 1fr;
}

.tech-vector-figure,
.tech-chart-card {
  max-width: 100%;
  min-width: 0;
  margin: 36px 0 0;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 70px rgba(48, 43, 36, 0.06);
}

.tech-vector-figure {
  overflow-x: auto;
}

.tech-vector-figure figcaption,
.tech-chart-card figcaption {
  margin-bottom: 16px;
  color: #211d19;
  font-size: 14px;
  font-weight: 900;
}

.tech-vector-matrix {
  min-width: 780px;
  display: grid;
  grid-template-columns: 76px repeat(6, minmax(86px, 1fr));
  border: 1px solid rgba(48, 43, 36, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.tech-vector-matrix strong,
.tech-vector-matrix b,
.tech-vector-matrix i,
.tech-vector-matrix > span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(48, 43, 36, 0.08);
  border-bottom: 1px solid rgba(48, 43, 36, 0.08);
  font-size: 12px;
  font-style: normal;
}

.tech-vector-matrix strong {
  color: #312b25;
  background: #f7f3eb;
  font-weight: 900;
}

.tech-vector-matrix b {
  justify-items: start;
  padding-left: 14px;
  color: #312b25;
  background: rgba(248, 246, 241, 0.7);
}

.tech-vector-matrix i {
  color: #173f38;
  background:
    linear-gradient(90deg, rgba(22, 72, 63, calc(var(--v) * 0.08)), rgba(19, 117, 109, calc(var(--v) * 0.22))),
    #fff;
  font-weight: 900;
}

.tech-vector-matrix > :nth-last-child(-n + 7) {
  border-bottom: 0;
}

.tech-vector-matrix > :nth-child(7n) {
  border-right: 0;
}

.tech-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 20px;
  margin-top: 32px;
}

.tech-observation-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 0.9fr;
  gap: 18px;
  margin-top: 34px;
}

.tech-observation-panel article {
  min-width: 0;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 20px;
  padding: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(19, 117, 109, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 64px rgba(48, 43, 36, 0.055);
}

.tech-observation-panel strong {
  margin-top: 10px;
  font-size: 19px;
}

.tech-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.tech-coverage-grid i {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 10px;
  color: #7a7066;
  background: rgba(247, 243, 235, 0.66);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.tech-coverage-grid i.is-on {
  border-color: rgba(19, 117, 109, 0.18);
  color: #16483f;
  background: rgba(232, 246, 241, 0.72);
}

.tech-error-bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.tech-error-bars label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #504942;
  font-size: 12px;
  font-weight: 900;
}

.tech-error-bars b {
  color: #16483f;
  font-weight: 900;
}

.tech-error-bars i {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(48, 43, 36, 0.08);
  overflow: hidden;
}

.tech-error-bars i::before,
.tech-error-bars i::after {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  content: "";
}

.tech-error-bars i::before {
  width: calc(var(--before) * 100%);
  background: rgba(189, 104, 73, 0.72);
}

.tech-error-bars i::after {
  width: calc(var(--after) * 100%);
  background: #13756d;
}

.tech-stability-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.tech-stability-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(48, 43, 36, 0.08);
  padding-bottom: 10px;
}

.tech-stability-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tech-stability-list dt {
  color: #5e564e;
  font-size: 13px;
  font-weight: 900;
}

.tech-stability-list dd {
  display: grid;
  width: 38px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  margin: 0;
  color: #16483f;
  background: rgba(232, 246, 241, 0.9);
  font-size: 14px;
  font-weight: 900;
}

.tech-line-chart {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.tech-line-chart line {
  stroke: rgba(48, 43, 36, 0.18);
  stroke-width: 1.4;
}

.tech-line-chart polyline {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-line-chart .baseline {
  stroke: #bd6849;
}

.tech-line-chart .optimized {
  stroke: #13756d;
}

.tech-line-chart .reference {
  stroke: #c69a43;
}

.chart-labels text {
  fill: #746b61;
  font-size: 12px;
  text-anchor: middle;
}

.tech-benchmark-table {
  display: grid;
  border: 1px solid rgba(48, 43, 36, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.tech-benchmark-table div {
  display: grid;
  grid-template-columns: minmax(120px, 1.4fr) repeat(3, minmax(58px, 0.6fr));
  align-items: center;
  border-bottom: 1px solid rgba(48, 43, 36, 0.08);
  color: #312b25;
  font-size: 13px;
}

.tech-benchmark-table div:last-child {
  border-bottom: 0;
}

.tech-benchmark-table span,
.tech-benchmark-table b {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
}

.tech-benchmark-table div:first-child {
  background: rgba(245, 241, 233, 0.72);
  font-weight: 900;
}

.tech-benchmark-table b {
  justify-content: center;
  border-left: 1px solid rgba(48, 43, 36, 0.08);
  color: #16483f;
  font-weight: 900;
}

.tech-benchmark-table div:not(:first-child) b:first-of-type {
  color: #bd6849;
}

.tech-benchmark-table div:not(:first-child) b:last-child {
  color: #a97d29;
}

.tech-case-list {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid rgba(48, 43, 36, 0.12);
}

.tech-case-list a {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(48, 43, 36, 0.1);
  padding: 18px 0;
  color: inherit;
  text-decoration: none;
}

.tech-case-list a:hover {
  color: #16483f;
  text-decoration: none;
}

.tech-case-list strong {
  color: #211d19;
  font-size: 17px;
}

.tech-case-list span {
  color: #6a6258;
  font-size: 14px;
}

.tech-case-list em {
  border: 1px solid rgba(48, 43, 36, 0.12);
  border-radius: 999px;
  padding: 7px 12px;
  color: #16483f;
  background: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.tech-limits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid rgba(48, 43, 36, 0.12);
  border-bottom: 1px solid rgba(48, 43, 36, 0.12);
}

.tech-limits-grid article {
  min-height: 168px;
  border-right: 1px solid rgba(48, 43, 36, 0.12);
  padding: 24px 20px 22px 0;
}

.tech-limits-grid article + article {
  padding-left: 20px;
}

.tech-limits-grid article:last-child {
  border-right: 0;
}

.tech-repro-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 42px;
  border: 1px solid rgba(48, 43, 36, 0.12);
  border-radius: 22px;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.74);
}

.tech-repro-strip strong {
  display: block;
  color: #211d19;
  font-size: 18px;
}

.tech-repro-strip p {
  max-width: 680px;
  margin: 8px 0 0;
  color: #5e564e;
  font-size: 14px;
  line-height: 1.75;
}

.tech-repro-strip nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.tech-repro-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(48, 43, 36, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  color: #16483f;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.tech-repro-strip a:hover {
  color: #fff;
  background: #16483f;
  text-decoration: none;
}

.material-lightbox {
  width: min(960px, calc(100vw - 64px));
  max-width: none;
  max-height: calc(100vh - 48px);
  border: 0;
  border-radius: 12px;
  padding: 0;
  color: #2d2924;
  background: transparent;
}

.material-lightbox::backdrop {
  background: rgba(22, 20, 17, 0.72);
  backdrop-filter: blur(3px);
}

.material-lightbox-panel {
  overflow: hidden;
  border: 1px solid rgba(48, 43, 36, 0.18);
  border-radius: 12px;
  background: #fffdfa;
}

.material-lightbox-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(48, 43, 36, 0.1);
  padding: 16px 18px;
}

.material-lightbox-panel > header p {
  margin: 0 0 4px;
  color: #8d4a2f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.material-lightbox-panel > header h2 {
  margin: 0;
  color: #211d19;
  font-size: 18px;
  line-height: 1.35;
}

.material-lightbox-panel > header button {
  min-height: 34px;
  border: 1px solid rgba(48, 43, 36, 0.14);
  border-radius: 8px;
  padding: 0 12px;
  color: #433c35;
  background: #f5f1ea;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.material-lightbox-panel > header button:hover {
  color: #fff;
  background: #16483f;
}

.material-lightbox figure {
  max-height: calc(100vh - 155px);
  overflow: auto;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px;
  background: #eee9e0;
}

.material-lightbox figure img {
  display: block;
  width: min(760px, 100%);
  height: auto;
  border: 1px solid rgba(48, 43, 36, 0.16);
  border-radius: 6px;
  background: #fff;
}

.material-lightbox figcaption {
  width: min(760px, 100%);
  color: #675f56;
  font-size: 12px;
  line-height: 1.6;
}

@keyframes review-pending {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

@keyframes review-attachment-loading {
  0% { background-position: 180% 0; }
  100% { background-position: -80% 0; }
}

@keyframes review-caret {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes comparison-tour-ring-in {
  from { opacity: 0; transform: rotate(-1.4deg) scale(0.9); }
  to { opacity: 1; transform: rotate(-1.4deg) scale(1); }
}

@keyframes comparison-tour-bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.comparison-tour.is-step-entering .comparison-tour-ring {
  animation: comparison-tour-ring-in 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.comparison-tour.is-step-entering .comparison-tour-bubble {
  animation: comparison-tour-bubble-in 210ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 1360px) {
  .review-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "chats";
  }

  .tech-method-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-method-flow article {
    border-right: 1px solid rgba(48, 43, 36, 0.12);
  }

  .tech-method-flow article:nth-child(2n) {
    border-right: 0;
  }

  .tech-method-flow article:nth-child(n + 3) {
    border-top: 1px solid rgba(48, 43, 36, 0.12);
  }

  .tech-method-flow article:nth-child(3n) {
    border-right: 1px solid rgba(48, 43, 36, 0.12);
  }

  .tech-method-flow article:nth-child(2n) {
    border-right: 0;
  }

  .tech-method-flow article:nth-child(2n + 1) {
    padding-left: 0;
  }

  .tech-param-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-param-overview article:nth-child(2n) {
    border-right: 0;
  }

  .tech-param-overview article:nth-child(n + 3) {
    border-top: 1px solid rgba(48, 43, 36, 0.12);
  }

  .tech-chart-grid,
  .tech-observation-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .review-topbar,
  .review-hero,
  .review-board {
    grid-template-columns: 1fr;
  }

  .review-topbar {
    width: 100%;
    padding: 12px 14px;
  }

  .review-topnav {
    grid-column: auto;
    justify-self: stretch;
    overflow-x: auto;
  }

  .review-actions {
    grid-column: auto;
    justify-self: start;
    justify-content: start;
  }

  .review-shell {
    width: min(100% - 28px, 720px);
    padding-top: 16px;
  }

  .review-page.is-free-validation .review-shell,
  .review-page.is-technical-spec .review-shell {
    width: min(100% - 28px, 720px);
  }

  .review-board {
    grid-template-areas:
      "chats";
  }

  .review-chat-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "baseline"
      "optimized";
  }

  .review-chat-panel {
    height: auto;
    min-height: 560px;
  }

  .free-validation-board {
    width: 100%;
  }

  .free-chat-panel {
    height: auto;
    min-height: 560px;
  }

  .free-chat-header {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .free-chat-header h2 {
    font-size: 20px;
  }

  .free-chat-subtitle {
    max-width: 100%;
    text-align: left;
  }

  .free-chat-surface {
    border-radius: 26px;
  }

  .free-chat-stream {
    padding: 22px 10px 10px;
  }

  .free-chat-composer {
    width: calc(100% - 20px);
    margin: 0 10px 10px;
    border-radius: 24px;
  }

  .technical-spec-board {
    width: 100%;
  }

  .tech-research-hero {
    padding-top: 36px;
  }

  .tech-research-layout {
    grid-template-columns: 1fr;
  }

  .tech-research-toc {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(48, 43, 36, 0.12);
    border-bottom: 1px solid rgba(48, 43, 36, 0.12);
    padding: 10px 0;
  }

  .tech-research-toc strong {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .tech-hero-footer,
  .tech-summary-grid,
  .tech-method-flow,
  .tech-param-overview,
  .tech-chart-grid,
  .tech-observation-panel,
  .tech-limits-grid {
    grid-template-columns: 1fr;
  }

  .tech-hero-footer div,
  .tech-hero-footer div + div,
  .tech-summary-grid article,
  .tech-summary-grid article:nth-child(2n),
  .tech-method-flow article,
  .tech-method-flow article + article,
  .tech-method-flow article:nth-child(2),
  .tech-method-flow article:nth-child(2n),
  .tech-method-flow article:nth-child(3n),
  .tech-param-overview article,
  .tech-param-overview article + article,
  .tech-param-overview article:nth-child(2n),
  .tech-limits-grid article,
  .tech-limits-grid article + article {
    border-right: 0;
    padding-left: 0;
  }

  .tech-hero-footer div + div,
  .tech-summary-grid article + article,
  .tech-method-flow article + article,
  .tech-param-overview article + article,
  .tech-limits-grid article + article {
    border-top: 1px solid rgba(48, 43, 36, 0.12);
  }

  .tech-case-list a,
  .tech-repro-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tech-repro-strip {
    padding: 24px;
  }

  .tech-repro-strip nav {
    justify-content: flex-start;
  }
}

/* Technical report visual refinement: reduce hard card/line segmentation. */
.review-page.is-technical-spec .review-shell {
  width: min(100% - 48px, 1280px);
  overflow: visible;
}

.review-page.is-technical-spec .technical-spec-board {
  --tech-toc-width: 130px;
  --tech-layout-gap: clamp(44px, 6vw, 82px);
  width: min(100%, 1180px);
  overflow: visible;
}

.review-page.is-technical-spec .tech-research-hero {
  position: relative;
  isolation: isolate;
  border-bottom: 0;
  padding: clamp(64px, 8vw, 124px) 0 clamp(40px, 6vw, 76px) calc(var(--tech-toc-width) + var(--tech-layout-gap));
}

.review-page.is-technical-spec .tech-research-hero::before {
  position: absolute;
  inset: 18px -8% auto 36%;
  z-index: -1;
  height: 260px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 40%, rgba(19, 117, 109, 0.14), transparent 52%),
    radial-gradient(circle at 68% 35%, rgba(196, 148, 70, 0.16), transparent 48%);
  filter: blur(34px);
  opacity: 0.9;
  content: "";
}

.review-page.is-technical-spec .tech-research-hero h2 {
  max-width: 980px;
  font-size: clamp(56px, 6.6vw, 92px);
}

.review-page.is-technical-spec .tech-research-hero p:not(.review-eyebrow) {
  max-width: 760px;
  color: #4d463f;
}

.review-page.is-technical-spec .tech-hero-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(34px, 5vw, 58px);
  border: 0;
}

.review-page.is-technical-spec .tech-hero-footer div {
  min-height: 0;
  border: 0;
  border-radius: 999px;
  padding: 10px 15px 11px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 36px rgba(50, 44, 35, 0.055);
}

.review-page.is-technical-spec .tech-hero-footer div + div {
  padding-left: 15px;
}

.review-page.is-technical-spec .tech-hero-footer span {
  display: none;
}

.review-page.is-technical-spec .tech-hero-footer strong {
  display: inline;
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.review-page.is-technical-spec .tech-hero-footer em {
  display: inline;
  margin: 0 0 0 7px;
  color: #766e64;
  font-size: 12px;
}

.review-page.is-technical-spec .tech-research-layout {
  grid-template-columns: var(--tech-toc-width) minmax(0, 1fr);
  gap: var(--tech-layout-gap);
  padding-top: 16px;
  overflow: visible;
}

.review-page.is-technical-spec .tech-research-toc {
  position: fixed;
  top: clamp(118px, 16vh, 172px);
  left: max(24px, calc((100vw - 1180px) / 2 - 10px));
  z-index: 18;
  align-self: start;
  box-sizing: border-box;
  width: 130px;
  min-width: 0;
  height: max-content;
  max-height: calc(100vh - 132px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 0 12px;
  gap: 2px;
  color: #8a8178;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.86), rgba(255, 253, 248, 0));
  backdrop-filter: blur(10px);
}

.review-page.is-technical-spec .tech-research-article {
  grid-column: 2;
}

.review-page.is-technical-spec .tech-research-toc strong {
  margin-bottom: 12px;
  color: #a45736;
  font-size: 12px;
  text-transform: uppercase;
}

.review-page.is-technical-spec .tech-research-toc a {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  border-radius: 999px;
  padding: 7px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-page.is-technical-spec .tech-paper-section {
  position: relative;
  border-bottom: 0;
  padding: 8px 0 clamp(70px, 8vw, 118px);
}

.review-page.is-technical-spec .tech-paper-section + .tech-paper-section {
  padding-top: 0;
}

.review-page.is-technical-spec .tech-paper-section h3 {
  max-width: 840px;
  letter-spacing: 0;
}

.review-page.is-technical-spec .tech-paper-section > p:not(.review-eyebrow) {
  max-width: 840px;
  color: #4f4841;
  font-size: 16px;
  line-height: 2.05;
}

.review-page.is-technical-spec .tech-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 46px;
  border: 0;
}

.review-page.is-technical-spec .tech-summary-grid article,
.review-page.is-technical-spec .tech-summary-grid article:nth-child(2n),
.review-page.is-technical-spec .tech-summary-grid article:nth-child(n + 3) {
  min-height: 0;
  border: 0;
  padding: 0;
}

.review-page.is-technical-spec .tech-summary-grid span,
.review-page.is-technical-spec .tech-param-overview span,
.review-page.is-technical-spec .tech-observation-panel span,
.review-page.is-technical-spec .tech-limits-grid span {
  color: #a45736;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.review-page.is-technical-spec .tech-summary-grid strong,
.review-page.is-technical-spec .tech-param-overview strong,
.review-page.is-technical-spec .tech-observation-panel strong,
.review-page.is-technical-spec .tech-limits-grid strong {
  margin-top: 13px;
  font-size: 20px;
}

.review-page.is-technical-spec .tech-method-flow {
  position: relative;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
  border: 0;
}

.review-page.is-technical-spec .tech-method-flow::before {
  position: absolute;
  top: 17px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(19, 117, 109, 0.05), rgba(19, 117, 109, 0.26), rgba(196, 148, 70, 0.18), rgba(19, 117, 109, 0.05));
  content: "";
}

.review-page.is-technical-spec .tech-method-flow article,
.review-page.is-technical-spec .tech-method-flow article + article,
.review-page.is-technical-spec .tech-method-flow article:nth-child(3n),
.review-page.is-technical-spec .tech-method-flow article:nth-child(n + 4) {
  position: relative;
  z-index: 1;
  min-height: 0;
  border: 0;
  padding: 0;
  outline: none;
  transition: transform 160ms ease;
}

.review-page.is-technical-spec .tech-method-flow article:hover,
.review-page.is-technical-spec .tech-method-flow article:focus-visible {
  transform: translateY(-3px);
}

.review-page.is-technical-spec .tech-method-flow article[data-tech-detail]::after {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 12;
  width: min(280px, 82vw);
  border: 1px solid rgba(48, 43, 36, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
  color: #f8f4ec;
  background: rgba(27, 24, 20, 0.94);
  box-shadow: 0 20px 48px rgba(27, 24, 20, 0.2);
  font-size: 12px;
  line-height: 1.65;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  content: attr(data-tech-detail);
}

.review-page.is-technical-spec .tech-method-flow article:hover::after,
.review-page.is-technical-spec .tech-method-flow article:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.review-page.is-technical-spec .tech-method-flow span {
  width: 34px;
  height: 34px;
  border: 0;
  background: #16483f;
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 72, 63, 0.18);
}

.review-page.is-technical-spec .tech-method-flow strong {
  margin-top: 18px;
  font-size: 17px;
}

.review-page.is-technical-spec .tech-method-flow p {
  font-size: 12px;
  line-height: 1.7;
}

.review-page.is-technical-spec .tech-callout {
  max-width: 820px;
  margin-top: 34px;
  border-left: 0;
  border-radius: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(232, 246, 241, 0.78), rgba(255, 250, 241, 0.76));
}

.review-page.is-technical-spec .tech-param-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  border: 0;
}

.review-page.is-technical-spec .tech-param-overview article,
.review-page.is-technical-spec .tech-param-overview article + article,
.review-page.is-technical-spec .tech-param-overview article:last-child {
  min-height: 0;
  border: 0;
  border-radius: 20px;
  padding: 18px 18px 17px;
  background: rgba(250, 247, 240, 0.68);
}

.review-page.is-technical-spec .tech-param-overview strong {
  font-size: 18px;
}

.review-page.is-technical-spec .tech-research-table {
  margin-top: 34px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 24px 70px rgba(50, 44, 35, 0.045);
}

.review-page.is-technical-spec .tech-research-table div {
  border-bottom-color: rgba(48, 43, 36, 0.06);
}

.review-page.is-technical-spec .tech-research-table div:first-child span {
  background: rgba(245, 241, 233, 0.58);
}

.review-page.is-technical-spec .tech-vector-figure,
.review-page.is-technical-spec .tech-chart-card {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.review-page.is-technical-spec .tech-vector-matrix,
.review-page.is-technical-spec .tech-benchmark-table {
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 64px rgba(50, 44, 35, 0.05);
}

.review-page.is-technical-spec .tech-vector-matrix strong,
.review-page.is-technical-spec .tech-vector-matrix b,
.review-page.is-technical-spec .tech-vector-matrix i,
.review-page.is-technical-spec .tech-vector-matrix > span {
  border-color: rgba(48, 43, 36, 0.055);
}

.review-page.is-technical-spec .tech-observation-panel {
  grid-template-columns: 0.9fr 1.3fr 0.9fr;
  gap: 24px;
  border-radius: 32px;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(176, 128, 82, 0.12), transparent 36%),
    radial-gradient(circle at 90% 18%, rgba(196, 148, 70, 0.12), transparent 34%),
    rgba(250, 247, 240, 0.72);
}

.review-page.is-technical-spec .tech-observation-panel article {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.review-page.is-technical-spec .tech-coverage-grid i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(48, 43, 36, 0.09);
  border-radius: 0;
  background: transparent;
  color: #5d554e;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.review-page.is-technical-spec .tech-coverage-grid i.is-on {
  color: #3e352e;
  background: transparent;
}

.review-page.is-technical-spec .tech-coverage-grid i::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(48, 43, 36, 0.18);
  box-shadow: 0 0 0 4px rgba(48, 43, 36, 0.04);
  flex: 0 0 auto;
}

.review-page.is-technical-spec .tech-coverage-grid i.is-on::before {
  background: #a75d3f;
  box-shadow: 0 0 0 4px rgba(167, 93, 63, 0.1);
}

.review-page.is-technical-spec .tech-coverage-grid i::after {
  content: "扩展";
  margin-left: auto;
  color: #a49a90;
  font-size: 11px;
  font-weight: 700;
}

.review-page.is-technical-spec .tech-coverage-grid i.is-on::after {
  content: "覆盖";
  color: #9a5a3e;
}

.review-page.is-technical-spec .tech-chart-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 36px;
  margin-top: 44px;
}

.review-page.is-technical-spec .tech-case-list {
  gap: 0;
  border-top: 0;
}

.review-page.is-technical-spec .tech-case-list a {
  border-bottom: 0;
  border-radius: 18px;
  padding: 17px 18px;
}

.review-page.is-technical-spec .tech-case-list a:nth-child(odd) {
  background: rgba(250, 247, 240, 0.58);
}

.review-page.is-technical-spec .tech-limits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border: 0;
}

.review-page.is-technical-spec .tech-limits-grid article,
.review-page.is-technical-spec .tech-limits-grid article + article,
.review-page.is-technical-spec .tech-limits-grid article:last-child {
  min-height: 0;
  border: 0;
  padding: 0;
}

.review-page.is-technical-spec .tech-repro-strip {
  border: 0;
  border-radius: 32px;
  background: #171512;
  color: #f8f4ec;
  box-shadow: 0 28px 72px rgba(17, 15, 12, 0.16);
}

.review-page.is-technical-spec .tech-repro-strip strong {
  color: #fffaf2;
}

.review-page.is-technical-spec .tech-repro-strip p {
  color: rgba(255, 250, 242, 0.74);
}

.review-page.is-technical-spec .tech-repro-strip a {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fffaf2;
  background: rgba(255, 255, 255, 0.08);
}

.review-page.is-technical-spec .tech-repro-strip a:hover {
  color: #171512;
  background: #fffaf2;
}

body.review-page {
  overflow-x: hidden;
}

.review-page.is-technical-spec .tech-param-overview article {
  position: relative;
  cursor: help;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.review-page.is-technical-spec .tech-param-overview article:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 54px rgba(50, 44, 35, 0.08);
}

.review-page.is-technical-spec .tech-param-overview article[data-tech-tip]::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(100% + 10px);
  z-index: 8;
  border: 1px solid rgba(48, 43, 36, 0.08);
  border-radius: 16px;
  padding: 10px 12px;
  color: #f8f4ec;
  background: rgba(27, 24, 20, 0.94);
  box-shadow: 0 18px 44px rgba(27, 24, 20, 0.2);
  font-size: 12px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  content: attr(data-tech-tip);
}

.review-page.is-technical-spec .tech-param-overview article[data-tech-tip]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.tech-pipeline-visual {
  margin: 36px 0 0;
}

.tech-pipeline-visual figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  color: #6a6258;
  font-size: 13px;
}

.tech-pipeline-visual figcaption span {
  color: #a45736;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tech-pipeline-visual figcaption strong {
  color: #211d19;
  font-size: 15px;
}

.tech-pipeline-canvas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(48, 43, 36, 0.12);
  border-bottom: 1px solid rgba(48, 43, 36, 0.12);
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.tech-pipeline-canvas::before {
  position: absolute;
  top: 36px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: linear-gradient(90deg, rgba(48, 43, 36, 0.08), rgba(22, 72, 63, 0.22), rgba(48, 43, 36, 0.08));
  content: "";
}

.tech-pipeline-node {
  position: relative;
  z-index: 1;
  min-height: 118px;
  border: 0;
  border-right: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 0;
  padding: 18px 18px 16px;
  background: transparent;
  transition: background 180ms ease, color 180ms ease;
  cursor: pointer;
  outline: none;
}

.tech-pipeline-node:last-child {
  border-right: 0;
}

.tech-pipeline-node::before {
  position: absolute;
  top: 23px;
  left: 18px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(22, 72, 63, 0.42);
  border-radius: 999px;
  background: #fbfaf7;
  content: "";
}

.tech-pipeline-node:hover,
.tech-pipeline-node:focus-visible {
  background: rgba(255, 255, 255, 0.54);
  box-shadow: none;
}

.tech-pipeline-node.is-active {
  background: linear-gradient(180deg, rgba(250, 248, 242, 0.94), rgba(244, 241, 232, 0.62));
  box-shadow: inset 3px 0 0 #16483f;
}

.tech-pipeline-node.is-active::before {
  border-color: #16483f;
  background: #16483f;
}

.tech-pipeline-node span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  margin-left: 18px;
  border-radius: 0;
  padding: 0;
  color: #a45736;
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tech-pipeline-node strong {
  display: block;
  margin-top: 18px;
  color: #211d19;
  font-size: 16px;
}

.tech-pipeline-node em {
  display: block;
  margin-top: 8px;
  color: #6a6258;
  font-size: 12px;
  font-style: normal;
  line-height: 1.7;
}

.tech-pipeline-note {
  margin: 12px 0 0;
  border-left: 2px solid rgba(22, 72, 63, 0.64);
  padding: 6px 0 6px 12px;
  color: #5f574e;
  font-size: 13px;
  line-height: 1.8;
}

.review-page.is-technical-spec .tech-dataset-figure {
  margin-top: 38px;
}

.review-page.is-technical-spec .tech-dataset-matrix {
  display: grid;
  grid-template-columns: 0.9fr repeat(5, minmax(132px, 1fr));
  min-width: 860px;
  border: 1px solid rgba(48, 43, 36, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
  overflow: hidden;
}

.review-page.is-technical-spec .tech-dataset-figure {
  overflow-x: auto;
  padding-bottom: 4px;
}

.review-page.is-technical-spec .tech-dataset-matrix > * {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-right: 1px solid rgba(48, 43, 36, 0.1);
  border-bottom: 1px solid rgba(48, 43, 36, 0.1);
  padding: 12px 14px;
  color: #5e564e;
  font-size: 12px;
  line-height: 1.55;
  transition: color 150ms ease;
}

.review-page.is-technical-spec .tech-dataset-matrix > *:nth-child(6n) {
  border-right: 0;
}

.review-page.is-technical-spec .tech-dataset-matrix > *:nth-last-child(-n + 6) {
  border-bottom: 0;
}

.review-page.is-technical-spec .tech-dataset-matrix strong,
.review-page.is-technical-spec .tech-dataset-matrix b {
  color: #211d19;
  font-weight: 900;
}

.review-page.is-technical-spec .tech-dataset-matrix > span:first-child {
  background: rgba(245, 241, 233, 0.82);
}

.review-page.is-technical-spec .tech-dataset-matrix strong {
  background: rgba(245, 241, 233, 0.82);
  color: #4d4036;
}

.review-page.is-technical-spec .tech-dataset-matrix b {
  background: rgba(245, 241, 233, 0.52);
  color: #3d352f;
}

.review-page.is-technical-spec .tech-dataset-matrix i {
  font-style: normal;
  background: rgba(255, 255, 255, 0.42);
}

.tech-chart-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tech-chart-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(48, 43, 36, 0.05);
}

.tech-chart-filter button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 10px;
  color: #6a6258;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.tech-chart-filter button::before {
  content: "";
  width: 14px;
  height: 7px;
  border-radius: 999px;
  background: #bd6849;
  opacity: 0.45;
  transition: opacity 160ms ease;
}

.tech-chart-filter button[data-tech-series="optimized"]::before {
  background: #13756d;
}

.tech-chart-filter button[data-tech-series="reference"]::before {
  background: #c69a43;
}

.tech-chart-filter button.is-active {
  color: #302b25;
  border-color: rgba(48, 43, 36, 0.12);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 8px 20px rgba(48, 43, 36, 0.06);
}

.tech-chart-filter button.is-active::before {
  opacity: 1;
}

.tech-chart-filter button:not(.is-active) {
  opacity: 0.56;
}

.tech-chart-filter button:not(.is-active):hover {
  color: #302b25;
  background: rgba(245, 241, 233, 0.72);
  opacity: 0.86;
}

.tech-line-chart [data-series] {
  transition: opacity 160ms ease, stroke-width 160ms ease, filter 160ms ease;
}

.tech-line-chart [data-series].is-muted {
  opacity: 0.1;
  stroke-width: 2;
  filter: grayscale(1);
}

.tech-reference-layout {
  display: block;
  margin-top: 36px;
}

.tech-reference-table {
  display: grid;
  border-top: 1px solid rgba(48, 43, 36, 0.12);
}

.tech-reference-table > div,
.tech-reference-table > a {
  display: grid;
  grid-template-columns: 82px 150px minmax(180px, 0.9fr) minmax(220px, 1fr) 22px;
  gap: 16px;
  align-items: center;
  box-sizing: border-box;
  min-height: 66px;
  border-bottom: 1px solid rgba(48, 43, 36, 0.1);
  color: inherit;
  text-decoration: none;
}

.tech-reference-table > div {
  min-height: 42px;
  color: #8a8178;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tech-reference-table > a {
  transition: background 160ms ease, color 160ms ease;
}

.tech-reference-table > a:hover {
  color: #16483f;
  background: rgba(250, 247, 240, 0.72);
  text-decoration: none;
}

.tech-reference-table > div::after {
  content: "";
}

.tech-reference-table > a::after {
  color: #9a9187;
  font-size: 13px;
  content: "↗";
}

.tech-reference-table > a:hover::after {
  color: #16483f;
}

.tech-reference-table span {
  color: #6a6258;
  font-size: 13px;
}

.tech-reference-table strong {
  color: #211d19;
  font-size: 15px;
}

.tech-reference-table em {
  color: #5e564e;
  font-size: 13px;
  font-style: normal;
  line-height: 1.65;
}

.review-page.is-technical-spec .tech-case-list a,
.review-page.is-technical-spec .tech-reference-table a,
.review-page.is-technical-spec .tech-research-toc a {
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.review-page.is-technical-spec .tech-case-list a:hover {
  transform: translateX(4px);
}

.review-page.is-technical-spec .tech-research-toc a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: #125346;
}

.review-page.is-technical-spec .tech-repro-strip {
  box-sizing: border-box;
  width: 100%;
  margin: clamp(56px, 8vw, 96px) 0 0;
  border-radius: 0;
  padding: clamp(52px, 7vw, 86px) clamp(28px, 6vw, 72px);
  background: #050505;
  box-shadow: none;
}

.review-page.is-technical-spec .tech-repro-strip a {
  min-height: 46px;
  padding: 0 20px;
}

@media (max-width: 1360px) {
  .review-page.is-technical-spec .tech-method-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28px;
  }

  .review-page.is-technical-spec .tech-method-flow::before {
    display: none;
  }
}

@media (max-width: 980px) {
  .review-page.is-technical-spec .tech-research-hero {
    padding-left: 0;
  }

  .review-page.is-technical-spec .tech-research-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .review-page.is-technical-spec .tech-research-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(48, 43, 36, 0.1);
    border-bottom: 1px solid rgba(48, 43, 36, 0.1);
    padding: 12px 0;
  }

  .review-page.is-technical-spec .tech-research-toc strong {
    flex-basis: 100%;
    margin-bottom: 2px;
  }

  .review-page.is-technical-spec .tech-research-toc a {
    min-height: 30px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.72);
  }
}

@media (max-width: 980px) {
  .review-page.is-technical-spec .review-shell {
    width: min(100% - 28px, 720px);
  }

  .review-page.is-technical-spec .tech-research-article {
    grid-column: auto;
  }

  .review-page.is-technical-spec .tech-research-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .review-page.is-technical-spec .tech-research-toc {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
    overflow-y: visible;
    border: 0;
    padding: 0;
  }

  .review-page.is-technical-spec .tech-hero-footer,
  .review-page.is-technical-spec .tech-summary-grid,
  .review-page.is-technical-spec .tech-param-overview,
  .review-page.is-technical-spec .tech-chart-grid,
  .review-page.is-technical-spec .tech-observation-panel,
  .review-page.is-technical-spec .tech-limits-grid {
    grid-template-columns: 1fr;
  }

  .review-page.is-technical-spec .tech-method-flow {
    grid-template-columns: 1fr 1fr;
  }

  .review-page.is-technical-spec .tech-summary-grid,
  .review-page.is-technical-spec .tech-limits-grid {
    gap: 22px;
  }

  .review-page.is-technical-spec .tech-observation-panel {
    padding: 22px;
  }

  .tech-pipeline-canvas {
    grid-template-columns: 1fr;
  }

  .tech-reference-table > div,
  .tech-reference-table > a {
    grid-template-columns: 70px minmax(90px, 0.45fr) minmax(160px, 0.8fr) minmax(180px, 1fr) 22px;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .review-page.is-technical-spec .technical-spec-board {
    --tech-toc-width: 118px;
    --tech-layout-gap: 34px;
  }

  .review-page.is-technical-spec .tech-research-layout {
    grid-template-columns: var(--tech-toc-width) minmax(0, 1fr);
    gap: var(--tech-layout-gap);
  }

  .review-page.is-technical-spec .tech-research-toc {
    position: fixed;
    top: 78px;
    left: 24px;
    width: 118px;
    display: grid;
    flex-wrap: initial;
    gap: 2px;
    border: 0;
    padding: 10px 0 12px;
    max-height: calc(100vh - 132px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .review-page.is-technical-spec .tech-research-toc strong {
    flex-basis: auto;
    margin-bottom: 10px;
  }

  .review-page.is-technical-spec .tech-research-toc a {
    min-height: 0;
    padding: 7px 0;
    background: transparent;
  }
}

@media (max-width: 720px) {
  .tech-reference-table {
    overflow-x: auto;
  }

  .tech-reference-table > div,
  .tech-reference-table > a {
    min-width: 680px;
  }

  .review-page.is-technical-spec .tech-repro-strip {
    grid-template-columns: 1fr;
  }
}

/* Technical note final desktop pass: editorial research layout. */
.review-page.is-technical-spec {
  overflow-x: hidden;
  background:
    linear-gradient(rgba(36, 31, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 31, 27, 0.035) 1px, transparent 1px),
    #fbfaf6;
  background-size: 32px 32px;
}

.review-page.is-technical-spec .review-hero {
  display: none !important;
}

.review-page.is-technical-spec .review-shell {
  box-sizing: border-box;
  width: min(100% - 88px, 1520px) !important;
  margin: 0 auto !important;
  padding: 118px 0 0 !important;
  overflow: visible !important;
}

.review-page.is-technical-spec .technical-spec-board {
  display: block !important;
}

.review-page.is-technical-spec .tech-research-hero {
  width: min(100%, 1260px) !important;
  margin: 0 auto 96px !important;
  padding: 70px 0 42px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 76% 12%, rgba(220, 232, 222, 0.82), transparent 25%),
    radial-gradient(circle at 98% 26%, rgba(246, 230, 196, 0.55), transparent 22%) !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-research-hero h2 {
  max-width: 1180px !important;
  margin: 0 !important;
  color: #211d19 !important;
  font-size: clamp(82px, 7vw, 132px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.045em !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.review-page.is-technical-spec .tech-research-hero > p:not(.review-eyebrow) {
  max-width: 760px !important;
  margin-top: 34px !important;
  color: #4b463f !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
}

.review-page.is-technical-spec .tech-hero-footer {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 48px !important;
  margin-top: 74px !important;
  padding: 32px 0 0 !important;
  border-top: 1px solid rgba(36, 31, 27, 0.14) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-hero-footer div {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.review-page.is-technical-spec .tech-hero-footer span,
.review-page.is-technical-spec .tech-hero-footer em {
  color: #766e64 !important;
}

.review-page.is-technical-spec .tech-hero-footer strong {
  color: #211d19 !important;
  font-size: 18px !important;
}

.review-page.is-technical-spec .tech-research-layout {
  width: min(100%, 1260px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 92px !important;
  align-items: start !important;
  overflow: visible !important;
}

.review-page.is-technical-spec .tech-research-toc {
  position: sticky !important;
  top: 96px !important;
  left: auto !important;
  align-self: start !important;
  box-sizing: border-box !important;
  width: 150px !important;
  max-width: 150px !important;
  max-height: calc(100vh - 124px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-research-toc::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

.review-page.is-technical-spec .tech-research-toc strong {
  display: block !important;
  margin: 0 0 16px !important;
  color: #b65a3c !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.review-page.is-technical-spec .tech-research-toc a {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 9px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #6e665d !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  transform: none !important;
}

.review-page.is-technical-spec .tech-research-toc a:hover,
.review-page.is-technical-spec .tech-research-toc a:focus-visible {
  background: transparent !important;
  color: #211d19 !important;
  outline: none !important;
}

.review-page.is-technical-spec .tech-research-article {
  min-width: 0 !important;
}

.review-page.is-technical-spec .tech-paper-section {
  margin: 0 !important;
  padding: 76px 0 88px !important;
  border-top: 1px solid rgba(36, 31, 27, 0.15) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-paper-section h3 {
  max-width: 980px !important;
  margin: 0 0 28px !important;
  color: #211d19 !important;
  font-size: clamp(48px, 4.8vw, 74px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.review-page.is-technical-spec .tech-paper-section > p:not(.review-eyebrow):not(.tech-footnote) {
  max-width: 920px !important;
  color: #4c463f !important;
  font-size: 17px !important;
  line-height: 2 !important;
}

.review-page.is-technical-spec .tech-summary-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 44px !important;
  margin-top: 48px !important;
  padding-top: 32px !important;
  border-top: 1px solid rgba(36, 31, 27, 0.13) !important;
}

.review-page.is-technical-spec .tech-summary-grid article {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-method-flow {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 54px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(36, 31, 27, 0.12) !important;
}

.review-page.is-technical-spec .tech-method-flow::before {
  display: none !important;
}

.review-page.is-technical-spec .tech-method-flow article {
  padding: 0 22px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-param-overview {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 42px !important;
}

.review-page.is-technical-spec .tech-param-overview article {
  min-height: 126px !important;
  border: 1px solid rgba(36, 31, 27, 0.09) !important;
  border-radius: 20px !important;
  background: rgba(250, 247, 240, 0.72) !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-pipeline-visual {
  margin-top: 52px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-pipeline-canvas {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(36, 31, 27, 0.12) !important;
  border-radius: 22px !important;
  background: #fbfaf6 !important;
}

.review-page.is-technical-spec .tech-pipeline-node {
  min-height: 122px !important;
  padding: 24px 24px 20px !important;
  border: 0 !important;
  border-right: 1px solid rgba(36, 31, 27, 0.1) !important;
  border-radius: 0 !important;
  background: #fbfaf6 !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-pipeline-node:last-child {
  border-right: 0 !important;
}

.review-page.is-technical-spec .tech-pipeline-node.is-active {
  background: #f1eee7 !important;
  box-shadow: inset 0 -3px 0 #24211d !important;
}

.review-page.is-technical-spec .tech-pipeline-note {
  margin-top: 18px !important;
  padding: 0 0 0 16px !important;
  border-left: 2px solid #24211d !important;
  color: #5e564e !important;
}

.review-page.is-technical-spec .tech-research-table {
  border: 1px solid rgba(36, 31, 27, 0.12) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: rgba(250, 247, 240, 0.72) !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-dataset-figure {
  overflow: visible !important;
}

.review-page.is-technical-spec .tech-dataset-matrix {
  display: grid !important;
  grid-template-columns: 160px repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(36, 31, 27, 0.12) !important;
  border-radius: 18px !important;
  background: #fbfaf6 !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-dataset-matrix > * {
  min-height: 56px !important;
  border-color: rgba(36, 31, 27, 0.09) !important;
  background: #fbfaf6 !important;
  color: #4e473f !important;
}

.review-page.is-technical-spec .tech-dataset-matrix > span:first-child {
  background: #f2eee6 !important;
}

.review-page.is-technical-spec .tech-dataset-matrix strong,
.review-page.is-technical-spec .tech-dataset-matrix b {
  background: #f2eee6 !important;
  color: #211d19 !important;
}

.review-page.is-technical-spec .tech-dataset-matrix i {
  color: #554e46 !important;
}

.review-page.is-technical-spec .tech-observation-panel {
  display: grid !important;
  grid-template-columns: 0.9fr 1.25fr 0.85fr !important;
  gap: 48px !important;
  margin-top: 52px !important;
  padding: 34px 0 !important;
  border-top: 1px solid rgba(36, 31, 27, 0.12) !important;
  border-bottom: 1px solid rgba(36, 31, 27, 0.12) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-coverage-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.review-page.is-technical-spec .tech-coverage-grid i {
  min-height: 34px !important;
  border: 1px solid rgba(36, 31, 27, 0.1) !important;
  border-radius: 999px !important;
  background: #f4f0e8 !important;
  color: #4f473e !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-coverage-grid i.is-on {
  background: #eadfce !important;
  color: #211d19 !important;
}

.review-page.is-technical-spec .tech-coverage-grid i::before,
.review-page.is-technical-spec .tech-coverage-grid i::after {
  display: none !important;
}

.review-page.is-technical-spec .tech-chart-grid {
  display: grid !important;
  grid-template-columns: 1.25fr 0.85fr !important;
  gap: 60px !important;
  align-items: start !important;
  margin-top: 58px !important;
}

.review-page.is-technical-spec .tech-chart-card {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-chart-card figcaption {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 18px !important;
}

.review-page.is-technical-spec .tech-line-chart {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 300px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(36, 31, 27, 0.12) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-benchmark-table {
  border-top: 1px solid rgba(36, 31, 27, 0.12) !important;
}

.review-page.is-technical-spec .tech-benchmark-table > div {
  border-bottom: 1px solid rgba(36, 31, 27, 0.1) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-case-list {
  margin-top: 38px !important;
  border-top: 1px solid rgba(36, 31, 27, 0.13) !important;
}

.review-page.is-technical-spec .tech-case-list a {
  border-bottom: 1px solid rgba(36, 31, 27, 0.1) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-reference-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 72px !important;
  align-items: start !important;
  margin-top: 44px !important;
}

.review-page.is-technical-spec .tech-reference-feature {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  display: block !important;
}

.review-page.is-technical-spec .tech-reference-pattern {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  grid-auto-rows: 1fr !important;
  gap: 1px !important;
  height: 320px !important;
  margin: 0 0 28px !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: #9ead93 !important;
  box-shadow: 0 28px 60px rgba(36, 31, 27, 0.16) !important;
}

.review-page.is-technical-spec .tech-reference-pattern span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.34) !important;
  color: #111 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}

.review-page.is-technical-spec .tech-reference-pattern span:nth-child(5n),
.review-page.is-technical-spec .tech-reference-pattern span:nth-child(17) {
  background: #efe65e !important;
}

.review-page.is-technical-spec .tech-reference-feature > div {
  padding-top: 24px !important;
  border-top: 1px solid rgba(36, 31, 27, 0.15) !important;
}

.review-page.is-technical-spec .tech-reference-feature h4 {
  margin: 0 0 12px !important;
  color: #211d19 !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
}

.review-page.is-technical-spec .tech-reference-feature p:not(.review-eyebrow) {
  color: #504941 !important;
  line-height: 1.85 !important;
}

.review-page.is-technical-spec .tech-reference-table {
  grid-column: 1 !important;
  border-top: 1px solid rgba(36, 31, 27, 0.14) !important;
}

.review-page.is-technical-spec .tech-reference-table > div,
.review-page.is-technical-spec .tech-reference-table > a {
  display: grid !important;
  grid-template-columns: 80px 140px minmax(190px, 0.8fr) minmax(240px, 1fr) 20px !important;
  min-height: 76px !important;
  border-bottom: 1px solid rgba(36, 31, 27, 0.12) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-reference-table > a:hover {
  background: rgba(244, 240, 232, 0.72) !important;
  transform: none !important;
}

.review-page.is-technical-spec .tech-limits-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 52px !important;
  margin-top: 42px !important;
  padding-top: 32px !important;
  border-top: 1px solid rgba(36, 31, 27, 0.13) !important;
}

.review-page.is-technical-spec .tech-limits-grid article {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-repro-strip {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 64px !important;
  box-sizing: border-box !important;
  width: 100vw !important;
  min-height: 58vh !important;
  margin: 96px -50vw 0 !important;
  padding: 96px max(64px, calc((100vw - 1260px) / 2 + 242px)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #050505 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-repro-strip strong {
  color: #fff !important;
  font-size: 44px !important;
  line-height: 1.05 !important;
}

.review-page.is-technical-spec .tech-repro-strip p {
  max-width: 680px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.review-page.is-technical-spec .tech-repro-strip a {
  min-height: 48px !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #fff !important;
}

.review-page.is-technical-spec .tech-repro-strip a:hover {
  border-color: #fff !important;
  background: #fff !important;
  color: #050505 !important;
}

@media (max-width: 1360px) {
  .review-page.is-technical-spec .review-shell {
    width: min(100% - 56px, 1260px) !important;
  }

  .review-page.is-technical-spec .tech-research-layout {
    grid-template-columns: 138px minmax(0, 1fr) !important;
    gap: 64px !important;
  }

  .review-page.is-technical-spec .tech-research-toc {
    width: 138px !important;
    max-width: 138px !important;
  }

  .review-page.is-technical-spec .tech-research-hero h2 {
    font-size: clamp(72px, 6.7vw, 110px) !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .review-page.is-technical-spec .review-shell {
    width: min(100% - 44px, 1080px) !important;
  }

  .review-page.is-technical-spec .tech-research-layout {
    grid-template-columns: 128px minmax(0, 1fr) !important;
    gap: 48px !important;
  }

  .review-page.is-technical-spec .tech-research-toc {
    position: sticky !important;
    top: 88px !important;
    left: auto !important;
    width: 128px !important;
    max-width: 128px !important;
    display: block !important;
    max-height: calc(100vh - 112px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 8px 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .review-page.is-technical-spec .tech-research-hero h2 {
    font-size: clamp(64px, 6.5vw, 88px) !important;
  }

  .review-page.is-technical-spec .tech-paper-section h3 {
    font-size: clamp(44px, 4.7vw, 62px) !important;
  }
}

@media (max-width: 980px) {
  .review-page.is-technical-spec .review-shell {
    min-width: 980px !important;
    width: 980px !important;
    margin: 0 auto !important;
  }

  .review-page.is-technical-spec .tech-research-layout {
    grid-template-columns: 128px minmax(0, 1fr) !important;
    gap: 48px !important;
  }

  .review-page.is-technical-spec .tech-research-toc {
    position: sticky !important;
    top: 88px !important;
    display: block !important;
    width: 128px !important;
    max-width: 128px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .review-page.is-technical-spec .tech-research-toc a {
    min-height: 0 !important;
    padding: 8px 0 !important;
    background: transparent !important;
  }
}

/* 2026-06-26 final desktop research pass. Keep this block last. */
.review-page.is-technical-spec {
  --tech-ink: #1f1d1a;
  --tech-copy: #4d4740;
  --tech-muted: #70685f;
  --tech-rule: rgba(31, 29, 26, 0.14);
  --tech-soft-rule: rgba(31, 29, 26, 0.09);
  --tech-paper: #fbfaf7;
  --tech-toc-width: 138px;
  --tech-layout-gap: 72px;
  overflow-x: hidden !important;
  color: var(--tech-ink) !important;
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif !important;
  background:
    linear-gradient(rgba(31, 29, 26, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 29, 26, 0.018) 1px, transparent 1px),
    var(--tech-paper) !important;
  background-size: 36px 36px !important;
}

.review-page.is-technical-spec .review-shell {
  width: min(100% - 72px, 1380px) !important;
  margin-inline: auto !important;
  padding: 104px 0 0 !important;
}

.review-page.is-technical-spec .technical-spec-board,
.review-page.is-technical-spec .tech-research-hero,
.review-page.is-technical-spec .tech-research-layout {
  box-sizing: border-box !important;
  width: min(100%, 1180px) !important;
  margin-inline: auto !important;
}

.review-page.is-technical-spec .tech-research-hero {
  margin-bottom: 88px !important;
  padding: 56px 0 34px calc(var(--tech-toc-width) + var(--tech-layout-gap)) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-research-hero h2 {
  max-width: 1100px !important;
  color: var(--tech-ink) !important;
  font-family: inherit !important;
  font-size: clamp(56px, 5.3vw, 80px) !important;
  font-weight: 660 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance !important;
}

.review-page.is-technical-spec .tech-research-hero > p:not(.review-eyebrow) {
  max-width: 760px !important;
  margin-top: 30px !important;
  color: var(--tech-copy) !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
}

.review-page.is-technical-spec .tech-hero-footer {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 40px !important;
  margin-top: 58px !important;
  padding-top: 26px !important;
  border-top: 1px solid var(--tech-rule) !important;
}

.review-page.is-technical-spec .tech-research-layout {
  grid-template-columns: var(--tech-toc-width) minmax(0, 1fr) !important;
  gap: var(--tech-layout-gap) !important;
  align-items: start !important;
}

.review-page.is-technical-spec .tech-research-toc {
  position: fixed !important;
  top: 88px !important;
  left: max(36px, calc((100vw - 1180px) / 2)) !important;
  width: var(--tech-toc-width) !important;
  max-width: var(--tech-toc-width) !important;
  max-height: calc(100vh - 112px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 6px 0 16px !important;
  border: 0 !important;
  background: transparent !important;
  z-index: 12 !important;
}

.review-page.is-technical-spec .tech-research-article {
  grid-column: 2 !important;
  min-width: 0 !important;
}

.review-page.is-technical-spec .tech-research-toc strong {
  margin-bottom: 14px !important;
  color: #8a4f37 !important;
  font-size: 13px !important;
}

.review-page.is-technical-spec .tech-research-toc a {
  display: block !important;
  width: 100% !important;
  padding: 8px 0 !important;
  color: var(--tech-muted) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
}

.review-page.is-technical-spec .tech-research-toc a:hover,
.review-page.is-technical-spec .tech-research-toc a:focus-visible {
  color: var(--tech-ink) !important;
  outline: 0 !important;
}

.review-page.is-technical-spec .tech-paper-section {
  padding: 72px 0 86px !important;
  border-top: 1px solid var(--tech-rule) !important;
}

.review-page.is-technical-spec .tech-paper-section h3 {
  max-width: 840px !important;
  color: var(--tech-ink) !important;
  font-family: inherit !important;
  font-size: clamp(34px, 3.15vw, 46px) !important;
  font-weight: 620 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  word-break: keep-all !important;
  text-wrap: balance !important;
}

.review-page.is-technical-spec .tech-paper-section > p:not(.review-eyebrow):not(.tech-footnote) {
  max-width: 820px !important;
  color: var(--tech-copy) !important;
  font-size: 16.5px !important;
  line-height: 1.95 !important;
}

.review-page.is-technical-spec .tech-summary-grid,
.review-page.is-technical-spec .tech-limits-grid {
  gap: 36px !important;
}

.review-page.is-technical-spec .tech-method-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid var(--tech-rule) !important;
}

.review-page.is-technical-spec .tech-method-flow article {
  min-width: 0 !important;
  padding: 0 18px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-method-flow article + article {
  padding-left: 18px !important;
  border-left: 1px solid var(--tech-soft-rule) !important;
}

.review-page.is-technical-spec .tech-param-overview {
  gap: 12px !important;
}

.review-page.is-technical-spec .tech-param-overview article {
  min-height: 118px !important;
  border: 1px solid var(--tech-soft-rule) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.42) !important;
}

.review-page.is-technical-spec .tech-pipeline-visual {
  margin-top: 48px !important;
  border: 0 !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-pipeline-canvas {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--tech-rule) !important;
  border-radius: 6px !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-pipeline-node {
  min-height: 108px !important;
  padding: 20px 18px 18px !important;
  border: 0 !important;
  border-right: 1px solid var(--tech-soft-rule) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-pipeline-node:last-child {
  border-right: 0 !important;
}

.review-page.is-technical-spec .tech-pipeline-node:hover,
.review-page.is-technical-spec .tech-pipeline-node:focus-visible {
  background: rgba(255, 255, 255, 0.6) !important;
  outline: 1px solid rgba(31, 29, 26, 0.28) !important;
  outline-offset: -1px !important;
}

.review-page.is-technical-spec .tech-pipeline-node.is-active {
  background: rgba(239, 236, 229, 0.62) !important;
  box-shadow: inset 0 -2px 0 var(--tech-ink) !important;
}

.review-page.is-technical-spec .tech-pipeline-node span,
.review-page.is-technical-spec .tech-pipeline-node em {
  color: var(--tech-muted) !important;
}

.review-page.is-technical-spec .tech-pipeline-note {
  margin-top: 16px !important;
  padding-left: 14px !important;
  border-left: 1px solid var(--tech-ink) !important;
  color: var(--tech-copy) !important;
}

.review-page.is-technical-spec .tech-research-table,
.review-page.is-technical-spec .tech-dataset-matrix,
.review-page.is-technical-spec .tech-benchmark-table {
  border: 1px solid var(--tech-rule) !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-research-table div,
.review-page.is-technical-spec .tech-benchmark-table > div,
.review-page.is-technical-spec .tech-dataset-matrix > * {
  border-color: var(--tech-soft-rule) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-research-table div:first-child span,
.review-page.is-technical-spec .tech-benchmark-table > div:first-child,
.review-page.is-technical-spec .tech-dataset-matrix strong,
.review-page.is-technical-spec .tech-dataset-matrix b,
.review-page.is-technical-spec .tech-dataset-matrix > span:first-child {
  background: rgba(239, 236, 229, 0.55) !important;
  color: var(--tech-ink) !important;
}

.review-page.is-technical-spec .tech-dataset-matrix > span:first-child {
  color: transparent !important;
}

.review-page.is-technical-spec .tech-observation-panel {
  grid-template-columns: 0.9fr 1.2fr 0.9fr !important;
  gap: 42px !important;
  border-top: 1px solid var(--tech-rule) !important;
  border-bottom: 1px solid var(--tech-rule) !important;
}

.review-page.is-technical-spec .tech-coverage-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.review-page.is-technical-spec .tech-coverage-grid i {
  position: relative !important;
  min-height: 28px !important;
  justify-content: start !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 0 0 16px !important;
  background: transparent !important;
  color: var(--tech-copy) !important;
  font-style: normal !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-coverage-grid i::before {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border: 1px solid rgba(31, 29, 26, 0.34) !important;
  border-radius: 50% !important;
  background: transparent !important;
  content: "" !important;
  transform: translateY(-50%) !important;
}

.review-page.is-technical-spec .tech-coverage-grid i.is-on::before {
  background: var(--tech-ink) !important;
  border-color: var(--tech-ink) !important;
}

.review-page.is-technical-spec .tech-coverage-grid i::after {
  display: none !important;
}

.review-page.is-technical-spec .tech-chart-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr) !important;
  gap: 56px !important;
}

.review-page.is-technical-spec .tech-chart-filter {
  gap: 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-chart-filter button {
  min-height: 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--tech-muted) !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-chart-filter button.is-active {
  color: var(--tech-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-chart-filter button::before {
  width: 18px !important;
  height: 2px !important;
  border-radius: 0 !important;
}

.review-page.is-technical-spec .tech-chart-filter button[data-tech-series="baseline"]::before,
.review-page.is-technical-spec .tech-line-chart .baseline {
  background: #9a5b45 !important;
  stroke: #9a5b45 !important;
}

.review-page.is-technical-spec .tech-chart-filter button[data-tech-series="optimized"]::before,
.review-page.is-technical-spec .tech-line-chart .optimized {
  background: #1f1d1a !important;
  stroke: #1f1d1a !important;
}

.review-page.is-technical-spec .tech-chart-filter button[data-tech-series="reference"]::before,
.review-page.is-technical-spec .tech-line-chart .reference {
  background: #8a7b5c !important;
  stroke: #8a7b5c !important;
}

.review-page.is-technical-spec .tech-line-chart polyline {
  stroke-width: 3 !important;
}

.review-page.is-technical-spec .tech-case-list {
  border-top: 1px solid var(--tech-rule) !important;
}

.review-page.is-technical-spec .tech-case-list a {
  min-height: 76px !important;
  border-bottom: 1px solid var(--tech-soft-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-case-list a:hover {
  background: rgba(255, 255, 255, 0.42) !important;
  transform: none !important;
}

.review-page.is-technical-spec .tech-reference-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 64px !important;
  align-items: start !important;
}

.review-page.is-technical-spec .tech-reference-feature {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.review-page.is-technical-spec .tech-reference-visual {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  margin: 0 0 28px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--reference-visual-base, #c9c7d9) !important;
  box-shadow: 0 10px 18px rgba(31, 29, 26, 0.1) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) scale(0.985) !important;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background 180ms ease !important;
}

.review-page.is-technical-spec .tech-reference-visual.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.review-page.is-technical-spec .tech-reference-visual::before {
  position: absolute !important;
  inset: -18% !important;
  z-index: 0 !important;
  background: transparent !important;
  content: "" !important;
  filter: none !important;
  transform: rotate(var(--reference-field-rotate, -8deg)) scale(1.04) !important;
  transition: background 180ms ease, transform 180ms ease !important;
}

.review-page.is-technical-spec .tech-reference-visual::after {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: transparent !important;
  content: "" !important;
}

.review-page.is-technical-spec .reference-art {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 140ms ease !important;
}

.review-page.is-technical-spec .reference-paper {
  fill: #fffdfa !important;
  stroke: none !important;
}

.review-page.is-technical-spec .reference-paper-back {
  opacity: 0.92 !important;
}

.review-page.is-technical-spec .reference-line {
  fill: none !important;
  stroke: #15130f !important;
  stroke-width: 5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
}

.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="reasoning"] .reference-art-reasoning,
.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="distillation"] .reference-art-distillation,
.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="lora"] .reference-art-lora,
.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="retrieval"] .reference-art-retrieval,
.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="preference"] .reference-art-preference,
.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="instruction"] .reference-art-instruction {
  opacity: 1 !important;
}

.review-page.is-technical-spec .reference-visual-wash {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: var(--reference-visual-wash, linear-gradient(135deg, rgba(188, 211, 202, 0.92), rgba(173, 199, 190, 0.72) 52%, rgba(216, 210, 191, 0.5))) !important;
  transition: background 180ms ease !important;
}

.review-page.is-technical-spec .reference-visual-sheet {
  position: absolute !important;
  top: var(--reference-sheet-top, 22%) !important;
  left: var(--reference-sheet-left, 34%) !important;
  z-index: 2 !important;
  display: grid !important;
  align-content: center !important;
  gap: var(--reference-sheet-gap, 18px) !important;
  box-sizing: border-box !important;
  width: var(--reference-sheet-width, 45%) !important;
  height: var(--reference-sheet-height, 54%) !important;
  padding: 28px 24px !important;
  border-radius: 3px !important;
  background: rgba(255, 254, 248, 0.94) !important;
  box-shadow: 0 1px 0 rgba(31, 29, 26, 0.08) !important;
  transform: rotate(var(--reference-sheet-rotate, 0deg)) !important;
  transition: top 180ms ease, left 180ms ease, width 180ms ease, height 180ms ease, transform 180ms ease !important;
}

.review-page.is-technical-spec .reference-visual-sheet span {
  display: block !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: #15130f !important;
}

.review-page.is-technical-spec .reference-visual-sheet span:nth-child(1) {
  width: 72% !important;
}

.review-page.is-technical-spec .reference-visual-sheet span:nth-child(2) {
  width: 94% !important;
}

.review-page.is-technical-spec .reference-visual-sheet span:nth-child(3) {
  width: 64% !important;
}

.review-page.is-technical-spec .reference-visual-axis {
  position: absolute !important;
  left: var(--reference-axis-left, 18%) !important;
  bottom: var(--reference-axis-bottom, 20%) !important;
  z-index: 2 !important;
  width: var(--reference-axis-width, 36%) !important;
  height: var(--reference-axis-height, 28%) !important;
  border-left: 5px solid #15130f !important;
  border-bottom: 5px solid #15130f !important;
  border-radius: 0 0 0 20px !important;
  transform: rotate(var(--reference-axis-rotate, 0deg)) !important;
  transition: left 180ms ease, bottom 180ms ease, width 180ms ease, height 180ms ease, transform 180ms ease !important;
}

.review-page.is-technical-spec .reference-visual-axis::after {
  position: absolute !important;
  right: -18px !important;
  bottom: -5px !important;
  width: 30px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #15130f !important;
  content: "" !important;
}

.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="reasoning"] {
  --reference-visual-base: #c9c7d9;
  --reference-visual-field: linear-gradient(132deg, rgba(190, 219, 246, 0.88), rgba(222, 200, 239, 0.68) 48%, rgba(238, 177, 137, 0.7));
  --reference-visual-wash: linear-gradient(135deg, rgba(188, 211, 202, 0.95), rgba(173, 199, 190, 0.76) 52%, rgba(216, 210, 191, 0.58));
}

.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="distillation"] {
  --reference-visual-base: #eccccd;
  --reference-visual-field: linear-gradient(146deg, rgba(206, 222, 247, 0.9), rgba(204, 192, 231, 0.72) 54%, rgba(183, 202, 193, 0.68));
  --reference-visual-wash: linear-gradient(150deg, rgba(195, 205, 224, 0.95), rgba(218, 211, 230, 0.74), rgba(191, 209, 202, 0.62));
  --reference-sheet-left: 21%;
  --reference-sheet-top: 18%;
  --reference-sheet-width: 42%;
  --reference-sheet-height: 58%;
  --reference-sheet-rotate: -2deg;
  --reference-axis-left: 50%;
  --reference-axis-bottom: 19%;
  --reference-axis-width: 28%;
  --reference-axis-height: 36%;
  --reference-axis-rotate: 1deg;
}

.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="lora"] {
  --reference-visual-base: #ebc9cb;
  --reference-visual-field: linear-gradient(128deg, rgba(228, 207, 180, 0.86), rgba(188, 211, 202, 0.72) 52%, rgba(174, 189, 214, 0.7));
  --reference-visual-wash: linear-gradient(132deg, rgba(220, 203, 181, 0.94), rgba(203, 213, 201, 0.7), rgba(184, 197, 214, 0.62));
  --reference-sheet-left: 40%;
  --reference-sheet-top: 19%;
  --reference-sheet-width: 36%;
  --reference-sheet-height: 62%;
  --reference-sheet-gap: 15px;
  --reference-sheet-rotate: 2deg;
  --reference-axis-left: 18%;
  --reference-axis-bottom: 18%;
  --reference-axis-width: 27%;
  --reference-axis-height: 42%;
}

.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="retrieval"] {
  --reference-visual-base: #c8c6d8;
  --reference-visual-field: linear-gradient(150deg, rgba(181, 214, 226, 0.92), rgba(188, 211, 202, 0.8) 46%, rgba(220, 216, 191, 0.64));
  --reference-visual-wash: linear-gradient(118deg, rgba(176, 205, 215, 0.94), rgba(184, 211, 203, 0.72), rgba(217, 215, 198, 0.62));
  --reference-sheet-left: 29%;
  --reference-sheet-top: 28%;
  --reference-sheet-width: 48%;
  --reference-sheet-height: 44%;
  --reference-axis-left: 18%;
  --reference-axis-bottom: 22%;
  --reference-axis-width: 52%;
  --reference-axis-height: 18%;
}

.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="preference"] {
  --reference-visual-base: #d9c6c8;
  --reference-visual-field: linear-gradient(136deg, rgba(230, 191, 191, 0.88), rgba(219, 209, 189, 0.72) 50%, rgba(190, 212, 204, 0.7));
  --reference-visual-wash: linear-gradient(140deg, rgba(218, 188, 188, 0.94), rgba(224, 211, 191, 0.72), rgba(194, 213, 206, 0.62));
  --reference-sheet-left: 25%;
  --reference-sheet-top: 21%;
  --reference-sheet-width: 50%;
  --reference-sheet-height: 50%;
  --reference-sheet-rotate: -1deg;
  --reference-axis-left: 48%;
  --reference-axis-bottom: 16%;
  --reference-axis-width: 28%;
  --reference-axis-height: 32%;
  --reference-axis-rotate: -1deg;
}

.review-page.is-technical-spec .tech-reference-visual[data-reference-variant="instruction"] {
  --reference-visual-base: #c8c6d8;
  --reference-visual-field: linear-gradient(130deg, rgba(196, 213, 201, 0.9), rgba(221, 218, 198, 0.72) 48%, rgba(185, 205, 229, 0.68));
  --reference-visual-wash: linear-gradient(126deg, rgba(190, 210, 199, 0.94), rgba(220, 217, 199, 0.76), rgba(186, 203, 225, 0.62));
  --reference-sheet-left: 36%;
  --reference-sheet-top: 17%;
  --reference-sheet-width: 43%;
  --reference-sheet-height: 57%;
  --reference-sheet-rotate: 1.5deg;
  --reference-axis-left: 18%;
  --reference-axis-bottom: 18%;
  --reference-axis-width: 35%;
  --reference-axis-height: 34%;
  --reference-axis-rotate: -1deg;
}

.review-page.is-technical-spec .tech-reference-feature > div {
  padding-top: 24px !important;
  border-top: 1px solid var(--tech-rule) !important;
}

.review-page.is-technical-spec .tech-reference-feature h4 {
  font-size: 24px !important;
  font-weight: 640 !important;
  line-height: 1.32 !important;
  letter-spacing: 0 !important;
}

.review-page.is-technical-spec .tech-reference-table {
  grid-column: 1 !important;
  border-top: 1px solid var(--tech-rule) !important;
}

.review-page.is-technical-spec .tech-reference-table > div,
.review-page.is-technical-spec .tech-reference-table > a {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: 56px 102px minmax(0, 0.9fr) minmax(0, 1.25fr) 16px !important;
  gap: 12px !important;
  min-height: 72px !important;
  border-bottom: 1px solid var(--tech-soft-rule) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-reference-table > div > *,
.review-page.is-technical-spec .tech-reference-table > a > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

.review-page.is-technical-spec .tech-reference-table span,
.review-page.is-technical-spec .tech-reference-table strong,
.review-page.is-technical-spec .tech-reference-table em {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.review-page.is-technical-spec .tech-reference-table > a:hover {
  background: rgba(255, 255, 255, 0.42) !important;
  color: var(--tech-ink) !important;
  transform: none !important;
}

.review-page.is-technical-spec .tech-reference-table > a.is-reference-active {
  background: rgba(255, 255, 255, 0.48) !important;
  color: var(--tech-ink) !important;
}

.review-page.is-technical-spec .tech-reference-table > a:focus-visible {
  outline: 1px solid rgba(31, 29, 26, 0.36) !important;
  outline-offset: -1px !important;
}

.review-page.is-technical-spec .tech-repro-strip {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100vw !important;
  min-height: clamp(360px, 42vh, 540px) !important;
  margin: 92px calc(50% - 50vw) 0 !important;
  padding: 96px max(32px, calc((100vw - 1180px) / 2)) !important;
  border-radius: 0 !important;
  background: #000 !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  place-items: center !important;
  align-content: center !important;
  justify-content: center !important;
  gap: 30px !important;
  text-align: center !important;
}

.review-page.is-technical-spec .tech-repro-strip strong {
  display: block !important;
  color: #fff !important;
  font-size: clamp(44px, 4.4vw, 68px) !important;
  font-weight: 760 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

.review-page.is-technical-spec .tech-repro-strip p {
  max-width: 620px !important;
  margin: 18px auto 0 !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

.review-page.is-technical-spec .tech-repro-strip nav {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
}

.review-page.is-technical-spec .tech-repro-strip a {
  min-height: 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 6px !important;
  padding: 0 18px !important;
  background: #fff !important;
  color: #000 !important;
}

.review-page.is-technical-spec .tech-repro-strip a + a {
  background: transparent !important;
  color: #fff !important;
}

.review-page.is-technical-spec .tech-repro-strip a:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #000 !important;
}

@media (max-width: 1280px) {
  .review-page.is-technical-spec .review-shell {
    width: min(100% - 48px, 1180px) !important;
  }

  .review-page.is-technical-spec {
    --tech-toc-width: 126px;
    --tech-layout-gap: 52px;
  }

  .review-page.is-technical-spec .tech-research-hero h2 {
    font-size: clamp(54px, 5.6vw, 74px) !important;
  }

  .review-page.is-technical-spec .tech-research-toc {
    left: 24px !important;
  }

  .review-page.is-technical-spec .tech-method-flow,
  .review-page.is-technical-spec .tech-pipeline-canvas {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .review-page.is-technical-spec .tech-method-flow article:nth-child(4),
  .review-page.is-technical-spec .tech-pipeline-node:nth-child(4) {
    border-left: 0 !important;
  }

  .review-page.is-technical-spec .tech-reference-layout {
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 44px !important;
  }
}

/* Final desktop pass: closer to Anthropic-style editorial spacing and hover references. */
.review-page.is-technical-spec .tech-research-hero {
  margin-bottom: 74px !important;
  padding: 92px 0 72px calc(var(--tech-toc-width) + var(--tech-layout-gap)) !important;
  border-bottom: 1px solid rgba(31, 29, 26, 0.14) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-research-hero::before {
  display: none !important;
}

.review-page.is-technical-spec .tech-research-hero h2 {
  max-width: 900px !important;
  margin: 0 !important;
  font-size: clamp(54px, 5.2vw, 78px) !important;
  font-weight: 720 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

.review-page.is-technical-spec .tech-research-hero > p:not(.review-eyebrow) {
  max-width: 820px !important;
  margin-top: 30px !important;
  color: #4d463f !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
}

.review-page.is-technical-spec .tech-hero-footer {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 58px !important;
  padding: 20px 0 22px !important;
  border-top: 1px solid rgba(31, 29, 26, 0.14) !important;
  border-bottom: 1px solid rgba(31, 29, 26, 0.14) !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-hero-footer div,
.review-page.is-technical-spec .tech-hero-footer div + div,
.review-page.is-technical-spec .tech-hero-footer div:last-child {
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 26px 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-hero-footer div + div {
  padding-left: 26px !important;
  border-left: 1px solid rgba(31, 29, 26, 0.12) !important;
}

.review-page.is-technical-spec .tech-hero-footer span {
  display: block !important;
  margin-bottom: 10px !important;
  color: #8a4f37 !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  letter-spacing: 0.02em !important;
}

.review-page.is-technical-spec .tech-hero-footer strong {
  display: block !important;
  margin: 0 0 5px !important;
  color: #211d19 !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 720 !important;
  line-height: 1.35 !important;
}

.review-page.is-technical-spec .tech-hero-footer em {
  display: block !important;
  color: #6a6259 !important;
  font-size: 13px !important;
  font-style: normal !important;
  line-height: 1.55 !important;
}

.review-page.is-technical-spec .tech-reference-layout {
  width: calc(100% + 28px) !important;
  max-width: none !important;
  margin-right: -28px !important;
  grid-template-columns: minmax(0, 1fr) 270px !important;
  gap: 58px !important;
}

.review-page.is-technical-spec .tech-reference-feature {
  transform: none !important;
}

.review-page.is-technical-spec .tech-reference-summary {
  padding-top: 24px !important;
  border-top: 1px solid var(--tech-rule) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease !important;
}

.review-page.is-technical-spec .tech-reference-summary.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.review-page.is-technical-spec .reference-summary-copy {
  display: none !important;
}

.review-page.is-technical-spec .tech-reference-summary[data-reference-variant="reasoning"] .reference-summary-copy[data-reference-copy="reasoning"],
.review-page.is-technical-spec .tech-reference-summary[data-reference-variant="distillation"] .reference-summary-copy[data-reference-copy="distillation"],
.review-page.is-technical-spec .tech-reference-summary[data-reference-variant="lora"] .reference-summary-copy[data-reference-copy="lora"],
.review-page.is-technical-spec .tech-reference-summary[data-reference-variant="retrieval"] .reference-summary-copy[data-reference-copy="retrieval"],
.review-page.is-technical-spec .tech-reference-summary[data-reference-variant="preference"] .reference-summary-copy[data-reference-copy="preference"],
.review-page.is-technical-spec .tech-reference-summary[data-reference-variant="instruction"] .reference-summary-copy[data-reference-copy="instruction"] {
  display: block !important;
}

.review-page.is-technical-spec .tech-reference-summary h4 {
  margin: 0 !important;
  color: #211d19 !important;
  font-size: 22px !important;
  font-weight: 720 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}

.review-page.is-technical-spec .tech-reference-summary p:not(.review-eyebrow) {
  margin: 14px 0 0 !important;
  color: #565048 !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

.review-page.is-technical-spec .tech-reference-table > div,
.review-page.is-technical-spec .tech-reference-table > a {
  grid-template-columns: 62px 116px minmax(150px, 1fr) minmax(220px, 1.42fr) 16px !important;
  gap: 12px !important;
  min-height: 76px !important;
}

.review-page.is-technical-spec .tech-benchmark-table {
  border-radius: 6px !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-benchmark-table > div {
  grid-template-columns: minmax(118px, 1.35fr) repeat(3, minmax(64px, 0.72fr)) !important;
  min-height: 52px !important;
}

.review-page.is-technical-spec .tech-benchmark-table span,
.review-page.is-technical-spec .tech-benchmark-table b {
  min-height: 52px !important;
  padding: 11px 12px !important;
  line-height: 1.45 !important;
  white-space: nowrap !important;
}

.review-page.is-technical-spec .tech-benchmark-table b {
  color: #16483f !important;
  font-variant-numeric: tabular-nums !important;
}

.review-page.is-technical-spec .tech-benchmark-table div:not(:first-child) b:first-of-type {
  color: #a75d3f !important;
}

.review-page.is-technical-spec .tech-benchmark-table div:not(:first-child) b:last-child {
  color: #8a5a20 !important;
}

.review-page.is-technical-spec .tech-benchmark-note {
  margin: 14px 0 0 !important;
  color: #6b6258 !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}

.review-page.is-technical-spec .tech-eval-protocol {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 46px !important;
  border-top: 1px solid var(--tech-rule) !important;
  border-bottom: 1px solid var(--tech-rule) !important;
}

.review-page.is-technical-spec .tech-eval-protocol article {
  min-height: 154px !important;
  padding: 22px 28px 24px 0 !important;
  border-right: 1px solid var(--tech-soft-rule) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-eval-protocol article + article {
  padding-left: 28px !important;
}

.review-page.is-technical-spec .tech-eval-protocol article:last-child {
  border-right: 0 !important;
}

.review-page.is-technical-spec .tech-eval-protocol span {
  display: block !important;
  color: #a75d3f !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  letter-spacing: 0.02em !important;
}

.review-page.is-technical-spec .tech-eval-protocol strong {
  display: block !important;
  margin-top: 16px !important;
  color: var(--tech-ink) !important;
  font-size: 21px !important;
  font-weight: 760 !important;
  line-height: 1.25 !important;
}

.review-page.is-technical-spec .tech-eval-protocol p {
  margin: 10px 0 0 !important;
  color: var(--tech-copy) !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}

.review-page.is-technical-spec .tech-eval-record {
  margin: 50px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-page.is-technical-spec .tech-eval-record figcaption {
  display: flex !important;
  align-items: baseline !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
  color: var(--tech-ink) !important;
}

.review-page.is-technical-spec .tech-eval-record figcaption span {
  color: #a75d3f !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

.review-page.is-technical-spec .tech-eval-record figcaption strong {
  font-size: 18px !important;
  font-weight: 760 !important;
}

.review-page.is-technical-spec .tech-eval-table {
  margin-top: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.review-page.is-technical-spec .tech-eval-table div {
  min-width: 860px !important;
  grid-template-columns: minmax(130px, 0.9fr) minmax(90px, 0.58fr) minmax(90px, 0.58fr) minmax(300px, 1.94fr) !important;
}

.review-page.is-technical-spec .tech-eval-table span {
  min-height: 64px !important;
  background: transparent !important;
}

.review-page.is-technical-spec .tech-eval-table div:first-child span {
  min-height: 48px !important;
  background: rgba(239, 236, 229, 0.55) !important;
}

.review-page.is-technical-spec .tech-eval-table div:not(:first-child) span:nth-child(2),
.review-page.is-technical-spec .tech-eval-table div:not(:first-child) span:nth-child(3) {
  color: var(--tech-ink) !important;
  font-weight: 760 !important;
  font-variant-numeric: tabular-nums !important;
}

/* Keep the restored editorial visual language, but remove the oversized hero treatment. */
.review-page.is-technical-spec .tech-research-hero {
  min-height: 0 !important;
  padding: 116px 0 72px !important;
  margin: 0 auto !important;
  display: block !important;
}

.review-page.is-technical-spec .tech-research-hero::before {
  display: none !important;
}

.review-page.is-technical-spec .tech-research-hero h2 {
  max-width: 980px !important;
  margin: 12px 0 22px !important;
  font-size: 68px !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em !important;
}

.review-page.is-technical-spec .tech-research-hero > p:not(.review-eyebrow) {
  max-width: 760px !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.85 !important;
}

.review-page.is-technical-spec .tech-hero-footer {
  display: none !important;
}

.review-page.is-technical-spec .tech-research-layout {
  margin-top: 0 !important;
}

/* 2026-06-26 repair: one grid layer and non-overlapping compact title area. */
body.review-page.is-technical-spec {
  --tech-toc-width: 138px;
  --tech-layout-gap: 96px;
  background-color: #fbfaf7 !important;
  background-image:
    linear-gradient(rgba(31, 29, 26, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 29, 26, 0.022) 1px, transparent 1px) !important;
  background-position: 0 76px, 0 76px !important;
  background-size: 36px 36px !important;
}

body.review-page.is-technical-spec::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

body.review-page.is-technical-spec .review-shell {
  width: min(100% - 96px, 1380px) !important;
  margin-inline: auto !important;
  padding-top: 28px !important;
  overflow: visible !important;
}

body.review-page.is-technical-spec .technical-spec-board,
body.review-page.is-technical-spec .tech-research-hero,
body.review-page.is-technical-spec .tech-research-layout {
  width: min(100%, 1180px) !important;
  margin-inline: auto !important;
  background: transparent !important;
}

body.review-page.is-technical-spec .tech-research-hero {
  min-height: 0 !important;
  margin-bottom: 52px !important;
  padding: 48px 0 42px calc(var(--tech-toc-width) + var(--tech-layout-gap)) !important;
}

body.review-page.is-technical-spec .tech-research-hero h2 {
  max-width: 900px !important;
  margin: 10px 0 20px !important;
  font-size: 64px !important;
  line-height: 1.04 !important;
  letter-spacing: -0.02em !important;
  white-space: normal !important;
  word-break: keep-all !important;
  text-wrap: balance !important;
}

body.review-page.is-technical-spec .tech-research-hero > p:not(.review-eyebrow) {
  max-width: 760px !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.82 !important;
}

body.review-page.is-technical-spec .tech-research-layout {
  display: grid !important;
  grid-template-columns: var(--tech-toc-width) minmax(0, 1fr) !important;
  column-gap: var(--tech-layout-gap) !important;
  margin-top: 0 !important;
}

body.review-page.is-technical-spec .tech-research-toc {
  position: fixed !important;
  top: 96px !important;
  left: max(32px, calc((100vw - min(calc(100vw - 96px), 1180px)) / 2)) !important;
  z-index: 40 !important;
  width: var(--tech-toc-width) !important;
  max-height: calc(100vh - 128px) !important;
  padding: 12px 0 !important;
  overflow: auto !important;
  background: rgba(251, 250, 247, 0.88) !important;
}

body.review-page.is-technical-spec .tech-research-article {
  grid-column: 2 !important;
  min-width: 0 !important;
}

/* Case evidence index: make the five examples read like a technical record. */
body.review-page.is-technical-spec .tech-case-index {
  margin-top: 42px !important;
  border-top: 1px solid var(--tech-rule) !important;
  border-bottom: 1px solid var(--tech-rule) !important;
}

body.review-page.is-technical-spec .tech-case-index .tech-case-row {
  display: grid !important;
  grid-template-columns: minmax(150px, 0.92fr) minmax(220px, 1.18fr) minmax(220px, 1.22fr) minmax(88px, 0.44fr) !important;
  gap: 28px !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: 18px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--tech-soft-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--tech-copy) !important;
  text-decoration: none !important;
}

body.review-page.is-technical-spec .tech-case-index .tech-case-head {
  min-height: 0 !important;
  padding: 0 0 14px !important;
  color: var(--tech-muted) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  letter-spacing: 0.01em !important;
}

body.review-page.is-technical-spec .tech-case-index .tech-case-row:last-child {
  border-bottom: 0 !important;
}

body.review-page.is-technical-spec .tech-case-index a.tech-case-row:hover,
body.review-page.is-technical-spec .tech-case-index a.tech-case-row:focus-visible {
  background: rgba(255, 255, 255, 0.46) !important;
  color: var(--tech-ink) !important;
  transform: none !important;
  outline: none !important;
}

body.review-page.is-technical-spec .tech-case-index a.tech-case-row:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(31, 29, 26, 0.16) !important;
}

body.review-page.is-technical-spec .tech-case-index strong {
  color: var(--tech-ink) !important;
  font-size: 17px !important;
  font-weight: 760 !important;
  line-height: 1.35 !important;
}

body.review-page.is-technical-spec .tech-case-index span {
  color: var(--tech-copy) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

body.review-page.is-technical-spec .tech-case-index em {
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 78px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(31, 29, 26, 0.18) !important;
  border-radius: 999px !important;
  color: var(--tech-ink) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 720 !important;
  white-space: nowrap !important;
}

body.review-page.is-technical-spec .tech-case-index a.tech-case-row:hover em,
body.review-page.is-technical-spec .tech-case-index a.tech-case-row:focus-visible em {
  border-color: rgba(31, 29, 26, 0.38) !important;
  background: #fff !important;
}

/* Reduce stacked divider lines in the technical article opening. */
body.review-page.is-technical-spec .tech-research-hero {
  border-top: 0 !important;
  border-bottom: 0 !important;
  margin-bottom: 44px !important;
}

body.review-page.is-technical-spec .tech-paper-section {
  border-top: 1px solid rgba(31, 29, 26, 0.105) !important;
}

body.review-page.is-technical-spec .tech-paper-section:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

body.review-page.is-technical-spec .tech-summary-grid,
body.review-page.is-technical-spec .tech-summary-grid article,
body.review-page.is-technical-spec .tech-summary-grid article:nth-child(2n),
body.review-page.is-technical-spec .tech-summary-grid article:nth-child(n + 3) {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

body.review-page.is-technical-spec .tech-summary-grid {
  margin-top: 42px !important;
}

/* Mobile adaptation for /review: phone-first proportions without changing core flows. */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 136px !important;
  }

  body.review-page {
    padding-top: 112px !important;
    overflow-x: hidden !important;
  }

  .review-topbar {
    min-height: 0 !important;
    padding:
      max(8px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      10px
      max(12px, env(safe-area-inset-left)) !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .review-topnav {
    width: 100% !important;
    justify-self: stretch !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
    overflow: visible !important;
    padding: 4px !important;
    border-radius: 8px !important;
  }

  .review-topnav a {
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 6px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .review-actions {
    width: 100% !important;
    justify-self: stretch !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  .review-actions a {
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  .review-shell,
  .review-page.is-free-validation .review-shell,
  .review-page.is-technical-spec .review-shell,
  body.review-page.is-technical-spec .review-shell {
    width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-top: 14px !important;
    padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
    overflow: visible !important;
  }

  .review-board {
    width: 100% !important;
    padding: 0 !important;
  }

  .review-chat-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .review-chat-panel {
    min-height: 520px !important;
    border-radius: 0 !important;
  }

  .review-chat-panel header,
  .review-chat-stream,
  .review-chat-composer {
    padding-inline: 12px !important;
  }

  .review-chat-stream {
    min-height: 300px !important;
  }

  .review-chat-composer {
    margin: 0 0 12px !important;
    border-radius: 20px !important;
  }

  .composer-actions {
    gap: 6px !important;
  }

  .composer-model-picker {
    max-width: 160px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .free-validation-board {
    width: 100% !important;
  }

  .free-chat-panel {
    min-height: calc(100vh - 152px) !important;
    height: auto !important;
    gap: 10px !important;
  }

  .free-chat-header {
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .free-chat-subtitle {
    max-width: 100% !important;
    text-align: left !important;
  }

  .free-chat-stream {
    padding: 18px 4px 10px !important;
  }

  .free-chat-welcome {
    margin-top: 40px !important;
  }

  .free-chat-composer {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 22px !important;
    padding: 12px !important;
  }

  .free-chat-actions {
    gap: 6px !important;
  }

  .free-chat-actions .composer-model-picker {
    max-width: 112px !important;
  }

  body.review-page.is-technical-spec {
    --tech-layout-gap: 0px !important;
    --tech-toc-width: 100% !important;
    background-position: 0 112px, 0 112px !important;
    background-size: 32px 32px !important;
  }

  body.review-page.is-technical-spec .technical-spec-board,
  body.review-page.is-technical-spec .tech-research-hero,
  body.review-page.is-technical-spec .tech-research-layout {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  body.review-page.is-technical-spec .tech-research-hero {
    padding: 28px 0 30px !important;
    margin-bottom: 22px !important;
  }

  body.review-page.is-technical-spec .tech-research-hero h2 {
    max-width: 100% !important;
    margin: 8px 0 16px !important;
    font-size: clamp(38px, 11vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.012em !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-wrap: balance !important;
  }

  body.review-page.is-technical-spec .tech-research-hero > p:not(.review-eyebrow) {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.82 !important;
  }

  body.review-page.is-technical-spec .tech-research-layout {
    display: block !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  body.review-page.is-technical-spec .tech-research-toc {
    position: sticky !important;
    top: 112px !important;
    left: auto !important;
    z-index: 55 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 0 28px !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 1px solid rgba(31, 29, 26, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(251, 250, 247, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    scrollbar-width: none !important;
  }

  body.review-page.is-technical-spec .tech-research-toc::-webkit-scrollbar {
    display: none !important;
  }

  body.review-page.is-technical-spec .tech-research-toc strong,
  body.review-page.is-technical-spec .tech-research-toc a {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }

  body.review-page.is-technical-spec .tech-research-toc strong {
    color: #9a5b45 !important;
  }

  body.review-page.is-technical-spec .tech-research-article {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  body.review-page.is-technical-spec .tech-paper-section {
    padding: 44px 0 58px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  body.review-page.is-technical-spec .tech-paper-section:first-child {
    padding-top: 0 !important;
  }

  body.review-page.is-technical-spec .tech-paper-section h3 {
    max-width: 100% !important;
    margin-bottom: 18px !important;
    font-size: clamp(28px, 8.4vw, 36px) !important;
    line-height: 1.16 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-wrap: pretty !important;
  }

  body.review-page.is-technical-spec .tech-paper-section > p:not(.review-eyebrow):not(.tech-footnote) {
    max-width: 100% !important;
    font-size: 15.5px !important;
    line-height: 1.9 !important;
  }

  body.review-page.is-technical-spec .tech-summary-grid,
  body.review-page.is-technical-spec .tech-param-overview,
  body.review-page.is-technical-spec .tech-observation-panel,
  body.review-page.is-technical-spec .tech-chart-grid,
  body.review-page.is-technical-spec .tech-limits-grid,
  body.review-page.is-technical-spec .tech-eval-protocol {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  body.review-page.is-technical-spec .tech-method-flow,
  body.review-page.is-technical-spec .tech-pipeline-canvas {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  body.review-page.is-technical-spec .tech-method-flow::before {
    display: none !important;
  }

  body.review-page.is-technical-spec .tech-method-flow article,
  body.review-page.is-technical-spec .tech-method-flow article + article,
  body.review-page.is-technical-spec .tech-pipeline-node,
  body.review-page.is-technical-spec .tech-pipeline-node:last-child {
    border-right: 0 !important;
    border-bottom: 1px solid var(--tech-soft-rule) !important;
  }

  body.review-page.is-technical-spec .tech-research-table,
  body.review-page.is-technical-spec .tech-dataset-matrix,
  body.review-page.is-technical-spec .tech-benchmark-table,
  body.review-page.is-technical-spec .tech-eval-table,
  body.review-page.is-technical-spec .tech-reference-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.review-page.is-technical-spec .tech-research-table div,
  body.review-page.is-technical-spec .tech-benchmark-table > div,
  body.review-page.is-technical-spec .tech-eval-table div {
    min-width: 720px !important;
  }

  body.review-page.is-technical-spec .tech-dataset-matrix {
    grid-template-columns: 132px repeat(5, minmax(132px, 1fr)) !important;
  }

  body.review-page.is-technical-spec .tech-line-chart {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }

  body.review-page.is-technical-spec .tech-case-index .tech-case-head {
    display: none !important;
  }

  body.review-page.is-technical-spec .tech-case-index .tech-case-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 18px 0 !important;
  }

  body.review-page.is-technical-spec .tech-case-index a.tech-case-row span:nth-of-type(1)::before,
  body.review-page.is-technical-spec .tech-case-index a.tech-case-row span:nth-of-type(2)::before {
    display: block !important;
    margin-bottom: 2px !important;
    color: #9a5b45 !important;
    font-size: 11px !important;
    font-weight: 760 !important;
  }

  body.review-page.is-technical-spec .tech-case-index a.tech-case-row span:nth-of-type(1)::before {
    content: "输入材料" !important;
  }

  body.review-page.is-technical-spec .tech-case-index a.tech-case-row span:nth-of-type(2)::before {
    content: "观察点" !important;
  }

  body.review-page.is-technical-spec .tech-case-index em {
    justify-self: start !important;
    margin-top: 4px !important;
  }

  body.review-page.is-technical-spec .tech-reference-layout {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  body.review-page.is-technical-spec .tech-reference-feature {
    display: none !important;
  }

  body.review-page.is-technical-spec .tech-repro-strip {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 74px 24px max(86px, calc(74px + env(safe-area-inset-bottom))) !important;
  }

  body.review-page.is-technical-spec .tech-repro-strip nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  html {
    scroll-padding-top: 136px !important;
  }

  body.review-page {
    padding-top: 118px !important;
    overflow-x: hidden !important;
  }

  .review-topbar {
    min-height: 0 !important;
    padding:
      max(8px, env(safe-area-inset-top))
      max(18px, env(safe-area-inset-right))
      12px
      max(18px, env(safe-area-inset-left)) !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .review-topnav {
    width: 100% !important;
    justify-self: stretch !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    overflow: visible !important;
  }

  .review-topnav a,
  .review-actions a {
    justify-content: center !important;
    min-height: 40px !important;
  }

  .review-actions {
    width: 100% !important;
    justify-self: stretch !important;
    justify-content: flex-end !important;
  }

  .review-shell,
  .review-page.is-free-validation .review-shell,
  .review-page.is-technical-spec .review-shell,
  body.review-page.is-technical-spec .review-shell {
    width: calc(100vw - 48px) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-top: 22px !important;
    overflow: visible !important;
  }

  body.review-page.is-technical-spec {
    --tech-layout-gap: 0px !important;
    --tech-toc-width: 100% !important;
    background-position: 0 118px, 0 118px !important;
  }

  body.review-page.is-technical-spec .technical-spec-board,
  body.review-page.is-technical-spec .tech-research-hero,
  body.review-page.is-technical-spec .tech-research-layout {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  body.review-page.is-technical-spec .tech-research-hero {
    padding: 38px 0 34px !important;
    margin-bottom: 28px !important;
    border-bottom: 1px solid rgba(31, 29, 26, 0.12) !important;
  }

  body.review-page.is-technical-spec .tech-research-hero h2 {
    max-width: 100% !important;
    margin: 8px 0 18px !important;
    font-size: clamp(44px, 7vw, 56px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.012em !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-wrap: balance !important;
  }

  body.review-page.is-technical-spec .tech-research-hero > p:not(.review-eyebrow) {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.82 !important;
  }

  body.review-page.is-technical-spec .tech-research-layout {
    display: block !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  body.review-page.is-technical-spec .tech-research-toc {
    position: sticky !important;
    top: 118px !important;
    left: auto !important;
    z-index: 55 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 0 30px !important;
    padding: 8px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 1px solid rgba(31, 29, 26, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(251, 250, 247, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    scrollbar-width: none !important;
  }

  body.review-page.is-technical-spec .tech-research-toc::-webkit-scrollbar {
    display: none !important;
  }

  body.review-page.is-technical-spec .tech-research-toc strong,
  body.review-page.is-technical-spec .tech-research-toc a {
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }

  body.review-page.is-technical-spec .tech-research-article,
  body.review-page.is-technical-spec .tech-paper-section {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  body.review-page.is-technical-spec .tech-paper-section {
    padding: 54px 0 66px !important;
  }

  body.review-page.is-technical-spec .tech-paper-section h3 {
    max-width: 100% !important;
    font-size: clamp(32px, 5.2vw, 42px) !important;
    line-height: 1.16 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-wrap: pretty !important;
  }

  body.review-page.is-technical-spec .tech-paper-section > p:not(.review-eyebrow):not(.tech-footnote) {
    max-width: 100% !important;
  }

  body.review-page.is-technical-spec .tech-summary-grid,
  body.review-page.is-technical-spec .tech-param-overview,
  body.review-page.is-technical-spec .tech-observation-panel,
  body.review-page.is-technical-spec .tech-chart-grid,
  body.review-page.is-technical-spec .tech-limits-grid,
  body.review-page.is-technical-spec .tech-eval-protocol,
  body.review-page.is-technical-spec .tech-method-flow,
  body.review-page.is-technical-spec .tech-pipeline-canvas {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  body.review-page.is-technical-spec .tech-method-flow::before {
    display: none !important;
  }

  body.review-page.is-technical-spec .tech-research-table,
  body.review-page.is-technical-spec .tech-dataset-matrix,
  body.review-page.is-technical-spec .tech-benchmark-table,
  body.review-page.is-technical-spec .tech-eval-table,
  body.review-page.is-technical-spec .tech-reference-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.review-page.is-technical-spec .tech-research-table div,
  body.review-page.is-technical-spec .tech-benchmark-table > div,
  body.review-page.is-technical-spec .tech-eval-table div {
    min-width: 720px !important;
  }

  body.review-page.is-technical-spec .tech-dataset-matrix {
    grid-template-columns: 132px repeat(5, minmax(132px, 1fr)) !important;
  }

  body.review-page.is-technical-spec .tech-case-index .tech-case-head {
    display: none !important;
  }

  body.review-page.is-technical-spec .tech-case-index .tech-case-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 18px 0 !important;
  }

  body.review-page.is-technical-spec .tech-case-index em {
    justify-self: start !important;
    min-height: 40px !important;
  }

  body.review-page.is-technical-spec .tech-reference-layout {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    overflow-x: clip !important;
  }

  body.review-page.is-technical-spec .tech-reference-feature {
    display: none !important;
  }

  body.review-page.is-technical-spec .tech-repro-strip {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 58px 28px max(66px, calc(58px + env(safe-area-inset-bottom))) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    text-align: left !important;
  }

  body.review-page.is-technical-spec .tech-repro-strip nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
}

@media (max-width: 430px) {
  .review-topnav a {
    font-size: 12px !important;
    padding: 0 4px !important;
  }

  .review-actions a {
    min-height: 40px !important;
  }

  body.review-page.is-technical-spec .tech-research-hero h2 {
    font-size: clamp(34px, 10.4vw, 42px) !important;
  }

  body.review-page.is-technical-spec .tech-research-toc {
    top: 110px !important;
  }
}

.free-chat-composer textarea:disabled,
.free-chat-composer button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

/* Classic case comparison: matched Codex-style chat columns. */
.review-page.is-preset-cases .review-hero {
  display: block;
  margin-bottom: 14px;
}

.review-page.is-preset-cases .review-hero > div > p:not(.review-eyebrow) {
  display: none;
}

.review-page.is-preset-cases .review-shell {
  padding-top: 18px;
}

#preset-cases {
  --review-panel-height: clamp(584px, calc(100dvh - 244px), 720px);
  grid-template-areas: "notice" "chats";
}

#preset-cases .review-evidence-note {
  grid-area: notice;
  margin: 0;
  color: #62594f;
  font-size: 13px;
  line-height: 1.6;
}

#preset-cases .review-chat-grid {
  grid-template-areas: "baseline optimized";
  gap: 10px 28px;
}

#preset-cases .review-chat-panel {
  grid-template-rows: 42px minmax(0, 1fr);
  gap: 8px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#preset-cases .review-chat-panel > header {
  min-height: 42px;
  align-items: end;
  border-bottom: 0;
  padding: 0 4px 8px;
}

#preset-cases .review-chat-window {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 170px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    0 0 0 1px rgba(48, 43, 36, 0.1),
    0 3px 8px rgba(48, 43, 36, 0.06);
}

#preset-cases .review-chat-panel > header .review-eyebrow {
  margin: 0 0 2px;
  color: #8d4a2f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

#preset-cases .review-chat-panel > header h2 {
  margin: 0;
  color: #28231e;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.2;
}

.review-chat-response {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#preset-cases .review-chat-stream {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  gap: 22px;
  border: 0;
  border-radius: 0;
  padding: 18px 14px 24px;
  background: transparent;
  box-shadow: none;
  outline: none;
}

#preset-cases .review-chat-stream:hover,
#preset-cases .review-chat-stream:focus-visible,
#preset-cases .review-chat-stream.is-scrolling {
  scrollbar-color: rgba(74, 67, 60, 0.32) transparent;
}

#preset-cases .review-chat-stream::-webkit-scrollbar {
  width: 6px;
}

#preset-cases .review-chat-stream::-webkit-scrollbar-track {
  background: transparent;
}

#preset-cases .review-chat-stream::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
}

#preset-cases .review-chat-stream:hover::-webkit-scrollbar-thumb,
#preset-cases .review-chat-stream:focus-visible::-webkit-scrollbar-thumb,
#preset-cases .review-chat-stream.is-scrolling::-webkit-scrollbar-thumb {
  background: rgba(74, 67, 60, 0.28);
}

#preset-cases .review-chat-stream:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(22, 72, 63, 0.24);
}

.review-jump-latest {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(48, 43, 36, 0.13);
  border-radius: 999px;
  padding: 0 11px;
  color: #3f3933;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(48, 43, 36, 0.14);
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.review-jump-latest[hidden] {
  display: none;
}

.review-jump-latest b {
  color: #16483f;
  font-size: 15px;
}

.review-jump-latest:hover {
  border-color: rgba(22, 72, 63, 0.28);
  background: #fff;
}

.review-jump-latest:focus-visible {
  outline: 3px solid rgba(22, 72, 63, 0.28);
  outline-offset: 2px;
}

#preset-cases .review-user-message {
  width: min(78%, 390px);
}

#preset-cases .review-user-stack {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

#preset-cases .review-user-attachment-preview {
  width: max-content;
  max-width: 100%;
  display: grid;
  justify-items: end;
  gap: 5px;
  appearance: none;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  filter: none;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

#preset-cases .review-user-attachment-preview img {
  width: 108px;
  height: 108px;
  border: 1px solid rgba(48, 43, 36, 0.1);
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  background: #fff;
  box-shadow: 0 4px 12px rgba(50, 44, 35, 0.08);
}

#preset-cases .review-user-text {
  align-self: flex-end;
  width: fit-content;
  max-width: 100%;
  border-radius: 20px 20px 6px 20px;
  padding: 12px 15px;
  color: #24211e;
  background: #f0f0ee;
  box-shadow: none;
  font-size: 13.5px;
  line-height: 1.58;
  text-align: left;
}

#preset-cases .review-assistant-message {
  padding: 0 8px 8px 2px;
}

.review-assistant-content {
  display: block;
  max-width: 760px;
  color: #282522;
  font-size: 13.5px;
  line-height: 1.62;
}

.review-entry-list {
  display: grid;
  gap: 3px;
  margin: 0 0 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.review-entry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  min-height: 0;
  border: 0;
  padding: 1px 0;
  background: transparent;
}

.review-entry-row > strong {
  flex: 0 0 auto;
  margin-right: 2px;
  color: #68615a;
  font-size: 13px;
  font-weight: 600;
}

.review-entry-row.is-credit > strong {
  color: #68615a;
}

#preset-cases .review-assistant-message .review-entry-row > span {
  display: inline;
  flex: 0 1 auto;
  overflow: visible;
  margin: 0;
  color: #2f2b27;
  font-size: 13.5px;
  font-weight: 400;
  text-overflow: clip;
  white-space: normal;
}

.review-entry-row > b {
  flex: 0 0 auto;
  margin-left: 10px;
  color: #2f2b27;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.review-entry-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-top: 3px;
  padding: 1px 0;
  color: #5e5852;
  font-size: 13px;
}

#preset-cases .review-assistant-message .review-entry-summary > span {
  display: block;
  margin: 0;
  color: #5e5852;
  font-size: 13px;
  font-weight: 400;
}

.review-entry-summary strong {
  color: #4a433c;
}

.review-entry-summary.is-balanced strong,
.review-entry-summary.is-balanced span {
  color: #3d665c;
}

.review-entry-summary.is-warning strong,
.review-entry-summary.is-warning span {
  color: #9a4d33;
}

#preset-cases .review-entry-copy,
#preset-cases .review-entry-note {
  margin: 0 0 9px;
  color: #4d463f;
  font-size: 13.5px;
  line-height: 1.62;
}

.review-entry-note {
  border: 0;
  padding: 0;
  color: #6b625b;
}

#preset-cases .review-assistant-message.is-streaming .review-assistant-content::after {
  width: 6px;
  height: 14px;
  border-radius: 999px;
  background: #16483f;
  content: "";
  animation: review-caret 900ms steps(2, start) infinite;
}

#preset-cases .review-assistant-message.is-streaming p::after {
  display: none;
  content: none;
}

#preset-cases .review-chat-composer {
  justify-self: stretch;
  width: auto;
  min-height: 160px;
  height: 160px;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 34px;
  gap: 6px;
  margin: 0 10px 10px;
  border-color: rgba(48, 43, 36, 0.14);
  border-radius: 16px;
  padding: 10px 12px 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

#preset-cases .review-chat-composer.has-attachment {
  grid-template-rows: 48px minmax(46px, 1fr) 34px;
}

#preset-cases .composer-attachment-row {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
}

#preset-cases .review-chat-composer .review-attachment-chip,
#preset-cases .review-chat-composer .material-preview-trigger {
  width: 48px;
}

#preset-cases .review-chat-composer .review-attachment-chip::before,
#preset-cases .review-chat-composer .review-attachment-chip img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

#preset-cases .review-chat-composer .review-attachment-chip img {
  object-fit: cover;
  object-position: top;
  box-shadow: inset 0 0 0 1px rgba(48, 43, 36, 0.1);
}

#preset-cases .review-chat-composer .attachment-remove {
  top: -5px;
  right: -5px;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  border-width: 2px;
}

#preset-cases .review-chat-composer .attachment-remove::before,
#preset-cases .review-chat-composer .attachment-remove::after {
  width: 8px;
  height: 1.4px;
}

#preset-cases .review-chat-composer textarea {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 0;
  height: 100%;
  max-height: none;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 10px 0 0;
  color: #2a2825;
  font-size: 14px;
  line-height: 1.62;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 67, 60, 0.28) transparent;
}

#preset-cases .review-chat-composer.has-attachment textarea {
  grid-row: 2;
  min-height: 46px;
  max-height: 46px;
}

#preset-cases .review-chat-composer textarea::-webkit-scrollbar {
  width: 6px;
}

#preset-cases .review-chat-composer textarea::-webkit-scrollbar-track {
  background: transparent;
}

#preset-cases .review-chat-composer textarea::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(74, 67, 60, 0.24);
}

#preset-cases .composer-actions {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  gap: 6px;
}

#preset-cases .review-chat-composer.has-attachment .composer-actions {
  grid-row: 3;
}

#preset-cases .composer-tool {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border-color: transparent;
  background: transparent;
}

#preset-cases .composer-model-picker {
  min-width: 0;
  min-height: 32px;
  overflow: hidden;
  padding: 0 6px;
  color: #655d55;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#preset-cases .composer-model-picker::after {
  display: none;
}

#preset-cases .composer-tool:focus-visible {
  outline: none;
  border-color: rgba(32, 33, 31, 0.24);
  box-shadow: 0 0 0 2px rgba(32, 33, 31, 0.12);
}

#preset-cases .review-chat-composer [data-run-comparison] {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  box-sizing: border-box;
  margin-left: 0;
  background-color: #20211f;
  background-size: 16px 16px;
  border-color: #20211f;
  box-shadow: none;
}

#preset-cases .case-picker-popover {
  bottom: 46px;
}

/* Full-screen dark image viewer. */
html.material-viewer-open,
body.material-viewer-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.material-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #fff;
  background: rgba(8, 9, 10, 0.96);
}

.material-lightbox::backdrop {
  background: rgba(4, 5, 6, 0.82);
  backdrop-filter: blur(6px);
}

.material-viewer-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: transparent;
  user-select: none;
}

.material-viewer-dismiss {
  position: absolute;
  z-index: 2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-out;
}

.material-viewer-dismiss.is-top {
  top: 0;
  right: 0;
  left: 0;
  height: 64px;
}

.material-viewer-dismiss.is-right {
  top: 64px;
  right: 0;
  bottom: 74px;
  width: 88px;
}

.material-viewer-dismiss.is-bottom {
  right: 0;
  bottom: 0;
  left: 0;
  height: 74px;
}

.material-viewer-dismiss.is-left {
  top: 64px;
  bottom: 74px;
  left: 0;
  width: 88px;
}

.material-viewer-canvas {
  position: absolute;
  inset: 64px 88px 74px;
  overflow: hidden;
  outline: none;
  touch-action: none;
  cursor: default;
}

.material-viewer-canvas.is-zoomed {
  cursor: grab;
}

.material-viewer-canvas.is-panning {
  cursor: grabbing;
}

.material-viewer-canvas:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.material-viewer-canvas img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.44);
  transform-origin: center;
  will-change: transform;
  pointer-events: auto;
}

.material-viewer-actions {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.material-viewer-actions a,
.material-viewer-actions button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: #17191b;
  background: #fff;
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.material-viewer-actions svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.material-viewer-actions a:hover,
.material-viewer-actions button:hover {
  background: #eceeef;
}

.material-viewer-actions a:focus-visible,
.material-viewer-actions button:focus-visible,
.material-viewer-zoom button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.52);
  outline-offset: 3px;
}

.material-viewer-zoom {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: grid;
  grid-template-columns: 42px 74px 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(24, 25, 27, 0.86);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.material-viewer-zoom button {
  min-width: 0;
  height: 38px;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.material-viewer-zoom button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.material-viewer-zoom button:disabled {
  color: rgba(255, 255, 255, 0.28);
  cursor: default;
}

.material-viewer-zoom .material-viewer-zoom-value {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
}

@media (prefers-reduced-motion: reduce) {
  #preset-cases .review-assistant-message.is-streaming .review-assistant-content::after,
  .comparison-tour.is-step-entering .comparison-tour-ring,
  .comparison-tour.is-step-entering .comparison-tour-bubble {
    animation: none;
  }
}
