:root {
  --primary: #09b79f;
  --primary-dark: #018f83;
  --ink: #08213d;
  --muted: #667085;
  --line: #edf1f4;
  --soft: #f6faf9;
  --glass: rgba(255, 255, 255, .78);
  --danger: #e35252;
  --shadow: 0 14px 34px rgba(8, 33, 61, .09);
  --shadow-soft: 0 8px 20px rgba(8, 33, 61, .055);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #eef3f4; }
body { margin: 0; color: var(--ink); background: #eef3f4; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; background: #e9eff0; }
.lucide-icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: -4px;
}
button, a { -webkit-tap-highlight-color: transparent; }

.app-shell {
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(8, 33, 61, .04), 0 24px 70px rgba(8, 33, 61, .12);
}

.screen {
  min-height: 100dvh;
  padding: calc(18px + env(safe-area-inset-top)) 16px calc(92px + env(safe-area-inset-bottom));
}

.topbar {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}

.offline-banner {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  display: none;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
  background: #fff4e5;
  color: #9a5b00;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}
body.offline .offline-banner { display: block; }

.location-note {
  display: block;
  margin: -4px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff8e8;
  color: #8a6200;
  font-size: 12px;
  font-weight: 750;
}

.brand {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand i { color: var(--ink); font-style: normal; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn, .avatar, .save, .floating {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(8, 33, 61, .06);
}
.icon-btn .lucide-icon, .save .lucide-icon, .floating .lucide-icon { width: 20px; height: 20px; }
.avatar { background: radial-gradient(circle at 50% 35%, #ffd8b2 0 18%, #0c2d4a 19% 21%, #09b79f 22% 100%); }

.bottom-nav {
  max-width: 480px;
  margin: 0 auto;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  min-width: 0;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: #7a8793;
  display: grid;
  place-items: center;
  gap: 2px;
  border-radius: 14px;
}
.bottom-nav span { font-size: 21px; line-height: 1; }
.bottom-nav small { font-size: 11px; }
.bottom-nav .active { color: var(--primary); background: #e9fbf8; }
.bottom-nav .lucide-icon { width: 21px; height: 21px; }

.hero-copy { margin: 8px 0 14px; }
.hero-copy p, .hint { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.hero-copy h1, .page-title { margin: 0 0 16px; font-size: 25px; line-height: 1.08; letter-spacing: 0; }

.search-box {
  display: grid;
  grid-template-columns: 28px 1fr 34px;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 0 10px 0 14px;
  margin: 10px 0 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f9fbfb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.search-box button {
  border: 0;
  border-radius: 12px;
  height: 34px;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 10px;
}
.section-title h2 { margin: 0; font-size: 16px; }
.section-title button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.banner-row, .mini-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.mini-row { grid-auto-columns: 42%; }
.banner-row::-webkit-scrollbar, .mini-row::-webkit-scrollbar { display: none; }
.banner-card {
  min-height: 170px;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  padding: 16px;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: inset 0 -130px 90px rgba(2, 17, 32, .72), var(--shadow);
}
.banner-card span, .price {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e9fbf8;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
}
.banner-card strong { margin-top: 8px; font-size: 19px; }
.banner-card p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.88); }

.mini-card, .category-tile {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}
.mini-card { padding: 8px; display: grid; gap: 5px; }
.mini-card img { width: 100%; aspect-ratio: 1.18; object-fit: cover; border-radius: 14px; }
.mini-card strong { font-size: 13px; line-height: 1.15; }
.mini-card span, .mini-card small { color: var(--muted); font-size: 11px; }

.cta-card, .tip-card, .state-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #063052, #075a64);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-card p, .tip-card p, .state-card p { margin: 4px 0 0; font-size: 13px; opacity: .82; }
.cta-card span { font-size: 28px; }
.cta-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(255,255,255,.12);
}
.cta-card button { margin-left: auto; border: 0; color: #fff; background: var(--primary); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }
.state-card { display: block; background: var(--soft); color: var(--ink); border: 1px solid var(--line); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.category-tile {
  min-height: 88px;
  padding: 12px 8px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
}
.category-tile span { font-size: 23px; }
.category-tile .lucide-icon { width: 24px; height: 24px; color: var(--primary-dark); }
.category-tile strong { font-size: 12px; line-height: 1.18; }
.category-tile.selected, .chip-row .selected, .admin-tabs .selected {
  border-color: rgba(9, 183, 159, .35);
  background: #e9fbf8;
  color: var(--primary-dark);
}

.chip-row, .tag-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
}
.chip-row button, .tag-grid button {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}
.tag-grid { flex-wrap: wrap; overflow: visible; }

.list { display: grid; gap: 12px; }
.place-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.place-card.compact { grid-template-columns: 72px 1fr 24px; }
.place-card img { width: 86px; height: 86px; object-fit: cover; border-radius: 14px; }
.place-card.compact img { width: 72px; height: 72px; }
.place-card strong { display: block; font-size: 14px; line-height: 1.2; }
.place-card p { margin: 4px 0; color: var(--muted); font-size: 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; color: #344054; font-size: 12px; margin-bottom: 5px; }
.status { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; font-size: 11px; font-weight: 850; }
.status .lucide-icon { width: 13px; height: 13px; }
.status.open { color: var(--primary-dark); }
.status.closed { color: var(--danger); }
.source-chip {
  display: inline-flex;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.source-link {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 9px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 850;
}
.chevron { border: 0; background: transparent; color: var(--primary); font-size: 26px; display: grid; place-items: center; }

.detail-screen {
  min-height: 100dvh;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  background: #fff;
}
.cover {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.35));
}
.floating { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.detail-card {
  position: relative;
  margin-top: -26px;
  padding: 20px 16px calc(94px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: #fff;
}
.detail-head { display: flex; justify-content: space-between; gap: 12px; }
.detail-head h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.05; }
.detail-head p, .detail-card p { color: var(--muted); line-height: 1.45; }
.save.saved { color: #fff; background: var(--primary); border-color: var(--primary); }
.rating-line { display: flex; gap: 10px; margin: 10px 0; font-size: 13px; font-weight: 800; }
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.quick-actions a {
  min-height: 70px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.quick-actions a .lucide-icon { color: var(--primary-dark); width: 22px; height: 22px; }
.quick-actions span { font-size: 11px; font-weight: 800; }
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 14px -16px 6px;
  padding: 0 16px 10px;
}
.tabs a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 850;
}
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.info-list { display: grid; gap: 8px; }
.info-list p { margin: 0; padding: 12px; border-radius: 14px; background: var(--soft); color: var(--ink); font-size: 13px; }
.info-list .lucide-icon { width: 16px; height: 16px; color: var(--primary-dark); }
.review-form, .admin-form { display: grid; gap: 10px; }
.review-form input, .review-form textarea, .review-form select,
.admin-form input, .admin-form textarea, .admin-form select,
.admin-login input,
.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  background: #fff;
  outline: 0;
}
.review-form textarea, .admin-form textarea { min-height: 88px; resize: vertical; }
.review-form button, .primary {
  border: 0;
  border-radius: 14px;
  min-height: 46px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}
.reviews article { margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }

.map-canvas {
  position: relative;
  height: min(62dvh, 560px);
  min-height: 420px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(8,33,61,.04) 1px, transparent 1px) 0 0/42px 42px,
    linear-gradient(rgba(8,33,61,.04) 1px, transparent 1px) 0 0/42px 42px,
    #f4f7ef;
}
.map-canvas.real-map {
  background: #edf5f0;
  isolation: isolate;
}
.map-canvas .leaflet-container,
.map-canvas .leaflet-pane,
.map-canvas .leaflet-map-pane {
  border-radius: 22px;
}
.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 850;
  font-size: 13px;
  background: #f4f7ef;
}
.taonde-map-pin {
  display: grid;
  place-items: center;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 10px;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(8, 33, 61, .22);
  transform: rotate(-45deg);
}
.taonde-map-pin span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
  font-size: 19px;
}
.taonde-map-pin .lucide-icon { width: 20px; height: 20px; color: #fff; }
.leaflet-popup-content {
  color: var(--ink);
  font-family: inherit;
}
.road, .river { position: absolute; border-radius: 999px; transform-origin: center; }
.road { background: #fff; box-shadow: 0 0 0 1px #e4e8e4; }
.r1 { width: 130%; height: 22px; left: -20%; top: 35%; transform: rotate(-24deg); }
.r2 { width: 120%; height: 18px; left: -10%; top: 64%; transform: rotate(18deg); }
.river { width: 80px; height: 140%; right: 12%; top: -15%; background: rgba(64, 164, 221, .28); transform: rotate(22deg); }
.pin {
  position: absolute;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  background: var(--primary);
  box-shadow: var(--shadow);
}
.you {
  position: absolute;
  left: 52%;
  top: 54%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #1677ff;
  border-radius: 50%;
  background: rgba(22,119,255,.16);
}
.map-sheet {
  margin-top: -64px;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.event-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 33, 61, .05);
}
.event-card.large { display: block; padding: 0; overflow: hidden; }
.event-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.event-card.large img { width: 100%; height: 190px; border-radius: 0; }
.event-card.large div { padding: 14px; }
.event-card time { display: block; color: var(--primary-dark); font-size: 12px; font-weight: 900; margin-bottom: 5px; }
.event-card strong { font-size: 15px; }
.event-card p { margin: 5px 0 8px; color: var(--muted); font-size: 12px; }

.recent-list, .menu-list, .notification-list { display: grid; gap: 8px; }
.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 4px 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f8fbfb);
  box-shadow: var(--shadow-soft);
}
.profile-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0b8fb8);
  font-size: 24px;
  font-weight: 950;
}
.profile-card h1 { margin: 0 0 2px; font-size: 22px; }
.profile-card small { color: var(--muted); }
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.action-grid button {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 14px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}
.action-grid span:first-child {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 15px;
  background: #e9fbf8;
  color: var(--primary-dark);
}
.action-grid strong { display: block; font-size: 14px; }
.action-grid small { display: block; margin-top: 4px; color: var(--muted); }
.recent-list button, .menu-list button {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 10px 12px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}
.menu-list button { grid-template-columns: auto 1fr; }
.menu-list span:first-child, .recent-list span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e9fbf8;
  color: var(--primary-dark);
}
.store-symbols {
  display: inline-flex !important;
  gap: 2px;
}
.store-symbols .lucide-icon { width: 17px; height: 17px; }
.menu-list small { color: var(--muted); }
.compact-menu button { min-height: 60px; }
.notification-list article {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 33, 61, .04);
}
.notification-list article.unread {
  border-color: rgba(9, 183, 159, .36);
  background: #f0fffc;
}
.notification-list p {
  margin: 3px 0 5px;
  color: var(--muted);
  font-size: 13px;
}
.notification-list small { color: var(--muted); font-size: 11px; }

