:root {
  --ink: #10272b;
  --muted: #6a7b7d;
  --line: rgba(25, 74, 79, 0.16);
  --soft: #f4f0e7;
  --surface: rgba(255, 255, 255, 0.88);
  --aqua: #087e86;
  --aqua-dark: #064f55;
  --lagoon: #38bcc2;
  --blue: #2d6684;
  --green: #557b5d;
  --coral: #c56a55;
  --gold: #b8893a;
  --sand: #e9ddc8;
  --pearl: #fffaf0;
  --shadow: 0 24px 70px rgba(13, 50, 56, 0.16);
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressGlow {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.18);
  }

  100% {
    filter: brightness(1);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(244, 240, 231, 0.9), rgba(228, 240, 237, 0.84)),
    radial-gradient(circle at 10% 0%, rgba(255, 211, 145, 0.34), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(56, 188, 194, 0.28), transparent 32%),
    var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

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

.site-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 22px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 13px 18px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(19, 72, 78, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--aqua-dark), var(--lagoon));
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 24px rgba(8, 126, 134, 0.24);
}

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

.brand span {
  color: var(--muted);
  font-size: 13px;
}

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

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(8, 126, 134, 0.08);
}

.nav a.active {
  color: var(--aqua-dark);
  background: rgba(56, 188, 194, 0.18);
}

.lang-toggle {
  min-width: 58px;
  height: 36px;
  border: 1px solid rgba(8, 126, 134, 0.28);
  border-radius: 999px;
  color: var(--aqua-dark);
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(209, 241, 239, 0.86));
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(8, 126, 134, 0.12);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 126, 134, 0.48);
  background: #f1faf9;
}

.account-chip {
  min-height: 36px;
  max-width: 150px;
  padding: 8px 12px;
  border: 1px solid rgba(197, 106, 85, 0.28);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(197, 106, 85, 0.18);
}

.account-chip.verified {
  background: linear-gradient(135deg, var(--aqua-dark), var(--lagoon));
}

.account-chip.unverified {
  background: linear-gradient(135deg, var(--coral), var(--gold));
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 31;
  width: min(460px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.auth-modal h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.auth-modal p {
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 12px;
  margin: 18px 0 12px;
}

.auth-form input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(8, 126, 134, 0.42);
  box-shadow: 0 0 0 3px rgba(56, 188, 194, 0.14);
}

.auth-error {
  margin: 0;
  color: #a23d2d;
  font-weight: 820;
}

.auth-success {
  margin: 12px 0 0;
  color: var(--aqua-dark);
  font-weight: 820;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.account-actions {
  margin-top: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  margin-top: 20px;
  min-height: 520px;
  padding: 44px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 38, 43, 0.78) 0%, rgba(6, 38, 43, 0.52) 38%, rgba(6, 38, 43, 0.1) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 58%, rgba(5, 38, 43, 0.46) 100%),
    url("/assets/luxury-maldives-hero.png") center / cover;
  color: #fff;
  box-shadow: 0 34px 90px rgba(11, 68, 76, 0.22);
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  color: #ffe0a8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 10px;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: 0;
  max-width: 840px;
}

.hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 9px 15px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(27, 50, 58, 0.1);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-dark));
  box-shadow: 0 12px 26px rgba(8, 126, 134, 0.24);
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.active-control {
  color: var(--aqua-dark) !important;
  border-color: #8fcfcb !important;
  background: #e7f5f4 !important;
}

.hero-board {
  align-self: end;
  display: grid;
  gap: 10px;
}

.hero-board div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.18);
  backdrop-filter: blur(16px);
}

.hero-board strong {
  font-size: 34px;
}

.hero-board span {
  color: #d9e9eb;
  font-weight: 750;
}

.workspace {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.page-block {
  min-height: calc(100vh - 120px);
}

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

.intro-grid article,
.home-preview,
.directory-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 44px rgba(29, 77, 82, 0.08);
}

.intro-grid article {
  min-height: 190px;
  padding: 22px;
}

.intro-grid .step {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--aqua-dark);
  background: linear-gradient(135deg, rgba(255, 224, 168, 0.62), rgba(56, 188, 194, 0.16));
  font-weight: 900;
}

.intro-grid h2 {
  margin-bottom: 8px;
  font-size: 21px;
}

.intro-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-preview {
  margin-top: 18px;
  padding: 22px;
}

