@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or
    ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *,
    :before,
    :after,
    ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-pan-x: initial;
      --tw-pan-y: initial;
      --tw-pinch-zoom: initial;
      --tw-space-y-reverse: 0;
      --tw-space-x-reverse: 0;
      --tw-divide-x-reverse: 0;
      --tw-border-style: solid;
      --tw-divide-y-reverse: 0;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-content: "";
    }
  }
}
@font-face {
  font-family: Nunito Sans;
  src: url(/landing/assets/fonts/NunitoSans-Regular.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito Sans;
  src: url(/landing/assets/fonts/NunitoSans-Bold.woff2) format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}
@layer theme {
  :root,
  :host {
    --font-sans: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
      monospace;
    --color-red-50: oklch(97.1% 0.013 17.38);
    --color-red-200: oklch(88.5% 0.062 18.334);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-orange-500: oklch(70.5% 0.213 47.604);
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-yellow-100: oklch(97.3% 0.071 103.193);
    --color-yellow-600: oklch(68.1% 0.162 75.834);
    --color-yellow-700: oklch(55.4% 0.135 66.442);
    --color-green-50: oklch(98.2% 0.018 155.826);
    --color-green-100: oklch(96.2% 0.044 156.743);
    --color-green-200: oklch(92.5% 0.084 155.995);
    --color-green-300: oklch(87.1% 0.15 154.449);
    --color-green-500: oklch(72.3% 0.219 149.579);
    --color-green-600: oklch(62.7% 0.194 149.214);
    --color-green-700: oklch(52.7% 0.154 150.069);
    --color-emerald-50: oklch(97.9% 0.021 166.113);
    --color-emerald-200: oklch(90.5% 0.093 164.15);
    --color-emerald-400: oklch(76.5% 0.177 163.223);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-emerald-700: oklch(50.8% 0.118 165.612);
    --color-emerald-950: oklch(26.2% 0.051 172.552);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-indigo-700: oklch(45.7% 0.24 277.023);
    --color-rose-50: oklch(96.9% 0.015 12.422);
    --color-rose-200: oklch(89.2% 0.058 10.001);
    --color-rose-700: oklch(51.4% 0.222 16.935);
    --color-rose-950: oklch(27.1% 0.105 12.094);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-gray-950: oklch(13% 0.028 261.692);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-xs: 20rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-5xl: 64rem;
    --container-7xl: 80rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1/0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25/0.875);
    --text-base: 1rem;
    --text-base--line-height: 1.5;
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75/1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75/1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2/1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: 1.2;
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5/2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --tracking-tight: -0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 1.5rem;
    --radius-4xl: 2rem;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    --blur-md: 12px;
    --blur-lg: 16px;
    --blur-xl: 24px;
    --default-transition-duration: 0.15s;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-primary: var(--primary);
    --color-primary-subtle: var(--primary-subtle);
  }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .pointer-events-auto {
    pointer-events: auto;
  }
  .pointer-events-none {
    pointer-events: none;
  }
  .\!visible {
    visibility: visible !important;
  }
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }
  .not-sr-only {
    clip-path: none;
    white-space: normal;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    position: static;
    overflow: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .-inset-2 {
    inset: calc(var(--spacing) * -2);
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .inset-x-0 {
    inset-inline: calc(var(--spacing) * 0);
  }
  .inset-x-2 {
    inset-inline: calc(var(--spacing) * 2);
  }
  .inset-y-0 {
    inset-block: calc(var(--spacing) * 0);
  }
  .-top-1 {
    top: calc(var(--spacing) * -1);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .top-1\/2 {
    top: 50%;
  }
  .top-2 {
    top: calc(var(--spacing) * 2);
  }
  .top-4 {
    top: calc(var(--spacing) * 4);
  }
  .top-8 {
    top: calc(var(--spacing) * 8);
  }
  .top-32 {
    top: calc(var(--spacing) * 32);
  }
  .top-48 {
    top: calc(var(--spacing) * 48);
  }
  .top-\[4px\] {
    top: 4px;
  }
  .-right-1 {
    right: calc(var(--spacing) * -1);
  }
  .right-0 {
    right: calc(var(--spacing) * 0);
  }
  .right-1 {
    right: calc(var(--spacing) * 1);
  }
  .right-4 {
    right: calc(var(--spacing) * 4);
  }
  .right-5 {
    right: calc(var(--spacing) * 5);
  }
  .bottom-0 {
    bottom: calc(var(--spacing) * 0);
  }
  .bottom-2 {
    bottom: calc(var(--spacing) * 2);
  }
  .bottom-5 {
    bottom: calc(var(--spacing) * 5);
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .left-1\/2 {
    left: 50%;
  }
  .left-2 {
    left: calc(var(--spacing) * 2);
  }
  .left-4 {
    left: calc(var(--spacing) * 4);
  }
  .left-44 {
    left: calc(var(--spacing) * 44);
  }
  .left-\[7px\] {
    left: 7px;
  }
  .isolate {
    isolation: isolate;
  }
  .isolation-auto {
    isolation: auto;
  }
  .-z-10 {
    z-index: -10;
  }
  .z-10 {
    z-index: 10;
  }
  .z-30 {
    z-index: 30;
  }
  .z-50 {
    z-index: 50;
  }
  .z-\[60\] {
    z-index: 60;
  }
  .z-\[70\] {
    z-index: 70;
  }
  .z-\[13000\] {
    z-index: 13000;
  }
  .order-first {
    order: -9999;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .col-start-1 {
    grid-column-start: 1;
  }
  .col-start-2 {
    grid-column-start: 2;
  }
  .row-start-1 {
    grid-row-start: 1;
  }
  .container {
    width: 100%;
  }
  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }
  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }
  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }
  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }
  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }
  .container\! {
    width: 100% !important;
  }
  @media (min-width: 40rem) {
    .container\! {
      max-width: 40rem !important;
    }
  }
  @media (min-width: 48rem) {
    .container\! {
      max-width: 48rem !important;
    }
  }
  @media (min-width: 64rem) {
    .container\! {
      max-width: 64rem !important;
    }
  }
  @media (min-width: 80rem) {
    .container\! {
      max-width: 80rem !important;
    }
  }
  @media (min-width: 96rem) {
    .container\! {
      max-width: 96rem !important;
    }
  }
  .-m-2 {
    margin: calc(var(--spacing) * -2);
  }
  .-mx-4 {
    margin-inline: calc(var(--spacing) * -4);
  }
  .-mx-8 {
    margin-inline: calc(var(--spacing) * -8);
  }
  .mx-1\.5 {
    margin-inline: calc(var(--spacing) * 1.5);
  }
  .mx-2 {
    margin-inline: calc(var(--spacing) * 2);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .my-8 {
    margin-block: calc(var(--spacing) * 8);
  }
  .my-10 {
    margin-block: calc(var(--spacing) * 10);
  }
  .my-24 {
    margin-block: calc(var(--spacing) * 24);
  }
  .my-32 {
    margin-block: calc(var(--spacing) * 32);
  }
  .-mt-8 {
    margin-top: calc(var(--spacing) * -8);
  }
  .-mt-96 {
    margin-top: calc(var(--spacing) * -96);
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-2\.5 {
    margin-top: calc(var(--spacing) * 2.5);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }
  .mt-12 {
    margin-top: calc(var(--spacing) * 12);
  }
  .mt-16 {
    margin-top: calc(var(--spacing) * 16);
  }
  .mt-24 {
    margin-top: calc(var(--spacing) * 24);
  }
  .mt-32 {
    margin-top: calc(var(--spacing) * 32);
  }
  .mt-auto {
    margin-top: auto;
  }
  .mr-1 {
    margin-right: calc(var(--spacing) * 1);
  }
  .mr-3 {
    margin-right: calc(var(--spacing) * 3);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-1\.5 {
    margin-bottom: calc(var(--spacing) * 1.5);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-10 {
    margin-bottom: calc(var(--spacing) * 10);
  }
  .mb-32 {
    margin-bottom: calc(var(--spacing) * 32);
  }
  .-ml-1 {
    margin-left: calc(var(--spacing) * -1);
  }
  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }
  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }
  .ml-auto {
    margin-left: auto;
  }
  .line-clamp-1 {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }
  .\!hidden {
    display: none !important;
  }
  .block {
    display: block;
  }
  .block\! {
    display: block !important;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .flow-root {
    display: flow-root;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .hidden\! {
    display: none !important;
  }
  .inline {
    display: inline;
  }
  .inline\! {
    display: inline !important;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .inline-grid {
    display: inline-grid;
  }
  .inline-table {
    display: inline-table;
  }
  .list-item {
    display: list-item;
  }
  .table {
    display: table;
  }
  .table\! {
    display: table !important;
  }
  .table-caption {
    display: table-caption;
  }
  .table-cell {
    display: table-cell;
  }
  .table-column {
    display: table-column;
  }
  .table-column-group {
    display: table-column-group;
  }
  .table-footer-group {
    display: table-footer-group;
  }
  .table-header-group {
    display: table-header-group;
  }
  .table-row {
    display: table-row;
  }
  .table-row-group {
    display: table-row-group;
  }
  .aspect-3\/2 {
    aspect-ratio: 3/2;
  }
  .aspect-3\/4 {
    aspect-ratio: 3/4;
  }
  .aspect-square {
    aspect-ratio: 1;
  }
  .size-3\.75 {
    width: calc(var(--spacing) * 3.75);
    height: calc(var(--spacing) * 3.75);
  }
  .size-4 {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .size-6 {
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
  }
  .size-7 {
    width: calc(var(--spacing) * 7);
    height: calc(var(--spacing) * 7);
  }
  .size-12 {
    width: calc(var(--spacing) * 12);
    height: calc(var(--spacing) * 12);
  }
  .size-16 {
    width: calc(var(--spacing) * 16);
    height: calc(var(--spacing) * 16);
  }
  .size-20 {
    width: calc(var(--spacing) * 20);
    height: calc(var(--spacing) * 20);
  }
  .size-24 {
    width: calc(var(--spacing) * 24);
    height: calc(var(--spacing) * 24);
  }
  .size-\[38px\] {
    width: 38px;
    height: 38px;
  }
  .size-full {
    width: 100%;
    height: 100%;
  }
  .h-0\.5 {
    height: calc(var(--spacing) * 0.5);
  }
  .h-1\.5 {
    height: calc(var(--spacing) * 1.5);
  }
  .h-2\.5 {
    height: calc(var(--spacing) * 2.5);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-3\.5 {
    height: calc(var(--spacing) * 3.5);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-14 {
    height: calc(var(--spacing) * 14);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-64 {
    height: calc(var(--spacing) * 64);
  }
  .h-96 {
    height: calc(var(--spacing) * 96);
  }
  .h-full {
    height: 100%;
  }
  .h-screen {
    height: 100vh;
  }
  .min-h-0 {
    min-height: calc(var(--spacing) * 0);
  }
  .min-h-\[14rem\] {
    min-height: 14rem;
  }
  .min-h-\[200px\] {
    min-height: 200px;
  }
  .min-h-dvh {
    min-height: 100dvh;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-0 {
    width: calc(var(--spacing) * 0);
  }
  .w-1\.5 {
    width: calc(var(--spacing) * 1.5);
  }
  .w-1\/3 {
    width: 33.3333%;
  }
  .w-2\.5 {
    width: calc(var(--spacing) * 2.5);
  }
  .w-2\/3 {
    width: 66.6667%;
  }
  .w-2\/5 {
    width: 40%;
  }
  .w-3 {
    width: calc(var(--spacing) * 3);
  }
  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }
  .w-3\/5 {
    width: 60%;
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-7 {
    width: calc(var(--spacing) * 7);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-14 {
    width: calc(var(--spacing) * 14);
  }
  .w-56 {
    width: calc(var(--spacing) * 56);
  }
  .w-64 {
    width: calc(var(--spacing) * 64);
  }
  .w-80 {
    width: calc(var(--spacing) * 80);
  }
  .w-104 {
    width: calc(var(--spacing) * 104);
  }
  .w-auto {
    width: auto;
  }
  .w-full {
    width: 100%;
  }
  .w-screen {
    width: 100vw;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-3xl {
    max-width: var(--container-3xl);
  }
  .max-w-5xl {
    max-width: var(--container-5xl);
  }
  .max-w-7xl {
    max-width: var(--container-7xl);
  }
  .max-w-\[140px\] {
    max-width: 140px;
  }
  .max-w-\[1440px\] {
    max-width: 1440px;
  }
  .max-w-lg {
    max-width: var(--container-lg);
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .max-w-none {
    max-width: none;
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .max-w-xs {
    max-width: var(--container-xs);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .min-w-12 {
    min-width: calc(var(--spacing) * 12);
  }
  .min-w-40 {
    min-width: calc(var(--spacing) * 40);
  }
  .min-w-\[1\.25rem\] {
    min-width: 1.25rem;
  }
  .min-w-\[120px\] {
    min-width: 120px;
  }
  .flex-1 {
    flex: 1;
  }
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  .shrink {
    flex-shrink: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .flex-grow,
  .grow {
    flex-grow: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .-translate-x-1\/2 {
    --tw-translate-x: -50%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .-translate-x-full {
    --tw-translate-x: -100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .-translate-y-1\/2 {
    --tw-translate-y: -50%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .scale-100 {
    --tw-scale-x: 100%;
    --tw-scale-y: 100%;
    --tw-scale-z: 100%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .scale-125 {
    --tw-scale-x: 125%;
    --tw-scale-y: 125%;
    --tw-scale-z: 125%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .-rotate-180 {
    rotate: -180deg;
  }
  .rotate-0 {
    rotate: none;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,)
      var(--tw-skew-y,);
  }
  .animate-\[pulse-glow_2s_ease-in-out_infinite\] {
    animation: 2s ease-in-out infinite pulse-glow;
  }
  .animate-\[pulse-glow_2s_ease-in-out_infinite_0\.5s\] {
    animation: 2s ease-in-out 0.5s infinite pulse-glow;
  }
  .animate-ping {
    animation: var(--animate-ping);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-not-allowed {
    cursor: not-allowed;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .cursor-text {
    cursor: text;
  }
  .touch-pinch-zoom {
    --tw-pinch-zoom: pinch-zoom;
    touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
  }
  .resize {
    resize: both;
  }
  .resize-none {
    resize: none;
  }
  .scroll-mt-8 {
    scroll-margin-top: calc(var(--spacing) * 8);
  }
  .list-inside {
    list-style-position: inside;
  }
  .list-disc {
    list-style-type: disc;
  }
  .list-none {
    list-style-type: none;
  }
  .appearance-none {
    appearance: none;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-\[1rem_1fr\] {
    grid-template-columns: 1rem 1fr;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-around {
    justify-content: space-around;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-0\.5 {
    gap: calc(var(--spacing) * 0.5);
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }
  .gap-12 {
    gap: calc(var(--spacing) * 12);
  }
  .gap-16 {
    gap: calc(var(--spacing) * 16);
  }
  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-12 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 12) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 12) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-reverse > :not(:last-child)) {
    --tw-space-y-reverse: 1;
  }
  .gap-x-8 {
    column-gap: calc(var(--spacing) * 8);
  }
  :where(.space-x-reverse > :not(:last-child)) {
    --tw-space-x-reverse: 1;
  }
  .gap-y-2 {
    row-gap: calc(var(--spacing) * 2);
  }
  .gap-y-4 {
    row-gap: calc(var(--spacing) * 4);
  }
  .gap-y-10 {
    row-gap: calc(var(--spacing) * 10);
  }
  .gap-y-12 {
    row-gap: calc(var(--spacing) * 12);
  }
  :where(.divide-x > :not(:last-child)) {
    --tw-divide-x-reverse: 0;
    border-inline-style: var(--tw-border-style);
    border-inline-start-width: calc(1px * var(--tw-divide-x-reverse));
    border-inline-end-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));
  }
  :where(.divide-y > :not(:last-child)) {
    --tw-divide-y-reverse: 0;
    border-bottom-style: var(--tw-border-style);
    border-top-style: var(--tw-border-style);
    border-top-width: calc(1px * var(--tw-divide-y-reverse));
    border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  }
  :where(.divide-y-reverse > :not(:last-child)) {
    --tw-divide-y-reverse: 1;
  }
  .self-center {
    align-self: center;
  }
  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-visible {
    overflow: visible;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-3xl {
    border-radius: var(--radius-3xl);
  }
  .rounded-4xl {
    border-radius: var(--radius-4xl);
  }
  .rounded-\[calc\(var\(--radius-xl\)\+0\.5rem\)\] {
    border-radius: calc(var(--radius-xl) + 0.5rem);
  }
  .rounded-full {
    border-radius: 3.40282e38px;
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .rounded-s {
    border-start-start-radius: 0.25rem;
    border-end-start-radius: 0.25rem;
  }
  .rounded-ss {
    border-start-start-radius: 0.25rem;
  }
  .rounded-e {
    border-start-end-radius: 0.25rem;
    border-end-end-radius: 0.25rem;
  }
  .rounded-se {
    border-start-end-radius: 0.25rem;
  }
  .rounded-ee {
    border-end-end-radius: 0.25rem;
  }
  .rounded-es {
    border-end-start-radius: 0.25rem;
  }
  .rounded-t {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
  }
  .rounded-l {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
  .rounded-tl {
    border-top-left-radius: 0.25rem;
  }
  .rounded-r {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
  }
  .rounded-tr {
    border-top-right-radius: 0.25rem;
  }
  .rounded-b {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
  .rounded-br {
    border-bottom-right-radius: 0.25rem;
  }
  .rounded-bl {
    border-bottom-left-radius: 0.25rem;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-\[1px\] {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-x {
    border-inline-style: var(--tw-border-style);
    border-inline-width: 1px;
  }
  .border-y {
    border-block-style: var(--tw-border-style);
    border-block-width: 1px;
  }
  .border-s {
    border-inline-start-style: var(--tw-border-style);
    border-inline-start-width: 1px;
  }
  .border-e {
    border-inline-end-style: var(--tw-border-style);
    border-inline-end-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-r {
    border-right-style: var(--tw-border-style);
    border-right-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-l {
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
  }
  .border-dotted {
    --tw-border-style: dotted;
    border-style: dotted;
  }
  .border-none {
    --tw-border-style: none;
    border-style: none;
  }
  .border-amber-500\/30 {
    border-color: #f99c004d;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .border-amber-500\/30 {
      border-color: color-mix(in oklab, var(--color-amber-500) 30%, transparent);
    }
  }
  .border-black\/5 {
    border-color: #0000000d;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .border-black\/5 {
      border-color: color-mix(in oklab, var(--color-black) 5%, transparent);
    }
  }
  .border-emerald-200 {
    border-color: var(--color-emerald-200);
  }
  .border-gray-100 {
    border-color: var(--color-gray-100);
  }
  .border-gray-200 {
    border-color: var(--color-gray-200);
  }
  .border-gray-300 {
    border-color: var(--color-gray-300);
  }
  .border-green-200 {
    border-color: var(--color-green-200);
  }
  .border-primary\/30 {
    border-color: var(--color-primary);
  }
  @supports (color: color-mix(in lab, red, red)) {
    .border-primary\/30 {
      border-color: color-mix(in oklab, var(--color-primary) 30%, transparent);
    }
  }
  .border-red-200 {
    border-color: var(--color-red-200);
  }
  .border-rose-200 {
    border-color: var(--color-rose-200);
  }
  .border-slate-200 {
    border-color: var(--color-slate-200);
  }
  .border-transparent {
    border-color: #0000;
  }
  .border-white\/10 {
    border-color: #ffffff1a;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .border-white\/10 {
      border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .border-white\/20 {
    border-color: #fff3;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .border-white\/20 {
      border-color: color-mix(in oklab, var(--color-white) 20%, transparent);
    }
  }
  .border-t-gray-200 {
    border-top-color: var(--color-gray-200);
  }
  .border-b-gray-100 {
    border-bottom-color: var(--color-gray-100);
  }
  .bg-\[\#0a0f18\] {
    background-color: #0a0f18;
  }
  .bg-\[\#1a1a1a\] {
    background-color: #1a1a1a;
  }
  .bg-\[\#080c15\] {
    background-color: #080c15;
  }
  .bg-amber-400 {
    background-color: var(--color-amber-400);
  }
  .bg-amber-500 {
    background-color: var(--color-amber-500);
  }
  .bg-amber-500\/15 {
    background-color: #f99c0026;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .bg-amber-500\/15 {
      background-color: color-mix(in oklab, var(--color-amber-500) 15%, transparent);
    }
  }
  .bg-emerald-50 {
    background-color: var(--color-emerald-50);
  }
  .bg-gray-50 {
    background-color: var(--color-gray-50);
  }
  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }
  .bg-gray-900 {
    background-color: var(--color-gray-900);
  }
  .bg-green-50 {
    background-color: var(--color-green-50);
  }
  .bg-green-100 {
    background-color: var(--color-green-100);
  }
  .bg-primary {
    background-color: var(--color-primary);
  }
  .bg-primary-subtle {
    background-color: var(--color-primary-subtle);
  }
  .bg-primary\/5 {
    background-color: var(--color-primary);
  }
  @supports (color: color-mix(in lab, red, red)) {
    .bg-primary\/5 {
      background-color: color-mix(in oklab, var(--color-primary) 5%, transparent);
    }
  }
  .bg-red-50 {
    background-color: var(--color-red-50);
  }
  .bg-rose-50 {
    background-color: var(--color-rose-50);
  }
  .bg-transparent {
    background-color: #0000;
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .bg-white\/15 {
    background-color: #ffffff26;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .bg-white\/15 {
      background-color: color-mix(in oklab, var(--color-white) 15%, transparent);
    }
  }
  .bg-yellow-100 {
    background-color: var(--color-yellow-100);
  }
  .bg-linear-to-r {
    --tw-gradient-position: to right;
  }
  @supports (background-image: linear-gradient(in lab, red, red)) {
    .bg-linear-to-r {
      --tw-gradient-position: to right in oklab;
    }
  }
  .bg-linear-to-r {
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-linear-to-t {
    --tw-gradient-position: to top;
  }
  @supports (background-image: linear-gradient(in lab, red, red)) {
    .bg-linear-to-t {
      --tw-gradient-position: to top in oklab;
    }
  }
  .bg-linear-to-t {
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-gradient-to-br {
    --tw-gradient-position: to bottom right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-gradient-to-r {
    --tw-gradient-position: to right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-gradient-to-t {
    --tw-gradient-position: to top in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-\[radial-gradient\(circle\,transparent_25\%\,color-mix\(in_srgb\,\#3b82f6_3\%\,transparent\)_100\%\)\] {
    background-image: radial-gradient(circle, #0000 25%, #3b82f608);
  }
  .bg-\[radial-gradient\(circle\,transparent_25\%\,color-mix\(in_srgb\,\#3b82f6_5\%\,transparent\)_100\%\)\] {
    background-image: radial-gradient(circle, #0000 25%, #3b82f60d);
  }
  .bg-\[radial-gradient\(circle\,transparent_25\%\,color-mix\(in_srgb\,\#3b82f6_10\%\,transparent\)_100\%\)\] {
    background-image: radial-gradient(circle, #0000 25%, #3b82f61a);
  }
  .bg-\[url\(\/assets\/images\/landing\/dot-texture\.svg\)\] {
    background-image: url(/landing/assets/images/landing/dot-texture.svg);
  }
  .bg-\[url\(\/assets\/images\/landing\/map\.png\)\] {
    background-image: url(/landing/assets/images/landing/map.png);
  }
  .from-\[\#93b1ff\] {
    --tw-gradient-from: #93b1ff;
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-black {
    --tw-gradient-from: var(--color-black);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-gray-100 {
    --tw-gradient-from: var(--color-gray-100);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-gray-800 {
    --tw-gradient-from: var(--color-gray-800);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-green-500 {
    --tw-gradient-from: var(--color-green-500);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-primary {
    --tw-gradient-from: var(--color-primary);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-white {
    --tw-gradient-from: var(--color-white);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-white\/5 {
    --tw-gradient-from: #ffffff0d;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .from-white\/5 {
      --tw-gradient-from: color-mix(in oklab, var(--color-white) 5%, transparent);
    }
  }
  .from-white\/5 {
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-white\/15 {
    --tw-gradient-from: #ffffff26;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .from-white\/15 {
      --tw-gradient-from: color-mix(in oklab, var(--color-white) 15%, transparent);
    }
  }
  .from-white\/15 {
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .from-10\% {
    --tw-gradient-from-position: 10%;
  }
  .from-28\% {
    --tw-gradient-from-position: 28%;
  }
  .from-50\% {
    --tw-gradient-from-position: 50%;
  }
  .from-\[2px\] {
    --tw-gradient-from-position: 2px;
  }
  .via-\[\#2563eb\] {
    --tw-gradient-via: #2563eb;
    --tw-gradient-via-stops:
      var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-via) var(--tw-gradient-via-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
  }
  .via-70\% {
    --tw-gradient-via-position: 70%;
  }
  .to-\[\#1e3a5f\] {
    --tw-gradient-to: #1e3a5f;
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .to-emerald-400 {
    --tw-gradient-to: var(--color-emerald-400);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .to-gray-700 {
    --tw-gradient-to: var(--color-gray-700);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .to-green-300 {
    --tw-gradient-to: var(--color-green-300);
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .to-white\/25 {
    --tw-gradient-to: #ffffff40;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .to-white\/25 {
      --tw-gradient-to: color-mix(in oklab, var(--color-white) 25%, transparent);
    }
  }
  .to-white\/25 {
    --tw-gradient-stops: var(
      --tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position)
    );
  }
  .to-35\% {
    --tw-gradient-to-position: 35%;
  }
  .to-75\% {
    --tw-gradient-to-position: 75%;
  }
  .to-\[2px\] {
    --tw-gradient-to-position: 2px;
  }
  .mask-\[linear-gradient\(to_bottom\,black_50\%\,transparent\)\] {
    -webkit-mask-image: linear-gradient(#000 50%, #0000);
    mask-image: linear-gradient(#000 50%, #0000);
  }
  .mask-\[linear-gradient\(to_bottom\,black_90\%\,transparent\)\,radial-gradient\(circle\,rgba\(0\,0\,0\,1\)_0\%\,rgba\(0\,0\,0\,0\)_100\%\)\] {
    -webkit-mask-image:
      linear-gradient(#000 90%, #0000), radial-gradient(circle, #000 0%, #0000 100%);
    mask-image: linear-gradient(#000 90%, #0000), radial-gradient(circle, #000, #0000);
  }
  .bg-size-\[12px_100\%\] {
    background-size: 12px 100%;
  }
  .bg-size-\[530px_430px\] {
    background-size: 530px 430px;
  }
  .bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
  }
  .bg-position-\[center_-75px\] {
    background-position: 50% -75px;
  }
  .bg-no-repeat {
    background-repeat: no-repeat;
  }
  .bg-repeat {
    background-repeat: repeat;
  }
  .mask-intersect {
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .fill-black {
    fill: var(--color-black);
  }
  .fill-black\/5 {
    fill: #0000000d;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .fill-black\/5 {
      fill: color-mix(in oklab, var(--color-black) 5%, transparent);
    }
  }
  .fill-gray-400 {
    fill: var(--color-gray-400);
  }
  .fill-gray-900 {
    fill: var(--color-gray-900);
  }
  .fill-gray-950\/25 {
    fill: #03071240;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .fill-gray-950\/25 {
      fill: color-mix(in oklab, var(--color-gray-950) 25%, transparent);
    }
  }
  .fill-green-600 {
    fill: var(--color-green-600);
  }
  .fill-white {
    fill: var(--color-white);
  }
  .stroke-white {
    stroke: var(--color-white);
  }
  .object-cover {
    object-fit: cover;
  }
  .p-0 {
    padding: calc(var(--spacing) * 0);
  }
  .p-0\.5 {
    padding: calc(var(--spacing) * 0.5);
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .p-1\.5 {
    padding: calc(var(--spacing) * 1.5);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-7 {
    padding: calc(var(--spacing) * 7);
  }
  .p-8 {
    padding: calc(var(--spacing) * 8);
  }
  .p-10 {
    padding: calc(var(--spacing) * 10);
  }
  .px-0 {
    padding-inline: calc(var(--spacing) * 0);
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-1\.5 {
    padding-inline: calc(var(--spacing) * 1.5);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .py-24 {
    padding-block: calc(var(--spacing) * 24);
  }
  .pt-1 {
    padding-top: calc(var(--spacing) * 1);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  .pt-5 {
    padding-top: calc(var(--spacing) * 5);
  }
  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }
  .pt-8 {
    padding-top: calc(var(--spacing) * 8);
  }
  .pt-10 {
    padding-top: calc(var(--spacing) * 10);
  }
  .pt-12 {
    padding-top: calc(var(--spacing) * 12);
  }
  .pt-14 {
    padding-top: calc(var(--spacing) * 14);
  }
  .pt-20 {
    padding-top: calc(var(--spacing) * 20);
  }
  .pt-72 {
    padding-top: calc(var(--spacing) * 72);
  }
  .pt-\[calc\(0\.5rem\+1px\)\] {
    padding-top: calc(0.5rem + 1px);
  }
  .pr-3 {
    padding-right: calc(var(--spacing) * 3);
  }
  .pr-6 {
    padding-right: calc(var(--spacing) * 6);
  }
  .pr-8 {
    padding-right: calc(var(--spacing) * 8);
  }
  .pb-0 {
    padding-bottom: calc(var(--spacing) * 0);
  }
  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .pb-8 {
    padding-bottom: calc(var(--spacing) * 8);
  }
  .pb-9 {
    padding-bottom: calc(var(--spacing) * 9);
  }
  .pb-14 {
    padding-bottom: calc(var(--spacing) * 14);
  }
  .pb-16 {
    padding-bottom: calc(var(--spacing) * 16);
  }
  .pb-24 {
    padding-bottom: calc(var(--spacing) * 24);
  }
  .pl-7 {
    padding-left: calc(var(--spacing) * 7);
  }
  .pl-10 {
    padding-left: calc(var(--spacing) * 10);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-2xl\/8 {
    font-size: var(--text-2xl);
    line-height: calc(var(--spacing) * 8);
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-5xl {
    font-size: var(--text-5xl);
    line-height: var(--tw-leading, var(--text-5xl--line-height));
  }
  .text-6xl {
    font-size: var(--text-6xl);
    line-height: var(--tw-leading, var(--text-6xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-base\/6 {
    font-size: var(--text-base);
    line-height: calc(var(--spacing) * 6);
  }
  .text-base\/7 {
    font-size: var(--text-base);
    line-height: calc(var(--spacing) * 7);
  }
  .text-base\/8 {
    font-size: var(--text-base);
    line-height: calc(var(--spacing) * 8);
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-sm\/5 {
    font-size: var(--text-sm);
    line-height: calc(var(--spacing) * 5);
  }
  .text-sm\/6 {
    font-size: var(--text-sm);
    line-height: calc(var(--spacing) * 6);
  }
  .text-sm\/7 {
    font-size: var(--text-sm);
    line-height: calc(var(--spacing) * 7);
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xl\/7 {
    font-size: var(--text-xl);
    line-height: calc(var(--spacing) * 7);
  }
  .text-xl\/8 {
    font-size: var(--text-xl);
    line-height: calc(var(--spacing) * 8);
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .text-\[15px\] {
    font-size: 15px;
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-7 {
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-\[0\.24em\] {
    --tw-tracking: 0.24em;
    letter-spacing: 0.24em;
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .tracking-wider {
    --tw-tracking: var(--tracking-wider);
    letter-spacing: var(--tracking-wider);
  }
  .tracking-widest {
    --tw-tracking: var(--tracking-widest);
    letter-spacing: var(--tracking-widest);
  }
  .text-wrap {
    text-wrap: wrap;
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .text-clip {
    text-overflow: clip;
  }
  .text-ellipsis {
    text-overflow: ellipsis;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  .text-amber-500 {
    color: var(--color-amber-500);
  }
  .text-blue-600 {
    color: var(--color-blue-600);
  }
  .text-current {
    color: currentColor;
  }
  .text-emerald-400 {
    color: var(--color-emerald-400);
  }
  .text-emerald-700 {
    color: var(--color-emerald-700);
  }
  .text-emerald-950 {
    color: var(--color-emerald-950);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-600 {
    color: var(--color-gray-600);
  }
  .text-gray-700 {
    color: var(--color-gray-700);
  }
  .text-gray-950 {
    color: var(--color-gray-950);
  }
  .text-gray-950\/25 {
    color: #03071240;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .text-gray-950\/25 {
      color: color-mix(in oklab, var(--color-gray-950) 25%, transparent);
    }
  }
  .text-gray-950\/75 {
    color: #030712bf;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .text-gray-950\/75 {
      color: color-mix(in oklab, var(--color-gray-950) 75%, transparent);
    }
  }
  .text-green-600 {
    color: var(--color-green-600);
  }
  .text-green-700 {
    color: var(--color-green-700);
  }
  .text-indigo-700 {
    color: var(--color-indigo-700);
  }
  .text-primary {
    color: var(--color-primary);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-red-600 {
    color: var(--color-red-600);
  }
  .text-red-700 {
    color: var(--color-red-700);
  }
  .text-rose-700 {
    color: var(--color-rose-700);
  }
  .text-rose-950 {
    color: var(--color-rose-950);
  }
  .text-transparent {
    color: #0000;
  }
  .text-white {
    color: var(--color-white);
  }
  .text-white\/40 {
    color: #fff6;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .text-white\/40 {
      color: color-mix(in oklab, var(--color-white) 40%, transparent);
    }
  }
  .text-white\/50 {
    color: #ffffff80;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .text-white\/50 {
      color: color-mix(in oklab, var(--color-white) 50%, transparent);
    }
  }
  .text-white\/70 {
    color: #ffffffb3;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .text-white\/70 {
      color: color-mix(in oklab, var(--color-white) 70%, transparent);
    }
  }
  .text-white\/75 {
    color: #ffffffbf;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .text-white\/75 {
      color: color-mix(in oklab, var(--color-white) 75%, transparent);
    }
  }
  .text-white\/80 {
    color: #fffc;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .text-white\/80 {
      color: color-mix(in oklab, var(--color-white) 80%, transparent);
    }
  }
  .text-yellow-600 {
    color: var(--color-yellow-600);
  }
  .text-yellow-700 {
    color: var(--color-yellow-700);
  }
  .capitalize {
    text-transform: capitalize;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .normal-case {
    text-transform: none;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .italic\! {
    font-style: italic !important;
  }
  .not-italic {
    font-style: normal;
  }
  .diagonal-fractions {
    --tw-numeric-fraction: diagonal-fractions;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,)
      var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .lining-nums {
    --tw-numeric-figure: lining-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,)
      var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .oldstyle-nums {
    --tw-numeric-figure: oldstyle-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,)
      var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .ordinal {
    --tw-ordinal: ordinal;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,)
      var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .proportional-nums {
    --tw-numeric-spacing: proportional-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,)
      var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .slashed-zero {
    --tw-slashed-zero: slashed-zero;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,)
      var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .stacked-fractions {
    --tw-numeric-fraction: stacked-fractions;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,)
      var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,)
      var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .normal-nums {
    font-variant-numeric: normal;
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .no-underline {
    text-decoration-line: none;
  }
  .overline {
    text-decoration-line: overline;
  }
  .underline {
    text-decoration-line: underline;
  }
  .underline\! {
    text-decoration-line: underline !important;
  }
  .decoration-dotted {
    text-decoration-style: dotted;
  }
  .underline-offset-2 {
    text-underline-offset: 2px;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .subpixel-antialiased {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
  }
  .opacity-0 {
    opacity: 0;
  }
  .opacity-25 {
    opacity: 0.25;
  }
  .opacity-40 {
    opacity: 0.4;
  }
  .opacity-50 {
    opacity: 0.5;
  }
  .opacity-70 {
    opacity: 0.7;
  }
  .opacity-75 {
    opacity: 0.75;
  }
  .opacity-80 {
    opacity: 0.8;
  }
  .opacity-100 {
    opacity: 1;
  }
  .shadow {
    --tw-shadow:
      0 1px 3px 0 var(--tw-shadow-color, #0000001a),
      0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-2xl {
    --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, #00000040);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[inset_0_0_2px_1px_\#ffffff4d\] {
    --tw-shadow: inset 0 0 2px 1px var(--tw-shadow-color, #ffffff4d);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow:
      0 10px 15px -3px var(--tw-shadow-color, #0000001a),
      0 4px 6px -4px var(--tw-shadow-color, #0000001a);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-md {
    --tw-shadow:
      0 4px 6px -1px var(--tw-shadow-color, #0000001a),
      0 2px 4px -2px var(--tw-shadow-color, #0000001a);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-sm {
    --tw-shadow:
      0 1px 3px 0 var(--tw-shadow-color, #0000001a),
      0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-xl {
    --tw-shadow:
      0 20px 25px -5px var(--tw-shadow-color, #0000001a),
      0 8px 10px -6px var(--tw-shadow-color, #0000001a);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-xs {
    --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, #0000000d);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring,
  .ring-1 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width))
      var(--tw-ring-color, currentcolor);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-4 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width))
      var(--tw-ring-color, currentcolor);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-black\/5 {
    --tw-shadow-color: #0000000d;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .shadow-black\/5 {
      --tw-shadow-color: color-mix(
        in oklab,
        color-mix(in oklab, var(--color-black) 5%, transparent) var(--tw-shadow-alpha),
        transparent
      );
    }
  }
  .ring-black\/5 {
    --tw-ring-color: #0000000d;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .ring-black\/5 {
      --tw-ring-color: color-mix(in oklab, var(--color-black) 5%, transparent);
    }
  }
  .ring-black\/10 {
    --tw-ring-color: #0000001a;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .ring-black\/10 {
      --tw-ring-color: color-mix(in oklab, var(--color-black) 10%, transparent);
    }
  }
  .ring-blue-500\/8 {
    --tw-ring-color: #3080ff14;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .ring-blue-500\/8 {
      --tw-ring-color: color-mix(in oklab, var(--color-blue-500) 8%, transparent);
    }
  }
  .ring-gray-200 {
    --tw-ring-color: var(--color-gray-200);
  }
  .ring-white\/10 {
    --tw-ring-color: #ffffff1a;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .ring-white\/10 {
      --tw-ring-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .ring-white\/\[0\.06\] {
    --tw-ring-color: #ffffff0f;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .ring-white\/\[0\.06\] {
      --tw-ring-color: color-mix(in oklab, var(--color-white) 6%, transparent);
    }
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .outline\! {
    outline-style: var(--tw-outline-style) !important;
    outline-width: 1px !important;
  }
  .outline-1 {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .-outline-offset-1 {
    outline-offset: -1px;
  }
  .outline-offset-\[-5px\] {
    outline-offset: -5px;
  }
  .outline-\[var\(--border-light\)\] {
    outline-color: var(--border-light);
  }
  .outline-black\/10 {
    outline-color: #0000001a;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .outline-black\/10 {
      outline-color: color-mix(in oklab, var(--color-black) 10%, transparent);
    }
  }
  .outline-white\/5 {
    outline-color: #ffffff0d;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .outline-white\/5 {
      outline-color: color-mix(in oklab, var(--color-white) 5%, transparent);
    }
  }
  .outline-white\/10 {
    outline-color: #ffffff1a;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .outline-white\/10 {
      outline-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .blur-lg {
    --tw-blur: blur(var(--blur-lg));
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .blur-xl {
    --tw-blur: blur(var(--blur-xl));
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .drop-shadow {
    --tw-drop-shadow-size: drop-shadow(0 1px 2px var(--tw-drop-shadow-color, #0000001a))
      drop-shadow(0 1px 1px var(--tw-drop-shadow-color, #0000000f));
    --tw-drop-shadow: drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .drop-shadow-\[0_3px_1px_rgba\(0\,0\,0\,\.15\)\] {
    --tw-drop-shadow-size: drop-shadow(0 3px 1px var(--tw-drop-shadow-color, #00000026));
    --tw-drop-shadow: var(--tw-drop-shadow-size);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .grayscale {
    --tw-grayscale: grayscale(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .sepia {
    --tw-sepia: sepia(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .backdrop-blur {
    --tw-backdrop-blur: blur(8px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-md {
    --tw-backdrop-blur: blur(var(--blur-md));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
  }
  .backdrop-grayscale {
    --tw-backdrop-grayscale: grayscale(100%);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
  }
  .backdrop-invert {
    --tw-backdrop-invert: invert(100%);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
  }
  .backdrop-sepia {
    --tw-backdrop-sepia: sepia(100%);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
  }
  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,)
      var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,)
      var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,)
      var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property:
      color,
      background-color,
      border-color,
      outline-color,
      text-decoration-color,
      fill,
      stroke,
      --tw-gradient-from,
      --tw-gradient-via,
      --tw-gradient-to,
      opacity,
      box-shadow,
      transform,
      translate,
      scale,
      rotate,
      filter,
      -webkit-backdrop-filter,
      backdrop-filter,
      display,
      content-visibility,
      overlay,
      pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition\! {
    transition-property:
      color,
      background-color,
      border-color,
      outline-color,
      text-decoration-color,
      fill,
      stroke,
      --tw-gradient-from,
      --tw-gradient-via,
      --tw-gradient-to,
      opacity,
      box-shadow,
      transform,
      translate,
      scale,
      rotate,
      filter,
      -webkit-backdrop-filter,
      backdrop-filter,
      display,
      content-visibility,
      overlay,
      pointer-events !important;
    transition-timing-function: var(
      --tw-ease,
      var(--default-transition-timing-function)
    ) !important;
    transition-duration: var(--tw-duration, var(--default-transition-duration)) !important;
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property:
      color, background-color, border-color, outline-color, text-decoration-color, fill, stroke,
      --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-150 {
    --tw-duration: 0.15s;
    transition-duration: 0.15s;
  }
  .duration-200 {
    --tw-duration: 0.2s;
    transition-duration: 0.2s;
  }
  .duration-300 {
    --tw-duration: 0.3s;
    transition-duration: 0.3s;
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .select-all {
    -webkit-user-select: all;
    user-select: all;
  }
  :where(.divide-x-reverse > :not(:last-child)) {
    --tw-divide-x-reverse: 1;
  }
  .ring-inset {
    --tw-ring-inset: inset;
  }
  .group-last\/row\:block:is(:where(.group\/row):last-child *) {
    display: block;
  }
  .group-open\:rotate-90:is(:where(.group):is([open], :popover-open, :open) *) {
    rotate: 90deg;
  }
  @media (hover: hover) {
    .group-hover\:bg-primary:is(:where(.group):hover *) {
      background-color: var(--color-primary);
    }
    .group-hover\:text-primary:is(:where(.group):hover *) {
      color: var(--color-primary);
    }
    .group-hover\:text-white:is(:where(.group):hover *) {
      color: var(--color-white);
    }
    .group-hover\:opacity-90:is(:where(.group):hover *) {
      opacity: 0.9;
    }
    .group-hover\:blur-xl:is(:where(.group):hover *) {
      --tw-blur: blur(var(--blur-xl));
      filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
        var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
        var(--tw-drop-shadow,);
    }
    .group-hover\/zap\:scale-110:is(:where(.group\/zap):hover *) {
      --tw-scale-x: 110%;
      --tw-scale-y: 110%;
      --tw-scale-z: 110%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
    .group-hover\/zap\:rotate-12:is(:where(.group\/zap):hover *) {
      rotate: 12deg;
    }
    .group-hover\/zap\:animate-ping:is(:where(.group\/zap):hover *) {
      animation: var(--animate-ping);
    }
    .group-hover\/zap\:opacity-30:is(:where(.group\/zap):hover *) {
      opacity: 0.3;
    }
  }
  .before\:absolute:before {
    content: var(--tw-content);
    position: absolute;
  }
  .before\:-translate-x-full:before {
    content: var(--tw-content);
    --tw-translate-x: -100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .before\:content-\[\'\\201C\'\]:before {
    --tw-content: "\201c";
    content: var(--tw-content);
  }
  .after\:absolute:after {
    content: var(--tw-content);
    position: absolute;
  }
  .after\:content-\[\'\\201D\'\]:after {
    --tw-content: "\201d";
    content: var(--tw-content);
  }
  .first\:mt-0:first-child {
    margin-top: calc(var(--spacing) * 0);
  }
  .last\:mb-0:last-child {
    margin-bottom: calc(var(--spacing) * 0);
  }
  .last\:border-none:last-child {
    --tw-border-style: none;
    border-style: none;
  }
  .last\:pb-\[calc\(0\.5rem\+1px\)\]:last-child {
    padding-bottom: calc(0.5rem + 1px);
  }
  @media (hover: hover) {
    .hover\:border-primary\/40:hover {
      border-color: var(--color-primary);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:border-primary\/40:hover {
        border-color: color-mix(in oklab, var(--color-primary) 40%, transparent);
      }
    }
    .hover\:bg-\[\#182235\]:hover {
      background-color: #182235;
    }
    .hover\:bg-black\/5:hover {
      background-color: #0000000d;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-black\/5:hover {
        background-color: color-mix(in oklab, var(--color-black) 5%, transparent);
      }
    }
    .hover\:bg-gray-100:hover {
      background-color: var(--color-gray-100);
    }
    .hover\:bg-gray-950\/5:hover {
      background-color: #0307120d;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-gray-950\/5:hover {
        background-color: color-mix(in oklab, var(--color-gray-950) 5%, transparent);
      }
    }
    .hover\:bg-white\/5:hover {
      background-color: #ffffff0d;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-white\/5:hover {
        background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
      }
    }
    .hover\:bg-white\/10:hover {
      background-color: #ffffff1a;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-white\/10:hover {
        background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
      }
    }
    .hover\:text-blue-700:hover {
      color: var(--color-blue-700);
    }
    .hover\:text-primary:hover {
      color: var(--color-primary);
    }
    .hover\:text-red-500:hover {
      color: var(--color-red-500);
    }
    .hover\:text-white:hover {
      color: var(--color-white);
    }
    .hover\:underline:hover {
      text-decoration-line: underline;
    }
  }
  .focus\:border-primary:focus {
    border-color: var(--color-primary);
  }
  .focus\:bg-white\/5:focus {
    background-color: #ffffff0d;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .focus\:bg-white\/5:focus {
      background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
    }
  }
  .focus\:ring-1:focus {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width))
      var(--tw-ring-color, currentcolor);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width))
      var(--tw-ring-color, currentcolor);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .focus\:ring-black\/10:focus {
    --tw-ring-color: #0000001a;
  }
  @supports (color: color-mix(in lab, red, red)) {
    .focus\:ring-black\/10:focus {
      --tw-ring-color: color-mix(in oklab, var(--color-black) 10%, transparent);
    }
  }
  .focus\:ring-primary\/30:focus {
    --tw-ring-color: var(--color-primary);
  }
  @supports (color: color-mix(in lab, red, red)) {
    .focus\:ring-primary\/30:focus {
      --tw-ring-color: color-mix(in oklab, var(--color-primary) 30%, transparent);
    }
  }
  .focus\:outline-2:focus {
    outline-style: var(--tw-outline-style);
    outline-width: 2px;
  }
  .focus\:-outline-offset-1:focus {
    outline-offset: -1px;
  }
  .focus\:-outline-offset-2:focus {
    outline-offset: -2px;
  }
  .focus\:outline-\[var\(--primary\)\]:focus {
    outline-color: var(--primary);
  }
  .focus\:outline-blue-600:focus {
    outline-color: var(--color-blue-600);
  }
  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }
  .focus-visible\:ring-2:focus-visible {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width))
      var(--tw-ring-color, currentcolor);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
      var(--tw-ring-shadow), var(--tw-shadow);
  }
  .focus-visible\:ring-offset-2:focus-visible {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width)
      var(--tw-ring-offset-color);
  }
  .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
  }
  .disabled\:opacity-40:disabled {
    opacity: 0.4;
  }
  .disabled\:opacity-50:disabled {
    opacity: 0.5;
  }
  @media not all and (min-width: 64rem) {
    .max-lg\:order-first {
      order: -9999;
    }
    .max-lg\:mx-auto {
      margin-inline: auto;
    }
    .max-lg\:mt-16 {
      margin-top: calc(var(--spacing) * 16);
    }
    .max-lg\:w-full {
      width: 100%;
    }
    .max-lg\:max-w-lg {
      max-width: var(--container-lg);
    }
    .max-lg\:max-w-md {
      max-width: var(--container-md);
    }
    .max-lg\:max-w-xs {
      max-width: var(--container-xs);
    }
    .max-lg\:justify-between {
      justify-content: space-between;
    }
    .max-lg\:text-center {
      text-align: center;
    }
  }
  @media not all and (min-width: 40rem) {
    .max-sm\:mx-auto {
      margin-inline: auto;
    }
    .max-sm\:hidden {
      display: none;
    }
    .max-sm\:max-w-md {
      max-width: var(--container-md);
    }
    .max-sm\:flex-wrap {
      flex-wrap: wrap;
    }
    .max-sm\:justify-evenly {
      justify-content: space-evenly;
    }
    .max-sm\:gap-3 {
      gap: calc(var(--spacing) * 3);
    }
    .max-sm\:gap-x-4 {
      column-gap: calc(var(--spacing) * 4);
    }
    .max-sm\:gap-y-4 {
      row-gap: calc(var(--spacing) * 4);
    }
    .max-sm\:border-b {
      border-bottom-style: var(--tw-border-style);
      border-bottom-width: 1px;
    }
    .max-sm\:border-dotted {
      --tw-border-style: dotted;
      border-style: dotted;
    }
    .max-sm\:border-gray-200 {
      border-color: var(--color-gray-200);
    }
    .max-sm\:pb-4 {
      padding-bottom: calc(var(--spacing) * 4);
    }
    .max-sm\:text-gray-700 {
      color: var(--color-gray-700);
    }
  }
  @media (min-width: 40rem) {
    .sm\:col-span-2 {
      grid-column: span 2 / span 2;
    }
    .sm\:-mx-16 {
      margin-inline: calc(var(--spacing) * -16);
    }
    .sm\:block {
      display: block;
    }
    .sm\:flex {
      display: flex;
    }
    .sm\:hidden {
      display: none;
    }
    .sm\:inline {
      display: inline;
    }
    .sm\:inline-flex {
      display: inline-flex;
    }
    .sm\:aspect-5\/4 {
      aspect-ratio: 5/4;
    }
    .sm\:h-8 {
      height: calc(var(--spacing) * 8);
    }
    .sm\:w-1\/5 {
      width: 20%;
    }
    .sm\:w-2\/5 {
      width: 40%;
    }
    .sm\:w-32 {
      width: calc(var(--spacing) * 32);
    }
    .sm\:w-auto {
      width: auto;
    }
    .sm\:max-w-2xl {
      max-width: var(--container-2xl);
    }
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .sm\:flex-row {
      flex-direction: row;
    }
    .sm\:items-end {
      align-items: flex-end;
    }
    .sm\:justify-between {
      justify-content: space-between;
    }
    .sm\:justify-start {
      justify-content: flex-start;
    }
    .sm\:gap-4 {
      gap: calc(var(--spacing) * 4);
    }
    .sm\:p-11 {
      padding: calc(var(--spacing) * 11);
    }
    .sm\:px-3 {
      padding-inline: calc(var(--spacing) * 3);
    }
    .sm\:px-6 {
      padding-inline: calc(var(--spacing) * 6);
    }
    .sm\:py-24 {
      padding-block: calc(var(--spacing) * 24);
    }
    .sm\:pt-16 {
      padding-top: calc(var(--spacing) * 16);
    }
    .sm\:text-3xl {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
    .sm\:text-5xl {
      font-size: var(--text-5xl);
      line-height: var(--tw-leading, var(--text-5xl--line-height));
    }
    .sm\:text-sm\/6 {
      font-size: var(--text-sm);
      line-height: calc(var(--spacing) * 6);
    }
    .sm\:font-medium {
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
    }
  }
  @media (min-width: 48rem) {
    .md\:inline-flex {
      display: inline-flex;
    }
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:p-8 {
      padding: calc(var(--spacing) * 8);
    }
  }
  @media (min-width: 64rem) {
    .lg\:col-span-1 {
      grid-column: span 1 / span 1;
    }
    .lg\:col-span-2 {
      grid-column: span 2 / span 2;
    }
    .lg\:col-span-4 {
      grid-column: span 4 / span 4;
    }
    .lg\:row-span-2 {
      grid-row: span 2 / span 2;
    }
    .lg\:mx-0 {
      margin-inline: calc(var(--spacing) * 0);
    }
    .lg\:-mt-32 {
      margin-top: calc(var(--spacing) * -32);
    }
    .lg\:-mt-52 {
      margin-top: calc(var(--spacing) * -52);
    }
    .lg\:-mr-16 {
      margin-right: calc(var(--spacing) * -16);
    }
    .lg\:flex {
      display: flex;
    }
    .lg\:hidden {
      display: none;
    }
    .lg\:aspect-3\/4 {
      aspect-ratio: 3/4;
    }
    .lg\:h-12 {
      height: calc(var(--spacing) * 12);
    }
    .lg\:max-w-2xl {
      max-width: var(--container-2xl);
    }
    .lg\:max-w-7xl {
      max-width: var(--container-7xl);
    }
    .lg\:translate-x-0 {
      --tw-translate-x: calc(var(--spacing) * 0);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .lg\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lg\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:grid-cols-6 {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .lg\:grid-cols-\[1fr_24rem\] {
      grid-template-columns: 1fr 24rem;
    }
    .lg\:grid-cols-\[15rem_1fr\] {
      grid-template-columns: 15rem 1fr;
    }
    .lg\:grid-cols-\[384px_1fr_1fr\] {
      grid-template-columns: 384px 1fr 1fr;
    }
    .lg\:grid-cols-subgrid {
      grid-template-columns: subgrid;
    }
    .lg\:flex-col {
      flex-direction: column;
    }
    .lg\:items-start {
      align-items: flex-start;
    }
    .lg\:gap-4 {
      gap: calc(var(--spacing) * 4);
    }
    .lg\:gap-8 {
      gap: calc(var(--spacing) * 8);
    }
    .lg\:gap-12 {
      gap: calc(var(--spacing) * 12);
    }
    .lg\:from-25\% {
      --tw-gradient-from-position: 25%;
    }
    .lg\:p-8 {
      padding: calc(var(--spacing) * 8);
    }
    .lg\:px-8 {
      padding-inline: calc(var(--spacing) * 8);
    }
    .lg\:px-16 {
      padding-inline: calc(var(--spacing) * 16);
    }
    .lg\:pt-6 {
      padding-top: calc(var(--spacing) * 6);
    }
    .lg\:pt-36 {
      padding-top: calc(var(--spacing) * 36);
    }
    .lg\:pb-6 {
      padding-bottom: calc(var(--spacing) * 6);
    }
    .lg\:pl-14 {
      padding-left: calc(var(--spacing) * 14);
    }
    .lg\:text-4xl {
      font-size: var(--text-4xl);
      line-height: var(--tw-leading, var(--text-4xl--line-height));
    }
  }
  @media (min-width: 80rem) {
    .xl\:mx-auto {
      margin-inline: auto;
    }
    .xl\:mr-auto {
      margin-right: auto;
    }
    .xl\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .xl\:grid-cols-\[15rem_1fr_15rem\] {
      grid-template-columns: 15rem 1fr 15rem;
    }
    .xl\:gap-8 {
      gap: calc(var(--spacing) * 8);
    }
  }
}
.chat-header-group {
  border-radius: 0.75rem;
  box-shadow: 0 4px 18px #00000014;
}
.chat-header-group > .model-picker__trigger,
.chat-header-group .model-picker .model-picker__trigger {
  box-shadow: none;
}
.chat-header-group:has(.model-picker:not(.hidden)) > .model-picker__trigger {
  border-right: 1px solid var(--text-primary);
  border-radius: 0.75rem 0 0 0.75rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .chat-header-group:has(.model-picker:not(.hidden)) > .model-picker__trigger {
    border-right: 1px solid color-mix(in oklab, var(--text-primary) 10%, transparent);
  }
}
.chat-header-group .model-picker:not(.hidden) .model-picker__trigger {
  border-radius: 0 0.75rem 0.75rem 0;
  height: 2.5rem;
}
.focus-accent,
.focus-accent:focus,
.focus-accent:focus-visible {
  box-shadow: 0 0 0 2px var(--focus-ring);
  outline: none;
}
.user-shell {
  gap: 1rem;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  container: user-shell/inline-size;
}
.user-shell--wide {
  max-width: 72rem;
}
.user-shell--narrow {
  max-width: 56rem;
}
@media (min-width: 40rem) {
  .user-shell {
    gap: 1.25rem;
    padding: 1.25rem;
  }
}
.user-hero {
  border: 1px solid var(--border-light);
  background: linear-gradient(140deg, var(--primary), var(--surface));
  border-radius: 1.25rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .user-hero {
    background: linear-gradient(
      140deg,
      color-mix(in oklab, var(--primary) 10%, var(--surface)),
      color-mix(in oklab, var(--surface) 90%, transparent)
    );
  }
}
.user-hero {
  padding: clamp(1.15rem, 1rem + 0.6vw, 1.7rem);
  box-shadow: 0 16px 34px #172b4d14;
}
.user-hero--compact {
  padding: clamp(1rem, 0.92rem + 0.4vw, 1.35rem);
}
.user-hero__title {
  color: var(--text-primary);
  margin-top: 0.75rem;
  font-size: clamp(1.55rem, 1.35rem + 0.9vw, 2.05rem);
  font-weight: 700;
  line-height: 1.15;
}
.user-hero__subtitle {
  max-width: 56ch;
  color: var(--text-secondary);
  margin-top: 0.45rem;
  font-size: 0.92rem;
}
.user-hero__actions {
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
  display: flex;
}
.user-hero__cta {
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.92rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
  display: inline-flex;
}
.user-hero__cta:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .user-hero__cta:hover {
    background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  }
}
.user-hero__cta--primary {
  background: var(--action-bg);
  color: var(--action-text);
  border-color: #0000;
  box-shadow: 0 10px 22px #2563eb38;
}
.user-hero__cta--primary:hover {
  background: var(--action-bg-hover);
  color: var(--action-text);
  border-color: #0000;
}
.user-card-grid {
  gap: 0.85rem;
  display: grid;
}
@container user-shell (min-width:44rem) {
  .user-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container user-shell (min-width:72rem) {
  .user-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.user-hub-card {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
  box-shadow: 0 10px 22px #172b4d0f;
}
.user-hub-card:hover {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .user-hub-card:hover {
    border-color: color-mix(in oklab, var(--primary) 28%, var(--border-light));
  }
}
.user-hub-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px #172b4d1a;
}
.user-hub-card__title {
  color: var(--text-primary);
  margin-top: 0.45rem;
  font-size: 0.98rem;
  font-weight: 700;
}
.user-hub-card__desc {
  color: var(--text-secondary);
  margin-top: 0.4rem;
  font-size: 0.84rem;
  line-height: 1.4;
}
.user-panels {
  gap: 0.9rem;
  display: grid;
}
@container user-shell (min-width:60rem) {
  .user-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.user-panel {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 24px #172b4d0f;
}
.user-section-title {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
}
.user-kv-grid {
  gap: 0.6rem;
  margin-top: 0.75rem;
  display: grid;
}
@container user-shell (min-width:34rem) {
  .user-kv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.user-kv-card {
  border: 1px solid var(--border-light);
  background: var(--surface-muted);
  border-radius: 0.8rem;
  padding: 0.7rem 0.8rem;
}
.user-kv-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
}
.user-kv-value {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 0.32rem;
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
}
.user-link-list {
  gap: 0.55rem;
  margin-top: 0.75rem;
  display: grid;
}
.user-link-item {
  border: 1px solid var(--border-light);
  background: var(--surface-muted);
  color: var(--text-primary);
  border-radius: 0.75rem;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
  display: flex;
}
.user-link-item:hover {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .user-link-item:hover {
    border-color: color-mix(in oklab, var(--primary) 30%, var(--border-light));
  }
}
.user-link-item:hover {
  color: var(--primary);
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .user-link-item:hover {
    background: color-mix(in oklab, var(--primary) 8%, var(--surface));
  }
}
.user-link-item__arrow {
  color: var(--text-muted);
  font-weight: 700;
}
.agents-hero-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}
.agents-count-badge {
  background: var(--primary);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .agents-count-badge {
    background: color-mix(in oklab, var(--primary) 12%, var(--surface));
  }
}
.agents-count-badge {
  border: 1px solid var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .agents-count-badge {
    border: 1px solid color-mix(in oklab, var(--primary) 20%, var(--border-light));
  }
}
.agents-count-badge {
  color: var(--text-primary);
  flex-shrink: 0;
  margin-top: 0.35rem;
  padding: 0 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.agent-card {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 1rem;
  flex-direction: column;
  padding: 1.15rem;
  text-decoration: none;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
  display: flex;
  box-shadow: 0 2px 8px #172b4d0d;
}
.agent-card:hover {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .agent-card:hover {
    border-color: color-mix(in oklab, var(--primary) 30%, var(--border-light));
  }
}
.agent-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #172b4d1a;
}
.agent-card__header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  display: flex;
}
.agent-card__avatar {
  background: var(--primary);
  border-radius: 0.7rem;
  justify-content: center;
  align-items: center;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .agent-card__avatar {
    background: color-mix(in oklab, var(--primary) 12%, var(--surface));
  }
}
.agent-card__avatar {
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 800;
}
.agent-card__type {
  background: var(--surface-muted);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 999px;
  align-items: center;
  padding: 0.22rem 0.6rem;
  font-size: 0.67rem;
  font-weight: 700;
  display: inline-flex;
}
.agent-card__name {
  color: var(--text-primary);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}
.agent-card__desc {
  color: var(--text-secondary);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
  margin-top: 0.4rem;
  font-size: 0.84rem;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
}
.agent-card__cta {
  color: var(--primary);
  margin-top: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
}
@supports (color: color-mix(in lab, red, red)) {
  .agent-card__cta {
    color: color-mix(in oklab, var(--primary) 60%, var(--text-secondary));
  }
}
.agent-card__cta {
  transition: color 0.15s;
}
.agent-card:hover .agent-card__cta {
  color: var(--primary);
}
.agents-empty {
  border: 1px dashed var(--border-light);
  background: var(--surface);
  text-align: center;
  border-radius: 1.25rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  padding: 4rem 2rem;
  display: flex;
}
.agents-empty__icon {
  width: 3rem;
  height: 3rem;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}
.agents-empty__title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}
.agents-empty__desc {
  color: var(--text-secondary);
  max-width: 34ch;
  font-size: 0.88rem;
}
.user-form {
  gap: 0.8rem;
  margin-top: 0.8rem;
  display: grid;
}
.user-setting-card {
  border: 1px solid var(--border-light);
  background: var(--surface-muted);
  border-radius: 0.9rem;
  padding: 0.85rem;
}
.user-field-label {
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
}
.user-field-hint {
  color: var(--text-secondary);
  margin-top: 0.3rem;
  font-size: 0.78rem;
}
.user-select {
  border: 1px solid var(--border-light);
  background: var(--surface);
  width: 100%;
  max-width: 15rem;
  color: var(--text-primary);
  border-radius: 0.65rem;
  margin-top: 0.55rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.86rem;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  display: block;
}
.user-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--focus-ring);
  outline: none;
}
.user-form-actions {
  justify-content: flex-end;
  align-items: center;
  display: flex;
}
.admin-home {
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100dvh - 5rem);
  padding: clamp(1rem, 2vw, 1.75rem) 1.25rem;
  display: flex;
  position: relative;
}
.admin-home__panel {
  border: 1px solid var(--border-light);
  background: var(--surface);
  text-align: left;
  border-radius: 0.75rem;
  width: min(100%, 64rem);
  padding: clamp(1.25rem, 2vw, 2rem);
  position: relative;
}
.admin-home__panel:after {
  content: none;
}
.admin-home__title,
.admin-home__subtitle,
.admin-home__prompt,
.admin-home__actions,
.admin-home__links {
  z-index: 1;
  position: relative;
}
.admin-home__title {
  letter-spacing: -0.04em;
  max-width: 34rem;
  color: var(--text-primary);
  gap: 0.1rem;
  margin: 0.55rem 0 0;
  font-size: clamp(1.75rem, 1.55rem + 0.65vw, 2.25rem);
  font-weight: 800;
  line-height: 1.08;
  display: grid;
}
.admin-home__brand {
  color: var(--primary);
}
.admin-home__subtitle {
  max-width: 42rem;
  color: var(--text-secondary);
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
}
.admin-home__prompt {
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin: 1.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 800;
}
.admin-home__actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
  display: grid;
}
.admin-home__action {
  border: 1px solid var(--border-light);
  background: var(--surface);
  min-width: 0;
  min-height: 4rem;
  color: var(--text-primary);
  border-radius: 0.625rem;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color 0.16s,
    background 0.16s,
    color 0.16s;
  display: inline-flex;
}
.admin-home__action:hover {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .admin-home__action:hover {
    border-color: color-mix(in oklab, var(--primary) 32%, var(--border-light));
  }
}
.admin-home__action:hover {
  background: var(--surface-muted);
  color: var(--primary);
}
.admin-home__action--primary {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .admin-home__action--primary {
    border-color: color-mix(in oklab, var(--primary) 28%, var(--border-light));
  }
}
.admin-home__action--primary {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .admin-home__action--primary {
    background: color-mix(in oklab, var(--primary) 10%, white);
  }
}
.admin-home__action--primary:hover {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .admin-home__action--primary:hover {
    border-color: color-mix(in oklab, var(--primary) 45%, var(--border-light));
  }
}
.admin-home__action--primary:hover {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .admin-home__action--primary:hover {
    background: color-mix(in oklab, var(--primary) 14%, white);
  }
}
.admin-home__action--primary:hover {
  color: var(--primary);
}
.admin-home__links {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  display: flex;
}
.admin-home__link {
  min-height: 2.5rem;
  color: var(--text-muted);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0.62rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.16s,
    color 0.16s,
    transform 0.16s;
  display: inline-flex;
}
.admin-home__link:hover {
  color: var(--text-primary);
  background: #ffffffc2;
  transform: translateY(-1px);
}
@media not all and (min-width: 48rem) {
  .admin-home {
    padding-inline: 0.9rem;
  }
  .admin-home__panel {
    border-radius: 0.7rem;
    padding: 1.15rem;
  }
  .admin-home__title {
    max-width: none;
    font-size: clamp(1.65rem, 1.45rem + 2vw, 2rem);
  }
  .admin-home__subtitle {
    font-size: 0.94rem;
  }
  .admin-home__actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .admin-home__action,
  .admin-home__link {
    width: 100%;
  }
}
.dash-header {
  border-bottom: 1px solid var(--border-light);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 0.5rem;
  display: flex;
}
.dash-title {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
}
.dash-subtitle {
  color: var(--text-muted);
  margin-top: 0.15rem;
  font-size: 0.8rem;
}
.dash-kpi-row {
  border-bottom: 1px solid var(--border-light);
  gap: 0;
  display: flex;
}
.dash-kpi {
  border-right: 1px solid var(--border-light);
  flex-direction: column;
  flex: 1;
  gap: 0.15rem;
  padding: 0.9rem 0;
  display: flex;
}
.dash-kpi:last-child {
  border-right: none;
  padding-right: 0;
}
.dash-kpi:first-child {
  padding-left: 0;
}
.dash-kpi + .dash-kpi {
  padding-left: 1.25rem;
}
.dash-kpi__value {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}
.dash-kpi__label {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
}
.dash-grid {
  gap: 2rem;
  display: grid;
}
@media (min-width: 64rem) {
  .dash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}
.dash-section__head {
  border-bottom: 1px solid var(--border-light);
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.6rem;
  display: flex;
}
.dash-section__title {
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.dash-section__link {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
}
.dash-section__link:hover {
  text-decoration: underline;
}
.dash-list {
  display: grid;
}
.dash-list-item {
  border-bottom: 1px solid var(--border-light);
  color: inherit;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  text-decoration: none;
  display: flex;
}
a.dash-list-item:hover .dash-list-item__title {
  color: var(--primary);
}
.dash-list-item__main {
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  display: flex;
}
.dash-list-item__title {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.15s;
  overflow: hidden;
}
.dash-list-item__sub {
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.72rem;
  overflow: hidden;
}
.dash-list-item__meta {
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.72rem;
}
.dash-empty {
  color: var(--text-muted);
  padding: 1.5rem 0;
  font-size: 0.84rem;
}
.dash-kpi__sub {
  color: var(--text-muted);
  font-size: 0.62rem;
}
.dash-grid + .dash-grid {
  margin-top: 2rem;
}
.dash-section {
  padding-top: 1.5rem;
}
.dash-status {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  flex-shrink: 0;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  display: inline-flex;
}
.dash-status--active {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}
.dash-status--inactive {
  background: var(--surface-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.dash-usage-summary {
  border-bottom: 1px solid var(--border-light);
  gap: 1.5rem;
  margin-bottom: 0.1rem;
  padding: 0.7rem 0;
  display: flex;
}
.dash-usage-stat {
  flex-direction: column;
  gap: 0.15rem;
  display: flex;
}
.dash-usage-stat__value {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}
.dash-usage-stat__label {
  color: var(--text-muted);
  font-size: 0.62rem;
}
.dash-setup {
  gap: 0.6rem;
  display: grid;
}
.dash-setup-card {
  border: 1px solid var(--border-light);
  background: var(--surface-muted);
  border-radius: 0.5rem;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  display: flex;
}
.dash-setup-card__num {
  background: var(--primary-subtle);
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
}
.dash-setup-card__body {
  flex-direction: column;
  gap: 0.2rem;
  display: flex;
}
.dash-setup-card__title {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
}
.dash-setup-card__desc {
  color: var(--text-secondary);
  font-size: 0.75rem;
}
.dash-setup-card__link {
  color: var(--primary);
  margin-top: 0.1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}
.dash-setup-card__link:hover {
  text-decoration: underline;
}
#pageProgress {
  pointer-events: none;
  z-index: 9999;
  background: 0 0;
  width: 100%;
  height: 3px;
  position: fixed;
  top: 0;
  left: 0;
}
#pageProgress .bar {
  transform-origin: 0;
  background: currentColor;
  height: 100%;
  transition:
    transform 0.2s,
    opacity 0.2s;
  position: absolute;
  inset: 0 0 auto;
  transform: scaleX(0);
}
#pageProgress .peg {
  opacity: 0.6;
  width: 120px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(3deg) translateY(-1px);
  box-shadow:
    0 0 10px,
    0 0 5px;
}
#pageProgress.is-hidden {
  opacity: 0;
  transition: opacity 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  #pageProgress .bar,
  #pageProgress.is-hidden {
    transition: none;
  }
}
:root,
:root[data-theme="light"] {
  --primary: #1e2c47;
  --primary-light: #2d3c59;
  --primary-lighter: #3a4a6b;
  --primary-subtle: #f0f4ff;
  --primary-dark: #111827;
  --text-primary: #172b4d;
  --text-secondary: #5e6c84;
  --text-muted: #97a0af;
  --bg-subtle: #f4f5f7;
  --border-light: #dfe1e6;
  --hover-bg: #ebecf0;
  --focus-ring: #4c9aff40;
  --lighter-gray2: #c4c4c4;
  --light-gray: #e5e4e0;
  --surface: #fff;
  --surface-muted: #f9fafb;
  --success-bg: #f0fdf4;
  --success-text: #15803d;
  --success-border: #86efac;
  --error-bg: #fef2f2;
  --error-text: #b91c1c;
  --error-border: #fca5a5;
  --warning-bg: #fefce8;
  --warning-text: #a16207;
  --warning-border: #fde047;
  --info-bg: #eff6ff;
  --info-text: #1e40af;
  --info-border: #93c5fd;
  --footer-bg: #111827;
  --footer-text: #d1d5db;
  --footer-text-muted: #9ca3af;
  --footer-border: #374151;
  --action-bg: #2563eb;
  --action-bg-hover: #1d4ed8;
  --action-text: #fff;
  --link-color: #2563eb;
  --link-hover: #1d4ed8;
  --status-success-bg: #dcfce7;
  --status-success-text: #15803d;
  --status-error-bg: #fee2e2;
  --status-error-text: #dc2626;
  color-scheme: light;
}
:root[data-theme="dark"],
.dark {
  --primary: #111827;
  --primary-dark: #111827;
  --primary-light: #2d3c59;
  --primary-lighter: #3a4a6b;
  --primary-subtle: #f0f4ff;
  --text-primary: #f5f5f5;
  --text-secondary: #d4d4d4;
  --text-muted: #a3a3a3;
  --lighter-gray2: #c4c4c4;
  --light-gray: #e5e4e0;
  --bg-subtle: #262626;
  --border-light: #404040;
  --hover-bg: #333;
  --focus-ring: #4c9aff59;
  --surface: #262626;
  --surface-muted: #1f1f1f;
  --success-bg: #064e3b;
  --success-text: #86efac;
  --success-border: #065f46;
  --error-bg: #7f1d1d;
  --error-text: #fca5a5;
  --error-border: #991b1b;
  --warning-bg: #713f12;
  --warning-text: #fde047;
  --warning-border: #854d0e;
  --info-bg: #1e3a8a;
  --info-text: #93c5fd;
  --info-border: #1e40af;
  --footer-bg: #030712;
  --footer-text: #9ca3af;
  --footer-text-muted: #6b7280;
  --footer-border: #1f2937;
  --action-bg: #3b82f6;
  --action-bg-hover: #2563eb;
  --action-text: #fff;
  --link-color: #60a5fa;
  --link-hover: #3b82f6;
  --status-success-bg: #064e3b;
  --status-success-text: #86efac;
  --status-error-bg: #7f1d1d;
  --status-error-text: #fca5a5;
  color-scheme: dark;
}
* {
  font-family:
    Nunito Sans,
    ui-sans-serif,
    system-ui,
    sans-serif;
}
.notification-badge {
  animation: 2s infinite pulse;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: 0 0;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--text-muted);
}
@supports (color: color-mix(in lab, red, red)) {
  .custom-scrollbar::-webkit-scrollbar-thumb {
    background: color-mix(in oklab, var(--text-muted) 30%, transparent);
  }
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
@supports (color: color-mix(in lab, red, red)) {
  .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: color-mix(in oklab, var(--text-muted) 45%, transparent);
  }
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.dropdown-content {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  transform: scale(0.95);
}
.dropdown-content.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.collapsible-content {
  max-height: 0;
  transition: max-height 0.3s;
  overflow: hidden;
}
.collapsible-content.open {
  max-height: 500px;
}
.chevron-rotate {
  transition: transform 0.3s;
}
.chevron-rotate.rotated {
  transform: rotate(90deg);
}
.btn-focus:focus {
  box-shadow: 0 0 0 3px var(--focus-ring);
  outline: none;
}
.tooltip {
  position: relative;
}
.tooltip:after {
  content: attr(data-tooltip);
  background: var(--text-primary);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.2s;
  position: absolute;
  top: 50%;
  left: 120%;
  transform: translateY(-50%);
}
.tooltip:hover:after {
  opacity: 1;
}
@media (min-width: 1024px) {
  .group\/aside:not(:hover) .tooltip:after,
  .group\/aside:hover .tooltip:after {
    opacity: 0;
  }
}
.spinner {
  border: 3px solid var(--lighter-gray2);
  border-left-color: var(--light-gray);
  z-index: 100000;
  background: 0 0;
  border-radius: 50%;
  width: 12.8px;
  height: 12.8px;
  padding: 10px;
  animation: 1s linear infinite spinner-rotation;
}
.spinner__container {
  justify-content: center;
  align-items: center;
  margin: 0;
  display: flex;
}
@keyframes spinner-rotation {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.card {
  background: var(--surface);
  border-width: 1px;
  border-color: var(--border-light);
  max-width: 28rem;
  color: var(--text-primary);
  border-radius: 1rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  box-shadow: 0 1px 2px #0000000d;
}
.legend {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
}
.label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
}
.hint {
  color: var(--text-muted);
  background: var(--text-muted);
  border-width: 1px;
  border-radius: 0.375rem;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  display: inline-flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .hint {
    background: color-mix(in oklab, var(--text-muted) 7%, var(--surface));
  }
}
.hint {
  border-color: var(--text-muted);
}
@supports (color: color-mix(in lab, red, red)) {
  .hint {
    border-color: color-mix(in oklab, var(--text-muted) 25%, var(--border-light));
  }
}
.hint .hint-icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  transform: translateY(0.125rem);
}
.hint--success {
  color: var(--success-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--success {
    color: color-mix(in oklab, var(--success-text) 70%, var(--text-muted));
  }
}
.hint--success {
  background: var(--success-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--success {
    background: color-mix(in oklab, var(--success-text) 8%, var(--surface));
  }
}
.hint--success {
  border-color: var(--success-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--success {
    border-color: color-mix(in oklab, var(--success-text) 30%, var(--border-light));
  }
}
.hint--warning {
  color: #f59e0b;
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--warning {
    color: color-mix(in oklab, #f59e0b 70%, var(--text-muted));
  }
}
.hint--warning {
  background: #f59e0b;
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--warning {
    background: color-mix(in oklab, #f59e0b 8%, var(--surface));
  }
}
.hint--warning {
  border-color: #f59e0b;
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--warning {
    border-color: color-mix(in oklab, #f59e0b 30%, var(--border-light));
  }
}
.hint--error {
  color: #ef4444;
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--error {
    color: color-mix(in oklab, #ef4444 70%, var(--text-muted));
  }
}
.hint--error {
  background: #ef4444;
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--error {
    background: color-mix(in oklab, #ef4444 8%, var(--surface));
  }
}
.hint--error {
  border-color: #ef4444;
}
@supports (color: color-mix(in lab, red, red)) {
  .hint--error {
    border-color: color-mix(in oklab, #ef4444 30%, var(--border-light));
  }
}
.input {
  background: var(--surface);
  border-width: 1px;
  border-color: var(--border-light);
  width: 100%;
  color: var(--text-primary);
  border-radius: 0.75rem;
  margin-top: 0.25rem;
  padding: 0.5rem 0.75rem;
  display: block;
}
.input::placeholder {
  color: #9ca3af;
}
.input:focus {
  box-shadow: 0 0 0 2px var(--focus-ring);
  outline: none;
}
.fieldset {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}
.btn {
  border-radius: 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-weight: 600;
  display: inline-flex;
}
.btn:focus {
  box-shadow: 0 0 0 4px var(--focus-ring);
  outline: none;
}
.btn-primary {
  cursor: pointer;
  color: #fff;
  background: var(--primary);
  width: 100%;
}
.btn-primary:focus {
  box-shadow: 0 0 0 4px var(--focus-ring);
}
.btn-primary:hover {
  background: var(--primary-light);
}
.btn-primary:active {
  background: var(--primary-lighter);
}
.btn-link {
  color: var(--primary);
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
}
.btn-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}
.alert {
  background: var(--surface);
  border-width: 1px;
  border-color: var(--border-light);
  color: var(--text-primary);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}
.alert-success {
  background: var(--success-text);
  border-width: 1px;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert-success {
    background: color-mix(in oklab, var(--success-text) 10%, var(--surface));
  }
}
.alert-success {
  border-color: var(--success-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .alert-success {
    border-color: color-mix(in oklab, var(--success-text) 30%, var(--border-light));
  }
}
.alert-success {
  color: var(--success-text);
}
.alert-error {
  background: #ef4444;
  border-width: 1px;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert-error {
    background: color-mix(in oklab, #ef4444 10%, var(--surface));
  }
}
.alert-error {
  border-color: #ef4444;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert-error {
    border-color: color-mix(in oklab, #ef4444 30%, var(--border-light));
  }
}
.alert-error {
  color: #7f1d1d;
}
.alert-warning {
  background: #f59e0b;
  border-width: 1px;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert-warning {
    background: color-mix(in oklab, #f59e0b 10%, var(--surface));
  }
}
.alert-warning {
  border-color: #f59e0b;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert-warning {
    border-color: color-mix(in oklab, #f59e0b 30%, var(--border-light));
  }
}
.alert-warning {
  color: #92400e;
}
.alert-info {
  background: #3b82f6;
  border-width: 1px;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert-info {
    background: color-mix(in oklab, #3b82f6 10%, var(--surface));
  }
}
.alert-info {
  border-color: #3b82f6;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert-info {
    border-color: color-mix(in oklab, #3b82f6 30%, var(--border-light));
  }
}
.alert-info {
  color: #1e40af;
}
.alert.hint {
  background: #3b82f6;
  border-width: 1px;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert.hint {
    background: color-mix(in oklab, #3b82f6 8%, var(--surface));
  }
}
.alert.hint {
  border-color: #3b82f6;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert.hint {
    border-color: color-mix(in oklab, #3b82f6 25%, var(--border-light));
  }
}
.alert.hint {
  color: #3b82f6;
}
@supports (color: color-mix(in lab, red, red)) {
  .alert.hint {
    color: color-mix(in oklab, #3b82f6 70%, var(--text-muted));
  }
}
.tile {
  background: var(--surface);
  border-width: 1px;
  border-color: var(--border-light);
  border-radius: 0.5rem;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  transition-property: all;
  transition-duration: 0.2s;
  display: flex;
}
.tile:hover {
  background: var(--hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #0000001a;
}
.badge {
  color: #fff;
  background: #ef4444;
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.75rem;
  display: flex;
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
}
.input-row {
  align-items: center;
  gap: 0.5rem;
  display: flex;
}
.btn-search {
  cursor: pointer;
  color: #fff;
  background: var(--primary);
  border-radius: 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 1rem;
  font-weight: 600;
  display: inline-flex;
}
.btn-search:focus {
  box-shadow: 0 0 0 4px var(--focus-ring);
  outline: none;
}
.btn-search:hover {
  background: var(--primary-light);
}
.btn-search:active {
  background: var(--primary-lighter);
}
.btn-add {
  cursor: pointer;
  color: #fff;
  background: var(--primary);
  border-radius: 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 1rem;
  font-weight: 600;
  display: inline-flex;
}
.btn-add:focus {
  box-shadow: 0 0 0 4px var(--focus-ring);
  outline: none;
}
.btn-add:hover {
  background: var(--primary-light);
}
.btn-add:active {
  background: var(--primary-lighter);
}
.search-filter-collapsed {
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}
.range-separator {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.labeled {
  flex-direction: column;
  gap: 0.25rem;
  display: flex;
}
.label-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
}
.elem-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.mobile {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  display: block;
}
@media (min-width: 768px) {
  .mobile {
    display: none;
  }
}
.mobile-col {
  display: block;
}
.toolbar-button {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
}
.toolbar-button:hover {
  background: var(--hover-bg);
}
.action-column {
  align-items: center;
  gap: 0.5rem;
  display: flex;
}
.paging-toolbar {
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  display: flex;
}
.m-t-5 {
  margin-top: 1.25rem;
}
.auto-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  display: grid;
}
@media (min-width: 640px) {
  .auto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .auto-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .auto-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}
.w-100p {
  width: 100%;
}
.br-s {
  border-radius: 0.125rem;
}
.rad-chart {
  flex-direction: column;
  gap: 0.5rem;
  display: flex;
}
.icon {
  width: 1.5rem;
  height: 1.5rem;
}
.d-block {
  display: block;
}
.warning {
  background: #ef4444;
  border-style: solid;
  border-width: 1px;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .warning {
    background: color-mix(in oklab, #ef4444 10%, var(--surface));
  }
}
.warning {
  border-color: #ef4444;
}
@supports (color: color-mix(in lab, red, red)) {
  .warning {
    border-color: color-mix(in oklab, #ef4444 30%, var(--border-light));
  }
}
.warning {
  color: #7f1d1d;
}
.forgot-password {
  font-size: 0.875rem;
}
.required .label:after {
  content: " *";
  color: #dc2626;
}
.hidden {
  display: none;
}
.loader {
  border: 4px solid #0000001a;
  border-left-color: #09f;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: 1s linear infinite spin;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.bg-app,
.bg-subtle {
  background: var(--bg-subtle);
}
.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-muted {
  color: var(--text-muted);
}
.text-accent {
  color: var(--primary);
}
.border-subtle {
  border-color: var(--border-light);
}
.border-accent {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .border-accent {
    border-color: color-mix(in oklab, var(--primary) 28%, var(--border-light));
  }
}
.bg-surface {
  background: var(--surface);
}
.bg-surface-muted {
  background: var(--surface-muted);
}
.bg-accent-subtle {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .bg-accent-subtle {
    background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  }
}
.text-text-primary {
  color: var(--text-primary);
}
.text-text-secondary {
  color: var(--text-secondary);
}
.text-text-muted,
.text-text-disabled {
  color: var(--text-muted);
}
@supports (color: color-mix(in lab, red, red)) {
  .text-text-disabled {
    color: color-mix(in oklab, var(--text-muted) 78%, transparent);
  }
}
.text-error-text {
  color: var(--error-text);
}
.placeholder-text-secondary::placeholder,
.placeholder\:text-text-secondary::placeholder {
  color: var(--text-secondary);
  opacity: 0.85;
}
.placeholder\:text-text-muted::placeholder {
  color: var(--text-muted);
  opacity: 0.9;
}
.bg-primary {
  background: var(--action-bg);
}
.bg-primary-hover {
  background: var(--action-bg-hover);
}
.bg-primary-subtle {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .bg-primary-subtle {
    background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  }
}
.bg-primary-subtle\/50 {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .bg-primary-subtle\/50 {
    background: color-mix(in oklab, var(--primary) 7%, var(--surface));
  }
}
.bg-primary-subtle\/80 {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .bg-primary-subtle\/80 {
    background: color-mix(in oklab, var(--primary) 13%, var(--surface));
  }
}
.bg-surface-subtle {
  background: var(--surface);
}
@supports (color: color-mix(in lab, red, red)) {
  .bg-surface-subtle {
    background: color-mix(in oklab, var(--surface) 80%, var(--bg-subtle));
  }
}
.bg-surface-subtle\/30 {
  background: var(--surface);
}
@supports (color: color-mix(in lab, red, red)) {
  .bg-surface-subtle\/30 {
    background: color-mix(in oklab, var(--surface) 30%, var(--bg-subtle));
  }
}
.bg-surface-muted\/30 {
  background: var(--surface-muted);
}
@supports (color: color-mix(in lab, red, red)) {
  .bg-surface-muted\/30 {
    background: color-mix(in oklab, var(--surface-muted) 30%, transparent);
  }
}
.bg-error,
.bg-error-hover {
  background: var(--error-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .bg-error-hover {
    background: color-mix(in oklab, var(--error-text) 86%, black);
  }
}
.border-border,
.border-border-light,
.border-border-light\/50 {
  border-color: var(--border-light);
}
@supports (color: color-mix(in lab, red, red)) {
  .border-border-light\/50 {
    border-color: color-mix(in oklab, var(--border-light) 50%, transparent);
  }
}
.border-primary,
.border-primary\/20 {
  border-color: var(--action-bg);
}
@supports (color: color-mix(in lab, red, red)) {
  .border-primary\/20 {
    border-color: color-mix(in oklab, var(--action-bg) 20%, transparent);
  }
}
.divide-border-light > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--border-light);
}
.focus\:border-primary:focus {
  border-color: var(--action-bg);
}
.focus\:ring-primary:focus,
.focus\:ring-primary\/20:focus {
  box-shadow: 0 0 0 2px var(--focus-ring);
}
.hover\:bg-primary-hover:hover {
  background: var(--action-bg-hover);
}
.hover\:bg-primary-subtle:hover {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .hover\:bg-primary-subtle:hover {
    background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  }
}
.hover\:bg-primary-subtle\/50:hover {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .hover\:bg-primary-subtle\/50:hover {
    background: color-mix(in oklab, var(--primary) 7%, var(--surface));
  }
}
.hover\:bg-primary-subtle\/80:hover {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .hover\:bg-primary-subtle\/80:hover {
    background: color-mix(in oklab, var(--primary) 13%, var(--surface));
  }
}
.hover\:bg-hover-bg:hover {
  background: var(--hover-bg);
}
.hover\:bg-surface-subtle:hover {
  background: var(--surface);
}
@supports (color: color-mix(in lab, red, red)) {
  .hover\:bg-surface-subtle:hover {
    background: color-mix(in oklab, var(--surface) 80%, var(--bg-subtle));
  }
}
.hover\:bg-error-hover:hover {
  background: var(--error-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .hover\:bg-error-hover:hover {
    background: color-mix(in oklab, var(--error-text) 86%, black);
  }
}
.hover\:text-primary:hover {
  color: var(--action-bg);
}
.hover\:text-text-primary:hover {
  color: var(--text-primary);
}
.hover\:text-error-text:hover {
  color: var(--error-text);
}
.hover\:border-primary:hover,
.hover\:border-primary\/50:hover {
  border-color: var(--action-bg);
}
@supports (color: color-mix(in lab, red, red)) {
  .hover\:border-primary\/50:hover {
    border-color: color-mix(in oklab, var(--action-bg) 50%, transparent);
  }
}
.hover\:border-error-text:hover {
  border-color: var(--error-text);
}
.hover\:border-text-muted:hover {
  border-color: var(--text-muted);
}
.group:hover .group-hover\:bg-primary-subtle {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .group:hover .group-hover\:bg-primary-subtle {
    background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  }
}
.group:hover .group-hover\:text-primary {
  color: var(--action-bg);
}
.toast-success {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: var(--success-border);
}
.toast-error {
  background: var(--error-bg);
  color: var(--error-text);
  border-color: var(--error-border);
}
.toast-warning {
  background: var(--warning-bg);
  color: var(--warning-text);
  border-color: var(--warning-border);
}
.toast-info {
  background: var(--info-bg);
  color: var(--info-text);
  border-color: var(--info-border);
}
.toast-default {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border-light);
}
.badge-success {
  border-color: var(--success-text);
  background-color: var(--success-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .badge-success {
    background-color: color-mix(in oklab, var(--success-text) 15%, var(--surface));
  }
}
.badge-success {
  color: var(--success-text);
}
.badge-error {
  color: #fff;
  background-color: #ef4444;
}
.bg-footer {
  background: var(--footer-bg);
}
.text-footer {
  color: var(--footer-text);
}
.text-footer-muted {
  color: var(--footer-text-muted);
}
.border-footer {
  border-color: var(--footer-border);
}
.bg-muted {
  background: var(--text-muted);
}
.btn-action {
  background: var(--action-bg);
  color: var(--action-text);
}
.btn-action:hover {
  background: var(--action-bg-hover);
}
.link {
  color: var(--link-color);
}
.link:hover {
  color: var(--link-hover);
}
.status-success {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}
.status-error {
  background: var(--status-error-bg);
  color: var(--status-error-text);
}
.tu-page-shell {
  display: block;
}
.tu-page {
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 3rem;
  display: flex;
}
.tu-hero {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.25rem;
  padding: 1.25rem 0 0.25rem;
}
.tu-hero__row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}
.tu-kpi-row {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  display: grid;
}
@media (min-width: 48rem) {
  .tu-kpi-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 80rem) {
  .tu-kpi-row {
    grid-template-columns: repeat(5, 1fr);
  }
}
.tu-kpi {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.125rem;
  display: flex;
}
.tu-kpi__value {
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}
.tu-kpi__label {
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
  font-size: 0.65rem;
  font-weight: 700;
}
.tu-kpi__sub {
  color: var(--text-muted);
  margin-top: 0.15rem;
  font-size: 0.72rem;
}
.tu-timeframe {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 0.5rem;
  display: inline-flex;
  overflow: hidden;
}
.tu-timeframe__btn {
  color: var(--text-muted);
  border: none;
  border-right: 1px solid var(--border-light);
  cursor: pointer;
  background: 0 0;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  transition:
    background 0.12s,
    color 0.12s;
}
.tu-timeframe__btn:last-child {
  border-right: none;
}
.tu-timeframe__btn.is-active {
  background: var(--primary);
  color: #fff;
}
.tu-timeframe__btn:not(.is-active):hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.tu-grid-2 {
  gap: 0.75rem;
  display: grid;
}
@media (min-width: 64rem) {
  .tu-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.tu-panel {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  overflow: hidden;
}
.tu-panel__head {
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem 0.75rem;
  display: flex;
}
.tu-panel__title {
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.tu-panel__actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  display: flex;
}
.tu-panel__body {
  padding: 0.875rem 1rem;
}
.tu-tabs {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 0.4rem;
  display: inline-flex;
  overflow: hidden;
}
.tu-tab {
  color: var(--text-muted);
  border: none;
  border-right: 1px solid var(--border-light);
  cursor: pointer;
  background: 0 0;
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  transition:
    background 0.12s,
    color 0.12s;
}
.tu-tab:last-child {
  border-right: none;
}
.tu-tab.is-active {
  background: var(--primary);
  color: #fff;
}
.tu-tab:not(.is-active):hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.tu-select {
  appearance: none;
  border: 1px solid var(--border-light);
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 0.4rem center;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 0.4rem;
  padding: 0.25rem 1.6rem 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.tu-select:focus {
  border-color: var(--primary);
  outline: none;
}
.tu-filter-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  display: flex;
}
.tu-filter-btn {
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 999px;
  max-width: 180px;
  padding: 0.22rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.12s;
  overflow: hidden;
}
.tu-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.tu-filter-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.tu-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8rem;
}
.tu-table th {
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
  padding: 0.5rem 0.875rem;
  font-size: 0.63rem;
  font-weight: 700;
}
.tu-table th:not(:first-child) {
  text-align: right;
}
.tu-table td {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  padding: 0.55rem 0.875rem;
}
.tu-table td:not(:first-child) {
  text-align: right;
}
.tu-table tr:last-child td {
  border-bottom: none;
}
.tu-table__name {
  color: var(--text-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
  font-size: 0.78rem;
  font-weight: 600;
  display: block;
  overflow: hidden;
}
.tu-badge {
  letter-spacing: 0.04em;
  background: var(--hover-bg);
  color: var(--text-muted);
  border-radius: 999px;
  margin-top: 0.15rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  display: inline-block;
}
.tu-bar-wrap {
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  display: flex;
}
.tu-mini-bar {
  background: var(--border-light);
  border-radius: 999px;
  flex-shrink: 0;
  width: 48px;
  height: 3px;
  overflow: hidden;
}
.tu-mini-bar__fill {
  background: var(--primary);
  border-radius: 999px;
  height: 100%;
}
.tu-summary {
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.75rem 0 0.25rem;
  display: flex;
}
.tu-summary__item {
  flex-direction: column;
  gap: 0.1rem;
  display: flex;
}
.tu-summary__val {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}
.tu-summary__lbl {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-size: 0.63rem;
  font-weight: 600;
}
.tu-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem;
  font-size: 0.875rem;
}
@media (max-width: 47.9rem) {
  .tu-table th:nth-child(3),
  .tu-table td:nth-child(3),
  .tu-table th:nth-child(4),
  .tu-table td:nth-child(4),
  .tu-table th:nth-child(6),
  .tu-table td:nth-child(6) {
    display: none;
  }
  .tu-kpi__value {
    font-size: 1.15rem;
  }
}
.doc-explorer {
  flex-direction: column;
  gap: 0;
  display: flex;
}
.doc-toolbar {
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  display: flex;
}
.doc-filter-select {
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.8125rem;
}
.doc-filter-select:focus {
  outline: none;
}
.doc-folder-strip {
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0;
  display: flex;
}
.doc-folder-chip {
  background: var(--surface-muted);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  white-space: nowrap;
  border-radius: 9999px;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  display: inline-flex;
}
.doc-folder-chip:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.doc-folder-chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.doc-list-header {
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  grid-template-columns: 2.25rem 1fr 7.5rem 6.5rem 7.5rem 2.5rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  display: grid;
}
.doc-list {
  flex-direction: column;
  display: flex;
}
.doc-item {
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  grid-template-columns: 2.25rem 1fr 7.5rem 6.5rem 7.5rem 2.5rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  transition: background 0.1s;
  display: grid;
}
.doc-item:hover {
  background: var(--hover-bg);
}
.doc-item__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
}
.doc-item__name {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
}
.doc-item__meta {
  color: var(--text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  overflow: hidden;
}
.doc-item__action {
  width: 2rem;
  height: 2rem;
  color: var(--text-muted);
  opacity: 0;
  border-radius: 0.5rem;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.1s,
    background 0.1s,
    color 0.1s;
  display: inline-flex;
}
.doc-item:hover .doc-item__action {
  opacity: 1;
}
.doc-item__action:hover {
  background: var(--hover-bg);
}
@supports (color: color-mix(in lab, red, red)) {
  .doc-item__action:hover {
    background: color-mix(in oklab, var(--hover-bg) 80%, var(--border-light));
  }
}
.doc-item__action:hover {
  color: var(--text-primary);
}
.doc-status {
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 9999px;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  display: inline-flex;
}
.doc-status--draft {
  background: var(--warning-bg);
  color: var(--warning-text);
}
.doc-status--published {
  background: var(--success-bg);
  color: var(--success-text);
}
.doc-status--archived {
  background: var(--surface-muted);
  color: var(--text-muted);
}
.doc-idx-dot {
  vertical-align: middle;
  border-radius: 9999px;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.5rem;
  display: inline-block;
}
.doc-idx-dot--indexed {
  background: #22c55ed9;
}
.doc-idx-dot--pending {
  background: #eab308d9;
}
.doc-preview {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 0.75rem;
  flex-direction: column;
  display: flex;
  overflow: hidden;
}
.doc-preview__header {
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-muted);
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  display: flex;
}
.doc-preview__title {
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}
.doc-preview__actions {
  align-items: center;
  gap: 0.375rem;
  display: flex;
}
.doc-preview__body {
  background: var(--surface-muted);
  justify-content: center;
  align-items: stretch;
  min-height: 24rem;
  max-height: 70vh;
  display: flex;
  position: relative;
  overflow: auto;
}
.doc-preview__placeholder {
  color: var(--text-secondary);
  text-align: center;
  align-items: center;
  gap: 0.5rem;
  margin: auto;
  padding: 2rem;
  font-size: 0.875rem;
  display: flex;
}
.doc-preview__frame {
  background: #fff;
  border: 0;
  width: 100%;
  min-height: 30rem;
}
.doc-preview__image {
  object-fit: contain;
  background: #fff;
  max-width: 100%;
  max-height: 70vh;
  margin: auto;
}
.doc-preview__video,
.doc-preview__audio {
  background: #000;
  width: 100%;
  max-height: 70vh;
  margin: auto;
}
.doc-preview__audio {
  background: 0 0;
}
.doc-preview__text {
  width: 100%;
  color: var(--text-primary);
  background: var(--surface);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 1rem 1.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.doc-sort-link {
  color: inherit;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  display: inline-flex;
}
.doc-sort-link:hover,
.doc-sort-link.active {
  color: var(--primary);
}
.doc-view-btn {
  border: 1px solid var(--border-light);
  background: var(--surface);
  width: 2rem;
  height: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 0.5rem;
  justify-content: center;
  align-items: center;
  transition:
    background 0.1s,
    color 0.1s,
    border-color 0.1s;
  display: inline-flex;
}
.doc-view-btn.is-active,
.doc-view-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.doc-empty {
  color: var(--text-muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  font-size: 0.875rem;
  display: flex;
}
.doc-empty svg {
  opacity: 0.3;
}
.doc-explorer[data-view="grid"] .doc-list-header {
  display: none;
}
.doc-explorer[data-view="grid"] .doc-list {
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.75rem;
  padding: 0.75rem 0;
  display: grid;
}
.doc-explorer[data-view="grid"] .doc-item {
  border: 1px solid var(--border-light);
  background: var(--surface);
  text-align: center;
  border-radius: 0.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  transition:
    background 0.1s,
    box-shadow 0.1s;
  display: flex;
  position: relative;
}
.doc-explorer[data-view="grid"] .doc-item:hover {
  background: var(--surface-muted);
  box-shadow: 0 4px 12px #0000000d;
}
.doc-explorer[data-view="grid"] .doc-item__icon {
  width: 4.5rem;
  height: 4.5rem;
  transition: transform 0.2s;
}
.doc-explorer[data-view="grid"] .doc-item:hover .doc-item__icon {
  transform: scale(1.05);
}
.doc-explorer[data-view="grid"] .doc-item__name {
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  display: -webkit-box;
  overflow: hidden;
}
.doc-explorer[data-view="grid"] .doc-item__action {
  opacity: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0.375rem;
  justify-content: center;
  align-items: center;
  padding: 0.25rem;
  transition:
    opacity 0.1s,
    background 0.1s;
  display: flex;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
.doc-explorer[data-view="grid"] .doc-item:hover .doc-item__action {
  opacity: 1;
}
.doc-explorer[data-view="grid"] .doc-item__action:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.doc-explorer[data-view="grid"] .doc-item__size,
.doc-explorer[data-view="grid"] .doc-item__date {
  display: none;
}
@media (max-width: 47.9rem) {
  .doc-list-header {
    display: none;
  }
  .doc-item {
    grid-template-columns: 2.25rem 1fr 6.5rem 2.5rem;
  }
  .doc-item__size,
  .doc-item__date {
    display: none;
  }
}
.doc-shell {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 0.75rem;
  grid-template-columns: 15rem 1fr;
  display: grid;
  overflow: hidden;
}
.doc-sidebar {
  border-right: 1px solid var(--border-light);
  background: var(--surface-muted);
  flex-direction: column;
  max-height: 80vh;
  display: flex;
  overflow-y: auto;
}
.doc-sidebar-head {
  border-bottom: 1px solid var(--border-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--surface-muted);
  z-index: 1;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  display: flex;
  position: sticky;
  top: 0;
}
.doc-sidebar-new {
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-muted);
  white-space: nowrap;
  border-radius: 0.375rem;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.1s,
    color 0.1s,
    border-color 0.1s;
  display: inline-flex;
}
.doc-sidebar-new:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.doc-tree {
  flex-direction: column;
  flex: 1;
  gap: 0.125rem;
  padding: 0.375rem;
  display: flex;
}
.doc-tree-row {
  border-radius: 0.375rem;
  align-items: center;
  display: flex;
  overflow: hidden;
}
.doc-tree-row:hover {
  background: var(--hover-bg);
}
.doc-tree-row.is-active {
  background: var(--primary);
}
.doc-tree-link {
  min-width: 0;
  color: var(--text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.5rem;
  font-size: 0.8125rem;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}
.doc-tree-row:hover .doc-tree-link {
  color: var(--text-primary);
}
.doc-tree-row.is-active .doc-tree-link {
  color: #fff;
}
.doc-tree-link svg {
  flex-shrink: 0;
}
.doc-tree-action {
  width: 1.625rem;
  height: 1.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: color 0.1s;
  display: none;
}
.doc-tree-row:not(.is-active):hover .doc-tree-action {
  display: inline-flex;
}
.doc-tree-action:hover {
  color: var(--primary);
}
.doc-tree-count {
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  border-radius: 9999px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0 0.3rem;
  font-size: 0.6875rem;
}
.doc-tree-row.is-active .doc-tree-count {
  color: #ffffffd9;
  background: #ffffff2e;
  border-color: #ffffff4d;
}
.doc-main {
  flex-direction: column;
  min-width: 0;
  display: flex;
  overflow: hidden;
}
.doc-shell .doc-toolbar {
  border-top: none;
  padding: 0.625rem 0.875rem;
}
.doc-breadcrumb {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-muted);
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  display: flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .doc-breadcrumb {
    background: color-mix(in oklab, var(--surface-muted) 40%, var(--surface));
  }
}
.doc-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.doc-breadcrumb a:hover {
  text-decoration: underline;
}
.doc-shell .doc-list-header,
.doc-shell .doc-item {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.doc-shell .doc-pagination {
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  display: flex;
}
@media (max-width: 55rem) {
  .doc-shell {
    grid-template-columns: 1fr;
  }
  .doc-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    max-height: 9rem;
    overflow: auto hidden;
  }
  .doc-tree {
    flex-flow: row;
    gap: 0.25rem;
    padding: 0.375rem;
  }
  .doc-tree-row {
    flex-shrink: 0;
  }
  .doc-tree-action {
    display: none !important;
  }
}
.doc-explorer {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 0.75rem;
  overflow: hidden;
}
.doc-explorer .doc-toolbar,
.doc-explorer .doc-breadcrumb-bar,
.doc-explorer .doc-pagination {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.doc-breadcrumb-bar {
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-muted);
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.8125rem;
  display: flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .doc-breadcrumb-bar {
    background: color-mix(in oklab, var(--surface-muted) 40%, var(--surface));
  }
}
.doc-bc-path {
  flex: 1;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
  display: flex;
}
.doc-bc-up {
  border: 1px solid var(--border-light);
  width: 1.625rem;
  height: 1.625rem;
  color: var(--text-secondary);
  border-radius: 0.375rem;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition:
    background 0.1s,
    color 0.1s;
  display: inline-flex;
}
.doc-bc-up:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.doc-bc-item {
  color: var(--text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 0.375rem;
  align-items: center;
  gap: 0.3rem;
  padding: 0.125rem 0.375rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.1s,
    color 0.1s;
  display: inline-flex;
  overflow: hidden;
}
a.doc-bc-item:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.doc-bc-item.is-current {
  color: var(--text-primary);
  font-weight: 600;
}
.doc-bc-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  display: flex;
}
.doc-bc-new {
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-secondary);
  white-space: nowrap;
  border-radius: 0.375rem;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.1s,
    color 0.1s,
    border-color 0.1s;
  display: inline-flex;
}
.doc-bc-new:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.doc-item--folder {
  cursor: pointer;
  color: var(--text-primary);
}
.doc-item--folder .doc-item__type {
  color: var(--text-muted);
  font-style: italic;
}
.doc-item--folder .doc-item__action {
  cursor: pointer;
}
.doc-list-divider {
  background: var(--border-light);
  height: 1px;
}
.doc-pagination {
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.8125rem;
  display: flex;
}
.doc-explorer[data-view="grid"] .doc-item--folder {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}
.doc-explorer[data-view="grid"] .doc-list-divider {
  display: none;
}
.ug-modal-scrim {
  z-index: 200;
  background: #00000073;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
}
.ug-modal-scrim.hidden {
  display: none;
}
.ug-modal {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0.9rem;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 2rem);
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 60px #00000040;
}
.ug-modal__header {
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem 0.85rem;
  display: flex;
}
.ug-modal__title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}
.ug-modal__close {
  cursor: pointer;
  color: var(--text-secondary);
  background: 0 0;
  border: none;
  border-radius: 0.35rem;
  padding: 0.2rem 0.35rem;
  font-size: 1.2rem;
  line-height: 1;
  transition:
    background 0.12s,
    color 0.12s;
}
.ug-modal__close:hover {
  background: var(--surface-muted);
  color: var(--text-primary);
}
.ug-modal__body {
  flex: auto;
  padding: 1.2rem 1.4rem;
  overflow-y: auto;
}
.ug-modal__footer {
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  display: flex;
}
.ug-modal__footer-right {
  align-items: center;
  gap: 0.6rem;
  display: flex;
}
.ug-modal__panel {
  display: none;
}
.ug-modal__panel.active {
  display: block;
}
.ug-modal__panel-title {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.ug-modal__panel-hint {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.8rem;
}
.ug-modal__status {
  min-height: 1.2em;
  font-size: 0.8rem;
}
.ug-modal__status--ok {
  color: var(--text-secondary);
}
.ug-modal__status--err {
  color: #be123c;
}
.kb-table-widget {
  gap: 0.5rem;
  display: grid;
}
.kb-table-bar {
  align-items: center;
  gap: 0.75rem;
  display: flex;
}
.kb-table-search {
  flex: 1;
}
.kb-table-count {
  color: var(--primary);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
}
.kb-details-page {
  gap: 1.25rem;
  width: min(100%, 76rem);
  margin-inline: auto;
}
.kb-details-page .admin-detail-header {
  padding-bottom: 1rem;
}
.kb-details-page__section {
  border: 1px solid var(--border-light);
  padding: 1.35rem 1.45rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-details-page__section {
    border: 1px solid color-mix(in oklab, var(--border-light) 82%, var(--text-primary) 6%);
  }
}
.kb-details-page__section {
  background: var(--surface);
  border-radius: 1rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-details-page__section {
    background: color-mix(in oklab, var(--surface) 94%, white 6%);
  }
}
.kb-details-page__section {
  box-shadow: 0 12px 28px #0f172a0a;
}
.kb-details-page__section--form .admin-edit-form .rui-form-fields > * + * {
  border-top: none;
}
.kb-details-page__section--form .admin-edit-form .rui-fieldset-row {
  padding-top: 0;
  padding-bottom: 0.65rem;
}
.kb-details-page__section--form .admin-edit-form .rui-form-field {
  padding-top: 0.35rem;
  padding-bottom: 0;
}
.kb-details-page__section--form .admin-edit-form .rui-form-actions {
  margin-top: 0;
}
.kb-source__header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  display: flex;
}
.kb-source__choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  display: grid;
}
.kb-source__choice {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 0.85rem;
  align-items: flex-start;
  gap: 0.8rem;
  width: 100%;
  min-height: 5.4rem;
  padding: 0.9rem;
  display: flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__choice {
    background: color-mix(in oklab, var(--surface) 90%, var(--bg-subtle) 10%);
  }
}
.kb-source__choice {
  color: var(--text-primary);
  text-align: left;
  transition:
    border-color 0.16s,
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
.kb-source__choice:hover {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__choice:hover {
    border-color: color-mix(in oklab, var(--primary) 44%, var(--border-light));
  }
}
.kb-source__choice:hover {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__choice:hover {
    background: color-mix(in oklab, var(--primary) 4%, var(--surface));
  }
}
.kb-source__choice:hover {
  transform: translateY(-1px);
}
.kb-source__choice[aria-selected="true"] {
  border-color: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__choice[aria-selected="true"] {
    border-color: color-mix(in oklab, var(--primary) 72%, var(--border-light));
  }
}
.kb-source__choice[aria-selected="true"] {
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__choice[aria-selected="true"] {
    background: color-mix(in oklab, var(--primary) 7%, var(--surface));
  }
}
.kb-source__choice[aria-selected="true"] {
  box-shadow: 0 0 0 3px var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__choice[aria-selected="true"] {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 12%, transparent);
  }
}
.kb-source__choice:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.kb-source__choice-icon {
  background: var(--primary);
  border-radius: 0.7rem;
  flex: 0 0 2.4rem;
  justify-content: center;
  align-items: center;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__choice-icon {
    background: color-mix(in oklab, var(--primary) 9%, var(--surface));
  }
}
.kb-source__choice-icon {
  color: var(--primary);
}
.kb-source__choice-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.kb-source__choice-copy {
  gap: 0.22rem;
  min-width: 0;
  display: grid;
}
.kb-source__choice-copy strong {
  font-size: 0.86rem;
  line-height: 1.25;
}
.kb-source__choice-copy span {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.45;
}
.kb-source__summary {
  border: 1px solid;
  border-radius: 0.7rem;
  margin-top: 0.85rem;
  padding: 0.7rem 0.8rem;
  font-size: 0.8rem;
  line-height: 1.45;
}
.kb-source__summary--error {
  border-color: var(--error-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__summary--error {
    border-color: color-mix(in oklab, var(--error-text) 32%, transparent);
  }
}
.kb-source__summary--error {
  background: var(--error-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__summary--error {
    background: color-mix(in oklab, var(--error-text) 7%, var(--surface));
  }
}
.kb-source__summary--error {
  color: var(--error-text);
}
.kb-source__summary--success {
  background: #15803d;
  border-color: #15803d52;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__summary--success {
    background: color-mix(in oklab, #15803d 7%, var(--surface));
  }
}
.kb-source__summary--success {
  color: #15803d;
}
.kb-source__panel {
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 0.85rem;
  margin-top: 0.9rem;
  overflow: hidden;
}
.kb-source__panel[hidden] {
  display: none !important;
}
.kb-source__panel-heading {
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
  padding: 0.85rem 1rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__panel-heading {
    background: color-mix(in oklab, var(--bg-subtle) 74%, var(--surface));
  }
}
.kb-source__panel-heading h3 {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
}
.kb-source__panel-heading p {
  color: var(--text-secondary);
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.45;
}
.kb-source__panel-body {
  gap: 0.75rem;
  padding: 1rem;
  display: grid;
}
.kb-source__file-picker {
  border: 1px dashed var(--primary);
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.65rem 0.8rem;
  display: inline-flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__file-picker {
    border: 1px dashed color-mix(in oklab, var(--primary) 34%, var(--border-light));
  }
}
.kb-source__file-picker {
  background: var(--primary);
  border-radius: 0.75rem;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__file-picker {
    background: color-mix(in oklab, var(--primary) 3%, var(--surface));
  }
}
.kb-source__file-picker {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 650;
  transition:
    border-color 0.16s,
    background 0.16s,
    color 0.16s;
}
.kb-source__file-picker:hover {
  border-color: var(--primary);
  background: var(--primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-source__file-picker:hover {
    background: color-mix(in oklab, var(--primary) 7%, var(--surface));
  }
}
.kb-source__file-picker:hover {
  color: var(--primary);
}
.kb-details-page .admin-detail-header__actions .rkr-btn--secondary {
  z-index: 1;
  border: 1px solid var(--text-primary);
  border-radius: 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.2rem;
  padding: 0.45rem 0.75rem;
  display: flex;
  position: relative;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-details-page .admin-detail-header__actions .rkr-btn--secondary {
    border: 1px solid color-mix(in oklab, var(--text-primary) 88%, transparent);
  }
}
.kb-details-page .admin-detail-header__actions .rkr-btn--secondary {
  background: var(--text-primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-details-page .admin-detail-header__actions .rkr-btn--secondary {
    background: color-mix(in oklab, var(--text-primary) 92%, #111827 8%);
  }
}
.kb-details-page .admin-detail-header__actions .rkr-btn--secondary {
  color: #fff;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.16s,
    background 0.16s,
    box-shadow 0.16s;
  box-shadow: 0 12px 26px #0f172a2e;
}
.kb-details-page .admin-detail-header__actions .rkr-btn--secondary:hover {
  border-color: var(--text-primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-details-page .admin-detail-header__actions .rkr-btn--secondary:hover {
    border-color: color-mix(in oklab, var(--text-primary) 88%, transparent);
  }
}
.kb-details-page .admin-detail-header__actions .rkr-btn--secondary:hover {
  background: var(--text-primary);
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-details-page .admin-detail-header__actions .rkr-btn--secondary:hover {
    background: color-mix(in oklab, var(--text-primary) 82%, var(--primary) 18%);
  }
}
.kb-details-page .admin-detail-header__actions .rkr-btn--secondary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px #0f172a38;
}
.kb-details-page .admin-detail-header__actions .rkr-btn--secondary:disabled {
  cursor: progress;
  opacity: 0.8;
  transform: none;
}
.rkr-btn__icon {
  object-fit: contain;
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}
.kb-details-page .admin-detail-header__actions .rkr-btn--secondary .rkr-btn__icon {
  filter: brightness(0) invert();
}
.rkr-btn__label {
  display: block;
}
.kb-details-form-actions {
  background: linear-gradient(180deg, var(--bg-subtle), var(--bg-subtle) 24rem);
  border-top: none;
  margin-top: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0;
}
@supports (color: color-mix(in lab, red, red)) {
  .kb-details-form-actions {
    background: linear-gradient(
      180deg,
      color-mix(in oklab, var(--bg-subtle) 86%, white 14%),
      var(--bg-subtle) 24rem
    );
  }
}
.kd-detach {
  border: 1px solid var(--error-text);
  border-radius: 0.6rem;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  display: inline-flex;
}
@supports (color: color-mix(in lab, red, red)) {
  .kd-detach {
    border: 1px solid color-mix(in oklab, var(--error-text) 30%, transparent);
  }
}
.kd-detach {
  background: var(--error-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .kd-detach {
    background: color-mix(in oklab, var(--error-text) 6%, var(--surface));
  }
}
.kd-detach {
  color: var(--error-text);
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition:
    border-color 0.16s,
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}
.kd-detach:hover {
  border-color: var(--error-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .kd-detach:hover {
    border-color: color-mix(in oklab, var(--error-text) 48%, transparent);
  }
}
.kd-detach:hover {
  background: var(--error-text);
}
@supports (color: color-mix(in lab, red, red)) {
  .kd-detach:hover {
    background: color-mix(in oklab, var(--error-text) 12%, var(--surface));
  }
}
.kd-detach:hover {
  color: var(--error-text);
  transform: translateY(-1px);
}
.kd-detach__icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--error-text);
  flex-shrink: 0;
}
@media (max-width: 40rem) {
  .kb-source__choices {
    grid-template-columns: 1fr;
  }
  .kb-source__choice {
    min-height: auto;
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-pan-x {
  syntax: "*";
  inherits: false;
}
@property --tw-pan-y {
  syntax: "*";
  inherits: false;
}
@property --tw-pinch-zoom {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-divide-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-divide-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-gradient-position {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-content {
  syntax: "*";
  inherits: false;
  initial-value: "";
}
@keyframes ping {
  75%,
  to {
    opacity: 0;
    transform: scale(2);
  }
}
.neo-layout {
  display: flex;
  min-height: 100vh;
  background: var(--surface);
  color: var(--text-primary);
}
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #0f172a5c;
  backdrop-filter: blur(2px);
}
.modal-scrim .modal {
  position: static;
  inset: auto;
  margin: 0;
  width: min(36rem, calc(100vw - 2rem));
  max-width: 100%;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: 0 26px 60px #0f172a4d;
  padding: 1.15rem 1.2rem;
}
.modal-scrim .modal h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.modal-scrim .modal p {
  margin-top: 0.45rem;
  color: var(--text-secondary);
}
.modal-scrim .modal.modal-fullwidth {
  width: min(72rem, calc(100vw - 2rem));
}
.modal-scrim .modal::backdrop {
  background: transparent;
}
.admin-delete-form {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.95rem;
}
.admin-delete-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}
.admin-flash-stack {
  display: grid;
  gap: 0.6rem;
}
.admin-flash {
  border-radius: 0.85rem;
  border: 1px solid transparent;
  padding: 0.7rem 0.9rem;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 500;
}
.admin-flash--success {
  border-color: color-mix(in oklab, #22c55e 42%, var(--border-light));
  background: color-mix(in oklab, #22c55e 12%, var(--surface));
  color: color-mix(in oklab, #15803d 70%, var(--text-primary));
}
.admin-flash--error {
  border-color: color-mix(in oklab, #ef4444 42%, var(--border-light));
  background: color-mix(in oklab, #ef4444 11%, var(--surface));
  color: color-mix(in oklab, #b91c1c 72%, var(--text-primary));
}
.admin-edit-form-shell {
  margin-inline: auto;
}
.admin-edit-form-actions {
  position: static;
  padding-bottom: 0;
  background: transparent;
}
@media (width<48rem) {
  .admin-edit-form-actions {
    position: sticky;
    bottom: 0;
    padding-bottom: 0.35rem;
    background: linear-gradient(
      180deg,
      color-mix(in oklab, var(--surface) 0%, transparent),
      var(--surface) 28%
    );
  }
}
.neo-sidebar {
  width: 15rem;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--border-light);
  z-index: 30;
}
.neo-sidebar__brand {
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}
.neo-brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: var(--workspace-accent, var(--primary));
}
.neo-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem;
  display: grid;
  gap: 0.25rem;
}
.neo-nav__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.7rem;
  padding: 0.55rem 0.6rem;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.neo-nav__item:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.neo-nav__item.is-active {
  background: color-mix(in oklab, var(--primary-subtle) 75%, var(--surface));
  color: var(--text-primary);
  border-color: color-mix(in oklab, var(--primary) 20%, var(--border-light));
}
.neo-nav__icon {
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.neo-nav__icon > svg {
  width: 1.05rem;
  height: 1.05rem;
}
.neo-nav__label {
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
}
.neo-sidebar__footer {
  border-top: 1px solid var(--border-light);
  padding: 0.6rem;
}
.neo-user-chip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.8rem;
  padding: 0.45rem;
  transition: background-color 0.15s ease;
}
.neo-user-chip:hover {
  background: var(--hover-bg);
}
.neo-user-chip__initial {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  background: color-mix(in oklab, var(--primary) 18%, var(--surface));
}
.neo-user-chip__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.neo-user-chip__name,
.neo-user-chip__email {
  display: block;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.neo-user-chip__name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-primary);
}
.neo-user-chip__email {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.neo-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.neo-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  background: color-mix(in oklab, var(--surface) 92%, var(--bg-subtle));
  border-bottom: 1px solid var(--border-light);
}
.neo-topbar__left,
.neo-topbar__right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.neo-icon-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.neo-icon-btn:hover {
  color: var(--text-primary);
  background: var(--hover-bg);
}
.neo-icon-btn > svg {
  width: 1rem;
  height: 1rem;
}
.neo-workspace {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.neo-tenant-select-wrap {
  border: 1px solid var(--border-light);
  border-radius: 0.55rem;
  background: var(--surface);
  padding: 0 0.35rem;
}
.neo-tenant-select {
  height: 1.85rem;
  min-width: 7rem;
  font-size: 0.74rem;
  color: var(--text-primary);
}
.neo-env-pill {
  border: 1px solid color-mix(in oklab, #d97706 35%, var(--border-light));
  background: color-mix(in oklab, #f59e0b 16%, var(--surface));
  color: #b45309;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  text-transform: uppercase;
}
:root[data-theme="dark"] .neo-env-pill,
.dark .neo-env-pill {
  color: #fbbf24;
}
.neo-search-chip {
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.33rem 0.7rem;
  color: var(--text-secondary);
  font-size: 0.74rem;
}
.neo-user-badge {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.neo-main__content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}
.neo-main__inner {
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}
.neo-anon-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(
      circle at 16% 12%,
      color-mix(in oklab, var(--primary) 8%, var(--bg-subtle)) 0%,
      var(--bg-subtle) 38%
    )
    fixed;
}
.neo-anon-main {
  flex: 1;
}
@media (max-width: 1024px) {
  .neo-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    transform: translate(-100%);
    transition: transform 0.22s ease;
    box-shadow: 0 22px 48px color-mix(in oklab, var(--text-primary) 18%, transparent);
  }
  body.neo-sidebar-open .neo-sidebar {
    transform: translate(0);
  }
  .neo-workspace,
  .neo-env-pill {
    display: none;
  }
}
.hamburger-line-top,
.hamburger-line-mid,
.hamburger-line-bot {
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  transform-origin: center;
}
#sidebarToggle[aria-expanded="false"] .hamburger-line-top {
  transform: translateY(6px) rotate(45deg);
}
#sidebarToggle[aria-expanded="false"] .hamburger-line-mid {
  opacity: 0;
  transform: scaleX(0);
}
#sidebarToggle[aria-expanded="false"] .hamburger-line-bot {
  transform: translateY(-6px) rotate(-45deg);
}
#sidebarToggle .toggle-arrow-open {
  display: block;
}
#sidebarToggle .toggle-arrow-closed,
#sidebarToggle[aria-expanded="true"] .toggle-arrow-open {
  display: none;
}
#sidebarToggle[aria-expanded="true"] .toggle-arrow-closed {
  display: block;
}
.theme-button {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.theme-button:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.theme-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 30%, transparent);
}
.theme-button svg {
  width: 1.05rem;
  height: 1.05rem;
}
.neo-select {
  position: relative;
  display: inline-block;
}
.neo-select--full {
  display: block;
  width: 100%;
}
.neo-select__btn {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid var(--border-light);
  border-radius: 0.85rem;
  background: var(--surface);
  color: var(--text-primary);
  padding: 0.42rem 0.6rem;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.neo-select--full .neo-select__btn {
  width: 100%;
}
.neo-select--compact .neo-select__btn {
  padding: 0.42rem 0.55rem;
}
.neo-select__btn:hover {
  background: var(--hover-bg);
}
.neo-select__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 30%, transparent);
}
.neo-select__left {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.neo-select__right {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.neo-select__icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.85;
}
.neo-select__label {
  font-size: 0.85rem;
  line-height: 1.1rem;
  color: var(--text-secondary);
}
.neo-select__value {
  font-size: 0.85rem;
  line-height: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.neo-select__chev {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}
.neo-select__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 11.5rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 0.95rem;
  padding: 0.35rem;
  box-shadow: 0 20px 55px #00000024;
  z-index: 70;
}
.neo-select__option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.1rem;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  text-align: left;
}
.neo-select__option:hover {
  background: var(--hover-bg);
}
.neo-select__option[aria-checked="true"] {
  background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  font-weight: 600;
}
.neo-select__check {
  width: 1rem;
  height: 1rem;
  opacity: 0;
}
.neo-select__option[aria-checked="true"] .neo-select__check {
  opacity: 1;
}
.app-header {
  background: var(--primary-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.app-header .app-icon-btn {
  color: #fff;
  border-color: #ffffff47;
  background: #ffffff14;
}
.app-header .app-icon-btn:hover {
  color: #fff;
  background: #ffffff26;
}
.app-header .app-header__divider {
  width: 1px;
  height: 20px;
  background: #ffffff3d;
}
.app-header .text-secondary,
.app-header .text-primary,
.app-header .app-header__left a {
  color: #fffffff2;
}
.app-header .app-header__left a:hover {
  color: #fff;
}
.app-user-btn {
  background: #ffffff24;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
}
.app-user-btn:hover {
  background: #ffffff38;
}
.app-search {
  height: 2.25rem;
  min-width: 14rem;
  max-width: 18rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #ffffff1a;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.7rem;
}
.app-search svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #ffffffd6;
  flex-shrink: 0;
}
.app-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.1rem;
  outline: none;
}
.app-search input::placeholder {
  color: #ffffffb8;
}
#appUserDropdown {
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}
#appUserDropdown a,
#appUserDropdown p,
#appUserDropdown .text-primary {
  color: var(--text-primary);
}
#appUserDropdown .text-secondary {
  color: var(--text-secondary);
}
#appUserDropdown a:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.app-shell-main {
  min-height: 100vh;
}
.bg-accent-subtle {
  background: var(--hover-bg) !important;
  background: color-mix(in oklab, var(--primary, #1e2c47) 12%, var(--surface, #ffffff)) !important;
}
.text-accent {
  color: var(--text-primary, #172b4d) !important;
  color: color-mix(in oklab, var(--primary, #1e2c47) 45%, var(--text-primary, #172b4d)) !important;
  font-weight: 600;
}
.rui-admin {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-subtle);
}
.rui-admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px #0000000a;
  flex-shrink: 0;
}
.rui-admin-topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.rui-admin-topbar__brand svg {
  color: var(--primary);
  flex-shrink: 0;
  opacity: 0.9;
}
.rui-admin-topbar__fill {
  flex: 1;
}
.rui-admin-topbar__nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.4375rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.1s,
    color 0.1s;
}
.rui-admin-topbar__nav-toggle:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.rui-admin-topbar__user-wrap {
  position: relative;
  flex-shrink: 0;
}
.rui-admin-topbar__user-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-light);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
  box-shadow: 0 1px 4px #0000000f;
}
.rui-admin-topbar__user-btn:hover {
  border-color: color-mix(in oklab, var(--primary) 35%, var(--border-light));
  box-shadow: 0 2px 8px #0000001a;
}
.rui-admin-topbar__user-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rui-admin-topbar__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 14rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  box-shadow:
    0 8px 24px #0000001a,
    0 2px 6px #0000000f;
  z-index: 50;
}
.rui-admin-topbar__dropdown.hidden {
  display: none;
}
.rui-admin-topbar__dropdown-header {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.rui-admin-topbar__dropdown-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rui-admin-topbar__dropdown-email {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rui-admin-topbar__dropdown-theme {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.rui-admin-topbar__dropdown-menu {
  padding: 0.375rem;
}
.rui-admin-topbar__dropdown-item {
  display: block;
  border-radius: 0.5rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition:
    background 0.1s,
    color 0.1s;
}
.rui-admin-topbar__dropdown-item:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.rui-admin-topbar__dropdown-divider {
  border-top: 1px solid var(--border-light);
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}
.rui-admin-tabs {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  scrollbar-width: none;
  flex-shrink: 0;
}
.rui-admin-tabs::-webkit-scrollbar {
  display: none;
}
@media (width>=64rem) {
  .rui-admin-tabs {
    display: none;
  }
}
.rui-admin-tab {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3125rem 0.75rem;
  text-decoration: none;
  transition:
    border-color 0.12s,
    color 0.12s,
    background 0.12s;
}
.rui-admin-tab:hover {
  border-color: color-mix(in oklab, var(--primary) 35%, var(--border-light));
  color: var(--text-primary);
}
.rui-admin-tab.is-active {
  border-color: transparent;
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
  font-weight: 600;
}
.rui-admin-layout {
  flex: 1;
  display: flex;
  min-height: 0;
  align-items: stretch;
}
.rui-sidenav {
  width: 14.5rem;
  flex-shrink: 0;
  display: none;
  position: sticky;
  top: 3rem;
  height: calc(100dvh - 3rem);
  overflow-y: auto;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--surface) 92%, white 8%),
    color-mix(in oklab, var(--surface-muted) 84%, white 16%)
  );
  border-right: 1px solid color-mix(in oklab, var(--border-light) 80%, var(--text-primary) 6%);
  padding: 0.85rem 0.65rem 1.25rem;
  scrollbar-width: thin;
}
@media (width>=64rem) {
  .rui-sidenav {
    display: flex;
    flex-direction: column;
  }
}
.rui-sidenav__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rui-sidenav__section {
  padding: 0.75rem 0 0.5rem;
}
.rui-sidenav__section + .rui-sidenav__section {
  border-top: 1px solid var(--border-light);
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}
.rui-sidenav__label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  padding: 0 0.5rem 0.375rem;
  margin: 0;
}
.rui-sidenav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.4375rem 0.5rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.12s,
    color 0.12s,
    transform 0.12s,
    box-shadow 0.12s;
}
.rui-sidenav__link:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
  transform: translate(2px);
}
.rui-sidenav__link.is-active {
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--primary);
}
.rui-sidenav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.6;
}
.rui-sidenav__link.is-active .rui-sidenav__icon,
.rui-sidenav__link:hover .rui-sidenav__icon {
  opacity: 1;
}
.rui-admin-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 0.9rem + 0.8vw, 1.6rem);
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--bg-subtle) 86%, white 14%),
    var(--bg-subtle) 24rem
  );
}
.rui-admin-content > * {
  width: 100%;
}
rui-crud,
rui-table,
rui-form,
rui-dashboard,
rui-chart {
  display: block;
}
rui-chart {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 12rem;
}
rui-chart > canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.focus-accent,
.focus-accent:focus,
.focus-accent:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--focus-ring);
}
.max-w-none {
  max-width: none;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.rui-crud {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}
@media (width>=40rem) {
  .rui-crud {
    padding-inline: 1.5rem;
  }
}
@media (width>=64rem) {
  .rui-crud {
    padding-inline: 2rem;
  }
}
.rui-crud--compact {
  padding-top: 0.5rem;
}
.rui-crud__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (width>=40rem) {
  .rui-crud__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.rui-crud__title-area {
  flex: 1;
  min-width: 0;
}
.rui-crud__title-area h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.015em;
}
.rui-crud__title-area > p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.rui-crud__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.rui-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--primary);
  padding: 0.125rem 0.75rem;
}
.rui-hint__icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
  width: 1rem;
  height: 1rem;
}
.rui-error {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding-block: 0.75rem;
  font-size: 0.875rem;
  color: var(--error-text);
}
.rui-error__icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
}
.rui-error__dev {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: ui-monospace, monospace;
  word-break: break-all;
}
.rui-results,
.rui-table-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (width>=40rem) {
  .rui-table-header {
    flex-direction: row;
    align-items: center;
  }
}
.rui-table-header__info {
  flex: 1;
  min-width: 0;
}
.rui-table-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.rui-table-meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.rui-table-header__create {
  flex-shrink: 0;
}
@media (width>=40rem) {
  .rui-table-header__create {
    margin-left: 4rem;
  }
}
.rui-table-flow {
  margin-top: 1.5rem;
}
.rui-table-overflow {
  margin-inline: -1rem;
  margin-block: -0.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
}
@media (width>=40rem) {
  .rui-table-overflow {
    margin-inline: -1.5rem;
  }
}
@media (width>=64rem) {
  .rui-table-overflow {
    margin-inline: -2rem;
  }
}
.rui-table-inner {
  display: inline-block;
  min-width: 100%;
  padding-block: 0.5rem;
  vertical-align: middle;
}
@media (width>=40rem) {
  .rui-table-inner {
    padding-inline: 1.5rem;
  }
}
@media (width>=64rem) {
  .rui-table-inner {
    padding-inline: 2rem;
  }
}
.rui-table-box {
  overflow: hidden;
  box-shadow:
    0 1px 4px #0000000f,
    0 4px 12px #0000000a;
  border: 1px solid var(--border-light);
}
@media (width>=40rem) {
  .rui-table-box {
    border-radius: 0.75rem;
  }
}
.rui-data-table {
  position: relative;
  min-width: 100%;
  border-collapse: collapse;
}
.rui-data-table thead {
  background: color-mix(in oklab, var(--surface-muted) 80%, var(--bg-subtle));
  border-bottom: 1px solid var(--border-light);
}
.rui-data-table tbody {
  background: var(--surface);
}
.rui-data-table tbody tr + tr {
  border-top: 1px solid color-mix(in oklab, var(--border-light) 60%, transparent);
}
.rui-data-table tbody tr:nth-child(2n) {
  background: color-mix(in oklab, var(--bg-subtle) 30%, var(--surface));
}
.rui-th {
  padding: 0.625rem 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.rui-th--audit {
  padding-left: 1rem;
  padding-right: 0.75rem;
}
@media (width>=40rem) {
  .rui-th--audit {
    padding-left: 1.5rem;
  }
}
.rui-th--actions {
  padding-right: 1rem;
  padding-left: 0.75rem;
}
@media (width>=40rem) {
  .rui-th--actions {
    padding-right: 1.5rem;
  }
}
.rui-td {
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.rui-td--audit {
  padding-left: 1rem;
  padding-right: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.875rem;
}
@media (width>=40rem) {
  .rui-td--audit {
    padding-left: 1.5rem;
  }
}
.rui-td--actions {
  padding-right: 1rem;
  padding-left: 0.75rem;
  text-align: right;
  font-weight: 500;
}
@media (width>=40rem) {
  .rui-td--actions {
    padding-right: 1.5rem;
  }
}
.rui-row {
  transition: background 0.1s;
}
.rui-row:hover {
  background: color-mix(in oklab, var(--surface) 80%, var(--bg-subtle));
}
.rui-row.is-clickable,
.rui-row[data-row-href] {
  cursor: pointer;
}
.rui-row:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--primary) 32%, transparent);
  background: color-mix(in oklab, var(--primary) 6%, var(--surface));
}
.rui-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  opacity: 1;
  transition: opacity 0.15s;
}
@media (width>=48rem) {
  .rui-row-actions {
    opacity: 0;
  }
  .rui-row:hover .rui-row-actions {
    opacity: 1;
  }
}
.rui-audit {
  position: relative;
}
.rui-audit__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.15s;
}
.rui-audit__summary::-webkit-details-marker {
  display: none;
}
.rui-audit__summary:hover {
  color: var(--primary);
}
.rui-audit__date {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
}
.rui-audit__icon {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0.5;
  flex-shrink: 0;
}
.rui-audit__popup {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.5rem;
  z-index: 50;
  width: 16rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 0.75rem;
  box-shadow:
    0 10px 25px #0000001a,
    0 0 0 1px var(--border-light);
  font-size: 0.75rem;
  display: grid;
  gap: 0.5rem;
}
.rui-audit__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.rui-audit__row span:first-child {
  color: var(--text-muted);
  flex-shrink: 0;
}
.rui-audit__row span:last-child {
  color: var(--text-primary);
  font-family: ui-monospace, monospace;
}
.rui-sorter {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: color 0.15s;
}
.rui-sorter:hover {
  color: var(--text-primary);
}
.rui-sort-handle {
  opacity: 0.3;
  transition: opacity 0.15s;
}
.rui-th:hover .rui-sort-handle,
.rui-row:hover .rui-sort-handle {
  opacity: 0.7;
}
.rui-th[aria-sort] .rui-sort-handle {
  opacity: 1;
  color: var(--primary);
}
.rui-col-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 20rem;
}
.rui-data-size {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
  background: var(--surface-muted);
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: var(--text-secondary);
}
.rui-table-footer {
  margin-top: 0.5rem;
}
.rui-not-found {
  border-radius: 0.5rem;
  background: var(--surface-muted);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.rui-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rui-form-fields > * + *,
.rui-fieldset > * + * {
  border-top: 1px solid var(--border-light);
}
.rui-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.rui-fieldset-row {
  width: 100%;
  max-width: 100%;
  padding-block: 1rem;
}
@media (width>=40rem) {
  .rui-fieldset-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
  }
}
.rui-fieldset-label {
  grid-column: span 3;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding-top: 0.5rem;
}
.rui-fieldset-disclosure {
  min-width: 0;
  margin: 0;
  border: 0;
}
.rui-fieldset-disclosure__summary {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.rui-fieldset-disclosure__summary::-webkit-details-marker {
  display: none;
}
.rui-fieldset-disclosure__summary svg {
  display: block;
  width: 1rem;
  height: 1rem;
  max-width: 1rem;
  max-height: 1rem;
  flex: 0 0 1rem;
  transition: transform 0.16s ease;
}
.rui-fieldset-disclosure[open] > .rui-fieldset-disclosure__summary svg {
  transform: rotate(180deg);
}
.rui-fieldset-disclosure__summary:hover {
  color: var(--primary);
}
.rui-fieldset-disclosure__summary:focus-visible {
  border-radius: 0.35rem;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.rui-fieldset-disclosure > .rui-fieldset {
  padding-bottom: 0.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .rui-fieldset-disclosure__summary svg {
    transition: none;
  }
}
.rui-form-hint-elem {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-block: 0.75rem;
}
.rui-form-field {
  padding-block: 0.75rem;
}
@media (width>=40rem) {
  .rui-form-field {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 1rem;
    padding-block: 1.5rem;
  }
  .rui-form-field--full > .rui-form-label,
  .rui-form-field--full > .rui-form-control {
    grid-column: 1 / -1;
  }
  .rui-form-field--full > .rui-form-label {
    padding-top: 0;
  }
  .rui-form-field--full > .rui-form-control {
    margin-top: 0.5rem;
  }
}
.rui-form-label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-primary);
}
@media (width>=40rem) {
  .rui-form-label {
    padding-top: 0.375rem;
  }
}
.rui-form-required {
  color: var(--error-text);
  margin-left: 0.125rem;
}
.rui-form-control {
  margin-top: 0.5rem;
}
@media (width>=40rem) {
  .rui-form-control {
    margin-top: 0;
  }
}
.rui-form-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.rui-form-range-sep {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.rui-form-hint {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.rui-input,
.rui-textarea {
  display: block;
  width: 100%;
  border-radius: 0.375rem;
  background: transparent;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: 1px solid var(--border-light);
  outline-offset: -1px;
  transition:
    outline-color 0.15s,
    outline-width 0.1s;
}
.rui-input::placeholder,
.rui-textarea::placeholder {
  color: var(--text-muted);
}
.rui-input:focus,
.rui-textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.rui-input[readonly],
.rui-textarea[readonly] {
  background: color-mix(in oklab, var(--surface-muted) 76%, var(--surface));
  color: var(--text-secondary);
}
.rui-input[readonly]:focus,
.rui-textarea[readonly]:focus {
  outline: 1px solid var(--border-light);
  outline-offset: -1px;
}
.rui-textarea {
  min-height: 8rem;
  resize: vertical;
}
.rui-select-wrap {
  display: grid;
  grid-template-columns: 1fr;
}
.rui-select {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  appearance: none;
  border-radius: 0.375rem;
  background: transparent;
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: 1px solid var(--border-light);
  outline-offset: -1px;
  transition:
    outline-color 0.15s,
    outline-width 0.1s;
}
.rui-select:focus {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.rui-select-chevron {
  grid-column: 1;
  grid-row: 1;
  pointer-events: none;
  align-self: center;
  justify-self: end;
  margin-right: 0.5rem;
  width: 1rem;
  height: 1rem;
  color: var(--text-muted);
}
.rui-checkbox {
  width: 1rem;
  height: 1rem;
  border-radius: 0.35rem;
  border: 1px solid var(--border-light);
  accent-color: var(--primary);
}
.rui-progress {
  display: block;
  width: 100%;
  height: 0.5rem;
  border-radius: 999px;
  overflow: hidden;
}
.rui-progress::-webkit-progress-bar {
  background: var(--surface-muted);
}
.rui-progress::-webkit-progress-value {
  background: var(--primary);
}
.rui-progress::-moz-progress-bar {
  background: var(--primary);
}
.rui-editor-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
}
.rui-details-summary {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
}
.rui-details-summary:hover {
  text-decoration: underline;
}
.rui-details-content {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.rui-image-field {
  display: grid;
  gap: 0.75rem;
}
.rui-image-preview {
  height: 6rem;
  width: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  background: var(--surface-muted);
  box-shadow: 0 1px 2px #0000000d;
}
.rui-file-field {
  position: relative;
}
.rui-file-input {
  width: 100%;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: 0.9rem;
  border: 1px dashed color-mix(in oklab, var(--border-light) 85%, var(--text-muted));
  background: color-mix(in oklab, var(--surface) 82%, var(--bg-subtle));
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}
.rui-file-input::file-selector-button {
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s;
}
.rui-file-input::file-selector-button:hover {
  background: color-mix(in oklab, var(--primary) 15%, var(--surface));
}
.rui-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 1;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: linear-gradient(180deg, transparent, var(--bg-subtle) 30%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}
.rui-form-actions button {
  cursor: pointer;
}
.rui-form.is-dirty .rui-form-actions {
  box-shadow: 0 -14px 24px #0f172a14;
}
.rui-form-cancel {
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.rui-form-cancel:hover {
  color: var(--text-primary);
}
.rui-edit-form {
  width: 100%;
  max-width: 78rem;
  margin-inline: auto;
}
.rui-edit-form--embedded {
  max-width: none;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.admin-edit-form.rui-form {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.admin-edit-form .rui-form-fields {
  display: block;
}
.admin-edit-form .rui-form-fields > * + *,
.admin-edit-form .rui-fieldset > * + * {
  border-top: 1px solid color-mix(in oklab, var(--border-light) 88%, var(--text-primary) 4%);
}
.admin-edit-form .rui-fieldset-row {
  padding: 1.15rem 0 0.45rem;
}
.admin-edit-form .rui-fieldset-label {
  padding-top: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.admin-edit-form .rui-form-field {
  padding: 0.95rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
@media (width>=56rem) {
  .admin-edit-form .rui-form-field {
    grid-template-columns: minmax(11.5rem, 14rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    padding: 0.95rem 0;
  }
}
.admin-edit-form .rui-form-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
@media (width>=56rem) {
  .admin-edit-form .rui-form-label {
    padding-top: 0.65rem;
  }
}
.admin-edit-form .rui-form-control {
  margin-top: 0.45rem;
}
@media (width>=56rem) {
  .admin-edit-form .rui-form-control {
    margin-top: 0;
  }
  .admin-edit-form .rui-form-field--full > .rui-form-label {
    padding-top: 0;
  }
  .admin-edit-form .rui-form-field--full > .rui-form-control {
    margin-top: 0.45rem;
  }
}
.admin-edit-form .rui-input,
.admin-edit-form .rui-textarea,
.admin-edit-form .rui-select {
  min-height: 2.65rem;
  border-radius: 0.8rem;
  background: var(--surface);
  padding: 0.62rem 0.85rem;
  outline-color: color-mix(in oklab, var(--border-light) 84%, var(--text-primary) 6%);
  box-shadow: none;
}
.admin-edit-form .rui-textarea {
  min-height: 9rem;
}
.admin-edit-form .rui-checkbox {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.58rem;
}
.admin-edit-form .rui-form-hint {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.5;
}
.kb-details-page__section--form .admin-edit-form .rui-fieldset > * + * {
  border-top: none;
}
.admin-edit-form .rui-form-actions {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: none;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--bg-subtle) 86%, white 14%),
    var(--bg-subtle) 24rem
  );
}
.admin-edit-form.rui-form.is-dirty .rui-form-actions {
  box-shadow: none;
}
.admin-new-group-form .rui-form-fields {
  display: block;
}
.admin-new-group-form .rui-form-fields > * + * {
  border-top: 1px solid color-mix(in oklab, var(--border-light) 88%, var(--text-primary) 4%);
}
.admin-new-group-form .rui-form-field {
  padding: 0.95rem 0;
  border: none;
}
@media (width>=56rem) {
  .admin-new-group-form .rui-form-field {
    display: grid;
    grid-template-columns: minmax(11.5rem, 14rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}
.admin-new-group-form .rui-form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}
.admin-new-group-form .rui-input,
.admin-new-group-form .rui-textarea {
  min-height: 2.65rem;
  border-color: color-mix(in oklab, var(--border-light) 86%, var(--text-primary) 6%);
  border-radius: 0.8rem;
}
.admin-new-group-form .rui-textarea {
  min-height: 7.5rem;
}
.admin-new-group-form__field--checkbox .rui-form-control {
  padding-top: 0.05rem;
}
.admin-new-group-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
}
.admin-new-group-form .rui-checkbox {
  width: 1.1rem;
  height: 1.1rem;
}
.admin-new-group-form__actions {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in oklab, var(--border-light) 88%, var(--text-primary) 4%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: transparent;
}
.admin-new-group-form__actions .rug-status:empty {
  display: none;
}
.rui-junction {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--border-light);
}
@media (width>=48rem) {
  .rui-junction {
    grid-template-columns: 1fr 2fr;
  }
}
.rui-junction__label {
  padding-inline: 1rem;
}
@media (width>=40rem) {
  .rui-junction__label {
    padding-inline: 0;
  }
}
.rui-junction__label h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.75;
}
.rui-junction__label p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.rui-page-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
@media (width>=40rem) {
  .rui-page-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.rui-page-header__info {
  flex: 1;
  min-width: 0;
}
.rui-page-title {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.015em;
}
.rui-page-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.rui-id-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  background: var(--bg-subtle);
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.rui-back-link {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  background: var(--surface);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 1px 2px #0000000a;
  outline: 1px solid var(--border-light);
  outline-offset: -1px;
  transition: background 0.15s;
}
.rui-back-link:hover {
  background: var(--surface-muted);
}
.rui-sections > * + * {
  border-top: 1px solid var(--border-light);
}
.rui-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  padding-block: 2.5rem;
}
@media (width>=48rem) {
  .rui-section {
    grid-template-columns: 1fr 2fr;
  }
}
.rui-section__label {
  padding-inline: 1rem;
}
@media (width>=40rem) {
  .rui-section__label {
    padding-inline: 0;
  }
}
.rui-section__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.75;
}
.rui-section__hint {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.rui-section__card {
  background: var(--surface);
  box-shadow: 0 1px 2px #0000000d;
  outline: 1px solid var(--border-light);
  outline-offset: -1px;
}
@media (width>=40rem) {
  .rui-section__card {
    border-radius: 0.75rem;
  }
}
.rui-section__card-inner {
  padding: 1rem;
}
@media (width>=40rem) {
  .rui-section__card-inner {
    padding: 2rem;
  }
}
.rui-paging {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
  align-items: center;
  background: transparent;
  padding-block: 0.25rem;
}
@media (width>=40rem) {
  .rui-paging {
    flex-direction: row;
    justify-content: space-between;
  }
}
.rui-paging__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.rui-paging__info .rui-paging__num {
  font-family: ui-monospace, monospace;
  color: var(--text-primary);
}
.rui-paging__size-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}
.rui-paging__size-select {
  height: 2rem;
  padding: 0 1.5rem 0 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  appearance: none;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.rui-paging__size-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--focus-ring);
  outline: none;
}
.rui-paging__pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.rui-paging__page-list {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (width>=40rem) {
  .rui-paging__page-list {
    display: flex;
  }
}
.rui-paging__mobile {
  display: flex;
  align-items: center;
  padding-inline: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
@media (width>=40rem) {
  .rui-paging__mobile {
    display: none;
  }
}
.rui-paging__sep {
  width: 1px;
  height: 1rem;
  background: var(--border-light);
  margin-inline: 0.5rem;
}
.rui-page-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition:
    background 0.15s,
    color 0.15s;
}
a.rui-page-btn:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.rui-page-btn--current {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 1px 3px #00000026;
}
.rui-page-btn--disabled {
  color: color-mix(in oklab, var(--text-muted) 78%, transparent);
  cursor: not-allowed;
  opacity: 0.5;
}
.rui-page-ellipsis {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  user-select: none;
}
.rui-create-btn,
.admin-create-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.15s;
}
.rui-create-btn:hover,
.admin-create-button:hover {
  background: var(--primary-light);
}
.rui-ghost-btn,
.admin-ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}
.rui-ghost-btn:hover,
.admin-ghost-button:hover {
  border-color: color-mix(in oklab, var(--primary) 28%, var(--border-light));
  background: color-mix(in oklab, var(--surface) 55%, var(--bg-subtle));
  color: var(--text-primary);
}
.rui-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: 0 1px 2px #0000000d;
  transition:
    background 0.15s,
    color 0.15s;
}
.rui-action-btn:hover {
  background: var(--primary);
  color: #fff;
}
.rui-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  box-shadow: 0 1px 2px #0000000d;
  transition:
    background 0.15s,
    color 0.15s;
}
.rui-btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.rui-btn-danger {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--error-text);
  background: color-mix(in oklab, var(--error-text) 5%, transparent);
  border: 1px solid color-mix(in oklab, var(--error-text) 30%, transparent);
  box-shadow: 0 1px 2px #0000000d;
  transition: background 0.15s;
}
.rui-btn-danger:hover {
  background: color-mix(in oklab, var(--error-text) 10%, transparent);
}
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.admin-toolbar__primary {
  flex: 1 1 20rem;
  min-width: 0;
}
.admin-toolbar__user {
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.admin-toolbar__search-form {
  position: relative;
  width: 100%;
  max-width: 30rem;
}
@media (max-width: 48rem) {
  .admin-toolbar__search-form {
    max-width: none;
  }
}
.admin-toolbar__search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--text-muted);
}
.admin-toolbar__search-input {
  padding-left: 2.5rem;
  box-shadow: 0 1px 2px #0f172a0a;
}
.admin-toolbar__secondary {
  flex: 1 1 100%;
}
.admin-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.admin-filter-pills__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.admin-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: color-mix(in oklab, var(--surface) 72%, var(--bg-subtle));
  padding: 0.35rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-primary);
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}
.admin-filter-pill:hover {
  border-color: color-mix(in oklab, var(--primary) 28%, var(--border-light));
  color: var(--primary);
}
.admin-filter-pill__label {
  color: var(--text-muted);
}
.admin-filter-pills__clear {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.2rem;
}
.admin-filter-pills__clear:hover {
  color: var(--primary);
}
.admin-filters-panel__summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.7rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.admin-filters-panel__summary:hover {
  color: var(--text-primary);
}
.admin-filters-panel__summary > svg {
  transition: transform 0.2s;
}
details[open] .admin-filters-panel__summary > svg {
  transform: rotate(90deg);
}
.admin-filters-panel__body {
  margin-top: 0.5rem;
}
.rui-filter-form {
  display: grid;
  gap: 1.5rem;
}
.rui-filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (width>=48rem) {
  .rui-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width>=64rem) {
  .rui-filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.admin-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}
.admin-empty-state {
  border-radius: 1.25rem;
  border: 1px dashed color-mix(in oklab, var(--border-light) 88%, var(--text-muted));
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--surface) 84%, var(--bg-subtle)),
    var(--surface)
  );
  padding: 3rem 1.5rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}
.admin-empty-state__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklab, var(--primary) 8%, var(--surface));
  color: var(--primary);
}
.admin-empty-state__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.admin-empty-state__text {
  max-width: 42ch;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.admin-pagination {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  box-shadow: 0 12px 28px #172b4d14;
  align-items: center;
}
@media (width>=48rem) {
  .admin-pagination {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.admin-pagination-summary {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.admin-pagination-pages {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.admin-pagination-button,
.admin-pagination-current input {
  border-radius: 0.65rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  min-width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.admin-pagination-button {
  cursor: pointer;
}
.admin-pagination-button:hover,
.admin-pagination-current input:focus {
  border-color: var(--primary);
  color: var(--text-primary);
  outline: none;
  box-shadow: 0 0 0 2px var(--focus-ring);
}
.admin-pagination-button--nav {
  background: var(--primary-subtle);
  color: var(--primary);
}
.admin-pagination-button--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--surface-muted);
}
.admin-pagination-ellipsis {
  padding: 0 0.25rem;
  color: var(--text-muted);
}
.admin-pagination-current {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.admin-pagination-input {
  width: 3.5rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.admin-pagination-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--focus-ring);
  outline: none;
}
.admin-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.admin-pagination-size {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-pagination-actions {
  display: inline-flex;
  gap: 0.5rem;
}
.admin-pagination-refresh,
.admin-pagination-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-secondary);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.admin-pagination-refresh:hover,
.admin-pagination-action:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.admin-table {
  display: block;
}
.admin-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.95rem 0.9rem;
  border-top: 1px solid var(--border-light);
  background: color-mix(in oklab, var(--surface) 78%, var(--bg-subtle));
}
@media (max-width: 48rem) {
  .admin-table-footer {
    padding: 0.8rem 0.85rem 0.9rem;
  }
}
.admin-table__row:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--primary) 32%, transparent);
  background: color-mix(in oklab, var(--primary) 6%, var(--surface));
}
.admin-edit-form-shell {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  box-shadow: 0 18px 42px #172b4d12;
  padding: clamp(1.1rem, 0.95rem + 0.5vw, 1.5rem);
}
.admin-edit-form-shell--embedded {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.admin-edit-form-shell input[readonly],
.admin-edit-form-shell textarea[readonly],
.admin-edit-form-shell select[readonly] {
  background: color-mix(in oklab, var(--surface-muted) 76%, var(--surface));
  color: var(--text-secondary);
  border-color: color-mix(in oklab, var(--border-light) 84%, var(--text-muted));
}
.admin-edit-form-shell input[readonly]:focus,
.admin-edit-form-shell textarea[readonly]:focus,
.admin-edit-form-shell select[readonly]:focus {
  box-shadow: none;
}
.admin-edit-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 1;
  padding-bottom: 0.25rem;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--bg-subtle) 0%, transparent),
    var(--bg-subtle) 30%
  );
}
.rui-form.is-dirty .admin-edit-form-actions {
  box-shadow: 0 -14px 24px #0f172a14;
}
.rui-charts {
  display: grid;
  gap: 1.5rem;
}
.rui-chart {
  padding-block: 0.5rem;
}
.rui-chart__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.rui-chart__bars {
  display: grid;
  gap: 0.75rem;
}
.rui-chart__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rui-chart__label {
  width: 6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}
.rui-chart__track {
  flex: 1;
  height: 2rem;
  border-radius: 0 0.5rem 0.5rem 0;
  background: var(--surface-muted);
  position: relative;
  overflow: hidden;
}
.rui-chart__bar {
  height: 100%;
  padding-inline: 0.75rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 1px 2px #0000001a;
  transition: opacity 0.15s;
}
.rui-chart__row:hover .rui-chart__bar {
  opacity: 0.9;
}
.rui-tile {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--surface);
  padding: 1rem;
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.2s;
}
.rui-tile:hover {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
  box-shadow: 0 8px 24px #00000014;
  transform: translateY(-2px);
}
.rui-tile__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  box-shadow: 0 1px 3px #00000026;
  z-index: 10;
}
.rui-tile__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding-top: 0.5rem;
}
.rui-tile__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition:
    transform 0.3s,
    background 0.3s;
}
.rui-tile__icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}
.rui-tile:hover .rui-tile__icon {
  transform: scale(1.1);
  background: color-mix(in oklab, var(--primary) 10%, var(--surface));
}
.rui-tile__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rui-tile:hover .rui-tile__label {
  color: var(--primary);
}
.ug-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.4rem;
  max-height: 17rem;
  overflow-y: auto;
  padding-right: 2px;
}
.ug-pick-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.55rem;
  border: 1.5px solid var(--border-light);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  transition:
    border-color 0.1s,
    background 0.1s;
  user-select: none;
  min-width: 0;
  position: relative;
}
.ug-pick-item:hover {
  background: var(--surface-muted);
  border-color: color-mix(in oklab, var(--primary) 25%, var(--border-light));
}
.ug-pick-item:has(input:checked) {
  border-color: color-mix(in oklab, var(--primary) 45%, transparent);
  background: color-mix(in oklab, var(--primary) 7%, var(--surface));
}
.ug-pick-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.ug-pick-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 12%, var(--surface-muted));
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}
.ug-pick-item:has(input:checked) .ug-pick-avatar {
  background: color-mix(in oklab, var(--primary) 18%, var(--surface));
}
.ug-pick-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.25;
}
.ug-pick-checkmark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.1s,
    border-color 0.1s;
}
.ug-pick-item:has(input:checked) .ug-pick-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}
.ug-pick-checkmark svg {
  display: none;
  width: 0.5rem;
  height: 0.5rem;
}
.ug-pick-item:has(input:checked) .ug-pick-checkmark svg {
  display: block;
}
.ug-pick-empty {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  grid-column: 1 / -1;
}
.ug-count-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 10%, var(--surface-muted));
  color: var(--primary);
  border: 1px solid color-mix(in oklab, var(--primary) 18%, var(--border-light));
  line-height: 1.4;
}
.ug-count-badge--all {
  background: color-mix(in oklab, #16a34a 8%, var(--surface-muted));
  color: #16a34a;
  border-color: color-mix(in oklab, #16a34a 20%, var(--border-light));
}
.ug-search {
  width: 100%;
  font-size: 0.83rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  border: 1.5px solid var(--border-light);
  background: var(--surface-muted);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
  margin-bottom: 0.6rem;
}
.ug-search:focus {
  border-color: var(--primary);
  background: var(--surface);
}
.ug-table__check {
  width: 2.25rem;
  text-align: center;
}
.ug-table__check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  accent-color: var(--primary);
}
.ug-crud table {
  font-size: 0.83rem;
}
.ug-crud thead {
  background: var(--surface-muted);
}
.ug-crud thead th {
  padding: 0.55rem 0.75rem !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-secondary) !important;
  border-bottom: 1px solid var(--border-light);
}
.ug-crud tbody td {
  padding: 0.55rem 0.75rem !important;
  color: var(--text-primary);
  vertical-align: middle;
}
.ug-crud tbody tr {
  transition: background 0.1s;
  cursor: pointer;
}
.ug-crud tbody tr:hover {
  background: color-mix(in oklab, var(--primary) 4%, var(--surface)) !important;
}
.ug-crud tbody tr.ug-table__row--checked,
.ug-crud tbody tr:has(input[data-select]:checked) {
  background: color-mix(in oklab, var(--primary) 7%, var(--surface));
}
.ug-crud tbody tr.ug-table__row--checked:hover,
.ug-crud tbody tr:has(input[data-select]:checked):hover {
  background: color-mix(in oklab, var(--primary) 10%, var(--surface)) !important;
}
.ug-crud .overflow-x-auto {
  border: 1px solid var(--border-light);
  border-radius: 0.6rem;
  background: var(--surface);
  overflow: hidden;
}
.admin-hero {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.2rem, 1.2rem + 0.8vw, 1.9rem);
  border: 1px solid color-mix(in oklab, var(--border-light) 78%, var(--text-primary) 8%);
  border-radius: 1.35rem;
  background:
    radial-gradient(
      circle at top right,
      color-mix(in oklab, var(--primary) 12%, transparent) 0,
      transparent 34%
    ),
    linear-gradient(
      145deg,
      color-mix(in oklab, var(--surface) 90%, white 10%),
      color-mix(in oklab, var(--surface-muted) 76%, white 24%)
    );
  box-shadow:
    0 18px 40px #0f172a0f,
    inset 0 1px #ffffff73;
  overflow: hidden;
}
.admin-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0 52%,
    rgba(255, 255, 255, 0.22) 70%,
    transparent 100%
  );
  pointer-events: none;
}
@media (width>=48rem) {
  .admin-hero {
    grid-template-columns: minmax(0, 1.35fr) auto;
    align-items: end;
    gap: 1.5rem 2rem;
  }
}
.admin-title {
  margin-top: 0.45rem;
  max-width: 13ch;
  font-size: clamp(1.55rem, 1.2rem + 1.35vw, 2.45rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.admin-subtitle {
  margin-top: 0.7rem;
  max-width: 60ch;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.62;
}
.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-start;
}
@media (max-width: 48rem) {
  .admin-hero-actions {
    width: 100%;
  }
}
.admin-create-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--text-primary) 88%, transparent);
  background: color-mix(in oklab, var(--text-primary) 92%, #111827 8%);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px #0f172a2e;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}
@media (max-width: 48rem) {
  .admin-create-button {
    width: 100%;
  }
}
.admin-create-button:hover {
  transform: translateY(-1px);
  background: color-mix(in oklab, var(--text-primary) 82%, var(--primary) 18%);
  box-shadow: 0 14px 30px #0f172a38;
}
.admin-hero-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  appearance: none;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border-light) 72%, var(--text-primary) 10%);
  padding: 0.7rem 1rem;
  background: #ffffffbd;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 700;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px #0f172a0f;
  backdrop-filter: blur(8px);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}
@media (max-width: 48rem) {
  .admin-hero-action {
    width: 100%;
  }
}
.admin-hero-action:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--primary) 42%, var(--border-light));
  background: #ffffffe6;
  color: var(--primary);
  box-shadow: 0 12px 22px #0f172a1a;
}
.admin-hero-action--primary {
  border-color: color-mix(in oklab, var(--text-primary) 88%, transparent);
  background: color-mix(in oklab, var(--text-primary) 92%, #111827 8%);
  color: #fff;
  box-shadow: 0 12px 26px #0f172a2e;
}
.admin-hero-action--primary:hover {
  background: color-mix(in oklab, var(--text-primary) 82%, var(--primary) 18%);
  color: #fff;
  border-color: transparent;
}
.admin-hero-action svg {
  color: inherit;
}
.admin-hero--details {
  gap: 1.35rem;
}
.admin-hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.admin-hero-stats {
  display: grid;
  gap: 0.6rem;
  width: 100%;
}
.admin-meta-card {
  min-width: 11rem;
  border: 1px solid color-mix(in oklab, var(--border-light) 72%, var(--text-primary) 8%);
  border-radius: 1rem;
  background: #ffffffa8;
  padding: 0.75rem 0.9rem;
  box-shadow: inset 0 1px #ffffff6b;
}
.admin-meta-label {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.admin-meta-value {
  margin: 0.28rem 0 0;
  font-size: 0.96rem;
  line-height: 1.3;
  color: var(--text-primary);
  font-weight: 700;
  word-break: break-word;
}
.admin-hero-action--secondary {
  background: #ffffff8a;
  color: var(--text-secondary);
}
.admin-hero-action--secondary:hover {
  border-color: color-mix(in oklab, var(--primary) 42%, var(--border-light));
  color: var(--primary);
}
@media (width>=48rem) {
  .admin-hero--details {
    align-items: start;
  }
  .admin-hero-meta {
    align-items: flex-end;
    margin-left: auto;
  }
  .admin-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.admin-section-card {
  background: linear-gradient(
    180deg,
    #fffffff0,
    color-mix(in oklab, var(--surface) 90%, white 10%)
  );
  border: 1px solid color-mix(in oklab, var(--border-light) 78%, var(--text-primary) 6%);
  border-radius: 1.25rem;
  padding: 1.35rem 1.45rem;
  box-shadow:
    0 16px 36px #0f172a0f,
    inset 0 1px #ffffff61;
}
.admin-page-stack {
  display: grid;
  gap: 1.75rem;
  width: min(100%, 88rem);
  margin-inline: auto;
}
.admin-page-stack--index {
  gap: 0.65rem;
}
.admin-page-stack--details {
  gap: 1rem;
}
.admin-detail-block {
  display: grid;
  gap: 0.85rem;
}
.admin-detail-block + .admin-detail-block {
  padding-top: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--border-light) 88%, var(--text-primary) 4%);
}
.admin-detail-block + .admin-detail-block.admin-detail-block--no-divider {
  padding-top: 0;
  border-top: 0;
}
.admin-detail-block__head {
  display: grid;
  gap: 0.2rem;
}
.admin-detail-header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "back actions" "copy copy";
  align-items: start;
  gap: 0.55rem 1rem;
  padding: 0 0 0.75rem;
}
@media (width>=48rem) {
  .admin-detail-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "back copy actions";
    gap: 0.75rem 1rem;
  }
}
.admin-detail-header__back {
  grid-area: back;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: auto;
  padding: 0.15rem 0;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  text-decoration: none;
}
.admin-detail-header__back:hover {
  color: var(--text-primary);
}
.admin-detail-header__copy {
  grid-area: copy;
  min-width: 0;
}
.admin-detail-header__title {
  margin: 0;
  font-size: clamp(1.35rem, 1.18rem + 0.78vw, 1.9rem);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.admin-detail-header__subtitle {
  margin: 0.22rem 0 0;
  max-width: 62ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.admin-detail-header__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}
@media (width>=48rem) {
  .admin-detail-header__actions {
    justify-self: end;
  }
}
.admin-detail-header__actions .admin-hero-action,
.admin-detail-header__actions .admin-create-button {
  min-height: 2.2rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  box-shadow: none;
}
.admin-detail-header__actions .admin-hero-action,
.admin-detail-header__actions .admin-create-button,
.admin-detail-header__actions .rkr-btn {
  min-height: auto;
  padding: 0.15rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-secondary);
  box-shadow: none;
}
.admin-detail-header__actions .admin-hero-action:hover,
.admin-detail-header__actions .admin-create-button:hover,
.admin-detail-header__actions .rkr-btn:hover {
  background: transparent;
  color: var(--text-primary);
  box-shadow: none;
  transform: none;
}
.admin-detail-header__actions .rkr-btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.2rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, var(--border-light));
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: none;
}
.admin-detail-header__actions .rkr-btn--secondary:hover {
  border-color: color-mix(in oklab, var(--primary) 44%, var(--border-light));
  background: color-mix(in oklab, var(--primary) 16%, var(--surface));
  color: var(--primary);
}
.admin-section-card,
.rui-section__card {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.rui-section__card-inner {
  padding: 0;
}
.rui-section,
.rui-junction {
  display: grid;
  gap: 0.75rem;
}
.rui-junction + .rui-junction {
  padding-top: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--border-light) 88%, var(--text-primary) 4%);
}
.rui-junction__label h2,
.rui-section__title {
  margin: 0;
}
.rui-junction__label p,
.rui-section__hint {
  margin: 0.2rem 0 0;
  color: var(--text-secondary);
}
.rui-junction__control {
  min-width: 0;
}
.rui-sections > * + * {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in oklab, var(--border-light) 88%, var(--text-primary) 4%);
}
.admin-group-overview {
  display: grid;
  gap: 1rem;
  padding-block: 0.25rem 1rem;
}
.admin-group-overview__heading,
.admin-group-overview__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.admin-group-overview__state,
.admin-group-overview__footer > span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 1.85rem;
  padding-inline: 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: var(--rui-radius);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 650;
}
.admin-group-overview__state:before,
.admin-group-overview__footer > span:before {
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.42rem;
  border-radius: 50%;
  background: var(--text-muted);
  content: "";
}
.admin-group-overview__state[data-state="active"]:before,
.admin-group-overview__footer > span[data-state="saved"]:before {
  background: var(--success-text);
}
.admin-group-overview__state[data-state="inactive"] {
  color: var(--text-muted);
}
.admin-group-overview__footer > span[data-state="pending"] {
  border-color: color-mix(in oklab, var(--warning-text) 36%, var(--border-light));
  color: var(--warning-text);
}
.admin-group-overview__footer > span[data-state="pending"]:before {
  background: var(--warning-text);
}
.admin-group-overview__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--border-light);
}
.admin-group-overview__row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.38fr) minmax(0, 1fr);
  gap: 0.2rem 1rem;
  min-width: 0;
  padding: 0.9rem 1rem;
}
.admin-group-overview__row:nth-child(2n) {
  border-left: 1px solid var(--border-light);
}
.admin-group-overview__row:nth-child(n + 3) {
  border-top: 1px solid var(--border-light);
}
.admin-group-overview__row dt {
  grid-row: span 2;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
}
.admin-group-overview__row dd {
  min-width: 0;
  margin: 0;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.admin-group-overview__row > span {
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.4;
}
.admin-group-overview__footer {
  align-items: center;
}
.admin-group-overview__footer > div {
  max-width: 72ch;
}
.admin-group-overview__footer strong {
  color: var(--text-primary);
  font-size: 0.78rem;
}
.admin-group-overview__footer p {
  margin: 0.18rem 0 0;
  color: var(--text-secondary);
  font-size: 0.76rem;
  line-height: 1.45;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .admin-group-overview__heading,
  .admin-group-overview__footer {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-group-overview__state,
  .admin-group-overview__footer > span {
    align-self: flex-start;
  }
  .admin-group-overview__rows {
    grid-template-columns: 1fr;
  }
  .admin-group-overview__row:nth-child(2n) {
    border-left: 0;
  }
  .admin-group-overview__row + .admin-group-overview__row {
    border-top: 1px solid var(--border-light);
  }
}
.admin-group-policy {
  display: grid;
  gap: 1.25rem;
}
.admin-group-policy__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.admin-group-policy__state {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 2rem;
  padding-inline: 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: var(--rui-radius);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 650;
}
.admin-group-policy__state:before {
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: var(--text-muted);
  content: "";
}
.admin-group-policy__state[data-state="enabled"]:before {
  background: var(--success-text);
}
.admin-group-policy__model {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--border-light);
}
.admin-group-policy__model-step {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 1rem 1.1rem;
}
.admin-group-policy__model-step + .admin-group-policy__model-step {
  border-left: 1px solid var(--border-light);
}
.admin-group-policy__model-index {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
}
.admin-group-policy__model-step--result .admin-group-policy__model-index {
  border-color: color-mix(in oklab, var(--primary) 34%, var(--border-light));
  color: var(--primary);
}
.admin-group-policy__model-step strong,
.admin-group-policy__column h3 {
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 700;
}
.admin-group-policy__model-step p,
.admin-group-policy__column-head p {
  margin: 0.28rem 0 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.admin-group-policy__control {
  display: block;
}
.admin-group-policy__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border-light);
  border-radius: var(--rui-radius-lg);
  overflow: hidden;
}
.admin-group-policy__column {
  min-width: 0;
  padding: 1rem;
}
.admin-group-policy__column + .admin-group-policy__column {
  border-left: 1px solid var(--border-light);
}
.admin-group-policy__column-head {
  min-height: 4.15rem;
  margin-bottom: 0.8rem;
}
.admin-group-policy__column h3 {
  margin: 0;
}
.admin-group-policy__column rui-multiselect {
  display: block;
}
.admin-group-policy__column rui-multiselect .kb-table-search {
  min-height: 2.65rem;
  border: 1px solid var(--border-light);
  border-radius: var(--rui-radius);
  background: var(--surface);
}
.admin-group-policy__column rui-multiselect .ug-crud {
  max-height: 19rem;
  overflow: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--rui-radius);
}
.admin-group-policy__column rui-multiselect table {
  width: 100%;
  border-collapse: collapse;
}
.admin-group-policy__column rui-multiselect thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
}
.admin-group-policy__column rui-multiselect tbody tr + tr td {
  border-top: 1px solid color-mix(in oklab, var(--border-light) 82%, transparent);
}
.admin-group-policy__column rui-multiselect .ug-table__row--checked,
.admin-group-policy__column rui-multiselect tbody tr:hover {
  background: var(--hover-bg);
}
.admin-group-policy__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}
.admin-group-policy__summary,
.admin-group-policy__status {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}
.admin-group-policy__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}
.admin-group-policy__status[data-state="success"] {
  color: var(--success-text);
}
.admin-group-policy__status[data-state="error"] {
  color: var(--error-text);
}
.admin-group-policy__status[data-state="pending"] {
  color: var(--text-secondary);
}
@media (max-width: 860px) {
  .admin-group-policy__heading,
  .admin-group-policy__footer {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-group-policy__state {
    align-self: flex-start;
  }
  .admin-group-policy__model,
  .admin-group-policy__columns {
    grid-template-columns: 1fr;
  }
  .admin-group-policy__model-step + .admin-group-policy__model-step,
  .admin-group-policy__column + .admin-group-policy__column {
    border-top: 1px solid var(--border-light);
    border-left: 0;
  }
  .admin-group-policy__actions {
    align-items: stretch;
    flex-direction: column;
    margin-left: 0;
  }
}
.admin-user-groups-inline,
.admin-agent-kbs-inline {
  padding-top: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--border-light) 88%, var(--text-primary) 4%);
}
.admin-user-groups-inline__head,
.admin-agent-kbs-inline__head {
  margin-bottom: 0.75rem;
}
.admin-user-groups-inline__status {
  margin-top: 0.65rem;
}
.admin-user-groups-inline rui-multiselect,
.admin-agent-kbs-inline rui-multiselect {
  display: block;
}
.admin-user-groups-inline rui-multiselect .kb-table-bar,
.admin-agent-kbs-inline rui-multiselect .kb-table-bar {
  margin-bottom: 0.5rem;
}
.admin-user-groups-inline rui-multiselect .kb-table-search,
.admin-agent-kbs-inline rui-multiselect .kb-table-search {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid color-mix(in oklab, var(--border-light) 84%, var(--text-primary) 6%);
  border-radius: 0.8rem;
  padding: 0.62rem 0.85rem;
  background: var(--surface);
}
.admin-user-groups-inline rui-multiselect .ug-crud,
.admin-agent-kbs-inline rui-multiselect .ug-crud {
  max-height: 15rem;
  overflow: auto;
  border: 1px solid color-mix(in oklab, var(--border-light) 84%, var(--text-primary) 6%);
  border-radius: 0.8rem;
  background: var(--surface);
}
.admin-user-groups-inline rui-multiselect table,
.admin-agent-kbs-inline rui-multiselect table {
  width: 100%;
  border-collapse: collapse;
}
.admin-user-groups-inline rui-multiselect thead th,
.admin-agent-kbs-inline rui-multiselect thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
}
.admin-user-groups-inline rui-multiselect tbody tr + tr td,
.admin-agent-kbs-inline rui-multiselect tbody tr + tr td {
  border-top: 1px solid color-mix(in oklab, var(--border-light) 88%, var(--text-primary) 4%);
}
.admin-user-groups-inline rui-multiselect tbody td,
.admin-agent-kbs-inline rui-multiselect tbody td {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.admin-user-groups-inline rui-multiselect .ug-table__row--checked,
.admin-user-groups-inline rui-multiselect tbody tr:hover,
.admin-agent-kbs-inline rui-multiselect .ug-table__row--checked,
.admin-agent-kbs-inline rui-multiselect tbody tr:hover {
  background: color-mix(in oklab, var(--hover-bg) 86%, transparent);
}
.admin-user-groups-inline rui-multiselect .kb-table-count,
.admin-agent-kbs-inline rui-multiselect .kb-table-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.rui-multiselect__pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.65rem;
}
.rui-multiselect__pager-status {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.rui-multiselect__pager-btn {
  appearance: none;
  border: 1px solid color-mix(in oklab, var(--border-light) 84%, var(--text-primary) 6%);
  border-radius: 0.7rem;
  background: var(--surface);
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  color: var(--text-primary);
  cursor: pointer;
}
.rui-multiselect__pager-btn[disabled] {
  opacity: 0.45;
  cursor: default;
}
.admin-index-header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "back create" "copy copy";
  align-items: start;
  gap: 0.55rem 1rem;
  padding: 0 0 0.6rem;
  border-bottom: 1px solid color-mix(in oklab, var(--border-light) 86%, var(--text-primary) 4%);
}
@media (width>=48rem) {
  .admin-index-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "back copy create";
    gap: 0.75rem 1rem;
  }
}
.admin-index-header__copy {
  grid-area: copy;
  min-width: 0;
}
.admin-index-header__title {
  margin: 0;
  font-size: clamp(1.35rem, 1.18rem + 0.7vw, 1.8rem);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.admin-index-header__subtitle {
  margin: 0.2rem 0 0;
  max-width: 60ch;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.admin-index-header__back,
.admin-index-header__create {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  line-height: 1;
}
.admin-index-header__back {
  grid-area: back;
  justify-self: start;
  min-height: auto;
  padding: 0.15rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-secondary);
}
.admin-index-header__create {
  grid-area: create;
  justify-self: end;
}
.admin-index-header__back:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--text-primary);
}
.tu-header {
  display: grid;
  gap: 0.75rem 1.25rem;
  padding: 0 0 0.6rem;
  border-bottom: 1px solid color-mix(in oklab, var(--border-light) 86%, var(--text-primary) 4%);
}
@media (width>=64rem) {
  .tu-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}
.tu-header__copy {
  min-width: 0;
}
.tu-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: flex-start;
}
.tu-header__item {
  display: grid;
  gap: 0.12rem;
  min-width: 8rem;
}
.tu-header__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tu-header__value {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}
.admin-launch-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.admin-launch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  min-height: 13.5rem;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.admin-launch-card:after {
  content: "";
  position: absolute;
  inset: auto -8% -22% auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  filter: blur(6px);
  pointer-events: none;
}
.admin-launch-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--primary) 30%, var(--border-light));
  box-shadow: 0 18px 34px #0f172a1a;
}
.admin-launch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: color-mix(in oklab, var(--text-primary) 88%, var(--primary) 12%);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 14px 24px #0f172a29;
}
.admin-launch-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.admin-launch-copy {
  min-width: 0;
}
.doc-admin-hero {
  border: none;
  padding-bottom: 0;
}
.admin-section-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.admin-section-hint {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.58;
}
.admin-crud-stack {
  display: grid;
  gap: 1.4rem;
}
.admin-crud-stack--index {
  margin-top: 0;
}
:root {
  --rui-control-height: 2.25rem;
  --rui-radius: 0.55rem;
  --rui-radius-lg: 0.72rem;
}
.rui-admin {
  background: var(--surface);
}
.rui-admin-topbar {
  height: 3.5rem;
  padding-inline: 0.75rem;
  background: color-mix(in oklab, var(--surface) 96%, transparent);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(1.1);
}
.rui-admin-topbar__nav-toggle,
.rui-admin-topbar__user-btn {
  border-radius: var(--rui-radius);
  box-shadow: none;
}
.rui-admin-topbar__workspace-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.55rem;
  border-left: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.12s ease,
    background-color 0.12s ease;
}
.rui-admin-topbar__workspace-link:hover,
.rui-admin-topbar__workspace-link:focus-visible {
  border-radius: var(--rui-radius);
  background: var(--hover-bg);
  color: var(--text-primary);
}
@media (max-width: 35rem) {
  .rui-admin-topbar__workspace-link {
    width: 2rem;
    justify-content: center;
    padding-inline: 0;
    border-left: 0;
    font-size: 0;
  }
}
.rui-admin-topbar__user-btn {
  width: 2rem;
  height: 2rem;
}
.rui-admin-topbar__dropdown,
.rui-audit__popup {
  border-radius: var(--rui-radius-lg);
  box-shadow: 0 16px 42px color-mix(in oklab, #000 16%, transparent);
}
.rui-admin #primary-aside.rui-sidenav {
  top: 3.5rem;
  bottom: auto;
  left: auto;
  position: sticky;
  width: 14rem;
  height: calc(100dvh - 3.5rem);
  padding: 0.7rem 0.55rem 1rem;
  background: var(--surface);
  color: var(--text-secondary);
  border-right: 1px solid var(--border-light);
  transform: none;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 30;
}
.rui-sidenav-backdrop {
  display: none;
}
body.rui-admin-nav-lock,
body.rui-modal-open {
  overflow: hidden;
}
@media (max-width: 63.999rem) {
  .rui-admin #primary-aside.rui-sidenav {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 55;
    inset: 3.5rem auto 0 0;
    width: min(17.5rem, calc(100vw - 2rem));
    height: auto;
    transform: translate(calc(-100% - 1rem));
    visibility: hidden;
    pointer-events: none;
    overscroll-behavior: contain;
    box-shadow: 18px 0 42px color-mix(in oklab, #000 14%, transparent);
    transition:
      transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0.18s step-end;
  }
  .rui-admin.is-nav-open #primary-aside.rui-sidenav {
    transform: translate(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0s step-start;
  }
  .rui-sidenav-backdrop {
    display: block;
    position: fixed;
    z-index: 50;
    inset: 3.5rem 0 0;
    border: 0;
    background: color-mix(in oklab, #0f172a 34%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    backdrop-filter: blur(1.5px);
    transition:
      opacity 0.16s ease,
      visibility 0.16s step-end;
  }
  .rui-admin.is-nav-open .rui-sidenav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity 0.16s ease,
      visibility 0s step-start;
  }
}
@media (min-width: 64rem) {
  .rui-admin.is-nav-collapsed #primary-aside.rui-sidenav {
    display: none;
  }
}
.rui-sidenav__section + .rui-sidenav__section {
  border-top: 0;
  margin-top: 0.4rem;
}
.rui-sidenav__label {
  padding-inline: 0.55rem;
  color: var(--text-muted);
  font-size: 0.59rem;
  letter-spacing: 0.09em;
}
.rui-sidenav__link {
  min-height: 2.1rem;
  border-radius: var(--rui-radius);
  padding: 0.42rem 0.55rem;
  transition:
    background-color 0.12s ease,
    color 0.12s ease;
}
.rui-sidenav__link:hover {
  transform: none;
}
.rui-sidenav__link.is-active,
.rui-sidenav__link[aria-current="page"] {
  background: color-mix(in oklab, var(--primary) 9%, var(--surface));
  color: var(--text-primary);
  box-shadow: inset 2px 0 0 var(--primary);
  font-weight: 650;
}
.rui-sidenav__link.is-active .rui-sidenav__icon,
.rui-sidenav__link[aria-current="page"] .rui-sidenav__icon {
  color: var(--primary);
  opacity: 1;
}
.rui-admin-content {
  padding: clamp(1rem, 0.85rem + 0.7vw, 1.5rem);
  background: var(--bg-subtle);
}
.rui-table-flow {
  margin-top: 1rem;
}
.rui-table-box {
  border-radius: var(--rui-radius-lg);
  box-shadow: none;
}
.rui-data-table thead {
  background: color-mix(in oklab, var(--surface-muted) 72%, var(--surface));
}
.rui-data-table tbody tr:nth-child(2n) {
  background: var(--surface);
}
.rui-row:hover {
  background: var(--hover-bg);
}
.rui-th {
  padding-block: 0.58rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.045em;
}
.rui-td {
  padding-block: 0.68rem;
  font-size: 0.82rem;
}
.rui-form {
  gap: 0.75rem;
}
.rui-form-fields > * + *,
.rui-fieldset > * + * {
  border-top-color: color-mix(in oklab, var(--border-light) 72%, transparent);
}
.rui-form-control,
.admin-user-groups-inline rui-multiselect .kb-table-search,
.admin-agent-kbs-inline rui-multiselect .kb-table-search,
.admin-user-groups-inline rui-multiselect .ug-crud,
.admin-agent-kbs-inline rui-multiselect .ug-crud,
.rui-multiselect__pager-btn {
  border-radius: var(--rui-radius);
}
.admin-page-stack {
  width: min(100%, 84rem);
  gap: 1.25rem;
}
.admin-page-stack--index,
.admin-page-stack--details {
  gap: 0.85rem;
}
.admin-detail-header,
.admin-index-header,
.tu-header {
  border-bottom-color: color-mix(in oklab, var(--border-light) 68%, transparent);
}
.admin-detail-header__title,
.admin-index-header__title {
  font-weight: 720;
  letter-spacing: -0.025em;
}
.admin-detail-header__actions .admin-hero-action,
.admin-detail-header__actions .admin-create-button,
.admin-detail-header__actions .rkr-btn,
.admin-index-header__create {
  border-radius: var(--rui-radius);
}
.admin-launch-card {
  min-height: 11.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--rui-radius-lg);
  background: var(--surface);
  box-shadow: none;
}
.admin-launch-card:after {
  display: none;
}
.admin-launch-card:hover {
  border-color: color-mix(in oklab, var(--primary) 26%, var(--border-light));
  box-shadow: 0 8px 24px color-mix(in oklab, #000 7%, transparent);
  transform: translateY(-1px);
}
.admin-launch-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--rui-radius);
  box-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
  .rui-admin-content > * {
    animation: rui-content-enter 0.18s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rui-sidenav,
  .rui-sidenav-backdrop {
    transition: none;
  }
}
rui-modal-host .modal[role="dialog"]:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--primary) 62%, white);
  outline-offset: 2px;
}
.rui-modal-loading,
.rui-modal-error {
  min-height: 12.5rem;
  display: grid;
  place-items: center;
  padding: 3rem;
  text-align: center;
}
.rui-modal-loading__spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid color-mix(in oklab, var(--primary) 20%, var(--border-light));
  border-top-color: var(--primary);
  border-radius: 999px;
  animation: rui-modal-spin 0.7s linear infinite;
}
.rui-modal-error {
  color: var(--error-text);
  font-weight: 650;
}
@media (prefers-reduced-motion: reduce) {
  .rui-modal-loading__spinner {
    animation-duration: 1.4s;
  }
}
@keyframes rui-modal-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rui-content-enter {
  0% {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
:where(
  rui-chat-app,
  rui-conversation-library,
  rui-vault-app,
  rui-shards-app,
  rui-tenant-settings,
  rui-session-monitor,
  rui-document-imports,
  rui-document-volume,
  rui-grossmeister-admin,
  rui-user-group-management,
  rui-token-analytics,
  rui-bedrock-agent,
  rui-group-additions,
  rui-rich-editor
) {
  display: block;
  min-width: 0;
}
:root {
  color-scheme: light dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    sans-serif;
  --error-bg: #f5f6f8;
  --error-panel: rgba(255, 255, 255, 0.9);
  --error-border: rgba(15, 23, 42, 0.1);
  --error-text: #151923;
  --error-muted: #667085;
  --error-accent: #2563eb;
  --error-accent-strong: #1d4ed8;
}
* {
  box-sizing: border-box;
}
body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  color: var(--error-text);
  background: var(--error-bg);
}
.error-workspace {
  width: min(100% - 2rem, 42rem);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2rem 0;
}
.error-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}
.error-brand img {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
}
.error-brand span {
  display: grid;
  gap: 0.05rem;
}
.error-brand strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.error-brand small {
  color: var(--error-muted);
  font-size: 0.68rem;
}
.error-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--error-border);
  border-radius: 1.25rem;
  background: var(--error-panel);
  box-shadow: 0 1.25rem 4rem #0f172a14;
}
.error-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  border-radius: 0.85rem;
  color: #a16207;
  background: #f59e0b1c;
}
.error-mark svg {
  width: 1.45rem;
}
.error-card h1 {
  max-width: 30rem;
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.error-card > p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--error-muted);
  line-height: 1.65;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.error-action {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--error-border);
  border-radius: 0.7rem;
  color: inherit;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.error-action--primary {
  border-color: var(--error-accent);
  color: #fff;
  background: var(--error-accent);
}
.error-action:hover {
  border-color: color-mix(in srgb, var(--error-accent) 45%, var(--error-border));
}
.error-action--primary:hover {
  background: var(--error-accent-strong);
}
.error-action:focus-visible,
.error-brand:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--error-accent) 30%, transparent);
  outline-offset: 3px;
}
.error-foot {
  margin: 0;
  color: var(--error-muted);
  font-size: 0.7rem;
  text-align: center;
}
@media (prefers-color-scheme: dark) {
  :root {
    --error-bg: #0e1015;
    --error-panel: rgba(20, 23, 30, 0.96);
    --error-border: rgba(255, 255, 255, 0.09);
    --error-text: #f4f6f8;
    --error-muted: #a6adba;
    --error-accent: #93b1ff;
    --error-accent-strong: #c7d2fe;
  }
  .error-card {
    box-shadow: 0 1.25rem 4rem #0000004d;
  }
}
.landing body,
.landing * {
  font-family: Switzer, ui-sans-serif, system-ui, sans-serif;
}
.lp-gradient {
  background: #060a12;
}
@media (min-width: 640px) {
  .lp-gradient {
    background: #060a12;
  }
}
.lp-gradient-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 72rem;
  height: 40rem;
  transform: translate(-50%);
  background: radial-gradient(
    ellipse 50% 40% at 50% 35%,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 60%
  );
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}
.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: #2563eb;
  box-shadow:
    0 4px 6px -1px #00000038,
    0 2px 4px -2px #00000024;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}
