:root {
  --ink: #1f2528;
  --muted: #69737c;
  --subtle: #f4f6f3;
  --paper: #ffffff;
  --panel: #fbfcf8;
  --line: #dde2db;
  --line-strong: #c7d0c6;
  --primary: #0b735f;
  --primary-dark: #064d43;
  --coral: #c94c39;
  --gold: #e8a72d;
  --blue: #246b8f;
  --success: #15724f;
  --danger: #a83f37;
  --shadow: 0 18px 45px rgba(31, 37, 40, .12);
  --shadow-soft: 0 10px 26px rgba(31, 37, 40, .08);
  --radius: 8px;
  --header: 74px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--subtle);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  stroke-width: 2.2;
}

.icon-lg {
  width: 1.4em;
  height: 1.4em;
}

.icon-xl {
  width: 28px;
  height: 28px;
}

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

button,
.button,
.button-primary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

button:hover,
.button:hover,
.button-primary:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.button-primary:hover {
  color: #fff;
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.panel-cta {
  min-height: 52px;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  background:
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: rgba(6, 77, 67, .8);
  box-shadow: 0 16px 30px rgba(6, 77, 67, .24);
  font-weight: 900;
}

.panel-cta:hover {
  background:
    linear-gradient(135deg, var(--primary-dark), #123d35);
  box-shadow: 0 20px 36px rgba(6, 77, 67, .3);
}

.panel-cta-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--primary-dark);
  background: #fff;
  border-radius: var(--radius);
}

.panel-cta-icon .icon {
  width: 20px;
  height: 20px;
}

.panel-cta-label {
  display: grid;
  line-height: 1.15;
  text-align: left;
}

.panel-cta-label small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .74);
  font-size: 11px;
  font-weight: 800;
}

.button-small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 13px;
}

.button-danger {
  color: var(--danger);
  background: #fff7f5;
  border-color: rgba(168, 63, 55, .3);
}

.login-cta {
  color: var(--primary-dark);
  background: rgba(11, 115, 95, .08);
  border-color: rgba(11, 115, 95, .22);
  box-shadow: none;
  font-weight: 900;
}

.login-cta:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.login-cta-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
}

.login-cta:hover .login-cta-icon {
  color: var(--primary);
  background: #fff;
}

.auth-submit {
  min-height: 48px;
  background: #123d35;
  border-color: #123d35;
  box-shadow: 0 12px 24px rgba(18, 61, 53, .18);
  font-weight: 900;
}

