@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  --blue-950: #0a1740;
  --blue-900: #0f2156;
  --blue-800: #16306e;
  --blue-700: #1b3a85;
  --blue: #214395;
  --blue-500: #2e58c2;
  --blue-300: #8aa5e6;
  --blue-100: #e3eaf8;
  --blue-50: #f1f5fd;
  --gold-700: #8f661b;
  --gold-600: #b8862b;
  --gold: #e7b53c;
  --gold-300: #f3d58c;
  --gold-50: #fdf7e6;
  --yellow: #fddd04;
  --green: #12805c;
  --green-50: #e7f6ef;
  --red: #c62f3a;
  --red-50: #fdecee;
  --amber: #b26a00;
  --amber-50: #fff4e0;
  --ink: #0d1b3e;
  --text: #2b3a5a;
  --muted: #5c6b8a;
  --faint: #8b97b0;
  --bg: #f6f8fc;
  --bg-2: #eef2f9;
  --surface: #ffffff;
  --surface-2: #f9fbfe;
  --line: rgba(15, 33, 86, 0.08);
  --line-2: rgba(15, 33, 86, 0.14);
  --ring: rgba(33, 67, 149, 0.28);
  --font: "Plus Jakarta Sans", "Segoe UI Variable Text", system-ui, sans-serif;
  --display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --grad: linear-gradient(120deg, #1b3a85, #2e58c2);
  --grad-gold: linear-gradient(100deg, #b8862b, #e7b53c 55%, #c9921a);
  --shadow-blue: 0 18px 40px -18px rgba(33, 67, 149, 0.55);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-xs: 0 1px 2px rgba(13, 27, 62, 0.05);
  --shadow-sm: 0 1px 2px rgba(13, 27, 62, 0.04), 0 6px 18px -10px rgba(13, 27, 62, 0.14);
  --shadow: 0 1px 2px rgba(13, 27, 62, 0.04), 0 18px 48px -20px rgba(13, 27, 62, 0.18);
  --shadow-lg: 0 2px 4px rgba(13, 27, 62, 0.04), 0 36px 90px -36px rgba(13, 27, 62, 0.32);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t: 320ms;
  --t-slow: 760ms;
  --container: 1440px;
  --gutter: clamp(16px, 4vw, 44px);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 4vw + 0.4rem, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw + 0.6rem, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.14;
}

h3 {
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.45rem);
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-700);
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--gold-300);
  color: var(--ink);
}

.mono,
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.ic-lg {
  width: 1.6em;
  height: 1.6em;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: top var(--t) var(--ease);
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.eyebrow {
  justify-self: start;
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--gold {
  color: var(--gold-600);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow > .ic {
  display: none;
}

.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 13px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease), color var(--t) var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 24px -12px rgba(33, 67, 149, 0.6);
}

.btn:hover {
  background: var(--blue-700);
  color: var(--btn-fg);
  transform: translateY(-2px);
}

.btn:not(.btn--gold):not(.btn--ghost):not(.btn--danger):not(.btn--wa) {
  background-image: var(--grad);
}

.btn:active {
  transform: scale(0.98);
}

.btn[disabled],
.btn.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.btn__orb {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: -6px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform var(--t) var(--ease);
}

.btn:hover .btn__orb {
  transform: translate(2px, -1px) scale(1.05);
}

.btn--gold {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 10px 24px -12px rgba(184, 134, 43, 0.7);
}

.btn--gold:hover {
  background: #f1d000;
  color: var(--ink);
}

.btn--gold .btn__orb {
  background: rgba(13, 27, 62, 0.08);
}

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.7);
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--blue);
}

.btn--ghost .btn__orb {
  background: var(--blue-50);
}

.btn--danger {
  --btn-bg: var(--red);
  box-shadow: none;
}

.btn--danger:hover {
  background: #a3232d;
}

.btn--sm {
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 11px;
  font-size: 0.86rem;
}

.btn--block {
  width: 100%;
}

