/* ==========================================================================
   AI Used Car — Product Detail Page
   Brand: Deep Navy #0B1424 / Gold #D9B45B · #E8CE8C
   Namespace: .aiu-  (避免与主题样式冲突)
   ========================================================================== */

.aiu-pdp {
  --navy: #0b1424;
  --navy-2: #13203a;
  --navy-3: #1c2c4a;
  --gold: #d9b45b;
  --gold-2: #e8ce8c;
  --ink: #0e1726;
  --muted: #5b6779;
  --line: #e4e8ef;
  --bg-soft: #f6f8fb;
  --ok: #1f8a5b;
  --warn: #b8791f;

  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 64px;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.aiu-pdp *,
.aiu-pdp *::before,
.aiu-pdp *::after { box-sizing: border-box; }

.aiu-pdp img { max-width: 100%; display: block; }

/* ---------- 面包屑 ---------- */
.aiu-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 22px 0 16px;
  letter-spacing: .01em;
}
.aiu-crumb a { color: var(--muted); text-decoration: none; }
.aiu-crumb a:hover { color: var(--navy); }
.aiu-crumb span.sep { opacity: .45; }
.aiu-crumb .cur { color: var(--ink); font-weight: 600; }

/* ---------- 主体两栏 ---------- */
.aiu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 44px;
  align-items: start;
}
/* grid 子项默认 min-width:auto，内部有横向滚动条时会顶破容器 */
.aiu-grid > * { min-width: 0; }

/* ---------- 相册 ---------- */
.aiu-gallery { position: sticky; top: 96px; }

.aiu-stage {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.aiu-stage img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.aiu-stage__counter {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(11, 20, 36, .78);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.aiu-stage__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-size: 16px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(11, 20, 36, .16);
  transition: background .18s, color .18s;
}
.aiu-stage__nav:hover { background: var(--navy); color: #fff; }
.aiu-stage__nav.prev { left: 12px; }
.aiu-stage__nav.next { right: 12px; }

.aiu-thumbs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.aiu-thumbs button {
  padding: 0; border: 1px solid var(--line);
  border-radius: 3px; overflow: hidden;
  background: none; cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color .16s, opacity .16s;
  opacity: .78;
}
.aiu-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.aiu-thumbs button:hover { opacity: 1; }
.aiu-thumbs button.is-active { border-color: var(--gold); opacity: 1; }

.aiu-gallery__note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}

/* ---------- 右侧信息面板 ---------- */
.aiu-head { display: flex; flex-direction: column; gap: 14px; }

.aiu-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.aiu-badge {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 2px;
  border: 1px solid transparent;
}
.aiu-badge--status { background: #eaf6f0; color: var(--ok); border-color: #cfe9dd; }
.aiu-badge--grade { background: #fdf6e7; color: #8a6a17; border-color: #f0e2bd; }
.aiu-badge--stock { background: var(--bg-soft); color: var(--muted); border-color: var(--line); }

.aiu-h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.22;
  letter-spacing: -.015em;
  font-weight: 700;
  color: var(--navy);
}
.aiu-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.aiu-sub strong { color: var(--ink); font-weight: 600; }

/* 价格 */
.aiu-price {
  padding: 18px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.aiu-price__label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.aiu-price__row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.aiu-price__value {
  font-size: 38px; font-weight: 700; letter-spacing: -.02em;
  color: var(--navy); line-height: 1;
}
.aiu-price__unit { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.aiu-price__meta { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* CTA */
.aiu-cta { display: flex; flex-direction: column; gap: 10px; }
.aiu-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px;
  border-radius: 3px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .14s, background .16s, box-shadow .16s;
}
.aiu-btn:active { transform: translateY(1px); }
.aiu-btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 20, 36, .18);
}
.aiu-btn--primary:hover { background: var(--navy-2); }
.aiu-btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241a05;
  font-weight: 700;
}
.aiu-btn--gold:hover { filter: brightness(1.04); }
.aiu-btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: #cdd5e1;
}
.aiu-btn--ghost:hover { border-color: var(--navy); }
.aiu-cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aiu-cta__hint {
  font-size: 12px; color: var(--muted);
  text-align: center; line-height: 1.55;
}

