/* Protect Mayes County — civic seal aesthetic */
:root {
  --forest: #103520;
  --forest-mid: #1c4125;
  --forest-light: #2d5a38;
  --leaf: #82a042;
  --navy: #0c2340;
  --navy-soft: #1a3555;
  --sky: #7fbedf;
  --sky-deep: #21719b;
  --sky-soft: #d6ebf5;
  --gold: #e8a84a;
  --gold-bright: #f8cc76;
  --gold-deep: #c4842a;
  --cream: #fcf8f1;
  --cream-dark: #f0ebe0;
  --ink: #0c2340;
  --muted: #4a5a4f;
  --border: #c8d4c0;
  --card: #ffffff;
  --danger-soft: #f5e6d3;
  --orr: #6b4c9a;
  --shadow: 0 4px 20px rgba(16, 53, 32, 0.08);
  --shadow-lg: 0 8px 32px rgba(16, 53, 32, 0.12);
  --radius: 12px;
  --font-serif: "Source Serif 4", "Georgia", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--cream) 0%, #f5f0e6 40%, var(--cream) 100%);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--sky-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--forest); }
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header — stacked rows: brand, search, nav */
.site-header {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 55%, var(--navy) 100%);
  color: #fff;
  border-bottom: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.35rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
@media (min-width: 860px) {
  .site-header-inner {
    grid-template-columns: minmax(16rem, 1.1fr) minmax(18rem, 1.4fr);
    grid-template-areas:
      "brand search"
      "nav nav";
  }
  .header-brand-row { grid-area: brand; }
  .site-search { grid-area: search; }
  .nav { grid-area: nav; }
}

.header-brand-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.logo-link {
  flex-shrink: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.2s ease;
  line-height: 0;
}
.logo-link:hover { transform: scale(1.03); }
.logo-link:focus-visible { outline-color: var(--gold-bright); }

.logo {
  width: auto;
  height: 76px;
  object-fit: contain;
  background: transparent;
  display: block;
}
@media (min-width: 640px) {
  .logo { height: 92px; }
}

.brand-text {
  flex: 1 1 auto;
  min-width: 0;
}
.brand-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  font-weight: 700;
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-text .tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sky);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.35rem 0.25rem;
  padding: 0.75rem 0 0.15rem;
  border-top: 1px solid rgba(127, 190, 223, 0.3);
  margin: 0;
  box-sizing: border-box;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  line-height: 1.2;
  flex: 0 0 auto;
}
@media (min-width: 900px) {
  .nav {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.25rem;
  }
  .nav a {
    text-align: center;
    padding: 0.5rem 0.55rem;
  }
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(248, 204, 118, 0.2);
  color: var(--gold-bright);
}

/* Main */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
}

.hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--forest), var(--gold), var(--sky-deep));
}
.hero h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--forest);
  margin: 0 0 0.75rem;
}
.hero p { margin: 0 0 0.85rem; color: var(--muted); }
.hero p:last-child { margin-bottom: 0; }

.meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.disclaimer {
  background: var(--sky-soft);
  border: 1px solid #b5d6e8;
  border-left: 4px solid var(--sky-deep);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--navy);
}
.disclaimer strong { color: var(--forest); }

.section-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--forest);
  margin: 2.25rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Project cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--leaf);
  color: inherit;
}
.project-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.card-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-deep);
}
.project-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0;
  color: var(--forest);
  line-height: 1.3;
}
.card-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0;
}
.card-summary {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--forest-light);
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--cream-dark);
}
.card-cta {
  font-weight: 700;
  color: var(--sky-deep);
}

/* Trail page */
.trail-header {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--forest);
}
.trail-header .breadcrumb {
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}
.trail-header .breadcrumb a { color: var(--sky-deep); text-decoration: none; font-weight: 600; }
.trail-header .breadcrumb a:hover { text-decoration: underline; }
.trail-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--forest);
  margin: 0 0 0.35rem;
}
.trail-header .subtitle {
  margin: 0 0 1rem;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 1.05rem;
}
.narrative {
  color: var(--muted);
  margin: 0;
  max-width: none;
  width: 100%;
}
.trail-header .meta-bar {
  width: 100%;
  box-sizing: border-box;
}
.trail-header .subtitle,
.trail-header h1,
.trail-header .breadcrumb {
  max-width: none;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
}
.panel h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--forest);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold-bright);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 3px;
  background: linear-gradient(180deg, var(--forest), var(--sky), var(--gold));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0 0 1.35rem 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45rem;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--forest);
  box-shadow: 0 0 0 3px rgba(16, 53, 32, 0.12);
  z-index: 1;
}
.timeline-item[data-type="agenda"]::before { border-color: var(--sky-deep); }
.timeline-item[data-type="minutes"]::before { border-color: var(--forest); }
.timeline-item[data-type="orr_context"]::before { border-color: var(--orr); }
.timeline-item[data-type="map_email"]::before { border-color: var(--gold-deep); }
.timeline-item[data-type="other"]::before { border-color: var(--muted); }

