/*
 * Bigroll Portal v4.4.0 — Lucian UX/UI Interactive Library Integration
 * Lucian UX/UI Prompt #002 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#002
 * Lucian UX/UI Prompt #003 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#003
 * Lucian UX/UI Prompt #005 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#005
 * Lucian UX/UI Prompt #008 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#008
 * Lucian UX/UI Prompt #013 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#013
 * Lucian UX/UI Prompt #026 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#026
 * Lucian UX/UI Prompt #032 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#032
 * Lucian UX/UI Prompt #036 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#036
 * Lucian UX/UI Prompt #039 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#039
 * Lucian UX/UI Prompt #041 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#041
 * Lucian UX/UI Prompt #046 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#046
 * Lucian UX/UI Prompt #062 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#062
 * Lucian UX/UI Prompt #070 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#070
 * Lucian UX/UI Prompt #083 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#083
 * Lucian UX/UI Prompt #088 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#088
 * Lucian UX/UI Prompt #092 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#092
 * Lucian UX/UI Prompt #098 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#098
 * Lucian UX/UI Prompt #219 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#219
 * Lucian UX/UI Prompt #226 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#226
 * Lucian UX/UI Prompt #228 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#228
 * Lucian UX/UI Prompt #405 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#405
 * Lucian UX/UI Prompt #407 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#407
 * Lucian UX/UI Prompt #408 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#408
 * Lucian UX/UI Prompt #417 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#417
 * Lucian UX/UI Prompt #435 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#435
 * Lucian UX/UI Prompt #436 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#436
 * Lucian UX/UI Prompt #447 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#447
 * Lucian UX/UI Prompt #471 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#471
 */

/* ==========================================================================
   1. Tokens mapped to Bigroll Monochrome & Species Theme + .ux Base Rules
   ========================================================================== */

