/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@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-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;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: var(--font-sans);
    --font-mono: var(--font-mono);
    --color-orange-50: oklch(98% .016 73.684);
    --color-orange-100: oklch(95.4% .038 75.164);
    --color-orange-200: oklch(90.1% .076 70.697);
    --color-orange-700: oklch(55.3% .195 38.402);
    --color-green-600: oklch(62.7% .194 149.214);
    --color-green-700: oklch(52.7% .154 150.069);
    --color-purple-100: oklch(94.6% .033 307.174);
    --color-purple-700: oklch(49.6% .265 301.924);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-white: #fff;
    --spacing: .25rem;
    --container-sm: 24rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -.025em;
    --tracking-wide: .025em;
    --tracking-wider: .05em;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-relaxed: 1.625;
    --radius-xs: var(--radius-xs);
    --radius-sm: var(--radius-sm);
    --radius-md: var(--radius-md);
    --radius-lg: var(--radius-lg);
    --radius-xl: var(--radius-xl);
    --radius-2xl: var(--radius-2xl);
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --font-display: var(--font-display);
    --radius-pill: var(--radius-pill);
  }
}

@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, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;
    -webkit-text-decoration: 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: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    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 {
  .\@container {
    container-type: inline-size;
  }

  .pointer-events-none {
    pointer-events: none;
  }

  .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;
  }

  .isolate {
    isolation: isolate;
  }

  .isolation-auto {
    isolation: auto;
  }

  .z-50 {
    z-index: 50;
  }

  .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;
    }
  }

  .-mx-1 {
    margin-inline: calc(var(--spacing) * -1);
  }

  .mx-auto {
    margin-inline: auto;
  }

  .my-1 {
    margin-block: var(--spacing);
  }

  .mt-0\.5 {
    margin-top: calc(var(--spacing) * .5);
  }

  .mt-1 {
    margin-top: var(--spacing);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }

  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }

  .mr-1 {
    margin-right: var(--spacing);
  }

  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }

  .mb-1 {
    margin-bottom: var(--spacing);
  }

  .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-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }

  .ml-1 {
    margin-left: var(--spacing);
  }

  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }

  .ml-3 {
    margin-left: calc(var(--spacing) * 3);
  }

  .line-clamp-2 {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .flow-root {
    display: flow-root;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .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-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;
  }

  .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-16 {
    height: calc(var(--spacing) * 16);
  }

  .h-\[1px\] {
    height: 1px;
  }

  .h-\[280px\] {
    height: 280px;
  }

  .h-\[300px\] {
    height: 300px;
  }

  .h-full {
    height: 100%;
  }

  .h-px {
    height: 1px;
  }

  .max-h-0 {
    max-height: 0;
  }

  .max-h-56 {
    max-height: calc(var(--spacing) * 56);
  }

  .max-h-96 {
    max-height: calc(var(--spacing) * 96);
  }

  .max-h-\[600px\] {
    max-height: 600px;
  }

  .min-h-\[120px\] {
    min-height: 120px;
  }

  .w-1\/3 {
    width: 33.3333%;
  }

  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }

  .w-4 {
    width: calc(var(--spacing) * 4);
  }

  .w-5 {
    width: calc(var(--spacing) * 5);
  }

  .w-6 {
    width: calc(var(--spacing) * 6);
  }

  .w-8 {
    width: calc(var(--spacing) * 8);
  }

  .w-10 {
    width: calc(var(--spacing) * 10);
  }

  .w-11 {
    width: calc(var(--spacing) * 11);
  }

  .w-16 {
    width: calc(var(--spacing) * 16);
  }

  .w-24 {
    width: calc(var(--spacing) * 24);
  }

  .w-32 {
    width: calc(var(--spacing) * 32);
  }

  .w-48 {
    width: calc(var(--spacing) * 48);
  }

  .w-80 {
    width: calc(var(--spacing) * 80);
  }

  .w-\[1px\] {
    width: 1px;
  }

  .w-fit {
    width: fit-content;
  }

  .w-full {
    width: 100%;
  }

  .max-w-\[260px\] {
    max-width: 260px;
  }

  .max-w-sm {
    max-width: var(--container-sm);
  }

  .min-w-0 {
    min-width: 0;
  }

  .min-w-\[8rem\] {
    min-width: 8rem;
  }

  .min-w-max {
    min-width: max-content;
  }

  .flex-1 {
    flex: 1;
  }

  .flex-shrink-0 {
    flex-shrink: 0;
  }

  .shrink {
    flex-shrink: 1;
  }

  .shrink-0 {
    flex-shrink: 0;
  }

  .grow {
    flex-grow: 1;
  }

  .border-collapse {
    border-collapse: collapse;
  }

  .translate-x-0 {
    --tw-translate-x: 0px;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .translate-x-5 {
    --tw-translate-x: calc(var(--spacing) * 5);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .translate-none {
    translate: none;
  }

  .scale-3d {
    scale: var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z);
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .animate-pulse {
    animation: var(--animate-pulse);
  }

  .animate-spin {
    animation: var(--animate-spin);
  }

  .cursor-default {
    cursor: default;
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .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;
  }

  .auto-rows-fr {
    grid-auto-rows: minmax(0, 1fr);
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .items-center {
    align-items: center;
  }

  .items-end {
    align-items: flex-end;
  }

  .items-start {
    align-items: flex-start;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

  .justify-end {
    justify-content: flex-end;
  }

  .gap-1 {
    gap: var(--spacing);
  }

  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
    margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-1\.5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1.5) * 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-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-8 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-reverse > :not(:last-child)) {
    --tw-space-y-reverse: 1;
  }

  .gap-x-4 {
    column-gap: calc(var(--spacing) * 4);
  }

  :where(.space-x-reverse > :not(:last-child)) {
    --tw-space-x-reverse: 1;
  }

  .gap-y-4 {
    row-gap: calc(var(--spacing) * 4);
  }

  :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;
  }

  :where(.divide-border > :not(:last-child)) {
    border-color: hsl(var(--border));
  }

  :where(.divide-gray-100 > :not(:last-child)) {
    border-color: var(--color-gray-100);
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .overflow-x-auto {
    overflow-x: auto;
  }

  .overflow-y-auto {
    overflow-y: auto;
  }

  .rounded {
    border-radius: .25rem;
  }

  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .rounded-md {
    border-radius: var(--radius-md);
  }

  .rounded-sm {
    border-radius: var(--radius-sm);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .rounded-s {
    border-start-start-radius: .25rem;
    border-end-start-radius: .25rem;
  }

  .rounded-ss {
    border-start-start-radius: .25rem;
  }

  .rounded-e {
    border-start-end-radius: .25rem;
    border-end-end-radius: .25rem;
  }

  .rounded-se {
    border-start-end-radius: .25rem;
  }

  .rounded-ee {
    border-end-end-radius: .25rem;
  }

  .rounded-es {
    border-end-start-radius: .25rem;
  }

  .rounded-t {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
  }

  .rounded-l {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
  }

  .rounded-tl {
    border-top-left-radius: .25rem;
  }

  .rounded-r {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
  }

  .rounded-tr {
    border-top-right-radius: .25rem;
  }

  .rounded-b {
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
  }

  .rounded-br {
    border-bottom-right-radius: .25rem;
  }

  .rounded-bl {
    border-bottom-left-radius: .25rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }

  .border-4 {
    border-style: var(--tw-border-style);
    border-width: 4px;
  }

  .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-bs {
    border-block-start-style: var(--tw-border-style);
    border-block-start-width: 1px;
  }

  .border-be {
    border-block-end-style: var(--tw-border-style);
    border-block-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-b-2 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 2px;
  }

  .border-l {
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
  }

  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }

  .border-border, .border-border\/40 {
    border-color: hsl(var(--border));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-border\/40 {
      border-color: color-mix(in oklab, hsl(var(--border)) 40%, transparent);
    }
  }

  .border-border\/50 {
    border-color: hsl(var(--border));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-border\/50 {
      border-color: color-mix(in oklab, hsl(var(--border)) 50%, transparent);
    }
  }

  .border-destructive\/20 {
    border-color: hsl(var(--destructive));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-destructive\/20 {
      border-color: color-mix(in oklab, hsl(var(--destructive)) 20%, transparent);
    }
  }

  .border-destructive\/30 {
    border-color: hsl(var(--destructive));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-destructive\/30 {
      border-color: color-mix(in oklab, hsl(var(--destructive)) 30%, transparent);
    }
  }

  .border-input {
    border-color: hsl(var(--input));
  }

  .border-orange-200 {
    border-color: var(--color-orange-200);
  }

  .border-primary\/10 {
    border-color: hsl(var(--primary));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-primary\/10 {
      border-color: color-mix(in oklab, hsl(var(--primary)) 10%, transparent);
    }
  }

  .border-primary\/20 {
    border-color: hsl(var(--primary));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-primary\/20 {
      border-color: color-mix(in oklab, hsl(var(--primary)) 20%, transparent);
    }
  }

  .border-success\/30 {
    border-color: hsl(var(--success));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-success\/30 {
      border-color: color-mix(in oklab, hsl(var(--success)) 30%, transparent);
    }
  }

  .border-transparent {
    border-color: #0000;
  }

  .border-warning\/40 {
    border-color: hsl(var(--warning));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-warning\/40 {
      border-color: color-mix(in oklab, hsl(var(--warning)) 40%, transparent);
    }
  }

  .border-t-primary {
    border-top-color: hsl(var(--primary));
  }

  .bg-background {
    background-color: hsl(var(--background));
  }

  .bg-border {
    background-color: hsl(var(--border));
  }

  .bg-card {
    background-color: hsl(var(--card));
  }

  .bg-destructive\/10 {
    background-color: hsl(var(--destructive));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-destructive\/10 {
      background-color: color-mix(in oklab, hsl(var(--destructive)) 10%, transparent);
    }
  }

  .bg-destructive\/20 {
    background-color: hsl(var(--destructive));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-destructive\/20 {
      background-color: color-mix(in oklab, hsl(var(--destructive)) 20%, transparent);
    }
  }

  .bg-green-600 {
    background-color: var(--color-green-600);
  }

  .bg-muted, .bg-muted\/30 {
    background-color: hsl(var(--muted));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-muted\/30 {
      background-color: color-mix(in oklab, hsl(var(--muted)) 30%, transparent);
    }
  }

  .bg-muted\/40 {
    background-color: hsl(var(--muted));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-muted\/40 {
      background-color: color-mix(in oklab, hsl(var(--muted)) 40%, transparent);
    }
  }

  .bg-muted\/50 {
    background-color: hsl(var(--muted));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-muted\/50 {
      background-color: color-mix(in oklab, hsl(var(--muted)) 50%, transparent);
    }
  }

  .bg-muted\/80 {
    background-color: hsl(var(--muted));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-muted\/80 {
      background-color: color-mix(in oklab, hsl(var(--muted)) 80%, transparent);
    }
  }

  .bg-orange-50 {
    background-color: var(--color-orange-50);
  }

  .bg-orange-100 {
    background-color: var(--color-orange-100);
  }

  .bg-popover {
    background-color: hsl(var(--popover));
  }

  .bg-primary\/5 {
    background-color: hsl(var(--primary));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-primary\/5 {
      background-color: color-mix(in oklab, hsl(var(--primary)) 5%, transparent);
    }
  }

  .bg-primary\/10 {
    background-color: hsl(var(--primary));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-primary\/10 {
      background-color: color-mix(in oklab, hsl(var(--primary)) 10%, transparent);
    }
  }

  .bg-purple-100 {
    background-color: var(--color-purple-100);
  }

  .bg-success\/10 {
    background-color: hsl(var(--success));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-success\/10 {
      background-color: color-mix(in oklab, hsl(var(--success)) 10%, transparent);
    }
  }

  .bg-success\/20 {
    background-color: hsl(var(--success));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-success\/20 {
      background-color: color-mix(in oklab, hsl(var(--success)) 20%, transparent);
    }
  }

  .bg-transparent {
    background-color: #0000;
  }

  .bg-warning\/10 {
    background-color: hsl(var(--warning));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-warning\/10 {
      background-color: color-mix(in oklab, hsl(var(--warning)) 10%, transparent);
    }
  }

  .bg-warning\/20 {
    background-color: hsl(var(--warning));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-warning\/20 {
      background-color: color-mix(in oklab, hsl(var(--warning)) 20%, transparent);
    }
  }

  .bg-repeat {
    background-repeat: repeat;
  }

  .mask-no-clip {
    -webkit-mask-clip: no-clip;
    mask-clip: no-clip;
  }

  .mask-repeat {
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
  }

  .p-1 {
    padding: var(--spacing);
  }

  .p-2 {
    padding: calc(var(--spacing) * 2);
  }

  .p-3 {
    padding: calc(var(--spacing) * 3);
  }

  .p-4 {
    padding: calc(var(--spacing) * 4);
  }

  .p-5 {
    padding: calc(var(--spacing) * 5);
  }

  .p-6 {
    padding: calc(var(--spacing) * 6);
  }

  .p-12 {
    padding: calc(var(--spacing) * 12);
  }

  .px-1 {
    padding-inline: var(--spacing);
  }

  .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-6 {
    padding-inline: calc(var(--spacing) * 6);
  }

  .py-0 {
    padding-block: 0;
  }

  .py-0\.5 {
    padding-block: calc(var(--spacing) * .5);
  }

  .py-1 {
    padding-block: var(--spacing);
  }

  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }

  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }

  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }

  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }

  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }

  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }

  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }

  .pt-5 {
    padding-top: calc(var(--spacing) * 5);
  }

  .pr-1 {
    padding-right: var(--spacing);
  }

  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }

  .pl-8 {
    padding-left: calc(var(--spacing) * 8);
  }

  .text-center {
    text-align: center;
  }

  .text-left {
    text-align: left;
  }

  .text-right {
    text-align: right;
  }

  .font-display {
    font-family: var(--font-display);
  }

  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }

  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }

  .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-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .text-\[9px\] {
    font-size: 9px;
  }

  .text-\[10px\] {
    font-size: 10px;
  }

  .text-\[11px\] {
    font-size: 11px;
  }

  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }

  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }

  .leading-snug {
    --tw-leading: var(--leading-snug);
    line-height: var(--leading-snug);
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .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-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }

  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }

  .tracking-wider {
    --tw-tracking: var(--tracking-wider);
    letter-spacing: var(--tracking-wider);
  }

  .text-wrap {
    text-wrap: wrap;
  }

  .text-clip {
    text-overflow: clip;
  }

  .text-ellipsis {
    text-overflow: ellipsis;
  }

  .whitespace-normal {
    white-space: normal;
  }

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }

  .text-card-foreground, .text-card-foreground\/50 {
    color: hsl(var(--card-foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .text-card-foreground\/50 {
      color: color-mix(in oklab, hsl(var(--card-foreground)) 50%, transparent);
    }
  }

  .text-destructive {
    color: hsl(var(--destructive));
  }

  .text-foreground, .text-foreground\/70 {
    color: hsl(var(--foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .text-foreground\/70 {
      color: color-mix(in oklab, hsl(var(--foreground)) 70%, transparent);
    }
  }

  .text-foreground\/80 {
    color: hsl(var(--foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .text-foreground\/80 {
      color: color-mix(in oklab, hsl(var(--foreground)) 80%, transparent);
    }
  }

  .text-muted-foreground {
    color: hsl(var(--muted-foreground));
  }

  .text-orange-700 {
    color: var(--color-orange-700);
  }

  .text-popover-foreground {
    color: hsl(var(--popover-foreground));
  }

  .text-primary {
    color: hsl(var(--primary));
  }

  .text-purple-700 {
    color: var(--color-purple-700);
  }

  .text-success {
    color: hsl(var(--success));
  }

  .text-warning {
    color: hsl(var(--warning));
  }

  .text-white {
    color: var(--color-white);
  }

  .capitalize {
    text-transform: capitalize;
  }

  .lowercase {
    text-transform: lowercase;
  }

  .normal-case {
    text-transform: none;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .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;
  }

  .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-60 {
    opacity: .6;
  }

  .opacity-70 {
    opacity: .7;
  }

  .opacity-75 {
    opacity: .75;
  }

  .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-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);
  }

  .ring {
    --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-0 {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(0px + 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);
  }

  .inset-ring {
    --tw-inset-ring-shadow: inset 0 0 0 1px var(--tw-inset-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-offset-background {
    --tw-ring-offset-color: hsl(var(--background));
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .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, );
  }

  .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, );
  }

  .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-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-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));
  }

  .duration-200 {
    --tw-duration: .2s;
    transition-duration: .2s;
  }

  .duration-300 {
    --tw-duration: .3s;
    transition-duration: .3s;
  }

  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }

  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }

  .select-none {
    -webkit-user-select: none;
    user-select: none;
  }

  :where(.divide-x-reverse > :not(:last-child)) {
    --tw-divide-x-reverse: 1;
  }

  .ring-inset {
    --tw-ring-inset: inset;
  }

  @media (hover: hover) {
    .group-hover\:bg-primary\/5:is(:where(.group):hover *) {
      background-color: hsl(var(--primary));
    }

    @supports (color: color-mix(in lab, red, red)) {
      .group-hover\:bg-primary\/5:is(:where(.group):hover *) {
        background-color: color-mix(in oklab, hsl(var(--primary)) 5%, transparent);
      }
    }

    .group-hover\:text-muted-foreground:is(:where(.group):hover *) {
      color: hsl(var(--muted-foreground));
    }

    .group-hover\:text-primary:is(:where(.group):hover *) {
      color: hsl(var(--primary));
    }
  }

  .peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled ~ *) {
    cursor: not-allowed;
  }

  .peer-disabled\:opacity-70:is(:where(.peer):disabled ~ *) {
    opacity: .7;
  }

  .placeholder\:text-muted-foreground::placeholder {
    color: hsl(var(--muted-foreground));
  }

  @media (hover: hover) {
    .hover\:border-primary\/50:hover {
      border-color: hsl(var(--primary));
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:border-primary\/50:hover {
        border-color: color-mix(in oklab, hsl(var(--primary)) 50%, transparent);
      }
    }

    .hover\:bg-green-700:hover {
      background-color: var(--color-green-700);
    }

    .hover\:bg-muted:hover {
      background-color: hsl(var(--muted));
    }

    .hover\:bg-primary\/5:hover {
      background-color: hsl(var(--primary));
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-primary\/5:hover {
        background-color: color-mix(in oklab, hsl(var(--primary)) 5%, transparent);
      }
    }

    .hover\:bg-primary\/10:hover {
      background-color: hsl(var(--primary));
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-primary\/10:hover {
        background-color: color-mix(in oklab, hsl(var(--primary)) 10%, transparent);
      }
    }

    .hover\:text-destructive:hover {
      color: hsl(var(--destructive));
    }

    .hover\:underline:hover {
      text-decoration-line: underline;
    }

    .hover\:shadow-md:hover {
      --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);
    }
  }

  .focus\:bg-accent:focus {
    background-color: hsl(var(--accent));
  }

  .focus\:text-accent-foreground:focus {
    color: hsl(var(--accent-foreground));
  }

  .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-ring:focus {
    --tw-ring-color: hsl(var(--ring));
  }

  .focus\:ring-offset-2:focus {
    --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);
  }

  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }

  .focus-visible\:ring-1:focus-visible {
    --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-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-ring:focus-visible {
    --tw-ring-color: hsl(var(--ring));
  }

  .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);
  }

  .focus-visible\:outline-none:focus-visible {
    --tw-outline-style: none;
    outline-style: none;
  }

  .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
  }

  .disabled\:opacity-50:disabled {
    opacity: .5;
  }

  .data-\[disabled\]\:pointer-events-none[data-disabled] {
    pointer-events: none;
  }

  .data-\[disabled\]\:opacity-50[data-disabled] {
    opacity: .5;
  }

  .data-\[state\=open\]\:bg-accent[data-state="open"] {
    background-color: hsl(var(--accent));
  }

  @media (min-width: 40rem) {
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, 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;
    }
  }

  @media (min-width: 48rem) {
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (min-width: 64rem) {
    .lg\:mt-0 {
      margin-top: 0;
    }

    .lg\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-5 {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .lg\:gap-x-8 {
      column-gap: calc(var(--spacing) * 8);
    }

    .lg\:border-t-0 {
      border-top-style: var(--tw-border-style);
      border-top-width: 0;
    }

    .lg\:pt-0 {
      padding-top: 0;
    }
  }
}

:root {
  --tv-orange: #f8a324;
  --tv-orange-warm: #ffba07;
  --tv-orange-soft: #fecf6e;
  --tv-orange-deep: #d28d05;
  --tv-purple-light: #8869af;
  --tv-purple-mid: #6b4d93;
  --tv-purple: #5b407f;
  --tv-purple-deep: #3f2b5c;
  --tv-blue-mid: #2661af;
  --tv-blue: #0d46ab;
  --tv-teal: #2a7884;
  --tv-teal-bright: #11dddb;
  --tv-black: #111523;
  --tv-ink: #322927;
  --tv-gray-500: #6a6b7a;
  --tv-gray-300: #9d9386;
  --tv-gray-200: #bdbdbd;
  --tv-cool-100: #d7e4e5;
  --tv-sand-100: #e0dad3;
  --tv-sand-200: #cfc8b9;
  --tv-sand-300: #b5ab9b;
  --tv-white: #fff;
  --tv-gray-900: var(--tv-black);
  --tv-gray-700: var(--tv-ink);
  --tv-gray-100: var(--tv-cool-100);
  --tv-gradient-brand: linear-gradient(180deg, var(--tv-purple) 0%, var(--tv-blue-mid) 100%);
  --tv-gradient-purple: linear-gradient(180deg, var(--tv-purple-light) 0%, var(--tv-purple-mid) 100%);
}

@supports (color: color-mix(in lab, red, red)) {
  :root {
    --tv-gradient-purple: linear-gradient(180deg, color-mix(in srgb, var(--tv-purple-light) 85%, transparent) 0%, color-mix(in srgb, var(--tv-purple-mid) 95%, transparent) 100%);
  }
}

:root {
  --tv-gradient-warm: linear-gradient(180deg, var(--tv-orange) 0%, var(--tv-orange-deep) 100%);
  --font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Open Sans", "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --step--2: .75rem;
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: 2.5rem;
  --step-5: 3rem;
  --step-6: 4.5rem;
  --step-7: 6rem;
  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-body: 1.55;
  --leading-loose: 1.7;
  --tracking-tight: -.02em;
  --tracking-normal: 0;
  --tracking-wide: .1em;
  --tracking-xwide: .24em;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px #1115230f, 0 1px 1px #1115230a;
  --shadow-md: 0 6px 18px #1115231a, 0 2px 4px #1115230d;
  --shadow-lg: 0 20px 40px #11152329, 0 6px 12px #11152314;
  --shadow-glow-orange: 0 0 0 1px #f8a32459, 0 10px 30px #f8a32440;
  --shadow-glow-purple: 0 0 0 1px #5b408066, 0 12px 36px #5b40804d;
  --shadow-glow-teal: 0 0 0 1px #11dddb4d, 0 8px 24px #11dddb33;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.64, 0, .78, 0);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .14s;
  --dur-base: .24s;
  --dur-slow: .42s;
  --bg-page: #fafaf7;
  --bg-paper: #f4f3ee;
  --surface: #fff;
  --fg-on-light: #111523;
  --fg-on-light-body: #322927;
  --fg-on-light-muted: #6a6b7a;
  --fg-mono-light: #1115238c;
  --border-on-light: #11152314;
  --accent-hover: var(--tv-orange-deep);
  --danger: #e2533a;
  --success-bg: #3bb58a29;
  --success-fg: #3bb58a;
  --warning-bg: #f8a3242e;
  --warning-fg: #8a5a07;
  --danger-bg: #e2533a29;
  --danger-fg: #9e3c28;
  --info-bg: #11dddb2e;
  --info-fg: #0b8684;
  --neutral-bg: #11152314;
  --neutral-fg: #111523;
  --conflict-ours-bg: #f8a3242e;
  --conflict-theirs-bg: #11dddb2e;
  --surface-l-1: #11152308;
  --surface-l-2: #1115230f;
  --surface-l-3: #1115231a;
}

:root, [data-theme="light"] {
  --primary: 35 94% 56%;
  --primary-foreground: 232 35% 11%;
  --background: 60 27% 98%;
  --foreground: 232 35% 11%;
  --card: 0 0% 100%;
  --card-foreground: 232 35% 11%;
  --popover: 0 0% 100%;
  --popover-foreground: 232 35% 11%;
  --secondary: 266 33% 38%;
  --secondary-foreground: 0 0% 100%;
  --muted: 40 10% 90%;
  --muted-foreground: 236 6% 45%;
  --accent: 35 94% 56%;
  --accent-foreground: 232 35% 11%;
  --destructive: 9 73% 55%;
  --destructive-foreground: 0 0% 100%;
  --success: 158 51% 47%;
  --success-foreground: 0 0% 100%;
  --warning: 35 94% 56%;
  --warning-foreground: 232 35% 11%;
  --info: 179 86% 47%;
  --info-foreground: 232 35% 11%;
  --border: 232 35% 11% / .1;
  --input: 232 35% 11% / .1;
  --ring: 43 100% 51%;
  --sidebar-background: 60 27% 98%;
  --sidebar-foreground: 232 35% 11%;
  --sidebar-primary: 35 94% 56%;
  --sidebar-primary-foreground: 232 35% 11%;
  --sidebar-accent: 40 10% 90%;
  --sidebar-accent-foreground: 232 35% 11%;
  --sidebar-border: 232 35% 11% / .1;
  --sidebar-ring: 43 100% 51%;
  --chart-1: 35 94% 56%;
  --chart-2: 188 52% 34%;
  --chart-3: 266 33% 38%;
  --chart-4: 218 85% 36%;
  --chart-5: 179 86% 47%;
  --radius: .75rem;
  --bg: #fafaf7;
  --bg-elevated: #fff;
  --bg-panel: #f4f3ee;
  --fg: #111523;
  --fg-muted: #111523ad;
  --fg-subtle: #11152373;
  --fg-mono-dark: #1115238c;
  --hairline: #11152314;
  --border-strong: #11152329;
  --accent-on-accent: #fff;
  --focus: var(--tv-orange-deep);
  --focus-ring: 0 0 0 2px var(--bg-page), 0 0 0 4px var(--tv-orange-deep);
  --focus-ring-light: 0 0 0 2px var(--bg-page), 0 0 0 4px var(--tv-orange-deep);
  --success-fg-on-dark: var(--success-fg);
  --warning-fg-on-dark: var(--warning-fg);
  --danger-fg-on-dark: var(--danger-fg);
  --info-fg-on-dark: var(--info-fg);
  --neutral-bg-on-dark: var(--neutral-bg);
  --neutral-fg-on-dark: var(--neutral-fg);
  --conflict-ours-fg: #8a5a07;
  --conflict-theirs-fg: #076b69;
  --surface-d-1: var(--surface-l-1);
  --surface-d-2: var(--surface-l-2);
  --surface-d-3: var(--surface-l-3);
  --surface-d-4: #11152324;
  color-scheme: light;
}

.dark, [data-theme="dark"] {
  --primary: 35 94% 56%;
  --primary-foreground: 232 35% 11%;
  --background: 233 38% 9%;
  --foreground: 0 0% 100%;
  --card: 233 31% 14%;
  --card-foreground: 0 0% 100%;
  --popover: 233 31% 14%;
  --popover-foreground: 0 0% 100%;
  --secondary: 266 33% 38%;
  --secondary-foreground: 0 0% 100%;
  --muted: 233 28% 17%;
  --muted-foreground: 0 0% 100% / .68;
  --accent: 35 94% 56%;
  --accent-foreground: 232 35% 11%;
  --destructive: 9 73% 55%;
  --destructive-foreground: 0 0% 100%;
  --success: 158 51% 47%;
  --success-foreground: 0 0% 100%;
  --warning: 35 94% 56%;
  --warning-foreground: 232 35% 11%;
  --info: 179 86% 47%;
  --info-foreground: 232 35% 11%;
  --border: 0 0% 100% / .1;
  --input: 0 0% 100% / .1;
  --ring: 43 100% 51%;
  --sidebar-background: 233 38% 9%;
  --sidebar-foreground: 0 0% 100%;
  --sidebar-primary: 35 94% 56%;
  --sidebar-primary-foreground: 232 35% 11%;
  --sidebar-accent: 233 28% 17%;
  --sidebar-accent-foreground: 0 0% 100%;
  --sidebar-border: 0 0% 100% / .1;
  --sidebar-ring: 43 100% 51%;
  --chart-1: 35 94% 58%;
  --chart-2: 179 86% 47%;
  --chart-3: 270 41% 60%;
  --chart-4: 218 85% 56%;
  --chart-5: 158 51% 55%;
  --radius: .75rem;
  --bg: #0e1020;
  --bg-elevated: #181a2e;
  --bg-panel: #1f223a;
  --fg: #fff;
  --fg-muted: #ffffffad;
  --fg-subtle: #ffffff73;
  --fg-mono-dark: #ffffff8c;
  --hairline: #ffffff1a;
  --border-strong: #ffffff38;
  --accent-on-accent: #111523;
  --focus: #ffba07;
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus);
  --focus-ring-light: 0 0 0 2px var(--bg-page), 0 0 0 4px var(--tv-orange-deep);
  --success-fg-on-dark: #5bd0a4;
  --warning-fg-on-dark: var(--tv-orange-warm);
  --danger-fg-on-dark: #f0816b;
  --info-fg-on-dark: var(--tv-teal-bright);
  --neutral-bg-on-dark: #ffffff1a;
  --neutral-fg-on-dark: var(--fg);
  --conflict-ours-fg: var(--tv-orange-warm);
  --conflict-theirs-fg: var(--tv-teal-bright);
  --surface-d-1: #ffffff0a;
  --surface-d-2: #ffffff0f;
  --surface-d-3: #ffffff1a;
  --surface-d-4: #ffffff24;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0s;
    --dur-base: 0s;
    --dur-slow: 0s;
  }

  *, :before, :after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
  }
}

