/* Look and feel follows HRD-Day (https://hrd-day.vercel.app):
   Cream hero, ink typography, Newsreader headlines, Google Sans text,
   one editorial red accent, hairline rules, small radii, no heavy shadows. */

:root {
  --ink: #121212;
  --ink-2: #3c3c3c;
  --muted: #6e6e6e;
  --paper: #f7f4ee;
  --cream: #fbf3e1;
  --line: #e4e1da;
  --line-2: #c8c4ba;
  --track: #eeebe4;
  --accent: #b8281d;
  --accent-600: #931d14;
  --accent-50: #faebe8;
  --good: #2e6b3f;
  --good-50: #e7f0e7;
  --bad: #a3261b;
  --bad-50: #fae9e6;
  --warn: #8a5a00;
  --warn-50: #fcf3dd;
  --gmap-blue: #1a73e8;
  --gmap-blue-soft: #e8f0fe;
  --r: 6px;
  --r-sm: 4px;
  --font: "Google Sans", "Google Sans Text", "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  --font-display: "Newsreader", "Google Sans", "Noto Sans Thai", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
}

img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: var(--ink); text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Editorial Kicker */
.kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

/* =========================================================
   1. HERO & MASTHEAD (REPLICATING HRD-DAY EXACT BRANDING)
   ========================================================= */
.hero {
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 3px 0 var(--cream), 0 4px 0 var(--ink);
}
.mast-brand { display: flex; align-items: center; gap: 14px; }
.mast-brand img { height: 26px; width: auto; }
.mast-brand i { width: 1px; height: 32px; background: var(--ink); display: block; }
.mast-word { display: flex; flex-direction: column; line-height: 1.1; }
.mast-word b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.mast-word small {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--muted);
  margin-top: 3px;
}
.mast-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mast-issue {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: right;
  line-height: 1.6;
}
.mast-tools { display: flex; gap: 6px; margin-top: 2px; }
.btn-tool {
  font-size: 11px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 2px 8px;
  cursor: pointer;
  color: var(--muted);
  transition: all .15s;
}
.btn-tool:hover { border-color: var(--ink); color: var(--ink); }
.btn-tool.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 28px 0 24px;
}
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: 100%;
  max-width: 820px;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
}
.hero-copy { text-align: left; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.deck {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
  line-height: 1.5;
  margin: 14px 0 0;
}
.hero-audience {
  font-size: clamp(12px, 1.35vw, 14.5px);
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
}
.hero-meta {
  font-size: 14px;
  color: var(--ink-2);
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.hero-meta span { white-space: nowrap; }
.hero-location { font-size: 13.5px; margin: 4px 0 0; color: var(--ink-2); }
.time-note { font-size: 12.5px; margin: 4px 0 0; color: var(--accent-600); font-weight: 500; }

@media (max-width: 639px) {
  .mast { flex-wrap: wrap; gap: 8px 14px; }
  .mast-right { align-items: flex-start; width: 100%; }
  .mast-issue { text-align: left; font-size: 9.5px; letter-spacing: .12em; }
}

/* =========================================================
   2. CHECK-IN SECTION (ONLY "เคยลงทะเบียนแล้ว" RETAINED)
   ========================================================= */
.path {
  border-top: 1px solid var(--ink);
  padding: 22px 0 32px;
}
.path-q {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 12px;
}
.path-opts {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}
.path-opt {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 16px 18px;
}
.path-opt.on {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 4px 0 var(--accent);
}
.path-opt .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  flex: none;
  background: var(--ink);
  margin-top: 2px;
}
.path-opt .tick::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.path-opt b { display: block; font-size: 17px; line-height: 1.4; }
.path-opt .po-sub { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-top: 3px; }

/* Main Check-in Card (.lookup) */
.lookup {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: 18px 20px 22px;
}
.lookup > .hint {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.fields {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) {
  .fields { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  background: #fff;
  min-height: 46px;
  font-size: 15.5px;
}
.field input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  border-color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  min-height: 46px;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: #000; border-color: #000; }
.btn-line { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: var(--paper); }
.btn.sm { min-height: 32px; padding: 4px 12px; font-size: 12.5px; border-radius: var(--r-sm); }
.btn.ghost { background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }

/* Quick Sample Chips */
.sample-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}
.sample-title { font-weight: 600; color: var(--ink-2); }
.sample-chip {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.sample-chip:hover {
  border-color: var(--ink);
  background: #fff;
  color: var(--accent-600);
}

/* Status / Alert Notices */
.lk-msg {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.6;
  border-radius: 0 var(--r) var(--r) 0;
}
.lk-msg.ok { border-color: var(--good); background: var(--good-50); }
.lk-msg.bad { border-color: var(--bad); background: var(--bad-50); }
.lk-msg.warn { border-color: var(--warn); background: var(--warn-50); }
.lk-lead { display: block; margin-bottom: 4px; font-size: 14.5px; }

/* Attendee Details Card (Rendered upon successful lookup) */
.attendee-result-card {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r);
  box-shadow: inset 3px 0 0 var(--accent);
}
.attendee-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.attendee-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.attendee-org {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge.green { background: var(--good-50); color: var(--good); }
.badge.amber { background: var(--warn-50); color: var(--warn); }
.badge.red { background: var(--bad-50); color: var(--bad); }
.badge.blue { background: var(--gmap-blue-soft); color: var(--gmap-blue); }

.attendee-sessions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.attendee-session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  cursor: pointer;
  transition: all .15s;
}
.attendee-session-row:hover {
  border-color: var(--ink);
  background: #FAF9F6;
}
.attendee-session-row.active {
  border-color: var(--accent);
  background: var(--accent-50);
}
.as-time { font-weight: 700; font-size: 13px; color: var(--accent-600); min-width: 95px; }
.as-topic { flex: 1; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.as-room {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--paper);
  border: 1px solid var(--line-2);
}
.room-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.attendee-action-bar {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   3. VENUE FLOOR PLAN SECTION (EMBEDDED DIRECTLY BELOW)
   ========================================================= */
.main-content {
  padding-top: 48px;
  padding-bottom: 90px;
}
.map-section { scroll-margin-top: 20px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
}
.section-head .hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.map-head-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 999px;
}

/* Map Instruction */
.map-instruction {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  color: var(--ink-2);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 280px;
}
.search-wrap svg {
  position: absolute;
  left: 11px;
  color: var(--muted);
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 7px 12px 7px 34px;
  background: var(--paper);
  font-size: 13.5px;
  min-height: 38px;
}
.search-wrap input:focus {
  outline: 2px solid var(--ink);
  background: #fff;
  border-color: var(--ink);
}

/* Main Map Grid Layout (Responsive 2-Column) */
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}
@media (max-width: 1023px) {
  .map-grid { grid-template-columns: 1fr; }
}

/* Map Stage Card */
.map-stage-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
}
.map-viewport-wrap {
  width: 100%;
  height: 580px;
  position: relative;
  overflow: hidden;
  background: #fff;
  cursor: grab;
  user-select: none;
}
.map-viewport-wrap:active { cursor: grabbing; }
.floorplan-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
}
.zoom-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}
.zoom-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.zoom-btn:hover { background: var(--paper); }
.map-note-bar {
  padding: 10px 14px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}

