:root {
  --bg-paper: #f5f1e8;
  --ink-dark: #1f2933;
  --ink-muted: #5b6470;
  --accent-brass: #9c7c38;
  --accent-deep: #2c3e50;
  --panel-bg: #ffffffee;
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.15);
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg-paper);
  font-family: "Source Sans 3", system-ui, sans-serif;
  overscroll-behavior: none;
}

/* FLEX COLUMN LAYOUT */
body {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

/* SPLASH */
#splash {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #f5f1e8 0%, #e5ddc8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 2rem;
}

#splash-inner {
  background: #fffdf7;
  border: 1px solid #d6c89a;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#splash-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#splash-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#splash-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dark);
  margin: 0;
}

.splash-rule {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-brass);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.splash-rule::before,
.splash-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent-brass);
  opacity: 0.5;
}

#splash-tagline {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

#splash-note {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

#start-app {
  background: var(--accent-deep);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  margin-top: 0.5rem;
}

#start-app:active {
  opacity: 0.85;
}

/* ==============================
   HEADER — archival/museum style
   ============================== */
.app-header {
  background: linear-gradient(to bottom, #fdfaf3, #f5f1e8);
  border-bottom: 2px solid var(--accent-brass);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 1rem;
  z-index: 1100;
  flex-shrink: 0;
  position: relative;
}

.header-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.header-eyebrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--accent-brass);
  margin-bottom: 1px;
}

.app-header h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--ink-dark);
  white-space: nowrap;
}

/* SEARCH WRAP */
.header-search-wrap {
  flex: 1;
  position: relative;
}

#search {
  width: 100%;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  border: 1px solid #c8b98a;
  font-size: 16px;
  background: #fffdf7;
  color: var(--ink-dark);
  box-sizing: border-box;
  font-family: "EB Garamond", serif;
}

#search::placeholder {
  color: var(--ink-muted);
  font-style: italic;
}

#search:focus {
  outline: none;
  border-color: var(--accent-brass);
  box-shadow: 0 0 0 2px rgba(156, 124, 56, 0.15);
}

/* SEARCH CLEAR BUTTON */
#search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  font-family: system-ui, sans-serif;
  z-index: 1;
}

/* SEARCH DROPDOWN */
#search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fffdf7;
  border: 1px solid #d6c89a;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 1200;
  overflow: hidden;
  max-height: 280px;
  overflow-y: auto;
}

.search-result {
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  color: var(--ink-dark);
  border-bottom: 1px solid #ede5d4;
}

.search-result:last-child {
  border-bottom: none;
}

.search-result:active {
  background: #f0e9d9;
}

.search-empty {
  color: var(--ink-muted) !important;
  font-style: italic;
  cursor: default !important;
}

.search-empty:active {
  background: none !important;
}

/* MAP */
#map {
  flex: 1;
  min-height: 0;
}

/* MARKER PULSE — fires when a site is auto-discovered nearby */
@keyframes markerPulse {
  0%   { filter: drop-shadow(0 0 0px rgba(0, 122, 255, 0.9)); transform: scale(1); }
  40%  { filter: drop-shadow(0 0 10px rgba(0, 122, 255, 0.7)); transform: scale(1.35); }
  100% { filter: drop-shadow(0 0 0px rgba(0, 122, 255, 0)); transform: scale(1); }
}
.marker-pulse {
  animation: markerPulse 0.7s ease-out;
}

/* PIN LABELS */
.pin-label {
  font-family: "Libre Baskerville", serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #3a2e1e !important;
  background: rgba(253, 248, 240, 0.88) !important;
  border: 1px solid #c8a96e !important;
  border-radius: 5px !important;
  padding: 2px 6px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18) !important;
  white-space: nowrap !important;
  letter-spacing: 0.01em !important;
}

#map:not(.show-labels) .pin-label {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s;
}

#map.show-labels .pin-label {
  opacity: 1 !important;
  transition: opacity 0.2s;
}

