@font-face { font-family: Inter; src: url(/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --ground: #FFFDF6;
  --panel: #FFFFFF;
  --ink: #20180C;
  --accent: #B36A00;
  --accent-ink: #8C5200;
  --muted: #5d5245;
  --rule: #ece3d2;
  --rule-strong: #d9ccb4;
  --tint: #fbf1de;
  --tint-2: #f6f0e4;
  --warn: #9c2b12;
  --warn-tint: #fdecE6;
  --radius: 14px;
  /* names the shared map card reads */
  --surface: var(--panel); --line: var(--rule); --line-soft: var(--rule); --line-bright: var(--rule-strong);
  --paper: var(--tint-2); --paper-2: var(--tint-2); --ink-soft: var(--muted); --ink-muted: var(--muted);
  --green-ink: var(--accent-ink); --sc-green-dim: var(--accent-ink); --sc-green-glow: rgba(179,106,0,.18); --r-lg: var(--radius);
}
*, *::before, *::after { box-sizing: border-box }
figure, blockquote, dl, dd { margin: 0 }
[hidden] { display: none !important }
img, svg { max-width: 100%; height: auto; display: block }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--accent-ink); text-underline-offset: 3px }
a:hover { color: var(--ink) }
h1, h2, h3 { line-height: 1.25; font-weight: 700; letter-spacing: 0 }
h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 6px 0 12px }
h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 12px }
h3 { font-size: 19px; margin: 26px 0 8px }
p, li { max-width: 72ch }
.smg-wrap { width: min(1120px, 100% - 32px); margin-inline: auto }
.smg-skip { position: absolute; left: -9999px } .smg-skip:focus { left: 16px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 9 }

/* header, two tier */
.smg-top { background: var(--panel); border-bottom: 1px solid var(--rule) }
.smg-util { background: var(--ink); font-size: 14.5px }
.smg-util .smg-wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 6px 0 }
.smg-util a { color: #f7ead2; text-decoration: none } .smg-util a:hover { color: #fff; text-decoration: underline }
.smg-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px }
.smg-brand { display: flex; align-items: center; gap: 10px; color: var(--accent); text-decoration: none; font-size: 21px; font-weight: 700 }
.smg-brand span { color: var(--ink) } .smg-brand b { color: var(--accent) }
.smg-nav { display: flex; gap: 4px }
.smg-nav a, .smg-menu nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center }
.smg-nav a:hover, .smg-nav a[aria-current] { background: var(--tint) }
.smg-menu { display: none; position: relative }
.smg-menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: 10px 14px; border: 1px solid var(--rule-strong); border-radius: 10px; min-height: 44px }
.smg-menu summary::-webkit-details-marker { display: none }
.smg-menu nav { position: absolute; right: 0; top: 52px; background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: 8px; display: grid; min-width: 240px; z-index: 5; box-shadow: 0 16px 40px -20px rgba(32,24,12,.35) }
@media (max-width: 900px) { .smg-nav { display: none } .smg-menu { display: block } }

/* breadcrumbs */
.smg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 18px 0 0; font-size: 14.5px; color: var(--muted) }
.smg-crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--rule-strong) }
.smg-crumbs a { color: var(--muted) }

/* page heads */
.smg-head { padding: 22px 0 6px }
.smg-kicker { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .04em }
.smg-kicker span { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 10px }
.smg-addr { margin: 0 0 14px; color: var(--muted) }
.smg-bite { font-size: 19.5px; line-height: 1.6; margin: 10px 0 18px; max-width: 70ch }
.smg-glance { background: var(--panel); border: 1px solid var(--rule); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 26px; max-width: 760px }
.smg-glance-h { margin: 0 0 6px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink) }
.smg-glance ul { margin: 0; padding-left: 20px } .smg-glance li { margin: 3px 0 }
.smg-sortnote { color: var(--muted); font-size: 15px }

/* prose */
.smg-prose { max-width: 780px }
.smg-prose section { margin-bottom: 8px }
.smg-prose table { width: 100% }
.smg-callout { background: var(--tint); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0 }
.smg-callout > :first-child { margin-top: 0 } .smg-callout > :last-child { margin-bottom: 0 }
ol.smg-steps { counter-reset: s; list-style: none; padding: 0 }
ol.smg-steps > li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); margin: 10px 0 }
ol.smg-steps > li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px }
.smg-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 16px 0 }
.smg-two > * { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 18px }