/* Map Aside (Sidebar) */
.map-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aside-journey-block {
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: inset 0 3px 0 var(--accent);
}
.journey-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s;
}
.journey-step:hover { background: var(--paper); border-color: var(--line-2); }
.journey-step.active { background: var(--accent-50); border-color: var(--accent); }
.step-pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-time { font-size: 11px; font-weight: 700; color: var(--accent-600); }
.step-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.step-room { font-size: 11.5px; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 5px; }

/* Route Box */
.route-box {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 14px;
}
.route-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.route-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.route-label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 3px; }
.route-select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 6px 8px;
  font-size: 12px;
  background: #fff;
}
.route-directions {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background: var(--paper);
  border-radius: var(--r-sm);
  font-size: 12px;
  line-height: 1.5;
}
.route-directions.active { display: block; }
.route-directions ol { margin: 6px 0 0 18px; padding: 0; }
.route-directions li { margin-bottom: 4px; }

/* Room Inspector Card */
.inspector-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 16px;
}
.inspector-head .kicker { margin-bottom: 2px; }
.inspector-head h3 { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.stat-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  text-align: center;
}
.stat-tile .v { font-size: 15px; font-weight: 700; color: var(--ink); }
.stat-tile .l { font-size: 11px; color: var(--muted); margin-top: 2px; }
.session-card {
  padding: 9px 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.session-card:first-child { border-top: 0; }
.session-time { font-size: 11px; font-weight: 700; color: var(--accent-600); }
.session-title { font-weight: 600; color: var(--ink); margin: 2px 0; }
.session-speaker { color: var(--muted); font-size: 11.5px; }

/* Directory Card */
.directory-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 14px;
}
.directory-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.zone-list {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zone-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .15s;
}
.zone-item:hover { background: var(--paper); border-color: var(--line-2); }
.zone-item.selected { background: var(--paper); border-color: var(--ink); }
.zone-item-title { font-weight: 600; font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.zone-item-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* =========================================================
   4. PULSING PINPOINT BEACON ANIMATIONS
   ========================================================= */
@keyframes pinRadar1 {
  0% { r: 8px; opacity: 0.95; }
  50% { r: 24px; opacity: 0.45; }
  100% { r: 42px; opacity: 0; }
}
@keyframes pinRadar2 {
  0% { r: 14px; opacity: 0.75; }
  50% { r: 36px; opacity: 0.3; }
  100% { r: 60px; opacity: 0; }
}
@keyframes pinRadar3 {
  0% { r: 20px; opacity: 0.55; }
  50% { r: 48px; opacity: 0.18; }
  100% { r: 78px; opacity: 0; }
}
@keyframes pinBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes roomPulseGlow {
  0%, 100% {
    stroke: #B8281D;
    stroke-width: 4px;
    filter: drop-shadow(0 0 6px rgba(184, 40, 29, 0.65));
  }
  50% {
    stroke: #FF3B30;
    stroke-width: 6.5px;
    filter: drop-shadow(0 0 18px rgba(255, 59, 48, 0.9));
  }
}

.pin-radar-1 { animation: pinRadar1 1.6s infinite ease-out; }
.pin-radar-2 { animation: pinRadar2 1.6s infinite ease-out 0.35s; }
.pin-radar-3 { animation: pinRadar3 1.6s infinite ease-out 0.7s; }
.pin-marker-graphic { animation: pinBob 1.5s infinite ease-in-out; }

.room-zone.assigned-target .zone-hit {
  animation: roomPulseGlow 1.4s infinite ease-in-out !important;
  stroke: #B8281D !important;
}

/* =========================================================
   5. ORGANIZER MODAL
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.6);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}
.modal-backdrop.open { display: grid; }
.modal-card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--ink);
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--paper);
}
.modal-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.modal-head p { margin: 2px 0 0; }
.modal-body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.assign-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.assign-table th, .assign-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.assign-table th { background: var(--paper); font-weight: 700; }

/* =========================================================
   6. SITE FOOTER
   ========================================================= */
.site-foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 24px 0 36px;
  background: #fff;
}
.foot-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
.foot-left { display: flex; align-items: center; }