/* ABOUT BUTTON */
#open-about {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--accent-brass);
  cursor: pointer;
  padding: 0 0 0 0.25rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ABOUT SCREEN */
#about-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-paper);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

#about-header {
  background: var(--panel-bg);
  padding: 1rem;
  padding-top: calc(1rem + env(safe-area-inset-top));
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

#about-header h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.3rem;
  margin: 0.5rem 0 0 0;
}

#close-about {
  background: none;
  border: none;
  color: var(--accent-brass);
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
  font-family: "Libre Baskerville", serif;
}

#about-body {
  padding: 1.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-section h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-dark);
  letter-spacing: 0.03em;
  margin: 0 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #d6c89a;
}

.about-section p {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-dark);
  margin: 0;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-list li {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-dark);
  padding-left: 1rem;
  position: relative;
}

.about-list li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  color: var(--accent-brass);
  font-size: 0.5rem;
  top: 0.45em;
}

/* MAP CREDIT */
#map-credit {
  position: fixed;
  bottom: calc(3rem + env(safe-area-inset-bottom) + 44px);
  right: 6px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.58rem;
  color: rgba(30, 20, 10, 0.55);
  background: rgba(253, 248, 240, 0.7);
  padding: 2px 5px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 900;
  letter-spacing: 0.01em;
}

/* BOTTOM TOOLBAR */
#bottom-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel-bg);
  padding: 0.6rem 1rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  z-index: 1000;
  flex-shrink: 0;
}

#bottom-toolbar button {
  background: var(--accent-deep);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.04em;
  cursor: pointer;
}

#open-visited {
  background: var(--accent-brass) !important;
}

#visit-progress {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}

#visit-progress:hover {
  background: rgba(156, 124, 56, 0.08);
}

/* FILTER OVERLAY */
#filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#filter-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* INFO PANEL — slide up from bottom */
#info-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  max-height: 55%;
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  border-radius: 18px 18px 0 0;
  padding: 0 1rem 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 1500;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}

#info-panel.open {
  transform: translateY(0);
  visibility: visible;
}

#info-panel-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.25rem 0 0.5rem;
  margin: 0 0 0.25rem;
  z-index: 2;
}

.info-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-top: 2px;
}

#visited-badge {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

#info-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.category-chip {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-brass);
  background: rgba(156, 124, 56, 0.1);
  border: 1px solid rgba(156, 124, 56, 0.3);
  border-radius: 999px;
  padding: 2px 9px;
}

#close-info {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

#info-image {
  width: 81%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

#info-panel > *:not(img) {
  width: 100%;
  max-width: 100%;
}

#info-panel p {
  margin: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

#info-panel *:not(img) {
  max-width: 100%;
}

#info-panel img {
  height: auto;
  display: block;
}

#info-panel p,
#info-panel div,
#info-panel span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hidden {
  display: none !important;
}

/* PANEL HEADER (shared by filter + visited) */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0d9cc;
  margin-bottom: 0.75rem;
}

.panel-header h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-dark);
  margin: 0;
}

.panel-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-family: system-ui, sans-serif;
}

/* VISITED PANEL */
#visited-panel {
  position: fixed;
  inset: 0;
  background: var(--bg-paper);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  padding-top: calc(1.25rem + env(safe-area-inset-top));
}

.leaflet-tile-pane img {
  filter: sepia(0.3) contrast(1.1) brightness(0.9);
}

/* VISITED LIST ITEMS */
#visited-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#visited-list li {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #ddd5be;
  cursor: pointer;
  font-family: "EB Garamond", serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-dark);
}

#visited-list li:active {
  background: #f0e9d9;
}

#visited-list small {
  font-family: "EB Garamond", serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
}

/* ===============================
   HISTORICAL / MUSEUM TYPOGRAPHY
   =============================== */

#info-panel h2 {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#info-description {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-dark);
}

button {
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.05em;
  touch-action: manipulation;
}