/* charts and tables */
.smg-chart { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 16px 12px; margin: 22px 0 }
.smg-chart-title { margin: 0 0 6px; font-weight: 700 }
.smg-chart figcaption { font-size: 14.5px; color: var(--muted); margin-top: 6px }
.smg-src { display: block }
.smg-svg { width: 100% }
.smg-grid { stroke: var(--rule); stroke-width: 1 }
.smg-axis { fill: var(--muted); font-size: 13px; font-family: Inter, system-ui, sans-serif }
.smg-val { fill: var(--ink); font-size: 13px; font-weight: 600; font-family: Inter, system-ui, sans-serif }
.smg-bar { fill: var(--accent) } .smg-bar:hover { fill: var(--accent-ink) }
.smg-line { stroke-width: 3 } .smg-line0 { stroke: var(--accent); fill: var(--accent) } .smg-line1 { stroke: #3d6b8c; fill: #3d6b8c }
polyline.smg-line { fill: none } .smg-key.smg-line0 { fill: var(--accent) } .smg-key.smg-line1 { fill: #3d6b8c }
.smg-table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel) }
.smg-table, .smg-prose table { border-collapse: collapse; font-size: 15.5px; min-width: 100% }
.smg-table caption { text-align: left; padding: 12px 14px 0; font-weight: 700 }
.smg-table th, .smg-table td, .smg-prose th, .smg-prose td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--rule); vertical-align: top }
.smg-table thead th { background: var(--tint-2); font-size: 14.5px }
.smg-table tr:last-child td { border-bottom: 0 }

/* cards */
.smg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px }
.smg-card { display: grid; gap: 6px; align-content: start; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); text-decoration: none }
.smg-card:hover { border-color: var(--accent) }
.smg-card b { font-size: 17.5px; line-height: 1.35 } .smg-card span { color: var(--muted); font-size: 15px; line-height: 1.5 }
.smg-card-k { text-transform: uppercase; font-size: 13px !important; font-weight: 700; color: var(--accent-ink) !important; letter-spacing: .05em }

/* station list, map-pair cards */
.smg-stlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin: 14px 0 }
.smg-st { display: grid; gap: 4px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px 14px 18px; color: var(--ink); text-decoration: none; position: relative }
.smg-st::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent) }
.smg-st:hover { border-color: var(--accent) }
.smg-st b { font-size: 17px; line-height: 1.35 }
.smg-st-addr { color: var(--muted); font-size: 15px }
.smg-st-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14.5px; color: var(--muted) }
.smg-ten { color: var(--accent-ink); font-weight: 600 }
.smg-st-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px }
.smg-tag { font-size: 13px; font-weight: 600; background: var(--tint); color: var(--accent-ink); padding: 2px 9px; border-radius: 999px }
.smg-hours { border-collapse: collapse } .smg-hours th { text-align: left; padding: 4px 18px 4px 0; font-weight: 600 } .smg-hours td { padding: 4px 0 }
.smg-citylist { list-style: none; padding: 0; columns: 4 200px; column-gap: 24px; margin: 8px 0 }
.smg-citylist li { break-inside: avoid; padding: 3px 0 } .smg-citylist span { color: var(--muted); font-size: 14.5px }
.smg-county h2 span { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 8px }

/* buttons and finder */
.smg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px }
.smg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--rule-strong); background: var(--panel); color: var(--ink); font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer }
.smg-btn:hover { border-color: var(--ink); color: var(--ink) }
.smg-btn.smg-btn-main, .smg-actions .smg-btn.smg-btn-main { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff }
.smg-btn.smg-btn-main:hover { background: var(--ink); border-color: var(--ink); color: #fff }
.smg-find { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; margin: 10px 0 18px; max-width: 760px }
.smg-find label { font-weight: 600; font-size: 15px }
.smg-find-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px }
.smg-find input[type=search], .smg-find input:not([type]), .smg-find input[inputmode] { flex: 1 1 220px; min-height: 48px; padding: 0 14px; font: inherit; border: 1px solid var(--rule-strong); border-radius: 12px; background: #fff; color: var(--ink) }
.smg-find-opts { display: flex; gap: 18px; margin-top: 10px } .smg-find-opts label { font-weight: 500 }

/* hero, headline stat */
.smg-hero { padding: 34px 0 10px }
.smg-hero-stat { display: inline-flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; margin: 0 0 10px; background: var(--tint); border-radius: 12px; padding: 8px 16px; max-width: 100%; font-size: 15.5px; font-weight: 600; color: var(--accent-ink) }
.smg-hero-stat span { font-size: 22px; font-weight: 800; color: var(--ink) }
.smg-lede { font-size: 20px; max-width: 62ch; color: var(--muted) }
.smg-find-hero { box-shadow: 0 18px 40px -26px rgba(32,24,12,.4) }
.smg-hero-sub { color: var(--muted); font-size: 15px }
.smg-warn { background: var(--warn-tint); border: 1px solid #f2c9bc; border-radius: var(--radius); padding: 6px 22px 18px; margin: 36px 0 }
.smg-warn h2 { color: var(--warn) }

/* faq, sources, toc */
.smg-faq { margin: 36px 0 } .smg-qa { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; margin: 8px 0; max-width: 820px }
.smg-qa summary { cursor: pointer; padding: 13px 18px; font-weight: 600; min-height: 44px }
.smg-qa > div { padding: 0 18px 12px } .smg-qa[open] summary { color: var(--accent-ink) }
.smg-more { margin-top: 0 }
.smg-sources { margin: 30px 0; font-size: 15.5px } .smg-sources h2 { font-size: 20px }
.smg-toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px } .smg-toc a { display: inline-block; padding: 6px 12px; background: var(--panel); border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600 }
.smg-related { margin: 30px 0 }

/* map card spacing */
.gmap { margin: 40px 0 } .section-eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink) }

