/* ==========================================================================
   鉴定师工具箱 · components.css
   --------------------------------------------------------------------------
   01 面板 / HUD       02 eyebrow         03 按钮             04 状态胶囊
   05 全息视窗         06 读数 / 规格 / 流程  07 boot 屏       08 步骤条 / 进度 / 侧栏 / 估值
   09 标准参照图       10 字段 / 选项卡    11 输入组           12 反馈
   13 步骤导航         14 判定 / 价格 / 事实  15 账本           16 组合判定
   17 meta / 终止 / 跳过  18 灯箱         19 toast            20 组件响应式
   ========================================================================== */

/* ==========================================================================
   01 面板 / HUD
   ========================================================================== */
.panel {
  position: relative;
  padding: clamp(14px, 1.8vw, 20px);
  border: 1px solid var(--line-0);
  background:
    linear-gradient(162deg, rgba(16, 28, 45, 0.82), rgba(8, 15, 25, 0.9)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 0 40px rgba(0, 0, 0, 0.16);
  clip-path: polygon(0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)));
  isolation: isolate;
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-0);
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-0);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.panel__title::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 9px rgb(var(--accent-rgb) / 0.8);
  transform: rotate(45deg);
}

.panel__en {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

/* ==========================================================================
   02 eyebrow / 文本小件
   ========================================================================== */
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.eyebrow__code {
  padding: 3px 8px;
  border: 1px solid rgb(var(--accent-rgb) / 0.34);
  background: rgb(var(--accent-rgb) / 0.07);
  color: var(--accent);
  line-height: 1.3;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.eyebrow__sep {
  color: var(--ink-3);
  opacity: 0.65;
}

.eyebrow__en {
  color: var(--ink-2);
  letter-spacing: 0.22em;
}

.lede {
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.78;
}

/* ==========================================================================
   03 按钮
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--line-1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
  color: var(--ink-1);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.btn .icon {
  width: 1.12em;
  height: 1.12em;
}

/* 掠过式高光 */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 26%, rgba(255, 255, 255, 0.14) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 0.62s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn:hover {
  border-color: rgb(var(--accent-rgb) / 0.5);
  color: var(--ink-0);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  border-color: var(--line-0);
  color: var(--ink-3);
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.35);
  transform: none;
}

.btn:disabled::after,
.btn[aria-disabled="true"]::after {
  display: none;
}

.btn__arrow {
  transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--primary {
  border-color: rgb(var(--accent-rgb) / 0.62);
  background: linear-gradient(
    135deg,
    rgb(var(--accent-rgb) / 0.24),
    rgb(var(--accent-rgb) / 0.08) 56%,
    rgb(var(--accent-2-rgb) / 0.14)
  );
  color: var(--ink-0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 24px rgb(var(--accent-rgb) / 0.12),
    0 0 26px rgb(var(--accent-rgb) / 0.14);
  text-shadow: 0 0 18px rgb(var(--accent-rgb) / 0.5);
}

.btn--primary:hover {
  border-color: rgb(var(--accent-rgb) / 0.9);
  background: linear-gradient(
    135deg,
    rgb(var(--accent-rgb) / 0.34),
    rgb(var(--accent-rgb) / 0.14) 56%,
    rgb(var(--accent-2-rgb) / 0.2)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 28px rgb(var(--accent-rgb) / 0.18),
    0 0 34px rgb(var(--accent-rgb) / 0.24);
}

.btn--danger,
.btn--primary.btn--danger {
  border-color: rgba(255, 77, 99, 0.62);
  background: linear-gradient(
    135deg,
    rgba(255, 77, 99, 0.26),
    rgba(255, 77, 99, 0.09) 56%,
    rgba(255, 157, 107, 0.14)
  );
  color: #ffe9ec;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 24px rgba(255, 77, 99, 0.14),
    0 0 26px rgba(255, 77, 99, 0.16);
  text-shadow: 0 0 18px rgba(255, 77, 99, 0.5);
}

.btn--danger:hover,
.btn--primary.btn--danger:hover {
  border-color: rgba(255, 77, 99, 0.9);
  background: linear-gradient(
    135deg,
    rgba(255, 77, 99, 0.36),
    rgba(255, 77, 99, 0.15) 56%,
    rgba(255, 157, 107, 0.2)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 28px rgba(255, 77, 99, 0.2),
    0 0 34px rgba(255, 77, 99, 0.24);
}

.btn--ghost {
  border-color: var(--line-1);
  background: transparent;
  color: var(--ink-1);
}

.btn--ghost:hover {
  border-color: rgb(var(--accent-rgb) / 0.42);
  background: rgba(255, 255, 255, 0.03);
}

.btn--quiet {
  min-height: 44px;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
  color: var(--ink-2);
  clip-path: none;
}

.btn--quiet:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-0);
}

.btn--lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 15px;
  letter-spacing: 0.14em;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.btn--nav {
  min-width: 116px;
}

/* ==========================================================================
   04 状态胶囊
   ========================================================================== */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--line-0);
  background: rgba(8, 14, 23, 0.6);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.status-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgb(125 255 176 / 0.85);
  animation: status-pulse 2.6s ease-in-out infinite;
}

.status-chip[data-status="busy"] .status-chip__dot,
.status-chip[data-status="warn"] .status-chip__dot {
  background: var(--amber);
  box-shadow: 0 0 8px rgb(255 194 71 / 0.85);
}

/* ==========================================================================
   05 全息视窗 holo-frame
   ========================================================================== */
.holo-frame {
  position: relative;
  display: block;
  padding: clamp(12px, 1.6vw, 20px);
  overflow: hidden;
  border: 1px solid rgb(var(--accent-rgb) / 0.22);
  background:
    radial-gradient(78% 88% at 50% 56%, rgb(var(--accent-rgb) / 0.1), transparent 70%),
    linear-gradient(180deg, rgba(9, 17, 29, 0.9), rgba(5, 10, 18, 0.94));
  box-shadow:
    inset 0 0 60px rgb(var(--accent-rgb) / 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  isolation: isolate;
}

/* 四角括号 */
.holo-frame__corner {
  position: absolute;
  z-index: 4;
  width: clamp(18px, 2.4vw, 28px);
  height: clamp(18px, 2.4vw, 28px);
  border: 1.5px solid rgb(var(--accent-rgb) / 0.85);
  filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / 0.55));
  pointer-events: none;
}