.bezel {
  padding: 6px;
  border-radius: var(--r-lg);
  background: rgba(15, 33, 86, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
}

.bezel__core {
  border-radius: calc(var(--r-lg) - 6px);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-sm);
  overflow: hidden;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin-bottom: 16px;
}

.field > span,
.field > label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.field small {
  color: var(--muted);
  font-size: 0.8rem;
}

.input,
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}

.input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--ring);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
}

.field__error {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.alert .ic {
  margin-top: 2px;
}

.alert--success {
  background: var(--green-50);
  color: #0b5c41;
  border-color: rgba(18, 128, 92, 0.18);
}

.alert--error {
  background: var(--red-50);
  color: #8e1d26;
  border-color: rgba(198, 47, 58, 0.18);
}

.alert--info {
  background: var(--blue-50);
  color: var(--blue-800);
  border-color: var(--line);
}

.alert--warn {
  background: var(--amber-50);
  color: #7a4a00;
  border-color: rgba(178, 106, 0, 0.18);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.6;
  background: var(--bg-2);
  color: var(--muted);
  white-space: nowrap;
}

.badge--blue {
  background: var(--blue-50);
  color: var(--blue);
}

.badge--green {
  background: var(--green-50);
  color: var(--green);
}

.badge--gold {
  background: var(--gold-50);
  color: var(--gold-700);
}

.badge--red {
  background: var(--red-50);
  color: var(--red);
}

.badge--amber {
  background: var(--amber-50);
  color: var(--amber);
}

[x-cloak],
[hidden] {
  display: none !important;
}

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

input[type="file"] {
  max-width: 100%;
  font-size: 0.86rem;
  color: var(--muted);
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line-2);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}

input[type="file"]::file-selector-button:hover {
  background: var(--blue-50);
}

img.blend {
  mix-blend-mode: multiply;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-out 160ms cubic-bezier(0.4, 0, 1, 1) both;
}