:root,
html[data-theme="dark"] {
  --ux-page: #07080D;
  --ux-surface: #13141C;
  --ux-surface-2: #1A1B25;
  --ux-surface-3: #252632;
  --ux-ink: #F4F0E8;
  --ux-ink-2: rgba(244, 240, 232, 0.68);
  --ux-ink-3: rgba(244, 240, 232, 0.42);
  --ux-line: rgba(255, 255, 255, 0.08);
  --ux-line-2: rgba(255, 255, 255, 0.16);
  --ux-accent: #B7A4FF;
  --ux-accent-2: #7DB4FF;
  --ux-accent-soft: rgba(183, 164, 255, 0.15);
  --ux-accent-ink: #0B0C12;
  --ux-mint: #7EE8C0;
  --ux-warn: #FFB26B;
  --ux-danger: #FF7D8C;
  --ux-glass: rgba(255, 255, 255, 0.07);
  --ux-glass-line: rgba(255, 255, 255, 0.18);
  --ux-shadow: rgba(0, 0, 0, 0.45);
  --ux-shadow-strong: rgba(0, 0, 0, 0.72);
  --ux-grad: linear-gradient(120deg, #B7A4FF, #7DB4FF 55%, #A5F2D3);
  --ux-ease: cubic-bezier(.2, .8, .2, 1);
  --ux-spring: cubic-bezier(.34, 1.45, .64, 1);
}

html[data-theme="light"] {
  --ux-page: #F4F2EE;
  --ux-surface: #FFFFFF;
  --ux-surface-2: #F5F3EF;
  --ux-surface-3: #EAE7E1;
  --ux-ink: #16151B;
  --ux-ink-2: #57535F;
  --ux-ink-3: #8E8A97;
  --ux-line: rgba(22, 21, 27, 0.09);
  --ux-line-2: rgba(22, 21, 27, 0.17);
  --ux-accent: #6A57F2;
  --ux-accent-2: #2F8FE0;
  --ux-accent-soft: rgba(106, 87, 242, 0.12);
  --ux-accent-ink: #FFFFFF;
  --ux-mint: #119C72;
  --ux-warn: #D6731E;
  --ux-danger: #D93A55;
  --ux-glass: rgba(255, 255, 255, 0.58);
  --ux-glass-line: rgba(22, 21, 27, 0.12);
  --ux-shadow: rgba(40, 30, 80, 0.14);
  --ux-shadow-strong: rgba(40, 30, 80, 0.30);
  --ux-grad: linear-gradient(120deg, #7B61FF, #3D8BFF 55%, #1FB89A);
}

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

.ux {
  font-family: var(--font-sans);
  color: var(--ux-ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}

:where(.ux) :is(button, input, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(.ux) button {
  cursor: pointer;
}

.ux :focus-visible {
  outline: 2px solid var(--ux-accent);
  outline-offset: 3px;
}

.ux [hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .ux,
  .ux *,
  .ux *::before,
  .ux *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   #447 Day-Night Dark Mode Toggle + #219 Circular Reveal Curve
   ========================================================================== */

.u447-slot {
  position: relative;
  width: 76px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.u447.u447--compact {
  position: relative;
  width: 76px;
  height: 32px;
  overflow: visible;
}

.u447--compact .u447-b {
  position: absolute;
  left: 0;
  top: 0;
  width: 176px;
  height: 74px;
  padding: 0;
  border: 0;
  border-radius: 37px;
  overflow: hidden;
  isolation: isolate;
  background: #4FA8F7;
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, .28), inset 0 -1px 2px rgba(255, 255, 255, .25), 0 0 0 1px rgba(0, 0, 0, .14), 0 8px 18px -12px rgba(20, 40, 90, .55);
  transform: scale(0.4324);
  transform-origin: 0 0;
  transition: transform .45s var(--ux-spring);
}

.u447--compact .u447-b:active {
  transform: scale(0.415);
}

.u447--compact .u447-b > * {
  position: absolute;
  pointer-events: none;
}

.u447-sky {
  inset: 0;
  background: linear-gradient(180deg, #3E97EC, #86C8FF);
  transition: opacity .6s;
}

.u447-ngt {
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, #151840, #2C3170);
  transition: opacity .6s;
}

.u447-halo {
  left: 6px;
  top: 6px;
  width: 62px;
  height: 62px;
  transition: transform .75s var(--ux-spring);
}

.u447-halo i {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  transform: translate(-50%, -50%);
}

.u447-halo i:nth-child(1) { width: 96px; height: 96px; }
.u447-halo i:nth-child(2) { width: 132px; height: 132px; background: rgba(255, 255, 255, .09); }
.u447-halo i:nth-child(3) { width: 170px; height: 170px; background: rgba(255, 255, 255, .06); }

.u447-cl {
  right: -14px;
  bottom: -16px;
  width: 136px;
  height: 68px;
  transition: transform .6s var(--ux-ease) .05s;
}

.u447-cl g { animation: u447-drift 7s ease-in-out infinite alternate; }
.u447-cl g + g { animation-duration: 5.5s; }
@keyframes u447-drift { to { transform: translateX(-5px); } }

.u447-sr {
  left: 16px;
  top: 8px;
  width: 90px;
  height: 58px;
  opacity: 0;
  transform: translateY(-36px);
  transition: transform .6s var(--ux-ease), opacity .4s;
}

.u447-sr path,
.u447-sr circle {
  fill: #FFFFFF;
  transform-box: fill-box;
  transform-origin: center;
  animation: u447-tw 2.4s ease-in-out infinite;
}

.u447-sr :nth-child(2n) { animation-delay: -.8s; }
.u447-sr :nth-child(3n) { animation-delay: -1.6s; }
@keyframes u447-tw { 50% { opacity: .45; transform: scale(.7); } }

.u447-th {
  left: 6px;
  top: 6px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE27A, #FFC21F 60%, #F2A900);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .28), inset -3px -4px 6px rgba(190, 110, 0, .35), inset 3px 3px 5px rgba(255, 255, 255, .45);
  transition: transform .75s var(--ux-spring);
}

.u447-th::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F4F3FA, #D6D3E6 65%, #B9B5CF);
  box-shadow: inset -3px -4px 6px rgba(70, 64, 110, .35), inset 3px 3px 5px rgba(255, 255, 255, .6);
  opacity: 0;
  transition: opacity .45s .1s;
}

.u447-th svg { position: absolute; inset: 0; width: 62px; height: 62px; }

.u447-th circle {
  fill: #A9A4C4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: opacity .3s, transform .5s var(--ux-spring);
}

.u447-th circle:nth-child(2) { transition-delay: .06s; }
.u447-th circle:nth-child(3) { transition-delay: .12s; }

.u447-b[aria-checked="true"] .u447-ngt { opacity: 1; }
.u447-b[aria-checked="true"] .u447-halo { transform: translateX(102px); }
.u447-b[aria-checked="true"] .u447-th { transform: translateX(102px) rotate(200deg); }
.u447-b[aria-checked="true"] .u447-th::before { opacity: 1; }
.u447-b[aria-checked="true"] .u447-th circle { opacity: 1; transform: none; transition-delay: .25s; }
.u447-b[aria-checked="true"] .u447-cl { transform: translateY(56px); transition-delay: 0s; }
.u447-b[aria-checked="true"] .u447-sr { opacity: 1; transform: none; transition-delay: .15s; }

/* ==========================================================================
   #471 Command K Button (3D Keycaps for Sidebar & Topbar)
   ========================================================================== */

.u471--bar {
  position: relative;
  display: block;
}

.u471--bar.u471--sidebar {
  width: 100%;
}

.u471--bar .u471-b {
  --u471-k: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  padding: 0 7px 0 12px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  background: var(--g-search, var(--ux-surface));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: var(--ux-ink-2);
  text-align: left;
  box-shadow: inset 0 0 0 1px var(--g-search-line, var(--ux-line)), 0 8px 20px -14px var(--g-shadow, var(--ux-shadow));
  transform: scale(var(--u471-k));
  transition: transform .5s cubic-bezier(.34, 1.7, .5, 1), box-shadow .35s var(--ux-ease), color .2s;
}

.u471--bar.u471--top .u471-b {
  width: auto;
  height: 34px;
  padding: 0 7px 0 12px;
  border-radius: 999px;
}

.u471--bar .u471-b:hover {
  color: var(--ux-ink);
  box-shadow: inset 0 0 0 1px var(--ux-line-2), 0 12px 24px -12px var(--ux-shadow-strong);
}

.u471--bar .u471-b.is-down {
  --u471-k: .97;
  transition: transform .14s var(--ux-ease), box-shadow .35s var(--ux-ease), color .2s;
}

.u471--bar .u471-b.is-hit {
  box-shadow: 0 0 0 1px var(--ux-accent), 0 0 0 4px var(--ux-accent-soft);
  transition: transform .5s cubic-bezier(.34, 1.7, .5, 1), box-shadow .12s var(--ux-ease), color .2s;
}

.u471--bar .u471-b.is-pop {
  animation: u471-pop .55s cubic-bezier(.34, 1.6, .5, 1);
}

@keyframes u471-pop {
  0% { transform: scale(.97); }
  45% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.u471--bar .u471-ic {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  opacity: .75;
  transition: transform .5s cubic-bezier(.34, 1.8, .5, 1);
}

.u471--bar .u471-b.is-hit .u471-ic {
  transform: rotate(-14deg) scale(1.12);
}

.u471--bar .u471-l {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.u471--bar .u471-ks {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  gap: 3px;
}

.u471--bar .u471-k {
  position: relative;
  display: block;
  font-family: var(--font-sans);
  min-width: 21px;
  height: 22px;
}

.u471--bar .u471-k::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2px;
  bottom: 0;
  border-radius: 6px;
  background: var(--ux-surface-3);
  box-shadow: 0 2px 3px -1px var(--ux-shadow), 0 0 0 1px var(--ux-line);
  transition: box-shadow .2s var(--ux-ease);
}

.u471--bar .u471-k.is-wide { min-width: 30px; }

.u471--bar .u471-t {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--ux-surface-2), var(--ux-surface));
  box-shadow: inset 0 0 0 1px var(--ux-line-2), inset 0 1px 0 rgba(255, 255, 255, .14);
  color: var(--ux-ink-2);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(0);
  transition: transform .42s cubic-bezier(.3, 1.9, .5, 1), color .25s, background-color .25s, box-shadow .25s;
}

.u471--bar .u471-k.is-wide .u471-t { font-size: 10px; }
.u471--bar .u471-k.is-down::before { box-shadow: 0 1px 1px -1px var(--ux-shadow), 0 0 0 1px var(--ux-line); }
.u471--bar .u471-k.is-down .u471-t {
  transform: translateY(2px);
  color: var(--ux-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ux-accent) 55%, transparent);
  transition: transform .07s var(--ux-ease), color .1s;
}

.u471--bar .u471-k.is-ask .u471-t {
  animation: u471-ask 1.1s ease-in-out infinite;
}

@keyframes u471-ask {
  50% {
    transform: translateY(1px);
    box-shadow: inset 0 0 0 1px var(--ux-accent), 0 0 0 3px var(--ux-accent-soft);
  }
}

.u471--bar .u471-rp {
  position: absolute;
  z-index: 0;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: var(--ux-accent);
  opacity: 0;
  pointer-events: none;
  animation: u471-rp .75s cubic-bezier(.2, .7, .3, 1) forwards;
}

@keyframes u471-rp {
  0% { opacity: .26; transform: scale(.4); }
  100% { opacity: 0; transform: scale(24); }
}

@media (max-width: 760px) {
  .u447-slot,
  .u447.u447--compact {
    width: 58px;
    height: 26px;
  }
  .u447--compact .u447-b {
    transform: scale(0.33);
  }
  .u447--compact .u447-b:active {
    transform: scale(0.315);
  }
  .u471--bar.u471--top .u471-l,
  .u471--bar.u471--top .u471-ks {
    display: none;
  }
  .u471--bar.u471--top .u471-b {
    width: 34px;
    padding: 0;
    justify-content: center;
  }
}

/* ==========================================================================
   #046 Command Palette (Clip-path Reveal, Highlight Glide, Mark Match)
   ========================================================================== */

.u046--overlay {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.u046--overlay .u046-pal {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: min(520px, 78vh);
  border-radius: 24px;
  background: var(--ux-surface);
  box-shadow: 0 0 0 1px var(--ux-line-2), 0 34px 60px -34px var(--ux-shadow-strong);
  clip-path: inset(0 0 0 0 round 24px);
  overflow: hidden;
  transition: clip-path .48s var(--ux-ease), box-shadow .4s;
  animation: u046-open .42s var(--ux-ease) both;
}

@keyframes u046-open {
  from {
    clip-path: inset(0 0 calc(100% - 54px) 0 round 24px);
    opacity: .65;
  }
  to {
    clip-path: inset(0 0 0 0 round 24px);
    opacity: 1;
  }
}

.u046--overlay .u046-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  flex: none;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--ux-line);
  cursor: text;
}

.u046--overlay .u046-field svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--ux-ink-3);
}