.holo-frame__corner--tl {
  top: 9px;
  left: 9px;
  border-right: 0;
  border-bottom: 0;
}

.holo-frame__corner--tr {
  top: 9px;
  right: 9px;
  border-bottom: 0;
  border-left: 0;
}

.holo-frame__corner--bl {
  bottom: 9px;
  left: 9px;
  border-top: 0;
  border-right: 0;
}

.holo-frame__corner--br {
  right: 9px;
  bottom: 9px;
  border-top: 0;
  border-left: 0;
}

/* 网格 */
.holo-frame__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgb(var(--accent-rgb) / 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--accent-rgb) / 0.075) 1px, transparent 1px),
    linear-gradient(rgb(var(--accent-rgb) / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--accent-rgb) / 0.05) 1px, transparent 1px);
  background-size:
    38px 38px,
    38px 38px,
    152px 152px,
    152px 152px;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 26%, transparent 84%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 26%, transparent 84%);
  pointer-events: none;
}

/* 底部投影光 */
.holo-frame::after {
  content: "";
  position: absolute;
  right: 14%;
  bottom: 12%;
  left: 14%;
  z-index: 1;
  height: 14%;
  background: radial-gradient(ellipse at center, rgb(var(--accent-rgb) / 0.24), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

.holo-frame__img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: clamp(168px, 21vw, 292px);
  margin: 0 auto;
  object-fit: contain;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 22px 26px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 18px rgb(var(--accent-rgb) / 0.3));
}

/* 循环扫描光 */
.holo-frame__scan {
  position: absolute;
  top: -60%;
  right: 0;
  left: 0;
  z-index: 3;
  height: 60%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgb(var(--accent-rgb) / 0.035) 45%,
    rgb(var(--accent-rgb) / 0.1) 82%,
    rgb(var(--accent-rgb) / 0.55) 97%,
    transparent 100%
  );
  mix-blend-mode: screen;
  animation: holo-scan 4.6s linear infinite;
  pointer-events: none;
}

.holo-frame__hud {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid rgb(var(--accent-rgb) / 0.22);
  background: rgba(4, 8, 14, 0.62);
  color: rgb(var(--accent-rgb) / 0.9);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.holo-frame__hud::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.holo-frame__hud--tl {
  top: 14px;
  left: 16px;
}

.holo-frame__hud--br {
  right: 16px;
  bottom: 14px;
}

/* ==========================================================================
   06 读数 / 规格 / 流程
   ========================================================================== */
.readout-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-0);
  background: var(--line-0);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 6px 9px;
  background: rgba(7, 13, 23, 0.94);
}

.readout__label {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.readout__value {
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line-0);
}

.spec__label {
  color: var(--ink-2);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.spec__value {
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.flow-list__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 9px;
  border: 1px solid var(--line-0);
  background: rgba(255, 255, 255, 0.018);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

.flow-list__idx {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.flow-list__name {
  color: var(--ink-1);
  font-size: 11px;
  line-height: 1.35;
}

/* ==========================================================================
   07 boot 屏
   ========================================================================== */
.boot-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: clamp(360px, 52vh, 520px);
  text-align: center;
  animation: boot-in 0.3s var(--ease) both;
}

.boot-screen__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--accent);
  filter: drop-shadow(0 0 16px rgb(var(--accent-rgb) / 0.5));
}

.boot-screen__mark::before {
  content: "";
  position: absolute;
  inset: -13px;
  border: 1px dashed rgb(var(--accent-rgb) / 0.32);
  border-radius: 50%;
  animation: boot-spin 9s linear infinite;
}

.boot-screen__mark svg {
  width: 34px;
  height: 34px;
}

.boot-screen__text {
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  animation: boot-flicker 2.4s steps(2, end) infinite;
}

.boot-screen__bar {
  position: relative;
  width: min(260px, 62vw);
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
}

.boot-screen__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.7);
  animation: boot-scan 1.5s var(--ease-in-out) infinite;
}

/* ==========================================================================
   08 步骤条 / 进度 / 侧栏 / 估值
   ========================================================================== */
.rail-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--line-0);
  background: linear-gradient(160deg, rgba(13, 24, 39, 0.84), rgba(7, 13, 22, 0.92));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  isolation: isolate;
}

.rail-panel--estimate {
  gap: 8px;
}

.rail-panel__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.rail-panel__label::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  box-shadow: 0 0 8px rgb(var(--accent-rgb) / 0.8);
}

/* --- 步骤条 --- */
.stepper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stepper__item {
  position: relative;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 5px 0;
  color: var(--ink-3);
  transition: color var(--dur) var(--ease);
}

.stepper__item::before {
  content: "";
  position: absolute;
  top: 33px;
  bottom: -3px;
  left: 13px;
  width: 1px;
  background: var(--line-0);
}

.stepper__item:last-child::before {
  display: none;
}