/* =========================================================
   7. SME ZONE 28 OCT DISABLED & DATE SWITCHER
   ========================================================= */
.room-zone.zone-disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
  filter: grayscale(1);
}

.chip[data-cat="ZONE_3"].disabled,
.chip.disabled[data-cat="ZONE_3"] {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.45;
  background: var(--paper);
  border-color: var(--line-2);
  text-decoration: line-through;
}

/* Date Switcher */
.event-date-switcher {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 3px;
  gap: 4px;
}
.event-date-switcher .switcher-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  padding: 0 10px 0 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.date-tab {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  transition: all .15s ease-out;
}
.date-tab .tab-d {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.date-tab .tab-sub {
  font-size: 10px;
  color: var(--muted);
}
.date-tab:hover {
  background: var(--paper);
}
.date-tab.active {
  background: var(--ink);
  border-color: var(--ink);
}
.date-tab.active .tab-d {
  color: #fff;
}
.date-tab.active .tab-sub {
  color: rgba(255, 255, 255, 0.75);
}


/* Expert Showcase Directory Board */
.directory-board-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.directory-board-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 20, 19, 0.12);
  border-color: var(--ink);
}
.directory-board-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom 4 Zone Posters Row (01, 02, 03, 04 Horizontally) */
.zone-posters-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.zone-poster-item {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  display: flex;
  flex-direction: column;
}
.zone-poster-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 20, 19, 0.12);
  border-color: var(--ink);
}
.zone-poster-item img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .zone-posters-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .zone-poster-item {
    flex: 0 0 78%;
    max-width: 320px;
    scroll-snap-align: start;
  }
}
.poster-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 19, 0.85);
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 20px;
  cursor: zoom-out;
}
.poster-lightbox.open {
  display: grid;
}
.poster-lightbox img {
  max-width: 94vw;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  background: #fff;
}