.u046--overlay .u046-in {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ux-ink);
  outline: none;
}

.u046--overlay .u046-in::placeholder { color: var(--ux-ink-3); }

.u046--overlay .u046-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 8px;
}

.u046--overlay .u046-hl {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 0;
  height: var(--h, 42px);
  border-radius: 12px;
  background: var(--ux-accent-soft);
  box-shadow: inset 3px 0 0 var(--ux-accent);
  transform: translateY(var(--y, 0px));
  transition: transform .4s var(--ux-spring), height .25s var(--ux-ease), opacity .2s;
  pointer-events: none;
  z-index: 0;
}

.u046--overlay .u046-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.u046--overlay .u046-g {
  padding: 10px 10px 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ux-ink-3);
}

.u046--overlay .u046-op {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ux-ink-2);
  text-align: left;
  cursor: pointer;
  animation: u046-in .42s var(--ux-spring) backwards;
  animation-delay: calc(min(var(--i, 0), 10) * 24ms);
}

@keyframes u046-in {
  from { opacity: 0; transform: translateY(8px); }
}

.u046--overlay .u046-op[aria-selected="true"] {
  color: var(--ux-ink);
}

.u046--overlay .u046-op mark {
  background: none;
  color: var(--ux-accent);
  font-weight: 700;
}

.u046--overlay .u046-ic {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ux-surface-2);
  border: 1px solid var(--ux-line);
  color: var(--ux-ink-2);
}

.u046--overlay .u046-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  flex: none;
  padding: 0 14px;
  border-top: 1px solid var(--ux-line);
  font-size: 11.5px;
  color: var(--ux-ink-3);
}

@media (max-width: 820px) {
  .u046--overlay .u046-pal {
    max-height: min(440px, 70dvh);
    border-radius: 20px;
    clip-path: inset(0 0 0 0 round 20px);
  }
  .u046--overlay .u046-in {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .u046--overlay .u046-foot {
    display: none;
  }
}

/* ==========================================================================
   #417 Collapsible Sidebar & Sliding Pill Indicator
   ========================================================================== */

.sidebar {
  transition: width .6s cubic-bezier(.3, 1.3, .45, 1), transform 220ms var(--ease) !important;
  overflow: visible;
}

.main-wrap {
  transition: margin-left .6s cubic-bezier(.3, 1.3, .45, 1);
}

.u417-nav {
  position: relative;
}

.u417-pl {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 34px;
  border-radius: 11px;
  background: var(--g-pill-h, var(--ux-surface-2));
  box-shadow: none;
  transform: translateY(var(--py, 0px));
  transition: transform .55s cubic-bezier(.3, 1.45, .5, 1), opacity .2s;
  pointer-events: none;
  z-index: 0;
}

.u417-nav .nav-item {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.u417-nav .nav-item[aria-current="page"] svg {
  color: var(--ux-accent);
}

.u417-nav .nav-item:active svg {
  transform: scale(.86);
  transition: transform .25s var(--ux-spring);
}

.u417-lb {
  white-space: nowrap;
  overflow: hidden;
  transition: opacity .28s var(--ux-ease) .1s, transform .4s var(--ux-ease) .08s;
}

.u417-bd {
  animation: u417-pop .5s cubic-bezier(.3, 1.8, .5, 1);
}

@keyframes u417-pop {
  from { transform: scale(.3); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.u417-tg {
  position: absolute;
  right: -12px;
  top: 20px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ux-surface);
  box-shadow: 0 0 0 1px var(--ux-line-2), 0 4px 10px -2px var(--ux-shadow-strong);
  color: var(--ux-ink-2);
  cursor: pointer;
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), color .2s;
}

.u417-tg:hover {
  color: var(--ux-ink);
  transform: scale(1.12);
}

.u417-tg svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .55s cubic-bezier(.3, 1.6, .5, 1);
}

.app-shell.is-rail .sidebar {
  width: 68px;
  padding: 18px 10px;
}

.app-shell.is-rail .main-wrap {
  margin-left: 78px;
}

.app-shell.is-rail .u417-tg svg {
  transform: rotate(180deg);
}

.app-shell.is-rail .u417-lb,
.app-shell.is-rail .sidebar-brand-ver,
.app-shell.is-rail .nav-section-label,
.app-shell.is-rail .u471--sidebar .u471-l,
.app-shell.is-rail .u471--sidebar .u471-ks,
.app-shell.is-rail .habitat-link > svg:last-child,
.app-shell.is-rail .habitat-link .text-xs {
  opacity: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.app-shell.is-rail .sidebar-brand {
  justify-content: center;
  padding: 4px 0;
}

.app-shell.is-rail .sidebar-brand .logo-replay-btn {
  width: 28px;
  height: 28px;
  overflow: hidden;
  display: block;
}

.app-shell.is-rail .sidebar-brand-logo {
  height: 28px;
  width: auto;
  max-width: none;
}

.app-shell.is-rail .u471--sidebar .u471-b {
  padding: 0;
  justify-content: center;
  gap: 0;
}

.app-shell.is-rail .nav-item,
.app-shell.is-rail .habitat-link {
  justify-content: center;
  padding: 0;
}

.app-shell.is-rail .nav-item-left,
.app-shell.is-rail .habitat-link-inner {
  gap: 0;
  justify-content: center;
}

.app-shell.is-rail .u417-bd {
  position: absolute;
  right: 4px;
  top: 2px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  font-size: 9px;
  line-height: 15px;
}

.app-shell.is-rail .u408--dock .u408-trigger-meta,
.app-shell.is-rail .u408--dock .u408-chev {
  display: none;
}

.app-shell.is-rail .u408--dock .u408-av-wrap {
  justify-content: center;
  padding: 4px;
}

@media (max-width: 820px) {
  .u417-tg {
    display: none;
  }
  .app-shell.is-rail .main-wrap {
    margin-left: 0;
  }
  .app-shell.is-rail .sidebar {
    width: min(296px, 84vw);
    padding: calc(14px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
  }
}

/* ==========================================================================
   #408 Account Menu (Springs Upward Out of Sidebar Footer Chip)
   ========================================================================== */

.u408--dock {
  position: relative;
  width: 100%;
}

.u408--dock .u408-w {
  position: relative;
  width: 100%;
}

.u408--dock .u408-av-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ux-ink);
  text-align: left;
  transition: background-color .16s var(--ux-ease), transform .35s var(--ux-spring);
}

.u408--dock .u408-av-wrap:hover {
  background: var(--bg-subtle);
}

.u408--dock .u408-av-wrap:active {
  transform: scale(.97);
}

.u408--dock .u408-av-wrap[aria-expanded="true"] {
  background: var(--ux-surface-2);
  box-shadow: 0 0 0 1px var(--ux-line-2);
}

.u408--dock .u408-av-box {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
}

.u408--dock .u408-av-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--ux-line-2);
  background: var(--ux-surface-2);
}

