:root {
  color-scheme: dark;
  --ink: #f5f5f5;
  --paper: #050505;
  --white: #0d0d0d;
  --line: rgba(255, 255, 255, 0.12);
  --violet: #00ff66;
  --acid: #00ff66;
  --muted: #a1a1aa;
  --danger: #ef6b62;
  --panel: #0d0d0d;
  --panel-raised: #131313;
  --soft: #1a1a1a;
  --accent: #00ff66;
  --warm: #e6c288;
}

html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}
button, input, select, textarea { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.fieldtest-banner {
  background: #101010;
  color: var(--warm);
  border-bottom: 1px solid rgba(230, 194, 136, 0.25);
  padding: 8px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-header {
  height: 72px;
  background: rgba(5, 5, 5, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  color: #fff;
  font-family: "Syncopate", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}
.brand span {
  padding: 0;
  background: transparent;
  color: #fff;
  border-radius: 0;
}
.brand small {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-header nav { gap: 4px; }
.site-header nav a {
  color: #d4d4d8;
  padding: 9px 12px;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}
.site-header nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.site-header .admin-link { border-color: rgba(255, 255, 255, 0.25); }

.hero {
  min-height: 350px;
  background: radial-gradient(circle at 88% 20%, rgba(255,255,255,.055), transparent 30%), #050505;
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.hero h1, .detail h1, .admin h1, .login-card h1, .selection-page h1, .request-page h1, .confirmation h1 {
  color: #fff;
  font-family: "Inter", ui-sans-serif, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: none;
  overflow-wrap: anywhere;
}
.hero h1 { font-size: clamp(36px, 5vw, 64px); }
.detail h1, .detail-copy h1 { font-size: clamp(30px, 3.4vw, 48px); }
.login-card h1 { font-size: clamp(32px, 4vw, 44px); }
.selection-page h1, .request-page h1, .confirmation h1 { font-size: clamp(34px, 5vw, 58px); }
.hero-copy, .description, .lead { color: #a1a1aa; font-weight: 300; }
.hero-mark { color: #fff; font-family: "Syncopate", sans-serif; font-size: 72px; }
.hero-mark small, .eyebrow {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

.controls { padding-top: 24px; }
.search-controls { padding-top: 22px; padding-bottom: 18px; }
.search-controls .search { margin-top: 0; }
.location-switch {
  padding: 3px;
  background: #0b0b0b;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.location-switch a { color: #a1a1aa; border-radius: 2px; font-size: 13px; font-weight: 600; }
.location-switch a.active { background: #f5f5f5; color: #050505; }
.search input, .login-card input, .edit-form input, .edit-form textarea, .edit-form select,
.admin-tools input, .admin-list-controls select, .request-form input, .request-form textarea,
.selection-list input {
  background: #0b0b0b;
  color: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.search input {
  min-height: 54px;
  background: #d4d4d8;
  color: #050505;
  border-color: #d4d4d8;
  font-weight: 500;
}
.search input::placeholder { color: #52525b; }
.admin-tools input::placeholder { color: #71717a; }
.search input:focus { background: #f4f4f5; }
.search input:focus, .login-card input:focus, .edit-form input:focus, .edit-form textarea:focus, .edit-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 255, 102, 0.12);
}
.search button, .primary, .card-add button, .detail-add button {
  background: var(--accent);
  color: #050505;
  border-radius: 3px;
  font-weight: 700;
}
.search button:hover, .primary:hover, .card-add button:hover, .detail-add button:hover { background: #fff; }
.filters { gap: 6px; }
.filters a {
  background: transparent;
  color: #a1a1aa;
  border-color: var(--line);
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.filters a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.filters a.active { background: #f5f5f5; color: #050505; border-color: #f5f5f5; }
.filters .often { border-color: rgba(0, 255, 102, 0.35); }
.filters .often.active { background: var(--accent); color: #050505; border-color: var(--accent); }

.catalog-grid { gap: 14px; }
.card {
  background: var(--panel);
  color: #f5f5f5;
  border-color: var(--line);
  border-radius: 4px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(255, 255, 255, 0.32); transform: translateY(-2px); box-shadow: none; }
.card-image { background: #151515; }
.card:hover img { transform: none; }
.placeholder { color: #333; font-family: "Syncopate", sans-serif; }
.badge {
  background: rgba(5, 5, 5, 0.88);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 102, 0.45);
  border-radius: 2px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
}
.meta { color: #71717a; font-family: "JetBrains Mono", monospace; font-weight: 400; }
.card h2 { color: #f5f5f5; font-weight: 600; letter-spacing: -0.025em; }
.price { color: #d4d4d8; font-weight: 500; }
.card-add { border-top: 1px solid rgba(255,255,255,.07); padding-top: 12px; }
.selection-fab {
  background: var(--accent);
  color: #050505;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 10px 35px rgba(0,0,0,.45);
  font-size: 13px;
}

.gallery img, .detail-placeholder { background: #151515; border-radius: 4px; }
.location-prices section, .selection-list article, .request-form, .login-card, .form-section,
.admin-list, .review-list {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 5px;
}
.location-prices .rule, .admin-list a, .review-list a { border-color: rgba(255,255,255,.08); }
.notice { background: #101510; color: #d4d4d8; border: 1px solid rgba(0,255,102,.22); border-radius: 4px; }
.share-link, .secondary, .quiet {
  background: #111;
  color: #e4e4e7;
  border-color: var(--line);
  border-radius: 3px;
}
.share-link:hover, .secondary:hover, .quiet:hover { background: #1a1a1a; border-color: rgba(255,255,255,.3); }

.admin { padding-top: 30px; }
.admin h1 { font-size: clamp(30px, 3.4vw, 46px); }
.review-banner {
  background: var(--panel);
  color: #f5f5f5;
  border: 1px solid var(--line);
  border-left: 3px solid var(--warm);
  border-radius: 4px;
}
.review-banner.requests { border-left-color: var(--accent); }
.review-banner span { color: var(--muted); }
.admin-tools { gap: 18px; margin-top: 28px; align-items: end; }
.admin-tools p { color: var(--muted); font-size: 13px; margin: 0; }
.admin-tools p strong { color: #fff; }
.admin-tools a { color: var(--accent); }
.tool-separator { padding: 0 5px; color: #52525b; }
.admin-list-controls { display: grid; grid-template-columns: minmax(240px, 1fr) 210px; gap: 8px; width: min(100%, 580px); }
.admin-list-controls input, .admin-list-controls select { min-height: 42px; padding: 9px 12px; }
.admin-list-result { min-height: 18px; margin: 4px 0 8px; color: var(--muted); font-size: 11px; }
.admin-list a { color: #f5f5f5; }
.admin-list a:hover { background: rgba(255,255,255,.035); }
.admin-list small, .review-list small, .admin-list em, .review-list em { color: #71717a; }
.admin-row-meta { display: flex; align-items: center; justify-content: end; gap: 10px; }
.missing-image-badge {
  color: var(--warm);
  border: 1px solid rgba(230,194,136,.28);
  border-radius: 2px;
  padding: 4px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}
.featured-admin-badge {
  color: var(--accent);
  border: 1px solid rgba(0,255,102,.28);
  border-radius: 2px;
  padding: 4px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}
.status-dot.published { background: var(--accent); }
.status-dot.draft { background: var(--warm); }
.status-dot.inactive { background: #52525b; }
.form-section h2 { color: #fff; }
.price-editor { background: #111; border-radius: 3px; }
.form-error { background: rgba(239,107,98,.1); color: #ff9c95; border: 1px solid rgba(239,107,98,.25); border-radius: 3px; }
.success { background: rgba(0,255,102,.08); color: #8affb9; border: 1px solid rgba(0,255,102,.25); border-radius: 3px; }
.sticky-save { box-shadow: 0 12px 35px rgba(0,0,0,.55); }

.section-heading>span { background: #171717; color: #a1a1aa; border-radius: 3px; }
.admin-image-card { background: #151515; border-radius: 4px; }
.image-menu summary { background: #0d0d0d; color: #fff; border-color: var(--line); box-shadow: 0 4px 18px rgba(0,0,0,.4); }
.image-menu[open] summary { background: var(--accent); color: #050505; }
.image-menu button { background: #111; color: #f5f5f5; border-color: var(--line); }
.photo-empty { background: #0b0b0b; color: #f5f5f5; border-color: #3f3f46; border-radius: 4px; }
.photo-empty:active { background: #111; border-color: var(--accent); }
.camera-icon { background: transparent; color: var(--accent); border: 1px solid rgba(0,255,102,.4); }
.photo-dialog-card { background: #0d0d0d; border: 1px solid var(--line); border-radius: 6px; }
.photo-preview, .progress-track { background: #191919; }
.progress-track span { background: var(--accent); }

footer { border-color: var(--line); color: #71717a; font-family: "JetBrains Mono", monospace; }

.featured { padding: 24px 0 18px; }
.public-heading, .catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.public-heading .eyebrow { margin-bottom: 8px; }
.public-heading h2, .catalog-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.public-heading>a {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.featured-grid .card { display: block; }
.catalog-section { padding-bottom: 70px; }
.catalog-section .catalog-grid { padding-bottom: 0; }
.catalog-heading { margin: 2px 0 18px; padding-top: 6px; }
.catalog-heading h2 { font-size: clamp(22px, 2.6vw, 32px); }
.catalog-heading span {
  color: #71717a;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}
.availability-note {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--warm);
  background: #0b0b0b;
  color: #d4d4d8;
  font-size: 13px;
  line-height: 1.5;
}
.availability-note span { color: var(--muted); }

.destination-fieldset { margin: 4px 0; padding: 0; border: 0; }
.destination-fieldset legend {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
}
.destination-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.destination-options label {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.destination-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.destination-options span {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: #f5f5f5;
  border-radius: 4px;
}
.destination-options small, .transport-choice small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
}
.destination-options input:checked+span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.destination-options input:focus-visible+span { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-external-location][hidden] { display: none !important; }
.transport-choice {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  margin: 5px 0 !important;
  padding: 15px;
  border: 1px solid rgba(0,255,102,.25);
  background: #101510;
  border-radius: 4px;
  cursor: pointer;
}
.transport-choice input { width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--accent); }
.transport-choice span { display: grid; gap: 5px; }
.request-summary {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.request-summary p { margin: 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); line-height: 1.5; }
.request-summary p:first-child { padding-top: 0; border-top: 0; }
.request-summary p:last-child { padding-bottom: 0; }
.transport-admin { display: grid; grid-template-columns: 1fr 220px; align-items: end; gap: 18px; }
.transport-admin label { margin: 0; }

@media (max-width: 760px) {
  .admin-tools { display: grid; align-items: stretch; }
  .admin-list-controls { width: 100%; grid-template-columns: 1fr; }
  .admin-row-meta em { display: none; }
  .destination-options { grid-template-columns: 1fr; }
  .destination-options span { min-height: auto; }
  .transport-admin { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fieldtest-banner { font-size: 9px; line-height: 1.45; }
  .site-header { height: 62px; }
  .brand { font-size: 11px; }
  .brand small { display: none; }
  .hero { min-height: 320px; }
  .hero h1 { font-size: 38px; }
  .hero-mark { font-size: 54px; }
  .card { grid-template-columns: 39% 1fr; }
  .admin h1 { font-size: 32px; }
  .tool-separator { display: none; }
  .admin-tools p span, .admin-tools p a { display: block; margin-top: 5px; }
  .missing-image-badge { font-size: 8px; }
  .featured { width: 100%; padding-left: 12px; padding-right: 0; overflow: hidden; }
  .public-heading { padding-right: 12px; }
  .public-heading h2 { font-size: 25px; }
  .featured-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 82vw);
    gap: 10px;
    overflow-x: auto;
    padding: 0 12px 8px 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .featured-grid::-webkit-scrollbar { display: none; }
  .featured-grid .card { scroll-snap-align: start; }
  .featured-grid .card-image { aspect-ratio: 4/3; }
  .featured-grid .card-body { padding: 14px; }
  .catalog-heading { align-items: baseline; }
  .catalog-heading h2 { font-size: 23px; }
  .destination-options { gap: 6px; }
  .destination-options span { padding: 12px; }
  .transport-choice { padding: 13px; }
  .featured-admin-badge { font-size: 8px; }
}
