/* PremierOS base.css
   Tokens, reset, type, glass scrollbars, the app shell and the background fallback. */

:root {
  --bg: #040C0E;
  --bg-2: #071417;
  --premier: #12343B;
  --premier-2: #1B4B55;
  --premier-3: #2C6F7C;
  --premier-4: #5FA7B4;
  --sea: #8EC7B8;
  --gold: #C4A045;
  --fg: #F3F3F3;
  --fg-2: #A9B7B9;
  --fg-3: #809295;
  --line: rgba(243,243,243,.09);
  --line-2: rgba(243,243,243,.16);
  --glass: rgba(6,20,24,.58);
  --glass-2: rgba(9,28,33,.76);
  --glass-hi: rgba(255,255,255,.035);
  --ok: #7FD4A8;  --warn: #E9C46A;  --bad: #F2867D;  --info: #7CC4E4;
  --ch-whatsapp: #3DDC84; --ch-messenger: #6AA8FF; --ch-email: #8EC7B8; --ch-sms: #C9B6FF; --ch-instagram: #F08BB0; --ch-call: #E9C46A;
  --r-btn: 2px;  --r-sm: 8px;  --r: 14px;  --r-lg: 20px;  --r-pill: 100px;
  --font-sans: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);  --ease-out: cubic-bezier(.16,1,.3,1);

  /* derived */
  --side-w: 248px;
  --rail-w: 72px;
  --topbar-h: 56px;
  --tabbar-h: 62px;
  --blur: blur(18px) saturate(1.2);
  --shadow: 0 24px 48px -28px rgba(0,0,0,.8), 0 2px 8px -4px rgba(0,0,0,.4);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.85), 0 8px 24px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- reset */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--fg);
  font: 400 14px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-feature-settings: "cv11" 1, "ss03" 1;
}
body { min-height: 100vh; background: transparent; overflow-x: hidden; }
html.has-overlay, html.has-overlay body { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
svg.icon { flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
hr { border: 0; height: 1px; background: var(--line); margin: 20px 0; }
[hidden] { display: none !important; }
::selection { background: rgba(95,167,180,.38); color: var(--fg); }

:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* --------------------------------------------- glass scrollbars, everywhere */

* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
*:hover { scrollbar-color: rgba(255,255,255,.22) transparent; }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.14));
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.05);
  background-clip: padding-box;
  transition: background .3s ease;
}
:hover::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.22)); }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }
::-webkit-scrollbar-corner { background: transparent; }

/* ------------------------------------------------------------------ type */

.mono, .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.num, .tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }
.sq {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  background: currentColor;
  transition: transform .45s var(--ease-out), opacity .3s var(--ease), background-color .3s var(--ease);
}
.h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--fg);
  text-wrap: balance;
}
.h1__main { color: var(--fg); }
.h1__muted { display: block; color: var(--fg-2); }
.h2 { font-size: 22px; line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; color: var(--fg); }
.h3 { font-size: 16px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.eyebrow .sq { color: var(--sea); }
.eyebrow--sm { font-size: 10px; gap: 8px; }
.eyebrow--sm .sq { width: 5px; height: 5px; }

/* ------------------------------------------------------------ background */

#bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 84% 6%, rgba(27,75,85,.55), rgba(18,52,59,.18) 45%, transparent 72%),
    radial-gradient(70% 60% at 8% 100%, rgba(2,6,8,.9), transparent 70%),
    var(--bg);
}