.stepper__idx {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line-1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.stepper__name {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stepper__meta {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  opacity: 0.85;
}

.stepper__item[data-state="done"] .stepper__idx {
  border-color: rgb(125 255 176 / 0.4);
  background: rgb(125 255 176 / 0.08);
  color: var(--lime);
}

.stepper__item[data-state="done"] .stepper__name {
  color: var(--ink-1);
}

.stepper__item[data-state="done"] .stepper__meta {
  color: rgb(125 255 176 / 0.8);
}

.stepper__item[data-state="done"]::before {
  background: linear-gradient(rgb(125 255 176 / 0.4), var(--line-0));
}

.stepper__item[data-state="active"] .stepper__idx {
  border-color: rgb(var(--accent-rgb) / 0.75);
  background: rgb(var(--accent-rgb) / 0.14);
  color: var(--accent);
  box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.35);
}

.stepper__item[data-state="active"] .stepper__name {
  color: var(--ink-0);
  font-weight: 600;
}

.stepper__item[data-state="active"] .stepper__meta {
  color: var(--accent);
}

.stepper__item[data-state="active"]::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -16px;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.8);
}

.stepper__item[data-state="pending"] {
  opacity: 0.68;
}

/* --- 进度条 --- */
.progressbar {
  position: relative;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.progressbar__fill {
  position: relative;
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.35), var(--accent));
  box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.65);
  transition: width var(--dur-slow) var(--ease);
}

.progressbar__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-100%);
  animation: progress-sheen 2.6s var(--ease-in-out) infinite;
}

.progress-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.progress-caption span {
  color: rgb(var(--accent-rgb) / 0.7);
}

/* --- 实时估值 --- */
.estimate__value {
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px rgb(var(--accent-rgb) / 0.35);
}

.estimate__note {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.estimate__rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-0);
}

.estimate__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line-0);
}

.estimate__row-label {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estimate__row-delta {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.estimate__combos {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.combo-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px dashed var(--line-1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: nowrap;
}

.combo-chip::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  opacity: 0.75;
}

.combo-chip.is-met,
.combo-chip[data-state="met"] {
  border-style: solid;
  border-color: rgb(125 255 176 / 0.34);
  background: rgb(125 255 176 / 0.07);
  color: var(--lime) !important;
}

.combo-chip.is-pending,
.combo-chip[data-state="pending"] {
  border-style: dashed;
  border-color: var(--line-1);
  color: var(--ink-2);
}

.combo-chip.is-unmet,
.combo-chip[data-state="unmet"] {
  border-style: dashed;
  color: var(--ink-3);
}

.combo-chip.is-fake {
  border-style: solid;
  border-color: rgba(255, 77, 99, 0.42);
  background: rgba(255, 77, 99, 0.09);
  color: #ff97a3 !important;
}

.combo-chip.is-fake::before {
  background: var(--danger);
  box-shadow: 0 0 6px rgba(255, 77, 99, 0.7);
  opacity: 1;
}

.estimate__floor {
  padding: 7px 9px;
  border: 1px solid rgb(255 194 71 / 0.3);
  border-left: 2px solid var(--amber);
  background: rgba(255, 194, 71, 0.07);
  color: #ffd98a;
  font-size: 10px;
  line-height: 1.55;
}

.estimate__warning {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 77, 99, 0.34);
  border-left: 2px solid var(--danger);
  background: rgba(255, 77, 99, 0.08);
  color: #ffc2c9;
  font-size: 10px;
  line-height: 1.55;
}

.estimate__warning .icon {
  flex: none;
  margin-top: 0.15em;
  color: var(--danger);
}

/* ==========================================================================
   09 标准参照图
   ========================================================================== */
.reference-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-0);
  background:
    linear-gradient(160deg, rgba(13, 24, 39, 0.8), rgba(7, 13, 22, 0.9)),
    var(--panel);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.reference-card__thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgb(var(--accent-rgb) / 0.18);
  background-color: rgba(4, 8, 14, 0.65);
  background-image:
    radial-gradient(64% 84% at 50% 52%, rgb(var(--accent-rgb) / 0.1), transparent 74%),
    linear-gradient(rgb(var(--accent-rgb) / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--accent-rgb) / 0.055) 1px, transparent 1px);
  background-size:
    auto,
    16px 16px,
    16px 16px;
  cursor: zoom-in;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.reference-card__thumb:hover {
  border-color: rgb(var(--accent-rgb) / 0.45);
}

.reference-card__img {
  width: 100%;
  height: clamp(118px, 10.6vw, 164px);
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 12px rgb(var(--accent-rgb) / 0.35));
  transition: transform var(--dur) var(--ease);
}

.reference-card__thumb:hover .reference-card__img {
  transform: scale(1.035);
}

.reference-card__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  background: rgba(4, 8, 14, 0.82);
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.reference-card__thumb:hover .reference-card__zoom,
.reference-card__thumb:focus-visible .reference-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.reference-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-right: 6px;
}

.reference-card__kicker {
  color: rgb(var(--accent-rgb) / 0.8);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  line-height: 1.5;
}

