/* Fonts (same as atlas.css) */
:root { --f-disp: 'Archivo', 'Arial Narrow', Arial, sans-serif; --f-head: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif; --f-label: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif; --f-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif; --f-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace; }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: var(--f-body); background: #f4f1ec; color: #1a3340; min-height: 100vh; }

  .share-header { background: #1a3340; color: #fff; padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; }
  .share-header-logo { font-family: var(--f-head); font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
  .share-header-logo span { display: block; font-family: var(--f-label); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 0.15rem; }
  .region-chip { margin-left: auto; background: #003E51; color: #fff; font-family: var(--f-label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 20px; }

  .share-trail-name { background: #003E51; color: #fff; padding: 1.5rem; text-align: center; }
  .share-trail-name h1 { font-family: var(--f-head); font-size: 1.7rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.4rem; }
  .share-trail-name p { font-size: 0.88rem; opacity: 0.88; }

  .share-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #002a38; color: #fff; text-align: center; }
  .share-stat { padding: 0.85rem 0.5rem; border-right: 1px solid rgba(255,255,255,0.1); }
  .share-stat:last-child { border-right: none; }
  .share-stat-label { font-family: var(--f-label); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 0.2rem; }
  .share-stat-value { font-size: 0.9rem; font-weight: 600; }

  .share-body { max-width: 540px; margin: 0 auto; padding: 1.25rem 1rem 2rem; }

  .share-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 6px rgba(0,0,0,0.08); margin-bottom: 1rem; overflow: hidden; }
  .share-card-head { background: #1a3340; color: #fff; font-family: var(--f-label); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.65rem 1rem; display: flex; align-items: center; gap: 0.5rem; }
  .share-card-head.teal { background: #003E51; }
  .share-card-body { padding: 1rem; }

  .contact-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid #f0ece4; text-decoration: none; color: #1a3340; }
  .contact-row:last-child { border-bottom: none; }
  .contact-badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.15rem 0.45rem; border-radius: 3px; color: #fff; flex-shrink: 0; }
  .badge-emg { background: #c0392b; }
  .badge-nav { background: #1a3340; }
  .contact-label { font-size: 0.88rem; font-weight: 600; }

  .info-row { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.6rem 0; border-bottom: 1px solid #f0ece4; }
  .info-row:last-child { border-bottom: none; }
  .info-label { font-family: var(--f-label); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7b80; }
  .info-value { font-size: 0.88rem; font-weight: 600; }
  .info-sub { font-size: 0.8rem; color: #4a5a60; }
  .info-link { font-family: var(--f-label); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #003E51; text-decoration: none; margin-top: 0.2rem; display: inline-block; }

  .share-route-list { list-style: none; padding: 0; }
  .share-route-list li { padding: 0.6rem 0; border-bottom: 1px solid #f0ece4; font-size: 0.86rem; line-height: 1.55; }
  .share-route-list li:last-child { border-bottom: none; }
  .share-route-list li strong { color: #1a3340; }

  .gps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .gps-item { background: #f4f1ec; border-radius: 6px; padding: 0.6rem 0.75rem; }
  .gps-item-label { font-family: var(--f-label); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7b80; margin-bottom: 0.2rem; }
  .gps-item-name { font-size: 0.82rem; font-weight: 700; color: #1a3340; }
  .gps-item-coords { font-size: 0.75rem; color: #4a5a60; font-family: monospace; }

  .share-warning { background: #fff8e6; border-left: 3px solid #e8a020; border-radius: 0 6px 6px 0; padding: 0.75rem 1rem; font-size: 0.85rem; line-height: 1.55; color: #4a3a10; margin-bottom: 1rem; }

  .share-footer { text-align: center; padding: 1.25rem 1rem; border-top: 1px solid #ddd8ce; margin-top: 0.5rem; }
  .share-footer a { color: #003E51; font-family: var(--f-label); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
  .share-footer p { font-size: 0.75rem; color: #8a9a9f; margin-top: 0.5rem; }

  @media (max-width: 400px) {
    .share-stats { grid-template-columns: 1fr 1fr; }
    .share-stats .share-stat:nth-child(2) { border-right: none; }
    .share-stats .share-stat:last-child { grid-column: span 2; border-top: 1px solid rgba(255,255,255,0.1); }
    .gps-grid { grid-template-columns: 1fr; }
  }
  @media print {
    body { background: #fff; }
    .share-header, .share-trail-name, .share-stats { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  }