*, :before, :after {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
}

:where(*):focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.tv-display, h1.tv {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-7);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: hsl(var(--foreground));
  text-wrap: balance;
}

.tv-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-5);
  line-height: var(--leading-tight);
  letter-spacing: -.01em;
  text-wrap: balance;
}

.tv-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-4);
  line-height: var(--leading-snug);
  text-wrap: balance;
}

.tv-h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-3);
  line-height: var(--leading-snug);
  text-wrap: balance;
}

.tv-subhead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-2);
  line-height: var(--leading-snug);
  color: var(--tv-orange);
}

.tv-on-dark .tv-subhead {
  color: var(--tv-orange-warm);
}

.tv-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--2);
  letter-spacing: var(--tracking-xwide);
  text-transform: uppercase;
  color: var(--tv-orange);
}

.tv-wordmark {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 700;
}

.tv-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

.tv-body-sm {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step--1);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

.tv-body-strong {
  font-weight: 500;
}

.tv-caption {
  font-family: var(--font-display);
  font-size: var(--step--2);
  color: hsl(var(--muted-foreground));
  letter-spacing: .02em;
  font-weight: 500;
}

.tv-code {
  font-family: var(--font-mono);
  font-size: .92em;
}

.tv-accent-rule:after {
  content: "";
  background: var(--tv-orange);
  border-radius: 999px;
  width: 64px;
  height: 6px;
  margin-top: 18px;
  display: block;
}