.reference-card__title {
  color: var(--ink-0);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.reference-card__desc {
  max-width: 44ch;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ==========================================================================
   10 字段 / 选项卡
   ========================================================================== */
.step-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.field-block {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  padding: 17px 0 18px;
  border-top: 1px solid var(--line-0);
}

.field-block:first-child {
  padding-top: 2px;
  border-top: 0;
}

.field-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}

.field-block__title {
  position: relative;
  padding-left: 12px;
  color: var(--ink-0);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.field-block__title::before {
  content: "";
  position: absolute;
  top: 0.32em;
  bottom: 0.32em;
  left: 0;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgb(var(--accent-rgb) / 0.8);
}

.field-block__hint {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.field-block__body {
  min-width: 0;
}

.field-block__foot {
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.6;
}

.option-grid {
  display: grid;
  gap: 9px;
  min-width: 0;
}

/* 媒体卡片：按选项数量自适应列数（3 / 2 / 4），移动端统一 2 列 */
.option-grid--media {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-grid--media:where(:has(> .option-card:nth-child(2):last-child)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-grid--media:where(:has(> .option-card:nth-child(4):last-child)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-grid--text {
  grid-template-columns: repeat(auto-fit, minmax(min(176px, 100%), 1fr));
}

/* 竖图（机械手裁切）/ 横图（燃料匣）使用不同的媒体盒高度，保证行高一致 */
body[data-item="gloves"] {
  --opt-media-h: clamp(112px, 10.6vw, 150px);
}

body[data-item="ion"] {
  --opt-media-h: clamp(74px, 6.6vw, 96px);
}

body[data-item="ribwitch"] {
  --opt-media-h: clamp(84px, 7.2vw, 104px);
}

/* --- 选项卡 --- */
.option-card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.option-card__input {
  /* 保留原生 input，视觉隐藏由 .sr-only 完成 */
}

.option-card__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 10px;
  align-items: center;
  height: 100%;
  min-height: 58px;
  padding: 10px 11px;
  overflow: hidden;
  border: 1px solid var(--line-0);
  background:
    linear-gradient(158deg, rgba(14, 25, 40, 0.72), rgba(8, 14, 24, 0.9)),
    var(--panel);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
  transition:
    border-color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

/* 选中瞬间的一次性扫描光 */
.option-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / 0.22), transparent);
  transform: translateX(-110%);
  pointer-events: none;
}

.option-card:hover .option-card__inner {
  border-color: var(--line-1);
  background-color: rgba(255, 255, 255, 0.02);
  transform: translateY(-1px);
}

.option-card__media {
  position: relative;
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  height: var(--opt-media-h, clamp(84px, 7.2vw, 104px));
  padding: 5px 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background-color: rgba(4, 8, 14, 0.55);
  background-image:
    radial-gradient(60% 88% at 50% 52%, rgb(var(--accent-rgb) / 0.09), transparent 74%),
    linear-gradient(rgb(var(--accent-rgb) / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--accent-rgb) / 0.045) 1px, transparent 1px);
  background-size:
    auto,
    14px 14px,
    14px 14px;
}

.option-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 9px rgb(var(--accent-rgb) / 0.3));
  transition: filter var(--dur) var(--ease);
}

/* 无照片选项：大号图标占位（与图片媒体区同高） */
.option-card__media--icon {
  color: rgb(var(--accent-rgb) / 0.52);
  background-image:
    radial-gradient(52% 78% at 50% 50%, rgb(var(--accent-rgb) / 0.08), transparent 76%),
    linear-gradient(rgb(var(--accent-rgb) / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--accent-rgb) / 0.04) 1px, transparent 1px);
}

.option-card__media--icon .icon--lg {
  width: clamp(26px, 3vw, 38px);
  height: clamp(26px, 3vw, 38px);
  opacity: 0.85;
}

/* 选项小字说明 */
.option-card__note {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 9.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.option-card__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.option-card__name {
  color: var(--ink-1);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  transition: color var(--dur-fast) var(--ease);
}

.option-card__en {
  overflow: hidden;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.option-card__delta {
  justify-self: end;
  padding: 2px 6px;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  white-space: nowrap;
}

.option-card__delta[data-tone="plus"] {
  border-color: rgb(125 255 176 / 0.26);
  background: rgb(125 255 176 / 0.07);
  color: var(--lime);
}

.option-card__delta[data-tone="minus"] {
  border-color: rgb(255 77 99 / 0.26);
  background: rgb(255 77 99 / 0.07);
  color: var(--danger);
}

.option-card__delta[data-tone="zero"] {
  color: var(--ink-3);
}

.option-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(var(--accent-rgb) / 0.55);
  background: rgb(var(--accent-rgb) / 0.12);
  color: var(--accent);
  opacity: 0;
  transform: scale(0.6);
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
  transition:
    opacity 0.16s var(--ease),
    transform 0.16s var(--ease);
}

.option-card__check .icon {
  width: 11px;
  height: 11px;
  stroke-width: 2.4;
}

/* --- 文本型选项（紧凑横排） --- */
.option-grid--text .option-card__inner {
  grid-template-columns: minmax(0, 1fr) auto 18px;
  min-height: 50px;
  padding: 9px 10px;
}

.option-grid--text .option-card__check {
  position: static;
  grid-column: 3;
  justify-self: end;
  opacity: 0;
  transform: scale(0.6);
}

/* --- 选中态 --- */
.option-card__input:checked + .option-card__inner {
  border-color: rgb(var(--accent-rgb) / 0.62);
  background:
    linear-gradient(158deg, rgb(var(--accent-rgb) / 0.13), rgba(8, 14, 24, 0.92) 72%),
    var(--panel);
  box-shadow:
    inset 0 0 22px rgb(var(--accent-rgb) / 0.1),
    0 0 16px rgb(var(--accent-rgb) / 0.1);
}

.option-card__input:checked + .option-card__inner .option-card__name {
  color: var(--ink-0);
}

.option-card__input:checked + .option-card__inner .option-card__check {
  opacity: 1;
  transform: scale(1);
}

.option-card__input:checked + .option-card__inner::after {
  animation: opt-scan 0.42s var(--ease) 0.04s both;
}

.option-card__input:focus-visible + .option-card__inner {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

/* --- 危险选项（赝品判定） --- */
.option-card--danger .option-card__inner {
  border-color: rgba(255, 77, 99, 0.26);
  background:
    repeating-linear-gradient(135deg, rgba(255, 77, 99, 0.035) 0 7px, transparent 7px 14px),
    linear-gradient(158deg, rgba(28, 18, 27, 0.72), rgba(12, 12, 19, 0.9));
}

.option-card--danger:hover .option-card__inner {
  border-color: rgba(255, 77, 99, 0.42);
}

.option-card--danger .option-card__media {
  background-image:
    radial-gradient(60% 88% at 50% 52%, rgba(255, 77, 99, 0.1), transparent 74%),
    linear-gradient(rgba(255, 77, 99, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 77, 99, 0.05) 1px, transparent 1px);
}

.option-card__flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
  padding: 2px 6px;
  border: 1px solid rgba(255, 77, 99, 0.42);
  background: rgba(255, 77, 99, 0.1);
  color: #ff8c9a;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: nowrap;
}

.option-card__flag::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.option-card--danger .option-card__input:checked + .option-card__inner {
  border-color: rgba(255, 77, 99, 0.72);
  background:
    repeating-linear-gradient(135deg, rgba(255, 77, 99, 0.06) 0 7px, transparent 7px 14px),
    linear-gradient(158deg, rgba(63, 20, 30, 0.85), rgba(12, 12, 19, 0.92));
  box-shadow:
    inset 0 0 24px rgba(255, 77, 99, 0.14),
    0 0 18px rgba(255, 77, 99, 0.16);
}

.option-card--danger .option-card__input:checked + .option-card__inner .option-card__check {
  border-color: rgba(255, 77, 99, 0.7);
  background: rgba(255, 77, 99, 0.18);
  color: var(--danger);
}

.option-card--danger .option-card__input:checked + .option-card__inner::after {
  background: linear-gradient(90deg, transparent, rgba(255, 77, 99, 0.26), transparent);
}

/* ==========================================================================
   11 输入组
   ========================================================================== */
.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.input-unit {
  display: flex;
  flex: 1 1 128px;
  flex-direction: column;
  gap: 5px;
  max-width: 220px;
  min-width: 0;
}

.input-unit__label {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.input-unit__box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 46px;
  padding: 0 11px;
  border: 1px solid var(--line-1);
  background: linear-gradient(180deg, rgba(4, 8, 14, 0.82), rgba(9, 16, 26, 0.9));
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition:
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease);
}

