/* === GUIDE COMPONENT, field walks. Scoped to .guide. Added 2026-09-18. === */
/* Every selector below is prefixed .guide or nested inside it. Nothing above this line is edited. */

.guide .wrap { max-width: 44rem; }

/* Sections */
.guide .sect { border-top: 1px solid var(--line); margin: 2.4rem 0 0; }
.guide .sect > summary { cursor: pointer; list-style: none; padding: 0.2rem 0; }
.guide .sect > summary::-webkit-details-marker { display: none; }
.guide .sect > summary h2 { margin: 1.6rem 0 0.9rem; }
.guide .sect-body { padding: 0 0 1.4rem; }

/* Dateline and route panel */
.guide .stand { font-size: 1.42rem; line-height: 1.4; margin: 0 0 2rem; }
.guide .panel { border: 1px solid var(--line); padding: 1.2rem 1.3rem; margin: 0 0 2rem; }
.guide .pmeta { font-size: 1rem; color: var(--ink-soft); margin: 0 0 0.9rem; }
.guide .dateline { font-size: 1rem; margin: 0 0 0.9rem; }
.guide .corrline,
.guide .pnote { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 0.9rem; }

/* Jump navigation */
.guide .jump { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin: 0 0 0.4rem; }
.guide .jump a { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }
.guide .jump a:hover { color: var(--hover); }

/* Leg bands */
.guide .band { margin: 2.2rem 0 0; }
.guide .leg { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.6rem; }
.guide .bandnav { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: baseline; margin: 0 0 1rem; font-size: 0.9rem; }
.guide .maplink { color: var(--ink-soft); }
.guide .bandctl { display: flex; gap: 0.6rem; }
.guide .tools { display: flex; gap: 0.6rem; margin: 0 0 1.4rem; }
.guide .tools button,
.guide .bandctl button { font: inherit; font-size: 0.8rem; background: none; border: 1px solid var(--line); color: var(--ink-soft); padding: 0.3rem 0.7rem; cursor: pointer; }
.guide .tools button:hover,
.guide .bandctl button:hover { border-color: var(--hover); color: var(--hover); }

/* Stop cards. Named stopcard, not card, because .card is the estate contact card. */
.guide .stopcard { border-top: 1px solid var(--line); }
.guide .stopcard > summary { cursor: pointer; list-style: none; display: flex; gap: 0.9rem; padding: 0.95rem 0; }
.guide .stopcard > summary::-webkit-details-marker { display: none; }
.guide .stopcard .n { flex: 0 0 auto; min-width: 1.6rem; font-size: 0.95rem; color: var(--ink-soft); }
.guide .stopcard .st-name { display: block; }
.guide .stopcard .st-addr { display: block; font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.15rem; }
.guide .stopcard .in { padding: 0.2rem 0 1.4rem; }
.guide .stopcard.opt > summary .st-name { font-style: italic; }

/* Body blocks inside a card */
.guide .para { margin: 0 0 1.2rem; }
.guide .rec { font-size: 0.97rem; color: var(--ink-soft); border-left: 2px solid var(--line); padding-left: 1rem; }
.guide .pix { font-size: 0.95rem; color: var(--ink-soft); }
.guide .gnote { font-size: 0.97rem; color: var(--ink-soft); }
.guide .cap { font-size: 0.9rem; color: var(--ink-soft); margin: 0.4rem 0 0; }

/* Glossary terms. Dotted underline is the page's own convention. */
.guide .term { text-decoration: none; border-bottom: 1px dotted var(--ink-soft); }
.guide .term:hover { color: var(--hover); border-bottom-color: var(--hover); }

/* Schematic map */
.guide .mapwrap { margin: 0 0 1.6rem; overflow-x: auto; }
.guide .mapwrap svg { display: block; width: 100%; height: auto; }
.guide .mapwrap .pin { fill: var(--paper); stroke: var(--ink); }
.guide .mapwrap .pnum { fill: var(--ink); font-size: 11px; }
.guide .mapwrap .rail { stroke: var(--ink-soft); }
.guide .mapwrap .rt { stroke: var(--ink-soft); fill: none; }
.guide .mapwrap .dist { stroke: var(--ink-soft); fill: none; }
.guide .mapwrap .st { stroke: var(--line); }
.guide .mapwrap .lbl,
.guide .mapwrap .key,
.guide .mapwrap .zum,
.guide .mapwrap .dgn { fill: var(--ink-soft); font-size: 10px; }

/* Field legibility. Sun, not desk. */
@media (max-width: 37.5em) {
  .guide { font-size: 1.1875rem; }
  .guide .stand { font-size: 1.18rem; }
  .guide .stopcard > summary { padding: 1.05rem 0; }
  .guide .stopcard .st-addr { font-size: 1rem; color: var(--ink); }
  .guide .rec,
  .guide .gnote,
  .guide .pix { color: var(--ink); }
  .guide .term { border-bottom-width: 2px; border-bottom-color: var(--ink); }
  .guide .jump a { font-size: 0.9rem; }
  .guide .tools button,
  .guide .bandctl button { padding: 0.55rem 0.9rem; }
}
/* === END GUIDE COMPONENT === */

/* Map line-work must never fill. Added at deploy 2026-09-18: the Roberts Street diagonal rendered as a solid wedge because a polyline defaults to fill:black. Additive, scoped, geometry unchanged. */
.guide .mapwrap svg .st,
.guide .mapwrap svg .rt,
.guide .mapwrap svg .rail,
.guide .mapwrap svg .dist { fill: none; }

/* The Roberts Street diagonal carries class dgn, which the label rule paints with fill, so on a shape it fills the whole wedge. Restore it to line-work. text.dgn is left alone. */
.guide .mapwrap svg .dgn:not(text) { fill: none; stroke: var(--line); }

/* === DISCLOSURE MARKERS. Added 2026-09-18. === */
/* Owner ruling of 18 September 2026: every section loads closed and is opened by
   clicking the +. Without a rendered marker the affordance is invisible, which is
   the defect this block fixes. Values are taken from /css/rochester-walk.css so the
   two guides read identically: olive when closed, gold when open. */
.guide .sect > summary { display: flex; align-items: baseline; gap: 0.6rem; }
.guide .sect > summary::before { content: "+"; color: var(--olive); font-size: 1.1rem; line-height: 1; width: 0.9rem; flex: 0 0 auto; }
.guide .sect[open] > summary::before { content: "\2212"; color: var(--address); }
.guide .sect > summary h2 { margin: 1.6rem 0 0.9rem; }
@media (hover: hover) and (pointer: fine) {
  .guide .sect > summary:hover h2 { color: var(--hover); }
}
