/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-200: oklch(88.5% 0.062 18.334);
    --color-red-800: oklch(44.4% 0.177 26.899);
    --color-yellow-100: oklch(97.3% 0.071 103.193);
    --color-yellow-200: oklch(94.5% 0.129 101.54);
    --color-yellow-800: oklch(47.6% 0.114 61.907);
    --color-green-100: oklch(96.2% 0.044 156.743);
    --color-green-200: oklch(92.5% 0.084 155.995);
    --color-green-800: oklch(44.8% 0.119 151.328);
    --color-indigo-300: oklch(78.5% 0.115 274.713);
    --color-indigo-400: oklch(67.3% 0.182 276.935);
    --color-indigo-500: oklch(58.5% 0.233 277.117);
    --color-indigo-600: oklch(51.1% 0.262 276.966);
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-lg: 32rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.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);
    --font-weight-semibold: 600;
    --radius-md: 0.375rem;
    --radius-xl: 0.75rem;
    --animate-spin: spin 1s linear infinite;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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)) {
        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, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-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"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }
  .\!hidden {
    display: none !important;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .table-cell {
    display: table-cell;
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-full {
    height: 100%;
  }
  .min-h-full {
    min-height: 100%;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-auto {
    width: auto;
  }
  .w-full {
    width: 100%;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink {
    flex-shrink: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .resize {
    resize: both;
  }
  .flex-col {
    flex-direction: column;
  }
  .items-center {
    align-items: center;
  }
  .justify-center {
    justify-content: center;
  }
  .space-y-6 {
    :where(& > :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)));
    }
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-gray-200 {
    border-color: var(--color-gray-200);
  }
  .border-green-200 {
    border-color: var(--color-green-200);
  }
  .border-red-200 {
    border-color: var(--color-red-200);
  }
  .border-white\/40 {
    border-color: color-mix(in srgb, #fff 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 40%, transparent);
    }
  }
  .border-yellow-200 {
    border-color: var(--color-yellow-200);
  }
  .border-t-white {
    border-top-color: var(--color-white);
  }
  .bg-gray-50 {
    background-color: var(--color-gray-50);
  }
  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }
  .bg-green-100 {
    background-color: var(--color-green-100);
  }
  .bg-indigo-600 {
    background-color: var(--color-indigo-600);
  }
  .bg-red-100 {
    background-color: var(--color-red-100);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .bg-yellow-100 {
    background-color: var(--color-yellow-100);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .text-left {
    text-align: left;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--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-sm\/6 {
    font-size: var(--text-sm);
    line-height: calc(var(--spacing) * 6);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .\!text-indigo-600 {
    color: var(--color-indigo-600) !important;
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-600 {
    color: var(--color-gray-600);
  }
  .text-gray-800 {
    color: var(--color-gray-800);
  }
  .text-gray-900 {
    color: var(--color-gray-900);
  }
  .text-green-800 {
    color: var(--color-green-800);
  }
  .text-red-800 {
    color: var(--color-red-800);
  }
  .text-white {
    color: var(--color-white);
  }
  .text-yellow-800 {
    color: var(--color-yellow-800);
  }
  .italic {
    font-style: italic;
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .overline {
    text-decoration-line: overline;
  }
  .underline {
    text-decoration-line: underline;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    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, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    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, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-xs {
    --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
    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);
  }
  .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,);
  }
  .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,);
  }
  .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-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,);
  }
  .not-dark\:hidden {
    @media not (prefers-color-scheme: dark) {
      display: none;
    }
  }
  .hover\:bg-indigo-500 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-indigo-500);
      }
    }
  }
  .hover\:\!text-indigo-500 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-indigo-500) !important;
      }
    }
  }
  .hover\:text-gray-700 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-gray-700);
      }
    }
  }
  .focus-visible\:outline-2 {
    &:focus-visible {
      outline-style: var(--tw-outline-style);
      outline-width: 2px;
    }
  }
  .focus-visible\:outline-offset-2 {
    &:focus-visible {
      outline-offset: 2px;
    }
  }
  .focus-visible\:outline-indigo-600 {
    &:focus-visible {
      outline-color: var(--color-indigo-600);
    }
  }
  .sm\:mx-auto {
    @media (width >= 40rem) {
      margin-inline: auto;
    }
  }
  .sm\:w-full {
    @media (width >= 40rem) {
      width: 100%;
    }
  }
  .sm\:max-w-\[560px\] {
    @media (width >= 40rem) {
      max-width: 560px;
    }
  }
  .sm\:max-w-lg {
    @media (width >= 40rem) {
      max-width: var(--container-lg);
    }
  }
  .sm\:rounded-xl {
    @media (width >= 40rem) {
      border-radius: var(--radius-xl);
    }
  }
  .sm\:px-6 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 6);
    }
  }
  .sm\:px-12 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 12);
    }
  }
  .lg\:px-8 {
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
  .dark\:hidden {
    @media (prefers-color-scheme: dark) {
      display: none;
    }
  }
  .dark\:bg-gray-800\/50 {
    @media (prefers-color-scheme: dark) {
      background-color: color-mix(in srgb, oklch(27.8% 0.033 256.848) 50%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-gray-800) 50%, transparent);
      }
    }
  }
  .dark\:bg-gray-900 {
    @media (prefers-color-scheme: dark) {
      background-color: var(--color-gray-900);
    }
  }
  .dark\:bg-indigo-500 {
    @media (prefers-color-scheme: dark) {
      background-color: var(--color-indigo-500);
    }
  }
  .dark\:\!text-indigo-400 {
    @media (prefers-color-scheme: dark) {
      color: var(--color-indigo-400) !important;
    }
  }
  .dark\:text-gray-300 {
    @media (prefers-color-scheme: dark) {
      color: var(--color-gray-300);
    }
  }
  .dark\:text-white {
    @media (prefers-color-scheme: dark) {
      color: var(--color-white);
    }
  }
  .dark\:shadow-none {
    @media (prefers-color-scheme: dark) {
      --tw-shadow: 0 0 #0000;
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .dark\:outline {
    @media (prefers-color-scheme: dark) {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
    }
  }
  .dark\:-outline-offset-1 {
    @media (prefers-color-scheme: dark) {
      outline-offset: calc(1px * -1);
    }
  }
  .dark\:outline-white\/10 {
    @media (prefers-color-scheme: dark) {
      outline-color: color-mix(in srgb, #fff 10%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        outline-color: color-mix(in oklab, var(--color-white) 10%, transparent);
      }
    }
  }
  .dark\:hover\:bg-indigo-400 {
    @media (prefers-color-scheme: dark) {
      &:hover {
        @media (hover: hover) {
          background-color: var(--color-indigo-400);
        }
      }
    }
  }
  .dark\:hover\:\!text-indigo-300 {
    @media (prefers-color-scheme: dark) {
      &:hover {
        @media (hover: hover) {
          color: var(--color-indigo-300) !important;
        }
      }
    }
  }
  .dark\:focus-visible\:outline-indigo-500 {
    @media (prefers-color-scheme: dark) {
      &:focus-visible {
        outline-color: var(--color-indigo-500);
      }
    }
  }
}
*, *::before, *::after {
  box-sizing: border-box;
}
:root {
  --tv-bg: #ffffff;
  --tv-bg-subtle: #fafafa;
  --tv-bg-muted: #f5f6f8;
  --tv-surface: #ffffff;
  --tv-surface-hover: #f8fafc;
  --tv-border: #ececef;
  --tv-border-strong: #d8d8de;
  --tv-divider: #f0f0f3;
  --tv-fg: #0a1930;
  --tv-fg-muted: #5a6273;
  --tv-fg-subtle: #8b90a0;
  --tv-accent: #0f766e;
  --tv-accent-hover: #0d5c55;
  --tv-accent-soft: #ecfdf5;
  --tv-accent-ring: rgba(15, 118, 110, 0.18);
  --tv-accent-fg: #ffffff;
  --tv-success: #10b981;
  --tv-success-soft: #ecfdf5;
  --tv-success-border: #a7f3d0;
  --tv-warn: #d97706;
  --tv-warn-soft: #fffbeb;
  --tv-warn-border: #fde68a;
  --tv-danger: #dc2626;
  --tv-danger-soft: #fef2f2;
  --tv-danger-border: #fecaca;
  --tv-info: #2563eb;
  --tv-info-soft: #eff6ff;
  --tv-info-border: #bfdbfe;
  --tv-radius-sm: 6px;
  --tv-radius: 8px;
  --tv-radius-lg: 12px;
  --tv-radius-xl: 16px;
  --tv-shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --tv-shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 1px 1px rgba(15,23,42,0.03);
  --tv-shadow-md: 0 4px 12px -2px rgba(15,23,42,0.06), 0 2px 4px -2px rgba(15,23,42,0.04);
  --tv-shadow-lg: 0 24px 48px -16px rgba(15,23,42,0.12), 0 8px 16px -8px rgba(15,23,42,0.06);
  --tv-row-h: 52px;
  --tv-sidebar-w: 248px;
  --tv-topbar-h: 56px;
  --tv-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tv-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--tv-bg-subtle);
  color: var(--tv-fg);
  font-family: var(--tv-font-sans);
  font-feature-settings: "cv11","ss01","ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}
a {
  color: inherit;
}
.tv-app {
  display: block;
  min-height: 100vh;
  background: var(--tv-bg-subtle);
}
.tv-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--tv-sidebar-w);
  z-index: 50;
  border-right: 1px solid var(--tv-border);
  background: var(--tv-bg);
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  gap: 2px;
  overflow-y: auto;
  overflow-x: hidden;
}
.tv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 14px;
  border-bottom: 1px solid var(--tv-divider);
  margin-bottom: 10px;
  flex: none;
}
.tv-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--tv-accent), var(--tv-accent));
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, var(--tv-accent), color-mix(in oklab, var(--tv-accent) 55%, #ffffff));
  }
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px var(--tv-accent-ring);
  flex: none;
}
.tv-brand-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.015em;
  color: var(--tv-fg);
}
.tv-brand-sub {
  font-size: 11px;
  color: var(--tv-fg-subtle);
  margin-top: -2px;
}
.tv-nav-section {
  padding: 10px 10px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tv-fg-subtle);
  font-weight: 600;
}
.tv-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--tv-radius);
  font-size: 13.5px;
  color: var(--tv-fg-muted);
  cursor: pointer;
  user-select: none;
  transition: background 80ms, color 80ms;
  font-weight: 450;
  text-decoration: none;
}
.tv-nav-item:hover {
  background: var(--tv-surface-hover);
  color: var(--tv-fg);
  text-decoration: none;
}
.tv-nav-item.active {
  background: var(--tv-accent-soft) !important;
  color: var(--tv-accent) !important;
  font-weight: 550 !important;
  text-decoration: none;
}
.tv-nav-badge {
  margin-left: auto;
  background: var(--tv-bg-muted);
  color: var(--tv-fg-muted);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.tv-nav-item.active .tv-nav-badge {
  background: var(--tv-accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--tv-accent) 14%, transparent);
  }
  color: var(--tv-accent);
}
.tv-nav-badge.attention {
  background: var(--tv-warn-soft);
  color: var(--tv-warn);
}
.tv-nav-item.active .tv-nav-badge.attention {
  background: var(--tv-warn-soft);
  color: var(--tv-warn);
}
.tv-sidebar-footer {
  border-top: 1px solid var(--tv-divider);
  padding-top: 10px;
  flex: none;
}
.tv-version {
  margin-top: auto;
  font-size: 11px;
  color: var(--tv-fg-subtle);
  padding: 0 8px 8px;
  letter-spacing: 0.01em;
}
.tv-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--tv-radius);
  cursor: pointer;
}
.tv-user-card:hover {
  background: var(--tv-surface-hover);
}
.tv-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a5b4fc, #6366f1);
  color: white;
  font-weight: 600;
  font-size: 11px;
  display: grid;
  place-items: center;
  flex: none;
  user-select: none;
}
.tv-avatar.lg {
  width: 36px;
  height: 36px;
  font-size: 13px;
}
.tv-avatar.xs {
  width: 22px;
  height: 22px;
  font-size: 10px;
}
.tv-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100dvh;
  margin-left: var(--tv-sidebar-w);
}
.tv-topbar {
  height: var(--tv-topbar-h);
  border-bottom: 1px solid var(--tv-border);
  background: var(--tv-bg);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  flex: none;
  position: sticky;
  top: 0;
  z-index: 40;
}
.tv-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--tv-fg-muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tv-crumbs .sep {
  color: var(--tv-fg-subtle);
}
.tv-crumbs .current {
  color: var(--tv-fg);
  font-weight: 500;
}
.tv-crumbs i {
  display: flex;
  align-items: center;
  line-height: 1;
  flex: none;
}
.tv-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tv-bg-muted);
  border: 1px solid transparent;
  border-radius: var(--tv-radius);
  padding: 6px 10px;
  width: 360px;
  font-size: 13px;
  color: var(--tv-fg-muted);
}
.tv-search:focus-within {
  border-color: var(--tv-accent);
  background: var(--tv-surface);
  box-shadow: 0 0 0 3px var(--tv-accent-ring);
}
.tv-search input {
  border: 0;
  background: transparent;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-size: 13px;
}
.tv-search input::placeholder {
  color: var(--tv-fg-subtle);
}
.tv-kbd {
  font-family: var(--tv-font-mono);
  font-size: 10.5px;
  color: var(--tv-fg-subtle);
  padding: 1px 5px;
  border: 1px solid var(--tv-border);
  border-radius: 4px;
  background: var(--tv-bg);
}
.tv-spacer {
  flex: 1;
}
.tv-content {
  flex: 1;
  overflow: auto;
  padding: 24px 28px 48px;
}
.tv-content-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.tv-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.tv-page-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--tv-fg);
  margin: 0 0 4px;
}
.tv-page-subtitle {
  font-size: 13.5px;
  color: var(--tv-fg-muted);
  margin: 0;
  max-width: 640px;
}
.tv-page-fill {
  height: calc(100dvh - var(--tv-topbar-h) - 48px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.tv-page-fill .tv-split {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.tv-page-fill .tv-split > * {
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 2px;
}
@media (max-width: 768px) {
  .tv-page-fill {
    height: auto;
  }
  .tv-page-fill .tv-split > * {
    overflow: visible;
  }
}
.tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--tv-radius);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--tv-border-strong);
  background: var(--tv-surface);
  color: var(--tv-fg);
  cursor: pointer;
  transition: all 100ms;
  box-shadow: var(--tv-shadow-xs);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.tv-btn:hover {
  background: var(--tv-surface-hover);
  text-decoration: none;
  color: var(--tv-fg);
}
.tv-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--tv-accent-ring);
}
.tv-btn.primary {
  background: var(--tv-accent);
  color: var(--tv-accent-fg);
  border-color: var(--tv-accent);
  box-shadow: 0 1px 2px var(--tv-accent-ring);
}
.tv-btn.primary:hover {
  background: var(--tv-accent-hover);
  border-color: var(--tv-accent-hover);
  color: white;
}
.tv-btn.ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--tv-fg-muted);
}
.tv-btn.ghost:hover {
  background: var(--tv-surface-hover);
  color: var(--tv-fg);
}
.tv-btn.danger {
  background: var(--tv-danger-soft);
  color: var(--tv-danger);
  border-color: var(--tv-danger-border);
}
.tv-btn.danger:hover {
  background: var(--tv-danger);
  color: white;
}
.tv-btn.sm {
  padding: 4px 8px;
  font-size: 12px;
}
.tv-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.tv-tip {
  position: relative;
  display: block;
}
.tv-tip > button:disabled {
  pointer-events: none;
}
.tv-tip[data-tip]:not([data-tip=""])::after, .tv-tip[data-tip]:not([data-tip=""])::before {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity .15s ease, transform .15s ease;
  transition-delay: 0s;
}
.tv-tip[data-tip]:not([data-tip=""])::after {
  content: attr(data-tip);
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  border-radius: var(--tv-radius-sm, 6px);
  background: var(--tv-fg);
  color: var(--tv-bg);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--tv-shadow-lg, 0 8px 24px rgba(0,0,0,.18));
}
.tv-tip[data-tip]:not([data-tip=""])::before {
  content: "";
  bottom: calc(100% + 3px);
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--tv-fg);
}
.tv-tip[data-tip]:not([data-tip=""]):hover::after, .tv-tip[data-tip]:not([data-tip=""]):hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: .5s;
}
.tv-card {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  box-shadow: var(--tv-shadow-xs);
  overflow: hidden;
}
.tv-card-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--tv-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tv-card-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tv-card-body {
  padding: 16px;
}
.tv-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 550;
  padding: 2px 8px 3px;
  border-radius: 999px;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tv-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  flex: none;
}
.tv-chip.neutral {
  background: var(--tv-bg-muted);
  color: var(--tv-fg-muted);
}
.tv-chip.info {
  background: var(--tv-info-soft);
  color: var(--tv-info);
  border-color: var(--tv-info-border);
}
.tv-chip.success {
  background: var(--tv-success-soft);
  color: var(--tv-success);
  border-color: var(--tv-success-border);
}
.tv-chip.warn {
  background: var(--tv-warn-soft);
  color: var(--tv-warn);
  border-color: var(--tv-warn-border);
}
.tv-chip.danger {
  background: var(--tv-danger-soft);
  color: var(--tv-danger);
  border-color: var(--tv-danger-border);
}
.tv-chip.accent {
  background: var(--tv-accent-soft);
  color: var(--tv-accent);
  border-color: var(--tv-accent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--tv-accent) 30%, transparent);
  }
}
.tv-stat-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.tv-stat-grid.cols-3 {
  grid-template-columns: repeat(3,1fr);
}
.tv-stat {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.tv-stat-label {
  font-size: 12px;
  color: var(--tv-fg-muted);
  font-weight: 500;
}
.tv-stat-value {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-top: 4px;
  color: var(--tv-fg);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tv-stat-value.sm {
  font-size: 22px;
}
.tv-stat-sub {
  font-size: 12px;
  color: var(--tv-fg-muted);
  margin-top: 2px;
}
.tv-delta {
  font-size: 12px;
  font-weight: 500;
}
.tv-delta.up {
  color: var(--tv-success);
}
.tv-delta.down {
  color: var(--tv-danger);
}
.tv-stat-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
}
.tv-table {
  width: 100%;
  border-collapse: collapse;
}
.tv-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tv-fg-subtle);
  text-transform: uppercase;
  padding: 10px 12px;
  background: var(--tv-bg-subtle);
  border-bottom: 1px solid var(--tv-border);
  white-space: nowrap;
}
.tv-table td {
  padding: 12px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--tv-divider);
  color: var(--tv-fg);
  vertical-align: middle;
  height: var(--tv-row-h);
}
.tv-table tr:last-child td {
  border-bottom: 0;
}
.tv-table tr.clickable {
  cursor: pointer;
}
.tv-table tr.clickable:hover td {
  background: var(--tv-surface-hover);
}
.tv-table .tr {
  text-align: right;
}
.tv-card:has(> .tv-table) {
  overflow-x: auto;
}
.tv-progress {
  height: 6px;
  background: var(--tv-bg-muted);
  border-radius: 999px;
  overflow: hidden;
}
.tv-progress > span {
  display: block;
  height: 100%;
  background: var(--tv-accent);
  border-radius: 999px;
  transition: width 400ms ease;
}
.tv-progress.success > span {
  background: var(--tv-success);
}
.tv-input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border-radius: var(--tv-radius);
  border: 1px solid var(--tv-border-strong);
  background: var(--tv-surface);
  font-size: 13px;
  color: var(--tv-fg);
  outline: 0;
  transition: box-shadow 100ms, border-color 100ms;
}
.tv-input:focus {
  border-color: var(--tv-accent);
  box-shadow: 0 0 0 3px var(--tv-accent-ring);
}
.tv-input::placeholder {
  color: var(--tv-fg-subtle);
}
.tv-field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tv-fg);
  margin-bottom: 6px;
}
.tv-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--tv-border);
  margin-bottom: 20px;
}
.tv-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tv-fg-muted);
  cursor: pointer;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  font-family: inherit;
  line-height: 1.4;
  box-shadow: none;
  transition: color 80ms;
  user-select: none;
}
.tv-tab:hover {
  color: var(--tv-fg);
}
.tv-tab.active {
  color: var(--tv-accent);
  border-bottom-color: var(--tv-accent);
}
.tv-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--tv-accent-ring);
  border-radius: var(--tv-radius) var(--tv-radius) 0 0;
}
.tv-hero {
  position: relative;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-xl);
  padding: 28px 28px 24px;
  background: radial-gradient(ellipse 600px 200px at 90% -20%, var(--tv-accent-soft), transparent 70%), radial-gradient(ellipse 400px 200px at 0% 120%, var(--tv-accent), transparent 70%), var(--tv-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(ellipse 600px 200px at 90% -20%, var(--tv-accent-soft), transparent 70%), radial-gradient(ellipse 400px 200px at 0% 120%, color-mix(in oklab, var(--tv-accent) 8%, transparent), transparent 70%), var(--tv-surface);
  }
  overflow: hidden;
  margin-bottom: 20px;
}
.tv-eyebrow {
  font-size: 11.5px;
  color: var(--tv-accent);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.tv-hero h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 4px 0 6px;
  color: var(--tv-fg);
}
.tv-hero p {
  margin: 0 0 16px;
  color: var(--tv-fg-muted);
  font-size: 14px;
  max-width: 560px;
}
.tv-hero-actions {
  display: flex;
  gap: 8px;
}
.tv-activity-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--tv-divider);
}
.tv-activity-item:last-child {
  border-bottom: 0;
}
.tv-activity-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--tv-bg-muted);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--tv-fg-muted);
  font-size: 12px;
}
.tv-activity-dot.accent {
  background: var(--tv-accent-soft);
  color: var(--tv-accent);
}
.tv-activity-dot.success {
  background: var(--tv-success-soft);
  color: var(--tv-success);
}
.tv-activity-dot.warn {
  background: var(--tv-warn-soft);
  color: var(--tv-warn);
}
.tv-activity-dot.info {
  background: var(--tv-info-soft);
  color: var(--tv-info);
}
.tv-activity-body {
  flex: 1;
  font-size: 13.5px;
}
.tv-activity-who {
  font-weight: 550;
}
.tv-activity-when {
  font-size: 12px;
  color: var(--tv-fg-subtle);
  margin-top: 2px;
}
.tv-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius);
  background: var(--tv-surface);
  margin-bottom: 8px;
}
.tv-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--tv-danger-soft);
  color: var(--tv-danger);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tv-file-icon.img {
  background: #f5f3ff;
  color: #7c3aed;
}
.tv-file-icon.sheet {
  background: var(--tv-success-soft);
  color: var(--tv-success);
}
.tv-file-icon.doc {
  background: var(--tv-info-soft);
  color: var(--tv-info);
}
.tv-file-icon.zip {
  background: var(--tv-bg-muted);
  color: var(--tv-fg-muted);
}
.tv-file-meta {
  flex: 1;
  min-width: 0;
}
.tv-file-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tv-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-file-sub {
  font-size: 12px;
  color: var(--tv-fg-muted);
  margin-top: 1px;
}
.tv-check-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius);
  background: var(--tv-surface);
  margin-bottom: 8px;
}
.tv-check-item.done {
  background: var(--tv-bg-subtle);
}
.tv-check-circle {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid var(--tv-border-strong);
  display: grid;
  place-items: center;
  flex: none;
  transition: all 120ms;
}
.tv-check-item.done .tv-check-circle {
  background: var(--tv-success);
  border-color: var(--tv-success);
  color: white;
}
.tv-check-item.inprog .tv-check-circle {
  border-color: var(--tv-accent);
  color: var(--tv-accent);
  background: var(--tv-accent-soft);
}
.tv-check-item.attention .tv-check-circle {
  border-color: var(--tv-warn);
  color: var(--tv-warn);
  background: var(--tv-warn-soft);
}
.tv-check-body {
  flex: 1;
}
.tv-check-title {
  font-size: 13.5px;
  font-weight: 550;
}
.tv-check-sub {
  font-size: 12px;
  color: var(--tv-fg-muted);
  margin-top: 2px;
}
.tv-dropzone {
  display: block;
  border: 1.5px dashed var(--tv-border-strong);
  background: var(--tv-bg-subtle);
  border-radius: var(--tv-radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 120ms;
}
.tv-dropzone:hover, .tv-dropzone.dragover {
  border-color: var(--tv-accent);
  background: var(--tv-accent-soft);
}
.tv-icon-lg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--tv-accent);
  font-size: 22px;
}
.tv-bucket-group {
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius);
  overflow: hidden;
  flex: none;
}
.tv-bucket-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: var(--tv-bg-subtle);
}
.tv-bucket-summary::-webkit-details-marker {
  display: none;
}
.tv-bucket-summary:hover {
  background: var(--tv-surface-hover);
}
.tv-bucket-caret {
  font-size: 11px;
  color: var(--tv-fg-subtle);
  transition: transform 120ms;
}
.tv-bucket-group[open] .tv-bucket-caret {
  transform: rotate(90deg);
}
.tv-bucket-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--tv-success);
  box-shadow: 0 0 0 3px var(--tv-success-soft);
  flex: none;
}
.tv-bucket-items {
  padding: 6px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tv-bucket-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tv-bucket-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--tv-border-strong);
  margin-top: 6px;
  flex: none;
  transition: background 120ms;
}
.tv-bucket-item-dot.on {
  background: var(--tv-success);
  box-shadow: 0 0 0 3px var(--tv-success-soft);
}
.tv-bucket-select {
  max-width: 100%;
  font-size: 12px;
  padding: 4px 8px;
  margin-top: 8px;
}
.tv-bucket-scroll {
  max-height: min(46vh, 480px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.tv-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.tv-upload-card {
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius);
  padding: 12px;
  cursor: pointer;
  background: var(--tv-surface);
  transition: border-color 100ms, box-shadow 100ms, background 100ms;
}
.tv-upload-card:hover {
  border-color: var(--tv-border-strong);
  box-shadow: var(--tv-shadow-sm);
}
.tv-upload-card.sel {
  border-color: var(--tv-accent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--tv-accent) 40%, transparent);
  }
  background: var(--tv-accent-soft);
}
.tv-upload-card.is-readonly {
  cursor: default;
}
.tv-upload-card.is-readonly:hover {
  border-color: var(--tv-border);
  box-shadow: none;
}
.tv-lock-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius);
  background: var(--tv-bg-subtle);
  color: var(--tv-fg-muted);
  font-size: 12.5px;
}
.tv-lock-note i {
  color: var(--tv-fg-subtle);
}
.tv-chip-trunc {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}
.tv-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,11,15,0.4);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  z-index: 200;
  animation: tvFadeIn 120ms ease;
}
@keyframes tvFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.tv-modal {
  width: min(520px, 92vw);
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-xl);
  box-shadow: var(--tv-shadow-lg);
  overflow: hidden;
  animation: tvPopIn 160ms cubic-bezier(.16,1,.3,1);
}
@keyframes tvPopIn {
  from {
    transform: scale(.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.tv-modal:focus, .tv-modal:focus-visible {
  outline: none;
}
.tv-modal-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--tv-divider);
}
.tv-modal-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}
.tv-modal-head p {
  margin: 0;
  font-size: 13px;
  color: var(--tv-fg-muted);
}
.tv-modal-body {
  padding: 20px;
}
.tv-modal-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--tv-divider);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: var(--tv-bg-subtle);
}
.tv-pdf-preview {
  background: var(--tv-bg-subtle);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  aspect-ratio: 8.5 / 11;
  padding: 28px;
  font-size: 10px;
  color: var(--tv-fg-muted);
  line-height: 1.6;
  overflow: hidden;
  position: relative;
  box-shadow: var(--tv-shadow-md);
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.tv-pdf-h {
  font-size: 14px;
  font-weight: 700;
  color: var(--tv-fg);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.tv-pdf-line {
  height: 7px;
  background: var(--tv-border);
  border-radius: 3px;
  margin: 4px 0;
}
.tv-pdf-line.short {
  width: 40%;
}
.tv-pdf-line.mid {
  width: 68%;
}
.tv-empty {
  text-align: center;
  padding: 48px 24px;
}
.tv-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--tv-bg-muted);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--tv-fg-muted);
  font-size: 22px;
}
.tv-empty h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}
.tv-empty p {
  font-size: 13.5px;
  color: var(--tv-fg-muted);
  margin: 0 auto 16px;
  max-width: 360px;
}
.tv-review-grid {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  gap: 16px;
  align-items: start;
}
.tv-review-aside {
  display: flex;
  flex-direction: column;
}
.tv-content-inner:has(> .tv-review-header) {
  max-width: 1760px;
}
.tv-review-scroll {
  max-height: 70vh;
  overflow: auto;
}
.tv-review-preview-body > iframe {
  width: 100%;
  height: 70vh;
  border: none;
  display: block;
}
.tv-review-img-wrap {
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: auto;
  min-height: 0;
}
.tv-review-img-wrap > img {
  margin: auto;
  max-width: 100%;
  max-height: 66vh;
  object-fit: contain;
  border-radius: 6px;
}
@media (max-width:1280px) {
  .tv-review-aside {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .tv-review-grid {
    grid-template-columns: 1fr;
  }
  .tv-review-aside {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1281px) {
  .tv-content-inner:has(> .tv-review-header) {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .tv-content-inner:has(> .tv-review-header) > .tv-review-grid {
    flex: 1;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
  }
  .tv-content-inner:has(> .tv-review-header) > .tv-review-grid > * {
    min-height: 0;
  }
  .tv-review-doc-col, .tv-review-preview-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .tv-review-doc-col > .tv-review-scroll {
    flex: 1;
    max-height: none;
  }
  .tv-review-preview-col > .tv-review-preview-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .tv-review-preview-body > iframe {
    flex: 1;
    min-height: 0;
    height: auto;
  }
  .tv-review-preview-body > .tv-review-img-wrap {
    flex: 1;
    min-height: 0;
  }
  .tv-review-img-wrap > img {
    flex: 1;
    min-height: 0;
    max-height: none;
    width: 100%;
    margin: 0;
  }
  .tv-review-aside {
    overflow-y: auto;
  }
}
.tv-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}
.tv-split-wide {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: start;
}
.tv-hstack {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tv-vstack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tv-spacer {
  flex: 1;
}
.tv-muted {
  color: var(--tv-fg-muted);
}
.tv-subtle {
  color: var(--tv-fg-subtle);
}
.tv-small {
  font-size: 12px;
}
.tv-mono {
  font-family: var(--tv-font-mono);
}
.tv-fw550 {
  font-weight: 550;
}
.tv-tr {
  text-align: right;
}
.tv-login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--tv-bg);
}
.tv-login-form-col {
  display: grid;
  place-items: center;
  padding: 40px;
}
.tv-login-hero-col {
  background: linear-gradient(135deg, var(--tv-accent-soft), var(--tv-bg-subtle));
  display: grid;
  place-items: center;
  padding: 40px;
  border-left: 1px solid var(--tv-border);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .tv-login-wrap {
    grid-template-columns: 1fr;
  }
  .tv-login-hero-col {
    display: none;
  }
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--tv-border-strong);
  border-radius: 999px;
  border: 2px solid var(--tv-bg-subtle);
}
::-webkit-scrollbar-track {
  background: transparent;
}
.valid.modified:not([type=checkbox]) {
  outline: 1px solid var(--tv-success);
}
.invalid {
  outline: 1px solid var(--tv-danger);
}
.validation-message {
  color: var(--tv-danger);
  font-size: 12px;
  margin-top: 4px;
  display: block;
}
.text-danger {
  color: var(--tv-danger);
}
.text-success {
  color: var(--tv-accent);
}
.text-warning {
  color: var(--tv-warn);
}
.text-info {
  color: var(--tv-info);
}
.text-muted {
  color: var(--tv-fg-muted);
}
.tv-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  padding: 0;
  border: 1px solid var(--tv-border-strong);
  border-radius: var(--tv-radius);
  background: var(--tv-surface);
  color: var(--tv-fg);
  cursor: pointer;
  font-size: 18px;
}
.tv-menu-btn:hover {
  background: var(--tv-surface-hover);
}
.tv-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(10,11,15,0.4);
  backdrop-filter: blur(1px);
  animation: tvFadeIn 120ms ease;
}
@media (max-width: 900px) {
  .tv-sidebar {
    transform: translateX(-100%);
    transition: transform 220ms cubic-bezier(.16,1,.3,1);
    box-shadow: var(--tv-shadow-lg);
  }
  .tv-sidebar.open {
    transform: translateX(0);
  }
  .tv-main {
    margin-left: 0;
  }
  .tv-menu-btn {
    display: inline-flex;
  }
  .tv-search {
    display: none;
  }
  .tv-topbar {
    padding: 0 12px;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .tv-content {
    padding: 16px 14px 40px;
  }
  .tv-page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .tv-stat-grid, .tv-stat-grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .tv-split, .tv-split-wide {
    grid-template-columns: 1fr;
  }
  .tv-login-form-col {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .tv-stat-grid, .tv-stat-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
.blazor-error-boundary {
  background: #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}
.blazor-error-boundary::after {
  content: "An error has occurred.";
}
.tvfe-box {
  position: absolute;
  border: 1px solid var(--tv-accent);
  background: var(--tv-accent-soft);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: move;
  user-select: none;
  touch-action: none;
  overflow: hidden;
}
.tvfe-box.sel {
  outline: 2px solid var(--tv-accent);
  z-index: 2;
}
.tvfe-handle {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--tv-accent);
  border-radius: 2px;
  cursor: nwse-resize;
  touch-action: none;
}
.tv-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1000;
  display: grid;
  place-items: center;
}
.tv-sigpad {
  width: 100%;
  height: 180px;
  border: 1px dashed var(--tv-divider);
  border-radius: 8px;
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}
.tv-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 20px;
}
.tv-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: none;
}
.tv-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid var(--tv-divider);
  background: var(--tv-bg);
  color: var(--tv-fg-subtle);
}
.tv-step.done .tv-step-dot {
  background: var(--tv-accent);
  border-color: var(--tv-accent);
  color: #fff;
}
.tv-step.current .tv-step-dot {
  border-color: var(--tv-accent);
  color: var(--tv-accent);
  box-shadow: 0 0 0 4px var(--tv-accent-ring);
}
.tv-step-label {
  font-size: 11.5px;
  color: var(--tv-fg-subtle);
  white-space: nowrap;
}
.tv-step.done .tv-step-label, .tv-step.current .tv-step-label {
  color: var(--tv-fg);
  font-weight: 500;
}
.tv-step-bar {
  height: 2px;
  flex: 1;
  min-width: 24px;
  background: var(--tv-divider);
}
.tv-step-bar.done {
  background: var(--tv-accent);
}
@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-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  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: 0px;
}
@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;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@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-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: 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;
    }
  }
}