/* No WebGL: layered Premier blues behind a rib pattern, drifting slowly (40 s). */
html.no-webgl #bg {
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 5px, rgba(0,0,0,.34) 6px, rgba(0,0,0,.34) 7px, rgba(255,255,255,0) 8px),
    radial-gradient(38% 46% at 50% 50%, rgba(95,167,180,.30), rgba(44,111,124,.16) 42%, transparent 70%),
    radial-gradient(42% 52% at 50% 50%, rgba(44,111,124,.34), rgba(18,52,59,.2) 48%, transparent 72%),
    radial-gradient(60% 70% at 50% 50%, rgba(18,52,59,.55), transparent 70%),
    var(--bg);
  background-size: 100% 8px, 120% 140%, 140% 150%, 170% 170%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: 0 0, 92% 4%, 70% 30%, 100% 0%, 0 0;
  animation: pos-bg-drift 40s ease-in-out infinite;
}
@keyframes pos-bg-drift {
  0%, 100% { background-position: 0 0, 92% 4%, 70% 30%, 100% 0%, 0 0; }
  33%      { background-position: 0 0, 72% 22%, 86% 8%, 80% 20%, 0 0; }
  66%      { background-position: 0 0, 98% 30%, 58% 18%, 100% 30%, 0 0; }
}
html[data-bg="off"] #bg {
  animation: none;
  background:
    radial-gradient(90% 70% at 84% 6%, rgba(18,52,59,.6), transparent 70%),
    var(--bg);
}

/* ------------------------------------------------------------------ shell */

.shell { min-height: 100vh; }

.side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--side-w);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 14px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(4,12,14,.74), rgba(4,12,14,.58));
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  border-right: 1px solid var(--line);
}
.side__top { padding: 0 8px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  border-radius: var(--r-btn);
}
.brand__name { font-size: 17px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.brand__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  line-height: 1;
  padding: 3px 5px 3px 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  color: var(--sea);
}
.mark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 20px;
  height: 20px;
  flex: none;
}
.mark i {
  display: block;
  width: 15px;
  height: 3px;
  border-radius: 1px;
  background: var(--fg);
  transition: transform .6s var(--ease-out), opacity .4s var(--ease);
}
.mark i:nth-child(2) { background: var(--sea); transform: translateX(2.5px); }
.mark i:nth-child(3) { background: var(--premier-4); opacity: .75; transform: translateX(5px); }
.brand:hover .mark i:nth-child(2) { transform: translateX(0); }
.brand:hover .mark i:nth-child(3) { transform: translateX(0); opacity: 1; }

.side__coords {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--fg-3);
  white-space: nowrap;
}

.nav { position: relative; display: flex; flex-direction: column; gap: 2px; }
.nav__ind {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  border-radius: var(--r-btn);
  background: linear-gradient(90deg, rgba(142,199,184,.10), rgba(243,243,243,.035) 60%, rgba(243,243,243,.02));
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease-out), height .5s var(--ease-out), opacity .3s var(--ease);
}
.nav__ind::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--sea);
  box-shadow: 0 0 10px rgba(142,199,184,.7);
}
.nav__ind.no-anim, .tabbar__ind.no-anim { transition: none; }

.nav__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 10px 0 14px;
  border-radius: var(--r-btn);
  color: var(--fg-2);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__item:hover { color: var(--fg); background: rgba(243,243,243,.025); }
.nav__item.is-active { color: var(--fg); background: transparent; }
.nav__icon { display: none; color: inherit; }
.nav__item--foot { gap: 10px; }
.nav__item--foot .nav__icon { display: inline-flex; color: var(--fg-3); transition: color .25s var(--ease), transform .6s var(--ease-out); }
.nav__item--foot:hover .nav__icon, .nav__item--foot.is-active .nav__icon { color: var(--sea); transform: rotate(60deg); }
.nav__item--foot.is-active {
  background: linear-gradient(90deg, rgba(142,199,184,.10), rgba(243,243,243,.035) 60%, rgba(243,243,243,.02));
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav__item--foot.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--sea);
  box-shadow: 0 0 10px rgba(142,199,184,.7);
}
.nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--fg-3);
  width: 16px;
  transition: color .25s var(--ease);
}
.nav__item.is-active .nav__idx { color: var(--sea); }
.nav__label { flex: 1; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__badge, .tabbar__badge {
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--sea);
  background: rgba(142,199,184,.12);
  box-shadow: inset 0 0 0 1px rgba(142,199,184,.24);
}

