/* =========================================================
   评测工坊：AI 精读样例（顶部）、三步流程、深度卡、结算条、可展开战报
   工作区页面，深浅主题都要好看：颜色一律用变量
   ========================================================= */

/* ---------- 顶部：AI 精读样例 ---------- */
.ai-hero {
  position: relative;
  margin: 8px 0 18px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  box-shadow: var(--glass-hi), var(--shadow-card);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.ai-hero.is-open { padding: clamp(26px, 3vw, 46px) clamp(22px, 3vw, 48px); }
.aih-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 75% at 82% 18%, var(--accent-soft), transparent 70%),
    radial-gradient(45% 70% at 0% 100%, var(--ambient-b), transparent 72%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: radial-gradient(90% 100% at 70% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(90% 100% at 70% 30%, #000 30%, transparent 85%);
}
.aih-main { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 4vw, 64px); }

.aih-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.aih-kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.aih-kicker .i { width: 14px; height: 14px; }
.aih-title { display: flex; flex-direction: column; font-size: clamp(30px, 2.9vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: 0.01em; color: var(--text); }
.aih-title span:last-child { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aih-lead { max-width: 540px; font-size: 14.5px; line-height: 1.8; color: var(--text-2); }
.aih-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 560px; }
.aih-points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; outline: none; transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.aih-no { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 750; color: var(--on-accent); background: var(--accent-grad); box-shadow: 0 4px 12px -4px var(--glow); }
.aih-points b { display: block; font-size: 14px; font-weight: 650; color: var(--text); }
.aih-points li span:not(.aih-no) { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.aih-stats { display: flex; flex-wrap: wrap; gap: 0; }
.aih-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 0 24px; border-left: 1px solid var(--line-2); }
.aih-stats > div:first-child { padding-left: 0; border-left: 0; }
.aih-stats b { font-size: 26px; font-weight: 750; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.aih-stats span { font-size: 11.5px; color: var(--text-3); }
.aih-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.aih-fold { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--text-3); background: var(--glass-2); border: 1px solid var(--line); transition: color var(--t-fast), border-color var(--t-fast); }
.aih-fold:hover { color: var(--accent); border-color: var(--accent-line); }

/* 样例报告卡 */
.aih-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--accent-line);
  box-shadow: 0 50px 90px -46px rgba(0, 0, 0, 0.75), 0 0 0 6px var(--accent-soft), 0 0 80px -30px var(--glow);
}
.aih-tag { position: absolute; top: -13px; left: 22px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 650; color: var(--on-accent); background: var(--accent-grad); box-shadow: 0 8px 20px -8px var(--glow); }
.aih-tag .i { width: 13px; height: 13px; }
.aih-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.aih-head .cover { width: 52px; flex: none; }
.aih-book { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.aih-book h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--text); }
.aih-book span { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aih-score { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.aih-score > div, .aih-score .grade { min-width: 30px; height: 30px; font-size: 15px; border-radius: 9px; }
.aih-score b { font-size: 30px; font-weight: 750; line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.aih-score small { font-size: 13px; font-weight: 500; color: var(--text-3); }
.aih-score > span:last-child { font-size: 11px; color: var(--text-3); }
.aih-score { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px; row-gap: 2px; }
.aih-score > span:last-child { grid-column: 1 / -1; justify-self: end; }

.aih-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 12px; }
.aih-sec { position: relative; padding: 12px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); transition: opacity var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.aih-radar { display: grid; place-items: center; padding: 2px; }
.aih-radar .radar { width: 100%; max-width: 250px; height: auto; }
.aih-radar .radar .lbl { font-size: 12px; }
.aih-lbl { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 5px; }
.aih-lbl.pos { color: var(--pos); }
.aih-lbl.neg { color: var(--neg); }
.aih-fmt { display: flex; flex-direction: column; }
.aih-fmtv { display: inline-flex; align-self: flex-start; margin-bottom: 14px; padding: 4px 12px; border-radius: 8px; font-size: 16px; font-weight: 750; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.aih-quote { font-family: var(--font-serif); font-size: 14px; line-height: 1.75; color: var(--text); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.aih-open p, .aih-pros p { font-size: 12.5px; line-height: 1.72; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aih-pros { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aih-pin { position: absolute; z-index: 2; top: -9px; left: -9px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--on-accent); background: var(--accent-grad); box-shadow: 0 0 0 3px var(--surface), 0 6px 14px -4px var(--glow); }

/* 左侧要点 ↔ 右侧区块联动 */
.ai-hero[data-focus="dims"] .aih-sec:not([data-k="dims"]),
.ai-hero[data-focus="open"] .aih-sec:not([data-k="open"]),
.ai-hero[data-focus="pros"] .aih-sec:not([data-k="pros"]),
.ai-hero[data-focus="fmt"] .aih-sec:not([data-k="fmt"]) { opacity: 0.32; }
.ai-hero[data-focus="dims"] .aih-sec[data-k="dims"],
.ai-hero[data-focus="open"] .aih-sec[data-k="open"],
.ai-hero[data-focus="pros"] .aih-sec[data-k="pros"],
.ai-hero[data-focus="fmt"] .aih-sec[data-k="fmt"] { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft), 0 16px 34px -18px var(--glow); }
.ai-hero[data-focus="dims"] li[data-k="dims"],
.ai-hero[data-focus="open"] li[data-k="open"],
.ai-hero[data-focus="pros"] li[data-k="pros"],
.ai-hero[data-focus="fmt"] li[data-k="fmt"] { background: var(--accent-soft); border-color: var(--accent-line); }

/* 展开时的出场：文字错落上浮，卡片浮起，雷达画出，编号依次弹出 */
.ai-hero.is-open .aih-copy > * { animation: stRise 700ms var(--ease) both; }
.ai-hero.is-open .aih-copy > :nth-child(2) { animation-delay: 60ms; }
.ai-hero.is-open .aih-copy > :nth-child(3) { animation-delay: 120ms; }
.ai-hero.is-open .aih-copy > :nth-child(4) { animation-delay: 180ms; }
.ai-hero.is-open .aih-copy > :nth-child(5) { animation-delay: 240ms; }
.ai-hero.is-open .aih-copy > :nth-child(6) { animation-delay: 300ms; }
.ai-hero.is-open .aih-card { animation: stCard 900ms var(--ease-sheet) 120ms both; }
.ai-hero.is-open .aih-sec { animation: stRise 620ms var(--ease) both; }
.ai-hero.is-open .aih-sec[data-k="dims"] { animation-delay: 380ms; }
.ai-hero.is-open .aih-sec[data-k="fmt"] { animation-delay: 460ms; }
.ai-hero.is-open .aih-sec[data-k="open"] { animation-delay: 540ms; }
.ai-hero.is-open .aih-sec[data-k="pros"] { animation-delay: 620ms; }
.ai-hero.is-open .aih-radar .radar .shape { animation: radarIn 1000ms var(--ease-sheet) 700ms both; }
.ai-hero.is-open .aih-radar .radar .pt { animation: fadeIn 400ms 1300ms both; }
.ai-hero.is-open .aih-pin { animation: stPop 520ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.ai-hero.is-open [data-k="dims"] .aih-pin { animation-delay: 1000ms; }
.ai-hero.is-open [data-k="open"] .aih-pin { animation-delay: 1150ms; }
.ai-hero.is-open [data-k="pros"] .aih-pin { animation-delay: 1300ms; }
.ai-hero.is-open [data-k="fmt"] .aih-pin { animation-delay: 1450ms; }
@keyframes stRise { from { opacity: 0; transform: translateY(14px); } }
@keyframes stCard { from { opacity: 0; transform: translateY(26px) scale(0.97); } }
@keyframes stPop { from { opacity: 0; transform: scale(0.3); } }

/* 收起后的横幅 */
.aih-strip { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 14px; animation: stRise 420ms var(--ease) both; }
.aih-strip-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; color: var(--on-accent); background: var(--accent-grad); box-shadow: 0 6px 16px -6px var(--glow); }
.aih-strip-ic .i { width: 16px; height: 16px; }
.aih-strip > b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.aih-strip-txt { flex: 1; min-width: 0; font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aih-strip-btn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px 0 14px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 650; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); white-space: nowrap; transition: filter var(--t-fast); }
.aih-strip-btn:hover { filter: brightness(1.1); }
.aih-strip-btn .i { width: 14px; height: 14px; }

/* ---------- 三步流程 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 16px; padding: 14px 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); }
.step { display: flex; align-items: center; gap: 12px; min-width: 0; }
.step:not(:last-child)::after { content: ""; flex: 1; min-width: 20px; height: 2px; margin: 0 14px 0 4px; border-radius: 2px; background: var(--line-2); }
.step[data-state="done"]:not(:last-child)::after { background: var(--accent-grad); box-shadow: 0 0 10px var(--glow); }
.step-dot { position: relative; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; font-size: 13px; font-weight: 750; color: var(--text-3); border: 1.5px solid var(--line-3); transition: all var(--t) var(--ease); }
.step-dot .i { display: none; width: 16px; height: 16px; stroke-width: 2.4; }
.step[data-state="active"] .step-dot { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); animation: stepPulse 2.2s ease-in-out infinite; }
.step[data-state="done"] .step-dot { color: var(--on-accent); border-color: transparent; background: var(--accent-grad); }
.step[data-state="done"] .step-dot b { display: none; }
.step[data-state="done"] .step-dot .i { display: block; }
@keyframes stepPulse { 50% { box-shadow: 0 0 0 9px transparent; } }
.step-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.step-txt b { font-size: 13.5px; font-weight: 650; color: var(--text); white-space: nowrap; }
.step[data-state="todo"] .step-txt b { color: var(--text-3); }
.step-txt span { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step-txt span b { display: inline; font-size: inherit; color: var(--accent); }

.step-no { display: inline-grid; place-items: center; height: 22px; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 750; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }

/* 评测篮空状态 */
.basket-empty { margin: 10px; border: 0; }
.basket-empty .btn .i { width: 15px; height: 15px; }

/* ---------- 深度卡 ---------- */
.page-studio .mode-grid { margin-top: 0; }
.page-studio .mode-card { gap: 9px; padding: 16px 16px 14px; }
.mode-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mode-tag { flex: none; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-pill); color: var(--text-3); background: var(--glass-2); border: 1px solid var(--line); }
.mode-tag.gold { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.mode-dims { display: flex; flex-wrap: wrap; gap: 5px; }
.mode-dims i { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 6px; color: var(--text-2); background: var(--glass-2); border: 1px solid var(--line); transition: all var(--t-fast); }
.mode-card:has(input:checked) .mode-dims i { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.mode-out { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.mode-out .i { width: 14px; height: 14px; color: var(--pos); stroke-width: 2.2; flex: none; }
.page-studio .mode-price { margin-top: 2px; padding-top: 9px; border-top: 1px dashed var(--line-2); }
.prompt-explain { display: flex; gap: 8px; margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: var(--text-2); }
.prompt-explain .i { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--accent); }
.prompt-explain b { color: var(--accent); font-weight: 650; }
.page-studio .prompt-presets .chip .i { width: 13px; height: 13px; color: var(--accent); }

/* ---------- 结算条（第 3 步） ---------- */
.page-studio .checkout { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; padding: 16px 20px; border-top: 1px solid var(--glass-line); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.page-studio .checkout.is-ready { border-color: var(--accent-line); box-shadow: var(--glass-hi), 0 0 0 4px var(--accent-soft), 0 24px 50px -30px var(--glow); }
.page-studio .checkout-info { display: flex; align-items: baseline; gap: 16px; min-width: 0; }
.page-studio .checkout-meta { margin-top: 0; font-size: 12.5px; }
.page-studio .fine-print { margin-left: auto; padding: 0; text-align: right; }
.page-studio #btnSubmitJob { min-width: 150px; }
.page-studio #btnSubmitJob .i { width: 17px; height: 17px; }
.page-studio .checkout.is-ready #btnSubmitJob { position: relative; overflow: hidden; }
.page-studio .checkout.is-ready #btnSubmitJob::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s ease-in-out 0.6s infinite; }
@keyframes shine { 40%, 100% { transform: translateX(120%); } }

/* ---------- 战报 ---------- */
.rp-sample-tag { margin-left: 4px; font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: var(--r-pill); color: var(--on-accent); background: var(--accent-grad); }
.page-studio .reports { grid-template-columns: 270px minmax(0, 1fr); }
.page-studio .job { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; flex-direction: row; }
.job-ring { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--glass-2) 0); }
.job-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface); }
.job-ring b { position: relative; font-size: 10.5px; font-weight: 700; color: var(--text-2); }
.job-ring.done b { color: var(--accent); }
.job-ring .i { width: 15px; height: 15px; stroke-width: 2.4; }
.job-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.job-top em { font-style: normal; font-size: 10px; font-weight: 650; padding: 1px 6px; border-radius: 5px; color: var(--accent); background: var(--accent-soft); }
.page-studio .job-meta { padding-left: 0; }
.job-note { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 8px 4px; padding: 12px; border-radius: 12px; font-size: 12px; line-height: 1.6; color: var(--text-3); border: 1px dashed var(--line-2); }
.job-note > .i { width: 18px; height: 18px; color: var(--accent); }

.rp-sample { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.rp-sample > .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.rp-sample b { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); }
.rp-sample span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.65; color: var(--text-2); }
.page-studio .jd-title { display: flex; align-items: baseline; gap: 10px; }
.page-studio .jd-title .num { font-size: 13px; font-weight: 500; color: var(--text-3); }
.page-studio .jd-prompt { display: flex; gap: 8px; align-items: flex-start; }
.page-studio .jd-prompt .i { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--accent); }
.jd-progress.is-running .progress i { background: repeating-linear-gradient(110deg, var(--accent) 0 12px, color-mix(in srgb, var(--accent) 60%, transparent) 12px 24px); background-size: 200% 100%; animation: stripes 1.2s linear infinite; }
@keyframes stripes { to { background-position: -48px 0; } }

