:root {
  --ink: #17211d;
  --muted: #64716b;
  --jade: #176b50;
  --jade-dark: #104936;
  --soft: #edf5f1;
  --line: #d9e3dd;
  --red: #9f3438;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f8fbf9; font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.track-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 10px max(20px, calc((100vw - 1180px) / 2)); background: white; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; }
.brand span { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--jade); border-radius: 50%; font-family: serif; font-size: 20px; }
.track-header nav { display: flex; gap: 22px; color: var(--muted); font-size: 13px; }
.track-header nav a:hover { color: var(--jade); }
main { max-width: 1180px; min-height: calc(100vh - 130px); margin: 0 auto; padding: 58px 22px 80px; }
.track-intro { max-width: 720px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 7px; color: var(--jade); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
h1 { margin: 0; font-family: serif; font-size: clamp(34px, 5vw, 54px); font-weight: 600; }
.track-intro > p:last-child { margin: 12px 0 0; color: var(--muted); }
.lookup-panel { padding: 22px; background: white; border: 1px solid var(--line); }
.lookup-panel form { display: grid; grid-template-columns: 1fr 130px; gap: 12px; align-items: end; }
.lookup-panel label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.lookup-panel input { min-height: 44px; padding: 10px 12px; color: var(--ink); border: 1px solid #b8c6bf; border-radius: 4px; }
.lookup-panel button { min-height: 44px; color: white; background: var(--jade); border: 0; border-radius: 4px; cursor: pointer; font-weight: 700; }
.lookup-panel > p { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.track-loading, .track-error { margin-top: 24px; padding: 24px; background: white; border: 1px solid var(--line); }
.track-error { color: var(--red); }
.track-error p { margin: 6px 0 0; }
.design-result { min-width: 0; margin-top: 24px; overflow: hidden; background: white; border: 1px solid var(--line); box-shadow: 0 14px 44px rgba(23,33,29,.08); }
.result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px; border-bottom: 1px solid var(--line); }
.result-head h2 { margin: 0 0 4px; font-family: serif; font-size: 34px; }
.result-head code { color: var(--muted); }
.result-price { text-align: right; }
.result-price span, .result-price strong { display: block; }
.result-price span { color: var(--muted); font-size: 12px; }
.result-price strong { color: var(--red); font-family: serif; font-size: 34px; }
.progress-track { display: grid; grid-template-columns: repeat(8, 1fr); padding: 22px 30px; background: #f5f9f7; border-bottom: 1px solid var(--line); }
.progress-step { position: relative; padding-top: 20px; color: var(--muted); font-size: 11px; text-align: center; }
.progress-step::before { content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 10px; height: 10px; background: #c5d1cb; border: 3px solid #f5f9f7; border-radius: 50%; transform: translateX(-50%); }
.progress-step::after { content: ""; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: #c5d1cb; }
.progress-step:first-child::after { display: none; }
.progress-step.done { color: var(--jade-dark); font-weight: 700; }
.progress-step.done::before, .progress-step.done::after { background: var(--jade); }
.result-grid { display: grid; grid-template-columns: 1.1fr .9fr; }
.preview-section, .timeline-section { min-width: 0; padding: 30px; }
.preview-section { border-right: 1px solid var(--line); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title h3 { margin: 0; font-size: 20px; }
.section-title span { color: var(--muted); font-size: 12px; }
.bead-preview { display: flex; align-items: center; gap: 3px; max-width: 100%; margin: 28px 0 20px; padding: 18px; overflow-x: auto; background: var(--soft); }
.bead { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 24%, var(--bead-accent), var(--bead-color) 52%, #26362f 130%); border: 1px solid rgba(23,33,29,.18); box-shadow: inset -3px -4px 6px rgba(0,0,0,.16), inset 3px 3px 5px rgba(255,255,255,.35); }
.preview-section > p { margin: 0; color: var(--muted); font-size: 12px; }
.timeline { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; top: 11px; bottom: -3px; left: 6px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline-dot { z-index: 1; width: 13px; height: 13px; margin-top: 5px; background: var(--jade); border: 3px solid #d9eee5; border-radius: 50%; }
.timeline strong, .timeline time { display: block; }
.timeline time { color: var(--muted); font-size: 11px; }
.next-action { margin: 0 30px 30px; padding: 16px 18px; color: var(--jade-dark); background: var(--soft); border-left: 3px solid var(--jade); }
footer { padding: 24px; color: #b9c9c2; background: #17211d; font-size: 12px; text-align: center; }

@media (max-width: 760px) {
  .track-header { padding: 10px 16px; }
  .track-header nav a:first-child { display: none; }
  main { padding: 38px 14px 60px; }
  .lookup-panel form, .result-grid { grid-template-columns: 1fr; }
  .result-head { align-items: flex-start; flex-direction: column; padding: 22px; }
  .result-price { text-align: left; }
  .progress-track { grid-template-columns: repeat(4, 1fr); gap: 18px 0; padding: 20px 12px; }
  .progress-step:nth-child(5)::after { display: none; }
  .preview-section, .timeline-section { padding: 22px; }
  .preview-section { border-right: 0; border-bottom: 1px solid var(--line); }
  .bead { flex-basis: 29px; width: 29px; height: 29px; }
  .next-action { margin: 0 22px 22px; }
}
