/* Best of Must Have · /sanctuary-rooms/ · 21-Room Sanctuary Listener & 3-Item Shortlist Stylesheet (Zero inline styles) */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --soft: #f2efe8;
  --skip-bg: #f6f1e7;
  --skip-border: rgba(138, 114, 76, 0.36);
  --ink: #1c1a17;
  --ink-soft: #555861;
  --line: rgba(28, 26, 23, 0.13);
  --hair: rgba(28, 26, 23, 0.10);
  --glass: rgba(255, 255, 255, 0.88);
  --action: #16171b;
  --on-action: #faf8f4;
  --link: #2b3248;
  --gold: #8a724c;
  --ok-bg: #eef5f0;
  --ok-ink: #1d5938;
  --err-bg: rgba(168, 42, 42, 0.10);
  --err-ink: #9e2626;
  --shadow: rgba(21, 22, 25, 0.11);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Consolas', 'SFMono-Regular', ui-monospace, monospace;
  --radius-card: 20px;
  --radius-btn: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lift: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 56px -30px var(--shadow), 0 6px 18px -10px var(--shadow);
}

html[data-mode="dark"] {
  --bg: #0f1116;
  --surface: #171a22;
  --soft: #202430;
  --skip-bg: rgba(194, 168, 123, 0.10);
  --skip-border: rgba(194, 168, 123, 0.34);
  --ink: #f4f2ec;
  --ink-soft: #a5a9b5;
  --line: rgba(244, 242, 236, 0.15);
  --hair: rgba(244, 242, 236, 0.11);
  --glass: rgba(23, 26, 34, 0.88);
  --action: #f4f2ec;
  --on-action: #0f1116;
  --link: #d8c7a6;
  --gold: #c2a87b;
  --ok-bg: rgba(44, 128, 82, 0.18);
  --ok-ink: #9be0b8;
  --err-bg: rgba(220, 80, 80, 0.16);
  --err-ink: #ffb3b3;
  --shadow: rgba(0, 0, 0, 0.58);
  --lift: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 28px 64px -28px var(--shadow);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#ee-app, .ee-app, #ee-listen, .ee-listen, #listen, [data-ee-app], section.ee-app, #ee-hdr-theme-btn {
  display: none !important;
}

a { color: var(--link); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aura { position: absolute; width: 64vmax; height: 64vmax; border-radius: 50%; filter: blur(56px); opacity: 0.34; }
.a1 { left: -22vmax; top: -24vmax; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 15%, transparent), transparent 65%); }
.a2 { right: -22vmax; bottom: -26vmax; background: radial-gradient(circle, color-mix(in srgb, var(--link) 12%, transparent), transparent 65%); }
.grain { position: absolute; inset: 0; opacity: 0.028; background-image: radial-gradient(var(--ink) 0.55px, transparent 0.65px); background-size: 3px 3px; }

/* ---------- Single 1-Row Header (0.0px Vertical Spread Across All Viewports) ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 62px;
  padding: 0 clamp(14px, 2.5vw, 34px);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 38px;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.mark {
  width: 34px;
  height: 34px;
  flex: none;
  overflow: visible;
}
.mark .mk-ring { fill: none; stroke: var(--ink); stroke-width: 1.7; opacity: 0.85; }
.mark .mk-ring2 { fill: none; stroke: var(--gold); stroke-width: 0.75; stroke-dasharray: 1.5 3; opacity: 0.8; }
.mark .mk-seed circle { fill: none; stroke: var(--gold); stroke-width: 1.05; opacity: 0.82; }
.mark .mk-core { fill: var(--ink); }
.mark .mk-north { fill: var(--gold); }

.wm {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.44rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.links {
  display: inline-flex;
  align-items: center;
  height: 38px;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--glass);
  white-space: nowrap;
}

.links a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.links a[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 3px 12px -5px var(--shadow);
}
.links a:hover { color: var(--ink); }

.right {
  display: inline-flex;
  align-items: center;
  height: 38px;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: var(--action);
  color: var(--on-action);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), opacity 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn:disabled { opacity: 0.58; cursor: wait; transform: none; }

.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--gold); opacity: 1; }

.btn.hdr-btn {
  min-height: 38px;
  height: 38px;
  padding: 0 15px;
  font-size: 13px;
  line-height: 1;
}

.btn.sm {
  min-height: 35px;
  padding: 0 14px;
  font-size: 12.5px;
}

.btn.full {
  width: 100%;
  white-space: normal;
  text-align: center;
  padding: 10px 16px;
}

.menu-btn {
  display: none;
  align-items: center;
  height: 38px;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.menu-btn i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* ---------- Mobile Drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: color-mix(in srgb, var(--bg) 68%, rgba(0, 0, 0, 0.28));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: flex-end;
}

.drawer-in {
  width: min(320px, 86vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  box-shadow: var(--lift);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--hair);
}

.close-x {
  border: 0;
  background: var(--soft);
  color: var(--ink);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.drawer-in a.v, .drawer-in button.v {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.drawer-in a.v:hover, .drawer-in a.v[aria-current="page"], .drawer-in button.v:hover {
  background: var(--soft);
  font-weight: 600;
}

/* ---------- Main Page Layout ---------- */
.page {
  position: relative;
  z-index: 2;
  width: min(1260px, 100%);
  margin-inline: auto;
  padding: clamp(20px, 3.2vw, 40px) clamp(14px, 2.5vw, 34px) 52px;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 34px);
}

.kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(2.05rem, 3.3vw, 3.05rem); line-height: 1.05; max-width: 24ch; }
h2 { font-size: clamp(1.7rem, 2.5vw, 2.35rem); line-height: 1.1; }
h3 { font-size: clamp(1.28rem, 1.65vw, 1.5rem); line-height: 1.18; }

.lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.54;
  color: var(--ink-soft);
  max-width: 72ch;
}

/* ---------- State-First Calm Intake Panel ---------- */
.intake-shell {
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-card);
  background: var(--glass);
  border: 1px solid var(--hair);
  box-shadow: var(--lift);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.intake-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.intake-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arrival-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.arrival-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.step-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.step-sub {
  font-size: 12.5px;
  color: var(--ink-soft);
}

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

.dim-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s var(--ease);
}
.dim-btn:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.dim-btn[aria-pressed="true"] {
  background: var(--action);
  color: var(--on-action);
  border-color: var(--action);
}
.dim-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.dim-btn[aria-pressed="true"] .dim-num {
  color: var(--on-action);
  opacity: 0.82;
}
.dim-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

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

.state-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 15px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s var(--ease);
}
.state-pill:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.state-pill[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--soft);
  box-shadow: 0 10px 24px -18px var(--shadow);
}
.state-pill strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.state-pill span {
  font-size: 12.2px;
  line-height: 1.35;
  color: var(--ink-soft);
}

.jump-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--hair);
}

.jump-select-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 320px;
}

.field {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
}
.field:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 12%, transparent);
}
.field.room-select {
  max-width: 440px;
}

/* ---------- Active Room Header & Bookmark Bar ---------- */
.room-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.room-banner {
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.room-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 72ch;
}

.room-question {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.18rem, 1.6vw, 1.38rem);
  line-height: 1.32;
  color: var(--ink-soft);
}

.room-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.room-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.copy-feedback {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ok-ink);
}

/* ---------- Strictly 3-Object Curated Shortlist Grid ---------- */
.shortlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.obj-card {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.obj-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.obj-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sku-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.price-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--hair);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.brand-line {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.verdict-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--hair);
}
.verdict-box strong {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.verdict-box p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.48;
  color: var(--ink-soft);
}

.skip-box {
  padding: 11px 13px;
  border-radius: 13px;
  background: var(--skip-bg);
  border: 1px solid var(--skip-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.skip-box strong {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.skip-box p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.44;
  color: var(--ink);
}

.obj-bottom {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hi-note {
  padding: 9px 11px;
  border-radius: 11px;
  background: var(--bg);
  border: 1px solid var(--hair);
  font-size: 12.2px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.hi-note strong {
  color: var(--ink);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.secondary-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.secondary-link:hover { color: var(--ink); }

/* ---------- Cross-Link & Quiet Monthly Dispatch Band ---------- */
.bottom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.split-card {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

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

.nl-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fine-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.fine-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nl-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: 13px;
  font-weight: 500;
}
.nl-status.err {
  background: var(--err-bg);
  color: var(--err-ink);
}

/* ---------- Footer (FTC Disclosure + Light / Dark Strictly Here) ---------- */
.foot {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 14px clamp(14px, 2.5vw, 34px) max(14px, env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--ink-soft);
  border-top: 1px solid var(--hair);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.foot-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  max-width: 74ch;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.foot-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.foot-btn:hover { border-color: var(--ink); color: var(--ink); }

.foot-link {
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.foot-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1120px) {
  .dim-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shortlist-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1060px) {
  .links, .signin-top { display: none; }
  .menu-btn { display: inline-flex; }
  .bottom-split { grid-template-columns: minmax(0, 1fr); }
  .room-controls { align-items: flex-start; }
}

@media (max-width: 740px) {
  .dim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state-bar { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .top { height: 54px; padding: 0 12px; gap: 6px; }
  .brand { height: 34px; gap: 6px; }
  .mark { width: 25px; height: 25px; }
  .wm { font-size: 1.05rem; }
  .right { height: 34px; gap: 5px; }
  .btn.hdr-btn { min-height: 34px; height: 34px; padding: 0 10px; font-size: 11.5px; }
  .menu-btn { height: 34px; padding: 0 9px; font-size: 11.5px; gap: 5px; }
  .dim-grid { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .page { padding: 16px 12px 40px; gap: 20px; }
  .foot { padding: 12px; }
}