.rp-summary { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.3fr; gap: 10px; margin: 16px 0; }
.rp-cell { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 13px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.rp-k { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: var(--text-3); }
.rp-gbar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--glass-2); }
.rp-gbar i { display: block; height: 100%; }
.rp-gbar .g-s { background: var(--accent-grad); }
.rp-gbar .g-a { background: var(--grade-a); }
.rp-gbar .g-b { background: var(--grade-b); }
.rp-gbar .g-c { background: var(--grade-c); }
.rp-glegend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; font-weight: 650; color: var(--text-3); }
.rp-glegend .g-s { color: var(--accent); }
.rp-glegend b { margin-left: 4px; color: var(--text); }
.rp-big { font-size: 28px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.rp-big small { font-size: 13px; font-weight: 500; color: var(--text-3); margin-left: 2px; }
.rp-fmts { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-fmts span { font-size: 12px; padding: 3px 8px; border-radius: 7px; color: var(--text-2); background: var(--glass-2); white-space: nowrap; }
.rp-fmts b { margin-right: 4px; color: var(--accent); }
.rp-topbook { display: flex; align-items: center; gap: 9px; min-width: 0; cursor: pointer; }
.rp-topbook b { flex: 1; min-width: 0; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-topbook:hover b { color: var(--accent); }

.rp-list { display: flex; flex-direction: column; gap: 8px; }
.rp-item { border-radius: 14px; background: var(--glass); border: 1px solid var(--line); transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.rp-item:hover { border-color: var(--line-3); }
.rp-item.is-open { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent 140px), var(--glass); box-shadow: 0 18px 40px -28px var(--glow); }
.rp-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 14px; }
.rp-row[data-jact="toggle"] { cursor: pointer; }
.rp-no { flex: none; width: 20px; font-size: 12px; font-weight: 700; color: var(--text-3); }
.rp-item:first-child .rp-no { color: var(--accent); }
.rp-row .cover { flex: none; }
.rp-name { display: flex; flex-direction: column; gap: 2px; flex: 0 1 260px; min-width: 120px; }
.rp-name b { font-size: 13.5px; font-weight: 650; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.rp-name b:hover { color: var(--accent); }
.rp-name span { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-grade { flex: none; }
.rp-score { flex: none; min-width: 58px; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; color: var(--text); }
.rp-score small { font-size: 11px; font-weight: 500; color: var(--text-3); }
.rp-fit { flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.rp-fit span { font-size: 10px; color: var(--text-3); }
.rp-fit b { font-size: 14px; font-weight: 700; color: var(--pos); }
.rp-fmt { flex: none; font-size: 11.5px; padding: 3px 9px; border-radius: 7px; color: var(--text-2); background: var(--glass-2); white-space: nowrap; }
.rp-line { flex: 1; min-width: 0; font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-line.err { color: var(--neg); }
.rp-item.is-open .rp-line { visibility: hidden; }
.rp-chev { flex: none; display: grid; place-items: center; color: var(--text-3); transition: transform var(--t) var(--ease), color var(--t); }
.rp-chev .i { width: 16px; height: 16px; }
.rp-item.is-open .rp-chev { transform: rotate(180deg); color: var(--accent); }
.rp-reading { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); }
.rp-reading i { position: relative; width: 80px; height: 4px; border-radius: 2px; overflow: hidden; background: var(--glass-2); }
.rp-reading i::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: var(--accent-grad); animation: reading 1.3s ease-in-out infinite; }
@keyframes reading { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.rp-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-sheet); }
.rp-more > div { overflow: hidden; min-height: 0; }
.rp-item.is-open .rp-more { grid-template-rows: 1fr; }
.rp-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; padding: 2px 16px 16px 46px; }
.rp-radar { display: grid; place-items: center; align-self: start; padding: 6px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.rp-radar .radar { width: 100%; max-width: 240px; height: auto; }
.rp-radar .radar .lbl { font-size: 12px; }
.rp-secs { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rp-quote { display: flex; gap: 8px; font-family: var(--font-serif); font-size: 14.5px; line-height: 1.75; color: var(--text); }
.rp-quote .i { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); fill: currentColor; stroke: none; opacity: 0.85; }
.rp-sec { padding: 10px 12px; border-radius: 12px; background: var(--glass-2); }
.rp-sec .rp-k { display: block; margin-bottom: 4px; }
.rp-sec p { font-size: 12.5px; line-height: 1.75; color: var(--text-2); }
.rp-sec.open .rp-k { color: var(--accent); }
.rp-sec.pos .rp-k, .rp-sec.fit .rp-k { color: var(--pos); }
.rp-sec.neg .rp-k { color: var(--neg); }
.rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rp-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-item.is-open .rp-radar .radar .shape { animation: radarIn 760ms var(--ease-sheet) 120ms both; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .rp-summary { grid-template-columns: 1fr 1fr; }
  .rp-line { display: none; }
}
@media (max-width: 1100px) {
  .aih-main { grid-template-columns: minmax(0, 1fr); }
  .aih-copy { align-items: stretch; }
  .aih-points { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-studio .reports { grid-template-columns: 1fr; }
  .rp-body { grid-template-columns: 210px minmax(0, 1fr); padding-left: 16px; }
}
@media (max-width: 760px) {
  .ai-hero.is-open { padding: 22px 16px 18px; }
  .aih-title { font-size: 28px; }
  .aih-points { grid-template-columns: minmax(0, 1fr); }
  .aih-stats > div { padding: 0 14px; }
  .aih-stats b { font-size: 21px; }
  .aih-card { padding: 24px 14px 14px; }
  .aih-grid, .aih-pros { grid-template-columns: minmax(0, 1fr); }
  .aih-head .cover { width: 42px; }
  .aih-book h3 { font-size: 16px; }
  .aih-score b { font-size: 24px; }
  .aih-strip-txt { display: none; }
  .aih-strip { flex-wrap: wrap; }
  .aih-strip-btn { margin-left: auto; }
  .steps { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .step:not(:last-child)::after { display: none; }
  .page-studio .checkout { flex-wrap: wrap; gap: 12px; }
  .page-studio .checkout-info { flex-direction: column; align-items: flex-start; gap: 2px; }
  .page-studio .fine-print { order: 5; width: 100%; text-align: left; margin-left: 0; }
  .page-studio #btnSubmitJob { margin-left: auto; }
  .rp-summary { grid-template-columns: 1fr 1fr; }
  .rp-row { flex-wrap: wrap; row-gap: 6px; }
  .rp-name { flex: 1 1 calc(100% - 80px); }
  .rp-fmt { margin-left: auto; }
  .rp-body { grid-template-columns: 1fr; padding: 2px 12px 14px; }
  .rp-radar .radar { max-width: 220px; }
  .rp-two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-hero *, .aih-strip, .step-dot, .rp-item *, .page-studio .checkout * { animation: none !important; }
  .page-studio .checkout.is-ready #btnSubmitJob::after { display: none; }
}