.u408--dock .u408-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ux-mint);
  box-shadow: 0 0 0 2px var(--ux-page);
  pointer-events: none;
}

.u408--dock .u408-m {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 220px;
  padding: 6px;
  border-radius: 16px;
  background: var(--ux-surface);
  box-shadow: inset 0 0 0 1px var(--ux-line-2), 0 22px 44px -18px var(--ux-shadow-strong), 0 4px 12px -6px var(--ux-shadow);
  transform-origin: 24px 100%;
  transform: scale(.16);
  opacity: 0;
  visibility: hidden;
  z-index: 60;
  transition: transform .26s var(--ux-ease), opacity .18s, visibility 0s .26s;
}

.u408--dock.is-open .u408-m {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform .55s var(--ux-spring), opacity .15s, visibility 0s;
}

.u408--dock .u408-m > * {
  position: relative;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s, transform .35s var(--ux-spring);
}

.u408--dock.is-open .u408-m > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(60ms + var(--i, 0) * 35ms);
}

.u408--dock .u408-hd {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px 9px;
}

.u408--dock .u408-hd b { font-size: 13px; font-weight: 600; color: var(--ux-ink); }
.u408--dock .u408-hd span { font-size: 11.5px; color: var(--ux-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.u408--dock .u408-it {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--ux-ink);
  text-align: left;
}

.u408--dock .u408-it:hover,
.u408--dock .u408-it:focus-visible {
  background: var(--ux-surface-2);
  outline: none;
}

.u408--dock .u408-it.is-out { color: var(--ux-danger); }
.u408--dock .u408-it.is-out:hover { background: color-mix(in srgb, var(--ux-danger) 12%, transparent); }
.u408--dock .u408-hr { height: 1px; margin: 5px 4px; background: var(--ux-line); }

/* ==========================================================================
   #041 Notched Bottom Tab Bar (Mobile Navigation)
   ========================================================================== */

@media (max-width: 820px) {
  .mobile-bottom-nav.u041--dock {
    --x: 42px;
    --w: 64px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 58px;
    display: flex;
    align-items: stretch;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 34;
  }

  .u041--dock .u041-shadow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: 0 18px 36px -14px var(--ux-shadow-strong), 0 4px 12px -6px var(--ux-shadow);
    pointer-events: none;
  }

  .u041--dock .u041-bar {
    position: relative;
    width: 100%;
    height: 58px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--ux-surface) 90%, transparent);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 0 0 1px var(--ux-line-2);
  }

  .u041--dock .u041-bub {
    position: absolute;
    left: var(--x);
    top: 5px;
    bottom: 5px;
    width: var(--w);
    transform: translateX(-50%);
    border-radius: 15px;
    background: var(--btn-bg, var(--ux-ink));
    box-shadow: 0 4px 12px -4px var(--ux-shadow);
    pointer-events: none;
    transition: opacity .22s var(--ux-ease), width .38s var(--ux-spring);
  }

  .u041--dock.is-none .u041-bub {
    opacity: 0;
  }

  .u041--dock .u041-tabs {
    position: absolute;
    inset: 0;
    display: flex;
    margin: 0;
    padding: 0 4px;
    list-style: none;
  }

  .u041--dock .u041-tabs > li {
    flex: 1;
    display: flex;
    min-width: 0;
  }

  .u041--dock .u041-tab {
    position: relative;
    flex: 1;
    height: 100%;
    border: 0;
    padding: 0 2px;
    background: none;
    color: var(--ux-ink-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: color .25s var(--ux-ease);
  }

  .u041--dock .u041-ic {
    position: relative;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    transition: transform .42s var(--ux-spring), color .25s var(--ux-ease);
  }

  .u041--dock .u041-ic .ico {
    width: 18px;
    height: 18px;
  }

  .u041--dock .u041-lab {
    max-width: 100%;
    font-size: 10.5px;
    font-weight: 560;
    line-height: 1.1;
    color: currentColor;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .u041--dock .u041-tab[aria-selected="true"] {
    color: var(--btn-fg, var(--ux-page));
  }

  .u041--dock .u041-tab[aria-selected="true"] .u041-ic {
    transform: translateY(-0.5px) scale(1.04);
  }

  .u041--dock .u041-tab[aria-selected="true"] .u041-lab {
    font-weight: 650;
  }

  .u041--dock .u041-tab.is-locked {
    opacity: .38;
  }

  .u041--dock .u041-bd {
    position: absolute;
    left: calc(50% + 5px);
    top: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--ux-danger);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 16px;
    font-style: normal;
    text-align: center;
    box-shadow: 0 0 0 2px var(--ux-surface);
    transition: transform .35s var(--ux-spring);
  }

  .u041--dock .u041-tab[aria-selected="true"] .u041-bd {
    box-shadow: 0 0 0 2px var(--btn-bg, var(--ux-ink));
  }
}

/* ==========================================================================
   #435 + #070 Stacking Toasts (Spring Deck + Hover Fan-Out + Swipe Dismiss)
   ========================================================================== */

.toast-stack.u435--stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(350px, calc(100vw - 24px));
  height: 76px;
  z-index: 95;
  pointer-events: none;
}

@media (max-width: 820px) {
  .toast-stack.u435--stack {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

.u435--stack .u435-t {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 10px 10px 13px;
  border-radius: 16px;
  background: var(--ux-surface-2);
  box-shadow: 0 0 0 1px var(--ux-line-2), 0 16px 32px -14px var(--ux-shadow-strong), 0 2px 6px -2px var(--ux-shadow);
  transform-origin: 50% 100%;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1));
  opacity: var(--o, 1);
  transition: transform .62s cubic-bezier(.3, 1.42, .52, 1), opacity .3s var(--ux-ease);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  pointer-events: auto;
  overflow: hidden;
}

.u435--stack .u435-t.is-drag {
  transition: opacity .3s var(--ux-ease);
  cursor: grabbing;
}

.u435--stack .u435-t > * { transition: opacity .25s var(--ux-ease); }
.u435--stack .u435-t.is-back > * { opacity: 0; }

.u435--stack .u435-ic {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--c, var(--ux-mint)) 18%, transparent);
  color: var(--c, var(--ux-mint));
}

.u435--stack .u435-ic svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.u435--stack .u435-t.is-in .u435-ic {
  animation: u435-pop .5s cubic-bezier(.34, 1.7, .5, 1) .08s both;
}

.u435--stack .u435-ic .ok-path {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: u435-draw .4s var(--ux-ease) .18s forwards;
}

@keyframes u435-draw { to { stroke-dashoffset: 0; } }
@keyframes u435-pop { from { transform: scale(.3); } }

.u435--stack .u435-tx {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.35;
  color: var(--ux-ink);
  word-break: break-word;
}

.u435--stack .u435-x {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: none;
  color: var(--ux-ink-3);
  transition: background-color .15s, color .15s;
}

.u435--stack .u435-x:hover {
  background: var(--ux-surface-3);
  color: var(--ux-ink);
}

.u435--stack .u435-x svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

.u435--stack .u435-pb {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
}

.u435--stack .u435-pb i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--c, var(--ux-mint));
  opacity: .8;
  transform-origin: 0 50%;
  animation: u435-pb linear forwards;
}