/* footer */
.smg-foot { margin-top: 56px; background: var(--ink); color: #eadfca; font-size: 15.5px }
.smg-foot a { color: #f7ead2; text-decoration: none; display: block; padding: 4px 0 } .smg-foot a:hover { color: #fff; text-decoration: underline }
.smg-foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; padding: 40px 0 24px }
@media (max-width: 760px) { .smg-foot-grid { grid-template-columns: 1fr 1fr } .smg-foot-grid > :first-child { grid-column: 1 / -1 } }
.smg-foot-name { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 6px } .smg-foot-name b { color: #f2b04c }
.smg-foot-h { font-weight: 700; color: #fff; margin: 0 0 6px }
.smg-foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 0 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14.5px }
.smg-foot-base a { display: inline }

/* phones: data tables stack into labeled rows, no sideways scroll */
@media (max-width: 640px) {
  .smg-table-wrap { overflow: visible; border: 0; background: none }
  table[data-stack], table[data-stack] tbody, table[data-stack] tr, table[data-stack] td, table[data-stack] tbody th { display: block; width: 100% }
  table[data-stack] { min-width: 0 }
  table[data-stack] caption { display: block; padding: 0 0 8px }
  table[data-stack] thead { position: absolute; left: -9999px }
  table[data-stack] tr { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; margin: 0 0 10px; padding: 6px 0 }
  table[data-stack] td, table[data-stack] tbody th { border: 0; padding: 4px 14px; display: grid; grid-template-columns: minmax(96px, 40%) 1fr; gap: 10px; text-align: left }
  table[data-stack] td::before, table[data-stack] tbody th::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: 14.5px }
  table[data-stack] td[data-label=""]::before { content: none }
  table[data-stack] td[data-label=""] { display: block }
}

@media (max-width: 640px) { .smg-axis, .smg-val { font-size: 19px } }

/* owner change form */
.smg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 18px 0 8px; padding: 22px; background: var(--panel); border: 1px solid var(--rule-strong); border-radius: 14px }
.smg-field { display: flex; flex-direction: column; gap: 6px }
.smg-field-wide, .smg-form-note, .smg-form-msg, .smg-form button { grid-column: 1 / -1 }
.smg-field label { font-weight: 600; font-size: 15px }
.smg-field input, .smg-field select, .smg-field textarea { min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; border: 1px solid var(--rule-strong); border-radius: 12px; background: #fff; color: var(--ink) }
.smg-field textarea { resize: vertical }
.smg-field :focus-visible { outline: 3px solid var(--accent); outline-offset: 1px }
.smg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.smg-form-note { margin: 0; font-size: 15px; color: var(--muted) }
.smg-form button { justify-self: start }
.smg-form-msg { margin: 0; font-weight: 600; min-height: 1.4em }
.smg-owner-note { font-size: 15.5px; color: var(--muted) }
@media (max-width: 640px) { .smg-form { grid-template-columns: 1fr; padding: 16px } }

/* Google map section (scripts/gmap.py). Light card, one green accent. */
.gmap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(14, 21, 17, 0.04), 0 12px 32px -18px rgba(14, 21, 17, 0.22);
}
.gmap-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.gmap-head h2 { margin: 4px 0 0; }
.gmap-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}
.gmap-line svg { flex: none; margin-top: 3px; color: var(--green-ink); }
.gmap-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gmap-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.gmap-btn:hover { border-color: var(--ink); background: var(--paper); }
.gmap-btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.gmap-btn-primary:hover { background: var(--sc-green-dim); border-color: var(--sc-green-dim); color: #fff; }
.gmap-frame {
  position: relative;
  aspect-ratio: 16 / 7;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px;
}
.gmap-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.gmap-frame.is-loaded iframe { opacity: 1; }
.gmap-frame noscript iframe { opacity: 1; }
.gmap-facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.gmap-facade-pin {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--green-ink);
  box-shadow: 0 0 0 8px var(--sc-green-glow);
}
.gmap-facade-pin svg { width: 24px; height: 24px; }
.gmap-frame.is-loaded .gmap-facade { display: none; }
@media (max-width: 700px) {
  .gmap-head { padding: 18px 16px 14px; }
  .gmap-frame { aspect-ratio: 4 / 3; }
  .gmap-actions { width: 100%; }
  .gmap-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gmap-frame iframe { transition: none; }
}