.input-unit__box:hover {
  border-color: rgb(var(--accent-rgb) / 0.4);
}

.input-unit__box:focus-within {
  border-color: rgb(var(--accent-rgb) / 0.72);
  background-color: rgba(10, 18, 30, 0.9);
  box-shadow:
    0 0 0 1px rgb(var(--accent-rgb) / 0.22),
    0 0 18px rgb(var(--accent-rgb) / 0.14);
}

.input-unit__input,
.input-unit__select {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  line-height: 1.4;
  outline: none;
}

.input-unit__input::placeholder {
  color: var(--ink-3);
  opacity: 0.85;
}

.input-unit__input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.input-unit__input[type="number"]::-webkit-outer-spin-button,
.input-unit__input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.input-unit__select {
  padding-right: 18px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.input-unit__box:has(select) {
  padding-right: 24px;
}

.input-unit__select option {
  background: var(--panel-solid);
  color: var(--ink-0);
}

.input-unit__box:has(select)::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 11px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
  pointer-events: none;
}

.input-unit__suffix {
  flex: none;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   12 反馈条
   ========================================================================== */
.field-feedback {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 9px;
  padding: 7px 10px;
  border-left: 2px solid var(--line-1);
  background: rgba(255, 255, 255, 0.022);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.6;
}

.field-feedback::before {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
}

.field-feedback[data-tone="neutral"]::before {
  content: "i";
}

.field-feedback[data-tone="ok"] {
  border-left-color: var(--lime);
  background: rgba(125, 255, 176, 0.055);
  color: #bfe9d0;
}

.field-feedback[data-tone="ok"]::before {
  content: "✓";
}

.field-feedback[data-tone="warn"] {
  border-left-color: var(--amber);
  background: rgba(255, 194, 71, 0.06);
  color: #ffd98a;
}

.field-feedback[data-tone="warn"]::before {
  content: "!";
}

.field-feedback[data-tone="danger"] {
  border: 1px solid rgba(255, 77, 99, 0.38);
  border-left: 2px solid var(--danger);
  background: rgba(255, 77, 99, 0.08);
  color: #ffc2c9;
}

.field-feedback[data-tone="danger"]::before {
  content: "!";
  border-color: var(--danger);
  color: var(--danger);
}

/* 行内错误（默认 hidden / 空文本时不占位） */
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 77, 99, 0.32);
  border-left: 2px solid var(--danger);
  background: rgba(255, 77, 99, 0.08);
  color: #ffc2c9;
  font-size: 11px;
  line-height: 1.5;
}

.field-error:empty {
  display: none;
}

.field-error::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  margin-top: 1px;
  border: 1px solid var(--danger);
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

/* 校验失败字段 */
.field-block.is-invalid .field-block__title::before {
  background: var(--danger);
  box-shadow: 0 0 8px rgba(255, 77, 99, 0.8);
}

.field-block.is-invalid .option-card__inner {
  border-color: rgba(255, 77, 99, 0.5);
}

.field-block.is-invalid .option-card__inner:hover {
  border-color: rgba(255, 77, 99, 0.68);
}

.field-block.is-invalid .input-unit__box {
  border-color: rgba(255, 77, 99, 0.6);
}

