/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --page_bg: #f0f8fa;

  --font: "National Park", "Arial", "Verdana", sans-serif;
  --font_colour: #1c383e;
  --font_weight: 400;

  --heading_font: "Arvo", "Arial", "Verdana", sans-serif;
  --heading_colour: #003d4d;
  --heading_weight: 700;

  --link_colour: #009fbd;
  --link_hover: #007a91;

  --button_bg: #009fbd;
  --button_colour: #fff;
  --button_bg_hover: #0082a0;
  --button_colour_hover: #fff;

  --button_secondary_bg: #ddf1f6;
  --button_secondary_colour: #007a91;
  --button_secondary_bg_hover: #b3e2ef;
  --button_secondary_colour_hover: #005f6e;

  --nav_bg: #003d4d;
  --nav_item_colour: #8ecdd9;
  --nav_item_bg_hover: #009fbd;
  --nav_item_colour_hover: #fff;
  --nav_active_bg: #009fbd;
  --nav_active_colour: #fff;

  /* Day type colours */
  --cycle_colour: #2e7d32;
  --rest_colour: #1565c0;
  --ferry_colour: #00838f;
  --train_colour: #e65100;
  --bus_colour: #bf360c;
  --fly_colour: #6a1b9a;

  /* Booking status */
  --status_none_bg: #eeeeee;
  --status_none_colour: #616161;
  --status_booked_bg: #fff3e0;
  --status_booked_colour: #e65100;
  --status_paid_bg: #e8f5e9;
  --status_paid_colour: #2e7d32;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--font_colour);
  background: var(--page_bg);
}

a {
  color: var(--link_colour);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--link_hover); }

ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--heading_font); color: var(--heading_colour); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
button, .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--button_bg);
  color: var(--button_colour);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
button:hover, .btn:hover {
  background: var(--button_bg_hover);
  transform: translateY(-1px);
}
.btn.primary { background: var(--button_bg); color: var(--button_colour); }
.btn.primary:hover { background: var(--button_bg_hover); }
.btn-secondary {
  background: var(--button_secondary_bg);
  color: var(--button_secondary_colour);
}
.btn-secondary:hover {
  background: var(--button_secondary_bg_hover);
  color: var(--button_secondary_colour_hover);
  transform: translateY(-1px);
}
.btn-small { padding: 4px 10px; font-size: 12px; }