.preview-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.preview-item {
  min-height: 108px;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.preview-item:hover {
  transform: translateY(-2px);
  border-color: #8fcfcb;
  background: #f1faf9;
}

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

.preview-item strong {
  margin-bottom: 7px;
  color: var(--ink);
}

.preview-item span {
  color: var(--muted);
  font-size: 13px;
}

.filters,
.results-area,
.compare-section,
.lead-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 54px rgba(29, 77, 82, 0.1);
}

.filters {
  position: sticky;
  top: 88px;
  padding: 20px;
}

.panel-title,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.panel-title h2,
.section-head h2 {
  margin-bottom: 4px;
  font-size: 22px;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--aqua-dark);
  cursor: pointer;
  font-weight: 850;
}

.field {
  margin-top: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #2c3b41;
  font-size: 13px;
  font-weight: 850;
}

select,
input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 9px 11px;
  outline: none;
}

select:focus,
input:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(11, 143, 140, 0.14);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(var(--segment-count, 3), minmax(0, 1fr));
  gap: 7px;
}

.segmented button,
.chips button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.segmented button.active,
.chips button.active {
  color: var(--aqua-dark);
  border-color: rgba(8, 126, 134, 0.28);
  background: linear-gradient(135deg, rgba(56, 188, 194, 0.2), rgba(255, 224, 168, 0.24));
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chips button {
  padding: 7px 10px;
}

.results-area {
  padding: 18px;
}

.generate-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(232, 248, 247, 0.8));
}

.recommendation-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.recommendation-group {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.recommendation-group.backup {
  background: rgba(255, 252, 245, 0.72);
}

.recommendation-group.excluded {
  background: rgba(255, 246, 241, 0.76);
}

.group-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.group-head h3 {
  margin-bottom: 4px;
}

.group-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.group-head span {
  align-self: flex-start;
  min-width: 48px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--aqua-dark);
  background: rgba(56, 188, 194, 0.18);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

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

.generate-panel strong,
.generate-panel span {
  display: block;
}

.generate-panel strong {
  margin-bottom: 4px;
}

.generate-panel span {
  color: var(--muted);
  font-size: 13px;
}

.progress-track {
  height: 10px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(8, 126, 134, 0.12);
}

.progress-track div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--lagoon), var(--aqua));
  transition: width 240ms ease;
  animation: progressGlow 1.2s ease-in-out infinite;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

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

.resort-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  animation: liftIn 260ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.resort-card:hover {
  transform: translateY(-3px);
  border-color: #9ed4d1;
  box-shadow: var(--shadow);
}

.resort-card.top-match {
  border-color: rgba(184, 137, 58, 0.5);
  box-shadow: var(--shadow);
}

.resort-card.excluded-card {
  border-color: #efcfc4;
  background: #fffdfb;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rank {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--aqua-dark);
  font-size: 12px;
  font-weight: 900;
}

.card-top h3 {
  margin-bottom: 5px;
  font-size: 19px;
  letter-spacing: 0;
}

.card-top p {
  color: var(--muted);
  font-size: 13px;
}

.score {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--aqua));
  border-radius: 16px;
  font-size: 19px;
}

.reason {
  margin-bottom: 12px;
  color: #2b3c42;
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tag.good {
  color: var(--green);
  background: rgba(237, 247, 239, 0.86);
  border-color: #cde5d3;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.mini-grid div,
.drawer-grid div {
  min-height: 62px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-grid span,
.drawer-grid span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.mini-grid strong,
.drawer-grid strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.stars {
  color: var(--gold);
  letter-spacing: 0;
  white-space: nowrap;
}

.risk {
  margin-top: 12px;
  padding: 10px;
  color: #6e382d;
  background: rgba(255, 242, 237, 0.86);
  border: 1px solid #efcfc4;
  border-radius: 14px;
  font-size: 13px;
}

.verify-list,
.question-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #d9e5e8;
  border-radius: 14px;
  background: rgba(247, 251, 251, 0.76);
  font-size: 13px;
}

.verify-list strong {
  color: var(--ink);
}

.verify-list span,
.question-list span {
  color: var(--muted);
}

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

.compare-section,
.lead-section {
  margin-top: 18px;
  padding: 22px;
}

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

.islands-page {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 54px rgba(29, 77, 82, 0.1);
}

.library-toolbar {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.86), rgba(232, 248, 247, 0.72));
}

