:root {
  --bg: #f8f1e8;
  --card: #fff8ef;
  --card-soft: #f2ebe2;
  --card-soft-strong: #e8dece;
  --primary: #c96f2b;
  --primary-dark: #a8531f;
  --secondary: #31462c;
  --green: #526845;
  --text: #2b2520;
  --muted: #7b7068;
  --border: #dec9b8;
  --danger: #b91c1c;
  --success: #365f3c;
  --warning: #f7d7c7;
  --app-shadow: 0 15px 35px rgba(64, 42, 25, 0.12);
  --glass: color-mix(in srgb, var(--bg) 88%, transparent);
  --icon-bg: #f8f0e8;
  --icon-bg-soft: #f0e9de;
  --icon-color: #59453a;
  --input-bg: #fffaf4;
  --toggle-bg: #e4ddd3;
  --surface-contrast: #ffffff;
}

body[data-theme="dark"] {
  --bg: #120f0e;
  --card: #1c1715;
  --card-soft: #241d1a;
  --card-soft-strong: #302621;
  --primary: #eb8f3e;
  --primary-dark: #c16d27;
  --secondary: #f6ddae;
  --green: #9dbe8f;
  --text: #f4eadc;
  --muted: #bda895;
  --border: #3a2d26;
  --danger: #ef4444;
  --success: #7faa76;
  --warning: #4c3125;
  --app-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --glass: color-mix(in srgb, #16110f 90%, transparent);
  --icon-bg: #261d19;
  --icon-bg-soft: #302521;
  --icon-color: #f1dfcf;
  --input-bg: #221b18;
  --toggle-bg: #2a211d;
  --surface-contrast: #2a211d;
}

body[data-theme="dark"] .hero-card .overlay,
body[data-theme="dark"] .group-hero .overlay {
  background:
    linear-gradient(180deg, rgba(12, 8, 6, 0.82) 0%, rgba(35, 23, 17, 0.38) 42%, rgba(22, 16, 14, 0.96) 100%);
}

body[data-theme="dark"] .hero-logo,
body[data-theme="dark"] .place-badge,
body[data-theme="dark"] .logo-badge,
body[data-theme="dark"] .timeline-dot {
  background: var(--surface-contrast);
}

body[data-theme="dark"] .chip.light,
body[data-theme="dark"] .group-stat,
body[data-theme="dark"] .mini-icon,
body[data-theme="dark"] .lotacao-pill,
body[data-theme="dark"] .unlock-banner,
body[data-theme="dark"] .menu-highlight,
body[data-theme="dark"] .empty-card {
  background: var(--card-soft);
  color: var(--text);
}

body[data-theme="dark"] .btn-soft {
  background: #5a3827;
  color: #f7e7da;
}

body[data-theme="dark"] .page-title {
  color: var(--secondary);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .mobile-app {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 120px),
    var(--card);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Nunito Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(235, 143, 62, 0.14), transparent 28%),
    radial-gradient(circle at 100% 18%, rgba(250, 205, 112, 0.12), transparent 26%),
    radial-gradient(circle at 100% 58%, rgba(95, 134, 84, 0.12), transparent 34%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 12px;
}

.mobile-app {
  width: min(100%, 420px);
  min-height: 100dvh;
  max-height: 100dvh;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: auto;
  position: relative;
  padding-bottom: 92px;
  box-shadow: var(--app-shadow);
}

@media (max-width: 767px) {
  .app-shell {
    padding: 0;
  }

  .mobile-app {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (min-width: 768px) {
  .mobile-app {
    border-radius: 24px;
    min-height: 860px;
    max-height: 90dvh;
  }
}

.screen-content {
  padding: 18px 18px 110px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: 16px;
}

.page-title {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(24px, 6vw, 44px);
  color: var(--secondary);
  font-family: "Baloo 2", system-ui;
  font-weight: 800;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--icon-bg);
  color: var(--icon-color);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.icon-btn.soft {
  background: var(--icon-bg-soft);
}

.icon-btn.success {
  background: var(--success);
  color: #fff;
  border-color: transparent;
}

.icon-btn.danger {
  background: var(--danger);
  color: #fff;
  border-color: transparent;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #dc2626;
  position: absolute;
  top: 7px;
  right: 8px;
  border: 1px solid #fff;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.card-soft {
  background: var(--card-soft-strong);
}

.hero-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 190px;
  margin-bottom: 16px;
}

.hero-card img,
.group-hero img,
.rest-image-wrap img,
.event-thumb,
.mini-spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card .overlay,
.group-hero .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(44, 27, 15, 0.72) 0%, rgba(79, 53, 35, 0.24) 38%, rgba(248, 243, 235, 0.95) 100%);
}

