:root {
  color-scheme: dark;
  --ink: #f5f3ee;
  --muted: #aeb7c2;
  --paper: #101419;
  --panel: #171d24;
  --line: #2a333d;
  --charcoal: #f5f3ee;
  --green: #68d4b2;
  --blue: #77b7e6;
  --rose: #ff8d7f;
  --yellow: #f2c866;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(14px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 20, 25, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(24, 63, 53, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  display: none;
}

.desktop-nav {
  display: flex;
  gap: 6px;
}

.desktop-nav a,
.nav-action,
.card-actions a,
.card-actions button,
.dialog-actions a,
.dialog-actions button,
.claim-form button,
.route-controls button,
.route-controls select,
.chip {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: #171d24;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.desktop-nav a:hover,
.nav-action:hover,
.card-actions a:hover,
.card-actions button:hover,
.dialog-actions a:hover,
.dialog-actions button:hover,
.route-controls button:hover,
.chip:hover,
.chip.is-active {
  border-color: rgba(40, 100, 88, 0.4);
  background: #20342f;
}

.nav-action,
.claim-form button,
.route-controls button {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.hero {
  position: relative;
  min-height: 18vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.88), rgba(8, 11, 14, 0.52) 58%, rgba(8, 11, 14, 0.18)),
    linear-gradient(0deg, rgba(16, 20, 25, 0.98), rgba(16, 20, 25, 0) 44%);
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 12px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd9bf;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.65rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.35;
}

.search-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.75fr 0.9fr;
  gap: 10px;
  width: min(940px, 100%);
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(16, 20, 25, 0.52);
  padding: 8px;
  backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(23, 26, 31, 0.14);
  border-radius: 8px;
  background: #0f1318;
  color: var(--ink);
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: 12px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 8px 24px rgba(28, 33, 38, 0.08);
}

.top-explore {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: min(1120px, calc(100% - 32px));
  margin: 12px auto 0;
  align-items: stretch;
}

.top-explore__head,
.money-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.top-explore__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 0;
}

.top-explore__head h2 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.featured-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 90px;
  gap: 8px;
}

.rail-empty {
  display: grid;
  align-content: center;
  grid-column: 1 / -1;
  min-height: 150px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(23, 29, 36, 0.72);
  padding: 20px;
}

.rail-empty strong,
.rail-empty span,
.rail-empty p {
  display: block;
}

.rail-empty span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
}

.launch-empty {
  min-height: 138px;
  border-style: solid;
  background:
    linear-gradient(135deg, rgba(104, 212, 178, 0.13), rgba(119, 183, 230, 0.06)),
    rgba(23, 29, 36, 0.78);
}

.launch-empty span {
  order: -1;
  margin: 0 0 8px;
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-empty strong {
  max-width: 620px;
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  line-height: 1.04;
}

.launch-empty p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.featured-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ddd4c9;
  padding: 0;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.featured-card:first-child,
.featured-card:nth-child(6) {
  grid-row: span 2;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.photo-pending {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 100%;
  align-content: end;
  gap: 6px;
  background:
    linear-gradient(135deg, rgba(104, 212, 178, 0.16), rgba(255, 141, 127, 0.14)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08)),
    #1a2129;
  color: #fff;
  padding: 16px;
}

.photo-pending span {
  color: #ffd9bf;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-pending strong {
  max-width: 220px;
  font-size: 1rem;
  line-height: 1.08;
}

.photo-pending small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.featured-card:hover img {
  transform: scale(1.04);
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.08));
}

.featured-card span,
.featured-card strong,
.featured-card em {
  position: absolute;
  z-index: 1;
  left: 10px;
  right: 10px;
}

.featured-card em {
  top: 10px;
  right: auto;
  border-radius: 999px;
  background: #fff3dc;
  color: #6f4e0d;
  padding: 6px 8px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.featured-card span {
  bottom: 42px;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-card strong {
  bottom: 9px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.money-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  width: min(940px, 100%);
  margin-top: 6px;
  padding: 8px 10px;
  background: rgba(16, 20, 25, 0.68);
  backdrop-filter: blur(14px);
}

.money-card select {
  width: auto;
  min-width: 80px;
  min-height: 30px;
  border-radius: 8px;
}

.money-card strong {
  font-size: 0.74rem;
}

.money-card span,
.money-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.stats-strip div {
  background: var(--panel);
  padding: 13px 16px;
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  margin-bottom: 2px;
  font-size: 1.08rem;
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

body.is-empty-guide #places,
body.is-empty-guide #around,
body.is-empty-guide #map,
body.is-empty-guide #routes,
body.is-empty-guide #saved {
  display: none;
}

body.is-empty-guide .desktop-nav {
  visibility: hidden;
}

body.is-empty-guide .site-footer {
  margin-top: 28px;
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.section-head > div:first-child {
  min-width: 0;
  max-width: 680px;
}

.view-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 700px;
}

.chip span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}

.place-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(28, 33, 38, 0.08);
  margin: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.place-card:hover {
  box-shadow: 0 14px 34px rgba(28, 33, 38, 0.16);
  transform: translateY(-2px);
}

.image-button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: #d9d2c8;
  padding: 0;
  cursor: pointer;
}