/* 关键参数 */
.aiu-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.aiu-quick__item {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.aiu-quick__item:nth-child(odd) { border-right: 1px solid var(--line); }
.aiu-quick__item:nth-last-child(-n+2) { border-bottom: 0; }
.aiu-quick__k {
  font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 3px;
}
.aiu-quick__v { font-size: 14.5px; font-weight: 600; color: var(--navy); }

/* ---------- 区块 ---------- */
.aiu-section { margin-top: 52px; }
.aiu-section__h {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy);
}
.aiu-section__h::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.aiu-section__h .idx {
  font-size: 11px; letter-spacing: .14em; color: var(--gold);
  font-weight: 700; padding-top: 4px;
}

.aiu-prose { color: #2b3648; font-size: 15px; }
.aiu-prose p { margin: 0 0 14px; }
.aiu-prose p:last-child { margin-bottom: 0; }

/* 正文原来卡在 78ch（约 630px），在 1240px 容器里右边空掉一半。
   宽屏改为两栏排版：行宽仍控制在可读区间，但整段铺满容器。 */
@media (min-width: 1080px) {
  .aiu-prose { columns: 2; column-gap: 60px; }
  .aiu-prose > * { break-inside: avoid; }
}

/* 规格表 */
.aiu-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  border-top: 1px solid var(--line);
}
.aiu-specs__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.aiu-specs__k { color: var(--muted); }
.aiu-specs__v { font-weight: 600; color: var(--navy); text-align: right; }