@keyframes u435-pb {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.u435--stack.is-paused .u435-pb i {
  animation-play-state: paused;
}

/* ==========================================================================
   #226 Grid-Beam Hero Background (Gate & Vault Backdrop)
   ========================================================================== */

.gate-shell,
.vault-shell {
  position: relative;
  isolation: isolate;
}

.gate-topbar,
.gate-center,
.gate-footer,
.vault-topbar,
.vault-center {
  position: relative;
  z-index: 2;
}

.u226--bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  --mx: -300px;
  --my: -300px;
}

.u226--bg .u226-gd,
.u226--bg .u226-gl {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ux-ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ux-ink) 6%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: -1px -1px;
}

.u226--bg .u226-gd {
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(75% 70% at 50% 45%, #000, transparent);
}

.u226--bg .u226-gl {
  background-image:
    linear-gradient(color-mix(in srgb, var(--ux-accent) 44%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ux-accent) 44%, transparent) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(130px 130px at var(--mx) var(--my), #000, transparent);
  mask-image: radial-gradient(130px 130px at var(--mx) var(--my), #000, transparent);
  transition: opacity .4s;
}

.u226--bg .u226-cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.u226--bg .u226-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 420px;
  height: 260px;
  margin: -130px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ux-accent) 20%, transparent), transparent);
  filter: blur(28px);
}

/* ==========================================================================
   #407 Passkey Sign-in Button + #062 Sign-in Feedback + #405 Password Reset
   ========================================================================== */

.u407--btn {
  width: 100%;
  display: grid;
  place-items: center;
}

.u407--btn .u407-b {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: clip;
  width: 100%;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--btn-bg, var(--ux-ink));
  color: var(--btn-fg, var(--ux-page));
  font-size: 14px;
  font-weight: 600;
  transition: width .6s var(--ux-spring), height .6s var(--ux-spring), border-radius .5s var(--ux-ease), background .35s, color .35s, box-shadow .35s, transform .4s var(--ux-spring);
}

.u407--btn:not(.is-scan) .u407-b:hover { transform: translateY(-1px); }
.u407--btn:not(.is-scan) .u407-b:active { transform: scale(.98); }
.u407--btn .u407-b > * { grid-area: 1 / 1; }

.u407--btn .u407-t {
  padding-left: 28px;
  white-space: nowrap;
  transition: opacity .2s, transform .45s var(--ux-spring), filter .2s;
}

.u407--btn .u407-fp {
  width: 64px;
  height: 64px;
  overflow: visible;
  transform: translate(var(--fx, -78px), 1px) scale(.34);
  transition: transform .6s var(--ux-spring), opacity .25s;
}

.u407--btn .u407-fp path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  transition: stroke-width .5s;
}

.u407--btn .u407-fp .ac path { stroke: var(--ux-accent); }
.u407--btn .u407-fp .cr { transform: translateY(-66px); }
.u407--btn .u407-fp .sl { opacity: 0; }
.u407--btn .u407-fp .sl rect:last-child { fill: var(--ux-accent); }
.u407--btn .u407-fp stop { stop-color: var(--ux-accent); }

.u407--btn.is-scan .u407-b {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: var(--ux-surface-2);
  color: color-mix(in srgb, var(--ux-ink-3) 65%, transparent);
  box-shadow: inset 0 0 0 1px var(--ux-line-2), 0 18px 36px -20px var(--ux-shadow-strong);
  cursor: default;
}

.u407--btn.is-scan .u407-t {
  opacity: 0;
  transform: scale(.9);
  filter: blur(2px);
}

.u407--btn.is-scan .u407-fp {
  transform: scale(1.1);
}

.u407--btn.is-scan .u407-fp path {
  stroke-width: 2.6;
  animation: u407-draw .6s var(--ux-ease) backwards;
  animation-delay: calc(.12s + var(--i) * 65ms);
}

.u407--btn.is-scan .u407-fp .cr { animation: u407-sweep 1.2s cubic-bezier(.45, 0, .4, 1) .45s infinite; }
.u407--btn.is-scan .u407-fp .sl { animation: u407-line 1.2s cubic-bezier(.45, 0, .4, 1) .45s infinite; }

@keyframes u407-draw { from { stroke-dashoffset: 1; } }
@keyframes u407-sweep { to { transform: translateY(0); } }
@keyframes u407-line {
  0% { opacity: 0; transform: translateY(2px); }
  12%, 88% { opacity: 1; }
  100% { opacity: 0; transform: translateY(56px); }
}

.u407--btn .u407-ck {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s, transform .5s var(--ux-spring);
}

.u407--btn .u407-ck path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset .4s var(--ux-ease) .15s;
}

.u407--btn.is-scan.is-ok .u407-b {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--ux-mint);
  color: #fff;
}

.u407--btn.is-ok .u407-fp { opacity: 0; transform: scale(.5); }
.u407--btn.is-ok .u407-ck { opacity: 1; transform: none; }
.u407--btn.is-ok .u407-ck path { stroke-dashoffset: 0; }

/* #062 Sign-in feedback: card shake, eye blink, morphing spinner CTA, caps lock */
.gate-card.u062-shake {
  animation: u062-no .5s cubic-bezier(.36, .07, .19, .97);
}

