/* NBULAI Schedule — matte glass appointment folio. Phone first. */

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0d10;
  --bg-veil: rgba(8, 9, 12, 0.62);
  --text: rgba(244, 246, 248, 0.94);
  --text-soft: rgba(214, 220, 228, 0.74);
  --text-faint: rgba(196, 204, 214, 0.58);
  --label: rgba(214, 222, 230, 0.72);
  --glass-top: rgba(36, 39, 46, 0.84);
  --glass-bottom: rgba(16, 18, 22, 0.8);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.16);
  --panel-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  --field: rgba(6, 7, 10, 0.42);
  --field-border: rgba(255, 255, 255, 0.14);
  --field-inset: rgba(0, 0, 0, 0.38);
  --choice: rgba(8, 9, 12, 0.28);
  --choice-selected: rgba(18, 22, 28, 0.72);
  --segment: rgba(255, 255, 255, 0.08);
  --btn: rgba(22, 24, 28, 0.9);
  --line-track: rgba(255, 255, 255, 0.12);
  --focus: #7ee7f0;
  --status-err: #f0b4a8;
  --orb-a: rgba(94, 231, 240, 0.22);
  --orb-b: rgba(139, 124, 247, 0.24);
  --orb-c: rgba(45, 212, 191, 0.18);
  --orb-d: rgba(96, 140, 255, 0.16);
  --spark: rgba(255, 255, 255, 0.72);
  --sheen: rgba(255, 255, 255, 0.2);
  --gradient: linear-gradient(120deg, #67e8f9 0%, #2dd4bf 46%, #a78bfa 100%);
  --nav-h: 7.5rem;
}

html[data-theme="mist"] {
  color-scheme: light;
  --bg: #c5c9d2;
  --bg-veil: rgba(197, 201, 210, 0.8);
  --text: rgba(22, 28, 36, 0.94);
  --text-soft: rgba(34, 42, 52, 0.78);
  --text-faint: rgba(46, 54, 66, 0.64);
  --label: rgba(34, 42, 52, 0.74);
  --glass-top: rgba(236, 238, 242, 0.7);
  --glass-bottom: rgba(210, 214, 222, 0.62);
  --glass-border: rgba(255, 255, 255, 0.62);
  --glass-highlight: rgba(255, 255, 255, 0.72);
  --panel-shadow: 0 16px 36px rgba(28, 34, 46, 0.12);
  --field: rgba(255, 255, 255, 0.36);
  --field-border: rgba(28, 36, 48, 0.16);
  --field-inset: rgba(28, 36, 48, 0.06);
  --choice: rgba(255, 255, 255, 0.3);
  --choice-selected: rgba(246, 247, 250, 0.84);
  --segment: rgba(255, 255, 255, 0.58);
  --btn: rgba(236, 238, 242, 0.92);
  --line-track: rgba(28, 36, 48, 0.14);
  --focus: #0e6670;
  --status-err: #8a332c;
  --orb-a: rgba(64, 150, 170, 0.2);
  --orb-b: rgba(110, 100, 170, 0.16);
  --orb-c: rgba(50, 140, 140, 0.14);
  --orb-d: rgba(80, 110, 170, 0.12);
  --spark: rgba(28, 38, 52, 0.38);
  --sheen: rgba(255, 255, 255, 0.42);
  --gradient: linear-gradient(120deg, #67e8f9 0%, #2dd4bf 46%, #a78bfa 100%);
  --nav-h: 7.5rem;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f0ea;
  --bg-veil: rgba(243, 240, 234, 0.78);
  --text: rgba(24, 28, 34, 0.94);
  --text-soft: rgba(36, 42, 50, 0.76);
  --text-faint: rgba(48, 54, 62, 0.62);
  --label: rgba(36, 42, 50, 0.72);
  --glass-top: rgba(255, 255, 255, 0.84);
  --glass-bottom: rgba(246, 243, 238, 0.78);
  --glass-border: rgba(255, 255, 255, 0.92);
  --glass-highlight: rgba(255, 255, 255, 0.95);
  --panel-shadow: 0 16px 40px rgba(48, 42, 34, 0.08), 0 0 0 1px rgba(40, 36, 30, 0.04);
  --field: rgba(255, 255, 255, 0.62);
  --field-border: rgba(32, 36, 44, 0.12);
  --field-inset: rgba(32, 36, 44, 0.05);
  --choice: rgba(255, 255, 255, 0.45);
  --choice-selected: rgba(255, 255, 255, 0.88);
  --segment: rgba(255, 255, 255, 0.82);
  --btn: rgba(255, 255, 255, 0.9);
  --line-track: rgba(32, 36, 44, 0.1);
  --focus: #0f766e;
  --status-err: #9a3b32;
  --orb-a: rgba(45, 180, 196, 0.28);
  --orb-b: rgba(140, 120, 220, 0.22);
  --orb-c: rgba(40, 180, 160, 0.2);
  --orb-d: rgba(90, 140, 220, 0.16);
  --spark: rgba(36, 48, 64, 0.45);
  --sheen: rgba(255, 255, 255, 0.55);
  --nav-h: 7.5rem;
}

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

html {
  background: var(--bg);
  height: 100%;
  overflow-x: clip;
  scroll-padding-bottom: calc(4.6rem + 16px + env(safe-area-inset-bottom));
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(120, 90, 200, 0.16), transparent 60%),
    radial-gradient(800px 480px at 110% 0%, rgba(40, 180, 190, 0.12), transparent 55%),
    var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.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;
}

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

html.js body:not(.portal-ready) #portalApp {
  visibility: hidden;
}

html:not(.js) .portal-intro {
  display: none;
}

/* Atmosphere */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  --breath: 1;
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  pointer-events: none;
  will-change: transform, opacity;
}

html[data-theme="mist"] .orb { --breath: 0.72; }
html[data-theme="light"] .orb { --breath: 0.48; }

.orb-a {
  width: min(72vw, 640px);
  height: min(72vw, 640px);
  left: -18%;
  top: 6%;
  background: radial-gradient(circle, var(--orb-a), transparent 68%);
  animation: drift-a 23s ease-in-out infinite;
}

.orb-b {
  width: min(64vw, 560px);
  height: min(64vw, 560px);
  right: -16%;
  top: -12%;
  background: radial-gradient(circle, var(--orb-b), transparent 70%);
  animation: drift-b 31s ease-in-out infinite;
  animation-delay: -9s;
}

.orb-c {
  width: min(70vw, 600px);
  height: min(70vw, 600px);
  left: 22%;
  bottom: -22%;
  background: radial-gradient(circle, var(--orb-c), transparent 68%);
  animation: drift-c 37s ease-in-out infinite;
  animation-delay: -14s;
}

.orb-d,
.orb-e,
.spark {
  display: none;
}