.hero-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
}

.hero-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 170px;
}

.hero-brand > div {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-brand strong {
  display: block;
  color: #fff8ef;
  font-size: 17px;
  line-height: 1.08;
  word-break: normal;
}

.hero-logo {
  width: 94px;
  height: 94px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 248, 239, 0.95);
  padding: 6px;
  box-shadow: 0 10px 24px rgba(28, 18, 12, 0.18);
}

.hero-content h2 {
  margin: 8px 0 6px;
  font-family: "Baloo 2", system-ui;
  color: var(--secondary);
  font-size: 40px;
  line-height: 0.92;
}

.hero-content p {
  margin: 0;
  font-size: 19px;
}

.hero-location {
  margin: 0 0 4px;
  letter-spacing: 0.8px;
  color: #ffd5b4;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
  white-space: normal;
}

.hero-topline .chip {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

@media (max-width: 380px) {
  .hero-topline {
    gap: 10px;
  }

  .hero-brand {
    gap: 10px;
    max-width: 142px;
  }

  .hero-logo {
    width: 82px;
    height: 82px;
  }

  .hero-brand strong {
    font-size: 15px;
  }

  .hero-location {
    font-size: 11px;
    letter-spacing: 0.6px;
  }
}

.chip {
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 11px 16px;
  background: var(--card-soft);
  color: #4b3e35;
  font-weight: 700;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
}

.chip.light {
  background: rgba(255, 255, 255, 0.87);
  margin-left: auto;
}

.chip.active,
.chip-date.active,
.chip-filter.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.filters-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
}

.scroll-x {
  overflow: auto;
  padding-bottom: 4px;
}

.scroll-x::-webkit-scrollbar {
  display: none;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.quick-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 72px;
  background: var(--card-soft);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-weight: 800;
  font-size: 18px;
  min-width: 0;
}

.quick-card span {
  font-size: clamp(18px, 4.8vw, 26px);
  line-height: 0.98;
  white-space: normal;
  overflow-wrap: anywhere;
  flex: 1;
}

.quick-card i {
  font-size: 18px;
  width: 20px;
  text-align: center;
  display: block;
}

.quick-card-primary {
  background: var(--primary);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 10px;
}

.section-head h3,
.section-title {
  margin: 0;
  font-size: 45px;
  font-family: "Baloo 2", system-ui;
  color: #2f2b27;
}

.section-head a {
  color: var(--primary);
  font-weight: 800;
}

.horizontal-cards {
  display: flex;
  gap: 12px;
  overflow: auto;
  padding-bottom: 8px;
}

.mini-spot {
  min-width: 250px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  position: relative;
}

.mini-spot img {
  height: 130px;
}

.time-pill,
.rating-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 800;
}

.mini-body {
  padding: 12px;
}

.mini-body h4 {
  margin: 0 0 4px;
  font-size: 19px;
}

.mini-body p {
  margin: 0;
  color: var(--muted);
}

.progress-highlight h4 {
  margin: 0;
  font-size: 17px;
}