.event-date {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 0.2rem;
}
.event-title {
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.4rem;
  line-height: 1.4;
}
.event-quote {
  margin: 0.4rem 0;
  padding: 0.65rem 0.9rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--cream-dark);
  color: var(--forest);
}
.badge-agenda { background: var(--sky-soft); color: var(--sky-deep); }
.badge-minutes { background: #dce8d8; color: var(--forest); }
.badge-orr_context { background: #ebe4f5; color: var(--orr); }
.badge-map_email { background: #fcefd4; color: var(--gold-deep); }
.badge-other { background: #e8e8e8; color: #444; }
.badge-printed { background: #dce8d8; color: var(--forest); }

.source-link {
  font-size: 0.88rem;
  font-weight: 600;
}

/* Entities */
.entity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.entity-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.entity-chip .label-note {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orr);
  background: #ebe4f5;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.ties-box {
  background: linear-gradient(135deg, #f4f8f2, var(--cream));
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  font-size: 0.98rem;
  color: var(--forest-mid);
  line-height: 1.55;
}

.questions {
  margin: 0;
  padding-left: 1.25rem;
}
.questions li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}
.questions li::marker { color: var(--gold-deep); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.legend span { display: inline-flex; align-items: center; gap: 0.35rem; }

.loading, .error {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.error {
  background: #fce8e8;
  border: 1px solid #e8b4b4;
  border-radius: 8px;
  color: #6b2020;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c5d0dc;
  border-top: 4px solid var(--gold);
  margin-top: auto;
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--sky); }
.site-footer strong { color: #fff; }
.site-footer p { margin: 0 0 0.5rem; }

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (min-width: 700px) {
  .logo { height: 108px; width: auto; }
  .brand-text h1 { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-card, .logo-link { transition: none; }
}

/* Take action */
.take-action {
  margin: 2.5rem 0 1rem;
}
.action-lead {
  color: var(--muted);
  max-width: 48rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.action-grid {
  display: grid;
  gap: 1.25rem;
}
/* Take-action cards stack full-width; internal splits handle columns */
.action-grid {
  grid-template-columns: 1fr;
}
.action-card-legislators,
.action-card-sun2o,
.action-card-composer,
.action-how {
  width: 100%;
  max-width: none;
}
.action-card {
  background: var(--cream, #f7f4ec);
  border: 1px solid rgba(16, 53, 32, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 0 rgba(16, 53, 32, 0.04);
}
.action-card h3 {
  margin: 0 0 0.5rem;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--forest, #103520);
  font-size: 1.25rem;
}
.action-card .action-intro {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-list li {
  border-top: 1px solid rgba(16, 53, 32, 0.1);
  padding-top: 0.75rem;
}
.contact-list li:first-child {
  border-top: none;
  padding-top: 0;
}
.contact-list strong {
  display: block;
  color: var(--navy, #0c2340);
}
.contact-list .role {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-list a {
  color: var(--sky-deep, #21719b);
  font-weight: 600;
}
.script-box, .talking-points {
  max-width: none;
  width: 100%;

  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: #fff;
  border-left: 4px solid var(--gold, #e8a84a);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
}
.talking-points {
  border-left-color: var(--forest, #103520);
}
.talking-points ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.talking-points li { margin: 0.35rem 0; }
.action-how ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.action-how li { margin: 0.35rem 0; }


/* Upcoming meetings highlight — top of home */
.meetings-highlight {
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 16px;
  border: 2px solid #b45309;
  background:
    linear-gradient(135deg, rgba(180, 83, 9, 0.12), rgba(180, 83, 9, 0.04)),
    var(--card, #fff);
  box-shadow: 0 10px 28px rgba(61, 40, 12, 0.08);
}
.meetings-highlight-inner { max-width: 100%; }
.meetings-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b45309;
}
.meetings-highlight .section-title { margin-top: 0; }
.meetings-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 42rem;
}
.meetings-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .meetings-grid { grid-template-columns: 1fr 1fr; }
}
.meeting-card {
  background: #fff;
  border: 1px solid rgba(180, 83, 9, 0.28);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
}
.meeting-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
.meeting-body {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.meeting-facts { display: grid; gap: 0.55rem; }
.meeting-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.95rem;
}
.meeting-label {
  font-weight: 700;
  color: #92400e;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}
.meeting-directions {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.meeting-map {
  font-weight: 600;
  white-space: nowrap;
}
.meeting-note {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.meeting-actions { margin-top: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.meeting-btn {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #b45309;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.meeting-btn:hover { filter: brightness(1.05); }
.meetings-empty { margin: 0; color: var(--muted); }


.meetings-group { margin-top: 0.75rem; }
.meetings-group + .meetings-group { margin-top: 1.35rem; }
.meetings-group-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
}
.meetings-group-title-watch { color: #1e3a8a; }
.meetings-group-help {
  margin: -0.25rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.meeting-status-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #fef3c7;
  color: #92400e;
}
.meeting-status-watch .meeting-status-badge {
  background: #dbeafe;
  color: #1e3a8a;
}
.meeting-status-blurb {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.meeting-card.meeting-status-watch {
  border-color: rgba(30, 58, 138, 0.28);
}


/* Site search — full-width row under brand */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-search {
  width: 100%;
  max-width: none;
  margin: 0;
}
.site-search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}
.site-search input[type="search"] {
  flex: 1 1 14rem;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 204, 118, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
}
.site-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.site-search input[type="search"]:focus {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.site-search-meta {
  margin: 0.4rem 0 0;
  min-height: 0;
  font-size: 0.8rem;
  color: var(--sky);
}
.site-search-meta:empty { display: none; }
.search-hidden { display: none !important; }

/* Collapsible meetings */
.meetings-details {
  border: none;
  margin: 0;
  padding: 0;
}
.meetings-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  padding: 0.15rem 0 0.65rem;
}
.meetings-summary::-webkit-details-marker { display: none; }
.meetings-summary::after {
  content: "▾";
  margin-left: auto;
  color: #92400e;
  font-size: 0.95rem;
  font-weight: 700;
}
.meetings-details:not([open]) .meetings-summary::after { content: "▸"; }
.meetings-summary .meetings-kicker { margin: 0; }
.meetings-summary .section-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}
.meetings-summary-hint {
  font-size: 0.85rem;
  font-weight: 600;
  color: #92400e;
  background: rgba(180, 83, 9, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
.meetings-highlight-inner { padding-top: 0.15rem; }
.meetings-details:not([open]) .meetings-highlight-inner { display: none; }
.meetings-lead { margin-bottom: 0.65rem; font-size: 0.92rem; }
.meetings-group-help { font-size: 0.85rem; margin-bottom: 0.5rem; }

/* Compact meeting cards */
.meeting-card.meeting-compact {
  padding: 0.7rem 0.85rem 0.8rem;
}
.meeting-compact-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  margin-bottom: 0.25rem;
}
.meeting-compact .meeting-status-badge {
  margin-bottom: 0;
  flex-shrink: 0;
}
.meeting-compact h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
  flex: 1 1 10rem;
}
.meeting-when,
.meeting-where {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--ink, #1a1a1a);
}
.meeting-where { color: var(--muted); }
.meeting-why {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}
.meeting-compact .meeting-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}
.meeting-compact .meeting-actions {
  margin-top: 0.5rem;
  gap: 0.4rem;
}
.meeting-compact .meeting-btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
}
.meeting-compact .meeting-map {
  font-size: 0.85rem;
  font-weight: 600;
  align-self: center;
}
.meetings-grid { gap: 0.65rem; }
@media (min-width: 820px) {
  .meetings-grid { grid-template-columns: 1fr 1fr; }
}


/* Search scope toggle + site results */
.search-scope {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(248, 204, 118, 0.28);
  gap: 0.1rem;
}
.search-scope-opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  user-select: none;
}
.search-scope-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.search-scope-opt span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease;
}
.search-scope-opt:has(input:checked) span,
.search-scope-opt input:checked + span {
  background: rgba(248, 204, 118, 0.28);
  color: var(--gold-bright);
}
.search-scope-opt:focus-within span {
  outline: 2px solid var(--gold-bright);
  outline-offset: 1px;
}

.site-search-results {
  margin-top: 0.55rem;
  max-height: min(50vh, 22rem);
  overflow: auto;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(248, 204, 118, 0.35);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
}
.search-hit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.search-hit a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: block;
}
.search-hit a:hover { color: var(--gold-bright); }
.search-hit-kind {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0c2340;
  background: var(--gold-bright);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.search-hit-snippet {
  margin: 0.15rem 0 0.25rem 0.15rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.3;
}
.search-empty {
  margin: 0.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}


/* Search jump highlight */
.search-match-mark {
  outline: 2px solid rgba(180, 83, 9, 0.45);
  outline-offset: 2px;
  border-radius: 8px;
}
.search-target-highlight {
  outline: 3px solid #b45309 !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(248, 204, 118, 0.55);
  border-radius: 10px;
  animation: searchPulse 1.1s ease-in-out 2;
}
@keyframes searchPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(248, 204, 118, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(248, 204, 118, 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .search-target-highlight { animation: none; }
}


/* (replaced by Meetings cards block below) */


/* === Meetings cards: always fill the highlight box === */
.meetings-highlight,
.meetings-details,
.meetings-highlight-inner,
.meetings-list,
.meetings-group {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}
.meetings-cards,
.meetings-group .meetings-grid,
.meetings-list .meetings-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .meetings-cards,
  .meetings-group .meetings-grid,
  .meetings-list .meetings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
.meetings-cards > .meeting-card,
.meetings-grid > .meeting-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  box-sizing: border-box;
  justify-self: stretch;
}


/* Legislators / Sun2o splits: contacts | guidance side by side */
.leg-split,
.sun-split {
  display: grid !important;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: start;
  width: 100%;
}
@media (min-width: 720px) {
  .leg-split,
  .sun-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.leg-contacts-col,
.leg-points-col,
.sun-contacts-col,
.sun-script-col {
  min-width: 0;
  width: 100%;
}
.leg-points-col {
  background: rgba(16, 53, 32, 0.04);
  border: 1px solid rgba(16, 53, 32, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem 1rem;
}
.leg-points-col strong { display: block; margin-bottom: 0.5rem; color: var(--forest); }
.leg-points-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Letter composer */
.composer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .composer-grid {
    grid-template-columns: 1fr 1fr 1.15fr;
  }
}
.composer-col h4 {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: var(--forest);
}
.composer-fieldset {
  border: 1px solid rgba(16, 53, 32, 0.14);
  border-radius: 8px;
  padding: 0.55rem 0.7rem 0.7rem;
  margin: 0 0 0.65rem;
}
.composer-fieldset legend {
  padding: 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #92400e;
}
.composer-check,
.composer-radio {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin: 0.35rem 0;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.35;
}
.composer-check input,
.composer-radio input {
  margin-top: 0.2rem;
  accent-color: var(--forest, #103520);
}
.composer-email {
  font-style: normal;
  color: var(--muted);
  font-size: 0.82rem;
}
.composer-hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.composer-points {
  max-height: 16rem;
  overflow: auto;
  padding-right: 0.25rem;
  border: 1px solid rgba(16, 53, 32, 0.1);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  background: #fff;
}
.composer-preview-wrap {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(16, 53, 32, 0.18);
}
.composer-preview-wrap h4 {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: var(--forest);
}
.composer-subject-label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.composer-subject,
.composer-body {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  border: 1px solid rgba(16, 53, 32, 0.2);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  background: #fff;
}
.composer-body {
  resize: vertical;
  min-height: 12rem;
  line-height: 1.45;
}
.composer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
}
.composer-open.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.composer-copy {
  border: 1px solid rgba(16, 53, 32, 0.25);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--forest);
}
.composer-copy:hover { background: rgba(16, 53, 32, 0.05); }
.composer-status {
  font-size: 0.85rem;
  color: var(--muted);
}


.leg-points-col.talking-points,
.sun-script-col.script-box {
  margin-top: 0;
}


.contact-section {
  margin: 1.75rem 0 0.5rem;
  width: 100%;
}
.contact-section-title {
  margin-bottom: 0.35rem;
}
.action-grid-stacked {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
}
.trail-take-action .action-intro {
  color: var(--muted);
  font-size: 0.95rem;
}