.field-block.is-invalid .input-unit__box:focus-within {
  border-color: var(--danger);
  box-shadow:
    0 0 0 1px rgba(255, 77, 99, 0.24),
    0 0 18px rgba(255, 77, 99, 0.16);
}

/* ==========================================================================
   13 步骤导航
   ========================================================================== */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-0);
}

.step-nav__hint {
  flex: 1 1 auto;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   14 判定 / 价格 / 事实
   ========================================================================== */
.verdict-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px 0 10px;
}

.verdict-title__cn {
  color: var(--ink-0);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-shadow:
    0 0 34px rgb(var(--accent-rgb) / 0.28),
    0 0 90px rgb(var(--accent-rgb) / 0.14);
}

.verdict-title__en {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.4vw, 16px);
  font-weight: 500;
  letter-spacing: 0.46em;
  line-height: 1.4;
  text-transform: uppercase;
}

.verdict-note {
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.75;
}

.price-display {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 20px 0 16px;
  padding: clamp(16px, 2.2vw, 24px) clamp(16px, 2.4vw, 26px);
  overflow: hidden;
  border: 1px solid rgb(var(--accent-rgb) / 0.26);
  background:
    radial-gradient(120% 130% at 0% 0%, rgb(var(--accent-rgb) / 0.13), transparent 58%),
    linear-gradient(160deg, rgba(12, 22, 36, 0.9), rgba(6, 11, 19, 0.94));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  isolation: isolate;
}

.price-display::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 12px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid rgb(var(--accent-rgb) / 0.7);
  border-left: 1.5px solid rgb(var(--accent-rgb) / 0.7);
  pointer-events: none;
}

.price-display::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 14px;
  height: 14px;
  border-right: 1.5px solid rgb(var(--accent-rgb) / 0.7);
  border-bottom: 1.5px solid rgb(var(--accent-rgb) / 0.7);
  pointer-events: none;
}

.price-display__label {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  line-height: 1.5;
}

.price-display__number {
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.02;
  text-shadow:
    0 0 30px rgb(var(--accent-rgb) / 0.4),
    0 0 80px rgb(var(--accent-rgb) / 0.18);
}

.price-display__unit {
  margin-top: 4px;
  color: rgb(var(--accent-rgb) / 0.8);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  line-height: 1.5;
}

.verdict-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 1px;
  border: 1px solid var(--line-0);
  background: var(--line-0);
}

.verdict-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 9px 11px;
  background: rgba(7, 13, 22, 0.92);
}

.verdict-fact__label {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verdict-fact__value {
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.result-actions .btn--quiet {
  margin-left: auto;
}

/* ==========================================================================
   15 账本
   ========================================================================== */
.ledger {
  display: flex;
  flex-direction: column;
}

.ledger__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-0);
  color: var(--ink-1);
  font-size: 12px;
  line-height: 1.55;
  opacity: 0;
  animation: row-in 0.4s var(--ease) forwards;
}

.ledger__row:nth-child(1) {
  animation-delay: calc(1 * 26ms);
}

.ledger__row:nth-child(2) {
  animation-delay: calc(2 * 26ms);
}

.ledger__row:nth-child(3) {
  animation-delay: calc(3 * 26ms);
}

.ledger__row:nth-child(4) {
  animation-delay: calc(4 * 26ms);
}

.ledger__row:nth-child(5) {
  animation-delay: calc(5 * 26ms);
}

.ledger__row:nth-child(6) {
  animation-delay: calc(6 * 26ms);
}

.ledger__row:nth-child(7) {
  animation-delay: calc(7 * 26ms);
}

.ledger__row:nth-child(8) {
  animation-delay: calc(8 * 26ms);
}

.ledger__row:nth-child(9) {
  animation-delay: calc(9 * 26ms);
}

.ledger__row:nth-child(10) {
  animation-delay: calc(10 * 26ms);
}

.ledger__row:nth-child(11) {
  animation-delay: calc(11 * 26ms);
}

.ledger__row:nth-child(12) {
  animation-delay: calc(12 * 26ms);
}

.ledger__row:nth-child(13) {
  animation-delay: calc(13 * 26ms);
}

.ledger__row:nth-child(14) {
  animation-delay: calc(14 * 26ms);
}

.ledger__row:nth-child(15) {
  animation-delay: calc(15 * 26ms);
}

.ledger__row:nth-child(16) {
  animation-delay: calc(16 * 26ms);
}

.ledger__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  min-width: 0;
}