.tv-surface-brand {
  background: var(--tv-gradient-brand);
  color: #fff;
}

.tv-surface-purple {
  background: var(--tv-purple);
  color: #fff;
}

.tv-surface-dark {
  color: #fff;
  background: #0e1020;
}

.tv-surface-panel {
  color: #fff;
  background: #181a2e;
}

.tv-surface-sand {
  color: var(--tv-black);
  background: #fafaf7;
}

.tv-radar-bg {
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.tv-radar-bg:before {
  content: "";
  aspect-ratio: 1;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, #0000 0% 20%, #ffffff05 22% 24%, #0000 26% 34%, #ffffff08 36% 38%, #0000 40% 48%, #ffffff0a 50% 52%, #0000 54% 62%, #ffffff0f 64% 66%, #0000 68% 76%, #ffffff14 78% 80%, #0000 82%);
  border-radius: 50%;
  width: 120%;
  position: absolute;
  top: -40%;
  right: -20%;
}

.tv-radar-pulse {
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: relative;
}

.tv-radar-pulse:before, .tv-radar-pulse:after {
  content: "";
  border: 1px solid var(--tv-orange);
  animation: tv-radar-pulse 2s var(--ease-out) infinite;
  border-radius: 50%;
  position: absolute;
  inset: 0;
}

.tv-radar-pulse:after {
  animation-delay: 1s;
}

@keyframes tv-radar-pulse {
  0% {
    opacity: .9;
    transform: scale(.6);
  }

  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

.tv-focus-ring:focus-visible {
  outline: 2px solid var(--tv-orange-warm);
  outline-offset: 2px;
}

.tv-on-dark {
  --bg: #0e1020;
  --bg-elevated: #181a2e;
  --bg-panel: #1f223a;
  --fg: #fff;
  --fg-muted: #ffffffad;
  --fg-subtle: #ffffff73;
  --hairline: #ffffff1a;
  --border-strong: #ffffff38;
  --accent-on-accent: #111523;
  --focus: #ffba07;
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus);
  --surface-d-1: #ffffff0a;
  --surface-d-2: #ffffff0f;
  --surface-d-3: #ffffff1a;
  --surface-d-4: #ffffff24;
  --success-fg-on-dark: #5bd0a4;
  --warning-fg-on-dark: var(--tv-orange-warm);
  --danger-fg-on-dark: #f0816b;
  --info-fg-on-dark: var(--tv-teal-bright);
  --neutral-bg-on-dark: #ffffff1a;
  --neutral-fg-on-dark: var(--fg);
  color: var(--fg);
}

.tv-on-light {
  --bg: #fafaf7;
  --bg-elevated: #fff;
  --bg-panel: #f4f3ee;
  --fg: #111523;
  --fg-muted: #111523ad;
  --fg-subtle: #11152373;
  --hairline: #11152314;
  --border-strong: #11152329;
  --accent-on-accent: #fff;
  --focus: var(--tv-orange-deep);
  --focus-ring: var(--focus-ring-light);
  --surface-d-1: var(--surface-l-1);
  --surface-d-2: var(--surface-l-2);
  --surface-d-3: var(--surface-l-3);
  --surface-d-4: #11152324;
  --success-fg-on-dark: var(--success-fg);
  --warning-fg-on-dark: var(--warning-fg);
  --danger-fg-on-dark: var(--danger-fg);
  --info-fg-on-dark: var(--info-fg);
  --neutral-bg-on-dark: var(--neutral-bg);
  --neutral-fg-on-dark: var(--neutral-fg);
  color: var(--fg);
}

.tv-btn {
  --_btn-bg: transparent;
  --_btn-fg: var(--fg);
  --_btn-border: transparent;
  --_btn-shadow: none;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: .01em;
  border: 1px solid var(--_btn-border);
  background: var(--_btn-bg);
  color: var(--_btn-fg);
  box-shadow: var(--_btn-shadow);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  border-radius: 10px;
  min-height: 36px;
  padding: 10px 18px;
  text-decoration: none;
  display: inline-flex;
}

.tv-btn:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

.tv-btn[disabled], .tv-btn.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}

