/* ============ Sthala design tokens ============ */
:root {
  --brand-50: #eef5f1;
  --brand-100: #dcebe3;
  --brand-200: #b9d6c6;
  --brand-500: #3f7d66;
  --brand-600: #2f6b57;
  --brand-700: #265a49;
  --brand-800: #1d4a3c;
  --brand-900: #143429;
  --ink: #14231c;
  --muted: #55645c;
  --line: #dce5df;
  --surface: #f6f9f7;
  --gold: #b7791f;
  --gold-bg: #fdf5e4;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .animate-rise { animation: rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both; }
}

/* Faint layout-grid lines that fade toward the centre — echoes plotted layouts. */
.bg-plot-grid {
  background-image:
    linear-gradient(to right, rgba(29, 74, 60, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 74, 60, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 75%);
}

.container { max-width: 72rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-800); color: #fff; padding: 0.5rem 1rem; border-radius: 0.375rem; z-index: 50;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.wordmark {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500;
  letter-spacing: 0.22em; color: var(--brand-900); text-decoration: none;
}
.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-desktop a.nav-link { font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.nav-desktop a.nav-link:hover { color: var(--brand-600); }
@media (min-width: 768px) { .nav-desktop { display: flex; } .nav-mobile { display: none; } }
.nav-mobile { position: relative; }
@media (min-width: 768px) { .nav-mobile { display: none; } }

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem;
  border: 1px solid var(--line); border-radius: 0.5rem; background: #fff; color: var(--ink);
}
.icon-btn.round { border-radius: 9999px; }
.icon-btn:hover { background: var(--brand-50); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-mobile .icon-btn svg { width: 20px; height: 20px; }

.dropdown {
  position: absolute; right: 0; margin-top: 0.5rem;
  width: 13rem; border: 1px solid var(--line); border-radius: 0.75rem;
  background: #fff; padding: 0.5rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.dropdown .who { padding: 0.5rem 0.75rem; font-size: 0.75rem; color: var(--muted); }
.dropdown a {
  display: flex; align-items: center; gap: 0.5rem;
  border-radius: 0.5rem; padding: 0.625rem 0.75rem;
  font-size: 0.875rem; font-weight: 500; text-decoration: none;
}
.dropdown a:hover { background: var(--brand-50); }
.dropdown a svg { width: 15px; height: 15px; }
details > summary { cursor: pointer; }

/* ============ Buttons / links / fields ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 0; border-radius: 0.75rem; padding: 0.75rem 1.5rem;
  background: var(--brand-800); color: #fff;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  transition: background 0.15s;
}
.btn:hover { background: var(--brand-700); }
.btn svg { width: 16px; height: 16px; }
.btn-block { width: 100%; padding: 0.875rem 1rem; letter-spacing: 0.02em; box-shadow: 0 4px 6px -1px rgb(29 74 60 / 0.2); }

.field {
  width: 100%; border: 1px solid var(--line); border-radius: 0.75rem;
  background: var(--surface); color: var(--ink);
  padding: 0.75rem 0.875rem; font-size: 0.875rem; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field:focus { border-color: var(--brand-500); background: #fff; outline: none; box-shadow: 0 0 0 3px var(--brand-200); }
.field-sm { border-radius: 0.5rem; padding: 0.625rem 0.75rem; background: #fff; }
select.field { appearance: auto; }

.label { display: block; margin-bottom: 0.375rem; font-size: 0.8125rem; font-weight: 500; }
.label-sm { font-size: 0.75rem; color: var(--muted); }

.link-btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.5rem 0.875rem;
  font-size: 0.875rem; font-weight: 500; text-decoration: none; background: #fff;
}
.link-btn:hover { background: var(--brand-50); }
.link-btn.active { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.link-btn svg { width: 16px; height: 16px; }

.pill-link {
  border: 1px solid var(--line); border-radius: 9999px; padding: 0.375rem 1rem;
  font-size: 0.875rem; font-weight: 500; color: var(--brand-700); text-decoration: none;
  transition: all 0.15s;
}
.pill-link:hover { border-color: var(--brand-200); background: var(--brand-50); }

/* ============ Badges ============ */
.badge { display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 9999px; padding: 0.25rem 0.625rem; font-size: 0.75rem; font-weight: 500; }
.badge svg { width: 14px; height: 14px; }
.badge-tg { background: #f0f9ff; color: #075985; }
.badge-ka { background: #fff7ed; color: #9a3412; }
.badge-status-new { background: var(--brand-100); color: var(--brand-800); }
.badge-status-ongoing { background: var(--brand-50); color: var(--brand-700); }
.badge-status-completed { background: #f1f5f9; color: #334155; }
.badge-status-not_started { background: #fffbeb; color: #92400e; }
.badge-status-unknown { background: #f1f5f9; color: #475569; }
.badge-verified { border: 1px solid rgb(183 121 31 / 0.4); background: var(--gold-bg); color: var(--gold); }
.badge-type { background: var(--brand-50); color: var(--brand-700); }

/* ============ Cards / banners ============ */
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 1rem; background: #fff; padding: 1.25rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-2px); border-color: var(--brand-200); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.card-title { margin: 0.75rem 0 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; line-height: 1.4; color: var(--brand-900); }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-promoter { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--muted); }
.card-place { display: flex; align-items: flex-start; gap: 0.375rem; margin-top: 0.5rem; font-size: 0.875rem; }
.card-place svg { width: 16px; height: 16px; margin-top: 0.125rem; flex-shrink: 0; color: var(--brand-600); }
.card-place .state { color: var(--muted); }
.card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
.card-stats dt { font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 0.25rem; }
.card-stats dt svg { width: 12px; height: 12px; }
.card-stats dd { margin: 0; font-weight: 600; }
.card-ids { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.75rem; line-height: 1.6; }
.card-ids .row { display: flex; gap: 0.375rem; }
.card-ids dt { color: var(--muted); }
.card-ids dd { margin: 0; font-weight: 500; word-break: break-all; }
.card-ids dd.na { color: var(--muted); font-weight: 400; }

.banner {
  display: flex; gap: 0.625rem; border-radius: 0.75rem; padding: 0.875rem;
  border: 1px solid rgb(183 121 31 / 0.4); background: var(--gold-bg); color: var(--gold); font-size: 0.875rem;
}
.banner svg { width: 18px; height: 18px; margin-top: 0.125rem; flex-shrink: 0; }
.banner p { margin: 0.25rem 0; }
.banner-warn { border-color: #fcd34d; background: #fffbeb; color: #92400e; }
.banner-error { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }

.empty {
  border: 1px dashed var(--line); border-radius: 1rem; padding: 2rem; text-align: center;
  font-size: 0.875rem; color: var(--muted);
}
.empty strong { display: block; font-weight: 500; color: var(--brand-900); margin-bottom: 0.5rem; }
.empty a { color: var(--brand-700); font-weight: 500; text-underline-offset: 4px; }

/* ============ Home hero ============ */
.hero { position: relative; overflow: hidden; background: var(--brand-900); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55rem 28rem at 85% -20%, rgba(183, 121, 31, 0.22), transparent),
    radial-gradient(48rem 26rem at 8% 120%, rgba(63, 125, 102, 0.45), transparent);
}
.hero-inner { position: relative; max-width: 48rem; margin: 0 auto; padding: 5rem 1rem 4rem; text-align: center; }
@media (min-width: 768px) { .hero-inner { padding: 7rem 1.5rem 6rem; } }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: 3.75rem; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
@media (min-width: 768px) { .hero h1 { font-size: 4.5rem; } }
.gold-rule { height: 1px; width: 4rem; background: rgb(183 121 31 / 0.7); margin: 1.5rem auto 0; border: 0; }
.gold-rule-sm { width: 3rem; margin-top: 1.25rem; }
.hero form {
  display: grid; gap: 0.75rem; margin-top: 2.5rem;
  border-radius: 1rem; background: #fff; padding: 0.75rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
@media (min-width: 768px) { .hero form { grid-template-columns: 2fr 1fr 1fr auto; } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section-title { margin: 0; font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; color: var(--brand-900); }
.section-pad { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .section-pad { padding-top: 5rem; padding-bottom: 5rem; } }
.grid-cards { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 768px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.grid-cards-2 { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .grid-cards-2 { grid-template-columns: repeat(2, 1fr); } }

/* ============ Explore ============ */
.page-title { margin: 0; font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; color: var(--brand-900); }
.page-sub { margin: 0.5rem 0 0; color: var(--muted); }
.explore-grid { display: grid; gap: 2rem; margin-top: 1.5rem; }
@media (min-width: 1024px) { .explore-grid { grid-template-columns: 280px 1fr; } }
.filters-panel { border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; }
.filters-mobile { border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.filters-mobile summary { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.filters-mobile summary svg { width: 16px; height: 16px; }
.filters-mobile > div { margin-top: 1rem; }
@media (max-width: 1023px) { .filters-desktop { display: none; } }
@media (min-width: 1024px) { .filters-mobile { display: none; } }
.filters form { display: grid; gap: 1rem; }
.filters .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.filters .actions { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.25rem; }
.filters .actions .btn { flex: 1; padding: 0.625rem 1rem; border-radius: 0.5rem; }
.filters .reset { font-size: 0.875rem; font-weight: 500; color: var(--brand-700); text-underline-offset: 4px; }
.filters .hint { font-size: 0.75rem; color: var(--muted); margin: 0; }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; }
.tabs { display: flex; gap: 0.5rem; }
.sort-form select { width: auto; }

.pagination { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; }
.pagination a {
  display: flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--line); border-radius: 0.5rem; padding: 0 0.75rem;
  font-size: 0.875rem; text-decoration: none;
}
.pagination a:hover { background: var(--brand-50); }
.pagination a.current { border-color: var(--brand-800); background: var(--brand-800); color: #fff; }
.pagination a svg { width: 16px; height: 16px; }

/* ============ Project detail ============ */
.breadcrumb { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb svg { width: 14px; height: 14px; }
.project-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-top: 1rem; }
.project-head .title-col { max-width: 48rem; }
.project-name { margin: 0.75rem 0 0; font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; line-height: 1.25; color: var(--brand-900); }
.project-by { margin: 0.375rem 0 0; color: var(--muted); }
.project-place { margin: 0.25rem 0 0; font-size: 0.875rem; }
.ids-box { border: 1px solid var(--line); border-radius: 1rem; background: #fff; padding: 1rem; font-size: 0.75rem; line-height: 1.6; }
.ids-box .row { display: flex; gap: 0.375rem; }
.ids-box dt { color: var(--muted); }
.ids-box dd { margin: 0; font-weight: 500; word-break: break-all; }
.ids-box dd.na { color: var(--muted); font-weight: 400; }

.detail-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 1024px) { .detail-grid.with-side { grid-template-columns: 1fr 380px; } }
.facts dt, .facts dd { font-size: 0.875rem; }
.facts .fact { border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
@media (min-width: 640px) { .facts .fact { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; } }
.facts dt { color: var(--muted); }
.facts dd { margin: 0.125rem 0 0; font-weight: 500; }
@media (min-width: 640px) { .facts dd { margin-top: 0; } }
.facts dd .na, .muted { color: var(--muted); font-weight: 400; }
.facts dd .note { margin-left: 0.5rem; font-weight: 400; color: var(--muted); }
.fineprint { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted); }

.h2 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--brand-900); }
.section-block { margin-bottom: 2rem; }
.section-block > p, .section-block > details { margin-top: 0.75rem; }
.survey-details { border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.survey-details summary { font-size: 0.875rem; font-weight: 500; }
.survey-details p { word-break: break-word; font-size: 0.875rem; line-height: 1.7; }
.desc { font-size: 0.875rem; line-height: 1.7; margin: 0.75rem 0 0; }

.side-col { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1024px) { .side-col { position: sticky; top: 6rem; } }
.verif-card { border: 1px solid rgb(183 121 31 / 0.4); border-radius: 1rem; background: rgb(253 245 228 / 0.6); padding: 1.25rem; }
.verif-card h2 { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 1rem; font-weight: 600; color: var(--gold); }
.verif-card h2 svg { width: 18px; height: 18px; }
.verif-scope { margin: 0.5rem 0 0; font-size: 0.875rem; }
.verif-list { margin: 0.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.verif-list .lvl { font-weight: 600; }
.verif-list .notdone { color: var(--muted); }
.verif-list .covers { display: block; font-size: 0.75rem; color: var(--muted); }
.verif-foot { margin: 0.75rem 0 0; font-size: 0.75rem; color: var(--muted); }

/* ============ Map ============ */
.map-box { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; margin-top: 1.25rem; height: 380px; }
@media (min-width: 768px) { .map-box { height: 520px; } }
.map-box.sm { height: 320px; margin-top: 0.75rem; }
.map-fallback {
  display: flex; height: 100%; min-height: 12rem; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; border: 1px dashed var(--line); border-radius: 1rem; background: var(--surface); padding: 1.5rem;
  text-align: center; font-size: 0.875rem; color: var(--muted);
}
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 4px 16px rgba(17, 33, 29, 0.18); }
.leaflet-popup-content { font-family: var(--font-sans); font-size: 13px; }

/* ============ Autocomplete ============ */
.suggest { position: relative; }
.suggest ul {
  position: absolute; inset-inline: 0; top: 100%; z-index: 30; margin-top: 0.25rem;
  overflow: hidden; border: 1px solid var(--line); border-radius: 0.75rem;
  background: #fff; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  margin: 0.25rem 0 0; padding: 0; list-style: none; text-align: left;
}
.suggest li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.625rem 0.75rem; font-size: 0.875rem; cursor: pointer; }
.suggest li.active { background: var(--brand-50); }
.suggest .opt-label { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest .opt-hint { display: block; font-size: 0.75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest .opt-type { flex-shrink: 0; border-radius: 9999px; background: var(--surface); padding: 0.125rem 0.5rem; font-size: 0.6875rem; font-weight: 500; color: var(--muted); }
.suggest .opt-text { min-width: 0; }

/* ============ Gate (login) ============ */
.gate-wrap { position: relative; display: flex; min-height: calc(100vh - 4rem); align-items: center; justify-content: center; overflow: hidden; background: var(--surface); padding: 3rem 1rem; }
.gate-wrap::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50rem 26rem at 85% -10%, rgba(183, 121, 31, 0.12), transparent),
    radial-gradient(45rem 24rem at 8% 115%, rgba(63, 125, 102, 0.16), transparent);
}
.gate-bg { position: absolute; inset: 0; }
.gate-card { position: relative; width: 100%; max-width: 26.25rem; }
.gate-card h1 { margin: 0; text-align: center; font-family: var(--font-display); font-size: 2.25rem; font-weight: 500; letter-spacing: -0.02em; color: var(--brand-900); }
.gate-form {
  margin-top: 2.5rem; display: grid; gap: 1.25rem;
  border: 1px solid var(--line); border-radius: 1rem; background: #fff; padding: 2rem;
  box-shadow: 0 16px 48px -16px rgba(20, 52, 41, 0.18);
}
@media (min-width: 640px) { .gate-form { padding: 2.25rem; } }
.gate-form .field { background: #fff; font-size: 0.9375rem; padding: 0.75rem 1rem; }
.gate-form .field:focus { box-shadow: 0 0 0 4px var(--brand-100); }
.pw-wrap { position: relative; }
.pw-wrap .field { padding-right: 3rem; }
.pw-toggle {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center; height: 2rem; width: 2rem;
  border: 0; border-radius: 0.375rem; background: transparent; color: var(--muted);
}
.pw-toggle:hover { background: var(--brand-50); color: var(--ink); }
.pw-toggle svg { width: 18px; height: 18px; }
.error-box { border-radius: 0.5rem; border: 1px solid #fecaca; background: #fef2f2; padding: 0.625rem 0.875rem; font-size: 0.875rem; color: #b91c1c; margin: 0; }

/* ============ App loader (blurred overlay while data loads) ============ */
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.app-loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  /* brief delay: a fast cached load never flashes the loader */
  animation: fadein 0.2s 0.15s both;
}
.app-loader .loader-card {
  display: flex; align-items: center; gap: 0.875rem;
  border: 1px solid var(--line); border-radius: 1rem; background: #fff;
  padding: 1rem 1.5rem; box-shadow: 0 16px 48px -16px rgba(20, 52, 41, 0.22);
  font-size: 0.875rem; font-weight: 500; color: var(--brand-900);
}
.app-loader .spinner {
  width: 26px; height: 26px; flex-shrink: 0;
  border: 3px solid var(--brand-100); border-top-color: var(--brand-800);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.app-loader p { margin: 0; }

/* ============ Misc ============ */
.unavailable { max-width: 42rem; margin: 0 auto; padding: 5rem 1rem; text-align: center; }
.unavailable h1 { font-size: 1.5rem; font-weight: 600; color: var(--brand-900); margin: 0; }
.unavailable p { color: var(--muted); margin: 0.75rem 0 0; }
.unavailable .btn { margin-top: 1.5rem; }
.loading { color: var(--muted); font-size: 0.875rem; padding: 2rem 0; text-align: center; }