.ledger__code {
  flex: none;
  padding: 1px 4px;
  border: 1px solid var(--line-0);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.ledger__text {
  min-width: 0;
}

.ledger__value {
  flex: none;
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.ledger__note {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 9.5px;
  line-height: 1.5;
}

.ledger__row--base {
  color: var(--ink-0);
}

.ledger__row--base .ledger__value {
  font-size: 13px;
}

.ledger__row--combo .ledger__code {
  border-color: rgb(var(--accent-rgb) / 0.3);
  color: var(--accent);
}

.ledger__row--sum {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line-1);
  border-bottom: 0;
  color: var(--ink-0);
  font-weight: 600;
}

.ledger__row--floor {
  color: var(--ink-2);
}

.ledger__row--floor .ledger__value {
  color: var(--amber);
}

.ledger__row--danger {
  border-left: 2px solid var(--danger);
  padding-left: 8px;
  background: rgba(255, 77, 99, 0.07);
  color: #ffc2c9;
}

.ledger__row--final {
  align-items: center;
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid rgb(var(--accent-rgb) / 0.32);
  border-bottom: 1px solid rgb(var(--accent-rgb) / 0.32);
  background: rgb(var(--accent-rgb) / 0.07);
  color: var(--ink-0);
  font-size: 13px;
  font-weight: 600;
}

.ledger__row--final .ledger__value {
  color: var(--ink-0);
  font-size: 19px;
  text-shadow: 0 0 18px rgb(var(--accent-rgb) / 0.4);
}

/* ==========================================================================
   16 组合判定
   ========================================================================== */
.combo-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.combo {
  padding: 10px 12px;
  border: 1px solid var(--line-0);
  background: rgba(255, 255, 255, 0.018);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  opacity: 0;
  animation: row-in 0.45s var(--ease) 0.22s forwards;
}

.combo[data-state="met"] {
  border-color: rgb(125 255 176 / 0.3);
  background: linear-gradient(180deg, rgb(125 255 176 / 0.065), rgba(255, 255, 255, 0.012));
}

.combo[data-state="unmet"] {
  border-color: var(--line-0);
  background: transparent;
}

.combo[data-state="danger"] {
  border-color: rgba(255, 77, 99, 0.4);
  border-left: 2px solid var(--danger);
  background: linear-gradient(180deg, rgba(255, 77, 99, 0.085), rgba(255, 255, 255, 0.012));
}

.combo[data-state="danger"] .combo__name::before {
  border-color: var(--danger);
  background: var(--danger);
  box-shadow: 0 0 8px rgba(255, 77, 99, 0.7);
}

.combo[data-state="danger"] .combo__value {
  color: #ff97a3;
}

.combo__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.combo__name {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-0);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.combo__name::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--ink-3);
  transform: rotate(45deg);
}

.combo[data-state="met"] .combo__name::before {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 8px rgb(125 255 176 / 0.7);
}

.combo__value {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.combo__conditions {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed var(--line-0);
}

.combo__condition {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.55;
}

.combo__condition .icon {
  flex: none;
  margin-top: 0.18em;
  color: var(--ink-3);
}

.combo__condition[data-state="met"] {
  color: var(--ink-1);
}

.combo__condition[data-state="met"] .icon {
  color: var(--lime);
}

.combo__condition[data-state="unmet"] {
  color: var(--ink-3);
}

/* ==========================================================================
   17 meta / 终止 / 跳过
   ========================================================================== */
.meta-panel {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line-0);
  background: rgba(8, 14, 23, 0.5);
}