.side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.conn { padding: 0 8px; }
.conn__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.conn__head .sq { width: 5px; height: 5px; color: var(--fg-3); }
.conn__list { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.conn__row {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 24px;
  padding: 0 4px;
  margin: 0 -4px;
  border-radius: var(--r-btn);
  font-size: 12.5px;
  color: var(--fg-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.conn__row:hover { background: rgba(243,243,243,.03); color: var(--fg); }
.conn__label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conn__mode {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.conn__row--live .conn__mode { color: var(--ok); }
.conn__row--demo .conn__mode { color: var(--gold); }
.conn__row--error .conn__mode { color: var(--bad); }
.conn__row--optional .conn__mode { color: var(--fg-3); }
.conn__empty { font-size: 12px; color: var(--fg-3); padding: 2px 0; }

.dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  background: var(--fg-3);
}
.dot--live { background: var(--ok); box-shadow: 0 0 8px rgba(127,212,168,.55); }
.dot--demo { background: var(--gold); box-shadow: 0 0 8px rgba(196,160,69,.4); }
.dot--error { background: var(--bad); box-shadow: 0 0 8px rgba(242,134,125,.5); }
.dot--optional { background: transparent; box-shadow: inset 0 0 0 1px var(--fg-3); }
.dot--live::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  animation: pos-pulse 2.4s var(--ease-out) infinite;
}

.side__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  padding: 8px 8px 0;
  border-top: 1px solid var(--line);
}
.side__ver {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}
.side__signout {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 6px;
  margin-right: -6px;
  border-radius: var(--r-btn);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.side__signout .icon { transition: transform .45s var(--ease-out); }
.side__signout:hover { color: var(--fg); background: rgba(243,243,243,.04); }
.side__signout:hover .icon { transform: translateX(2px); color: var(--sea); }

.main { margin-left: var(--side-w); min-height: 100vh; min-width: 0; }
.main__inner { max-width: 1360px; margin: 0 auto; padding: 28px 32px 64px; }

.topbar, .tabbar { display: none; }

/* ------------------------------------------------------------ page frame */

.page { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.page > * { min-width: 0; }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.page-head__text { flex: 1 1 520px; min-width: 0; text-shadow: 0 1px 18px rgba(2,8,10,.55); }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head__meta { margin-top: 16px; max-width: 64ch; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.page-head__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* route level loading skeleton and building state */
.route-skel { display: flex; flex-direction: column; gap: 20px; opacity: 0; animation: pos-fade .3s var(--ease) .12s forwards; }
.route-skel__head { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.route-skel__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

/* ----------------------------------------------------------------- login */

.login {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.login__card { width: min(420px, 100%); padding: 28px 28px 0; }
.login__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 44px; color: var(--fg); }
.login .eyebrow { margin-bottom: 16px; }
.login__title { font-size: 34px; }
.login__form { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.login__submit { --btn-h: 40px; width: 100%; margin-top: 4px; }
.login__submit .btn__main { flex: 1; }
.login__error { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--bad); }
.login__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 30px -28px 0;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
@media (max-width: 759px) {
  .login__card { padding: 24px 20px 0; }
  .login__foot { margin: 26px -20px 0; padding: 14px 20px; }
  .login__title { font-size: 30px; }
}

/* ---------------------------------------------------------------- tablet */

@media (min-width: 760px) and (max-width: 1099px) {
  .side { width: var(--rail-w); padding: 18px 10px 14px; gap: 18px; align-items: center; }
  .side__top { padding: 0; display: flex; justify-content: center; }
  .brand__name, .brand__tag, .side__coords { display: none; }
  .nav { width: 100%; }
  .nav__item { justify-content: center; padding: 0; height: 44px; }
  .nav__ind { height: 44px; }
  .nav__icon { display: inline-flex; }
  .nav__idx, .nav__label { display: none; }
  .nav__badge {
    position: absolute;
    top: 4px;
    right: 6px;
    min-width: 16px;
    height: 15px;
    padding: 0 4px;
    font-size: 9px;
  }
  .side__foot { width: 100%; align-items: center; }
  .side__foot > .nav__item { align-self: stretch; width: 100%; height: 44px; justify-content: center; }
  .conn { padding: 0; }
  .conn__head { display: none; }
  .conn__list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px; width: 48px; }
  .conn__row { width: 14px; height: 14px; padding: 0; margin: 0; justify-content: center; }
  .conn__label, .conn__mode { display: none; }
  .conn__empty { display: none; }
  .side__meta { flex-direction: column; gap: 4px; width: 100%; min-height: 0; padding: 8px 0 0; }
  .side__ver { font-size: 8.5px; letter-spacing: .08em; text-align: center; }
  .side__ver span { display: none; }
  .side__signout { justify-content: center; width: 36px; height: 30px; padding: 0; margin: 0; }
  .side__signout-label { display: none; }
  .main { margin-left: var(--rail-w); }
  .main__inner { padding: 24px 24px 56px; }
}

/* ---------------------------------------------------------------- mobile */

@media (max-width: 759px) {
  /* Anchor jumps and scrollIntoView land below the sticky topbar, not under it. */
  html { scroll-padding-top: calc(var(--topbar-h) + env(safe-area-inset-top, 0px) + 12px); }
  .side { display: none; }
  .main { margin-left: 0; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }
  .main__inner { padding: 16px 16px 32px; }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--topbar-h);
    padding: 0 8px 0 16px;
    padding-top: env(safe-area-inset-top, 0px);
    background: linear-gradient(180deg, rgba(4,12,14,.86), rgba(4,12,14,.66));
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    backdrop-filter: blur(20px) saturate(1.15);
    border-bottom: 1px solid var(--line);
  }
  .topbar__title {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar__settings {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-btn);
    color: var(--fg-2);
    transition: color .2s var(--ease), background-color .2s var(--ease);
  }
  .topbar__settings:hover, .topbar__settings.is-active { color: var(--fg); background: rgba(243,243,243,.04); }
  .topbar__dot { position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
  .topbar__dot--live { background: var(--ok); }
  .topbar__dot--error { background: var(--bad); }
  /* The demo never connects a tool, so the gear's dot would ask for attention on every screen. */
  html[data-demo="1"] .topbar__dot { display: none; }

  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: linear-gradient(180deg, rgba(4,12,14,.72), rgba(4,12,14,.9));
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    backdrop-filter: blur(20px) saturate(1.15);
    border-top: 1px solid var(--line);
  }
  .tabbar__ind {
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sea);
    box-shadow: 0 0 10px rgba(142,199,184,.8);
    opacity: 0;
    transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s var(--ease);
  }
  .tabbar__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    color: var(--fg-3);
    transition: color .25s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar__item.is-active { color: var(--fg); }
  .tabbar__icon { position: relative; display: inline-flex; }
  .tabbar__label {
    max-width: 100%;
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tabbar__badge {
    position: absolute;
    top: -6px;
    left: 12px;
    min-width: 15px;
    height: 14px;
    padding: 0 4px;
    font-size: 8.5px;
    background: rgba(9,28,33,.95);
  }
  .tabbar__more { width: 100%; height: 100%; font: inherit; }
  .tabbar__more:focus-visible, .tabbar__item:focus-visible { outline: 2px solid var(--sea); outline-offset: -4px; border-radius: var(--r-btn); }
  .tabbar__dot {
    position: absolute;
    top: -2px;
    right: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sea);
    box-shadow: 0 0 0 2px rgba(4,12,14,.95), 0 0 8px rgba(142,199,184,.7);
  }

  .h1 { font-size: 32px; }
  .page-head { flex-direction: column; align-items: stretch; padding-top: 4px; }
  .page-head__text { flex: 1 1 auto; }
  .page-head .eyebrow { margin-bottom: 14px; }
  .page-head__meta { font-size: 14px; }
  .route-skel__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- motion */

@keyframes pos-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pos-pulse {
  0% { transform: scale(.6); opacity: .9; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  html.no-webgl #bg { animation: none !important; }
}