@keyframes u062-no {
  15% { transform: translateX(-9px) rotate(-.6deg); }
  30% { transform: translateX(8px) rotate(.5deg); }
  45% { transform: translateX(-6px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

.u062-eye {
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: none;
  color: var(--ux-ink-3);
  transition: color .2s, background-color .2s;
}

.u062-eye:hover {
  color: var(--ux-ink);
  background: var(--ux-surface-2);
}

.u062-eye svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.u062-lid {
  transform-origin: 12px 12px;
  transition: transform .35s var(--ux-spring);
}

.u062-eye[aria-pressed="false"] .u062-lid { transform: scaleY(.55); }

.u062-slash {
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .35s var(--ux-ease);
}

.u062-eye[aria-pressed="true"] .u062-slash { stroke-dashoffset: 24; }

.u062-caps {
  font-size: 11px;
  font-weight: 600;
  color: var(--ux-warn);
  opacity: 0;
  transition: opacity .2s;
}

.u062-caps.on { opacity: 1; }

.u062-go {
  position: relative;
  align-self: center;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--btn-bg, var(--ux-ink));
  color: var(--btn-fg, var(--ux-page));
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: width .45s var(--ux-spring), border-radius .45s var(--ux-spring), background-color .35s, transform .3s var(--ux-spring);
}

.u062-go:active { transform: scale(.97); }

.u062-go.busy {
  width: 44px;
  border-radius: 999px;
}

.u062-go.busy > span,
.u062-go.busy > svg:first-child { opacity: 0; }

.u062-go i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2.2px solid currentColor;
  border-right-color: transparent;
  opacity: 0;
  animation: u062-spin .7s linear infinite;
}

.u062-go.busy i { opacity: 1; }
@keyframes u062-spin { to { transform: rotate(360deg); } }

/* #405 Password reset envelope & paper plane */
.u405--embed {
  position: relative;
  width: 100%;
}

.u405--embed .u405-env {
  width: 68px;
  height: 56px;
  overflow: visible;
  display: block;
  margin: 0 auto 8px;
}

.u405--embed .u405-env .bk { fill: color-mix(in srgb, var(--ux-accent) 26%, var(--ux-surface-2)); }
.u405--embed .u405-env .lt { fill: #fff; stroke: color-mix(in srgb, var(--ux-accent) 45%, transparent); stroke-width: 1; }
.u405--embed .u405-env .ln { stroke: var(--ux-accent); stroke-width: 2; stroke-linecap: round; opacity: .65; }
.u405--embed .u405-env .fr { fill: color-mix(in srgb, var(--ux-accent) 34%, var(--ux-surface-2)); }
.u405--embed .u405-env .fl {
  fill: color-mix(in srgb, var(--ux-accent) 52%, var(--ux-surface-2));
  transform-origin: 36px 16px;
  transform: scaleY(-1);
  transition: transform .5s var(--ux-spring) .25s;
}
.u405--embed .u405-env .letter {
  transform: translateY(-14px);
  transition: transform .5s var(--ux-ease) .05s;
}

.u405--embed.is-sent .u405-env .letter { transform: translateY(13px); }
.u405--embed.is-sent .u405-env .fl { transform: none; }
.u405--embed.is-sent .u405-env { animation: u405-bob .7s var(--ux-spring) .45s; }
@keyframes u405-bob { 40% { transform: translateY(3px) scale(1.04, .96); } }

.u405-plane {
  position: fixed;
  z-index: 98;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

/* ==========================================================================
   #026 6-Digit Code Input & #036 Password Strength Meter
   ========================================================================== */

.u026--embed {
  position: relative;
  width: 100%;
}

.u026--embed .u026-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.u026--embed .u026-row i.sep {
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--ux-line-2);
  flex-shrink: 0;
}

.u026--embed .u026-c {
  position: relative;
  flex: 1;
  max-width: 44px;
  height: 46px;
  border-radius: 11px;
  background: var(--ux-surface);
  box-shadow: inset 0 0 0 1.5px var(--ux-line-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: box-shadow .22s var(--ux-ease), background-color .3s, color .3s, transform .4s var(--ux-spring);
}

.u026--embed.is-sm .u026-c {
  max-width: 38px;
  height: 40px;
  font-size: 17px;
  border-radius: 9px;
}

.u026--embed .u026-c span {
  display: block;
  animation: u026-in .38s var(--ux-spring);
}

@keyframes u026-in { from { transform: translateY(70%); opacity: 0; } }

.u026--embed .u026-c.cur {
  box-shadow: inset 0 0 0 2px var(--ux-accent), 0 0 0 3px var(--ux-accent-soft);
}

.u026--embed .u026-c.cur::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--ux-accent);
  animation: u026-blink 1s steps(1) infinite;
}

.u026--embed .u026-c.cur.has::after { display: none; }
@keyframes u026-blink { 50% { opacity: 0; } }

.u026--embed.is-check .u026-c {
  animation: u026-wave .45s var(--ux-ease);
  animation-delay: calc(var(--i) * 55ms);
}

@keyframes u026-wave { 40% { transform: translateY(-6px); } }

.u026--embed.is-ok .u026-c {
  background: color-mix(in srgb, var(--ux-mint) 14%, var(--ux-surface));
  box-shadow: inset 0 0 0 2px var(--ux-mint);
  color: var(--ux-mint);
}

.u026--embed .u026-real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  font-size: 16px;
  cursor: text;
  caret-color: transparent;
  color: transparent;
  background: transparent;
}

/* #036 Password strength meter */
.u036--embed {
  --lv: var(--ux-line-2);
  width: 100%;
}

.u036--embed .u036-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0 0;
}

.u036--embed .u036-meter i {
  height: 5px;
  border-radius: 4px;
  background: var(--ux-surface-3);
  overflow: hidden;
  position: relative;
}

.u036--embed .u036-meter i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lv);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .42s var(--ux-ease), background-color .35s;
}

.u036--embed .u036-meter i.on::after { transform: none; }
.u036--embed .u036-meter i:nth-child(2)::after { transition-delay: .05s; }
.u036--embed .u036-meter i:nth-child(3)::after { transition-delay: .1s; }
.u036--embed .u036-meter i:nth-child(4)::after { transition-delay: .15s; }

.u036--embed .u036-lv {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ux-ink-3);
}

.u036--embed .u036-lv b {
  color: var(--lv);
  transition: color .35s;
}

.u036--embed .u036-rules {
  margin: 10px 0 0;
  padding: 10px 12px;
  list-style: none;
  border-radius: 12px;
  background: var(--ux-surface-2);
  border: 1px solid var(--ux-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}

@media (max-width: 440px) {
  .u036--embed .u036-rules {
    grid-template-columns: 1fr;
  }
}

.u036--embed .u036-r {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ux-ink-3);
  transition: color .25s;
}

.u036--embed .u036-r i {
  position: relative;
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.6px var(--ux-line-2);
  transition: box-shadow .25s, background-color .25s;
}

.u036--embed .u036-r svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--ux-accent-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.u036--embed .u036-r path {
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
  transition: stroke-dashoffset .3s var(--ux-ease) .08s;
}

.u036--embed .u036-r.ok { color: var(--ux-ink); }
.u036--embed .u036-r.ok i {
  background: var(--ux-mint);
  box-shadow: none;
  animation: u036-pop .4s var(--ux-spring);
}
.u036--embed .u036-r.ok path { stroke-dashoffset: 0; }
@keyframes u036-pop { from { transform: scale(.4); } }

/* ==========================================================================
   #228 Cursor-Lit Glowing Card Borders + #002 Magnetic Arrow Button
   ========================================================================== */

[data-u228-card] {
  position: relative;
  --cx: -500px;
  --cy: -500px;
  --o: 0;
}

[data-u228-card]::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(240px circle at var(--cx) var(--cy), color-mix(in srgb, var(--ux-accent) 78%, transparent), color-mix(in srgb, var(--ux-accent-2) 45%, transparent) 42%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: var(--o);
  pointer-events: none;
  z-index: 2;
}

[data-u228-card]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--cx) var(--cy), color-mix(in srgb, var(--ux-accent) 9%, transparent), transparent 65%);
  opacity: var(--o);
  pointer-events: none;
  z-index: 0;
}

[data-u228-card] > * {
  position: relative;
  z-index: 1;
}

/* #002 Magnetic arrow button (card-sized CTA) */
.u002--card {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.u002--card .u002-mag {
  transition: translate .8s var(--ux-spring);
}

.u002--card .u002-btn {
  --bg: var(--ux-surface-2);
  --fg: var(--ux-ink);
  --blob: var(--ux-grad);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 5px 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--ux-line-2);
  transition: transform .55s var(--ux-spring), box-shadow .45s var(--ux-ease);
}

.u002--card .u002-btn:hover {
  box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--ux-accent) 65%, transparent), 0 0 0 1px transparent;
}

.u002--card .u002-btn:active { transform: scale(.95); }

.u002--card .u002-fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blob);
  clip-path: circle(12px at calc(100% - 17px) 50%);
  transition: clip-path .72s var(--ux-ease);
}

.u002--card .u002-btn:hover .u002-fill,
.u002--card .u002-btn:focus-visible .u002-fill {
  clip-path: circle(155% at calc(100% - 17px) 50%);
}

