/* ============================================================
   THE ROCK — warm cinematic wellness
   Manrope everywhere · warm ivory + eucalyptus + ember
   ============================================================ */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --white: #ffffff;
  --sand: #f7f4ee;
  --sand-2: #efe9dd;
  --ink: #23281f;
  --ink-2: #494f41;
  --mute: #676c60;
  --muted: #676c60;
  --ink-dim: #494f41;
  --ink-soft: #494f41;
  --line: #e3ddcd;
  --green: #2f5d50;
  --green-2: #3f7363;
  --green-deep: #1e3a32;
  --green-soft: #dfe9e3;
  --ember: #c0683f;
  --ember-2: #a4552f;
  --ember-btn: #b05a33;
  --alert: #c0683f;
  --open: #2f5d50;
  --held: #b8923d;
  --booked: #9a5a4e;
  --blocked: #a8b0aa;
  --wrap: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ff: "Manrope", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
img, picture, .hero-media {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--green); color: #fff; padding: 10px 12px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.wrap-wide { width: min(1480px, calc(100% - 32px)); margin: 0 auto; }

h1, h2, h3 {
  font-family: var(--ff);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 0.55em;
  color: var(--ink);
  text-wrap: balance;
}
blockquote, .lede, .exp-statement, .story-moment-copy span { text-wrap: pretty; }
h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 750; }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.5rem); }
h3 { font-size: clamp(1.08rem, 1.5vw, 1.3rem); letter-spacing: -0.015em; }
p { margin: 0 0 1rem; color: var(--ink-2); }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
  font-weight: 500;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.7;
}
.serif { font-style: normal; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.2rem; flex-wrap: wrap; margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0.4rem 0 0; max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.85rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--ff); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.01em;
  transition: background .22s, color .22s, border-color .22s, transform .3s var(--ease), box-shadow .3s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-ember, .btn-ink {
  background: var(--ember-btn); color: #fff; border-color: var(--ember-btn);
  box-shadow: 0 10px 24px -12px rgba(192, 104, 63, 0.55);
}
.btn-ember:hover, .btn-ink:hover { background: var(--ember-2); border-color: var(--ember-2); color: #fff; }
.btn-moss { background: var(--green); color: #fff; border-color: var(--green); }
.btn-moss:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(35, 40, 31, 0.4); }
.btn-ghost:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn-light:hover { background: var(--sand); border-color: var(--sand); }
.hero .btn-ghost, .page-hero .btn-ghost, .quote-band .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,0.65);
}
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .quote-band .btn-ghost:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: transparent; transition: background .3s;
}
.site-header.is-scrolled, .site-header.is-solid { border-bottom-color: var(--line); }
.site-header.is-scrolled::before, .site-header.is-solid::before {
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex; align-items: center; gap: 16px;
}
.brand img { height: 27px; width: auto; }
.brand-logo--dark { display: none; }
.site-header.is-scrolled .brand-logo--light,
.site-header.is-solid .brand-logo--light { display: none; }
.site-header.is-scrolled .brand-logo--dark,
.site-header.is-solid .brand-logo--dark { display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.1rem; }
.nav a {
  padding: 0.55rem 0.85rem;
  font-family: var(--ff); font-size: 0.9rem; font-weight: 600;
  color: rgba(255,255,255,0.95);
  transition: color .2s;
}
.site-header.is-scrolled .nav a,
.site-header.is-solid .nav a { color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.site-header.is-scrolled .nav a:hover,
.site-header.is-scrolled .nav a[aria-current="page"],
.site-header.is-solid .nav a:hover,
.site-header.is-solid .nav a[aria-current="page"] { color: var(--green); }
.nav-cta {
  margin-left: 0.7rem !important;
  background: var(--ember-btn) !important; color: #fff !important;
  padding: 0.6rem 1.25rem !important; border-radius: 999px !important;
  font-weight: 700 !important; text-decoration: none !important;
}
.nav-cta:hover { background: var(--ember-2) !important; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 6px auto;
  background: #fff; border-radius: 2px;
  transition: transform .35s var(--ease), background .2s;
}
.site-header.is-scrolled .nav-toggle span,
.site-header.is-solid .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span { background: #fff !important; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nav-backdrop { display: none; }
.nav-foot { display: none; }

/* ============ HERO — full-bleed cinematic ============ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 16s var(--ease) both;
  transform-origin: 62% 40%;
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}
.hero-scrim {
  display: block; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 26, 22, 0.42) 0%, rgba(20, 26, 22, 0) 30%),
    linear-gradient(12deg, rgba(20, 26, 22, 0.72) 0%, rgba(20, 26, 22, 0.28) 46%, rgba(20, 26, 22, 0.05) 72%);
}
.hero-content {
  position: relative; width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8.5rem clamp(0.5rem, 1.5vw, 1rem) clamp(2rem, 5vh, 3.4rem);
  animation: rise 1s var(--ease) 0.15s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero .eyebrow { color: #f0d9c8; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  max-width: 17ch;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero .lede {
  color: rgba(255,255,255,0.92);
  max-width: 52ch;
  margin-bottom: 1.8rem;
  text-shadow: 0 1px 18px rgba(0,0,0,0.3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: clamp(1.8rem, 4vh, 3rem); }

.hero-rail {
  display: flex; gap: clamp(1.6rem, 4vw, 3.6rem);
  border-top: 1px solid rgba(255,255,255,0.28);
  padding-top: 1.3rem;
  max-width: 720px;
}
.hero-rail div strong {
  display: block; font-family: var(--ff); font-weight: 750;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; color: #fff;
}
.hero-rail div span {
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); font-weight: 700;
}
.hero-cue {
  position: absolute; right: clamp(1rem, 3vw, 2.6rem); bottom: 2.2rem;
  width: 1px; height: 64px; background: rgba(255,255,255,0.35); overflow: hidden;
}
.hero-cue::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%; background: #fff;
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* ============ Page hero (inner pages) — immersive ============ */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.page-hero .hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 14s var(--ease) both;
}
.page-hero .hero-scrim {
  display: block; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,26,22,0.32) 0%, rgba(20,26,22,0) 28%),
    linear-gradient(10deg, rgba(20,26,22,0.58) 0%, rgba(20,26,22,0.12) 50%, rgba(20,26,22,0) 75%);
}
.page-hero-content {
  position: relative; width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8rem clamp(0.5rem, 1.5vw, 1rem) clamp(1.8rem, 4.5vh, 3rem);
  animation: rise 0.9s var(--ease) 0.1s both;
}
.page-hero .eyebrow { color: #f0d9c8; }
.page-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2rem, 3.8vw, 3.2rem); text-shadow: 0 2px 26px rgba(0,0,0,0.3); }

/* ============ Marquee ============ */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--sand); padding: 0.95rem 0;
}
.marquee-track {
  display: flex; gap: 2.2rem; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--ff); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track b { color: var(--green); font-weight: 700; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Sections / bands ============ */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.band-soft, .band-moss { background: var(--sand-2); }
.band-green { background: var(--green-deep); color: #fff; }
.band-green h2, .band-green h3, .band-green strong { color: #fff; }
.band-green p { color: rgba(255,255,255,0.82); }
.panel { background: var(--white); border: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.split-rev { grid-template-columns: 0.95fr 1.05fr; }
.split-rev .split-copy { order: 2; }
.frame {
  position: relative; overflow: hidden; border-radius: 18px;
  background: var(--sand-2);
  box-shadow: 0 30px 60px -38px rgba(35, 40, 31, 0.45);
}
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1.1s var(--ease); }
.frame:hover img { transform: scale(1.045); }
.frame-wide img { aspect-ratio: 16/10; }

/* Editorial intro w/ collage */
.editorial { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.4rem, 5vw, 5rem); align-items: center; }
.editorial .statement {
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.22;
  color: var(--ink); margin-bottom: 1.2rem;
}
.editorial .statement em { font-style: normal; color: var(--green); }
.collage { position: relative; padding-bottom: 4.5rem; }
.collage-a {
  width: 82%; border-radius: 18px; overflow: hidden;
  box-shadow: 0 34px 70px -40px rgba(35, 40, 31, 0.55);
}
.collage-a img { aspect-ratio: 4/3.4; width: 100%; object-fit: cover; }
.collage-b {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border-radius: 16px; overflow: hidden;
  border: 6px solid var(--sand);
  box-shadow: 0 30px 60px -34px rgba(35, 40, 31, 0.6);
}
.collage-b img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.collage-tag {
  position: absolute; left: -0.4rem; bottom: 2.4rem;
  background: var(--green); color: #fff;
  border-radius: 999px; padding: 0.55rem 1.1rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 16px 34px -18px rgba(30, 58, 50, 0.7);
}

/* ============ Quote band w/ parallax ============ */
.quote-band {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 74vh;
  display: grid; place-items: center;
  color: #fff; text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.quote-band > img {
  position: absolute; left: 0; top: -15%; width: 100%; height: 130%;
  object-fit: cover; z-index: -2; will-change: transform;
}
.quote-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 24, 20, 0.55), rgba(18, 24, 20, 0.62));
}
.quote-band blockquote {
  margin: 0 auto 1.4rem; max-width: 21ch;
  font-family: var(--ff); font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  letter-spacing: -0.02em; line-height: 1.22;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.quote-band cite {
  display: block; font-style: normal; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

/* ============ Space cards (home) ============ */
.space-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.4rem); }
.space-card {
  position: relative; display: block; overflow: hidden; border-radius: 18px;
  aspect-ratio: 3/3.8; background: var(--sand-2); isolation: isolate;
}
.space-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.space-card:hover img { transform: scale(1.06); }
.space-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(18,24,20,0) 42%, rgba(18,24,20,0.66) 100%);
  transition: opacity .4s;
}
.space-card-label {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.15rem; z-index: 2; color: #fff;
}
.space-card-label strong {
  display: block; font-family: var(--ff); font-weight: 700;
  font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.15rem;
}
.space-card-label span { font-size: 0.85rem; color: rgba(255,255,255,0.82); }
.space-card-arrow {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.16); backdrop-filter: blur(6px);
  color: #fff; font-size: 1.1rem;
  transition: background .3s, transform .4s var(--ease);
}
.space-card:hover .space-card-arrow { background: var(--ember); transform: rotate(45deg); }

/* Spaces page rows */
.space-stack { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.space-row {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.8rem, 4vw, 4rem); align-items: center;
}
.space-row:nth-child(even) { grid-template-columns: 0.92fr 1.08fr; }
.space-row:nth-child(even) .space-info { order: -1; }
.space-row .frame img { aspect-ratio: 4/3; }
.space-info .eyebrow { margin-bottom: 0.7rem; }

/* ============ Experiences ============ */
.exp-rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 1.5vw, 1.3rem);
  counter-reset: exp;
}
.exp-tile {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.exp-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 55px -34px rgba(35, 40, 31, 0.5);
}
.exp-tile::before {
  counter-increment: exp;
  content: "0" counter(exp);
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
  color: var(--green-deep);
  font-family: var(--ff); font-weight: 750; font-size: 0.78rem; letter-spacing: 0.08em;
  padding: 0.32rem 0.6rem; border-radius: 999px;
}
.exp-tile img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.exp-tile:hover img { transform: scale(1.05); }
.exp-tile h3 { margin: 1.1rem 1.2rem 0.35rem; }
.exp-tile p { margin: 0 1.2rem 0.9rem; font-size: 0.93rem; }
.exp-meta {
  margin: 0 1.2rem 1.2rem; padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mute);
}

/* ============ Gallery ============ */
.gallery-cinema {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 27vw);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.8rem;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.gallery-cinema a {
  position: relative;
  scroll-snap-align: start; display: block; overflow: hidden;
  aspect-ratio: 3/4; background: var(--sand-2); border-radius: 16px;
  isolation: isolate;
}
.gallery-cinema img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-cinema a:hover img { transform: scale(1.05); }
.cine-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(180deg, rgba(18,24,20,0), rgba(18,24,20,0.62));
  color: #fff; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
}

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery-grid a {
  position: relative; display: block; overflow: hidden;
  background: var(--sand-2); aspect-ratio: 1; border-radius: 14px;
}
.gallery-grid a:nth-child(1) { grid-column: span 8; aspect-ratio: 16/9; }
.gallery-grid a:nth-child(2) { grid-column: span 4; aspect-ratio: auto; }
.gallery-grid a:nth-child(3),
.gallery-grid a:nth-child(4),
.gallery-grid a:nth-child(5) { grid-column: span 4; }
.gallery-grid a:nth-child(n+6) { grid-column: span 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.05); }

/* ============ Availability band ============ */
.avail-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90rem 40rem at 110% -20%, rgba(63, 115, 99, 0.55), transparent 60%),
    radial-gradient(60rem 30rem at -10% 120%, rgba(192, 104, 63, 0.22), transparent 55%),
    var(--green-deep);
  color: #fff;
  border-radius: 24px;
  padding: clamp(2.2rem, 5vw, 3.6rem);
}
.avail-band h2 { color: #fff; }
.avail-band p { color: rgba(255,255,255,0.82); }
.avail-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.avail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.avail-stats div { border-left: 1px solid rgba(255,255,255,0.25); padding-left: 1rem; }
.avail-stats strong {
  display: block; font-family: var(--ff); font-weight: 750;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; color: #fff;
}
.avail-stats span {
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); font-weight: 700;
}

/* ============ Booking / urgency / calendar ============ */
.book-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; align-items: start; }
.urgency-banner {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.05rem 1.2rem; margin-bottom: 14px;
  border: 1px solid #ecc9b2; background: #fdf1e8; border-radius: 14px;
}
.urgency-banner strong {
  display: block; font-family: var(--ff); font-size: 1.18rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.15rem;
}
.urgency-pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--ember);
  margin-top: 0.42rem; flex: 0 0 auto;
  animation: pulse 1.7s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(192, 104, 63, .5); }
  70% { box-shadow: 0 0 0 11px rgba(192, 104, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 104, 63, 0); }
}

