:root {
  color-scheme: light;
  --asset-theme-brand: #02756c;
  --asset-theme-brand-hover: #015e57;
  --asset-theme-accent: #02756c;
  --asset-theme-accent-ink: #065952;
  --asset-theme-accent-soft: #e1f3ed;
  --asset-theme-accent-hover: #d2ebe3;
  --asset-theme-danger-ink: #8a453e;
  --asset-theme-danger-soft: #f7eae7;
  --asset-theme-danger-hover: #f0ded9;
  --asset-theme-danger-border: #d8aea5;
  --asset-theme-canvas: #f2f8f6;
  --asset-theme-surface: #fff;
  --asset-theme-surface-subtle: #edf6f3;
  --asset-theme-text: #142f2d;
  --asset-theme-text-muted: #496660;
  --asset-theme-border: #d4e4de;
  --asset-theme-series-1: #02756c;
  --asset-theme-series-2: #218c7d;
  --asset-theme-series-3: #6aa394;
  --asset-theme-series-4: #93bfb2;
  --asset-theme-series-5: #405b57;
}
:root[data-theme="night"] {
  color-scheme: dark;
  --asset-theme-brand: #02756c;
  --asset-theme-brand-hover: #06675f;
  --asset-theme-accent: #63d6bc;
  --asset-theme-accent-ink: #8debd3;
  --asset-theme-accent-soft: #113c35;
  --asset-theme-accent-hover: #18493f;
  --asset-theme-danger-ink: #eeb8ad;
  --asset-theme-danger-soft: #382826;
  --asset-theme-danger-hover: #462e2a;
  --asset-theme-danger-border: #704942;
  --asset-theme-canvas: #0b1918;
  --asset-theme-surface: #112422;
  --asset-theme-surface-subtle: #16302c;
  --asset-theme-text: #e7f4ef;
  --asset-theme-text-muted: #aec7bf;
  --asset-theme-border: #2b4540;
  --asset-theme-series-1: #38aa93;
  --asset-theme-series-2: #55bda5;
  --asset-theme-series-3: #86b8ab;
  --asset-theme-series-4: #b7d7d0;
  --asset-theme-series-5: #8b9792;
}
:root[data-theme-changing] *,
:root[data-theme-changing] *::before,
:root[data-theme-changing] *::after { transition-property: none !important; }
.theme-picker { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--asset-theme-border); border-radius: .5rem; background: var(--asset-theme-surface-subtle); white-space: nowrap; }
.theme-picker button { padding: .37rem .52rem; border: 0; border-radius: .35rem; background: transparent; color: var(--asset-theme-text); font: inherit; font-size: .79rem; line-height: 1.15; cursor: pointer; }
.theme-picker button[aria-pressed="true"] { background: var(--asset-theme-accent-soft); color: var(--asset-theme-accent-ink); font-weight: 700; box-shadow: 0 1px 2px #00110f15; }
.portal-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 66% 52%; pointer-events: none; }
.video-toggle { position: absolute; z-index: 3; right: clamp(.8rem, 2vw, 1.45rem); bottom: .85rem; padding: .38rem .64rem; border: 1px solid #b9eee163; border-radius: .38rem; color: #e9f9f4; background: #062925bd; font: inherit; font-size: .8rem; cursor: pointer; }
.video-toggle:hover { background: #0c4139; }
