:root {
  --page: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #f8faf9;
  --ink: #15211f;
  --text: #344540;
  --muted: #687a74;
  --line: #dce5e2;
  --line-strong: #c9d7d3;
  --green: #138a72;
  --green-dark: #0c6857;
  --green-soft: #e9f7f3;
  --coral: #df6f52;
  --coral-soft: #fff0ea;
  --amber: #b7791f;
  --amber-soft: #fff7e6;
  --danger: #c94f5d;
  --code: #181d1c;
  --shadow: 0 14px 36px rgba(26, 60, 51, 0.07);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
code { border: 1px solid var(--line); border-radius: 5px; background: #f4f8f6; color: #225f50; padding: 0.1rem 0.32rem; }
pre { margin: 0; white-space: pre; }
pre code { border: 0; background: transparent; color: inherit; padding: 0; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(220, 229, 226, 0.92); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); }
.topbar-inner { display: flex; align-items: center; gap: 1.5rem; width: min(1180px, calc(100% - 32px)); min-height: 68px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 0.72rem; color: var(--ink); }
.brand-mark-img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; box-shadow: 0 8px 18px rgba(21, 33, 31, 0.14); }
.brand span { display: grid; gap: 0.05rem; }
.brand strong { font-size: 0.98rem; }
.brand small { color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.topnav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.topnav a { border-radius: 6px; color: #52645e; font-size: 0.88rem; font-weight: 750; padding: 0.56rem 0.68rem; }
.topnav a:hover, .topnav a.active { background: var(--green-soft); color: var(--green-dark); }
.topnav .nav-cta { margin-left: 0.4rem; border: 1px solid #f2c8ba; background: var(--coral-soft); color: #a74b34; padding-inline: 0.9rem; }
.menu-toggle { display: none; width: 40px; height: 40px; margin-left: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.menu-toggle span { display: block; width: 17px; height: 2px; margin: 4px auto; background: var(--ink); }

.intro-band { border-bottom: 1px solid var(--line); background: #fff; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 3rem; min-height: 480px; padding: 58px 0 48px; }
.eyebrow, .section-kicker { margin: 0 0 0.7rem; color: var(--green); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.08em; }
h1, h2, h3 { color: var(--ink); letter-spacing: 0; }
h1 { max-width: 680px; margin: 0; font-size: clamp(2.35rem, 4.6vw, 4rem); line-height: 1.08; }
h1 span { display: block; }
h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.18; }
h3 { margin: 0; font-size: 1.05rem; }
p { color: var(--muted); line-height: 1.72; }
.lead { max-width: 680px; margin: 1.15rem 0 0; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 7px; font-size: 0.9rem; font-weight: 800; padding: 0.68rem 1rem; }
.button.primary { border: 1px solid var(--green); background: var(--green); color: #fff; box-shadow: 0 10px 22px rgba(19, 138, 114, 0.2); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.button.secondary:hover { border-color: #9cbab1; background: var(--surface-soft); }
.button.full { width: 100%; }
.source-note { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.4rem; color: var(--muted); font-size: 0.82rem; }
.source-note a { color: var(--green-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

.app-visual { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); box-shadow: 0 22px 55px rgba(24, 68, 56, 0.12); }
.app-bar { display: flex; align-items: center; gap: 0.42rem; min-height: 48px; border-bottom: 1px solid var(--line); background: #f6f8f7; padding: 0 1rem; }
.app-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); }
.app-bar span:nth-child(2) { background: #d89a2b; }
.app-bar span:nth-child(3) { background: var(--green); }
.app-bar strong { margin-left: auto; color: var(--muted); font-size: 0.76rem; }
.app-body { padding: 1.5rem; }
.app-body h2 { font-size: 1.4rem; }
.app-body > p:not(.app-eyebrow) { margin: 0.6rem 0 0; font-size: 0.9rem; }
.app-eyebrow { margin: 0 0 0.55rem; color: var(--green); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.08em; }
.app-status { display: flex; align-items: center; gap: 0.55rem; margin: 1.2rem 0 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--green-soft); padding: 0.75rem; }
.app-status strong { margin-left: auto; color: var(--green-dark); font-size: 0.78rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #46cba5; box-shadow: 0 0 0 4px rgba(70, 203, 165, 0.12); }
.app-facts { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.app-facts div { display: grid; grid-template-columns: 100px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.app-facts div:last-child { border-bottom: 0; }
.app-facts dt, .app-facts dd { margin: 0; padding: 0.66rem 0.72rem; font-size: 0.76rem; }
.app-facts dt { background: var(--surface-soft); color: var(--muted); }
.app-facts dd { min-width: 0; color: var(--ink); overflow-wrap: anywhere; }

.progress-band { border-bottom: 1px solid var(--line); background: #f8faf9; }
.progress-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.progress-list a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 0.7rem; border-right: 1px solid var(--line); padding: 1rem 1.1rem; }
.progress-list a:first-child { border-left: 1px solid var(--line); }
.progress-list a:hover { background: var(--green-soft); }
.progress-list span { grid-row: 1 / span 2; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #b8d9d0; border-radius: 6px; background: #fff; color: var(--green-dark); font-size: 0.82rem; font-weight: 850; }
.progress-list strong { color: var(--ink); font-size: 0.88rem; }
.progress-list small { margin-top: 0.16rem; color: var(--muted); font-size: 0.72rem; }

.page-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 2.25rem; align-items: start; padding: 46px 0 80px; }
.side-index { position: sticky; top: 92px; border-left: 1px solid var(--line-strong); padding-left: 1rem; }
.side-index > strong { color: var(--ink); font-size: 0.82rem; }
.side-index nav { display: grid; gap: 0.12rem; margin-top: 0.75rem; }
.side-index nav a { border-radius: 5px; color: var(--muted); font-size: 0.8rem; padding: 0.48rem 0.55rem; }
.side-index nav a:hover, .side-index nav a.active { background: var(--green-soft); color: var(--green-dark); font-weight: 750; }
.side-help { display: grid; gap: 0.25rem; margin-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.76rem; padding-top: 1rem; }
.side-help strong { color: var(--ink); }
.content { min-width: 0; }
.doc-section { scroll-margin-top: 92px; margin-bottom: 5rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.35rem; }
.section-head.compact { align-items: start; }
.section-head > div:first-child { max-width: 760px; }
.section-head p:last-child { margin: 0.7rem 0 0; }
.platform-switch { display: inline-grid; grid-template-columns: repeat(2, auto); flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; padding: 3px; }
.platform-switch button { min-height: 36px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; font-size: 0.82rem; font-weight: 800; padding: 0 0.8rem; }
.platform-switch button.active { background: var(--green); color: #fff; }

.platform-panel { display: none; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); padding: 1.3rem; }
.platform-panel.active { display: block; }
.platform-panel.plain { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; }
.platform-title { display: flex; align-items: flex-start; gap: 0.85rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.platform-title > span { display: grid; min-width: 48px; height: 38px; place-items: center; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); font-size: 0.78rem; font-weight: 850; }
.platform-title p { margin: 0.35rem 0 0; }
.install-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: install; }
.install-steps > li { position: relative; width: 100%; min-width: 0; max-width: 100%; border-bottom: 1px solid var(--line); padding: 1.2rem 0 1.2rem 3.2rem; }
.install-steps > li > div { min-width: 0; }
.install-steps > li::before { position: absolute; top: 1.15rem; left: 0; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); content: counter(install); counter-increment: install; font-size: 0.82rem; font-weight: 850; }
.install-steps strong { color: var(--ink); }
.install-steps p { margin: 0.35rem 0 0; }
.install-steps .code-block { margin-top: 0.8rem; }
.alternative { margin-top: 1rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); padding: 0.82rem 0.9rem; }
.alternative summary { cursor: pointer; color: var(--ink); font-size: 0.86rem; font-weight: 800; }
.alternative .code-block { margin-top: 0.8rem; }
.alternative p { margin-bottom: 0; font-size: 0.84rem; }
.app-note { margin-bottom: 1rem; }
.download-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.download-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 1.15rem; }
.download-card-header { display: flex; align-items: flex-start; gap: 0.8rem; border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; }
.download-card-header > span { display: grid; flex: 0 0 64px; height: 38px; place-items: center; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); font-size: 0.74rem; font-weight: 850; }
.download-card-header p { margin: 0.3rem 0 0; font-size: 0.82rem; }
.simple-install-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.simple-install-steps li { display: flex; gap: 0.75rem; border-bottom: 1px solid var(--line); padding: 1rem 0; }
.simple-install-steps li > span { display: grid; flex: 0 0 28px; height: 28px; place-items: center; border-radius: 6px; background: var(--coral-soft); color: #ad4f38; font-size: 0.78rem; font-weight: 850; }
.simple-install-steps strong { color: var(--ink); font-size: 0.88rem; }
.simple-install-steps p { margin: 0.28rem 0 0; font-size: 0.82rem; }
.download-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: auto; padding-top: 1rem; }
.download-actions .button { width: 100%; }
.cli-advanced { margin-top: 1rem; }
.cli-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 0.9rem; }
.cli-grid > div { min-width: 0; }
.cli-grid > div > strong { display: block; margin-bottom: 0.5rem; font-size: 0.82rem; }

.code-block { position: relative; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; border: 1px solid #303a37; border-radius: 7px; background: var(--code); }
.code-block pre { width: 100%; max-width: 100%; overflow: auto; color: #e7f0ed; line-height: 1.65; padding: 1rem 4.5rem 1rem 1rem; }
.code-block code { font-size: 0.82rem; }
.code-block > button { position: absolute; z-index: 2; top: 0.55rem; right: 0.55rem; min-width: 48px; min-height: 30px; border: 1px solid #485652; border-radius: 5px; background: #252d2b; color: #cfe0db; cursor: pointer; font-size: 0.74rem; font-weight: 750; }
.code-block > button:hover { border-color: #6f8f86; background: #303a37; }
.notice { margin-top: 1rem; border: 1px solid #bfe0d7; border-left: 4px solid var(--green); border-radius: 7px; background: #f2faf7; padding: 1rem 1.05rem; }
.notice strong { color: var(--ink); }
.notice p { margin: 0.35rem 0 0; }
.warning-notice { border-color: #efd7a8; border-left-color: var(--amber); background: var(--amber-soft); }

.account-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.account-flow li { display: flex; gap: 0.7rem; min-width: 0; border-right: 1px solid var(--line); padding: 1rem; }
.account-flow li:last-child { border-right: 0; }
.account-flow > li > span { display: grid; flex: 0 0 28px; height: 28px; place-items: center; border-radius: 6px; background: var(--coral-soft); color: #ad4f38; font-size: 0.8rem; font-weight: 850; }
.account-flow strong { color: var(--ink); font-size: 0.9rem; }
.account-flow p { margin: 0.38rem 0 0.7rem; font-size: 0.82rem; line-height: 1.6; }
.account-flow a { color: var(--green-dark); font-size: 0.78rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.config-summary { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.config-summary div { display: grid; gap: 0.36rem; min-width: 0; border-right: 1px solid var(--line); padding: 0.95rem 1rem; }
.config-summary div:last-child { border-right: 0; }
.config-summary span { color: var(--muted); font-size: 0.74rem; font-weight: 750; }
.config-summary code, .config-summary strong { min-width: 0; overflow-wrap: anywhere; }
.configure-step { width: 100%; min-width: 0; max-width: 100%; margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.step-heading { display: flex; gap: 0.8rem; margin-bottom: 0.9rem; }
.step-heading > span { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 6px; background: var(--green); color: #fff; font-size: 0.82rem; font-weight: 850; }
.step-heading p { margin: 0.35rem 0 0; }
.path-line { margin: 0 0 0.6rem; font-size: 0.86rem; }
.ccswitch-download-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 1rem; }
.ccswitch-mark { display: grid; width: 48px; height: 40px; place-items: center; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); font-size: 0.78rem; font-weight: 850; }
.ccswitch-download-card strong, .ccswitch-guide strong, .ccswitch-finish strong { color: var(--ink); }
.ccswitch-download-card p { margin: 0.3rem 0 0; font-size: 0.84rem; }
.ccswitch-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.ccswitch-guide article { display: flex; gap: 0.7rem; border-right: 1px solid var(--line); padding: 1rem; }
.ccswitch-guide article:last-child { border-right: 0; }
.ccswitch-guide article > span, .ccswitch-finish article > span { display: grid; flex: 0 0 28px; height: 28px; place-items: center; border-radius: 6px; background: var(--coral-soft); color: #ad4f38; font-size: 0.78rem; font-weight: 850; }
.ccswitch-guide p, .ccswitch-finish p { margin: 0.3rem 0 0; font-size: 0.82rem; }
.ccswitch-fields { display: grid; grid-template-columns: 0.7fr 1.3fr; margin-top: 1rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.ccswitch-fields div { display: grid; gap: 0.35rem; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.9rem 1rem; }
.ccswitch-fields div:nth-child(2n) { border-right: 0; }
.ccswitch-fields div:nth-last-child(-n + 2) { border-bottom: 0; }
.ccswitch-fields span { color: var(--muted); font-size: 0.74rem; font-weight: 750; }
.ccswitch-fields strong, .ccswitch-fields code { overflow-wrap: anywhere; }
.ccswitch-finish { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.ccswitch-finish article { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 0.7rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0.9rem; }
.ccswitch-finish article > span { grid-row: 1 / span 2; }
.ccswitch-log-link { margin-top: 1rem; }

.run-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr); gap: 1.1rem; }
.run-steps { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.run-steps article { display: flex; gap: 0.8rem; border-bottom: 1px solid var(--line); padding: 1rem; }
.run-steps article:last-child { border-bottom: 0; }
.run-steps article > span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); font-size: 0.8rem; font-weight: 850; }
.run-steps strong { color: var(--ink); }
.run-steps p { margin: 0.28rem 0 0; font-size: 0.84rem; }
.first-run-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 1rem; }
.first-run-panel > strong { color: var(--ink); }
.prompt-example { margin: 0.9rem 0; border-left: 3px solid var(--coral); background: var(--coral-soft); padding: 0.85rem 0.9rem; }
.prompt-example span { color: #a14a36; font-size: 0.74rem; font-weight: 850; }
.prompt-example p { margin: 0.35rem 0 0; color: var(--ink); font-size: 0.86rem; }
.result-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1rem; }
.result-checks div { border-top: 2px solid var(--green); background: #fff; padding: 0.9rem; }
.result-checks strong, .result-checks span { display: block; }
.result-checks strong { color: var(--ink); font-size: 0.86rem; }
.result-checks span { margin-top: 0.28rem; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }

.maintenance-table { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.maintenance-table div { display: grid; grid-template-columns: 140px minmax(260px, 1fr) minmax(180px, 0.8fr); align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.9rem 1rem; }
.maintenance-table div:last-child { border-bottom: 0; }
.maintenance-table strong { color: var(--ink); font-size: 0.86rem; }
.maintenance-table code { overflow-wrap: anywhere; }
.maintenance-table span { color: var(--muted); font-size: 0.8rem; }

.faq-list { display: grid; gap: 0.65rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 20px rgba(26, 60, 51, 0.04); padding: 0.95rem 1rem; }
.faq-list summary { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; color: var(--ink); font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { margin-left: auto; color: var(--green); content: "+"; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary b { margin-left: auto; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); color: var(--muted); font-size: 0.68rem; padding: 0.2rem 0.42rem; }
.faq-list summary::after { margin-left: 0; }
.faq-list p { margin: 0.75rem 0 0; border-top: 1px solid var(--line); padding-top: 0.75rem; }

.support-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; border: 1px solid #b9dcd2; border-radius: 8px; background: var(--green-soft); padding: 1.4rem; }
.support-band p { margin-bottom: 0; }
.support-actions { display: grid; justify-items: end; gap: 0.55rem; }
.support-actions span { color: var(--ink); font-size: 0.84rem; font-weight: 800; }

footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 86px; color: var(--muted); font-size: 0.8rem; }
.footer-inner div { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-inner a:hover { color: var(--green-dark); }
.copy-toast { position: fixed; z-index: 50; right: 20px; bottom: 20px; border: 1px solid #317966; border-radius: 6px; background: #173a32; color: #fff; opacity: 0; padding: 0.65rem 0.85rem; pointer-events: none; transform: translateY(8px); transition: 0.16s ease; }
.copy-toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .intro-grid { grid-template-columns: 1fr 380px; gap: 2rem; }
  .page-layout { grid-template-columns: 1fr; }
  .side-index { display: none; }
  .account-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-flow li:nth-child(2) { border-right: 0; }
  .account-flow li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .topbar-inner { min-height: 62px; }
  .menu-toggle { display: block; }
  .topnav { position: absolute; top: 62px; right: 16px; left: 16px; display: none; margin: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 0.6rem; }
  .topnav.open { display: grid; }
  .topnav a { padding: 0.75rem; }
  .topnav .nav-cta { margin: 0; }
  .intro-grid { grid-template-columns: 1fr; min-height: 0; padding: 42px 0; }
  .app-visual { max-width: 620px; }
  .progress-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress-list a { border-bottom: 1px solid var(--line); }
  .progress-list a:nth-child(2) { border-right: 1px solid var(--line); }
  .section-head { align-items: start; flex-direction: column; }
  .ccswitch-guide { grid-template-columns: 1fr; }
  .ccswitch-guide article { border-right: 0; border-bottom: 1px solid var(--line); }
  .ccswitch-guide article:last-child { border-bottom: 0; }
  .run-grid { grid-template-columns: 1fr; }
  .maintenance-table div { grid-template-columns: 120px minmax(0, 1fr); }
  .maintenance-table span { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wrap, .topbar-inner { width: min(100%, calc(100% - 24px)); }
  h1 { font-size: 2.3rem; }
  .intro-grid { padding-top: 34px; }
  .progress-list { grid-template-columns: 1fr; }
  .progress-list a, .progress-list a:first-child { border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
  .page-layout { padding-top: 34px; }
  .doc-section { margin-bottom: 4rem; }
  .platform-switch { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-switch button { padding-inline: 0.4rem; }
  .platform-panel { padding: 1rem; }
  .install-steps > li { padding-left: 2.7rem; }
  .code-block pre { padding: 3.1rem 0.85rem 0.9rem; }
  .code-block > button { top: 0.5rem; left: 0.5rem; right: auto; }
  .download-grid, .cli-grid, .account-flow, .config-summary, .ccswitch-fields, .ccswitch-finish, .result-checks { grid-template-columns: 1fr; }
  .account-flow li { border-right: 0; border-bottom: 1px solid var(--line); }
  .account-flow li:last-child { border-bottom: 0; }
  .config-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .config-summary div:last-child { border-bottom: 0; }
  .ccswitch-download-card { grid-template-columns: auto minmax(0, 1fr); }
  .ccswitch-download-card .button { grid-column: 1 / -1; width: 100%; }
  .ccswitch-fields div, .ccswitch-fields div:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .ccswitch-fields div:last-child { border-bottom: 0; }
  .maintenance-table div { grid-template-columns: 1fr; gap: 0.45rem; }
  .maintenance-table span { grid-column: auto; }
  .support-band { grid-template-columns: 1fr; }
  .support-actions { justify-items: start; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 1.2rem 0; }
}