.cal-shell { border: 1px solid var(--line); background: #fff; border-radius: 18px; overflow: hidden; }
.cal-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--sand);
}
.cal-toolbar h3 { margin: 0; font-size: 1.25rem; }
.cal-nav { display: flex; gap: 0.4rem; }
.cal-nav button {
  width: 40px; height: 40px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); cursor: pointer; border-radius: 50%;
  transition: border-color .2s, color .2s, background .2s;
}
.cal-nav button:hover { border-color: var(--green); color: #fff; background: var(--green); }
.cal-legend {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  padding: 0.8rem 1.15rem; border-bottom: 1px solid var(--line);
  font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute); font-weight: 700;
}
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 0.3rem; vertical-align: -1px; }
.cal-months { padding: 0.85rem; display: grid; gap: 1.2rem; }
.cal-month h4 {
  margin: 0 0 0.55rem; padding: 0 0.25rem;
  font-family: var(--ff); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mute); font-weight: 750;
}
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-weekdays span {
  text-align: center; font-size: 0.62rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mute); padding: 0.25rem 0; font-weight: 700;
}
.cal-day {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px;
  background: var(--sand); color: var(--mute);
  display: grid; place-items: center; font-size: 0.86rem; font-weight: 700;
  cursor: default; position: relative; user-select: none; font-family: var(--ff);
  transition: background .15s, border-color .15s, transform .15s;
}
.cal-day.is-open { cursor: pointer; color: var(--green); border-color: #bad2c7; background: var(--green-soft); }
.cal-day.is-open:hover { background: #cde0d6; border-color: var(--green); transform: scale(1.06); }
.cal-day.is-booked { background: #f2ded8; color: #7a4036; cursor: not-allowed; }
.cal-day.is-held { background: #f4e8c9; color: #7a6328; cursor: not-allowed; }
.cal-day.is-blocked { background: #e8e6dd; color: #8f948a; cursor: not-allowed; }
.cal-day.is-past, .cal-day.is-closed { opacity: 0.35; }
.cal-day.is-inrange { background: #c3dacf !important; border-color: var(--green) !important; color: var(--green-deep) !important; }
.cal-day.is-start, .cal-day.is-end { background: var(--green) !important; color: #fff !important; border-color: var(--green) !important; }
.cal-day.is-urgent-open::after {
  content: ""; position: absolute; top: 5px; right: 5px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ember);
}

.form-card {
  border: 1px solid var(--line); background: #fff; border-radius: 18px;
  padding: clamp(1.2rem, 2.5vw, 1.6rem); position: sticky; top: 92px;
  box-shadow: 0 30px 60px -45px rgba(35, 40, 31, 0.4);
}
.form { display: grid; gap: 0.85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
label {
  display: grid; gap: 0.32rem;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); font-weight: 750; font-family: var(--ff);
}
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: var(--sand);
  color: var(--ink); padding: 0.85rem 0.95rem; border-radius: 10px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.14); background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.range-summary {
  padding: 0.9rem 1rem; border: 1px solid var(--green);
  background: var(--green-soft); border-radius: 12px; margin-bottom: 0.15rem;
}
.range-summary strong { color: var(--green-deep); font-family: var(--ff); font-size: 1.12rem; }
.alert { padding: 0.9rem 1.05rem; border-radius: 12px; margin-bottom: 0.9rem; border: 1px solid var(--line); background: #fff; }
.alert-ok { border-color: #bad2c7; background: var(--green-soft); color: var(--green-deep); }
.alert-err { border-color: #ecc9b2; background: #fdf1e8; color: #8a4526; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
  background: rgba(16, 20, 17, 0.97); padding: 20px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; object-fit: contain; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4); background: transparent; color: #fff; cursor: pointer;
  font-size: 1.2rem;
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); }

/* ============ Footer ============ */
.site-footer {
  margin-top: 0;
  background: var(--green-deep); color: rgba(255,255,255,0.8);
  padding-top: 3.6rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2.2rem; padding-bottom: 2.6rem; }
.footer-brand img { opacity: 0.95; }
.footer-brand p { color: rgba(255,255,255,0.66); margin-top: 1rem; font-size: 0.92rem; max-width: 34ch; }
.site-footer h3 {
  font-family: var(--ff); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.62); margin-bottom: 1rem; font-weight: 750;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-list a { color: rgba(255,255,255,0.82); }
.footer-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer p { color: rgba(255,255,255,0.66); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bar-inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 0; color: rgba(255,255,255,0.62); font-size: 0.82rem;
  align-items: center;
}
.footer-bar-inner a { color: rgba(255,255,255,0.62); }
.footer-bar-inner a:hover { color: #fff; }
.footer-credit {
  font-size: 0.72rem; color: rgba(255,255,255,0.6); letter-spacing: 0.02em;
}
.footer-credit a { color: rgba(255,255,255,0.62); text-decoration: none; }
.footer-credit a:hover { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; }

/* ============ Admin ============ */
html:has(body.admin-body) { overflow-x: clip; max-width: 100%; }
.admin-body { background: var(--sand); min-height: 100vh; color: var(--ink); overflow-x: clip; max-width: 100%; }
.admin-shell { width: min(1180px, calc(100% - 28px)); margin: 1.5rem auto 3rem; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; }
.settings-bank { max-width: 640px; }
.ra-user-menu { position: relative; align-self: center; }
.ra-user-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.28rem 0.55rem 0.28rem 0.28rem; cursor: pointer;
  font: inherit; color: inherit;
  box-shadow: 0 4px 14px -12px rgba(35, 40, 31, 0.45);
  transition: border-color .12s, box-shadow .12s;
}
.ra-user-btn:hover, .ra-user-btn[aria-expanded="true"] {
  border-color: #cfc5b0;
  box-shadow: 0 6px 16px -10px rgba(35, 40, 31, 0.35);
}
.ra-user-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.ra-user-avatar {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(145deg, var(--green-deep), #3d7260);
  color: #fff; font-family: var(--ff); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.ra-user-avatar-lg { width: 40px; height: 40px; font-size: 0.82rem; flex: 0 0 auto; }
.ra-user-label {
  display: grid; gap: 0.05rem; line-height: 1.15; text-align: left; min-width: 0;
}
.ra-user-label strong {
  font-family: var(--ff); font-size: 0.82rem; font-weight: 800; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 9rem;
}
.ra-user-label > span {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.ra-user-chev {
  width: 12px; height: 12px; flex: 0 0 auto; margin-right: 0.15rem;
  color: var(--muted); transition: transform .12s;
}
.ra-user-btn[aria-expanded="true"] .ra-user-chev { transform: rotate(180deg); }
.ra-user-drop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  width: min(240px, calc(100vw - 28px));
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0.55rem; box-shadow: 0 16px 36px -16px rgba(35, 40, 31, 0.45);
}
.ra-user-drop[hidden] { display: none; }
.ra-user-drop-head {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.45rem 0.5rem 0.65rem;
  border-bottom: 1px solid var(--line); margin-bottom: 0.45rem;
}
.ra-user-drop-head strong {
  display: block; font-family: var(--ff); font-size: 0.92rem; font-weight: 800; color: var(--ink);
}
.ra-user-drop-head > div > span {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.ra-user-link {
  display: block; width: 100%; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--ink-2);
  font: inherit; font-size: 0.84rem; font-weight: 750;
  padding: 0.62rem 0.75rem; text-align: left;
  transition: background .12s, color .12s;
}
.ra-user-link:hover { background: var(--sand); color: var(--ink); }
.ra-user-link:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ra-user-logout-form { margin: 0; }
.ra-user-logout {
  width: 100%; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--sand); color: var(--ink-2);
  font-family: var(--ff); font-size: 0.84rem; font-weight: 750;
  padding: 0.62rem 0.75rem; text-align: left;
  transition: background .12s, color .12s;
}
.ra-user-logout:hover { background: var(--ink); color: var(--sand); }
.ra-user-avatar-xl { width: 56px; height: 56px; font-size: 1rem; flex: 0 0 auto; }
.user-board { display: grid; gap: 0.85rem; }
.user-hero {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem 1.25rem 1.15rem;
  border: 1px solid #ead9c8;
  border-radius: 18px;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(192, 104, 63, 0.28), transparent 58%),
    linear-gradient(165deg, #f8f1e6 0%, #fff 62%);
}
.user-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ember-2); font-weight: 800;
}
.user-hero h3 {
  margin: 0;
  font-family: var(--ff);
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.user-hero p:last-child { margin: 0.35rem 0 0; color: var(--ink-2); font-size: 0.92rem; }
.user-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.user-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.22rem 0.7rem 0.22rem 0.22rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.78rem; font-weight: 750; color: var(--ink-2);
}
.user-chip b {
  min-width: 1.55rem; height: 1.55rem; padding: 0 0.35rem;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--sand);
  font-size: 0.78rem; color: var(--ink);
}
.user-chip.is-admin b { background: #e7f0ea; color: var(--green-deep); }
.user-chip.is-manager b { background: #f3eee4; color: #6a5330; }
.user-chip.is-maintenance b { background: #f6e8df; color: #8a4b2a; }
.user-ava {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--sand-2); color: var(--ink);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
}
.user-ava.is-admin { background: #e7f0ea; color: var(--green-deep); }
.user-ava.is-manager { background: #f3eee4; color: #6a5330; }
.user-ava.is-maintenance { background: #f6e8df; color: #8a4b2a; }
.user-id { display: grid; min-width: 0; gap: 0.05rem; }
.user-id span { color: var(--muted); font-size: 0.75rem; font-weight: 650; }
.user-seen { margin-left: auto; color: var(--muted); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.user-card.is-admin { border-left: 3px solid var(--green); }
.user-card.is-manager { border-left: 3px solid #c4a574; }
.user-card.is-user { border-left: 3px solid #c5cdc6; }
.user-card.is-maintenance { border-left: 3px solid #e0b08a; }
.user-card.is-you { background: #f7fbf8; }
.user-card.is-off { opacity: 0.72; }
.user-card:hover { border-color: #e4d3c2; }
.user-fold > summary::after {
  content: "";
  width: 7px; height: 7px; margin-left: 0.35rem;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
}
.user-fold[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.act-fold > summary em {
  font-style: normal; margin-left: 0.45rem;
  font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--muted); font-weight: 750;
}
#act-log { max-height: 420px; overflow: auto; }
.user-lead { margin: 0 0 0.85rem; color: var(--muted); max-width: 68em; }
.user-add-grid, .user-edit {
  display: grid; gap: 0.55rem; align-items: end;
}
.user-add-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.user-add-span, .user-edit-span, .user-stats-span, .my-rock-span { grid-column: 1 / -1; }
.user-add-submit { justify-self: start; }
.user-field textarea { min-height: 72px; resize: vertical; }
.my-rock-opt { font-size: 0.68rem; font-weight: 650; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.my-rock-account { display: grid; gap: 0.85rem; }
.my-rock-hero {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.my-rock-hero-main { display: flex; align-items: center; gap: 0.85rem; }
.my-rock-kicker {
  margin: 0 0 0.2rem; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 800;
}
.my-rock-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 0.85rem; align-items: start; }
.my-rock-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; margin: 0; }
.my-rock-dl div { display: grid; gap: 0.12rem; }
.my-rock-dl dt {
  font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 800;
}
.my-rock-dl dd { margin: 0; font-weight: 750; line-height: 1.45; }
.my-rock-empty { color: var(--muted); font-weight: 650; }
.my-rock-form { display: grid; gap: 0.55rem; }
.maint-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.7fr 0.7fr; gap: 0.55rem; align-items: end; }
.maint-span { grid-column: 1 / -1; }
.maint-list { display: grid; gap: 0.55rem; }
.maint-status { display: grid; grid-template-columns: 0.9fr 1fr 1.2fr auto; gap: 0.55rem; align-items: end; }
.maint-create { margin-bottom: 1rem; }
.maint-create > summary,
.act-fold > summary {
  cursor: pointer; list-style: none;
  font-family: var(--ff); font-weight: 800; font-size: 1.05rem;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.maint-create > summary::-webkit-details-marker,
.act-fold > summary::-webkit-details-marker { display: none; }
.maint-create > summary::after,
.act-fold > summary::after {
  content: '+'; font-size: 1.25rem; font-weight: 700; color: var(--muted); line-height: 1;
}
.maint-create[open] > summary::after,
.act-fold[open] > summary::after { content: '–'; }
.maint-create > summary + .user-lead,
.act-fold > summary + .user-lead { margin-top: 0.75rem; }

/* Work-order / maintenance rows */
.maint-edit[open] { grid-column: 1 / -1; }
.maint-steps-label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.3rem; }
.maint-step { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(7rem, 11rem); gap: 0.45rem; align-items: center; margin: 0.28rem 0; }
.maint-step.is-new { grid-template-columns: minmax(0, 1fr) minmax(7rem, 11rem); }
.maint-step input[type="text"] { min-width: 0; width: 100%; }
[data-add-task] { margin-top: 0.35rem; }
@media (max-width: 760px) {
  .maint-step, .maint-step.is-new { grid-template-columns: auto minmax(0, 1fr); }
  .maint-step input[placeholder="Who"] { grid-column: 1 / -1; }
}
.fac-view { display: flex; gap: 0.35rem; margin-left: auto; }
.fac-view .btn { min-height: 34px; padding: 0.3rem 0.7rem; }
.fac-view .btn.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fac-list-head,
.fac-list-phone,
.fac-list-cat,
.fac-list-lead,
.fac-list-open,
.fac-list-edit,
.fac-list-inv { display: none; }
.fac-grid.is-list {
  display: block;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  --fac-cols: minmax(0, 1.15fr) minmax(0, 1fr) minmax(6.4rem, 0.72fr) minmax(0, 0.95fr) minmax(4.2rem, 0.5fr) 4.75rem 4.75rem minmax(4.8rem, 1.05fr);
}
.fac-grid.is-list .fac-list-head {
  display: grid;
  grid-template-columns: var(--fac-cols);
  column-gap: 0.65rem;
  align-items: center;
  justify-items: stretch;
  padding: 0.4rem 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 750;
  text-align: left;
}
#view-facilitators .fac-grid.is-list .fac-list-head > span:nth-child(-n + 5) {
  justify-self: stretch;
  text-align: left;
}
#view-facilitators .fac-grid.is-list .fac-list-head > span:nth-child(6),
#view-facilitators .fac-grid.is-list .fac-list-head > span:nth-child(7),
#view-facilitators .fac-grid.is-list .fac-list-head > span:nth-child(8) {
  justify-self: stretch;
  width: 100%;
  text-align: center;
}
.fac-grid.is-list .fac-card {
  display: grid;
  grid-template-columns: var(--fac-cols);
  column-gap: 0.65rem;
  align-items: center;
  justify-items: stretch;
  padding: 0.18rem 0.7rem;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
}
.fac-grid.is-list .fac-card:last-child { border-bottom: 0; }
.fac-grid.is-list .fac-card:hover { background: var(--sand); }
.fac-grid.is-list .fac-card.is-best {
  background: linear-gradient(90deg, #e4f2e8 0%, #ffffff 68%);
  border-left: 4px solid var(--green);
}
.fac-grid.is-list .fac-card.is-best:hover {
  background: linear-gradient(90deg, #d5eadb 0%, var(--sand) 68%);
}
.fac-grid.is-list .fac-avatar,
.fac-grid.is-list .fac-loc,
.fac-grid.is-list .fac-badges,
.fac-grid.is-list .fac-meta,
.fac-grid.is-list .fac-hist,
.fac-grid.is-list .fac-card-foot { display: none; }
.fac-grid.is-list .fac-card-open {
  display: contents;
  height: auto;
  flex: none;
  padding: 0;
  min-height: 0;
  overflow: visible;
  font-size: 0.9rem;
  line-height: 1.25;
}
.fac-grid.is-list .fac-who { display: contents; }
.fac-grid.is-list .fac-who strong,
.fac-grid.is-list .fac-co,
.fac-grid.is-list .fac-list-phone,
.fac-grid.is-list .fac-list-cat {
  display: block;
  height: auto;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#view-facilitators .fac-grid.is-list .fac-who strong,
#view-facilitators .fac-grid.is-list .fac-co,
#view-facilitators .fac-grid.is-list .fac-list-phone,
#view-facilitators .fac-grid.is-list .fac-list-cat {
  justify-self: stretch;
  width: 100%;
  text-align: left;
}
.fac-marks { display: none; }
#view-facilitators .fac-grid.is-list .fac-who strong {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  overflow: visible;
  text-overflow: unset;
}
#view-facilitators .fac-grid.is-list .fac-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-facilitators .fac-grid.is-list .fac-marks {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  margin: 0;
  line-height: 0;
}
#view-facilitators .fac-grid.is-list .fac-marks {
  gap: 4px;
}
.fac-icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
#view-facilitators .fac-grid.is-list .fac-marks svg {
  display: block;
  overflow: visible;
  flex: 0 0 auto;
}
#view-facilitators .fac-grid.is-list .fac-ico-good {
  width: 27px;
  height: 20px;
  min-width: 27px;
  min-height: 20px;
}
#view-facilitators .fac-grid.is-list .fac-ico-rise {
  width: 16px;
  height: 20px;
  min-width: 16px;
  min-height: 20px;
}
#view-facilitators .fac-grid.is-list .fac-ico-quiet {
  width: 14px;
  height: 20px;
  min-width: 14px;
  min-height: 20px;
}
.fac-tip { position: relative; display: inline-flex; align-items: center; outline: none; }
.fac-tip-box {
  display: none;
  position: fixed;
  z-index: 80;
  width: 248px;
  padding: 0.75rem 0.85rem 0.65rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  text-align: left;
  pointer-events: none;
  box-shadow: 0 18px 40px -18px rgba(35, 40, 31, 0.55);
}
.fac-tip-h {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
}
.fac-tip-lead {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--ink-2);
  font-weight: 600;
}
.fac-tip-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.32rem 0;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.fac-tip-row span:last-child { font-weight: 750; }
.fac-tip:hover .fac-tip-box,
.fac-tip:focus-within .fac-tip-box { display: block; }
#dlg-fac.is-readonly #fac-save,
#dlg-fac.is-readonly #fac-delete,
#fac-save[hidden],
#fac-delete[hidden] { display: none !important; }
#dlg-fac.is-readonly input:not([type="hidden"]),
#dlg-fac.is-readonly select,
#dlg-fac.is-readonly textarea {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto;
  color: var(--ink) !important;
  opacity: 1 !important;
  cursor: default;
  pointer-events: none;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
#dlg-fac.is-readonly label:has(input[type="file"]),
#dlg-fac.is-readonly input[type="file"] { display: none !important; }
#dlg-fac.is-readonly .rock-date-guard { background-image: none !important; padding-right: 0 !important; }
#dlg-fac.is-readonly input[type="date"]::-webkit-calendar-picker-indicator { display: none; opacity: 0; }
.fac-grid.is-list .fac-who strong {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--ink);
}
.fac-grid.is-list .fac-co { color: var(--ink-2); font-weight: 600; }
.fac-grid.is-list .fac-list-phone { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fac-grid.is-list .fac-list-phone.is-empty,
.fac-grid.is-list .fac-list-cat.is-empty,
.fac-grid.is-list .fac-list-inv .is-empty { color: var(--mute); font-weight: 600; }
.fac-grid.is-list .fac-list-cat { color: var(--ink-2); font-weight: 650; }
.fac-grid.is-list .fac-list-lead { display: block; font-size: 0.86rem; color: var(--mute); font-weight: 600; white-space: nowrap; }
.fac-grid.is-list .fac-list-lead .fac-lead-chip { margin-left: 0; }
.fac-grid.is-list .fac-list-open,
.fac-grid.is-list .fac-list-edit {
  display: inline-flex;
  justify-self: center;
  min-height: 26px;
  padding: 0.05rem 0.55rem;
  font-size: 0.75rem;
}
.fac-grid.is-list .fac-list-inv {
  display: block;
  min-width: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.inv-logo { display: block; width: 168px; height: auto; margin: 0.2rem 0 0.55rem; }
.maint-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-left: 4px solid var(--green);
  padding: 0.85rem 1rem 0.85rem 0.95rem;
}
.maint-row.prio-urgent { border-left-color: var(--ember-2); background: #fffaf7; }
.maint-row.prio-high { border-left-color: #c4892a; }
.maint-row.prio-normal { border-left-color: var(--green); }
.maint-row.prio-low { border-left-color: #9aa8ad; }
.maint-row.is-late { border-color: #e0c4a8; }
.maint-row.is-done { opacity: 0.62; border-left-color: #b8c4bc; background: #fafaf8; }
.maint-row.is-fail { border-left-color: var(--ember-2); }
#mnt-job-list .maint-row { cursor: pointer; }
#mnt-job-list .maint-row:hover { border-color: #e4d3c2; }
.maint-row.state-watch { border-left-color: #c4892a; }
.maint-row.state-out { border-left-color: var(--ember-2); background: #fffaf7; }
.maint-row-main { min-width: 0; display: grid; gap: 0.28rem; }
.maint-row-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.55rem;
}
.maint-row-title {
  margin: 0; font-family: var(--ff); font-size: 1.02rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.25;
}
.maint-row-tags { display: flex; flex-wrap: wrap; gap: 0.28rem; }
.maint-tag {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.16rem 0.45rem; border-radius: 999px;
  background: var(--sand-2); color: var(--ink-2);
}
.maint-tag.is-late { background: #f8e4dc; color: #8a3b24; }
.maint-tag.is-done { background: #e7f0ea; color: var(--green-deep); }
.maint-row-meta {
  margin: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0;
  font-size: 0.82rem; font-weight: 650; color: var(--muted); line-height: 1.35;
}
.maint-row-meta > span:not(:last-child)::after {
  content: '·'; margin: 0 0.45rem; color: var(--line); font-weight: 400;
}
.maint-row-meta .is-late { color: var(--ember-2); font-weight: 800; }
.maint-row-meta .maint-id { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.maint-row-note {
  margin: 0.1rem 0 0; font-size: 0.86rem; color: var(--ink-2); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.maint-row-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.4rem;
  margin: 0;
}
.maint-row-actions select,
.maint-row-actions input[type="date"],
.maint-row-actions input[type="text"] {
  min-height: 40px; padding: 0.45rem 0.65rem; font-size: 0.86rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-family: var(--ff); color: var(--ink); max-width: 11rem;
}
.maint-row-actions .btn { min-height: 40px; padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.maint-row-actions form { margin: 0; }
.maint-row-actions .is-danger { color: #8a3b24; border-color: #e0c4a8; }
.job-edit-hold[hidden] { display: none; }
.maint-row-actions-wide { flex-direction: column; align-items: stretch; min-width: 12.5rem; }
.maint-row-actions-wide select,
.maint-row-actions-wide input { max-width: none; width: 100%; }
.prio-urgent { background: #f8e4dc; color: #8a3b24; }
.prio-high { background: #f6ead4; color: #7a5420; }
.prio-normal { background: var(--sand-2); color: var(--ink-2); }
.prio-low { background: #e7eef0; color: #3d5960; }
.state-in-service { background: #e7f0ea; color: var(--green-deep); }
.state-watch { background: #f6ead4; color: #7a5420; }
.state-out { background: #f8e4dc; color: #8a3b24; }
.user-edit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.user-field { text-transform: none; letter-spacing: 0; font-size: 0.78rem; font-weight: 750; }
.user-field input, .user-field select { padding: 0.62rem 0.75rem; }
.user-list { display: grid; gap: 0.75rem; }
.user-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.1rem 1.05rem;
}
.user-card-top { display: flex; flex-wrap: wrap; gap: 0.45rem 0.65rem; align-items: center; }
.user-fold > summary { list-style: none; cursor: pointer; }
.user-fold > summary::-webkit-details-marker { display: none; }
.user-fold > summary::marker { content: ""; }
.user-card-top strong { font-size: 1.05rem; margin-right: 0.15rem; }
.role-pill {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.18rem 0.48rem; border-radius: 999px;
  background: var(--sand-2); color: var(--ink-2);
}
.role-admin { background: #e7f0ea; color: var(--green-deep); }
.role-manager { background: #f3eee4; color: #6a5330; }
.role-user { background: var(--sand-2); color: var(--ink-2); }
.role-maintenance { background: #f6e8df; color: #8a4b2a; }
.user-you { font-size: 0.75rem; font-weight: 750; color: var(--green-deep); }
.user-off { font-size: 0.75rem; font-weight: 750; color: var(--ember-2); }
.user-stats { display: flex; flex-wrap: wrap; gap: 0.75rem 1.4rem; margin: 0.7rem 0 0.85rem; }
.user-stats div { display: grid; gap: 0.08rem; }
.user-stats dt { font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.user-stats dd { margin: 0; font-weight: 750; }
.user-remove { margin-top: 0.6rem; }
.act-row {
  display: grid; grid-template-columns: 11.2rem 9.5rem minmax(0, 1fr);
  gap: 0.55rem; padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: 0.88rem;
}
.act-row time { color: var(--muted); font-weight: 700; }
.act-row em { font-style: normal; color: var(--muted); font-size: 0.75rem; margin-left: 0.25rem; }
.act-row.is-fail span:last-child { color: var(--ember-2); }
.set-head {
  margin: 1.75rem 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}
.ra-view > .set-head:first-child { margin-top: 0; }
.bas-card { max-width: 640px; }
.bas-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-deep);
}
.bas-card h3 { margin: 0 0 0.55rem; font-size: 1.45rem; letter-spacing: -0.03em; }
.bas-lead { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.55; color: var(--ink-2); max-width: 42em; }
.bas-points {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: grid; gap: 0.45rem;
}
.bas-points li {
  padding: 0.7rem 0.85rem 0.7rem 0.95rem;
  background: var(--sand); border-radius: 12px;
  border-left: 3px solid var(--green);
  font-weight: 650; color: var(--ink);
}
.bas-note { margin: 0; font-size: 0.88rem; color: var(--muted); }
.admin-top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-actions { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.ra-act-short { display: none; }
.admin-home-brand {
  display: inline-block; text-decoration: none; color: inherit;
  border-radius: 10px; transition: opacity .12s;
}
.admin-home-brand:hover { opacity: 0.82; }
.admin-home-brand:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.admin-home-brand p { margin: 0.4rem 0 0; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.stat strong { display: block; font-family: var(--ff); font-size: 2rem; font-weight: 750; letter-spacing: -0.04em; }
.stat span { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 750; }
.admin-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 750; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  line-height: 1; padding: 0.38rem 0.6rem; border-radius: 999px;
  font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700;
  background: var(--sand-2); color: var(--ink-2);
}
.badge-pending { background: #f4e8c9; color: #7a5a1e; }
.badge-confirmed { background: var(--green-soft); color: var(--green-deep); }
.badge-declined, .badge-cancelled { background: #f2ded8; color: #7a3a30; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--sand); }
.login-card { width: min(420px, 100%); }

/* ---- Retreat Manager ---- */
.stat-hot { border-color: #ecc9b2; background: #fdf1e8; }
.stat-hot strong { color: var(--ember-2); }
.ra-inhouse {
  display: flex; gap: 0.8rem; align-items: flex-start;
  line-height: 1.45;
  border: 1px solid #bad2c7; background: var(--green-soft); border-radius: 14px;
  padding: 0.85rem 1.1rem; margin-bottom: 1rem;
}
.ra-inhouse .urgency-pulse {
  margin-top: calc((1lh - 10px) / 2);
  align-self: flex-start;
}
.ra-inhouse a { color: var(--green-deep); font-weight: 700; }
.ra-inhouse[hidden], #ra-home-stats[hidden] { display: none !important; }
.ra-burger { display: none; }
.ra-nav {
  display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: center;
  margin: 1.15rem 0 1.1rem;
  padding: 0.55rem 0.65rem;
  background: #fff;
  border: 1px solid #d8d0bf;
  border-radius: 14px;
  box-shadow: 0 6px 18px -12px rgba(35, 40, 31, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}
.ra-nav button, .ra-nav a.ra-nav-link {
  border: 1px solid var(--line); background: var(--sand); cursor: pointer;
  padding: 0.55rem 1rem; border-radius: 999px;
  font-family: var(--ff); font-weight: 750; font-size: 0.88rem; color: var(--ink-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
  display: inline-block;
}
.ra-nav button:hover, .ra-nav a.ra-nav-link:hover {
  background: var(--sand-2); border-color: #cfc5b0; color: var(--ink);
}
.ra-nav button.is-active {
  background: var(--green-deep); color: #fff; border-color: var(--green-deep);
  box-shadow: 0 3px 10px -4px rgba(45, 90, 64, 0.55);
}
.ra-dot {
  display: inline-grid; place-items: center; font-style: normal;
  min-width: 19px; height: 19px; border-radius: 999px; padding: 0 4px;
  background: var(--ember); color: #fff; font-size: 0.68rem; margin-left: 0.3rem;
  vertical-align: 1px;
}
.ra-nav button.is-active .ra-dot { background: var(--ember); }
.ra-subnav {
  display: flex; gap: 0.25rem; flex-wrap: wrap; align-items: center;
  margin: 0 0 1rem;
  padding: 0.35rem 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ra-subnav button, .ra-subnav a {
  border: 1px solid transparent; background: transparent;
  cursor: pointer;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  font-family: var(--ff); font-weight: 750; font-size: 0.84rem; color: var(--muted);
  transition: background .12s, color .12s, border-color .12s;
  display: inline-block;
}
.ra-subnav button:hover, .ra-subnav a:hover { color: var(--ink); background: var(--sand); border-color: var(--line); }
.ra-subnav button.is-active, .ra-subnav a.is-active {
  color: var(--green-deep); background: #eef6f1;
  border-color: rgba(45, 90, 64, 0.22);
}
.ra-subnav-nested { margin-top: 0; padding-left: 0.15rem; }
.inv-pill[data-maint-filter="urgent"].is-on { background: var(--ember-2); border-color: var(--ember-2); }
.inv-pill[data-maint-filter="open"].is-on { background: var(--green-deep); border-color: var(--green-deep); }
.inv-pill[data-maint-filter="overdue"].is-on { background: #7a5a1e; border-color: #7a5a1e; }

.ra-legend {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; align-items: center;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted);
  margin-bottom: 0.9rem;
}
.ra-legend i {
  display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 0.32rem; vertical-align: -1px;
}
.ra-legend .lg-booked { background: linear-gradient(90deg, #2f5d50 0 34%, #b5563a 34% 67%, #3d5a80 67%); }
.ra-legend .lg-held {
  background: #eee7f3; border: 1.5px dashed #7a4f9e; box-sizing: border-box;
}
.ra-legend .lg-done { background: #9bb5a6; }
.ra-legend .lg-blocked {
  background: repeating-linear-gradient(135deg, #e3e5e0, #e3e5e0 3px, #d3d6d0 3px, #d3d6d0 6px);
  border: 1px solid #b8beb7; box-sizing: border-box;
}
.ra-legend .lg-open { background: #fff; border: 1px solid var(--line); box-sizing: border-box; }
.ra-legend .lg-change {
  background: linear-gradient(135deg, #b5563a 0, #b5563a calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), #3d5a80 calc(50% + 1px));
  border: 1px solid var(--line); box-sizing: border-box;
}
.ra-legend-pay { display: inline-flex; align-items: center; gap: 0.35rem; }
.ra-legend-pay .rd-pay { position: static; }
.ra-legend-hint { color: var(--mute); font-weight: 650; letter-spacing: 0.02em; }

.rcal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.rcal-head strong {
  font-family: var(--ff); font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
  text-align: center;
}
.rcal-head .btn { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.85rem; }
.rcal-head .btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

.rcal-layout { display: grid; grid-template-columns: 1fr 330px; gap: 14px; align-items: start; }
.rmonths { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.rmonth[hidden] { display: none; }
.rgrid { user-select: none; -webkit-user-select: none; }
.rmonth { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem; }
.rmonth h4 {
  margin: 0 0 0.6rem; font-family: var(--ff); font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); font-weight: 800;
}
.rwk, .rgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rwk span {
  text-align: center; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--muted); padding-bottom: 0.2rem;
}
.rd {
  position: relative; aspect-ratio: 1; border: 1px solid transparent; border-radius: 9px;
  background: var(--sand); color: var(--ink-2); cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  font-family: var(--ff); font-size: 0.78rem; font-weight: 700;
  padding: 5px 0 0 6px; gap: 0;
  min-width: 0;
  transition: box-shadow .12s, transform .12s;
  z-index: 0;
}
.rd:hover { z-index: 2; box-shadow: 0 6px 16px -8px rgba(35,40,31,.35); transform: translateY(-1px); }
.rd.st-open { background: #fff; border-color: var(--line); color: var(--ink-2); }
.rd.st-booked { background: var(--pc, var(--green)); border-color: var(--pc, var(--green)); color: #fff; }
.rd.st-done {
  background: color-mix(in srgb, var(--pc, var(--green)) 55%, #fff);
  border-color: color-mix(in srgb, var(--pc, var(--green)) 55%, #fff);
  color: #fff;
}
.rd.st-held {
  background: color-mix(in srgb, var(--pc, #b88724) 22%, #fff);
  border: 1.5px dashed var(--pc, #b88724); color: var(--ink);
}
.rd.st-blocked {
  background: repeating-linear-gradient(135deg, #e6e8e3, #e6e8e3 4px, #d7dad4 4px, #d7dad4 8px);
  border-color: #b8beb7; color: #5f665f;
}

/* Stay bars: overlay grid items spanning arrival → checkout per week row.
   Line runs from the centre of the first cell to the centre of the last. */
.rbar {
  position: relative; pointer-events: none; z-index: 3; min-width: 0;
  --cell-w: calc((100% - (var(--n, 1) - 1) * 4px) / var(--n, 1));
  /* Bar covers the last 25% of the arrival day and the first 25% of the checkout day */
  --cell-c: calc(var(--cell-w) * 0.75);
}
.rbar.is-past { opacity: 0.45; }
.rbar-line {
  position: absolute; top: calc(70% - 2px); height: 4px;
  left: var(--cell-c); right: var(--cell-c);
  background: #fff; border-radius: 3px;
  box-shadow: 0 0 0 1.5px var(--pc);
}
.rbar.cont-l .rbar-line { left: -2px; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.rbar.cont-r .rbar-line { right: -2px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.rbar-lbl {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  max-width: calc(100% + 44px);
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--ff); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.02em; line-height: 1;
  padding: 2px 4px 2px 7px; border-radius: 999px;
  background: #fff; color: var(--pc);
  box-shadow: 0 0 0 1.5px var(--pc), 0 2px 6px -2px rgba(35, 40, 31, 0.35);
}
.rbar-lbl:not(:has(.rd-pay)) { padding-right: 7px; }
.rbar-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rbar-lbl .rd-pay { flex: 0 0 auto; height: 11px; }
.rbar-blocked .rbar-line { background: #f2f3f0; }
.rbar-blocked .rbar-lbl { background: #f2f3f0; color: #4f574f; }
.rbar-held .rbar-line { box-shadow: 0 0 0 1.5px var(--pc); background-image: repeating-linear-gradient(90deg, var(--pc) 0 4px, transparent 4px 8px); }

.rd.is-past { opacity: 0.45; }
.rd.is-today { outline: 2px solid var(--ember); outline-offset: 1px; }
.rd.is-sel { box-shadow: 0 0 0 3px rgba(192, 104, 63, 0.45); z-index: 2; }
.rd.is-range { box-shadow: 0 0 0 3px rgba(192, 104, 63, 0.55); z-index: 2; }

/* Changeover: departing guest top-left, arriving state bottom-right */
.rd.dep-booked { --out: var(--outc, var(--green)); }
.rd.dep-done { --out: color-mix(in srgb, var(--outc, var(--green)) 55%, #fff); }
.rd.dep-held { --out: color-mix(in srgb, var(--outc, #b88724) 35%, #fff); }
.rd-out {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: linear-gradient(
    135deg,
    var(--out) 0,
    var(--out) calc(50% - 1.5px),
    rgba(255, 255, 255, 0.96) calc(50% - 1.5px),
    rgba(255, 255, 255, 0.96) calc(50% + 1.5px),
    transparent calc(50% + 1.5px)
  );
}
.rd.has-dep .rd-n {
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  padding: 2px 5px; border-radius: 6px; font-size: 0.7rem;
  box-shadow: 0 0 0 1px rgba(35, 40, 31, 0.08);
  margin: -2px 0 0 -3px;
}

.rd-n {
  position: relative; z-index: 1;
  line-height: 1; font-size: 0.74rem; font-weight: 750;
  text-align: left;
}
.rp-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 0.35rem; vertical-align: -1px;
}
.rd-pay {
  position: static;
  display: inline-flex; align-items: center; justify-content: center; gap: 1px;
  height: 12px; padding: 0 3px 0 2px; border-radius: 999px;
  pointer-events: none; line-height: 1;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(35, 40, 31, 0.08);
}
.rd-pay-s {
  font-family: var(--ff); font-size: 0.58rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
}
.rd-pay-ico {
  width: 7px; height: 7px; display: block; flex: 0 0 auto;
}
.rd-pay.is-paid {
  color: var(--green-deep);
  background: #eef6f1;
  box-shadow: 0 0 0 1px rgba(45, 90, 64, 0.18);
}
.rd-pay.is-due {
  color: var(--ember-2);
  background: #fdf3ec;
  box-shadow: 0 0 0 1px rgba(192, 104, 63, 0.2);
}
.badge .rd-pay {
  position: static; height: 14px; padding: 0 4px 0 3px; margin-right: 0.2rem;
  vertical-align: -2px;
}
.badge .rd-pay-s { font-size: 0.66rem; }
.badge .rd-pay-ico { width: 8px; height: 8px; }

/* Hover popup with full stay details */
.rtip {
  position: fixed; z-index: 60; width: 300px; max-width: calc(100vw - 16px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0.75rem 0.85rem 0.6rem;
  box-shadow: 0 18px 40px -18px rgba(35, 40, 31, 0.45), 0 4px 12px -6px rgba(35, 40, 31, 0.2);
  pointer-events: none;
  opacity: 0; transform: translateY(3px);
  transition: opacity .12s ease, transform .12s ease;
  font-size: 0.8rem; color: var(--ink);
}
.rtip[hidden] { display: none; }
.rtip.is-on { opacity: 1; transform: none; }
.rtip-date {
  font-family: var(--ff); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem;
}
.rtip-stay { padding: 0.55rem 0 0.45rem; border-top: 1px solid var(--line); }
.rtip-stay:first-of-type { border-top: 0; padding-top: 0; }
.rtip-stay + .rtip-stay { margin-top: 0.15rem; }
.rtip-name {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.15rem 0.4rem;
  font-family: var(--ff); font-size: 0.98rem; line-height: 1.2;
}
.rtip-name .rp-dot { width: 9px; height: 9px; margin: 0; }
.rtip-org { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.rtip-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.4rem 0 0.45rem; }
.rtip-tags .badge { display: inline-flex; align-items: center; gap: 0.25rem; }
.rtip-grid {
  display: grid; grid-template-columns: 58px 1fr; gap: 0.22rem 0.5rem; margin: 0;
  font-size: 0.76rem; line-height: 1.35;
}
.rtip-grid dt {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding-top: 2px;
}
.rtip-grid dd { margin: 0; color: var(--ink-2); font-weight: 600; overflow-wrap: anywhere; }
.rtip-dim { color: var(--muted); font-weight: 500; }
.rtip-note {
  margin-top: 0.45rem; padding: 0.4rem 0.55rem; border-radius: 8px;
  background: var(--sand); font-size: 0.74rem; line-height: 1.4; color: var(--ink-2);
}
.rtip-ops { background: #eef6f1; color: var(--green-deep); }

.rpanel {
  position: sticky; top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem; min-height: 220px; max-height: calc(100vh - 28px); overflow-y: auto;
}
.rp-empty strong { font-family: var(--ff); font-size: 1.05rem; }
.rp-empty p { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 0; }
.rp-head {
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); margin-bottom: 0.8rem;
}
.rp-head strong { font-family: var(--ff); font-size: 1.02rem; }
.rp-state {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.55rem; border-radius: 999px; background: var(--sand-2); color: var(--ink-2);
}
.rp-booked { background: var(--green-soft); color: var(--green-deep); }
.rp-held { background: #f4e8c9; color: #7a5a1e; }
.rp-done { background: #e6eee9; color: #4a6556; }
.rp-blocked { background: #e8e6dd; color: #666d66; }
.rp-card { border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; margin-bottom: 0.7rem; }
.rp-title { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.25rem; }
.rp-sub { font-size: 0.86rem; color: var(--ink-2); margin-top: 0.15rem; }
.rp-sub a { color: var(--green-deep); font-weight: 700; }
.rp-note { font-size: 0.84rem; color: var(--muted); margin-top: 0.4rem; }
.rp-actions { display: grid; gap: 0.4rem; margin-top: 0.7rem; }

.rs-day { display: grid; grid-template-columns: 86px 1fr; gap: 0.9rem; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.rs-date strong { display: block; font-family: var(--ff); font-size: 1.05rem; }
.rs-date span { color: var(--muted); font-size: 0.85rem; }
.rs-date em {
  display: inline-block; font-style: normal; font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--ember);
  border-radius: 999px; padding: 0.15rem 0.5rem; margin-top: 0.25rem;
}
.rs-evs { display: grid; gap: 0.55rem; }
.rs-ev {
  display: flex; gap: 0.8rem; align-items: flex-start; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 0.85rem; background: #fff;
}
.rs-ev[data-kind] { cursor: pointer; }
.rs-ev[data-kind]:hover { background: var(--sand); }
.rs-ev[data-kind]:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.rs-ev > div { flex: 1; min-width: 220px; }
.rs-tag {
  flex: 0 0 auto; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.55rem; border-radius: 999px; margin-top: 0.1rem;
}
.rs-arrive .rs-tag { background: var(--green-soft); color: var(--green-deep); }
.rs-arrive { border-left: 3px solid var(--green); }
.rs-depart .rs-tag { background: var(--sand-2); color: var(--ink-2); }
.rs-block .rs-tag { background: #e8e6dd; color: #666d66; }
.rs-sub { font-size: 0.86rem; color: var(--ink-2); margin-top: 0.25rem; }
.rs-sub a { color: var(--green-deep); font-weight: 700; }
.rs-act { flex: 0 0 auto; }

.bk-card { border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; margin-bottom: 0.7rem; background: #fff; scroll-margin-top: 16px; transition: box-shadow .4s, border-color .4s; }
.bk-card.is-focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(192, 104, 63, 0.28); }

/* Date guard — mini popup calendar with taken dates blocked */
.rock-date-guard {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235a6058' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='12' height='11' rx='1.5'/%3E%3Cpath d='M5 1.5v3M11 1.5v3M2 6.5h12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  background-size: 0.95rem;
  padding-right: 2rem;
}
.rock-date-guard::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}
.rock-date-guard.date-guard-bad { border-color: var(--ember-2) !important; box-shadow: 0 0 0 2px rgba(192, 104, 63, 0.25); }
.date-guard-msg {
  display: block; margin-top: 0.28rem; font-size: 0.72rem; font-weight: 650; line-height: 1.35;
  color: var(--ember-2);
}
.date-guard-pop {
  position: fixed; z-index: 80; width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0.65rem 0.7rem 0.55rem;
  box-shadow: 0 16px 36px -14px rgba(35, 40, 31, 0.45);
}
.date-guard-pop[hidden] { display: none; }
.date-guard-pop-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.35rem;
  margin-bottom: 0.45rem;
}
.date-guard-pop-head strong {
  font-family: var(--ff); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.date-guard-nav {
  border: 1px solid var(--line); background: var(--sand); border-radius: 8px;
  width: 28px; height: 28px; cursor: pointer; font-size: 1rem; line-height: 1;
}
.date-guard-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.date-guard-grid > span {
  text-align: center; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--muted); padding-bottom: 0.15rem;
}
.date-guard-day {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: 7px;
  background: var(--sand); font-family: var(--ff); font-size: 0.72rem; font-weight: 700;
  color: var(--ink-2); cursor: pointer; padding: 0;
}
.date-guard-day.is-off { visibility: hidden; pointer-events: none; }
.date-guard-day.is-taken {
  background: #ececea; color: #9a9f98; cursor: not-allowed;
  text-decoration: line-through; opacity: 0.85;
}
.date-guard-day.is-sel:not(.is-taken) {
  border-color: var(--ember); box-shadow: 0 0 0 2px rgba(192, 104, 63, 0.35);
}
.date-guard-day.is-today:not(.is-sel) {
  color: var(--ember-2);
  box-shadow: inset 0 0 0 1px #e7b89a;
}
.date-guard-hint {
  margin: 0.45rem 0 0; font-size: 0.64rem; color: var(--muted); line-height: 1.3;
}
.date-guard-clear {
  display: block; width: 100%; margin-top: 0.45rem;
  border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font-size: 0.72rem; font-weight: 700;
}
.date-guard-clear:hover { color: var(--ink); }
.date-guard-clear[hidden], .date-guard-hint[hidden] { display: none; }
.bl-act { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.35rem; min-width: 9rem; }
.bl-act details summary { cursor: pointer; font-size: 0.78rem; font-weight: 700; color: var(--ink-2); list-style: none; }
.bl-act details summary::-webkit-details-marker { display: none; }
.bl-edit-form { display: grid; gap: 0.4rem; margin-top: 0.45rem; min-width: 12rem; }
.bl-edit-form label { display: grid; gap: 0.2rem; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.bl-edit-form input { font-size: 0.82rem; text-transform: none; letter-spacing: normal; font-weight: 600; }
.bk-card[hidden], .bk-group[hidden], #bk-empty[hidden] { display: none !important; }
.rep-note { color: var(--muted); font-size: 0.88rem; margin-top: 0; }
#view-admin .bar-row { grid-template-columns: 52px minmax(0, 1fr) 9.5rem; }
#view-admin .bar-wide { grid-template-columns: 9rem minmax(0, 1fr) 2.4rem; }
#view-admin .bar-label { letter-spacing: 0; }
.rep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1rem; }
.rep-grid .admin-card { margin-bottom: 0; }
.rep-gap { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.rep-gap:last-child { border-bottom: 0; padding-bottom: 0; }
.rep-bars .bar-label { width: auto; }
.ra-pager {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.45rem;
  flex-wrap: wrap; margin: 0.85rem 0 0.15rem;
}
.ra-pager[hidden] { display: none !important; }
.ra-pager span {
  min-width: 7.5rem; text-align: center;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted);
}
.ra-pager .btn[disabled] { opacity: 0.4; cursor: default; }
.fac-page-size {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: auto;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fac-page-size select {
  width: auto;
  min-height: 34px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.8rem;
}
.bk-main { display: grid; grid-template-columns: 1.1fr 1.3fr auto; gap: 0.9rem; align-items: center; }
.bk-who strong { font-family: var(--ff); font-size: 1.02rem; margin-right: 0.4rem; }
.bk-when strong { font-family: var(--ff); font-size: 0.95rem; }
.bk-act { display: flex; gap: 0.45rem; }
.bk-inv { display: grid; gap: 0.4rem; margin-top: 0.45rem; }
.bk-inv-act { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.bk-inv-act > form, .bk-inv > form { margin: 0; }
.bk-inv-pay { margin: 0; }
.bk-inv-pay > summary {
  text-transform: none; letter-spacing: 0; font-size: 0.8rem; font-weight: 700; color: var(--green-deep);
}
.bk-inv-pay form {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: end; margin-top: 0.45rem;
}
.bk-inv-pay label {
  display: grid; gap: 0.15rem; margin: 0;
  font-size: 0.66rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.bk-inv-pay input { width: 8.5rem; }
.bk-card details { margin-top: 0.6rem; }
.bk-card summary {
  cursor: pointer; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.bk-detail {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem;
  padding-top: 0.8rem; margin-top: 0.6rem; border-top: 1px solid var(--line);
}
.bk-detail a { color: var(--green-deep); font-weight: 700; }

/* ---- Rates / Sales / Reports ---- */
.rate-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; align-items: end;
}
.rate-grid label {
  display: grid; gap: 0.3rem;
  font-size: 0.66rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.badge-paid { background: var(--green-soft); color: var(--green-deep); }
.badge-unpaid { background: #f4e8c9; color: #7a5a1e; }

.bar-chart { display: grid; gap: 0.45rem; }
.bar-row { display: grid; grid-template-columns: 58px 1fr 110px; gap: 0.7rem; align-items: center; }
.bar-row.bar-now .bar-label { color: var(--ember-2); }
.bar-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; color: var(--muted); }
.bar-track { height: 20px; background: var(--sand-2); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--green-2), var(--green)); border-radius: 6px; }
.bar-fill.bar-occ { background: linear-gradient(90deg, #d9a04f, var(--ember)); }
.bar-val { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); text-align: right; }

/* ---- Public price estimate ---- */
.price-est { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px dashed var(--line); display: grid; gap: 0.3rem; font-weight: 500; }
.price-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.price-disc { color: var(--green); }
.price-total { font-weight: 800; font-size: 1.02rem; padding-top: 0.35rem; border-top: 1px solid var(--line); }
.price-min { color: var(--ember-2); font-size: 0.82rem; font-weight: 700; }

/* ---- Checkout ---- */
.co-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.2rem; align-items: start; }
.co-summary {
  background: radial-gradient(36rem 24rem at 110% -20%, rgba(63, 115, 99, 0.55), transparent 60%), var(--green-deep);
  color: #fff; border-radius: 20px; padding: 1.6rem;
}
.co-summary h3 { color: #fff; }
.co-lines { display: grid; gap: 0.5rem; margin-top: 0.4rem; }
.co-lines > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.94rem; }
.co-lines .co-disc { color: #b9dcc6; }
.co-lines .co-total {
  font-weight: 800; font-size: 1.15rem; margin-top: 0.4rem; padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.co-lines .co-gst { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; }
.co-sandbox {
  background: #fdf3e7; border: 1px solid #e0b98f; border-radius: 12px;
  padding: 0.7rem 0.9rem; font-size: 0.84rem; margin-bottom: 1rem; line-height: 1.55;
}
.co-sandbox code { background: #fff; border-radius: 5px; padding: 0.05rem 0.35rem; font-size: 0.82rem; white-space: nowrap; }
.co-receipt { max-width: 720px; margin: 0 auto; text-align: center; }
.co-tick {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 1.9rem; font-weight: 800;
  display: grid; place-items: center;
}
.co-receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; text-align: left; }
.co-cardbox { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.3rem; }
.co-cardbox h4 {
  margin: 0 0 0.5rem; font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 800;
}
.co-cardbox p { margin: 0.25rem 0; font-size: 0.95rem; }

@media (max-width: 860px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-receipt-grid { grid-template-columns: 1fr; }
  .rate-grid { grid-template-columns: 1fr 1fr; }
}

dialog#dlg-new, dialog#dlg-fac, dialog#dlg-import, dialog#dlg-event, dialog#dlg-user, dialog#dlg-job {
  border: 0; border-radius: 18px; padding: 1.4rem;
  width: min(560px, calc(100% - 24px));
  max-width: calc(100% - 24px);
  max-height: min(calc(100vh - 24px), calc(100dvh - 24px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: fixed;
  margin: auto;
  inset: 0;
  box-shadow: 0 40px 90px -30px rgba(20, 26, 22, 0.5);
}
dialog.dlg-wide {
  width: min(760px, calc(100% - 24px));
  max-height: min(calc(100vh - 24px), calc(100dvh - 24px));
  overflow-x: hidden;
  overflow-y: auto;
}
dialog#dlg-fac.dlg-wide {
  width: min(1080px, calc(100% - 56px));
  min-height: min(760px, calc(100dvh - 48px));
  max-height: min(920px, calc(100dvh - 36px));
  padding: 1.9rem 2.15rem 1.65rem;
}
#dlg-fac .dlg-head h3 {
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
#dlg-fac #fac-dlg-note {
  font-size: 0.98rem;
  line-height: 1.4;
  margin-top: 0.45rem;
}
#dlg-fac .form {
  gap: 1.1rem;
  margin-top: 1.2rem;
}
#dlg-fac .fac-fs {
  padding: 1.2rem 1.3rem 1.25rem;
  margin: 0;
  border-radius: 16px;
}
#dlg-fac .fac-fs legend {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  padding: 0 0.45rem;
}
#dlg-fac .form-row { gap: 1rem 1.2rem; }
#dlg-fac label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  gap: 0.42rem;
}
#dlg-fac .dlg-foot { margin-top: 0.35rem; padding-top: 0.2rem; }
dialog#dlg-fac.dlg-wide.is-readonly {
  width: min(640px, calc(100% - 32px));
  min-height: 0;
  height: auto;
  max-height: calc(100dvh - 32px);
  padding: 0.95rem 1.05rem 0.85rem;
}
#dlg-fac.is-readonly .dlg-head h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
#dlg-fac.is-readonly #fac-dlg-note { font-size: 0.84rem; margin-top: 0.2rem; }
#dlg-fac.is-readonly .form { gap: 0.45rem; margin-top: 0.65rem; }
#dlg-fac.is-readonly .fac-fs { padding: 0.5rem 0.7rem 0.55rem; border-radius: 12px; }
#dlg-fac.is-readonly .fac-fs legend { font-size: 0.64rem; }
#dlg-fac.is-readonly .form-row { gap: 0.28rem 0.75rem; }
#dlg-fac.is-readonly label { gap: 0.08rem; font-size: 0.64rem; }
#dlg-fac.is-readonly .dlg-foot { margin-top: 0.15rem; padding-top: 0; }
.fac-inv-pop {
  display: none;
  position: fixed;
  z-index: 85;
  width: 248px;
  padding: 0.75rem 0.85rem 0.65rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -20px rgba(35, 40, 31, 0.55);
  text-align: left;
  pointer-events: none;
}
#view-facilitators .fac-grid.is-list .fac-list-inv:hover .fac-inv-pop { display: block; }
.fac-inv-pop-h {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.fac-inv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.32rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.fac-inv-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 750; }
.fac-inv-none {
  display: block;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
dialog#dlg-new::backdrop, dialog#dlg-fac::backdrop, dialog#dlg-import::backdrop, dialog#dlg-event::backdrop, dialog#dlg-user::backdrop, dialog#dlg-job::backdrop {
  background: rgba(22, 28, 24, 0.55); backdrop-filter: blur(3px);
}

.enquire-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.4rem; align-items: start; }
.enquire-points { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; color: var(--ink-2); }
.enquire-points li { padding-left: 1.1rem; position: relative; }
.enquire-points li::before { content: "—"; position: absolute; left: 0; color: var(--green); }

.admin-body .btn {
  min-height: 34px; padding: 0.35rem 0.85rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0;
  box-shadow: none;
}
.admin-body .btn:hover { transform: none; }
.admin-body .btn-ember { box-shadow: none; }

.admin-body select {
  appearance: none; -webkit-appearance: none;
  letter-spacing: 0; text-transform: none;
  font-size: 0.88rem; font-weight: 600; line-height: 1.2;
  padding: 0.45rem 2rem 0.45rem 0.7rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23494f41' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 12px 8px;
}
.admin-body select:focus {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23494f41' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 12px 8px;
}

.admin-body input,
.admin-body textarea {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.admin-body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  min-height: 34px;
  padding: 0.4rem 0.7rem;
}
.admin-body input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.72;
}

.fac-toolbar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.8rem; }
.fac-toolbar-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.fac-export { position: relative; }
.fac-export > summary { list-style: none; cursor: pointer; user-select: none; }
.fac-export > summary::-webkit-details-marker { display: none; }
.fac-export > summary span { font-size: .75em; margin-left: .25rem; opacity: .7; }
.fac-export[open] > summary { background: rgba(35, 40, 31, 0.06); }
.fac-export-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 250px; padding: .4rem; background: #fff;
  border: 1px solid rgba(35, 40, 31, 0.14); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(20, 24, 18, 0.16);
}
.fac-export-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .55rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem;
}
.fac-export-menu a[hidden] { display: none; }
.fac-export-menu a:hover, .fac-export-menu a:focus-visible { background: rgba(35, 40, 31, 0.06); }
.fac-export-menu a span {
  min-width: 2rem; padding: .05rem .45rem; border-radius: 999px; text-align: center;
  background: rgba(35, 40, 31, 0.07); color: var(--muted); font-size: .8rem; font-weight: 600;
}
.fac-export-menu hr { border: 0; border-top: 1px solid rgba(35, 40, 31, 0.1); margin: .3rem .2rem; }
.fac-export-menu .fac-export-csv { color: var(--muted); font-size: .85rem; }
.fac-filters {
  display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem;
}
.fac-filters input[type="search"], .fac-filters select { min-height: 34px; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.fac-filters input[type="search"] { flex: 1 1 220px; min-width: 180px; width: auto; }
.fac-filters select { width: auto; flex: 0 1 auto; }
.fac-due {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 34px; padding: 0 0.75rem 0 0.55rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  text-transform: none; letter-spacing: 0; font-size: 0.8rem; font-weight: 700;
  color: var(--ink-2); cursor: pointer; white-space: nowrap; width: auto;
}
.fac-due input {
  width: 15px; height: 15px; min-height: 0; margin: 0; padding: 0;
  accent-color: var(--ember); border-radius: 4px; flex: 0 0 auto;
}
.fac-due:has(input:checked) {
  background: #fdf1e8; border-color: #e7b89a; color: var(--ember-2);
}
.fac-filters .fac-clear {
  flex: 0 0 auto;
  background: #fff;
  border-color: rgba(35, 40, 31, 0.45);
  color: var(--ink);
}
.fac-count { margin-left: auto; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.fac-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem;
  display: flex; flex-direction: column; align-items: stretch; gap: 0.65rem;
}
.fac-card[hidden] { display: none !important; }
.fac-card-open {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 0.75rem; align-items: center;
  flex: 0 0 calc(1.35rem + 1.15rem + 1.15rem + 0.24rem);
  height: calc(1.35rem + 1.15rem + 1.15rem + 0.24rem);
  min-height: 0;
  overflow: hidden; font-size: 0; line-height: 0;
  border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; width: 100%;
}
.fac-avatar, .fac-who { font-size: 1rem; line-height: normal; }
.fac-avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; font-weight: 800; letter-spacing: 0.04em;
}
.fac-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fac-who { min-width: 0; display: grid; gap: 0.12rem; align-content: start; }
.fac-who strong,
.fac-co,
.fac-loc {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fac-who strong {
  font-family: var(--ff); font-size: 1.05rem; font-weight: 700; line-height: 1.35rem; height: 1.35rem;
}
.fac-co, .fac-loc { color: var(--muted); font-size: 0.82rem; line-height: 1.15rem; height: 1.15rem; }
.fac-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.fac-meta { display: grid; gap: 0.15rem; font-size: 0.86rem; }
.fac-meta a { color: var(--green-deep); font-weight: 700; }
.fac-hist { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; font-size: 0.78rem; font-weight: 700; color: var(--ink-2); }
.fac-follow {
  display: flex; align-items: baseline; gap: 0.55rem; width: 100%; min-width: 0;
  padding: 0.42rem 0.7rem;
  background: var(--sand); border-radius: 10px;
  font-size: 0.82rem; line-height: 1.3; color: var(--ink-2);
}
.fac-follow time {
  flex: 0 0 auto; font-weight: 800; color: var(--ink); white-space: nowrap;
}
.fac-follow span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fac-follow.is-due {
  background: #fdf1e8;
  box-shadow: inset 3px 0 0 var(--ember);
}
.fac-follow.is-due time { color: var(--ember-2); }
.fac-follow-field input {
  background: #fffaf6;
  border-color: #e7b89a;
}
.fac-follow-field input:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(192, 104, 63, 0.16);
  background: #fff;
}
.fac-card-foot {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
  width: 100%;
}
.fac-card-act { display: flex; gap: 0.35rem; }
.fac-card-act .btn { flex: 0 0 auto; }
.badge-st-new-lead { background: #fdf1e8; color: var(--ember-2); }
.badge-st-contacted { background: var(--sand-2); color: var(--ink-2); }
.badge-st-interested { background: #f4e8c9; color: #7a5a1e; }
.badge-st-booking-pending { background: #f4e8c9; color: #7a5a1e; }
.badge-st-confirmed, .badge-st-repeat-client { background: var(--green-soft); color: var(--green-deep); }
.badge-st-past-client { background: #e6eee9; color: var(--green-deep); }
.badge-st-not-proceeding { background: #f2ded8; color: #7a3a30; }
.badge-pr-high { background: #fdf1e8; color: var(--ember-2); }
.badge-pr-medium { background: var(--sand-2); color: var(--ink-2); }
.badge-pr-low { background: #eef0ea; color: var(--mute); }
.fac-fs {
  border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem 1rem; margin: 0 0 0.85rem;
}
.fac-fs legend {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0 0.4rem;
}
.dlg-head, .dlg-foot { display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-start; }
.dlg-x {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -2px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.dlg-x svg { width: 12px; height: 12px; }
.dlg-x:hover { background: var(--sand); color: var(--ink); }
.dlg-foot { align-items: center; margin-top: 0.4rem; flex-wrap: wrap; }
.fac-del { margin-left: auto; color: #7a3a30; }
.fac-hist-box { background: var(--sand); border-radius: 10px; padding: 0.7rem 0.85rem; font-size: 0.88rem; }
.fac-hist-box strong { display: block; margin-bottom: 0.25rem; }
.bk-edit { display: grid; gap: 0.7rem; padding-top: 0.85rem; margin-top: 0.6rem; border-top: 1px solid var(--line); }
.ra-blockout-form {
  margin: 1rem 0 1.4rem; display: grid; gap: 0.7rem; align-items: end;
  grid-template-columns: 1fr 1fr 1.4fr auto;
}
a.badge { text-decoration: none; }
.inv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 1rem; }
button.stat { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
button.stat.stat-go {
  transition: border-color .12s, box-shadow .12s, transform .12s;
}
button.stat.stat-go:hover {
  border-color: #cfc5b0;
  box-shadow: 0 5px 14px -10px rgba(35, 40, 31, 0.45);
  transform: translateY(-1px);
}
button.stat.stat-go:focus-visible {
  outline: 2px solid var(--ember); outline-offset: 2px;
}
button.stat.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.inv-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.inv-pill {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 999px; min-height: 34px; padding: 0.3rem 0.85rem;
  font-size: 0.8rem; font-weight: 700; cursor: pointer; letter-spacing: 0; text-transform: none;
}
.inv-pill.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.inv-pill[data-inv-filter="unpaid"].is-on { background: #7a5a1e; border-color: #7a5a1e; }
.inv-pill[data-inv-filter="overdue"].is-on { background: var(--ember-2); border-color: var(--ember-2); }
.inv-row.is-overdue td { background: #fff8f3; }
.inv-owing { color: var(--ember-2); font-weight: 800; }
.inv-row[hidden], .inv-empty[hidden] { display: none !important; }
.inv-toolbar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.inv-create { display: grid; grid-template-columns: 1.4fr minmax(180px, 0.8fr) auto; gap: 0.6rem; align-items: end; }
.inv-act { vertical-align: middle; text-align: right; width: 11rem; }
.inv-act-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem;
  width: 10.6rem;
  margin-left: auto;
}
.inv-act form { display: contents; }
.inv-act .btn {
  width: 100%;
  min-height: 30px;
  margin: 0;
  padding: 0.2rem 0.3rem;
  font-size: 0.74rem;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}
.inv-act-row > .btn:only-child { grid-column: 1 / -1; }
.inv-table td:first-child { white-space: nowrap; }
.inv-settings summary { cursor: pointer; font-weight: 800; }
.inv-settings form { margin-top: 0.9rem; }
.badge-inv-paid { background: var(--green-soft); color: var(--green-deep); }
.badge-inv-draft, .badge-inv-overdue { background: #fdf1e8; color: var(--ember-2); }
.badge-inv-sent, .badge-inv-partial { background: #f4e8c9; color: #7a5a1e; }
.badge-inv-void { background: #f2ded8; color: #7a3a30; }
.inv-status-cell { width: 1%; white-space: nowrap; }
.inv-status-hit {
  display: inline-grid; gap: 0.2rem; justify-items: start;
  cursor: help; outline: none; border-radius: 10px; padding: 0.12rem 0.2rem; margin: -0.12rem -0.2rem;
  transition: background .12s;
}
.inv-status-hit:hover, .inv-status-hit:focus-visible { background: var(--sand); }
.inv-status-hit:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.inv-status-sub { font-size: 0.75rem; color: var(--muted); line-height: 1.2; }
.inv-tip { z-index: 65; width: 260px; pointer-events: none; }
.mkt-subnav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.65rem;
  flex-wrap: wrap; margin-bottom: 1rem;
  padding: 0.35rem 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.mkt-subnav { margin-bottom: 0; flex: 1 1 auto; min-width: 0; border: 0; padding: 0; background: transparent; }
.mkt-ai-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.52rem 1.05rem 0.52rem 0.82rem;
  border-radius: 999px; white-space: nowrap; flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(90deg, #7c3aed 0%, #9333ea 38%, #c026d3 72%, #db2777 100%);
  box-shadow:
    0 4px 14px -4px rgba(124, 58, 237, 0.55),
    0 2px 6px rgba(91, 33, 182, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform .12s ease, box-shadow .12s ease;
}
.mkt-ai-badge:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px -4px rgba(124, 58, 237, 0.62),
    0 3px 8px rgba(91, 33, 182, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.mkt-ai-wand {
  width: 17px; height: 17px; flex: 0 0 auto;
  color: #fff;
}
.mkt-ai-label {
  font-family: var(--ff); font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.01em; line-height: 1;
  color: #fff;
}
.mkt-stats { margin-bottom: 0.85rem; }
.mkt-quick { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.85rem; }
.mkt-form { display: grid; gap: 0.55rem; }
.mkt-list {
  margin: 0; padding-left: 1.1rem; color: var(--ink-2);
  display: grid; gap: 0.35rem;
}
.camp-banner {
  margin: 0 0 0.85rem; padding: 0.7rem 0.9rem;
  background: #fff; border: 1px dashed var(--line); border-radius: 12px;
  color: var(--ink-2); font-size: 0.88rem;
}
.camp-feel { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0.85rem; align-items: start; }
.camp-feel .mlib-side { position: sticky; top: 0.75rem; }
.camp-nav {
  appearance: none; width: 100%; text-align: left; font: inherit; color: var(--ink);
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  min-height: 36px; padding: 0.35rem 0.55rem; font-weight: 700;
}
.camp-nav:hover { background: var(--sand); }
.camp-nav.is-on { background: var(--ink); color: #fff; }
.camp-nav.is-on .mlib-count { color: rgba(255, 255, 255, 0.72); }
.camp-group { margin-top: 0.85rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.camp-stage { min-width: 0; }
.camp-panel h3 { margin-top: 0; }
.camp-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr); gap: 1rem; align-items: start; }
.camp-mail { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.camp-mail-bar { display: grid; gap: 0.28rem; padding: 0.75rem 0.95rem; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.camp-mail-bar div { display: flex; gap: 0.45rem; align-items: baseline; min-width: 0; }
.camp-mail-bar span {
  flex: 0 0 4.4rem; color: var(--muted); font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.camp-mail-bar strong { font-weight: 750; letter-spacing: -0.01em; }
.camp-letter { margin: 0.75rem; background: var(--sand); border-radius: 12px; padding: 1.05rem 1.1rem 1.15rem; }
.camp-kicker {
  margin: 0 0 0.55rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green);
}
.camp-letter p { margin: 0 0 0.75rem; color: var(--ink-2); font-size: 0.92rem; line-height: 1.55; }
.camp-letter ul { margin: 0 0 0.75rem; padding-left: 1.1rem; color: var(--ink-2); font-size: 0.92rem; display: grid; gap: 0.28rem; }
.camp-sign { margin: 0.2rem 0 0; color: var(--ink); font-weight: 750; }
.camp-sign span { display: block; margin-top: 0.15rem; color: var(--muted); font-weight: 650; font-size: 0.82rem; }
.camp-letter .mlib-cta { margin-top: 0.85rem; }
.camp-side-label { margin-bottom: 0.45rem; }
.camp-note { margin: 0 0 0.55rem; color: var(--muted); font-size: 0.8rem; }
.camp-people { display: grid; gap: 0.35rem; max-height: 440px; overflow: auto; }
.camp-person {
  appearance: none; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.12rem 0.55rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.5rem 0.65rem;
}
.camp-person:hover { border-color: #cfc5b0; }
.camp-person.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.camp-person-name { font-weight: 750; font-size: 0.86rem; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.camp-person-meta { grid-column: 1; color: var(--muted); font-size: 0.75rem; font-weight: 650; }
.camp-sample {
  font-style: normal; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: #8a6a22;
}
.camp-state {
  display: none; grid-row: 1 / span 2; align-self: center;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.camp-panel[data-camp-panel="news"] .camp-state { display: inline; }
.camp-panel[data-camp-panel="news"] .camp-person.is-sample .camp-state { display: none; }
.camp-person.is-sending { border-color: var(--ember); background: #fdf6f1; box-shadow: none; }
.camp-person.is-sending .camp-state { color: var(--ember-2); }
.camp-person.is-logged { background: var(--green-soft); border-color: transparent; box-shadow: none; }
.camp-person.is-logged .camp-state { color: var(--green-deep); }
.camp-empty, .camp-more { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.82rem; }
.camp-tools { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0 0 0.65rem; }
.camp-pace-note { flex: 1 1 100%; margin: 0.15rem 0 0; color: var(--ink-2); font-size: 0.82rem; }
.camp-run { margin-top: 0.65rem; }
.camp-run-bar { height: 4px; background: var(--sand-2); border-radius: 99px; overflow: hidden; }
.camp-run-bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .25s linear; }
.camp-run-label { margin: 0.35rem 0 0; font-size: 0.78rem; font-weight: 700; color: var(--green-deep); }
@media (max-width: 800px) {
  .camp-feel { grid-template-columns: 1fr; }
  .camp-feel .mlib-side { position: static; }
  .camp-detail { grid-template-columns: 1fr; }
}
.mlib-browser {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0.85rem; align-items: start;
}
.mlib-side, .mlib-main {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem;
}
.mlib-side-label {
  margin: 0 0 0.45rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.mlib-nav {
  appearance: none; width: 100%; text-align: left; font: inherit; color: var(--ink);
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  min-height: 36px; padding: 0.35rem 0.55rem; font-weight: 700;
}
.mlib-nav-sub { padding-left: 1rem; font-weight: 650; color: var(--ink-2); }
.mlib-nav:hover { background: var(--sand); }
.mlib-nav.is-on { background: var(--ink); color: #fff; }
.mlib-nav.is-on .mlib-count { color: rgba(255, 255, 255, 0.72); }
.mlib-nav-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mlib-count { font-size: 0.75rem; color: var(--muted); font-weight: 700; }
.mlib-folder { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--line); }
.mlib-drop { border-radius: 10px; }
.mlib-drop.is-over { outline: 2px dashed var(--ember); outline-offset: 1px; background: #fdf6f1; }
.mlib-edit { margin: 0.15rem 0 0.35rem 1rem; }
.mlib-edit summary { cursor: pointer; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.mlib-mini-form { display: flex; gap: 0.35rem; margin: 0.35rem 0; }
.mlib-mini-form input { flex: 1; min-width: 0; }
.mlib-new-section { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.mlib-browser .btn { min-height: 36px; padding: 0.3rem 0.8rem; font-size: 0.8rem; box-shadow: none; }
.mlib-browser .btn:hover { transform: none; }
.mlib-toolbar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-end; flex-wrap: wrap; }
.mlib-lead { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.88rem; max-width: 62ch; }
.mlib-toolbar input[type="search"] { min-width: min(100%, 220px); }
.mlib-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.85rem 0; }
.mlib-pill {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 999px; min-height: 34px; padding: 0.3rem 0.8rem;
  font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer;
}
.mlib-pill span {
  display: inline-block; margin-left: 0.3rem; color: var(--muted); font-weight: 700;
}
.mlib-pill.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mlib-pill.is-on span { color: rgba(255, 255, 255, 0.72); }
.mlib-upload {
  display: grid; grid-template-columns: 1.3fr 1fr 0.7fr 1fr auto; gap: 0.55rem; align-items: end;
  margin-bottom: 0.35rem;
}
.mlib-upload .mlib-hint { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.8rem; }
.mlib-hint { margin: 0; color: var(--muted); font-size: 0.8rem; }
.mlib-status { margin: 0.4rem 0; font-size: 0.86rem; font-weight: 700; color: var(--green-deep); }
.mlib-status.is-bad { color: var(--ember-2); }
.mlib-crumb { margin: 0.7rem 0 0.45rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); }
.mlib-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.7rem; min-height: 160px; align-content: start;
}
.mlib-grid[data-drop="1"].is-over { background: #fdf6f1; }
.mlib-asset {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--sand); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  cursor: pointer;
}
.mlib-asset[hidden] { display: none !important; }
.mlib-asset.is-selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mlib-asset.is-dragging { opacity: 0.45; }
.mlib-thumb {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.3rem;
  aspect-ratio: 4 / 5; padding: 0.75rem; background: #fff; overflow: hidden;
}
.mlib-thumb:has(img) { padding: 0; justify-content: center; background: #1c211b; }
.mlib-thumb img {
  display: block; width: 100%; height: 100%; max-width: 100%;
  object-fit: contain; margin: 0; cursor: pointer;
}
.mlib-zoom {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 28px; height: 28px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 8px;
  background: rgba(18, 22, 16, 0.72); color: #fff;
  cursor: zoom-in;
}
.mlib-zoom svg { width: 15px; height: 15px; display: block; }
.mlib-zoom:hover, .mlib-zoom:focus-visible { background: rgba(18, 22, 16, 0.92); }
.mlib-filechip {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  background: var(--sand-2); color: var(--ink); border-radius: 8px; padding: 0.35rem 0.5rem;
}
.mlib-headline {
  font-size: 1rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mlib-body {
  font-size: 0.78rem; line-height: 1.4; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mlib-asset-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem;
  padding: 0.55rem 0.65rem 0.65rem;
}
.mlib-asset-meta strong {
  flex: 1 1 auto; min-width: 0; font-size: 0.82rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mlib-kind {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-deep); background: var(--green-soft);
  border-radius: 999px; padding: 0.16rem 0.42rem;
}
.mlib-card-facebook .mlib-kind { color: #1d4f91; background: #e7f0fb; }
.mlib-card-instagram .mlib-kind { color: #7a2e6b; background: #f8e8f3; }
.mlib-card-google .mlib-kind { color: #7a5a1e; background: #f4e8c9; }
.mlib-card-file .mlib-kind { color: var(--ink-2); background: var(--sand-2); }
.mlib-asset-dl { font-size: 0.75rem; font-weight: 700; color: var(--ember-2); }
.mlib-empty { grid-column: 1 / -1; margin: 0.4rem 0; color: var(--muted); }
.mlib-inspector {
  display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.mlib-inspector[hidden] { display: none !important; }
.mlib-preview {
  background: #1c211b; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.mlib-preview img {
  display: block; width: 100%; height: auto; max-height: 720px;
  object-fit: contain; background: #1c211b;
}
#mlib-lightbox { z-index: 500; }
#mlib-lightbox .lightbox-close { z-index: 2; }
#mlib-lightbox img { position: relative; z-index: 1; }
.mlib-lightbox-cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px; margin: 0; z-index: 2;
  text-align: center; color: #fff; font-size: 0.92rem; font-weight: 700;
  pointer-events: none;
}
.mlib-preview iframe { width: 100%; height: 420px; border: 0; display: block; background: #fff; }
.mlib-textprev { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 0.9rem; }
.mlib-textprev strong { font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.25; }
.mlib-textprev p { margin: 0; color: var(--ink-2); font-size: 0.88rem; line-height: 1.45; }
.mlib-textprev-subject { font-weight: 700; color: var(--ink) !important; }
.mlib-cta {
  display: inline-flex; background: var(--ember); color: #fff; border-radius: 999px;
  padding: 0.35rem 0.75rem; font-size: 0.78rem; font-weight: 700;
}
.mlib-inspector-top, .mlib-inspector-actions, .mlib-replace {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
}
.mlib-inspector-top { justify-content: space-between; margin-bottom: 0.7rem; }
.mlib-filemeta { margin: 0; color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.mlib-save, .mlib-replace { display: grid; gap: 0.5rem; margin-bottom: 0.65rem; }
.mlib-replace { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 1100px) {
  .mlib-browser, .mlib-inspector, .mlib-upload { grid-template-columns: 1fr; }
}
.settings-api { max-width: 640px; }
.api-key-panel {
  background: var(--sand); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.9rem 1rem; margin-bottom: 1rem;
}
.api-key-panel-label {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.35rem;
}
.api-key-mask {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink);
  user-select: none; -webkit-user-select: none; cursor: default;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.api-key-meta {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.75rem; align-items: center;
  margin-top: 0.65rem; font-size: 0.78rem; color: var(--muted); font-weight: 650;
}
.api-settings-form { display: grid; gap: 0.55rem; }
.api-field-note { margin: -0.15rem 0 0.35rem; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 1100px) {
  .rcal-layout { grid-template-columns: 1fr; }
  .rpanel { position: static; max-height: none; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  #ra-home-stats > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rate-grid { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 52px 1fr 88px; gap: 0.5rem; }
}
@media (max-width: 900px) {
  .admin-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 2.5rem;
    box-sizing: border-box;
  }
  .admin-top {
    position: sticky; top: 0; z-index: 30;
    background: var(--sand);
    margin: 0; padding: 0.75rem 14px 0.7rem;
    border-bottom: 1px solid var(--line);
  }
  .admin-card, .admin-body .alert, .ra-inhouse {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .admin-card { padding: 1rem 14px; margin-bottom: 8px; }
  .admin-stats, .inv-stats {
    gap: 1px;
    background: var(--line);
    margin-bottom: 8px;
  }
  .stat { border: 0; border-radius: 0; }
  .ra-nav { margin: 0; padding: 0.7rem 14px 0.75rem; }
  .ra-subnav { padding: 0 6px; margin-bottom: 8px; }
  .login-wrap { padding: 0; }
  .login-card { width: 100%; border-radius: 0; }
  .admin-card, .stat, .ra-view, .rmonth, .rs-ev, .rs-ev > div,
  .bk-card, .fac-card, .bar-row, .admin-table-wrap, .rcal-layout {
    min-width: 0;
    max-width: 100%;
  }
  .fac-meta, .bk-who, .bk-when, .ra-inhouse, .rs-sub { overflow-wrap: anywhere; }
  dialog#dlg-new, dialog#dlg-fac, dialog#dlg-import, dialog#dlg-event, dialog#dlg-user, dialog#dlg-job, dialog.dlg-wide {
    position: fixed; inset: 0;
    width: 100%; max-width: 100%;
    height: 100%; max-height: 100dvh;
    margin: 0; border-radius: 0;
    padding: 1rem 14px 1.4rem;
  }
  body.inv-print .inv-sheet-wrap { width: 100%; margin: 0; }
  body.inv-print .inv-sheet { border-radius: 0; border-left: 0; border-right: 0; }
  body.inv-print .inv-actions { padding: 0.7rem 14px 0; }
}
@media (max-width: 760px) {
  .admin-shell { padding-bottom: 2rem; }
  .admin-top { gap: 0.65rem; }
  .admin-top .btn, .fac-toolbar-actions .btn, .bk-act .btn, .rcal-head .btn {
    flex: 1 1 auto;
  }
  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat { padding: 0.85rem 0.9rem; }
  .stat strong { font-size: 1.55rem; }
  .ra-nav { gap: 0.25rem; margin: 0; padding: 0.65rem 14px 0.75rem; }
  .ra-nav button { padding: 0.45rem 0.75rem; font-size: 0.84rem; }
  .mkt-subnav-bar { flex-direction: column; align-items: stretch; }
  .mkt-ai-badge { justify-content: center; }
  .admin-table-wrap { overflow-x: hidden; }
  .admin-table { display: block; width: 100%; }
  .admin-table thead { display: none; }
  .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: auto; max-width: 100%; }
  .admin-table tr { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .admin-table tr:last-child { border-bottom: 0; }
  .admin-table td {
    border: 0; padding: 0.12rem 0;
    white-space: normal; overflow-wrap: anywhere;
  }
  .inv-table td:first-child { white-space: normal; }
  .inv-act { width: auto; text-align: left; padding-top: 0.55rem !important; }
  .inv-act-row { width: 100%; margin-left: 0; }
  .inv-act .btn { min-height: 40px; }
  #ical-url { min-width: 0 !important; width: 100%; flex: 1 1 100%; }
  .rcal-head { flex-wrap: wrap; justify-content: center; }
  .rcal-head strong { order: -1; width: 100%; margin-bottom: 0.25rem; }
  .bk-main { grid-template-columns: 1fr; gap: 0.5rem; }
  .bk-act { flex-wrap: wrap; }
  .bk-detail { grid-template-columns: 1fr; }
  .bk-edit .form-row { grid-template-columns: 1fr; }
  .rs-day { grid-template-columns: 1fr; gap: 0.4rem; }
  .rs-ev { flex-wrap: wrap; }
  .rmonths { grid-template-columns: 1fr; }
  .fac-filters { flex-direction: column; align-items: stretch; }
  .fac-filters input[type="search"],
  .fac-filters select,
  .fac-due,
  .fac-filters .fac-clear { width: 100%; min-width: 0; flex: 1 1 auto; }
  .fac-count { margin-left: 0; width: 100%; }
  .fac-grid { grid-template-columns: 1fr; }
  .fac-grid.is-list {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    overflow-x: auto;
    --fac-cols: minmax(7rem, 1.15fr) minmax(6.5rem, 1fr) 6.6rem minmax(6.2rem, 0.9fr) 4.2rem 4.5rem 4.5rem minmax(5.5rem, 1fr);
  }
  .fac-grid.is-list .fac-list-head,
  .fac-grid.is-list .fac-card {
    min-width: 890px;
    column-gap: 0.4rem;
    padding-left: 14px;
    padding-right: 14px;
  }
  .rate-grid { grid-template-columns: 1fr; }
  .ra-blockout-form { grid-template-columns: 1fr; }
  .inv-stats { grid-template-columns: 1fr 1fr; }
  .inv-create, .inv-settings .form-row { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 48px 1fr; }
  .bar-val { grid-column: 2; text-align: left; }
  #view-admin .bar-row { grid-template-columns: 3.4rem minmax(0, 1fr) auto; }
  #view-admin .bar-wide { grid-template-columns: minmax(0, 7.2rem) minmax(0, 1fr) auto; }
  #view-admin .bar-val { grid-column: auto; text-align: right; font-size: 0.72rem; white-space: nowrap; }
  .set-head { padding: 0 14px; }
  .user-add-grid, .user-edit, .act-row, .maint-grid, .maint-status, .my-rock-grid, .my-rock-dl { grid-template-columns: 1fr; }
  .maint-span { grid-column: auto; }
  .user-card { border-radius: 0; border-left: 0; border-right: 0; }
  .maint-row { grid-template-columns: 1fr; gap: 0.65rem; border-radius: 0; }
  .maint-row-actions, .maint-row-actions-wide { justify-content: stretch; align-items: stretch; min-width: 0; }
  .maint-row-actions .btn, .maint-row-actions form { flex: 1; }
  .maint-row-actions form .btn { width: 100%; }
  .maint-row-actions select, .maint-row-actions input { max-width: none; flex: 1; }
  .ra-user-label { display: none; }
  .ra-user-btn { padding: 0.22rem; }
  .rep-grid { grid-template-columns: 1fr; }
  dialog#dlg-new .form-row,
  dialog#dlg-fac .form-row,
  dialog#dlg-import .form-row,
  .dlg-wide .form-row {
    grid-template-columns: 1fr;
  }
  .dlg-foot { flex-wrap: wrap; }
  .fac-del { margin-left: 0; width: 100%; }
}

/* Phone: full-bleed app shell. Later rules win over the 760px block above. */
@media (max-width: 760px) {
  .admin-body { padding-bottom: env(safe-area-inset-bottom); }
  .admin-top {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    min-height: 40px;
  }
  .admin-home-brand { display: flex; align-items: center; min-width: 0; }
  .admin-home-brand img { display: block; height: 18px; width: auto; }
  .admin-home-brand p { display: none; }
  .admin-actions {
    width: auto;
    margin-left: auto;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
  }
  .admin-actions .btn {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 28px;
    padding: 0 0.5rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .admin-actions .ra-act-full { display: none; }
  .admin-actions .ra-act-short { display: inline; }
  .admin-actions .ra-user-menu { flex: 0 0 auto; }
  .admin-actions .ra-user-chev { display: none; }
  .admin-actions .ra-user-avatar { width: 28px; height: 28px; font-size: 0.62rem; }
  .admin-actions .ra-user-btn { padding: 0; min-height: 28px; }
  .ra-user-drop { right: 0; width: min(260px, calc(100vw - 32px)); }

  .ra-inhouse { padding: 0.75rem 16px; margin: 0; border-radius: 0; }
  .admin-body .alert { margin: 0; border-radius: 0; }

  .admin-stats, .inv-stats, .mkt-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    margin: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .admin-stats > :last-child:nth-child(odd),
  .inv-stats > :last-child:nth-child(odd),
  .mkt-stats > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stat { border: 0; border-radius: 0; padding: 0.8rem 16px; }

  .ra-burger {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .ra-burger-ico {
    position: relative;
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
  }
  .ra-burger-ico::before,
  .ra-burger-ico::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
  }
  .ra-burger-ico::before { top: -5px; }
  .ra-burger-ico::after { top: 5px; }
  .ra-burger[aria-expanded="true"] .ra-burger-ico { background: transparent; }
  .ra-burger[aria-expanded="true"] .ra-burger-ico::before { top: 0; transform: rotate(45deg); }
  .ra-burger[aria-expanded="true"] .ra-burger-ico::after { top: 0; transform: rotate(-45deg); }

  body.ra-nav-open { overflow: hidden; }
  .ra-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--ra-top, 41px);
    bottom: 0;
    z-index: 40;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    overflow: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  body.ra-nav-open .ra-nav { display: flex; }
  .ra-nav button, .ra-nav a.ra-nav-link {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 52px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    color: var(--ink);
  }
  .ra-nav button:hover, .ra-nav a.ra-nav-link:hover {
    background: var(--sand);
    border-color: transparent;
    color: var(--ink);
  }
  .ra-nav button.is-active {
    background: #eef6f1;
    color: var(--green-deep);
    border-color: transparent;
    box-shadow: inset 3px 0 0 var(--green-deep);
  }
  .ra-nav .ra-dot {
    min-width: 20px;
    height: 20px;
    margin-left: auto;
    padding: 0 6px;
    font-size: 0.68rem;
  }

  .ra-subnav, .inv-pills, .mkt-subnav {
    flex-wrap: wrap;
    overflow: visible;
    gap: 6px;
    margin: 0 0 8px;
    padding: 8px 12px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .ra-subnav button, .inv-pill { flex: 0 0 auto; white-space: nowrap; }
  .mkt-subnav-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    overflow: visible;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    margin: 0 0 8px;
    padding: 8px 12px;
    gap: 8px;
  }
  .mkt-subnav { margin: 0; padding: 0; overflow: visible; border: 0; }
  .mkt-ai-badge { flex: 0 0 auto; }
  .mkt-quick { display: grid; grid-template-columns: 1fr; }
  .mkt-quick .btn { width: 100%; }

  #view-calendar:not([hidden]) { display: flex; flex-direction: column; }
  #view-calendar > .rcal-head { order: 0; }
  #view-calendar > .rcal-layout { order: 1; }
  #view-calendar > .ra-legend { order: 2; padding: 12px 16px 16px; margin: 0; gap: 8px 12px; border-top: 1px solid var(--line); }
  .rcal-head { padding: 8px 16px 10px; margin: 0; }
  .rmonths { gap: 8px; }
  .rmonth {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 12px 10px 14px;
  }
  .rwk, .rgrid { gap: 3px; }
  .rd { border-radius: 6px; padding: 3px 0 0 3px; font-size: 0.68rem; }
  .rd-n { font-size: 0.66rem; }
  .rbar-lbl { max-width: 100%; font-size: 0.52rem; padding: 1px 4px; }
  .rpanel { border-radius: 0; border-left: 0; border-right: 0; }

  .admin-card { padding: 0.95rem 16px; }
  .bk-card, .fac-card, .rs-ev, .user-card, .maint-row, .camp-mail {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  #adm-users .user-hero { border-radius: 0; border-left: 0; border-right: 0; align-items: stretch; }
  #adm-users .user-hero .btn { width: 100%; }
  #adm-users .user-seen { display: none; }
  #adm-users .user-list { gap: 0; }
  #adm-users .user-card { padding: 0; border-top: 0; }
  #adm-users .user-fold > summary {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 16px;
    cursor: pointer;
  }
  #adm-users .user-fold > summary strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
  }
  #adm-users .user-fold > summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-right: 1.5px solid var(--ink-2);
    border-bottom: 1.5px solid var(--ink-2);
    transform: rotate(45deg) translateY(-2px);
    flex: 0 0 auto;
  }
  #adm-users .user-fold[open] > summary::after {
    transform: rotate(-135deg) translateY(-2px);
  }
  #adm-users .user-stats,
  #adm-users .user-edit,
  #adm-users .user-remove { margin-left: 16px; margin-right: 16px; }
  #adm-users .user-remove { margin-bottom: 14px; }
  .fac-grid, .bk-list { gap: 8px; }
  .bk-card { margin-bottom: 8px; }
  .fac-toolbar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }
  .fac-toolbar-actions .btn { width: 100%; flex: none; min-height: 40px; }
  .fac-export > summary.btn { display: flex; align-items: center; justify-content: center; }
  .fac-export-menu { left: 0; right: auto; min-width: min(280px, calc(100vw - 32px)); }
  .rs-ev > div { min-width: 0; flex: 1 1 100%; }

  .camp-banner { margin: 0; border-radius: 0; }
  .camp-feel { gap: 0; }
  .camp-feel .mlib-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    overflow: visible;
    position: static;
    padding: 8px 12px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .camp-feel .mlib-side::-webkit-scrollbar { display: none; }
  .camp-feel .mlib-side > .mlib-side-label,
  .camp-feel .camp-group > .mlib-side-label { display: none; }
  .camp-feel .camp-group { display: contents; border: 0; margin: 0; padding: 0; }
  .camp-nav {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 999px;
    background: var(--sand);
    padding: 0.4rem 0.75rem;
  }
  .camp-mail { border-radius: 0; }
  .camp-letter, .camp-mail-bar { padding-left: 16px; padding-right: 16px; }

  #mlib-browser > .mlib-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    overflow: visible;
    padding: 8px 12px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    position: static;
  }
  #mlib-browser .mlib-folder,
  #mlib-browser .mlib-group,
  #mlib-browser .mlib-drop { display: contents; }
  #mlib-browser .mlib-side-label { display: none; }
  #mlib-browser .mlib-nav {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 999px;
    background: var(--sand);
    padding: 0.35rem 0.7rem;
  }
  #mlib-browser .mlib-nav.is-on { background: var(--ink); }
  #mlib-browser .mlib-edit,
  #mlib-browser .mlib-mini-form,
  #mlib-browser .mlib-new-section { display: none; }
  .mlib-main {
    border: 0;
    border-radius: 0;
    padding: 10px 0 16px;
  }
  .mlib-toolbar, .mlib-upload, .mlib-crumb, .mlib-filters, .mlib-status { padding-left: 16px; padding-right: 16px; }
  .mlib-filters { flex-wrap: wrap; overflow: visible; }
  .mlib-pill { flex: 0 0 auto; }
  .mlib-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 8px;
  }
  .mlib-upload { grid-template-columns: 1fr; }
  .mlib-upload .btn { width: 100%; }
  .mlib-inspector { padding-left: 16px; padding-right: 16px; }
  .mlib-save .form-row, .mlib-inspector .form-row { grid-template-columns: 1fr; }
  .ra-pager { padding: 8px 16px 4px; justify-content: stretch; }
  .ra-pager .btn { flex: 1 1 0; }

  #view-admin .admin-table {
    display: table;
    width: 100%;
  }
  #view-admin .admin-table thead { display: table-header-group; }
  #view-admin .admin-table tbody { display: table-row-group; }
  #view-admin .admin-table tr {
    display: table-row;
    padding: 0;
    border-bottom: 0;
  }
  #view-admin .admin-table th,
  #view-admin .admin-table td {
    display: table-cell;
    width: auto;
    padding: 0.55rem 0.3rem;
    white-space: normal;
    border-bottom: 1px solid var(--line);
  }
  #view-blockouts .bl-act,
  #view-blockouts .bl-edit-form { min-width: 0; width: 100%; }

  #set-rates .rate-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  #set-rates .rate-span,
  #set-rates .rate-grid > .btn { grid-column: 1 / -1; }
  #set-rates .rate-grid > .btn { width: 100%; }
  #set-rates .rate-grid label { letter-spacing: 0.04em; }
  #set-rates .rate-seasons,
  #set-rates .rate-seasons tbody,
  #set-rates .rate-seasons tr,
  #set-rates .rate-seasons td { display: block; width: 100%; }
  #set-rates .rate-seasons thead { display: none; }
  #set-rates .rate-seasons tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  #set-rates .rate-seasons tr.rate-empty { display: block; }
  #set-rates .rate-seasons td {
    display: block;
    padding: 0;
    border: 0;
    white-space: normal;
  }
  #set-rates .rate-seasons td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 1px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  #set-rates .rate-seasons td:nth-child(1),
  #set-rates .rate-seasons td:nth-child(2) { grid-column: 1; }
  #set-rates .rate-seasons td:nth-child(3),
  #set-rates .rate-seasons td:nth-child(4) { grid-column: 1; }
  #set-rates .rate-seasons td:last-child {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
  }
  #set-rates .rate-seasons td:last-child .btn { white-space: nowrap; min-height: 36px; }
  .set-head { padding: 12px 16px 0; }
  .login-card {
    min-height: 100dvh;
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.6rem 20px calc(1.6rem + env(safe-area-inset-bottom));
  }
  .admin-body input,
  .admin-body select,
  .admin-body textarea { max-width: 100%; min-width: 0; }
  .form, .form-row, label, .ra-view, .admin-card { min-width: 0; max-width: 100%; }
}

/* ============ Motion preferences ============ */
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .page-hero .hero-media img { animation: none; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content, .page-hero-content { animation: none; }
  .hero-cue { display: none; }
  .mkt-ai-badge:hover { transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .exp-rail { grid-template-columns: repeat(2, 1fr); }
  .space-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .split, .split-rev, .book-layout, .space-row, .space-row:nth-child(even),
  .editorial, .avail-grid, .footer-grid, .enquire-layout { grid-template-columns: 1fr; }
  .split-rev .split-copy, .space-row:nth-child(even) .space-info { order: 0; }
  .form-card { position: static; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid a,
  .gallery-grid a:nth-child(1),
  .gallery-grid a:nth-child(2),
  .gallery-grid a:nth-child(n+3) { grid-column: span 1; aspect-ratio: 1; }
  .hero-rail { flex-wrap: wrap; gap: 1.4rem 2.2rem; }
  .collage { padding-bottom: 3rem; }
  .quote-band { min-height: 58vh; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: grid; place-content: center; position: relative; z-index: 95;
    width: 44px; height: 44px; margin-right: -6px; border-radius: 999px;
  }
  .nav-toggle span { width: 24px; margin: 3px auto; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }
  .brand { position: relative; z-index: 95; }
  .site-header.menu-open { border-bottom-color: transparent; }
  .site-header.menu-open::before { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.menu-open .brand-logo--light { display: block !important; }
  .site-header.menu-open .brand-logo--dark { display: none !important; }

  .nav-backdrop { display: none !important; }

  .nav {
    position: fixed; inset: 0; z-index: 90;
    height: 100vh; height: 100dvh; width: auto;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; margin: 0;
    padding: calc(74px + clamp(1.2rem, 5vh, 2.6rem)) 28px max(26px, env(safe-area-inset-bottom));
    background:
      radial-gradient(34rem 24rem at 110% -5%, rgba(63, 115, 99, 0.55), transparent 62%),
      radial-gradient(28rem 20rem at -20% 110%, rgba(180, 98, 60, 0.18), transparent 60%),
      var(--green-deep);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s linear .6s;
    overflow-y: auto; overscroll-behavior: contain;
    counter-reset: navitem;
  }
  .nav.is-open {
    clip-path: inset(0 0 0 0); visibility: visible;
    transition: clip-path .6s var(--ease), visibility 0s;
  }
  .nav > a:not(.nav-cta) {
    counter-increment: navitem;
    display: flex; align-items: baseline; gap: 1rem;
    width: 100%; padding: 0.62rem 0 !important;
    font-family: var(--ff); font-size: clamp(1.9rem, 8.6vw, 2.5rem); font-weight: 600;
    letter-spacing: -0.02em; line-height: 1.1;
    color: #fff !important; text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    opacity: 0; transform: translateY(18px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
  }
  .nav > a:not(.nav-cta)::before {
    content: counter(navitem, decimal-leading-zero);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
    color: rgba(255,255,255,0.42); min-width: 1.6rem;
    transform: translateY(-0.9em);
  }
  .nav > a[aria-current="page"] { color: #f0d9c8 !important; }
  .nav > a[aria-current="page"]::after {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--ember-btn); align-self: center; margin-left: auto;
  }
  .nav > a:not(.nav-cta):active { color: #f0d9c8 !important; }
  .nav.is-open a { opacity: 1 !important; transform: none !important; }
  .nav.is-open > a:nth-child(1) { transition-delay: .18s; }
  .nav.is-open > a:nth-child(2) { transition-delay: .23s; }
  .nav.is-open > a:nth-child(3) { transition-delay: .28s; }
  .nav.is-open > a:nth-child(4) { transition-delay: .33s; }
  .nav.is-open > a:nth-child(5) { transition-delay: .38s; }
  .nav.is-open > a:nth-child(6) { transition-delay: .46s; }

  .nav-cta {
    display: flex !important; align-items: center; justify-content: center; gap: 0.6rem;
    margin: clamp(1.4rem, 4vh, 2.2rem) 0 0 !important; width: 100%;
    padding: 1.05rem 1.25rem !important; font-size: 1.05rem !important;
    border-bottom: none !important;
    opacity: 0; transform: translateY(18px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), background .2s;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  }
  .nav-cta::after { content: "\2192"; font-weight: 600; }

  .nav-foot {
    display: grid; gap: 0.15rem; margin-top: auto; padding-top: 2.2rem; width: 100%;
  }
  .nav-foot::before {
    content: "Get in touch";
    font-size: 0.66rem; font-weight: 750; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(255,255,255,0.45); margin-bottom: 0.5rem;
  }
  .nav-foot a {
    font-size: 0.95rem !important; font-weight: 600 !important;
    color: rgba(255,255,255,0.8) !important; text-decoration: none !important;
    border-bottom: none !important; padding: 0.3rem 0 !important;
    opacity: 0; transform: translateY(10px);
    transition: opacity .5s var(--ease) .55s, transform .5s var(--ease) .55s;
  }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-cue { display: none; }
  .space-cards, .exp-rail { grid-template-columns: 1fr; }
  .avail-stats { grid-template-columns: 1fr 1fr; }
  .gallery-cinema { grid-auto-columns: 78vw; }
}

/* Dashboard — this month, one page */
.dash-board {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}
.dash-mine {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.dash-mine-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0.85rem 1rem 0.35rem;
}
.dash-mine-top h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.dash-mine-top span {
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash-mine .dash-act:first-of-type { border-top: 0; }
.dash-month, .dash-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.dash-month { padding: 0.95rem 0.95rem 0.75rem; }
.dash-month-top, .dash-side-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.dash-month-top h3, .dash-side-top h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.dash-month-top .btn { min-height: 34px; }
.dash-occ {
  margin: 0.15rem 0 0.7rem;
  color: var(--mute);
  font-size: 0.82rem;
  font-weight: 650;
}
.dash-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 650;
}
.dash-legend span { display: inline-flex; align-items: center; gap: 6px; }
#dash-cal .rd { aspect-ratio: 1.15; }
.dash-side { min-width: 0; }
.dash-side-top {
  padding: 0.9rem 1rem 0.35rem;
}
.dash-side-top span {
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash-feed { max-height: 640px; overflow: auto; }
.dash-group {
  margin: 0;
  padding: 0.85rem 1rem 0.2rem;
  color: var(--mute);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dash-empty { margin: 0; padding: 1rem; color: var(--mute); }
.dash-act {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.dash-act:hover { background: var(--sand); }
.dash-act.is-today { background: #f4f8f5; }
.dash-when strong {
  display: block;
  font-family: var(--ff);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.dash-when span {
  color: var(--mute);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dash-body { min-width: 0; display: grid; gap: 0.05rem; }
.dash-body em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.dash-act.is-depart .dash-body em { color: var(--ember-2); }
.dash-act.is-hold .dash-body em { color: #7a5a1e; }
.dash-act.is-block .dash-body em { color: #5c665c; }
.dash-act.is-job .dash-body em { color: #3d5a80; }
.dash-act.is-follow .dash-body em { color: var(--ember-2); }
.dash-act.is-invoice .dash-body em,
.dash-act.is-over .dash-body em { color: #8a4526; }
.dash-body strong {
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.dash-body > span {
  color: var(--ink-2);
  font-size: 0.82rem;
}
.dash-group + .dash-act { border-top: 0; }

dialog#dlg-event {
  flex-direction: column;
  gap: 0;
  width: min(460px, calc(100% - 40px));
  padding: 0;
  border-radius: 22px;
  background: var(--sand);
  color: var(--ink);
  box-shadow: 0 28px 70px -32px rgba(20, 26, 22, 0.62);
}
dialog#dlg-event[open] { display: flex; }
#dlg-event .dlg-head {
  position: sticky;
  top: 0;
  z-index: 2;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 14px 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
#dlg-event .dlg-head h3 {
  font-family: var(--ff);
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
#dlg-event .dlg-x { margin: 0; }
#dlg-event-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}
#dlg-event .rp-head {
  align-items: center;
  margin: 0;
  padding: 2px 6px 0;
  border: 0;
}
#dlg-event .rp-head strong { display: none; }
#dlg-event .rp-card {
  margin: 0;
  padding: 14px 14px 12px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}
#dlg-event .rp-title { margin-bottom: 0.35rem; }
#dlg-event .rp-title strong { font-size: 1.02rem; letter-spacing: -0.02em; }
#dlg-event .rp-sub { line-height: 1.45; }
#dlg-event .rp-sub span { color: var(--muted); }
#dlg-event .rp-note {
  margin-top: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: var(--sand);
}
#dlg-event .rp-actions,
#dlg-event .dash-inv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 0.85rem;
}
#dlg-event .rp-actions form,
#dlg-event .dash-inv-actions form { margin: 0; }
#dlg-event .rp-actions .btn,
#dlg-event .dash-inv-actions .btn {
  width: auto !important;
  min-height: 36px;
}
#dlg-event .ev-facts { display: grid; gap: 0; padding: 6px 16px; }
#dlg-event .ev-fact {
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
#dlg-event .ev-fact:first-child { border-top: 0; }
#dlg-event .ev-fact span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#dlg-event .ev-fact strong { font-size: 0.98rem; font-weight: 700; }
#dlg-event .job-sheet { padding: 2px 16px 14px; }
#dlg-event .job-sheet h4 {
  margin: 0.45rem 0 0.1rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
#dlg-event .job-tasks { list-style: none; margin: 0; padding: 0; }
#dlg-event .job-tasks li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: center;
  padding: 0.48rem 0;
  border-top: 1px solid var(--line);
}
#dlg-event .job-tasks li.is-done strong { color: var(--mute); text-decoration: line-through; }
#dlg-event .job-tasks span { color: var(--ink-2); font-size: 0.82rem; }
#dlg-event .job-tasks form { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
#dlg-event .job-tasks .btn { min-height: 32px; padding: 0.2rem 0.65rem; }
#dlg-job .dlg-head { align-items: center; margin: 0 0 0.85rem; }
#dlg-job-body .maint-grid { align-items: end; }
#dlg-event form.rp-bl-edit,
#dlg-event .rp-card form {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
#dlg-event input[type="text"],
#dlg-event input[type="date"],
#dlg-event input[type="email"],
#dlg-event textarea,
#dlg-event select {
  width: 100%;
  margin-top: 0.28rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sand);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}
#dlg-event .dash-inv {
  gap: 0;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: #fff;
}
#dlg-event .dash-inv-top { align-items: center; }
#dlg-event .dash-inv-kicker,
#dlg-event .dash-inv-who span,
#dlg-event .dash-inv-dates span,
#dlg-event .dash-inv-money span {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#dlg-event .dash-inv-top strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
#dlg-event .dash-inv-who,
#dlg-event .dash-inv-stay,
#dlg-event .dash-inv-line,
#dlg-event .dash-inv-dates,
#dlg-event .dash-inv-money,
#dlg-event .dash-inv-note {
  margin-top: 0.85rem;
}
#dlg-event .dash-inv-who { display: grid; gap: 0.08rem; }
#dlg-event .dash-inv-who strong { font-size: 1.02rem; }
#dlg-event .dash-inv-who em { font-style: normal; color: var(--ink-2); }
#dlg-event .dash-inv-who a { color: var(--green-deep); font-size: 0.88rem; }
#dlg-event .dash-inv-stay { margin-bottom: 0; color: var(--ink-2); font-size: 0.9rem; }
#dlg-event .dash-inv-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
#dlg-event .dash-inv-line p { margin: 0; font-size: 0.9rem; }
#dlg-event .dash-inv-line em { font-style: normal; color: var(--muted); }
#dlg-event .dash-inv-line strong { white-space: nowrap; }
#dlg-event .dash-inv-dates,
#dlg-event .dash-inv-money {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.75rem 0.15rem 0;
  border-top: 1px solid var(--line);
}
#dlg-event .dash-inv-dates { grid-template-columns: 1fr 1fr; }
#dlg-event .dash-inv-dates div,
#dlg-event .dash-inv-money div { display: grid; gap: 0.15rem; }
#dlg-event .dash-inv-dates strong,
#dlg-event .dash-inv-money strong { font-size: 0.95rem; }
#dlg-event .dash-inv-dates .is-late em {
  font-style: normal;
  color: #8a4526;
  font-size: 0.75rem;
  font-weight: 750;
}
#dlg-event .dash-inv-money .is-owing strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
#dlg-event .dash-inv.is-overdue .dash-inv-money .is-owing strong { color: #8a4526; }
#dlg-event .dash-inv-note { margin-bottom: 0; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 900px) {
  dialog#dlg-event {
    padding: 0;
    background: var(--sand);
  }
}
@media (max-width: 980px) {
  .dash-board { grid-template-columns: 1fr; margin-top: 8px; }
  .dash-month, .dash-side {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .dash-feed { max-height: none; }
}

/* ============ Website update — Oct 2026 photography ============ */
.dot-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.45rem; }
.dot-list li { position: relative; padding-left: 1.2rem; color: var(--ink-2); font-weight: 500; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(110px, 11vw, 160px); gap: 10px; }
.mosaic a { display: block; overflow: hidden; border-radius: 14px; background: var(--sand-2); grid-row: span 2; }
.mosaic a:nth-child(1) { grid-column: span 2; }
.mosaic a:nth-child(6) { grid-column: span 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic a:hover img { transform: scale(1.05); }

.avail-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.avail-photos { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(120px, 12vw, 180px); gap: 10px; }
.avail-photos a { display: block; overflow: hidden; border-radius: 14px; }
.avail-photos a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.avail-photos a:nth-child(2), .avail-photos a:nth-child(3) { grid-row: span 2; }
.avail-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.avail-photos a:hover img { transform: scale(1.05); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.4rem); }
.feat { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.feat { display: flex; flex-direction: column; }
.feat-wide, .feat-wide-lg { grid-column: span 2; }
.feat-full { grid-column: 1 / -1; }
.feat-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--sand-2); }
.feat-wide .feat-media, .feat-wide-lg .feat-media { aspect-ratio: 8/3; }
.feat-full .feat-media { aspect-ratio: 3/1; }
.feat-full .feat-media.n4 { aspect-ratio: 16/5; }
.feat-media.is-multi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.feat-media.is-multi.n4 { grid-template-columns: repeat(4, 1fr); }
.feat-media.is-multi.n3 { grid-template-columns: repeat(3, 1fr); }
.feat-media a { display: block; overflow: hidden; height: 100%; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feat-media a:hover img { transform: scale(1.05); }
.feat figcaption { padding: 0.95rem 1.15rem 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.tick-list { list-style: none; margin: clamp(1.4rem, 3vw, 2.2rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem 1.4rem; }
.tick-list li { position: relative; padding: 0.75rem 0.9rem 0.75rem 2.4rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink-2); }
.tick-list li::before { content: ""; position: absolute; left: 0.95rem; top: 50%; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(-45deg); }
.feat-note { margin: 1.1rem 0 0; padding-left: 1rem; border-left: 2px solid var(--ember); color: var(--ink-2); font-weight: 500; }
.feat-note + .feat-note { margin-top: 0.5rem; }

.your-way { text-align: center; max-width: 720px; }
.your-way .eyebrow { justify-content: center; }
.your-way .lede { margin: 0 auto 1.8rem; }

.photo-band { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.photo-band a { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 3/4; background: var(--sand-2); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-band a:hover img { transform: scale(1.05); }
.prose { max-width: 68ch; }
.prose p { font-size: 1.06rem; line-height: 1.75; }

.testimonial { max-width: 820px; text-align: center; }
.testimonial .eyebrow { justify-content: center; }
.testimonial blockquote { margin: 0 0 1.2rem; font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 600; line-height: 1.6; color: var(--ink); letter-spacing: -0.01em; }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: 1; color: var(--ember); margin-bottom: 0.2rem; }
.testimonial cite { font-style: normal; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); }

.page-hero .hero-split { display: grid; grid-template-columns: 1.75fr 1fr; gap: 4px; background: #141a16; }
.page-hero .hero-split img { position: static; min-width: 0; animation: none; }
/* Pins a focal point (--fx/--fy, 0–1 of the photo) to a fixed spot in its frame (--tx/--ty, default centre) at any size, zooming just enough to avoid gaps. */
.hero-focus { --tx: 0.5; --ty: 0.5; position: relative; overflow: hidden; min-width: 0; container-type: size; }
.page-hero .hero-focus img {
  position: absolute; inset: auto;
  left: calc(var(--tx) * 100%); top: calc(var(--ty) * 100%);
  width: max(
    calc(100cqw * max(var(--tx) / var(--fx), (1 - var(--tx)) / (1 - var(--fx)))),
    calc(100cqh * var(--ar) * max(var(--ty) / var(--fy), (1 - var(--ty)) / (1 - var(--fy))))
  );
  height: auto; max-width: none;
  transform: translate(calc(var(--fx) * -100%), calc(var(--fy) * -100%));
}
.hero-fade img:not(:first-child) { opacity: 0; }
.hero-fade.is-live img { opacity: 0; transition: opacity 2.2s ease; }
.hero-fade.is-live img.is-on { opacity: 1; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(0,0,0,0.25); color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.15); }
.lightbox-figure { margin: 0; display: grid; justify-items: center; gap: 0.9rem; }
.lightbox-figure img { max-height: 82vh; }
.lightbox-caption { display: flex; gap: 1rem; align-items: baseline; max-width: min(1100px, 94vw); color: rgba(255,255,255,0.86); font-size: 0.92rem; }
.lightbox-count { flex: none; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.16em; color: rgba(255,255,255,0.55); }

/* Story page */
.story-open { text-align: center; padding-bottom: clamp(2rem, 4vw, 3rem); }
.story-open .eyebrow { justify-content: center; }
.story-statement {
  max-width: 30ch; margin: 0 auto 1.4rem;
  font-family: var(--ff); font-size: clamp(1.45rem, 2.6vw, 2.2rem); font-weight: 650;
  line-height: 1.32; letter-spacing: -0.025em; color: var(--ink);
}
.story-kicker { margin: 0; font-size: 0.8rem; font-weight: 750; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); }
.story-cinema a { display: block; overflow: hidden; border-radius: 22px; aspect-ratio: 21/9; background: var(--sand-2); }
.story-cinema img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story-cinema a:hover img { transform: scale(1.03); }
.story-split h2 { max-width: 16ch; }
.story-split .frame img { aspect-ratio: 4/5; }
.founder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.4rem); }
.founder { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 2.4vw, 2rem); }
.founder-n { display: block; margin-bottom: 1.6rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; color: var(--ember); }
.founder h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.founder p { margin: 0; color: var(--ink-2); }
.story-quote { max-width: 860px; text-align: center; }
.story-quote .eyebrow { justify-content: center; }
.story-quote blockquote {
  margin: 0 0 1.2rem; font-family: var(--ff); font-size: clamp(1.6rem, 3.4vw, 2.7rem); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.03em; color: var(--green-deep);
}
.story-quote p { max-width: 52ch; margin: 0 auto; color: var(--ink-2); }
.story-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.4rem; margin: 1.8rem 0 0; }
.story-facts div { border-left: 2px solid var(--ember); padding-left: 0.9rem; }
.story-facts dt { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; color: var(--ink); }
.story-facts dd { margin: 0.1rem 0 0; font-size: 0.86rem; color: var(--muted); }
.story-hero { min-height: 86vh; }
.story-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.story-open-title {
  max-width: 22ch; margin: 0 auto clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem); letter-spacing: -0.03em;
}
.story-moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.story-moment { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 3/4.4; background: var(--sand-2); isolation: isolate; }
.story-moment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.story-moment::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,24,20,0) 45%, rgba(18,24,20,0.72) 100%); }
.story-moment:hover img { transform: scale(1.05); }
.story-moment-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1rem, 2vw, 1.6rem); color: #fff; display: grid; gap: 0.35rem; }
.story-moment-copy strong { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #f0d9c8; }
.story-moment-copy span { font-size: clamp(0.98rem, 1.3vw, 1.12rem); font-weight: 600; line-height: 1.35; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }

.story-why { padding-top: clamp(2rem, 4vw, 3rem); }
.story-display { font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -0.04em; line-height: 1.04; }
.story-why-stat { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.story-why-stat strong { font-size: 3.4rem; font-weight: 750; line-height: 1; letter-spacing: -0.05em; color: var(--ember); }
.story-why-stat span { max-width: 22ch; font-weight: 600; color: var(--ink-2); }

.story-founders-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.story-founders .eyebrow { color: #f0d9c8; }
.story-founder-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.story-founder { padding: 0.4rem clamp(1.2rem, 3vw, 2.6rem) 0.4rem; border-left: 1px solid rgba(255,255,255,0.16); }
.story-founder:first-child { padding-left: 0; border-left: 0; }
.story-founder-n { display: block; margin-bottom: 1.2rem; font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 750; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(240, 217, 200, 0.7); }
.story-founder h3 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.story-founder p { margin: 0; max-width: 32ch; }
.story-founders .story-founder h3 { margin-bottom: 0.25rem; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.story-founder p.story-founder-role { margin: 0 0 0.8rem; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.2em; text-transform: uppercase; color: #f0d9c8; }
.story-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.story-details a { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4/5; background: var(--sand-2); }
.story-details a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.story-details img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1s var(--ease); }
.story-details a:hover img { transform: scale(1.04); }
.story-details a:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 760px) {
  .story-details { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .story-details a { border-radius: 10px; }
  .story-details a:first-child { grid-row: span 1; aspect-ratio: 4/3; }
  .story-details a:last-child:nth-child(even) { aspect-ratio: 8/5; }
}

.story-quote-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(6rem, 14vw, 11rem) 0; color: #fff; }
.story-quote-media { position: absolute; inset: 0; z-index: -2; }
.story-quote-media img { width: 100%; height: 100%; object-fit: cover; }
.story-quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18, 26, 22, 0.58); }
.story-quote-band .eyebrow { color: #f0d9c8; }
.story-quote-band blockquote { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.story-quote-band .story-quote p { color: rgba(255,255,255,0.86); }

.story-testimonial { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story-testimonial-media { overflow: hidden; border-radius: 20px; aspect-ratio: 4/5; box-shadow: 0 30px 60px -38px rgba(35, 40, 31, 0.45); }
.story-testimonial-media img { width: 100%; height: 100%; object-fit: cover; }
.story-testimonial-copy { margin: 0; }
.story-testimonial-copy blockquote { margin: 0; }
.story-testimonial-lead {
  margin: 0 0 1.2rem; font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 700;
  line-height: 1.25; letter-spacing: -0.03em; color: var(--green-deep);
}
.story-testimonial-copy figcaption { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.story-testimonial-copy figcaption strong { font-size: 1.05rem; }
.story-testimonial-copy figcaption span { font-size: 0.86rem; color: var(--muted); }
.story-testimonial-copy figcaption span::before { content: "·"; margin-right: 0.8rem; }

@media (max-width: 980px) {
  .story-moments { grid-template-columns: repeat(2, 1fr); }
  .story-testimonial { grid-template-columns: 1fr; }
  .story-testimonial-media { aspect-ratio: 3/2; }
}
@media (max-width: 760px) {
  .story-founder-row { grid-template-columns: 1fr; gap: 2rem; }
  .story-founder, .story-founder:first-child { padding: 1.6rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.16); }
  .story-founder-n { font-size: 2.6rem; margin-bottom: 0.8rem; }
}
@media (max-width: 560px) {
  .story-hero { min-height: 72vh; }
  .story-moments { gap: 8px; }
  .story-moment { border-radius: 12px; }
  .story-moment-copy span { font-size: 0.86rem; }
}
.story-trio { display: grid; grid-template-columns: 1.3fr 0.85fr 0.85fr; gap: 14px; }
.story-trio a { display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 4/5; background: var(--sand-2); }
.story-trio a:first-child { aspect-ratio: auto; }
.story-trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story-trio a:hover img { transform: scale(1.04); }
@media (max-width: 980px) {
  .split .frame img, .story-split .frame img { aspect-ratio: 3/2; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-n { margin-bottom: 0.8rem; }
}
@media (max-width: 760px) {
  .story-cinema a { aspect-ratio: 4/3; border-radius: 14px; }
  .story-trio { grid-template-columns: 1fr 1fr; }
  .story-trio a:first-child { grid-column: span 2; aspect-ratio: 4/3; }
}

/* Experiences page */
.exp-hero { min-height: 72vh; }
.exp-hero h1 { margin-bottom: 1.4rem; }
.exp-hero-actions { margin-bottom: 0; }
.exp-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.exp-statement {
  margin: 0; max-width: 24ch;
  font-family: var(--ff); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.03em; color: var(--ink);
}
.exp-audience { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.exp-audience li {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--ink-2);
}
.exp-audience li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }

.exp-formats-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.exp-formats-head h2 { margin: 0; }
.exp-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.exp-jump a {
  padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 0.82rem; font-weight: 650; color: var(--ink-2); transition: border-color .2s, color .2s;
}
.exp-jump a:hover { border-color: var(--green); color: var(--green); }
.exp-row {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center;
  gap: clamp(1.8rem, 5vw, 5rem); scroll-margin-top: 90px;
}
.exp-row + .exp-row { margin-top: clamp(3rem, 7vw, 6rem); }
.exp-row-rev { grid-template-columns: 0.85fr 1.15fr; }
.exp-row-rev .exp-row-media { order: 2; }
.exp-row-media { overflow: hidden; border-radius: 20px; aspect-ratio: 4/3; background: var(--sand); box-shadow: 0 30px 60px -38px rgba(35, 40, 31, 0.45); }
.exp-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exp-row:hover .exp-row-media img { transform: scale(1.035); }
.exp-row-n { display: block; margin-bottom: 1rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; color: var(--ember); }
.exp-row-copy h3 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; }
.exp-row-lead { font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.exp-facts { display: flex; gap: 2.4rem; margin: 1.5rem 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.exp-facts dt { font-size: 0.68rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.exp-facts dd { margin: 0.2rem 0 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.exp-row-link { font-weight: 700; color: var(--green); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.exp-row-link:hover { color: var(--ember); }

.exp-steps {
  list-style: none; margin: clamp(2.4rem, 5vw, 3.6rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem);
  position: relative;
}
.exp-steps::before {
  content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%;
  border-top: 1px dashed rgba(47, 93, 80, 0.4);
}
.exp-steps li { position: relative; text-align: center; padding: 0 0.4rem; }
.exp-step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.1rem;
  border-radius: 50%; background: var(--green-deep); color: #fff;
  font-weight: 750; box-shadow: 0 0 0 8px var(--sand);
}
.exp-steps h3 { margin: 0 0 0.45rem; font-size: 1.08rem; }
.exp-steps p { margin: 0 auto; max-width: 28ch; font-size: 0.93rem; }
.exp-steps-cta { text-align: center; margin: clamp(2.2rem, 4vw, 3rem) 0 0; }

.exp-support-list { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.4rem; }
.exp-support-list li { position: relative; padding-left: 1.9rem; font-weight: 600; color: var(--ink-2); }
.exp-support-list li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.exp-collage { position: relative; padding: 0 0 18% 0; }
.exp-collage img { border-radius: 18px; object-fit: cover; box-shadow: 0 30px 60px -34px rgba(35, 40, 31, 0.5); }
.exp-collage-main { width: 78%; aspect-ratio: 4/5; margin-left: auto; }
.exp-collage-inset { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 3/2; border: 6px solid var(--sand-2); }
.exp-numbers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding-top: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid #d8d0bd;
}
.exp-numbers div { text-align: center; }
.exp-numbers dt { font-size: clamp(2rem, 4vw, 3rem); font-weight: 750; letter-spacing: -0.04em; color: var(--green-deep); line-height: 1; }
.exp-numbers dd { margin: 0.5rem 0 0; font-size: 0.74rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px) {
  .exp-intro { grid-template-columns: 1fr; align-items: start; }
  .exp-row, .exp-row-rev { grid-template-columns: 1fr; }
  .exp-row-rev .exp-row-media { order: 0; }
  .exp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .exp-steps::before { display: none; }
  .exp-collage { width: 100%; max-width: 560px; margin-inline: auto; padding-bottom: 14%; }
}
@media (max-width: 560px) {
  .exp-hero { min-height: 66vh; }
  .exp-hero-actions { flex-direction: column; align-items: stretch; }
  .exp-steps { grid-template-columns: 1fr; }
  .exp-support-list { grid-template-columns: 1fr; }
  .exp-numbers { grid-template-columns: 1fr; gap: 1.6rem; }
  .exp-facts { gap: 1.6rem; }
}

/* Gallery page */
.gallery-hero { min-height: 82vh; }
.gallery-hero h1 { max-width: 15ch; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.gallery-hero-meta { margin: 1rem 0 0; color: rgba(255,255,255,0.85); font-weight: 600; }
.gallery-hero-meta strong { margin-right: 0.35rem; font-size: 1.2rem; color: #fff; }

.gal-open { text-align: center; padding-bottom: clamp(2.4rem, 5vw, 4rem); }
.gal-open .eyebrow { justify-content: center; }
.gal-open .story-open-title { max-width: 26ch; }
.gal-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.gal-index-tile { aspect-ratio: 3/4; }
.gal-index-tile .story-moment-copy span { font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; }

.gal-nav {
  position: sticky; top: calc(var(--header-h, 62px) - 1px); z-index: 20;
  background: rgba(247, 244, 238, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.gal-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gal-nav-links { display: flex; gap: clamp(0.4rem, 2vw, 2rem); overflow-x: auto; scrollbar-width: none; }
.gal-nav-links::-webkit-scrollbar { display: none; }
.gal-nav-links a {
  flex: none; display: inline-flex; align-items: baseline; gap: 0.45rem;
  padding: 1rem 0.15rem 0.9rem; border-bottom: 2px solid transparent;
  font-size: 0.86rem; font-weight: 650; color: var(--ink-2); transition: color .2s, border-color .2s;
}
.gal-nav-links a span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; color: var(--muted); }
.gal-nav-links a:hover { color: var(--green); }
.gal-nav-links a[aria-current] { color: var(--green-deep); border-bottom-color: var(--ember); }
.gal-nav-links a[aria-current] span { color: var(--ember); }
.gal-play {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.05rem; border-radius: 999px; border: 1px solid var(--green-deep);
  background: var(--green-deep); color: #fff; font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.gal-play span { font-size: 0.6rem; }
.gal-play:hover { background: var(--ember); border-color: var(--ember); }

.gal-chapter { scroll-margin-top: calc(var(--header-h, 62px) + 50px); }
.exp-format, #formats { scroll-margin-top: var(--header-h, 62px); }
.gal-chapter-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.6rem); align-items: end; margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
.gal-chapter-n {
  font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 750; line-height: 0.8; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ember); opacity: 0.75;
}
.gal-chapter-head h2 { margin: 0 0 0.45rem; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.04; }
.gal-chapter-head p:not(.eyebrow) { margin: 0; max-width: 56ch; color: var(--ink-2); }
.gal-chapter-head .eyebrow { margin-bottom: 0.6rem; }

.gal-lead { display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 21/9; margin-bottom: 10px; background: var(--sand-2); }
.gal-lead img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gal-lead:hover img { transform: scale(1.03); }

/* Justified rows: each tile grows in proportion to its aspect ratio, so every row shares one height. */
.g-rows { --row-h: 300px; display: flex; flex-wrap: wrap; gap: 10px; }
.g-rows::after { content: ""; flex: 999 1 0; }
.g-item {
  position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--sand-2);
  flex: var(--r) 1 calc(var(--r) * var(--row-h)); aspect-ratio: var(--r); max-height: calc(var(--row-h) * 1.6);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgba(18,24,20,0.14); opacity: 0; transition: opacity .35s; }
.g-item:hover img { transform: scale(1.04); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }

.gal-quote .story-quote p { font-weight: 650; letter-spacing: 0.02em; }

.gallery-cta { text-align: center; }
.gallery-cta .eyebrow { justify-content: center; }
.gallery-cta p { max-width: 52ch; margin-inline: auto; }
.gallery-cta .avail-actions { justify-content: center; }

.lightbox-strip {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 6px; max-width: min(1100px, 92vw); overflow-x: auto; padding: 4px; scrollbar-width: none;
}
.lightbox-strip::-webkit-scrollbar { display: none; }
.lightbox-strip button { flex: none; width: 58px; height: 42px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #222; opacity: 0.45; cursor: pointer; transition: opacity .2s, outline-color .2s; outline: 2px solid transparent; outline-offset: 1px; }
.lightbox-strip button:hover { opacity: 0.85; }
.lightbox-strip button.is-active { opacity: 1; outline-color: #f0d9c8; }
.lightbox-strip img { width: 100%; height: 100%; object-fit: cover; }
.lightbox.has-strip .lightbox-figure img { max-height: 74vh; }
.lightbox.has-strip .lightbox-figure { margin-bottom: 56px; }

@media (max-width: 1100px) {
  .g-rows { --row-h: 230px; }
}
@media (max-width: 980px) {
  .gal-index { grid-template-columns: repeat(2, 1fr); }
  .gal-index-tile { aspect-ratio: 4/3.4; }
}
@media (max-width: 760px) {
  .gal-nav-links a { padding: 0.85rem 0.1rem 0.75rem; font-size: 0.8rem; }
  .gal-play { padding: 0.45rem 0.8rem; font-size: 0.74rem; }
  .gal-index { gap: 8px; }
  .gal-chapter-head { grid-template-columns: 1fr; gap: 0.4rem; }
  .gal-chapter-n { font-size: 3.4rem; }
  .gal-lead { aspect-ratio: 4/3; border-radius: 12px; margin-bottom: 6px; }
  .g-rows { --row-h: 130px; gap: 6px; }
  .g-item { border-radius: 8px; }
  .lightbox-caption { font-size: 0.82rem; padding: 0 0.5rem; }
  .lightbox-strip { display: none; }
  .lightbox.has-strip .lightbox-figure { margin-bottom: 0; }
  .lightbox.has-strip .lightbox-figure img { max-height: 82vh; }
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (min-width: 1101px) {
  .feat-wide .feat-media, .feat-wide-lg .feat-media { aspect-ratio: auto; flex: 1 1 0; position: relative; min-height: 0; }
  .feat-wide .feat-media a, .feat-wide-lg .feat-media a { position: absolute; inset: 0; }
}
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-wide-lg { grid-column: span 1; }
  .feat-wide-lg .feat-media { aspect-ratio: 4/3; }
  .feat-full .feat-media { aspect-ratio: 2/1; }
  .feat-full .feat-media.n4 { aspect-ratio: 8/3; }
  .tick-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .page-hero .hero-split { grid-template-columns: 1fr; }
  .page-hero .hero-split img:first-child,
  .page-hero .hero-split .hero-focus:first-child { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-wide, .feat-wide-lg, .feat-full { grid-column: span 1; }
  .feat-wide .feat-media, .feat-wide-lg .feat-media { aspect-ratio: 4/3; }
  .feat-full .feat-media { aspect-ratio: 4/3; }
  .feat-full .feat-media.n4 { aspect-ratio: 1/1; }
  .feat-media.is-multi.n4 { grid-template-columns: repeat(2, 1fr); }
  .tick-list { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .mosaic a:nth-child(1), .mosaic a:nth-child(6) { grid-column: span 2; }
  .photo-band { grid-template-columns: repeat(2, 1fr); }
  .photo-band a:nth-child(5) { grid-column: span 2; aspect-ratio: 16/10; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; top: auto; bottom: 18px; transform: none; }
}
.hero .hero-scrim {
  background:
    linear-gradient(180deg, rgba(20, 26, 22, 0.4) 0%, rgba(20, 26, 22, 0.1) 18%, rgba(20, 26, 22, 0) 32%),
    linear-gradient(12deg, rgba(20, 26, 22, 0.66) 0%, rgba(20, 26, 22, 0.2) 42%, rgba(20, 26, 22, 0) 66%);
}
.hero .eyebrow, .hero .lede, .page-hero .eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
/* Wide screens put the headline over the bright sunset horizon: darken behind the copy only. */
@media (min-width: 900px) {
  .hero .hero-scrim {
    background:
      radial-gradient(ellipse 58% 62% at 16% 70%, rgba(20, 26, 22, 0.5) 0%, rgba(20, 26, 22, 0.24) 48%, rgba(20, 26, 22, 0) 78%),
      linear-gradient(180deg, rgba(20, 26, 22, 0.4) 0%, rgba(20, 26, 22, 0.1) 18%, rgba(20, 26, 22, 0) 32%),
      linear-gradient(12deg, rgba(20, 26, 22, 0.66) 0%, rgba(20, 26, 22, 0.2) 42%, rgba(20, 26, 22, 0) 66%);
  }
}
.hero .eyebrow {
  padding: 0.42rem 0.85rem 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 26, 22, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fbe9dc;
}
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42), 0 1px 3px rgba(0, 0, 0, 0.25); }
.hero-rail div strong span, .avail-stats strong span { font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }

/* Spaces page */
.spaces-hero { min-height: 82vh; }
.spaces-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 5vw, 4.2rem); }

.sp-split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: center; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.sp-lead { position: relative; display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 3/2; background: var(--sand-2); }
.sp-lead.is-portrait { aspect-ratio: 4/4.4; }
.sp-lead img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.sp-lead:hover img { transform: scale(1.03); }
.sp-info .lede { margin: 0 0 1.4rem; }
.sp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sp-list li { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.72rem 0; border-bottom: 1px solid var(--line); font-weight: 650; color: var(--ink); }
.sp-list li span { flex: none; width: 1.6rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ember); }
.sp-also { margin: 1.2rem 0 0; color: var(--ink-2); }
.sp-also strong { display: block; margin-bottom: 0.2rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }

.sp-tag {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
  padding: 0.38rem 0.7rem; border-radius: 999px; background: rgba(18, 24, 20, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: 0.76rem; font-weight: 650; line-height: 1.25;
}
.sp-lead .sp-tag { left: 16px; bottom: 16px; font-size: 0.84rem; padding: 0.5rem 0.9rem; }
.sp-rows { --row-h: 280px; }
.sp-tile::after { display: none; }

.sp-dark .gal-chapter-n { -webkit-text-stroke-color: #f0d9c8; }
.sp-dark .eyebrow { color: #f0d9c8; }
.sp-dark .sp-list { border-color: rgba(255,255,255,0.18); }
.sp-dark .sp-list li { color: #fff; border-color: rgba(255,255,255,0.18); }
.sp-dark .sp-list li span { color: #f0d9c8; }
.sp-dark .lede { color: rgba(255,255,255,0.85); }
.sp-amenities { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: clamp(1.4rem, 3vw, 2rem) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem 2rem; }
.sp-amenities li { position: relative; padding-left: 1.6rem; color: var(--ink); font-weight: 600; }
.sp-amenities li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 9px; height: 5px; border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg); }
.sp-dark .sp-amenities { border-top-color: rgba(255,255,255,0.18); }
.sp-dark .sp-amenities li { color: rgba(255,255,255,0.9); }
.sp-dark .sp-amenities li::before { border-color: #f0d9c8; }

@media (max-width: 1100px) {
  .sp-rows { --row-h: 220px; }
}
@media (max-width: 980px) {
  .sp-split { grid-template-columns: 1fr; }
  .sp-lead.is-portrait { aspect-ratio: 4/3; }
  .sp-amenities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .sp-lead { border-radius: 12px; }
  .sp-rows { --row-h: 130px; }
  .sp-tag { left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 0.28rem 0.5rem; font-size: 0.66rem; }
  .sp-amenities { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .sp-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .sp-info .lede, .sp-also, .sp-info .feat-note { grid-column: 1 / -1; }
  .sp-list { grid-column: 1 / -1; columns: 2; column-gap: 2rem; border-top: 0; }
  .sp-list li { break-inside: avoid; }
}
.sp-rows::after { display: none; }
.sp-split.no-lead { grid-template-columns: minmax(0, 1fr); }
.sp-split.no-lead .sp-info { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0 clamp(2rem, 5vw, 5rem); align-items: start; }
.sp-split.no-lead .sp-list { columns: 2; column-gap: 2rem; border-top: 0; }
.sp-split.no-lead .sp-list li { break-inside: avoid; }
.sp-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sp-quad .sp-tile { aspect-ratio: 4/5; max-height: none; }
@media (max-width: 980px) {
  .sp-split.no-lead .sp-info { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sp-quad { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .sp-split.no-lead .sp-list { columns: 1; }
  .sp-split.no-lead .sp-list { border-top: 1px solid var(--line); }
  .sp-dark .sp-split.no-lead .sp-list { border-top: 1px solid rgba(255,255,255,0.18); }
}

/* Spaces flow: row breaks are planned per breakpoint in spaces.php (--rd / --rt / --rm, .sp-br-*),
   so every row in a zone shares one height and no tile is left stretched on its own. */
.g-rows.sp-rows { --gap: 10px; column-gap: var(--gap); row-gap: 0; margin-bottom: calc(-1 * var(--gap)); }
.sp-rows .sp-tile { --rr: var(--rd, var(--r)); flex: var(--rr) 1 0%; min-width: 0; aspect-ratio: var(--rr); max-height: none; margin-bottom: var(--gap); }
.sp-br { display: none; flex: 0 0 100%; height: 0; }
.sp-br-d { display: block; }
.sp-rows .sp-tile { container-type: inline-size; }
@container (max-width: 120px) { .sp-rows .sp-tag { display: none; } }
.sp-zone > .wrap, .sp-nav .gal-nav-inner { width: min(1480px, calc(100% - 32px)); }
.sp-cta { padding-top: clamp(3.4rem, 7vw, 5.5rem); padding-bottom: clamp(3.4rem, 7vw, 5.5rem); }
@media (min-width: 761px) and (max-width: 980px) {
  .sp-rows .sp-tile { --rr: var(--rt, var(--r)); }
  .sp-br-d { display: none; }
  .sp-br-t { display: block; }
}
@media (max-width: 760px) {
  .g-rows.sp-rows { --gap: 3px; }
  .sp-rows .sp-tile { --rr: var(--rm, var(--r)); }
  .sp-br-d, .sp-br-t { display: none; }
  .sp-br-m { display: block; }
  .sp-zone > .wrap, .sp-nav .gal-nav-inner { width: calc(100% - 48px); }
  .sp-nav .gal-nav-inner { gap: 0.6rem; }
  .sp-nav .gal-nav-links { gap: 0.6rem; }
  .sp-nav .gal-nav-links a span, .sp-nav .gal-play span { display: none; }
  .sp-cta { padding-bottom: 0; }
}

/* Experiences page (story layout) */
.exp-hero { min-height: 82vh; }
.exp-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.exp-open-title { max-width: 20ch; margin-bottom: 1rem; }
.exp-open-sub { max-width: 46ch; margin: 0 auto 1.8rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.exp-chips { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 820px; }
.exp-chips li { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.86rem; font-weight: 650; color: var(--ink-2); }
.exp-overview .section-head { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.exp-card { aspect-ratio: 3/4.6; }
.exp-card-n { position: absolute; top: clamp(0.9rem, 1.8vw, 1.4rem); left: clamp(1rem, 2vw, 1.6rem); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 750; line-height: 1; letter-spacing: -0.05em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.exp-card::after { background: linear-gradient(180deg, rgba(18,24,20,0.38) 0%, rgba(18,24,20,0) 26%, rgba(18,24,20,0) 45%, rgba(18,24,20,0.72) 100%); }
.exp-card .story-moment-copy .exp-card-name { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; }
.exp-card .story-moment-copy span:last-child { font-size: 0.9rem; font-weight: 500; opacity: 0.9; }
.exp-format-title { margin-bottom: 0.9rem; }
.exp-format .story-facts { grid-template-columns: repeat(2, minmax(0, 12rem)); }
.exp-format-cta { margin: 1.8rem 0 0; }
.exp-how-row { grid-template-columns: repeat(4, 1fr); }
.exp-how-cta { margin: clamp(2.2rem, 5vw, 3.4rem) 0 0; }
.exp-how .story-founder h3 { font-size: 1.2rem; }
@media (max-width: 980px) {
  .exp-how-row { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 0; }
  .exp-how-row .story-founder:nth-child(3) { padding-left: 0; border-left: 0; }
  .exp-card .story-moment-copy span:last-child { display: none; }
  .exp-card { aspect-ratio: 4/5; }
}
@media (max-width: 760px) {
  .exp-hero { min-height: 74vh; }
  .exp-how-row { grid-template-columns: 1fr; gap: 2rem; }
  .exp-how-row .story-founder { padding: 1.6rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.16); }
  .exp-card-n { font-size: 1.8rem; }
  .exp-chips li { font-size: 0.78rem; padding: 0.42rem 0.8rem; }
}

/* Home page (story layout) */
.home-chips { justify-content: flex-start; margin: 1.4rem 0 0; }
.home-chips li { background: transparent; }
.home-format { display: block; color: inherit; text-decoration: none; transition: transform 0.3s ease; }
.home-format:hover { transform: translateY(-3px); }
.home-format:hover h3 { color: #f0d9c8; }
.home-format-meta { display: inline-block; margin-top: 1rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #f0d9c8; }
.home-quote-btn { margin-top: 0.6rem; }
.exp-formats-intro { text-align: center; max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.exp-formats-intro .eyebrow { justify-content: center; }
.exp-formats-intro .lede { margin: 0 auto; }
.exp-flow { background: #fff; border-radius: 22px; padding: clamp(1.2rem, 2.6vw, 2.4rem); box-shadow: 0 30px 60px -44px rgba(35, 40, 31, 0.35); display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.exp-flow-row { display: grid; grid-template-columns: minmax(150px, 0.9fr) 5fr; gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.exp-flow-row + .exp-flow-row { padding-top: clamp(1rem, 2vw, 1.6rem); border-top: 1px solid var(--line); }
.exp-flow-label { margin: 0; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--green-deep); }
.exp-flow-imgs { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.5rem, 1vw, 0.9rem); }
.exp-flow-imgs a { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 3/2; background: #fff; }
.exp-flow-imgs img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.exp-flow-imgs a:hover img { transform: scale(1.05); }
.exp-formats-sub { margin-top: clamp(3rem, 6vw, 4.5rem); margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem); }
.exp-formats-sub h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); }
@media (max-width: 900px) {
  .exp-flow-row { grid-template-columns: 1fr; gap: 0.8rem; }
}
@media (max-width: 760px) {
  .exp-flow { border-radius: 16px; }
  .exp-flow-imgs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * clamp(1.2rem, 2.6vw, 2.4rem)); padding-inline: clamp(1.2rem, 2.6vw, 2.4rem); }
  .exp-flow-imgs::-webkit-scrollbar { display: none; }
  .exp-flow-imgs a { flex: 0 0 62%; scroll-snap-align: start; }
}
.home-who { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.home-who > p { margin-bottom: 0.9rem; font-weight: 600; color: var(--ink); }
.home-who-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.4rem; }
.home-who-list li:last-child { grid-column: 1 / -1; margin-top: 0.3rem; color: var(--ember); font-weight: 700; }
@media (max-width: 560px) { .home-who-list { grid-template-columns: 1fr; } }
.home-formats-row { grid-template-columns: repeat(5, 1fr); }
.home-formats-row .story-founder { padding-inline: clamp(1rem, 1.8vw, 1.8rem); }
.home-formats-row .story-founder:first-child { padding-left: 0; }
@media (max-width: 1100px) {
  .home-formats-row { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 0; }
  .home-formats-row .story-founder:first-child { grid-column: 1 / -1; }
  .home-formats-row .story-founder:first-child p { max-width: 52ch; }
  .home-formats-row .story-founder:nth-child(2n) { padding-left: 0; border-left: 0; }
  .home-formats-row .story-founder:nth-child(2n+3) { padding-left: clamp(1.2rem, 3vw, 2.6rem); border-left: 1px solid rgba(255,255,255,0.16); }
}
@media (max-width: 760px) {
  .home-formats-row { grid-template-columns: 1fr; gap: 2rem; }
  .home-formats-row .story-founder, .home-formats-row .story-founder:nth-child(n) { padding: 1.6rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.16); }
}
.home-rows { --row-h: 260px; }
.home-rows::after { display: none; }
@media (max-width: 980px) { .home-rows { --row-h: 200px; } }
@media (max-width: 760px) { .home-rows { --row-h: 120px; } }

/* Phone: photography runs edge to edge; text keeps its 24px gutter. */
@media (max-width: 760px) {
  .wrap-wide { width: 100%; }
  .story-moments, .gal-index, .g-rows, .sp-quad { gap: 3px; }
  .story-moment, .gal-index-tile, .g-item, .gal-lead, .sp-lead, .sp-tile { border-radius: 0; }
  .gal-lead { margin-bottom: 3px; aspect-ratio: 4/3; }
  .sp-split { gap: 1.6rem; }
  .sp-info { padding: 0 24px; }
  .frame, .story-testimonial-media { margin-inline: -24px; border-radius: 0; box-shadow: none; }
  .story-trio { margin-inline: -24px; gap: 3px; }
  .story-trio a { border-radius: 0; }
  .avail-band { margin-inline: -24px; border-radius: 0; padding: 2.6rem 24px; }
  .section-tight:has(.avail-band) { padding-bottom: 0; }
  .story-moment-copy { padding: 0.9rem 1rem; }
  .reveal { transform: translateY(14px); transition-duration: .55s; }
}
@media (max-width: 760px) {
  .hero-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; flex-wrap: nowrap; }
  .hero-rail div strong { font-size: 1.5rem; }
  .hero-rail div > span { display: block; margin-top: 0.2rem; font-size: 0.6rem; letter-spacing: 0.1em; line-height: 1.4; }
}

/* Shared CTA / quote band treatments (replaces per-page inline styles) */
.form-card .form-title { font-size: clamp(1.08rem, 1.5vw, 1.3rem); letter-spacing: -0.015em; }
.avail-band .eyebrow { color: #f0d9c8; }
.avail-band .btn-ghost, .story-quote-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.avail-band .btn-ghost:hover, .story-quote-band .btn-ghost:hover { background: #fff; color: var(--green-deep); border-color: #fff; }

a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.band-green a:focus-visible, .avail-band a:focus-visible, .story-quote-band a:focus-visible, .lightbox button:focus-visible { outline-color: #fff; }
.lightbox-strip button:focus-visible { outline: 2px solid #fff; }

@media (max-width: 560px) { .exp-hero { min-height: 66vh; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.no-js .reveal { opacity: 1; transform: none; }

/* Footer */
.footer-cta { display: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer-contact svg { width: 15px; height: 15px; flex: 0 0 auto; fill: currentColor; opacity: 0.6; }
.footer-via-body img { opacity: 0.8; margin-bottom: 0.8rem; height: auto; filter: brightness(0) invert(1); }
.footer-via-body p { font-size: 0.88rem; margin: 0; }
@media (max-width: 760px) {
  .site-footer {
    padding-top: 3rem;
    background:
      radial-gradient(30rem 20rem at 115% -5%, rgba(63, 115, 99, 0.45), transparent 62%),
      var(--green-deep);
  }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 0.4rem; }
  .footer-brand { padding-bottom: 2.2rem; }
  .footer-brand img { width: 150px; height: auto; }
  .footer-brand p { max-width: 34ch; font-size: 0.95rem; line-height: 1.55; }
  .footer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.5rem; }
  .footer-cta .btn { width: 100%; justify-content: center; min-height: 50px; }
  .footer-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }

  .footer-col { padding: 0 0 1.9rem; border-top: 0; }
  .site-footer h3 { margin-bottom: 0.8rem; color: rgba(255,255,255,0.62); }

  .footer-explore .footer-list { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .footer-explore .footer-list a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 54px; padding: 0 1rem; border-radius: 14px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem; font-weight: 650; color: #fff; text-decoration: none;
  }
  .footer-explore .footer-list a::after { content: "\2192"; color: rgba(255,255,255,0.45); font-weight: 500; }
  .footer-explore .footer-list a:active { background: rgba(255,255,255,0.12); }

  .footer-contact-enquire { display: none; }
  .footer-contact {
    gap: 0; border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  }
  .footer-contact li + li { border-top: 1px solid rgba(255,255,255,0.08); }
  .footer-contact a {
    display: flex; align-items: center; gap: 0.85rem;
    min-height: 58px; padding: 0 1rem;
    font-size: 0.98rem; font-weight: 600; color: #fff; text-decoration: none;
    overflow-wrap: anywhere;
  }
  .footer-contact a::after { content: "\203A"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: rgba(255,255,255,0.4); }
  .footer-contact a:active { background: rgba(255,255,255,0.08); }
  .footer-contact svg {
    width: 34px; height: 34px; padding: 9px; border-radius: 50%;
    background: rgba(240, 217, 200, 0.12); fill: #f0d9c8; opacity: 1;
  }

  .footer-via { padding-bottom: 2.2rem; }
  .footer-via-body { display: flex; align-items: center; gap: 1rem; }
  .footer-via-body img { width: 96px; margin: 0; opacity: 0.75; }
  .footer-via-body p { font-size: 0.82rem; line-height: 1.5; color: rgba(255,255,255,0.6); }

  .footer-bar-inner {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.3rem 1rem;
    padding: 1.1rem 0 calc(1.1rem + env(safe-area-inset-bottom));
    font-size: 0.76rem; text-align: left;
  }
  .footer-bar-inner > span:first-child { grid-column: 1 / -1; color: rgba(255,255,255,0.55); }
  .footer-bar-inner > a { min-height: 36px; display: inline-flex; align-items: center; justify-self: end; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1.4fr 1fr; gap: 2rem 1.6rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Admin analytics */
.an-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin: 0.4rem 0 0.9rem; }
.an-head h2 { margin: 0; font-size: 1.55rem; }
.an-head p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.9rem; }
.an-live { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }
.an-live i { width: 9px; height: 9px; border-radius: 50%; background: #b9b5aa; }
.an-live.is-on i { background: #2fa36b; box-shadow: 0 0 0 0 rgba(47, 163, 107, 0.5); animation: an-pulse 2s infinite; }
@keyframes an-pulse { 70% { box-shadow: 0 0 0 8px rgba(47, 163, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 163, 107, 0); } }
.an-ranges { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin-bottom: 1rem; }
.an-ranges > a { padding: 0.42rem 0.8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.an-ranges > a:hover { border-color: var(--green-2); }
.an-ranges > a.is-on { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.an-custom { display: inline-flex; gap: 0.35rem; align-items: center; margin-left: auto; }
.an-custom input[type=date] { padding: 0.36rem 0.5rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.86rem; background: #fff; }
.an-custom .btn { min-height: 34px; padding: 0.3rem 0.8rem; }
.an-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 1rem; }
.an-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; display: grid; gap: 0.2rem; cursor: help; }
.an-kpi span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.an-kpi strong { font-size: 1.7rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.an-delta { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.an-delta.is-good { color: #2f7d57; }
.an-delta.is-bad { color: #b4472a; }
.an-delta.is-new { color: var(--green); }
.an-card { margin-bottom: 1rem; min-width: 0; }
.an-card > header { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem 1rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
.an-card > header h3 { margin: 0; font-size: 1.05rem; }
.an-card > header p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.an-empty { margin: 0; padding: 1.2rem 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
.an-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.an-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.an-grid2 > .an-card, .an-grid3 > .an-card { margin-bottom: 1rem; }
.an-chart { width: 100%; height: 260px; display: block; }
.an-chart .an-grid { stroke: #ece6d8; stroke-width: 1; }
.an-chart .an-axis { fill: #8a8e82; font-size: 11px; }
.an-chart .an-bar { fill: #e7dccb; }
.an-chart .an-bar:hover { fill: #d9c6aa; }
.an-chart .an-area { fill: rgba(47, 93, 80, 0.1); }
.an-chart .an-line { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.an-chart .an-dot { fill: #fff; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.an-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin: 0 0.3rem 0 0.7rem; }
.an-key-line { background: var(--green); height: 3px; vertical-align: 3px; }
.an-key-bar { background: #e7dccb; }
.an-table-wrap { overflow-x: auto; }
.an-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.an-table th { text-align: right; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.an-table td { text-align: right; padding: 0.42rem 0.5rem; border-bottom: 1px solid #f1ece1; white-space: nowrap; }
.an-table th:first-child, .an-table td:first-child { text-align: left; white-space: normal; width: 46%; }
.an-table small { color: var(--muted); font-size: 0.75rem; }
.an-table tr.is-key td { font-weight: 700; color: var(--green-deep); }
.an-bar-cell { position: relative; display: block; padding: 0.2rem 0.45rem; border-radius: 6px; overflow: hidden; word-break: break-word; }
.an-bar-cell::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--green-soft); border-radius: 6px; }
.an-bar-cell span { position: relative; }
.an-more summary { cursor: pointer; color: var(--green); font-size: 0.85rem; font-weight: 600; padding: 0.55rem 0 0.2rem; }
.an-heat-wrap { overflow-x: auto; }
.an-heat { border-collapse: separate; border-spacing: 3px; width: 100%; min-width: 620px; table-layout: fixed; }
.an-heat th:first-child { width: 38px; }
.an-heat thead th { overflow: visible; font-weight: 600; }
.an-heat th { font-size: 0.7rem; color: var(--muted); font-weight: 600; text-align: left; white-space: nowrap; }
.an-heat td { height: 22px; border-radius: 4px; background: rgba(47, 93, 80, calc(0.06 + var(--a) * 0.88)); }
.an-recent th, .an-recent td { vertical-align: top; text-align: left; }
.an-recent td:first-child { width: auto; white-space: nowrap; }
.an-journey { text-align: left !important; white-space: normal !important; min-width: 260px; }
.an-journey span { display: inline-block; padding: 0.05rem 0.4rem; margin: 0.1rem 0; border-radius: 6px; background: var(--sand); font-size: 0.82rem; }
.an-journey i { font-style: normal; color: var(--muted); margin: 0 0.2rem; }
.an-badge { display: inline-block; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--ember); color: #fff; font-size: 0.72rem; }
.an-help summary { cursor: pointer; font-weight: 700; }
.an-help ul { margin: 0.8rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: 0.9rem; line-height: 1.55; }
.an-help li { margin-bottom: 0.4rem; }
@media (max-width: 980px) {
  .an-kpis { grid-template-columns: repeat(2, 1fr); }
  .an-grid2, .an-grid3 { grid-template-columns: 1fr; gap: 0; }
  .an-custom { margin-left: 0; }
}
@media (max-width: 560px) {
  .an-kpi strong { font-size: 1.35rem; }
  .an-chart { height: 200px; }
  .an-ranges > a { padding: 0.38rem 0.65rem; font-size: 0.82rem; }
  .an-custom { width: 100%; }
  .an-custom input[type=date] { flex: 1; min-width: 0; }
  .an-table th:first-child, .an-table td:first-child { width: auto; min-width: 140px; }
}

/* ---------- Legal pages (privacy, terms) ---------- */
.footer-legal { display: inline-flex; gap: 1rem; margin-left: 1rem; }
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form-legal { margin: 0.9rem 0 0; font-size: 0.8rem; line-height: 1.55; color: var(--mute); text-align: center; }
.form-legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

.legal-hero { padding: clamp(7.5rem, 12vw, 9.5rem) 0 clamp(2rem, 4vw, 3rem); background: var(--sand-2); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 0.2rem 0 0.6rem; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; }
.legal-meta { margin: 0; color: var(--mute); font-size: 0.9rem; }
.legal-body { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 0.5rem; }
.legal-toc-title { margin: 0 0 0.7rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc li a { display: block; padding: 0.32rem 0 0.32rem 0.95rem; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.88rem; line-height: 1.35; color: var(--ink-2); }
.legal-toc li a:hover { color: var(--green); border-left-color: var(--green); }
.legal-toc li.legal-toc-part a { margin-top: 0.7rem; font-weight: 700; color: var(--ink); }
.legal-toc li.legal-toc-part:first-child a { margin-top: 0; }
.legal-doc { max-width: 74ch; color: var(--ink-2); }
.legal-doc .lede { font-size: 1.18rem; line-height: 1.6; color: var(--ink); margin-top: 0; }
.legal-intro { padding-bottom: 1.6rem; margin-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.legal-doc section { padding-top: 1.6rem; scroll-margin-top: 96px; }
.legal-doc h2 { margin: 0 0 0.7rem; font-size: 1.32rem; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
.legal-doc h2.legal-part { margin: 2.6rem 0 0.4rem; padding: 0.9rem 1.1rem; background: var(--green-soft); border-radius: 12px; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--green-deep); scroll-margin-top: 96px; }
.legal-doc h2.legal-part:first-of-type { margin-top: 1.6rem; }
.legal-part-note { font-size: 0.96rem; padding: 0.4rem 0 0; }
.legal-doc h3 { margin: 1.3rem 0 0.4rem; font-size: 1rem; color: var(--ink); }
.legal-doc p, .legal-doc li { font-size: 1rem; line-height: 1.72; }
.legal-doc ul, .legal-doc ol { margin: 0.4rem 0 1rem; padding-left: 1.3rem; }
.legal-doc li { margin: 0.3rem 0; padding-left: 0.2rem; }
.legal-doc li::marker { color: var(--green); }
.legal-doc a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc strong { color: var(--ink); }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal-table th, .legal-table td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; }
.legal-table th { background: var(--sand); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
.legal-contact { margin-top: 2.8rem; padding: 1.5rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.legal-contact h2 { font-size: 1.15rem; }
.legal-contact p { margin: 0 0 0.4rem; }
.legal-contact ul { list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
  .legal-toc ol { columns: 2; column-gap: 1.5rem; border-left: 0; }
  .legal-toc li { break-inside: avoid; }
  .legal-toc li a { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .legal-toc ol { columns: 1; }
  .legal-table td:first-child { white-space: normal; }
  .footer-legal { display: flex; margin: 0.35rem 0 0; }
}

/* ---------- Admin security ---------- */
.an-tabs { display: flex; gap: 0.3rem; margin: 0.4rem 0 0.2rem; border-bottom: 1px solid var(--line); }
.an-tabs a { padding: 0.7rem 1.1rem; font-weight: 600; font-size: 0.92rem; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.an-tabs a:hover { color: var(--ink); }
.an-tabs a.is-on { color: var(--green); border-bottom-color: var(--green); }
.sec-level { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.85rem; background: var(--green-soft); color: var(--green-deep); white-space: nowrap; }
.sec-level i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.sec-level.is-elevated { background: #fbf0d9; color: #8a6414; }
.sec-level.is-high { background: #f9e1d6; color: #9b3d1a; }
.sec-level.is-high i { animation: sec-pulse 1.4s infinite; }
@keyframes sec-pulse { 50% { opacity: 0.3; } }
.sec-level-text { margin: 0 0 1rem; font-size: 0.9rem; color: var(--mute); }
.sec-level-text.is-high { color: #9b3d1a; font-weight: 600; }
.sec-notice { margin: 0 0 1rem; padding: 0.75rem 1rem; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); font-size: 0.9rem; }
.sec-kpi-warn strong { color: #8a6414; }
.sec-kpi-danger strong { color: #b4441c; }
.sec-bar-ok { fill: var(--green-2); }
.sec-bar-fail { fill: #d9a43c; }
.sec-bar-blocked { fill: #c0683f; }
.sec-bar-probe { fill: #7b2e1a; }
.sec-key-ok { background: var(--green-2); }
.sec-key-fail { background: #d9a43c; }
.sec-key-blocked { background: #c0683f; }
.sec-key-probe { background: #7b2e1a; }
.sec-table td, .sec-table th { text-align: left; white-space: nowrap; }
.sec-table td.sec-users { white-space: normal; max-width: 280px; word-break: break-word; font-size: 0.86rem; }
.sec-table code { font-size: 0.84rem; background: var(--sand); padding: 0.1rem 0.35rem; border-radius: 5px; }
.sec-table a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.sec-row-alert td { background: #fbe7de; }
.sec-pill { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; background: var(--sand-2); color: var(--ink-2); white-space: nowrap; }
.sec-pill.is-ok { background: var(--green-soft); color: var(--green-deep); }
.sec-pill.is-warn { background: #fbf0d9; color: #8a6414; }
.sec-pill.is-danger { background: #f9e1d6; color: #9b3d1a; }
.sec-pill.is-info { background: #e3ecf5; color: #2e5175; }
.sec-inline { display: inline; margin: 0; }
.sec-btn { padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.sec-btn:hover { border-color: var(--ink-2); }
.sec-btn.is-danger { border-color: #e2b29c; color: #9b3d1a; }
.sec-btn.is-danger:hover { background: #9b3d1a; border-color: #9b3d1a; color: #fff; }
.sec-you { font-size: 0.76rem; color: var(--mute); }
.sec-addblock { display: flex; gap: 0.5rem; margin-top: 0.9rem; flex-wrap: wrap; }
.sec-addblock input { flex: 1 1 200px; padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.sec-filters { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0 0 0.8rem; }
.sec-filters button { padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.8rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.sec-filters button.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.sec-top { display: grid; gap: 0.5rem; margin: 0.6rem 0 0.4rem; }
.sec-banner { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 1rem; border-radius: 14px; border: 1px solid #ecc9b2; background: #fdf1e8; color: #7d3517; }
.sec-banner.is-high { border-color: #e2a184; background: #fbe2d5; }
.sec-banner svg { width: 26px; height: 26px; flex: none; }
.sec-banner p { margin: 0; flex: 1; font-size: 0.92rem; line-height: 1.45; }
.sec-banner .btn { flex: none; min-height: 38px; font-size: 0.82rem; }
.sec-lastlogin { margin: 0; font-size: 0.84rem; color: var(--mute); }
.sec-lastlogin.is-warn { padding: 0.6rem 0.9rem; border-radius: 10px; background: #fbf0d9; color: #6e4f0f; }
.sec-lastlogin a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .sec-banner { flex-wrap: wrap; }
  .sec-banner .btn { width: 100%; }
}
.sec-table td.sec-users { min-width: 220px; }

/* ---------- Admin users (team and access) ---------- */
.ut-board { display: grid; gap: 1rem; }
.ut-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
  padding: 1.3rem 1.35rem; border: 1px solid #ead9c8; border-radius: 18px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(192, 104, 63, 0.22), transparent 58%), linear-gradient(165deg, #f8f1e6 0%, #fff 62%);
}
.ut-head h3 { margin: 0; font-size: clamp(1.45rem, 2.1vw, 1.95rem); letter-spacing: -0.03em; line-height: 1.1; }
.ut-head p:last-child { margin: 0.4rem 0 0; color: var(--ink-2); font-size: 0.92rem; }
.ut-head-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ut-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; }
.ut-kpi { padding: 0.85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 0.2rem; }
.ut-kpi span { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ut-kpi strong { font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.02em; }
.ut-kpi small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.ut-kpi.is-warn strong { color: #8a6414; }
.ut-kpi.is-danger { border-color: #ecc9b2; background: #fdf6f1; }
.ut-kpi.is-danger strong { color: #b4441c; }
.ut-tip { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.85rem 1rem; border-radius: 14px; background: #eef3ef; border: 1px solid #d5e3da; color: var(--green-deep); }
.ut-tip svg { width: 22px; height: 22px; flex: none; margin-top: 0.1rem; }
.ut-tip p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.ut-card { padding: 1.1rem 1.15rem; }
.ut-toolbar { display: flex; gap: 0.75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 0.8rem; }
.ut-search { position: relative; flex: 1 1 240px; max-width: 360px; }
.ut-search svg { position: absolute; left: 0.75rem; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); }
.ut-search input { width: 100%; padding: 0.6rem 0.8rem 0.6rem 2.3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--sand); }
.ut-search input:focus { outline: 2px solid var(--green-soft); border-color: var(--green-2); background: #fff; }
.ut-filters { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.ut-filters button { padding: 0.38rem 0.8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.8rem; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.ut-filters button.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.ut-table-wrap { overflow-x: auto; }
.ut-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.ut-table th { text-align: left; padding: 0.55rem 0.7rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.ut-table td { padding: 0.85rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.9rem; }
.ut-table tr:last-child td { border-bottom: 0; }
.ut-row:hover td { background: #fcfaf6; }
.ut-row.is-off td { opacity: 0.62; }
.ut-row.is-off td.ut-actions { opacity: 1; }
.ut-num { text-align: right !important; white-space: nowrap; }
.ut-person { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.ut-person .user-ava { flex: none; }
.ut-id { display: grid; gap: 0.1rem; min-width: 0; }
.ut-id strong { font-size: 0.98rem; }
.ut-id span { font-size: 0.8rem; color: var(--muted); overflow-wrap: anywhere; }
.ut-you { font-style: normal; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.1rem 0.4rem; border-radius: 999px; background: var(--green); color: #fff; vertical-align: 2px; }
.ut-missing { color: #b4441c; font-weight: 700; }
.ut-issues { list-style: none; margin: 0.55rem 0 0 calc(38px + 0.7rem); padding: 0; display: grid; gap: 0.25rem; }
.ut-issues li { position: relative; padding-left: 1rem; font-size: 0.78rem; line-height: 1.4; color: var(--ink-2); }
.ut-issues li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.ut-issues li.is-danger { color: #9b3d1a; }
.ut-issues li.is-danger::before { background: #c0683f; }
.ut-issues li.is-warn::before { background: #d9a43c; }
.ut-issues li.is-info { color: var(--muted); }
.ut-status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.ut-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ut-status.is-on { color: var(--green-2); }
.ut-status.is-warn { color: #b4441c; }
.ut-status.is-off { color: var(--muted); }
.ut-last { white-space: nowrap; }
.ut-last strong { display: block; font-size: 0.9rem; }
.ut-last span { display: block; font-size: 0.76rem; color: var(--muted); }
.ut-never { color: #8a6414; }
.ut-fails { display: block; font-size: 0.72rem; font-weight: 700; color: #b4441c; }
.ut-actions { white-space: nowrap; text-align: right; }
.ut-btn { padding: 0.38rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.ut-btn:hover { border-color: var(--green-2); color: var(--green); }
.ut-more { display: inline-block; position: relative; vertical-align: middle; }
.ut-more > summary { list-style: none; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.ut-more > summary::-webkit-details-marker { display: none; }
.ut-more > summary:hover, .ut-more[open] > summary { background: var(--sand-2); }
.ut-more > summary svg { width: 18px; height: 18px; fill: currentColor; }
.ut-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 240px; padding: 0.35rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(35, 40, 31, 0.14); text-align: left; white-space: normal; }
.ut-menu form { margin: 0; }
.ut-menu button { display: block; width: 100%; padding: 0.55rem 0.7rem; border: 0; background: none; border-radius: 8px; text-align: left; font-size: 0.86rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.ut-menu button:hover { background: var(--sand); }
.ut-menu button.is-danger { color: #9b3d1a; }
.ut-menu button.is-danger:hover { background: #fbe7de; }
.ut-menu p { margin: 0; padding: 0.55rem 0.7rem; font-size: 0.8rem; color: var(--muted); }
.ut-empty { margin: 0.6rem 0 0; color: var(--muted); text-align: center; }
.ut-sec-head { margin-bottom: 0.8rem; }
.ut-sec-head h3 { margin: 0 0 0.2rem; font-size: 1.12rem; }
.ut-sec-head p { margin: 0; font-size: 0.86rem; color: var(--muted); }
.ut-sec-head a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.ut-perms { width: 100%; border-collapse: collapse; min-width: 640px; }
.ut-perms th { padding: 0.6rem; text-align: center; vertical-align: bottom; border-bottom: 1px solid var(--line); }
.ut-perms th:first-child { text-align: left; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ut-perms th small { display: block; margin-top: 0.35rem; font-size: 0.72rem; font-weight: 500; line-height: 1.35; color: var(--muted); max-width: 17ch; margin-inline: auto; }
.ut-perms td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.ut-perms tr:last-child td { border-bottom: 0; }
.ut-perms tbody tr:nth-child(even) td { background: #fcfaf6; }
.ut-perm { text-align: center; }
.ut-yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); font-size: 0.8rem; font-weight: 800; }
.ut-part { font-size: 0.72rem; font-weight: 700; color: #6a5330; background: #f3eee4; padding: 0.1rem 0.45rem; border-radius: 999px; }
.ut-no { color: #c5c0b4; }
.ut-act-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.ut-act-head select { padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 0.86rem; }
.ut-act { list-style: none; margin: 0; padding: 0; }
.ut-act li { display: grid; grid-template-columns: 165px 150px 1fr; gap: 0.8rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.ut-act li:last-child { border-bottom: 0; }
.ut-act time { color: var(--muted); font-weight: 600; }
.ut-act-who { font-weight: 700; }
.ut-act-who em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 0.76rem; }
.ut-act li.is-fail .ut-act-what { color: #9b3d1a; }
.ut-act-more { margin-top: 0.7rem; }
.ut-dlg { max-width: 760px; }
.ut-dlg .dlg-head { align-items: flex-start; }
.ut-dlg .user-edit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ut-form-h { grid-column: 1 / -1; margin: 0.6rem 0 -0.2rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember-2); }
.ut-note { margin: -0.2rem 0 0; font-size: 0.8rem; color: var(--muted); }
.ut-dlg-foot { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
@media (max-width: 980px) {
  .ut-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ut-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ut-table { min-width: 0; }
  .ut-table thead { display: none; }
  .ut-table, .ut-table tbody, .ut-table tr, .ut-table td { display: block; width: 100%; }
  .ut-table tr { padding: 0.9rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 0.6rem; }
  .ut-table tr:last-child { border-bottom: 0; }
  .ut-table td { padding: 0; border: 0; }
  .ut-table td:first-child { grid-column: 1 / -1; }
  .ut-table td.ut-num { text-align: left !important; }
  .ut-table td.ut-num::before { content: "Sign-ins "; color: var(--muted); font-size: 0.78rem; }
  .ut-table td.ut-actions { grid-column: 2; grid-row: 2 / span 3; align-self: start; }
  .ut-issues { margin-left: 0; }
  .ut-act li { grid-template-columns: 1fr; gap: 0.1rem; }
  .ut-dlg .user-edit { grid-template-columns: 1fr; }
}
.ut-search input[type="search"] { padding-left: 2.4rem; min-height: 40px; }
.ut-kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ut-act-head select#ut-act-user { width: auto; min-width: 180px; }
@media (max-width: 760px) { .ut-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#ut-q { padding: 0.55rem 0.9rem 0.55rem 2.4rem; }

/* Facilitators: follow-up lead */
.fac-lead-chip {
  display: inline-block; margin-left: 0.45rem; padding: 0.05rem 0.5rem;
  border-radius: 999px; background: rgba(46, 74, 58, 0.1); color: var(--green-deep, #24392d);
  font-size: 0.72rem; font-weight: 750; letter-spacing: 0.02em; vertical-align: 1px;
}
.badge.badge-lead { background: rgba(46, 74, 58, 0.1); color: var(--green-deep, #24392d); }
.badge.badge-lead::before { content: "Lead · "; font-weight: 600; opacity: 0.7; }
