/*
 * 专题页（离岸公司转代理 / 历史问题梳理与特殊情况处理）
 * 沿用全站视觉：深蓝场景、15° 斜切、等宽数字、细线、2px 圆角。
 * 色彩 v3：蓝色负责信息与导航，橙色只用于主行动（button-cta）和航线终点；每屏不超过两处橙色，橙色不作文字。
 */

/* ---------- 浅色卡片语境（深色区块中的白卡） ---------- */
.tp-contact-form, .tp-region, .tp-doc {
  --accent: #092EB8; --accent-rgb: 9, 46, 184; --accent-fill: #092EB8; --accent-fill-hover: #212773;
}

.tp { --tp-line: var(--line); --tp-card: var(--white); }
.tp h3 { font-weight: 700; }
.tp .tp-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.tp .tp-link i { font-style: normal; transition: transform .2s ease; }
.tp .tp-link:hover i, .tp .tp-link:focus-visible i { transform: translateX(4px); }
.tp .tp-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.tp .tp-src { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.tp .tp-src a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tp .tp-src a:hover { color: var(--accent); }
.tp .is-dark .tp-src, .tp [data-header-theme="dark"] .tp-src { color: rgba(209, 219, 255, .74); }
.tp .tp-note { margin: 28px 0 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: rgba(var(--accent-rgb), .06); color: var(--text, #2B3155); font-size: 15px; line-height: 1.8; }
.tp .tp-note a { color: var(--accent); }

/* ---------- 首屏 ---------- */
.tp-hero { overflow: hidden; }
.tp-hero .p2-hero-grid { align-items: center; }
.tp-hero h1 { max-width: 13.5em; font-size: clamp(32px, 4.3vw, 62px); }
.tp-hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tp-hero-art svg { position: absolute; right: -6%; top: 0; width: 82%; height: 100%; }
/* 航线以方案卡片为锚点，画在卡片上方的空白处，任何宽度下都不压住左侧文字；1023px 以下首屏单栏时隐藏 */
.tp-hero-route { position: absolute; left: -16%; right: 0; bottom: calc(100% + 12px); width: 116%; height: 150px; overflow: visible; pointer-events: none; }
.tp-route { stroke-dasharray: 100; stroke-dashoffset: 100; animation: tp-draw 2s cubic-bezier(.3, .6, .2, 1) .3s forwards; }
.tp-route.is-broken { stroke-dasharray: 6 10; stroke-dashoffset: 0; animation: tp-flow 3s linear infinite; }
.tp-route-end { transform-origin: center; transform-box: fill-box; animation: tp-pulse 2.8s ease-in-out 2.2s infinite; }
.tp-hero.is-offscreen .tp-route, .tp-hero.is-offscreen .tp-route-end { animation-play-state: paused; }
@keyframes tp-draw { to { stroke-dashoffset: 0; } }
@keyframes tp-flow { to { stroke-dashoffset: -64; } }
@keyframes tp-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .55; } }

.tp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 28px; padding: 0; list-style: none; max-width: 760px; border-top: 1px solid var(--line-dark); }
.tp-points li { padding: 16px 18px 0 0; }
.tp-points li + li { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.tp-points b { display: block; margin-bottom: 6px; color: var(--white); font-size: 16px; }
.tp-points span { display: block; color: rgba(209, 219, 255, .78); font-size: 14px; line-height: 1.65; }

.tp-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; }
.tp-picker-label { margin-right: 6px; color: rgba(209, 219, 255, .78); font-size: 14px; }
.tp-chip { min-height: 38px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .04); color: var(--mist); font: inherit; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tp-chip:hover { border-color: var(--accent); color: var(--white); }
.tp-chip[aria-pressed="true"] { border-color: var(--accent-fill); background: var(--accent-fill); color: var(--white); }
.tp-chip:focus-visible, .tp-tab:focus-visible, .tp summary:focus-visible, .tp-doc:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.tp-sample { position: relative; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line-dark); background: linear-gradient(160deg, rgba(36, 70, 184, .28), rgba(11, 15, 58, .72)); backdrop-filter: blur(6px); }
.tp-sample::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 3px; background: var(--accent); transform: skewX(calc(var(--slant) * -1)); transform-origin: left; }
.tp-sample-tag { display: inline-block; margin: 0 0 10px; padding: 2px 8px; border: 1px solid var(--line-dark); color: rgba(209, 219, 255, .82); font-size: 12px; letter-spacing: .06em; }
.tp-sample-title { margin: 0 0 18px; color: var(--white); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; }
.tp-sample-list { margin: 0; }
.tp-sample-list > div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-dark); }
.tp-sample-list dt { color: var(--white); font-weight: 600; font-size: 14px; }
.tp-sample-list dt i { display: inline-block; width: 2.1em; color: var(--accent); font: 600 12px/1 var(--numeric); font-style: normal; }
.tp-sample-list dd { margin: 0; color: rgba(209, 219, 255, .84); font-size: 14px; line-height: 1.65; }
.tp-sample-list[data-region-panel] { animation: tp-in .35s ease both; }
.tp-sample-foot { margin: 14px 0 0; color: rgba(209, 219, 255, .74); font-size: 13px; }
.tp-sample-foot a { color: var(--white); font-family: var(--numeric); }
@keyframes tp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 常见原因（details 卡） ---------- */
.tp-pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tp-pain { position: relative; border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.tp-pain[open] { border-color: rgba(var(--accent-rgb), .45); box-shadow: 0 18px 40px -28px rgba(33, 39, 115, .45); }
.tp-pain[open]::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--accent); }
.tp summary { list-style: none; cursor: pointer; }
.tp summary::-webkit-details-marker { display: none; }
.tp-pain summary { display: grid; grid-template-columns: 2.6em 1fr 22px; align-items: center; gap: 12px; padding: 22px 24px; }
.tp-pain-no, .tp-faq-no { color: var(--accent); font: 600 14px/1 var(--numeric); }
.tp-pain-q { color: var(--ink); font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.45; }
.tp summary > i { position: relative; width: 22px; height: 22px; }
.tp summary > i::before, .tp summary > i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; background: var(--accent); transition: transform .25s ease; }
.tp summary > i::after { transform: rotate(90deg); }
.tp details[open] > summary > i::after { transform: rotate(0); }
.tp-pain-a { padding: 0 24px 22px calc(24px + 2.6em + 12px); }
.tp-pain-a p { margin: 0 0 12px; color: var(--text, #2B3155); line-height: 1.8; }
.tp-pain-a b, .tp-faq-a b { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- 选项卡（无 JS 时全部展开） ---------- */
.tp-tablist { display: flex; gap: 4px; margin: 0 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tp-tablist::-webkit-scrollbar { display: none; }
.tp-tab { position: relative; flex: none; padding: 14px 18px; color: var(--muted); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tp-tab em { margin-left: 4px; padding: 1px 6px; border: 1px solid currentColor; font-size: 12px; font-style: normal; font-weight: 500; }
.tp-tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.tp-tab:hover { color: var(--ink); }
.tp-tab[aria-selected="true"] { color: var(--ink); }
.tp-tab[aria-selected="true"]::after { transform: scaleX(1); }
.tp-tabs.is-enhanced [data-tabpanel]:not(.is-active) { display: none; }
.tp-tabs.is-enhanced [data-tabpanel].is-active { animation: tp-in .35s ease both; }
.tp-tabs:not(.is-enhanced) [data-tabpanel] + [data-tabpanel] { margin-top: 24px; }

.tp-region { padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); background: var(--white); }
.tp-region h3 { margin: 0 0 22px; color: var(--ink); font-size: clamp(22px, 2vw, 28px); }
.tp-region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: 0; }
.tp-region-item { padding: 18px 0; border-top: 1px solid var(--line); }
.tp-region-item:nth-child(5) { grid-column: 1 / -1; margin-top: 8px; padding: 20px 22px; border: 0; background: var(--pale); }
.tp-region-item dt { margin-bottom: 8px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.tp-region-item dd { margin: 0; color: var(--text, #2B3155); line-height: 1.85; }
.tp-region-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 24px; }
.tp-region-foot .tp-src { flex: 1 1 420px; }

/* ---------- 转入后获得什么（深色） ---------- */
.tp-gains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.tp-gain { position: relative; padding: 28px 24px 8px 0; }
.tp-gain + .tp-gain { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.tp-gain-no { display: block; margin-bottom: 26px; color: var(--accent); font: 600 clamp(34px, 3.6vw, 52px)/1 var(--numeric); letter-spacing: -.02em; }
.tp-gain h3 { margin: 0 0 10px; font-size: 20px; }
.tp-gain p { margin: 0; color: rgba(209, 219, 255, .82); line-height: 1.8; }

/* ---------- 费用 ---------- */
.tp-fee-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.tp-fee-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 13em; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.tp-fee-row.is-head { padding: 0 0 12px; border-top: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.tp-fee-row:last-child { border-bottom: 1px solid var(--line); }
.tp-fee-row b { color: var(--ink); }
.tp-fee-row [role="cell"] { color: var(--text, #2B3155); line-height: 1.75; }
.tp-fee-price span { display: block; color: var(--ink); font-weight: 600; }
.tp-fee-price em { margin-right: 6px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 500; }
.tp.is-enhanced .tp-fee-price [data-js-hide], .tp.is-enhanced .tp-fee-price [data-region-panel][hidden] { display: none; }
.tp-official { padding: 26px 26px 18px; background: var(--pale); border-top: 3px solid var(--accent); }
.tp-official h3 { margin: 0 0 6px; color: var(--ink); font-size: 18px; }
.tp-official-meta { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.tp-official h4 { margin: 18px 0 6px; color: var(--accent); font-size: 14px; letter-spacing: .06em; }
.tp-official dl { margin: 0; }
.tp-official dl > div { padding: 9px 0; border-top: 1px solid var(--line); }
.tp-official dt { color: var(--muted); font-size: 13px; }
.tp-official dd { margin: 2px 0 0; color: var(--ink); font-size: 14px; line-height: 1.65; font-weight: 600; }
.tp-equation { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: clamp(28px, 3vw, 40px); }
.tp-eq-item { flex: 1 1 180px; padding: 16px 18px; border: 1px solid var(--line); background: var(--white); }
.tp-eq-item b { display: block; color: var(--ink); font-size: 15px; }
.tp-eq-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.tp-eq-item.is-result { border-color: var(--accent-fill); background: var(--accent-fill); color: var(--white); }
.tp-eq-item.is-result b, .tp-eq-item.is-result span { color: var(--white); }
.tp-eq-op { align-self: center; color: var(--accent); font: 600 24px/1 var(--numeric); }
.tp-promo { margin-top: 20px; padding: 18px 22px; border: 1px dashed rgba(var(--accent-rgb), .5); }
.tp-promo b { color: var(--ink); }
.tp-promo p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 流程 ---------- */
.tp-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tp-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: var(--line); }
.tp-step { position: relative; padding: 0 18px 0 0; }
.tp-step-no { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; border: 1px solid rgba(var(--accent-rgb), .4); background: var(--pale); color: var(--accent); font: 600 14px/1 var(--numeric); transition: background .25s, color .25s; }
.tp-step:hover .tp-step-no, .tp-step:focus-within .tp-step-no { background: var(--accent-fill); color: var(--white); }
.tp-step h3 { margin: 0 0 12px; color: var(--ink); font-size: 19px; }
.tp-step p { margin: 0 0 10px; color: var(--text, #2B3155); font-size: 14px; line-height: 1.75; }
.tp-step em { display: block; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 600; letter-spacing: .04em; }
.tp-step-get { padding-top: 10px; border-top: 1px dashed var(--line); }

/* ---------- 交付 ---------- */
.tp-deliver-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tp-deliver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.tp-deliver li { padding: 20px 0; border-top: 1px solid var(--line); }
.tp-deliver span { color: var(--accent); font: 600 13px/1 var(--numeric); }
.tp-deliver h3 { margin: 10px 0 8px; color: var(--ink); font-size: 18px; }
.tp-deliver p { margin: 0; color: var(--text, #2B3155); font-size: 14px; line-height: 1.75; }
.tp-calendar { margin: 0; padding: 24px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 28px 60px -40px rgba(33, 39, 115, .45); }
.tp-calendar figcaption b { display: block; color: var(--ink); font-size: 18px; }
.tp-calendar figcaption span { display: block; margin: 6px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.tp-calendar table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tp-calendar th { padding: 10px 8px; border-bottom: 2px solid var(--ink); color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; }
.tp-calendar td { padding: 12px 8px; border-bottom: 1px solid var(--line); color: var(--text, #2B3155); vertical-align: top; line-height: 1.6; }
.tp-calendar td:first-child { color: var(--accent); font-weight: 700; white-space: nowrap; }
.tp-calendar td:nth-child(2) { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* ---------- 为什么选择快企务（深色） ---------- */
.tp-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tp-block { padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.tp-block-wide { grid-column: 1 / -1; }
.tp-block h3 { margin: 0 0 18px; font-size: 19px; }
.tp-block h3 small { margin-left: 8px; color: rgba(209, 219, 255, .74); font-size: 12px; font-weight: 500; }
.tp-offices { margin: 0; padding: 0; list-style: none; }
.tp-offices li { display: grid; grid-template-columns: 3em 1fr auto; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-dark); font-size: 14px; line-height: 1.6; }
.tp-offices b { color: var(--white); }
.tp-offices span { color: rgba(209, 219, 255, .82); }
.tp-offices a { color: var(--accent); font-family: var(--numeric); white-space: nowrap; }
.tp-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tp-doc { position: relative; overflow: hidden; margin: 0; padding: 16px 16px 12px; background: var(--white); color: var(--ink); transform: rotate(-1deg); transition: transform .3s ease, box-shadow .3s ease; }
.tp-doc:nth-child(even) { transform: rotate(1deg); }
.tp-doc:hover, .tp-doc:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .6); }
.tp-doc::after { content: "示例"; position: absolute; right: -16px; top: 12px; padding: 2px 22px; background: var(--pale); color: var(--muted); font-size: 11px; transform: rotate(35deg); }
.tp-doc figcaption { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-weight: 700; font-size: 14px; }
.tp-doc ul { margin: 0; padding: 0; list-style: none; }
.tp-doc li { position: relative; padding: 5px 0 5px 14px; border-bottom: 1px dashed var(--line); color: #3A416C; font-size: 13px; }
.tp-doc li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 2px; background: var(--accent); }
.tp-parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.tp-parties li { padding: 4px 22px 4px 0; }
.tp-parties li + li { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.tp-parties b { display: block; margin-bottom: 8px; color: var(--white); font-size: 16px; }
.tp-parties p { margin: 0; color: rgba(209, 219, 255, .82); font-size: 14px; line-height: 1.8; }

/* ---------- FAQ ---------- */
.tp-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tp-faq-layout .p2-head { display: block; position: sticky; top: 96px; margin: 0; }
.tp-faq-layout .p2-head .p2-head-desc { margin-top: 18px; }
.tp-faq { border-top: 1px solid var(--line); }
.tp-faq-item { border-bottom: 1px solid var(--line); }
.tp-faq-item summary { display: grid; grid-template-columns: 2.4em 1fr 22px; gap: 12px; align-items: center; padding: 22px 0; }
.tp-faq-q { color: var(--ink); font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; line-height: 1.5; }
.tp-faq-a { padding: 0 0 22px calc(2.4em + 12px); }
.tp-faq-a p { margin: 0 0 12px; color: var(--text, #2B3155); line-height: 1.85; }

/* ---------- 咨询区 ---------- */
.tp-contact { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0; scroll-margin-top: 64px; color: rgba(209, 219, 255, .86); background: radial-gradient(900px 520px at 0% 100%, rgba(36, 70, 184, .45), transparent 60%), var(--ink-deep); }
.tp-contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.tp-contact h2 { margin: 0 0 18px; color: var(--white); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.2; }
.tp-contact-lead { margin: 0 0 32px; max-width: 30em; line-height: 1.85; }
.tp-contact-ways { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.tp-contact-ways li { position: relative; display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.tp-contact-ways li.has-qr { grid-template-columns: 1fr 96px; align-items: center; }
.tp-contact-ways li.has-qr img { grid-row: 1 / span 2; grid-column: 2; width: 96px; height: 96px; background: var(--white); padding: 4px; }
.tp-contact-ways span { color: rgba(209, 219, 255, .74); font-size: 13px; }
.tp-contact-ways a[href^="tel"] { color: var(--white); font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--numeric); text-decoration: none; }
.tp-contact-ways small { color: rgba(209, 219, 255, .74); font-size: 13px; }
.tp-contact-ways .tp-link { color: var(--accent); }
.tp-contact-form { padding: clamp(24px, 3vw, 40px); background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
#tp-form-title:focus { outline: none; }
#tp-form-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.tp-contact-form h3 { margin: 0 0 6px; color: var(--ink); font-size: 22px; }
.tp-contact-form > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.tp-form { display: grid; gap: 16px; }
.tp-form-step { color: var(--muted); font-size: 13px; }
.tp-form-step b { color: var(--accent); font-family: var(--numeric); }
.tp-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.tp-field > label, .tp-field > legend { padding: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
.tp-field em { margin-left: 4px; color: #B42318; font-size: 12px; font-style: normal; font-weight: 500; }
.tp-field em.is-optional { color: var(--muted); }
.tp-field select, .tp-field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid rgba(33, 39, 115, .28); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.tp-field select:focus, .tp-field input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.tp-field [aria-invalid="true"] { border-color: #B42318; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chips label { position: relative; cursor: pointer; }
.tp-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(33, 39, 115, .24); border-radius: var(--radius); color: var(--ink); font-size: 14px; transition: background .2s, border-color .2s, color .2s; }
.tp-chips label:hover span { border-color: var(--accent); }
.tp-chips input:checked + span { border-color: var(--accent-fill); background: var(--accent-fill); color: var(--white); }
.tp-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-optional { border: 1px dashed rgba(33, 39, 115, .24); }
.tp-optional summary { padding: 12px 14px; color: var(--accent); font-size: 14px; font-weight: 600; }
.tp-optional summary::before { content: "+ "; }
.tp-optional[open] summary::before { content: "− "; }
.tp-optional-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 14px 14px; }
.tp-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: #3A416C; font-size: 13px; line-height: 1.7; cursor: pointer; }
.tp-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-fill); }
.tp-consent a { color: var(--accent); }
.tp-consent em { margin-left: 4px; color: #B42318; font-style: normal; }
.tp-hint { min-height: 0; color: #B42318; font-size: 13px; }
.tp-hint:empty { display: none; }
.tp-submit { justify-content: center; width: 100%; min-height: 54px; font-size: 16px; }
.tp-submit[disabled] { opacity: .6; cursor: progress; }
.tp-status { margin: 0; font-size: 14px; line-height: 1.7; }
.tp-status:empty { display: none; }
.tp-status.is-ok { color: #067647; }
.tp-status.is-error { color: #B42318; }
.tp-done { padding: 18px 20px; background: var(--pale); border-left: 3px solid var(--accent); }
.tp-done-title { margin: 0 0 8px; color: var(--ink); font-weight: 700; }
.tp-done ol { margin: 0 0 10px; padding-left: 1.3em; color: var(--text, #2B3155); line-height: 1.8; }
.tp-done p { margin: 0; color: var(--muted); font-size: 13px; }
.tp-done a { color: var(--accent); }
.tp-form.is-done > :not([data-tform-done]):not([data-tform-status]):not(input[type="hidden"]) { display: none; }
.tp-form-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.tp-related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 36px; padding-bottom: 44px; }
.tp-related span { margin-right: 6px; color: var(--muted); font-size: 13px; }
.tp-related a { padding: 8px 14px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; text-decoration: none; }
.tp-related a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 特殊情况专题 ---------- */
.tp-sample.is-record dd { font-size: 13.5px; }
.tp-needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tp-need { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border: 1px solid var(--line); background: var(--white); transition: border-color .25s, transform .25s, box-shadow .25s; }
.tp-need:hover, .tp-need:focus-within { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-3px); box-shadow: 0 24px 44px -32px rgba(33, 39, 115, .5); }
.tp-need-no { color: var(--accent); font: 600 13px/1 var(--numeric); }
.tp-need h3 { margin: 12px 0 14px; color: var(--ink); font-size: 20px; }
.tp-need p { margin: 0 0 12px; color: var(--text, #2B3155); font-size: 14px; line-height: 1.75; }
.tp-need em { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 600; }
.tp-need-check { padding-top: 12px; border-top: 1px dashed var(--line); }
.tp-need .tp-link { margin-top: auto; padding-top: 6px; }

.tp-judge { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tp-judge-col { padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.tp-judge-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 19px; }
.tp-judge-col h3 i { width: 12px; height: 12px; border: 2px solid var(--accent); transform: skewX(calc(var(--slant) * -1)); }
.tp-judge-col.is-yes h3 i { background: var(--accent); }
.tp-judge-col ul { margin: 0; padding: 0; list-style: none; }
.tp-judge-col li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line-dark); color: rgba(209, 219, 255, .88); line-height: 1.7; }
.tp-judge-col li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--accent); }
.tp-judge-col.is-no li::before { background: transparent; border-top: 2px dotted var(--accent); }
.tp-judge-col p { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-dark); color: var(--white); font-size: 14px; line-height: 1.8; }

.tp-stage-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tp-tabs:not(.is-enhanced) .tp-stage-title { position: static; width: auto; height: auto; margin: 0 0 8px; color: var(--ink); font-size: 22px; }
.tp-stage-lead { margin: 0 0 20px; max-width: 52em; color: var(--muted); line-height: 1.8; }
.tp-issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; padding: 0; list-style: none; }
.tp-issue details { height: 100%; border: 1px solid var(--line); background: var(--white); }
.tp-issue details[open] { border-color: rgba(var(--accent-rgb), .45); }
.tp-issue summary { display: grid; grid-template-columns: 2.3em 1fr 22px; gap: 10px; align-items: center; padding: 16px 18px; }
.tp-issue summary span { color: var(--accent); font: 600 13px/1 var(--numeric); }
.tp-issue summary b { color: var(--ink); font-size: 16px; line-height: 1.5; }
.tp-issue dl { margin: 0; padding: 0 18px 16px calc(18px + 2.3em + 10px); }
.tp-issue dl div + div { margin-top: 10px; }
.tp-issue dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.tp-issue dd { margin: 2px 0 0; color: var(--text, #2B3155); font-size: 14px; line-height: 1.75; }

.tp-myths { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tp-myth { grid-column: span 2; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.tp-myth:nth-child(4), .tp-myth:nth-child(5) { grid-column: span 3; }
.tp-myth-place { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.tp-myth h3 { margin: 0 0 14px; color: var(--ink); font-size: 18px; line-height: 1.5; }
.tp-myth h3 s { text-decoration-color: rgba(var(--accent-rgb), .7); text-decoration-thickness: 2px; }
.tp-myth h3::before { content: "误区"; display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.tp-myth-fact { margin: 0 0 14px; color: var(--text, #2B3155); font-size: 14px; line-height: 1.85; }
.tp-myth-fact b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13px; }
.tp-myth .tp-src { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; }

.tp-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: end; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; list-style: none; }
.tp-level { position: relative; padding: 0 22px 0 0; }
.tp-level + .tp-level { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.tp-level-bar { display: block; height: calc(24px + var(--lv) * 30px); margin-bottom: 20px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), .25)); clip-path: polygon(0 100%, 0 calc(var(--lv) * 8px + 8px), 100% 0, 100% 100%); }
.tp-level h3 { margin: 0 0 12px; font-size: 22px; }
.tp-level p { margin: 0 0 10px; color: rgba(209, 219, 255, .86); font-size: 14px; line-height: 1.75; }
.tp-level em { display: block; color: rgba(209, 219, 255, .74); font-size: 12px; font-style: normal; font-weight: 600; }
.tp-roles { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line-dark); }
.tp-roles h3 { margin: 0 0 16px; font-size: 18px; }
.tp-roles ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.tp-roles b { display: block; margin-bottom: 6px; color: var(--white); }
.tp-roles p { margin: 0; color: rgba(209, 219, 255, .84); font-size: 14px; line-height: 1.8; }

.tp-principles { padding: clamp(56px, 7vw, 96px) 0; }
.tp-principles-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.tp-principles h2 { margin: 0; color: var(--ink); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; }
.tp-refuse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.tp-refuse li { position: relative; padding: 14px 16px 14px 44px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.tp-refuse li::before, .tp-refuse li::after { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.tp-refuse li::after { transform: rotate(-45deg); }
.tp-principles p { margin: 0; color: var(--text, #2B3155); line-height: 1.8; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .tp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .tp-steps::before { display: none; }
  .tp-gains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-gain:nth-child(3) { padding-left: 0; border-left: 0; }
  .tp-gain:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .tp-fee-layout, .tp-deliver-layout { grid-template-columns: 1fr; }
  .tp-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-myths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-myth, .tp-myth:nth-child(4), .tp-myth:nth-child(5) { grid-column: auto; }
  .tp-myth:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .tp-hero-route { display: none; }
}
@media (max-width: 900px) {
  .tp-hero-art svg { width: 140%; right: -50%; opacity: .7; }
  .tp-contact-grid, .tp-faq-layout, .tp-why-grid, .tp-judge, .tp-principles-inner { grid-template-columns: 1fr; }
  .tp-faq-layout .p2-head { position: static; }
  .tp-pains, .tp-issues { grid-template-columns: 1fr; }
  .tp-parties, .tp-roles ul { grid-template-columns: 1fr; }
  .tp-parties li, .tp-parties li + li { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .tp-roles li + li { margin-top: 14px; }
  .tp-levels { grid-template-columns: 1fr; }
  .tp-level, .tp-level + .tp-level { padding: 18px 0 0; border-left: 0; }
  .tp-level-bar { height: 6px; width: calc(40% + var(--lv) * 30%); margin-bottom: 14px; clip-path: none; }
}
@media (max-width: 640px) {
  .tp-hero h1 { font-size: clamp(28px, 8.4vw, 36px); }
  .tp-points { grid-template-columns: 1fr; border-top: 0; margin-bottom: 22px; }
  .tp-points li, .tp-points li + li { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 10px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .tp-points b { margin: 0; font-size: 15px; }
  .tp-picker { gap: 6px; }
  .tp-picker-label { flex-basis: 100%; }
  .tp-chip { min-height: 40px; padding: 0 12px; }
  .tp-actions .button-ghost { display: inline-flex; flex: 1 1 100%; justify-content: center; }
  .tp-sample-list > div { grid-template-columns: 1fr; gap: 4px; }
  .tp-pain summary { padding: 18px; }
  .tp-pain-a { padding: 0 18px 18px; }
  .tp-region-grid { grid-template-columns: 1fr; }
  .tp-region-item:nth-child(5) { margin-top: 4px; padding: 16px; }
  .tp-region-foot .button { width: 100%; justify-content: center; }
  .tp-gains { grid-template-columns: 1fr; }
  .tp-gain, .tp-gain + .tp-gain { padding: 22px 0 14px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .tp-gain-no { margin-bottom: 12px; font-size: 32px; }
  .tp-fee-row { grid-template-columns: 1fr; gap: 6px; }
  .tp-fee-row.is-head { display: none; }
  .tp-fee-price span { display: inline; }
  .tp-fee-price span + span::before { content: " · "; color: var(--muted); }
  .tp.is-enhanced .tp-fee-price span + span::before { content: none; }
  .tp-official { padding: 20px 18px 12px; }
  .tp-eq-op { display: none; }
  .tp-eq-item { flex-basis: 100%; }
  .tp-steps { grid-template-columns: 1fr; row-gap: 0; }
  .tp-step { display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; padding: 0 0 22px; }
  .tp-step::before { content: ""; position: absolute; left: 19px; top: 38px; bottom: 0; width: 1px; background: var(--line); }
  .tp-step:last-child::before { display: none; }
  .tp-step-no { grid-row: 1 / span 3; margin: 0; }
  .tp-step h3 { margin: 8px 0 8px; }
  .tp-deliver { grid-template-columns: 1fr; }
  .tp-calendar { padding: 18px 14px; }
  .tp-calendar table, .tp-calendar tbody, .tp-calendar tr, .tp-calendar td { display: block; }
  .tp-calendar thead { display: none; }
  .tp-calendar tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tp-calendar td { padding: 2px 0; border: 0; white-space: normal !important; }
  .tp-offices li { grid-template-columns: 3em 1fr; }
  .tp-offices a { grid-column: 2; }
  .tp-docs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tp-doc { padding: 12px 12px 8px; }
  .tp-doc li { font-size: 12px; }
  .tp-faq-item summary { grid-template-columns: 2em 1fr 22px; padding: 18px 0; }
  .tp-faq-a { padding-left: 0; }
  .tp-contact-ways li.has-qr { grid-template-columns: 1fr 84px; }
  .tp-contact-ways li.has-qr img { width: 84px; height: 84px; }
  .tp-contact-form { margin: 0 calc(var(--gutter) * -1); padding: 26px var(--gutter); }
  .tp-optional-grid { grid-template-columns: 1fr; }
  .tp-needs, .tp-myths { grid-template-columns: 1fr; }
  .tp-myth:nth-child(5) { grid-column: auto; }
  .tp-refuse { grid-template-columns: 1fr; }
  .tp-issue dl { padding-left: 18px; }
  .tp-related { padding-bottom: 96px; } /* 让出手机底栏 */
}

@media (prefers-reduced-motion: reduce) {
  .tp-route, .tp-route.is-broken, .tp-route-end, .tp-sample-list[data-region-panel], .tp-tabs.is-enhanced [data-tabpanel].is-active { animation: none; stroke-dashoffset: 0; }
  .tp-need, .tp-doc, .tp-tab::after, .tp .tp-link i, .tp summary > i::before, .tp summary > i::after { transition: none; }
}
@media print {
  .tp-hero-art, .tp-picker, .tp-contact, .tp-related { display: none; }
  .tp-tabs.is-enhanced [data-tabpanel]:not(.is-active) { display: block; }
}