.auth-submit:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 14px 28px rgba(11, 115, 95, .22);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 115, 95, .14);
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: .95;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(27px, 3.3vw, 42px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

p {
  margin-bottom: 14px;
}

.muted {
  color: var(--muted);
}

.container {
  width: min(1180px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  max-width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(221, 226, 219, .9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: var(--header);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(11, 115, 95, .24);
  font-size: 13px;
}

.brand-mark .icon {
  width: 22px;
  height: 22px;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(11, 115, 95, .09);
}

.menu-toggle {
  display: none;
  width: 42px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.page {
  display: none;
  max-width: 100%;
  min-height: calc(100vh - var(--header));
  background: var(--subtle);
}

.page.active {
  display: block;
}

.hero {
  display: grid;
  min-height: min(720px, calc(100svh - var(--header) - 32px));
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 30, 26, .88) 0%, rgba(9, 30, 26, .7) 46%, rgba(9, 30, 26, .28) 100%),
    linear-gradient(0deg, rgba(9, 30, 26, .58), rgba(9, 30, 26, .12)),
    url("images/homepage-bg.png") center / cover no-repeat;
}

.hero-content {
  display: grid;
  gap: 28px;
  padding: clamp(80px, 10vw, 130px) 0 34px;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 10px;
  color: #17362f;
  background: rgba(255, 255, 255, .85);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 2.2vw, 21px);
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto auto;
  gap: 8px;
  width: min(920px, 100%);
  padding: 8px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-bar input,
.search-bar select {
  border-color: transparent;
  background: #fff;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.hero-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: rgba(12, 27, 24, .32);
}

.hero-stat .stat-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #17362f;
  background: rgba(255, 255, 255, .85);
  border-radius: var(--radius);
}

.hero-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.page-section {
  padding: clamp(52px, 7vw, 82px) 0;
}

.page-section.compact {
  padding: 38px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-header p {
  max-width: 620px;
  margin-bottom: 0;
}

.category-grid,
.card-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  position: relative;
  display: grid;
  min-height: 148px;
  align-content: space-between;
  padding: 18px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.category-card:hover {
  border-color: rgba(11, 115, 95, .45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-card::after {
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 110px;
  height: 110px;
  background: rgba(11, 115, 95, .1);
  border-radius: 50%;
  content: "";
}

.category-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
}

.category-icon .icon {
  width: 23px;
  height: 23px;
}

.category-card:nth-child(2) .category-icon {
  background: var(--coral);
}

.category-card:nth-child(3) .category-icon {
  background: var(--blue);
}

.category-card:nth-child(4) .category-icon {
  color: #2d2312;
  background: var(--gold);
}

.category-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  font-size: 20px;
}

.featured-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.culinary-card,
.list-card,
.panel,
.filter-panel,
.dashboard-panel,
.stat-card,
.auth-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.culinary-card {
  overflow: hidden;
}

.text-card {
  display: block;
}

.place-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.place-type-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
}

.place-type-icon .icon {
  width: 23px;
  height: 23px;
}

.card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #dfe4df;
}

.list-card .card-media {
  height: 220px;
}

.card-media img,
.detail-cover img,
.auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(14, 26, 23, .72);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.card-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.card-topline,
.panel-title-row,
.toolbar,
.detail-title-row,
.dashboard-heading,
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-topline h3,
.panel-title-row h3,
.dashboard-heading h2,
.dashboard-heading p {
  margin-bottom: 0;
}

.panel-title-row h3,
.filter-panel h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rating,
.status-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 900;
  white-space: normal;
  overflow-wrap: anywhere;
}