.tv-btn[aria-busy="true"], .tv-btn.is-loading {
  cursor: progress;
}

.tv-btn--primary {
  --_btn-bg: var(--tv-orange);
  --_btn-fg: var(--accent-on-accent);
  --_btn-border: var(--tv-orange);
  --_btn-shadow: var(--shadow-glow-orange);
}

.tv-btn--primary:hover {
  --_btn-bg: var(--tv-orange-deep);
  --_btn-border: var(--tv-orange-deep);
}

.tv-btn--primary:active {
  transform: scale(.98);
}

.tv-btn--secondary {
  --_btn-bg: var(--surface-d-2);
  --_btn-fg: var(--fg);
  --_btn-border: var(--hairline);
}

.tv-btn--secondary:hover {
  --_btn-bg: var(--surface-d-3);
}

.tv-btn--ghost {
  --_btn-bg: transparent;
  --_btn-fg: var(--fg);
  --_btn-border: var(--border-strong);
}

.tv-btn--ghost:hover {
  --_btn-bg: var(--surface-d-2);
}

.tv-btn--danger {
  --_btn-bg: var(--danger);
  --_btn-fg: #fff;
  --_btn-border: var(--danger);
}

.tv-btn--danger:hover {
  --_btn-bg: #c84226;
  --_btn-border: #c84226;
}

.tv-btn--link {
  --_btn-bg: transparent;
  --_btn-fg: var(--tv-orange);
  text-underline-offset: 4px;
  box-shadow: none;
  border: 0;
  padding: 10px 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.tv-btn--sm {
  border-radius: 8px;
  min-height: 28px;
  padding: 6px 12px;
  font-size: 12px;
}

.tv-btn--lg {
  font-size: var(--step-0);
  min-height: 44px;
  padding: 14px 24px;
}

.tv-btn--pill {
  border-radius: var(--radius-pill);
}

.tv-input {
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--fg);
  background: var(--surface-d-1);
  border: 1px solid var(--border-strong);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  border-radius: 10px;
  outline: none;
  width: 100%;
  min-height: 40px;
  padding: 10px 14px;
}

.tv-input::placeholder {
  color: var(--fg-subtle);
}

.tv-input:hover {
  border-color: var(--border-strong);
}

.tv-input:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px #ffba0733;
}

.tv-input[aria-invalid="true"], .tv-input.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px #e2533a2e;
}

.tv-input[disabled], .tv-input.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}

.tv-field {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.tv-field-label {
  font-family: var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 600;
}

.tv-field-hint {
  color: var(--fg-subtle);
  font-size: 11px;
}

.tv-field-hint.is-error {
  color: var(--danger);
}

.tv-badge {
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  letter-spacing: .04em;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.tv-badge:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
}

.tv-badge--bare:before {
  display: none;
}

.tv-badge--success {
  background: var(--success-bg);
  color: var(--success-fg-on-dark);
}

.tv-badge--warning {
  background: var(--warning-bg);
  color: var(--warning-fg-on-dark);
}

.tv-badge--danger {
  background: var(--danger-bg);
  color: var(--danger-fg-on-dark);
}

.tv-badge--info {
  background: var(--info-bg);
  color: var(--info-fg-on-dark);
}

.tv-badge--neutral {
  background: var(--neutral-bg-on-dark);
  color: var(--neutral-fg-on-dark);
}

.tv-card {
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.tv-kpi {
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  color: var(--fg);
  border-radius: 14px;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  display: flex;
}

.tv-kpi-label {
  font-family: var(--font-display);
  letter-spacing: .14em;
  color: var(--fg-subtle);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
}

.tv-kpi-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  letter-spacing: -.02em;
  line-height: 1;
}

.tv-kpi-delta {
  font-family: var(--font-mono);
  color: var(--success-fg);
  font-size: 11px;
}

.tv-kpi-delta.is-down {
  color: var(--danger);
}

.tv-segmented {
  background: var(--surface-d-1);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  gap: 2px;
  padding: 3px;
  display: inline-flex;
}

.tv-segmented button {
  color: var(--fg-muted);
  font-family: var(--font-display);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
}

.tv-segmented button[aria-selected="true"], .tv-segmented button.is-active {
  background: var(--surface-d-3);
  color: var(--fg);
}

.tv-toggle {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  display: inline-flex;
}

.tv-toggle-switch {
  background: var(--surface-d-3);
  border-radius: var(--radius-pill);
  width: 36px;
  height: 20px;
  transition: background var(--dur-fast);
  flex-shrink: 0;
  position: relative;
}

.tv-toggle-switch:after {
  content: "";
  width: 16px;
  height: 16px;
  transition: inset-inline-start var(--dur-fast) var(--ease-out);
  background: #fff;
  border-radius: 50%;
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: 2px;
}

.tv-toggle[aria-checked="true"] .tv-toggle-switch, .tv-toggle.is-on .tv-toggle-switch {
  background: var(--tv-orange);
}

.tv-toggle[aria-checked="true"] .tv-toggle-switch:after, .tv-toggle.is-on .tv-toggle-switch:after {
  inset-inline-start: 18px;
}

.tv-pulse {
  background: var(--tv-teal-bright);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 3px #11dddb40;
}

.tv-pulse:after {
  content: "";
  color: var(--tv-teal-bright);
  opacity: .3;
  animation: tv-pulse 2s var(--ease-out) infinite;
  background: currentColor;
  border-radius: 50%;
  position: absolute;
  inset: -6px;
}

.tv-pulse--action {
  background: var(--tv-orange);
  box-shadow: 0 0 0 3px #f8a32440;
}

.tv-pulse--action:after {
  color: var(--tv-orange);
}

.tv-pulse--danger {
  background: var(--danger);
  box-shadow: 0 0 0 3px #e2533a40;
}

.tv-pulse--danger:after {
  color: var(--danger);
}

@keyframes tv-pulse {
  0% {
    opacity: .3;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

.tv-select {
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--fg);
  background: var(--surface-d-1) linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 18px) 50% / 6px 6px no-repeat, var(--surface-d-1) linear-gradient(-45deg, transparent 50%, currentColor 50%) calc(100% - 12px) 50% / 6px 6px no-repeat;
  background-color: var(--surface-d-1);
  border: 1px solid var(--border-strong);
  appearance: none;
  cursor: pointer;
  width: 100%;
  min-height: 40px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  border-radius: 10px;
  outline: none;
  padding-block: 10px;
  padding-inline: 14px 36px;
}

.tv-select:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px #ffba0733;
}