.media-wrap {
  position: relative;
}

.image-button img {
  width: 100%;
  aspect-ratio: 4 / 5.15;
  object-fit: cover;
}

.image-button .photo-pending {
  aspect-ratio: 4 / 5.15;
}

.place-card:nth-child(5n + 1) .image-button img {
  aspect-ratio: 4 / 5.75;
}

.place-card:nth-child(5n + 2) .image-button img {
  aspect-ratio: 1 / 1;
}

.place-card:nth-child(5n + 4) .image-button img {
  aspect-ratio: 4 / 3.75;
}

.area-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.promoted-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  background: #fff3dc;
  color: #6f4e0d;
  padding: 7px 10px;
  font-size: 0.7rem;
  font-weight: 900;
}

.deal-badge {
  border-radius: 999px;
  background: #ffe29a;
  color: #2b1d04;
  padding: 6px 8px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.deal-badge--image {
  position: absolute;
  top: 10px;
  right: 10px;
}

.pilot-image-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  border-radius: 999px;
  background: rgba(13, 18, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.84);
  padding: 6px 9px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.photo-like {
  position: absolute;
  right: 9px;
  bottom: 9px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(23, 26, 31, 0.72);
  color: #fff;
  padding: 7px 9px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 10px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.card-title h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 5px;
  font-size: 0.94rem;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-title span {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.card-body p {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.28;
}

.best-line {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 4px;
  color: var(--ink) !important;
  font-size: 0.74rem !important;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.compact-vibe {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 7px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.menu-preview,
.dialog-menu {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.menu-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.menu-preview li,
.dialog-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101419;
  padding: 8px 10px;
}

.menu-preview li {
  min-width: 0;
  padding: 5px 8px;
}

.menu-preview strong,
.dialog-menu strong {
  font-size: 0.82rem;
  color: var(--ink);
}

.menu-preview strong {
  overflow: hidden;
  max-width: 150px;
  font-size: 0.7rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.menu-preview span,
.dialog-menu span,
.meta-row span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.meta-row,
.score-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.meta-row span,
.rating-pill,
.score-strip span {
  border-radius: 999px;
  background: #132a25;
  color: var(--green);
  padding: 6px 8px;
}

.meta-row span,
.rating-pill {
  padding: 4px 7px;
}

.rating-pill {
  background: #231f17;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
}

.rating-pill--trip {
  background: #142620;
  color: #8ee2bf;
}

.rating-pill--pending {
  background: #1d232b;
  color: var(--muted);
}

.rating-pill--source {
  background: #16243a;
  color: #9ec8ff;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  margin: 7px 0;
}

.tag-row span {
  border-radius: 999px;
  background: #26231e;
  color: #e8dcc6;
  padding: 5px 8px;
  font-size: 0.66rem;
  font-weight: 850;
}

.tenant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.tenant-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #101419;
  color: var(--ink);
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 850;
}

.tenant-row--soft span {
  background: #171d24;
  color: var(--muted);
}

.reaction-row {
  display: flex;
  gap: 6px;
  margin-bottom: 7px;
}

.reaction-row button {
  flex: 1;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101419;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  cursor: pointer;
}

.offer-note {
  border-left: 3px solid var(--yellow);
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 8px;
  padding-left: 9px;
  color: var(--muted);
  font-size: 0.7rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.card-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(30px, 1fr));
  gap: 6px;
}

.card-actions a,
.card-actions button {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  min-height: 34px;
  padding: 6px 9px;
}

.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 20, 25, 0.86);
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.icon-action span {
  margin-left: 2px;
  color: var(--green);
  font-size: 0.68rem;
}

.icon-action.is-liked,
.photo-like.is-liked {
  border-color: var(--yellow);
  background: #fff3dc;
  color: #101419;
}

.card-actions a,
.card-actions button:not([data-save]) {
  background: #101419;
  color: var(--ink);
}

.card-actions .icon-action {
  border-radius: 999px;
  padding: 0;
  font-size: 1rem;
}

.card-actions button[data-save] {
  background: #f5f3ee;
  border-color: #f5f3ee;
  color: #101419;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.route-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.route-controls select {
  width: auto;
  min-width: 190px;
}

.route-list,
.saved-list,
.around-list {
  display: grid;
  gap: 10px;
}

.around-section {
  padding-top: 10px;
}

.around-section .section-head {
  align-items: end;
}

.around-section h2 {
  max-width: 620px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.04;
}

.around-controls {
  justify-content: flex-end;
  margin-bottom: 0;
}

.around-list {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.around-base {
  display: flex;
  grid-column: 1 / -1;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101419;
  padding: 10px 12px;
}

.around-base span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.around-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 8px;
  text-align: left;
  cursor: pointer;
}

.around-row:hover {
  border-color: rgba(104, 212, 178, 0.42);
  background: #20342f;
}

.around-row img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.around-row .photo-pending {
  width: 82px;
  height: 82px;
  min-height: 82px;
  border-radius: 8px;
  padding: 8px;
}

.around-row .photo-pending span,
.around-row .photo-pending small {
  display: none;
}

.around-row .photo-pending strong {
  font-size: 0.62rem;
  line-height: 1.05;
}

.around-row strong,
.around-row em,
.around-row small {
  display: block;
}

.around-row strong {
  margin-bottom: 4px;
  font-size: 0.92rem;
  line-height: 1.08;
}

.around-row em,
.around-row small {
  color: var(--muted);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.28;
}

.around-row b {
  border-radius: 999px;
  background: #ffe29a;
  color: #2b1d04;
  padding: 5px 7px;
  font-size: 0.66rem;
}

.route-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101419;
  padding: 12px;
}

.route-summary strong,
.route-summary span {
  display: block;
}

.route-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr);
  gap: 14px;
}

