:root {
  color-scheme: light;
  --ink: #142344;
  --body: #566b86;
  --muted: #75869d;
  --blue: #337ed2;
  --line: #dceafa;
  --surface: #f6faff;
  --shadow: 0 6px 17px rgb(60 123 202 / 14%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
/* Keep the gradient in the body so Safari can blend the artwork against it. */
html { background: #f7faff; }
* { box-sizing: border-box; }
body { isolation: isolate; margin: 0; background: linear-gradient(135deg, #e8f4ff 0, #f5faff 350px, #f7faff 750px) fixed; color: var(--ink); font-size: 15px; line-height: 1.65; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
button, summary, a { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--blue); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
.icon { display: inline-block; width: 22px; height: 22px; flex: 0 0 auto; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; vertical-align: middle; }
.search { --icon: url('/assets/icons/magnifying-glass.svg'); }
.house { --icon: url('/assets/icons/house.svg'); }
.list { --icon: url('/assets/icons/list.svg'); }
.book { --icon: url('/assets/icons/book-open-text.svg'); }
.arrow-right { --icon: url('/assets/icons/arrow-right.svg'); }
.arrow-left { --icon: url('/assets/icons/arrow-left.svg'); }
.caret-right { --icon: url('/assets/icons/caret-right.svg'); }
.caret-down { --icon: url('/assets/icons/caret-down.svg'); }
.close { --icon: url('/assets/icons/x.svg'); }
.info { --icon: url('/assets/icons/info.svg'); }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 12px; padding: 10px 18px; background: #fff; }
.skip-link:focus { top: 10px; }
.site-header { padding: max(14px, env(safe-area-inset-top)) 20px 8px; position: relative; z-index: 3; }
.header-inner { max-width: 1000px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 50%; flex: 0 0 auto; }
.brand strong { display: block; font-size: 16px; font-weight: 750; letter-spacing: -.5px; line-height: 1.35; }
.brand small { color: var(--muted); font-size: 12px; }
.header-actions { display: flex; gap: 16px; align-items: center; }
.desktop-directory { display: none; background: transparent; font-size: 14px; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #fff; background: #ffffffbf; border-radius: 50%; box-shadow: var(--shadow); }
.search-trigger .icon { width: 25px; height: 25px; }
.home-page { max-width: 820px; margin: 0 auto; }
.hero { position: relative; height: 102px; margin: 0 20px; }
.hero-art { position: absolute; width: 160px; height: 160px; right: -18px; top: -34px; object-fit: contain; mix-blend-mode: multiply; pointer-events: none; }
.hero-copy { position: relative; padding-top: 8px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #468ce4; font-size: 12px; font-weight: 500; }
.eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 10px; font-size: 28px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.3; white-space: nowrap; }
.hero-description { margin-top: 8px; font-size: 14px; letter-spacing: -.3px; }
.home-body { padding: 12px 18px 0; }
.route-tabs { padding: 3px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #fff; border-radius: 28px; background: #eaf3ffa6; box-shadow: inset 0 0 0 1px #d9eafb, 0 4px 12px #5798da21; }
.route-tabs button { min-height: 36px; border-radius: 24px; background: transparent; font-size: 15px; color: var(--body); }
.route-tabs [aria-selected="true"] { color: white; font-weight: 650; background: #589cee; box-shadow: inset 0 1px 3px #b9eaff, inset 0 -2px 5px #3486e475, 0 3px 8px #498fe642; }
.route-panel { padding-top: 12px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 0; bottom: 47px; width: 1.5px; background: #bfdbfb; z-index: 1; pointer-events: none; }
.stage { position: relative; padding: 10px 14px 10px 63px; margin-bottom: 3px; min-height: 76px; border: 1px solid transparent; }
.stage[open] { margin-bottom: 6px; padding-top: 12px; padding-bottom: 12px; background: #ffffffb8; border: 1px solid #e0efff; border-top-color: #fff; border-radius: 11px; box-shadow: var(--shadow), inset 0 0 28px #e5f2ff; }
.stage summary { display: grid; grid-template-columns: minmax(0,1fr) 15px; cursor: pointer; list-style: none; }
.stage summary::-webkit-details-marker { display: none; }
.stage-number { display: grid; place-items: center; position: absolute; z-index: 2; top: 12px; left: 8px; width: 34px; height: 34px; border-radius: 50%; background: #e0efff; color: #4d90dc; font-weight: 700; font-size: 17px; line-height: 1; }
.stage[open] .stage-number { color: #fff; background: #5a9ff0; border: 1px solid #a8d9ff; box-shadow: inset 0 1px 4px #a5dfff, 0 3px 8px #6ca9e64d; }
.stage-title { font-size: 17px; font-weight: 700; letter-spacing: -.25px; line-height: 1.5; }
.stage summary > .icon { width: 15px; height: 22px; color: #6b7f9c; margin-top: 2px; transition: transform .15s; }
.stage[open] summary > .icon { transform: rotate(180deg); opacity: .4; }
.stage-description { grid-column: 1 / -1; margin-top: 7px; color: var(--body); font-size: 13.5px; line-height: 1.55; letter-spacing: -.2px; }
.stage-detail { margin-top: 4px; }
.stage-detail a { display: inline-flex; gap: 6px; align-items: center; min-height: 28px; font-size: 14px; font-weight: 600; color: var(--blue); }
.stage-detail .icon { width: 19px; height: 19px; }
.quick-start { display: flex; align-items: center; gap: 14px; padding: 13px 15px; min-height: 77px; margin-top: 4px; border: 1px solid #d7e8fd; border-top-color: #fff; border-radius: 13px; background: linear-gradient(120deg, #ecf6ff, #e4f0ff); box-shadow: inset 0 1px 12px #fff9; }
.feature-icon, .feature-arrow { width: 46px; height: 46px; border: 1px solid #fff; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #ffffffc9; box-shadow: 0 4px 11px #609cdb22; }
.feature-icon .icon { width: 25px; height: 25px; }
.feature-arrow { width: 42px; height: 42px; color: #4b8ee6; margin-left: auto; }
.quick-start strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.5px; line-height: 1.45; }
.quick-start small { display: block; color: var(--body); font-size: 13px; line-height: 1.55; }
.topic-section { border-top: 1px solid #d2e6fe; margin-top: 20px; padding-top: 15px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.section-heading h2 { font-size: 18px; font-weight: 700; padding-left: 14px; position: relative; letter-spacing: -.4px; white-space: nowrap; }
.section-heading h2::before { content: ""; position: absolute; width: 5px; height: 17px; top: 6px; left: 0; border-radius: 4px; background: #5d9fea; }
.section-heading p { font-size: 11px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 13px; }
.topic-grid a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 4px; padding: 8px 10px 8px 4px; }
.topic-grid a:nth-child(even) { border-left: 1px solid var(--line); padding-left: 17px; }
.topic-grid a:nth-child(n+3) { border-top: 1px solid var(--line); }
.topic-grid strong { display: block; font-size: 15px; font-weight: 600; }
.topic-grid small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; }
.topic-grid .icon { color: #71829b; width: 15px; height: 15px; }
.all-chapters { display: block; margin: 16px auto 0; min-height: 44px; background: transparent; color: #4978ad; font-size: 13px; }
.all-chapters .icon { width: 17px; height: 17px; margin-left: 4px; }
.site-footer { text-align: center; padding: 22px 18px calc(88px + env(safe-area-inset-bottom)); color: var(--muted); }
.site-footer p { font-size: 12px; }
.site-footer small { font-size: 10px; }
.bottom-nav { position: fixed; z-index: 8; bottom: 0; left: 0; width: 100%; min-height: 64px; padding: 5px max(18px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left)); display: flex; justify-content: center; gap: 12%; background: #ffffffed; border-top: 1px solid #e5edf7; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.bottom-nav a, .bottom-nav button { display: flex; align-items: center; justify-content: center; flex-direction: column; width: 64px; background: transparent; color: #718098; line-height: 1.3; font-size: 12px; gap: 2px; }
.bottom-nav .icon { width: 24px; height: 24px; }
.bottom-nav [aria-current="page"] { color: #408ddb; }
.bottom-nav [aria-current="page"] .icon { filter: drop-shadow(0 2px 5px #a9d7ff); }
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 10; }
.reading-progress span { display: block; height: 100%; background: #5f9be4; width: 0; }
.guide-shell { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.desktop-toc { display: none; }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: #557da9; font-size: 13px; }
.reader-toolbar a, .reader-toolbar button { display: flex; align-items: center; gap: 6px; min-height: 44px; background: transparent; }
.reader-toolbar .icon { width: 19px; height: 19px; }
.guide-content { border: 1px solid #e4edf8; border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: clip; }
.notice-card { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; padding: 14px 18px; background: #f1f7ff; color: #5e7898; }
.notice-card .icon { width: 18px; height: 18px; margin-top: 1px; }
.guide-section { padding: 24px 20px 32px; color: var(--body); line-height: 1.85; }
.chapter-heading { position: relative; margin-bottom: 24px; }
.chapter-number { display: block; color: #71a2db; font-size: 12px; font-weight: 600; letter-spacing: .1em; margin-bottom: 7px; }
.guide-section h2 { font-size: 24px; line-height: 1.5; font-weight: 750; color: var(--ink); padding-right: 4px; }
.copy-anchor { font-size: 11px; background: #f0f6ff; color: #4877b0; padding: 5px 10px; min-height: 36px; border-radius: 9px; margin-top: 10px; }
.guide-section h3 { font-size: 19px; line-height: 1.65; color: var(--ink); margin: 27px 0 11px; scroll-margin-top: 90px; }
.guide-section h4 { font-size: 16px; color: #2e4f76; margin: 23px 0 9px; scroll-margin-top: 90px; }
.guide-section p { margin: 12px 0; overflow-wrap: anywhere; }
.content-list { margin: 12px 0 20px; padding-left: 22px; }
.content-list li { margin: 10px 0; padding-left: 3px; overflow-wrap: anywhere; }
.content-list li::marker { color: #6799d0; font-weight: 600; }
.table-wrap { margin: 20px 0 27px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { background: #f1f6fd; color: #35587f; text-align: left; font-weight: 600; padding: 12px; }
tbody td, tbody th { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid #e6edf7; }
tbody th { color: #294967; font-weight: 600; }
.chapter-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.chapter-pagination a { display: flex; flex-direction: column; gap: 4px; border: 1px solid #e1ebf8; background: #ffffffbc; padding: 12px; border-radius: 12px; font-size: 12px; }
.chapter-pagination a:last-child { text-align: right; }
.chapter-pagination small { color: var(--muted); font-size: 11px; }
.chapter-toc { display: grid; gap: 7px; margin: 0 0 25px; padding: 14px; background: #f7faff; border-radius: 12px; font-size: 13px; }
.chapter-toc strong { font-size: 12px; color: #8595a9; }
.chapter-toc a { padding: 3px 0; color: #3f73ac; }
dialog { padding: 0; background: #f9fcff; color: var(--ink); width: min(540px,calc(100% - 24px)); max-height: min(85dvh,780px); border: 1px solid #fff; border-radius: 22px; box-shadow: 0 20px 80px #172d5140; overscroll-behavior: contain; }
dialog::backdrop { background: #18365b55; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 12px; position: sticky; top: 0; background: #f9fcfff5; z-index: 2; }
.dialog-header h2 { font-size: 21px; }
.dialog-header p { color: var(--muted); font-size: 12px; margin-top: 2px; }
.dialog-header .icon-button { width: 40px; height: 40px; box-shadow: none; background: #edf4fd; }
.directory-links { padding: 4px 14px 22px; }
.toc-link { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 9px; min-height: 44px; }
.toc-link span { color: #84a2c4; width: 20px; font-size: 11px; }
.toc-link em { font-size: 14px; font-style: normal; }
.toc-link.active { background: #e6f1ff; color: #2871c6; }
.search-field { display: flex; align-items: center; gap: 9px; margin: 4px 20px 12px; padding: 0 12px; border: 1px solid #d9e7f8; background: #edf5fe; border-radius: 12px; color: #6989ae; }
.search-field input { width: 100%; min-width: 0; min-height: 46px; font-size: 16px; background: transparent; color: var(--ink); border: 0; outline-offset: 0; }
.search-field input::placeholder { color: #7f94ae; }
.search-suggestions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 0 20px 12px; font-size: 12px; color: var(--muted); }
.search-suggestions button { background: #eaf2fe; border-radius: 8px; padding: 6px 12px; min-height: 36px; color: #4b7aaf; }
.search-results { padding: 0 16px 18px; }
.search-empty { text-align: center; padding: 40px 10px 65px; }
.search-empty strong { display: block; font-size: 17px; }
.search-empty p { font-size: 13px; color: var(--muted); margin-top: 7px; }
.search-result { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.search-result small { color: #7294bc; font-size: 11px; }
.search-result strong { display: block; font-size: 15px; margin: 4px 0; }
.search-result p { color: var(--body); font-size: 12px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
mark { background: #d9eaff; color: #245b9d; border-radius: 2px; }
.toast { position: fixed; bottom: calc(88px + env(safe-area-inset-bottom)); left: 50%; z-index: 20; transform: translate(-50%,10px); background: #213d60ee; color: #fff; border-radius: 24px; padding: 10px 20px; opacity: 0; pointer-events: none; font-size: 13px; transition: opacity .2s, transform .2s; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
body:has(dialog[open]) { overflow: hidden; }
body.is-reading .site-header { position: sticky; top: 0; background: #f6faffec; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid #e3edf8; }
.reader-main, .guide-section { min-width: 0; }
@media (max-width: 620px) {
  .table-wrap table, .table-wrap tbody { display: block; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-wrap tr { display: block; border-bottom: 1px solid #d8e7f9; padding: 14px 0; }
  .table-wrap tr:first-child { padding-top: 0; }
  .table-wrap tbody th { display: block; border: 0; padding: 0 0 7px; font-size: 16px; }
  .table-wrap td { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 8px; border: 0; padding: 5px 0; font-size: 13px; overflow-wrap: anywhere; }
  .table-wrap td::before { content: attr(data-label); color: #8092a9; font-size: 12px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 16px; }
  .brand strong { font-size: 14px; }
  .brand img { width: 37px; height: 37px; }
  .hero { margin-inline: 16px; }
  .hero h1 { font-size: 22px; }
  .hero-description { font-size: 12px; }
  .hero-art { width: 154px; height: 154px; right: -13px; top: -19px; }
  .home-body { padding-inline: 12px; }
  .stage { padding-left: 57px; padding-right: 10px; }
  .stage-title { font-size: 15px; }
  .stage-description { font-size: 12.5px; }
  .section-heading p { font-size: 10px; }
  .section-heading h2 { font-size: 16px; }
  .quick-start { gap: 9px; padding-inline: 12px; }
  .quick-start strong { font-size: 18px; }
  .quick-start small { font-size: 12px; }
  .topic-grid strong { font-size: 14px; }
  .topic-grid small { font-size: 10px; }
  .topic-grid a:nth-child(even) { padding-left: 10px; }
}
@media (min-width: 621px) {
  .site-header { padding: 25px 32px 14px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 13px; }
  .brand img { width: 47px; height: 47px; }
  .desktop-directory { display: block; }
  .hero { margin: 0 30px; height: 210px; }
  .hero-copy { padding-top: 43px; }
  .eyebrow { font-size: 15px; }
  .hero h1 { font-size: 43px; }
  .hero-description { font-size: 18px; margin-top: 14px; }
  .hero-art { width: 270px; height: 270px; top: -40px; right: -20px; }
  .home-body { padding: 5px 30px 0; }
  .route-tabs { max-width: 760px; }
  .route-tabs button { min-height: 46px; font-size: 17px; }
  .route-panel { padding-top: 24px; }
  .stage { padding: 22px 28px 23px 88px; min-height: 110px; }
  .stage[open] { padding-top: 22px; padding-bottom: 22px; }
  .stage-number { top: 22px; left: 19px; width: 42px; height: 42px; font-size: 20px; }
  .timeline::before { left: 40px; bottom: 70px; }
  .stage-title { font-size: 21px; }
  .stage-description { font-size: 16px; }
  .stage-detail a { font-size: 16px; min-height: 36px; }
  .quick-start { margin-top: 16px; padding: 20px 24px; }
  .quick-start strong { font-size: 24px; }
  .quick-start small { font-size: 15px; }
  .topic-section { margin-top: 32px; padding-top: 24px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading p { font-size: 14px; }
  .topic-grid a { min-height: 90px; padding-left: 10px; }
  .topic-grid strong { font-size: 19px; }
  .topic-grid small { font-size: 14px; }
  .bottom-nav { gap: 100px; }
  .guide-section { padding: 35px; }
  .guide-section h2 { font-size: 29px; }
}
@media (min-width: 960px) {
  .guide-shell { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 28px; margin-top: 20px; }
  .desktop-toc { display: block; position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 200px); overflow: auto; padding: 18px 8px; }
  .toc-head { font-size: 16px; font-weight: 600; padding: 0 12px 12px; }
  .toc-head small { font-size: 11px; color: var(--muted); margin-left: 8px; }
  .desktop-toc .toc-link { gap: 8px; padding: 9px; }
  .desktop-toc .toc-link em { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .site-header, .home-page, .desktop-toc, .reader-toolbar, .bottom-nav, .chapter-pagination, .copy-anchor, .chapter-toc, .site-footer, dialog { display: none !important; }
  #reader, .guide-section { display: block !important; }
  body { background: #fff; }
  .guide-content { box-shadow: none; border: 0; }
  .guide-section { break-before: page; }
}
