:root {
  --ink: #40342a;
  --ink-soft: #665547;
  --muted: #907c69;
  --orange: #e88d1a;
  --orange-deep: #c96f13;
  --orange-soft: #fff0cf;
  --gold-line: #eed9aa;
  --cream: #fbf4e5;
  --cream-2: #fff9ec;
  --paper: rgba(255, 254, 248, 0.93);
  --paper-solid: #fffef8;
  --sage: #eef3e7;
  --sage-ink: #57705b;
  --white: #ffffff;
  --shadow-panel: 0 1.5rem 4rem rgba(154, 107, 49, 0.12);
  --shadow-card: 0 0.7rem 2rem rgba(154, 107, 49, 0.08);
  --radius-xl: 2rem;
  --radius-lg: 1.55rem;
  --radius-md: 1rem;
  --radius-sm: 0.72rem;
  --page-max: 100rem;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 74rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 3%, rgba(255, 217, 136, 0.52), transparent 25rem),
    radial-gradient(circle at 91% 7%, rgba(255, 190, 116, 0.32), transparent 28rem),
    radial-gradient(circle at 18% 52%, rgba(221, 236, 203, 0.42), transparent 31rem),
    linear-gradient(145deg, #fff8e8 0%, #f7efdf 52%, #fff7e6 100%);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.16), transparent 28%, rgba(255,255,255,0.18) 62%, transparent);
  opacity: 0.75;
}

::selection { color: var(--white); background: var(--orange); }
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 4.8rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 max(2rem, calc((100vw - var(--page-max)) / 2));
  color: var(--ink);
  background: rgba(255, 252, 242, 0.93);
  border-bottom: 1px solid rgba(224, 199, 146, 0.7);
  box-shadow: 0 0.5rem 2rem rgba(145, 105, 52, 0.08);
  backdrop-filter: blur(1rem);
}

.brand {
  min-width: 19rem;
  display: grid;
  grid-template-columns: 2.8rem auto;
  grid-template-rows: 1.45rem 1rem;
  column-gap: 0.8rem;
  align-items: center;
}

.brand span {
  grid-row: 1 / 3;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, #f2a32f, var(--orange-deep));
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.3rem rgba(205, 113, 19, 0.22);
  font-weight: 850;
}

.brand b { font-size: 0.94rem; }
.brand small { color: var(--muted); font-size: 0.56rem; letter-spacing: 0.16em; }

nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
}