.live-map {
  grid-column: 1 / -1;
  height: 360px;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(104, 212, 178, 0.12), rgba(119, 183, 230, 0.08)),
    var(--panel);
}

.map-fallback {
  display: grid;
  height: 100%;
  min-height: 360px;
  place-items: center;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.empty-state {
  display: grid;
  grid-column: 1 / -1;
  min-height: 118px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(23, 29, 36, 0.52);
  padding: 18px;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 6px;
}

.empty-state p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.leaflet-container {
  height: 100%;
  font: inherit;
  background: #101419;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.map-popup {
  color: #101419;
}

.map-popup strong,
.map-popup span {
  display: block;
}

.map-popup a {
  color: #126b58;
  font-weight: 900;
}

.area-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.area-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.area-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.area-card > div {
  padding: 12px;
}

.area-card span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.area-card h3 {
  margin: 4px 0 6px;
  font-size: 1.1rem;
}

.area-card p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.area-card button {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101419;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.area-card button:hover {
  border-color: rgba(104, 212, 178, 0.42);
  background: #20342f;
}

.area-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.legend-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.legend-row span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #f5f3ee;
  color: #101419;
  font-size: 0.72rem;
  font-weight: 900;
}

.legend-row em {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 750;
}

.route-row,
.saved-row,
.side-panel,
.partner-grid article,
.claim-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.route-row,
.saved-row {
  display: grid;
  grid-template-columns: 44px 1fr 130px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.saved-row {
  grid-template-columns: 1fr auto;
}

.route-row:hover,
.saved-row:hover {
  border-color: rgba(191, 92, 82, 0.4);
  background: #211b1b;
}

.route-row > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #f5f3ee;
  color: #101419;
  font-weight: 900;
}

.route-row em,
.route-row small,
.saved-row span {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.route-row small {
  grid-column: 2 / -1;
}

.side-panel {
  padding: 20px;
  box-shadow: var(--shadow);
}

.side-panel p {
  color: var(--muted);
  line-height: 1.55;
}

dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

dt {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 760;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.extra-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
}

.extra-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #fff3dc;
  color: #805b13;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.extra-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.partner-grid article {
  min-height: 190px;
  padding: 20px;
}

.partner-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #eef4f2;
  color: var(--green);
  padding: 7px 10px;
  font-size: 0.74rem;
  font-weight: 900;
}

.partner-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.partner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(111, 218, 184, 0.35);
  border-radius: 8px;
  background: #133e35;
  color: #f8faf7;
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.partner-cta:hover {
  background: #195348;
}