::view-transition-new(root) {
  animation: vt-in 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

::view-transition-group(*) {
  animation-duration: 300ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes vt-out {
  to {
    opacity: 0;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 var(--line-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

[data-live-region] {
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-live-region].is-loading {
  opacity: 0.55;
  pointer-events: none;
}

form[data-live].is-loading input[type="search"] {
  background-image: linear-gradient(90deg, transparent, rgba(46, 88, 194, 0.12), transparent);
  background-size: 200% 100%;
  animation: live-shimmer 1s linear infinite;
}

@keyframes live-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.cmdk {
  width: min(680px, calc(100vw - 24px));
  max-height: none;
  margin: min(12vh, 110px) auto auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.cmdk::backdrop {
  background: rgba(10, 23, 64, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cmdk[open] {
  animation: cmdk-in 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cmdk[open]::backdrop {
  animation: cmdk-fade 220ms ease-out;
}

@keyframes cmdk-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
}

@keyframes cmdk-fade {
  from { opacity: 0; }
}

.cmdk.is-closing {
  animation: cmdk-out 170ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.cmdk.is-closing::backdrop {
  animation: cmdk-fade-out 170ms ease-in forwards;
}

@keyframes cmdk-out {
  to { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

@keyframes cmdk-fade-out {
  to { opacity: 0; }
}

.cmdk__box {
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 620px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 40px 100px -30px rgba(10, 23, 64, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 0 0 1px var(--line);
  overflow: hidden;
}

.cmdk__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 20px;
  border-bottom: 1px solid var(--line);
}

.cmdk__search {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: none;
}

.cmdk__bar input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
}

.cmdk__bar input:focus {
  outline: none;
}

.cmdk__bar input::-webkit-search-cancel-button {
  display: none;
}

.cmdk__spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--blue-100);
  border-top-color: var(--blue);
  opacity: 0;
  transition: opacity 150ms;
}

.cmdk.is-loading .cmdk__spin {
  opacity: 1;
  animation: cmdk-spin 0.7s linear infinite;
}

@keyframes cmdk-spin {
  to { transform: rotate(360deg); }
}

.cmdk__esc {
  padding: 5px 9px;
  border: 0;
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.cmdk__body {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.cmdk__group {
  padding: 4px 0;
  animation: cmdk-group 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}

@keyframes cmdk-group {
  from { opacity: 0; transform: translateY(6px); }
}

.cmdk__label {
  padding: 8px 12px 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.cmdk__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 140ms ease;
}

.cmdk__item[aria-selected="true"] {
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px var(--blue-100);
}

.cmdk__ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--bg);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 140ms ease, color 140ms ease;
}

.cmdk__item[aria-selected="true"] .cmdk__ic {
  background: var(--grad);
  color: #fff;
  box-shadow: none;
}

.cmdk__ic .ic {
  width: 19px;
  height: 19px;
}

.cmdk__text {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}

.cmdk__text strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 650;
}

.cmdk__text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--muted);
}

.cmdk__text mark {
  padding: 0 1px;
  border-radius: 3px;
  background: rgba(253, 221, 4, 0.45);
  color: inherit;
}

.cmdk__go {
  margin-left: auto;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 140ms ease, transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cmdk__item[aria-selected="true"] .cmdk__go {
  opacity: 1;
  transform: none;
}

.cmdk__go .ic {
  width: 16px;
  height: 16px;
}

.cmdk__empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 36px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.cmdk__empty .ic {
  width: 28px;
  height: 28px;
  color: var(--faint);
}

.cmdk__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--faint);
  font-size: 0.74rem;
}

.cmdk__foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

html.cmdk-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .cmdk {
    width: 100vw;
    margin: 0;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
  }

  .cmdk__box {
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .cmdk__foot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmdk[open],
  .cmdk__group {
    animation: none;
  }
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--line-2);
  border-radius: 7px;
  background: var(--surface);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 200ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:not([role="switch"])::before {
  content: "";
  width: 11px;
  height: 11px;
  background: #fff;
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
  transform: scale(0);
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
  border-color: var(--blue-300);
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 6px 14px -8px rgba(33, 67, 149, 0.8);
}

input[type="checkbox"]:not([role="switch"]):checked::before,
input[type="radio"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:active,
input[type="radio"]:active {
  transform: scale(0.92);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

input[type="checkbox"][role="switch"] {
  position: relative;
  display: block;
  width: 44px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: var(--line-2);
  box-shadow: inset 0 1px 2px rgba(13, 27, 62, 0.12);
  transition: background-color 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

input[type="checkbox"][role="switch"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(13, 27, 62, 0.28);
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

input[type="checkbox"][role="switch"]:hover { border-color: transparent; }
input[type="checkbox"][role="switch"]:checked { background: var(--green); box-shadow: inset 0 1px 2px rgba(13, 27, 62, 0.12); }
input[type="checkbox"][role="switch"]:checked::after { transform: translateX(18px); }
input[type="checkbox"][role="switch"]:active { transform: none; }
input[type="checkbox"][role="switch"]:active::after { width: 24px; }
input[type="checkbox"][role="switch"]:checked:active::after { transform: translateX(14px); }

.check {
  align-items: flex-start;
  line-height: 1.45;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

input[type="file"] {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1.5px dashed var(--blue-300);
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--muted);
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

input[type="file"]:hover {
  border-color: var(--blue);
  background: #fff;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  box-shadow: none;
}

input[type="file"]::file-selector-button:hover {
  background: var(--blue);
}

.empty img,
.empty-state img {
  border-radius: 50%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%);
  mask-image: radial-gradient(circle, #000 52%, transparent 71%);
}

.eyebrow {
  display: none !important;
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: rgba(198, 47, 58, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(198, 47, 58, 0.1) !important;
}

.driver-popover.hc-tour {
  max-width: min(360px, calc(100vw - 32px));
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: var(--surface, #fff);
  color: var(--text, #26324a);
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
  box-shadow: 0 24px 60px -20px rgba(13, 27, 62, 0.45), 0 0 0 1px rgba(13, 27, 62, 0.06);
}
.driver-popover.hc-tour .driver-popover-title {
  font-family: var(--display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink, #0d1b3e);
  line-height: 1.35;
}
.driver-popover.hc-tour .driver-popover-description {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted, #5b6475);
}
.driver-popover.hc-tour .driver-popover-progress-text {
  color: var(--muted, #5b6475);
  font-size: 0.78rem;
  font-weight: 600;
}
.driver-popover.hc-tour .driver-popover-footer {
  margin-top: 14px;
  gap: 8px;
}
.driver-popover.hc-tour .driver-popover-footer button {
  padding: 8px 14px;
  border: 1px solid var(--line, #dfe5ef);
  border-radius: 999px;
  background: var(--surface, #fff);
  color: var(--ink, #0d1b3e);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-shadow: none;
  cursor: pointer;
}
.driver-popover.hc-tour .driver-popover-next-btn {
  border-color: transparent;
  background: var(--blue, #214395);
  color: #fff;
}
.driver-popover.hc-tour .driver-popover-close-btn {
  color: var(--muted, #5b6475);
}
.driver-popover.hc-tour .driver-popover-arrow-side-left.driver-popover-arrow { border-left-color: var(--surface, #fff); }
.driver-popover.hc-tour .driver-popover-arrow-side-right.driver-popover-arrow { border-right-color: var(--surface, #fff); }
.driver-popover.hc-tour .driver-popover-arrow-side-top.driver-popover-arrow { border-top-color: var(--surface, #fff); }
.driver-popover.hc-tour .driver-popover-arrow-side-bottom.driver-popover-arrow { border-bottom-color: var(--surface, #fff); }

.filepick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 7px 14px 7px 7px;
  border: 1.5px dashed var(--blue-300);
  border-radius: 14px;
  background: var(--blue-50);
  cursor: pointer;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.filepick > input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.filepick__btn {
  flex: none;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  pointer-events: none;
  transition: filter 240ms var(--ease), box-shadow 240ms var(--ease), transform 160ms var(--ease);
}

.filepick__name {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.filepick:hover,
.filepick.is-drag {
  border-color: var(--blue-500);
  background: var(--surface);
}

.filepick:hover .filepick__btn,
.filepick.is-drag .filepick__btn {
  filter: brightness(1.1);
  box-shadow: 0 6px 16px -8px rgba(33, 67, 149, 0.7);
}

.filepick:active .filepick__btn {
  transform: scale(0.97);
}

.filepick:focus-within {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--ring);
}

.filepick.has-file {
  border-style: solid;
  background: var(--surface);
}

.filepick.has-file .filepick__name {
  color: var(--ink);
  font-weight: 600;
}

.filepick { min-width: 0; max-width: 100%; }
.filepick__name { flex: 1 1 0; width: 0; }
.field { grid-template-columns: minmax(0, 1fr); }

.gsi-material-button {
  -webkit-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-width: min-content;
  height: 44px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid #747775;
  border-radius: 22px;
  box-sizing: border-box;
  background-color: #ffffff;
  background-image: none;
  color: #1f1f1f;
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.25px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
  outline: none;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
}

.gsi-material-button .gsi-material-button-icon {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-right: 12px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  overflow: hidden;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.218s;
}

.gsi-material-button:active .gsi-material-button-state,
.gsi-material-button:focus-visible .gsi-material-button-state {
  background-color: #303030;
  opacity: 0.12;
}

.gsi-material-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.45);
}

.gsi-material-button:hover {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 0.08;
}

.sso {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.sso__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.sso__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 6px;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sso__or::before,
.sso__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

.bell-wrap { position: relative; display: inline-flex; }
.bell { position: relative; }
.bell__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--surface);
}
.bell__badge[hidden] { display: none; }
.bell.is-ring .ic { animation: bell-ring 900ms cubic-bezier(0.36, 0.07, 0.19, 0.97); transform-origin: 50% 10%; }
@keyframes bell-ring {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-12deg); }
  45% { transform: rotate(9deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(3deg); }
}

.bell__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: min(380px, calc(100vw - 24px));
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 24px 60px -24px rgba(13, 27, 62, 0.45), inset 0 0 0 1px var(--line);
  animation: bell-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.bell__panel[hidden] { display: none; }
@keyframes bell-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } to { opacity: 1; transform: none; } }

.bell__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
}
.bell__head strong { font-size: 0.98rem; color: var(--ink); }
.bell__head button { border: 0; background: none; color: var(--blue); font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer; }

.bell__list { max-height: min(60vh, 420px); margin: 0; padding: 0 8px; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.bell__empty { padding: 18px 12px 22px; color: var(--muted); font-size: 0.86rem; text-align: center; }
.bell__item a {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 11px 12px 11px 26px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms;
}
.bell__item a:hover, .bell__item a:focus-visible { background: var(--surface-2); }
.bell__item a::before { content: ""; position: absolute; top: 17px; left: 11px; width: 7px; height: 7px; border-radius: 50%; background: transparent; }
.bell__item.is-unread a::before { background: var(--blue); }
.bell__item.is-gold.is-unread a::before { background: var(--gold-600); }
.bell__item.is-red.is-unread a::before { background: var(--red); }
.bell__item.is-green.is-unread a::before { background: var(--green); }
.bell__item strong { font-size: 0.88rem; color: var(--ink); line-height: 1.35; }
.bell__item small { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.bell__item time { color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.bell__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.bell__all .ic { width: 16px; height: 16px; }

.nlist { display: grid; gap: 14px; }
.nlist__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nlist__head h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1.15rem; }
.nlist__head p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.nlist__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.nlist__acts [hidden] { display: none; }
.nlist__push { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--blue-50); color: var(--blue-800); font-size: 0.86rem; font-weight: 600; }
.nlist__empty { display: grid; justify-items: center; gap: 6px; padding: 36px 16px; text-align: center; color: var(--muted); }
.nlist__empty .ic { width: 34px; height: 34px; color: var(--blue-300); }
.nlist__empty strong { color: var(--ink); }
.nlist__empty p { margin: 0; max-width: 46ch; }
.nlist__items { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nitem a {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 160ms, box-shadow 160ms;
}
.nitem a:hover { background: var(--blue-50); }
.nitem__dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--line-2); }
.nitem.is-unread a { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--blue-100), 0 8px 20px -16px rgba(33, 67, 149, 0.6); }
.nitem.is-unread .nitem__dot { background: var(--blue); }
.nitem.is-unread.is-gold .nitem__dot { background: var(--gold-600); }
.nitem.is-unread.is-red .nitem__dot { background: var(--red); }
.nitem.is-unread.is-green .nitem__dot { background: var(--green); }
.nitem__body { display: grid; gap: 2px; }
.nitem__body strong { color: var(--ink); font-size: 0.92rem; }
.nitem__body small { color: var(--muted); font-size: 0.84rem; }
.nitem__time { color: var(--muted); font-size: 0.76rem; font-weight: 600; white-space: nowrap; }

.install {
  position: fixed;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom) + 12px);
  left: 12px;
  z-index: 80;
  display: grid;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 30px 70px -24px rgba(13, 27, 62, 0.55), inset 0 0 0 1px var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1), transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.install.is-in { opacity: 1; transform: none; }
.install__card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.install__card img { border-radius: 15px; box-shadow: 0 10px 22px -14px rgba(33, 67, 149, 0.8); }
.install__txt { display: grid; gap: 2px; }
.install__txt strong { color: var(--ink); font-size: 0.98rem; }
.install__txt small { color: var(--muted); font-size: 0.8rem; }
.install__x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--muted); cursor: pointer; }
.install__p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.install__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.install__steps li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--surface-2); font-size: 0.86rem; color: var(--ink); }
.install__k { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.install__k .ic { width: 18px; height: 18px; }
.install__acts { display: grid; gap: 8px; }

.acct-tab__n {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}
.acct-tab__n[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .bell.is-ring .ic, .bell__panel { animation: none; }
  .install { transition: none; }
}
.install__k--lg { width: 52px; height: 52px; border-radius: 15px; background: var(--grad); color: #fff; }
.install__k--lg .ic { width: 26px; height: 26px; }

@property --deg {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@keyframes vv-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes vv-grow {
  from { transform: scaleX(0); }
}

@keyframes vv-ring {
  from { --deg: 0deg; --p: 0; }
}

@keyframes vv-stroke {
  from { stroke-dasharray: 0 400; }
}

@keyframes vv-shine {
  from { transform: translateX(-120%) skewX(-18deg); }
  to { transform: translateX(260%) skewX(-18deg); }
}

@keyframes vv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes vv-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: no-preference) {
  .content > :not(dialog):not(script),
  .acct-body > *,
  .grid-4 > *,
  .grid-3 > *,
  .p-stats > *,
  .quick > *,
  .dash-batches > *,
  .feed > *,
  .vx-facts > *,
  .nlist__items > li,
  .rd-list > li,
  .report-grid > *,
  .role-grid > *,
  .ses-sum > *,
  .onboard__steps > li {
    animation: vv-up 560ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }

  :is(.content, .acct-body, .grid-4, .grid-3, .p-stats, .quick, .dash-batches, .feed, .vx-facts, .nlist__items, .rd-list, .report-grid, .role-grid, .ses-sum, .onboard__steps) > :nth-child(2) { animation-delay: 50ms; }
  :is(.content, .acct-body, .grid-4, .grid-3, .p-stats, .quick, .dash-batches, .feed, .vx-facts, .nlist__items, .rd-list, .report-grid, .role-grid, .ses-sum, .onboard__steps) > :nth-child(3) { animation-delay: 100ms; }
  :is(.content, .acct-body, .grid-4, .grid-3, .p-stats, .quick, .dash-batches, .feed, .vx-facts, .nlist__items, .rd-list, .report-grid, .role-grid, .ses-sum, .onboard__steps) > :nth-child(4) { animation-delay: 150ms; }
  :is(.content, .acct-body, .grid-4, .grid-3, .p-stats, .quick, .dash-batches, .feed, .vx-facts, .nlist__items, .rd-list, .report-grid, .role-grid, .ses-sum, .onboard__steps) > :nth-child(5) { animation-delay: 200ms; }
  :is(.content, .acct-body, .grid-4, .grid-3, .p-stats, .quick, .dash-batches, .feed, .vx-facts, .nlist__items, .rd-list, .report-grid, .role-grid, .ses-sum, .onboard__steps) > :nth-child(6) { animation-delay: 250ms; }
  :is(.content, .acct-body, .grid-4, .grid-3, .p-stats, .quick, .dash-batches, .feed, .vx-facts, .nlist__items, .rd-list, .report-grid, .role-grid, .ses-sum, .onboard__steps) > :nth-child(n+7) { animation-delay: 300ms; }

  .batch-card__bar > span,
  .bc-bar > span,
  .funnel__bar > span,
  .bars__fill,
  .stat__share > span,
  .hbar > span {
    transform-origin: left center;
    animation: vv-grow 1100ms cubic-bezier(0.16, 1, 0.3, 1) 250ms backwards;
  }

  .launch__ring,
  .launch-hero__ring,
  .onboard__ring,
  .pf-ring {
    animation: vv-ring 1300ms cubic-bezier(0.16, 1, 0.3, 1) 200ms backwards;
  }

  .seat-ring__fg,
  .ses__bar,
  .bc-ring__fill {
    animation: vv-stroke 1300ms cubic-bezier(0.16, 1, 0.3, 1) 250ms backwards;
  }

  .stat,
  .quick__item,
  .p-stat,
  .vx-fact,
  .dash-batch,
  .rd,
  .nitem a {
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1), background-color 200ms, border-color 200ms;
  }

  :is(a.stat, .quick__item, .dash-batch, .vx-fact, .p-stat):hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -22px rgba(33, 67, 149, 0.55);
  }

  :is(.stat__icon, .p-stat__ic, .quick__ic, .vx-fact__ic) {
    transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  :is(a.stat, .quick__item, .p-stat, .vx-fact):hover :is(.stat__icon, .p-stat__ic, .quick__ic, .vx-fact__ic) {
    transform: scale(1.1) rotate(-4deg);
  }

  .welcome::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -20% auto -20% 0;
    width: 32%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    pointer-events: none;
    animation: vv-shine 1600ms cubic-bezier(0.4, 0, 0.2, 1) 500ms 1 both;
  }

  .docs-due__ic,
  .onboard__no,
  .feed__dot {
    animation: vv-breathe 2600ms ease-in-out 800ms 3;
  }

  .table tbody tr {
    animation: vv-up 480ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }

  .table tbody tr:nth-child(2) { animation-delay: 40ms; }
  .table tbody tr:nth-child(3) { animation-delay: 80ms; }
  .table tbody tr:nth-child(4) { animation-delay: 120ms; }
  .table tbody tr:nth-child(5) { animation-delay: 160ms; }
  .table tbody tr:nth-child(n+6) { animation-delay: 200ms; }

  .empty img {
    animation: vv-float 4.5s ease-in-out infinite;
  }
}

.combo {
  position: relative;
}

.combo__native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.field .combo__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 11px 12px 11px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.combo__btn:hover {
  border-color: var(--blue-300);
}

.combo__btn:focus-visible,
.combo.is-open .combo__btn {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--ring);
}

.combo__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo.is-empty .combo__value {
  color: var(--faint);
  font-weight: 500;
}

.combo__caret {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--blue-50);
  color: var(--blue);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
}

.combo__caret .ic {
  width: 14px;
  height: 14px;
}

.combo.is-open .combo__caret {
  transform: rotate(180deg);
  background: var(--blue);
  color: #fff;
}

.combo.is-disabled .combo__btn {
  background: var(--bg);
  cursor: not-allowed;
}

.combo.is-disabled .combo__caret {
  background: transparent;
  color: var(--faint);
}

.combo.is-invalid .combo__btn,
.field.has-error .combo__btn {
  border-color: var(--red);
}

.combo__note {
  display: block;
  margin-top: 6px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
}

.combo__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 30px 60px -28px rgba(13, 27, 62, 0.55), 0 0 0 1px var(--line);
  transform-origin: top center;
}

.combo__panel[hidden] {
  display: none;
}

.combo.is-up .combo__panel {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom center;
}

.combo__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
}

.combo__search .ic {
  flex: none;
  width: 18px;
  height: 18px;
}

.field .combo .combo__search input.combo__input[type="search"] {
  width: 100%;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.field .combo .combo__search input.combo__input[type="search"]:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.combo__list {
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-width: thin;
}

.combo__list:focus {
  outline: none;
}

.combo__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
}

.combo__opt.is-active {
  background: var(--blue-50);
}

.combo__opt.is-selected {
  color: var(--blue);
}

.combo__name {
  min-width: 0;
  flex: 1;
}

.combo__tag {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.combo__tag--kota {
  background: var(--gold-50);
  color: var(--gold-700);
}

.combo__tag--kab {
  background: var(--green-50);
  color: var(--green);
}

.combo__tick {
  display: none;
  flex: none;
  color: var(--blue);
}

.combo__tick .ic {
  width: 16px;
  height: 16px;
}

.combo__opt.is-selected .combo__tick {
  display: grid;
}

.combo__empty {
  margin: 0;
  padding: 18px 16px 20px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

@keyframes comboIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes comboSheet {
  from { transform: translateY(100%); }
  to { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .combo__panel {
    animation: comboIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (max-width: 640px) {
  .combo.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(9, 20, 48, 0.45);
  }

  .combo__panel,
  .combo.is-up .combo__panel {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 81;
    max-height: min(72dvh, 560px);
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 22px 22px 0 0;
  }

  .combo__opt {
    padding: 13px 12px;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .combo__panel {
    animation: comboSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
