/* ============================================================
   app.css — AG-UI 组件 / 采访 / 报告 / 流程 样式
   ============================================================ */

/* ====== AG-UI 公共 ====== */
.agui { margin-top: 14px; }
.agui-label {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.agui-counter {
  font-size: 12.5px; color: var(--slate); font-weight: 400;
  background: var(--paper-2); padding: 2px 9px; border-radius: 99px;
}

/* ---- agent message ---- */
.agent-msg { display: flex; gap: 14px; align-items: flex-start; }
.agent-avatar {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); color: var(--brass-soft);
  display: grid; place-items: center; margin-top: 2px;
}
.agent-bubble {
  font-size: 16px; line-height: 1.75; color: var(--ink);
  max-width: 640px; padding-top: 4px;
}
.agent-bubble p { text-wrap: pretty; }

/* ---- chips (single/multi) ---- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
  transition: all .15s ease; white-space: nowrap;
}
.chip:hover:not(:disabled) { border-color: var(--brass-soft); background: var(--paper); transform: translateY(-1px); }
.chip-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-on:hover { background: var(--ink-2) !important; }
.chip-unc { border-style: dashed; color: var(--slate); }
.chip-unc.chip-on { color: #fff; border-style: solid; }
.chip:disabled { cursor: default; }

/* ---- rich choice cards ---- */
.rcc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rcc {
  text-align: left; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px 18px; transition: all .16s ease;
  display: flex; flex-direction: column; gap: 6px;
}
.rcc:hover:not(:disabled) { border-color: var(--brass-soft); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.rcc-on { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); background: linear-gradient(#fff, #FCFAF5); }
.rcc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rcc-title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.rcc-tick { flex: none; width: 20px; height: 20px; border-radius: 99px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: #fff; }
.rcc-tick.on { background: var(--brass); border-color: var(--brass); }
.rcc-desc { font-size: 13.5px; color: var(--slate); line-height: 1.6; }

/* ---- rating 1-5 ---- */
.rating-list { display: flex; flex-direction: column; gap: 4px; }
.rating-row {
  display: grid; grid-template-columns: 120px 1fr 56px; align-items: center; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.rating-row:last-child { border-bottom: none; }
.rating-name { font-size: 14.5px; font-weight: 500; }
.rating-dots { display: flex; gap: 8px; }
.rdot {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2);
  background: #fff; color: var(--slate); font-family: var(--font-data); font-size: 13px;
  display: grid; place-items: center; transition: all .13s ease;
}
.rdot:hover:not(:disabled) { border-color: var(--brass-soft); }
.rdot.fill { background: var(--sage); border-color: var(--sage); color: #fff; }
.rdot.on { box-shadow: 0 0 0 2px rgba(62,116,88,.25); }
.rating-cap { font-size: 12.5px; color: var(--sage); text-align: right; }

/* ---- slider ---- */
.slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: var(--line-2); border-radius: 99px; outline: none; margin: 8px 0;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 99px;
  background: var(--ink); border: 3px solid #fff; box-shadow: var(--shadow-soft); cursor: pointer;
}
.slider:disabled::-webkit-slider-thumb { background: var(--slate); }
.slider-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--slate); }

/* ---- file upload ---- */
.upload-zone {
  border: 1.5px dashed var(--line-2); border-radius: var(--r-md);
  padding: 30px 20px; text-align: center; cursor: pointer; transition: all .18s ease;
  display: flex; flex-direction: column; align-items: center; gap: 7px; background: #FCFAF5;
}
.upload-zone:hover { border-color: var(--brass); background: var(--paper); }
.upload-zone.busy { cursor: default; }
.upload-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.upload-hint { font-size: 13px; }
.upload-demo { font-size: 12px; opacity: .8; }
.upload-done { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.upload-file { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.upload-file svg { color: var(--brass); }
.spinner {
  width: 26px; height: 26px; border-radius: 99px;
  border: 3px solid var(--line); border-top-color: var(--brass); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- extraction confirm ---- */
.extract { overflow: hidden; }
.extract-row {
  display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.extract-row:last-child { border-bottom: none; }
.extract-row.miss { background: rgba(166,75,60,.035); }
.extract-k { font-size: 13.5px; color: var(--slate); }
.extract-v { font-size: 14.5px; font-weight: 500; }
.extract-text { cursor: text; display: inline-flex; align-items: center; border-radius: 6px; padding: 2px 4px; }
.extract-text:hover { background: var(--paper-2); }
.extract-text.empty { color: var(--brick); font-weight: 400; font-size: 13.5px; }
.extract-input { border: 1px solid var(--brass); border-radius: 6px; padding: 4px 8px; width: 100%; max-width: 220px; }

/* ====== 采访界面 ====== */
.iv-wrap { height: 100%; display: flex; flex-direction: column; background: var(--paper); }
.iv-top {
  flex: none; display: flex; align-items: center; gap: 20px;
  padding: 16px 32px; border-bottom: 1px solid var(--line); background: rgba(250,248,243,.85);
  backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5;
}
.iv-brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-serif); font-weight: 600; color: var(--ink); white-space: nowrap; flex: none; }
.iv-brand .mk { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--brass-soft); display: grid; place-items: center; }
.iv-save-state { font-size: 12px; color: var(--slate); margin-left: 12px; white-space: nowrap; }

/* milestone stepper */
.stepper { display: flex; align-items: center; gap: 0; flex: 1; }
.step { display: flex; align-items: center; gap: 9px; }
.step-node {
  width: 26px; height: 26px; border-radius: 99px; flex: none;
  display: grid; place-items: center; font-family: var(--font-data); font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--line-2); color: var(--slate); background: #fff; transition: all .3s ease;
}
.step.done .step-node { background: var(--sage); border-color: var(--sage); color: #fff; }
.step.active .step-node { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 4px rgba(20,22,30,.10); }
.step-label { font-size: 13px; color: var(--slate); white-space: nowrap; }
.step.active .step-label { color: var(--ink); font-weight: 600; }
.step.done .step-label { color: var(--sage); }
.step-line { width: 26px; height: 1.5px; background: var(--line-2); margin: 0 10px; }
.step.done + .step .step-line, .step.done .step-line { background: var(--sage); }

.iv-scroll { flex: 1; overflow-y: auto; }
.iv-thread { max-width: 760px; margin: 0 auto; padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 30px; }
.iv-turn { display: flex; flex-direction: column; gap: 2px; }
.iv-turn.locked { opacity: .62; }
.iv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; box-shadow: var(--shadow-soft); margin-left: 50px; margin-top: 14px;
}
.iv-foot { margin-left: 50px; margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.iv-skip { font-size: 13px; color: var(--slate); }
.iv-branch-note {
  margin-left: 50px; margin-top: 10px; font-size: 12.5px; color: var(--brass);
  display: flex; align-items: center; gap: 7px; font-family: var(--font-data);
}
.iv-thinking { display: flex; gap: 6px; margin-left: 50px; padding: 8px 0; }
.iv-thinking i { width: 7px; height: 7px; border-radius: 99px; background: var(--brass-soft); animation: think 1.2s ease-in-out infinite; }
.iv-thinking i:nth-child(2) { animation-delay: .18s; }
.iv-thinking i:nth-child(3) { animation-delay: .36s; }
@keyframes think { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.textarea-input, .field-input {
  width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
  color: var(--ink); font-family: var(--font-sans); font-size: 14.5px; line-height: 1.65;
  padding: 11px 13px; outline: none; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.textarea-input { min-height: 112px; resize: vertical; }
.textarea-input:focus, .field-input:focus { border-color: var(--brass-soft); box-shadow: 0 0 0 3px rgba(194,94,69,.12); }
.textarea-input:disabled, .field-input:disabled { color: var(--ink); background: transparent; border-color: transparent; padding-left: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-grid.compact { gap: 10px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field-label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--slate); }
.field-label em { font-style: normal; font-weight: 500; color: #9b8d78; }
.field-control { position: relative; display: flex; align-items: center; }
.field-unit { position: absolute; right: 12px; color: var(--slate); font-size: 13px; pointer-events: none; }
.field-input.has-unit { padding-right: 44px; }
.field-hint { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--slate); font-size: 12.5px; line-height: 1.6; }
.field-hint.top { margin-top: 0; margin-bottom: 10px; }

.choice-group { display: flex; flex-direction: column; gap: 18px; }
.choice-q { display: flex; flex-direction: column; gap: 9px; }
.choice-q + .choice-q { padding-top: 16px; border-top: 1px solid var(--line); }
.choice-q-label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.choice-help { color: var(--slate); font-size: 12.5px; line-height: 1.6; }

.agui-matrix { display: flex; flex-direction: column; gap: 10px; }
.agui-matrix-row {
  display: grid; grid-template-columns: minmax(160px,.9fr) minmax(0,1.4fr); gap: 14px; align-items: center;
  padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(250,248,243,.55);
}
.agui-matrix-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.agui-matrix-name strong { font-size: 13.5px; color: var(--ink); }
.agui-matrix-name span { font-size: 12px; color: var(--slate); line-height: 1.5; }
.agui-matrix-options { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.matrix-pill {
  min-height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff;
  color: var(--ink); padding: 7px 10px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; transition: all .14s ease;
}
.matrix-pill:hover { border-color: var(--brass-soft); }
.matrix-pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.repeater { display: flex; flex-direction: column; gap: 12px; }
.rep-row { border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(250,248,243,.62); padding: 14px; }
.rep-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--brass); font-weight: 700; }
.rep-remove { border: none; background: transparent; color: var(--slate); font-size: 12px; padding: 4px 6px; }
.rep-remove:hover { color: var(--brick); }
.add-row {
  min-height: 40px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); background: rgba(255,255,255,.72);
  color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600;
}
.add-row:hover { border-color: var(--brass-soft); color: var(--brass); }
.empty-repeater { font-size: 13px; color: var(--slate); text-align: center; padding: 4px 0; }
.textarea-mini { min-height: 70px; resize: vertical; }
@media (max-width: 760px) {
  .iv-top { gap: 12px; padding: 14px 16px; }
  .iv-save-state { margin-left: 0; }
  .iv-top .btn-quiet { padding: 8px 0; }
  .iv-thread { padding: 24px 18px 32px; gap: 18px; }
  .iv-card { margin-left: 0; margin-top: 10px; padding: 18px 18px; }
  .iv-foot, .iv-branch-note, .iv-thinking { margin-left: 0; }
  .iv-foot { align-items: flex-start; flex-direction: column; gap: 9px; }
  .field-grid, .agui-matrix-row { grid-template-columns: 1fr; }
  .agui-matrix-options { justify-content: flex-start; }
}

.user-answer { align-self: flex-end; max-width: 70%; }
.user-bubble {
  background: var(--ink); color: var(--paper); padding: 9px 15px; border-radius: 14px 14px 4px 14px;
  font-size: 14px; display: inline-block;
}

/* generate block */
.gen-block { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ============================================================
   报告
   ============================================================ */
.rp-layout { display: grid; grid-template-columns: 248px 1fr; height: 100%; }
.rp-toc {
  border-right: 1px solid var(--line); padding: 26px 18px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px; background: var(--paper);
}
.rp-toc-title { margin-bottom: 12px; padding-left: 10px; }
.rp-toc nav { display: flex; flex-direction: column; gap: 1px; }
.rp-toc-link {
  display: flex; align-items: flex-start; gap: 11px; text-align: left;
  background: transparent; border: none; padding: 8px 10px; border-radius: 8px;
  color: var(--slate); font-size: 13.5px; line-height: 1.45; transition: all .14s ease; width: 100%;
}
.rp-toc-link:hover { background: var(--paper-2); color: var(--ink); }
.rp-toc-link.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-soft); }
.rp-toc-num { font-size: 11px; color: var(--brass); flex: none; width: 26px; margin-top: 2px; }
.rp-toc-link.on .rp-toc-num { color: var(--brass); }
.rp-toc-edit { margin-top: auto; font-size: 13px; }

.rp-main { overflow-y: auto; padding: 0 0 60px; scroll-behavior: smooth; }
.rp-part { padding: 30px 56px 0; max-width: 920px; margin: 0 auto; }
.rp-part-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.rp-part:nth-child(2) .rp-part-head { border-top: none; }
.rp-part-num { font-size: 15px; color: var(--brass); font-weight: 600; }
.rp-part-title { font-size: 24px; color: var(--ink); }
.rp-lede {
  font-family: var(--font-serif); font-size: 17px; line-height: 1.85; color: var(--ink-2);
  border-left: 2px solid var(--brass); padding-left: 18px; margin: 0 0 22px; text-wrap: pretty;
}
.rp-blocks { display: flex; flex-direction: column; gap: 22px; }

/* hero */
.rp-hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.rp-hero-grid { position: absolute; inset: 0; opacity: .5; }
.rp-hero-inner { position: relative; max-width: 920px; margin: 0 auto; padding: 60px 56px 52px; }
.rp-hero-name { font-size: 52px; color: #fff; margin: 14px 0 16px; letter-spacing: 2px; }
.rp-hero-sum { font-family: var(--font-serif); font-size: 19px; line-height: 1.7; color: var(--brass-soft); max-width: 640px; margin: 0 0 28px; }
.rp-hero-meta { display: flex; flex-wrap: wrap; gap: 28px; padding: 22px 0; border-top: 1px solid rgba(222,81,53,.25); border-bottom: 1px solid rgba(222,81,53,.25); }
.rp-meta-item { display: flex; flex-direction: column; gap: 4px; }
.rp-meta-k { font-size: 12px; color: rgba(250,248,243,.55); }
.rp-meta-v { font-size: 15px; color: #fff; font-weight: 500; }
.rp-hero-tags { display: flex; gap: 10px; margin-top: 22px; }
.rp-tag { font-size: 13px; color: var(--brass-soft); border: 1px solid rgba(222,81,53,.4); padding: 5px 14px; border-radius: 99px; }

/* narrative */
.narr { display: flex; flex-direction: column; gap: 16px; }
.narr-p { font-family: var(--font-serif); font-size: 17px; line-height: 1.95; color: var(--ink); margin: 0; text-wrap: pretty; }

/* three things */
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.three-card { border-radius: var(--r-md); padding: 18px; border: 1px solid var(--line); background: #fff; }
.three-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.three-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.tc-sage { border-top: 3px solid var(--sage); } .tc-sage .three-ic { background: var(--sage); } .tc-sage .three-head { color: #2E5141; }
.tc-brick { border-top: 3px solid var(--brick); } .tc-brick .three-ic { background: var(--brick); } .tc-brick .three-head { color: #823830; }
.tc-ink { border-top: 3px solid var(--brass); } .tc-ink .three-ic { background: var(--brass); } .tc-ink .three-head { color: var(--brass); }
.three-text { font-size: 14.5px; line-height: 1.7; margin: 0; color: var(--ink); }

/* summary table */
.stable { overflow: hidden; }
.stable-row { display: grid; grid-template-columns: 120px 200px 1fr; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.stable-row:last-child { border-bottom: none; }
.stable-dim { font-weight: 600; font-size: 14.5px; }
.stable-note { font-size: 13.5px; }

/* path cards */
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.path-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-soft); }
.path-card.dim { background: var(--paper); box-shadow: none; opacity: .82; }
.path-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.path-title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.path-verdict { font-size: 13px; color: var(--brass); font-weight: 600; margin-bottom: 8px; }
.path-note { font-size: 13.5px; line-height: 1.65; margin: 0; }

/* fit assessment */
.fit-list { display: flex; flex-direction: column; gap: 14px; }
.fit-row { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 16px; }
.fit-label { font-size: 14px; font-weight: 500; }
.fit-bar { height: 9px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.fit-fill { height: 100%; border-radius: 99px; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.fill-sage { background: var(--sage); } .fill-amber { background: var(--amber); } .fill-brick { background: var(--brick); }
.fit-score { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.fit-note { font-size: 12.5px; }

/* risk pairs */
.risk-list { display: flex; flex-direction: column; gap: 12px; }
.risk-card { display: flex; align-items: stretch; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow-soft); }
.risk-seg { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.risk-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .5px; padding: 2px 0; }
.risk-r .risk-tag { color: var(--brick); } .risk-m .risk-tag { color: var(--slate); } .risk-f .risk-tag { color: var(--sage); }
.risk-body { font-size: 13.5px; line-height: 1.6; }
.risk-f .risk-body { color: var(--ink); }

/* region */
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.region-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.region-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.region-name { font-weight: 600; font-size: 15px; white-space: nowrap; }
.region-note { font-size: 13px; line-height: 1.55; margin: 0; }

/* schools */
.school-wrap { display: flex; flex-direction: column; gap: 22px; }
.school-ratio { font-size: 13px; }
.school-grouphead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hairline-fill { flex: 1; height: 1px; background: var(--line); }
.school-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.school-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-soft); transition: all .16s ease; display: flex; flex-direction: column; gap: 9px; }
.school-card:hover { border-color: var(--brass-soft); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.school-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.school-name { font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.school-en { font-size: 12px; margin-top: 2px; }
.school-major { font-size: 13px; color: var(--brass); font-weight: 600; }
.school-ranks { display: flex; gap: 18px; }
.rank-cell { display: inline-flex; align-items: center; gap: 7px; }
.rank-label { font-size: 11px; color: var(--slate); font-family: var(--font-data); }
.rank-val { font-size: 15px; font-weight: 600; }
.school-why { font-size: 13px; line-height: 1.6; margin: 0; color: var(--ink); }
.school-more { font-size: 12px; color: var(--slate); display: flex; align-items: center; gap: 4px; margin-top: 2px; }

/* modal */
.modal-mask { position: fixed; inset: 0; background: rgba(20,22,30,.34); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 50; padding: 24px; }
.modal { width: 560px; max-width: 100%; max-height: 86vh; overflow-y: auto; padding: 26px 28px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.modal-title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.modal-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.modal-sec { margin-bottom: 16px; }
.modal-k { font-size: 12px; font-weight: 600; color: var(--brass); letter-spacing: 1px; margin-bottom: 6px; }
.modal-sec p { margin: 0; font-size: 14.5px; line-height: 1.7; }

/* major matrix */
.matrix { overflow: hidden; }
.matrix-row { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.matrix-row:last-child { border-bottom: none; }
.matrix-head { background: var(--paper); }
.matrix-head .matrix-name, .matrix-dim { font-size: 12.5px; color: var(--slate); }
.matrix-head .matrix-dim { text-align: center; font-weight: 600; }
.matrix-dim { text-align: center; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); }
.dots i.on { background: var(--ink); }

/* major reco / not reco */
.mreco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mreco-card { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--sage); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-soft); }
.mreco-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mreco-name { font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.mreco-card p, .notreco-card p { font-size: 13.5px; line-height: 1.65; margin: 0; }
.notreco-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.notreco-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 600; }

/* value / career / outlook / cross */
.value-map { display: flex; flex-wrap: wrap; gap: 10px; }
.career-list { display: flex; flex-direction: column; gap: 2px; }
.career-row { display: grid; grid-template-columns: 160px auto 1fr; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.career-row:last-child { border-bottom: none; }
.career-role { font-weight: 600; font-size: 14.5px; }
.career-note { font-size: 13px; }
.callout { display: flex; gap: 12px; background: var(--ink); color: var(--paper); border-radius: var(--r-md); padding: 18px 20px; }
.callout svg { color: var(--brass-soft); flex: none; margin-top: 3px; }
.callout p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.cross { overflow: hidden; }
.cross-head, .cross-row { display: grid; grid-template-columns: 160px 120px 1fr; align-items: center; gap: 14px; padding: 13px 16px; }
.cross-head { background: var(--paper); font-size: 12.5px; color: var(--slate); font-weight: 600; }
.cross-row { border-top: 1px solid var(--line); }
.cross-school { font-weight: 600; font-size: 14px; }
.cross-row .muted { font-size: 13px; }

/* path reco tables */
.prt-grid { display: flex; flex-direction: column; gap: 14px; }
.prt-group { padding: 16px 18px; }
.prt-title { font-family: var(--font-serif); font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--brass); }
.prt-row { display: grid; grid-template-columns: 200px auto 1fr; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.prt-name { font-size: 14px; font-weight: 500; }
.prt-note { font-size: 13px; }

/* roadmap */
.urgent { background: var(--ink); color: var(--paper); padding: 20px 22px; margin-bottom: 24px; }
.urgent-head { display: flex; align-items: center; gap: 8px; color: var(--brass-soft); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.urgent-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.urgent-list li { font-size: 15px; line-height: 1.6; color: #fff; }
.timeline { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 24px 1fr; gap: 16px; }
.tl-marker { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 14px; height: 14px; border-radius: 99px; background: var(--brass); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--brass); margin-top: 4px; flex: none; }
.tl-line { width: 2px; flex: 1; background: var(--line-2); margin: 4px 0; }
.tl-body { padding-bottom: 22px; }
.tl-when { font-family: var(--font-data); font-size: 13px; font-weight: 700; color: var(--brass); }
.tl-goal { font-family: var(--font-serif); font-size: 16px; font-weight: 600; margin: 3px 0 10px; }
.tl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tl-chip { font-size: 12.5px; background: #fff; border: 1px solid var(--line); padding: 5px 11px; border-radius: 99px; color: var(--ink); white-space: nowrap; }
.tl-risk { font-size: 13px; color: var(--slate); line-height: 1.6; }
.tl-risk-tag { font-size: 11px; font-weight: 700; color: var(--brick); background: rgba(166,75,60,.1); padding: 2px 7px; border-radius: 5px; margin-right: 8px; }

/* boost / service */
.boost-list, .service-list { display: flex; flex-direction: column; gap: 2px; }
.boost-row, .service-row { display: grid; grid-template-columns: auto 1.4fr 2fr; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.boost-row:last-child, .service-row:last-child { border-bottom: none; }
.boost-name, .service-name { font-weight: 600; font-size: 14px; }
.boost-note, .service-note { font-size: 13px; }

/* risk-opportunity / next five / closing */
.ro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ro-card { border-radius: var(--r-md); padding: 20px; }
.ro-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.ro-card p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.ro-risk { background: rgba(166,75,60,.06); border: 1px solid rgba(166,75,60,.2); } .ro-risk .ro-head { color: #823830; }
.ro-opp { background: rgba(62,116,88,.06); border: 1px solid rgba(62,116,88,.2); } .ro-opp .ro-head { color: #2E5141; }
.nextfive { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nextfive li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.6; }
.nf-num { flex: none; width: 28px; height: 28px; border-radius: 99px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.closing { background: var(--paper-2); border-radius: var(--r-md); padding: 24px 26px; }
.closing p { font-family: var(--font-serif); font-size: 16px; line-height: 1.95; margin: 0; text-wrap: pretty; }
.closing-sign { text-align: right; margin-top: 14px; font-family: var(--font-serif); color: var(--brass); }

/* disclaimer + cta */
.rp-disclaimer { max-width: 920px; margin: 40px auto 0; padding: 0 56px; font-size: 12.5px; color: var(--slate); line-height: 1.7; }
.rp-cta { max-width: 920px; margin: 22px auto 0; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rp-cta-title { font-size: 18px; margin-bottom: 4px; }

/* ============================================================
   App shell + sidebar
   ============================================================ */
.app-shell { display: grid; grid-template-columns: 232px 1fr; height: 100%; }
.app-content { overflow: hidden; height: 100%; }
.sb { background: #F4EDDE; color: var(--ink); display: flex; flex-direction: column; padding: 22px 16px; border-right: 1px solid var(--line); }
.sb-brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 22px; }
.sb-mk { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.sb-name { font-size: 20px; letter-spacing: 2px; }
.sb .sb-name-global { color: var(--ink); }
.sb .sb-name-path { color: var(--brass); }
.sb-nav { display: flex; flex-direction: column; gap: 3px; }
.sb-item { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; padding: 11px 12px; border-radius: 9px; background: transparent; border: none; color: var(--slate); font-size: 14.5px; transition: all .15s ease; white-space: nowrap; }
.sb-item svg { flex: none; }
.sb-item:hover:not(:disabled) { background: rgba(40,32,18,.05); color: var(--ink); }
.sb-item.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }
.sb-item.on svg { color: var(--brass); }
.sb-item:disabled { opacity: .4; cursor: not-allowed; }
.sb-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.sb-user { display: flex; align-items: center; gap: 11px; padding: 6px; }
.sb-avatar { width: 36px; height: 36px; border-radius: 99px; background: var(--brass); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-size: 16px; }
.sb-user-n { font-size: 14px; color: var(--ink); font-weight: 500; }
.sb-user-s { font-size: 11.5px; color: var(--slate) !important; }

/* ============================================================
   Landing
   ============================================================ */
.land { position: relative; height: 100%; background: var(--ink); color: var(--paper); overflow: hidden; display: grid; place-items: center; }
.land-grid { position: absolute; inset: 0; opacity: .45; }
.land-inner { position: relative; max-width: 760px; padding: 40px; text-align: center; }
.land-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--brass-soft); letter-spacing: 1px; margin-bottom: 34px; }
.land-mk { width: 32px; height: 32px; border-radius: 9px; background: rgba(222,81,53,.18); color: var(--brass-soft); display: grid; place-items: center; }
.land-h1 { font-size: 46px; line-height: 1.4; color: #fff; letter-spacing: 1px; margin-bottom: 22px; }
.land-em { color: var(--brass-soft); }
.land-sub { font-family: var(--font-serif); font-size: 18px; line-height: 1.85; color: rgba(250,248,243,.78); max-width: 560px; margin: 0 auto 34px; }
.land-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.land-trust { font-size: 13px; color: rgba(250,248,243,.5); }
.land-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; text-align: left; }
.land-point { padding: 18px; border: 1px solid rgba(222,81,53,.22); border-radius: var(--r-md); background: rgba(255,255,255,.02); }
.land-point-t { font-family: var(--font-serif); font-size: 15px; color: #fff; margin-bottom: 7px; }
.land-point-d { font-size: 13px; line-height: 1.65; color: rgba(250,248,243,.62); }

/* ============================================================
   Auth · 双栏（品牌 + 表单）· 深色
   ============================================================ */
.auth { height: 100%; display: grid; place-items: center; padding: 32px; position: relative; overflow: hidden;
  background: #FAF4EA; }
.auth-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(40,32,18,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(40,32,18,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%); }
.auth-shell { position: relative; width: 860px; max-width: 100%; display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; border: 1px solid rgba(40,32,18,.12); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(40,32,18,.16); }
.auth-side { padding: 44px 40px; background: linear-gradient(160deg, rgba(222,81,53,.18), rgba(244,237,222,.55)); border-right: 1px solid rgba(40,32,18,.08); display: flex; flex-direction: column; }
.auth-side-h { font-family: var(--font-serif); font-size: 28px; line-height: 1.4; color: var(--ink); font-weight: 700; margin: 30px 0 16px; letter-spacing: 1px; }
.auth-side-h em { font-style: normal; color: var(--brass); }
.auth-side-sub { font-size: 14px; line-height: 1.8; color: var(--slate); margin: 0 0 26px; }
.auth-points { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.auth-points li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.auth-pt-ic { flex: none; width: 20px; height: 20px; border-radius: 99px; background: rgba(222,81,53,.22); color: var(--brass); display: grid; place-items: center; }
.auth-side-foot { margin-top: auto; display: flex; align-items: baseline; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(40,32,18,.1); }
.auth-foot-n { font-family: var(--font-data); font-size: 21px; font-weight: 700; color: var(--ink); }
.auth-foot-t { font-size: 12px; color: var(--slate); margin-right: 4px; }
.auth-foot-div { width: 1px; height: 18px; background: rgba(40,32,18,.14); align-self: center; }

.auth-main { padding: 44px 40px; display: flex; flex-direction: column; }
.auth-main-head { margin-bottom: 22px; }
.auth-main-h { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: .5px; }
.auth-main-sub { font-size: 13px; color: var(--slate); margin: 10px 0 0; }

/* 登录方式分段切换 */
.auth-methods { display: flex; gap: 6px; padding: 4px; margin-bottom: 22px; background: var(--paper); border: 1px solid rgba(40,32,18,.1); border-radius: 11px; }
.auth-method { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 6px; border: none; background: transparent; color: var(--slate); font-size: 13.5px; font-weight: 500; border-radius: 8px; cursor: pointer; transition: all .15s ease; }
.auth-method:hover { color: var(--ink); }
.auth-method.on { background: #fff; color: var(--brass); box-shadow: 0 1px 3px rgba(40,32,18,.1), inset 0 0 0 1px rgba(222,81,53,.4); }

/* 手机号前缀字段 */
.auth-field { display: flex; align-items: stretch; }
.auth-prefix { display: inline-flex; align-items: center; padding: 0 14px; font-size: 15px; color: var(--slate);
  background: var(--paper); border: 1px solid var(--line-2); border-right: none; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.auth-field .auth-input { border-radius: 0 var(--r-sm) var(--r-sm) 0; flex: 1; }
.auth-alt { font-size: 12.5px; color: var(--slate); text-align: center; margin-top: 2px; }

/* 微信扫码 */
.auth-wx { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 10px 0 4px; }
.auth-wx-qr { position: relative; width: 168px; height: 168px; border-radius: 16px; background: #fff; display: grid; place-items: center;
  border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(40,32,18,.12); }
.auth-wx-grid { position: absolute; inset: 16px; border-radius: 6px;
  background-image: repeating-linear-gradient(0deg, #1c1710 0 5px, transparent 5px 10px), repeating-linear-gradient(90deg, #1c1710 0 5px, transparent 5px 10px);
  background-size: 10px 10px; opacity: .9;
  -webkit-mask-image: radial-gradient(circle at 22% 22%, transparent 12%, #000 13%), radial-gradient(circle at 78% 22%, transparent 12%, #000 13%), radial-gradient(circle at 22% 78%, transparent 12%, #000 13%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.auth-wx-logo { position: relative; width: 44px; height: 44px; border-radius: 11px; background: #3E7458; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.auth-wx-hint { font-size: 14px; color: var(--ink); font-weight: 500; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-label { font-size: 13px; color: var(--slate); font-weight: 500; }
.auth-sent { color: var(--brass); font-weight: 400; }
.auth-input { background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 15px; font-size: 16px; transition: border .15s ease; }
.auth-input::placeholder { color: var(--slate); opacity: .6; }
.auth-input:focus { border-color: var(--brass); outline: none; }
.auth-btn { margin-top: 6px; padding: 14px; font-size: 15px; }
.auth-back { background: transparent; border: none; color: var(--slate); font-size: 13px; cursor: pointer; padding: 4px; }
.auth-back:hover { color: var(--ink); }
.auth-err { font-size: 13px; color: var(--brick); }
.auth-demo { font-size: 12px; text-align: center; color: var(--slate); opacity: .8; }
.auth-trust { margin-top: auto; padding-top: 24px; font-size: 11.5px; color: var(--slate); line-height: 1.7; }
@media (max-width: 720px) { .auth-shell { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ============================================================
   Role select
   ============================================================ */
.role { height: 100%; display: grid; place-items: center; background: var(--paper); }
.role-inner { max-width: 760px; padding: 40px; text-align: center; }
.role-h1 { font-size: 40px; margin: 10px 0 12px; }
.role-sub { font-size: 15px; max-width: 460px; margin: 0 auto 36px; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-soft); transition: all .18s ease; display: flex; flex-direction: column; gap: 10px; }
.role-card:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.role-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--brass-soft); display: grid; place-items: center; margin-bottom: 6px; }
.role-card-t { font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.role-card-d { font-size: 14px; line-height: 1.7; color: var(--slate); }
.role-go { margin-top: 8px; color: var(--brass); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ============================================================
   Booking
   ============================================================ */
.book-wrap { height: 100%; overflow-y: auto; display: grid; place-items: center; padding: 40px; }
.book-card { width: 540px; max-width: 100%; padding: 30px 32px; }
.book-h2 { font-size: 26px; margin: 6px 0 14px; }
.book-field { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.book-area { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14.5px; line-height: 1.6; resize: vertical; }
.book-area:focus { border-color: var(--brass); outline: none; }
.book-phone { font-size: 15px; display: flex; align-items: center; }
.book-ok { width: 56px; height: 56px; border-radius: 99px; background: var(--sage); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }

/* ============================================================
   Me / personal center
   ============================================================ */
.me-wrap { height: 100%; overflow-y: auto; padding: 34px 44px 60px; max-width: 1000px; margin: 0 auto; }
.me-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.me-h1 { font-size: 28px; margin-bottom: 6px; }
.me-persona { display: flex; gap: 8px; }
.me-tabs { display: flex; gap: 4px; margin: 24px 0 22px; border-bottom: 1px solid var(--line); }
.me-tab { background: transparent; border: none; padding: 11px 16px; font-size: 14.5px; color: var(--slate); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.me-tab.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--brass); }
.me-tab:hover { color: var(--ink); }
.me-recompute { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: var(--paper); border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 22px; }
.me-recompute strong { color: #fff; }
.me-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.me-group { padding: 18px 20px; }
.me-group-t { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--brass); margin-bottom: 12px; }
.me-field { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.me-field:nth-child(2) { border-top: none; }
.me-field-k { font-size: 13px; color: var(--slate); }
.me-field-v { display: flex; align-items: center; text-align: left; background: transparent; border: none; font-size: 14px; color: var(--ink); padding: 4px 6px; border-radius: 6px; width: 100%; }
.me-field-v:hover { background: var(--paper-2); }
.me-input { border: 1px solid var(--brass); border-radius: 6px; padding: 6px 10px; width: 100%; font-size: 14px; }
.me-history { display: flex; flex-direction: column; gap: 12px; max-width: 600px; }
.me-hist { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; text-align: left; background: #fff; transition: all .15s ease; }
.me-hist:hover { border-color: var(--brass-soft); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.me-hist-l { display: flex; align-items: center; gap: 14px; }
.me-hist-t { font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.me-hist-go { font-size: 13px; color: var(--slate); display: flex; align-items: center; gap: 4px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 99px; font-size: 14px; box-shadow: var(--shadow-lift); z-index: 60; }

/* ============================================================
   Generating
   ============================================================ */
.gen-wrap { height: 100%; background: #FAF4EA; display: grid; place-items: center; color: var(--ink); }
.gen-inner { text-align: center; max-width: 440px; }
.gen-mk { width: 72px; height: 72px; border-radius: 20px; background: rgba(222,81,53,.18); color: var(--brass); display: grid; place-items: center; margin: 0 auto 26px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(222,81,53,.08); } }
.gen-title { font-size: 24px; color: var(--ink); margin-bottom: 28px; }
.gen-steps { display: inline-flex; flex-direction: column; gap: 13px; text-align: left; }
.gen-step { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--slate); opacity: .55; transition: all .4s ease; }
.gen-step .gen-dot { width: 20px; height: 20px; border-radius: 99px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: all .4s ease; }
.gen-step.active { color: var(--ink); opacity: 1; }
.gen-step.active .gen-dot { border-color: var(--brass); }
.gen-step.done { color: var(--ink); opacity: .8; }
.gen-step.done .gen-dot { background: var(--sage); border-color: var(--sage); color: #fff; }

/* responsive niceties */
@media (max-width: 1080px) {
  .three-grid, .me-groups { grid-template-columns: 1fr; }
  .land-points { grid-template-columns: 1fr; }
}

/* ============================================================
   签名元素：旋转放射光束 RadialBurst
   ============================================================ */
.burst { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: var(--ink); background: transparent; }
.path-burst-frame { position: relative; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; padding: 8px; }
.path-burst svg { display: block; width: 100%; height: 100%; }
.path-burst-wash { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,.46) 0%, rgba(255,255,255,.28) 18%, rgba(255,250,241,.12) 42%, rgba(255,250,241,0) 60%); }
.burst-rotor, .burst-ring { position: absolute; inset: 0; display: grid; place-items: center; }
.burst-ring { animation: spin-burst linear infinite; }
@keyframes spin-burst { to { transform: rotate(360deg); } }
.burst-seg { position: absolute; border-radius: 99px; transform-origin: 50% 50%; will-change: transform; }
.burst-halo { position: absolute; width: 60%; height: 60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,247,238,.66) 12%, rgba(252,247,238,.26) 46%, transparent 72%); filter: blur(11px); }
.burst-core { position: absolute; width: 44%; height: 44%; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,247,238,.8) 5%, rgba(250,244,234,.34) 40%, rgba(250,244,234,0) 76%); }
.burst-label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: .5px; }
.burst-label-mk { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--brass-soft); display: grid; place-items: center; }
@media (prefers-reduced-motion: reduce) { .burst-ring { animation: none; } }
html.tw-still .burst-ring { animation-play-state: paused; }

/* ============================================================
   Global Path — 品牌 logo
   ============================================================ */
.gp-logo { display: inline-flex; align-items: center; gap: 12px; }
.gp-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: var(--brass-soft); display: grid; place-items: center; flex: none; }
.gp-word { display: flex; flex-direction: column; line-height: 1.15; }
.gp-word-en { font-family: var(--font-data); font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--brass); }
.gp-word-cn { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: 1px; }
.gp-logo.light .gp-word-cn { color: #fff; }
.gp-logo.light .gp-word-en { color: var(--brass-soft); }
.gp-logo.light .gp-mark { background: rgba(240,164,142,.16); color: var(--brass-soft); }

/* ============================================================
   官方首页（暖纸白 · 森绿 · 金）
   ============================================================ */
/* ============================================================
   官方首页 · web3 暗色（near-black + 金 + 多彩数据）
   ============================================================ */
.hm { --d-bg: #FAF4EA; --d-bg2: #F2EADB; --d-surf: #FFFFFF; --d-line: rgba(40,32,18,.10);
  --d-line2: rgba(40,32,18,.17); --d-text: #221C12; --d-mut: #6F6555; --d-gold: var(--accent); --d-violet: #8B7CF6;
  height: 100%; overflow-y: auto; color: var(--d-text); scroll-behavior: smooth;
  background: var(--d-bg); }
.hm ::selection { background: rgba(194,94,69,.22); }
.hm-bigbtn { font-size: 16px; padding: 15px 30px; }
.hm .btn-brass { background: var(--ink); color: #fff; font-weight: 600; }
.hm .btn-brass:hover { background: #322a1c; }

/* outline button on light */
.btn-line { background: #fff; border: 1px solid var(--d-line2); color: var(--d-text); border-radius: var(--r-sm);
  padding: 13px 22px; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: all .16s ease; white-space: nowrap; box-shadow: 0 1px 2px rgba(40,32,18,.05); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); box-shadow: 0 3px 10px rgba(40,32,18,.10); }
.btn-line.dark { padding: 11px 0; border: none; color: var(--brass); }
.btn-line.dark:hover { gap: 12px; }

/* ---- Scroll-style split button: filled icon block + outlined label ---- */
.btn-split { display: inline-flex; align-items: stretch; gap: 7px; padding: 7px;
  border-radius: 16px; border: 1.5px solid var(--ink); background: transparent;
  cursor: pointer; font-family: var(--font-sans);
  transition: box-shadow .18s ease, transform .18s ease, background .18s ease; }
.btn-split .bs-ic { flex: none; width: 52px; align-self: stretch; border-radius: 11px;
  background: var(--ink); color: #fff; display: grid; place-items: center; }
.btn-split .bs-ic svg { transition: transform .2s ease; }
.btn-split .bs-tx { flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 13px 30px; font-size: 16px; font-weight: 600; color: var(--ink);
  white-space: nowrap; letter-spacing: .5px; }
.btn-split:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(40,32,18,.15); }
.btn-split:hover .bs-ic svg { transform: translateX(3px); }
.btn-split.brass { border-color: var(--brass); }
.btn-split.brass .bs-ic { background: var(--brass); }
.btn-split.brass .bs-tx { color: var(--brass); }
.btn-split.brass:hover { box-shadow: 0 8px 22px rgba(222,81,53,.24); }
.btn-split.sm { border-radius: 13px; padding: 5px; }
.btn-split.sm .bs-ic { width: 38px; border-radius: 8px; }
.btn-split.sm .bs-tx { padding: 9px 18px; font-size: 14px; }

/* ---- nav ---- */
.hm-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(24px,5vw,72px); background: rgba(250,244,234,.8); backdrop-filter: blur(14px); border-bottom: 1px solid var(--d-line); }
.hm-nav-links { display: flex; gap: 30px; }
.hm-nav-links a { color: var(--d-mut); font-size: 14.5px; cursor: pointer; transition: color .15s ease; white-space: nowrap; text-decoration: none; }
.hm-nav-links a:hover { color: var(--d-text); }
.hm-nav-cta { display: flex; align-items: center; gap: 18px; }
.hm-nav-login { background: transparent; border: none; color: var(--d-text); font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.hm-nav-login:hover { color: var(--brass); }
.hm-nav-start { padding: 9px 18px; font-size: 14px; white-space: nowrap; }
.hm .btn-brass.hm-nav-start { background: var(--brass); }
.hm .btn-brass.hm-nav-start:hover { background: #A84B33; }
@media (max-width: 860px) { .hm-nav-links { display: none; } }

/* ---- logo on light ---- */
.hm .gp-mark { background: var(--ink); color: var(--accent); }
.hm .gp-word-en { color: var(--brass); }
.hm .gp-word-cn { color: var(--d-text); }

/* ============ HERO ============ */
.hero { position: relative; min-height: calc(100vh - 64px); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(24px,5vw,72px); }
.hero-grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(40,32,18,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(40,32,18,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(100% 80% at 30% 40%, #000, transparent 75%); pointer-events: none; }
.hero-art { position: absolute; top: 50%; right: clamp(24px,4vw,72px); transform: translateY(-52%); pointer-events: none;
  filter: drop-shadow(0 0 70px rgba(150,128,98,.14)); }
.hero-art .burst { color: var(--d-text); }
.hero-art .burst-core { background: radial-gradient(circle, rgba(252,247,238,.78) 6%, rgba(250,244,234,.34) 44%, rgba(250,244,234,0) 78%); }
.hero-art .burst-label { color: var(--d-text); }
.hero-inner { position: relative; max-width: 1240px; width: 100%; margin: 0 auto; }
.hero-h1 { font-size: clamp(44px,6.4vw,88px); line-height: 1.12; color: var(--d-text); letter-spacing: 2px; margin: 0 0 26px; font-weight: 700; }
.hero-h1 em { font-style: normal; color: var(--brass); }
.hero-lede { font-size: 17px; line-height: 1.9; color: var(--d-mut); max-width: 480px; margin: 0 0 36px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero-art { right: -300px; opacity: .5; } }

/* ============ 规模 marquee（双行 · 加深面板，无分隔线）============ */
.scale { position: relative; padding: 60px 0; overflow: hidden; background: #F2EADB; }
.scale::before, .scale::after { content: ''; position: absolute; left: 0; right: 0; height: 64px; pointer-events: none; z-index: 2; }
.scale::before { top: 0; background: linear-gradient(180deg, #F2EADB, transparent); }
.scale::after { bottom: 0; background: linear-gradient(0deg, #F2EADB, transparent); }
.scale-row { position: relative; padding: 15px 0; }
.scale-row + .scale-row { margin-top: 16px; }

/* 标题移到左侧，浮在轨道之上，配渐隐底色 */
.scale-cap { position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  z-index: 3; display: flex; flex-direction: column; gap: 4px; pointer-events: none;
  padding: 10px clamp(40px, 6vw, 90px) 10px clamp(20px, 5vw, 64px); }
.scale-cap-k { font-family: var(--font-data); font-size: 11px; letter-spacing: 2px; color: var(--d-mut); text-transform: uppercase; }
.scale-cap-t { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--d-text); white-space: nowrap; }
.scale-cap.gold .scale-cap-k { color: var(--brass); }

.mq { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 30%, #000 38%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent 0 30%, #000 38%, #000 94%, transparent); }
.mq-track { display: flex; gap: 16px; width: max-content; align-items: stretch; animation: mq var(--mq-dur) linear infinite; }
.mq-track.rev { animation-duration: calc(var(--mq-dur) * 1.1); animation-direction: reverse; }
@keyframes mq { to { transform: translateX(-50%); } }

/* 院校卡片（名称 + 国家 + QS）*/
.uni-card { display: inline-flex; align-items: baseline; gap: 11px; white-space: nowrap;
  background: #fff; border: 1px solid var(--d-line); border-radius: 12px; padding: 13px 18px; box-shadow: 0 1px 2px rgba(40,32,18,.04); }
.uni-name { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--d-text); }
.uni-country { font-size: 12.5px; color: var(--d-mut); }
.uni-qs { font-family: var(--font-data); font-size: 11.5px; font-weight: 600; color: var(--brass);
  background: rgba(222,81,53,.16); border: 1px solid rgba(222,81,53,.32); border-radius: 99px; padding: 2px 9px; align-self: center; }

/* 录取卡片（无头像，清晰信息层级）*/
.offer-card { display: inline-flex; align-items: center; gap: 16px; white-space: nowrap;
  background: #fff; border: 1px solid var(--d-line2); border-radius: 14px; padding: 12px 16px 12px 18px; box-shadow: 0 1px 2px rgba(40,32,18,.04); }
.offer-body { display: flex; flex-direction: column; gap: 4px; }
.offer-l1 { display: flex; align-items: baseline; gap: 9px; }
.offer-who { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--d-text); }
.offer-yr { font-family: var(--font-data); font-size: 10.5px; letter-spacing: .3px; color: var(--d-mut); }
.offer-l2 { font-size: 13px; color: var(--d-mut); display: inline-flex; align-items: center; }
.offer-from { color: rgba(34,28,18,.5); }
.offer-arrow { font-style: normal; color: var(--brass); margin: 0 8px; }
.offer-to { color: var(--d-text); font-weight: 500; }
.offer-tag { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600;
  color: #3E7458; background: rgba(62,116,88,.12); border: 1px solid rgba(62,116,88,.25); border-radius: 99px; padding: 4px 11px; }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* ============ 通用 section head ============ */
.price-kicker { font-family: var(--font-data); font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--brass); text-transform: uppercase; }
.sec-head { max-width: 1180px; margin: 0 auto 52px; }
.sec-h2 { font-family: var(--font-serif); font-size: clamp(30px,3.8vw,48px); line-height: 1.26; color: var(--d-text); margin: 0; letter-spacing: 1px; font-weight: 700; }

/* ============ 能力 section ============ */
.cap { padding: clamp(72px,8vw,120px) clamp(24px,5vw,72px); }
.cap.alt { background: var(--d-bg2); }
.cap-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,96px); align-items: center; }
.cap-inner.reverse .cap-copy { order: 2; }
.cap-h2 { font-family: var(--font-serif); font-size: clamp(28px,3.4vw,44px); line-height: 1.28; color: var(--d-text); margin: 0 0 22px; letter-spacing: 1px; font-weight: 700; }
.cap-text { font-size: 16px; line-height: 1.95; color: var(--d-mut); margin: 0 0 26px; max-width: 440px; }

/* product mock visuals */
.mock { background: var(--d-surf); border: 1px solid var(--d-line2); border-radius: 16px; padding: 22px; box-shadow: 0 24px 60px rgba(40,32,18,.12); }
.mock-chat { display: flex; flex-direction: column; gap: 14px; }
.mock-msg { display: flex; gap: 11px; align-items: flex-start; }
.mock-av { flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(222,81,53,.18); color: var(--brass); display: grid; place-items: center; }
.mock-bub { background: #FBF6EE; border: 1px solid var(--d-line); border-radius: 4px 12px 12px 12px; padding: 11px 14px; font-size: 14px; line-height: 1.6; color: var(--d-text); }
.mock-chips { display: flex; gap: 9px; flex-wrap: wrap; padding-left: 39px; }
.mock-chip { font-size: 13px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--d-line2); color: var(--d-text); white-space: nowrap; }
.mock-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 500; }
.mock-file { display: flex; align-items: center; gap: 10px; margin-left: 39px; background: #FBF6EE; border: 1px solid var(--d-line); border-radius: 9px; padding: 11px 13px; font-size: 13px; color: var(--d-text); white-space: nowrap; }
.mock-file svg { color: var(--brass); }
.mock-tag { margin-left: auto; font-size: 11px; color: #3E7458; background: rgba(62,116,88,.12); padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.mock-report { display: flex; flex-direction: column; gap: 16px; }
.mock-rep-eyebrow { font-family: var(--font-serif); font-size: 17px; color: var(--d-text); font-weight: 600; }
.mock-rep-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.mock-rc { padding: 12px; border-radius: 9px; background: #FBF6EE; border-top: 2px solid; }
.mock-rc.sage { border-color: #5FA37E; } .mock-rc.brick { border-color: #C8715F; } .mock-rc.gold { border-color: var(--d-gold); }
.mock-rc b { display: block; font-size: 11px; font-weight: 600; margin-bottom: 5px; color: var(--d-mut); }
.mock-rc i { font-style: normal; font-size: 12.5px; color: var(--d-text); font-weight: 500; }
.mock-rep-rows { display: flex; flex-direction: column; }
.mock-rep-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--d-line); font-size: 13.5px; color: var(--d-text); }
.mock-rep-row em { font-style: normal; font-weight: 600; color: var(--brass); }
.mock-rep-row.dim { color: var(--d-mut); } .mock-rep-row.dim em { color: var(--d-mut); font-weight: 400; }
@media (max-width: 860px) { .cap-inner, .cap-inner.reverse .cap-copy { grid-template-columns: 1fr; order: 0; } .mock-chips, .mock-file { padding-left: 0; margin-left: 0; } }

/* ============ 数据带 ============ */
.stats { border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); padding: clamp(48px,6vw,72px) clamp(24px,5vw,72px); }
.stats-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; border-left: 1px solid var(--d-line); }
.stat:first-child { border-left: none; }
.stat-n { font-family: var(--font-serif); font-size: clamp(40px,5vw,60px); font-weight: 700; color: var(--d-text); letter-spacing: 1px; }
.stat-t { font-size: 13.5px; color: var(--d-mut); margin-top: 6px; }
@media (max-width: 620px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .stat:nth-child(3) { border-left: none; } }

/* ============ 如何运作（路径式时间线）============ */
.how { max-width: 1180px; margin: 0 auto; padding: clamp(72px,8vw,112px) clamp(24px,5vw,72px); }
.how-path { position: relative; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,40px); }
.how-step { display: flex; flex-direction: column; }
.how-top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 2px solid var(--d-line2); position: relative; }
.how-top::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--brass); }
.how-num { font-family: var(--font-data); font-size: clamp(54px,5.6vw,74px); font-weight: 800;
  line-height: .9; color: var(--ink); letter-spacing: -2px; }
.how-node { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brass); color: #fff; box-shadow: 0 8px 18px rgba(222,81,53,.26); }
.how-step-t { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--d-text); margin: 0 0 12px; letter-spacing: .5px; }
.how-step-d { font-size: 14px; line-height: 1.85; color: var(--d-mut); margin: 0; text-wrap: pretty; }
@media (max-width: 860px) { .how-steps { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 520px) { .how-steps { grid-template-columns: 1fr; } }

/* ============ 样例报告 ============ */
.samples { background: var(--d-bg2); padding: clamp(72px,8vw,112px) clamp(24px,5vw,72px); }
.samples-list { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--d-line2); }
.sample-row { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: clamp(20px,4vw,56px);
  width: 100%; text-align: left; background: transparent; border: none; border-bottom: 1px solid var(--d-line);
  padding: 34px 8px; cursor: pointer; transition: background .18s ease, padding .18s ease; }
.sample-row:hover { background: rgba(40,32,18,.03); padding-left: 18px; padding-right: 18px; }
.sample-idx { font-family: var(--font-data); font-size: 12.5px; letter-spacing: 2px; color: var(--brass); font-weight: 600; align-self: flex-start; padding-top: 6px; }
.sample-name { font-family: var(--font-serif); font-size: clamp(23px,2.6vw,30px); font-weight: 600; color: var(--d-text); }
.sample-meta { font-size: 13px; color: var(--brass); margin: 6px 0 12px; }
.sample-sum { font-size: 14.5px; line-height: 1.8; color: var(--d-mut); margin: 0 0 14px; max-width: 560px; }
.sample-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-tag { font-size: 12px; background: #fff; border: 1px solid var(--d-line2); color: var(--d-text); padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.sample-go { display: flex; align-items: center; gap: 8px; color: var(--brass); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: gap .15s ease; }
.sample-row:hover .sample-go { gap: 12px; }
@media (max-width: 760px) { .sample-row { grid-template-columns: 1fr; gap: 14px; } }

/* ============ 定价 ============ */
.price { padding: clamp(72px,8vw,120px) clamp(24px,5vw,72px); }
.price-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,88px); align-items: center;
  background: var(--d-bg2); border: 1px solid var(--d-line2); border-radius: 20px; padding: clamp(36px,5vw,56px); }
.price-amt { display: flex; align-items: baseline; gap: 4px; margin: 24px 0 18px; }
.price-cur { font-family: var(--font-serif); font-size: 34px; color: var(--d-text); }
.price-num { font-size: 84px; font-weight: 700; color: var(--d-text); line-height: 1; letter-spacing: -1px; }
.price-note { font-size: 15px; line-height: 1.85; color: var(--d-mut); margin: 0 0 30px; max-width: 380px; }
.price-right { display: flex; flex-direction: column; }
.price-li { display: flex; align-items: flex-start; gap: 14px; font-size: 14.5px; line-height: 1.5; color: var(--d-text);
  padding: 13px 0; border-top: 1px solid var(--d-line); }
.price-li:first-child { border-top: none; }
.price-tick { flex: none; width: 22px; height: 22px; border-radius: 99px; background: rgba(222,81,53,.2); color: var(--brass); display: grid; place-items: center; margin-top: 1px; }
@media (max-width: 760px) { .price-inner { grid-template-columns: 1fr; gap: 32px; } }

/* ============ 终局 CTA ============ */
.cta-end { position: relative; text-align: center; padding: clamp(90px,11vw,150px) 24px; overflow: hidden; border-top: 1px solid var(--d-line); }
.cta-end-art { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: .3; pointer-events: none; }
.cta-end-art .burst-core { background: radial-gradient(circle, rgba(252,247,238,.72) 5%, rgba(250,244,234,.3) 40%, rgba(250,244,234,0) 74%); }
.cta-end-art .burst-label { opacity: 0; }
.cta-end-art .path-burst-label { opacity: 0; }
.cta-end-h { position: relative; font-family: var(--font-serif); font-size: clamp(32px,4.4vw,58px); line-height: 1.3; color: var(--d-text); margin: 0 0 38px; letter-spacing: 1.5px; font-weight: 700; }
.cta-end-actions { position: relative; display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ============ footer ============ */
.hm-footer { border-top: 1px solid var(--d-line); padding: clamp(48px,5vw,72px) clamp(24px,5vw,72px) 36px; }
.hm-foot-top { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--d-line); }
.hm-foot-cols { display: flex; gap: clamp(48px,6vw,96px); }
.hm-foot-col { display: flex; flex-direction: column; gap: 12px; }
.hm-foot-h { font-family: var(--font-data); font-size: 12px; letter-spacing: 1.5px; color: var(--d-mut); text-transform: uppercase; margin-bottom: 2px; }
.hm-foot-col a { font-size: 14px; color: var(--d-text); cursor: pointer; transition: color .15s ease; white-space: nowrap; }
.hm-foot-col a:hover { color: var(--brass); }
.hm-foot-bot { max-width: 1180px; margin: 24px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--d-mut); }

/* ============================================================
   样例库 + 付费墙
   ============================================================ */
.cases-wrap { height: 100%; overflow-y: auto; padding: 56px clamp(28px,4vw,64px) 72px; max-width: 1080px; margin: 0 auto; background: #FAF4EA; }
.cases-head { margin-bottom: 40px; }
.cases-h1 { font-family: var(--font-serif); font-size: clamp(28px,3.4vw,40px); font-weight: 700; color: var(--ink); letter-spacing: .5px; margin: 0 0 14px; line-height: 1.25; }
.cases-sub { font-size: 15.5px; line-height: 1.8; color: var(--slate); max-width: 580px; margin: 0; }

.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-card { display: flex; flex-direction: column; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 22px;
  box-shadow: 0 1px 2px rgba(40,32,18,.05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.case-card:hover { transform: translateY(-3px); border-color: var(--brass-soft); box-shadow: 0 18px 44px rgba(40,32,18,.12); }
.case-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.case-card-idx { font-family: var(--font-data); font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--brass); }
.case-card-secs { font-family: var(--font-data); font-size: 12px; color: var(--slate); }
.case-card-name { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: .5px; margin-bottom: 7px; }
.case-card-meta { font-size: 13px; color: var(--brass); margin-bottom: 14px; }
.case-card-sum { font-size: 14.5px; line-height: 1.8; color: var(--slate); margin: 0 0 18px; flex: 1; text-wrap: pretty; }
.case-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.case-tag { font-size: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.case-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.case-card-go { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.case-card-arrow { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink); transition: background .18s ease, color .18s ease, transform .18s ease; }
.case-card:hover .case-card-arrow { background: var(--brass); color: #fff; transform: translateX(3px); }

.cases-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 28px; padding: 26px 30px; background: var(--ink); border-radius: 18px; }
.cases-cta-t { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.cases-cta-d { font-size: 14px; color: rgba(255,255,255,.66); }
.cases-cta-btn { border-color: rgba(255,255,255,.22); }
.cases-cta-btn .bs-tx { color: #fff; }
@media (max-width: 720px) { .cases-grid { grid-template-columns: 1fr; } }

.rp-toc-back { display: flex; align-items: center; gap: 6px; background: transparent; border: none; color: var(--slate); font-size: 13px; padding: 4px 8px; margin-bottom: 14px; border-radius: 7px; }
.rp-toc-back:hover { color: var(--ink); background: var(--paper-2); }
.rp-toc-sample { margin-top: auto; font-family: var(--font-data); font-size: 11px; letter-spacing: .5px; color: var(--slate); border: 1px dashed var(--line-2); border-radius: 7px; padding: 8px 10px; text-align: center; }

.pay-wrap { height: 100%; overflow-y: auto; background: var(--paper); display: grid; place-items: center; padding: 40px 24px; }
.pay-inner { width: 100%; max-width: 860px; }
.pay-back { display: flex; align-items: center; gap: 6px; background: transparent; border: none; color: var(--slate); font-size: 14px; margin-bottom: 18px; white-space: nowrap; }
.pay-back:hover { color: var(--ink); }
.pay-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.pay-left, .pay-right { padding: 28px 30px; }
.pay-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 16px 0; }
.pay-item-t { font-size: 17px; font-weight: 600; }
.pay-item-price { font-size: 22px; font-weight: 700; color: var(--ink); }
.pay-inc { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pay-inc li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.pay-amt-row { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pay-amt { font-family: var(--font-data); font-size: 30px; font-weight: 700; color: var(--ink); }
.pay-method-t { font-size: 13px; color: var(--slate); margin: 18px 0 12px; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; font-size: 14.5px; font-weight: 500; transition: all .15s ease; white-space: nowrap; }
.pay-method:hover { border-color: var(--brass-soft); }
.pay-method.on { border-color: var(--brass); background: #FCFAF5; }
.pay-method-dot { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.pay-radio { margin-left: auto; width: 20px; height: 20px; border-radius: 99px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: #fff; }
.pay-radio.on { background: var(--brass); border-color: var(--brass); }
.pay-btn { width: 100%; margin-top: 20px; font-size: 16px; padding: 14px; }
.pay-trust { font-size: 12px; color: var(--slate); text-align: center; margin-top: 14px; line-height: 1.6; }
@media (max-width: 720px) { .pay-grid { grid-template-columns: 1fr; } }

/* sidebar lock pill */
.sb-lock { margin-left: auto; font-family: var(--font-data); font-size: 10.5px; font-weight: 700; color: var(--brass); border: 1px solid rgba(222,81,53,.4); border-radius: 99px; padding: 2px 7px; }
.sb-name { font-family: var(--font-serif); font-size: 20px; color: #fff; letter-spacing: 1px; }

/* ============================================================
   关于我们 (About)
   ============================================================ */
.hm-nav-links a.on { color: var(--brass); font-weight: 600; }

.ab-hero { position: relative; overflow: hidden; padding: clamp(72px,10vw,140px) clamp(24px,5vw,72px) clamp(60px,7vw,100px); }
.ab-hero-art { position: absolute; top: 50%; right: clamp(-200px,-6vw,-60px); transform: translateY(-50%); pointer-events: none;
  opacity: .92; filter: drop-shadow(0 0 80px rgba(222,81,53,.18)); }
.ab-hero-art .burst-label { color: var(--d-text); }
.ab-hero-inner { position: relative; max-width: 1180px; margin: 0 auto; }
.ab-hero-h1 { font-family: var(--font-serif); font-size: clamp(40px,5.6vw,76px); line-height: 1.18; color: var(--d-text);
  letter-spacing: 1.5px; margin: 18px 0 26px; font-weight: 700; }
.ab-hero-h1 em { font-style: normal; color: var(--brass); }
.ab-hero-lede { font-size: 17px; line-height: 1.95; color: var(--d-mut); max-width: 540px; margin: 0; text-wrap: pretty; }
@media (max-width: 860px) { .ab-hero-art { opacity: .4; right: -260px; } }

/* 使命陈述带 */
.ab-creed { background: var(--ink); color: var(--paper); padding: clamp(64px,8vw,110px) clamp(24px,5vw,72px); text-align: center; }
.ab-creed-p { max-width: 880px; margin: 0 auto; font-family: var(--font-serif); font-size: clamp(22px,2.8vw,34px);
  line-height: 1.7; color: var(--paper); font-weight: 500; letter-spacing: .5px; text-wrap: pretty; }
.ab-creed-p em { font-style: normal; color: var(--brass-soft); }

/* 能力网格 */
.ab-caps { max-width: 1180px; margin: 0 auto; padding: clamp(72px,8vw,120px) clamp(24px,5vw,72px); }
.ab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab-card { background: var(--d-surf); border: 1px solid var(--d-line2); border-radius: 16px; padding: 28px 26px;
  box-shadow: 0 1px 2px rgba(40,32,18,.04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ab-card:hover { transform: translateY(-3px); border-color: var(--brass-soft); box-shadow: 0 18px 44px rgba(40,32,18,.12); }
.ab-card-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  background: rgba(222,81,53,.14); color: var(--brass); margin-bottom: 18px; }
.ab-card-t { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--d-text); margin: 0 0 11px; letter-spacing: .5px; }
.ab-card-d { font-size: 14.5px; line-height: 1.85; color: var(--d-mut); margin: 0; text-wrap: pretty; }
@media (max-width: 920px) { .ab-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ab-grid { grid-template-columns: 1fr; } }

/* 坚持的事 */
.ab-vals { background: var(--d-bg2); padding: clamp(72px,8vw,120px) clamp(24px,5vw,72px); }
.ab-vals-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 360px 1fr; gap: clamp(40px,6vw,88px); align-items: start; }
.ab-vals-head { position: sticky; top: 92px; }
.ab-vals-h { font-family: var(--font-serif); font-size: clamp(28px,3.4vw,42px); line-height: 1.28; color: var(--d-text); margin: 14px 0 0; letter-spacing: 1px; font-weight: 700; }
.ab-vals-list { display: flex; flex-direction: column; }
.ab-val { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--d-line2); align-items: start; }
.ab-val:first-child { border-top: none; padding-top: 0; }
.ab-val-n { font-family: var(--font-data); font-size: 20px; font-weight: 700; color: var(--brass); padding-top: 2px; }
.ab-val-t { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--d-text); margin-bottom: 9px; letter-spacing: .5px; }
.ab-val-d { font-size: 15px; line-height: 1.9; color: var(--d-mut); margin: 0; max-width: 560px; text-wrap: pretty; }
@media (max-width: 860px) { .ab-vals-inner { grid-template-columns: 1fr; gap: 28px; } .ab-vals-head { position: static; } }
