/* calendar.xybersean.com — uses the int.xybersean.com theme system.
   Token palette mirrors /Users/z/sites/int/style.css (XYBERSEAN themes).
   Default theme = gray. */

:root {
  /* light-gray defaults (calendar diverges from int — int's gray is dark) */
  --bg:        #f4f4f5;
  --frame:     #fafafa;
  --line:      #e4e4e7;
  --line-2:    #d4d4d8;
  --ink:       #18181b;
  --ink-dim:   #52525b;
  --ink-faint: #a1a1aa;
  --cy:        #71717a;
  --gn:        #16a34a;
  --or:        #dc2626;
  --am:        #ca8a04;
  --shipped:   #16a34a;
  --parked:    #a1a1aa;
  --closed:    #d4d4d8;
  --wallpaper: radial-gradient(circle at 30% 0%, #fcfcfd 0%, #f4f4f5 55%, #ececef 100%);
  color-scheme: light;

  /* Calendar legacy aliases — map onto int tokens so widget styles below
     pick up whatever theme is active without rewriting every rule. */
  --bg-color:       var(--bg);
  --bg-overlay:     var(--wallpaper);
  --card-bg:        var(--frame);
  --text-primary:   var(--ink);
  --text-secondary: var(--ink-dim);
  --text-faint:     var(--ink-faint);
  --accent-primary: var(--cy);
  --accent-warm:    var(--am);
  --accent-glow:    color-mix(in srgb, var(--cy) 30%, transparent);
  --border-color:   var(--line);
  --border-strong:  var(--line-2);
  --glass-bg:       var(--frame);
  --glass-bg-soft:  color-mix(in srgb, var(--frame) 60%, var(--bg));
  --glass-blur:     24px;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-24: 96px; --space-32: 128px;

  --liquid-ease: cubic-bezier(0.7, 0, 0.3, 1);
  --transition-smooth: all 0.5s var(--liquid-ease);
  --radius-card: 24px;
  --radius-pill: 999px;
  --radius-soft: 14px;
}

/* === XYBERSEAN themes — palettes mirror int.xybersean.com === */

/* gray — light-gray, restrained zinc palette, default theme on calendar */
[data-theme="gray"] {
  --bg:#f4f4f5; --frame:#fafafa; --line:#e4e4e7; --line-2:#d4d4d8;
  --ink:#18181b; --ink-dim:#52525b; --ink-faint:#a1a1aa;
  --cy:#71717a; --gn:#16a34a; --or:#dc2626; --am:#ca8a04;
  --shipped:#16a34a; --parked:#a1a1aa; --closed:#d4d4d8;
  --wallpaper: radial-gradient(circle at 30% 0%, #fcfcfd 0%, #f4f4f5 55%, #ececef 100%);
  color-scheme: light;
}

/* charcoal — int.xybersean's original dark gray (kept for cross-site parity) */
[data-theme="charcoal"] {
  --bg:#1a1a1c; --frame:#222226; --line:#2c2c30; --line-2:#3a3a40;
  --ink:#d4d4d8; --ink-dim:#8a8a90; --ink-faint:#52525a;
  --cy:#9ca3af; --gn:#86c195; --or:#c19090; --am:#c1b390;
  --shipped:#86c195; --parked:#8a8a90; --closed:#3a3a40;
  --wallpaper: none;
  color-scheme: dark;
}

/* dark — pure black, ice-blue accent */
[data-theme="dark"] {
  --bg:#000000; --frame:#0a0a0a; --line:#1a1a1f; --line-2:#26262c;
  --ink:#e8eaf6; --ink-dim:#8a8a93; --ink-faint:#4a4a52;
  --cy:#7dd3fc; --gn:#86efac; --or:#fb7185; --am:#fcd34d;
  --shipped:#6a9955; --parked:#777; --closed:#3a3a40;
  --wallpaper: none;
  color-scheme: dark;
}

/* light — adwaita default, paper-cream */
[data-theme="light"] {
  --bg:#fafafa; --frame:#ebebeb; --line:#dadada; --line-2:#c4c4c4;
  --ink:#1a1a1a; --ink-dim:#4b5563; --ink-faint:#9ca3af;
  --cy:#3584e4; --gn:#26a269; --or:#c01c28; --am:#cd9309;
  --shipped:#166534; --parked:#9ca3af; --closed:#cdcdcd;
  --wallpaper: radial-gradient(circle at 50% 0%, #ffffff 0%, #f6f4ee 60%, #ebe8df 100%);
  color-scheme: light;
}

/* paper-beige-brown — library at noon, sepia paper, mahogany amber */
[data-theme="paper-beige-brown"] {
  --bg:#f4e6cf; --frame:#ead8b8; --line:#c9b48b; --line-2:#b89a72;
  --ink:#3a2616; --ink-dim:#6b4a2c; --ink-faint:#9a7950;
  --cy:#a8601e; --gn:#4a6230; --or:#a8332a; --am:#a8801a;
  --shipped:#4a6230; --parked:#9a7950; --closed:#c9b48b;
  --wallpaper: radial-gradient(circle at 30% 25%, #faf3e7 0%, #f4e6cf 45%, #e8d4b8 100%);
  color-scheme: light;
}

/* brown — cocoa library candle warm, honey accent */
[data-theme="brown"] {
  --bg:#2a1f15; --frame:#1f1610; --line:#4a3625; --line-2:#5a3f2b;
  --ink:#f5deb3; --ink-dim:#c4a877; --ink-faint:#8a6c4a;
  --cy:#e8b04b; --gn:#a3b676; --or:#c44536; --am:#f4c970;
  --shipped:#8a9a5b; --parked:#8a6c4a; --closed:#4a3625;
  --wallpaper: radial-gradient(circle at 30% 25%, #5a3f28 0%, #2a1f15 45%, #1a1208 100%);
  color-scheme: dark;
}

/* tokyo-night — post-rain neon over deep indigo */
[data-theme="tokyo-night"] {
  --bg:#1a1b26; --frame:#15161e; --line:#2e3148; --line-2:#414868;
  --ink:#c0caf5; --ink-dim:#8a92b8; --ink-faint:#565b85;
  --cy:#7aa2f7; --gn:#9ece6a; --or:#f7768e; --am:#e0af68;
  --shipped:#73a14e; --parked:#565b85; --closed:#2e3148;
  --wallpaper: radial-gradient(circle at 30% 20%, #2e3552 0%, #1a1b26 45%, #0a0b14 100%);
  color-scheme: dark;
}

/* sunset-orange — copper roofs at magic hour */
[data-theme="sunset-orange"] {
  --bg:#1f0a07; --frame:#1a0806; --line:#5e2818; --line-2:#7a2a18;
  --ink:#f4d4b0; --ink-dim:#c0967a; --ink-faint:#7a5840;
  --cy:#d97757; --gn:#9ca068; --or:#e85a3c; --am:#f0b25a;
  --shipped:#7e8454; --parked:#7a5840; --closed:#5e2818;
  --wallpaper: linear-gradient(to bottom, #321524 0%, #7a2a18 28%, #b85230 50%, #3a1208 78%, #0f0604 100%);
  color-scheme: dark;
}

/* barbie-pink — Pantone 219 over deep aubergine */
[data-theme="barbie-pink"] {
  --bg:#1f0c19; --frame:#15080f; --line:#4a1f38; --line-2:#5e2848;
  --ink:#fce7f0; --ink-dim:#c8a4b8; --ink-faint:#7a5868;
  --cy:#e0218a; --gn:#6fdc8c; --or:#e84564; --am:#f5c270;
  --shipped:#5fbc78; --parked:#7a5868; --closed:#4a1f38;
  --wallpaper: radial-gradient(circle at 50% 35%, #3a1024 0%, #1f0c19 50%, #0a0307 100%);
  color-scheme: dark;
}

/* rainbow — prismatic chaos */
[data-theme="rainbow"] {
  --bg:#0a0a0a; --frame:#141414; --line:#26262c; --line-2:#3a3a40;
  --ink:#e8eaf6; --ink-dim:#a0a0b0; --ink-faint:#5a5a68;
  --cy:#a8c0e0; --gn:#9bd9a8; --or:#e8a3a3; --am:#e3c088;
  --shipped:#7eb084; --parked:#5a5a68; --closed:#26262c;
  --wallpaper: none;
  color-scheme: dark;
}
[data-theme="rainbow"] body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(to right, #e8a3a3 0%, #e3c088 25%, #9bd9a8 50%, #8ec0e0 75%, #b0a8ea 100%);
  opacity: 0.18;
  pointer-events: none;
}

/* === Theme picker (pill + popover) — copied from int.xybersean === */

.theme-pill {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: transparent; border: 1px solid var(--line-2);
  color: var(--ink); font-family: var(--font-mono); font-size: 11px;
  padding: 3px 8px; cursor: pointer;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  transition: border-color 120ms ease, color 120ms ease;
}
.theme-pill:hover { border-color: var(--cy); color: var(--cy); }
.theme-pill .theme-emoji { font-size: 12px; line-height: 1; }
.theme-pill .theme-name { color: var(--ink-dim); }
.theme-pill[aria-expanded="true"] { border-color: var(--cy); color: var(--cy); }
.theme-pill[aria-expanded="true"] .theme-name { color: var(--cy); }

.theme-popover {
  position: absolute; top: 38px; right: 14px; z-index: 50;
  background: var(--frame);
  border: 1px solid var(--line-2);
  min-width: 220px;
  padding: 4px 0;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  border-radius: 6px;
}
.theme-popover[hidden] { display: none; }
.theme-popover .theme-popover-label {
  display: block; padding: 8px 14px 6px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); border-bottom: 1px solid var(--line);
}
.theme-popover ul { list-style: none; margin: 0; padding: 4px 0; }
.theme-popover li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 14px; cursor: pointer;
  font-size: 12px; color: var(--ink);
  font-family: var(--font-mono);
  transition: background-color 100ms ease;
}
.theme-popover li:hover { background: var(--line); }
.theme-popover li[aria-current="true"] {
  background: var(--line); color: var(--cy);
}
.theme-popover li[aria-current="true"]::after {
  content: "current";
  margin-left: auto;
  color: var(--ink-faint);
  font-size: 10px; letter-spacing: 0.16em;
}

.theme-pill-mount {
  position: fixed; top: 12px; right: 14px; z-index: 40;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background-image: var(--bg-overlay);
  background-attachment: fixed;
}

/* Skip-link for accessibility */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-2) var(--space-4);
  background: var(--card-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-soft);
  z-index: 100;
}

.shell {
  max-width: 920px;
  margin: 0 auto;
  padding: var(--space-12) clamp(var(--space-4), 5vw, var(--space-10)) var(--space-24);
}

/* ─── Hero / page header ────────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-16);
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  margin: 0;
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-glow);
  margin-right: var(--space-2);
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
}

.hero h1 .accent {
  background: linear-gradient(120deg, #ffffff 30%, var(--accent-primary) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero h1 .accent {
  background: linear-gradient(120deg, #111111 30%, var(--accent-primary) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lede {
  font-family: var(--font-main);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.18rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: var(--space-2);
}

/* ─── Member cards (landing) ────────────────────────────────────── */

.members {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.member-card {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.member-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-glow), transparent 55%);
  opacity: 0;
  transition: opacity 0.6s var(--liquid-ease);
  pointer-events: none;
}

.member-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.member-card:hover::before { opacity: 0.85; }

.member-card:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

.member-photo {
  width: 132px;
  height: 132px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  position: relative;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 0.7s var(--liquid-ease);
}

.member-card:hover .member-photo img { transform: scale(1.05); }

.member-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text-faint);
  letter-spacing: -0.02em;
}

.member-id {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.member-id .name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.05rem + 1.2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.member-id .name-jp {
  font-family: var(--font-main);
  font-size: 0.84rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.member-id .role {
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 6px;
}

.member-affordance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  white-space: nowrap;
}

.status-pill.live {
  color: oklch(78% 0.16 150);
}

.status-pill.awaiting {
  color: var(--text-faint);
}

.member-arrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.4s var(--liquid-ease), color 0.4s ease;
}

.member-card:hover .member-arrow {
  gap: 12px;
  color: var(--text-primary);
}

/* ─── Per-member calendar page ──────────────────────────────────── */

.member-header {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-color);
}