.progress {
  height: 11px;
  border-radius: 999px;
  background: #eadfd3;
  margin: 10px 0;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #dd8a44);
  border-radius: inherit;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.chip-filter {
  cursor: pointer;
  position: relative;
  z-index: 4;
  touch-action: manipulation;
}

.point-card {
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.point-card h4 {
  margin: 0;
  font-size: 17px;
}

.point-card p {
  margin: 2px 0 0;
  color: var(--muted);
}

.hospedagem-card {
  align-items: stretch;
}

.hospedagem-thumb {
  width: 78px;
  min-width: 78px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.point-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.ai-tip {
  margin-top: 16px;
  background: #efd0be;
}

.ai-tip h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.fab-main {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  position: fixed;
  right: max(20px, calc((100vw - min(100%, 420px)) / 2 + 20px));
  bottom: 96px;
  z-index: 35;
  box-shadow: 0 10px 20px rgba(201, 111, 43, 0.35);
  font-size: 24px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 420px);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 8px 14px;
  z-index: 40;
  backdrop-filter: blur(14px);
}

.nav-item {
  display: grid;
  place-items: center;
  gap: 2px;
  color: #5f5045;
  font-size: 13px;
  border-radius: 12px;
  padding: 6px 4px;
}

.nav-item i {
  font-size: 18px;
}

.nav-item.active {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.auth-screen .screen-content,
.splash-screen .screen-content {
  padding-top: 0;
}

.auth-screen.mobile-app,
.splash-screen.mobile-app {
  min-height: calc(100dvh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-x: hidden;
}

.auth-wrap {
  text-align: center;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.auth-hero {
  position: relative;
  min-height: 340px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(18, 8, 5, 0.1) 0%, rgba(18, 8, 5, 0.28) 42%, rgba(18, 8, 5, 0.88) 100%),
    url("../../noite_arcoverde.jpeg") center center / cover no-repeat,
    #2a160d;
}

.auth-hero-bg,
.splash-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auth-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 8, 4, 0.42), transparent 44%, rgba(21, 8, 4, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%);
  pointer-events: none;
}

.auth-hero > * {
  position: relative;
  z-index: 1;
}

.flags-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: auto;
}

.auth-hero-copy {
  display: grid;
  justify-items: flex-start;
  gap: 8px;
  text-align: left;
}

.flag {
  width: 32px;
  height: 26px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

.c1 { background: #c96f2b; }
.c2 { background: #7d8f7a; }
.c3 { background: #e8d5c2; }
.c4 { background: #31462c; }
.c5 { background: #db9a67; }

.logo-badge {
  width: 92px;
  height: 92px;
  margin: 8px auto 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  overflow: hidden;
  background: #fff;
}

.auth-logo-badge {
  width: 86px;
  height: 86px;
  margin: 0 0 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.logo-lg {
  width: 112px;
  height: 112px;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-title,
.splash-title {
  margin: 0;
  font-family: "Baloo 2", system-ui;
  color: #fff5ea;
  font-size: 52px;
  line-height: 0.95;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.auth-title {
  font-size: 50px;
  max-width: 260px;
}

.splash-title {
  font-size: 58px;
  max-width: 310px;
}

.auth-sub {
  margin: 0;
  letter-spacing: 0;
  font-size: 13px;
  color: #ffd8bc;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.auth-card {
  text-align: left;
  padding: 18px;
  background: rgba(255, 248, 239, 0.96);
}

.auth-card-floating {
  margin-top: 0;
  position: relative;
  z-index: 2;
  border-radius: 0 0 18px 18px;
  border-top: 0;
  box-shadow: 0 22px 54px rgba(58, 34, 20, 0.14);
  backdrop-filter: blur(8px);
}

.auth-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.auth-card-head strong {
  font-family: "Baloo 2", system-ui;
  font-size: 26px;
  line-height: 1;
  color: var(--secondary);
}

.auth-card-head span {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  text-align: right;
}

.input-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #fffaf4;
  border-radius: 14px;
  padding: 13px 14px;
  margin: 6px 0 14px;
}

.input-icon input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 17px;
  color: #443831;
}

.password-toggle {
  border: 0;
  background: transparent;
  color: #8a6f5b;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

label {
  font-weight: 800;
  color: #4f4138;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-light {
  background: var(--input-bg);
  color: var(--text);
  border-color: var(--border);
}

.btn-soft {
  background: #f8d9ca;
  color: #4f3c2f;
  border-color: transparent;
}

.btn-xl {
  width: 100%;
  min-height: 54px;
  font-size: 18px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 14px;
}

.divider {
  margin: 18px 0;
  text-align: center;
  position: relative;
  font-weight: 800;
  color: #594d45;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.signup-note {
  margin: 16px 0 0;
  color: #5a4e46;
  font-weight: 700;
}

.signup-note a,
.signup-link {
  color: var(--primary);
  font-weight: 800;
  border-bottom: 2px solid #e8c8ae;
}

.icons-foot {
  margin-top: 20px;
  color: #bdc1b6;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.auth-form-page {
  padding-top: 8px;
}

.stacked-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stacked-form input,
.stacked-form select,
.stacked-form textarea {
  border: 1px solid var(--border);
  background: var(--input-bg);
  border-radius: 11px;
  padding: 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
}

input,
select,
textarea {
  background: var(--input-bg);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

.alert {
  border-radius: 11px;
  padding: 10px 12px;
  margin: 0 0 12px;
  border: 1px solid transparent;
}

.alert-danger {
  color: #7f1d1d;
  background: #fee2e2;
  border-color: #fca5a5;
}

.alert-success {
  color: #14532d;
  background: #dcfce7;
  border-color: #86efac;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.strong { font-weight: 800; }

.splash-wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0;
}

.splash-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px;
  min-height: min(760px, calc(100dvh - 48px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(17, 8, 5, 0.18) 0%, rgba(17, 8, 5, 0.1) 28%, rgba(17, 8, 5, 0.5) 58%, rgba(17, 8, 5, 0.88) 100%),
    url("../../noite_arcoverde.jpeg") center center / cover no-repeat,
    #24140e;
  box-shadow: 0 28px 70px rgba(44, 25, 15, 0.18);
}

.splash-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(90deg, rgba(19, 8, 5, 0.42), transparent 38%, rgba(19, 8, 5, 0.28));
  pointer-events: none;
}

.splash-hero > * {
  position: relative;
  z-index: 1;
}

.splash-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.splash-badge {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(35, 19, 13, 0.52);
  border: 1px solid rgba(255, 248, 239, 0.22);
  color: #fff4e6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.splash-logo {
  margin: 0;
  width: 78px;
  height: 78px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.splash-hero-copy {
  text-align: left;
  padding-top: 210px;
}

.splash-kicker {
  margin: 0 0 10px;
  color: #ffd8bc;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.splash-copy {
  color: rgba(255, 244, 232, 0.92);
  margin: 12px 0 0;
  max-width: 320px;
  font-size: 17px;
  line-height: 1.5;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.splash-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.link-inline {
  color: rgba(255, 248, 239, 0.9);
  font-weight: 800;
  text-align: center;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.footer-mini {
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #74665d;
}

.search-wrap {
  margin-bottom: 10px;
}

.toggle-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--toggle-bg);
  border-radius: 18px;
  padding: 4px;
  margin-bottom: 14px;
}

.toggle-btn {
  border: 0;
  background: transparent;
  padding: 13px 10px;
  border-radius: 14px;
  color: #544840;
  font-size: 16px;
  font-weight: 700;
}

.toggle-btn.active {
  background: var(--primary);
  color: #fff;
}

.restaurant-card {
  border: 1px solid var(--border);
  background: var(--surface-contrast);
  border-radius: 16px;
  overflow: hidden;
}

.rest-image-wrap {
  height: 190px;
  position: relative;
}

.rest-body {
  padding: 14px;
}

.rest-body h3 {
  margin: 0;
  font-size: 26px;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-tag {
  color: var(--primary);
  font-weight: 800;
}

.open-until {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.menu-highlight {
  margin-top: 10px;
  border: 2px dashed var(--primary);
  border-radius: 14px;
  padding: 10px;
  background: #fff9f3;
}

.menu-highlight .label {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 2px;
}

.menu-item {
  display: flex;
  gap: 10px;
}

.menu-item img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

.menu-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
}

.menu-item p {
  margin: 0 0 6px;
  color: #5c4f46;
}

.menu-item span {
  color: var(--primary);
  font-weight: 900;
  font-size: 28px;
}

.map-view {
  margin-top: 10px;
}

.map-mock {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(45deg, #ece2d5 25%, transparent 25%) -20px 0/40px 40px,
    linear-gradient(-45deg, #ece2d5 25%, transparent 25%) -20px 0/40px 40px,
    #f4ede4;
  height: 280px;
  position: relative;
  overflow: hidden;
}

.pin {
  position: absolute;
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.pin-1 { top: 30%; left: 20%; }
.pin-2 { top: 58%; left: 52%; background: #526845; }
.pin-3 { top: 22%; right: 12%; background: #8a5a3d; }

.hidden { display: none !important; }

.event-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  background: #fff;
}

.event-card.status-ao_vivo {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(201, 111, 43, 0.3);
}

.event-thumb {
  width: 84px;
  height: 84px;
  border-radius: 9px;
}

.event-main h4 {
  margin: 0;
  font-size: 32px;
}

.event-main p {
  margin: 4px 0;
  color: #5b4d44;
}

.row-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-pill,
.lotacao-pill {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill {
  background: #ece8de;
  color: #4d443e;
}

.lotacao-pill {
  background: #f8decf;
  color: #8a4c25;
}

.ghost-btn {
  border: 1px solid #d8c6b8;
  background: #f7f2ec;
  color: #6a5a4f;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.card-green {
  margin-top: 16px;
  background: linear-gradient(120deg, #324b32, #274128);
  color: #fff;
  border-color: transparent;
  position: relative;
}

.card-green h3 {
  margin: 0 0 6px;
  font-size: 31px;
  font-family: "Baloo 2", system-ui;
}

.flags-mini {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 4px;
}

.flags-mini span {
  width: 12px;
  height: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%);
}

.flags-mini span:nth-child(1) { background: #de8d45; }
.flags-mini span:nth-child(2) { background: #93a698; }
.flags-mini span:nth-child(3) { background: #d12b2b; }

.unlock-banner {
  background: #f0cdb8;
  margin-bottom: 14px;
}

.unlock-banner small {
  letter-spacing: 1px;
  color: #563f31;
}

.unlock-banner h3 {
  margin: 4px 0 0;
  font-size: 46px;
  font-family: "Baloo 2", system-ui;
}

.sticker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sticker-card {
  aspect-ratio: 1/1;
  border: 1px solid #cfc2b4;
  background: #e6e0d8;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: #3f332c;
}

.sticker-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-card {
  background: #d8d2cb;
  gap: 6px;
}

.upload-photo-card {
  padding: 0;
}

.album-upload-label {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
}

.album-upload-label small {
  color: var(--muted);
  font-size: 12px;
}

.upload-photo-card input[type="file"] {
  display: none;
}

.camera-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 25px;
}

.sticker-card.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(39, 35, 30, 0.35);
}

.lock {
  position: absolute;
  color: #f6ebe0;
  z-index: 2;
  font-size: 24px;
}

.album-progress {
  text-align: center;
  margin-top: 16px;
}

.album-progress h4 {
  margin: 0;
  letter-spacing: 2px;
  color: #594b42;
}

.album-progress p {
  color: var(--primary);
  font-weight: 800;
}

.album-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.album-photo-card {
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.album-photo-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.album-photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.album-photo-meta {
  padding: 10px 12px 12px;
}

.album-photo-meta strong {
  display: block;
  font-size: 14px;
}

.album-photo-meta small {
  color: var(--muted);
}

.album-photo-modal-content {
  width: min(96vw, 760px);
  max-height: 92dvh;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.album-photo-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.album-photo-modal-head h3 {
  margin: 0;
  font-size: 26px;
}

.album-photo-stage {
  position: relative;
  width: 100%;
  min-height: 58dvh;
  height: 68dvh;
  max-height: 78dvh;
  border-radius: 18px;
  overflow: hidden;
  background: color-mix(in srgb, var(--card-soft) 84%, black 16%);
}

.album-photo-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  background: color-mix(in srgb, var(--card-soft) 84%, black 16%);
}

#album-photo-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}

#album-photo-preview.hidden {
  display: none;
}

@media (max-width: 520px) {
  .album-photo-modal-content {
    width: min(96vw, 96vw);
    padding: 12px;
  }

  .album-photo-stage {
    min-height: 52dvh;
    height: 62dvh;
    max-height: 72dvh;
  }
}

.date-line {
  margin: 2px 2px 12px;
  color: #3e332d;
  font-weight: 700;
}

.roteiro-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.star-marker {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f8ded1;
  border: 1px solid var(--primary);
  color: #af5f2a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.time-title {
  margin: 0;
  color: #ab602e;
  font-weight: 900;
  font-size: 22px;
}

.roteiro-card h3 {
  margin: 4px 0;
  font-size: 24px;
}

.roteiro-card p {
  margin: 2px 0;
  color: #554940;
}

.empty-card {
  border: 2px dashed #b8a99b;
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  background: #f2ece4;
}

.empty-card i {
  font-size: 38px;
  color: #b98f72;
}

.empty-card h4 {
  margin: 10px 0 8px;
  font-size: 37px;
}

.empty-card p {
  margin: 0 0 14px;
  color: #5c524c;
}

.group-share-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.group-share-form label {
  font-weight: 800;
  color: var(--secondary);
}

.group-user-picker {
  display: grid;
  gap: 10px;
}

.group-user-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.group-user-search-wrap i {
  color: var(--primary);
}

.group-user-search-wrap input {
  border: 0;
  background: transparent;
  padding: 14px 0;
  width: 100%;
  outline: none;
}

.group-user-results {
  display: grid;
  gap: 10px;
  max-height: 232px;
  overflow: auto;
  padding-right: 4px;
}

.group-user-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 90%, var(--primary) 10%);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.group-user-option img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--primary) 55%, transparent);
  background: var(--card-soft);
}

.group-user-option span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.group-user-option strong {
  font-size: 16px;
}

.group-user-option small {
  color: var(--muted);
}

.group-user-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, var(--card)), var(--card-soft));
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border));
}

.group-user-selected-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-user-selected-copy small {
  color: var(--muted);
}

.group-share-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.group-share-grid > div {
  display: grid;
  gap: 8px;
}

@media (min-width: 380px) {
  .group-share-grid {
    grid-template-columns: 1fr 1fr;
  }

  .group-share-grid > div:nth-child(3) {
    grid-column: 1 / -1;
  }
}

.export-btn {
  margin-top: 16px;
}

.group-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.group-link-card img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.group-link-card h3 {
  margin: 0;
  font-size: 20px;
}

.group-link-card p {
  margin: 4px 0 0;
  color: #63534a;
}

.group-card {
  background: #f5f3ef;
  border: 1px solid #d9c9ba;
  border-radius: 13px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.group-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.group-card h4 {
  margin: 0;
  font-size: 20px;
}

.group-card p {
  margin: 2px 0 0;
  color: #52463f;
}

.avatars-inline {
  margin-left: auto;
  display: flex;
}

.avatars-inline img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f7f1e9;
  margin-left: -6px;
}

.vip-tag {
  position: absolute;
  left: 14px;
  bottom: 8px;
  border-radius: 8px;
  background: #c17335;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 6px;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.explore-card {
  border: 1px solid var(--primary);
  border-radius: 14px;
  min-height: 126px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--primary);
  background: #fff7ef;
  font-weight: 800;
  font-size: 17px;
}

.explore-card.filled {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.explore-card i {
  font-size: 26px;
}

.badge-soft {
  background: #f4d8d0;
  color: #733b2a;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}

.invite-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  align-items: center;
  grid-template-columns: 52px 1fr 40px 40px;
  gap: 8px;
}

.invite-card img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.invite-card h4 {
  margin: 0;
  font-size: 19px;
}

.invite-card p {
  margin: 2px 0 0;
  color: #544941;
}

.friend-near {
  display: flex;
  align-items: center;
  gap: 10px;
}

.friend-near img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.friend-near h4 {
  margin: 0;
}

.friend-near p {
  margin: 2px 0 0;
  color: #60554d;
}

.upload-card {
  border: 2px dashed #d9bca8;
  border-radius: 14px;
  background:
    linear-gradient(rgba(244, 238, 228, 0.85), rgba(244, 238, 228, 0.85)),
    url("../../noite_arcoverde.jpeg") center/cover;
  min-height: 172px;
}

.upload-card label {
  min-height: inherit;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 4px;
  padding: 16px;
}

.upload-card input {
  display: none;
}

.upload-card strong {
  color: var(--primary);
  font-size: 26px;
}

.upload-card small {
  color: #665a51;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.privacy-card {
  border: 2px solid #d4b09a;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  background: #f1ece4;
  font-weight: 800;
  color: #4f4137;
}

.privacy-card.active {
  border-color: var(--primary);
  background: #f5d2bf;
}

.friend-item {
  border: 1px solid #ddd0c3;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.friend-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.friend-info img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.friend-info h4 {
  margin: 0;
  font-size: 18px;
}

.friend-info p {
  margin: 0;
  color: #62544c;
}

.select-friend-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
}

.select-friend-btn.selected {
  background: #ddd3c7;
  color: #8b7a6d;
}

.group-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbbca8;
  height: 220px;
}

.group-hero-content {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-hero-content .vip-tag {
  position: static;
}

.avatar-plus {
  border-radius: 999px;
  background: #f7ecdf;
  color: #4f3f35;
  padding: 2px 8px;
  font-weight: 800;
  margin-left: 2px;
}

.presence-row {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 6px;
}

.presence-item {
  min-width: 78px;
  text-align: center;
  position: relative;
}

.presence-item img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  border: 1px solid #8f7d71;
  object-fit: cover;
}

.online-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #f4eee6;
  position: absolute;
  right: 7px;
  top: 46px;
}

.online-dot.on { background: #567252; }
.online-dot.off { background: #999; }

.presence-item h4 {
  margin: 4px 0 0;
  font-size: 15px;
}

.presence-item p {
  margin: 0;
  color: #5d5047;
  font-size: 12px;
}

.live-tag {
  color: #4f7248;
  font-weight: 800;
}

.timeline {
  border-left: 2px dashed #d6bfae;
  margin-left: 14px;
  padding-left: 16px;
}

.timeline-card {
  position: relative;
  margin-bottom: 16px;
}

.timeline-marker {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: #f8ede4;
  position: absolute;
  left: -22px;
  top: 22px;
}

.profile-top {
  text-align: center;
}

.avatar-xl-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.avatar-xl {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  object-fit: cover;
}

.lvl-badge {
  position: absolute;
  right: -8px;
  bottom: 4px;
  border-radius: 999px;
  background: #c5763a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
}

.profile-top h2 {
  margin: 8px 0 6px;
  font-size: 36px;
  font-family: "Baloo 2", system-ui;
}

.title-badge {
  display: inline-block;
  border-radius: 999px;
  background: #cadab5;
  color: #2f3f2d;
  padding: 4px 14px;
  font-weight: 800;
}

.cta-card h3 {
  margin: 0 0 8px;
  font-size: 44px;
  font-family: "Baloo 2", system-ui;
}

.mini-sticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.mini-sticker {
  border: 1px solid #d7c9ba;
  border-radius: 9px;
  background: #ebe3d8;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
}

.mini-sticker img {
  width: 28px;
  height: 28px;
}

.mini-sticker.off {
  opacity: 0.7;
}

.group-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-square {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #556b47;
  color: #fff;
  display: grid;
  place-items: center;
}

.group-inline h4 {
  margin: 0;
  font-size: 19px;
}

.group-inline p {
  margin: 2px 0 0;
  color: #5f5249;
}

.stats-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-box {
  text-align: center;
}

.stat-box strong {
  color: #cb6f28;
  font-size: 46px;
  font-family: "Baloo 2", system-ui;
}

.stat-box span {
  display: block;
  margin-top: -6px;
  color: #4f433a;
  font-weight: 700;
}

.logout-btn {
  margin-top: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 8, 0.55);
}

.modal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(94vw, 420px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.modal-content h3 {
  margin: 0 0 8px;
  font-family: "Baloo 2", system-ui;
  font-size: 28px;
}

.profile-edit-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-avatar-editor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.profile-avatar-preview {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  background: var(--card-soft);
}

.profile-avatar-editor input[type="file"] {
  display: none;
}

.theme-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 16px;
}

.theme-option {
  border: 1px solid var(--border);
  background: var(--card-soft);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}

.theme-option.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.voice-guide-card {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.voice-guide-card h3 {
  margin: 4px 0 8px;
}

.voice-guide-card p {
  margin: 0;
}

.voice-guide-actions {
  display: grid;
  gap: 10px;
}

[data-voice-trigger].is-playing {
  box-shadow: 0 0 0 3px rgba(201, 111, 43, 0.18);
}

.profile-edit-form label {
  display: block;
  margin: 2px 0 0;
}

.profile-edit-form input {
  width: 100%;
  box-sizing: border-box;
}

.profile-edit-form .btn {
  margin-top: 6px;
}

.admin-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.admin-menu-item {
  border: 1px solid #d8c1b0;
  border-radius: 12px;
  background: #f7f0e7;
  color: #3f352f;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
}

.admin-menu-item i {
  font-size: 18px;
  color: #c96f2b;
}

.admin-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-intro p {
  margin: 6px 0 0;
}

.admin-tab-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-tab-btn {
  border: 1px solid var(--border);
  background: var(--card-soft);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-align: left;
}

.admin-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

.admin-report-card small,
.admin-report-highlight p,
.admin-report-row small {
  color: var(--muted);
}

.admin-report-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 34px;
  line-height: 0.95;
  font-family: "Baloo 2", system-ui;
  color: var(--primary);
}

.admin-report-highlight h4,
.admin-report-columns h4,
.admin-report-table h4 {
  margin: 0 0 12px;
}

.admin-report-columns {
  display: grid;
  gap: 12px;
}

.admin-report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.admin-report-row:last-child {
  border-bottom: 0;
}

.admin-report-row-block {
  align-items: flex-start;
}

.admin-report-row-block div {
  display: grid;
  gap: 4px;
}

.admin-report-table {
  overflow-x: auto;
}

.admin-report-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.admin-report-table th,
.admin-report-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

.admin-report-table th {
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (min-width: 860px) {
  .admin-report-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .admin-report-grid {
    grid-template-columns: 1fr;
  }

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

.admin-section-head {
  margin-bottom: 12px;
}

.admin-list {
  gap: 10px;
}

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

.admin-photo-card {
  padding: 10px;
}

.admin-photo-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}

.admin-photo-copy {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}

.admin-photo-copy small {
  color: var(--muted);
}

.admin-photo-delete-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.admin-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.admin-item-media {
  width: 78px;
  min-width: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-thumb {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.admin-item-copy {
  flex: 1;
  min-width: 0;
}

.admin-item-copy h4 {
  margin: 0;
  font-size: 18px;
}

.admin-item-copy p,
.admin-item-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.admin-actions {
  display: flex;
  align-items: center;
}

.toast {
  position: fixed;
  bottom: 104px;
  left: 50%;
  transform: translateX(-50%);
  background: #33312f;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 70;
}

.install-banner {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: min(95vw, 390px);
  background: #2f4430;
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  z-index: 55;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.install-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.install-banner-copy strong {
  font-size: 15px;
}

.install-banner-copy span {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.install-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.install-banner button {
  border: 0;
  background: #d7833f;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 800;
}

.install-banner-ios {
  background: #263626;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chatbot-widget {
  position: fixed;
  right: max(18px, calc(50vw - 192px));
  bottom: 104px;
  z-index: 58;
}

.notification-widget {
  position: fixed;
  top: 78px;
  right: max(18px, calc(50vw - 192px));
  z-index: 59;
}

.notification-bell {
  position: relative;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(64, 42, 25, 0.16);
  cursor: pointer;
  font-size: 16px;
}

.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--card);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 520px) {
  .quick-card {
    min-height: 64px;
    padding: 10px 14px;
    gap: 10px;
  }

  .quick-card span {
    font-size: clamp(17px, 4.5vw, 23px);
  }
}

.notification-panel {
  width: min(360px, calc(100vw - 28px));
  max-height: min(520px, calc(100dvh - 150px));
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 24px 54px rgba(45, 30, 20, 0.24);
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--secondary);
  color: #fff;
}

.notification-header div {
  display: grid;
  gap: 2px;
}

.notification-header span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.notification-header button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.notification-list {
  max-height: 430px;
  overflow-y: auto;
  padding: 10px;
}

.notification-empty {
  margin: 0;
  padding: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.notification-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 4px;
  padding: 12px 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.notification-item:last-child {
  border-bottom: 0;
}

.notification-item:not(.is-read) {
  border-left: 3px solid var(--primary);
  background: var(--card-soft);
}

.notification-item.is-read {
  opacity: 0.68;
}

.notification-item span,
.notification-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.chatbot-fab {
  width: 58px;
  height: 58px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(108, 58, 23, 0.3);
  cursor: pointer;
  font-size: 22px;
}

.chatbot-panel {
  width: min(380px, calc(100vw - 28px));
  height: min(540px, calc(100dvh - 190px));
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 24px 54px rgba(45, 30, 20, 0.26);
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--secondary);
  color: #fff;
}

.chatbot-header div {
  display: grid;
  gap: 2px;
}

.chatbot-header span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.chatbot-close {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.chatbot-messages {
  overflow-y: auto;
  padding: 14px;
  background: var(--card-soft);
}

.chatbot-message {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.42;
  white-space: pre-wrap;
  font-size: 14px;
}

.chatbot-message.bot {
  border-bottom-left-radius: 4px;
  background: var(--card);
  color: var(--text);
}

.chatbot-message.user {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: var(--primary);
  color: #fff;
}

.chatbot-message.loading {
  color: var(--muted);
  font-style: italic;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border);
  background: var(--card);
}

.chatbot-form input {
  width: 100%;
  min-width: 0;
}

.chatbot-form button {
  width: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.admin-access-map {
  width: 100%;
  height: 420px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.admin-location-list,
.admin-chat-list,
.admin-notification-list {
  display: grid;
  gap: 10px;
}

.admin-location-item,
.admin-chat-card {
  padding: 14px;
}

.admin-location-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-location-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-location-item div,
.admin-chat-card header {
  display: grid;
  gap: 4px;
}

.admin-location-item small,
.admin-chat-card small {
  color: var(--muted);
}

.admin-chat-card header {
  margin-bottom: 12px;
}

.admin-chat-transcript {
  display: grid;
  gap: 8px;
}

.admin-chat-message {
  margin: 0;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--card-soft);
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.4;
}

.admin-chat-message.assistant {
  border-left: 3px solid var(--primary);
}

.admin-notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
}

.admin-notification-item div {
  display: grid;
  gap: 5px;
}

.admin-notification-item p,
.admin-notification-item small {
  margin: 0;
  color: var(--muted);
}

@media print {
  .bottom-nav, .fab-main, .top-bar, .export-btn, .toggle-wrap, .modal, .chatbot-widget, .notification-widget {
    display: none !important;
  }
  .mobile-app {
    width: 100%;
    box-shadow: none;
    max-height: none;
  }
  .screen-content {
    padding-bottom: 20px;
  }
}