/* FILTER SIDEBAR */
#filter-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 270px;
  height: 100%;
  background: #fdfaf3;
  border-right: 1px solid #d6c89a;
  z-index: 2000;
  padding: 1.5rem 1.25rem;
  padding-top: calc(1.5rem + env(safe-area-inset-top));
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}

#filter-sidebar.hidden {
  display: none !important;
}

#filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

#filter-list li label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "EB Garamond", serif;
  font-size: 1.1rem;
  color: var(--ink-dark);
  cursor: pointer;
  line-height: 1.3;
}

#filter-list input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-brass);
  flex-shrink: 0;
}

/* EXHIBIT SCREEN */
#exhibit-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-paper);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

#exhibit-header {
  background: var(--panel-bg);
  padding: 1rem;
  padding-top: calc(1rem + env(safe-area-inset-top));
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

#exhibit-header h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.3rem;
  margin: 0.5rem 0 0 0;
}

#close-exhibit {
  background: none;
  border: none;
  color: var(--accent-brass);
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
}

#exhibit-body {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#exhibit-gallery {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding: 0 1rem 0.75rem;
  margin: 0 -1rem;
  scrollbar-width: none;
}

#exhibit-gallery::-webkit-scrollbar {
  display: none;
}

#exhibit-gallery figure {
  scroll-snap-align: center;
  flex: 0 0 88%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

#exhibit-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

#exhibit-gallery figcaption {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
  font-style: italic;
}

#exhibit-description {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-dark);
}

#see-more-btn {
  background: var(--accent-deep);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  cursor: pointer;
}

/* ── ALL SITES PANEL ────────────────────────────────────── */
#all-sites-panel {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg-paper);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#all-sites-header {
  flex-shrink: 0;
  background: linear-gradient(to bottom, #fdfaf3, #f5f1e8);
  border-bottom: 1px solid #d6c89a;
  padding: 0.875rem 1.25rem 1rem;
  padding-top: calc(0.875rem + env(safe-area-inset-top));
}

#all-sites-header h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.4rem 0 0;
  color: var(--ink-dark);
  letter-spacing: 0.01em;
}

#all-sites-count {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

#close-all-sites {
  background: none;
  border: none;
  color: var(--accent-brass);
  font-size: 0.9rem;
  padding: 0;
  cursor: pointer;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

#all-sites-list {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  list-style: none;
  padding: 0;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  margin: 0;
}

#all-sites-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(214, 200, 154, 0.35);
  cursor: pointer;
  transition: background 0.1s;
  list-style: none;
}

#all-sites-list li:last-child {
  border-bottom: none;
}

#all-sites-list li:active {
  background: rgba(156, 124, 56, 0.05);
}

.site-list-thumb {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e8dfc9, #d9cdaf);
  display: block;
  overflow: hidden;
}

.site-list-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.site-list-title {
  font-family: "Libre Baskerville", serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-dark);
  line-height: 1.35;
}

.site-list-category {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-brass);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-list-visited-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  flex-shrink: 0;
}

.site-list-chevron {
  color: #c8b98a;
  font-size: 1.3rem;
  flex-shrink: 0;
  opacity: 0.7;
  line-height: 1;
}

/* ── ONBOARDING ─────────────────────────────────────────────── */
#onboarding {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#onboarding.hidden { display: none; }

#onboarding-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 4, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#onboarding-card {
  position: relative;
  z-index: 1;
  background: var(--bg-paper);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  animation: cardSlideUp 0.35s ease-out;
}

@keyframes cardSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

#onboarding-icon {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

#onboarding-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.25rem;
  color: var(--ink-dark);
  margin: 0 0 0.6rem;
}

#onboarding-text {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-body, var(--ink-dark));
  margin: 0 0 1.25rem;
}

#onboarding-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.onboarding-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  transition: background 0.2s;
}

.onboarding-dot.active {
  background: var(--accent-brass);
}

#onboarding-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
}

#onboarding-skip {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: 0.9rem;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  font-family: "Source Sans 3", sans-serif;
}

#onboarding-next {
  background: var(--accent-brass);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  cursor: pointer;
}