.member-header .photo {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.member-header .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 4px;
}

.member-header .role {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.member-header .name-jp {
  font-family: var(--font-main);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.back-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-8);
  transition: color 0.4s ease, gap 0.4s var(--liquid-ease);
}

.back-link:hover {
  color: var(--text-primary);
  gap: 14px;
}

.privacy-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin: var(--space-2) 0 var(--space-8);
}

.privacy-note::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.7;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.privacy-note time,
.privacy-note [data-bind="horizon"] {
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ─── Month-grid calendar ───────────────────────────────────────── */

.schedule {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.cal-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.cal-toolbar .cal-title {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cal-toolbar h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}

.cal-today {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-faint);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.cal-today:hover { color: var(--text-primary); border-color: var(--border-strong); }

.cal-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg-soft);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}
.cal-nav:hover:not([disabled]) {
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.cal-nav[disabled] { opacity: 0.3; cursor: not-allowed; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cal-grid {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.cal-weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--glass-bg-soft);
  border-bottom: 1px solid var(--border-color);
}

.cal-weekday {
  padding: var(--space-3) var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  text-align: center;
}

.cal-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-cell {
  aspect-ratio: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: var(--space-2);
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  font: inherit;
  color: var(--text-primary);
  cursor: default;
  transition: background 0.3s ease;
  overflow: hidden;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cells > .cal-cell:nth-last-child(-n+7) { border-bottom: none; }

.cal-cell.other-month { opacity: 0.32; }

.cal-cell.today .day-num {
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  width: 1.8em;
  height: 1.8em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cy) 20%, transparent);
}