.policy-page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.policy-page h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.policy-page h2 {
  margin: 34px 0 8px;
  font-size: 1.2rem;
}

.policy-page p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.policy-page a:not(.partner-cta) {
  color: var(--green);
}

.policy-page .partner-cta {
  margin-top: 22px;
}

body.travel-light {
  --ink: #17211d;
  --muted: #66716c;
  --paper: #f6f8f6;
  --panel: #ffffff;
  --line: #dce4df;
  --green: #286f62;
  --rose: #c95f57;
  --yellow: #d7a93a;
  background: var(--paper);
  color: var(--ink);
}

body.travel-light .app-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

body.travel-light .brand-mark {
  box-shadow: 0 8px 18px rgba(24, 63, 53, 0.18);
}

body.travel-light .desktop-nav a,
body.travel-light .nav-action,
body.travel-light .card-actions a,
body.travel-light .card-actions button,
body.travel-light .dialog-actions a,
body.travel-light .dialog-actions button,
body.travel-light .claim-form button,
body.travel-light .route-controls button,
body.travel-light .route-controls select,
body.travel-light .chip {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

body.travel-light .desktop-nav a:hover,
body.travel-light .nav-action:hover,
body.travel-light .card-actions a:hover,
body.travel-light .card-actions button:hover,
body.travel-light .dialog-actions a:hover,
body.travel-light .dialog-actions button:hover,
body.travel-light .route-controls button:hover,
body.travel-light .chip:hover,
body.travel-light .chip.is-active {
  border-color: rgba(40, 111, 98, 0.28);
  background: #edf6f2;
}

body.travel-light .nav-action,
body.travel-light .claim-form button,
body.travel-light .route-controls button {
  background: #183f35;
  color: #fff;
  border-color: #183f35;
}

body.travel-light .hero::before {
  background:
    linear-gradient(90deg, rgba(8, 20, 17, 0.62), rgba(8, 20, 17, 0.3) 55%, rgba(8, 20, 17, 0.12)),
    linear-gradient(0deg, rgba(246, 248, 246, 0.82), rgba(246, 248, 246, 0.02) 42%);
}

body.travel-light .hero-content {
  color: #ffffff;
}

body.travel-light .hero .eyebrow {
  color: #ffd3c7;
}

body.travel-light .hero h1,
body.travel-light .hero-content > p:not(.eyebrow) {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(8, 20, 17, 0.28);
}

body.travel-light .hero-content > p:not(.eyebrow),
body.travel-light .side-panel p,
body.travel-light .site-footer p,
body.travel-light .empty-state p,
body.travel-light .detail-list span,
body.travel-light .map-popup span {
  color: var(--muted);
}

body.travel-light .money-card,
body.travel-light .section,
body.travel-light .place-card,
body.travel-light .side-panel,
body.travel-light .area-card,
body.travel-light .legend-row,
body.travel-light .saved-row,
body.travel-light .around-row,
body.travel-light .route-row,
body.travel-light .rail-empty,
body.travel-light .empty-state,
body.travel-light .place-dialog,
body.travel-light .map-popup {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(27, 47, 39, 0.05);
}

body.travel-light .photo-pending,
body.travel-light .offer-box,
body.travel-light .meta-row span,
body.travel-light .tag-row span,
body.travel-light .area-badge,
body.travel-light .promoted-badge {
  background: #edf6f2;
  color: #245a4b;
}

body.travel-light .offer-note,
body.travel-light .eyebrow {
  color: var(--rose);
}

body.travel-light .search-panel select,
body.travel-light .search-panel input,
body.travel-light #currencySelect,
body.travel-light dialog button.dialog-close {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

body.travel-light .search-panel label,
body.travel-light .section-head p,
body.travel-light .section-head h2,
body.travel-light .title-row h3,
body.travel-light .best-line,
body.travel-light .dialog-content h2,
body.travel-light .dialog-content h3,
body.travel-light .route-summary strong,
body.travel-light .route-summary span,
body.travel-light .site-footer a {
  color: var(--ink);
}

body.travel-light .site-footer {
  border-top: 1px solid var(--line);
}

.intake-body {
  --ink: #17211d;
  --muted: #66716c;
  --line: #dce4df;
  --panel: #fff;
  min-height: 100vh;
  background: #f6f8f6;
  color: var(--ink);
}

.intake-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  padding: 10px max(20px, calc((100% - 920px) / 2));
  backdrop-filter: blur(12px);
}

.intake-body .brand-mark {
  box-shadow: 0 8px 18px rgba(24, 63, 53, 0.18);
}

.intake-body .brand,
.intake-back {
  color: var(--ink);
  text-decoration: none;
}

.intake-back {
  font-size: 0.82rem;
  font-weight: 850;
}

.intake-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.intake-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.intake-heading h1 {
  margin: 5px 0 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  line-height: 0.98;
}

.intake-heading > p:not(.eyebrow),
.submission-result > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.intake-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.intake-benefits span {
  border: 1px solid #cfe0d9;
  border-radius: 999px;
  background: #edf6f2;
  color: #245a4b;
  padding: 7px 11px;
  font-size: 0.74rem;
  font-weight: 850;
}

.intake-form {
  display: grid;
  gap: 14px;
}

.form-section,
.submission-result {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(27, 47, 39, 0.04);
}

.form-section-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.form-section-title > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #183f35;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.form-section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
}

