.guide-page {
  --guide-ink: #28251f;
  --guide-muted: #6d665a;
  --guide-line: #eadfca;
  color: var(--guide-ink);
}
/* The site theme applies a dark background to semantic header elements.
   Scope an explicit surface to this page's guide header so its dark text stays readable. */
.guide-page > .container > header.guide-hero {
  color: #28251f;
  background: linear-gradient(145deg, #fff 0%, #fffaf0 100%) !important;
  border-color: #d8bd7d;
  box-shadow: 0 10px 28px rgba(0,0,0,.22), inset 0 3px 0 #d9b45e;
}
.guide-page > .container > header.guide-hero h1 { color: #211a10 !important; }
.guide-page > .container > header.guide-hero .guide-lead { color: #514b40 !important; }
.guide-page > .container > header.guide-hero .guide-eyebrow { color: #896421 !important; }
.guide-breadcrumb { display:flex; align-items:center; gap:9px; margin:0 0 14px; color:#dfc27b; font-size:13px; }
.guide-breadcrumb a { color:#ffe5a0; }
.guide-hero, .guide-panel, .guide-references {
  margin-bottom:16px;
  border:1px solid rgba(221,184,106,.45);
  border-radius:15px;
  background:linear-gradient(145deg,#fff 0%,#fffdf9 100%);
  box-shadow:0 8px 26px rgba(0,0,0,.16);
}
.guide-page .guide-panel,
.guide-page .guide-references {
  color: #28251f;
  background: linear-gradient(145deg, #fff 0%, #fffdf9 100%);
}
.guide-hero { padding:clamp(20px,4vw,34px); }
.guide-eyebrow { display:block; margin-bottom:7px; color:#896421; font-size:11px; font-weight:800; letter-spacing:.12em; }
.guide-hero h1 { margin:0 0 12px; color:#211a10; font-size:clamp(26px,4vw,36px); line-height:1.18; }
.guide-lead { max-width:850px; margin:0; color:#514b40; font-size:16px; line-height:1.7; }
.guide-notice { margin:18px 0 0; padding:13px 15px; border-left:4px solid #bb8a34; border-radius:0 9px 9px 0; background:#f8f1e3; color:#51452f; font-size:13px; line-height:1.7; }
.guide-quicklinks { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.guide-quicklinks a, .guide-action { display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid #e5d5b5; border-radius:999px; background:#fffdf8; color:#6b4b17; font-size:12px; font-weight:700; }
.guide-quicklinks a:hover, .guide-action:hover { border-color:#bd9142; background:#f8f0df; color:#4e3510; }
.guide-panel { padding:clamp(18px,3vw,28px); scroll-margin-top:18px; }
.guide-heading { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.guide-icon { display:grid; flex:0 0 42px; width:42px; height:42px; place-items:center; border:1px solid #e2c98f; border-radius:12px; background:linear-gradient(145deg,#fff4d5,#f2dfa9); color:#745018; font-size:13px; font-weight:800; }
.guide-heading .guide-eyebrow { margin-bottom:3px; }
.guide-heading h2, .guide-references h2 { margin:0; color:#211a10; font-size:clamp(20px,3vw,25px); }
.guide-grid { display:grid; gap:12px; }
.guide-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.guide-grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.guide-tile, .guide-type-list article { min-width:0; padding:16px; border:1px solid #eee3ce; border-radius:11px; background:#fcfaf5; }
.guide-tile h3, .guide-type-list h3 { margin:0 0 8px; color:#72501a; font-size:15px; }
.guide-tile p, .guide-type-list p { margin:0; color:#514b40; font-size:13px; line-height:1.7; }
.guide-tile ul { margin:0; padding-left:19px; color:#514b40; font-size:13px; line-height:1.8; }
.guide-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:16px; }
.guide-steps { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.guide-steps li { display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px; padding:14px 0; border-bottom:1px solid #eee7da; }
.guide-steps li:first-child { padding-top:0; }
.guide-steps li:last-child { padding-bottom:0; border-bottom:0; }
.guide-step-number { display:grid; width:32px; height:32px; place-items:center; border-radius:50%; background:#e8d4a5; color:#50390e; font-weight:800; }
.guide-steps h3 { margin:1px 0 5px; color:#352817; font-size:15px; }
.guide-steps p { margin:0; color:#514b40; font-size:13px; line-height:1.7; }
.guide-intro { margin:-4px 0 15px; color:#5d574c; font-size:13px; line-height:1.7; }
.guide-type-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.guide-callout { margin-top:14px; padding:14px 16px; border:1px solid #e7d4a9; border-radius:10px; background:#fbf6e9; color:#51452f; font-size:13px; line-height:1.7; }
.guide-source-note { margin:15px 0 0; padding:13px 15px; border-left:3px solid #d7bd82; background:#fbf8f0; color:#625b4f; font-size:12px; line-height:1.7; }
.guide-faq { display:grid; gap:9px; }
.guide-faq details { border:1px solid #eee3ce; border-radius:10px; background:#fcfaf5; }
.guide-faq summary { position:relative; padding:14px 42px 14px 15px; color:#3d3322; font-size:14px; font-weight:700; cursor:pointer; list-style:none; }
.guide-faq summary::-webkit-details-marker { display:none; }
.guide-faq summary::after { position:absolute; right:16px; content:"+"; color:#8a6523; font-size:19px; line-height:1; }
.guide-faq details[open] summary::after { content:"−"; }
.guide-faq details p { margin:0; padding:0 15px 15px; color:#5b554a; font-size:13px; line-height:1.7; }
.guide-security { background:linear-gradient(145deg,#fffdf7,#fbf5e8); }
.guide-references { padding:20px 24px; color:#4e483d; }
.guide-references h2 { margin-bottom:12px; font-size:18px; }
.guide-references ul { margin:0; padding-left:20px; }
.guide-references li { margin:7px 0; font-size:12px; line-height:1.65; }
.guide-references a { color:#795314; text-decoration:underline; text-underline-offset:2px; }
.guide-disclaimer { margin:14px 0 0; padding-top:12px; border-top:1px solid #eee3ce; color:var(--guide-muted); font-size:11px; line-height:1.6; }
.guide-bottom-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:20px 0 8px; }

@media(max-width:767px) {
  .guide-grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:575px) {
  .guide-page .container { padding-right:12px; padding-left:12px; }
  .guide-breadcrumb { font-size:12px; }
  .guide-hero, .guide-panel { border-radius:12px; }
  .guide-grid-3, .guide-grid-2, .guide-type-list { grid-template-columns:minmax(0,1fr); }
  .guide-quicklinks { gap:6px; }
  .guide-quicklinks a { padding:8px 10px; font-size:11px; }
  .guide-steps li { grid-template-columns:32px minmax(0,1fr); gap:9px; }
  .guide-step-number { width:29px; height:29px; font-size:12px; }
  .guide-references { padding:17px; }
}