/* ── Flash messages ────────────────────────────────────────────────────────── */
.flash {
  padding: 12px 16px;
  border-radius: 5px;
  margin: 10px 0 16px;
  font-weight: 500;
}
.flash-info    { background: #e3f2fd; color: #1565c0; border-left: 4px solid #1976d2; }
.flash-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #43a047; }
.flash-error   { background: #ffebee; color: #c62828; border-left: 4px solid #e53935; }
.flash-warn    { background: #fff8e1; color: #e65100; border-left: 4px solid #fb8c00; }

/* ── Header controls (hamburger + quick actions) ───────────────────────────── */
.header-controls {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hamburger-menu { cursor: pointer; }
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
}
.hamburger-icon span {
  display: block;
  height: 3px;
  background: var(--nav_bg);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger-menu.open .hamburger-icon span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger-menu.open .hamburger-icon span:nth-child(2) { opacity: 0; }
.hamburger-menu.open .hamburger-icon span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.quick-actions { display: flex; gap: 8px; margin-left: 4px; }
.quick-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--button_bg);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.2s;
  font-size: 15px;
}
.quick-action-btn:hover {
  background: var(--button_bg_hover);
  color: #fff;
  transform: translateY(-2px);
}

/* ── App layout ────────────────────────────────────────────────────────────── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}
.overlay.active { display: block; }

.app-container {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.sidebar {
  width: 220px;
  background: var(--nav_bg);
  color: var(--nav_item_colour);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: -220px;
  height: 100vh;
  z-index: 160;
  transition: left 0.3s ease;
  overflow-y: auto;
}
.sidebar.open { left: 0; }

.sidebar-logo {
  padding: 24px 20px 20px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo-img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  display: block;
}

.nav-menu { padding: 12px 0; flex: 1; }
.nav-menu li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--nav_item_colour);
  font-size: 15px;
  transition: all 0.2s;
}
.nav-menu li a:hover,
.nav-menu li.active a {
  background: var(--nav_active_bg);
  color: var(--nav_active_colour);
}
.nav-icon { width: 20px; text-align: center; margin-right: 10px; }

.sidebar-footer {
  padding: 14px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sidebar-user i { margin-right: 6px; }

/* ── Content area ──────────────────────────────────────────────────────────── */
.content {
  flex: 1;
  padding: 20px 24px 40px;
  margin-left: 0;
  margin-top: 60px;
  max-width: 1200px;
  transition: margin-left 0.3s;
}
.content.sidebar-open { margin-left: 220px; }

.content-header { margin-bottom: 16px; }
.page-title { font-size: 24px; font-weight: 700; color: var(--heading_colour); }

/* ── Auth layout ───────────────────────────────────────────────────────────── */
.auth-layout { background: #ddf1f6; }

.auth-header {
  background: var(--nav_bg);
  padding: 20px 24px;
  text-align: center;
}
.auth-logo-img { max-height: 64px; width: auto; display: block; margin: 0 auto 8px; }
.auth-header .logo-sub { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 4px; text-align: center; }

.auth-main { display: flex; justify-content: center; align-items: flex-start; padding: 40px 20px; min-height: calc(100vh - 90px); }

.auth-container { width: 100%; max-width: 400px; }
.auth-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.auth-card h2 { margin-bottom: 24px; font-size: 22px; }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
  color: #444;
}
.form-group label small { font-weight: 400; color: #888; }
.form-group input[type=text],
.form-group input[type=password],
.form-group input[type=number],
.form-group input[type=url],
.form-group input[type=email],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--font_colour);
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--button_bg);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,159,189,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions { margin-top: 20px; display: flex; gap: 10px; }
.auth-form .form-actions { margin-top: 24px; }

.form-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.form-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  color: var(--heading_colour);
}