.tv-select[aria-invalid="true"], .tv-select.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px #e2533a2e;
}

.tv-select[disabled], .tv-select.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}

.tv-menu {
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--fg);
  border-radius: 10px;
  padding: 6px;
}

.tv-menu-item {
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  color: var(--fg);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
}

.tv-menu-item:hover, .tv-menu-item[aria-selected="true"] {
  background: var(--surface-d-2);
}

.tv-menu-item[aria-checked="true"] {
  color: var(--tv-orange);
}

.tv-menu-separator {
  background: var(--hairline);
  border: 0;
  height: 1px;
  margin: 6px 4px;
}

.tv-textarea {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step--1);
  line-height: var(--leading-body);
  color: var(--fg);
  background: var(--surface-d-1);
  border: 1px solid var(--border-strong);
  resize: vertical;
  width: 100%;
  min-height: 96px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  border-radius: 10px;
  outline: none;
  padding: 10px 14px;
}

.tv-textarea::placeholder {
  color: var(--fg-subtle);
}

.tv-textarea:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px #ffba0733;
}

.tv-textarea[aria-invalid="true"], .tv-textarea.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px #e2533a2e;
}

.tv-textarea[disabled], .tv-textarea.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}

.tv-file {
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-d-1);
  color: var(--fg-muted);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  flex-direction: column;
  min-height: 140px;
  display: flex;
}

.tv-file:hover {
  border-color: var(--tv-orange);
  background: var(--surface-d-2);
}

.tv-file:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

.tv-file[data-dragging="true"], .tv-file.is-dragging {
  border-color: var(--tv-orange);
  background: var(--tv-orange);
}

@supports (color: color-mix(in lab, red, red)) {
  .tv-file[data-dragging="true"], .tv-file.is-dragging {
    background: color-mix(in srgb, var(--tv-orange) 8%, transparent);
  }
}

.tv-file[data-dragging="true"], .tv-file.is-dragging {
  color: var(--fg);
}

.tv-file[aria-invalid="true"], .tv-file.is-error {
  border-color: var(--danger);
  color: var(--danger);
}

.tv-file-title {
  color: var(--fg);
  font-weight: 600;
}

.tv-file-hint {
  color: var(--fg-subtle);
  font-size: 11px;
}

.tv-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--fg);
}

.tv-table thead th {
  z-index: 1;
  background: var(--bg);
  text-align: start;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  border-block-end: 1px solid var(--hairline);
  white-space: nowrap;
  cursor: default;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  position: sticky;
  inset-block-start: 0;
}

.tv-table thead th[aria-sort] {
  cursor: pointer;
}

.tv-table thead th[aria-sort]:after {
  content: "↕";
  opacity: .4;
  margin-inline-start: 6px;
  font-size: 12px;
}

.tv-table thead th[aria-sort="ascending"]:after {
  content: "↑";
  opacity: 1;
  color: var(--tv-orange);
}

.tv-table thead th[aria-sort="descending"]:after {
  content: "↓";
  opacity: 1;
  color: var(--tv-orange);
}

.tv-table tbody td {
  border-block-end: 1px solid var(--hairline);
  vertical-align: middle;
  padding: 12px 14px;
}

.tv-table tbody tr {
  transition: background var(--dur-fast);
}

.tv-table tbody tr:hover {
  background: var(--surface-d-1);
}

.tv-table tbody tr[aria-selected="true"] {
  background: var(--surface-d-2);
}

.tv-table tbody tr[aria-selected="true"] td {
  color: var(--fg);
}

.tv-table tbody tr:last-child td {
  border-block-end: 0;
}

.tv-table .tv-table-num {
  font-family: var(--font-mono);
  text-align: end;
  font-variant-numeric: tabular-nums;
}

[data-density="compact"] .tv-btn {
  border-radius: 8px;
  min-height: 30px;
  padding: 6px 12px;
  font-size: 12px;
}

[data-density="compact"] .tv-btn--lg {
  min-height: 36px;
  font-size: var(--step--1);
  padding: 10px 18px;
}

[data-density="compact"] .tv-input {
  border-radius: 8px;
  min-height: 30px;
  padding: 6px 10px;
  font-size: 12px;
}

[data-density="compact"] .tv-field {
  gap: 4px;
}

[data-density="compact"] .tv-field-label {
  font-size: 10px;
}

[data-density="compact"] .tv-badge {
  padding: 2px 8px;
  font-size: 10px;
}

[data-density="compact"] .tv-kpi {
  gap: 6px;
  padding: 12px;
}

[data-density="compact"] .tv-kpi-value {
  font-size: var(--step-2);
}

[data-density="compact"] .tv-segmented {
  padding: 2px;
}

[data-density="compact"] .tv-segmented button {
  padding: 4px 10px;
  font-size: 11px;
}

[data-density="compact"] .tv-card {
  padding: var(--space-4);
}

[data-density="compact"] .tv-select {
  border-radius: 8px;
  min-height: 30px;
  padding-block: 6px;
  padding-inline: 10px 30px;
  font-size: 12px;
}

[data-density="compact"] .tv-table thead th {
  padding: 6px 10px;
}

[data-density="compact"] .tv-table tbody td {
  padding: 8px 10px;
  font-size: 12px;
}

.tv-segmented button {
  min-width: max-content;
}

.tv-btn, .tv-badge {
  white-space: nowrap;
  min-width: max-content;
}

.tv-field-label {
  min-width: max-content;
}

.tv-i18n-fluid {
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-hyphens: auto;
  hyphens: auto;
  min-width: 0;
}

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

.tv-icon-btn {
  background: var(--surface-d-2);
  width: 32px;
  height: 32px;
  color: var(--fg-muted);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out);
  border: 1px solid #0000;
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.tv-icon-btn:hover {
  background: var(--surface-d-3);
  color: var(--fg);
}

.tv-icon-btn:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

.tv-icon-btn[disabled] {
  opacity: .4;
  cursor: not-allowed;
}

.tv-icon-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.tv-icon-btn--ghost {
  border-color: var(--border-strong);
  background: none;
}

.tv-icon-btn--ghost:hover {
  background: var(--surface-d-2);
}

.tv-icon-btn--bare {
  background: none;
}

.tv-icon-btn--bare:hover {
  background: var(--surface-d-2);
}

.tv-icon-btn--sm {
  border-radius: 7px;
  width: 28px;
  height: 28px;
}

.tv-icon-btn--lg {
  border-radius: 10px;
  width: 44px;
  height: 44px;
}

.tv-icon-btn--lg svg {
  width: 20px;
  height: 20px;
}

[data-density="compact"] .tv-icon-btn {
  border-radius: 7px;
  width: 28px;
  height: 28px;
}

.tv-scrim {
  z-index: 1000;
  animation: tv-fade-in var(--dur-base) var(--ease-out);
  background: #1115235c;
  position: fixed;
  inset: 0;
}

.dark .tv-scrim, [data-theme="dark"] .tv-scrim, .tv-on-dark .tv-scrim {
  background: #0809129e;
}

.tv-on-light .tv-scrim, [data-theme="light"] .tv-scrim {
  background: #1115235c;
}

.tv-scrim--center {
  padding: var(--space-5);
  place-items: center;
  display: grid;
  overflow-y: auto;
}

.tv-scrim--contained {
  position: absolute;
}

@keyframes tv-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tv-dialog {
  background: var(--surface);
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  color: var(--fg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  animation: tv-dialog-in var(--dur-base) var(--ease-out);
  border-radius: 18px;
  outline: none;
  padding: 28px;
  position: relative;
  overflow-y: auto;
}

.dark .tv-dialog, [data-theme="dark"] .tv-dialog, .tv-on-dark .tv-dialog {
  background: var(--bg-panel);
  box-shadow: 0 24px 60px #00000080;
}

.tv-on-light .tv-dialog, [data-theme="light"] .tv-dialog {
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.tv-scrim--contained .tv-dialog {
  max-height: 100%;
}

.tv-dialog--sm {
  width: min(380px, 100%);
}

.tv-dialog--lg {
  width: min(640px, 100%);
}

.tv-dialog-close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
}

.tv-dialog-icon {
  background: var(--surface-d-2);
  border: 1px solid var(--hairline);
  width: 46px;
  height: 46px;
  color: var(--fg-muted);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  margin-block-end: 18px;
  display: flex;
}

.tv-dialog-icon svg {
  width: 22px;
  height: 22px;
}

.tv-dialog--action .tv-dialog-icon {
  color: var(--warning-fg-on-dark);
  background: #f8a32426;
  border-color: #f8a32466;
}

.tv-dialog--danger .tv-dialog-icon {
  background: var(--danger-bg);
  color: var(--danger-fg-on-dark);
  border-color: #e2533a66;
}

.tv-dialog--info .tv-dialog-icon {
  background: var(--info-bg);
  color: var(--info-fg-on-dark);
  border-color: #11dddb59;
}

.tv-dialog--success .tv-dialog-icon {
  background: var(--success-bg);
  color: var(--success-fg-on-dark);
  border-color: #3bb58a66;
}

.tv-dialog-title {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--fg);
  text-wrap: balance;
  margin: 0 0 8px;
  padding-inline-end: 36px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.tv-dialog-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--fg-muted);
  text-wrap: pretty;
  margin: 0;
}

.tv-dialog-content {
  margin-block-start: 20px;
}

.tv-dialog-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-block-start: 24px;
  display: flex;
}

@keyframes tv-dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.tv-drawer {
  z-index: 1001;
  background: var(--bg-elevated);
  width: min(440px, 100%);
  color: var(--fg);
  border-inline-start: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  animation: tv-drawer-in-end var(--dur-base) var(--ease-inout);
  outline: none;
  flex-direction: column;
  display: flex;
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
}

.tv-drawer--sm {
  width: min(360px, 100%);
}

.tv-drawer--lg {
  width: min(640px, 100%);
}

.tv-drawer--xl {
  width: min(880px, 100%);
}

.tv-drawer--start {
  border-inline-start: 0;
  border-inline-end: 1px solid var(--hairline);
  animation-name: tv-drawer-in-start;
  inset-inline: 0 auto;
}

[dir="rtl"] .tv-drawer {
  animation-name: tv-drawer-in-start;
}

[dir="rtl"] .tv-drawer--start {
  animation-name: tv-drawer-in-end;
}