.u002--card .u002-txt {
  position: relative;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: translate .6s var(--ux-spring), color .4s var(--ux-ease);
}

.u002--card .u002-btn:hover .u002-txt {
  color: var(--ux-accent-ink);
}

.u002--card .u002-orb {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ux-accent-ink);
  overflow: hidden;
  flex: none;
  transition: translate .6s var(--ux-spring);
}

.u002--card .u002-orb svg {
  position: absolute;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.u002--card .u002-orb svg:last-child { transform: translateX(-24px); }
.u002--card .u002-btn:hover .u002-orb svg:first-child { animation: u002-card-out .45s var(--ux-ease) forwards; }
.u002--card .u002-btn:hover .u002-orb svg:last-child { animation: u002-card-in .5s var(--ux-spring) .2s forwards; }

@keyframes u002-card-out { to { transform: translateX(24px); } }
@keyframes u002-card-in { to { transform: none; } }

/* ==========================================================================
   #039 Sliding Pill Tabs (for .seg-group, .mcp-app-tabs, .filter-pills)
   ========================================================================== */

.u039--tabs {
  position: relative !important;
  isolation: isolate;
}

.u039--tabs .u039-pill {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w, 0px);
  height: var(--h, 28px);
  border-radius: var(--r, 8px);
  background: var(--btn-bg, var(--ux-ink));
  box-shadow: 0 6px 14px -8px var(--ux-shadow-strong);
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0);
  transition: transform .5s var(--ux-spring), width .5s var(--ux-spring), height .4s var(--ux-ease), opacity .2s;
  pointer-events: none;
  z-index: 0;
}

.u039--tabs > button {
  position: relative;
  z-index: 1;
  background: transparent !important;
  transition: color .3s var(--ux-ease);
}

.u039--tabs > button.is-active,
.u039--tabs > button[aria-selected="true"] {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--btn-fg, var(--ux-page)) !important;
}

.u039--tabs > button.is-active .text-mono-xs {
  color: inherit;
  opacity: .82;
}

.u039--tabs > button.is-active .nav-count {
  color: inherit;
  background: color-mix(in srgb, currentColor 16%, transparent);
}

/* ==========================================================================
   #008 Copy Button Check Morph & Sweeping Gleam
   ========================================================================== */

.u008-code-gleam {
  position: relative;
  overflow: hidden;
}

.u008-code-gleam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--ux-mint) 28%, transparent) 50%, transparent 80%);
  transform: translateX(-110%);
  pointer-events: none;
}

.u008-code-gleam.is-copied::after {
  animation: u008-sweep .7s var(--ux-ease);
}

@keyframes u008-sweep { to { transform: translateX(110%); } }

.u008-copy-btn {
  position: relative;
  overflow: visible !important;
  transition: background-color .35s var(--ux-ease), color .35s var(--ux-ease), border-color .35s var(--ux-ease), transform .45s var(--ux-spring) !important;
}

.u008-copy-btn.is-copied {
  background: var(--ux-mint) !important;
  color: var(--ux-accent-ink) !important;
  border-color: var(--ux-mint) !important;
}

.u008-copy-btn .u008-ok-svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.u008-copy-btn .u008-ok-svg path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}

.u008-copy-btn.is-copied .u008-ok-svg path {
  animation: u008-draw-ok .38s var(--ux-ease) .06s forwards;
}

@keyframes u008-draw-ok { to { stroke-dashoffset: 0; } }

.u008-tip {
  position: absolute;
  left: 50%;
  top: -32px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--ux-ink);
  color: var(--ux-page);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px) scale(.85);
  transition: opacity .22s var(--ux-ease), transform .45s var(--ux-spring);
  z-index: 20;
}

.u008-copy-btn.is-copied .u008-tip {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* ==========================================================================
   #032 Drag-and-Drop Dashed SVG Border + #005 Paper Plane + #013 Switch + #083 Queue Bar
   ========================================================================== */

.u032--zone {
  position: relative;
}

.u032--zone svg.u032-dash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.u032--zone .u032-dash rect {
  fill: none;
  stroke: transparent;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
  transition: stroke .28s var(--ux-ease);
}

.u032--zone:hover .u032-dash rect,
.u032--zone.is-dragover .u032-dash rect {
  stroke: var(--ux-accent);
  animation: u032-march .9s linear infinite;
}

.u032--zone.is-dragover {
  transform: scale(1.015);
  transition: transform .45s var(--ux-spring);
}

.u032--zone.is-dragover .cx-dropzone-icon {
  transform: translateY(-4px) scale(1.08) rotate(-6deg);
  transition: transform .45s var(--ux-spring);
}

@keyframes u032-march { to { stroke-dashoffset: -30; } }

/* #005 Paper plane button */
.u005--btn {
  position: relative;
  overflow: visible;
  transition: transform .35s var(--ux-spring), background .3s;
}

.u005--btn:active { transform: scale(.93); }
.u005--btn .u005-pl-ico { transition: transform .45s var(--ux-spring), opacity .2s; }
.u005--btn.is-fly .u005-pl-ico {
  opacity: 0;
  transform: translate(12px, -12px) rotate(-25deg) scale(.6);
}
.u005--btn.is-back .u005-pl-ico {
  animation: u005-back .55s cubic-bezier(.2, 1.2, .4, 1) both;
}
@keyframes u005-back {
  from { opacity: 0; transform: translate(-18px, 10px) rotate(12deg) scale(.7); }
}

.u005-flyer {
  position: fixed;
  width: 24px;
  height: 22px;
  z-index: 99;
  pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .28));
}

/* #013 Stretchy switch (compact inline variant) */
.u013--sm {
  --on: var(--ux-grad);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.u013--sm .u013-sw {
  position: relative;
  width: 48px;
  height: 26px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: var(--ux-surface-3);
  touch-action: none;
  flex-shrink: 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .18), inset 0 0 0 1px var(--ux-line);
  transition: box-shadow .4s var(--ux-ease);
}

.u013--sm .u013-sw::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--on);
  opacity: 0;
  transition: opacity .38s var(--ux-ease);
}

.u013--sm.is-on .u013-sw::before { opacity: 1; }

.u013--sm .u013-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .28);
  transition: left .45s var(--ux-spring), width .28s var(--ux-ease);
}

.u013--sm.is-on .u013-knob { left: 25px; }
.u013--sm.is-stretch .u013-knob { width: 28px; transition: left .45s var(--ux-spring), width .16s var(--ux-ease); }
.u013--sm.is-on.is-stretch .u013-knob { left: 17px; }