.orb-d {
  width: min(48vw, 440px);
  height: min(48vw, 440px);
  left: 8%;
  bottom: 4%;
  background: radial-gradient(circle, var(--orb-d), transparent 70%);
  animation: drift-d 19s ease-in-out infinite;
  animation-delay: -6s;
}

.orb-e {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  right: 12%;
  top: 38%;
  background: radial-gradient(circle, var(--orb-b), transparent 72%);
  animation: drift-e 29s ease-in-out infinite;
  animation-delay: -18s;
}

.spark {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--spark);
  opacity: 0.45;
}

/* Intro */

.portal-intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background: var(--bg-veil);
}

.portal-intro.is-leaving {
  opacity: 0;
  transition: opacity 480ms ease;
  pointer-events: none;
}

.portal-intro__card,
.folio-page,
.confirm,
.nav-pill,
.theme-pill,
.mode-switch {
  position: relative;
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--glass-border);
  box-shadow: var(--panel-shadow), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.portal-intro__card {
  width: min(420px, 100%);
  border-radius: 28px;
  overflow: hidden;
}

.portal-intro__content {
  position: relative;
  z-index: 1;
  padding: 36px 26px 32px;
  text-align: center;
}

.portal-intro__mark,
.portal-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.portal-intro__title {
  margin: 0;
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-intro__lead,
.portal-intro__status {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 15px;
}

.portal-intro__line {
  width: min(220px, 72%);
  height: 2px;
  margin: 26px auto 0;
  border-radius: 999px;
  background: var(--line-track);
  overflow: hidden;
}

.portal-intro__line span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient);
  transition: width 240ms ease;
}

.enter-btn,
.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--btn), var(--btn)) padding-box,
    var(--gradient) border-box;
  color: var(--text);
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 500;
}

.enter-btn {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.submit {
  width: 100%;
  margin-top: 8px;
}

.submit:disabled {
  opacity: 0.55;
  cursor: progress;
}

/* Top bar */

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding:
    calc(env(safe-area-inset-top) + 10px)
    calc(env(safe-area-inset-right) + 12px)
    0
    calc(env(safe-area-inset-left) + 12px);
  pointer-events: none;
}

.nav-pill,
.theme-pill {
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 999px;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 var(--glass-highlight);
}

.nav-pill::-webkit-scrollbar,
.theme-pill::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  gap: 2px;
  padding: 4px;
}

.nav-pill a,
.theme-pill button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.theme-pill {
  padding: 4px;
  gap: 2px;
}

.theme-pill button[aria-pressed="true"] {
  background: var(--segment);
  color: var(--text);
}

.nav-pill a:hover,
.theme-pill button:hover {
  color: var(--text);
}

.nav-home {
  width: 44px;
  padding: 0;
}

.nav-home svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Page */

.portal-main {
  position: relative;
  z-index: 1;
  padding:
    calc(env(safe-area-inset-top) + var(--nav-h))
    max(12px, env(safe-area-inset-right))
    calc(var(--footer-h, 4.5rem) + 28px + env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
}

.portal-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.portal-hero {
  max-width: 40rem;
  margin: 0 auto 22px;
  text-align: center;
}

.portal-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  outline: none;
}

.portal-lead {
  margin: 10px 0 0;
  font-size: 16px;
}

.portal-secondary,
.noscript {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: min(560px, 100%);
  min-width: 0;
  margin: 0 auto 14px;
  padding: 4px;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
}

.mode-option {
  position: relative;
  display: block;
}

.mode-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.mode-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.25;
}

.mode-option input:checked + span {
  background: var(--segment);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--glass-border);
}

.mode-option input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.context-chip {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--segment);
  border: 1px solid var(--glass-border);
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* Vertical half-open book. --fold: 1 half open, 0 flat and sharp. */

.book-stage {
  position: relative;
}

.book-sticky {
  position: sticky;
  top: calc(env(safe-area-inset-top) + var(--nav-h) - 0.35rem);
  z-index: 2;
}

.book-stage,
.book-stage.is-flow,
.book,
.book-stack {
  overflow: visible;
}

.book-stage.is-flow .book-sticky {
  position: relative;
  top: auto;
}

.book {
  --fold: 1;
  --lower-angle: 104deg;
  --upper-blur: 0.9px;
  width: min(680px, 100%);
  margin: 0 auto;
}

.book-stack {
  perspective: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.leaf {
  position: relative;
  width: 100%;
  border-radius: 22px;
  min-width: 0;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.leaf--upper {
  z-index: 1;
  transform: none;
  filter: blur(calc(var(--fold) * var(--upper-blur)));
  opacity: calc(0.9 + (1 - var(--fold)) * 0.1);
}

.leaf--lower {
  z-index: 3;
  overflow: visible;
  transform-origin: center top;
  transform-style: preserve-3d;
  backface-visibility: visible;
  transform: rotateX(calc(var(--fold) * var(--lower-angle)));
  filter: none;
  opacity: 1;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.leaf--lower .folio-page__content {
  backface-visibility: hidden;
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: var(--panel-shadow), inset 0 1px 0 var(--glass-highlight);
}

.leaf--lower::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--glass-border);
  box-shadow: var(--panel-shadow), inset 0 1px 0 var(--glass-highlight);
  transform: rotateX(180deg);
  backface-visibility: hidden;
  pointer-events: none;
}

.book-hinge {
  --hinge: clamp(0, (var(--p, 0) - 0.18) / 0.32, 1);
  position: relative;
  z-index: 5;
  height: 2px;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.75), rgba(45, 212, 191, 0.7), rgba(167, 139, 250, 0.75), transparent);
  box-shadow: none;
  opacity: calc(0.22 + var(--hinge) * 0.24);
  filter: blur(calc((1 - var(--hinge)) * 1.5px));
  transform: none;
  pointer-events: none;
}

.hinge-pulse {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: inherit;
  background: var(--gradient);
  opacity: 0;
  transform: scaleX(0.2);
  pointer-events: none;
}

.book.is-clear.is-pulsing .hinge-pulse {
  animation: none;
}

.book.is-pulsing .leaf--lower {
  animation: leafAck 480ms ease-out;
}

.book.is-clear .leaf,
.book.is-clear .leaf--upper,
.book.is-clear .leaf--lower,
.book.is-clear .choice-block {
  transform: none;
  filter: none;
  opacity: 1;
  margin-top: 0;
}

.book.is-clear .leaf--lower {
  z-index: auto;
}

.book.is-clear .book-hinge {
  width: 100%;
  margin: 0;
  opacity: 0.42;
  filter: none;
  transform: none;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.16);
}

.book.is-clear .leaf--upper::after {
  opacity: 0;
}

.book:not(.is-clear) .leaf {
  pointer-events: none;
}

.book:not(.is-clear) .sheen {
  visibility: hidden;
}