.auth-screen {
  display: grid;
  align-items: center;
}
.auth-card,
.admin-login {
  margin-top: 10dvh;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.auth-card { margin-top: 0; }
.auth-card h1, .admin-login h1, .admin-head h1 { margin: 0; }
.auth-card p, .admin-login p { margin: 0; color: var(--muted); line-height: 1.45; }
.auth-mark, .admin-login-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0b8fb8);
  box-shadow: 0 14px 28px rgba(9,183,159,.22);
}
.auth-mark .lucide-icon, .admin-login-mark .lucide-icon { width: 28px; height: 28px; }
.eyebrow {
  margin: 0 0 4px !important;
  color: var(--primary-dark) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.auth-form, .social-auth { display: grid; gap: 10px; }
.social-auth { grid-template-columns: 1fr 1fr; }
.social-auth button, .link-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}
.link-button { background: transparent; color: var(--primary-dark); border: 0; }
.admin-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.admin-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.admin-head button, .admin-list button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 800;
}
.admin-list button.danger { color: var(--danger); }
.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 16px 0;
}
.admin-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 4px;
}
.admin-quick-actions button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.admin-quick-actions .primary {
  border: 0;
  background: var(--primary);
  color: #fff;
}
.admin-tabs button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 12px;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 850;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.metric-grid article, .admin-panel {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.metric-grid article .lucide-icon { color: var(--primary-dark); width: 21px; height: 21px; }
.metric-grid strong { display: block; font-size: 28px; color: var(--primary-dark); }
.metric-grid span { color: var(--muted); font-size: 12px; }
.admin-panel { margin-top: 14px; }
.admin-panel h2 { margin: 0 0 12px; font-size: 17px; display: flex; align-items: center; gap: 7px; }
.admin-list { display: grid; gap: 9px; }
.admin-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.admin-list article button {
  grid-column: span 1;
}
.admin-list article > span:first-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  border-radius: 13px;
  background: #e9fbf8;
}
.admin-list small { display: block; color: var(--muted); margin-top: 3px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

body:not(.location-fallback) .location-note { display: none; }

@media (min-width: 481px) {
  body { padding: 18px 0; }
  .app-shell { border-radius: 30px; min-height: calc(100dvh - 36px); }
  .bottom-nav { bottom: 18px; border-radius: 0 0 30px 30px; }
  .topbar { border-radius: 30px 30px 0 0; }
}

@media (min-width: 760px) {
  .app-shell, .topbar, .bottom-nav { max-width: 720px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .banner-row { grid-auto-columns: 56%; }
  .mini-row { grid-auto-columns: 28%; }
  .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-card { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 360px) {
  .screen { padding-left: 12px; padding-right: 12px; }
  .category-grid { gap: 8px; }
  .category-tile { min-height: 78px; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .place-card { grid-template-columns: 74px 1fr 20px; }
  .place-card img { width: 74px; height: 74px; }
  .admin-list article { grid-template-columns: auto minmax(0, 1fr); }
  .admin-list button { width: 100%; }
  .social-auth, .form-grid, .action-grid { grid-template-columns: 1fr; }
}