.lp-btn-primary:hover {
  background: #1d4ed8;
}
.lp-btn-primary:disabled,
.lp-btn-primary[disabled] {
  background: #8b8b87;
  opacity: 0.4;
  cursor: not-allowed;
}
.lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #ffffff14;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}
.lp-btn-secondary:hover {
  background: #ffffff24;
}
.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px #0000000d;
  --tw-ring-color: rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: #111827;
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}
.lp-btn-outline:hover {
  background: #f7f7f4;
}
.lp-heading {
  text-overflow: pretty;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #111827;
}
@media (min-width: 640px) {
  .lp-heading {
    font-size: 3.75rem;
  }
}
[data-dark="true"] .lp-heading,
.lp-heading[data-dark="true"] {
  color: #fff;
}
.lp-subheading {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b68;
}
[data-dark="true"] .lp-subheading,
.lp-subheading[data-dark="true"] {
  color: #9d9d98;
}
.lp-lead {
  font-size: 1.5rem;
  font-weight: 500;
  color: #6b6b68;
}
.lp-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1px 2px #0000000d;
  --tw-ring-color: rgba(0, 0, 0, 0.05);
  outline: 1px solid var(--tw-ring-color);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.lp-bento-card:hover {
  box-shadow: 0 4px 12px #00000014;
  transform: translateY(-1px);
}
.lp-bento-card[data-dark="true"] {
  background: #1f2937;
  --tw-ring-color: rgba(255, 255, 255, 0.15);
}
.lp-testimonial-card {
  position: relative;
  flex: 0 0 18rem;
  display: flex;
  aspect-ratio: 9/16;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 1.5rem;
  scroll-snap-align: start;
  cursor: pointer;
}
@media (min-width: 640px) {
  .lp-testimonial-card {
    flex: 0 0 24rem;
    aspect-ratio: 3/4;
  }
}
@keyframes move-x {
  0% {
    transform: translate(var(--move-x-from));
  }
  to {
    transform: translate(var(--move-x-to));
  }
}
@keyframes lp-pulse-ring {
  0%,
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: var(--opacity);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: calc(var(--opacity) * 1.6);
  }
}
@keyframes lp-ring-pulse {
  0%,
  to {
    transform: scale(1);
    stroke-opacity: 0.15;
  }
  50% {
    transform: scale(1.08);
    stroke-opacity: 0.3;
  }
}
@keyframes lp-check-pulse {
  0%,
  to {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
@keyframes lp-marker-drop {
  0% {
    transform: scale(0.75) translateY(-20px);
    opacity: 0;
  }
  60% {
    transform: scale(1) translateY(4px);
    opacity: 1;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
@keyframes lp-logo-hover {
  0%,
  to {
    transform: translate(0) rotate(0);
  }
  50% {
    transform: translate(var(--hover-x, 0), var(--hover-y, 0)) rotate(var(--hover-rotate, 0deg));
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-testimonial-card,
  .lp-bento-card {
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.marketing-hero__copy h1,
.marketing-cta h2 {
  margin-top: 0;
}
.legacy-section {
  padding: 110px 0;
  color: var(--landing-ink);
}
.legacy-section--enterprise {
  border-top: 1px solid var(--landing-ledger-rule);
  background: var(--landing-worktable);
}
.legacy-section--platform {
  background: var(--landing-worktable-deep);
}
.legacy-section__intro h2 {
  max-width: 640px;
  font-family: Sora, sans-serif;
  font-size: clamp(2.4rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.legacy-section__intro > p {
  max-width: 580px;
  margin-top: 16px !important;
  color: var(--landing-secondary);
  font-size: 17px;
  line-height: 1.65;
}
.legacy-bento {
  display: grid;
  gap: 20px;
}
.legacy-bento--top {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  margin-top: 48px;
}
.legacy-bento--features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}
.legacy-card {
  min-width: 0;
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: var(--landing-raised);
  box-shadow: 0 1px 2px #18181b06;
}
.legacy-card--lead {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-color: #0e1017;
  background:
    radial-gradient(90% 80% at 88% -12%, rgba(255, 255, 255, 0.09), transparent 58%), #0e1017;
  color: var(--landing-on-dark);
  box-shadow: 0 12px 34px -26px #0e1017b8;
}
.legacy-card--soft {
  border-color: var(--landing-line);
  background: var(--landing-worktable-deep);
}
.legacy-card--horizontal {
  min-height: 154px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
}
.legacy-card--wide {
  grid-column: span 2;
}
.legacy-card__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffffff17;
  color: var(--landing-on-dark);
}
.legacy-card__icon--light {
  background: #18181b14;
  color: #1e2c47;
}
.legacy-card__icon--raised {
  background: #fff;
  color: #1e2c47;
  box-shadow: 0 2px 8px #14161c14;
}
.legacy-card__icon svg,
.legacy-source-row svg,
.legacy-records svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
.legacy-card h3 {
  margin-top: 24px !important;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.legacy-card--lead h3 {
  font-size: 23px;
  font-weight: 650;
}
.legacy-card--horizontal h3 {
  margin-top: 0 !important;
  font-size: 19px;
}
.legacy-card p:not(.legacy-card__badge) {
  margin-top: 10px !important;
  color: var(--landing-secondary);
  font-size: 14px;
  line-height: 1.62;
}
.legacy-card--lead p:not(.legacy-card__badge) {
  max-width: 500px;
  color: #a6a69f;
  font-size: 15px;
}
.legacy-card__badge {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px !important;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #c8c8c1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.legacy-card__badge > span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #57ad75;
}
.legacy-evidence {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: var(--landing-raised);
}
.legacy-evidence__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.legacy-evidence__copy h3 {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.legacy-evidence__copy > p {
  margin-top: 12px !important;
  color: var(--landing-secondary);
  font-size: 15px;
  line-height: 1.65;
}
.legacy-evidence__copy ul {
  margin-top: 24px !important;
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.legacy-evidence__copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #454548;
  font-size: 14px;
  font-weight: 650;
}
.legacy-evidence__copy li > span:first-child {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcefe1;
  color: #17753b;
  font-size: 10px;
  font-weight: 900;
}
.legacy-evidence__demo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px;
  border-left: 1px solid var(--landing-line-soft);
  background: var(--landing-worktable);
}
.legacy-chat-bubble {
  font-size: 14px;
  line-height: 1.55;
}
.legacy-chat-bubble--user {
  max-width: 75%;
  align-self: flex-end;
  padding: 12px 16px;
  border-radius: 14px 14px 4px;
  background: #1e2c47;
  color: #fff;
}
.legacy-chat-bubble--answer {
  max-width: 90%;
  align-self: flex-start;
  padding: 15px 17px;
  border: 1px solid var(--landing-line);
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  box-shadow: 0 10px 28px -14px #14161c29;
}
.legacy-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.legacy-source-row > span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: var(--landing-worktable);
  color: #454548;
  font-size: 11px;
}
.legacy-source-row svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}
.legacy-source-row b {
  font-weight: 750;
}
.legacy-source-row small {
  color: var(--landing-muted);
}
.legacy-support-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.legacy-support-card {
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: #fff;
}
.legacy-records {
  display: grid;
  gap: 10px;
  padding: 28px;
}
.legacy-records > div {
  min-width: 0;
  min-height: 56px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 12px;
  background: #f8f8f5;
  color: #454548;
}
.legacy-records--access > div {
  grid-template-columns: 30px minmax(0, 1fr) auto;
}
.legacy-records__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--landing-worktable-deep);
  color: #1e2c47;
}
.legacy-records svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}
.legacy-records b {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.legacy-records small {
  color: var(--landing-muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}
.legacy-records i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcefe1;
  color: #17753b;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.legacy-records i.is-pending {
  border: 5px solid var(--landing-worktable-deep);
  background: #1e2c47;
}
.legacy-records--access small {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--landing-worktable-deep);
  color: #1e2c47;
  font-weight: 700;
}
.legacy-records--access small.is-denied {
  background: #f7e2de;
  color: #a6402c;
}
.legacy-support-card__copy {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--landing-line-soft);
}
.legacy-support-card__copy h3 {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.legacy-support-card__copy p {
  margin-top: 8px !important;
  color: var(--landing-secondary);
  font-size: 14px;
  line-height: 1.62;
}
@media (max-width: 960px) {
  .legacy-section {
    padding: 88px 0;
  }
  .legacy-bento--features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legacy-evidence {
    grid-template-columns: minmax(0, 1fr);
  }
  .legacy-evidence__demo {
    min-height: 340px;
    border-top: 1px solid var(--landing-line-soft);
    border-left: 0;
  }
}
@media (max-width: 720px) {
  .legacy-section {
    padding: 72px 0;
  }
  .legacy-bento--top,
  .legacy-support-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .legacy-section__intro h2 {
    font-size: clamp(2.3rem, 9vw, 2.8rem);
  }
}
@media (max-width: 560px) {
  .legacy-bento--features {
    grid-template-columns: minmax(0, 1fr);
  }
  .legacy-card--wide {
    grid-column: auto;
  }
  .legacy-card,
  .legacy-card--horizontal {
    min-height: 0;
    padding: 24px;
  }
  .legacy-card--horizontal {
    display: grid;
  }
  .legacy-evidence__copy,
  .legacy-evidence__demo,
  .legacy-records {
    padding: 24px;
  }
  .legacy-evidence__demo {
    min-height: 300px;
  }
  .legacy-chat-bubble--user,
  .legacy-chat-bubble--answer {
    max-width: 96%;
  }
  .legacy-records > div,
  .legacy-records--access > div {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .legacy-records small,
  .legacy-records i {
    grid-column: 2;
    justify-self: start;
  }
}
.lp-hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.lp-hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.lp-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
.lp-table th {
  padding: 0;
}
.lp-table td {
  padding: 1rem 0;
}
.lp-animated-number {
  display: inline-block;
}
.lp-keyboard {
  position: relative;
  width: 100%;
  max-width: 50rem;
}
.lp-key {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: linear-gradient(to bottom, #f3f3f0, #e6e6e2);
  box-shadow:
    0 2px 0 1px #d2d2ce,
    inset 0 1px #ffffff80;
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: #3f3f42;
  min-width: 1.5rem;
  min-height: 1.5rem;
  text-align: center;
  transition:
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.lp-key--highlighted {
  background: linear-gradient(to bottom, #fef3c7, #f59e0b);
  box-shadow:
    0 2px 0 1px #b45309,
    inset 0 1px #ffffff80,
    0 0 8px #f59e0b66;
  color: #92400e;
}
.lp-key--wide {
  min-width: 3rem;
}
.lp-key--extra-wide {
  min-width: 6rem;
}
.lp-key--space {
  min-width: 14rem;
}
.lp-dot-texture {
  background-image: url(/landing/assets/images/landing/dot-texture.svg);
}
@font-face {
  font-family: Sora;
  src: url(/landing/assets/fonts/Sora-Regular.ttf) format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: Sora;
  src: url(/landing/assets/fonts/Sora-Medium.ttf) format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: Sora;
  src: url(/landing/assets/fonts/Sora-SemiBold.ttf) format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: Sora;
  src: url(/landing/assets/fonts/Sora-Bold.ttf) format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: Sora;
  src: url(/landing/assets/fonts/Sora-ExtraBold.ttf) format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: #0a0c12;
  overflow-x: clip;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  font-family: Sora, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: inline-block;
  max-width: 100%;
}
a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  color: #3f3f42;
}
::selection {
  background: #1e2c47;
  color: #fff;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ticker {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(-50%);
  }
}
@keyframes softPulse {
  0%,
  to {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
a,
button {
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}
a:active,
button:active {
  transform: scale(0.97);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
section div {
  transition: box-shadow 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 40px 20px 0 !important;
  }
  .hero-visual {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }
}
@media (max-width: 768px) {
  .nav {
    padding: 16px 20px !important;
  }
  .nav-links {
    display: none !important;
  }
  .hero-h {
    font-size: 32px !important;
  }
  .hero-cta {
    flex-wrap: wrap !important;
  }
  .span2 {
    grid-column: auto !important;
  }
  .pad {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .pv {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  .sec-h {
    font-size: 28px !important;
  }
  .cta-h {
    font-size: 30px !important;
  }
  .g1 {
    grid-template-columns: 1fr !important;
  }
  .gfoot {
    grid-template-columns: 1fr 1fr !important;
  }
}
.hoverable:hover {
  box-shadow: 0 20px 50px -20px #14161c2e;
}
.hoverable-strong:hover {
  box-shadow: 0 22px 55px -20px #14161c33;
}
.nav-link:hover {
  background: #14161c0d;
  color: #14161c;
}
.login-btn:hover,
.cta-primary:hover {
  background: #2b3f63;
}
.cta-secondary:hover {
  border-color: #14161c6b;
}
.cta-final:hover {
  background: #f1f1ed;
}
.login-btn,
.cta-primary,
.cta-secondary,
.cta-final {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-btn {
  min-height: 32px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn {
  min-height: 38px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}
.tab-btn[aria-pressed="true"] {
  box-shadow: 0 10px 28px -18px #18181bb8;
}
.hero-visual {
  position: relative;
}
.hero-visual:before {
  content: "";
  position: absolute;
  inset: 18px 22px auto;
  z-index: 0;
  height: 382px;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff9e, #ecece838);
  box-shadow: inset 0 1px #ffffffc7;
  transform: translateY(22px);
}
.card-stack {
  position: relative;
  z-index: 1;
  height: 452px;
  max-width: 530px;
  margin: 0 auto;
  animation: fadeUp 0.8s 0.2s ease both;
  perspective: 1500px;
  transform-style: preserve-3d;
}
.card-stack:before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  height: 32px;
  border-radius: 50%;
  background: #14161c2e;
  filter: blur(24px);
  transform: translateY(18px);
  pointer-events: none;
}
.card-face {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  overflow: hidden;
  transition:
    opacity 0.24s ease,
    filter 0.62s ease,
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.62s ease;
  will-change: transform;
  border-radius: 8px;
  padding: 28px 28px 76px;
  backface-visibility: hidden;
}
.card-face:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px #ffffff9e,
    inset 0 -1px #14161c0a;
}
.card-face.is-active {
  filter: saturate(1) contrast(1);
  box-shadow:
    0 2px 8px #14161c14,
    0 36px 92px -34px #14161c7a !important;
}
.card-face:not(.is-active) {
  filter: saturate(0.62) contrast(0.88) blur(0.2px);
}
.hero-card-light {
  color: #14161c;
}
.hero-card-dark:after {
  box-shadow:
    inset 0 1px #ffffff1f,
    inset 0 -1px #0000003d;
}
.hero-card-header {
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(20, 22, 28, 0.08);
}
.hero-card-dark .hero-card-header {
  border-bottom-color: #ffffff14;
}
.hero-card-icon {
  border-radius: 8px !important;
}
.hero-card-title {
  letter-spacing: -0.01em;
}
.hero-card-meta,
.hero-card-badge {
  white-space: nowrap;
}
.hero-card-metric {
  position: relative;
  z-index: 1;
}
.hero-card-metric-value {
  font-variant-numeric: tabular-nums;
}
.hero-card-subtle,
.hero-card-list {
  position: relative;
  z-index: 1;
}
.hero-card-footer {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(24, 24, 27, 0.1);
  border-radius: 8px;
  background: #f7f7f3;
  color: #5f5f63;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-card-footer-dark {
  border-color: #ffffff1a;
  background: #ffffff0f;
  color: #c8c8c1;
}
.hero-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f8f5b;
  box-shadow: 0 0 0 4px #2f8f5b1f;
  flex: 0 0 auto;
}
.budget-row,
.model-row,
.workflow-row {
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.hero-card-cost .budget-row {
  padding: 3px 0;
}
.hero-card-cost .budget-row:first-child {
  padding: 10px 12px 12px;
  margin: 0 -12px;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 8px;
  background: #f7f7f3;
}
.model-row {
  position: relative;
  border-radius: 8px;
}
.model-row:first-child {
  padding-right: 10px !important;
  padding-left: 10px !important;
  margin: 0 -10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #ffffff0d;
}
.workflow-row {
  border-radius: 8px;
}
.workflow-row:nth-child(3) {
  padding: 8px 10px;
  margin: -8px -10px 0;
  border: 1px solid rgba(24, 24, 27, 0.1);
  background: #f7f7f3;
}
.hero-card-tabs {
  position: relative;
  z-index: 2;
}
.marketing-page {
  isolation: isolate;
}
.marketing-page h1,
.marketing-page h2,
.marketing-page h3 {
  overflow-wrap: anywhere;
}
.marketing-page p {
  overflow-wrap: break-word;
}
#ticker span {
  min-height: 38px;
}
@media (max-width: 768px) {
  .marketing-page .nav {
    gap: 12px !important;
  }
  .marketing-page .nav > img {
    height: 30px !important;
    flex: 0 0 auto;
  }
  .marketing-page .nav > div {
    gap: 8px !important;
  }
  .marketing-page .login-btn {
    padding: 9px 18px !important;
  }
  .hero-grid {
    min-height: auto !important;
  }
  .hero-h {
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
  }
  .hero-visual:before {
    inset: 14px 12px auto;
    height: 324px;
    border-radius: 10px;
  }
  .card-stack {
    height: 398px !important;
    max-width: min(100%, 420px) !important;
    perspective: 1100px;
  }
  .card-stack:before {
    right: 12px;
    bottom: 8px;
    left: 12px;
    height: 24px;
  }
  .card-face {
    padding: 20px 20px 66px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }
  .hero-card-header {
    padding-bottom: 12px;
  }
  .hero-card-cost .budget-row:first-child {
    padding: 8px 10px 10px;
    margin: 0 -10px;
  }
  .workflow-row:nth-child(3) {
    padding: 7px 8px;
    margin: -7px -8px 0;
  }
  .hero-card-footer {
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }
  .card-face [data-t="wfTitle"],
  .card-face [data-t="modelsSub"] {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
  [data-t="qaQ"] {
    max-width: 100% !important;
  }
  .gfoot {
    gap: 24px !important;
  }
  .gfoot > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 420px) {
  .hero-h {
    font-size: 29px !important;
  }
  .hero-cta {
    gap: 10px !important;
  }
  .hero-cta a {
    flex: 1 1 145px;
    padding: 13px 18px !important;
  }
  .hero-visual:before {
    height: 312px;
  }
  .card-stack {
    height: 386px !important;
  }
  .card-face {
    padding: 18px 18px 62px !important;
  }
  .card-face [style*="font-size:32px"] {
    font-size: 28px !important;
  }
  .card-face [data-t="wfActive"] {
    display: none;
  }
  .hero-card-footer {
    font-size: 10.5px;
  }
  .tab-btn {
    padding: 7px 13px !important;
  }
}
.marketing-page {
  --landing-paper: #fdfdfb;
  --landing-raised: #ffffff;
  --landing-worktable: #f4f4f1;
  --landing-worktable-deep: #e9e9e5;
  --landing-line: #e2e2de;
  --landing-line-soft: #ecece8;
  --landing-ink: #18181b;
  --landing-secondary: #525252;
  --landing-muted: #686866;
  --landing-ledger-rule: rgba(24, 24, 27, 0.1);
  --landing-ledger-rule-strong: rgba(24, 24, 27, 0.16);
  --landing-blueprint: #182235;
  --landing-blueprint-deep: #111827;
  --landing-trace: var(--landing-blueprint);
  --landing-trace-dark: var(--landing-blueprint-deep);
  --landing-focus: var(--landing-blueprint);
  --landing-on-dark: #f4f4f1;
  --landing-on-dark-muted: #aaa9a3;
  --landing-approved: #187a3d;
  --landing-approved-soft: #e1f2e7;
  --landing-pending: #8a4b08;
  --landing-pending-soft: #fff0d6;
  --landing-radius-control: 6px;
  --landing-radius-surface: 8px;
  --landing-radius-frame: 12px;
  min-width: 320px;
  overflow: clip;
  background: var(--landing-worktable);
  color: var(--landing-ink);
  font-family:
    Nunito Sans,
    Sora,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.marketing-page *,
.marketing-page *:before,
.marketing-page *:after {
  box-sizing: border-box;
}
.marketing-page h1,
.marketing-page h2,
.marketing-page h3,
.marketing-page p,
.marketing-page figure,
.marketing-page ol,
.marketing-page ul {
  margin: 0;
}
.marketing-page h1,
.marketing-page h2 {
  font-family: Sora, sans-serif;
  text-wrap: balance;
}
.marketing-page h1,
.marketing-page h2,
.marketing-page h3 {
  color: inherit;
  overflow-wrap: normal;
}
.marketing-page p {
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.marketing-page section div {
  transition: none;
}
.marketing-page a {
  color: inherit;
  text-decoration: none;
}
.marketing-page a,
.marketing-page button {
  font: inherit;
  transition:
    background-color 0.18s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.18s cubic-bezier(0.23, 1, 0.32, 1),
    color 0.18s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.14s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}
.marketing-page a:focus-visible,
.marketing-page button:focus-visible,
.marketing-skip-link:focus-visible {
  outline: 3px solid var(--landing-focus, #182235);
  outline-offset: 3px;
}
.marketing-page :is(.marketing-cta, .marketing-footer) a:focus-visible,
.marketing-page :is(.marketing-cta, .marketing-footer) button:focus-visible {
  outline-color: var(--landing-on-dark);
}
.marketing-page a:active,
.marketing-page button:active {
  transform: scale(0.97);
}
.marketing-page img,
.marketing-page svg {
  display: block;
}
.marketing-shell {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}
.marketing-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.marketing-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 6px;
  background: var(--landing-paper);
  color: #182235;
  font:
    700 14px/1.5 Nunito Sans,
    sans-serif;
  box-shadow: 0 8px 28px #18181b2e;
  transform: translateY(-160%);
  transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}
.marketing-skip-link:focus {
  transform: translateY(0);
}
.marketing-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--landing-ledger-rule);
  background: var(--landing-paper);
  color: var(--landing-ink);
}
.marketing-nav {
  width: min(1280px, calc(100% - 64px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.marketing-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}
.marketing-brand__wordmark {
  width: 118px;
  height: auto;
}
.marketing-brand span {
  padding-left: 12px;
  border-left: 1px solid var(--landing-ledger-rule-strong);
  color: var(--landing-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}
.marketing-nav__links {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
  padding: 0;
  list-style: none;
}
.marketing-nav__links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--landing-secondary);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.marketing-nav__links a:after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: var(--landing-trace);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}
.marketing-nav__links a:hover,
.marketing-nav__links a:focus-visible {
  color: var(--landing-trace-dark);
}
.marketing-nav__links a:hover:after,
.marketing-nav__links a:focus-visible:after {
  transform: scaleX(1);
}
.marketing-nav__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.marketing-language {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.marketing-language button {
  min-width: 34px;
  min-height: 40px;
  padding: 0 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--landing-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.marketing-language button + button {
  border-left: 1px solid var(--landing-ledger-rule);
}
.marketing-language button[aria-pressed="true"] {
  background: transparent;
  color: var(--landing-blueprint);
  box-shadow: inset 0 -2px var(--landing-blueprint);
}
.marketing-language button:hover:not([aria-pressed="true"]) {
  background: #18181b0a;
  color: var(--landing-ink);
}
.marketing-login,
.marketing-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--landing-radius-control);
  font-size: 15px;
  font-weight: 750;
}
.marketing-page .marketing-login {
  min-height: 40px;
  padding: 0 10px;
  border-color: transparent;
  background: transparent;
  color: var(--landing-blueprint);
  font-size: 13px;
  white-space: nowrap;
  box-shadow: none;
}
.marketing-page .marketing-login:hover {
  border-color: var(--landing-ledger-rule);
  background: #18181b0a;
  color: var(--landing-ink);
  box-shadow: none;
}
.marketing-page .marketing-button--primary:hover {
  border-color: var(--landing-trace-dark);
  background: var(--landing-trace-dark);
  color: var(--landing-on-dark);
  box-shadow: 0 6px 18px #18181b2e;
}
.marketing-hero {
  position: relative;
  padding: 112px 0 88px;
  overflow: hidden;
  background: var(--landing-worktable);
  color: var(--landing-ink);
}
.marketing-hero__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 80px;
}
.marketing-hero__copy h1 {
  max-width: 600px;
  margin-top: 0;
  font-size: clamp(3.75rem, 5.4vw, 4.875rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.98;
}
.marketing-hero__lead {
  max-width: 560px;
  margin-top: 28px !important;
  color: var(--landing-secondary);
  font-size: 18px;
  line-height: 1.7;
}
.marketing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.marketing-button {
  padding: 0 24px;
}
.marketing-page .marketing-button--primary {
  border-color: var(--landing-blueprint);
  background: var(--landing-blueprint);
  color: var(--landing-on-dark);
  box-shadow:
    0 1px 2px #18181b24,
    0 8px 24px #18181b1f;
}
.marketing-hero__link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  color: var(--landing-secondary);
  font-size: 15px;
  font-weight: 750;
}
.marketing-hero__link span:last-child {
  color: var(--landing-trace);
  font-size: 18px;
  transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}
.marketing-hero__link:hover {
  color: var(--landing-trace-dark);
}
.marketing-hero__link:hover span:last-child {
  transform: translateY(3px);
}
.hero-exchange {
  position: relative;
  min-width: 0;
  isolation: isolate;
}
.hero-exchange:before {
  position: absolute;
  z-index: 0;
  inset: 12% 4% 8%;
  border-radius: 50%;
  background: #18181b24;
  content: "";
  filter: blur(64px);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.72);
  animation: hero-exchange-aura-in 1.4s 0.12s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.hero-exchange__visual {
  position: relative;
  z-index: 1;
  min-height: 460px;
  display: grid;
  align-items: center;
  padding: 24px 0;
  overflow: visible;
  background: transparent;
}
.hero-exchange__motion-toggle {
  position: absolute;
  right: 10px;
  bottom: -14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--landing-ledger-rule-strong);
  border-radius: 50%;
  background: #fdfdfbdb;
  color: var(--landing-secondary);
  box-shadow: 0 3px 12px #18181b14;
  cursor: pointer;
}
.hero-exchange__motion-toggle:hover {
  border-color: var(--landing-blueprint);
  background: var(--landing-paper);
  color: var(--landing-blueprint);
}
.hero-exchange__motion-toggle[hidden] {
  display: none;
}
.hero-exchange__motion-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.hero-exchange__motion-toggle .hero-exchange__play-icon,
.hero-exchange__motion-toggle.is-paused .hero-exchange__pause-icon {
  display: none;
}
.hero-exchange__motion-toggle.is-paused .hero-exchange__play-icon {
  display: block;
}
@keyframes hero-exchange-aura-in {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 0.86;
    transform: scale(1);
  }
}
.hero-product-chat {
  width: min(640px, 100%);
  min-width: 0;
  display: grid;
  justify-self: center;
  gap: 16px;
}
.hero-product-chat__thread {
  height: 380px;
  display: block;
  padding: 0 8px;
  overflow: hidden;
  overflow-anchor: none;
  scroll-behavior: auto;
  scrollbar-width: none;
}
.hero-product-chat__thread::-webkit-scrollbar {
  display: none;
}
.hero-product-chat__conversation {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 4px;
}
.hero-product-chat__greeting {
  min-height: 372px;
  display: flex;
  flex: 0 0 372px;
  align-items: flex-end;
  justify-content: center;
  margin: 0 !important;
  padding: 0 0 22px;
  color: var(--landing-blueprint);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-align: center;
}
.hero-product-chat__turn {
  min-width: 0;
  display: grid;
  gap: 0;
  transition:
    opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-product-chat .chat-turn {
  width: 100%;
  min-width: 0;
  padding: 6px 0;
}
.hero-product-chat .chat-turn__inner {
  width: 100%;
  min-width: 0;
  display: flex;
}
.hero-product-chat .chat-turn--user .chat-turn__inner {
  justify-content: flex-end;
}
.hero-product-chat .chat-msg-bubble {
  min-width: 0;
}
.hero-product-chat .chat-msg-bubble--user {
  width: fit-content;
  max-width: min(72%, 32rem);
  padding: 8px 12px;
  border-radius: 14px;
  background: #18181b0f;
  overflow-wrap: anywhere;
}
.hero-product-chat .chat-msg-body,
.hero-product-chat .chat-assistant__body {
  min-width: 0;
  color: var(--landing-ink);
  font-size: 16px;
  line-height: 1.55;
}
.hero-product-chat .chat-assistant,
.hero-product-chat .chat-assistant__surface {
  width: 100%;
  min-width: 0;
}
.hero-product-chat .chat-assistant__surface {
  position: relative;
  padding: 0;
  background: transparent;
}
.hero-product-chat__assistant-state {
  min-height: 170px;
  display: grid;
}
.hero-product-chat__status,
.hero-product-chat__response {
  grid-area: 1 / 1;
  transition:
    opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-product-chat__status {
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
}
.hero-product-chat__response {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.hero-product-chat .chat-generation-status {
  min-height: 36px;
  display: inline-flex;
  align-self: start;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.hero-product-chat .chat-loading-dots {
  height: 12px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  color: var(--landing-trace);
}
.hero-product-chat .chat-loading-dots i {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  animation: none;
}
.hero-product-chat .chat-loading-dots i:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-product-chat .chat-loading-dots i:nth-child(3) {
  animation-delay: 0.2s;
}
.hero-product-chat .chat-assistant__body p {
  min-height: 4.65em;
  margin: 0 0 8px;
}
.hero-product-chat .chat-assistant__body ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-product-chat .chat-assistant__body li {
  min-height: 32px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border: 1px solid var(--landing-ledger-rule);
  border-radius: var(--landing-radius-control);
  background: #fdfdfbb8;
  color: var(--landing-secondary);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  transition:
    opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-product-chat .chat-assistant__body li:before {
  width: 12px;
  height: 15px;
  justify-self: center;
  border: 1.5px solid var(--landing-blueprint);
  border-radius: 2px;
  box-shadow: inset 0 -3px #18181b14;
  content: "";
}
.hero-product-chat .chat-sources {
  margin-top: 6px;
}
.hero-product-chat .chat-sources__summary {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--landing-secondary);
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}
.hero-product-chat .chat-sources__summary::-webkit-details-marker {
  display: none;
}
.hero-product-chat .chat-sources__summary:before {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(-45deg);
}
.hero-product-chat .chat-msg-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}
.hero-product-chat .chat-sources,
.hero-product-chat .chat-msg-actions {
  transition:
    opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-product-chat .chat-action-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--landing-radius-control);
  color: var(--landing-muted);
}
.hero-product-chat .chat-action-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.hero-product-chat__composer {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--landing-ledger-rule-strong);
  border-radius: 14px;
  background: var(--landing-raised);
  box-shadow:
    0 1px 3px #18181b1a,
    0 8px 22px #18181b0f;
  transition:
    border-color 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-product-chat .chat-input-row {
  height: 64px;
  min-height: 64px;
  display: block;
  overflow: hidden;
}
.hero-product-chat .chat-input-field {
  min-width: 0;
}
.hero-product-chat__input {
  height: 64px;
  min-height: 64px;
  display: grid;
  align-items: start;
  overflow: hidden;
  padding: 12px 16px 6px;
  color: var(--landing-ink);
  font-size: 15px;
  line-height: 1.5;
}
.hero-product-chat__draft,
.hero-product-chat__placeholder {
  grid-area: 1 / 1;
  transition: opacity 0.18s ease-out;
}
.hero-product-chat__draft {
  visibility: hidden;
  opacity: 0;
  white-space: pre-wrap;
}
.hero-product-chat__placeholder {
  color: var(--landing-muted);
  visibility: visible;
  opacity: 1;
}
.hero-product-chat .chat-composer__footer {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 8px;
  padding: 0 0 7px;
}
.hero-product-chat .chat-composer__leading {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
}
.hero-product-chat .chat-composer__attach,
.hero-product-chat__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-product-chat .chat-composer__attach {
  width: 32px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--landing-secondary);
}
.hero-product-chat .chat-model-selector {
  min-width: 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--landing-ink);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero-product-chat .chat-model-selector__mark {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.hero-product-chat .chat-model-selector__logo {
  width: 17px;
  height: 17px;
  display: block;
  object-fit: contain;
}
.hero-product-chat .chat-model-selector__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-product-chat .chat-model-selector__chevron {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--landing-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.hero-product-chat .chat-composer__divider {
  width: 1px;
  height: 20px;
  flex: 0 0 auto;
  background: var(--landing-ledger-rule-strong);
}
.hero-product-chat .chat-composer__attach svg,
.hero-product-chat__send svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}
.hero-product-chat .chat-grossmeister-switch {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--landing-secondary);
  font-size: 12px;
  font-weight: 650;
}
.hero-product-chat .chat-grossmeister-switch__track {
  position: relative;
  width: 25px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid var(--landing-trace);
  border-radius: 999px;
  background: var(--landing-trace);
}
.hero-product-chat .chat-grossmeister-switch__track span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--landing-on-dark);
  transform: translate(10px);
}
.hero-product-chat .chat-input-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}
.hero-product-chat__send {
  width: 36px;
  height: 36px;
  border: 1px solid var(--landing-ledger-rule-strong);
  border-radius: 50%;
  background: var(--landing-paper);
  color: var(--landing-muted);
  transition:
    background-color 0.18s ease-out,
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-product-chat.has-draft .hero-product-chat__send {
  border-color: var(--landing-trace);
  background: var(--landing-trace);
  color: var(--landing-on-dark);
}
.hero-product-chat__disclaimer {
  margin: -6px 0 0 !important;
  color: var(--landing-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.hero-product-chat__user,
.hero-product-chat__thread,
.hero-product-chat__composer {
  transition:
    opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-product-chat__turn .hero-product-chat__user,
.hero-product-chat__turn .hero-product-chat__status,
.hero-product-chat__turn .hero-product-chat__response {
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
}
.hero-product-chat.is-animated .hero-product-chat__turn {
  display: none;
}
.hero-product-chat.is-animated .hero-product-chat__turn.has-user,
.hero-product-chat.is-animated .hero-product-chat__turn.is-active,
.hero-product-chat.is-animated .hero-product-chat__turn.is-complete {
  display: grid;
}
.hero-product-chat.is-animated .hero-product-chat__draft {
  visibility: hidden;
  opacity: 0;
}
.hero-product-chat.is-animated .hero-product-chat__placeholder {
  visibility: visible;
  opacity: 1;
}
.hero-product-chat__turn .chat-assistant__body li,
.hero-product-chat__turn .chat-sources {
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px);
}
.hero-product-chat.has-draft .hero-product-chat__draft,
.hero-product-chat__turn.has-user .hero-product-chat__user,
.hero-product-chat__turn.is-generating .hero-product-chat__status,
.hero-product-chat__turn.has-answer .hero-product-chat__response,
.hero-product-chat__turn.has-point-1 [data-hero-point="0"],
.hero-product-chat__turn.has-point-2 [data-hero-point="1"],
.hero-product-chat__turn.has-point-3 [data-hero-point="2"],
.hero-product-chat__turn.has-source .chat-sources {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.hero-product-chat.has-draft .hero-product-chat__placeholder {
  visibility: hidden;
  opacity: 0;
}
.hero-product-chat.has-draft .hero-product-chat__composer {
  border-color: var(--landing-blueprint);
  box-shadow:
    0 0 0 2px #18181b0f,
    0 10px 26px #18181b1f;
}
.hero-product-chat.is-sending .hero-product-chat__send {
  border-color: var(--landing-trace-dark);
  background: var(--landing-trace-dark);
  transform: scale(0.86);
}
.hero-product-chat__turn.is-generating .chat-loading-dots i {
  animation: hero-product-chat-dot 0.8s ease-in-out infinite;
}
.hero-product-chat__draft:after,
.hero-product-chat [data-hero-answer]:after {
  width: 1px;
  height: 1.05em;
  display: inline-block;
  margin-left: 2px;
  background: currentColor;
  content: "";
  vertical-align: -0.12em;
  visibility: hidden;
  opacity: 0;
}
.hero-product-chat.has-draft .hero-product-chat__draft:after,
.hero-product-chat__turn.is-answering [data-hero-answer]:after {
  visibility: visible;
  opacity: 1;
  animation: hero-product-chat-caret 0.9s steps(1, end) infinite;
}
.hero-product-chat.is-sending .hero-product-chat__draft:after {
  visibility: hidden;
}
.hero-product-chat.is-resetting .hero-product-chat__thread,
.hero-product-chat.is-resetting .hero-product-chat__composer {
  opacity: 0;
}
.hero-product-chat.is-paused .chat-loading-dots i,
.hero-product-chat.is-paused .hero-product-chat__draft:after,
.hero-product-chat.is-paused .hero-product-chat__turn.is-answering [data-hero-answer]:after {
  animation-play-state: paused;
}
@keyframes hero-product-chat-caret {
  0%,
  46% {
    opacity: 1;
  }
  47%,
  to {
    opacity: 0;
  }
}
@keyframes hero-product-chat-dot {
  0%,
  60%,
  to {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.marketing-cta {
  padding: 104px 0;
  background: var(--landing-blueprint-deep);
  color: var(--landing-on-dark);
}
.marketing-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 32px;
  text-align: center;
}
.marketing-cta h2 {
  max-width: 820px;
  margin-top: 0;
  font-size: clamp(2.75rem, 4.5vw, 3.75rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.02;
}
.marketing-cta__inner > div:first-child > p:last-child {
  margin-top: 16px !important;
  color: var(--landing-on-dark-muted);
  font-size: 17px;
}
.marketing-cta__actions {
  min-width: 250px;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.marketing-page .marketing-button--light {
  min-width: 230px;
  border-color: var(--landing-on-dark);
  background: var(--landing-on-dark);
  color: var(--landing-blueprint-deep);
}
.marketing-page .marketing-button--light:hover {
  border-color: #deded8;
  background: #deded8;
  color: var(--landing-blueprint-deep);
  box-shadow: 0 6px 18px #0000002e;
}
.marketing-cta__actions p {
  color: #a6a69f;
  font-size: 12px;
}
.marketing-cta__actions p a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--landing-on-dark);
  text-decoration: underline;
  text-decoration-color: #f4f4f16b;
  text-underline-offset: 3px;
}
.marketing-cta__actions p a:hover {
  text-decoration-color: currentColor;
}
.marketing-footer {
  padding: 48px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1422;
  color: var(--landing-on-dark);
}
.marketing-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: start;
  gap: 40px 64px;
}
.marketing-footer__brand img {
  width: 124px;
  height: auto;
}
.marketing-footer__brand a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.marketing-footer__brand p {
  margin-top: 14px !important;
  color: var(--landing-on-dark-muted);
  font-size: 13px;
}
.marketing-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 8px;
}
.marketing-footer__nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--landing-on-dark-muted);
  font-size: 14px;
  font-weight: 650;
}
.marketing-footer__nav a:hover {
  color: var(--landing-on-dark);
}
.marketing-footer__copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #969690;
  font-size: 12px;
}
@media (max-width: 1180px) {
  .marketing-hero__grid {
    grid-template-columns: minmax(330px, 0.9fr) minmax(460px, 1.1fr);
    gap: 56px;
  }
  .marketing-hero__copy h1 {
    font-size: clamp(3.25rem, 5.6vw, 4.75rem);
  }
  .hero-exchange__visual {
    min-height: 450px;
    padding: 20px 0;
  }
}
@media (max-width: 960px) {
  .marketing-nav {
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    padding-top: 12px;
  }
  .marketing-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .marketing-nav__links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 10px 0 0;
    padding-top: 2px;
    border-top: 1px solid var(--landing-ledger-rule);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .marketing-nav__links a {
    min-height: 48px;
    padding: 0 14px;
  }
  .marketing-nav__links::-webkit-scrollbar {
    display: none;
  }
  .marketing-nav__actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .marketing-hero {
    padding-top: 80px;
  }
  .marketing-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .marketing-hero__copy {
    max-width: 760px;
  }
  .marketing-hero__copy h1,
  .marketing-hero__lead {
    max-width: 720px;
  }
  .hero-exchange {
    margin-top: 8px;
  }
  .marketing-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .marketing-cta__actions {
    min-width: 0;
  }
}
@media (max-width: 720px) {
  .marketing-shell,
  .marketing-nav {
    width: min(100% - 40px, 1280px);
  }
  .marketing-nav {
    column-gap: 16px;
    row-gap: 0;
  }
  .marketing-brand__wordmark {
    width: 112px;
  }
  .marketing-brand span {
    display: none;
  }
  .marketing-hero {
    padding: 72px 0 64px;
  }
  .marketing-hero__grid {
    gap: 40px;
  }
  .marketing-hero__copy h1 {
    margin-top: 0;
    font-size: clamp(3rem, 11vw, 4.25rem);
    line-height: 1;
  }
  .marketing-hero__lead {
    margin-top: 22px !important;
    font-size: 17px;
  }
  .hero-exchange__visual {
    min-height: 440px;
    padding: 16px 0;
  }
  .marketing-cta {
    padding: 80px 0;
  }
  .marketing-cta h2 {
    font-size: clamp(2.65rem, 9vw, 4rem);
  }
  .marketing-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .marketing-footer__nav {
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .marketing-shell,
  .marketing-nav {
    width: min(100% - 32px, 1280px);
  }
  .marketing-nav {
    column-gap: 10px;
    row-gap: 0;
  }
  .marketing-brand__wordmark {
    width: 102px;
  }
  .marketing-nav__actions {
    gap: 2px;
  }
  .marketing-language button {
    min-width: 32px;
    padding-inline: 5px;
  }
  .marketing-page .marketing-login {
    padding: 0 6px;
    font-size: 12.5px;
  }
  .marketing-hero__copy h1 {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
    letter-spacing: -0.06em;
  }
  .marketing-hero__actions {
    display: grid;
  }
  .marketing-button {
    width: 100%;
  }
  .marketing-hero__link {
    justify-content: center;
  }
  .hero-exchange__visual {
    min-height: 540px;
    padding: 8px 0 12px;
  }
  .hero-exchange:before {
    inset: 10% -4% 7%;
    filter: blur(52px);
  }
  .hero-exchange__motion-toggle {
    right: 8px;
    bottom: -34px;
  }
  .hero-product-chat {
    gap: 12px;
    transform-origin: center;
  }
  .hero-product-chat__thread {
    height: 400px;
    padding: 0;
  }
  .hero-product-chat__greeting {
    min-height: 392px;
    flex-basis: 392px;
    padding-bottom: 20px;
    font-size: 24px;
  }
  .hero-product-chat .chat-model-selector > span[data-t] {
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-product-chat .chat-msg-bubble--user {
    max-width: 88%;
  }
  .hero-product-chat__assistant-state {
    min-height: 180px;
  }
  .hero-product-chat .chat-msg-body,
  .hero-product-chat .chat-assistant__body {
    font-size: 16px;
  }
  .hero-product-chat__input {
    min-height: 64px;
    padding: 11px 13px 5px;
  }
  .hero-product-chat .chat-composer__footer {
    margin-inline: 6px;
  }
  .marketing-page .marketing-button--light {
    min-width: 0;
  }
}
@media (max-width: 370px) {
  .marketing-brand__wordmark {
    width: 96px;
  }
  .hero-product-chat__thread {
    height: 420px;
  }
  .hero-product-chat__greeting {
    min-height: 412px;
    flex-basis: 412px;
  }
  .hero-product-chat .chat-msg-bubble--user {
    max-width: 92%;
  }
  .hero-product-chat .chat-grossmeister-switch {
    font-size: 11px;
  }
  .hero-product-chat .chat-composer__leading {
    gap: 4px;
  }
  .hero-product-chat .chat-composer__attach {
    width: 28px;
  }
  .hero-product-chat .chat-model-selector {
    gap: 4px;
    font-size: 11px;
  }
  .hero-product-chat .chat-model-selector > span[data-t] {
    max-width: 58px;
  }
  .hero-product-chat .chat-model-selector__mark {
    width: 20px;
    height: 20px;
  }
  .hero-product-chat .chat-model-selector__chevron {
    width: 10px;
    height: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marketing-page *,
  .marketing-page *:before,
  .marketing-page *:after,
  .marketing-skip-link {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero-exchange:before {
    opacity: 0.72;
    transform: none;
    animation: none !important;
  }
  .hero-product-chat,
  .hero-product-chat__thread,
  .hero-product-chat__composer,
  .hero-product-chat__turn,
  .hero-product-chat__user,
  .hero-product-chat__response,
  .hero-product-chat .chat-assistant__body li,
  .hero-product-chat .chat-sources,
  .hero-product-chat__send {
    transform: none !important;
    animation: none !important;
  }
}
.auth-main {
  position: relative;
  display: grid;
  width: 100%;
  min-height: calc(100dvh - 3.5rem);
  place-items: center;
  padding: clamp(2.5rem, 7vh, 5.5rem) 1.25rem 2rem;
  background: var(--ui-canvas, var(--bg-subtle));
}
.auth-stage {
  width: min(100%, 29rem);
  margin-inline: auto;
}
.auth-product {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin-inline: auto;
  color: var(--text-primary);
  text-decoration: none;
}
.auth-product__mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in oklab, var(--ui-solid, var(--text-primary)) 92%, transparent);
  border-radius: 0.68rem;
  background: var(--ui-solid, var(--text-primary));
  color: #fff;
}
.dark .auth-product__mark {
  color: var(--ui-canvas, #111318);
}
.auth-product__mark svg {
  width: 1.18rem;
  height: 1.18rem;
}
.auth-product__copy {
  display: grid;
  gap: 0.08rem;
  line-height: 1;
}
.auth-product__copy strong {
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: -0.018em;
}
.auth-product__copy small {
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 680;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.auth-stage__intro {
  margin: 2rem auto 1.45rem;
  text-align: center;
}
.auth-stage__intro h1 {
  color: var(--text-primary);
  font-size: clamp(1.7rem, 4vw, 2.05rem);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.auth-stage__intro p {
  max-width: 26rem;
  margin: 0.62rem auto 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.58;
}
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2rem;
  margin-bottom: 0.95rem;
  border-radius: var(--ui-radius-sm, 0.5rem);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.13s ease;
}
.auth-back:hover {
  color: var(--text-primary);
}
.auth-back svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.13s ease;
}
.auth-back:hover svg {
  transform: translate(-2px);
}
.auth-panel {
  width: 100%;
}
.auth-panel > form.card,
.auth-panel #loginForm {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.25rem, 4vw, 1.7rem);
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-lg, 0.75rem);
  background: var(--ui-surface, var(--surface));
  box-shadow: 0 1px 2px color-mix(in oklab, #09090b 5%, transparent);
}
.auth-panel form .fieldset {
  gap: 1.05rem;
  min-width: 0;
}
.auth-panel form .legend {
  margin: 0 0 0.15rem;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: -0.026em;
}
.auth-stage--recovery .auth-panel form .legend,
.auth-stage--change-password .auth-panel form .legend {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.auth-panel form :where(.label, .label-text) {
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 680;
  line-height: 1.35;
}
.auth-panel form .input-row > .label {
  display: none;
}
.auth-panel form .input-row {
  position: relative;
  width: 100%;
  margin-top: 0.38rem;
}
.auth-panel form .input {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-sm, 0.5rem);
  background: var(--ui-surface, var(--surface));
  color: var(--text-primary);
  padding: 0.65rem 0.78rem;
  font-size: 0.86rem;
  line-height: 1.35;
  box-shadow: 0 1px 1px color-mix(in oklab, #09090b 3%, transparent);
  transition:
    border-color 0.13s ease,
    box-shadow 0.13s ease,
    background-color 0.13s ease;
}
.auth-panel form .input:hover {
  border-color: var(
    --ui-line-strong,
    color-mix(in oklab, var(--text-muted) 38%, var(--border-light))
  );
}
.auth-panel form .input:focus {
  border-color: var(--ui-accent, var(--primary));
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ui-accent, var(--primary)) 14%, transparent);
}
.auth-panel form .input:user-invalid {
  border-color: color-mix(
    in oklab,
    var(--error-text, #b42318) 52%,
    var(--ui-line, var(--border-light))
  );
}
.auth-panel form :where(.btn, .btn-primary) {
  display: inline-flex;
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--ui-solid, var(--text-primary));
  border-radius: var(--ui-radius-sm, 0.5rem);
  background: var(--ui-solid, var(--text-primary));
  color: #fff;
  padding: 0.64rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.25;
  box-shadow: none;
  transition:
    background-color 0.13s ease,
    border-color 0.13s ease,
    color 0.13s ease,
    opacity 0.13s ease,
    transform 0.13s ease;
}
.dark .auth-panel form :where(.btn, .btn-primary) {
  color: var(--ui-canvas, #111318);
}
.auth-panel form :where(.btn, .btn-primary):hover:not(:disabled) {
  border-color: var(--ui-solid-hover, var(--text-primary));
  background: var(--ui-solid-hover, var(--text-primary));
  transform: translateY(-1px);
}
.auth-panel form :where(.btn, .btn-primary):active:not(:disabled) {
  transform: translateY(0);
}
.auth-panel form :where(.btn, .btn-primary):disabled {
  cursor: wait;
  opacity: 0.64;
}
.auth-panel form .forgot-password {
  display: block;
  width: fit-content;
  margin: -0.1rem auto 0;
  border-radius: 0.25rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 620;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: color 0.13s ease;
}
.auth-panel form .forgot-password:hover {
  color: var(--text-primary);
}
.auth-panel form :where(.hint, .warning, .alert, .alert-error) {
  border-radius: var(--ui-radius-sm, 0.5rem);
  font-size: 0.75rem;
  line-height: 1.52;
}
.auth-panel form .hint--success {
  margin: 0;
  border: 1px solid var(--ui-line, var(--border-light));
  background: var(--ui-surface-subtle, var(--surface-muted));
  color: var(--text-secondary);
  padding: 0.78rem 0.86rem;
}
.auth-panel form .warning,
.auth-panel form .alert-error:not(.hidden) {
  border: 1px solid
    color-mix(in oklab, var(--error-text, #b42318) 22%, var(--ui-line, var(--border-light)));
  background: color-mix(in oklab, var(--error-text, #b42318) 6%, var(--ui-surface, var(--surface)));
  color: var(--error-text, #b42318);
  padding: 0.72rem 0.8rem;
}
.auth-panel #pinInput:empty,
.auth-panel #error:empty {
  display: none;
}
.auth-panel #pinInput .hint {
  margin-bottom: 0.85rem;
}
.auth-panel .spinner__container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-panel .spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: auth-spin 0.68s linear infinite;
}
.auth-stage__legal {
  max-width: 27rem;
  margin: 1.35rem auto 0;
  color: var(--text-muted);
  font-size: 0.64rem;
  line-height: 1.55;
  text-align: center;
}
.auth-stage__legal a {
  color: inherit;
  text-decoration: none;
}
.auth-stage__legal a:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
body:has(.auth-main) > header {
  position: relative;
  z-index: 2;
  min-height: 3.5rem;
  border-color: var(--ui-line, var(--border-light));
  background: var(--ui-surface, var(--surface));
}
body:has(.auth-main) > header > div {
  min-height: 3.5rem;
  padding-block: 0.45rem;
}
body:has(.auth-main) > header a[href="/"] img {
  width: auto;
  height: 2rem;
}
.dark body:has(.auth-main) > header a[href="/"] img {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.92;
}
body:has(.auth-main) > header :where(.theme-button, .neo-select__btn) {
  min-height: 2rem;
  border-radius: var(--ui-radius-sm, 0.5rem);
}
body:has(.auth-main) > header .theme-button {
  width: 2rem;
  height: 2rem;
}
body:has(.auth-main) > footer {
  display: none;
}
@media (max-width: 40rem) {
  .auth-main {
    min-height: calc(100dvh - 3.5rem);
    place-items: start center;
    padding: clamp(1.5rem, 6vh, 3rem) 1rem 1.25rem;
  }
  .auth-stage__intro {
    margin-top: 1.65rem;
  }
  .auth-panel > form.card,
  .auth-panel #loginForm {
    padding: 1.2rem;
  }
  .auth-stage__legal {
    margin-top: 1.1rem;
  }
  body:has(.auth-main) > header > div {
    padding-inline: 0.85rem;
  }
  body:has(.auth-main) > header .neo-select__icon,
  body:has(.auth-main) > header .neo-select__right {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .auth-product,
  .auth-stage__intro,
  .auth-panel,
  .auth-stage__legal {
    animation: auth-enter 0.26s cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }
  .auth-stage__intro {
    animation-delay: 35ms;
  }
  .auth-panel {
    animation-delay: 65ms;
  }
  .auth-stage__legal {
    animation-delay: 90ms;
  }
}
@keyframes auth-enter {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes auth-spin {
  to {
    transform: rotate(1turn);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-back svg,
  .auth-panel form :where(.btn, .btn-primary),
  .auth-panel form .input {
    transition-duration: 0.01ms;
  }
  .auth-panel .spinner {
    animation-duration: 1.4s;
  }
}
.account-settings {
  width: min(100%, 50rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1rem, 2.8vw, 2.5rem) 3rem;
  color: var(--ui-ink, var(--text-primary));
}
.account-settings__header {
  max-width: 42rem;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}
.account-settings__header h1 {
  margin: 0;
  color: var(--ui-ink, var(--text-primary));
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.account-settings__header > p:last-child,
.account-settings__heading-copy > p:last-child {
  max-width: 36rem;
  margin: 0.65rem 0 0;
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: 0.88rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.account-settings__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
}
.account-settings__heading-copy {
  min-width: 0;
}
.account-settings__mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: 0.55rem;
  background: var(--ui-surface-subtle, var(--surface-muted));
  color: var(--ui-accent-strong, var(--primary));
}
.account-settings__mark svg {
  width: 1.05rem;
  height: 1.05rem;
}
.account-settings__content {
  width: min(100%, 42rem);
}
.account-settings__group {
  overflow: hidden;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: 0.65rem;
  background: var(--ui-surface, var(--surface));
  box-shadow: none;
}
.account-settings__row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  min-height: 4.75rem;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  color: var(--ui-ink, var(--text-primary));
  text-decoration: none;
  transition:
    background-color 0.15s var(--ui-ease, ease),
    color 0.15s var(--ui-ease, ease);
}
.account-settings__row + .account-settings__row {
  border-top: 1px solid var(--ui-line, var(--border-light));
}
.account-settings__row:hover {
  background: var(--ui-surface-subtle, var(--surface-muted));
}
.account-settings__row:active {
  background: color-mix(
    in oklab,
    var(--ui-surface-subtle, var(--surface-muted)) 82%,
    var(--ui-ink, var(--text-primary)) 4%
  );
}
.account-settings__row:focus-visible {
  background: var(--ui-surface-subtle, var(--surface-muted));
  outline-offset: -3px;
}
.account-settings__icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: 0.62rem;
  background: var(--ui-surface-subtle, var(--surface-muted));
  color: var(--ui-ink-secondary, var(--text-secondary));
}
.account-settings__icon svg,
.account-settings__note-mark svg {
  width: 1.08rem;
  height: 1.08rem;
}
.account-settings__row-copy {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}
.account-settings__row-copy strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.012em;
}
.account-settings__row-copy small {
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.76rem;
  line-height: 1.48;
}
.account-settings__arrow {
  width: 1rem;
  height: 1rem;
  color: var(--ui-ink-muted, var(--text-muted));
  transition:
    color 0.13s ease,
    transform 0.13s ease;
}
.account-settings__row:hover .account-settings__arrow {
  color: var(--ui-accent-strong, var(--primary));
  transform: translate(2px);
}
.account-settings__row:active .account-settings__arrow {
  transform: translate(1px);
}
.account-settings__note {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.78rem;
  max-width: 38rem;
  margin-top: 1.15rem;
  padding: 0.2rem 0.1rem;
}
.account-settings__note-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.52rem;
  background: var(--ui-accent-soft, var(--surface-muted));
  color: var(--ui-accent-strong, var(--primary));
}
.account-settings__note h2 {
  margin: 0.08rem 0 0.35rem;
  color: var(--ui-ink, var(--text-primary));
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: -0.01em;
}
.account-settings__note p {
  margin: 0;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.74rem;
  line-height: 1.55;
}
.account-settings__back {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2.75rem;
  margin: 0 0 0.9rem;
  padding-inline: 0.2rem;
  border-radius: var(--ui-radius-sm, 0.5rem);
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.74rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.13s ease;
}
.account-settings__back:hover {
  color: var(--ui-ink, var(--text-primary));
}
.account-settings__back:active {
  color: var(--ui-accent-strong, var(--primary));
}
.account-settings__back svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.13s ease;
}
.account-settings__back:hover svg {
  transform: translate(-2px);
}
.account-settings--form {
  width: min(100%, 48rem);
}
.account-settings--form .account-settings__header {
  max-width: 36rem;
  margin-bottom: 1.35rem;
}
.account-settings__form {
  width: min(100%, 36rem);
}
.account-settings__form > form.card {
  padding: clamp(1.15rem, 3vw, 1.55rem);
  border-radius: 0.65rem;
  box-shadow: none;
}
.account-settings__form :is(.btn, .btn-primary, button[type="submit"], input[type="submit"]) {
  min-height: 2.75rem;
}
.account-settings__form
  :is(.btn, .btn-primary, button[type="submit"], input[type="submit"]):active:not(:disabled) {
  transform: translateY(1px);
}
.account-settings__form
  :is(.btn, .btn-primary, button[type="submit"], input[type="submit"]):disabled,
.account-settings__secondary-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.account-settings__form form .legend {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.account-settings__form form .input-row {
  display: block;
}
.account-settings__form form .input-row + small {
  display: block;
  margin-top: 0.42rem;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.72rem;
  line-height: 1.5;
}
.account-settings__form form .hint {
  margin: 0;
  color: var(--ui-ink-secondary, var(--text-secondary));
}
.account-settings__secondary-form {
  width: min(100%, 36rem);
  margin-top: 0.8rem;
  text-align: left;
}
.account-settings__secondary-action {
  min-height: 2.75rem;
  border: 0;
  border-radius: var(--ui-radius-sm, 0.5rem);
  background: transparent;
  color: var(--ui-ink-muted, var(--text-muted));
  padding: 0.45rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}
.account-settings__secondary-action:hover {
  background: var(--ui-surface-subtle, var(--surface-muted));
  color: var(--ui-ink, var(--text-primary));
}
.account-settings__secondary-action:active:not(:disabled) {
  transform: translateY(1px);
}
.account-settings :where(a, button, input, select):focus-visible {
  outline: 2px solid color-mix(in oklab, var(--ui-accent, var(--primary)) 48%, transparent);
  outline-offset: 2px;
}
@media (max-width: 34rem) {
  .account-settings {
    padding: 4.25rem 0.75rem 2rem;
  }
  .account-settings__header {
    margin-bottom: 1.35rem;
  }
  .account-settings__header h1 {
    font-size: 1.75rem;
  }
  .account-settings__heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }
  .account-settings__mark {
    width: 2rem;
    height: 2rem;
  }
  .account-settings__row {
    grid-template-columns: 2.35rem minmax(0, 1fr) auto;
    min-height: 4.8rem;
    gap: 0.72rem;
    padding: 0.8rem;
  }
  .account-settings__icon {
    width: 2.35rem;
    height: 2.35rem;
  }
  .account-settings__row-copy small {
    font-size: 0.72rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .account-settings__row,
  .account-settings__arrow,
  .account-settings__back svg,
  .account-settings__secondary-action,
  .account-settings__form :is(.btn, .btn-primary, button[type="submit"], input[type="submit"]) {
    transition: none;
  }
}
.auth-main {
  min-height: 100dvh;
  padding: clamp(2rem, 7vh, 4.75rem) 1rem 1.5rem;
  background: var(--ui-canvas, var(--bg-subtle));
}
.auth-stage {
  width: min(100%, 27.5rem);
}
.auth-product {
  gap: 0.58rem;
}
.auth-product__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  box-shadow: none;
}
.auth-product__mark svg {
  width: 1rem;
  height: 1rem;
}
.auth-stage__intro {
  margin: 1.65rem auto 1.1rem;
}
.auth-stage__intro h1 {
  font-size: clamp(1.55rem, 5vw, 1.85rem);
  font-weight: 740;
}
.auth-stage__intro p {
  margin-top: 0.48rem;
  font-size: 0.8rem;
  line-height: 1.55;
}
.auth-back {
  margin-bottom: 0.7rem;
}
.auth-panel > form.card,
.auth-panel #loginForm {
  padding: clamp(1.1rem, 4vw, 1.45rem);
  border-radius: 0.68rem;
  box-shadow: none;
}
.auth-panel form .fieldset {
  gap: 0.9rem;
}
.auth-panel form .legend {
  font-size: 1rem;
}
.auth-panel form .input {
  min-height: 2.75rem;
  border-radius: 0.46rem;
  box-shadow: none;
}
.auth-panel form :where(.btn, .btn-primary) {
  min-height: 2.75rem;
  border-radius: 0.46rem;
}
.account-password-field {
  position: relative;
}
.account-password-field > .input {
  padding-right: 3.25rem;
}
.account-password-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: 0.46rem;
  color: var(--text-muted);
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}
.account-password-toggle:hover {
  color: var(--text-primary);
  background: var(--ui-surface-subtle, var(--surface-muted));
}
.account-password-toggle:active:not(:disabled) {
  transform: translateY(-50%) scale(0.96);
}
.account-password-toggle:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.account-password-toggle:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--ui-accent, var(--primary)) 38%, transparent);
  outline-offset: 1px;
}
.account-password-toggle svg {
  width: 1rem;
  height: 1rem;
}
.account-password-toggle__slash {
  opacity: 0;
}
.account-password-toggle.is-revealed .account-password-toggle__slash {
  opacity: 1;
}
.auth-panel form.is-submitting,
.account-settings form.is-submitting {
  cursor: progress;
}
[data-account-busy="true"] {
  opacity: 0.65;
  cursor: progress;
}
@media (max-width: 34rem) {
  .auth-main {
    place-items: start center;
    padding: 1.35rem 0.75rem;
  }
  .auth-stage__intro {
    margin-top: 1.35rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .account-password-toggle,
  .auth-panel form {
    transition: none;
  }
}
.personal-page {
  width: min(100%, 56rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1rem, 3vw, 2.5rem) 3.5rem;
  color: var(--ui-ink, var(--text-primary));
}
.personal-page__header {
  max-width: 44rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.personal-page__header h1 {
  margin: 0;
  color: var(--ui-ink, var(--text-primary));
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.personal-page__header > p {
  max-width: 40rem;
  margin: 0.75rem 0 0;
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: 0.9375rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.personal-page__back {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.375rem;
  margin: -0.5rem 0 1rem;
  padding-inline: 0.25rem;
  border-radius: var(--ui-radius-sm, 0.5rem);
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.16s ease;
}
.personal-page__back:hover {
  color: var(--ui-ink, var(--text-primary));
}
.personal-page__back:active {
  color: var(--ui-accent-strong, var(--primary));
}
.personal-page__back svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.16s ease;
}
.personal-page__back:hover svg {
  transform: translate(-2px);
}
.personal-identity {
  display: flex;
  max-width: 34rem;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ui-line, var(--border-light));
}
.personal-identity__avatar {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ui-accent-soft, var(--surface-muted));
  color: var(--ui-accent-strong, var(--primary));
  font-size: 0.875rem;
  font-weight: 760;
}
.personal-identity__copy {
  display: grid;
  min-width: 0;
  gap: 0.125rem;
}
.personal-identity__copy strong,
.personal-identity__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.personal-identity__copy strong {
  color: var(--ui-ink, var(--text-primary));
  font-size: 0.875rem;
  font-weight: 700;
}
.personal-identity__copy span {
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
}
.personal-ledger,
.personal-settings,
.personal-export {
  overflow: hidden;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ql-radius-surface, 0.5rem);
  background: var(--ui-surface, var(--surface));
  box-shadow: none;
}
.personal-context-nav {
  display: flex;
  gap: 0.25rem;
  margin: -1rem 0 1.25rem;
  overflow-x: auto;
  padding: 0 0 0.45rem;
  border-bottom: 1px solid var(--ql-line, var(--border-light));
  scrollbar-width: thin;
}
.personal-context-nav a {
  position: relative;
  display: inline-flex;
  min-height: var(--ql-touch-target, 2.75rem);
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--ql-radius-control, 0.375rem);
  color: var(--ql-ink-muted, var(--text-muted));
  font-size: var(--ql-text-13, 0.8125rem);
  font-weight: 600;
  text-decoration: none;
}
.personal-context-nav a:hover {
  background: var(--hover-bg);
  color: var(--ql-ink, var(--text-primary));
}
.personal-context-nav a[aria-current="page"] {
  background: var(--ql-accent-soft, var(--surface-muted));
  color: var(--ql-accent-strong, var(--primary));
  font-weight: 700;
}
.personal-context-nav a[aria-current="page"]:after {
  position: absolute;
  right: 0.65rem;
  bottom: -0.48rem;
  left: 0.65rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ql-accent, var(--primary));
  content: "";
}
.personal-context-nav svg {
  width: 1rem;
  height: 1rem;
}
.personal-ledger__row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  min-height: 5.25rem;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  color: var(--ui-ink, var(--text-primary));
  text-decoration: none;
  transition: background-color 0.16s ease;
}
.personal-ledger__row + .personal-ledger__row {
  border-top: 1px solid var(--ui-line, var(--border-light));
}
.personal-ledger__row:hover {
  background: var(--ui-surface-subtle, var(--surface-muted));
}
.personal-ledger__row:active {
  background: var(--ui-accent-soft, var(--surface-muted));
}
.personal-ledger__icon,
.personal-setting-form__icon,
.personal-note__icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-sm, 0.5rem);
  background: var(--ui-surface-subtle, var(--surface-muted));
  color: var(--ui-ink-secondary, var(--text-secondary));
}
.personal-ledger__icon svg,
.personal-setting-form__icon svg,
.personal-note__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}
.personal-ledger__copy {
  display: grid;
  min-width: 0;
  gap: 0.1875rem;
}
.personal-ledger__copy strong {
  font-size: 0.875rem;
  font-weight: 690;
  letter-spacing: -0.01em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.personal-ledger__copy small {
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.personal-ledger__arrow {
  width: 1rem;
  height: 1rem;
  color: var(--ui-ink-muted, var(--text-muted));
  transition:
    color 0.16s ease,
    transform 0.16s ease;
}
.personal-ledger__row:hover .personal-ledger__arrow {
  color: var(--ui-accent-strong, var(--primary));
  transform: translate(2px);
}
.personal-setting-form {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) minmax(15rem, 18rem);
  min-height: 8rem;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}
.personal-setting-form + .personal-setting-form {
  border-top: 1px solid var(--ui-line, var(--border-light));
}
.personal-setting-form__copy {
  min-width: 0;
}
.personal-setting-form__copy label {
  display: block;
  color: var(--ui-ink, var(--text-primary));
  font-size: 0.875rem;
  font-weight: 690;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.personal-setting-form__copy p {
  max-width: 32rem;
  margin: 0.3125rem 0 0;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.personal-setting-form__control {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto;
  align-items: start;
  gap: 0.5rem;
}
.personal-setting-form__control select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--ui-line-strong, var(--border-light));
  border-radius: var(--ui-radius-sm, 0.5rem);
  background-color: var(--ui-surface, var(--surface));
  color: var(--ui-ink, var(--text-primary));
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}
.personal-setting-form__control select:hover {
  border-color: var(--ui-ink-muted, var(--text-muted));
}
.personal-setting-form__control small {
  grid-column: 1 / -1;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.personal-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-sm, 0.5rem);
  background: var(--ui-surface, var(--surface));
  color: var(--ui-ink, var(--text-primary));
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}
.personal-button:hover {
  border-color: var(--ui-line-strong, var(--border-light));
  background: var(--ui-surface-subtle, var(--surface-muted));
}
.personal-button:active {
  transform: translateY(1px);
}
.personal-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.personal-button svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}
.personal-button--primary {
  border-color: var(--ui-solid, #182235);
  background: var(--ui-solid, #182235);
  color: var(--workspace-solid-fg, #f8fafc);
}
.personal-button--primary:hover {
  border-color: var(--ui-solid-hover, #22314a);
  background: var(--ui-solid-hover, #22314a);
  color: var(--workspace-solid-fg, #f8fafc);
}
.personal-setting-form > .alert-error,
.personal-setting-form > .alert-success,
.personal-setting-form > [role="alert"] {
  grid-column: 2 / -1;
  margin: 0;
}
.personal-export {
  padding: clamp(1rem, 3vw, 1.5rem);
}
.personal-export__description {
  max-width: 44rem;
  margin: 0;
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: 0.875rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.personal-export__contents {
  margin: 1.25rem 0 0;
  padding: 1.25rem 0;
  border-block: 1px solid var(--ui-line, var(--border-light));
}
.personal-export__contents h2,
.personal-note h2 {
  margin: 0;
  color: var(--ui-ink, var(--text-primary));
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.personal-export__contents ul {
  display: grid;
  gap: 0.625rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.personal-export__contents li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: 0.8125rem;
  line-height: 1.5;
}
.personal-export__contents li > span {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 0.0625rem;
  color: var(--ui-accent-strong, var(--primary));
}
.personal-export__contents li svg {
  width: 0.875rem;
  height: 0.875rem;
}
.personal-note {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-sm, 0.5rem);
  background: var(--ui-surface-subtle, var(--surface-muted));
}
.personal-note__icon {
  border-color: transparent;
  background: var(--ui-surface, var(--surface));
  color: var(--ui-accent-strong, var(--primary));
}
.personal-note p {
  max-width: 42rem;
  margin: 0.3125rem 0 0;
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: 0.75rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.personal-export__action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.personal-export__action > span {
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  line-height: 1.4;
}
.personal-page :is(a, button, select):focus-visible {
  outline: 2px solid var(--ui-accent, var(--primary));
  outline-offset: 2px;
}
.personal-setting-form__control select:focus-visible {
  border-color: var(--ui-accent, var(--primary));
  box-shadow: 0 0 0 3px var(--ui-focus-halo, transparent);
}
@media (max-width: 48rem) {
  .personal-setting-form {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
  .personal-setting-form__control {
    grid-column: 2;
  }
  .personal-setting-form__control select,
  .personal-setting-form__control .personal-button {
    min-height: var(--ql-touch-target, 2.75rem);
  }
  .personal-setting-form > .alert-error,
  .personal-setting-form > .alert-success,
  .personal-setting-form > [role="alert"] {
    grid-column: 2;
  }
}
@media (max-width: 36rem) {
  .personal-page {
    padding: 4.25rem 0.75rem 2.25rem;
  }
  .personal-page__header {
    margin-bottom: 1.5rem;
  }
  .personal-page__header h1 {
    font-size: 1.875rem;
  }
  .personal-ledger__row {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    min-height: 5rem;
    gap: 0.75rem;
    padding-inline: 0.75rem;
  }
  .personal-setting-form {
    gap: 0.75rem;
    padding: 0.875rem 0.75rem;
  }
  .personal-setting-form__control {
    grid-column: 1 / -1;
  }
  .personal-setting-form > .alert-error,
  .personal-setting-form > .alert-success,
  .personal-setting-form > [role="alert"] {
    grid-column: 1 / -1;
  }
}
@media (max-width: 31rem) {
  .personal-setting-form__control {
    grid-template-columns: 1fr;
  }
  .personal-setting-form__control small {
    grid-column: 1;
  }
  .personal-export__action {
    align-items: stretch;
    flex-direction: column;
  }
  .personal-export__action .personal-button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .personal-page__back,
  .personal-page__back svg,
  .personal-ledger__row,
  .personal-ledger__arrow,
  .personal-setting-form__control select,
  .personal-button {
    transition: none;
  }
}
.announcements-shell-main {
  background: var(--ui-canvas, var(--workspace-canvas));
}
.announcements-page {
  width: min(100%, 68rem);
  color: var(--ui-ink, var(--text-primary));
}
.announcements-feed,
.announcements-feed > *,
.announcements-feed rui-crud,
.announcements-feed rui-table {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.announcements-feed .rui-crud {
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.announcements-feed .rui-results {
  gap: 0.8rem;
}
.announcements-feed .admin-toolbar {
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.3rem;
}
.announcements-feed .admin-toolbar__search-form {
  max-width: 24rem;
}
.announcements-feed .admin-toolbar__search-input {
  min-height: 2.75rem;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-sm, 0.5rem);
  background: var(--ui-surface, var(--surface));
  box-shadow: none;
  color: var(--ui-ink, var(--text-primary));
}
.announcements-feed .admin-toolbar__search-input:hover {
  border-color: var(--ui-line-strong, var(--border-light));
}
.announcements-feed .admin-toolbar__search-input:focus {
  border-color: var(--ui-accent, var(--primary));
  box-shadow: 0 0 0 3px var(--ui-focus-halo, transparent);
}
.announcements-feed .admin-filters-panel__summary {
  min-height: 2.75rem;
  padding: 0.375rem 0;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  font-weight: 650;
}
.announcements-feed .admin-filters-panel__summary:hover {
  color: var(--ui-ink, var(--text-primary));
}
.announcements-feed .admin-filters-panel__body {
  margin-top: 0.65rem;
  padding: 0.95rem;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-lg, 0.75rem);
  background: var(--ui-surface, var(--surface));
}
.announcements-feed .rui-table-header {
  align-items: flex-end;
  gap: 1rem;
  margin-top: 0.45rem;
}
.announcements-feed .rui-table-title {
  color: var(--ui-ink, var(--text-primary));
  font-size: 0.92rem;
  font-weight: 720;
  letter-spacing: -0.015em;
}
.announcements-feed .rui-table-meta {
  margin-top: 0.18rem;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.72rem;
}
.announcements-feed .rui-table-flow {
  margin-top: 0.75rem;
}
.announcements-feed .rui-table-overflow,
.announcements-feed .rui-table-inner {
  margin: 0;
  padding: 0;
}
.announcements-feed .rui-table-box {
  overflow: hidden;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-lg, 0.75rem);
  background: var(--ui-surface, var(--surface));
  box-shadow: 0 1px 2px color-mix(in oklab, #09090b 4%, transparent);
}
.announcements-feed .rui-data-table {
  table-layout: fixed;
}
.announcements-feed .rui-data-table thead {
  border-bottom-color: var(--ui-line, var(--border-light));
  background: var(--ui-surface-subtle, var(--surface-muted));
}
.announcements-feed .rui-th {
  padding: 0.64rem 1rem;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.095em;
}
.announcements-feed .rui-td {
  height: 4.7rem;
  padding: 0.78rem 1rem;
  color: var(--ui-ink-secondary, var(--text-secondary));
  vertical-align: middle;
  white-space: normal;
}
.announcements-feed .rui-td:nth-child(2) {
  width: auto;
}
.announcements-feed .rui-td--actions,
.announcements-feed .rui-th--actions {
  width: 9.5rem;
  padding-right: 0.9rem;
}
.announcements-feed .rui-data-table tbody tr + tr {
  border-top-color: var(--ui-line, var(--border-light));
}
.announcements-feed .rui-data-table tbody tr:nth-child(2n) {
  background: transparent;
}
.announcements-feed .rui-row {
  position: relative;
  background: var(--ui-surface, var(--surface));
  transition:
    background-color 0.11s var(--ui-ease, ease),
    box-shadow 0.11s var(--ui-ease, ease);
}
.announcements-feed .rui-row:hover {
  background: var(--ui-surface-subtle, var(--surface-muted));
}
.announcements-feed .rui-row.announcement-row--unread {
  background: color-mix(
    in oklab,
    var(--ui-accent-soft, var(--surface-muted)) 52%,
    var(--ui-surface, var(--surface))
  );
  box-shadow: inset 2px 0 var(--ui-accent, var(--primary));
}
.announcements-feed .rui-row.announcement-row--unread:hover {
  background: color-mix(
    in oklab,
    var(--ui-accent-soft, var(--surface-muted)) 70%,
    var(--ui-surface, var(--surface))
  );
}
.announcements-feed .rui-col-value {
  max-width: none;
  overflow: visible;
  white-space: normal;
}
.announcement-date {
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.015em;
}
.announcement-title-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.72rem;
}
.announcement-title-cell__signal {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border: 1px solid var(--ui-line-strong, var(--border-light));
  border-radius: 50%;
  background: transparent;
}
.announcement-title-cell[data-read-state="unread"] .announcement-title-cell__signal {
  border-color: var(--ui-accent, var(--primary));
  background: var(--ui-accent, var(--primary));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ui-accent, var(--primary)) 10%, transparent);
}
.announcement-title-cell__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.58rem;
}
.announcement-title-cell__title {
  min-width: 0;
  overflow: hidden;
  color: var(--ui-ink, var(--text-primary));
  font-size: 0.86rem;
  font-weight: 590;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.announcement-row--unread .announcement-title-cell__title {
  font-weight: 720;
}
.announcement-title-cell__badge {
  flex: 0 0 auto;
  padding: 0.14rem 0.42rem;
  border: 1px solid var(--ui-accent-line, var(--border-light));
  border-radius: 999px;
  background: var(--ui-accent-soft, var(--surface-muted));
  color: var(--ui-accent-strong, var(--primary));
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}
.announcements-feed .rui-row-actions {
  opacity: 1;
}
.announcement-open-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--ui-radius-sm, 0.5rem);
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: 0.75rem;
  font-weight: 680;
  text-decoration: none;
  transition:
    border-color 0.11s ease,
    background-color 0.11s ease,
    color 0.11s ease;
}
.announcement-open-button svg {
  width: 0.88rem;
  height: 0.88rem;
  transition: transform 0.11s var(--ui-ease, ease);
}
.announcement-open-button:hover {
  border-color: var(--ui-line, var(--border-light));
  background: var(--ui-surface, var(--surface));
  color: var(--ui-accent-strong, var(--primary));
}
.announcement-open-button:hover svg {
  transform: translate(2px);
}
.announcements-feed .rui-table-footer {
  margin-top: 0.85rem;
}
.announcements-feed .admin-empty-state {
  border-color: var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-lg, 0.75rem);
  background: var(--ui-surface, var(--surface));
  box-shadow: none;
}
.announcements-state-wrap {
  max-width: 42rem;
}
.announcements-page--detail {
  width: min(100%, 68rem);
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 4rem;
}
.announcement-detail {
  width: min(100%, 48rem);
  margin-inline: auto;
}
.announcement-detail__back {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: var(--ui-radius-sm, 0.5rem);
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.8125rem;
  font-weight: 660;
  text-decoration: none;
  transition: color 0.11s ease;
}
.announcement-detail__back:hover {
  color: var(--ui-ink, var(--text-primary));
}
.announcement-detail__back svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.11s var(--ui-ease, ease);
}
.announcement-detail__back:hover svg {
  transform: translate(-2px);
}
.announcement-detail__header {
  padding-bottom: clamp(1.4rem, 3vw, 2rem);
  border-bottom: 1px solid var(--ui-line, var(--border-light));
}
.announcement-detail__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin-bottom: 0.8rem;
}
.announcement-detail__channel,
.announcement-detail__published {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  font-weight: 660;
  letter-spacing: 0.025em;
}
.announcement-detail__channel > span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--ui-accent, var(--primary));
}
.announcement-detail__published svg {
  width: 0.86rem;
  height: 0.86rem;
}
.announcement-detail__header h1 {
  max-width: 22ch;
  margin: 0;
  color: var(--ui-ink, var(--text-primary));
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 710;
  line-height: 1.08;
  letter-spacing: -0.052em;
  overflow-wrap: anywhere;
}
.announcement-detail__media {
  overflow: hidden;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-lg, 0.75rem);
  background: var(--ui-surface-subtle, var(--surface-muted));
}
.announcement-detail__media img {
  display: block;
  width: 100%;
  max-height: 30rem;
  object-fit: cover;
}
.announcement-detail__content {
  width: min(100%, 42rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.announcement-detail__prose {
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: clamp(0.96rem, 0.92rem + 0.15vw, 1.03rem);
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.announcement-detail__prose > :first-child {
  margin-top: 0;
}
.announcement-detail__prose > :last-child {
  margin-bottom: 0;
}
.announcement-detail__prose :is(h2, h3, h4) {
  margin: 2em 0 0.65em;
  color: var(--ui-ink, var(--text-primary));
  font-weight: 710;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.announcement-detail__prose h2 {
  font-size: 1.35rem;
}
.announcement-detail__prose h3 {
  font-size: 1.1rem;
}
.announcement-detail__prose :is(p, ul, ol, blockquote, table) {
  margin: 1em 0;
}
.announcement-detail__prose :is(ul, ol) {
  padding-left: 1.25rem;
}
.announcement-detail__prose li + li {
  margin-top: 0.35rem;
}
.announcement-detail__prose a {
  color: var(--ui-accent-strong, var(--primary));
  font-weight: 620;
  text-decoration: underline;
  text-decoration-color: var(--ui-accent-line, currentColor);
  text-underline-offset: 0.18em;
}
.announcement-detail__prose blockquote {
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 2px solid var(--ui-accent, var(--primary));
  color: var(--ui-ink-muted, var(--text-muted));
}
.announcement-detail__prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ui-radius, 0.625rem);
}
.announcement-detail__prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.announcement-detail__prose :is(th, td) {
  padding: 0.58rem 0.7rem;
  border: 1px solid var(--ui-line, var(--border-light));
  text-align: left;
}
.announcement-detail__author {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.72rem;
  margin-top: clamp(2rem, 5vw, 3.25rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--ui-line, var(--border-light));
}
.announcement-detail__author-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: var(--ui-radius-sm, 0.5rem);
  background: var(--ui-accent-soft, var(--surface-muted));
  color: var(--ui-accent-strong, var(--primary));
}
.announcement-detail__author-mark svg {
  width: 1rem;
  height: 1rem;
}
.announcement-detail__author p {
  margin: 0 0 0.18rem;
  color: var(--ui-ink-muted, var(--text-muted));
  font-size: 0.75rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.announcement-detail__author div > div {
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: 0.8rem;
  line-height: 1.5;
}
.announcement-state {
  display: grid;
  width: min(100%, 42rem);
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.9rem 1rem;
  margin: clamp(2rem, 8vw, 6rem) auto 0;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--ui-line, var(--border-light));
  border-radius: var(--ui-radius-lg, 0.75rem);
  background: var(--ui-surface, var(--surface));
  box-shadow: 0 1px 2px color-mix(in oklab, #09090b 4%, transparent);
}
.announcement-state__mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: var(--ui-radius, 0.625rem);
  background: var(--ui-accent-soft, var(--surface-muted));
  color: var(--ui-accent-strong, var(--primary));
}
.announcement-state__mark svg {
  width: 1.2rem;
  height: 1.2rem;
}
.announcement-state__copy {
  min-width: 0;
}
.announcement-state h1 {
  margin: 0;
  color: var(--ui-ink, var(--text-primary));
  font-size: 1.12rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}
.announcement-state__copy > p:last-child {
  max-width: 48ch;
  margin: 0.42rem 0 0;
  color: var(--ui-ink-secondary, var(--text-secondary));
  font-size: 0.8rem;
  line-height: 1.55;
}
.announcement-state > .workspace-button {
  grid-column: 2;
  width: fit-content;
}
.announcements-page :is(a, button, input, summary):focus-visible,
.announcement-detail :is(a, button):focus-visible {
  outline: 2px solid var(--ui-accent, var(--primary));
  outline-offset: 2px;
}
.announcement-open-button:active,
.announcement-detail__back:active {
  color: var(--ui-accent-strong, var(--primary));
}
.announcement-open-button[aria-disabled="true"],
.announcement-open-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
@media (max-width: 47.99rem) {
  .announcements-feed .admin-toolbar__search-form {
    max-width: none;
  }
  .announcements-feed .rui-table-header {
    align-items: flex-start;
  }
  .announcements-feed .rui-table-box {
    border-radius: var(--ui-radius-lg, 0.75rem);
  }
  .announcements-feed .rui-data-table,
  .announcements-feed .rui-data-table tbody {
    display: block;
    width: 100%;
  }
  .announcements-feed .rui-data-table thead {
    display: none;
  }
  .announcements-feed .rui-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title action" "date action";
    min-height: 5.5rem;
    align-items: center;
    gap: 0.18rem 0.75rem;
    padding: 0.82rem 0.8rem;
  }
  .announcements-feed .rui-td {
    display: block;
    width: auto;
    height: auto;
    padding: 0;
  }
  .announcements-feed .rui-td:nth-child(1) {
    grid-area: date;
    padding-left: 1.15rem;
  }
  .announcements-feed .rui-td:nth-child(2) {
    grid-area: title;
  }
  .announcements-feed .rui-td--actions {
    grid-area: action;
    width: auto;
  }
  .announcement-title-cell__copy {
    flex-wrap: wrap;
  }
  .announcement-title-cell__title {
    max-width: 100%;
    white-space: normal;
  }
  .announcement-open-button {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-color: var(--ui-line, var(--border-light));
    background: var(--ui-surface, var(--surface));
  }
  .announcement-open-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .announcement-detail__header h1 {
    max-width: none;
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }
  .announcement-state {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    margin-top: 1.5rem;
  }
  .announcement-state__mark {
    width: 2.5rem;
    height: 2.5rem;
  }
}
@media (max-width: 31rem) {
  .announcement-state {
    grid-template-columns: 1fr;
  }
  .announcement-state > .workspace-button {
    grid-column: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .announcement-open-button,
  .announcement-open-button svg,
  .announcement-detail__back,
  .announcement-detail__back svg,
  .announcements-feed .rui-row {
    transition: none;
  }
}
