:root {
  --ink: #1f2d28;
  --muted: #68756f;
  --green-950: #0d2924;
  --green-900: #12372f;
  --green-800: #1b493f;
  --green-700: #2f6558;
  --sage-200: #dce7e1;
  --sage-100: #eef4f0;
  --cream: #f4efe5;
  --paper: #fffdf8;
  --gold: #c28b3d;
  --gold-soft: #ead6ad;
  --line: #d8ddd8;
  --shadow: 0 18px 60px rgba(17, 49, 42, .09);
  --sidebar: 308px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--cream); color: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }

.reading-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: var(--sidebar);
  right: 0;
  height: 3px;
  background: rgba(18, 55, 47, .08);
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e0bb71);
  transition: width .12s linear;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--sidebar);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  color: #f8f3e8;
  background:
    radial-gradient(circle at 115% 13%, rgba(215, 183, 126, .18), transparent 28%),
    linear-gradient(180deg, #174239 0%, #102f29 100%);
  box-shadow: 10px 0 35px rgba(8, 31, 26, .12);
}

.brand { padding: 26px 23px 17px; }
.brand a { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 8px 22px rgba(4, 24, 20, .22), inset 0 0 0 1px rgba(241, 208, 146, .12);
}
.brand-mark img {
  width: 42px;
  height: 42px;
  display: block;
}
.brand b { display: block; font-size: 14px; line-height: 1.4; letter-spacing: .02em; }
.brand small { display: block; margin-top: 5px; color: rgba(248, 243, 232, .57); font-size: 10px; letter-spacing: .12em; }

.sidebar-search {
  margin: 0 20px 14px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  transition: border-color .2s, background .2s;
}
.sidebar-search:focus-within { border-color: rgba(232, 207, 159, .62); background: rgba(255, 255, 255, .1); }
.sidebar-search > span { color: rgba(255, 255, 255, .64); font-size: 18px; }
.sidebar-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: white; background: transparent; font-size: 12px; }
.sidebar-search input::placeholder { color: rgba(255, 255, 255, .48); }
.sidebar-search kbd { padding: 1px 6px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px; color: rgba(255, 255, 255, .46); font-size: 10px; font-family: inherit; }