nav a {
  position: relative;
  padding: 0.62rem 0.82rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 99rem;
  font-size: 0.75rem;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover { color: var(--orange-deep); background: rgba(255, 237, 198, 0.7); }
nav a.active { color: var(--orange-deep); background: var(--orange-soft); font-weight: 750; }

.print-button {
  padding: 0.7rem 1.05rem;
  color: var(--orange-deep);
  background: var(--paper-solid);
  border: 1px solid var(--gold-line);
  border-radius: 99rem;
  box-shadow: 0 0.4rem 1.2rem rgba(170, 112, 35, 0.08);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.print-button:hover { transform: translateY(-0.1rem); box-shadow: 0 0.7rem 1.5rem rgba(170, 112, 35, 0.14); }

main { position: relative; overflow: hidden; }
.section-anchor { scroll-margin-top: 6rem; }

.hero, .page-section, footer {
  width: min(var(--page-max), calc(100% - 3.5rem));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  margin-top: 1.7rem;
  padding: 1.25rem;
  background: rgba(255, 250, 237, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 2.35rem;
  box-shadow: var(--shadow-panel);
}

.hero-main {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.15rem;
}

.hero-primary, .hero-summary {
  position: relative;
  overflow: hidden;
  min-height: 26rem;
  padding: 2.8rem;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.hero-primary::after {
  content: "九月计划";
  position: absolute;
  top: 0.7rem;
  right: 1.5rem;
  color: rgba(232, 141, 26, 0.06);
  font-size: 6.5rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.hero-tags {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-tags span, .summary-label, .section-title p {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.78rem;
  color: #7a5420;
  background: linear-gradient(180deg, #fff9df, #ffebbd);
  border: 1px solid #efd39a;
  border-radius: 99rem;
  box-shadow: 0 0.25rem 0.7rem rgba(204, 130, 31, 0.07);
  font-size: 0.68rem;
  font-weight: 750;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 58rem;
  margin: 1.6rem 0 1.2rem;
  font-size: clamp(3.4rem, 4.1vw, 5.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.hero-summary {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 198, 91, 0.26), transparent 13rem),
    linear-gradient(160deg, rgba(255, 254, 247, 0.98), rgba(255, 246, 226, 0.92));
}

.hero-summary h2 {
  margin: 1rem 0 1.5rem;
  max-width: 30rem;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1.35;
  font-weight: 820;
}

.hero-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.72rem;
  margin-top: auto;
}

.hero-numbers article {
  min-height: 7.3rem;
  padding: 1.05rem 1.1rem;
  background: rgba(255, 255, 251, 0.86);
  border: 1px solid rgba(236, 214, 168, 0.8);
  border-radius: var(--radius-md);
}

.hero-numbers b { display: block; color: var(--orange-deep); font-size: 2.2rem; line-height: 1; font-weight: 850; font-variant-numeric: tabular-nums; }
.hero-numbers span { display: block; margin-top: 0.48rem; font-size: 0.78rem; font-weight: 760; }
.hero-numbers small { display: block; margin-top: 0.28rem; color: var(--muted); font-size: 0.66rem; }

.plain-verdict {
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1rem;
  padding: 1.15rem 1.4rem;
  background: var(--paper-solid);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  line-height: 1.65;
}

.plain-verdict b { color: var(--orange-deep); font-size: 0.8rem; }
.plain-verdict span { font-size: 0.84rem; }

.quick-dive {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0.2rem 0.1rem;
}

.quick-dive > span { margin-right: 0.15rem; color: var(--muted); font-size: 0.66rem; font-weight: 700; }
.quick-dive button {
  padding: 0.47rem 0.82rem;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--gold-line);
  border-radius: 99rem;
  cursor: pointer;
  font-size: 0.7rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.quick-dive button:hover { color: var(--white); background: var(--orange); transform: translateY(-0.08rem); }

.page-section {
  margin-top: 1.4rem;
  padding: 3rem;
  background: rgba(255, 253, 246, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
}

.compact-section { padding-top: 2.8rem; padding-bottom: 2.8rem; }

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.7rem;
}

.section-title p { width: fit-content; margin: 0 0 0.75rem; }
.section-title h2 { margin: 0; font-size: 2.35rem; line-height: 1.18; letter-spacing: -0.025em; font-weight: 840; }
.section-title h2 span { color: var(--orange-deep); }
.section-title::after {
  content: "点击卡片可查看执行细节";
  padding: 0.5rem 0.8rem;
  color: var(--muted);
  background: rgba(255, 249, 230, 0.78);
  border: 1px solid var(--gold-line);
  border-radius: 99rem;
  font-size: 0.64rem;
}

.table-wrap, .execution-wrap {
  overflow: hidden;
  background: rgba(255, 255, 251, 0.87);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

table { width: 100%; border-collapse: collapse; }

.plan-table th, .plan-table td {
  padding: 1rem 0.62rem;
  text-align: center;
  border-right: 1px solid #efe4ca;
  border-bottom: 1px solid #efe4ca;
  font-size: 0.78rem;
}
.plan-table th:last-child, .plan-table td:last-child { border-right: 0; }
.plan-table thead th { color: #6d4c20; background: linear-gradient(180deg, #fff4d6, #ffebbe); font-weight: 760; }
.plan-table tbody th { padding-left: 1rem; text-align: left; background: #fffaf0; }
.plan-table tbody tr:hover { background: #fff8e6; }
.plan-table tfoot td { color: var(--ink-soft); background: #faf4e7; border-bottom: 0; font-weight: 800; }
.plan-table .total { color: var(--orange-deep); font-weight: 850; }

.matrix-week, .matrix-number { width: 100%; min-height: 1.8rem; padding: 0; color: inherit; background: transparent; border: 0; cursor: pointer; }
.matrix-week { text-align: left; font-weight: 760; }
.matrix-week small { display: block; margin-top: 0.22rem; color: var(--muted); font-size: 0.61rem; font-weight: 500; }
.matrix-number:hover, .matrix-week:hover { color: var(--orange-deep); }
.matrix-number:disabled { color: #c5baa8; cursor: default; }

.matrix-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.95rem;
}
.matrix-notes p { margin: 0; padding: 1.15rem 1.2rem; color: var(--ink-soft); background: rgba(255,255,251,0.84); border: 1px solid var(--gold-line); border-radius: var(--radius-md); font-size: 0.75rem; line-height: 1.72; }
.matrix-notes b { display: block; margin-bottom: 0.35rem; color: var(--ink); font-size: 0.75rem; }
.download-link { display: inline-flex; margin-top: 1.05rem; color: var(--orange-deep); font-size: 0.7rem; font-weight: 800; text-underline-offset: 0.25rem; }

.execution-table { table-layout: fixed; }
.execution-table th, .execution-table td { padding: 1.08rem 0.9rem; text-align: left; vertical-align: top; border-right: 1px solid #efe4ca; border-bottom: 1px solid #efe4ca; font-size: 0.7rem; line-height: 1.7; }
.execution-table thead th { color: #6d4c20; background: linear-gradient(180deg, #fff4d6, #ffebbe); text-align: center; font-size: 0.7rem; }
.execution-table thead th:first-child { width: 8.2rem; }
.execution-table thead th:last-child { width: 11.5rem; }
.execution-table tbody th { color: var(--ink); background: #fffaf0; font-size: 0.76rem; }
.execution-table td:last-child, .execution-table th:last-child { border-right: 0; }
.execution-table tr:last-child td, .execution-table tr:last-child th { border-bottom: 0; }
.execution-table td b { display: block; color: var(--orange-deep); font-size: 0.74rem; }
.execution-table td small { display: block; margin-top: 0.28rem; color: var(--muted); }
.drill-row { cursor: pointer; transition: background 0.2s ease; }
.execution-table .drill-row:hover { background: #fff8e3; }

.role-plan, .asset-numbers, .weekly-board, .live-table, .case-grid, .product-grid, .review-timeline, .review-grid { display: grid; gap: 0.82rem; }
.role-plan { grid-template-columns: repeat(5, 1fr); margin-top: 0.95rem; }
.role-plan article, .asset-numbers article { min-height: 8.4rem; padding: 1.25rem; background: rgba(255,255,251,0.88); border: 1px solid var(--gold-line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.role-plan article.backup { background: linear-gradient(150deg, #fff5df, #fffaf0); }
.role-plan b { color: var(--orange-deep); font-size: 1.72rem; font-weight: 850; }
.role-plan h3 { display: inline; margin-left: 0.35rem; font-size: 0.9rem; }
.role-plan p { margin: 0.72rem 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.65; }

.weekly-board { grid-template-columns: repeat(4, 1fr); margin-top: 1.25rem; }
.week-card { min-height: 14.6rem; padding: 1.4rem; background: rgba(255,255,251,0.9); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.week-card:nth-child(4) { background: linear-gradient(145deg, #fff0cc, #fff9e8); border-color: #efca83; }
.week-card > span { color: var(--orange-deep); font-size: 0.64rem; font-weight: 820; }
.week-card h3 { margin: 0.72rem 0 1rem; font-size: 1.3rem; }
.week-card p { margin: 0.58rem 0; font-size: 0.72rem; line-height: 1.65; }
.week-card p b { display: inline-block; min-width: 3.3rem; color: var(--muted); }
.week-card em, .case-card em, .product-card em { display: block; margin-top: 0.85rem; color: var(--orange-deep); font-size: 0.63rem; font-style: normal; font-weight: 800; }

.asset-numbers { grid-template-columns: repeat(4, 1fr); }
.asset-numbers b { display: block; color: var(--orange-deep); font-size: 1.92rem; font-weight: 850; }
.asset-numbers span { display: block; margin-top: 0.32rem; font-size: 0.8rem; font-weight: 760; }
.asset-numbers small { display: block; margin-top: 0.52rem; color: var(--muted); font-size: 0.66rem; }

.shoot-layout { display: grid; grid-template-columns: 0.9fr 1.45fr; gap: 0.9rem; margin-top: 0.95rem; }
.shoot-plan { overflow: hidden; background: rgba(255,255,251,0.88); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.shoot-plan article { padding: 1.25rem; border-bottom: 1px solid #efe4ca; }
.shoot-plan article:last-child { border-bottom: 0; }
.shoot-plan article:hover { background: #fff8e5; }
.shoot-plan article span { color: var(--orange-deep); font-size: 0.6rem; font-weight: 820; }
.shoot-plan h3 { margin: 0.45rem 0; font-size: 0.98rem; }
.shoot-plan p { margin: 0; color: var(--muted); font-size: 0.7rem; line-height: 1.7; }
.shoot-plan article b { display: block; margin-top: 0.65rem; color: var(--sage-ink); font-size: 0.66rem; }

.publish-table { overflow: hidden; background: rgba(255,255,251,0.88); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.publish-table th, .publish-table td { padding: 0.96rem 0.86rem; text-align: left; border-right: 1px solid #efe4ca; border-bottom: 1px solid #efe4ca; font-size: 0.68rem; line-height: 1.6; }
.publish-table thead th { color: #6d4c20; background: linear-gradient(180deg, #fff4d6, #ffebbe); text-align: center; }
.publish-table tbody th { width: 8.2rem; background: #fffaf0; }
.publish-table th:last-child, .publish-table td:last-child { border-right: 0; }
.publish-table tr:last-child th, .publish-table tr:last-child td { border-bottom: 0; }

.live-table { grid-template-columns: repeat(3, 1fr); }
.live-table article { position: relative; min-height: 16rem; padding: 1.65rem; background: rgba(255,255,251,0.9); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.live-table article.main-live { background: linear-gradient(150deg, #fffaf0, #fff2d6); }
.live-table article > span { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.33rem 0.62rem; color: #856431; background: var(--orange-soft); border: 1px solid #efd39a; border-radius: 99rem; font-size: 0.6rem; font-weight: 760; }
.live-table h3 { margin: 0 0 1.6rem; font-size: 1.2rem; }
.live-table article > b { display: block; color: var(--orange-deep); font-size: 1.28rem; }
.live-table p { min-height: 4.2rem; color: var(--ink-soft); font-size: 0.76rem; line-height: 1.75; }
.live-table small { display: block; padding-top: 0.85rem; color: var(--sage-ink); border-top: 1px solid #eadfc6; font-size: 0.66rem; line-height: 1.5; }
.live-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 0.85rem; }
.live-rules p { margin: 0; padding: 1.08rem; color: var(--ink-soft); background: var(--sage); border: 1px solid #dfe8d9; border-radius: var(--radius-md); font-size: 0.72rem; line-height: 1.7; }

.case-summary { display: grid; grid-template-columns: 0.65fr 0.65fr 1.7fr; margin-bottom: 0.95rem; overflow: hidden; background: linear-gradient(145deg, #fff2ce, #fff9e8); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.case-summary p { display: flex; flex-direction: column; gap: 0.3rem; margin: 0; padding: 1.2rem 1.3rem; border-right: 1px solid #ead8ad; }
.case-summary p:last-child { border-right: 0; }
.case-summary b { color: var(--orange-deep); font-size: 1.3rem; }
.case-summary span { color: var(--muted); font-size: 0.69rem; line-height: 1.55; }

.case-grid, .product-grid { grid-template-columns: repeat(4, 1fr); }
.case-card, .product-card { margin: 0; overflow: hidden; background: rgba(255,255,251,0.92); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.case-card img { display: block; width: 100%; height: 15rem; object-fit: cover; object-position: top; background: var(--cream); transition: transform 0.35s ease; }
.case-card:hover img, .product-card:hover img { transform: scale(1.02); }
.case-card figcaption { padding: 1.1rem; }
.case-card strong { display: block; font-size: 1rem; }
.case-card span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.68rem; line-height: 1.6; }
.subheading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin: 3rem 0 0.95rem; padding-top: 1.3rem; border-top: 1px solid #eadfc6; }
.subheading h3 { margin: 0; font-size: 1.48rem; }
.subheading p { max-width: 43rem; margin: 0; color: var(--muted); font-size: 0.7rem; text-align: right; }
.product-card img { display: block; width: 100%; height: 18.5rem; object-fit: cover; background: var(--cream); transition: transform 0.35s ease; }
.product-card figcaption { display: grid; grid-template-columns: 1fr auto; gap: 0.32rem; padding: 0.95rem 1.05rem 1.1rem; }
.product-card strong { font-size: 0.8rem; }
.product-card b { color: var(--orange-deep); }
.product-card small { grid-column: 1 / 3; color: var(--muted); font-size: 0.64rem; }
.product-card em { grid-column: 1 / 3; }
.evidence-boundary { margin-top: 0.95rem; padding: 0.95rem 1.1rem; color: var(--sage-ink); background: var(--sage); border: 1px solid #dce6d5; border-radius: var(--radius-md); font-size: 0.65rem; line-height: 1.65; }

.review-timeline { grid-template-columns: repeat(3, 1fr); margin-bottom: 0.85rem; }
.review-timeline article { min-height: 11.7rem; padding: 1.35rem; background: rgba(255,255,251,0.9); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.review-timeline b { color: var(--orange-deep); font-size: 0.66rem; }
.review-timeline h3 { margin: 0.6rem 0; font-size: 1.15rem; }
.review-timeline p { min-height: 3.7rem; margin: 0; color: var(--muted); font-size: 0.71rem; line-height: 1.7; }
.review-timeline span { display: block; margin-top: 0.78rem; padding-top: 0.7rem; color: var(--sage-ink); border-top: 1px solid #eadfc6; font-size: 0.65rem; font-weight: 700; }

.review-grid { grid-template-columns: repeat(3, 1fr); }
.review-grid article { min-height: 9.7rem; padding: 1.25rem; background: rgba(255, 252, 239, 0.92); border: 1px solid var(--gold-line); border-radius: var(--radius-md); }
.review-grid i { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; color: #815d2e; background: linear-gradient(180deg, #fff0c9, #ffdda0); border-radius: 50%; font-size: 0.6rem; font-style: normal; font-weight: 800; }
.review-grid h3 { margin: 0.7rem 0 0.38rem; font-size: 0.9rem; }
.review-grid p { margin: 0; color: var(--muted); font-size: 0.69rem; line-height: 1.65; }
.final-action { display: flex; gap: 1.7rem; margin-top: 0.85rem; padding: 1.2rem 1.45rem; color: var(--ink); background: linear-gradient(145deg, #fff1cf, #fff9e8); border: 1px solid var(--gold-line); border-radius: var(--radius-md); }
.final-action b { color: var(--orange-deep); }
.final-action span { color: var(--ink-soft); }

footer { display: flex; justify-content: space-between; padding: 1.8rem 1rem 3.6rem; color: var(--muted); font-size: 0.66rem; }

.drill-card { position: relative; cursor: pointer; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.drill-card:hover { z-index: 2; transform: translateY(-0.18rem); border-color: #e7bd69; box-shadow: 0 1.2rem 2.8rem rgba(154, 107, 49, 0.15); }
.drill-card:focus-visible, .drill-row:focus-visible { outline: 0.2rem solid rgba(232, 141, 26, 0.46); outline-offset: 0.14rem; }
.hero-numbers .drill-card::after, .role-plan .drill-card::after, .asset-numbers .drill-card::after, .review-timeline .drill-card::after { content: "↗"; position: absolute; top: 0.85rem; right: 0.85rem; color: rgba(201, 111, 19, 0.46); font-size: 0.68rem; }

body.drawer-open { overflow: hidden; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(76, 57, 38, 0.34); opacity: 0; backdrop-filter: blur(0.25rem); transition: opacity 0.24s ease; }
.drawer-backdrop.open { opacity: 1; }
.detail-drawer { position: fixed; top: 0; right: 0; z-index: 90; width: min(39rem, 44vw); height: 100vh; padding: 2rem 2.2rem 2.5rem; overflow-y: auto; background: #fffaf0; border-left: 1px solid var(--gold-line); border-radius: 1.8rem 0 0 1.8rem; box-shadow: -2rem 0 5rem rgba(87, 59, 25, 0.2); transform: translateX(102%); transition: transform 0.28s ease; }
.detail-drawer.open { transform: translateX(0); }
.detail-drawer > header { position: sticky; top: -2rem; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; margin: -2rem -2.2rem 0; padding: 2rem 2.2rem 1.4rem; color: var(--ink); background: rgba(255, 247, 227, 0.97); border-bottom: 1px solid var(--gold-line); border-radius: 1.8rem 0 0; backdrop-filter: blur(1rem); }
.detail-drawer header span { color: var(--orange-deep); font-size: 0.62rem; font-weight: 800; }
.detail-drawer header h2 { max-width: 30rem; margin: 0.5rem 0 0; font-size: 1.9rem; line-height: 1.22; }
.detail-drawer header button { width: 2.5rem; height: 2.5rem; color: var(--orange-deep); background: var(--paper-solid); border: 1px solid var(--gold-line); border-radius: 50%; cursor: pointer; font-size: 1.55rem; line-height: 1; }
.detail-drawer header button:hover { color: var(--white); background: var(--orange); }
.drawer-summary { margin: 1.55rem 0 1.15rem; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.8; }
.drawer-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.62rem; }
.drawer-stats article { min-height: 4.9rem; padding: 0.88rem 0.96rem; background: var(--paper-solid); border: 1px solid var(--gold-line); border-radius: var(--radius-sm); }
.drawer-stats span { display: block; color: var(--muted); font-size: 0.58rem; }
.drawer-stats b { display: block; margin-top: 0.33rem; color: var(--orange-deep); font-size: 1.02rem; }
.drawer-progress { margin: 1.35rem 0 1.55rem; }
.drawer-progress > div { display: flex; justify-content: space-between; margin-bottom: 0.45rem; font-size: 0.62rem; }
.drawer-progress i { display: block; height: 0.42rem; overflow: hidden; background: #f0e3c8; border-radius: 1rem; }
.drawer-progress em { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #f1b548, var(--orange-deep)); transform: scaleX(0); transform-origin: left center; transition: transform 0.22s ease; }
.drawer-body > section { margin-top: 1.3rem; padding: 1.18rem; background: var(--paper-solid); border: 1px solid var(--gold-line); border-radius: var(--radius-md); }
.drawer-body h3 { margin: 0 0 0.75rem; font-size: 0.92rem; }
.drawer-body ul { margin: 0; padding-left: 1.15rem; }
.drawer-body li { margin: 0.45rem 0; color: var(--ink-soft); font-size: 0.72rem; line-height: 1.7; }
.drawer-image { display: block; width: 100%; max-height: 28rem; object-fit: cover; object-position: top; background: var(--cream); border-radius: var(--radius-lg); }
.drawer-checklist label { display: flex; align-items: flex-start; gap: 0.68rem; padding: 0.7rem 0; border-bottom: 1px solid #f0e5cc; cursor: pointer; }
.drawer-checklist label:last-child { border-bottom: 0; }
.drawer-checklist input { width: 1rem; height: 1rem; margin-top: 0.12rem; accent-color: var(--orange); }
.drawer-checklist span { color: var(--ink-soft); font-size: 0.72rem; line-height: 1.5; }
.drawer-checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.drawer-note { margin-top: 0.95rem; padding: 0.86rem 0.95rem; color: var(--sage-ink); background: var(--sage); border: 1px solid #dce6d5; border-radius: var(--radius-sm); font-size: 0.64rem; line-height: 1.65; }
.drawer-reset { margin-top: 1.15rem; padding: 0.68rem 0.95rem; color: var(--orange-deep); background: var(--paper-solid); border: 1px solid var(--gold-line); border-radius: 99rem; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  body { min-width: 0; background: var(--white); }
  body::before, .topbar, .quick-dive { display: none; }
  .hero, .page-section { width: 100%; margin: 0 0 1rem; box-shadow: none; page-break-inside: avoid; }
  .hero { border: 1px solid var(--gold-line); }
}