.cal-cell.has-events {
  cursor: pointer;
}
.cal-cell.has-events:hover {
  background: color-mix(in srgb, var(--cy) 8%, transparent);
}
.cal-cell.has-events:focus-visible {
  outline: 2px solid var(--cy);
  outline-offset: -2px;
}
.cal-cell.selected {
  background: color-mix(in srgb, var(--cy) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cy) 50%, transparent);
}
.cal-cell.has-events.selected {
  background: color-mix(in srgb, var(--cy) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cy) 50%, transparent);
}

.day-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
  align-self: flex-start;
}

.chips {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  align-items: stretch;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--or) 18%, transparent);
  color: var(--or);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 2px solid var(--or);
}

.chip.start { border-left-color: var(--or); }
.chip.end {
  border-left: none;
  border-right: 2px solid var(--or);
  text-align: right;
  background: color-mix(in srgb, var(--or) 10%, transparent);
}
.chip.more {
  background: transparent;
  border: 1px dashed var(--border-color);
  color: var(--text-faint);
  text-align: center;
  border-left: 1px dashed var(--border-color);
}

/* Detail panel */
.cal-detail {
  padding: var(--space-6);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
}

.cal-detail header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-color);
}

.detail-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}

.cal-detail h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--glass-bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-soft);
  flex-wrap: wrap;
}