.form-section-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.compact-top {
  margin-top: 18px;
}

.form-grid label,
.hours-row label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #33403a;
  font-size: 0.76rem;
  font-weight: 850;
}

.form-grid label small {
  color: #8a948f;
  font-size: 0.67rem;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.intake-form input,
.intake-form select,
.intake-form textarea,
.submission-result textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #ccd6d0;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.88rem;
}

.intake-form input::placeholder {
  color: #9aa39f;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: #347662;
  box-shadow: 0 0 0 3px rgba(52, 118, 98, 0.12);
}

.hours-builder {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8faf8;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.toggle-row input,
.closed-toggle input,
.check-grid input,
.permission-check input {
  width: 18px;
  min-height: 18px;
  accent-color: #245a4b;
}

.hours-row {
  display: grid;
  grid-template-columns: 70px minmax(120px, 1fr) minmax(120px, 1fr) 90px;
  align-items: end;
  gap: 10px;
  padding: 10px 14px;
}

.hours-row + .hours-row {
  border-top: 1px solid var(--line);
}

.hours-row > strong {
  align-self: center;
  font-size: 0.78rem;
}

.hours-row label span {
  color: var(--muted);
  font-size: 0.65rem;
}

.hours-row select {
  min-height: 40px;
  padding: 7px 9px;
}

.closed-toggle {
  display: flex !important;
  align-items: center;
  align-self: center;
  gap: 7px !important;
}

.choice-group {
  margin: 20px 0 0;
  border: 0;
  padding: 0;
}

.choice-group legend {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
}

.choice-group legend small {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 700;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.check-grid label,
.permission-check {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafbfa;
  padding: 9px;
  color: #4a554f;
  font-size: 0.7rem;
  font-weight: 800;
}

.optional-details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.optional-details summary {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.optional-details summary span {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 700;
}

.promo-section {
  border-color: #e6d9aa;
  background: #fffdf5;
}

.promo-section .form-section-title > span {
  background: #9b741c;
}

.photo-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-left: 3px solid #d6a62c;
  background: #fffaf0;
  padding: 13px 15px;
}

.photo-guide div {
  display: grid;
  gap: 3px;
}

.photo-guide strong {
  font-size: 0.76rem;
}

.photo-guide span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.permission-check {
  margin-top: 16px;
  background: #f1f7f4;
}

.submit-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
  background: #183f35;
  padding: 18px 20px;
  color: #fff;
}

.submit-panel > div {
  display: grid;
  gap: 3px;
}

.submit-panel span {
  color: #c6d9d2;
  font-size: 0.74rem;
}

.submit-button,
.submission-actions button,
.submit-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #183f35;
  border-radius: 6px;
  background: #183f35;
  color: #fff;
  padding: 0 17px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.submit-panel .submit-button {
  border-color: #fff;
  background: #fff;
  color: #183f35;
}

.submit-button:hover,
.submission-actions button:hover,
.submit-link:hover {
  background: #245a4b;
}

.submit-panel .submit-button:hover {
  background: #edf6f2;
}

.submission-result {
  margin-top: 24px;
}

.submission-result h2 {
  margin: 4px 0 7px;
  color: var(--ink);
}

.submission-result textarea {
  min-height: 340px;
  margin: 16px 0;
  background: #f8faf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
}

.submission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-grid p,
.claim-section p,
.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

.claim-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.insights-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.insight-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.insight-stats div {
  background: #fff;
  padding: 12px;
}

.insight-stats strong,
.insight-stats span {
  display: block;
}

.insight-stats span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.offer-box {
  display: grid;
  gap: 5px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101419;
  padding: 12px;
}

.offer-box span {
  color: var(--muted);
  line-height: 1.45;
}

.price-basis,
.verification-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
}