.library-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.library-toolbar label {
  margin-bottom: 0;
}

.island-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.island-directory.list-view {
  grid-template-columns: 1fr;
}

.island-directory.list-view .directory-card {
  display: grid;
  grid-template-columns: 220px minmax(220px, 1fr) minmax(360px, 1.6fr) minmax(220px, 0.9fr);
  gap: 16px;
  align-items: center;
  min-height: 170px;
}

.island-directory.list-view .directory-image {
  height: 150px;
  margin-bottom: 0;
}

.island-directory.list-view .directory-summary {
  margin: 0;
}

.island-directory.list-view .card-actions {
  grid-template-columns: 1fr;
  margin: 0 18px 0 0;
}

.directory-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  animation: liftIn 220ms ease both;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.directory-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 137, 58, 0.38);
  box-shadow: 0 18px 44px rgba(27, 50, 58, 0.12);
}

.directory-card h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.directory-card p {
  color: var(--muted);
  font-size: 13px;
}

.directory-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: auto;
}

.directory-meta span {
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.directory-summary {
  min-height: 54px;
  margin: 12px 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.compare-table-wrap {
  margin-top: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.vertical-compare {
  margin-top: 16px;
}

.matrix-compare {
  display: grid;
  grid-template-columns: 150px repeat(var(--compare-cols), minmax(230px, 1fr));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.matrix-label,
.matrix-cell,
.matrix-island {
  min-height: 58px;
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix-label {
  position: sticky;
  left: 0;
  z-index: 2;
  color: #24363c;
  background: rgba(232, 248, 247, 0.94);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.matrix-island {
  background: rgba(255, 250, 240, 0.9);
}

.matrix-island strong,
.matrix-island span {
  display: block;
}

.matrix-island strong {
  margin-bottom: 5px;
}

.matrix-island span {
  color: var(--muted);
  font-size: 12px;
}

.matrix-cell {
  color: #24363c;
  line-height: 1.45;
}

.sticky-matrix {
  position: sticky;
  top: 0;
  z-index: 3;
}

.compare-profile {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compare-profile-head {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.compare-profile-head .verified-placeholder {
  min-height: 92px;
  height: 92px;
}

.compare-profile-head h3 {
  margin-bottom: 5px;
}

.compare-profile-head p {
  margin-bottom: 0;
  color: var(--muted);
}

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

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

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

th {
  background: rgba(232, 248, 247, 0.94);
  color: #24363c;
  font-size: 12px;
  text-transform: uppercase;
}

td span {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed #b7c7ce;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 26px;
  align-items: center;
}

.lead-section .eyebrow {
  color: var(--aqua-dark);
}

.lead-section h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.lead-section p {
  color: var(--muted);
  margin-bottom: 0;
}

.lead-form {
  display: grid;
  gap: 10px;
}

.form-note {
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
}

.form-note.error {
  color: var(--coral);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(12, 27, 32, 0.38);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 21;
  width: min(520px, 94vw);
  height: 100vh;
  overflow: auto;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(247, 252, 251, 0.98));
  box-shadow: -22px 0 50px rgba(12, 27, 32, 0.24);
}

.wide-drawer {
  width: min(760px, 96vw);
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.drawer .eyebrow {
  color: var(--aqua-dark);
}

.drawer h2 {
  margin-bottom: 4px;
  font-size: 30px;
}

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

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 18px 0;
}

.drawer section {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.drawer section h3 {
  margin-bottom: 8px;
}

.drawer section p {
  color: var(--muted);
}

.rating-list {
  display: grid;
  gap: 9px;
}

.rating-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.profile-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 18px 0;
}

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

.report-grid div {
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.report-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.report-grid strong {
  display: block;
  line-height: 1.45;
}

.profile-table div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.profile-table span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.profile-table strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .hero,
  .workspace,
  .lead-section,
  .intro-grid,
  .preview-list,
  .island-directory {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 12px;
  }

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

  .nav nav {
    width: 100%;
    overflow: auto;
  }

  .hero {
    padding: 22px;
    min-height: 420px;
  }

  h1 {
    font-size: 34px;
  }

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

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

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

.preview-item {
  min-height: 218px;
  padding: 0;
  overflow: hidden;
}

.verified-placeholder {
  width: 100%;
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(10, 79, 85, 0.22), rgba(255, 224, 168, 0.16)),
    linear-gradient(150deg, rgba(56, 188, 194, 0.24), rgba(255, 250, 240, 0.3)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.36) 0, rgba(255, 255, 255, 0.36) 8px, rgba(232, 248, 247, 0.42) 8px, rgba(232, 248, 247, 0.42) 16px);
  color: #14353a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.verified-placeholder strong,
.verified-placeholder span {
  display: block;
  padding: 0;
}

.verified-placeholder strong {
  font-size: 13px;
}

.verified-placeholder span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.preview-item strong,
.preview-item span {
  padding-left: 16px;
  padding-right: 16px;
}

.preview-item strong {
  padding-top: 13px;
}

.preview-item span {
  padding-bottom: 16px;
}

.resort-card {
  min-height: 520px;
  padding: 0;
  overflow: hidden;
}

.card-image {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, rgba(56, 188, 194, 0.18), rgba(255, 224, 168, 0.18));
}

.card-image .verified-placeholder {
  height: 100%;
}

.card-image span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 31, 37, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.card-top,
.reason,
.tag-row,
.mini-grid {
  padding-left: 16px;
  padding-right: 16px;
}

.card-top {
  padding-top: 16px;
}

.room-strip {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 12px 16px 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.room-strip .verified-placeholder {
  width: 86px;
  height: 62px;
  border-radius: 10px;
  min-height: 62px;
  padding: 8px;
  overflow: hidden;
}

.room-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.room-strip strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.3;
}

.risk {
  margin: 12px 16px 0;
}

.card-actions {
  margin: 12px 16px 16px;
}

table {
  min-width: 1080px;
}

.compare-table-wrap .verified-placeholder {
  width: 92px;
  height: 62px;
  border-radius: 8px;
  min-height: 62px;
  padding: 8px;
  overflow: hidden;
}

.directory-card {
  min-height: 340px;
  padding: 0;
  overflow: hidden;
}

.directory-card > div,
.directory-card .directory-meta,
.directory-card .card-actions {
  margin-left: 18px;
  margin-right: 18px;
}

.directory-image {
  height: 150px;
  margin-bottom: 16px;
}

.directory-image .verified-placeholder {
  height: 150px;
  min-height: 150px;
  border: 0;
}

.data-page {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.db-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.db-status-strip div {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.db-status-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--aqua-dark);
  font-size: 28px;
}

.db-status-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pipeline-board article {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.pipeline-board span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--aqua-dark);
  background: #e7f5f4;
  font-size: 12px;
  font-weight: 900;
}

.pipeline-board h3 {
  margin: 14px 0 8px;
}

.pipeline-board p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.source-card {
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.source-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--aqua-dark);
  background: #e7f5f4;
  font-size: 12px;
  font-weight: 900;
}

.source-card h3 {
  margin: 14px 0 4px;
}

.source-card strong {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

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

.source-card a,
.source-card em {
  color: var(--aqua-dark);
  font-style: normal;
  font-weight: 850;
  text-decoration: none;
}

.data-model {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10272f;
  color: #fff;
}

.trust-model {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.trust-model h3 {
  margin-bottom: 14px;
}

.trust-model > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-model article {
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trust-model span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--aqua-dark);
  background: #e7f5f4;
  font-size: 12px;
  font-weight: 900;
}

.trust-model strong {
  display: block;
  margin: 12px 0 8px;
}

.trust-model p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.image-policy {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.database-preview {
  margin-top: 18px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.database-preview h3 {
  margin: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.database-preview table {
  min-width: 1160px;
}

.image-policy h3 {
  margin-bottom: 8px;
}

.image-policy p {
  margin-bottom: 0;
  color: var(--muted);
}

.data-model h3 {
  margin-bottom: 14px;
}

.data-model div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.data-model span {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #d8e9eb;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.drawer-gallery {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  grid-template-rows: 120px 120px;
  gap: 8px;
  margin: 18px 0;
}

.drawer-gallery .verified-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.drawer-gallery .verified-placeholder:first-child {
  grid-row: span 2;
}

.example-page {
  margin-top: 18px;
  padding-left: 210px;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}

.example-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  min-height: 390px;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 45, 50, 0.82), rgba(3, 45, 50, 0.42)),
    url("/assets/luxury-maldives-hero.png") center / cover;
  color: #fff;
  box-shadow: 0 28px 68px rgba(7, 52, 58, 0.18);
}

.example-hero h1 {
  margin-bottom: 12px;
  font-size: 56px;
}

.example-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.evidence-summary {
  align-self: end;
  display: grid;
  gap: 12px;
}

.evidence-summary div {
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.18);
  backdrop-filter: blur(16px);
}

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

.evidence-summary strong {
  font-size: 28px;
}

.evidence-summary span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.example-note {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(14, 83, 88, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  color: #42555a;
}

.example-toc {
  position: fixed;
  top: 124px;
  left: max(22px, calc((100vw - 1480px) / 2 + 22px));
  z-index: 40;
  display: grid;
  width: 180px;
  gap: 6px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(29, 77, 82, 0.1);
  backdrop-filter: blur(16px);
}

.example-toc::before {
  content: "档案目录";
  display: block;
  margin: 0 0 6px;
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(7, 89, 92, 0.1);
  color: #6b7f82;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.example-toc button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #0c555a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-align: left;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.example-toc button:hover,
.example-toc button.active {
  background: rgba(10, 116, 122, 0.1);
  color: #063f44;
  transform: translateX(2px);
}

.name-policy-module {
  scroll-margin-top: 150px;
}

.name-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.name-policy-grid article,
.room-translation-table article {
  padding: 18px;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.name-policy-grid h3 {
  margin: 12px 0 8px;
  color: #062f34;
  font-size: 24px;
}

.name-policy-grid p,
.room-translation-table p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

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

.room-translation-table article {
  display: grid;
  gap: 10px;
}

.room-translation-table article > div:first-child {
  display: grid;
  gap: 5px;
}

.room-translation-table article > div:first-child span {
  color: #8a641f;
  font-size: 12px;
  font-weight: 900;
}

.room-translation-table h4 {
  margin: 0;
  color: #073f44;
  font-size: 19px;
}

.room-translation-table strong {
  color: var(--muted);
  font-size: 13px;
}

.room-gallery-module {
  scroll-margin-top: 150px;
}

.gallery-controls {
  display: inline-flex;
  gap: 8px;
}

.gallery-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(7, 89, 92, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #073f44;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.gallery-controls button:hover {
  background: rgba(10, 116, 122, 0.1);
  transform: translateY(-1px);
}

.room-gallery-strip {
  display: grid;
  grid-auto-columns: minmax(280px, 360px);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.room-photo-card {
  overflow: hidden;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(29, 77, 82, 0.08);
  scroll-snap-align: start;
}

.room-photo-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #edf5f2;
}

.room-photo-card div {
  padding: 16px;
}

.room-photo-card span {
  color: #8a641f;
  font-size: 12px;
  font-weight: 950;
}

.room-photo-card h3 {
  margin: 8px 0 4px;
  color: #073f44;
  font-size: 20px;
}

.room-photo-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.room-photo-card p,
.gallery-policy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.gallery-policy {
  margin: 4px 0 10px;
}

.evidence-hidden .source-chips,
.evidence-hidden .verified-badge,
.evidence-hidden .inferred-badge,
.evidence-hidden .review-badge,
.evidence-hidden .field-evidence,
.evidence-hidden #sources {
  display: none !important;
}

.evidence-hidden .evidence-table article,
.evidence-hidden .restaurant-card,
.evidence-hidden .map-intel-card,
.evidence-hidden .map-derived-grid article,
.evidence-hidden .price-model article,
.evidence-hidden .price-band-card,
.evidence-hidden .price-sample-card,
.evidence-hidden .child-rule-grid article {
  background: rgba(255, 255, 255, 0.92);
}

.example-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.example-side,
.example-main,
.source-ledger {
  padding: 22px;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(29, 77, 82, 0.07);
  backdrop-filter: blur(12px);
  scroll-margin-top: 150px;
}

.example-side h2 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.example-side h2:first-child {
  margin-top: 0;
}

.evidence-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.evidence-groups {
  display: grid;
  gap: 18px;
}

.evidence-group {
  padding-top: 4px;
}

.evidence-group > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
  color: #073f44;
  font-size: 19px;
}

.evidence-group > h3::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0c8c92, #d8aa58);
}

.evidence-table article {
  min-height: 0;
  padding: 12px 12px 12px 14px;
  border: 1px solid rgba(7, 89, 92, 0.11);
  border-left: 4px solid #17a7ad;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(29, 77, 82, 0.055);
}

.evidence-group:nth-child(4n + 1) .evidence-table article {
  border-left-color: #0d9399;
}

.evidence-group:nth-child(4n + 2) .evidence-table article {
  border-left-color: #d5a84c;
}

.evidence-group:nth-child(4n + 3) .evidence-table article {
  border-left-color: #d36e58;
}

.evidence-group:nth-child(4n) .evidence-table article {
  border-left-color: #4f8f72;
}

.evidence-table article > span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.verified-badge {
  color: #064f55;
  background: rgba(56, 188, 194, 0.14);
}

.inferred-badge {
  color: #7a5520;
  background: rgba(246, 226, 184, 0.5);
}

.review-badge {
  color: #8a4738;
  background: rgba(244, 224, 216, 0.72);
}

.evidence-table h3,
.evidence-table h4 {
  margin: 9px 0 5px;
  font-size: 14px;
}

.evidence-table strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.evidence-table strong.rating-value {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(250, 231, 180, 0.62);
  color: #8a641f;
  font-size: 13px;
  letter-spacing: 0;
}

.evidence-table p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.source-chips span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(7, 89, 92, 0.16);
  border-radius: 999px;
  background: rgba(233, 250, 248, 0.82);
  color: #0b5b60;
  font-size: 12px;
  font-weight: 900;
}

.source-ledger {
  margin-top: 18px;
}

.detail-module {
  overflow: hidden;
}

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

.restaurant-card {
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-left: 4px solid #0d9399;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(29, 77, 82, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.restaurant-card:nth-child(3n + 2) {
  border-left-color: #d5a84c;
}

.restaurant-card:nth-child(3n) {
  border-left-color: #d36e58;
}

.restaurant-card[open] {
  border-color: rgba(14, 137, 145, 0.3);
  box-shadow: 0 18px 44px rgba(29, 77, 82, 0.12);
}

.restaurant-card summary {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
}

.restaurant-card summary::-webkit-details-marker {
  display: none;
}

.restaurant-card summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  margin-top: 12px;
  color: #0d7377;
  font-size: 24px;
  font-weight: 900;
}

.restaurant-card[open] summary::after {
  content: "-";
}

.restaurant-card summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.restaurant-card summary strong {
  max-width: calc(100% - 34px);
  color: #073f44;
  font-size: 17px;
}

.restaurant-body {
  display: grid;
  gap: 10px;
  padding: 0 16px 14px;
}

.restaurant-body dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.restaurant-body dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(7, 89, 92, 0.09);
}

.restaurant-body dt {
  color: #0b5b60;
  font-size: 12px;
  font-weight: 900;
}

.restaurant-body dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.restaurant-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mini-list,
.dense-tags,
.field-schema {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mini-list strong {
  width: 100%;
  color: #073f44;
  font-size: 13px;
}

.mini-list span,
.dense-tags span,
.field-schema span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(231, 247, 243, 0.82);
  color: #0b5b60;
  font-size: 12px;
  font-weight: 900;
}

.mini-list.warn span {
  background: rgba(255, 242, 221, 0.84);
  color: #805414;
}

.map-price-layout,
.price-model {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.map-preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(7, 89, 92, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(29, 77, 82, 0.1);
}

.map-preview-panel a:first-child {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-radius: 14px;
  background: #f8fbf6;
}

.map-preview-panel a:first-child::after {
  content: "点击放大查看地图";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(3, 45, 50, 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(3, 45, 50, 0.22);
}

.map-preview-panel img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.map-preview-panel h3 {
  margin: 12px 0 8px;
  color: #073f44;
  font-size: 24px;
}

.map-preview-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.compact-actions {
  gap: 10px;
}

.icon-action {
  min-height: 42px;
  border-color: rgba(7, 89, 92, 0.2) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: #063f44 !important;
  font-weight: 950;
}

.price-sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.price-sample-card,
.child-policy-card {
  padding: 20px;
  border: 1px solid rgba(7, 89, 92, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 252, 249, 0.72));
  box-shadow: 0 16px 40px rgba(29, 77, 82, 0.09);
}

.price-sample-card h3,
.child-policy-card h3 {
  margin: 12px 0;
  color: #073f44;
  font-size: 22px;
}

.price-number {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 10px 0 16px;
}

.price-number strong {
  color: #08464b;
  font-size: 42px;
  line-height: 1;
}

.price-number span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.price-sample-card dl {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.price-sample-card dl div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(7, 89, 92, 0.09);
}

.price-sample-card dt {
  color: #0b5b60;
  font-size: 12px;
  font-weight: 900;
}

.price-sample-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.price-sample-card p,
.child-policy-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.child-policy-card {
  margin-bottom: 14px;
}

.price-band-panel {
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-radius: 18px;
  background: rgba(245, 253, 250, 0.72);
}

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

.section-head.compact h3 {
  margin: 0 0 4px;
  color: #073f44;
  font-size: 21px;
}

.price-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.price-band-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-left: 4px solid #d5a84c;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(29, 77, 82, 0.06);
}

.price-band-card:nth-child(2) {
  border-left-color: #0d9399;
}

.price-band-card:nth-child(3) {
  border-left-color: #d36e58;
}

.price-band-card:nth-child(4) {
  border-left-color: #4f8f72;
}

.price-band-card h4 {
  margin: 4px 0 0;
  color: #073f44;
  font-size: 17px;
}

.price-band-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.price-band-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.price-band-card dl div {
  display: grid;
  gap: 3px;
  padding-top: 8px;
  border-top: 1px solid rgba(7, 89, 92, 0.08);
}

.price-band-card dt {
  color: #0b5b60;
  font-size: 12px;
  font-weight: 900;
}

.price-band-card dd {
  margin: 0;
  color: #083f44;
  font-size: 13px;
  font-weight: 900;
}

.price-band-card strong,
.price-band-card em {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.price-band-card strong {
  color: #0b5b60;
}

.price-band-card em {
  color: #8a5f18;
  font-style: normal;
}

.child-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.child-rule-grid article {
  padding: 13px;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-left: 4px solid #4f8f72;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.child-rule-grid article:nth-child(even) {
  border-left-color: #d5a84c;
}

.child-rule-grid h4 {
  margin: 12px 0 8px;
  color: #073f44;
  font-size: 16px;
}

.child-policy-card > strong {
  display: block;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 244, 218, 0.72);
  color: #6f4c15;
  font-size: 14px;
}

.map-intel-card,
.map-derived-grid article,
.price-model article {
  padding: 14px;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-left: 4px solid #0d9399;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.map-derived-grid article:nth-child(2n),
.price-model article:nth-child(2n) {
  border-left-color: #d5a84c;
}

.map-derived-grid article:nth-child(3n),
.price-model article:nth-child(3n) {
  border-left-color: #d36e58;
}

.map-intel-card.wide {
  grid-column: 1 / -1;
}

.map-intel-card h3,
.map-derived-grid h3,
.price-model h3 {
  margin: 9px 0 6px;
  color: #073f44;
  font-size: 16px;
}

.map-intel-card p,
.map-derived-grid p,
.price-model p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.price-model strong {
  display: block;
  color: #0b5b60;
  font-size: 14px;
}

.map-derived-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.field-schema {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(7, 89, 92, 0.1);
}

.business-page,
.admin-page {
  display: grid;
  gap: 18px;
}

.business-hero {
  padding: 34px;
  border: 1px solid rgba(7, 89, 92, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 249, 247, 0.82)),
    linear-gradient(90deg, rgba(13, 147, 153, 0.08), rgba(213, 168, 76, 0.08));
  box-shadow: 0 18px 48px rgba(29, 77, 82, 0.08);
}

.business-hero h1 {
  max-width: 940px;
  margin: 10px 0;
  color: #073f44;
  font-size: 42px;
  line-height: 1.08;
}

.business-hero p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.compact-business {
  padding: 28px;
}

.plan-grid,
.integration-grid,
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan-card,
.integration-grid article,
.admin-metrics article,
.framework-note,
.api-flow,
.report-shell,
.admin-layout {
  border: 1px solid rgba(7, 89, 92, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(29, 77, 82, 0.075);
}

.plan-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-left: 5px solid #0d9399;
}

.plan-card:nth-child(3) {
  border-left-color: #d36e58;
}

.plan-card.featured {
  border-color: rgba(213, 168, 76, 0.42);
  border-left-color: #d5a84c;
  background: rgba(255, 252, 244, 0.94);
}

.plan-card > span,
.integration-grid article > span,
.report-module-list article > span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(13, 147, 153, 0.12);
  color: #0b5b60;
  font-size: 12px;
  font-weight: 950;
}