.rating::before {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.badge,
.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  color: #23413a;
  background: rgba(11, 115, 95, .1);
  border: 1px solid rgba(11, 115, 95, .16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.badge {
  white-space: nowrap;
}

.tag {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
  text-align: left;
}

.card-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.card-address .icon {
  margin-top: 2px;
  color: var(--primary);
}

.card-food-type {
  flex: 1 1 170px;
  color: var(--success);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.tag-coral {
  color: #672b23;
  background: rgba(201, 76, 57, .1);
  border-color: rgba(201, 76, 57, .2);
}

.tag-blue {
  color: #16394c;
  background: rgba(36, 107, 143, .1);
  border-color: rgba(36, 107, 143, .2);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-meta .check-option {
  margin: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 2px;
}

.card-title-link {
  color: inherit;
  text-decoration: none;
}

.card-title-link:hover {
  color: var(--primary);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.map-mini-button {
  color: #fff;
  background: #16394c;
  border-color: #16394c;
}

.map-mini-button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.dark-breadcrumbs {
  color: var(--muted);
}

.dark-breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.compact-card {
  grid-template-columns: 160px minmax(0, 1fr);
}

.compact-card .card-media {
  min-height: 160px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-number {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: var(--radius);
  font-weight: 900;
}

.page-banner {
  padding: 42px 0;
  color: #fff;
  background:
    radial-gradient(circle at 16% 40%, rgba(232, 167, 45, .2), transparent 30%),
    linear-gradient(135deg, rgba(11, 115, 95, .98), rgba(36, 107, 143, .92));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs.dark-breadcrumbs {
  color: var(--muted);
}

.breadcrumbs.dark-breadcrumbs a {
  color: var(--primary);
}

.page-banner h2,
.page-banner p {
  max-width: 720px;
}

.page-banner p {
  color: rgba(255, 255, 255, .84);
  margin-bottom: 0;
}

.listing-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.filter-panel {
  position: sticky;
  top: calc(var(--header) + 18px);
  padding: 18px;
}

.filter-panel h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  margin-bottom: 17px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  color: var(--muted);
  font-weight: 700;
}

.check-option input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
}

.filter-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.filter-reset {
  min-width: 96px;
}

.toolbar {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toolbar-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.toolbar select {
  width: 210px;
}

.list-cards {
  display: grid;
  gap: 16px;
}

.list-card {
  display: block;
  overflow: hidden;
}

.list-card .card-media {
  height: 220px;
  min-height: 220px;
}

.empty-state {
  display: none;
  padding: 28px;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-panel {
  display: grid;
  gap: 14px;
  padding: clamp(28px, 5vw, 46px);
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-panel h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--ink);
  font-size: 24px;
}

.empty-panel > .icon,
.empty-panel h3 .icon {
  color: var(--primary);
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.alert {
  margin-bottom: 16px;
  padding: 13px 14px;
  color: #23413a;
  background: rgba(11, 115, 95, .1);
  border: 1px solid rgba(11, 115, 95, .18);
  border-radius: var(--radius);
  font-weight: 800;
}

.alert-error {
  color: #672b23;
  background: rgba(201, 76, 57, .1);
  border-color: rgba(201, 76, 57, .2);
}

.place-form {
  display: grid;
  gap: 16px;
}

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

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

.form-help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.field-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.field-title-row label {
  margin: 0;
}

.current-image {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.current-image img {
  width: min(320px, 100%);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-editor {
  display: grid;
  gap: 10px;
}

.menu-editor-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(110px, .7fr) minmax(160px, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-editor-row label {
  font-size: 12px;
}

.location-preview {
  display: grid;
  min-height: 220px;
  align-content: end;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(35deg, transparent 48%, rgba(36, 107, 143, .34) 49%, rgba(36, 107, 143, .34) 51%, transparent 52%),
    linear-gradient(125deg, transparent 46%, rgba(11, 115, 95, .28) 47%, rgba(11, 115, 95, .28) 50%, transparent 51%),
    radial-gradient(circle at 62% 42%, var(--coral) 0 7px, transparent 8px),
    #eaf0ed;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.location-preview strong,
.location-preview span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  color: #fff;
  background: rgba(14, 26, 23, .72);
  border-radius: 999px;
}

.location-preview span {
  margin-top: 8px;
  font-size: 12px;
}

.bottom-nav {
  display: none;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.pagination span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.pagination .current {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.detail-cover {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 12px;
  overflow: hidden;
  border-radius: var(--radius);
}

.detail-cover-main,
.detail-cover-side {
  min-height: 360px;
  overflow: hidden;
  background: #dfe4df;
}

.detail-cover-side {
  display: grid;
  gap: 12px;
  background: transparent;
}

.detail-cover-side div {
  min-height: 174px;
  overflow: hidden;
  background: #dfe4df;
}

.detail-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 86% 20%, rgba(11, 115, 95, .12), transparent 30%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.detail-photo {
  height: min(460px, 52vw);
  min-height: 240px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #dfe4df;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 12px;
}

.detail-icon .icon {
  width: 34px;
  height: 34px;
}

.detail-identity-copy h2 {
  margin-bottom: 8px;
}

.detail-identity-copy p {
  max-width: 780px;
}

.detail-title-row {
  align-items: flex-start;
  margin: 28px 0 22px;
}

.rating-panel {
  min-width: 180px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: right;
  box-shadow: var(--shadow-soft);
}

.rating-panel .rating {
  justify-content: flex-end;
  font-size: 26px;
}

.view-count {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--primary);
  font-size: 26px;
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 22px;
}

.panel {
  padding: 20px;
  margin-bottom: 18px;
}

.menu-list,
.info-list,
.review-list,
.activity-list {
  display: grid;
  gap: 12px;
}

.menu-item,
.info-row,
.review-item,
.activity-item {
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-item,
.info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.menu-item span,
.info-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.menu-price {
  color: var(--primary);
  font-weight: 900;
  white-space: nowrap;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.review-head strong {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-panel {
  min-height: 200px;
  margin: 16px 0 12px;
  overflow: hidden;
  background:
    linear-gradient(35deg, transparent 48%, rgba(36, 107, 143, .34) 49%, rgba(36, 107, 143, .34) 51%, transparent 52%),
    linear-gradient(125deg, transparent 46%, rgba(11, 115, 95, .28) 47%, rgba(11, 115, 95, .28) 50%, transparent 51%),
    radial-gradient(circle at 62% 42%, var(--coral) 0 7px, transparent 8px),
    #eaf0ed;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-panel span {
  display: inline-flex;
  margin: 18px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(14, 26, 23, .72);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.map-cta {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 13px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), #16394c);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(11, 115, 95, .2);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.map-cta:hover {
  color: #fff;
  box-shadow: 0 18px 34px rgba(11, 115, 95, .26);
  transform: translateY(-1px);
}

.map-cta-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: #16394c;
  background: #fff;
  border-radius: var(--radius);
}

.map-cta-icon .icon {
  width: 23px;
  height: 23px;
}

.map-cta strong,
.map-cta small {
  display: block;
}

.map-cta strong {
  font-size: 15px;
}

.map-cta small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 800;
}

.auth-page {
  display: grid;
  max-width: 100%;
  min-height: calc(100vh - var(--header));
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  background: #fff;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 22% 22%, rgba(232, 167, 45, .2), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(36, 107, 143, .26), transparent 32%),
    #12231f;
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 35, 31, .94), rgba(18, 35, 31, .46));
  content: "";
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100%;
  align-content: end;
  padding: 64px;
}

.auth-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  place-items: center;
  color: #14352f;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.auth-mark .icon {
  width: 36px;
  height: 36px;
}

.auth-visual-content h1 {
  font-size: clamp(38px, 6vw, 68px);
}

.auth-visual-content p {
  max-width: 540px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.auth-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.auth-highlights span {
  padding: 7px 10px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-weight: 800;
}

.auth-form-wrap {
  display: grid;
  place-items: center;
  padding: 46px 30px;
}

.auth-form {
  width: min(420px, 100%);
  padding: 26px;
}

.auth-form .breadcrumbs {
  color: var(--muted);
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.form-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 700;
}

.form-row input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--primary);
}

.auth-form .button-primary {
  width: 100%;
}

.auth-note {
  margin-top: 18px;
  padding: 13px;
  color: #23413a;
  background: rgba(11, 115, 95, .08);
  border: 1px solid rgba(11, 115, 95, .14);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.auth-switch {
  margin: 18px 0 0;
  text-align: center;
}

.auth-switch a {
  color: var(--primary);
  font-weight: 900;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 20px;
}

.profile-card,
.profile-note {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.profile-card {
  display: grid;
  gap: 20px;
}

.profile-avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  border-radius: 50%;
}

.profile-avatar .icon {
  width: 34px;
  height: 34px;
}

.profile-summary h3 {
  margin: 10px 0 2px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
}

.profile-summary p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.profile-meta div {
  padding: 14px;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-meta span,
.profile-meta strong {
  display: block;
}

.profile-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-meta strong {
  margin-top: 4px;
  font-size: 18px;
}

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

.profile-actions form {
  margin: 0;
}

.profile-note {
  display: grid;
  gap: 14px;
}

.profile-note h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.profile-note p {
  margin: 0;
  color: var(--muted);
}

.dashboard-shell {
  display: grid;
  max-width: 100%;
  min-height: calc(100vh - var(--header));
  grid-template-columns: 260px minmax(0, 1fr);
  background: #eef2ef;
}

.admin-dashboard .dashboard-sidebar {
  background: #17283a;
}

.dashboard-sidebar {
  padding: 22px 16px;
  color: #fff;
  background: #132c27;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
}

.sidebar-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: #132c27;
  background: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.sidebar-profile strong,
.sidebar-profile span {
  display: block;
}

.sidebar-profile span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.dashboard-nav {
  display: grid;
  gap: 6px;
}

.dashboard-nav form {
  margin: 0;
}

.dashboard-nav a,
.dashboard-nav button {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 11px 12px;
  color: rgba(255, 255, 255, .76);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
  font-weight: 800;
  text-decoration: none;
  white-space: normal;
}

.dashboard-nav a.active,
.dashboard-nav a:hover,
.dashboard-nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.dashboard-main {
  min-width: 0;
  padding: 28px;
  overflow-x: hidden;
}

.dashboard-heading {
  align-items: flex-start;
  margin-bottom: 22px;
}

.dashboard-eyebrow {
  color: var(--primary-dark);
  background: rgba(11, 115, 95, .1);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.stat-card {
  position: relative;
  padding: 18px;
}

.stat-card .stat-card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  place-items: center;
  color: var(--primary);
  background: rgba(11, 115, 95, .1);
  border-radius: var(--radius);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin: 6px 0;
  font-size: 32px;
  line-height: 1;
}

.trend {
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  align-items: start;
  gap: 20px;
}

.dashboard-panel {
  padding: 20px;
  overflow: hidden;
}

.dashboard-panel-wide {
  margin-top: 20px;
}

.dashboard-stack {
  display: grid;
  gap: 20px;
}

.panel-list {
  margin-top: 14px;
}

.activity-link {
  display: block;
  padding: 14px;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.activity-link:hover {
  border-color: rgba(11, 115, 95, .42);
  box-shadow: var(--shadow-soft);
}

.activity-link strong,
.activity-link span {
  display: block;
}

.activity-link span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.manager-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

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

.manager-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.manager-title {
  display: grid;
  align-items: start;
  gap: 6px;
}

.manager-thumb {
  width: 118px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.manager-card-head h3 {
  margin: 7px 0 4px;
  font-size: 20px;
}

.manager-card-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.manager-actions,
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manager-actions {
  justify-content: flex-end;
}

.inline-form,
.delete-form {
  margin: 0;
}

.delete-form {
  display: flex;
  justify-content: flex-end;
}

.manager-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manager-meta span {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-active {
  color: var(--success);
  background: rgba(21, 114, 79, .1);
  border: 1px solid rgba(21, 114, 79, .18);
}

.status-inactive {
  color: var(--danger);
  background: rgba(168, 63, 55, .1);
  border: 1px solid rgba(168, 63, 55, .18);
}

.edit-drawer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.edit-drawer summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: var(--primary-dark);
  cursor: pointer;
  font-weight: 900;
}

.edit-drawer .place-form {
  padding: 0 14px 14px;
}

.edit-drawer .location-preview {
  min-height: 150px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

td .button {
  margin: 2px;
}

.activity-item strong,
.activity-item span {
  display: block;
}

.activity-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.chart {
  display: grid;
  height: 220px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(to top, rgba(221, 226, 219, .8) 1px, transparent 1px) 0 0 / 100% 25%,
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.bar {
  display: grid;
  align-items: end;
  height: var(--value);
  min-height: 34px;
  padding: 8px 6px;
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--blue));
  border-radius: 7px 7px 0 0;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  background: #e6ece7;
  border-radius: 999px;
}

.progress-bar {
  width: var(--progress);
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.footer {
  padding: 24px 0;
  color: #dce4df;
  background: #132c27;
  text-align: center;
  font-size: 13px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  color: #fff;
  background: #172522;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .card-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .listing-layout,
  .detail-layout,
  .profile-layout,
  .dashboard-grid,
  .compact-manager-list {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 360px;
  }

  .auth-visual-content {
    padding: 44px 30px;
  }
}

@media (max-width: 820px) {
  :root {
    --header: 66px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(40px, 16vw, 64px);
  }

  .header-inner {
    min-height: var(--header);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text span {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 68px 0 26px;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .hero-strip,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .page-section {
    padding: 46px 0;
  }

  .section-header,
  .card-footer,
  .toolbar,
  .detail-title-row,
  .dashboard-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .card-grid,
  .category-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .toolbar select {
    width: 100%;
  }

  .toolbar-tags {
    justify-content: flex-start;
  }

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

  .list-card .card-media {
    height: 220px;
    min-height: 220px;
  }

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

  .detail-cover-main,
  .detail-cover-side div {
    min-height: 220px;
  }

  .detail-photo {
    height: 280px;
  }

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

  .rating-panel {
    min-width: 0;
    text-align: left;
  }

  .rating-panel .rating {
    justify-content: flex-start;
  }

  .view-count {
    justify-content: flex-start;
  }

  .compact-card {
    grid-template-columns: 1fr;
  }

  .auth-form-wrap {
    padding: 28px 14px 42px;
  }

  .auth-form {
    padding: 20px;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    padding: 14px;
  }

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

  .dashboard-main {
    padding: 18px 14px 28px;
  }

  .manager-card-head {
    flex-direction: column;
  }

  .manager-actions,
  .delete-form {
    width: 100%;
    justify-content: stretch;
  }

  .manager-actions .button,
  .manager-actions button,
  .manager-actions form,
  .delete-form button {
    width: 100%;
  }

  .menu-item,
  .info-row {
    flex-direction: column;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .menu-editor-row {
    grid-template-columns: 1fr;
  }

  .field-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions {
    justify-content: stretch;
  }

  .filter-actions {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    position: fixed;
    z-index: 70;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    display: grid;
    grid-template-columns: repeat(var(--bottom-nav-count, 4), minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .bottom-nav a {
    display: grid;
    min-width: 0;
    place-items: center;
    gap: 3px;
    padding: 8px 6px;
    color: var(--muted);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
  }

  .bottom-nav a.active,
  .bottom-nav a:hover {
    color: var(--primary);
    background: rgba(11, 115, 95, .1);
  }

  .bottom-nav strong {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: inherit;
    border-radius: 9px;
  }

  .bottom-nav .icon {
    width: 21px;
    height: 21px;
  }

  .page.active {
    padding-bottom: 92px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 14px;
  }

  .button,
  button {
    max-width: 100%;
    white-space: normal;
  }

  .search-bar button,
  .auth-form button,
  .filter-panel button,
  .filter-actions .button,
  .place-form button,
  .empty-actions .button,
  .empty-actions .button-primary,
  .dashboard-heading .button,
  .dashboard-heading .button-primary {
    width: 100%;
  }

  .empty-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .card-actions {
    display: grid;
    justify-content: stretch;
  }

  .card-actions .button {
    width: 100%;
  }

  .menu-toggle {
    width: 42px;
  }

  .category-card {
    min-height: 128px;
  }

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

  .dashboard-nav {
    grid-template-columns: 1fr;
  }

  .manager-meta {
    display: grid;
  }

  .profile-card,
  .profile-note {
    padding: 20px;
  }

  .profile-meta,
  .profile-actions {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    display: grid;
  }

  .profile-actions .button-primary,
  .profile-actions button {
    width: 100%;
  }

  table {
    min-width: 100%;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .bottom-nav {
    right: 8px;
    bottom: 8px;
    left: 8px;
    max-width: calc(100vw - 16px);
    gap: 4px;
    padding: 7px;
  }

  .bottom-nav a {
    padding: 7px 4px;
    font-size: 10px;
  }

  .bottom-nav strong {
    width: 22px;
    height: 22px;
    border-radius: 8px;
  }
}