.book-cue {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: calc(var(--fold) * 0.8);
}

.leaf .folio-page__content {
  padding: 14px 16px 12px;
}

.leaf--lower .choice-block + .choice-block {
  margin-top: 10px;
}

.leaf--lower .choice {
  min-height: 40px;
}

.leaf--lower .fine-print,
.leaf--lower .timezone-note,
.leaf--lower .selection-hint {
  margin-top: 6px;
}

.leaf--lower .choice-block {
  opacity: 1;
  transform: none;
}

.book .folio-page h2 {
  transform: none;
  filter: none;
}

.book [data-seq]:not(.book-hinge) {
  opacity: 1;
  filter: none;
}

.other-hour {
  margin-top: 12px;
  max-width: 100%;
}

.other-hour__label {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text-soft);
}

.other-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-faint);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.other-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.other-reveal.is-open {
  grid-template-rows: 1fr;
}

.other-reveal__inner {
  min-height: 0;
  overflow: hidden;
}

.other-panel {
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--field-border);
  background: var(--field);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.other-panel h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
}

.other-panel p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.other-panel .field input {
  width: 100%;
  max-width: 100%;
}

.selection-hint,
.request-body {
  white-space: pre-line;
}

.tz-card {
  margin-top: 14px;
  max-width: 100%;
}

.tz-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
}

.tz-current {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--field-border);
  background: var(--field);
  color: var(--text);
  text-align: left;
  box-shadow: inset 0 1px 2px var(--field-inset);
}

.tz-globe {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--text-soft);
}

.tz-card.is-set .tz-current {
  animation: tzPulse 520ms ease-out;
}

.tz-mine-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
}

.tz-mine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--field), var(--field)) padding-box,
    var(--gradient) border-box;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.tz-mine .tz-globe {
  width: 16px;
  height: 16px;
  color: var(--text);
}

.tz-mine.is-on {
  background:
    linear-gradient(var(--choice-selected), var(--choice-selected)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.28), inset 0 1px 0 var(--glass-highlight);
}

.tz-mine__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-faint);
}

.tz-panel {
  margin-top: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--field-border);
  background: var(--field);
}

.tz-panel.is-peek {
  max-height: 148px;
  overflow: hidden;
  cursor: pointer;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent);
  mask-image: linear-gradient(180deg, #000 52%, transparent);
}

.tz-panel.is-peek * {
  pointer-events: none;
}

.tz-map {
  display: block;
}

.tz-instrument {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--field-border);
  background: rgba(6, 10, 16, 0.28);
}

html[data-theme="mist"] .tz-instrument {
  background: rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .tz-instrument {
  background: rgba(255, 255, 255, 0.45);
}

.tz-stage {
  position: relative;
  height: auto;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(120% 80% at 50% 40%, rgba(120, 160, 180, 0.08), transparent 70%);
}

.tz-night {
  fill: rgba(7, 14, 32, 0.42);
  filter: url(#tzDusk);
  pointer-events: none;
}

html[data-theme="mist"] .tz-night {
  fill: rgba(28, 40, 64, 0.22);
}

html[data-theme="light"] .tz-night {
  fill: rgba(36, 52, 78, 0.16);
}

.tz-time {
  padding: 10px 12px 8px;
  border-top: 1px solid var(--field-border);
}

.tz-meridian {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  margin-left: -9%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.16), rgba(167, 139, 250, 0.12), transparent);
  transition: left 180ms ease;
}

.tz-ribbon {
  position: relative;
  height: 52px;
  border-radius: 999px;
  touch-action: none;
  cursor: grab;
  overflow: visible;
  background: linear-gradient(90deg, #12182c, #2a3348 28%, #c5d4dc 50%, #2a3348 72%, #12182c);
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.06);
  transition: filter 200ms ease, box-shadow 200ms ease;
}

.tz-sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  overflow: hidden;
  contain: paint;
  clip-path: inset(0 round 999px);
  pointer-events: none;
}

#tzSun,
#tzMoon {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  max-width: 16px;
  max-height: 16px;
  margin: 0;
  overflow: hidden;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.tz-ribbon.is-drag {
  cursor: grabbing;
  filter: brightness(1.08);
}

.tz-sun,
.tz-moon {
  position: absolute;
  top: 50%;
  pointer-events: none;
  z-index: 1;
}

.tz-sun {
  color: rgba(232, 214, 170, 0.9);
}

.tz-moon {
  color: rgba(176, 196, 220, 0.85);
}

.tz-handle {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08) 36%, transparent 42%),
    radial-gradient(circle at 70% 78%, rgba(103, 232, 249, 0.35), transparent 46%),
    radial-gradient(circle at 40% 70%, rgba(167, 139, 250, 0.28), transparent 50%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(12, 16, 24, 0.72));
  color: rgba(244, 246, 248, 0.94);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -6px 8px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.tz-handle.is-drag {
  transform: translateX(-50%) translateY(-1px) scale(1.1);
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -6px 8px rgba(0, 0, 0, 0.22);
}

.tz-handle:not(.is-drag) {
  transform: translateX(-50%);
}

html[data-theme="light"] .tz-handle,
html[data-theme="mist"] .tz-handle {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(236, 240, 244, 0.7));
  color: rgba(22, 28, 36, 0.88);
  border-color: rgba(28, 36, 48, 0.16);
}

.tz-scale {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

.tz-scale span:first-child { text-align: left; }
.tz-scale__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.2;
  text-align: center;
}
.tz-scale__current {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.tz-scale #tzOffsetNow {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.tz-scale span:last-child { text-align: right; }

.tz-poem {
  margin: 8px 2px 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-faint);
}

.tz-canvas {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  transition: transform 420ms ease;
}

.tz-world {
  width: 100%;
  height: 100%;
  display: block;
}

.tz-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tz-marker {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}

.tz-marker::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(186, 198, 214, 0.9);
  box-shadow: 0 0 0 1px rgba(12, 16, 22, 0.35);
}

.tz-marker.is-dim {
  opacity: 0.32;
}

.tz-marker.is-region::before,
.tz-marker.is-named::before,
.tz-marker.is-near::before {
  background: #5eead4;
}

.tz-marker.is-near {
  opacity: 1;
  z-index: 2;
}

.tz-marker.is-near::before {
  transform: scale(1.35);
}

.tz-marker.is-quiet {
  opacity: 0.28;
}

.tz-label {
  display: none;
  position: absolute;
  left: 16px;
  top: -2px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.78);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: rgba(244, 246, 248, 0.94);
  white-space: nowrap;
  pointer-events: none;
}

html[data-theme="mist"] .tz-label,
html[data-theme="light"] .tz-label {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(22, 28, 36, 0.92);
}

.tz-marker.is-flip .tz-label {
  left: auto;
  right: 16px;
}