/* 检测报告 */
.aiu-insp {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.aiu-insp__top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--navy);
  color: #fff;
}
.aiu-insp__seal {
  width: 54px; height: 54px; flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241a05;
  font-size: 19px; font-weight: 800; letter-spacing: -.02em;
}
.aiu-insp__t { flex: 1 1 220px; min-width: 0; }
.aiu-insp__t h3 {
  margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
}
.aiu-insp__t p { margin: 3px 0 0; font-size: 12.5px; color: rgba(255,255,255,.66); }
.aiu-insp__link {
  font-size: 13px; font-weight: 650;
  color: var(--gold-2); text-decoration: none;
  border-bottom: 1px solid rgba(232,206,140,.4);
  padding-bottom: 2px; white-space: nowrap;
}
.aiu-insp__link:hover { color: #fff; border-color: #fff; }

.aiu-insp__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.aiu-insp__stat {
  padding: 16px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.aiu-insp__stat:last-child { border-right: 0; }
.aiu-insp__stat b {
  display: block;
  font-size: 21px; font-weight: 700; letter-spacing: -.02em;
  color: var(--navy); line-height: 1.1;
}
.aiu-insp__stat b em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.aiu-insp__stat span {
  display: block; margin-top: 4px;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

.aiu-insp__cap {
  margin: 0; padding: 10px 20px 12px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px; line-height: 1.5; color: var(--muted);
}

.aiu-insp__body { padding: 18px 20px; background: #fff; }
.aiu-insp__body p { margin: 0 0 12px; font-size: 14px; color: #2b3648; }
.aiu-insp__body p:last-child { margin-bottom: 0; }

/* ---------- 四板块切换 ---------- */
.aiu-insp__tabs {
  display: grid;
  /* 板块数不固定：旧版报告 4 个（事故/泡水/火烧/深度），新版 5 个（事故/内饰/发动机/底盘/深度） */
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.aiu-insp__tabs .aiu-insp__stat {
  border: 0; border-right: 1px solid var(--line);
  background: none; font: inherit; cursor: pointer;
  padding: 15px 12px 13px; text-align: center;
  position: relative;
  transition: background .15s;
}
.aiu-insp__tabs .aiu-insp__stat:last-child { border-right: 0; }
.aiu-insp__tabs .aiu-insp__stat:hover { background: #eef2f8; }
.aiu-insp__tabs .aiu-insp__stat:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.aiu-insp__tabs .aiu-insp__stat.is-on {
  background: #fff;
  box-shadow: inset 0 -2px 0 var(--gold);
}
.aiu-insp__tabs .aiu-insp__stat b { color: var(--navy); }

.aiu-insp__panels { background: #fff; border-bottom: 1px solid var(--line); }
.aiu-insp__panel { display: none; padding: 18px 20px 20px; }
.aiu-insp__panel.is-on { display: block; }
.aiu-insp__pv {
  margin: 0 0 15px; font-size: 12.5px; color: var(--muted); line-height: 1.6;
}
.aiu-insp__pv strong { color: var(--navy); font-weight: 700; }
.aiu-insp__pv .dot { margin: 0 6px; color: #c3cad6; }

.aiu-flag { margin-bottom: 16px; }
.aiu-flag:last-child { margin-bottom: 0; }
.aiu-flag h5 {
  margin: 0 0 9px;
  font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy); font-weight: 700;
}
.aiu-flag h5 em {
  font-style: normal; color: #8a6b1f; margin-left: 6px;
  background: #fbf3e0; padding: 1px 6px; border-radius: 2px;
}
.aiu-flag__l {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px;
}
.aiu-flag__l li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 10px;
  border: 1px solid var(--line); border-radius: 3px;
  font-size: 13px; color: #2b3648;
  background: #fff;
}
.aiu-flag--n .aiu-flag__l li { background: #fafbfd; color: #4a5667; }
.aiu-sev {
  font-style: normal; font-size: 10.5px; letter-spacing: .03em;
  padding: 2px 6px; border-radius: 2px; white-space: nowrap;
  background: #fdf1d8; color: #8a5a00;
}
.aiu-sev--slight { background: #eef1f6; color: #54617a; }
.aiu-sev--minor { background: #fdf1d8; color: #8a5a00; }
.aiu-sev--moderate { background: #fbe4d2; color: #8d3f11; }
.aiu-sev--structural { background: #fadadd; color: #8f1c26; }
.aiu-sev--trace { background: #e6f0f7; color: #1f4f70; }
/* 逐项备注（不能叫 .aiu-note —— 那个名字已被询盘提示框占用） */
.aiu-flag__note {
  font-style: normal; font-size: 11.5px; color: #7b8598;
  text-align: right; line-height: 1.35;
  max-width: 58%;
}
.aiu-insp__clean { margin: 0; font-size: 13px; color: var(--ok); }
.aiu-insp__chips { padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.aiu-insp__chips .aiu-verdicts { margin: 0; }

.aiu-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.aiu-tag {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 2px;
  background: #fbf7ea;
  border: 1px solid #efe2c2;
  color: #7a5f14;
}

/* 检测结论标签 */
.aiu-verdicts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.aiu-v {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  padding: 6px 11px 6px 9px;
  border-radius: 3px;
  background: #f2f5f9;
  border: 1px solid var(--line);
  color: #33415a;
}
.aiu-v::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #9aa6b8; flex: 0 0 auto;
}
.aiu-v--ok { background: #eef8f2; border-color: #d3ecdd; color: #1a6b48; }
.aiu-v--ok::before { background: #2f9e6a; }
.aiu-v--warn { background: #fdf6e7; border-color: #f0e2bd; color: #7a5f14; }
.aiu-v--warn::before { background: #d9a53b; }

/* 出口条款 */
.aiu-export {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.aiu-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  background: #fff;
}
.aiu-card h4 {
  margin: 0 0 10px;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); font-weight: 700;
}
.aiu-card dl { margin: 0; }
.aiu-card dt { font-size: 12px; color: var(--muted); margin-top: 8px; }
.aiu-card dt:first-child { margin-top: 0; }
.aiu-card dd { margin: 1px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* FAQ */
.aiu-faq { border-top: 1px solid var(--line); }

/* 宽屏两栏：避免 5 条问答在 1240px 里只占左半边 */
@media (min-width: 1080px) {
  .aiu-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 44px;
    border-top: 0;
  }
  .aiu-faq details {
    border-top: 1px solid var(--line);
    align-self: start;
  }
  .aiu-faq .a { max-width: none; }
}
.aiu-faq details {
  border-bottom: 1px solid var(--line);
  padding: 2px 0;
}
.aiu-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 34px 16px 0;
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.aiu-faq summary::-webkit-details-marker { display: none; }
.aiu-faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 300; color: var(--gold);
  line-height: 1;
}
.aiu-faq details[open] summary::after { content: "–"; }
.aiu-faq .a {
  padding: 0 0 18px;
  font-size: 14px;
  color: #2b3648;
  max-width: 82ch;
}

/* 相关车型 */
.aiu-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.aiu-rcard {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  display: block;
}
.aiu-rcard:hover {
  border-color: #c3ccdb;
  box-shadow: 0 10px 26px rgba(11, 20, 36, .09);
  transform: translateY(-2px);
}
.aiu-rcard__img { aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.aiu-rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.aiu-rcard__b { padding: 12px 13px 14px; }
.aiu-rcard__t {
  font-size: 13.5px; font-weight: 650; color: var(--navy);
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 36px;
}
.aiu-rcard__m {
  margin-top: 8px;
  font-size: 11.5px; color: var(--muted);
  /* 三格：里程 / 等级 / 车源号 —— 窄卡时允许换行，不能挤成一坨 */
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px;
}
.aiu-rcard__p { font-size: 14px; font-weight: 700; color: var(--navy); margin-top: 6px; }

/* 移动端吸底 */
.aiu-sticky { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  /* minmax(0,1fr) 而不是 1fr：1fr 的地板是 min-content，
     相册里那条横向滚动的缩略图会把整列撑到 1000px+ */
  .aiu-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .aiu-gallery { position: static; }
  .aiu-related { grid-template-columns: repeat(3, 1fr); }
  .aiu-export { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .aiu-pdp { padding: 0 14px 88px; font-size: 14.5px; }
  .aiu-h1 { font-size: 23px; }
  .aiu-price__value { font-size: 30px; }
  /* 手机上一行横滑：13 张图若换成 3 行，会把价格顶出首屏 */
  .aiu-thumbs {
    display: flex; grid-template-columns: none;
    gap: 8px; margin-top: 8px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .aiu-thumbs::-webkit-scrollbar { display: none; }
  .aiu-thumbs button { flex: 0 0 72px; width: 72px; height: 72px; scroll-snap-align: start; }
  .aiu-specs { grid-template-columns: 1fr; }
  .aiu-insp__stats { grid-template-columns: 1fr 1fr; }
  .aiu-insp__stat:nth-child(2) { border-right: 0; }
  .aiu-insp__stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  /* 四板块切换在手机上 2x2 */
  /* 板块数 4~7 个：手机上排成 2 列会占掉 4 行，改成单行横滑 */
  .aiu-insp__tabs {
    display: flex;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .aiu-insp__tabs::-webkit-scrollbar { display: none; }
  .aiu-insp__tabs .aiu-insp__stat {
    flex: 0 0 auto;
    min-width: 104px;
    scroll-snap-align: start;
    border-bottom: 0;
  }
  .aiu-flag__l { grid-template-columns: 1fr; }
  .aiu-flag__note { text-align: left; max-width: none; }
  .aiu-export { grid-template-columns: 1fr; }
  .aiu-related { grid-template-columns: 1fr 1fr; }
  .aiu-section { margin-top: 40px; }
  .aiu-section__h { font-size: 17.5px; }

  .aiu-sticky {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  .aiu-sticky__p { display: flex; flex-direction: column; justify-content: center; }
  .aiu-sticky__p b { font-size: 17px; color: var(--navy); line-height: 1.1; }
  .aiu-sticky__p span { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
}

@media print {
  .aiu-sticky, .aiu-stage__nav, .aiu-thumbs { display: none; }
}

/* ---------- 询盘表单 ---------- */
/* 表单原来独占 760px，右侧一大片空白；改成「表单 + 流程说明」双栏 */
.aiu-quote {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 1079px) {
  .aiu-quote { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

.aiu-form {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
  background: #fff;
  max-width: none;
}

/* 右侧流程卡 */
.aiu-how {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
  padding: 22px;
}
.aiu-how h4 {
  margin: 0 0 14px;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); font-weight: 700;
}
.aiu-how ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.aiu-how li {
  counter-increment: s;
  position: relative;
  padding: 0 0 16px 34px;
}
.aiu-how li:last-child { padding-bottom: 0; }
.aiu-how li::before {
  content: counter(s);
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.aiu-how b { display: block; font-size: 13.5px; color: var(--navy); margin-bottom: 3px; }
.aiu-how span { display: block; font-size: 13px; color: #4a5667; line-height: 1.5; }
.aiu-how__foot {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.aiu-how__foot a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.aiu-form label {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.aiu-form input,
.aiu-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd7e3;
  border-radius: 3px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.aiu-form input:focus,
.aiu-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 20, 36, .07);
}
.aiu-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.aiu-form .aiu-btn { max-width: 260px; margin-top: 4px; }

.aiu-note {
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid;
}
.aiu-note--ok { background: #eef8f2; border-color: #cfe9dd; color: #1a6b48; }
.aiu-note--err { background: #fdf1ef; border-color: #f3d3cc; color: #8c3223; }

@media (max-width: 720px) {
  .aiu-form__row { grid-template-columns: 1fr; gap: 0; }
  .aiu-form { padding: 16px; }
}