.detail-time {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.detail-time .arrow { color: var(--text-faint); margin: 0 0.4em; }
.detail-time .next-day {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-left: 0.6em;
  padding: 2px 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-primary);
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
}

/* Empty / awaiting states */

.empty-state {
  background: var(--glass-bg-soft);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

.empty-state .badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  padding: 5px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.empty-state p {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 38ch;
  line-height: 1.55;
  margin: 0;
}

.empty-state.error h3 { color: oklch(70% 0.18 28); }

/* Footer */

.page-footer {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.page-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.page-footer a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--border-strong);
}

/* Reveal motion */

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.99);
  filter: blur(8px);
  transition: opacity 0.9s var(--liquid-ease),
              transform 0.9s var(--liquid-ease),
              filter 0.9s var(--liquid-ease);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }

/* Responsive */

@media (max-width: 720px) {
  .shell { padding: var(--space-10) var(--space-4) var(--space-16); }

  .member-card {
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-4);
  }
  .member-photo { width: 88px; height: 88px; }
  .member-affordance {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .member-header { grid-template-columns: 72px 1fr; gap: var(--space-4); }
  .member-header .photo { width: 72px; height: 72px; }

  .cal-cell { aspect-ratio: auto; min-height: 64px; padding: 6px; }
  .day-num { font-size: 0.86rem; margin-bottom: 4px; }
  .cal-cell.today .day-num { width: 1.6em; height: 1.6em; }
  .chip { font-size: 0.56rem; padding: 1px 4px; }
  .cal-weekday { padding: var(--space-2) 4px; font-size: 0.6rem; letter-spacing: 0.16em; }
  .cal-toolbar h2 { font-size: 1.4rem; }
  .cal-nav { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .chips { gap: 1px; }
  .chip:not(.more) {
    font-size: 0;
    padding: 0;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: var(--or);
  }
  .chip.more { display: none; }
}

/* ─── Two-column member layout (profile L, calendar R) ───────── */

.shell-split {
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--space-6) clamp(var(--space-3), 4vw, var(--space-8));
}