.u013--sm .u013-knob svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.u013--sm .u013-x { stroke: #71717A; stroke-dasharray: 14; stroke-dashoffset: 0; transition: stroke-dashoffset .26s var(--ux-ease) .06s; }
.u013--sm .u013-v { stroke: var(--ux-accent); stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .3s var(--ux-ease); }
.u013--sm.is-on .u013-x { stroke-dashoffset: 14; transition-delay: 0s; }
.u013--sm.is-on .u013-v { stroke-dashoffset: 0; transition-delay: .14s; }

/* #083 Queue bar turning into progress */
.u083-trk {
  position: relative;
  height: 6px;
  width: 100%;
  border-radius: 3px;
  background: var(--ux-surface-3);
  overflow: hidden;
}

.u083-seg {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: var(--ux-accent);
  transition: opacity .35s;
}

.u083-seg.a { animation: u083-a 1.6s cubic-bezier(.65, .05, .35, 1) infinite; }
.u083-seg.b { animation: u083-b 1.6s cubic-bezier(.25, .6, .4, 1) .55s infinite; }

@keyframes u083-a { 0% { left: -35%; right: 100%; } 60%, 100% { left: 100%; right: -90%; } }
@keyframes u083-b { 0% { left: -200%; right: 100%; } 60%, 100% { left: 107%; right: -8%; } }

.u083-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  border-radius: inherit;
  background: var(--ux-accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  opacity: 0;
  transition: transform .42s var(--ux-ease), opacity .28s, background-color .35s;
}

.u083-trk.is-det .u083-seg { opacity: 0; }
.u083-trk.is-det .u083-fill { opacity: 1; }
.u083-trk.is-done .u083-fill { background: var(--ux-mint); }

/* ==========================================================================
   #436 Delete Confirmation Dialog & #003 Hold to Delete
   ========================================================================== */

.u436--modal .dialog-card {
  border-radius: 20px;
  overflow: hidden;
}

.u436-ic {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ux-danger) 14%, transparent);
  color: var(--ux-danger);
}

.u436-ic svg {
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.u436-ic .lid { transform-box: view-box; transform-origin: 6px 9.5px; }
.u436-ic .bd { transform-box: view-box; transform-origin: 16px 27px; }
.u436-ic .doc { opacity: 0; }
.u436-ic .doc path { fill: var(--ux-surface); stroke: currentColor; stroke-width: 1.5; }

.u436--modal.is-del .u436-ic .lid { animation: u436-lid 1.05s cubic-bezier(.3, 1.3, .5, 1) forwards; }
.u436--modal.is-del .u436-ic .doc { animation: u436-doc 1.05s cubic-bezier(.5, 0, .6, 1) forwards; }
.u436--modal.is-del .u436-ic .bd { animation: u436-bd 1.05s ease-out forwards; }
.u436--modal.is-del .u436-ic { animation: u436-tile 1.05s ease-out forwards; }

@keyframes u436-lid { 0% { transform: none; } 22%, 58% { transform: rotate(-38deg); } 74% { transform: rotate(7deg); } 86%, 100% { transform: none; } }
@keyframes u436-doc { 0%, 14% { opacity: 0; transform: translateY(-14px) rotate(-8deg); } 26% { opacity: 1; transform: translateY(-12px) rotate(-4deg); } 52% { opacity: 1; transform: translateY(9px) rotate(0); } 60%, 100% { opacity: 1; transform: translateY(14px); } }
@keyframes u436-bd { 0%, 72% { transform: none; } 80% { transform: scale(1.07, .9); } 90% { transform: scale(.97, 1.04); } 100% { transform: none; } }
@keyframes u436-tile { 0%, 74% { transform: none; } 80% { transform: translateY(2px); } 90% { transform: translateY(-1px); } 100% { transform: none; } }

/* #003 Hold to delete fill layer */
.u003--btn {
  --p: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.u003--btn .u003-fill-layer {
  position: absolute;
  inset: 0;
  background: var(--ux-danger);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  clip-path: inset(0 calc(100% - var(--p) * 100%) 0 0);
  pointer-events: none;
}

.u003--btn.is-holding {
  transform: scale(.97);
}

/* ==========================================================================
   #098 Rolling Odometer KPI + #092 Empty Search + #088 Empty Folder
   ========================================================================== */

.u098-num {
  display: inline-flex;
  align-items: flex-start;
  height: 30px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 30px;
  font-variant-numeric: tabular-nums;
}

.u098-col {
  display: inline-flex;
  flex-direction: column;
  transform: translateY(calc(var(--d, 0) * -30px));
  transition: transform .85s cubic-bezier(.3, 1.25, .5, 1);
  transition-delay: calc(var(--i, 0) * 45ms);
}

.u098-col span { height: 30px; }

.u098-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ux-mint);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ux-mint) 55%, transparent);
  animation: u098-live 1.8s ease-out infinite;
  margin-right: 6px;
}

@keyframes u098-live { to { box-shadow: 0 0 0 7px color-mix(in srgb, var(--ux-mint) 0%, transparent); } }

/* #092 Empty search state */
.u092--empty {
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.u092-art {
  width: 140px;
  height: 82px;
}

.u092-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.u092-shelf {
  stroke: var(--ux-line-2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 9;
}

.u092-lens { animation: u092-scan 3.6s ease-in-out infinite; }
@keyframes u092-scan {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(42px, 8px) rotate(8deg); }
  50% { transform: translate(70px, -4px) rotate(-4deg); }
  75% { transform: translate(26px, -6px) rotate(-10deg); }
}

.u092-lens circle {
  fill: color-mix(in srgb, var(--ux-accent) 14%, transparent);
  stroke: var(--ux-ink);
  stroke-width: 4.5;
}

.u092-lens path {
  stroke: var(--ux-ink);
  stroke-width: 6.5;
  stroke-linecap: round;
}

.u092-lens .gl {
  fill: none;
  stroke: #fff;
  stroke-opacity: .65;
  stroke-width: 2.5;
}

.u092-sgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  max-width: 520px;
}

.u092-sg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--ux-surface-2);
  box-shadow: inset 0 0 0 1px var(--ux-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ux-ink-2);
  animation: u092-up .45s var(--ux-spring) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
  transition: background-color .2s, transform .3s var(--ux-spring), color .2s;
}

.u092-sg:hover {
  background: var(--ux-surface-3);
  color: var(--ux-ink);
  transform: translateY(-1px);
}

.u092-sg s {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--ux-surface);
  box-shadow: inset 0 0 0 1px var(--ux-line-2);
  text-decoration: line-through;
  text-decoration-color: var(--ux-danger);
  font-size: 11.5px;
  color: var(--ux-ink);
}

.u092-sg b { color: var(--ux-accent); }

@keyframes u092-up { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* #088 Empty folder illustration */
.u088--empty {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.u088-art {
  position: relative;
  width: 112px;
  height: 92px;
  margin-bottom: 6px;
}

.u088-fl { animation: u088-f 5s ease-in-out infinite; }
@keyframes u088-f { 50% { transform: translateY(-5px); } }

.u088-art svg {
  display: block;
  width: 112px;
  height: 84px;
  overflow: visible;
  transform-origin: 50% 92%;
}

.u088-sh {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ux-ink) 16%, transparent), transparent);
  animation: u088-s 5s ease-in-out infinite;
}

@keyframes u088-s { 50% { transform: scaleX(.8); opacity: .6; } }

.u088-front,
.u088-pp {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform .55s var(--ux-spring);
}

.u088--empty:hover .u088-front,
.u088--empty:has(button:hover, button:focus-visible) .u088-front {
  transform: skewX(-7deg) scaleY(.86);
}

.u088--empty:hover .u088-pp.a,
.u088--empty:has(button:hover, button:focus-visible) .u088-pp.a {
  transform: translateY(-9px) rotate(-5deg);
}

.u088--empty:hover .u088-pp.b,
.u088--empty:has(button:hover, button:focus-visible) .u088-pp.b {
  transform: translateY(-5px) rotate(4deg);
}