.dark .tv-drawer, [data-theme="dark"] .tv-drawer, .tv-on-dark .tv-drawer {
  box-shadow: -20px 0 60px #00000080;
}

.dark .tv-drawer--start, [data-theme="dark"] .tv-drawer--start, .tv-on-dark .tv-drawer--start, .dark [dir="rtl"] .tv-drawer, [dir="rtl"].dark .tv-drawer, [data-theme="dark"][dir="rtl"] .tv-drawer, [dir="rtl"] [data-theme="dark"] .tv-drawer, [data-theme="dark"] [dir="rtl"] .tv-drawer {
  box-shadow: 20px 0 60px #00000080;
}

.dark [dir="rtl"] .tv-drawer--start, [dir="rtl"].dark .tv-drawer--start, [data-theme="dark"][dir="rtl"] .tv-drawer--start, [dir="rtl"] [data-theme="dark"] .tv-drawer--start, [data-theme="dark"] [dir="rtl"] .tv-drawer--start {
  box-shadow: -20px 0 60px #00000080;
}

.tv-on-light .tv-drawer, [data-theme="light"] .tv-drawer {
  box-shadow: var(--shadow-lg);
}

.tv-drawer--contained {
  position: absolute;
}

.tv-drawer--inline, .dark .tv-drawer--inline, [data-theme="dark"] .tv-drawer--inline, .tv-on-dark .tv-drawer--inline {
  z-index: auto;
  height: 100%;
  box-shadow: none;
  animation: none;
  position: relative;
  inset: auto;
}

.tv-drawer-header {
  border-block-end: 1px solid var(--hairline);
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px 16px;
  display: flex;
}

.tv-drawer-heading {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.tv-drawer-icon {
  background: var(--tv-gradient-brand);
  width: 46px;
  height: 46px;
  color: var(--tv-orange-warm);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  margin-block-end: 10px;
  display: flex;
}

.tv-drawer-icon svg {
  width: 22px;
  height: 22px;
}

.tv-drawer-title {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--fg);
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.tv-drawer-meta {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-mono-dark);
  font-size: 11px;
  font-weight: 600;
}

.tv-drawer-tabs {
  border-block-end: 1px solid var(--hairline);
  padding-inline: 24px;
}

.tv-drawer-tabs .tv-tabs {
  border-block-end: 0;
}

.tv-drawer-body {
  flex: 1;
  min-height: 0;
  padding: 20px 24px;
  overflow-y: auto;
}

.tv-drawer-footer {
  border-block-start: 1px solid var(--hairline);
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  display: flex;
}

.tv-drawer-section {
  border-block-end: 1px solid var(--hairline);
  font-family: var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin: 24px 0 12px;
  padding-block-end: 8px;
  font-size: 11px;
  font-weight: 700;
}

.tv-drawer-section:first-child {
  margin-block-start: 0;
}

@keyframes tv-drawer-in-end {
  from {
    transform: translateX(100%);
  }

  to {
    transform: none;
  }
}

@keyframes tv-drawer-in-start {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: none;
  }
}

[data-density="compact"] .tv-drawer-header {
  padding: 14px 18px 12px;
}

[data-density="compact"] .tv-drawer-body {
  padding: 14px 18px;
}

[data-density="compact"] .tv-drawer-footer {
  padding: 12px 18px;
}

[data-density="compact"] .tv-drawer-tabs {
  padding-inline: 18px;
}

.tv-dl {
  font-family: var(--font-display);
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
  font-size: 13px;
  display: grid;
}

.tv-dl dt, .tv-dl dd {
  border-block-end: 1px solid var(--hairline);
  padding: 10px 0;
}

.tv-dl dt {
  color: var(--fg-muted);
}

.tv-dl dd {
  text-align: end;
  font-family: var(--font-mono);
  color: var(--fg);
  margin: 0;
  padding-inline-start: 16px;
}

.tv-dl dt:last-of-type, .tv-dl dd:last-of-type {
  border-block-end: 0;
}

.tv-tabs {
  border-block-end: 1px solid var(--hairline);
  font-family: var(--font-display);
  scrollbar-width: none;
  gap: 4px;
  display: flex;
  overflow-x: auto;
}

.tv-tabs::-webkit-scrollbar {
  display: none;
}

.tv-tab {
  color: var(--fg-muted);
  font-family: var(--font-display);
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  min-width: max-content;
  transition: color var(--dur-fast) var(--ease-out),background var(--dur-fast) var(--ease-out);
  background: none;
  border: 0;
  border-radius: 8px 8px 0 0;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  position: relative;
}

.tv-tab:hover {
  color: var(--fg);
  background: var(--surface-d-1);
}

.tv-tab:after {
  content: "";
  background: var(--tv-orange);
  height: 2px;
  transition: transform var(--dur-base) var(--ease-out);
  border-radius: 2px 2px 0 0;
  position: absolute;
  inset-block-end: 0;
  inset-inline: 10px;
  transform: scaleX(0);
}

.tv-tab[aria-selected="true"], .tv-tab.is-active {
  color: var(--fg);
}

.tv-tab[aria-selected="true"]:after, .tv-tab.is-active:after {
  transform: scaleX(1);
}

.tv-tab:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

.tv-tab[disabled] {
  opacity: .4;
  cursor: not-allowed;
}

.tv-tab[disabled]:hover {
  color: var(--fg-muted);
  background: none;
}

.tv-tab svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.tv-tab-count {
  border-radius: var(--radius-pill);
  background: var(--surface-d-3);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}

.tv-tab[aria-selected="true"] .tv-tab-count {
  color: var(--warning-fg-on-dark);
  background: #f8a3242e;
}

.tv-tabs--sm .tv-tab, [data-density="compact"] .tv-tab {
  padding: 8px 10px;
  font-size: 12px;
}

.tv-tabs--vertical {
  border-block-end: 0;
  border-inline-end: 1px solid var(--hairline);
  flex-direction: column;
  gap: 2px;
  overflow: visible;
}

.tv-tabs--vertical .tv-tab {
  border-radius: 0;
  border-start-start-radius: 8px;
  border-end-start-radius: 8px;
  justify-content: flex-start;
  margin-inline-end: -1px;
  padding: 10px 14px;
}

.tv-tabs--vertical .tv-tab:after {
  border-radius: 2px;
  width: 2px;
  height: auto;
  inset-block: 8px;
  inset-inline: auto 0;
  transform: scaleY(0);
}

.tv-tabs--vertical .tv-tab[aria-selected="true"] {
  background: var(--surface-d-2);
}

.tv-tabs--vertical .tv-tab[aria-selected="true"]:after {
  transform: scaleY(1);
}

.tv-tabs--vertical .tv-tab-count {
  margin-inline-start: auto;
}

.tv-tab-panel {
  padding-block-start: var(--space-5);
}

.tv-tab-panel:focus-visible {
  box-shadow: var(--focus-ring);
  border-radius: 8px;
  outline: none;
}

.tv-tab-panel[hidden] {
  display: none;
}

.tv-toast-region {
  z-index: 1100;
  pointer-events: none;
  flex-direction: column;
  gap: 10px;
  width: min(380px, 100vw - 32px);
  display: flex;
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
}

.tv-toast-region--top-end {
  inset-block: 24px auto;
}

.tv-toast-region--bottom-center {
  inset-inline-end: auto;
  left: 50%;
  transform: translateX(-50%);
}

.tv-toast-region--contained {
  position: absolute;
  inset-block-end: 16px;
  inset-inline-end: 16px;
}

.tv-toast-region--contained.tv-toast-region--top-end {
  inset-block: 16px auto;
}

.tv-toast {
  pointer-events: auto;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  animation: tv-toast-in var(--dur-base) var(--ease-out);
  border-radius: 12px;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  display: flex;
}

.dark .tv-toast, [data-theme="dark"] .tv-toast, .tv-on-dark .tv-toast {
  background: var(--bg-panel);
  box-shadow: 0 12px 30px #0006;
}