.tz-marker.is-hot .tz-label,
.tz-marker.is-on .tz-label,
.tz-marker.is-named .tz-label,
.tz-marker:focus-visible .tz-label {
  display: block;
}

.tz-marker.is-on {
  z-index: 3;
}

.tz-marker.is-on .tz-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: 10px;
  padding: 4px 7px;
}

.tz-label small {
  font-size: 9px;
  letter-spacing: 0;
  opacity: 0.78;
}

.tz-marker.is-on::before {
  left: 4px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #67e8f9;
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.55), 0 0 0 8px rgba(167, 139, 250, 0.28);
  animation: tzDot 2.6s ease-in-out infinite;
}

.tz-focus {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 2px 0;
  font-size: 12px;
  color: var(--text-soft);
}

.tz-focus strong {
  color: var(--text);
  font-weight: 500;
}

.tz-regions {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.tz-regions::-webkit-scrollbar {
  display: none;
}

[data-seq] {
  opacity: calc(0.4 + var(--seq, 1) * 0.6);
  filter: blur(calc((1 - var(--seq, 1)) * 1.4px));
}

.book.is-clear [data-seq]:not(.book-hinge) {
  opacity: 1;
  filter: none;
}

.book .book-hinge[data-seq] {
  opacity: calc(0.18 + var(--hinge, 0) * 0.26);
  filter: blur(calc((1 - var(--hinge, 0)) * 1.5px));
  transform: none;
}

.book.is-clear .book-hinge[data-seq] {
  opacity: 0.42;
  filter: none;
  transform: none;
}

@media (max-width: 1023px) {
  .book .book-hinge,
  .book .book-hinge[data-seq] {
    opacity: calc(0.14 + var(--hinge, 0) * 0.2);
  }

  .book.is-clear .book-hinge,
  .book.is-clear .book-hinge[data-seq] {
    opacity: 0.32;
    width: 100%;
  }
}

@media (max-width: 699px) {
  .book .book-hinge,
  .book .book-hinge[data-seq],
  .book.is-clear .book-hinge,
  .book.is-clear .book-hinge[data-seq] {
    width: 100%;
  }

  .book.is-clear .book-hinge,
  .book.is-clear .book-hinge[data-seq] {
    opacity: 0.26;
  }
}

.tz-ocean {
  fill: rgba(110, 140, 160, 0.07);
}

html[data-theme="dark"] .tz-ocean {
  fill: rgba(80, 120, 145, 0.14);
}

.tz-land {
  fill: rgba(150, 166, 184, 0.55);
  stroke: rgba(226, 234, 242, 0.55);
  stroke-width: 0.6;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 180ms ease, stroke 180ms ease;
}

html[data-theme="dark"] .tz-land {
  fill: rgba(176, 192, 210, 0.38);
  stroke: rgba(214, 226, 236, 0.42);
}

html[data-theme="mist"] .tz-land {
  fill: rgba(48, 64, 84, 0.5);
  stroke: rgba(28, 40, 56, 0.45);
}

html[data-theme="light"] .tz-land {
  fill: rgba(64, 82, 102, 0.5);
  stroke: rgba(36, 50, 66, 0.5);
}

html[data-theme="mist"] .tz-marker::before,
html[data-theme="light"] .tz-marker::before {
  background: rgba(42, 58, 76, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.tz-land.is-on,
.tz-land:hover {
  fill: rgba(45, 212, 191, 0.46);
  stroke: rgba(125, 211, 252, 0.8);
}

.tz-regions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 10px 0 8px;
  overflow-x: auto;
}

.tz-regions button,
.tz-list button {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--field-border);
  background: transparent;
  color: var(--text-soft);
  padding: 0 12px;
  font-size: 13px;
}

.tz-regions button[aria-pressed="true"] {
  color: var(--text);
  border-color: transparent;
  background:
    linear-gradient(var(--choice-selected), var(--choice-selected)) padding-box,
    var(--gradient) border-box;
}

.tz-panel input[type="search"] {
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--field-border);
  background: var(--choice);
  color: var(--text);
}

.tz-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow: auto;
}

.tz-list button {
  border-radius: 10px;
  text-align: left;
  width: 100%;
}

.tz-list button[aria-selected="true"] {
  color: var(--text);
  border-color: transparent;
  background:
    linear-gradient(var(--choice-selected), var(--choice-selected)) padding-box,
    var(--gradient) border-box;
}

.message-sheet__box {
  border-radius: 12px;
  border: 1px solid var(--field-border);
  background: var(--field);
  box-shadow: inset 0 1px 2px var(--field-inset);
  overflow: hidden;
}

.message-sheet__box textarea {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-height: 120px;
}

.request-letter {
  margin: 0;
  padding: 12px 12px 10px;
  border-bottom: 1px solid var(--field-border);
}

.request-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
}

.request-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}

.request-body.is-empty {
  color: var(--text-faint);
  font-size: 14px;
}

@keyframes tzPulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.35); }
  100% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
}

@keyframes tzDot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(103, 232, 249, 0.75), 0 0 0 5px rgba(167, 139, 250, 0.28); }
  50% { box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.4), 0 0 0 8px rgba(167, 139, 250, 0.08); }
}

@media (max-width: 699px) {
  .tz-stage {
    aspect-ratio: 2.35 / 1;
  }
}

@media (min-width: 760px) {
  .tz-stage {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .tz-regions {
    flex-wrap: wrap;
    overflow: visible;
  }

  .tz-map {
    margin-bottom: 8px;
  }
}

@media (max-width: 700px) {
  .request-body:not(.is-empty) {
    font-size: 14px;
  }
}

.folio-page,
.contact-sheet {
  border-radius: 22px;
  min-width: 0;
}

.contact-sheet {
  width: min(1120px, 100%);
  margin: 28px auto 0;
  overflow: hidden;
  transform-origin: center top;
  transform: translateY(calc((1 - var(--p, 0)) * 22px)) scale(calc(0.985 + var(--p, 0) * 0.015));
  filter: blur(calc((1 - var(--p, 0)) * 5px));
  opacity: calc(0.62 + var(--p, 0) * 0.38);
}

.folio-page__content,
.confirm__content {
  position: relative;
  z-index: 1;
  padding: 16px 14px 18px;
}

.folio-page h2,
.confirm h2,
.portal-hero h1 {
  transform: translateY(calc((1 - var(--p, 1)) * 12px));
  filter: blur(calc((1 - var(--p, 1)) * 4px));
  opacity: calc(0.68 + var(--p, 1) * 0.32);
}

.book h2 {
  --p: calc(1 - var(--fold));
}

.folio-page h2,
.confirm h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.portal-hero,
.mode-block {
  transform: translateY(calc((1 - var(--p, 1)) * 14px));
  filter: blur(calc((1 - var(--p, 1)) * 4px));
  opacity: calc(0.7 + var(--p, 1) * 0.3);
}

.mode-block {
  transform: scale(calc(0.97 + var(--p, 1) * 0.03));
}

[data-stagger] {
  transform: translateY(calc((1 - var(--sp, 1)) * 14px));
  opacity: calc(0.55 + var(--sp, 1) * 0.45);
  filter: blur(calc((1 - var(--sp, 1)) * 3px));
}

.is-clear,
.book.is-clear h2,
.contact-sheet.is-clear,
.portal-hero.is-clear,
.mode-block.is-clear,
.confirm.is-clear,
[data-stagger].is-clear {
  transform: none;
  filter: none;
  opacity: 1;
}

.confirm {
  filter: blur(calc((1 - var(--p, 1)) * 5px));
  opacity: calc(0.72 + var(--p, 1) * 0.28);
}

.when-quiet,
.hours-note,
.timezone-note,
.selection-hint,
.fine-print,
.privacy-line {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.hours-note,
.timezone-note {
  margin-bottom: 12px;
}

.selection-hint {
  min-height: 1.4em;
  margin-top: 12px;
}

.fine-print {
  margin-top: 8px;
}

.fine-print--pref {
  margin-top: 8px;
}

.choice-block + .choice-block {
  margin-top: 16px;
}

.field-label,
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
}

.optional {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--text-faint);
}