.sidebar-nav { overflow-y: auto; padding: 2px 14px 20px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.nav-group { margin: 13px 0 18px; }
.nav-group-title { padding: 0 11px 7px; color: rgba(241, 216, 168, .72); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav-item {
  width: 100%;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: start;
  gap: 4px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  color: rgba(248, 243, 232, .73);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: .18s ease;
}
.nav-item:hover { color: white; background: rgba(255, 255, 255, .07); }
.nav-item.active { color: #fff8ea; background: rgba(232, 207, 159, .14); box-shadow: inset 2px 0 #d6ad65; }
.nav-item .number { padding-top: 1px; color: #d6ad65; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.nav-item .label { font-size: 11.5px; line-height: 1.5; }
.nav-empty, .nav-loading { padding: 20px 12px; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.7; }

.sidebar-footer { display: grid; grid-template-columns: 1fr 1.16fr; gap: 8px; padding: 13px 14px 17px; border-top: 1px solid rgba(255,255,255,.09); background: rgba(6, 28, 23, .22); }
.sidebar-action { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.05); cursor: pointer; }
.sidebar-action:hover { color: white; background: rgba(255,255,255,.09); }
.sidebar-action span { font-size: 9px; color: #d9bd82; }
.sidebar-action b { font-size: 11px; }
.sidebar-action.accent { border-color: rgba(216, 183, 126, .42); background: rgba(194, 139, 61, .12); }

.main-shell { min-height: 100vh; margin-left: var(--sidebar); }
.reader-shell { width: min(1060px, calc(100% - 56px)); margin: 0 auto; padding: 36px 0 60px; }
.reader-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; padding: 0 3px; color: #687770; font-size: 10px; letter-spacing: .08em; }
.reader-topline .dot { padding: 0 6px; color: var(--gold); }
.text-button { border: 0; background: transparent; color: #63736c; font-size: 11px; cursor: pointer; }
.text-button:hover { color: var(--green-800); }

.reader {
  min-height: 74vh;
  padding: clamp(30px, 6vw, 72px) clamp(25px, 7vw, 88px);
  border: 1px solid rgba(28, 70, 60, .08);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.reader.home-page { padding: 0; overflow: hidden; }
.reader.knowledge-page { padding-top: 0; overflow: hidden; }

.reader h1, .reader h2, .reader h3, .reader h4 { color: var(--green-900); letter-spacing: -.015em; }
.reader h1 { margin: 0 0 28px; font-size: clamp(31px, 4vw, 46px); line-height: 1.28; }
.reader h2 { margin: 45px 0 19px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: clamp(25px, 3vw, 34px); line-height: 1.38; }
.reader h3 { margin: 34px 0 14px; font-size: 20px; line-height: 1.5; }
.reader h4 { margin: 28px 0 11px; font-size: 16px; line-height: 1.5; }
.reader h1[id], .reader h2[id], .reader h3[id] { scroll-margin-top: 25px; }
.reader p { margin: 0 0 18px; color: #33413c; font-size: 16px; line-height: 1.95; }
.reader strong { color: #173f36; }
.reader ul, .reader ol { margin: 0 0 23px; padding-left: 25px; }
.reader li { margin: 8px 0; padding-left: 4px; color: #34433d; font-size: 15.5px; line-height: 1.83; }
.reader li::marker { color: var(--gold); font-weight: 700; }
.reader blockquote { margin: 27px 0; padding: 19px 23px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: #f3eee3; }
.reader blockquote p { margin-bottom: 0; color: #41534c; }
.reader hr { height: 1px; margin: 38px 0; border: 0; background: linear-gradient(90deg, var(--gold) 0 75px, var(--line) 75px); }
.reader code { padding: 2px 6px; border-radius: 5px; background: var(--sage-100); font-family: Consolas, monospace; font-size: .9em; }

.table-scroll { width: 100%; margin: 24px 0 30px; overflow-x: auto; border: 1px solid #bccbc4; border-radius: 12px; }
.reader table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
.reader th, .reader td { padding: 13px 14px; border-right: 1px solid #c9d5cf; border-bottom: 1px solid #c9d5cf; vertical-align: top; text-align: left; }
.reader th:last-child, .reader td:last-child { border-right: 0; }
.reader tr:last-child td { border-bottom: 0; }
.reader th { color: #143c33; background: #dfe9e4; font-weight: 700; }
.reader tbody tr:nth-child(even) td { background: #f7f9f7; }

.guide-hero { min-height: 590px; display: grid; grid-template-columns: 1.45fr .55fr; gap: 30px; padding: clamp(45px, 8vw, 86px); color: #fff9ed; background: radial-gradient(circle at 88% 18%, rgba(218, 178, 102, .19), transparent 25%), linear-gradient(145deg, #12372f, #1b4b40 60%, #102e28); position: relative; overflow: hidden; }
.guide-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -185px; top: 88px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.hero-copy { min-width: 0; position: relative; z-index: 1; align-self: center; }
.hero-eyebrow { color: #dfbd7c; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.guide-hero h1 { margin: 24px 0; color: #fff9ed; font-size: clamp(34px, 5vw, 55px); line-height: 1.34; }
.guide-hero p { max-width: 650px; color: rgba(255, 249, 237, .78); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-mark { align-self: end; justify-self: end; display: flex; flex-direction: column; gap: 7px; padding-bottom: 48px; color: rgba(242, 217, 169, .6); font-family: STKaiti, KaiTi, serif; font-size: 18px; letter-spacing: .12em; text-align: right; }

.button { min-height: 43px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #13352e; background: #e2bd78; }
.button.primary:hover { background: #e9c989; }
.button.ghost { border-color: rgba(255,255,255,.24); color: inherit; background: rgba(255,255,255,.07); }
.reader:not(.home-page) .button.ghost { border-color: #b9c8c1; color: var(--green-900); background: white; }
.button.full { width: 100%; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 62px; transform: translateY(-33px); border: 1px solid #e3ded4; border-radius: 17px; background: var(--paper); box-shadow: 0 14px 38px rgba(18, 55, 47, .1); overflow: hidden; position: relative; z-index: 2; }
.stats-grid article { padding: 22px 19px; border-right: 1px solid #e1e3df; text-align: center; }
.stats-grid article:last-child { border-right: 0; }
.stats-grid strong { display: block; color: var(--green-900); font-size: 25px; }
.stats-grid span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }

.home-section { padding: 30px clamp(38px, 8vw, 86px) 68px; }
.section-heading > span { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.section-heading h2 { margin: 9px 0 10px; padding: 0; border: 0; font-size: 31px; }
.section-heading p { color: var(--muted); font-size: 14px; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 28px; }
.path-card { min-height: 132px; padding: 22px; border: 1px solid #dfe3df; border-radius: 15px; background: #fbfaf6; text-align: left; cursor: pointer; position: relative; transition: border-color .2s, transform .2s, box-shadow .2s; }
.path-card:hover { transform: translateY(-2px); border-color: #b9c9c1; box-shadow: 0 10px 25px rgba(18,55,47,.07); }
.path-card b { display: block; margin-bottom: 9px; color: var(--green-900); font-size: 17px; }
.path-card span { display: block; max-width: 80%; color: var(--muted); font-size: 12px; line-height: 1.7; }
.path-card i { position: absolute; right: 18px; bottom: 15px; color: #d6c5a1; font-family: Georgia, serif; font-size: 24px; font-style: normal; }
.principle-card { margin: 0 clamp(38px, 8vw, 86px) 72px; padding: 30px; border-radius: 17px; color: #f9f3e7; background: var(--green-900); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.principle-card span { color: #dcb979; font-size: 10px; letter-spacing: .14em; }
.principle-card h2 { margin: 9px 0 0; padding: 0; border: 0; color: #fff9ed; font-size: 22px; line-height: 1.55; }
.principle-card p { align-self: center; margin: 0; color: rgba(255,249,237,.72); font-size: 13px; line-height: 1.85; }

.pdf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.pdf-card { padding: 22px; border: 1px solid #d9e0dc; border-radius: 16px; background: #fcfbf7; display: flex; flex-direction: column; min-height: 240px; }
.pdf-card-top { display: flex; justify-content: space-between; gap: 15px; }
.pdf-badge { width: 44px; height: 53px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 7px 7px 10px 10px; color: #fff8eb; background: var(--green-800); font-size: 10px; font-weight: 700; box-shadow: inset 0 -7px rgba(0,0,0,.09); }
.pdf-card small { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.pdf-card h3 { margin: 10px 0; font-size: 17px; line-height: 1.5; }
.pdf-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.pdf-actions { display: flex; gap: 9px; margin-top: auto; padding-top: 20px; }
.pdf-actions button, .pdf-actions a { flex: 1; display: grid; place-items: center; min-height: 38px; border: 1px solid #b9c8c1; border-radius: 9px; color: var(--green-900); background: white; font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer; }
.pdf-actions .download { border-color: var(--green-800); color: white; background: var(--green-800); }

.knowledge-entry-hero {
  margin: 0 calc(clamp(25px, 7vw, 88px) * -1) 50px;
  padding: 55px clamp(25px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
  color: #fff8eb;
  background: radial-gradient(circle at 88% 16%, rgba(220,185,121,.22), transparent 26%), linear-gradient(145deg, #12372f, #1c4b40);
}
.knowledge-entry-copy h1 { margin: 18px 0 20px; color: white; font-size: clamp(38px, 5vw, 58px); line-height: 1.3; }
.knowledge-entry-copy p { max-width: 580px; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.9; }
.knowledge-entry-copy .button { margin-top: 16px; }
.qrcode-card { margin: 0; padding: 12px; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 24px 65px rgba(4,23,19,.26); }
.qrcode-card img { display: block; width: 100%; max-height: 590px; border-radius: 12px; object-fit: contain; }

.knowledge-image-section { padding-top: 5px; }
.knowledge-guide-gallery { display: grid; gap: 28px; margin-top: 30px; }
.knowledge-guide-gallery figure { margin: 0; padding: 13px; border: 1px solid #dce2de; border-radius: 18px; background: #faf9f5; box-shadow: 0 12px 32px rgba(17,49,42,.055); }
.knowledge-guide-gallery figcaption { display: flex; align-items: center; gap: 13px; padding: 7px 7px 15px; color: var(--green-900); }
.knowledge-guide-gallery figcaption b { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #a96f24; background: #f0e4cc; font-family: Georgia, serif; }
.knowledge-guide-gallery figcaption span { font-size: 14px; font-weight: 700; }
.knowledge-guide-gallery img { display: block; width: 100%; height: auto; border-radius: 11px; }
.knowledge-guide-cta { margin-top: 38px; padding: 30px; border-radius: 18px; display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; color: #fff8eb; background: var(--green-900); }
.knowledge-guide-cta span { color: #dfbd7c; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.knowledge-guide-cta h2 { margin: 8px 0; padding: 0; border: 0; color: white; font-size: 23px; }
.knowledge-guide-cta p { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.7; }

.scenario-jump-panel { margin: -18px 0 42px; padding: 30px; border-radius: 18px; color: #fff8eb; background: radial-gradient(circle at 94% 10%, rgba(223,189,124,.18), transparent 25%), var(--green-900); }
.scenario-jump-panel > span, .print-reminder > div > span { color: #dfbd7c; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.scenario-jump-panel h1 { margin: 10px 0 9px; color: white; font-size: 29px; }
.scenario-jump-panel > p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.scenario-jump-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.scenario-jump-grid button { min-height: 90px; padding: 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: #fff8eb; background: rgba(255,255,255,.07); text-align: left; cursor: pointer; position: relative; transition: background .18s, transform .18s; }
.scenario-jump-grid button:hover { transform: translateY(-1px); background: rgba(255,255,255,.12); }
.scenario-jump-grid b { display: block; margin-bottom: 7px; font-size: 14px; }
.scenario-jump-grid small { color: rgba(255,255,255,.56); font-size: 10px; }
.scenario-jump-grid i { position: absolute; right: 12px; bottom: 11px; color: #dfbd7c; font-style: normal; }

.print-reminder { margin: -18px 0 42px; padding: 25px 27px; display: grid; grid-template-columns: 55px 1fr auto; gap: 18px; align-items: center; border: 1px solid #c9d8d1; border-radius: 17px; background: #e9f1ed; }
.print-reminder-icon { width: 50px; height: 57px; display: grid; place-items: center; border-radius: 7px 7px 11px 11px; color: white; background: var(--green-800); font-size: 10px; font-weight: 700; box-shadow: inset 0 -7px rgba(0,0,0,.08); }
.print-reminder h1 { margin: 5px 0 6px; color: var(--green-900); font-size: 22px; }
.print-reminder p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.page-loading { min-height: 60vh; display: grid; place-items: center; align-content: center; color: var(--muted); }
.page-loading span { width: 28px; height: 28px; border: 2px solid var(--sage-200); border-top-color: var(--green-700); border-radius: 50%; animation: spin .8s linear infinite; }
.page-loading p { margin-top: 14px; font-size: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.pagination-card { min-height: 86px; padding: 17px 19px; border: 1px solid #d9ded9; border-radius: 14px; background: rgba(255,253,248,.7); text-align: left; cursor: pointer; transition: .18s; }
.pagination-card:hover { transform: translateY(-1px); border-color: #b6c5be; background: var(--paper); }
.pagination-card.next { text-align: right; }
.pagination-card small { display: block; margin-bottom: 7px; color: var(--gold); font-size: 9px; letter-spacing: .1em; }
.pagination-card b { color: var(--green-900); font-size: 12px; line-height: 1.5; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 38px 4px 0; color: #7b857f; font-size: 10px; }
.site-footer p { margin: 0; }

.mobile-header { display: none; }
.sidebar-backdrop { display: none; }

.modal { width: min(1050px, calc(100% - 36px)); max-width: none; padding: 0; border: 0; border-radius: 18px; background: var(--paper); box-shadow: 0 30px 90px rgba(9,31,26,.28); overflow: hidden; }
.modal::backdrop { background: rgba(8, 28, 24, .66); backdrop-filter: blur(4px); }
.modal-header { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px 0 24px; color: white; background: var(--green-900); }
.modal-header span { display: block; margin-bottom: 3px; color: #d9b878; font-size: 8px; letter-spacing: .14em; }
.modal-header b { font-size: 13px; }
.modal-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; color: inherit; background: rgba(255,255,255,.1); font-size: 24px; cursor: pointer; }
.pdf-modal iframe { width: 100%; height: min(78vh, 850px); border: 0; background: #e8ebe9; }
.modal-close.floating { position: absolute; top: 13px; right: 13px; color: var(--green-900); background: #edf1ee; }
.modal-eyebrow { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.template-box { margin: 22px 0; padding: 17px; border: 1px solid #d9e0dc; border-radius: 12px; background: #f7f7f2; }
.template-box b { color: var(--green-900); font-size: 13px; }
.template-box p { margin: 9px 0 0; color: #52615b; font-size: 12px; line-height: 1.8; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 25px; transform: translate(-50%, 18px); padding: 11px 17px; border-radius: 99px; color: white; background: #173c34; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 12px; opacity: 0; pointer-events: none; transition: .24s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.review-editor-page {
  margin: -54px;
  min-height: 760px;
  padding: 54px;
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(300px, .92fr);
  align-items: stretch;
  gap: 28px;
  background: linear-gradient(145deg, #f9f6ee, #ece7dc);
}
.book-crop { height: 410px; overflow: hidden; border: 1px solid rgba(237,202,135,.42); border-radius: 18px; background: #f4efe5; box-shadow: 0 20px 50px rgba(4,20,17,.28); }
.book-crop img { width: 100%; height: auto; display: block; transform: translateY(-43%); }
.review-editor-book { height: 470px; min-height: 0; align-self: start; box-shadow: 0 18px 45px rgba(13,46,39,.12); }
.review-editor-book img { width: 115%; max-width: none; height: auto; transform: translate(-6.5%, -42%); }
.review-edit-shell { min-height: 650px; padding: 14px; border: 1px solid #cbd5d0; border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: 0 18px 45px rgba(13,46,39,.07); }
.review-edit-box { min-height: 620px; padding: 25px; border: 1px solid transparent; border-radius: 12px; outline: none; color: var(--green-900); background: #fff; font-size: 18px; line-height: 1.9; white-space: pre-wrap; cursor: text; transition: border-color .18s, box-shadow .18s; }
.review-edit-box:focus { border-color: #9bb1a8; box-shadow: inset 0 0 0 2px rgba(25,82,69,.08); }

@media (max-width: 1040px) {
  .guide-hero { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .pdf-grid { grid-template-columns: 1fr; }
  .review-editor-page { grid-template-columns: minmax(0, 1fr); }
  .review-editor-page > * { min-width: 0; }
}

@media (max-width: 900px) {
  :root { --sidebar: 288px; }
  .reading-progress { left: 0; top: 61px; }
  .mobile-header { position: sticky; top: 0; z-index: 45; height: 62px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; padding: 0 13px; color: #fff8ea; background: var(--green-900); box-shadow: 0 3px 15px rgba(7,28,23,.13); }
  .mobile-header b { display: block; font-size: 12px; }
  .mobile-header small { display: block; margin-top: 2px; color: rgba(255,255,255,.55); font-size: 9px; }
  .icon-button { width: 38px; height: 38px; display: grid; place-content: center; gap: 4px; border: 0; border-radius: 9px; color: white; background: rgba(255,255,255,.06); }
  .icon-button span { display: block; width: 18px; height: 1.5px; background: white; }
  .search-jump { font-size: 24px; }
  .sidebar { width: min(86vw, 310px); transform: translateX(-105%); transition: transform .24s ease; }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 48; display: block; background: rgba(6,24,20,.55); opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.sidebar-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .main-shell { margin-left: 0; }
  .reader-shell { width: min(100% - 24px, 920px); padding: 17px 0 45px; }
  .reader { border-radius: 18px; }
}

@media (max-width: 650px) {
  .reader-shell { width: 100%; padding-top: 0; }
  .reader-topline { padding: 13px 17px 10px; margin: 0; }
  .reader { min-height: calc(100vh - 120px); padding: 31px 20px 45px; border-width: 1px 0 0; border-radius: 0; box-shadow: none; }
  .reader h1 { font-size: 29px; }
  .reader h2 { font-size: 24px; }
  .reader h3 { font-size: 19px; }
  .reader p { font-size: 15px; line-height: 1.86; }
  .reader li { font-size: 14.5px; }
  .guide-hero { width: 100%; max-width: 100%; min-height: 560px; grid-template-columns: minmax(0, 1fr); padding: 48px 24px; }
  .guide-hero h1 { max-width: 100%; font-size: 32px; overflow-wrap: anywhere; }
  .guide-hero p { max-width: 100%; overflow-wrap: anywhere; }
  .stats-grid { width: calc(100% - 36px); max-width: calc(100% - 36px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0 auto; transform: translateY(-29px); }
  .stats-grid article { min-width: 0; padding-left: 10px; padding-right: 10px; }
  .stats-grid article:nth-child(2) { border-right: 0; }
  .stats-grid article:nth-child(-n+2) { border-bottom: 1px solid #e1e3df; }
  .home-section { padding: 25px 22px 50px; }
  .path-grid { grid-template-columns: 1fr; }
  .principle-card { margin: 0 22px 50px; grid-template-columns: 1fr; }
  .knowledge-entry-hero { margin: -31px -20px 38px; padding: 46px 20px; grid-template-columns: 1fr; }
  .knowledge-entry-copy h1 { font-size: 34px; }
  .qrcode-card { width: min(100%, 430px); margin: 0 auto; }
  .knowledge-guide-gallery figure { padding: 8px; border-radius: 13px; }
  .knowledge-guide-cta { grid-template-columns: 1fr; }
  .review-editor-page { margin: -31px -20px; min-height: auto; padding: 24px 20px; gap: 20px; }
  .review-editor-book { width: 100%; max-width: 430px; height: 360px; min-height: 0; margin: 0 auto; }
  .review-edit-shell { min-height: 420px; padding: 9px; }
  .review-edit-box { min-height: 400px; padding: 18px; font-size: 16px; }
  .scenario-jump-panel { margin-top: 0; padding: 22px; }
  .scenario-jump-grid { grid-template-columns: 1fr 1fr; }
  .print-reminder { margin-top: 0; grid-template-columns: 48px 1fr; }
  .print-reminder .button { grid-column: 1 / -1; }
  .page-pagination { padding: 0 12px; grid-template-columns: 1fr; }
  .site-footer { padding: 35px 17px 0; }
  .site-footer p { display: none; }
}

@media print {
  .sidebar, .mobile-header, .reading-progress, .reader-topline, .page-pagination, .site-footer { display: none !important; }
  .main-shell { margin: 0; }
  .reader-shell { width: 100%; padding: 0; }
  .reader { padding: 0; border: 0; box-shadow: none; }
}