.plan-card h2,
.integration-grid h2 {
  margin: 0;
  color: #073f44;
  font-size: 22px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.plan-price strong {
  color: #073f44;
  font-size: 38px;
}

.plan-price em {
  color: #8a641f;
  font-style: normal;
  font-weight: 950;
}

.plan-card p,
.integration-grid p,
.framework-note p,
.api-flow p,
.report-shell p,
.admin-layout p,
.admin-metrics p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #36585c;
  font-size: 13px;
}

.framework-note,
.api-flow {
  padding: 20px;
}

.framework-note strong,
.api-flow h2,
.report-shell h2,
.admin-layout h2 {
  display: block;
  margin: 0 0 8px;
  color: #073f44;
}

.report-shell,
.admin-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
}

.report-module-list,
.admin-table-list {
  display: grid;
  gap: 10px;
}

.report-module-list article,
.admin-table-list article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(7, 89, 92, 0.1);
  border-left: 4px solid #0d9399;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.report-module-list article:nth-child(even),
.admin-table-list article:nth-child(even) {
  border-left-color: #d5a84c;
}

.report-module-list h3 {
  margin: 0;
  color: #073f44;
}

.status-ready,
.status-planned {
  background: rgba(13, 147, 153, 0.12) !important;
  color: #0b5b60 !important;
}