.cal-nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.cal-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--field-border);
  background: var(--choice);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.cal-nav__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.cal-nav__label {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

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

.cal-weekdays {
  margin-bottom: 4px;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
}

.cal-day {
  min-width: 0;
  min-height: 36px;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-faint);
  font-size: 13px;
  padding: 0;
}

.cal-day.is-empty {
  visibility: hidden;
}

.cal-day:disabled {
  opacity: 0.48;
  cursor: default;
}

html[data-theme="dark"] #themeDark,
html[data-theme="mist"] #themeMist,
html[data-theme="light"] #themeLight {
  background: var(--segment);
  color: var(--text);
}

.cal-day.is-open {
  background: var(--choice);
  border-color: var(--field-border);
  color: var(--text);
}

.cal-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px var(--text-faint);
}

.cal-day.is-selected,
.choice[aria-pressed="true"] {
  color: var(--text);
  border-color: transparent;
  background:
    linear-gradient(var(--choice-selected), var(--choice-selected)) padding-box,
    var(--gradient) border-box;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-row--time {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-row--stack {
  flex-direction: column;
}

.choice {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--field-border);
  background: var(--choice);
  color: var(--text-soft);
  text-align: center;
  font-size: 14px;
}

.choice-row--stack .choice {
  width: 100%;
  text-align: left;
}

.choice-row:not(.choice-row--time):not(.choice-row--stack) .choice {
  flex: 1 1 30%;
}

.field {
  margin-bottom: 14px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--field-border);
  background: var(--field);
  box-shadow: inset 0 1px 2px var(--field-inset);
  outline: none;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.5;
}

.field select {
  padding-right: 28px;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible,
.cal-day:focus-visible,
.choice:focus-visible,
.cal-nav__btn:focus-visible {
  outline: none;
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(45, 212, 191, 0.7),
    0 0 0 3px rgba(139, 124, 247, 0.22);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: #14b8a6;
}

.privacy-line {
  margin: 8px 0 16px;
}

.privacy-line a {
  color: var(--text);
  font-weight: 500;
}

.form-status {
  min-height: 1.3em;
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
}

.form-status.is-err {
  color: var(--status-err);
}

.form-issues {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--field-border);
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.form-issues__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.form-issues__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-issues__link {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.form-issues__link::before {
  content: "• ";
  color: var(--text-faint);
}

[data-field-key] {
  scroll-margin-top: 96px;
  scroll-margin-bottom: calc(var(--footer-h, 4.6rem) + 28px);
}

.is-field-alert {
  animation: fieldAlert 860ms ease;
}

@keyframes fieldAlert {
  0%, 100% { box-shadow: inset 0 1px 2px var(--field-inset); }
  42% { box-shadow: 0 0 0 2px rgba(214, 142, 118, 0.85), 0 0 14px rgba(214, 142, 118, 0.28); }
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.confirm {
  border-radius: 22px;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}

.confirm p {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 16px;
}

.confirm .submit {
  margin-top: 18px;
}

.portal-footer {
  --footer-h: 4.6rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  background: transparent;
  pointer-events: none;
  opacity: calc(0.72 + var(--p, 0.75) * 0.28);
  transform: translateY(calc((1 - var(--p, 0.75)) * 6px));
}

.portal-footer a {
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
}

.portal-footer a:hover,
.portal-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.portal-footer.is-settled {
  color: var(--text-soft);
  background: linear-gradient(180deg, transparent, var(--bg-veil));
}

.portal-footer p {
  margin: 0;
}

/* Sheen — desktop only, long rest between passes */

.sheen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.sheen::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 38%;
  left: 0;
  background: linear-gradient(100deg, transparent 10%, var(--sheen) 48%, rgba(103, 232, 249, 0.16) 58%, transparent 82%);
  transform: translate3d(-220%, 0, 0) skewX(-16deg);
  opacity: 0;
}

a:focus-visible,
button:focus-visible,
.enter-btn:focus-visible,
.submit:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  :root,
  html[data-theme="dark"],
  html[data-theme="light"] {
    --nav-h: 9.4rem;
  }
}

@media (max-width: 380px) {
  .portal-main {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .folio-page__content,
  .confirm__content {
    padding: 14px 12px 16px;
  }

  .nav-pill a,
  .theme-pill button {
    padding: 0 12px;
    font-size: 12.5px;
  }
}

@media (min-width: 390px) {
  .cal-day {
    min-height: 40px;
    font-size: 14px;
  }
}

@media (min-width: 480px) {
  .mode-switch {
    grid-template-columns: 1fr 1fr;
    border-radius: 999px;
  }

  .mode-option span {
    border-radius: 999px;
  }
}

@media (min-width: 760px) {
  :root,
  html[data-theme="dark"],
  html[data-theme="light"] {
    --nav-h: 5.6rem;
  }

  .topbar {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .nav-pill {
    position: absolute;
    left: 50%;
    top: calc(env(safe-area-inset-top) + 10px);
    transform: translateX(-50%);
  }

  .portal-footer {
    font-size: 13px;
  }

  .folio-page__content {
    padding: 22px 22px 24px;
  }
}

@media (min-width: 700px) {
  .book {
    --lower-angle: 106deg;
    --upper-blur: 1px;
  }

  .schedule-panel-right .choice-row--stack,
  .leaf--lower .choice-row--stack {
    flex-direction: row;
  }

  .schedule-panel-right .choice-row--stack .choice,
  .leaf--lower .choice-row--stack .choice {
    width: auto;
    flex: 1 1 0;
    text-align: center;
  }
}

@media (min-width: 820px) {
  .portal-footer {
    font-size: 13px;
    padding-top: 18px;
  }
}

@media (min-width: 1024px) {
  .orb {
    filter: blur(56px);
  }

  .orb-d,
  .orb-e {
    display: block;
  }

  .spark { display: block; }
  .s1 { top: 18%; left: 22%; }
  .s2 { top: 30%; left: 70%; }
  .s3 { top: 62%; left: 16%; }
  .s4 { top: 74%; left: 80%; }
  .s5 { top: 46%; left: 48%; }

  .sheen::before {
    animation: sheen 26s ease-in-out infinite;
  }

  .leaf--lower .sheen::before {
    animation-duration: 31s;
    animation-delay: 9s;
  }

  .portal-intro__card .sheen::before,
  .confirm .sheen::before {
    animation-duration: 24s;
    animation-delay: 4s;
  }

  .book {
    --lower-angle: 108deg;
    --upper-blur: 1.15px;
  }

  .portal-hero h1 {
    font-size: 2.6rem;
  }

  .portal-footer {
    font-size: 14px;
  }
}

.leaf--upper .cal-day {
  aspect-ratio: auto;
  height: 34px;
  min-height: 34px;
}

@keyframes hingePass {
  0% { opacity: 0; transform: scaleX(0.18); }
  40% { opacity: 0.95; }
  100% { opacity: 0; transform: scaleX(1); }
}

@keyframes leafAck {
  0%,
  100% { box-shadow: var(--panel-shadow), inset 0 1px 0 var(--glass-highlight); }
  40% { box-shadow: var(--panel-shadow), inset 0 0 0 1px rgba(45, 212, 191, 0.55); }
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.95) rotate(0deg); opacity: calc(0.48 * var(--breath)); }
  42% { transform: translate3d(11vw, -7vh, 0) scale(1.08) rotate(3deg); opacity: calc(0.66 * var(--breath)); }
  74% { transform: translate3d(-4vw, -12vh, 0) scale(1) rotate(-2deg); opacity: calc(0.52 * var(--breath)); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.02) rotate(0deg); opacity: calc(0.46 * var(--breath)); }
  36% { transform: translate3d(-9vw, 10vh, 0) scale(0.94) rotate(-4deg); opacity: calc(0.64 * var(--breath)); }
  68% { transform: translate3d(-3vw, 4vh, 0) scale(1.06) rotate(2deg); opacity: calc(0.5 * var(--breath)); }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.97) rotate(0deg); opacity: calc(0.5 * var(--breath)); }
  30% { transform: translate3d(8vw, -6vh, 0) scale(1.07) rotate(2deg); opacity: calc(0.62 * var(--breath)); }
  63% { transform: translate3d(14vw, 3vh, 0) scale(0.96) rotate(-3deg); opacity: calc(0.47 * var(--breath)); }
}
@keyframes drift-d {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: calc(0.44 * var(--breath)); }
  48% { transform: translate3d(7vw, -9vh, 0) scale(1.08) rotate(5deg); opacity: calc(0.6 * var(--breath)); }
  78% { transform: translate3d(-6vw, -3vh, 0) scale(0.95) rotate(-2deg); opacity: calc(0.5 * var(--breath)); }
}
@keyframes drift-e {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.04) rotate(0deg); opacity: calc(0.42 * var(--breath)); }
  40% { transform: translate3d(-8vw, 6vh, 0) scale(0.94) rotate(-3deg); opacity: calc(0.58 * var(--breath)); }
  72% { transform: translate3d(5vw, 11vh, 0) scale(1.06) rotate(2deg); opacity: calc(0.48 * var(--breath)); }
}