.meta-panel__line {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

.meta-panel__line b {
  color: var(--ink-2);
  font-weight: 600;
}

.abort-panel {
  margin-top: 4px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(255, 77, 99, 0.42);
  background:
    repeating-linear-gradient(135deg, rgba(255, 77, 99, 0.035) 0 9px, transparent 9px 18px),
    linear-gradient(164deg, rgba(52, 16, 24, 0.72), rgba(9, 9, 15, 0.9));
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  box-shadow: inset 0 0 40px rgba(255, 77, 99, 0.07);
}

.abort-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.abort-panel__badge {
  padding: 4px 9px;
  background: var(--danger);
  color: #0a0509;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.abort-panel__code {
  color: #ff97a3;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.abort-panel__reason {
  margin-bottom: 13px;
  padding-left: 10px;
  border-left: 2px solid var(--danger);
  color: var(--ink-1);
  font-size: 12.5px;
  line-height: 1.75;
}

.abort-panel__label {
  margin-bottom: 7px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.skipped-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skipped {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px dashed var(--line-0);
  background: rgba(255, 255, 255, 0.015);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.5;
}

.skipped .icon {
  color: var(--ink-3);
}

.skipped__name {
  flex: 1 1 auto;
  min-width: 0;
  font-style: normal;
}

.skipped__tag {
  flex: none;
  padding: 1px 5px;
  border: 1px solid var(--line-0);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

/* ==========================================================================
   18 灯箱
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 40px);
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(80% 60% at 50% 30%, rgb(var(--accent-rgb) / 0.07), transparent 70%),
    rgba(2, 4, 8, 0.88);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  cursor: zoom-out;
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(92vw, 1280px);
  max-width: 100%;
  animation: lb-in 0.22s var(--ease) both;
}

.lightbox__frame {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.4vw, 18px);
  border: 1px solid rgb(var(--accent-rgb) / 0.3);
  background:
    linear-gradient(rgb(var(--accent-rgb) / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--accent-rgb) / 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 18, 29, 0.92), rgba(5, 9, 16, 0.96));
  background-size:
    22px 22px,
    22px 22px,
    auto;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgb(var(--accent-rgb) / 0.1);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: calc(78vh - 48px);
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 26px rgb(var(--accent-rgb) / 0.24));
}

.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 0 4px;
  color: var(--ink-1);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.lightbox__hint {
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.lightbox__close {
  position: absolute;
  top: clamp(12px, 2.4vw, 26px);
  right: clamp(12px, 2.4vw, 26px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-1);
  background: rgba(8, 14, 23, 0.8);
  color: var(--ink-0);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition:
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.lightbox__close:hover {
  border-color: rgb(var(--accent-rgb) / 0.6);
  background: rgba(14, 24, 38, 0.92);
  color: var(--accent);
}

.lightbox__close .icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   19 toast
   ========================================================================== */
.toast {
  position: fixed;
  bottom: calc(22px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 520px);
  padding: 11px 16px;
  border: 1px solid var(--line-1);
  border-left: 2px solid var(--accent);
  background: rgba(6, 12, 20, 0.97);
  color: var(--ink-0);
  font-size: 12.5px;
  line-height: 1.5;
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.55),
    0 0 24px rgb(var(--accent-rgb) / 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transform: translateX(-50%);
  animation: toast-in 0.2s var(--ease) both;
}

.toast__dot {
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.9);
}

.toast__text {
  min-width: 0;
}

/* ==========================================================================
   20 组件响应式
   ========================================================================== */

/* ---- ≤1023：步骤条横排可滚动；侧栏面板横排紧凑 ---- */
@media (max-width: 1023px) {
  .stepper {
    flex-direction: row;
    gap: 7px;
    padding-bottom: 3px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .stepper::-webkit-scrollbar {
    display: none;
  }

  .stepper__item {
    flex: 0 0 auto;
    grid-template-columns: auto auto auto;
    gap: 7px;
    min-height: 0;
    padding: 6px 10px;
    border: 1px solid var(--line-0);
    background: rgba(255, 255, 255, 0.018);
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  }

  .stepper__item::before,
  .stepper__item::after {
    display: none;
  }

  .stepper__idx {
    width: 22px;
    height: 22px;
    font-size: 8.5px;
  }

  .stepper__name {
    font-size: 11px;
  }

  .stepper__meta {
    display: none;
  }

  .stepper__item[data-state="active"] {
    border-color: rgb(var(--accent-rgb) / 0.42);
    background: rgb(var(--accent-rgb) / 0.08);
  }

  .estimate__value {
    font-size: 28px;
  }

  .rail-panel {
    padding: 12px 14px;
  }
}

/* ---- ≤767：移动端 ---- */
@media (max-width: 767px) {
  .rail-panel {
    gap: 9px;
  }

  .rail-panel--estimate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 14px;
  }

  .rail-panel--estimate .rail-panel__label {
    grid-column: 1 / -1;
  }

  .rail-panel--estimate .estimate__value {
    grid-column: 1;
    font-size: 26px;
  }

  .rail-panel--estimate .estimate__note {
    grid-column: 2;
    text-align: right;
  }

  .rail-panel--estimate .estimate__rows,
  .rail-panel--estimate .estimate__combos,
  .rail-panel--estimate .estimate__floor {
    grid-column: 1 / -1;
  }

  .field-block {
    padding: 15px 0 16px;
  }

  .field-block__title {
    font-size: 14.5px;
  }

  .option-grid--media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .option-grid--text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .option-card__inner {
    min-height: 54px;
    padding: 9px 10px;
  }

  .option-card__media {
    padding: 4px 6px;
  }

  body[data-item="gloves"] {
    --opt-media-h: 96px;
  }

  body[data-item="ion"] {
    --opt-media-h: 64px;
  }

  body[data-item="ribwitch"] {
    --opt-media-h: 76px;
  }

  .option-card__name {
    font-size: 12px;
  }

  .reference-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .reference-card__img {
    height: clamp(140px, 44vw, 220px);
  }

  .reference-card__meta {
    padding: 0 2px 4px;
  }

  /* sticky 底部步骤导航 */
  .step-nav {
    position: sticky;
    bottom: 0;
    z-index: var(--z-nav);
    gap: 10px;
    margin: 4px calc(var(--gutter) * -0.3) 0;
    padding: 12px calc(var(--gutter) * 0.3) calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-1);
    background: rgba(6, 11, 19, 0.9);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }

  .step-nav__hint {
    display: none;
  }

  .step-nav .btn--nav {
    flex: 1 1 0;
    min-width: 0;
  }

  .input-unit {
    max-width: none;
  }

  .verdict-title {
    margin-top: 8px;
  }

  .price-display {
    margin: 16px 0 14px;
  }

  .result-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .result-actions .btn {
    width: 100%;
  }

  .result-actions .btn--quiet {
    margin-left: 0;
  }

  .ledger__row {
    font-size: 11.5px;
  }

  .ledger__row--final {
    padding: 10px 12px;
  }

  .panel {
    padding: 13px 14px;
  }

  .toast {
    bottom: calc(78px + env(safe-area-inset-bottom));
    font-size: 12px;
  }

  .lightbox__figure {
    width: 100%;
  }

  .lightbox__img {
    max-height: 66vh;
  }

  .lightbox__caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
}

/* ---- ≤560：更紧凑 ---- */
@media (max-width: 560px) {
  .readout {
    padding: 7px 8px;
  }

  .readout__label {
    font-size: 7.5px;
  }

  .readout__value {
    font-size: 12.5px;
  }

  .spec-grid {
    gap: 0 16px;
  }

  .idle-actions .btn--lg {
    min-height: 52px;
  }

  .option-card__media {
    padding: 4px 5px;
  }

  .option-card__en {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .estimate__rows {
    display: none;
  }
}

/* ---- ≤420：字号整体降档 ---- */
@media (max-width: 420px) {
  .readout-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel__en {
    font-size: 7.5px;
    letter-spacing: 0.14em;
  }

  .option-card__inner {
    padding: 8px 9px;
  }

  .option-card__name {
    font-size: 11.5px;
  }

  .option-card__delta {
    font-size: 9px;
    padding: 1px 4px;
  }

  .option-card__flag {
    font-size: 8px;
    padding: 1px 4px;
  }

  .option-grid--text .option-card__inner {
    grid-template-columns: minmax(0, 1fr) auto 16px;
  }

  .verdict-fact {
    padding: 8px 9px;
  }

  .verdict-fact__value {
    font-size: 13px;
  }

  .price-display__label {
    letter-spacing: 0.16em;
  }

  .ledger__code {
    font-size: 7.5px;
    padding: 0 3px;
  }

  .ledger__row {
    gap: 8px;
  }

  .ledger__row--final .ledger__value {
    font-size: 17px;
  }

  .combo__condition {
    font-size: 10.5px;
  }

  .lightbox__close {
    width: 44px;
    height: 44px;
  }
}
