/* =====================================================================
   TapTrust – shared stylesheet
   Used by: index.html, categories.html, about.html, review.html, admin.html
   ===================================================================== */

:root {
  --bg: #f7f9f8;
  --card: #ffffff;
  --tint: #e9f4ef;
  --tint-soft: #edf5f3;
  --ink: #1a1f26;
  --ink-2: #4b5563;
  --ink-3: #7b8794;
  --green: #1e9d5f;
  --green-dark: #167a4a;
  --star: #f5b400;
  --line: #dfe5e2;
  --dark: #171b22;
  --danger: #c2410c;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(23, 27, 34, 0.06);
  --max: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }
button { font: inherit; }
img, svg { display: block; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------------------------------------------------------------------
   Brand / logo
   --------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}
.brand .wordmark span { color: var(--green); }
.brand svg { width: 34px; height: 34px; }
.brand.small { font-size: 22px; }
.brand.small svg { width: 26px; height: 26px; }

.tagline {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.tagline .dot { margin: 0 6px; }

/* ---------------------------------------------------------------------
   Site header (home / categories / about / admin)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 248, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hamburger {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.hamburger:hover { background: #eef2f0; }
.hamburger:active { transform: scale(.95); }
.hamburger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.hamburger .close-icon { display: none; }
.hamburger[aria-expanded="true"] .menu-icon { display: none; }
.hamburger[aria-expanded="true"] .close-icon { display: block; }

/* Menu drawer */
.menu-backdrop {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(23, 27, 34, 0.35);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.menu-backdrop.open { opacity: 1; pointer-events: auto; }

.menu-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 50;
  width: min(360px, 88vw);
  background: var(--card);
  box-shadow: -8px 0 32px rgba(23, 27, 34, 0.12);
  transform: translateX(105%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.menu-drawer.open { transform: none; }
.menu-drawer .drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.menu-drawer .drawer-section { padding: 16px 20px 6px; }
.menu-drawer h3 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.menu-drawer .drawer-links { list-style: none; }
.menu-drawer .drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.menu-drawer .drawer-links a:hover { background: var(--tint-soft); }
.menu-drawer .drawer-links a.active { background: var(--tint); color: var(--green-dark); }
.menu-drawer .drawer-links .cat-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--tint);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.menu-drawer .drawer-links .count {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   Generic layout helpers
   --------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
main.site-main { flex: 1; }

.section { padding: 56px 0; }
.section-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-lede {
  margin-top: 12px;
  max-width: 560px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s, color .15s;
}
.btn:active { transform: scale(.985); }
.btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #23282f; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: #eef2f0; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f2c6b5; }
.btn-danger:hover { background: #fff3ee; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------
   Home page
   --------------------------------------------------------------------- */
.hero {
  padding: 64px 0 40px;
}
.hero .inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero .lede {
  margin-top: 18px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}
.hero .actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .stars { margin-top: 0; margin-bottom: 18px; justify-content: flex-start; }

/* Phone-style preview card in the hero */
.phone-preview {
  justify-self: center;
  width: 100%;
  max-width: 340px;
  background: var(--card);
  border-radius: 34px;
  padding: 22px 18px 20px;
  box-shadow: 0 24px 60px rgba(23, 27, 34, 0.14);
  border: 6px solid var(--dark);
  text-align: center;
}
.phone-preview .stars { margin-top: 14px; justify-content: center; width: 100%; }
.phone-preview .stars svg { width: 22px; height: 22px; }
.phone-preview .mini-review {
  margin-top: 16px;
  background: var(--tint);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  font-size: 14.5px;
  line-height: 1.5;
}
.phone-preview .mini-btn {
  margin-top: 12px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: #f6f8f7;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.phone-preview .mini-btn.dark { background: var(--dark); color: #fff; border-color: var(--dark); border-radius: 999px; }
.phone-preview .mini-btn img { width: 18px; height: 18px; background: #fff; border-radius: 50%; padding: 2px; }

.stars { display: flex; justify-content: center; gap: 6px; }
.stars svg { width: 30px; height: 30px; fill: var(--star); }

/* Feature / steps */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.feature {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.feature .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
}
.feature .icon svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature .icon img { width: 26px; height: 26px; object-fit: contain; }
.feature strong { display: block; margin-top: 16px; font-size: 17px; font-weight: 700; }
.feature p { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

.band {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.band h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.band p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 560px; }

/* Home page category grid: always two cards per row (2 · 2 · 2) */
#homeCategories { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Category cards (home + categories page) */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.cat-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-decoration: none;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow);
  transition: border-color .15s, transform .1s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-card:hover { border-color: #bfe0cf; }
.cat-card:active { transform: scale(.985); }
.cat-card.active { border-color: var(--green); background: var(--tint-soft); }
.cat-card .cat-emoji {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.cat-card strong { font-size: 16px; font-weight: 700; }
.cat-card span { font-size: 13px; color: var(--ink-3); font-weight: 500; }

/* Back link + hidden views (categories page) */
[hidden] { display: none !important; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 18px;
  font-size: 14px; font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
}
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-link:hover { color: var(--green); }

/* Business list (categories page) */
.biz-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.biz-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biz-card .biz-cat { font-size: 12.5px; color: var(--green); font-weight: 700; }
.biz-card h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.biz-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.biz-card .biz-meta { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.biz-card .btn { margin-top: auto; align-self: flex-start; }

.empty {
  margin-top: 24px;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1.5px dashed var(--line);
  text-align: center;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.empty strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ---------------------------------------------------------------------
   About page
   --------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.prose p { margin-top: 14px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.prose p:first-child { margin-top: 0; }
.prose h2 { margin-top: 36px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.prose ul { margin-top: 12px; padding-left: 20px; color: var(--ink-2); line-height: 1.65; font-size: 16px; }
.prose li + li { margin-top: 6px; }

.stat-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.stat-card + .stat-card { margin-top: 14px; }
.stat-card strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--green); }
.stat-card span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }

/* ---------------------------------------------------------------------
   Site footer (home / categories / about)
   --------------------------------------------------------------------- */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, var(--bg) 0%, #eef5f2 100%);
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
  padding: 48px 0 32px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.site-footer p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; max-width: 380px; }
.site-footer h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.site-footer a:hover { color: var(--green-dark); }
.site-footer .bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

/* Social icon rows */
.social {
  display: grid;
  grid-template-columns: repeat(auto-fill, 40px);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.social li,
.site-footer .social li + li { margin: 0; }
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
}
.social a:hover { background: var(--tint); color: var(--green-dark); border-color: #bfe0cf; }
.social i { font-size: 17px; line-height: 1; }
.social.tiny { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.social.tiny a { width: 30px; height: 30px; }
.social.tiny i { font-size: 13px; }

/* ---------------------------------------------------------------------
   Review page (main page) – matches the original index.html
   --------------------------------------------------------------------- */
body.review-body { align-items: center; }
.page {
  width: 100%;
  max-width: 480px;
  padding: 28px 20px 0;
  text-align: center;
  flex: 1;
}
.page .stars { margin-top: 40px; }
.page h1 {
  margin-top: 16px;
  font-size: clamp(34px, 9vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page .lede {
  margin: 14px auto 0;
  max-width: 320px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}
.biz-name {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
}
.biz-name svg { width: 16px; height: 16px; fill: currentColor; }

.review-card {
  margin-top: 30px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow);
  text-align: left;
}
.review-card .head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.review-card .head .title {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green);
}
.review-card .head svg { width: 20px; height: 20px; fill: var(--green); }
.counter { font-size: 12.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }

.slider { margin-top: 16px; position: relative; }
.track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--radius-md);
  background: var(--tint);
}
.track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 22px 22px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
  display: flex; align-items: center; justify-content: center;
  min-height: 168px;
}
.slide blockquote { margin: 0; }

.controls { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
}
.nav-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn:hover { background: #eef2f0; }
.nav-btn:active { transform: scale(.95); }

.dots { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.dot-btn {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: #c9d6cf; cursor: pointer;
  transition: background .15s, transform .15s;
}
.dot-btn.active { background: var(--green); transform: scale(1.35); }

.copy-btn {
  margin-top: 18px;
  width: 100%;
  min-height: 60px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f6f8f7;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.copy-btn svg { width: 22px; height: 22px; }
.copy-btn:hover { background: #eef2f0; }
.copy-btn:active { transform: scale(.985); }
.copy-btn.is-copied { background: var(--tint); border-color: #bfe0cf; color: var(--green-dark); }

.copy-status {
  margin-top: 14px;
  min-height: 22px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--green);
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.copy-status.show { opacity: 1; transform: none; }
.copy-status.error { color: var(--danger); }
.copy-status svg { width: 20px; height: 20px; }

.google-btn {
  margin-top: 30px;
  width: 100%;
  min-height: 64px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  padding: 0 18px;
  font-size: 17.5px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: background .15s, transform .1s;
}
.google-btn:hover { background: #23282f; }
.google-btn:active { transform: scale(.985); }
.google-btn .g {
  width: 30px; height: 30px; border-radius: 50%; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.google-btn .g img { width: 20px; height: 20px; object-fit: contain; }
.google-btn svg { width: 22px; height: 22px; }
.google-btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.hint { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); }

.review-footer {
  margin-top: 40px;
  width: 100%;
  padding: 22px 20px 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  text-align: center;
}
.review-footer .home-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-decoration: none;
  font-weight: 600;
}
.review-footer .home-link:hover { color: var(--green-dark); }

/* Not-found state on review page */
.not-found { margin-top: 40px; }
.not-found .btn { margin-top: 20px; }

/* ---------------------------------------------------------------------
   Admin
   --------------------------------------------------------------------- */
.admin-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0 64px;
}
.panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.panel h2 + p, .panel-note { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.login-box { max-width: 420px; margin: 64px auto; }
.login-box .brand { margin-bottom: 20px; }

.field { margin-top: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field .help { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s;
}
.field textarea { min-height: 150px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,157,95,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-top: 16px; }

.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-actions .spacer { flex: 1; }

.admin-list { list-style: none; margin-top: 12px; }
.admin-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.admin-list li:hover { background: var(--tint-soft); }
.admin-list li.active { background: var(--tint); }
.admin-list .li-icon {
  width: 34px; height: 34px; border-radius: 10px; background: var(--tint);
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0;
}
.admin-list .li-text { min-width: 0; flex: 1; }
.admin-list .li-text strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-list .li-text span { font-size: 12px; color: var(--ink-3); }
.admin-list .li-count { font-size: 12px; color: var(--ink-3); font-weight: 600; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 12px;
  border-radius: 999px;
  background: var(--tint);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
}
.chip button {
  border: 0; background: transparent; cursor: pointer; color: inherit;
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.chip button:hover { background: rgba(30,157,95,.15); }

.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 12px);
  background: var(--dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 60;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
  background: var(--tint); color: var(--green-dark);
}
.status-pill.local { background: #fff4d6; color: #8a5a00; border-radius: 14px; line-height: 1.4; max-width: 100%; }
.status-pill::before { flex: none; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.review-editor { margin-top: 12px; }
.review-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 10px;
}
.review-item textarea { min-height: 80px; }
.review-item .icon-btn {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.review-item .icon-btn:hover { background: #fff3ee; color: var(--danger); border-color: #f2c6b5; }
.review-item .icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero .inner { grid-template-columns: 1fr; gap: 36px; }
  .phone-preview { max-width: 320px; }
  .features { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 24px; }
  .section { padding: 40px 0; }
  .site-footer .grid { grid-template-columns: 1fr; gap: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .brand { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .track { scroll-behavior: auto; }
}