@media (max-width: 699px) {
  .orb { filter: blur(26px); }
  .orb-d, .orb-e { display: none; }
  .orb-a { animation-duration: 28s; }
  .orb-b { animation-duration: 34s; }
  .orb-c { animation-duration: 26s; }
}

@keyframes sheen {
  0%,
  70% {
    transform: translate3d(-220%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
  76% { opacity: 0.45; }
  88% {
    transform: translate3d(340%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
  100% {
    transform: translate3d(340%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
}

.schedule-folio-stage { position: relative; height: auto; }
.schedule-folio-sticky {
  position: sticky;
  top: max(108px, calc(50dvh - 300px + 8vh));
  z-index: 2;
  display: flex;
  justify-content: center;
}
.schedule-folio {
  --p: 0;
  --fold: 1;
  --fold-max: 24deg;
  --idle: 0deg;
  --open: 0;
  --focus: 0;
  width: min(1080px, 82vw);
  margin: 0 auto;
  padding: 36px 0 18px;
}
.schedule-book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr);
  align-items: stretch;
  height: clamp(340px, 36dvh, 400px);
  perspective: 1280px;
  transform-style: preserve-3d;
}
.schedule-page-slot {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 18px;
  transform-style: preserve-3d;
}
.schedule-panel {
  position: relative;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--glass-border);
  backface-visibility: hidden;
}
.schedule-panel-left {
  z-index: 2;
  transform-origin: right center;
  transform: rotateY(calc(var(--fold) * var(--fold-max) + var(--idle)));
  box-shadow: calc(var(--fold) * -18px) 16px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 var(--glass-highlight);
}
.schedule-panel-right {
  transform-origin: left center;
  transform: rotateY(calc((var(--fold) * var(--fold-max) + var(--idle)) * -1));
  box-shadow: calc(var(--fold) * 18px) 16px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 var(--glass-highlight);
}
.schedule-leaf-content {
  height: 100%;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: auto;
  padding: 16px 18px 20px;
  filter: blur(calc(var(--fold) * 7px));
  opacity: calc(0.66 + (1 - var(--fold)) * 0.34);
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 232, 249, 0.35) transparent;
  -webkit-overflow-scrolling: touch;
}
.schedule-leaf-content::-webkit-scrollbar { width: 5px; }
.schedule-leaf-content::-webkit-scrollbar-thumb {
  background: rgba(103, 232, 249, 0.35);
  border-radius: 99px;
}
.schedule-folio.is-clear .schedule-leaf-content { filter: none; opacity: 1; }
.schedule-folio.is-readable .schedule-leaf-content { pointer-events: auto; }
.schedule-leaf-content h2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.schedule-leaf-content .hours-note,
.schedule-leaf-content .fine-print,
.schedule-leaf-content .field-label,
.schedule-leaf-content .other-hour__label {
  font-size: 12px;
}
.schedule-leaf-content .choice-row { gap: 6px; }
.schedule-leaf-content .choice {
  min-height: 36px;
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 10px;
}
.schedule-leaf-content .cal-day {
  min-height: 30px;
  font-size: 12px;
  border-radius: 8px;
}
.schedule-leaf-content .cal-nav__label { font-size: 14px; }
.schedule-leaf-content .cal-weekdays { font-size: 10px; margin-bottom: 2px; }
.schedule-hinge {
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(103, 232, 249, 0.75), rgba(45, 212, 191, 0.55), rgba(167, 139, 250, 0.7), transparent);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.22);
  opacity: calc(0.16 + var(--fold) * 0.7);
}
.schedule-folio.is-hello .schedule-hinge {
  filter: brightness(1.28);
}
.schedule-folio-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(0.2 + var(--fold) * 0.42);
  filter: blur(calc(var(--fold) * 6px));
}
.schedule-folio.is-clear .schedule-folio-glare { filter: none; }
.schedule-folio-glare i {
  position: absolute;
  top: -35%;
  left: 0;
  width: 48%;
  height: 170%;
  background: linear-gradient(112deg, transparent 22%, rgba(103, 232, 249, 0.42) 44%, rgba(45, 212, 191, 0.32) 54%, rgba(167, 139, 250, 0.36) 64%, transparent 82%);
  opacity: 0.16;
  transform: translate3d(-170%, 6%, 0);
  animation: scheduleFolioGlare 12.5s ease-in-out infinite;
  pointer-events: none;
}
.schedule-panel-right .schedule-folio-glare i { animation-duration: 15s; animation-delay: 3.4s; }
@keyframes scheduleFolioGlare {
  0%, 60% { transform: translate3d(-170%, 8%, 0); opacity: 0; }
  68% { opacity: 0.28; }
  84%, 100% { transform: translate3d(250%, -8%, 0); opacity: 0; }
}
.schedule-folio.is-clear .schedule-folio-cue { display: none; }
.schedule-folio-cue {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: calc(var(--fold) * 0.84);
}
.schedule-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  height: 16px;
  font-size: 11px;
  color: var(--text-faint);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.schedule-page-slot > .schedule-scroll-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  margin: 0;
  pointer-events: none;
}
@media (max-width: 699px),
       (max-width: 1099px) and (orientation: portrait),
       (max-height: 520px) and (orientation: landscape) and (max-width: 999px) {
  .schedule-folio {
    width: min(84vw, 760px);
    margin-left: auto;
    margin-right: auto;
    --fold-max: 18deg;
    --zoom: calc(0.88 + (1 - var(--fold)) * 0.04);
    padding: 26px 0 28px;
    transform: scale(var(--zoom));
    transform-origin: center top;
  }
  .schedule-folio-sticky { top: max(92px, 10dvh); }
  .schedule-book {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    perspective: 860px;
    gap: 0;
    transform-style: preserve-3d;
  }
  .schedule-page-slot {
    height: auto;
    padding-bottom: 0;
    transform-style: preserve-3d;
  }
  .schedule-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: min(28dvh, 260px);
    max-height: min(28dvh, 260px);
  }
  .schedule-leaf-content {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    padding-bottom: 16px;
  }
  .schedule-panel-left {
    transform-origin: center bottom;
    transform: rotateX(calc((var(--fold) * var(--fold-max) + var(--idle) + var(--tilt, 0deg)) * -1));
    margin-bottom: 0;
    box-shadow:
      0 calc(var(--fold) * 14px) 22px rgba(0, 0, 0, 0.18),
      inset 0 -16px 20px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 var(--glass-highlight);
  }
  .schedule-panel-right {
    transform-origin: center top;
    transform: rotateX(calc(var(--fold) * var(--fold-max) + var(--idle) + var(--tilt, 0deg)));
    margin-top: 0;
    box-shadow:
      0 calc(var(--fold) * -14px) 22px rgba(0, 0, 0, 0.18),
      inset 0 16px 20px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 var(--glass-highlight);
  }
  .schedule-hinge {
    position: relative;
    z-index: 6;
    flex: 0 0 14px;
    width: 100%;
    height: 14px;
    margin: 0;
    align-self: stretch;
    pointer-events: none;
    background: transparent;
    box-shadow: none;
    opacity: 1;
  }
  .schedule-hinge::before,
  .schedule-hinge::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    pointer-events: none;
  }
  .schedule-hinge::before {
    width: 34%;
    height: 9px;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.78), rgba(45, 212, 191, 0.58), rgba(167, 139, 250, 0.72), transparent);
    filter: blur(3px);
    opacity: calc(0.84 + (1 - var(--fold)) * 0.16);
  }
  .schedule-hinge::after {
    width: 30%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.96), rgba(45, 212, 191, 0.9), rgba(196, 181, 253, 0.94), transparent);
    box-shadow:
      0 0 1px rgba(224, 242, 254, 0.95),
      0 0 8px rgba(45, 212, 191, 0.62),
      0 0 14px rgba(167, 139, 250, 0.4);
    opacity: calc(0.9 + (1 - var(--fold)) * 0.1);
  }
  .schedule-folio-cue {
    position: static;
    bottom: auto;
    margin: 20px 0 0;
  }
  .schedule-page-slot:first-child > .schedule-scroll-hint {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: calc(100% + 6px);
    width: 100%;
    height: 16px;
    margin: 0;
    transform: none;
    opacity: 0.72;
  }
  .schedule-page-slot:last-child > .schedule-scroll-hint {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    bottom: auto;
    width: 100%;
    height: 16px;
    margin: 0;
    transform: none;
    opacity: 0.72;
  }
  .tz-sheet,
  .portal-hero,
  .confirm {
    transform: translateY(calc((1 - var(--p, 1)) * 14px)) scale(calc(0.985 + var(--p, 1) * 0.015));
  }
  .tz-sheet.is-clear,
  .contact-sheet.is-clear,
  .portal-hero.is-clear,
  .confirm.is-clear {
    transform: none;
  }
}
.schedule-scroll-hint[hidden] { display: none !important; }
.schedule-scroll-hint__phrase { display: none; }
.schedule-scroll-hint.is-start .schedule-scroll-hint__phrase--start,
.schedule-scroll-hint.is-middle .schedule-scroll-hint__phrase--middle,
.schedule-scroll-hint.is-end .schedule-scroll-hint__phrase--end { display: inline; }
.schedule-scroll-hint__arrow { opacity: 0; }
.schedule-scroll-hint.is-start .schedule-scroll-hint__down,
.schedule-scroll-hint.is-middle .schedule-scroll-hint__arrow,
.schedule-scroll-hint.is-end .schedule-scroll-hint__up { opacity: 0.85; }
.schedule-scroll-hint--vertical.is-start .schedule-scroll-hint__down { order: -1; }
.schedule-scroll-hint--vertical.is-end .schedule-scroll-hint__up { order: -1; }
.tz-sheet {
  width: min(1120px, 100%);
  margin: 28px auto 0;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--glass-border);
  box-shadow: var(--panel-shadow), inset 0 1px 0 var(--glass-highlight);
  transform: translateY(calc((1 - var(--p, 1)) * 16px));
  filter: blur(calc((1 - var(--p, 1)) * 4px));
  opacity: calc(0.78 + var(--p, 1) * 0.22);
}
.tz-sheet.is-clear {
  transform: none;
  filter: none;
  opacity: 1;
}
@media (max-width: 699px) {
  .schedule-folio-sticky { top: max(78px, calc(34dvh - 72px)); }
  .schedule-folio {
    width: calc(100vw - 36px);
    --fold-max: 16deg;
    --zoom: calc(0.84 + (1 - var(--fold)) * 0.07);
  }
  .schedule-book { perspective: 720px; gap: 0; }
  .schedule-panel {
    height: min(28dvh, 220px);
    max-height: min(28dvh, 220px);
  }
  .schedule-folio.is-readable .schedule-panel {
    display: flex;
    flex-direction: column;
  }
  .schedule-folio.is-readable .schedule-leaf-content {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }
  .tz-sheet { margin-top: 52px; }
  .portal-main {
    padding-bottom: calc(var(--footer-h, 4.6rem) + 72px + env(safe-area-inset-bottom));
  }
  html {
    scroll-padding-bottom: calc(var(--footer-h, 4.6rem) + 72px + env(safe-area-inset-bottom));
  }
  .portal-footer {
    bottom: 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .tz-sun,
  .tz-moon,
  #tzSun,
  #tzMoon {
    width: 12px;
    height: 12px;
    max-width: 12px;
    max-height: 12px;
    margin: 0;
  }
  .schedule-folio.is-readable .schedule-folio-cue { display: none; }
}
@media (max-width: 699px) and (max-height: 820px) {
  .portal-main {
    padding-top: calc(env(safe-area-inset-top) + 64px);
  }
  .portal-hero { margin-bottom: 8px; }
  .portal-lead { margin-top: 4px; }
  .portal-secondary { margin-top: 2px; }
  .schedule-folio {
    padding-top: 4px;
    padding-bottom: 52px;
  }
  .schedule-folio-cue { margin-top: 24px; }
}
@media (max-height: 520px) and (orientation: landscape) and (max-width: 999px) {
  .schedule-folio {
    width: calc(100vw - 36px);
    --fold-max: 16deg;
    --zoom: calc(0.84 + (1 - var(--fold)) * 0.07);
  }
  .schedule-panel {
    height: min(34dvh, 180px);
    max-height: min(34dvh, 180px);
  }
}
@media (min-width: 700px) and (max-width: 1099px) and (orientation: portrait) {
  .schedule-folio {
    width: min(80vw, 720px);
    --fold-max: 18deg;
    --zoom: calc(0.88 + (1 - var(--fold)) * 0.04);
  }
  .schedule-book { perspective: 900px; }
  .schedule-hinge { flex-basis: 18px; height: 18px; }
  .schedule-panel {
    height: min(26dvh, 240px);
    max-height: min(26dvh, 240px);
  }
  .schedule-page-slot > .schedule-scroll-hint { margin-top: 12px; }
  .portal-main {
    padding-bottom: calc(var(--footer-h, 4.6rem) + 80px + env(safe-area-inset-bottom));
  }
  .portal-footer {
    bottom: 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .tz-sheet { margin-top: 40px; width: min(88vw, 860px); }
  #tzSun,
  #tzMoon {
    width: 14px;
    height: 14px;
    max-width: 14px;
    max-height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-field-alert {
    animation: none;
    box-shadow: 0 0 0 2px rgba(214, 142, 118, 0.85);
  }

  .portal-intro.is-leaving,
  .portal-intro__line span,
  .other-reveal {
    transition: none;
  }

  .orb,
  .sheen::before,
  .hinge-pulse,
  .tz-canvas,
  .tz-marker.is-on::before,
  .tz-sun,
  .tz-moon,
  .tz-handle {
    animation: none !important;
    transition: none !important;
  }

  .tz-canvas {
    transform: none !important;
    transition: none;
  }

  .book {
    --fold: 0;
  }

  .book-hinge,
  .book .book-hinge[data-seq],
  .book.is-clear .book-hinge,
  .book.is-clear .book-hinge[data-seq] {
    margin-top: 8px !important;
    opacity: 0.32 !important;
    filter: none !important;
    transform: none !important;
    box-shadow: 0 0 6px rgba(45, 212, 191, 0.14);
  }

  .book-stage,
  .schedule-folio-stage {
    height: auto !important;
  }

  .book-sticky,
  .schedule-folio-sticky {
    position: relative;
    top: auto;
  }

  .schedule-folio {
    --p: 1;
    --open: 1;
    --focus: 1;
    --fold: 0;
  }

  .schedule-book,
  .schedule-panel-left,
  .schedule-panel-right,
  .schedule-folio-cue,
  .schedule-leaf-content,
  .schedule-folio-glare {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .schedule-leaf-content { pointer-events: auto !important; }
  .schedule-folio-glare { pointer-events: none !important; }
  .schedule-folio-glare i { animation: none !important; opacity: 0.22; }
  .schedule-folio-cue { display: none; }

  .leaf,
  .leaf--upper,
  .leaf--lower,
  .book-hinge,
  .portal-hero,
  .mode-block,
  .tz-sheet,
  .contact-sheet,
  .confirm,
  .portal-footer,
  [data-stagger],
  .choice-block,
  .folio-page h2,
  .portal-hero h1 {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .leaf--lower {
    margin-top: 0 !important;
  }

  .book-cue {
    display: none;
  }
}

html.is-paused .orb,
html.is-paused .sheen::before,
html.is-paused .schedule-folio-glare i,
.is-offscreen .sheen::before,
.is-offscreen .schedule-folio-glare i {
  animation-play-state: paused;
}

html.is-safari .folio-page,
html.is-safari .portal-intro__card,
html.is-safari .confirm,
html.is-safari .nav-pill,
html.is-safari .theme-pill {
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
}

[data-press-group] > button,
[data-press-group] > a,
[data-press-solo],
.cal-day.is-open,
.tz-list button {
  transform-origin: center center;
  transition: transform 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  [data-press-group] > button:hover,
  [data-press-group] > a:hover,
  [data-press-solo]:hover,
  .cal-day.is-open:hover,
  .tz-list button:hover {
    transform: scale(1.02);
  }

  [data-press-group] > button:disabled:hover,
  [data-press-group] > a:disabled:hover,
  .cal-day:disabled:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-press-group] > button,
  [data-press-group] > a,
  [data-press-solo],
  .cal-day.is-open,
  .tz-list button,
  .tz-marker {
    transition: none;
    transform: none;
  }
}