.status-reserved {
  background: rgba(246, 226, 184, 0.64) !important;
  color: #8a641f !important;
}

.integration-grid article,
.admin-metrics article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-left: 4px solid #0d9399;
}

.integration-grid article:nth-child(2n),
.admin-metrics article:nth-child(2n) {
  border-left-color: #d5a84c;
}

.integration-grid article:nth-child(3n),
.admin-metrics article:nth-child(3n) {
  border-left-color: #d36e58;
}

.integration-grid strong {
  color: #073f44;
}

.api-flow div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.api-flow span {
  min-height: 76px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(233, 250, 248, 0.74);
  color: #0b5b60;
  font-size: 13px;
  font-weight: 900;
}

.admin-metrics strong {
  color: #073f44;
  font-size: 32px;
}

.admin-metrics span {
  color: #0b5b60;
  font-weight: 950;
}

.admin-layout aside {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-layout button {
  min-height: 38px;
  border: 1px solid rgba(7, 89, 92, 0.12);
  border-radius: 10px;
  background: rgba(245, 253, 250, 0.78);
  color: #0b5b60;
  font-weight: 900;
  text-align: left;
}

.admin-table-list code {
  width: fit-content;
  padding: 4px 7px;
  border-radius: 8px;
  background: rgba(13, 147, 153, 0.1);
  color: #073f44;
  font-weight: 950;
}

.admin-table-list span {
  color: #8a641f;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1280px) {
  .example-page {
    padding-left: 0;
  }

  .example-toc {
    position: sticky;
    top: 82px;
    left: auto;
    display: flex;
    width: auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 16px 0;
    overflow-x: auto;
    padding: 10px;
    border-radius: 14px;
  }

  .example-toc::before {
    display: none;
  }

  .example-toc button {
    min-width: max-content;
    border-radius: 999px;
  }

  .example-toc button:hover,
  .example-toc button.active {
    transform: translateY(-1px);
  }
}

@media (max-width: 1080px) {
  .source-grid {
    grid-template-columns: 1fr;
  }

  .restaurant-grid,
  .map-price-layout,
  .map-preview-panel,
  .price-model,
  .price-sample-grid,
  .price-band-grid,
  .child-rule-grid,
  .name-policy-grid,
  .room-translation-table,
  .plan-grid,
  .integration-grid,
  .admin-metrics,
  .report-shell,
  .admin-layout,
  .api-flow div,
  .map-derived-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .island-directory.list-view .card-actions {
    margin: 12px 18px 18px;
  }

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

  .generate-panel,
  .library-filters,
  .trust-model > div,
  .compact-cards,
  .example-hero,
  .example-layout,
  .evidence-table {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .directory-meta,
  .profile-table,
  .compact-profile,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .generate-panel,
  .compare-profile-head {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .drawer-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 140px);
  }

  .drawer-gallery .verified-placeholder:first-child {
    grid-row: auto;
  }
}