.profile-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 0;
}

.profile-photo {
  width: 200px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.profile-id h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 4px;
}

.profile-id .name-jp {
  font-family: var(--font-main);
  font-size: 0.86rem;
  color: var(--text-faint);
  margin: 0 0 var(--space-2);
  letter-spacing: 0.02em;
}

.profile-id .role {
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-color);
}

.profile-meta .privacy-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin: 0;
}

.profile-meta .privacy-note::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.7;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.meta-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.meta-line .dot {
  color: var(--text-faint);
  margin: 0 4px;
}

.meta-line time { color: var(--text-secondary); }

.profile-subscribe {
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.profile-subscribe > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.profile-subscribe > summary::-webkit-details-marker { display: none; }

.profile-subscribe > summary::before {
  content: "+";
  font-weight: 600;
  color: var(--text-faint);
  width: 0.8em;
  display: inline-block;
  text-align: center;
}

.profile-subscribe[open] > summary::before {
  content: "−";
  color: var(--text-secondary);
}

.profile-subscribe > summary:hover {
  color: var(--text-primary);
  border-bottom-color: var(--border-strong);
}

.subscribe-body {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface-soft, transparent);
}

.subscribe-hint {
  margin: 0;
  font-size: 0.66rem;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}

.subscribe-cta {
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-all;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  width: fit-content;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.subscribe-cta:hover {
  color: var(--accent, var(--text-primary));
}

.subscribe-url {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-secondary);
  word-break: break-all;
  user-select: all;
}

.profile-footer {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.profile-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.4s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  width: fit-content;
}

.profile-footer a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--border-strong);
}

.calendar-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 0;
}

.calendar-main .loading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0;
  padding: var(--space-4);
}