/* ── Day type badges ───────────────────────────────────────────────────────── */
.day-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.day-type-badge.large { font-size: 14px; padding: 5px 12px; border-radius: 16px; }
.type-cycle  { background: #e8f5e9; color: var(--cycle_colour); }
.type-rest   { background: #e3f2fd; color: var(--rest_colour); }
.type-ferry  { background: #e0f7fa; color: var(--ferry_colour); }
.type-train  { background: #fff3e0; color: var(--train_colour); }
.type-bus    { background: #fbe9e7; color: var(--bus_colour); }
.type-fly    { background: #f3e5f5; color: var(--fly_colour); }

/* ── Booking status badges ─────────────────────────────────────────────────── */
.booking-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}
.status-none   { background: var(--status_none_bg);   color: var(--status_none_colour); }
.status-booked { background: var(--status_booked_bg); color: var(--status_booked_colour); }
.status-paid   { background: var(--status_paid_bg);   color: var(--status_paid_colour); }

/* ── Overview table ────────────────────────────────────────────────────────── */
.overview-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.summary-value { font-size: 20px; font-weight: 700; color: var(--heading_colour); }
.summary-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.summary-warn .summary-value { color: #e65100; }

.overview-table-wrap {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow-x: auto;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.overview-table th {
  background: var(--nav_bg);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}
.overview-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.overview-table tbody tr:hover { background: #edf8fb; }
.overview-table tbody tr:last-child td { border-bottom: none; }

/* Row colouring by day type (subtle left border) */
.day-type-cycle td:first-child  { border-left: 3px solid var(--cycle_colour); }
.day-type-rest td:first-child   { border-left: 3px solid var(--rest_colour); }
.day-type-ferry td:first-child  { border-left: 3px solid var(--ferry_colour); }
.day-type-train td:first-child  { border-left: 3px solid var(--train_colour); }
.day-type-bus td:first-child    { border-left: 3px solid var(--bus_colour); }
.day-type-fly td:first-child    { border-left: 3px solid var(--fly_colour); }

.row-today { background: #fff9e6 !important; font-weight: 500; }
.row-today td { border-top: 2px solid #f9a825; border-bottom: 2px solid #f9a825; }
.row-warn { background: #fff8f6 !important; }

.col-date  { white-space: nowrap; color: #666; }
.col-km    { text-align: right; width: 70px; color: #555; }
.col-type  { width: 100px; }
.col-accomm { width: 140px; }
.no-accomm { color: #bbb; }
.accomm-name-small { font-size: 11px; color: #999; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.unknown-loc { color: #e65100; }
.type-label { display: none; }

/* ── Day detail ────────────────────────────────────────────────────────────── */
.day-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.day-detail { max-width: 700px; }
.day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.day-meta { display: flex; flex-direction: column; gap: 2px; }
.day-number { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.day-date { font-size: 20px; font-weight: 700; color: var(--heading_colour); }

.move-day-desc { font-size: 13px; color: #888; margin-bottom: 14px; }
.form-group-btn { display: flex; align-items: flex-end; }
.form-section-move { margin-top: 32px; }
.form-section-delete { border: 1px solid #ffd0cc; }
.form-section-delete h3 { color: #b71c1c; }
.btn-danger {
  background: #c62828;
  color: #fff;
  border: none;
}
.btn-danger:hover { background: #8e0000; color: #fff; }
.geocode-info { font-size: 14px; color: #555; margin-bottom: 8px; }
.geocode-pending { font-size: 13px; color: #888; margin-top: 8px; }
.accomm-geocode { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; }

/* ── Stats ─────────────────────────────────────────────────────────────────── */
.stats-container { max-width: 900px; }
.stats-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.stats-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.stat-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-card {
  flex: 1;
  min-width: 120px;
  background: var(--page_bg);
  border-radius: 8px;
  padding: 16px 18px;
  text-align: center;
  border: 1px solid #c8e9f0;
}
.stat-value { font-size: 26px; font-weight: 700; color: var(--heading_colour); }
.stat-label { font-size: 12px; color: #888; margin-top: 4px; }
.stat-detail { font-size: 12px; color: #aaa; margin-top: 2px; }
.stat-warn { border-color: #ffcc80; background: #fff8e1; }
.stat-warn .stat-value { color: #e65100; }

.progress-bar-wrap {
  height: 10px;
  background: #c8e9f0;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 16px;
}
.progress-bar { height: 100%; background: var(--button_bg); border-radius: 5px; transition: width 0.5s; }

.type-breakdown { display: flex; flex-direction: column; gap: 8px; }
.type-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.type-count { min-width: 60px; font-weight: 600; }
.type-km { color: #555; }
.type-km-actual { color: var(--cycle_colour); }

/* ── Map ───────────────────────────────────────────────────────────────────── */
#map-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #555;
}
.legend-item { display: flex; align-items: center; gap: 5px; }
.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.legend-unesco { background: #ffd600; border: 2px solid #f57f17; border-radius: 2px; }

.map-day-pin,
.map-unesco-pin {
  /* Counteract the saturate(0.45) brightness(1.03) on #map-canvas so pins stay vivid */
  filter: saturate(2.222) brightness(0.971);
}

.map-day-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  cursor: pointer;
}
.map-day-pin-group {
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-unesco-pin {
  width: 14px;
  height: 14px;
  background: #ffd600;
  border: 2px solid #f57f17;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  cursor: pointer;
}
.map-unesco-pin.visited { background: #43a047; border-color: #1b5e20; }

.map-info { font-size: 14px; line-height: 1.5; max-width: 480px; }
.map-info-title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.map-info strong { font-size: 15px; }
.map-info-date { color: #888; font-size: 12px; white-space: nowrap; }
.map-info-type { font-weight: 600; margin: 2px 0; }
.map-info-link { display: inline-block; margin-top: 8px; color: var(--link_colour); font-weight: 600; }
.map-info-divider { border: none; border-top: 1px solid #e0e0e0; margin: 8px 0; }

/* ── Overview toolbar (compact button) ────────────────────────────────────── */
.overview-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.btn-has-gaps {
  border: 1px solid #e65100;
  color: #e65100;
  background: #fff8f6;
  position: relative;
}
.btn-has-gaps:hover { background: #fbe9e7; color: #bf360c; border-color: #bf360c; }

.gap-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--button_secondary_colour);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 2px;
}

.btn-insert {
  background: #ddf1f6;
  color: #007a91;
  border: 1px solid #8ed5e6;
}
.btn-insert:hover { background: #b3e2ef; color: #005f6e; border-color: #5cc0d6; }

/* ── Resequence pages (compact + insert day) ───────────────────────────────── */
.reseq-page { max-width: 680px; }

.reseq-back { margin-bottom: 16px; }

.reseq-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  overflow: hidden;
}

.reseq-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid #eee;
}
.reseq-header h3 {
  font-size: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reseq-desc { font-size: 14px; color: #666; line-height: 1.6; }

.reseq-summary {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #eee;
}
.reseq-stat {
  flex: 1;
  padding: 16px 24px;
  text-align: center;
  border-right: 1px solid #eee;
}
.reseq-stat:last-child { border-right: none; }
.reseq-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--heading_colour);
  line-height: 1.1;
}
.reseq-stat-label { font-size: 12px; color: #888; margin-top: 4px; display: block; }
.reseq-stat-insert .reseq-stat-value { color: var(--button_bg); }

.reseq-section {
  padding: 18px 24px;
  border-bottom: 1px solid #f0f0f0;
}
.reseq-section h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Diff rows */
.reseq-diff { display: flex; flex-direction: column; gap: 6px; }

.diff-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px solid #f8f8f8;
}
.diff-row:last-child { border-bottom: none; }
.blank-row { opacity: 0.65; }

.diff-old, .diff-new { min-width: 52px; }
.diff-date {
  font-weight: 600;
  font-size: 13px;
  color: #555;
  white-space: nowrap;
}
.diff-old .diff-date { color: #999; text-decoration: line-through; }
.diff-new .diff-date { color: var(--heading_colour); }

.diff-arrow { color: #aaa; font-size: 11px; flex-shrink: 0; }

.diff-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.diff-km { font-size: 12px; color: #888; }
.diff-blank { font-size: 13px; color: #bbb; font-style: italic; }

.diff-shift {
  font-size: 12px;
  color: #007a91;
  font-weight: 600;
  white-space: nowrap;
  background: #ddf1f6;
  padding: 2px 7px;
  border-radius: 10px;
}

.reseq-warning {
  padding: 14px 24px;
  background: #fff8e1;
  border-top: 1px solid #ffe0b2;
  border-bottom: 1px solid #ffe0b2;
  font-size: 13px;
  color: #e65100;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.reseq-warning i { margin-top: 2px; flex-shrink: 0; }

.reseq-confirm-form {
  padding: 18px 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.reseq-confirm-btn { font-size: 15px; padding: 10px 20px; }

.reseq-no-action {
  padding: 40px 24px;
  text-align: center;
  color: var(--button_bg);
}
.reseq-no-action i { font-size: 36px; margin-bottom: 12px; display: block; }
.reseq-no-action p { color: #666; margin-bottom: 20px; }

.reseq-error {
  padding: 24px;
  background: #ffebee;
  color: #c62828;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid #ffcdd2;
}
.reseq-error i { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.reseq-error p { margin: 0; line-height: 1.6; }

.reseq-blank-list { display: flex; flex-direction: column; gap: 6px; }

.reseq-actions { padding: 18px 24px; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  .sidebar { left: 0; }
  .content { margin-left: 220px; margin-top: 20px; }
  .header-controls { display: none; }
  .overlay { display: none !important; }
  .type-label { display: inline; }
}

@media (max-width: 768px) {
  body { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .stat-card { min-width: 100px; }
  .col-km { display: none; }
  .overview-table { font-size: 18px; }
  .overview-table td, .overview-table th { padding: 10px 8px; }
  .content { padding: 16px; }
}

@media (max-width: 480px) {
  .col-loc { word-break: break-word; }
  .summary-item { min-width: 65px; }
  .summary-value { font-size: 17px; }
}