.verification-note {
  margin: 10px 0 14px;
  opacity: 0.72;
}

.dialog-actions .icon-action {
  width: 42px;
  min-width: 42px;
  border-radius: 999px;
  padding: 0;
}

.claim-form {
  display: grid;
  gap: 12px;
}

.claim-form label {
  color: #4c545d;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
}

.site-footer p {
  max-width: 760px;
  margin-bottom: 0;
}

.site-footer a {
  font-weight: 900;
}

.place-dialog {
  width: min(860px, calc(100% - 28px));
  max-height: 88vh;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.place-dialog::backdrop {
  background: rgba(12, 16, 20, 0.58);
}

.dialog-close {
  position: sticky;
  top: 10px;
  z-index: 2;
  float: right;
  margin: 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(23, 26, 31, 0.88);
  color: #fff;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.dialog-photo {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.photo-pending.dialog-photo {
  min-height: 320px;
  max-height: none;
}

.image-credit {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 0.72rem;
}

.dialog-content {
  padding: 24px;
}

.score-strip {
  margin: 14px 0 18px;
}

.detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.empty-state {
  display: grid;
  grid-column: 1 / -1;
  min-height: 118px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(23, 29, 36, 0.72);
  padding: 18px;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 6px;
}

.empty-state p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .claim-section,
  .top-explore,
  .map-layout,
  .insights-panel {
    grid-template-columns: 1fr;
  }

  .featured-rail {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .place-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }

  .partner-grid,
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .app-header {
    align-items: stretch;
    padding-inline: 12px;
  }

  .brand small,
  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 24px, 1120px);
    padding: 24px 0 14px;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 2.85rem);
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .search-panel label:nth-child(2) {
    grid-column: 1 / -1;
  }

  .money-card {
    gap: 6px;
  }

  .money-card strong,
  .money-card select,
  .money-card span,
  .money-card small {
    flex: 1 1 140px;
  }

  .money-card select {
    width: 100%;
  }

  .top-explore {
    width: min(100% - 24px, 1120px);
    margin-top: 10px;
  }

  .top-explore__head {
    margin-bottom: -2px;
  }

  .launch-empty {
    min-height: 124px;
    padding: 16px;
  }

  .stats-strip,
  .partner-grid,
  .extra-grid {
    grid-template-columns: 1fr;
  }

  .area-board {
    grid-template-columns: 1fr;
  }

  .live-map {
    height: 280px;
    min-height: 280px;
  }

  .insight-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .place-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .place-card {
    margin-bottom: 0;
  }

  .card-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .card-actions a,
  .card-actions button {
    min-height: 30px;
    padding: 4px 3px;
    font-size: 0.64rem;
  }

  .card-actions .icon-action {
    min-width: 0;
    font-size: 0.9rem;
  }

  .featured-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
    overflow: visible;
  }

  .stats-strip div {
    padding: 11px 14px;
  }

  .section {
    width: min(100% - 24px, 1120px);
    padding: 30px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .around-section .section-head {
    align-items: start;
  }

  .view-tools {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .view-tools::-webkit-scrollbar {
    display: none;
  }

  .view-tools .chip {
    flex: 0 0 auto;
  }

  .offer-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .route-row,
  .saved-row,
  .around-row {
    grid-template-columns: 38px 1fr;
  }

  .around-controls {
    width: 100%;
  }

  .around-controls select {
    width: 100%;
    min-width: 0;
  }

  .around-row b {
    grid-column: 2;
    justify-self: start;
  }

  .around-row img {
    width: 38px;
    height: 38px;
  }

  .route-row em,
  .route-row small {
    grid-column: 2;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    width: min(100% - 24px, 1120px);
  }

  .intake-page {
    width: min(100% - 24px, 960px);
    padding-top: 34px;
  }

  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .intake-header {
    min-height: 60px;
    padding: 8px 12px;
  }

  .intake-heading h1 {
    font-size: 2.55rem;
  }

  .form-section,
  .submission-result {
    padding: 17px;
  }

  .hours-row {
    grid-template-columns: 46px 1fr 1fr;
    gap: 7px;
    padding: 10px;
  }

  .closed-toggle {
    grid-column: 2 / -1;
  }

  .photo-guide {
    grid-template-columns: 1fr;
  }

  .submit-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-panel .submit-button {
    width: 100%;
  }
}