.tv-on-light .tv-toast, [data-theme="light"] .tv-toast {
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.tv-toast-icon {
  background: var(--neutral-bg-on-dark);
  width: 32px;
  height: 32px;
  color: var(--fg-muted);
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.tv-toast-icon svg {
  width: 18px;
  height: 18px;
}

.tv-toast--success .tv-toast-icon {
  background: var(--success-bg);
  color: var(--success-fg-on-dark);
}

.tv-toast--warning .tv-toast-icon {
  background: var(--warning-bg);
  color: var(--warning-fg-on-dark);
}

.tv-toast--danger .tv-toast-icon {
  background: var(--danger-bg);
  color: var(--danger-fg-on-dark);
}

.tv-toast--info .tv-toast-icon {
  background: var(--info-bg);
  color: var(--info-fg-on-dark);
}

.tv-toast--live .tv-toast-icon {
  background: var(--tv-orange);
  color: #111523;
}

.tv-toast-copy {
  flex: 1;
  min-width: 0;
}

.tv-toast-title {
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.tv-toast-desc {
  font-family: var(--font-body);
  color: var(--fg-muted);
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.tv-toast-action {
  font-family: var(--font-display);
  color: var(--tv-orange-deep);
  cursor: pointer;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  margin-block-start: 6px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  display: inline-block;
}

.dark .tv-toast-action, [data-theme="dark"] .tv-toast-action, .tv-on-dark .tv-toast-action {
  color: var(--tv-orange);
}

.tv-on-light .tv-toast-action, [data-theme="light"] .tv-toast-action {
  color: var(--tv-orange-deep);
}

.tv-toast-action:hover {
  text-decoration: underline;
}

.tv-toast-action:focus-visible {
  box-shadow: var(--focus-ring);
  border-radius: 4px;
  outline: none;
}

.tv-toast .tv-icon-btn {
  margin: -4px;
  margin-inline-start: 0;
}

@keyframes tv-toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.tv-banner {
  border: 1px solid var(--hairline);
  background: var(--surface-d-1);
  color: var(--fg);
  font-family: var(--font-display);
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  display: flex;
}

.tv-banner-icon {
  background: var(--surface-d-2);
  width: 36px;
  height: 36px;
  color: var(--fg-muted);
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.tv-banner-icon svg {
  width: 20px;
  height: 20px;
}

.tv-banner-copy {
  flex: 240px;
  min-width: 0;
}

.tv-banner-title {
  font-family: var(--font-display);
  color: inherit;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.tv-banner-desc {
  font-family: var(--font-body);
  color: var(--fg-muted);
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.tv-banner-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  display: flex;
}

.tv-banner--warning {
  background: #f8a32414;
  border-color: #f8a32459;
}

.tv-banner--warning .tv-banner-icon {
  color: var(--warning-fg-on-dark);
  background: #f8a32433;
}

.tv-banner--danger {
  background: #e2533a14;
  border-color: #e2533a59;
}

.tv-banner--danger .tv-banner-icon {
  color: var(--danger-fg-on-dark);
  background: #e2533a33;
}

.tv-banner--success {
  background: #3bb58a14;
  border-color: #3bb58a59;
}

.tv-banner--success .tv-banner-icon {
  color: var(--success-fg-on-dark);
  background: #3bb58a33;
}

.tv-banner--info {
  background: #11dddb0f;
  border-color: #11dddb4d;
}

.tv-banner--info .tv-banner-icon {
  color: var(--info-fg-on-dark);
  background: #11dddb29;
}

.tv-banner--brand {
  background: var(--tv-gradient-brand);
  color: #fff;
  border-color: #0000;
}

.tv-banner--brand .tv-banner-desc {
  color: #ffffffd1;
}

.dark .tv-banner--brand, [data-theme="dark"] .tv-banner--brand, .tv-on-dark .tv-banner--brand {
  color: var(--fg);
  background: linear-gradient(#5b408066, #2661af66);
  border-color: #f8a3244d;
}

.dark .tv-banner--brand .tv-banner-desc, [data-theme="dark"] .tv-banner--brand .tv-banner-desc, .tv-on-dark .tv-banner--brand .tv-banner-desc {
  color: var(--fg-muted);
}

.tv-on-light .tv-banner--brand, [data-theme="light"] .tv-banner--brand {
  background: var(--tv-gradient-brand);
  color: #fff;
  border-color: #0000;
}

.tv-on-light .tv-banner--brand .tv-banner-desc, [data-theme="light"] .tv-banner--brand .tv-banner-desc {
  color: #ffffffd1;
}

.tv-banner--brand .tv-banner-icon {
  color: var(--tv-orange-warm);
  background: #ffba0733;
}

.tv-tooltip-anchor {
  display: inline-flex;
  position: relative;
}

.tv-tooltip {
  z-index: 1200;
  background: var(--tv-black);
  color: #fff;
  width: max-content;
  max-width: 240px;
  font-family: var(--font-display);
  text-align: center;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out),visibility 0s linear var(--dur-fast);
  left: 50%;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  position: absolute;
  inset-block-end: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  box-shadow: 0 8px 20px #00000059;
}

.tv-tooltip[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  transform: translateX(-50%);
}

.tv-tooltip--bottom {
  inset-block: calc(100% + 8px) auto;
  transform: translateX(-50%) translateY(-4px);
}

.tv-tooltip--start, .tv-tooltip--end {
  top: 50%;
  left: auto;
  inset-block-end: auto;
  transform: translateY(-50%);
}

.tv-tooltip--end {
  inset-inline-start: calc(100% + 8px);
}

.tv-tooltip--start {
  inset-inline-end: calc(100% + 8px);
}

.tv-tooltip--start[data-open="true"], .tv-tooltip--end[data-open="true"] {
  transform: translateY(-50%);
}

.tv-tooltip kbd {
  background: #ffffff1f;
  border-radius: 3px;
  margin-inline-start: 6px;
  padding: 0 4px;
  font-size: 11px;
}

.tv-menu-anchor {
  display: inline-flex;
  position: relative;
}

.tv-menu--popover {
  z-index: 1150;
  width: max-content;
  max-width: 320px;
  animation: tv-menu-in var(--dur-fast) var(--ease-out);
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-start: 0;
}

.tv-menu--align-end {
  inset-inline: auto 0;
}

.tv-menu--up {
  inset-block: auto calc(100% + 6px);
}

button.tv-menu-item {
  width: 100%;
  font: inherit;
  text-align: start;
  background: none;
  border: 0;
}

.tv-menu-item:focus-visible {
  background: var(--surface-d-2);
  box-shadow: inset 0 0 0 1px var(--focus);
  outline: none;
}

.tv-menu-item[disabled], .tv-menu-item[aria-disabled="true"] {
  opacity: .4;
  cursor: not-allowed;
}

.tv-menu-item[disabled]:hover {
  background: none;
}

.tv-menu-item svg {
  width: 16px;
  height: 16px;
  color: var(--fg-muted);
  flex-shrink: 0;
}

.tv-menu-item[aria-checked="true"] svg {
  color: inherit;
}

.tv-menu .tv-menu-item--danger {
  color: var(--danger-fg-on-dark);
}

.tv-menu .tv-menu-item--danger svg {
  color: inherit;
}

.tv-menu-item-label {
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.tv-menu-shortcut {
  font-family: var(--font-mono);
  color: var(--fg-subtle);
  margin-inline-start: auto;
  padding-inline-start: 16px;
  font-size: 11px;
}

.tv-menu-label {
  font-family: var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  padding: 8px 10px 4px;
  font-size: 10px;
  font-weight: 700;
}

@keyframes tv-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.tv-check {
  font-family: var(--font-display);
  color: var(--fg);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  display: inline-flex;
  position: relative;
}

.tv-check input {
  opacity: 0;
  width: 18px;
  height: 18px;
  cursor: inherit;
  margin: 0;
  position: absolute;
  inset-block-start: 1px;
  inset-inline-start: 0;
}

.tv-check-box, .tv-radio-dot {
  border: 1.5px solid var(--fg-subtle);
  background: var(--surface-d-1);
  width: 18px;
  height: 18px;
  transition: background var(--dur-fast) var(--ease-out),border-color var(--dur-fast) var(--ease-out);
  border-radius: 5px;
  flex-shrink: 0;
  margin-block-start: 1px;
  position: relative;
}

.tv-radio-dot {
  border-radius: 50%;
}

.tv-check:hover .tv-check-box, .tv-check:hover .tv-radio-dot {
  border-color: var(--fg-muted);
}

.tv-check input:checked + .tv-check-box, .tv-check input:indeterminate + .tv-check-box {
  background: var(--tv-orange);
  border-color: var(--tv-orange);
}

.tv-check-box:after {
  content: "";
  border: solid var(--accent-on-accent);
  width: 5px;
  height: 9px;
  transition: transform var(--dur-fast) var(--ease-out);
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
}

.tv-check input:checked + .tv-check-box:after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.tv-check input:indeterminate + .tv-check-box:after {
  border-width: 0 0 2px;
  width: 8px;
  height: 0;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.tv-check input:checked + .tv-radio-dot {
  border-color: var(--tv-orange);
}

.tv-radio-dot:after {
  content: "";
  background: var(--tv-orange);
  transition: transform var(--dur-fast) var(--ease-out);
  border-radius: 50%;
  position: absolute;
  inset: 3px;
  transform: scale(0);
}

.tv-check input:checked + .tv-radio-dot:after {
  transform: scale(1);
}

.tv-check input:focus-visible + .tv-check-box, .tv-check input:focus-visible + .tv-radio-dot {
  box-shadow: var(--focus-ring);
}

.tv-check input[aria-invalid="true"] + .tv-check-box, .tv-check input[aria-invalid="true"] + .tv-radio-dot {
  border-color: var(--danger);
}

.tv-check.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}

.tv-check-text {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.tv-check-desc {
  font-family: var(--font-body);
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.tv-choice-group {
  border: 0;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
}

.tv-choice-group--horizontal {
  flex-flow: wrap;
  gap: 20px;
}

.tv-choice-group > legend {
  margin-block-end: 10px;
  padding: 0;
}

[data-density="compact"] .tv-check {
  gap: 8px;
  font-size: 12px;
}

[data-density="compact"] .tv-choice-group {
  gap: 8px;
}

.tv-chip {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  min-width: max-content;
  min-height: 28px;
  color: var(--fg-muted);
  font-family: var(--font-display);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out),border-color var(--dur-fast) var(--ease-out);
  background: none;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
}

button.tv-chip {
  cursor: pointer;
}

button.tv-chip:hover {
  background: var(--surface-d-2);
  color: var(--fg);
}

.tv-chip[aria-pressed="true"] {
  color: var(--fg);
  background: #f8a32424;
  border-color: #f8a3248c;
}

.tv-chip[disabled] {
  opacity: .4;
  cursor: not-allowed;
}

.tv-chip svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.tv-chip-count {
  font-family: var(--font-mono);
  color: var(--fg-subtle);
  font-size: 11px;
}

.tv-chip--removable {
  background: var(--surface-d-2);
  border-color: var(--hairline);
  color: var(--fg);
  padding-inline-end: 4px;
}

.tv-chip-remove {
  width: 20px;
  height: 20px;
  color: var(--fg-muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.tv-chip-remove:hover {
  background: var(--surface-d-3);
  color: var(--fg);
}

.tv-chip:focus-visible, .tv-chip-remove:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

.tv-chip-group {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.tv-slider {
  width: 100%;
  font-family: var(--font-display);
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.tv-slider-head {
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  display: flex;
}

.tv-slider-value {
  font-family: var(--font-mono);
  color: var(--fg);
  font-size: 12px;
}

.tv-slider-marks {
  font-family: var(--font-mono);
  color: var(--fg-subtle);
  justify-content: space-between;
  font-size: 11px;
  display: flex;
}

.tv-range {
  appearance: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(var(--tv-orange),var(--tv-orange)) 0 0/50% 100% no-repeat content-box,var(--surface-d-3) content-box;
  cursor: pointer;
  width: 100%;
  height: 20px;
  margin: 0;
  padding-block: 8px;
}

[dir="rtl"] .tv-range {
  background-position: 100% 0, 0 0;
}

.tv-range::-webkit-slider-runnable-track {
  background: none;
  height: 4px;
}

.tv-range::-moz-range-track {
  background: none;
  height: 4px;
}

.tv-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #fff;
  border: 0;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  box-shadow: 0 0 0 4px #f8a32459, 0 1px 3px #0006;
}

.tv-range::-moz-range-thumb {
  background: #fff;
  border: 0;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  box-shadow: 0 0 0 4px #f8a32459, 0 1px 3px #0006;
}

.tv-range:focus-visible {
  outline: none;
}

.tv-range:focus-visible::-webkit-slider-thumb {
  box-shadow: var(--focus-ring);
}

.tv-range:focus-visible::-moz-range-thumb {
  box-shadow: var(--focus-ring);
}

.tv-range[disabled] {
  opacity: .4;
  cursor: not-allowed;
}

.tv-slider--data .tv-range {
  background-image: linear-gradient(var(--tv-teal-bright),var(--tv-teal-bright));
}

.tv-avatar {
  background: var(--tv-purple);
  color: #fff;
  width: 32px;
  height: 32px;
  font-family: var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  position: relative;
}

.tv-avatar img {
  border-radius: inherit;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.tv-avatar--sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.tv-avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 15px;
}

.tv-avatar--xl {
  width: 64px;
  height: 64px;
  font-size: 20px;
}

.tv-avatar--blue {
  background: var(--tv-blue-mid);
}

.tv-avatar--teal {
  background: var(--tv-teal);
}

.tv-avatar--plum {
  background: var(--tv-purple-mid);
}

.tv-avatar--orange {
  background: var(--tv-orange);
  color: #111523;
}

.tv-avatar--more {
  background: var(--bg-panel);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  letter-spacing: 0;
  border: 1px solid var(--hairline);
  font-weight: 500;
}

.tv-avatar-status {
  border: 2px solid var(--bg);
  background: var(--fg-subtle);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  inset-block-end: -1px;
  inset-inline-end: -1px;
}

.tv-avatar--lg .tv-avatar-status, .tv-avatar--xl .tv-avatar-status {
  width: 13px;
  height: 13px;
}

.tv-avatar-status--online {
  background: var(--success-fg);
}

.tv-avatar-status--away {
  background: var(--tv-orange);
}

.tv-avatar-group {
  align-items: center;
  display: inline-flex;
}

.tv-avatar-group .tv-avatar {
  box-shadow: 0 0 0 2px var(--bg);
}

.tv-avatar-group .tv-avatar + .tv-avatar {
  margin-inline-start: -8px;
}

.tv-progress {
  width: 100%;
  font-family: var(--font-display);
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.tv-progress-head {
  color: var(--fg-muted);
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

.tv-progress-value {
  font-family: var(--font-mono);
  color: var(--fg);
}

.tv-progress-track {
  border-radius: var(--radius-pill);
  background: var(--surface-d-3);
  height: 6px;
  position: relative;
  overflow: hidden;
}

.tv-progress-bar {
  border-radius: inherit;
  background: var(--tv-orange);
  height: 100%;
  transition: width var(--dur-base) var(--ease-out);
}

.tv-progress--data .tv-progress-bar {
  background: var(--tv-teal-bright);
}

.tv-progress--success .tv-progress-bar {
  background: var(--success-fg);
}

.tv-progress--danger .tv-progress-bar {
  background: var(--danger);
}

.tv-progress--sm .tv-progress-track {
  height: 4px;
}

.tv-progress.is-indeterminate .tv-progress-bar {
  width: 40%;
  animation: tv-progress-indeterminate 1.4s var(--ease-inout) infinite;
  position: absolute;
  inset-block: 0;
}

@keyframes tv-progress-indeterminate {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(250%);
  }
}

.tv-spinner {
  width: 24px;
  height: 24px;
  color: var(--tv-orange);
  flex-shrink: 0;
  display: inline-block;
  position: relative;
}

.tv-spinner:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  position: absolute;
  inset: 36%;
}

.tv-spinner-ring {
  opacity: 0;
  animation: tv-spinner-ring 1.6s var(--ease-out) infinite;
  border: 2px solid;
  border-radius: 50%;
  position: absolute;
  inset: 0;
}

.tv-spinner-ring + .tv-spinner-ring {
  animation-delay: .8s;
}

.tv-spinner--sm {
  width: 16px;
  height: 16px;
}

.tv-spinner--sm .tv-spinner-ring {
  border-width: 1.5px;
}

.tv-spinner--lg {
  width: 40px;
  height: 40px;
}

.tv-spinner--data {
  color: var(--tv-teal-bright);
}

.tv-spinner--inherit {
  color: currentColor;
}

@keyframes tv-spinner-ring {
  0% {
    opacity: 1;
    transform: scale(.35);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-spinner-ring {
    opacity: .45;
    animation: none;
    transform: scale(.8);
  }

  .tv-spinner-ring + .tv-spinner-ring {
    display: none;
  }
}

.tv-skeleton {
  background: linear-gradient(90deg,var(--surface-d-2) 0%,var(--surface-d-3) 50%,var(--surface-d-2) 100%) 0 0/200% 100%;
  border-radius: 6px;
  animation: 1.6s linear infinite tv-skeleton;
  display: block;
}

.tv-skeleton--text {
  border-radius: 4px;
  height: 12px;
}

.tv-skeleton--title {
  border-radius: 5px;
  height: 20px;
}

.tv-skeleton--circle {
  border-radius: 50%;
}

.tv-skeleton--block {
  border-radius: var(--radius-md);
}

.tv-skeleton-stack {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

@keyframes tv-skeleton {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.tv-empty {
  padding: var(--space-7) var(--space-5);
  text-align: center;
  font-family: var(--font-display);
  color: var(--fg);
  flex-direction: column;
  align-items: center;
  gap: 12px;
  display: flex;
}

.tv-empty-icon {
  background: var(--surface-d-2);
  border: 1px solid var(--hairline);
  width: 56px;
  height: 56px;
  color: var(--tv-orange-deep);
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  margin-block-end: 4px;
  display: flex;
}

.dark .tv-empty-icon, [data-theme="dark"] .tv-empty-icon, .tv-on-dark .tv-empty-icon {
  color: var(--tv-orange);
}

.tv-on-light .tv-empty-icon, [data-theme="light"] .tv-empty-icon {
  color: var(--tv-orange-deep);
}

.tv-empty-icon svg {
  width: 24px;
  height: 24px;
}

.tv-empty-title {
  width: 100%;
  font-family: var(--font-display);
  letter-spacing: -.005em;
  color: var(--fg);
  text-wrap: balance;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.tv-empty-desc {
  max-width: 44ch;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--fg-muted);
  text-wrap: pretty;
  margin: 0;
}

.tv-empty-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-block-start: 8px;
  display: flex;
}

.tv-empty--sm {
  padding: var(--space-5);
  gap: 8px;
}

.tv-empty--sm .tv-empty-icon {
  border-radius: 12px;
  width: 40px;
  height: 40px;
}

.tv-empty--sm .tv-empty-icon svg {
  width: 20px;
  height: 20px;
}

.tv-empty--sm .tv-empty-title {
  font-size: 14px;
}

.tv-empty--sm .tv-empty-desc {
  font-size: 13px;
}

.tv-breadcrumbs ol {
  font-family: var(--font-display);
  color: var(--fg-muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  list-style: none;
  display: flex;
}

.tv-breadcrumbs li {
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: inline-flex;
}

.tv-breadcrumbs li + li:before {
  content: "/";
  color: var(--fg-subtle);
}

.tv-breadcrumbs a, .tv-breadcrumbs button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 2px 0;
  text-decoration: none;
}

.tv-breadcrumbs a:hover, .tv-breadcrumbs button:hover {
  color: var(--tv-orange-deep);
}

.dark .tv-breadcrumbs a:hover, .dark .tv-breadcrumbs button:hover, [data-theme="dark"] .tv-breadcrumbs a:hover, [data-theme="dark"] .tv-breadcrumbs button:hover, .tv-on-dark .tv-breadcrumbs a:hover, .tv-on-dark .tv-breadcrumbs button:hover {
  color: var(--tv-orange);
}

.tv-on-light .tv-breadcrumbs a:hover, .tv-on-light .tv-breadcrumbs button:hover, [data-theme="light"] .tv-breadcrumbs a:hover, [data-theme="light"] .tv-breadcrumbs button:hover {
  color: var(--tv-orange-deep);
}

.tv-breadcrumbs a:focus-visible, .tv-breadcrumbs button:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

.tv-breadcrumbs [aria-current="page"] {
  color: var(--fg);
  font-weight: 600;
}

.tv-pagination {
  font-family: var(--font-display);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  display: flex;
}

.tv-pagination-summary {
  font-family: var(--font-mono);
  color: var(--fg-muted);
  font-size: 12px;
}

.tv-pagination-pages {
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.tv-page {
  min-width: 32px;
  height: 32px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out);
  background: none;
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  font-size: 12px;
  display: inline-flex;
}

.tv-page:hover {
  background: var(--surface-d-2);
  color: var(--fg);
}

.tv-page[aria-current="page"] {
  background: var(--surface-d-3);
  border-color: var(--border-strong);
  color: var(--fg);
  font-weight: 500;
}

.tv-page:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

.tv-page[disabled] {
  opacity: .35;
  cursor: not-allowed;
}

.tv-page[disabled]:hover {
  color: var(--fg-muted);
  background: none;
}

.tv-page svg {
  width: 16px;
  height: 16px;
}

[dir="rtl"] .tv-page svg {
  transform: scaleX(-1);
}

.tv-page-gap {
  text-align: center;
  min-width: 24px;
  font-family: var(--font-mono);
  color: var(--fg-subtle);
  font-size: 12px;
}

[data-density="compact"] .tv-page {
  min-width: 28px;
  height: 28px;
  font-size: 11px;
}

.tv-accordion {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  font-family: var(--font-display);
  overflow: hidden;
}

.tv-accordion-item + .tv-accordion-item {
  border-block-start: 1px solid var(--hairline);
}

.tv-accordion-item > summary {
  color: var(--fg);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  display: flex;
}

.tv-accordion-item > summary::-webkit-details-marker {
  display: none;
}

.tv-accordion-item > summary:hover {
  background: var(--surface-d-1);
}

.tv-accordion-item > summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--focus);
  outline: none;
}

.tv-accordion-title {
  flex: 1;
  min-width: 0;
}

.tv-accordion-meta {
  font-family: var(--font-mono);
  color: var(--fg-subtle);
  font-size: 11px;
  font-weight: 500;
}

.tv-accordion-chevron {
  width: 16px;
  height: 16px;
  color: var(--fg-muted);
  transition: transform var(--dur-base) var(--ease-inout);
  flex-shrink: 0;
}

.tv-accordion-item[open] > summary .tv-accordion-chevron {
  transform: rotate(180deg);
}

.tv-accordion-body {
  color: var(--fg-muted);
  padding: 0 18px 18px;
  font-size: 13px;
  line-height: 1.55;
}

.tv-accordion--flush {
  background: none;
  border: 0;
  border-radius: 0;
}

.tv-accordion--flush .tv-accordion-item > summary, .tv-accordion--flush .tv-accordion-body {
  padding-inline: 0;
}

[data-density="compact"] .tv-accordion-item > summary {
  padding: 10px 14px;
  font-size: 13px;
}

[data-density="compact"] .tv-accordion-body {
  padding: 0 14px 14px;
}

@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-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
}

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

@keyframes pulse {
  50% {
    opacity: .5;
  }
}