/* Desktop ≥900: side-by-side, no scroll, calendar fills remaining height. */
@media (min-width: 900px) {
  body.member-page {
    height: 100dvh;
    overflow: hidden;
  }

  .shell-split {
    height: 100dvh;
    padding: clamp(var(--space-4), 2.5vh, var(--space-6)) clamp(var(--space-4), 3vw, var(--space-8));
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: var(--space-6);
  }

  .profile-aside {
    position: relative;
    display: block;
    min-height: 0;
    padding-bottom: 64px; /* reserve room for absolutely-positioned footer */
  }

  .profile-aside > .back-link { display: inline-block; margin-bottom: var(--space-3); }

  .profile-photo {
    width: 100%;
    max-width: 200px;
    max-height: min(200px, 20vh);
    aspect-ratio: 1;
    margin-bottom: var(--space-3);
  }

  .profile-photo img { object-position: center top; }

  .profile-id { margin-bottom: var(--space-3); }
  .profile-id h1 { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); }

  .profile-meta {
    padding-top: var(--space-2);
    border-top: 1px solid var(--border-color);
  }

  .profile-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-color);
  }

  .calendar-main .cal-grid {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .calendar-main .cal-cells {
    flex: 1;
    grid-template-rows: repeat(6, minmax(0, 1fr));
    min-height: 0;
  }

  .calendar-main .cal-cell {
    aspect-ratio: auto;
    min-height: 0;
    overflow: hidden;
  }

  /* Detail panel: shrink to content, never push grid out of viewport. */
  .calendar-main .cal-detail {
    flex-shrink: 0;
  }
}

/* Tablet/Mobile <900: stack profile on top, calendar below, scroll allowed. */
@media (max-width: 899px) {
  .shell-split {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-4) var(--space-10);
    height: auto;
  }

  .profile-aside {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-3) var(--space-4);
    align-items: center;
  }

  .profile-aside .back-link {
    grid-column: 1 / -1;
    margin: 0;
  }

  .profile-photo {
    width: 80px;
    border-radius: 16px;
    grid-row: 2 / 3;
  }

  .profile-id { grid-row: 2 / 3; align-self: center; }
  .profile-id h1 { font-size: 1.4rem; margin-bottom: 2px; }
  .profile-id .name-jp { font-size: 0.78rem; margin-bottom: 4px; }
  .profile-id .role { font-size: 0.84rem; line-height: 1.35; }

  .profile-meta {
    grid-column: 1 / -1;
    padding-top: var(--space-3);
  }

  .meta-grid {
    grid-template-columns: repeat(3, auto);
    column-gap: var(--space-4);
    row-gap: 2px;
    justify-content: start;
  }

  .meta-grid dt { grid-row: 1; }
  .meta-grid dd { grid-row: 2; }

  .profile-footer {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-2);
  }
}

/* ─── Booking flow: CTA, empty-cell hint, drawer ──────────────── */

.cta-request-meeting {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line-2);
  background: var(--frame);
  color: var(--ink);
  border-radius: var(--radius-soft);
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease, transform 200ms ease;
  width: 100%;
}
.cta-request-meeting:hover {
  border-color: var(--cy);
  color: var(--cy);
  transform: translateY(-1px);
}
.cta-request-meeting .arrow {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--ink-faint);
  transition: color 200ms ease, transform 200ms ease;
}
.cta-request-meeting:hover .arrow {
  color: var(--cy);
  transform: translateX(3px);
}

/* Empty cell hover hint — faint + icon, signals interactivity without dominating */
.cal-cell:not(.has-events):not(.other-month) {
  cursor: pointer;
  position: relative;
}
.cal-cell:not(.has-events):not(.other-month)::after {
  content: '+';
  position: absolute;
  top: 6px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.cal-cell:not(.has-events):not(.other-month):hover::after {
  opacity: 0.55;
}
.cal-cell:not(.has-events):not(.other-month):hover {
  background: color-mix(in srgb, var(--cy) 6%, transparent);
}

/* Drawer + backdrop */
.booking-backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 70%, black 30%);
  opacity: 0;
  z-index: 80;
  transition: opacity 280ms var(--liquid-ease);
}
.booking-backdrop.open { opacity: 0.6; }
.booking-backdrop[hidden] { display: none; }

