.guide-section{scroll-margin-top:84px}.guide-toolbar{display:grid;grid-template-columns:1fr auto;gap:.65rem;align-items:end;padding:1rem;border:1px solid var(--line,#d8dee7);border-radius:18px;background:var(--surface,#fff)}.guide-toolbar label{grid-column:1/-1;font-weight:800}.guide-toolbar input{min-width:0}.guide-layout{display:grid;grid-template-columns:minmax(190px,260px) 1fr;gap:1rem;margin-top:1rem}.guide-nav{display:flex;flex-direction:column;gap:.45rem}.guide-nav button{padding:.8rem .9rem;text-align:left;border:1px solid var(--line,#d8dee7);border-radius:14px;background:var(--surface,#fff);font-weight:750}.guide-nav button.is-active{outline:3px solid rgba(14,116,144,.22);border-color:#0e7490}.guide-content{min-height:360px;padding:1.1rem;border:1px solid var(--line,#d8dee7);border-radius:18px;background:var(--surface,#fff)}.guide-content h3{margin-top:0}.guide-steps{padding-left:1.25rem}.guide-card{padding:.9rem;margin:.75rem 0;border-radius:14px;background:rgba(14,116,144,.07)}.guide-faq details{padding:.65rem 0;border-bottom:1px solid var(--line,#d8dee7)}.guide-faq summary{font-weight:800;cursor:pointer}.context-help-button{position:absolute;right:1rem;top:1rem;z-index:3;border:1px solid currentColor;border-radius:999px;padding:.45rem .7rem;background:var(--surface,#fff);font-weight:800}.guide-help-ready{position:relative}.guide-empty{padding:2rem;text-align:center}.guide-checklist{display:grid;gap:.4rem}.guide-checklist span{display:block;padding:.55rem .7rem;border-radius:10px;background:rgba(22,163,74,.08)}@media(max-width:760px){.guide-layout{grid-template-columns:1fr}.guide-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.guide-toolbar{grid-template-columns:1fr}.guide-toolbar label{grid-column:auto}.context-help-button{top:.65rem;right:.65rem}}
.adventure-guide-dialog{width:min(960px,calc(100vw - 1.25rem));max-height:90vh;padding:0;border:0;border-radius:22px;background:var(--surface,#fff);color:inherit;box-shadow:0 24px 80px rgba(0,0,0,.35)}.adventure-guide-dialog::backdrop{background:rgba(3,10,18,.72);backdrop-filter:blur(3px)}.adventure-guide-dialog-shell{padding:1rem;max-height:90vh;overflow:auto}.adventure-guide-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.adventure-guide-dialog-header span{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;opacity:.7}.adventure-guide-dialog-header h2{margin:.15rem 0 0}.adventure-guide-dialog-header button{width:44px;height:44px;border:1px solid var(--line,#d8dee7);border-radius:999px;background:var(--surface,#fff);font-size:1.5rem;line-height:1}.guide-dialog-layout{margin-bottom:.5rem}.guide-dialog-toolbar{position:sticky;top:-1rem;z-index:2}.adventure-guide-dialog .guide-content{min-height:320px}@media(max-width:760px){.adventure-guide-dialog{width:calc(100vw - .75rem);max-height:94vh}.adventure-guide-dialog-shell{padding:.75rem;max-height:94vh}.adventure-guide-dialog .guide-nav{grid-template-columns:1fr 1fr}.adventure-guide-dialog .guide-content{min-height:260px}.context-help-button{min-height:40px;min-width:72px}}

/* Build 152: readable Adventure Guide light surface */
.adventure-guide-dialog,
.adventure-guide-dialog * {
  box-sizing: border-box;
}
.adventure-guide-dialog {
  --guide-ink: #17212b;
  --guide-muted: #52606d;
  --guide-surface: #ffffff;
  --guide-soft: #f4f8f8;
  --guide-line: #d7e0e2;
  --guide-accent: #0f7f7a;
  --guide-accent-soft: #e5f4f2;
  background: var(--guide-surface) !important;
  color: var(--guide-ink) !important;
}
.adventure-guide-dialog-shell,
.adventure-guide-dialog header,
.adventure-guide-dialog .guide-toolbar,
.adventure-guide-dialog .guide-content {
  color: var(--guide-ink) !important;
}
.adventure-guide-dialog-header span {
  color: var(--guide-accent) !important;
  opacity: 1 !important;
}
.adventure-guide-dialog-header h2,
.adventure-guide-dialog .guide-content h3,
.adventure-guide-dialog .guide-content h4,
.adventure-guide-dialog .guide-toolbar label,
.adventure-guide-dialog .guide-faq summary {
  color: var(--guide-ink) !important;
}
.adventure-guide-dialog p,
.adventure-guide-dialog li,
.adventure-guide-dialog small,
.adventure-guide-dialog .field-note {
  color: var(--guide-muted) !important;
}
.adventure-guide-dialog .guide-toolbar {
  background: var(--guide-soft) !important;
  border-color: var(--guide-line) !important;
}
.adventure-guide-dialog input[type="search"] {
  background: #ffffff !important;
  color: var(--guide-ink) !important;
  border: 1px solid #aebbc0 !important;
  caret-color: var(--guide-accent) !important;
}
.adventure-guide-dialog input[type="search"]::placeholder {
  color: #71808a !important;
  opacity: 1 !important;
}
.adventure-guide-dialog .secondary-button,
.adventure-guide-dialog-header button {
  background: #ffffff !important;
  color: var(--guide-ink) !important;
  border-color: var(--guide-line) !important;
}
.adventure-guide-dialog .guide-nav button {
  background: #ffffff !important;
  color: var(--guide-ink) !important;
  border-color: var(--guide-line) !important;
  box-shadow: none !important;
}
.adventure-guide-dialog .guide-nav button:hover,
.adventure-guide-dialog .guide-nav button:focus-visible {
  background: var(--guide-soft) !important;
  border-color: var(--guide-accent) !important;
}
.adventure-guide-dialog .guide-nav button.is-active {
  background: var(--guide-accent-soft) !important;
  color: #075e5a !important;
  border-color: var(--guide-accent) !important;
  outline: 3px solid rgba(15,127,122,.18) !important;
}
.adventure-guide-dialog .guide-content {
  background: #ffffff !important;
  border-color: var(--guide-line) !important;
}
.adventure-guide-dialog .guide-card {
  background: var(--guide-accent-soft) !important;
  color: var(--guide-ink) !important;
}
.adventure-guide-dialog .guide-checklist span {
  background: #edf7f1 !important;
  color: #234b35 !important;
}
.adventure-guide-dialog .guide-faq details {
  border-color: var(--guide-line) !important;
}
@media (prefers-color-scheme: dark) {
  .adventure-guide-dialog {
    color-scheme: light;
  }
}