.booking-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--frame);
  border-left: 1px solid var(--line-2);
  box-shadow: -16px 0 48px color-mix(in srgb, var(--bg) 50%, black 50%);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 320ms var(--liquid-ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.booking-drawer.open { transform: translateX(0); }
.booking-drawer[hidden] { display: none; }

.booking-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.booking-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin: 0 0 4px;
}
.booking-drawer-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.booking-close {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: border-color 160ms ease, color 160ms ease;
}
.booking-close:hover { border-color: var(--cy); color: var(--cy); }

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5, var(--space-4)) var(--space-6) var(--space-6);
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: none;
  padding: 0;
  margin: 0;
}
.booking-fieldset { border: none; padding: 0; margin: 0; }

.booking-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="date"],
.booking-form input[type="time"],
.booking-form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 0.94rem;
  padding: 10px 12px;
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--cy);
  background: var(--frame);
}
.booking-form textarea { resize: vertical; min-height: 64px; font-family: var(--font-main); }

.booking-hour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.booking-hour {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 8px 0;
  background: var(--bg);
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}
.booking-hour:hover { border-color: var(--cy); color: var(--ink); }
.booking-hour.selected {
  background: color-mix(in srgb, var(--cy) 18%, transparent);
  border-color: var(--cy);
  color: var(--ink);
}
.booking-hour.unavailable {
  background: color-mix(in srgb, var(--or) 10%, transparent);
  border-color: color-mix(in srgb, var(--or) 35%, transparent);
  color: var(--or);
  cursor: not-allowed;
  opacity: 0.75;
  text-decoration: line-through;
}
.booking-hour.unavailable:hover {
  background: color-mix(in srgb, var(--or) 15%, transparent);
  border-color: color-mix(in srgb, var(--or) 45%, transparent);
  color: var(--or);
}

.booking-duration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.booking-duration {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 8px 0;
  background: var(--bg);
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}
.booking-duration:hover { border-color: var(--cy); color: var(--ink); }
.booking-duration.selected {
  background: color-mix(in srgb, var(--cy) 18%, transparent);
  border-color: var(--cy);
  color: var(--ink);
}

.booking-counter {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-faint);
  align-self: flex-end;
}
.booking-counter.over { color: var(--or); }

.booking-honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--ink-faint);
  margin: 0;
  padding: var(--space-3);
  background: color-mix(in srgb, var(--cy) 6%, transparent);
  border-left: 2px solid var(--cy);
  border-radius: 0 6px 6px 0;
}

.booking-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
}
.booking-cancel {
  padding: 9px 16px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}
.booking-cancel:hover { border-color: var(--ink-faint); color: var(--ink); }
.booking-submit {
  padding: 10px 18px;
  background: var(--cy);
  border: 1px solid var(--cy);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 140ms ease, transform 140ms ease;
}
.booking-submit:hover:not(:disabled) { transform: translateY(-1px); }
.booking-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.booking-result {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.55;
  padding: var(--space-3);
  border-radius: 6px;
  border: 1px solid var(--line);
}
.booking-result[hidden] { display: none; }
.booking-result.loading { color: var(--ink-dim); }
.booking-result.error { color: var(--or); border-color: var(--or); background: color-mix(in srgb, var(--or) 8%, transparent); }
.booking-result.success {
  color: var(--ink);
  border-color: var(--gn);
  background: color-mix(in srgb, var(--gn) 8%, transparent);
}
.booking-result.success strong { font-family: var(--font-display); display: block; font-size: 1rem; margin-bottom: 4px; color: var(--gn); }
.booking-result.success p { margin: 0; font-family: var(--font-main); color: var(--ink-dim); }

body.booking-open { overflow: hidden; }

@media (max-width: 540px) {
  .booking-drawer { width: 100vw; border-left: none; border-top: 1px solid var(--line-2); top: 5vh; border-top-left-radius: 14px; border-top-right-radius: 14px; }
  .booking-hour-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; filter: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
