/*! tailwindcss v4.1.11 | 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-500: oklch(63.7% 0.237 25.331);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -0.025em;
    --tracking-wide: 0.025em;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --animate-bounce: bounce 1s infinite;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@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;
  }
  :-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 {
  .pointer-events-none {
    pointer-events: none;
  }
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .top-1\/2 {
    top: calc(1/2 * 100%);
  }
  .top-12 {
    top: calc(var(--spacing) * 12);
  }
  .right-0 {
    right: calc(var(--spacing) * 0);
  }
  .right-1 {
    right: calc(var(--spacing) * 1);
  }
  .right-3 {
    right: calc(var(--spacing) * 3);
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .left-1 {
    left: calc(var(--spacing) * 1);
  }
  .z-50 {
    z-index: 50;
  }
  .col-span-1 {
    grid-column: span 1 / span 1;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .row-1 {
    grid-row: 1;
  }
  .row-2 {
    grid-row: 2;
  }
  .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;
    }
  }
  .m-0 {
    margin: calc(var(--spacing) * 0);
  }
  .mx-4 {
    margin-inline: calc(var(--spacing) * 4);
  }
  .mx-12 {
    margin-inline: calc(var(--spacing) * 12);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .my-2 {
    margin-block: calc(var(--spacing) * 2);
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .ml-1 {
    margin-left: calc(var(--spacing) * 1);
  }
  .ml-12 {
    margin-left: calc(var(--spacing) * 12);
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-flex {
    display: inline-flex;
  }
  .list-item {
    display: list-item;
  }
  .table {
    display: table;
  }
  .h-1\/2 {
    height: calc(1/2 * 100%);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-14 {
    height: calc(var(--spacing) * 14);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-20 {
    height: calc(var(--spacing) * 20);
  }
  .h-24 {
    height: calc(var(--spacing) * 24);
  }
  .h-32 {
    height: calc(var(--spacing) * 32);
  }
  .h-full {
    height: 100%;
  }
  .h-screen {
    height: 100vh;
  }
  .min-h-\[150px\] {
    min-height: 150px;
  }
  .min-h-fit {
    min-height: fit-content;
  }
  .w-1\/2 {
    width: calc(1/2 * 100%);
  }
  .w-3 {
    width: calc(var(--spacing) * 3);
  }
  .w-3\/4 {
    width: calc(3/4 * 100%);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-4\/5 {
    width: calc(4/5 * 100%);
  }
  .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-12 {
    width: calc(var(--spacing) * 12);
  }
  .w-16 {
    width: calc(var(--spacing) * 16);
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .w-24 {
    width: calc(var(--spacing) * 24);
  }
  .w-32 {
    width: calc(var(--spacing) * 32);
  }
  .w-48 {
    width: calc(var(--spacing) * 48);
  }
  .w-56 {
    width: calc(var(--spacing) * 56);
  }
  .w-64 {
    width: calc(var(--spacing) * 64);
  }
  .w-80 {
    width: calc(var(--spacing) * 80);
  }
  .w-96 {
    width: calc(var(--spacing) * 96);
  }
  .w-auto {
    width: auto;
  }
  .w-full {
    width: 100%;
  }
  .max-w-lg {
    max-width: var(--container-lg);
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .min-w-\[100px\] {
    min-width: 100px;
  }
  .min-w-full {
    min-width: 100%;
  }
  .min-w-max {
    min-width: max-content;
  }
  .flex-1 {
    flex: 1;
  }
  .flex-\[0_0_3\.5rem\] {
    flex: 0 0 3.5rem;
  }
  .flex-none {
    flex: none;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1/2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-bounce {
    animation: var(--animate-bounce);
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .appearance-none {
    appearance: none;
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .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);
  }
  .space-y-2 {
    :where(& > :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)));
    }
  }
  .self-center {
    align-self: center;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-t-lg {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
  }
  .rounded-t-xl {
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
  }
  .rounded-b-lg {
    border-bottom-right-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-l {
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
  }
  .border-l-4 {
    border-left-style: var(--tw-border-style);
    border-left-width: 4px;
  }
  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }
  .border-none {
    --tw-border-style: none;
    border-style: none;
  }
  .border-current {
    border-color: currentcolor;
  }
  .border-error {
    border-color: var(--color-error);
  }
  .border-surface-container-high {
    border-color: var(--color-surface-container-high);
  }
  .border-t-transparent {
    border-top-color: transparent;
  }
  .bg-error {
    background-color: var(--color-error);
  }
  .bg-gray-50 {
    background-color: var(--color-gray-50);
  }
  .bg-gray-900 {
    background-color: var(--color-gray-900);
  }
  .bg-primary {
    background-color: var(--color-primary);
  }
  .bg-surface-container {
    background-color: var(--color-surface-container);
  }
  .bg-surface-container-low {
    background-color: var(--color-surface-container-low);
  }
  .bg-transparent {
    background-color: transparent;
  }
  .p-0 {
    padding: calc(var(--spacing) * 0);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }
  .px-12 {
    padding-inline: calc(var(--spacing) * 12);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-20 {
    padding-block: calc(var(--spacing) * 20);
  }
  .text-center {
    text-align: center;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--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-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .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);
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-blue-500 {
    color: var(--color-blue-500);
  }
  .text-error {
    color: var(--color-error);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-inherit {
    color: inherit;
  }
  .text-on-surface {
    color: var(--color-on-surface);
  }
  .text-on-surface-variant {
    color: var(--color-on-surface-variant);
  }
  .text-primary {
    color: var(--color-primary);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-secondary {
    color: var(--color-secondary);
  }
  .text-tertiary {
    color: var(--color-tertiary);
  }
  .text-white {
    color: var(--color-white);
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .no-underline {
    text-decoration-line: none;
  }
  .underline {
    text-decoration-line: underline;
  }
  .opacity-50 {
    opacity: 50%;
  }
  .opacity-70 {
    opacity: 70%;
  }
  .opacity-75 {
    opacity: 75%;
  }
  .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-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px 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);
  }
  .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-primary {
    --tw-ring-color: var(--color-primary);
  }
  .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,);
  }
  .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,);
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .select-none {
    -webkit-user-select: none;
    user-select: none;
  }
  .peer-checked\:flex {
    &:is(:where(.peer):checked ~ *) {
      display: flex;
    }
  }
  .hover\:border-on-surface {
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-on-surface);
      }
    }
  }
  .hover\:text-on-surface {
    &:hover {
      @media (hover: hover) {
        color: var(--color-on-surface);
      }
    }
  }
  .hover\:opacity-50 {
    &:hover {
      @media (hover: hover) {
        opacity: 50%;
      }
    }
  }
  .focus\:border-primary {
    &:focus {
      border-color: var(--color-primary);
    }
  }
  .focus\:outline-none {
    &:focus {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .md\:flex {
    @media (width >= 48rem) {
      display: flex;
    }
  }
  .md\:hidden {
    @media (width >= 48rem) {
      display: none;
    }
  }
  .md\:inline-flex {
    @media (width >= 48rem) {
      display: inline-flex;
    }
  }
  .md\:table-header-group {
    @media (width >= 48rem) {
      display: table-header-group;
    }
  }
  .md\:grid-cols-3 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .md\:flex-row {
    @media (width >= 48rem) {
      flex-direction: row;
    }
  }
  .lg\:flex {
    @media (width >= 64rem) {
      display: flex;
    }
  }
  .lg\:hidden {
    @media (width >= 64rem) {
      display: none;
    }
  }
  .lg\:inline-flex {
    @media (width >= 64rem) {
      display: inline-flex;
    }
  }
}
[data-theme="sunshine"] {
  color-scheme: light;
  --color-primary: oklch(72% 0.17 75);
  --color-primary-content: oklch(100% 0 0);
  --color-primary-container: oklch(95% 0.035 95.91);
  --color-on-primary-container: oklch(25% 0.03 95.91);
  --color-secondary: oklch(62% 0.19 20);
  --color-secondary-content: oklch(100% 0 0);
  --color-secondary-container: oklch(94% 0.05 87.01);
  --color-on-secondary-container: oklch(25% 0.05 87.01);
  --color-tertiary: oklch(80% 0.085 235);
  --color-tertiary-content: oklch(18% 0.010 235);
  --color-tertiary-container: oklch(95% 0.035 235);
  --color-on-tertiary-container: oklch(22% 0.012 235);
  --color-surface: oklch(100% 0 0);
  --color-surface-dim: oklch(96% 0.01 85);
  --color-surface-bright: oklch(100% 0 0);
  --color-surface-container-lowest: oklch(100% 0 0);
  --color-surface-container-low: oklch(99% 0.01 85);
  --color-surface-container: oklch(97% 0.01 85);
  --color-surface-container-high: oklch(96% 0.01 85);
  --color-surface-container-highest: oklch(94% 0.01 85);
  --color-on-surface: oklch(27% 0.02 260);
  --color-on-surface-variant: oklch(50% 0.02 260);
  --color-info: oklch(41.94% 0.114 254.39);
  --color-info-content: oklch(91.94% 0.114 254.39);
  --color-info-container: oklch(95% 0.03 235);
  --color-on-info-container: oklch(35% 0.08 235);
  --color-success: oklch(67.21% 0.19 133.55);
  --color-success-content: oklch(27.21% 0.19 133.55);
  --color-success-container: oklch(93% 0.04 150);
  --color-on-success-container: oklch(30% 0.08 150);
  --color-warning: oklch(68.19% 0.203 42.44);
  --color-warning-content: oklch(18.19% 0.6 42);
  --color-warning-container: oklch(93% 0.05 80);
  --color-on-warning-container: oklch(38% 0.10 80);
  --color-error: oklch(61.17% 0.237 28.15);
  --color-error-content: oklch(90.01% 0.153 84.78);
  --color-error-container: oklch(93% 0.04 25);
  --color-on-error-container: oklch(32% 0.10 25);
  --color-base-100: oklch(100% 0.005 255);
  --color-base-200: oklch(95% 0.008 255);
  --color-base-300: oklch(90% 0.01 255);
  --color-base-400: oklch(55% 0.06 255);
  --color-base-500: oklch(45% 0.05 255);
  --color-base-600: oklch(35% 0.04 255);
  --color-base-700: oklch(25% 0.03 255);
  --color-base-800: oklch(18% 0.02 255);
  --color-base-900: oklch(12% 0.01 255);
  --color-base-content: oklch(10% 0 255);
  --color-outline: oklch(75% 0.01 260);
  --color-outline-variant: oklch(85% 0.01 260);
  --color-accent: oklch(85.23% 0.14 327);
  --color-accent-content: oklch(41% 0.112 45.904);
  --color-neutral: oklch(0% 0 0);
  --color-neutral-content: oklch(80% 0.015 50);
  --color-neutral-variant: oklch(50% 0.02 260);
  --radius-selector: 0.25rem;
  --radius-field: 0.625rem;
  --radius-box: 2rem;
  --size-selector: 0.1875rem;
  --size-field: 0.1875rem;
  --border: 0.5px;
  --depth: 1;
  --noise: 1;
  --color-surface-variant: oklch(94% 0.02 85);
  --color-inverse-surface: oklch(25% 0.02 260);
  --color-inverse-on-surface: oklch(95% 0.01 260);
  --color-inverse-primary: oklch(80% 0.14 55);
  --color-shadow: oklch(0% 0 0);
  --color-scrim: oklch(0% 0 0 / 50%);
}
:root {
  color-scheme: light;
  --color-primary: oklch(72% 0.17 75);
  --color-primary-content: oklch(100% 0 0);
  --color-primary-container: oklch(95% 0.035 95.91);
  --color-on-primary-container: oklch(25% 0.03 95.91);
  --color-secondary: oklch(62% 0.19 20);
  --color-secondary-content: oklch(100% 0 0);
  --color-secondary-container: oklch(94% 0.05 87.01);
  --color-on-secondary-container: oklch(25% 0.05 87.01);
  --color-tertiary: oklch(80% 0.085 235);
  --color-tertiary-content: oklch(18% 0.010 235);
  --color-tertiary-container: oklch(95% 0.035 235);
  --color-on-tertiary-container: oklch(22% 0.012 235);
  --color-surface: oklch(100% 0 0);
  --color-surface-dim: oklch(96% 0.01 85);
  --color-surface-bright: oklch(100% 0 0);
  --color-surface-container-lowest: oklch(100% 0 0);
  --color-surface-container-low: oklch(99% 0.01 85);
  --color-surface-container: oklch(97% 0.01 85);
  --color-surface-container-high: oklch(96% 0.01 85);
  --color-surface-container-highest: oklch(94% 0.01 85);
  --color-on-surface: oklch(27% 0.02 260);
  --color-on-surface-variant: oklch(50% 0.02 260);
  --color-info: oklch(41.94% 0.114 254.39);
  --color-info-content: oklch(91.94% 0.114 254.39);
  --color-info-container: oklch(95% 0.03 235);
  --color-on-info-container: oklch(35% 0.08 235);
  --color-success: oklch(67.21% 0.19 133.55);
  --color-success-content: oklch(27.21% 0.19 133.55);
  --color-success-container: oklch(93% 0.04 150);
  --color-on-success-container: oklch(30% 0.08 150);
  --color-warning: oklch(68.19% 0.203 42.44);
  --color-warning-content: oklch(18.19% 0.6 42);
  --color-warning-container: oklch(93% 0.05 80);
  --color-on-warning-container: oklch(38% 0.10 80);
  --color-error: oklch(61.17% 0.237 28.15);
  --color-error-content: oklch(90.01% 0.153 84.78);
  --color-error-container: oklch(93% 0.04 25);
  --color-on-error-container: oklch(32% 0.10 25);
  --color-base-100: oklch(100% 0.005 255);
  --color-base-200: oklch(95% 0.008 255);
  --color-base-300: oklch(90% 0.01 255);
  --color-base-400: oklch(55% 0.06 255);
  --color-base-500: oklch(45% 0.05 255);
  --color-base-600: oklch(35% 0.04 255);
  --color-base-700: oklch(25% 0.03 255);
  --color-base-800: oklch(18% 0.02 255);
  --color-base-900: oklch(12% 0.01 255);
  --color-base-content: oklch(10% 0 255);
  --color-outline: oklch(75% 0.01 260);
  --color-outline-variant: oklch(85% 0.01 260);
  --color-accent: oklch(85.23% 0.14 327);
  --color-accent-content: oklch(41% 0.112 45.904);
  --color-neutral: oklch(0% 0 0);
  --color-neutral-content: oklch(80% 0.015 50);
  --color-neutral-variant: oklch(50% 0.02 260);
  --radius-selector: 0.25rem;
  --radius-field: 0.625rem;
  --radius-box: 2rem;
  --size-selector: 0.1875rem;
  --size-field: 0.1875rem;
  --border: 0.5px;
  --depth: 1;
  --noise: 1;
  --color-surface-variant: oklch(94% 0.02 85);
  --color-inverse-surface: oklch(25% 0.02 260);
  --color-inverse-on-surface: oklch(95% 0.01 260);
  --color-inverse-primary: oklch(80% 0.14 55);
  --color-shadow: oklch(0% 0 0);
  --color-scrim: oklch(0% 0 0 / 50%);
}
[data-theme="moonlight"] {
  color-scheme: dark;
  --color-primary: oklch(85.45% 0 0);
  --color-primary-content: oklch(14.94% 0.031 39.947);
  --color-primary-container: oklch(25% 0.01 0);
  --color-on-primary-container: oklch(85% 0.01 0);
  --color-secondary: oklch(83.33% 0.0981 73.78);
  --color-secondary-content: oklch(14.507% 0.035 2.72);
  --color-secondary-container: oklch(28% 0.03 73.78);
  --color-on-secondary-container: oklch(88% 0.03 73.78);
  --color-tertiary: oklch(72% 0.090 255);
  --color-tertiary-content: oklch(14% 0.012 255);
  --color-tertiary-container: oklch(28% 0.030 255);
  --color-on-tertiary-container: oklch(88% 0.010 255);
  --color-surface: oklch(20% 0.02 260);
  --color-surface-dim: oklch(17% 0.02 260);
  --color-surface-bright: oklch(28% 0.02 260);
  --color-surface-container-lowest: oklch(14% 0.02 260);
  --color-surface-container-low: oklch(20% 0.02 260);
  --color-surface-container: oklch(22% 0.02 260);
  --color-surface-container-high: oklch(25% 0.02 260);
  --color-surface-container-highest: oklch(28% 0.01 260);
  --color-on-surface: oklch(95% 0.01 260);
  --color-on-surface-variant: oklch(75% 0.01 260);
  --color-info: oklch(82.42% 0.09757279812867503 240.7677443360475);
  --color-info-content: oklch(17.111% 0.017 206.015);
  --color-info-container: oklch(32% 0.06 235);
  --color-on-info-container: oklch(88% 0.06 235);
  --color-success: oklch(82.19% 0.0621 133.3);
  --color-success-content: oklch(17.112% 0.017 144.778);
  --color-success-container: oklch(30% 0.05 150);
  --color-on-success-container: oklch(85% 0.06 150);
  --color-warning: oklch(76.36% 0.1752731353930708 61.96388739129725);
  --color-warning-content: oklch(17.113% 0.016 74.427);
  --color-warning-container: oklch(35% 0.06 80);
  --color-on-warning-container: oklch(90% 0.06 80);
  --color-error: oklch(46.38% 0.1898 29.17);
  --color-error-content: oklch(86.38% 0.298 39.17);
  --color-error-container: oklch(30% 0.08 25);
  --color-on-error-container: oklch(88% 0.06 25);
  --color-base-100: oklch(22% 0.019 237.69);
  --color-base-200: oklch(20% 0.019 237.69);
  --color-base-300: oklch(18% 0.019 237.69);
  --color-base-400: oklch(26% 0.019 237.69);
  --color-base-500: oklch(32% 0.019 237.69);
  --color-base-600: oklch(40% 0.018 237.69);
  --color-base-700: oklch(55% 0.017 237.69);
  --color-base-800: oklch(70% 0.016 237.69);
  --color-base-900: oklch(85% 0.015 237.69);
  --color-base-content: oklch(77.383% 0.043 245.096);
  --color-outline: oklch(44% 0.01 260);
  --color-outline-variant: oklch(35% 0.01 260);
  --color-accent: oklch(75.65% 0.1303 335.51);
  --color-accent-content: oklch(14.258% 0.033 299.844);
  --color-neutral: oklch(23% 0 0);
  --color-neutral-content: oklch(52.43% 0 0);
  --color-neutral-variant: oklch(55% 0.01 260);
  --radius-selector: 0.125rem;
  --radius-field: 0.375rem;
  --radius-box: 1rem;
  --size-selector: 0.125rem;
  --size-field: 0.125rem;
  --border: 1px;
  --depth: 0.8;
  --noise: 0.6;
  --color-surface-variant: oklch(30% 0.02 260);
  --color-inverse-surface: oklch(95% 0.01 260);
  --color-inverse-on-surface: oklch(25% 0.02 260);
  --color-inverse-primary: oklch(55% 0.16 255);
  --color-shadow: oklch(0% 0 0);
  --color-scrim: oklch(0% 0 0 / 60%);
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.15);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.25), 0 1px 2px -1px rgb(0 0 0 / 0.25);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.25), 0 2px 4px -2px rgb(0 0 0 / 0.25);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --color-primary: oklch(85.45% 0 0);
    --color-primary-content: oklch(14.94% 0.031 39.947);
    --color-primary-container: oklch(25% 0.01 0);
    --color-on-primary-container: oklch(85% 0.01 0);
    --color-secondary: oklch(83.33% 0.0981 73.78);
    --color-secondary-content: oklch(14.507% 0.035 2.72);
    --color-secondary-container: oklch(28% 0.03 73.78);
    --color-on-secondary-container: oklch(88% 0.03 73.78);
    --color-tertiary: oklch(72% 0.090 255);
    --color-tertiary-content: oklch(14% 0.012 255);
    --color-tertiary-container: oklch(28% 0.030 255);
    --color-on-tertiary-container: oklch(88% 0.010 255);
    --color-surface: oklch(20% 0.02 260);
    --color-surface-dim: oklch(17% 0.02 260);
    --color-surface-bright: oklch(28% 0.02 260);
    --color-surface-container-lowest: oklch(14% 0.02 260);
    --color-surface-container-low: oklch(20% 0.02 260);
    --color-surface-container: oklch(22% 0.02 260);
    --color-surface-container-high: oklch(25% 0.02 260);
    --color-surface-container-highest: oklch(28% 0.01 260);
    --color-on-surface: oklch(95% 0.01 260);
    --color-on-surface-variant: oklch(75% 0.01 260);
    --color-info: oklch(82.42% 0.09757279812867503 240.7677443360475);
    --color-info-content: oklch(17.111% 0.017 206.015);
    --color-info-container: oklch(32% 0.06 235);
    --color-on-info-container: oklch(88% 0.06 235);
    --color-success: oklch(82.19% 0.0621 133.3);
    --color-success-content: oklch(17.112% 0.017 144.778);
    --color-success-container: oklch(30% 0.05 150);
    --color-on-success-container: oklch(85% 0.06 150);
    --color-warning: oklch(76.36% 0.1752731353930708 61.96388739129725);
    --color-warning-content: oklch(17.113% 0.016 74.427);
    --color-warning-container: oklch(35% 0.06 80);
    --color-on-warning-container: oklch(90% 0.06 80);
    --color-error: oklch(46.38% 0.1898 29.17);
    --color-error-content: oklch(86.38% 0.298 39.17);
    --color-error-container: oklch(30% 0.08 25);
    --color-on-error-container: oklch(88% 0.06 25);
    --color-base-100: oklch(22% 0.019 237.69);
    --color-base-200: oklch(20% 0.019 237.69);
    --color-base-300: oklch(18% 0.019 237.69);
    --color-base-400: oklch(26% 0.019 237.69);
    --color-base-500: oklch(32% 0.019 237.69);
    --color-base-600: oklch(40% 0.018 237.69);
    --color-base-700: oklch(55% 0.017 237.69);
    --color-base-800: oklch(70% 0.016 237.69);
    --color-base-900: oklch(85% 0.015 237.69);
    --color-base-content: oklch(77.383% 0.043 245.096);
    --color-outline: oklch(44% 0.01 260);
    --color-outline-variant: oklch(35% 0.01 260);
    --color-accent: oklch(75.65% 0.1303 335.51);
    --color-accent-content: oklch(14.258% 0.033 299.844);
    --color-neutral: oklch(23% 0 0);
    --color-neutral-content: oklch(52.43% 0 0);
    --color-neutral-variant: oklch(55% 0.01 260);
    --radius-selector: 0.125rem;
    --radius-field: 0.375rem;
    --radius-box: 1rem;
    --size-selector: 0.125rem;
    --size-field: 0.125rem;
    --border: 1px;
    --depth: 0.8;
    --noise: 0.6;
    --color-surface-variant: oklch(30% 0.02 260);
    --color-inverse-surface: oklch(95% 0.01 260);
    --color-inverse-on-surface: oklch(25% 0.02 260);
    --color-inverse-primary: oklch(55% 0.16 255);
    --color-shadow: oklch(0% 0 0);
    --color-scrim: oklch(0% 0 0 / 60%);
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.15);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.25), 0 1px 2px -1px rgb(0 0 0 / 0.25);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.25), 0 2px 4px -2px rgb(0 0 0 / 0.25);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
  }
}
@layer components {
  .btn {
    --btn-p: 1.25rem;
    --btn-py: 0.625rem;
    --btn-text-color: var(--color-on-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-inline: var(--btn-p);
    padding-block: var(--btn-py);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    transition: all 150ms ease-in-out;
    background-color: var(--color-surface-container);
    color: var(--btn-text-color);
  }
  .btn:hover {
    filter: brightness(0.95);
  }
  .btn:active {
    transform: scale(0.98);
  }
  .btn:focus {
    outline: none;
  }
  .btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
  }
  .btn-primary {
    --btn-text-color: var(--color-primary-content);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .btn-primary:hover {
    background-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary), black 10%);
    }
    border-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--color-primary), black 10%);
    }
    filter: none;
  }
  .btn-primary:focus-visible {
    outline-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      outline-color: color-mix(in oklch, var(--color-primary), black 10%);
    }
  }
  .btn-secondary {
    --btn-text-color: var(--color-secondary-content);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
  }
  .btn-secondary:hover {
    background-color: var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-secondary), black 10%);
    }
    border-color: var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--color-secondary), black 10%);
    }
    filter: none;
  }
  .btn-secondary:focus-visible {
    outline-color: var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      outline-color: color-mix(in oklch, var(--color-secondary), black 10%);
    }
  }
  .btn-tertiary {
    --btn-text-color: var(--color-tertiary-content);
    background-color: var(--color-tertiary);
    border-color: var(--color-tertiary);
  }
  .btn-tertiary:hover {
    background-color: var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-tertiary), black 10%);
    }
    border-color: var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--color-tertiary), black 10%);
    }
    filter: none;
  }
  .btn-tertiary:focus-visible {
    outline-color: var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      outline-color: color-mix(in oklch, var(--color-tertiary), black 10%);
    }
  }
  .btn-outline {
    --btn-text-color: var(--color-on-surface);
    background-color: transparent;
    border: 1px solid var(--color-outline);
  }
  .btn-outline:hover {
    background-color: var(--color-surface-container);
    filter: none;
  }
  .btn-outline.btn-primary {
    --btn-text-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .btn-outline.btn-primary:hover {
    --btn-text-color: var(--color-primary-content);
    background-color: var(--color-primary);
  }
  .btn-outline.btn-secondary {
    --btn-text-color: var(--color-secondary);
    border-color: var(--color-secondary);
  }
  .btn-outline.btn-secondary:hover {
    --btn-text-color: var(--color-secondary-content);
    background-color: var(--color-secondary);
  }
  .btn-outline.btn-tertiary {
    --btn-text-color: var(--color-tertiary);
    border-color: var(--color-tertiary);
  }
  .btn-outline.btn-tertiary:hover {
    --btn-text-color: var(--color-tertiary-content);
    background-color: var(--color-tertiary);
  }
  .btn-outlined {
    --btn-text-color: var(--color-on-surface);
    background-color: transparent;
    border: 1px solid var(--color-outline);
  }
  .btn-outlined:hover {
    background-color: var(--color-surface-container);
    filter: none;
  }
  .btn-outlined.btn-primary {
    --btn-text-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .btn-outlined.btn-primary:hover {
    --btn-text-color: var(--color-primary-content);
    background-color: var(--color-primary);
  }
  .btn-outlined.btn-secondary {
    --btn-text-color: var(--color-secondary);
    border-color: var(--color-secondary);
  }
  .btn-outlined.btn-secondary:hover {
    --btn-text-color: var(--color-secondary-content);
    background-color: var(--color-secondary);
  }
  .btn-outlined.btn-tertiary {
    --btn-text-color: var(--color-tertiary);
    border-color: var(--color-tertiary);
  }
  .btn-outlined.btn-tertiary:hover {
    --btn-text-color: var(--color-tertiary-content);
    background-color: var(--color-tertiary);
  }
  .btn-ghost {
    --btn-text-color: var(--color-on-surface);
    background-color: transparent;
    border-color: transparent;
  }
  .btn-ghost:hover {
    background-color: var(--color-surface-container);
    filter: none;
  }
  .btn-ghost.btn-primary {
    --btn-text-color: var(--color-primary);
  }
  .btn-ghost.btn-primary:hover {
    --btn-text-color: var(--color-on-primary-container);
    background-color: var(--color-primary-container);
  }
  .btn-ghost.btn-secondary {
    --btn-text-color: var(--color-secondary);
  }
  .btn-ghost.btn-secondary:hover {
    --btn-text-color: var(--color-on-secondary-container);
    background-color: var(--color-secondary-container);
  }
  .btn-ghost.btn-tertiary {
    --btn-text-color: var(--color-tertiary);
  }
  .btn-ghost.btn-tertiary:hover {
    --btn-text-color: var(--color-on-tertiary-container);
    background-color: var(--color-tertiary-container);
  }
  .btn-text {
    --btn-text-color: var(--color-on-surface);
    background-color: transparent;
    border-color: transparent;
  }
  .btn-text:hover {
    background-color: var(--color-surface-container);
    filter: none;
  }
  .btn-text.btn-primary {
    --btn-text-color: var(--color-primary);
  }
  .btn-text.btn-primary:hover {
    --btn-text-color: var(--color-on-primary-container);
    background-color: var(--color-primary-container);
  }
  .btn-text.btn-secondary {
    --btn-text-color: var(--color-secondary);
  }
  .btn-text.btn-secondary:hover {
    --btn-text-color: var(--color-on-secondary-container);
    background-color: var(--color-secondary-container);
  }
  .btn-text.btn-tertiary {
    --btn-text-color: var(--color-tertiary);
  }
  .btn-text.btn-tertiary:hover {
    --btn-text-color: var(--color-on-tertiary-container);
    background-color: var(--color-tertiary-container);
  }
  .btn-tonal {
    --btn-text-color: var(--color-on-primary-container);
    background-color: var(--color-primary-container);
    border-color: transparent;
  }
  .btn-tonal:hover {
    filter: brightness(0.95);
  }
  .btn-tonal.btn-primary {
    --btn-text-color: var(--color-on-primary-container);
    background-color: var(--color-primary-container);
  }
  .btn-tonal.btn-secondary {
    --btn-text-color: var(--color-on-secondary-container);
    background-color: var(--color-secondary-container);
  }
  .btn-tonal.btn-tertiary {
    --btn-text-color: var(--color-on-tertiary-container);
    background-color: var(--color-tertiary-container);
  }
  .btn-tonal.btn-info {
    --btn-text-color: var(--color-on-info-container);
    background-color: var(--color-info-container);
  }
  .btn-tonal.btn-success {
    --btn-text-color: var(--color-on-success-container);
    background-color: var(--color-success-container);
  }
  .btn-tonal.btn-warning {
    --btn-text-color: var(--color-on-warning-container);
    background-color: var(--color-warning-container);
  }
  .btn-tonal.btn-error {
    --btn-text-color: var(--color-on-error-container);
    background-color: var(--color-error-container);
  }
  .btn-info {
    --btn-text-color: var(--color-info-content);
    background-color: var(--color-info);
    border-color: var(--color-info);
  }
  .btn-info:hover {
    background-color: var(--color-info);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-info), black 10%);
    }
    border-color: var(--color-info);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--color-info), black 10%);
    }
    filter: none;
  }
  .btn-success {
    --btn-text-color: var(--color-success-content);
    background-color: var(--color-success);
    border-color: var(--color-success);
  }
  .btn-success:hover {
    background-color: var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-success), black 10%);
    }
    border-color: var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--color-success), black 10%);
    }
    filter: none;
  }
  .btn-warning {
    --btn-text-color: var(--color-warning-content);
    background-color: var(--color-warning);
    border-color: var(--color-warning);
  }
  .btn-warning:hover {
    background-color: var(--color-warning);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-warning), black 10%);
    }
    border-color: var(--color-warning);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--color-warning), black 10%);
    }
    filter: none;
  }
  .btn-error {
    --btn-text-color: var(--color-error-content);
    background-color: var(--color-error);
    border-color: var(--color-error);
  }
  .btn-error:hover {
    background-color: var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-error), black 10%);
    }
    border-color: var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--color-error), black 10%);
    }
    filter: none;
  }
  .btn-xs {
    --btn-p: 0.5rem;
    --btn-py: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 0.25rem;
  }
  .btn-sm {
    --btn-p: 0.75rem;
    --btn-py: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.125rem;
    border-radius: 0.375rem;
  }
  .btn-md {
    --btn-p: 1.25rem;
    --btn-py: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.5rem;
  }
  .btn-lg {
    --btn-p: 1.75rem;
    --btn-py: 0.875rem;
    font-size: 1rem;
    line-height: 1.5rem;
    border-radius: 0.625rem;
  }
  .btn-block {
    display: flex;
    width: 100%;
  }
  .btn-group {
    display: inline-flex;
  }
  .btn-group .btn {
    border-radius: 0;
  }
  .btn-group .btn:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
  }
  .btn-group .btn:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }
  .btn-group .btn:not(:first-child) {
    margin-inline-start: -1px;
  }
  .btn-loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
  }
  .btn-loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--btn-text-color);
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
  }
  @keyframes btn-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .btn-circle {
    --btn-p: 0.625rem;
    --btn-py: 0.625rem;
    border-radius: 50%;
    aspect-ratio: 1;
  }
  .btn-square {
    --btn-p: 0.625rem;
    --btn-py: 0.625rem;
    aspect-ratio: 1;
  }
  @media (prefers-reduced-motion: reduce) {
    .btn {
      transition: none;
    }
    .btn-loading::after {
      animation: none;
    }
  }
}
@layer components {
  .card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 150ms ease-in-out, transform 150ms ease-in-out;
  }
  .card:hover {
    box-shadow: var(--shadow-md);
  }
  .card figure, .card-image {
    overflow: hidden;
  }
  .card figure img, .card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .card-body {
    --card-p: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: var(--card-p);
    flex: 1;
  }
  .card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-inline: var(--card-p, 1.5rem);
    padding-block: calc(var(--card-p, 1.5rem) * 0.5);
    border-block-end: 1px solid var(--color-outline-variant);
  }
  .card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-inline: var(--card-p, 1.5rem);
    padding-block: calc(var(--card-p, 1.5rem) * 0.5);
    border-block-start: 1px solid var(--color-outline-variant);
    margin-block-start: auto;
  }
  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
    color: var(--color-on-surface);
  }
  .card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-block-start: auto;
    padding-block-start: 0.5rem;
  }
  .card-actions.justify-end {
    justify-content: flex-end;
  }
  .card-actions.justify-start {
    justify-content: flex-start;
  }
  .card-actions.justify-center {
    justify-content: center;
  }
  .card-bordered {
    border: 1px solid var(--color-outline);
    box-shadow: none;
  }
  .card-bordered:hover {
    box-shadow: none;
    border-color: var(--color-outline-variant);
  }
  .card-compact .card-header, .card-compact .card-body, .card-compact .card-footer {
    --card-p: 1rem;
  }
  .card-compact .card-title {
    font-size: 1rem;
  }
  .card-side {
    flex-direction: row;
  }
  .card-side figure, .card-side .card-image {
    width: 40%;
    flex-shrink: 0;
  }
  .card-side figure img, .card-side .card-image img {
    height: 100%;
    object-fit: cover;
  }
  .card-primary {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .card-primary .card-title {
    color: var(--color-on-primary-container);
  }
  .card-secondary {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
  }
  .card-secondary .card-title {
    color: var(--color-on-secondary-container);
  }
  .card-tertiary {
    background-color: var(--color-tertiary-container);
    color: var(--color-on-tertiary-container);
  }
  .card-tertiary .card-title {
    color: var(--color-on-tertiary-container);
  }
  .card-glass {
    background-color: rgb(255 255 255 / 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgb(255 255 255 / 0.2);
  }
  .card-elevated {
    box-shadow: var(--shadow-lg);
  }
  .card-elevated:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
  }
  .card-interactive {
    cursor: pointer;
  }
  .card-interactive:active {
    transform: scale(0.99);
  }
  .card-interactive:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .card-full-image {
    position: relative;
  }
  .card-full-image figure, .card-full-image .card-image {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .card-full-image .card-body {
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent);
    color: white;
    margin-top: auto;
    min-height: 50%;
  }
  .card-full-image .card-title {
    color: white;
  }
}
@layer components {
  .input {
    display: flex;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    border: 1px solid transparent;
    border-radius: 0.5rem;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .input::placeholder {
    color: var(--color-on-surface-variant);
    opacity: 0.7;
  }
  .input:focus {
    outline: none;
  }
  .input:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
    outline: none;
  }
  .input:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
  }
  .input-bordered {
    border-color: var(--color-outline);
    background-color: var(--color-surface);
  }
  .input-bordered:hover:not(:disabled):not(:focus) {
    border-color: var(--color-outline-variant);
  }
  .input-primary {
    border-color: var(--color-primary);
  }
  .input-primary:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .input-secondary {
    border-color: var(--color-secondary);
  }
  .input-secondary:focus-visible {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-secondary) 10%, transparent);
    }
  }
  .input-tertiary {
    border-color: var(--color-tertiary);
  }
  .input-tertiary:focus-visible {
    border-color: var(--color-tertiary);
    box-shadow: 0 0 0 3px var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-tertiary) 10%, transparent);
    }
  }
  .input-info {
    border-color: var(--color-info);
  }
  .input-info:focus-visible {
    border-color: var(--color-info);
    box-shadow: 0 0 0 3px var(--color-info);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-info) 10%, transparent);
    }
  }
  .input-success {
    border-color: var(--color-success);
  }
  .input-success:focus-visible {
    border-color: var(--color-success);
    box-shadow: 0 0 0 3px var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-success) 10%, transparent);
    }
  }
  .input-warning {
    border-color: var(--color-warning);
  }
  .input-warning:focus-visible {
    border-color: var(--color-warning);
    box-shadow: 0 0 0 3px var(--color-warning);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-warning) 10%, transparent);
    }
  }
  .input-error {
    border-color: var(--color-error);
  }
  .input-error:focus-visible {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .input-xs {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 0.25rem;
    height: 1.75rem;
  }
  .input-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.375rem;
    height: 2.25rem;
  }
  .input-lg {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    border-radius: 0.625rem;
    height: 3.5rem;
  }
  .input-ghost {
    background-color: transparent;
    border-color: transparent;
  }
  .input-ghost:focus-visible {
    background-color: var(--color-surface-container);
    border-color: transparent;
    box-shadow: none;
  }
  .input-filled {
    background-color: var(--color-surface-container);
    border-color: transparent;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .input-filled:focus-visible {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .input-group {
    display: flex;
    align-items: stretch;
  }
  .input-group > .input {
    flex: 1;
    border-radius: 0;
  }
  .input-group > .input:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
  }
  .input-group > .input:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }
  .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background-color: var(--color-surface-container);
    color: var(--color-on-surface-variant);
    border: 1px solid var(--color-outline);
  }
  .input-group-text:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-right: none;
  }
  .input-group-text:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-left: none;
  }
  .file-input {
    display: flex;
    width: 100%;
    padding: 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
  }
  .file-input::file-selector-button {
    padding: 0.75rem 1rem;
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
    border: none;
    border-right: 1px solid var(--color-outline);
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .file-input::file-selector-button:hover {
    background-color: var(--color-surface-container-high);
  }
  .file-input:focus-visible {
    border-color: var(--color-primary);
    outline: none;
  }
}
@layer components {
  .form-control {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    margin-bottom: 1rem;
  }
  .label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
  }
  .label-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-base-content);
    padding-bottom: 0.25rem;
  }
  .label-text-alt {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--color-outline);
    border-radius: 0.25rem;
    background-color: transparent;
    cursor: pointer;
    transition: all 150ms ease-in-out;
    position: relative;
  }
  .checkbox:hover {
    border-color: var(--color-primary);
  }
  .checkbox:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .checkbox:checked::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.0625rem;
    width: 0.375rem;
    height: 0.625rem;
    border: solid var(--color-primary-content);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .checkbox:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  .checkbox-primary:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .checkbox-secondary:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
  }
  .checkbox-success:checked {
    background-color: var(--color-success);
    border-color: var(--color-success);
  }
  .checkbox-error:checked {
    background-color: var(--color-error);
    border-color: var(--color-error);
  }
  .checkbox-xs {
    width: 0.875rem;
    height: 0.875rem;
  }
  .checkbox-sm {
    width: 1rem;
    height: 1rem;
  }
  .checkbox-lg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .radio {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--color-outline);
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: all 150ms ease-in-out;
    position: relative;
  }
  .radio:hover {
    border-color: var(--color-primary);
  }
  .radio:checked {
    border-color: var(--color-primary);
  }
  .radio:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .radio:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .radio:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  .radio-primary:checked {
    border-color: var(--color-primary);
  }
  .radio-primary:checked::after {
    background-color: var(--color-primary);
  }
  .radio-secondary:checked {
    border-color: var(--color-secondary);
  }
  .radio-secondary:checked::after {
    background-color: var(--color-secondary);
  }
  .toggle {
    appearance: none;
    width: 3rem;
    height: 1.5rem;
    border-radius: 1rem;
    background-color: var(--color-surface-container-highest);
    cursor: pointer;
    transition: all 150ms ease-in-out;
    position: relative;
  }
  .toggle::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: var(--color-on-surface-variant);
    border-radius: 50%;
    transition: all 150ms ease-in-out;
  }
  .toggle:checked {
    background-color: var(--color-primary);
  }
  .toggle:checked::after {
    left: calc(100% - 1.25rem);
    background-color: var(--color-primary-content);
  }
  .toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .toggle:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  .toggle-xs {
    width: 2rem;
    height: 1rem;
  }
  .toggle-xs::after {
    width: 0.625rem;
    height: 0.625rem;
    left: 0.1875rem;
  }
  .toggle-xs:checked::after {
    left: calc(100% - 0.8125rem);
  }
  .toggle-sm {
    width: 2.5rem;
    height: 1.25rem;
  }
  .toggle-sm::after {
    width: 0.75rem;
    height: 0.75rem;
  }
  .toggle-lg {
    width: 4rem;
    height: 2rem;
  }
  .toggle-lg::after {
    width: 1.5rem;
    height: 1.5rem;
  }
  .select {
    appearance: none;
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: border-color 150ms ease-in-out;
  }
  .select:focus {
    outline: none;
  }
  .select:focus-visible {
    border-color: var(--color-primary);
    outline: none;
  }
  .select:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  .select-bordered {
    border-color: var(--color-outline);
  }
  .select-primary:focus-visible {
    border-color: var(--color-primary);
  }
  .select-secondary:focus-visible {
    border-color: var(--color-secondary);
  }
  .select-xs {
    padding: 0.375rem 2rem 0.375rem 0.625rem;
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .select-sm {
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .select-lg {
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .textarea {
    width: 100%;
    min-height: 6rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    resize: vertical;
    transition: border-color 150ms ease-in-out;
  }
  .textarea::placeholder {
    color: var(--color-on-surface-variant);
    opacity: 0.7;
  }
  .textarea:focus {
    outline: none;
  }
  .textarea:focus-visible {
    border-color: var(--color-primary);
  }
  .textarea:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    resize: none;
  }
  .textarea-bordered {
    border-color: var(--color-outline);
  }
  .form-control.error .input, .form-control.error .select, .form-control.error .textarea, .input-error {
    border-color: var(--color-error);
  }
  .form-control.error .label-text {
    color: var(--color-error);
  }
  .form-control.success .input, .form-control.success .select, .form-control.success .textarea {
    border-color: var(--color-success);
  }
  .form-control.success .label-text {
    color: var(--color-success);
  }
  .helper-text {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    margin-top: 0.25rem;
  }
  .helper-text.error {
    color: var(--color-error);
  }
  .helper-text.success {
    color: var(--color-success);
  }
  .label-text.required::after {
    content: ' *';
    color: var(--color-error);
  }
  .range {
    appearance: none;
    width: 100%;
    height: 0.5rem;
    background-color: var(--color-surface-container-highest);
    border-radius: 0.25rem;
    cursor: pointer;
  }
  .range::-webkit-slider-thumb {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 150ms ease-in-out;
  }
  .range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
  }
  .range::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
  }
  .range:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
}
@layer components {
  .navbar {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 4rem;
    padding: 0.5rem 1rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
  }
  .navbar-start {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .navbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 0.5rem;
  }
  .navbar-end {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 0.5rem;
  }
  .menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    gap: 0.25rem;
  }
  .menu li {
    display: flex;
    flex-shrink: 0;
  }
  .menu li > a, .menu li > button, .menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    text-decoration: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
    white-space: nowrap;
  }
  .menu li > a:hover, .menu li > button:hover, .menu-item:hover {
    background-color: var(--color-surface-container);
  }
  .menu li > a:focus-visible, .menu li > button:focus-visible, .menu-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
  }
  .menu li > a.active, .menu li > button.active, .menu-item.active, .menu li > a[aria-current="page"], .menu li > button[aria-current="page"] {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .menu li.disabled > a, .menu li.disabled > button, .menu-item:disabled {
    opacity: 0.5;
    pointer-events: none;
  }
  .menu-horizontal {
    flex-direction: row;
  }
  .menu-vertical {
    flex-direction: column;
  }
  .menu-vertical li {
    width: 100%;
  }
  .menu-vertical li > a, .menu-vertical li > button, .menu-vertical .menu-item {
    width: 100%;
  }
  .menu-compact li > a, .menu-compact li > button, .menu-compact .menu-item {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
  .menu-title {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-on-surface-variant);
  }
  .breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    font-size: 0.875rem;
  }
  .breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .breadcrumbs li::after {
    content: '/';
    color: var(--color-on-surface-variant);
    opacity: 0.5;
  }
  .breadcrumbs li:last-child::after {
    display: none;
  }
  .breadcrumbs li > a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 150ms ease-in-out;
  }
  .breadcrumbs li > a:hover {
    text-decoration: underline;
  }
  .breadcrumbs li:last-child {
    color: var(--color-on-surface-variant);
  }
  .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-on-surface-variant);
    text-decoration: none;
    transition: color 150ms ease-in-out;
  }
  .breadcrumb-item:hover {
    color: var(--color-on-surface);
  }
  .breadcrumb-item-active {
    color: var(--color-on-surface);
    font-weight: 500;
    pointer-events: none;
  }
  .breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-on-surface-variant);
    text-decoration: none;
    transition: color 150ms ease-in-out;
    cursor: pointer;
  }
  .breadcrumb-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
  }
  .breadcrumb-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 0.25rem;
  }
  .breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: var(--color-on-surface-variant);
    font-size: 0.875rem;
    user-select: none;
    opacity: 0.6;
  }
  .breadcrumb-separator::before {
    content: "/";
  }
  .breadcrumbs-slash .breadcrumb-separator::before {
    content: "/";
  }
  .breadcrumbs-chevron .breadcrumb-separator::before {
    content: "›";
    font-size: 1.125rem;
  }
  .breadcrumbs-dot .breadcrumb-separator::before {
    content: "•";
  }
  .breadcrumbs-arrow .breadcrumb-separator::before {
    content: "→";
  }
  .breadcrumbs-pipe .breadcrumb-separator::before {
    content: "|";
  }
  .breadcrumb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
  }
  .breadcrumb-icon svg {
    width: 100%;
    height: 100%;
  }
  .breadcrumb-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-on-surface-variant);
    text-decoration: none;
    transition: color 150ms ease-in-out;
  }
  .breadcrumb-home:hover {
    color: var(--color-primary);
  }
  .breadcrumb-home-icon {
    width: 1.125rem;
    height: 1.125rem;
  }
  .breadcrumb-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .breadcrumb-ellipsis::before {
    content: "...";
  }
  .breadcrumb-ellipsis:hover {
    background-color: var(--color-on-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-on-surface) 8%, transparent);
    }
  }
  .breadcrumbs-primary .breadcrumb-link:hover, .breadcrumbs-primary .breadcrumb-item-active {
    color: var(--color-primary);
  }
  .breadcrumbs-secondary .breadcrumb-link:hover, .breadcrumbs-secondary .breadcrumb-item-active {
    color: var(--color-secondary);
  }
  .breadcrumbs-tertiary .breadcrumb-link:hover, .breadcrumbs-tertiary .breadcrumb-item-active {
    color: var(--color-tertiary);
  }
  .breadcrumbs-sm {
    font-size: 0.75rem;
    gap: 0.375rem;
  }
  .breadcrumbs-sm .breadcrumb-icon, .breadcrumbs-sm .breadcrumb-home-icon {
    width: 0.875rem;
    height: 0.875rem;
  }
  .breadcrumbs-lg {
    font-size: 1rem;
    gap: 0.625rem;
  }
  .breadcrumbs-lg .breadcrumb-icon, .breadcrumbs-lg .breadcrumb-home-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .breadcrumbs-contained {
    padding: 0.75rem 1rem;
    background-color: var(--color-surface-container);
    border-radius: 0.5rem;
  }
  .breadcrumbs-nowrap {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .breadcrumb-item-disabled {
    opacity: 0.38;
    pointer-events: none;
    cursor: not-allowed;
  }
  .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid var(--color-outline);
  }
  .tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    text-decoration: none;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 150ms ease-in-out;
    position: relative;
    margin-bottom: -1px;
  }
  .tab:hover {
    color: var(--color-on-surface);
    background-color: var(--color-surface-container);
  }
  .tab:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
  }
  .tab.tab-active, .tab[aria-selected="true"] {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
  }
  .tab:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .tabs-boxed {
    background-color: var(--color-surface-container);
    border-radius: 0.5rem;
    padding: 0.25rem;
    border: none;
  }
  .tabs-boxed .tab {
    border-radius: 0.375rem;
    border-bottom: none;
    margin-bottom: 0;
  }
  .tabs-boxed .tab.tab-active, .tabs-boxed .tab[aria-selected="true"] {
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    box-shadow: var(--shadow-xs);
  }
  .tabs-lifted {
    border: none;
  }
  .tabs-lifted .tab {
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: -1px;
  }
  .tabs-lifted .tab.tab-active, .tabs-lifted .tab[aria-selected="true"] {
    background-color: var(--color-surface);
    border-color: var(--color-outline);
    border-bottom-color: var(--color-surface);
  }
  .tab-xs {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
  }
  .tab-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }
  .tab-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  .dropdown {
    position: relative;
    display: inline-block;
  }
  .dropdown-content {
    position: absolute;
    z-index: 50;
    min-width: 12rem;
    padding: 0.5rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: all 150ms ease-in-out;
  }
  .dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content, .dropdown.dropdown-open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-end .dropdown-content {
    right: 0;
  }
  .dropdown-top .dropdown-content {
    bottom: 100%;
    top: auto;
    margin-bottom: 0.25rem;
  }
  .dropdown-left .dropdown-content {
    right: 100%;
    left: auto;
    top: 0;
    margin-right: 0.25rem;
  }
  .dropdown-right .dropdown-content {
    left: 100%;
    right: auto;
    top: 0;
    margin-left: 0.25rem;
  }
  .pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .pagination-item, .pagination-prev, .pagination-next, .pagination li > a, .pagination li > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 150ms ease-in-out;
    white-space: nowrap;
  }
  .pagination-item:hover, .pagination-prev:hover, .pagination-next:hover, .pagination li > a:hover, .pagination li > button:hover {
    background-color: var(--color-surface-container);
  }
  .pagination-item-active, .pagination-item-active-primary, .pagination li > a.active, .pagination li > button.active, .pagination li > a[aria-current="page"], .pagination li > button[aria-current="page"] {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
    border-color: var(--color-primary);
  }
  .pagination-item-active-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-content);
    border-color: var(--color-secondary);
  }
  .pagination-item-active-tertiary {
    background-color: var(--color-tertiary);
    color: var(--color-tertiary-content);
    border-color: var(--color-tertiary);
  }
  .pagination-item:focus-visible, .pagination-prev:focus-visible, .pagination-next:focus-visible, .pagination li > a:focus-visible, .pagination li > button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .pagination-item:disabled, .pagination-item-disabled, .pagination-prev:disabled, .pagination-next:disabled, .pagination li > a:disabled, .pagination li > button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
  .pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    color: var(--color-on-surface-variant);
  }
  .pagination-ellipsis::before {
    content: '…';
  }
  .pagination-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .pagination-info-text {
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
  }
  .pagination-input {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
  }
  .pagination-input input {
    width: 3.5rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.375rem;
  }
  .pagination-input input:focus {
    outline: none;
    border-color: var(--color-primary);
  }
  .pagination-outlined .pagination-item, .pagination-outlined .pagination-prev, .pagination-outlined .pagination-next {
    border: 1px solid var(--color-outline);
  }
  .pagination-tonal .pagination-item-active, .pagination-tonal .pagination-item-active-primary {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
    border-color: var(--color-primary-container);
  }
  .pagination-sm .pagination-item, .pagination-sm .pagination-prev, .pagination-sm .pagination-next {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
  }
  .pagination-lg .pagination-item, .pagination-lg .pagination-prev, .pagination-lg .pagination-next {
    min-width: 3rem;
    height: 3rem;
    padding: 0 1rem;
    font-size: 1rem;
  }
  .pagination-compact {
    gap: 0;
  }
  .pagination-compact .pagination-item, .pagination-compact .pagination-prev, .pagination-compact .pagination-next {
    border-radius: 0;
  }
  .pagination-compact .pagination-item:first-child, .pagination-compact .pagination-prev {
    border-radius: 0.5rem 0 0 0.5rem;
  }
  .pagination-compact .pagination-item:last-child, .pagination-compact .pagination-next {
    border-radius: 0 0.5rem 0.5rem 0;
  }
  .pagination-responsive {
    flex-wrap: wrap;
    justify-content: center;
  }
  @media (prefers-reduced-motion: reduce) {
    .pagination-item, .pagination-prev, .pagination-next {
      transition: none;
    }
  }
}
@layer components {
  .modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: visibility 200ms ease-out, opacity 200ms ease-out;
  }
  .modal.modal-open, .modal:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-box {
    position: relative;
    z-index: 1;
    max-width: 32rem;
    max-height: calc(100vh - 5rem);
    padding: 1.5rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 200ms ease-out;
  }
  .modal.modal-open .modal-box, .modal:target .modal-box {
    transform: scale(1);
  }
  .modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: rgb(0 0 0 / 0.5);
    cursor: pointer;
  }
  .modal-backdrop::before {
    content: '';
    position: absolute;
    inset: 0;
  }
  .modal-action {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
  .modal-toggle {
    position: fixed;
    width: 0;
    height: 0;
    appearance: none;
    opacity: 0;
  }
  .modal-toggle:checked + .modal {
    visibility: visible;
    opacity: 1;
  }
  .modal-toggle:checked + .modal .modal-box {
    transform: scale(1);
  }
  .modal-sm .modal-box {
    max-width: 20rem;
  }
  .modal-lg .modal-box {
    max-width: 48rem;
  }
  .modal-full .modal-box {
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    width: 100%;
    height: 100%;
  }
  .modal-top {
    align-items: flex-start;
    padding-top: 2rem;
  }
  .modal-bottom {
    align-items: flex-end;
    padding-bottom: 2rem;
  }
  .modal-middle {
    align-items: center;
  }
  .modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
  }
  .modal-close:hover {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
  }
  .modal-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .modal-header {
    margin-bottom: 1rem;
    padding-right: 2rem;
  }
  .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-on-surface);
    margin: 0;
  }
  .modal-body {
    color: var(--color-on-surface-variant);
    line-height: 1.5;
  }
  @media (max-width: 640px) {
    .modal-box {
      max-width: calc(100vw - 2rem);
      margin: 1rem;
    }
    .modal-responsive {
      align-items: flex-end;
      padding: 0;
    }
    .modal-responsive .modal-box {
      max-width: 100%;
      max-height: 90vh;
      margin: 0;
      border-radius: 1rem 1rem 0 0;
    }
  }
  .drawer-modal {
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
  }
  .drawer-modal .modal-box {
    max-width: 20rem;
    max-height: 100vh;
    height: 100%;
    margin: 0;
    border-radius: 0;
    transform: translateX(100%);
  }
  .drawer-modal.modal-open .modal-box, .drawer-modal:target .modal-box {
    transform: translateX(0);
  }
  .drawer-modal-left {
    justify-content: flex-start;
  }
  .drawer-modal-left .modal-box {
    transform: translateX(-100%);
  }
  .drawer-modal-left.modal-open .modal-box, .drawer-modal-left:target .modal-box {
    transform: translateX(0);
  }
  .alert-dialog {
    text-align: center;
  }
  .alert-dialog .modal-box {
    max-width: 24rem;
  }
  .alert-dialog .modal-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
  }
  .alert-dialog .modal-icon.info {
    background-color: var(--color-info-container);
    color: var(--color-on-info-container);
  }
  .alert-dialog .modal-icon.success {
    background-color: var(--color-success-container);
    color: var(--color-on-success-container);
  }
  .alert-dialog .modal-icon.warning {
    background-color: var(--color-warning-container);
    color: var(--color-on-warning-container);
  }
  .alert-dialog .modal-icon.error {
    background-color: var(--color-error-container);
    color: var(--color-on-error-container);
  }
  .alert-dialog .modal-action {
    justify-content: center;
  }
  @media (prefers-reduced-motion: reduce) {
    .modal {
      transition: visibility 0ms, opacity 0ms;
    }
    .modal-box {
      transition: transform 0ms;
    }
  }
  .modal-focus-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
@layer components {
  .avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
    font-weight: 500;
    flex-shrink: 0;
  }
  .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.25rem;
    text-transform: uppercase;
  }
  .avatar-xs {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.625rem;
  }
  .avatar-sm {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
  .avatar-md {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }
  .avatar-lg {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }
  .avatar-xl {
    width: 6rem;
    height: 6rem;
    font-size: 2rem;
  }
  .avatar-rounded {
    border-radius: 0.5rem;
  }
  .avatar-square {
    border-radius: 0;
  }
  .avatar-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .avatar-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-content);
  }
  .avatar-tertiary {
    background-color: var(--color-tertiary);
    color: var(--color-tertiary-content);
  }
  .avatar-ring {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .avatar-ring-primary {
    outline-color: var(--color-primary);
  }
  .avatar-ring-secondary {
    outline-color: var(--color-secondary);
  }
  .avatar-ring-tertiary {
    outline-color: var(--color-tertiary);
  }
  .avatar-online::after, .avatar-offline::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25%;
    height: 25%;
    min-width: 0.5rem;
    min-height: 0.5rem;
    border-radius: 50%;
    border: 2px solid var(--color-surface);
  }
  .avatar-online::after {
    background-color: var(--color-success);
  }
  .avatar-offline::after {
    background-color: var(--color-outline);
  }
  .avatar-group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  .avatar-group .avatar {
    border: 2px solid var(--color-surface);
    margin-left: -0.75rem;
  }
  .avatar-group .avatar:last-child {
    margin-left: 0;
  }
  .avatar-group-sm .avatar {
    margin-left: -0.5rem;
  }
  .avatar-group-lg .avatar {
    margin-left: -1rem;
  }
  .avatar:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
}
@layer components {
  .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    white-space: nowrap;
    border-radius: 9999px;
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
  }
  .badge-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .badge-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-content);
  }
  .badge-tertiary {
    background-color: var(--color-tertiary);
    color: var(--color-tertiary-content);
  }
  .badge-info {
    background-color: var(--color-info);
    color: var(--color-info-content);
  }
  .badge-success {
    background-color: var(--color-success);
    color: var(--color-success-content);
  }
  .badge-warning {
    background-color: var(--color-warning);
    color: var(--color-warning-content);
  }
  .badge-error {
    background-color: var(--color-error);
    color: var(--color-error-content);
  }
  .badge-outline {
    background-color: transparent;
    border: 1px solid currentColor;
  }
  .badge-outline.badge-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .badge-outline.badge-secondary {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
  }
  .badge-outline.badge-tertiary {
    color: var(--color-tertiary);
    border-color: var(--color-tertiary);
  }
  .badge-outline.badge-info {
    color: var(--color-info);
    border-color: var(--color-info);
  }
  .badge-outline.badge-success {
    color: var(--color-success);
    border-color: var(--color-success);
  }
  .badge-outline.badge-warning {
    color: var(--color-warning);
    border-color: var(--color-warning);
  }
  .badge-outline.badge-error {
    color: var(--color-error);
    border-color: var(--color-error);
  }
  .badge-soft {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .badge-soft.badge-primary {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .badge-soft.badge-secondary {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
  }
  .badge-soft.badge-tertiary {
    background-color: var(--color-tertiary-container);
    color: var(--color-on-tertiary-container);
  }
  .badge-soft.badge-info {
    background-color: var(--color-info-container);
    color: var(--color-on-info-container);
  }
  .badge-soft.badge-success {
    background-color: var(--color-success-container);
    color: var(--color-on-success-container);
  }
  .badge-soft.badge-warning {
    background-color: var(--color-warning-container);
    color: var(--color-on-warning-container);
  }
  .badge-soft.badge-error {
    background-color: var(--color-error-container);
    color: var(--color-on-error-container);
  }
  .badge-sm {
    padding: 0 0.375rem;
    font-size: 0.625rem;
    line-height: 0.875rem;
  }
  .badge-lg {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .badge-indicator {
    position: relative;
    padding-left: 1rem;
  }
  .badge-indicator::before {
    content: '';
    position: absolute;
    left: 0.375rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background-color: currentColor;
  }
  .badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border-radius: 50%;
  }
}
@layer components {
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    border-radius: 0.5rem;
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
    border: 1px solid transparent;
    cursor: default;
    transition: all 150ms ease-in-out;
  }
  .chip-clickable {
    cursor: pointer;
  }
  .chip-clickable:hover {
    background-color: var(--color-surface-container-high);
  }
  .chip-clickable:active {
    transform: scale(0.98);
  }
  .chip:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .chip-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .chip-primary:hover {
    background-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary), black 10%);
    }
  }
  .chip-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-content);
  }
  .chip-secondary:hover {
    background-color: var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-secondary), black 10%);
    }
  }
  .chip-tertiary {
    background-color: var(--color-tertiary);
    color: var(--color-tertiary-content);
  }
  .chip-tertiary:hover {
    background-color: var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-tertiary), black 10%);
    }
  }
  .chip-outlined {
    background-color: transparent;
    border-color: var(--color-outline);
  }
  .chip-outlined:hover {
    background-color: var(--color-surface-container);
  }
  .chip-outlined.chip-primary {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  .chip-outlined.chip-primary:hover {
    background-color: var(--color-primary-container);
  }
  .chip-outlined.chip-secondary {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
  }
  .chip-outlined.chip-secondary:hover {
    background-color: var(--color-secondary-container);
  }
  .chip-outlined.chip-tertiary {
    border-color: var(--color-tertiary);
    color: var(--color-tertiary);
  }
  .chip-outlined.chip-tertiary:hover {
    background-color: var(--color-tertiary-container);
  }
  .chip-tonal {
    background-color: var(--color-surface-container-high);
  }
  .chip-tonal.chip-primary {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .chip-tonal.chip-secondary {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
  }
  .chip-tonal.chip-tertiary {
    background-color: var(--color-tertiary-container);
    color: var(--color-on-tertiary-container);
  }
  .chip-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    gap: 0.25rem;
  }
  .chip-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    gap: 0.5rem;
  }
  .chip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    font-size: 1rem;
  }
  .chip-label {
    display: inline-flex;
  }
  .chip-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    margin-left: 0.125rem;
    font-size: 1rem;
    color: currentColor;
    opacity: 0.7;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 150ms ease-in-out;
  }
  .chip-close:hover {
    opacity: 1;
  }
  .chip-selected {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .chip-selected.chip-outlined {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .chip:disabled, .chip-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
  }
  .chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .chip, .chip-delete {
      transition: none;
    }
  }
}
@layer components {
  .list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
  }
  .list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--color-on-surface);
    text-decoration: none;
    transition: background-color 150ms ease-in-out;
  }
  a.list-item, button.list-item, .list-item-clickable {
    cursor: pointer;
  }
  a.list-item:hover, button.list-item:hover, .list-item-clickable:hover, .list-hoverable .list-item:hover {
    background-color: var(--color-surface-container);
  }
  .list-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    background-color: var(--color-surface-container);
  }
  .list-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.25rem;
    color: var(--color-on-surface-variant);
    flex-shrink: 0;
  }
  .list-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
  }
  .list-item-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    color: var(--color-on-surface);
  }
  .list-item-subtitle {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--color-on-surface-variant);
  }
  .list-item-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    color: var(--color-on-surface-variant);
  }
  .list-bordered {
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    padding: 0;
  }
  .list-bordered .list-item {
    border-bottom: 1px solid var(--color-outline);
  }
  .list-bordered .list-item:last-child {
    border-bottom: none;
  }
  .list-compact .list-item {
    padding: 0.5rem 1rem;
  }
  .list-compact .list-item-title {
    font-size: 0.875rem;
  }
  .list-compact .list-item-subtitle {
    font-size: 0.75rem;
  }
  .list-divider {
    height: 1px;
    margin: 0.5rem 0;
    background-color: var(--color-outline-variant);
  }
  .list-divider-inset {
    margin-left: 3.5rem;
  }
  .list-subheader {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-on-surface-variant);
  }
  .list-item-active, .list-item.active {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .list-item-active .list-item-icon, .list-item.active .list-item-icon {
    color: var(--color-on-primary-container);
  }
  .list-item:disabled, .list-item-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
  }
  .list-dense .list-item {
    padding: 0.375rem 1rem;
  }
  .list-dense .list-item-icon {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1rem;
  }
  .list-two-line .list-item {
    padding: 0.5rem 1rem;
  }
  .list-three-line .list-item {
    align-items: flex-start;
    padding: 0.75rem 1rem;
  }
  .list-three-line .list-item-content {
    gap: 0.25rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .list-item {
      transition: none;
    }
  }
}
@layer components {
  .table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.875rem;
    color: var(--color-on-surface);
  }
  .table thead, .table-header {
    background-color: var(--color-surface-container);
  }
  .table th, .table-header-cell {
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-on-surface);
    border-bottom: 2px solid var(--color-outline);
  }
  .table tbody, .table-body {
    background-color: var(--color-surface);
  }
  .table td, .table-cell {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-outline-variant);
    vertical-align: middle;
  }
  .table tr:last-child td, .table-row:last-child .table-cell {
    border-bottom: none;
  }
  .table tfoot, .table-footer {
    background-color: var(--color-surface-container);
    font-weight: 500;
  }
  .table tfoot td {
    border-top: 2px solid var(--color-outline);
    border-bottom: none;
  }
  .table-zebra tbody tr:nth-child(even), .table-zebra .table-row:nth-child(even) {
    background-color: var(--color-surface-container-low);
  }
  .table-hover tbody tr:hover, .table-hover .table-row:hover {
    background-color: var(--color-surface-container);
  }
  .table-bordered {
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    overflow: hidden;
  }
  .table-bordered th, .table-bordered td {
    border: 1px solid var(--color-outline-variant);
  }
  .table-compact th, .table-compact td {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
  .table-comfortable th, .table-comfortable td {
    padding: 1rem 1.25rem;
  }
  .table-fixed {
    table-layout: fixed;
  }
  .table-sortable th {
    cursor: pointer;
    user-select: none;
  }
  .table-sortable th:hover {
    background-color: var(--color-surface-container-high);
  }
  .table-sort-asc::after {
    content: ' ↑';
    opacity: 0.7;
  }
  .table-sort-desc::after {
    content: ' ↓';
    opacity: 0.7;
  }
  .table-row-selected, .table tr.selected {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .table-row-clickable, .table tbody tr[data-href] {
    cursor: pointer;
  }
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive .table {
    min-width: 100%;
  }
  .table caption, .table-caption {
    padding: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
    text-align: left;
    caption-side: bottom;
  }
  .table-empty {
    text-align: center;
    padding: 2rem;
    color: var(--color-on-surface-variant);
  }
  .table-loading {
    position: relative;
  }
  .table-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-surface);
    opacity: 0.7;
  }
  .table-pin-left {
    position: sticky;
    left: 0;
    background-color: inherit;
    z-index: 1;
  }
  .table-pin-right {
    position: sticky;
    right: 0;
    background-color: inherit;
    z-index: 1;
  }
  .table tr:focus-visible, .table-row:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
  }
}
@layer components {
  .autocomplete {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .autocomplete-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .autocomplete-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-container);
  }
  .autocomplete-input:disabled {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface-variant);
    cursor: not-allowed;
    opacity: 0.6;
  }
  .autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 15rem;
    margin-top: 0.25rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 150ms ease-out, visibility 150ms ease-out, transform 150ms ease-out;
  }
  .autocomplete.autocomplete-open .autocomplete-dropdown, .autocomplete-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .autocomplete-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .autocomplete-option:hover, .autocomplete-option:focus, .autocomplete-option.highlighted {
    background-color: var(--color-surface-container);
  }
  .autocomplete-option.selected {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .autocomplete-option:disabled, .autocomplete-option.disabled {
    color: var(--color-on-surface-variant);
    cursor: not-allowed;
    opacity: 0.6;
  }
  .autocomplete-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
  }
  .autocomplete-option-content {
    flex: 1;
    min-width: 0;
  }
  .autocomplete-option-label {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .autocomplete-option-description {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .autocomplete-highlight {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
    font-weight: 600;
    border-radius: 0.125rem;
  }
  .autocomplete-group-header {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
    background-color: var(--color-surface-container);
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .autocomplete-no-results {
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
  }
  .autocomplete-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--color-on-surface-variant);
  }
  .autocomplete-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
  }
  .autocomplete-clear:hover {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
  }
  .autocomplete-clearable .autocomplete-input {
    padding-right: 2.5rem;
  }
  .autocomplete-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.375rem;
    padding-right: 2.5rem;
    min-height: 2.75rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
  }
  .autocomplete-tags:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-container);
  }
  .autocomplete-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
    border-radius: 0.25rem;
  }
  .autocomplete-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    font-size: 0.75rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 150ms ease-in-out;
  }
  .autocomplete-tag-remove:hover {
    background-color: var(--color-on-primary-container);
    color: var(--color-primary-container);
  }
  .autocomplete-tags-input {
    flex: 1;
    min-width: 5rem;
    padding: 0.25rem;
    font-size: 0.875rem;
    background-color: transparent;
    border: none;
    outline: none;
  }
  .autocomplete-sm .autocomplete-input {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .autocomplete-lg .autocomplete-input {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .autocomplete-dropdown {
      transition: none;
    }
  }
}
@layer components {
  .cascader {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    width: 100%;
  }
  .cascader-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .cascader-trigger:hover:not(:disabled) {
    border-color: var(--color-on-surface-variant);
  }
  .cascader-trigger:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .cascader-trigger:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
  }
  .cascader-value {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-on-surface);
  }
  .cascader-placeholder {
    color: var(--color-on-surface-variant);
  }
  .cascader-path {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cascader-path-separator {
    color: var(--color-on-surface-variant);
    font-size: 0.875rem;
  }
  .cascader-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-on-surface-variant);
    flex-shrink: 0;
    transition: transform 150ms ease-in-out;
  }
  .cascader-open .cascader-arrow {
    transform: rotate(180deg);
  }
  .cascader-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 150ms ease-in-out;
  }
  .cascader-clear:hover {
    background-color: var(--color-surface-container-high);
  }
  .cascader-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    display: none;
    margin-top: 0.25rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .cascader-open .cascader-dropdown {
    display: flex;
  }
  .cascader-dropdown[popover] {
    inset: unset;
    margin: 0;
    border: 1px solid var(--color-outline-variant);
  }
  .cascader-dropdown[popover]:popover-open {
    display: flex;
  }
  @supports (anchor-name: --anchor) {
    .cascader-trigger {
      anchor-name: --cascader-anchor;
    }
    .cascader-dropdown[popover] {
      position-anchor: --cascader-anchor;
      top: anchor(bottom);
      left: anchor(left);
      margin-top: 0.25rem;
      position-try-fallbacks: flip-block;
    }
  }
  @supports not (anchor-name: --anchor) {
    .cascader {
      position: relative;
    }
    .cascader-dropdown[popover]:popover-open {
      position: absolute;
      top: 100%;
      left: 0;
      margin-top: 0.25rem;
    }
  }
  .cascader-panels {
    display: flex;
    max-height: 16rem;
  }
  .cascader-panel {
    display: flex;
    flex-direction: column;
    min-width: 10rem;
    max-width: 14rem;
    overflow-y: auto;
    border-right: 1px solid var(--color-outline-variant);
  }
  .cascader-panel:last-child {
    border-right: none;
  }
  .cascader-panel-header {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--color-surface-container);
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .cascader-options {
    display: flex;
    flex-direction: column;
    padding: 0.25rem;
    flex: 1;
    overflow-y: auto;
  }
  .cascader-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background-color 150ms ease-in-out;
  }
  .cascader-option:hover {
    background-color: var(--color-surface-container);
  }
  .cascader-option-active {
    background-color: var(--color-surface-container-high);
  }
  .cascader-option-selected {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .cascader-option-selected:hover {
    background-color: var(--color-primary-container);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary-container), black 5%);
    }
  }
  .cascader-option-disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .cascader-option-disabled:hover {
    background-color: transparent;
  }
  .cascader-option-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cascader-option-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    color: var(--color-on-surface-variant);
    flex-shrink: 0;
  }
  .cascader-option-selected .cascader-option-arrow {
    color: var(--color-on-primary-container);
  }
  .cascader-search {
    display: flex;
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .cascader-search-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface-container);
    border: none;
    border-radius: 0.375rem;
    outline: none;
  }
  .cascader-search-input:focus {
    background-color: var(--color-surface-container-high);
  }
  .cascader-search-input::placeholder {
    color: var(--color-on-surface-variant);
  }
  .cascader-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--color-on-surface-variant);
    font-size: 0.875rem;
  }
  .cascader-sm .cascader-trigger {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
  }
  .cascader-sm .cascader-panel {
    min-width: 8rem;
    max-width: 12rem;
  }
  .cascader-sm .cascader-option {
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
  }
  .cascader-lg .cascader-trigger {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    border-radius: 0.625rem;
  }
  .cascader-lg .cascader-panel {
    min-width: 12rem;
    max-width: 16rem;
  }
  .cascader-lg .cascader-option {
    padding: 0.625rem 1rem;
    font-size: 1rem;
  }
  .cascader-outlined .cascader-trigger {
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
  }
  .cascader-filled .cascader-trigger {
    background-color: var(--color-surface-container);
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .cascader-filled .cascader-trigger:focus {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .cascader-error .cascader-trigger {
    border-color: var(--color-error);
  }
  .cascader-error .cascader-trigger:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .cascader-disabled .cascader-trigger {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
  }
  .cascader-loading .cascader-trigger {
    cursor: wait;
  }
  .cascader-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--color-outline);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: cascader-spin 0.8s linear infinite;
  }
  @keyframes cascader-spin {
    to {
      transform: rotate(360deg);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .cascader-trigger, .cascader-arrow, .cascader-option, .cascader-clear {
      transition: none;
    }
    .cascader-spinner {
      animation: none;
    }
  }
}
@layer components {
  .checkbox {
    --checkbox-size: 1.25rem;
    --checkbox-color: var(--color-primary);
    --checkbox-border-color: var(--color-on-surface-variant);
    position: relative;
    display: inline-grid;
    place-content: center;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    margin: 0;
    cursor: pointer;
    appearance: none;
    background-color: transparent;
    border: 2px solid var(--checkbox-border-color);
    border-radius: 0.125rem;
    transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
  }
  .checkbox::before {
    content: "";
    width: 0.65em;
    height: 0.35em;
    transform: scale(0) rotate(-45deg);
    transform-origin: center;
    border-bottom: 2px solid var(--color-on-primary);
    border-left: 2px solid var(--color-on-primary);
    transition: transform 150ms ease-in-out;
  }
  .checkbox:checked {
    background-color: var(--checkbox-color);
    border-color: var(--checkbox-color);
  }
  .checkbox:checked::before {
    transform: scale(1) rotate(-45deg);
  }
  .checkbox:indeterminate {
    background-color: var(--checkbox-color);
    border-color: var(--checkbox-color);
  }
  .checkbox:indeterminate::before {
    width: 0.5em;
    height: 0;
    border-bottom: 2px solid var(--color-on-primary);
    border-left: 0;
    transform: scale(1) rotate(0deg);
  }
  .checkbox:hover:not(:disabled):not(:checked) {
    border-color: var(--color-on-surface);
  }
  .checkbox:checked:hover:not(:disabled), .checkbox:indeterminate:hover:not(:disabled) {
    background-color: var(--checkbox-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--checkbox-color), black 10%);
    }
    border-color: var(--checkbox-color);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--checkbox-color), black 10%);
    }
  }
  .checkbox:focus-visible {
    outline: 2px solid var(--checkbox-color);
    outline-offset: 2px;
  }
  .checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.38;
  }
  .checkbox-xs {
    --checkbox-size: 0.875rem;
  }
  .checkbox-sm {
    --checkbox-size: 1rem;
  }
  .checkbox-md {
    --checkbox-size: 1.25rem;
  }
  .checkbox-lg {
    --checkbox-size: 1.5rem;
  }
  .checkbox-xl {
    --checkbox-size: 1.75rem;
  }
  .checkbox-primary {
    --checkbox-color: var(--color-primary);
  }
  .checkbox-primary:checked::before, .checkbox-primary:indeterminate::before {
    border-color: var(--color-primary-content);
  }
  .checkbox-secondary {
    --checkbox-color: var(--color-secondary);
  }
  .checkbox-secondary:checked::before, .checkbox-secondary:indeterminate::before {
    border-color: var(--color-secondary-content);
  }
  .checkbox-tertiary {
    --checkbox-color: var(--color-tertiary);
  }
  .checkbox-tertiary:checked::before, .checkbox-tertiary:indeterminate::before {
    border-color: var(--color-tertiary-content);
  }
  .checkbox-success {
    --checkbox-color: var(--color-success);
  }
  .checkbox-success:checked::before, .checkbox-success:indeterminate::before {
    border-color: var(--color-success-content);
  }
  .checkbox-warning {
    --checkbox-color: var(--color-warning);
  }
  .checkbox-warning:checked::before, .checkbox-warning:indeterminate::before {
    border-color: var(--color-warning-content);
  }
  .checkbox-error {
    --checkbox-color: var(--color-error);
  }
  .checkbox-error:checked::before, .checkbox-error:indeterminate::before {
    border-color: var(--color-error-content);
  }
  .checkbox-info {
    --checkbox-color: var(--color-info);
  }
  .checkbox-info:checked::before, .checkbox-info:indeterminate::before {
    border-color: var(--color-info-content);
  }
  .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    color: var(--color-on-surface);
  }
  .checkbox-label:has(.checkbox:disabled) {
    cursor: not-allowed;
    opacity: 0.38;
  }
  .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .checkbox-group-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .checkbox-group-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
    margin-bottom: 0.5rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .checkbox, .checkbox::before {
      transition: none;
    }
  }
}
@layer components {
  .datepicker {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .datepicker-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .datepicker-input-container .datepicker-input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
  }
  .datepicker-input-container .datepicker-input[type="date"]::-webkit-inner-spin-button, .datepicker-input-container .datepicker-input[type="date"]::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
  }
  .datepicker-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-container);
  }
  .datepicker-input:disabled {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface-variant);
    cursor: not-allowed;
    opacity: 0.6;
  }
  .datepicker-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-on-surface-variant);
    pointer-events: none;
  }
  .datepicker-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
  }
  .datepicker-input-container .datepicker-input {
    padding-right: 2.5rem;
  }
  .datepicker-trigger {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-on-surface-variant);
    transition: background-color 150ms ease-in-out;
  }
  .datepicker-trigger:hover {
    background-color: var(--color-surface-container);
  }
  .datepicker-trigger .datepicker-icon {
    position: static;
    transform: none;
  }
  .datepicker-dropdown:not([popover]) {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    margin-top: 0.25rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 150ms ease-out, visibility 150ms ease-out, transform 150ms ease-out;
  }
  .datepicker.datepicker-open .datepicker-dropdown:not([popover]), .datepicker-dropdown:not([popover]).show, .datepicker-dropdown-open:not([popover]) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .datepicker-dropdown[popover] {
    inset: unset;
    margin: 0;
    padding: 0;
    min-width: 18rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
  }
  .datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .datepicker-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-on-surface);
  }
  .datepicker-nav {
    display: flex;
    gap: 0.25rem;
  }
  .datepicker-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
  }
  .datepicker-nav-btn:hover {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
  }
  .datepicker-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .datepicker-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.125rem;
    padding: 0.5rem;
  }
  .datepicker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.125rem;
    margin-bottom: 0.25rem;
  }
  .datepicker-weekday {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
  }
  .datepicker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.125rem;
  }
  .datepicker-day {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
  }
  .datepicker-day:hover:not(:disabled):not(.datepicker-day-selected) {
    background-color: var(--color-surface-container);
  }
  .datepicker-day:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .datepicker-day-other-month {
    color: var(--color-on-surface-variant);
    opacity: 0.5;
  }
  .datepicker-day-today {
    border: 1px solid var(--color-primary);
  }
  .datepicker-day-selected {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  .datepicker-day-selected:hover {
    background-color: var(--color-primary);
    opacity: 0.9;
  }
  .datepicker-day:disabled {
    color: var(--color-on-surface-variant);
    opacity: 0.4;
    cursor: not-allowed;
  }
  .datepicker-day-in-range {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
    border-radius: 0;
  }
  .datepicker-day-range-start {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    border-radius: 50% 0 0 50%;
  }
  .datepicker-day-range-end {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    border-radius: 0 50% 50% 0;
  }
  .datepicker-months, .datepicker-years {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
    min-width: 16rem;
  }
  .datepicker-month, .datepicker-year {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .datepicker-month:hover, .datepicker-year:hover {
    background-color: var(--color-surface-container);
  }
  .datepicker-month.selected, .datepicker-month-selected, .datepicker-year.selected, .datepicker-year-selected {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  .datepicker-day-disabled {
    color: var(--color-on-surface-variant);
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
  }
  .datepicker-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid var(--color-outline-variant);
  }
  .datepicker-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.75rem;
    border-top: 1px solid var(--color-outline-variant);
  }
  .datepicker-time-input {
    width: 3rem;
    padding: 0.5rem;
    font-size: 1rem;
    text-align: center;
    color: var(--color-on-surface);
    background-color: var(--color-surface-container);
    border: 1px solid var(--color-outline);
    border-radius: 0.25rem;
  }
  .datepicker-time-input:focus {
    outline: none;
    border-color: var(--color-primary);
  }
  .datepicker-time-separator {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-on-surface);
  }
  .datepicker-time-period {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    margin-left: 0.5rem;
  }
  .datepicker-time-period-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: 1px solid var(--color-outline);
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .datepicker-time-period-btn:first-child {
    border-radius: 0.25rem 0.25rem 0 0;
  }
  .datepicker-time-period-btn:last-child {
    border-radius: 0 0 0.25rem 0.25rem;
    border-top: none;
  }
  .datepicker-time-period-btn.active {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    border-color: var(--color-primary);
  }
  .datepicker-sm .datepicker-input {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .datepicker-lg .datepicker-input {
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1rem;
  }
  .datepicker-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .datepicker-range-separator {
    color: var(--color-on-surface-variant);
    font-size: 0.875rem;
  }
  .datepicker-range-input {
    flex: 1;
  }
  .datepicker-dual-calendar {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
  }
  .datepicker-dual-calendar .datepicker-calendar {
    flex: 1;
  }
  .datepicker-presets {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    border-right: 1px solid var(--color-outline-variant);
    min-width: 8rem;
  }
  .datepicker-preset {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 150ms ease-in-out;
  }
  .datepicker-preset:hover {
    background-color: var(--color-surface-container);
  }
  .datepicker-preset-active {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .datepicker-range-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--color-surface-container-lowest);
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .datepicker-range-date {
    flex: 1;
    text-align: center;
  }
  .datepicker-range-date-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
  }
  .datepicker-range-date-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
  }
  .datepicker-range-arrow {
    color: var(--color-on-surface-variant);
  }
  .datetime-picker {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .datetime-picker-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .datetime-picker-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .datetime-picker-dropdown {
    display: flex;
    flex-direction: column;
  }
  .datetime-picker-body {
    display: flex;
  }
  .datetime-picker-calendar {
    flex: 1;
  }
  .datetime-picker-time-panel {
    display: flex;
    flex-direction: column;
    min-width: 5rem;
    border-left: 1px solid var(--color-outline-variant);
  }
  .datetime-picker-time-header {
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    text-align: center;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .datetime-picker-time-columns {
    display: flex;
    flex: 1;
    max-height: 16rem;
  }
  .datetime-picker-time-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-right: 1px solid var(--color-outline-variant);
  }
  .datetime-picker-time-column:last-child {
    border-right: none;
  }
  .datetime-picker-time-option {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    text-align: center;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .datetime-picker-time-option:hover {
    background-color: var(--color-surface-container);
  }
  .datetime-picker-time-option-selected {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .datetime-picker-time-option:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .datetime-range-picker {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .datetime-range-picker-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .datetime-range-picker-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    transition: border-color 150ms ease-in-out;
  }
  .datetime-range-picker-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .datetime-range-picker-dropdown {
    min-width: 40rem;
  }
  .datetime-range-picker-body {
    display: flex;
  }
  .datetime-range-picker-panel {
    flex: 1;
    border-right: 1px solid var(--color-outline-variant);
  }
  .datetime-range-picker-panel:last-child {
    border-right: none;
  }
  .datetime-range-picker-panel-header {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    text-align: center;
    background-color: var(--color-surface-container-lowest);
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .datepicker-inline {
    position: static;
  }
  .datepicker-inline .datepicker-dropdown, .datepicker-dropdown.datepicker-inline {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    box-shadow: none;
  }
  .datepicker-primary .datepicker-day-selected, .datepicker-primary .datepicker-day-range-start, .datepicker-primary .datepicker-day-range-end {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .datepicker-secondary .datepicker-day-selected, .datepicker-secondary .datepicker-day-range-start, .datepicker-secondary .datepicker-day-range-end {
    background-color: var(--color-secondary);
    color: var(--color-secondary-content);
  }
  .datepicker-tertiary .datepicker-day-selected, .datepicker-tertiary .datepicker-day-range-start, .datepicker-tertiary .datepicker-day-range-end {
    background-color: var(--color-tertiary);
    color: var(--color-tertiary-content);
  }
  .datepicker-error .datepicker-input, .datetime-picker-error .datetime-picker-input {
    border-color: var(--color-error);
  }
  .datepicker-error .datepicker-input:focus, .datetime-picker-error .datetime-picker-input:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .datepicker-dropdown, .datepicker-nav-btn, .datepicker-day, .datepicker-month, .datepicker-year, .datepicker-preset, .datetime-picker-time-option {
      transition: none;
    }
  }
}
@layer components {
  .file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .file-upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 10rem;
    padding: 2rem;
    background-color: var(--color-surface);
    border: 2px dashed var(--color-outline);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: border-color 150ms ease-in-out, background-color 150ms ease-in-out;
  }
  .file-upload-dropzone:hover {
    border-color: var(--color-primary);
    background-color: var(--color-surface-container);
  }
  .file-upload-dropzone:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-container);
  }
  .file-upload-dropzone.dragging {
    border-color: var(--color-primary);
    background-color: var(--color-primary-container);
  }
  .file-upload-dropzone.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
  }
  .file-upload-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
  }
  .file-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: var(--color-primary);
    font-size: 2rem;
  }
  .file-upload-text {
    text-align: center;
  }
  .file-upload-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
    margin-bottom: 0.25rem;
  }
  .file-upload-subtitle {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .file-upload-browse {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
  }
  .file-upload-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .file-upload-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--color-surface-container);
    border-radius: 0.5rem;
  }
  .file-upload-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
    border-radius: 0.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .file-upload-item-info {
    flex: 1;
    min-width: 0;
  }
  .file-upload-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .file-upload-item-size {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .file-upload-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
    flex-shrink: 0;
  }
  .file-upload-item-remove:hover {
    background-color: var(--color-error-container);
    color: var(--color-on-error-container);
  }
  .file-upload-progress {
    position: relative;
    height: 0.25rem;
    margin-top: 0.5rem;
    background-color: var(--color-surface-container-highest);
    border-radius: 9999px;
    overflow: hidden;
  }
  .file-upload-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 9999px;
    transition: width 150ms ease-in-out;
  }
  .file-upload-item.uploading .file-upload-item-icon {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .file-upload-item.success .file-upload-item-icon {
    background-color: var(--color-success-container);
    color: var(--color-on-success-container);
  }
  .file-upload-item.error .file-upload-item-icon {
    background-color: var(--color-error-container);
    color: var(--color-on-error-container);
  }
  .file-upload-item.error .file-upload-progress-bar {
    background-color: var(--color-error);
  }
  .file-upload-error {
    font-size: 0.75rem;
    color: var(--color-error);
  }
  .file-upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
    gap: 0.75rem;
  }
  .file-upload-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--color-surface-container);
  }
  .file-upload-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .file-upload-preview-remove {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--color-on-surface);
    color: var(--color-surface);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
  }
  .file-upload-preview-item:hover .file-upload-preview-remove {
    opacity: 1;
  }
  .file-upload-compact .file-upload-dropzone {
    flex-direction: row;
    min-height: auto;
    padding: 1rem;
    gap: 1rem;
  }
  .file-upload-compact .file-upload-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
  }
  .file-upload-compact .file-upload-text {
    text-align: left;
  }
  .file-upload-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-primary);
    background-color: var(--color-primary);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .file-upload-button:hover {
    box-shadow: var(--shadow-md);
  }
  .file-upload-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .file-upload-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  .file-upload-sm .file-upload-dropzone {
    min-height: 6rem;
    padding: 1rem;
  }
  .file-upload-lg .file-upload-dropzone {
    min-height: 14rem;
    padding: 3rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .file-upload-dropzone, .file-upload-progress-bar, .file-upload-preview-remove {
      transition: none;
    }
  }
}
@layer components {
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
  }
  .form-group-horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }
  .form-group-horizontal .form-label {
    min-width: 8rem;
    padding-top: 0.75rem;
  }
  .form-group-horizontal .form-control {
    flex: 1;
  }
  .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: var(--color-on-surface);
    margin-bottom: 0.25rem;
  }
  .form-label-required::after {
    content: ' *';
    color: var(--color-error);
  }
  .form-label-optional::after {
    content: ' (optional)';
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-on-surface-variant);
  }
  .form-label-sm {
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .form-label-lg {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .form-control {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .helper-text {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--color-on-surface-variant);
    margin-top: 0.25rem;
  }
  .helper-text-error {
    color: var(--color-error);
  }
  .helper-text-success {
    color: var(--color-success);
  }
  .helper-text-warning {
    color: var(--color-warning);
  }
  .helper-text-info {
    color: var(--color-info);
  }
  .helper-text-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }
  .helper-text-icon svg, .helper-text-icon .icon {
    width: 0.875rem;
    height: 0.875rem;
  }
  .form-hint {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--color-on-surface-variant);
    margin-bottom: 0.25rem;
  }
  .fieldset {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    margin: 0;
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.5rem;
    background-color: transparent;
  }
  .fieldset-legend {
    padding: 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    color: var(--color-on-surface);
  }
  .fieldset-filled {
    background-color: var(--color-surface-container-lowest);
    border-color: transparent;
  }
  .fieldset-borderless {
    border: none;
    padding: 0;
  }
  .fieldset-card {
    background-color: var(--color-surface);
    border-color: transparent;
    box-shadow: var(--shadow-xs);
    padding: 1.5rem;
  }
  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .form-row > .form-group {
    flex: 1;
    min-width: 200px;
  }
  .form-grid {
    display: grid;
    gap: 1rem;
  }
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .form-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  @media (max-width: 640px) {
    .form-grid-2, .form-grid-3, .form-grid-4 {
      grid-template-columns: 1fr;
    }
  }
  .form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .form-actions-right {
    justify-content: flex-end;
  }
  .form-actions-center {
    justify-content: center;
  }
  .form-actions-between {
    justify-content: space-between;
  }
  .form-divider {
    height: 1px;
    background-color: var(--color-outline-variant);
    margin: 1rem 0;
  }
  .form-divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-on-surface-variant);
    font-size: 0.75rem;
    text-transform: uppercase;
  }
  .form-divider-text::before, .form-divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-outline-variant);
  }
  .form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .form-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-on-surface);
    margin-bottom: 0.5rem;
  }
  .form-section-description {
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
    margin-bottom: 1rem;
  }
  .form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
  }
  .form-inline .form-group {
    flex: none;
    width: auto;
  }
  .form-counter {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    text-align: right;
    margin-top: 0.25rem;
  }
  .form-counter-error {
    color: var(--color-error);
  }
  .form-group-error .form-label {
    color: var(--color-error);
  }
  .form-group-error .input, .form-group-error .select, .form-group-error .textarea {
    border-color: var(--color-error);
  }
  .form-group-error .input:focus-visible, .form-group-error .select:focus-visible, .form-group-error .textarea:focus-visible {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .form-group-success .form-label {
    color: var(--color-success);
  }
  .form-group-success .input, .form-group-success .select, .form-group-success .textarea {
    border-color: var(--color-success);
  }
  .form-group-success .input:focus-visible, .form-group-success .select:focus-visible, .form-group-success .textarea:focus-visible {
    border-color: var(--color-success);
    box-shadow: 0 0 0 3px var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-success) 10%, transparent);
    }
  }
  .form-group-warning .form-label {
    color: var(--color-warning);
  }
  .form-group-warning .input, .form-group-warning .select, .form-group-warning .textarea {
    border-color: var(--color-warning);
  }
  .form-group-warning .input:focus-visible, .form-group-warning .select:focus-visible, .form-group-warning .textarea:focus-visible {
    border-color: var(--color-warning);
    box-shadow: 0 0 0 3px var(--color-warning);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-warning) 10%, transparent);
    }
  }
  .form-group-disabled {
    opacity: 0.5;
    pointer-events: none;
  }
}
@layer components {
  .multi-select {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    width: 100%;
  }
  .multi-select-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .multi-select-trigger:hover:not(:disabled) {
    border-color: var(--color-on-surface-variant);
  }
  .multi-select-trigger:focus-within {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .multi-select-placeholder {
    flex: 1;
    color: var(--color-on-surface-variant);
    opacity: 0.7;
  }
  .multi-select-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
  }
  .multi-select-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 100%;
    padding: 0.125rem 0.375rem 0.125rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.25rem;
    background-color: var(--color-surface-container-high);
    color: var(--color-on-surface);
    border-radius: 1rem;
  }
  .multi-select-tag-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .multi-select-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    padding: 0;
    font-size: 0.875rem;
    color: inherit;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 150ms ease-in-out, background-color 150ms ease-in-out;
  }
  .multi-select-tag-remove:hover {
    opacity: 1;
    background-color: currentColor;
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, currentColor 15%, transparent);
    }
  }
  .multi-select-tag-primary {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .multi-select-tag-outlined {
    background-color: transparent;
    border: 1px solid var(--color-outline);
    color: var(--color-on-surface);
  }
  .multi-select-tag-overflow {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.25rem;
    background-color: var(--color-surface-container);
    color: var(--color-on-surface-variant);
    border-radius: 1rem;
  }
  .multi-select-input {
    flex: 1;
    min-width: 4rem;
    padding: 0.125rem 0;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    outline: none;
  }
  .multi-select-input::placeholder {
    color: var(--color-on-surface-variant);
    opacity: 0.7;
  }
  .multi-select-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    color: var(--color-on-surface-variant);
    flex-shrink: 0;
    transition: transform 150ms ease-in-out;
  }
  .multi-select-open .multi-select-arrow {
    transform: rotate(180deg);
  }
  .multi-select-clear-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 150ms ease-in-out;
  }
  .multi-select-clear-all:hover {
    background-color: var(--color-surface-container-high);
  }
  .multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    display: none;
    max-height: 16rem;
    margin-top: 0.25rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .multi-select-open .multi-select-dropdown {
    display: flex;
    flex-direction: column;
  }
  .multi-select-dropdown[popover] {
    inset: unset;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-outline-variant);
  }
  .multi-select-dropdown[popover]:popover-open {
    display: flex;
    flex-direction: column;
  }
  .multi-select-search {
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .multi-select-search-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface-container);
    border: none;
    border-radius: 0.375rem;
    outline: none;
  }
  .multi-select-search-input:focus {
    background-color: var(--color-surface-container-high);
  }
  .multi-select-search-input::placeholder {
    color: var(--color-on-surface-variant);
    opacity: 0.7;
  }
  .multi-select-options {
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem;
  }
  .multi-select-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 150ms ease-in-out;
  }
  .multi-select-option:hover {
    background-color: var(--color-surface-container);
  }
  .multi-select-option-selected {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .multi-select-option-selected:hover {
    background-color: var(--color-primary-container);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary-container), black 5%);
    }
  }
  .multi-select-option-disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .multi-select-option-disabled:hover {
    background-color: transparent;
  }
  .multi-select-option-focused {
    background-color: var(--color-surface-container-high);
  }
  .multi-select-option-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    background-color: transparent;
    border: 2px solid var(--color-on-surface-variant);
    border-radius: 0.125rem;
    flex-shrink: 0;
  }
  .multi-select-option-selected .multi-select-option-checkbox {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .multi-select-option-selected .multi-select-option-checkbox svg {
    color: var(--color-on-primary);
  }
  .multi-select-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-on-surface-variant);
  }
  .multi-select-option-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .multi-select-option-description {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .multi-select-group {
    padding: 0.25rem 0;
  }
  .multi-select-group-header {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .multi-select-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--color-on-surface-variant);
    font-size: 0.875rem;
  }
  .multi-select-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .multi-select-action {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .multi-select-action:hover {
    background-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .multi-select-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--color-primary-content);
    background-color: var(--color-primary);
    border-radius: 0.625rem;
  }
  .multi-select-sm .multi-select-trigger {
    min-height: 2.25rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
  }
  .multi-select-sm .multi-select-tag {
    font-size: 0.625rem;
    padding: 0 0.25rem 0 0.375rem;
  }
  .multi-select-lg .multi-select-trigger {
    min-height: 3.25rem;
    padding: 0.625rem 1rem;
    font-size: 1.125rem;
    border-radius: 0.625rem;
  }
  .multi-select-outlined .multi-select-trigger {
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
  }
  .multi-select-filled .multi-select-trigger {
    background-color: var(--color-surface-container);
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .multi-select-filled .multi-select-trigger:focus-within {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .multi-select-error .multi-select-trigger {
    border-color: var(--color-error);
  }
  .multi-select-error .multi-select-trigger:focus-within {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .multi-select-disabled .multi-select-trigger {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
  }
  .multi-select-disabled .multi-select-tag-remove {
    pointer-events: none;
  }
  .multi-select-loading .multi-select-trigger {
    cursor: wait;
  }
  .multi-select-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--color-outline);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: multi-select-spin 0.8s linear infinite;
  }
  @keyframes multi-select-spin {
    to {
      transform: rotate(360deg);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .multi-select-trigger, .multi-select-arrow, .multi-select-tag-remove, .multi-select-clear-all, .multi-select-option {
      transition: none;
    }
    .multi-select-spinner {
      animation: none;
    }
  }
}
@layer components {
  .otp-input {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .otp-input-field {
    width: 3rem;
    height: 3.5rem;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 2px solid var(--color-outline);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
    caret-color: var(--color-primary);
  }
  .otp-input-field::placeholder {
    color: var(--color-on-surface-variant);
    opacity: 0.5;
  }
  .otp-input-field:hover:not(:disabled):not(:focus) {
    border-color: var(--color-on-surface-variant);
  }
  .otp-input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .otp-input-field:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    background-color: var(--color-surface-container);
  }
  .otp-input-field-filled {
    background-color: var(--color-surface-container);
    border-color: var(--color-primary);
  }
  .otp-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 0.25rem;
    background-color: var(--color-outline);
    border-radius: 0.125rem;
  }
  .otp-input-sm .otp-input-field {
    width: 2.5rem;
    height: 3rem;
    font-size: 1.25rem;
    border-radius: 0.375rem;
  }
  .otp-input-lg .otp-input-field {
    width: 3.5rem;
    height: 4rem;
    font-size: 1.75rem;
    border-radius: 0.625rem;
  }
  .otp-input-compact {
    gap: 0.25rem;
  }
  .otp-input-wide {
    gap: 1rem;
  }
  .otp-input-filled .otp-input-field {
    background-color: var(--color-surface-container);
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .otp-input-filled .otp-input-field:focus {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .otp-input-outlined .otp-input-field {
    background-color: transparent;
  }
  .otp-input-underline .otp-input-field {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0;
  }
  .otp-input-underline .otp-input-field:focus {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .otp-input-primary .otp-input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .otp-input-secondary .otp-input-field:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-secondary) 10%, transparent);
    }
  }
  .otp-input-tertiary .otp-input-field:focus {
    border-color: var(--color-tertiary);
    box-shadow: 0 0 0 3px var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-tertiary) 10%, transparent);
    }
  }
  .otp-input-error .otp-input-field {
    border-color: var(--color-error);
  }
  .otp-input-error .otp-input-field:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .otp-input-success .otp-input-field {
    border-color: var(--color-success);
  }
  .otp-input-success .otp-input-field:focus {
    border-color: var(--color-success);
    box-shadow: 0 0 0 3px var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-success) 10%, transparent);
    }
  }
  .otp-input-masked .otp-input-field {
    -webkit-text-security: disc;
    font-family: text-security-disc;
  }
  .otp-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .otp-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
  }
  .otp-helper {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .otp-error-message {
    font-size: 0.75rem;
    color: var(--color-error);
  }
  @media (prefers-reduced-motion: reduce) {
    .otp-input-field {
      transition: none;
    }
  }
}
@layer components {
  .pin-input {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .pin-input-field {
    width: 3rem;
    height: 3.5rem;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 2px solid var(--color-outline);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
    caret-color: var(--color-primary);
    -webkit-text-security: disc;
  }
  .pin-input-field::placeholder {
    color: var(--color-on-surface-variant);
    opacity: 0.3;
  }
  .pin-input-field:hover:not(:disabled):not(:focus) {
    border-color: var(--color-on-surface-variant);
  }
  .pin-input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .pin-input-field:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    background-color: var(--color-surface-container);
  }
  .pin-input-visible .pin-input-field {
    -webkit-text-security: none;
  }
  .pin-input-sm .pin-input-field {
    width: 2.5rem;
    height: 3rem;
    font-size: 1.25rem;
    border-radius: 0.375rem;
  }
  .pin-input-lg .pin-input-field {
    width: 3.5rem;
    height: 4rem;
    font-size: 1.75rem;
    border-radius: 0.625rem;
  }
  .pin-input-compact {
    gap: 0.25rem;
  }
  .pin-input-filled .pin-input-field {
    background-color: var(--color-surface-container);
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .pin-input-filled .pin-input-field:focus {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .pin-input-circle .pin-input-field {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
  }
  .pin-input-circle.pin-input-sm .pin-input-field {
    width: 2.5rem;
    height: 2.5rem;
  }
  .pin-input-circle.pin-input-lg .pin-input-field {
    width: 3.5rem;
    height: 3.5rem;
  }
  .pin-input-dots .pin-input-field {
    font-size: 2rem;
    letter-spacing: -0.25rem;
  }
  .pin-input-primary .pin-input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .pin-input-secondary .pin-input-field:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-secondary) 10%, transparent);
    }
  }
  .pin-input-tertiary .pin-input-field:focus {
    border-color: var(--color-tertiary);
    box-shadow: 0 0 0 3px var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-tertiary) 10%, transparent);
    }
  }
  .pin-input-error .pin-input-field {
    border-color: var(--color-error);
    animation: pin-shake 300ms ease-in-out;
  }
  .pin-input-error .pin-input-field:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  @keyframes pin-shake {
    0%, 100% {
      transform: translateX(0);
    }
    20%, 60% {
      transform: translateX(-4px);
    }
    40%, 80% {
      transform: translateX(4px);
    }
  }
  .pin-input-success .pin-input-field {
    border-color: var(--color-success);
  }
  .pin-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .pin-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
  }
  .pin-helper {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .pin-error-message {
    font-size: 0.75rem;
    color: var(--color-error);
  }
  @media (prefers-reduced-motion: reduce) {
    .pin-input-field {
      transition: none;
    }
    .pin-input-error .pin-input-field {
      animation: none;
    }
  }
}
@layer components {
  .radio {
    --radio-size: 1.25rem;
    --radio-color: var(--color-primary);
    --radio-border-color: var(--color-on-surface-variant);
    position: relative;
    display: inline-grid;
    place-content: center;
    width: var(--radio-size);
    height: var(--radio-size);
    margin: 0;
    cursor: pointer;
    appearance: none;
    background-color: transparent;
    border: 2px solid var(--radio-border-color);
    border-radius: 50%;
    transition: border-color 150ms ease-in-out;
  }
  .radio::before {
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background-color: var(--radio-color);
    transform: scale(0);
    transition: transform 150ms ease-in-out;
  }
  .radio:checked {
    border-color: var(--radio-color);
  }
  .radio:checked::before {
    transform: scale(1);
  }
  .radio:hover:not(:disabled):not(:checked) {
    border-color: var(--color-on-surface);
  }
  .radio:checked:hover:not(:disabled) {
    border-color: var(--radio-color);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--radio-color), black 10%);
    }
  }
  .radio:checked:hover:not(:disabled)::before {
    background-color: var(--radio-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--radio-color), black 10%);
    }
  }
  .radio:focus-visible {
    outline: 2px solid var(--radio-color);
    outline-offset: 2px;
  }
  .radio:disabled {
    cursor: not-allowed;
    opacity: 0.38;
  }
  .radio-xs {
    --radio-size: 0.875rem;
  }
  .radio-sm {
    --radio-size: 1rem;
  }
  .radio-md {
    --radio-size: 1.25rem;
  }
  .radio-lg {
    --radio-size: 1.5rem;
  }
  .radio-xl {
    --radio-size: 1.75rem;
  }
  .radio-primary {
    --radio-color: var(--color-primary);
  }
  .radio-secondary {
    --radio-color: var(--color-secondary);
  }
  .radio-tertiary {
    --radio-color: var(--color-tertiary);
  }
  .radio-success {
    --radio-color: var(--color-success);
  }
  .radio-warning {
    --radio-color: var(--color-warning);
  }
  .radio-error {
    --radio-color: var(--color-error);
  }
  .radio-info {
    --radio-color: var(--color-info);
  }
  .radio-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    color: var(--color-on-surface);
  }
  .radio-label:has(.radio:disabled) {
    cursor: not-allowed;
    opacity: 0.38;
  }
  .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .radio-group-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .radio-group-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
    margin-bottom: 0.5rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .radio, .radio::before {
      transition: none;
    }
  }
}
@layer components {
  .rating {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
  }
  .rating-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-outline);
    cursor: pointer;
    transition: color 150ms ease-in-out, transform 150ms ease-in-out;
  }
  .rating-item:hover {
    transform: scale(1.1);
  }
  .rating-item.active {
    color: var(--color-warning-container);
  }
  .rating-item.filled {
    color: var(--color-warning);
  }
  .rating-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
  }
  .rating-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
    line-height: 1;
  }
  .rating-half {
    position: relative;
    overflow: hidden;
  }
  .rating-half .rating-icon-empty {
    color: var(--color-outline);
  }
  .rating-half .rating-icon-filled {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: var(--color-warning);
  }
  .rating-xs .rating-icon {
    width: 0.875rem;
    height: 0.875rem;
    font-size: 0.875rem;
  }
  .rating-sm .rating-icon {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1.25rem;
  }
  .rating-lg .rating-icon {
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
  }
  .rating-xl .rating-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2.5rem;
  }
  .rating-primary .rating-item.filled {
    color: var(--color-primary);
  }
  .rating-secondary .rating-item.filled {
    color: var(--color-secondary);
  }
  .rating-error .rating-item.filled {
    color: var(--color-error);
  }
  .rating-success .rating-item.filled {
    color: var(--color-success);
  }
  .rating-readonly .rating-item {
    cursor: default;
  }
  .rating-readonly .rating-item:hover {
    transform: none;
  }
  .rating-disabled {
    opacity: 0.6;
    pointer-events: none;
  }
  .rating-labeled {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .rating-label {
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
  }
  .rating-count {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    margin-left: 0.25rem;
  }
  .rating:not(.rating-readonly) .rating-item:hover ~ .rating-item {
    color: var(--color-outline);
  }
  .rating:not(.rating-readonly):hover .rating-item {
    color: var(--color-warning);
  }
  .rating-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 0.25rem;
  }
  .rating-display {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
  }
  .rating-display-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-on-surface);
  }
  .rating-display-stars {
    display: flex;
    gap: 0.0625rem;
    color: var(--color-warning);
  }
  .rating-display-max {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .rating-compact {
    gap: 0;
  }
  .rating-compact .rating-item {
    padding: 0.125rem;
  }
  .rating-animated .rating-item {
    transition: color 150ms ease-in-out, transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .rating-animated .rating-item.filled {
    animation: rating-pop 300ms ease-out;
  }
  @keyframes rating-pop {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.3);
    }
    100% {
      transform: scale(1);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .rating-item, .rating-animated .rating-item {
      transition: color 0ms;
    }
    .rating-animated .rating-item.filled {
      animation: none;
    }
  }
}
@layer components {
  .segment-control {
    display: inline-flex;
    align-items: stretch;
    background-color: var(--color-surface-container);
    border: 1px solid var(--color-outline);
    border-radius: 1.25rem;
    padding: 0.25rem;
    gap: 0.25rem;
  }
  .segment-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
    user-select: none;
    white-space: nowrap;
  }
  .segment-item:hover:not(:disabled):not(.segment-item-active) {
    background-color: var(--color-surface-container-high);
  }
  .segment-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .segment-item:disabled {
    opacity: 0.38;
    cursor: not-allowed;
  }
  .segment-item-active {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .segment-item-active:hover:not(:disabled) {
    background-color: var(--color-primary-container);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary-container), black 5%);
    }
  }
  .segment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
  }
  .segment-control-sm {
    padding: 0.125rem;
    gap: 0.125rem;
    border-radius: 1rem;
  }
  .segment-control-sm .segment-item {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 0.75rem;
  }
  .segment-control-lg {
    padding: 0.375rem;
    gap: 0.375rem;
    border-radius: 1.5rem;
  }
  .segment-control-lg .segment-item {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    border-radius: 1.25rem;
  }
  .segment-control-primary .segment-item-active {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .segment-control-secondary .segment-item-active {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
  }
  .segment-control-tertiary .segment-item-active {
    background-color: var(--color-tertiary-container);
    color: var(--color-on-tertiary-container);
  }
  .segment-control-full {
    display: flex;
    width: 100%;
  }
  .segment-control-full .segment-item {
    flex: 1;
  }
  .segment-control-outlined {
    background-color: transparent;
    padding: 0;
    gap: 0;
  }
  .segment-control-outlined .segment-item {
    border: 1px solid var(--color-outline);
    border-radius: 0;
    margin-left: -1px;
  }
  .segment-control-outlined .segment-item:first-child {
    margin-left: 0;
    border-top-left-radius: 1.25rem;
    border-bottom-left-radius: 1.25rem;
  }
  .segment-control-outlined .segment-item:last-child {
    border-top-right-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
  }
  .segment-control-outlined .segment-item-active {
    background-color: var(--color-primary-container);
    border-color: var(--color-primary);
    z-index: 1;
  }
  .segment-control-ghost {
    background-color: transparent;
    border-color: transparent;
  }
  .segment-control-icon-only .segment-item {
    padding: 0.625rem;
  }
  .segment-control-icon-only.segment-control-sm .segment-item {
    padding: 0.5rem;
  }
  .segment-control-icon-only.segment-control-lg .segment-item {
    padding: 0.75rem;
  }
  .segment-control-multi .segment-item-active {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  @media (prefers-reduced-motion: reduce) {
    .segment-item {
      transition: none;
    }
  }
}
@layer components {
  .select {
    display: block;
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem 1.25rem;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .select:hover:not(:disabled) {
    border-color: var(--color-on-surface-variant);
  }
  .select:focus {
    outline: none;
  }
  .select:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .select:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
  }
  .select-filled {
    background-color: var(--color-surface-container);
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .select-filled:hover:not(:disabled) {
    background-color: var(--color-surface-container-high);
    border-bottom-color: var(--color-on-surface);
  }
  .select-filled:focus-visible {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .select-outlined {
    background-color: transparent;
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
  }
  .select-primary:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .select-secondary:focus-visible {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-secondary) 10%, transparent);
    }
  }
  .select-tertiary:focus-visible {
    border-color: var(--color-tertiary);
    box-shadow: 0 0 0 3px var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-tertiary) 10%, transparent);
    }
  }
  .select-error {
    border-color: var(--color-error);
  }
  .select-error:focus-visible {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .select-success {
    border-color: var(--color-success);
  }
  .select-success:focus-visible {
    border-color: var(--color-success);
    box-shadow: 0 0 0 3px var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-success) 10%, transparent);
    }
  }
  .select-xs {
    padding: 0.375rem 2rem 0.375rem 0.625rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 0.25rem;
    background-size: 1rem 1rem;
  }
  .select-sm {
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.375rem;
    background-size: 1.125rem 1.125rem;
  }
  .select-lg {
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    border-radius: 0.625rem;
    background-size: 1.5rem 1.5rem;
    background-position: right 1rem center;
  }
  .select-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
  }
  .select-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
  }
  .select-helper {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .select-container-error .select-helper {
    color: var(--color-error);
  }
  .select-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .select-multiple {
    padding: 0.5rem;
    height: auto;
    min-height: 6rem;
    background-image: none;
  }
  .select-multiple option {
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
  }
  .select-multiple option:checked {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .select-ghost {
    background-color: transparent;
    border-color: transparent;
  }
  .select-ghost:hover:not(:disabled) {
    background-color: var(--color-surface-container);
    border-color: transparent;
  }
  .select-ghost:focus-visible {
    background-color: var(--color-surface-container);
    border-color: transparent;
    box-shadow: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .select {
      transition: none;
    }
  }
}
@layer components {
  .slider {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 2.5rem;
    touch-action: none;
    user-select: none;
  }
  .slider-track {
    position: relative;
    width: 100%;
    height: 0.25rem;
    background-color: var(--color-surface-container-highest);
    border-radius: 9999px;
  }
  .slider-track-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 9999px;
  }
  .slider-thumb {
    position: absolute;
    top: 50%;
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.2);
    transform: translate(-50%, -50%);
    cursor: grab;
    transition: box-shadow 150ms ease-in-out, transform 150ms ease-in-out;
  }
  .slider-thumb:hover {
    box-shadow: 0 0 0 8px var(--color-primary-container), 0 2px 4px rgb(0 0 0 / 0.2);
  }
  .slider-thumb:focus-visible {
    outline: none;
    box-shadow: 0 0 0 8px var(--color-primary-container), 0 2px 4px rgb(0 0 0 / 0.2);
  }
  .slider-thumb:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1);
  }
  .slider-thumb-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-on-primary);
    background-color: var(--color-primary);
    border-radius: 0.25rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms ease-out, visibility 150ms ease-out;
  }
  .slider-thumb-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 0.25rem solid transparent;
    border-top-color: var(--color-primary);
  }
  .slider-thumb:hover .slider-thumb-label, .slider-thumb:focus-visible .slider-thumb-label, .slider-thumb:active .slider-thumb-label {
    opacity: 1;
    visibility: visible;
  }
  .slider-labels-always .slider-thumb-label {
    opacity: 1;
    visibility: visible;
  }
  .slider-marks {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .slider-mark {
    position: relative;
    width: 0.125rem;
    height: 0.5rem;
    background-color: var(--color-outline);
    border-radius: 9999px;
  }
  .slider-mark-active {
    background-color: var(--color-on-primary);
  }
  .slider-mark-label {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    white-space: nowrap;
  }
  .slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
  }
  .slider-sm {
    height: 2rem;
  }
  .slider-sm .slider-track {
    height: 0.125rem;
  }
  .slider-sm .slider-thumb {
    width: 1rem;
    height: 1rem;
  }
  .slider-lg {
    height: 3rem;
  }
  .slider-lg .slider-track {
    height: 0.375rem;
  }
  .slider-lg .slider-thumb {
    width: 1.5rem;
    height: 1.5rem;
  }
  .slider-secondary .slider-track-filled, .slider-secondary .slider-thumb {
    background-color: var(--color-secondary);
  }
  .slider-secondary .slider-thumb:hover, .slider-secondary .slider-thumb:focus-visible {
    box-shadow: 0 0 0 8px var(--color-secondary-container), 0 2px 4px rgb(0 0 0 / 0.2);
  }
  .slider-secondary .slider-thumb-label {
    background-color: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .slider-secondary .slider-thumb-label::after {
    border-top-color: var(--color-secondary);
  }
  .slider-tertiary .slider-track-filled, .slider-tertiary .slider-thumb {
    background-color: var(--color-tertiary);
  }
  .slider-tertiary .slider-thumb:hover, .slider-tertiary .slider-thumb:focus-visible {
    box-shadow: 0 0 0 8px var(--color-tertiary-container), 0 2px 4px rgb(0 0 0 / 0.2);
  }
  .slider-tertiary .slider-thumb-label {
    background-color: var(--color-tertiary);
    color: var(--color-on-tertiary);
  }
  .slider-tertiary .slider-thumb-label::after {
    border-top-color: var(--color-tertiary);
  }
  .slider-disabled {
    opacity: 0.6;
    pointer-events: none;
  }
  .slider-disabled .slider-thumb {
    cursor: not-allowed;
  }
  .slider-range .slider-track-filled {
    left: var(--slider-start, 0%);
    width: var(--slider-range, 100%);
  }
  .slider-vertical {
    flex-direction: column;
    width: 2.5rem;
    height: 12rem;
  }
  .slider-vertical .slider-track {
    width: 0.25rem;
    height: 100%;
  }
  .slider-vertical .slider-track-filled {
    width: 100%;
    height: auto;
    bottom: 0;
    top: auto;
  }
  .slider-vertical .slider-thumb {
    left: 50%;
    top: auto;
    transform: translate(-50%, 50%);
  }
  .slider-vertical .slider-thumb-label {
    bottom: auto;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0.5rem;
    margin-bottom: 0;
  }
  .slider-vertical .slider-thumb-label::after {
    top: 50%;
    left: auto;
    right: 100%;
    transform: translateY(-50%);
    border-top-color: transparent;
    border-right-color: var(--color-primary);
  }
  .slider-vertical .slider-marks {
    flex-direction: column;
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .slider-vertical .slider-mark-label {
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
  }
  .slider-with-input {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .slider-with-input .slider {
    flex: 1;
  }
  .slider-input {
    width: 4rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.375rem;
  }
  .slider-input:focus {
    outline: none;
    border-color: var(--color-primary);
  }
  @media (prefers-reduced-motion: reduce) {
    .slider-thumb, .slider-thumb-label {
      transition: none;
    }
  }
}
@layer components {
  .switch {
    --switch-width: 3.25rem;
    --switch-height: 2rem;
    --switch-thumb-size: 1rem;
    --switch-color: var(--color-primary);
    --switch-track-color: var(--color-surface-container-highest);
    --switch-border-color: var(--color-outline);
    --switch-thumb-color: var(--color-outline);
    position: relative;
    display: inline-grid;
    grid-template-columns: 0fr 1fr 1fr;
    align-items: center;
    width: var(--switch-width);
    height: var(--switch-height);
    margin: 0;
    padding: 0.25rem;
    cursor: pointer;
    appearance: none;
    background-color: var(--switch-track-color);
    border: 2px solid var(--switch-border-color);
    border-radius: var(--switch-height);
    transition: background-color 200ms ease-in-out !important;
  }
  .switch::before {
    content: "";
    grid-column: 2;
    width: var(--switch-thumb-size);
    height: var(--switch-thumb-size);
    background-color: var(--switch-thumb-color);
    border-radius: 50%;
    transition: background-color 200ms ease-in-out !important;
  }
  .switch:checked {
    grid-template-columns: 1fr 1fr 0fr;
    background-color: var(--switch-color);
    border-color: var(--switch-color);
  }
  .switch:checked::before {
    background-color: var(--color-primary-content);
  }
  .switch:hover:not(:disabled):not(:checked) {
    background-color: var(--color-surface-container-high);
  }
  .switch:hover:not(:disabled):not(:checked)::before {
    background-color: var(--color-on-surface-variant);
  }
  .switch:checked:hover:not(:disabled) {
    background-color: var(--switch-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--switch-color), black 10%);
    }
    border-color: var(--switch-color);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--switch-color), black 10%);
    }
  }
  .switch:checked:hover:not(:disabled)::before {
    background-color: var(--color-primary-container);
  }
  .switch:focus-visible {
    outline: 2px solid var(--switch-color);
    outline-offset: 2px;
  }
  .switch:active:not(:disabled)::before {
    width: calc(var(--switch-thumb-size) + 0.25rem);
  }
  .switch:checked:active:not(:disabled)::before {
    margin-left: -0.25rem;
  }
  .switch:disabled {
    cursor: not-allowed;
    opacity: 0.38;
  }
  .switch:disabled:not(:checked) {
    background-color: var(--color-surface-container-highest);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-surface-container-highest) 12%, transparent);
    }
    border-color: var(--color-on-surface);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklch, var(--color-on-surface) 12%, transparent);
    }
  }
  .switch:disabled:not(:checked)::before {
    background-color: var(--color-on-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-on-surface) 38%, transparent);
    }
  }
  .switch:disabled:checked {
    background-color: var(--color-on-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-on-surface) 12%, transparent);
    }
    border-color: transparent;
  }
  .switch:disabled:checked::before {
    background-color: var(--color-surface);
  }
  .switch-xs {
    --switch-width: 2rem;
    --switch-height: 1.25rem;
    --switch-thumb-size: 0.5rem;
  }
  .switch-sm {
    --switch-width: 2.5rem;
    --switch-height: 1.5rem;
    --switch-thumb-size: 0.75rem;
  }
  .switch-md {
    --switch-width: 3.25rem;
    --switch-height: 2rem;
    --switch-thumb-size: 1rem;
  }
  .switch-lg {
    --switch-width: 4rem;
    --switch-height: 2.5rem;
    --switch-thumb-size: 1.25rem;
  }
  .switch-xl {
    --switch-width: 4.75rem;
    --switch-height: 3rem;
    --switch-thumb-size: 1.5rem;
  }
  .switch-primary {
    --switch-color: var(--color-primary);
  }
  .switch-secondary {
    --switch-color: var(--color-secondary);
  }
  .switch-tertiary {
    --switch-color: var(--color-tertiary);
  }
  .switch-success {
    --switch-color: var(--color-success);
  }
  .switch-warning {
    --switch-color: var(--color-warning);
  }
  .switch-error {
    --switch-color: var(--color-error);
  }
  .switch-info {
    --switch-color: var(--color-info);
  }
  .switch-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    color: var(--color-on-surface);
  }
  .switch-label:has(.switch:disabled) {
    cursor: not-allowed;
    opacity: 0.38;
  }
  .switch-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .switch-group-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .switch, .switch::before {
      transition: none !important;
    }
  }
}
@layer components {
  .textarea-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
  }
  .textarea-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: var(--color-on-surface);
    margin-bottom: 0.25rem;
  }
  .textarea-label-floating {
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-on-surface-variant);
    pointer-events: none;
    transition: all 150ms ease-in-out;
    transform-origin: left top;
    z-index: 1;
  }
  .textarea:focus ~ .textarea-label-floating, .textarea:not(:placeholder-shown) ~ .textarea-label-floating {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
    background-color: var(--color-surface);
    padding: 0 0.25rem;
  }
  .textarea-filled ~ .textarea-label-floating {
    background-color: transparent;
  }
  .textarea-filled:focus ~ .textarea-label-floating, .textarea-filled:not(:placeholder-shown) ~ .textarea-label-floating {
    top: 0.25rem;
    left: 0.75rem;
    background-color: transparent;
  }
  .textarea-helper {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--color-on-surface-variant);
    margin-top: 0.25rem;
  }
  .textarea {
    display: block;
    width: 100%;
    min-height: 6rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-family: inherit;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    outline: none;
    resize: vertical;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .textarea::placeholder {
    color: var(--color-on-surface-variant);
    opacity: 0.7;
  }
  .textarea:hover:not(:disabled) {
    border-color: var(--color-on-surface-variant);
  }
  .textarea:focus {
    outline: none;
  }
  .textarea:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .textarea:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
    resize: none;
  }
  .textarea[readonly] {
    background-color: var(--color-surface-container);
    cursor: default;
  }
  .textarea-full {
    width: 100%;
  }
  .textarea-filled {
    background-color: var(--color-surface-container);
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .textarea-filled:hover:not(:disabled) {
    background-color: var(--color-surface-container-high);
    border-bottom-color: var(--color-on-surface);
  }
  .textarea-filled:focus-visible {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .textarea-outlined {
    background-color: transparent;
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
  }
  .textarea-ghost {
    background-color: transparent;
    border-color: transparent;
  }
  .textarea-ghost:hover:not(:disabled) {
    background-color: var(--color-surface-container);
    border-color: transparent;
  }
  .textarea-ghost:focus-visible {
    background-color: var(--color-surface-container);
    border-color: transparent;
    box-shadow: none;
  }
  .textarea-primary {
    border-color: var(--color-primary);
  }
  .textarea-primary:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .textarea-filled.textarea-primary {
    border-bottom-color: var(--color-primary);
  }
  .textarea-filled.textarea-primary:focus-visible {
    border-bottom-color: var(--color-primary);
  }
  .textarea-secondary {
    border-color: var(--color-secondary);
  }
  .textarea-secondary:focus-visible {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-secondary) 10%, transparent);
    }
  }
  .textarea-filled.textarea-secondary {
    border-bottom-color: var(--color-secondary);
  }
  .textarea-filled.textarea-secondary:focus-visible {
    border-bottom-color: var(--color-secondary);
  }
  .textarea-tertiary {
    border-color: var(--color-tertiary);
  }
  .textarea-tertiary:focus-visible {
    border-color: var(--color-tertiary);
    box-shadow: 0 0 0 3px var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-tertiary) 10%, transparent);
    }
  }
  .textarea-filled.textarea-tertiary {
    border-bottom-color: var(--color-tertiary);
  }
  .textarea-filled.textarea-tertiary:focus-visible {
    border-bottom-color: var(--color-tertiary);
  }
  .textarea-error {
    border-color: var(--color-error);
  }
  .textarea-error:focus-visible {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .textarea-filled.textarea-error {
    border-bottom-color: var(--color-error);
  }
  .textarea-success {
    border-color: var(--color-success);
  }
  .textarea-success:focus-visible {
    border-color: var(--color-success);
    box-shadow: 0 0 0 3px var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-success) 10%, transparent);
    }
  }
  .textarea-filled.textarea-success {
    border-bottom-color: var(--color-success);
  }
  .textarea-warning {
    border-color: var(--color-warning);
  }
  .textarea-warning:focus-visible {
    border-color: var(--color-warning);
    box-shadow: 0 0 0 3px var(--color-warning);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-warning) 10%, transparent);
    }
  }
  .textarea-filled.textarea-warning {
    border-bottom-color: var(--color-warning);
  }
  .textarea-sm {
    min-height: 4rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.375rem;
  }
  .textarea-lg {
    min-height: 8rem;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    border-radius: 0.625rem;
  }
  .textarea-resize-none {
    resize: none;
  }
  .textarea-resize-vertical {
    resize: vertical;
  }
  .textarea-resize-horizontal {
    resize: horizontal;
  }
  .textarea-resize-both {
    resize: both;
  }
  .textarea-auto-resize, .textarea-autosize {
    resize: none;
    overflow: hidden;
    min-height: 3rem;
    field-sizing: content;
  }
  .textarea-counter {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--color-on-surface-variant);
    text-align: right;
  }
  .textarea-counter-error, .textarea-counter-exceeded {
    color: var(--color-error);
  }
  .textarea-container-error .textarea-label {
    color: var(--color-error);
  }
  .textarea-container-error .textarea-helper {
    color: var(--color-error);
  }
  .textarea-container-error .textarea-label-floating {
    color: var(--color-error);
  }
  .textarea-container-error .textarea:focus ~ .textarea-label-floating {
    color: var(--color-error);
  }
  .textarea-container-success .textarea-label {
    color: var(--color-success);
  }
  .textarea-container-success .textarea-helper {
    color: var(--color-success);
  }
  .textarea-container-success .textarea-label-floating {
    color: var(--color-success);
  }
  .textarea-container-success .textarea:focus ~ .textarea-label-floating {
    color: var(--color-success);
  }
  @media (prefers-reduced-motion: reduce) {
    .textarea, .textarea-label-floating {
      transition: none;
    }
  }
}
@layer components {
  .theme-controller-item {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .theme-controller-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border-radius: calc(var(--radius-box, 1.5rem) - 0.25rem);
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out, box-shadow 150ms ease-in-out;
    user-select: none;
    white-space: nowrap;
  }
  .theme-controller-label:hover {
    background-color: var(--color-surface-container-high);
  }
  .theme-controller-item:focus-visible + .theme-controller-label {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .theme-controller-item:checked + .theme-controller-label {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
    box-shadow: var(--shadow-xs);
  }
  .theme-controller-item:checked + .theme-controller-label:hover {
    background-color: var(--color-primary-container);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary-container), black 5%);
    }
  }
  .theme-controller {
    display: inline-flex;
    align-items: stretch;
    background-color: var(--color-surface-container);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-box, 1.5rem);
    padding: 0.25rem;
    gap: 0.125rem;
  }
  .theme-controller-sm {
    padding: 0.125rem;
    border-radius: calc(var(--radius-box, 1.5rem) * 0.75);
  }
  .theme-controller-sm .theme-controller-label {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: calc(var(--radius-box, 1.5rem) * 0.75 - 0.125rem);
  }
  .theme-controller-lg {
    padding: 0.375rem;
    gap: 0.25rem;
    border-radius: calc(var(--radius-box, 1.5rem) * 1.25);
  }
  .theme-controller-lg .theme-controller-label {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    border-radius: calc(var(--radius-box, 1.5rem) * 1.25 - 0.375rem);
  }
  .theme-controller-icon .theme-controller-label {
    padding: 0.5rem;
  }
  .theme-controller-icon.theme-controller-sm .theme-controller-label {
    padding: 0.375rem;
  }
  .theme-controller-icon.theme-controller-lg .theme-controller-label {
    padding: 0.75rem;
  }
  .theme-controller-dropdown {
    position: relative;
    display: inline-block;
  }
  .theme-controller-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface-container);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-field, 0.5rem);
    cursor: pointer;
    user-select: none;
    transition: background-color 150ms ease-in-out;
    list-style: none;
  }
  .theme-controller-trigger::-webkit-details-marker {
    display: none;
  }
  .theme-controller-trigger:hover {
    background-color: var(--color-surface-container-high);
  }
  .theme-controller-trigger:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .theme-controller-trigger::after {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.125rem;
    transition: transform 150ms ease-in-out;
  }
  .theme-controller-dropdown[open] .theme-controller-trigger::after {
    transform: rotate(-135deg);
    margin-top: 0.125rem;
  }
  .theme-controller-menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    z-index: 50;
    min-width: 100%;
    background-color: var(--color-surface-container);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-field, 0.5rem);
    padding: 0.25rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }
  .theme-controller-menu .theme-controller-label {
    width: 100%;
    justify-content: flex-start;
    border-radius: calc(var(--radius-field, 0.5rem) - 0.25rem);
  }
  .theme-controller-dropdown-sm .theme-controller-trigger {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .theme-controller-dropdown-sm .theme-controller-menu {
    padding: 0.125rem;
  }
  .theme-controller-dropdown-sm .theme-controller-menu .theme-controller-label {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .theme-controller-dropdown-lg .theme-controller-trigger {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .theme-controller-dropdown-lg .theme-controller-menu {
    padding: 0.375rem;
  }
  .theme-controller-dropdown-lg .theme-controller-menu .theme-controller-label {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .theme-controller-dropdown-icon .theme-controller-trigger {
    padding: 0.5rem;
  }
  .theme-controller-dropdown-icon .theme-controller-trigger::after {
    display: none;
  }
  .theme-controller-dropdown-icon.theme-controller-dropdown-sm .theme-controller-trigger {
    padding: 0.375rem;
  }
  .theme-controller-dropdown-icon.theme-controller-dropdown-lg .theme-controller-trigger {
    padding: 0.75rem;
  }
  .theme-controller-dropdown-end .theme-controller-menu {
    left: auto;
    right: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .theme-controller-label, .theme-controller-trigger, .theme-controller-trigger::after {
      transition: none;
    }
  }
}
@layer components {
  .toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
  }
  .toggle-btn:hover:not(:disabled) {
    background-color: var(--color-surface-variant);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-surface-variant) 50%, transparent);
    }
    border-color: var(--color-outline-variant);
  }
  .toggle-btn-active, .toggle-btn.active {
    color: var(--color-on-primary-container);
    background-color: var(--color-primary-container);
    border-color: var(--color-primary);
  }
  .toggle-btn-active:hover:not(:disabled), .toggle-btn.active:hover:not(:disabled) {
    background-color: var(--color-primary-container);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary-container) 90%, transparent);
    }
  }
  .toggle-btn-secondary.toggle-btn-active, .toggle-btn-secondary.active {
    color: var(--color-on-secondary-container);
    background-color: var(--color-secondary-container);
    border-color: var(--color-secondary);
  }
  .toggle-btn-tertiary.toggle-btn-active, .toggle-btn-tertiary.active {
    color: var(--color-on-tertiary-container);
    background-color: var(--color-tertiary-container);
    border-color: var(--color-tertiary);
  }
  .toggle-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .toggle-btn:disabled, .toggle-btn-disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
  }
  .toggle-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
  }
  .toggle-btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    gap: 0.625rem;
  }
  .toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    padding: 0.25rem;
    background-color: var(--color-surface-variant);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-surface-variant) 30%, transparent);
    }
  }
  .toggle-group .toggle-btn {
    border: none;
    border-radius: 0.375rem;
    margin: 0;
  }
  .toggle-group .toggle-btn:not(:last-child) {
    margin-right: 0.125rem;
  }
  .toggle-group-vertical {
    flex-direction: column;
  }
  .toggle-group-vertical .toggle-btn:not(:last-child) {
    margin-right: 0;
    margin-bottom: 0.125rem;
  }
  .toggle-group-exclusive .toggle-btn {
    flex: 1;
  }
  .toggle-btn-icon-only {
    padding: 0.625rem;
    aspect-ratio: 1;
  }
  .toggle-btn-icon-only.toggle-btn-sm {
    padding: 0.5rem;
  }
  .toggle-btn-icon-only.toggle-btn-lg {
    padding: 0.875rem;
  }
  .toggle-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
  }
  .toggle-segmented {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.5rem;
    padding: 0.25rem;
  }
  .toggle-segmented .toggle-btn {
    border: none;
    background-color: transparent;
    border-radius: 0.375rem;
  }
  .toggle-segmented .toggle-btn.toggle-btn-active, .toggle-segmented .toggle-btn.active {
    background-color: var(--color-surface-variant);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
  }
  .toggle-chip {
    border-radius: 1rem;
    padding: 0.5rem 1rem;
  }
  .toggle-chip.toggle-btn-active, .toggle-chip.active {
    background-color: var(--color-primary-container);
    border-color: var(--color-primary-container);
  }
  .toggle-outlined {
    background-color: transparent;
  }
  .toggle-outlined.toggle-btn-active, .toggle-outlined.active {
    background-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .toggle-filled {
    background-color: var(--color-surface-variant);
    border: none;
  }
  .toggle-filled.toggle-btn-active, .toggle-filled.active {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  .toggle-badge {
    position: relative;
  }
  .toggle-badge::after {
    content: "";
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-error);
    border-radius: 50%;
    border: 2px solid var(--color-surface);
  }
  .toggle-full {
    width: 100%;
  }
  .toggle-group-full {
    width: 100%;
  }
  .toggle-group-full .toggle-btn {
    flex: 1;
  }
  .toggle-loading {
    position: relative;
    pointer-events: none;
  }
  .toggle-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    margin-left: -0.5rem;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: toggle-spin 0.6s linear infinite;
  }
  @keyframes toggle-spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .toggle-btn {
      transition: none;
    }
    .toggle-loading::after {
      animation: none;
    }
  }
}
@layer components {
  .time-input {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
  }
  .time-input-field {
    display: flex;
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .time-input-field:hover:not(:disabled) {
    border-color: var(--color-on-surface-variant);
  }
  .time-input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .time-input-field:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
  }
  .time-input-icon {
    position: absolute;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-on-surface-variant);
    pointer-events: none;
  }
  .time-input-segments {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
  }
  .time-input-segment {
    width: 2rem;
    padding: 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    outline: none;
    transition: background-color 150ms ease-in-out;
  }
  .time-input-segment:focus {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .time-input-separator {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
  }
  .time-input-period {
    display: inline-flex;
    margin-left: 0.5rem;
    background-color: var(--color-surface-container);
    border-radius: 0.375rem;
    padding: 0.125rem;
  }
  .time-input-period-btn {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
  }
  .time-input-period-btn:hover {
    background-color: var(--color-surface-container-high);
  }
  .time-input-period-btn-active {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .time-input-sm .time-input-field {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
  }
  .time-input-sm .time-input-segment {
    width: 1.75rem;
    font-size: 0.875rem;
  }
  .time-input-lg .time-input-field {
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1.125rem;
    border-radius: 0.625rem;
  }
  .time-input-lg .time-input-segment {
    width: 2.5rem;
    font-size: 1.125rem;
  }
  .time-input-filled .time-input-field, .time-input-filled .time-input-segments {
    background-color: var(--color-surface-container);
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .time-input-filled .time-input-field:focus, .time-input-filled .time-input-segments:focus-within {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .time-input-primary .time-input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .time-input-secondary .time-input-field:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-secondary) 10%, transparent);
    }
  }
  .time-input-tertiary .time-input-field:focus {
    border-color: var(--color-tertiary);
    box-shadow: 0 0 0 3px var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-tertiary) 10%, transparent);
    }
  }
  .time-input-error .time-input-field, .time-input-error .time-input-segments {
    border-color: var(--color-error);
  }
  .time-input-error .time-input-field:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .time-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    display: none;
    min-width: 12rem;
    margin-top: 0.25rem;
    padding: 0.5rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
  }
  .time-picker-dropdown-open {
    display: block;
  }
  .time-picker-columns {
    display: flex;
    gap: 0.5rem;
    max-height: 12rem;
  }
  .time-picker-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    overflow-y: auto;
  }
  .time-picker-option {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .time-picker-option:hover {
    background-color: var(--color-surface-container);
  }
  .time-picker-option-selected {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  @media (prefers-reduced-motion: reduce) {
    .time-input-field, .time-input-segment, .time-input-period-btn, .time-picker-option {
      transition: none;
    }
  }
}
@layer components {
  .tree-select {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    width: 100%;
  }
  .tree-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
  }
  .tree-select-trigger:hover:not(:disabled) {
    border-color: var(--color-on-surface-variant);
  }
  .tree-select-trigger:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .tree-select-trigger:disabled, .tree-select-trigger[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
  }
  div.tree-select-trigger {
    user-select: none;
  }
  div.tree-select-trigger:focus-visible {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 10%, transparent);
    }
  }
  .tree-select-value {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-on-surface-variant);
  }
  .tree-select-value-selected {
    color: var(--color-on-surface);
  }
  .tree-select-path {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tree-select-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-on-surface-variant);
    flex-shrink: 0;
    transition: transform 150ms ease-in-out;
  }
  .tree-select-open .tree-select-arrow {
    transform: rotate(180deg);
  }
  .tree-select-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 150ms ease-in-out;
  }
  .tree-select-clear:hover {
    background-color: var(--color-surface-container-high);
  }
  .tree-select-clear svg {
    width: 1rem;
    height: 1rem;
  }
  .tree-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    display: none;
    max-height: 20rem;
    margin-top: 0.25rem;
    padding: 0.5rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }
  .tree-select-open .tree-select-dropdown {
    display: block;
  }
  .tree-select-dropdown[popover] {
    position: absolute;
    inset: unset;
    margin: 0;
    border: 1px solid var(--color-outline-variant);
  }
  .tree-select-dropdown[popover]:popover-open {
    display: block;
  }
  @supports (anchor-name: --tree-select) {
    .tree-select {
      anchor-name: --tree-select;
    }
    .tree-select-dropdown[popover] {
      position-anchor: --tree-select;
      top: anchor(bottom);
      left: anchor(left);
      right: anchor(right);
      position-try-fallbacks: flip-block;
    }
  }
  .tree-select-search {
    display: flex;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .tree-select-search-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface-container);
    border: none;
    border-radius: 0.375rem;
    outline: none;
  }
  .tree-select-search-input:focus {
    background-color: var(--color-surface-container-high);
  }
  .tree-select-options {
    display: flex;
    flex-direction: column;
  }
  .tree-select-node {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .tree-select-node:hover {
    background-color: var(--color-surface-container);
  }
  .tree-select-node-selected {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .tree-select-node-selected:hover {
    background-color: var(--color-primary-container);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary-container), black 5%);
    }
  }
  .tree-select-node-leaf {
    padding-left: 2rem;
  }
  .tree-select-node-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 150ms ease-in-out;
  }
  .tree-select-node-toggle:hover {
    background-color: var(--color-surface-container-high);
  }
  .tree-select-node-expanded .tree-select-node-toggle, .tree-select-node-expanded > .tree-select-node-toggle {
    transform: rotate(90deg);
  }
  .tree-select-node-icon {
    width: 1rem;
    height: 1rem;
  }
  .tree-select-node-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tree-select-node-custom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-on-surface-variant);
    flex-shrink: 0;
  }
  .tree-select-children {
    display: none;
    padding-left: 1.5rem;
  }
  .tree-select-node-expanded + .tree-select-children {
    display: block;
  }
  .tree-select-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .tree-select-checkbox-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
  }
  .tree-select-checkbox-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    background-color: transparent;
    border: 2px solid var(--color-on-surface-variant);
    border-radius: 0.125rem;
    transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
  }
  .tree-select-checkbox-input:checked + .tree-select-checkbox-box {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .tree-select-checkbox-input:checked + .tree-select-checkbox-box::after {
    content: '';
    display: block;
    width: 0.375rem;
    height: 0.625rem;
    border: 2px solid var(--color-on-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
  }
  .tree-select-empty {
    padding: 1rem;
    text-align: center;
    color: var(--color-on-surface-variant);
    font-size: 0.875rem;
  }
  .tree-select-sm .tree-select-trigger {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
  }
  .tree-select-lg .tree-select-trigger {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    border-radius: 0.625rem;
  }
  .tree-select-outlined .tree-select-trigger {
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline);
  }
  .tree-select-filled .tree-select-trigger {
    background-color: var(--color-surface-container);
    border: none;
    border-bottom: 2px solid var(--color-outline);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .tree-select-filled .tree-select-trigger:focus {
    border-bottom-color: var(--color-primary);
    box-shadow: none;
  }
  .tree-select-multiple .tree-select-value {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .tree-select-error .tree-select-trigger {
    border-color: var(--color-error);
  }
  .tree-select-error .tree-select-trigger:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px var(--color-error);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
    }
  }
  .tree-select-disabled .tree-select-trigger {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-surface-container);
  }
  .tree-select-loading .tree-select-trigger {
    cursor: wait;
  }
  .tree-select-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--color-outline);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: tree-select-spin 0.8s linear infinite;
  }
  @keyframes tree-select-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .tree-select-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    flex: 1;
  }
  .tree-select-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
    border-radius: 1rem;
  }
  .tree-select-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.875rem;
    height: 0.875rem;
    padding: 0;
    color: inherit;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
  }
  .tree-select-tag-remove:hover {
    opacity: 1;
    background-color: currentColor;
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, currentColor 10%, transparent);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .tree-select-trigger, .tree-select-arrow, .tree-select-node-toggle, .tree-select-node, .tree-select-checkbox-box {
      transition: none;
    }
    .tree-select-spinner {
      animation: none;
    }
  }
}
@layer components {
  .alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
    border: 1px solid var(--color-outline);
  }
  .alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .alert-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
  }
  .alert-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
  }
  .alert-description {
    font-size: 0.875rem;
    line-height: 1.25rem;
    opacity: 0.9;
  }
  .alert-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
    color: currentColor;
    opacity: 0.7;
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: opacity 150ms ease-in-out;
    flex-shrink: 0;
    margin-left: auto;
  }
  .alert-close:hover {
    opacity: 1;
  }
  .alert-close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
  .alert-info {
    background-color: var(--color-info-container);
    color: var(--color-on-info-container);
    border-color: transparent;
  }
  .alert-success {
    background-color: var(--color-success-container);
    color: var(--color-on-success-container);
    border-color: transparent;
  }
  .alert-warning {
    background-color: var(--color-warning-container);
    color: var(--color-on-warning-container);
    border-color: transparent;
  }
  .alert-error {
    background-color: var(--color-error-container);
    color: var(--color-on-error-container);
    border-color: transparent;
  }
  .alert-filled.alert-info {
    background-color: var(--color-info);
    color: var(--color-info-content);
  }
  .alert-filled.alert-success {
    background-color: var(--color-success);
    color: var(--color-success-content);
  }
  .alert-filled.alert-warning {
    background-color: var(--color-warning);
    color: var(--color-warning-content);
  }
  .alert-filled.alert-error {
    background-color: var(--color-error);
    color: var(--color-error-content);
  }
  .alert-outlined {
    background-color: transparent;
  }
  .alert-outlined.alert-info {
    border-color: var(--color-info);
    color: var(--color-info);
  }
  .alert-outlined.alert-success {
    border-color: var(--color-success);
    color: var(--color-success);
  }
  .alert-outlined.alert-warning {
    border-color: var(--color-warning);
    color: var(--color-warning);
  }
  .alert-outlined.alert-error {
    border-color: var(--color-error);
    color: var(--color-error);
  }
  .alert-dismissible {
    padding-right: 2.5rem;
    position: relative;
  }
  .alert-dismissible .alert-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }
  .alert-compact {
    padding: 0.625rem 0.875rem;
    gap: 0.5rem;
  }
  .alert-compact .alert-icon {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1rem;
  }
  .alert-compact .alert-title, .alert-compact .alert-description {
    font-size: 0.8125rem;
  }
  .alert-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .alert-banner {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .alert-close {
      transition: none;
    }
  }
}
@layer components {
  dialog.dialog {
    position: fixed;
    margin: auto;
    padding: 0;
    border: none;
    width: 100%;
    max-width: 28rem;
    max-height: calc(100vh - 4rem);
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
  }
  dialog.dialog::backdrop {
    background-color: rgb(0 0 0 / 0.5);
  }
  .dialog-box {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 4rem);
    overflow: hidden;
  }
  .dialog-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0;
  }
  .dialog-title {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
    margin: 0;
    color: var(--color-on-surface);
  }
  .dialog-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
    flex-shrink: 0;
  }
  .dialog-close:hover {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
  }
  .dialog-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .dialog-body {
    padding: 1rem 1.5rem;
    overflow-y: auto;
    color: var(--color-on-surface-variant);
    line-height: 1.5;
  }
  .dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.5rem 1.5rem;
  }
  .dialog-footer-start {
    justify-content: flex-start;
  }
  .dialog-footer-center {
    justify-content: center;
  }
  .dialog-footer-between {
    justify-content: space-between;
  }
  dialog.dialog.dialog-sm {
    max-width: 20rem;
  }
  dialog.dialog.dialog-lg {
    max-width: 40rem;
  }
  dialog.dialog.dialog-xl {
    max-width: 56rem;
  }
  dialog.dialog.dialog-fullscreen {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
  }
  dialog.dialog.dialog-fullscreen .dialog-box {
    max-height: 100%;
  }
  dialog.dialog.dialog-top {
    margin-top: 2rem;
    margin-bottom: auto;
  }
  dialog.dialog.dialog-bottom {
    margin-top: auto;
    margin-bottom: 2rem;
  }
  .dialog-scrollable .dialog-body {
    max-height: 50vh;
    overflow-y: auto;
  }
  .dialog-divider .dialog-header {
    border-bottom: 1px solid var(--color-outline-variant);
    padding-bottom: 1rem;
  }
  .dialog-divider .dialog-footer {
    border-top: 1px solid var(--color-outline-variant);
    padding-top: 1rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .dialog {
      transition: visibility 0ms, opacity 0ms;
    }
    .dialog-box {
      transition: transform 0ms;
    }
  }
}
@layer components {
  .progress {
    position: relative;
    width: 100%;
    height: 0.5rem;
    background-color: var(--color-surface-container-highest);
    border-radius: 9999px;
    overflow: hidden;
  }
  .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 9999px;
    transition: width 300ms ease-in-out;
  }
  .progress-primary .progress-bar {
    background-color: var(--color-primary);
  }
  .progress-secondary .progress-bar {
    background-color: var(--color-secondary);
  }
  .progress-tertiary .progress-bar {
    background-color: var(--color-tertiary);
  }
  .progress-info .progress-bar {
    background-color: var(--color-info);
  }
  .progress-success .progress-bar {
    background-color: var(--color-success);
  }
  .progress-warning .progress-bar {
    background-color: var(--color-warning);
  }
  .progress-error .progress-bar {
    background-color: var(--color-error);
  }
  .progress-xs {
    height: 0.25rem;
  }
  .progress-sm {
    height: 0.375rem;
  }
  .progress-lg {
    height: 0.75rem;
  }
  .progress-xl {
    height: 1rem;
  }
  .progress-indeterminate .progress-bar {
    width: 30%;
    animation: progress-indeterminate 1.5s infinite ease-in-out;
  }
  @keyframes progress-indeterminate {
    0% {
      left: -30%;
    }
    100% {
      left: 100%;
    }
  }
  .progress-labeled {
    position: relative;
  }
  .progress-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--color-on-surface);
  }
  .progress-striped .progress-bar {
    background-image: linear-gradient( 45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent );
    background-size: 1rem 1rem;
  }
  .progress-striped.progress-animated .progress-bar {
    animation: progress-striped 1s linear infinite;
  }
  @keyframes progress-striped {
    from {
      background-position: 1rem 0;
    }
    to {
      background-position: 0 0;
    }
  }
  .progress-circular {
    position: relative;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .progress-circular svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
  }
  .progress-circular-track {
    fill: none;
    stroke: var(--color-surface-container-highest);
    stroke-width: 4;
  }
  .progress-circular-bar {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 300ms ease-in-out;
  }
  .progress-circular-label {
    position: absolute;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-on-surface);
  }
  .progress-circular-sm {
    width: 2rem;
    height: 2rem;
  }
  .progress-circular-sm .progress-circular-label {
    font-size: 0.5rem;
  }
  .progress-circular-lg {
    width: 4rem;
    height: 4rem;
  }
  .progress-circular-lg .progress-circular-label {
    font-size: 1rem;
  }
  .progress-circular-xl {
    width: 6rem;
    height: 6rem;
  }
  .progress-circular-xl .progress-circular-label {
    font-size: 1.25rem;
  }
  .progress-circular-indeterminate svg {
    animation: progress-circular-rotate 2s linear infinite;
  }
  .progress-circular-indeterminate .progress-circular-bar {
    stroke-dasharray: 80, 200;
    stroke-dashoffset: 0;
    animation: progress-circular-dash 1.5s ease-in-out infinite;
  }
  @keyframes progress-circular-rotate {
    100% {
      transform: rotate(270deg);
    }
  }
  @keyframes progress-circular-dash {
    0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 100, 200;
      stroke-dashoffset: -15;
    }
    100% {
      stroke-dasharray: 100, 200;
      stroke-dashoffset: -125;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .progress-indeterminate .progress-bar, .progress-striped.progress-animated .progress-bar, .progress-circular-indeterminate svg, .progress-circular-indeterminate .progress-circular-bar {
      animation: none;
    }
  }
}
@layer components {
  .skeleton {
    background-color: var(--color-surface-container-high);
    border-radius: 0.25rem;
    animation: skeleton-pulse 2s ease-in-out infinite;
  }
  .skeleton-text {
    height: 1rem;
    width: 100%;
    border-radius: 0.25rem;
  }
  .skeleton-circle {
    border-radius: 50%;
    aspect-ratio: 1;
  }
  .skeleton-rect {
    border-radius: 0.5rem;
  }
  .skeleton-rounded {
    border-radius: 0.5rem;
  }
  .skeleton-xs {
    height: 0.5rem;
  }
  .skeleton-sm {
    height: 0.75rem;
  }
  .skeleton-md {
    height: 1rem;
  }
  .skeleton-lg {
    height: 1.5rem;
  }
  .skeleton-xl {
    height: 2rem;
  }
  .skeleton-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
  }
  .skeleton-avatar-sm {
    width: 2rem;
    height: 2rem;
  }
  .skeleton-avatar-lg {
    width: 4rem;
    height: 4rem;
  }
  .skeleton-button {
    height: 2.5rem;
    width: 6rem;
    border-radius: 0.5rem;
  }
  .skeleton-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 0.5rem;
  }
  .skeleton-card {
    width: 100%;
    border-radius: 1rem;
    padding: 1rem;
  }
  .skeleton-line {
    height: 0.875rem;
    width: 100%;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
  }
  .skeleton-line:last-child {
    width: 75%;
    margin-bottom: 0;
  }
  .skeleton-line-short {
    width: 40%;
  }
  .skeleton-line-medium {
    width: 70%;
  }
  @keyframes skeleton-pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.4;
    }
  }
  .skeleton-wave {
    position: relative;
    overflow: hidden;
    animation: none;
  }
  .skeleton-wave::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
    animation: skeleton-wave 1.5s infinite;
  }
  @keyframes skeleton-wave {
    100% {
      transform: translateX(100%);
    }
  }
  .skeleton-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .skeleton-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .skeleton-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .skeleton-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .skeleton-table {
    width: 100%;
  }
  .skeleton-table-row {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .skeleton-table-cell {
    flex: 1;
    height: 1rem;
    border-radius: 0.25rem;
  }
  .skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .skeleton-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .skeleton {
      animation: none;
    }
    .skeleton-wave::after {
      animation: none;
    }
  }
}
@layer components {
  .snackbar-container {
    position: fixed;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    pointer-events: none;
  }
  .snackbar-container-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
  }
  .snackbar-container-bottom-left {
    bottom: 0;
    left: 0;
    align-items: flex-start;
  }
  .snackbar-container-bottom-right {
    bottom: 0;
    right: 0;
    align-items: flex-end;
  }
  .snackbar-container-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
  }
  .snackbar-container-top-left {
    top: 0;
    left: 0;
    align-items: flex-start;
  }
  .snackbar-container-top-right {
    top: 0;
    right: 0;
    align-items: flex-end;
  }
  .snackbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 20rem;
    max-width: 40rem;
    padding: 0.875rem 1rem;
    background-color: var(--color-surface-container-highest);
    color: var(--color-on-surface);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 200ms ease-out, transform 200ms ease-out;
  }
  .snackbar-container-top .snackbar, .snackbar-container-top-left .snackbar, .snackbar-container-top-right .snackbar {
    transform: translateY(-100%);
  }
  .snackbar.snackbar-open, .snackbar.snackbar-show, .snackbar.show {
    opacity: 1;
    transform: translateY(0);
  }
  .snackbar.snackbar-bottom {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    z-index: 1100;
  }
  .snackbar.snackbar-bottom.snackbar-show {
    transform: translateX(-50%) translateY(0);
  }
  .snackbar.snackbar-bottom-left {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 1100;
  }
  .snackbar.snackbar-bottom-right {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1100;
  }
  .snackbar.snackbar-top {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    z-index: 1100;
  }
  .snackbar.snackbar-top.snackbar-show {
    transform: translateX(-50%) translateY(0);
  }
  .snackbar.snackbar-top-left {
    position: fixed;
    top: 1rem;
    left: 1rem;
    transform: translateY(-100%);
    z-index: 1100;
  }
  .snackbar.snackbar-top-left.snackbar-show {
    transform: translateY(0);
  }
  .snackbar.snackbar-top-right {
    position: fixed;
    top: 1rem;
    right: 1rem;
    transform: translateY(-100%);
    z-index: 1100;
  }
  .snackbar.snackbar-top-right.snackbar-show {
    transform: translateY(0);
  }
  .snackbar.snackbar-bottom-left.snackbar-show, .snackbar.snackbar-bottom-right.snackbar-show {
    transform: translateY(0);
  }
  .snackbar-message {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .snackbar-action {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .snackbar-action:hover {
    background-color: var(--color-primary-container);
  }
  .snackbar-action:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .snackbar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
    flex-shrink: 0;
  }
  .snackbar-close:hover {
    background-color: var(--color-surface-container);
  }
  .snackbar-info {
    background-color: var(--color-info-container);
    color: var(--color-on-info-container);
  }
  .snackbar-success {
    background-color: var(--color-success-container);
    color: var(--color-on-success-container);
  }
  .snackbar-warning {
    background-color: var(--color-warning-container);
    color: var(--color-on-warning-container);
  }
  .snackbar-error {
    background-color: var(--color-error-container);
    color: var(--color-on-error-container);
  }
  .snackbar-primary {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .snackbar-secondary {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
  }
  .snackbar-tertiary {
    background-color: var(--color-tertiary-container);
    color: var(--color-on-tertiary-container);
  }
  .snackbar-dark {
    background-color: var(--color-on-surface);
    color: var(--color-surface);
  }
  .snackbar-dark .snackbar-action {
    color: var(--color-primary-container);
  }
  .snackbar-dark .snackbar-close {
    color: var(--color-surface);
  }
  .snackbar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
  }
  .snackbar-multiline {
    flex-wrap: wrap;
    min-height: 4rem;
  }
  .snackbar-multiline .snackbar-message {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .snackbar-multiline .snackbar-action {
    margin-left: auto;
  }
  @media (max-width: 640px) {
    .snackbar {
      min-width: calc(100vw - 2rem);
      max-width: calc(100vw - 2rem);
    }
    .snackbar-container {
      left: 0;
      right: 0;
      transform: none;
    }
    .snackbar-container-bottom, .snackbar-container-top {
      align-items: stretch;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .snackbar {
      transition: opacity 0ms, transform 0ms;
    }
  }
}
@layer components {
  .toast-container {
    position: fixed;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    pointer-events: none;
  }
  .toast-container-top-right {
    top: 0;
    right: 0;
    align-items: flex-end;
  }
  .toast-container-top-left {
    top: 0;
    left: 0;
    align-items: flex-start;
  }
  .toast-container-top-center {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
  }
  .toast-container-bottom-right {
    bottom: 0;
    right: 0;
    align-items: flex-end;
  }
  .toast-container-bottom-left {
    bottom: 0;
    left: 0;
    align-items: flex-start;
  }
  .toast-container-bottom-center {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
  }
  .toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 22rem;
    max-width: calc(100vw - 2rem);
    padding: 1rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    border: 1px solid var(--color-outline);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 300ms ease-out, transform 300ms ease-out;
  }
  .toast-container-top-left .toast, .toast-container-bottom-left .toast {
    transform: translateX(-100%);
  }
  .toast-container-top-center .toast, .toast-container-bottom-center .toast {
    transform: translateY(-20px);
  }
  .toast.toast-open, .toast.show, .toast-show {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  .toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .toast-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
  }
  .toast-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    color: var(--color-on-surface);
  }
  .toast-message {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--color-on-surface-variant);
  }
  .toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
    flex-shrink: 0;
    margin-left: auto;
  }
  .toast-close:hover {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
  }
  .toast-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .toast-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .toast-info {
    border-color: var(--color-info);
  }
  .toast-info .toast-icon {
    color: var(--color-info);
  }
  .toast-success {
    border-color: var(--color-success);
  }
  .toast-success .toast-icon {
    color: var(--color-success);
  }
  .toast-warning {
    border-color: var(--color-warning);
  }
  .toast-warning .toast-icon {
    color: var(--color-warning);
  }
  .toast-error {
    border-color: var(--color-error);
  }
  .toast-error .toast-icon {
    color: var(--color-error);
  }
  .toast-filled.toast-info {
    background-color: var(--color-info-container);
    border-color: transparent;
    color: var(--color-on-info-container);
  }
  .toast-filled.toast-success {
    background-color: var(--color-success-container);
    border-color: transparent;
    color: var(--color-on-success-container);
  }
  .toast-filled.toast-warning {
    background-color: var(--color-warning-container);
    border-color: transparent;
    color: var(--color-on-warning-container);
  }
  .toast-filled.toast-error {
    background-color: var(--color-error-container);
    border-color: transparent;
    color: var(--color-on-error-container);
  }
  .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 0 0 0.75rem 0.75rem;
    animation: toast-progress linear forwards;
  }
  @keyframes toast-progress {
    from {
      width: 100%;
    }
    to {
      width: 0%;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .toast {
      transition: opacity 0ms;
      transform: none;
    }
    .toast-progress {
      animation: none;
    }
  }
}
@layer components {
  .tooltip {
    position: relative;
    display: inline-block;
  }
  .tooltip-content {
    position: absolute;
    z-index: 1000;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    white-space: nowrap;
    background-color: var(--color-on-surface);
    color: var(--color-surface);
    border-radius: 0.25rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms ease-out, visibility 150ms ease-out;
    pointer-events: none;
  }
  .tooltip-content::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 0.375rem solid transparent;
  }
  .tooltip:hover .tooltip-content, .tooltip:focus-within .tooltip-content, .tooltip-open .tooltip-content {
    opacity: 1;
    visibility: visible;
  }
  .tooltip .tooltip-content {
    bottom: 100%;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin-bottom: 0.5rem;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .tooltip .tooltip-content::before {
    top: 100%;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-top-color: var(--color-on-surface);
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
  }
  .tooltip.tooltip-bottom .tooltip-content {
    top: 100%;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .tooltip.tooltip-bottom .tooltip-content::before {
    bottom: 100%;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-bottom-color: var(--color-on-surface);
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
  }
  .tooltip.tooltip-left .tooltip-content {
    right: 100%;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    margin-right: 0.5rem;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .tooltip.tooltip-left .tooltip-content::before {
    left: 100%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-left-color: var(--color-on-surface);
    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
  }
  .tooltip.tooltip-right .tooltip-content {
    left: 100%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    margin-left: 0.5rem;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .tooltip.tooltip-right .tooltip-content::before {
    right: 100%;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-right-color: var(--color-on-surface);
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
  }
  .tooltip.tooltip-light .tooltip-content {
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    border: 1px solid var(--color-outline);
    box-shadow: var(--shadow-md);
  }
  .tooltip.tooltip-light .tooltip-content::before {
    border-top-color: var(--color-surface);
  }
  .tooltip.tooltip-light.tooltip-bottom .tooltip-content::before {
    border-bottom-color: var(--color-surface);
  }
  .tooltip.tooltip-light.tooltip-left .tooltip-content::before {
    border-left-color: var(--color-surface);
  }
  .tooltip.tooltip-light.tooltip-right .tooltip-content::before {
    border-right-color: var(--color-surface);
  }
  .tooltip.tooltip-primary .tooltip-content {
    background-color: var(--color-primary);
    color: var(--color-primary-content);
  }
  .tooltip.tooltip-primary .tooltip-content::before {
    border-top-color: var(--color-primary);
  }
  .tooltip.tooltip-primary.tooltip-bottom .tooltip-content::before {
    border-bottom-color: var(--color-primary);
  }
  .tooltip.tooltip-primary.tooltip-left .tooltip-content::before {
    border-left-color: var(--color-primary);
  }
  .tooltip.tooltip-primary.tooltip-right .tooltip-content::before {
    border-right-color: var(--color-primary);
  }
  .tooltip.tooltip-secondary .tooltip-content {
    background-color: var(--color-secondary);
    color: var(--color-secondary-content);
  }
  .tooltip.tooltip-secondary .tooltip-content::before {
    border-top-color: var(--color-secondary);
  }
  .tooltip.tooltip-secondary.tooltip-bottom .tooltip-content::before {
    border-bottom-color: var(--color-secondary);
  }
  .tooltip.tooltip-secondary.tooltip-left .tooltip-content::before {
    border-left-color: var(--color-secondary);
  }
  .tooltip.tooltip-secondary.tooltip-right .tooltip-content::before {
    border-right-color: var(--color-secondary);
  }
  .tooltip.tooltip-error .tooltip-content {
    background-color: var(--color-error);
    color: var(--color-error-content);
  }
  .tooltip.tooltip-error .tooltip-content::before {
    border-top-color: var(--color-error);
  }
  .tooltip.tooltip-error.tooltip-bottom .tooltip-content::before {
    border-bottom-color: var(--color-error);
  }
  .tooltip.tooltip-error.tooltip-left .tooltip-content::before {
    border-left-color: var(--color-error);
  }
  .tooltip.tooltip-error.tooltip-right .tooltip-content::before {
    border-right-color: var(--color-error);
  }
  .tooltip-multiline .tooltip-content {
    white-space: normal;
    max-width: 16rem;
    text-align: center;
  }
  .tooltip-rich .tooltip-content {
    padding: 0.75rem 1rem;
    max-width: 20rem;
    white-space: normal;
    text-align: left;
  }
  .tooltip-rich-title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  .tooltip-rich-description {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
  }
  .tooltip-delay .tooltip-content {
    transition-delay: 300ms;
  }
  .tooltip-delay-long .tooltip-content {
    transition-delay: 500ms;
  }
  .tooltip-interactive .tooltip-content {
    pointer-events: auto;
  }
  @media (prefers-reduced-motion: reduce) {
    .tooltip-content {
      transition: none;
    }
  }
}
@layer components {
  .appbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 4rem;
    padding: 0 1rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    box-shadow: var(--shadow-sm);
  }
  .appbar-static {
    position: static;
  }
  .appbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  .appbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .appbar-top {
    top: 0;
  }
  .appbar-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 1000;
  }
  .appbar-elevated {
    box-shadow: var(--shadow-sm);
  }
  .appbar-flat {
    box-shadow: none;
  }
  .appbar-bordered {
    border-bottom: 1px solid var(--color-outline-variant);
    box-shadow: none;
  }
  .appbar-transparent {
    background-color: transparent;
    box-shadow: none;
  }
  .appbar-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .appbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
    flex-shrink: 0;
  }
  .appbar-nav:hover {
    background-color: var(--color-surface-container);
  }
  .appbar-nav:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .appbar-title {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .appbar-subtitle {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .appbar-title-group {
    flex: 1;
    min-width: 0;
  }
  .appbar-title-group .appbar-title {
    font-size: 1rem;
    line-height: 1.25rem;
  }
  .appbar-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
  }
  .appbar-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
  }
  .appbar-action:hover {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
  }
  .appbar-action:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .appbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
  }
  .appbar-logo {
    height: 2rem;
    width: auto;
  }
  .appbar-sm {
    min-height: 3rem;
    padding: 0 0.75rem;
  }
  .appbar-sm .appbar-title {
    font-size: 1rem;
  }
  .appbar-lg {
    min-height: 5rem;
    padding: 0 1.5rem;
  }
  .appbar-lg .appbar-title {
    font-size: 1.5rem;
  }
  .appbar-compact {
    min-height: 3rem;
    padding: 0 0.75rem;
  }
  .appbar-compact .appbar-title, .appbar-compact .appbar-heading {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .appbar-compact .appbar-nav, .appbar-compact .appbar-action, .appbar-compact .appbar-back {
    width: 2rem;
    height: 2rem;
  }
  .appbar-comfortable {
    min-height: 5rem;
    padding: 0 1.5rem;
  }
  .appbar-comfortable .appbar-title, .appbar-comfortable .appbar-heading {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .appbar-leading {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
  }
  .appbar-trailing {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    margin-left: auto;
  }
  .appbar-heading {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.75rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .appbar-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
    flex-shrink: 0;
  }
  .appbar-back:hover {
    background-color: var(--color-surface-container);
  }
  .appbar-back:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .appbar .appbar-search, input.appbar-search {
    flex: 1;
    max-width: 32rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface-container);
    border: none;
    border-radius: 9999px;
    transition: background-color 150ms ease-in-out;
  }
  .appbar .appbar-search:focus, input.appbar-search:focus {
    outline: none;
    background-color: var(--color-surface-container-high);
  }
  .appbar .appbar-search::placeholder, input.appbar-search::placeholder {
    color: var(--color-on-surface-variant);
  }
  .appbar-primary {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  .appbar-primary .appbar-nav, .appbar-primary .appbar-action {
    color: var(--color-on-primary);
  }
  .appbar-primary .appbar-nav:hover, .appbar-primary .appbar-action:hover {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .appbar-primary .appbar-subtitle {
    color: var(--color-on-primary);
    opacity: 0.8;
  }
  .appbar-secondary {
    background-color: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .appbar-secondary .appbar-nav, .appbar-secondary .appbar-action {
    color: var(--color-on-secondary);
  }
  .appbar-secondary .appbar-nav:hover, .appbar-secondary .appbar-action:hover {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
  }
  .appbar-secondary .appbar-subtitle {
    color: var(--color-on-secondary);
    opacity: 0.8;
  }
  .appbar-tertiary {
    background-color: var(--color-tertiary);
    color: var(--color-on-tertiary);
  }
  .appbar-tertiary .appbar-nav, .appbar-tertiary .appbar-action {
    color: var(--color-on-tertiary);
  }
  .appbar-tertiary .appbar-nav:hover, .appbar-tertiary .appbar-action:hover {
    background-color: var(--color-tertiary-container);
    color: var(--color-on-tertiary-container);
  }
  .appbar-tertiary .appbar-subtitle {
    color: var(--color-on-tertiary);
    opacity: 0.8;
  }
  .appbar-surface {
    background-color: var(--color-surface);
  }
  .appbar-surface-container {
    background-color: var(--color-surface-container);
  }
  .appbar-surface-container-low {
    background-color: var(--color-surface-container-low);
  }
  .appbar-surface-container-high {
    background-color: var(--color-surface-container-high);
  }
  .appbar-surface-container-highest {
    background-color: var(--color-surface-container-highest);
  }
  .appbar-center {
    justify-content: space-between;
  }
  .appbar-center .appbar-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: none;
  }
  .appbar-dense {
    min-height: 3rem;
    padding: 0 0.5rem;
  }
  .appbar-dense .appbar-nav, .appbar-dense .appbar-action {
    width: 2rem;
    height: 2rem;
  }
  .appbar-prominent {
    flex-direction: column;
    align-items: flex-start;
    min-height: 8rem;
    padding: 1rem;
  }
  .appbar-prominent .appbar-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }
  .appbar-prominent .appbar-title {
    font-size: 2rem;
    font-weight: 400;
    margin-top: auto;
    padding-bottom: 0.5rem;
  }
  .appbar-search {
    flex: 1;
    max-width: 32rem;
    margin: 0 1rem;
  }
  .appbar-search-input {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: var(--color-surface-container);
    border: none;
    border-radius: 9999px;
    transition: background-color 150ms ease-in-out;
  }
  .appbar-search-input:focus {
    outline: none;
    background-color: var(--color-surface-container-high);
  }
  .appbar-search-input::placeholder {
    color: var(--color-on-surface-variant);
  }
  @media (max-width: 640px) {
    .appbar {
      padding: 0 0.5rem;
    }
    .appbar-title {
      font-size: 1rem;
    }
    .appbar-search {
      margin: 0 0.5rem;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .appbar-nav, .appbar-action, .appbar-search-input {
      transition: none;
    }
  }
}
@layer components {
  .divider {
    width: 100%;
    height: 1px;
    margin: 1rem 0;
    background-color: var(--color-outline-variant);
    border: none;
  }
  .divider-vertical {
    width: 1px;
    height: auto;
    min-height: 1rem;
    margin: 0 1rem;
    align-self: stretch;
  }
  .divider-thin {
    height: 1px;
  }
  .divider-thin.divider-vertical {
    width: 1px;
    height: auto;
  }
  .divider-medium {
    height: 2px;
  }
  .divider-medium.divider-vertical {
    width: 2px;
    height: auto;
  }
  .divider-thick {
    height: 4px;
  }
  .divider-thick.divider-vertical {
    width: 4px;
    height: auto;
  }
  .divider-dashed {
    background-color: transparent;
    background-image: linear-gradient( to right, var(--color-outline-variant) 50%, transparent 50% );
    background-size: 8px 1px;
    background-repeat: repeat-x;
  }
  .divider-dashed.divider-vertical {
    background-image: linear-gradient( to bottom, var(--color-outline-variant) 50%, transparent 50% );
    background-size: 1px 8px;
    background-repeat: repeat-y;
  }
  .divider-dotted {
    background-color: transparent;
    background-image: linear-gradient( to right, var(--color-outline-variant) 25%, transparent 25% );
    background-size: 4px 1px;
    background-repeat: repeat-x;
  }
  .divider-dotted.divider-vertical {
    background-image: linear-gradient( to bottom, var(--color-outline-variant) 25%, transparent 25% );
    background-size: 1px 4px;
    background-repeat: repeat-y;
  }
  .divider-primary {
    background-color: var(--color-primary);
  }
  .divider-primary.divider-dashed {
    background-image: linear-gradient( to right, var(--color-primary) 50%, transparent 50% );
  }
  .divider-primary.divider-dashed.divider-vertical {
    background-image: linear-gradient( to bottom, var(--color-primary) 50%, transparent 50% );
  }
  .divider-secondary {
    background-color: var(--color-secondary);
  }
  .divider-light {
    background-color: var(--color-outline-variant);
    opacity: 0.5;
  }
  .divider-dark {
    background-color: var(--color-outline);
  }
  .divider-none {
    margin: 0;
  }
  .divider-xs {
    margin: 0.25rem 0;
  }
  .divider-xs.divider-vertical {
    margin: 0 0.25rem;
  }
  .divider-sm {
    margin: 0.5rem 0;
  }
  .divider-sm.divider-vertical {
    margin: 0 0.5rem;
  }
  .divider-lg {
    margin: 1.5rem 0;
  }
  .divider-lg.divider-vertical {
    margin: 0 1.5rem;
  }
  .divider-xl {
    margin: 2rem 0;
  }
  .divider-xl.divider-vertical {
    margin: 0 2rem;
  }
  .divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: auto;
    background-color: transparent;
  }
  .divider-text::before, .divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-outline-variant);
  }
  .divider-text-content {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
  }
  .divider-text-left::before {
    flex: 0 0 2rem;
  }
  .divider-text-right::after {
    flex: 0 0 2rem;
  }
  .divider-inset {
    margin-left: 4rem;
    width: calc(100% - 4rem);
  }
  .divider-inset-right {
    margin-right: 4rem;
    width: calc(100% - 4rem);
  }
  .divider-inset-both {
    margin-left: 4rem;
    margin-right: 4rem;
    width: calc(100% - 8rem);
  }
  .divider-list {
    margin: 0;
    margin-left: 1rem;
    width: calc(100% - 1rem);
  }
  .divider-card {
    margin: 0;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
  }
  .divider-gradient {
    background: linear-gradient( to right, transparent, var(--color-outline-variant) 20%, var(--color-outline-variant) 80%, transparent );
  }
  .divider-gradient.divider-vertical {
    background: linear-gradient( to bottom, transparent, var(--color-outline-variant) 20%, var(--color-outline-variant) 80%, transparent );
  }
  .divider-decorative {
    position: relative;
    height: auto;
    padding: 1rem 0;
    background-color: transparent;
    text-align: center;
  }
  .divider-decorative::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--color-outline-variant);
  }
  .divider-decorative-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--color-surface);
    color: var(--color-on-surface-variant);
  }
}
@layer components {
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    min-height: 5rem;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background-color: var(--color-surface);
    box-shadow: 0 -1px 3px 0 rgb(0 0 0 / 0.1);
  }
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 4rem;
    max-width: 10rem;
    padding: 0.75rem 0.25rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color 150ms ease-in-out;
    text-decoration: none;
    gap: 0.25rem;
  }
  .bottom-nav-item:hover {
    color: var(--color-on-surface);
  }
  .bottom-nav-item:focus-visible {
    outline: none;
  }
  .bottom-nav-item:focus-visible .bottom-nav-indicator {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .bottom-nav-item.active {
    color: var(--color-on-surface);
  }
  .bottom-nav-indicator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 2rem;
    border-radius: 1rem;
    transition: background-color 150ms ease-in-out;
  }
  .bottom-nav-item:hover .bottom-nav-indicator {
    background-color: var(--color-surface-container);
  }
  .bottom-nav-item.active .bottom-nav-indicator {
    background-color: var(--color-secondary-container);
  }
  .bottom-nav-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: font-size 150ms ease-in-out;
  }
  .bottom-nav-label {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .bottom-nav-item.active .bottom-nav-label {
    font-weight: 600;
  }
  .bottom-nav-badge {
    position: absolute;
    top: 0;
    right: 0.5rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1rem;
    color: var(--color-on-error);
    background-color: var(--color-error);
    border-radius: 9999px;
    text-align: center;
  }
  .bottom-nav-badge-dot {
    min-width: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    top: 0.125rem;
    right: 0.75rem;
  }
  .bottom-nav-elevated {
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
  }
  .bottom-nav-bordered {
    box-shadow: none;
    border-top: 1px solid var(--color-outline-variant);
  }
  .bottom-nav-filled {
    background-color: var(--color-surface-container);
  }
  .bottom-nav-primary .bottom-nav-item.active .bottom-nav-indicator {
    background-color: var(--color-primary-container);
  }
  .bottom-nav-primary .bottom-nav-item.active {
    color: var(--color-on-primary-container);
  }
  .bottom-nav-icons-only .bottom-nav-label {
    display: none;
  }
  .bottom-nav-icons-only .bottom-nav-item {
    padding: 1rem 0.25rem;
  }
  .bottom-nav-labels-active .bottom-nav-label {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 150ms ease-in-out, max-height 150ms ease-in-out;
  }
  .bottom-nav-labels-active .bottom-nav-item.active .bottom-nav-label {
    opacity: 1;
    max-height: 1rem;
  }
  .bottom-nav-shifting .bottom-nav-item {
    flex: 0 1 4rem;
    transition: flex 200ms ease-in-out;
  }
  .bottom-nav-shifting .bottom-nav-item.active {
    flex: 1 1 6rem;
  }
  .bottom-nav-shifting .bottom-nav-label {
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
  }
  .bottom-nav-shifting .bottom-nav-item.active .bottom-nav-label {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 5rem;
    padding: 1rem 0;
    background-color: var(--color-surface);
    border-right: 1px solid var(--color-outline-variant);
  }
  .nav-rail .bottom-nav-item {
    width: 100%;
    padding: 0.5rem;
    margin: 0.25rem 0;
  }
  .nav-rail .bottom-nav-indicator {
    width: 3.5rem;
    height: 2rem;
  }
  @media (min-width: 768px) {
    .bottom-nav-responsive {
      position: relative;
      bottom: auto;
      justify-content: flex-start;
      gap: 0.5rem;
      min-height: 3rem;
      padding: 0 1rem;
      box-shadow: none;
      border-bottom: 1px solid var(--color-outline-variant);
    }
    .bottom-nav-responsive .bottom-nav-item {
      flex: 0 0 auto;
      flex-direction: row;
      gap: 0.5rem;
      padding: 0.75rem 1rem;
    }
    .bottom-nav-responsive .bottom-nav-indicator {
      width: auto;
      height: auto;
      background-color: transparent !important;
    }
    .bottom-nav-responsive .bottom-nav-item.active {
      border-bottom: 2px solid var(--color-primary);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .bottom-nav-item, .bottom-nav-indicator, .bottom-nav-icon, .bottom-nav-label, .bottom-nav-shifting .bottom-nav-item {
      transition: none;
    }
  }
}
@layer components {
  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background-color: rgb(0 0 0 / 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease-out, visibility 300ms ease-out;
  }
  .drawer-backdrop-show {
    opacity: 1;
    visibility: visible;
  }
  .drawer {
    position: fixed;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    background-color: var(--color-surface-container-low);
    box-shadow: var(--shadow-2xl);
    transition: transform 300ms ease-out;
  }
  .drawer-surface {
    background-color: var(--color-surface);
  }
  .drawer-surface-container {
    background-color: var(--color-surface-container);
  }
  .drawer-surface-container-low {
    background-color: var(--color-surface-container-low);
  }
  .drawer-surface-container-high {
    background-color: var(--color-surface-container-high);
  }
  .drawer-left {
    top: 0;
    left: 0;
    bottom: 0;
    width: 20rem;
    max-width: calc(100vw - 3.5rem);
    transform: translateX(-100%);
    border-radius: 0 1rem 1rem 0;
  }
  .drawer-left.drawer-open {
    transform: translateX(0);
  }
  .drawer-right {
    top: 0;
    right: 0;
    bottom: 0;
    width: 20rem;
    max-width: calc(100vw - 3.5rem);
    transform: translateX(100%);
    border-radius: 1rem 0 0 1rem;
  }
  .drawer-right.drawer-open {
    transform: translateX(0);
  }
  .drawer-top {
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    max-height: 80vh;
    transform: translateY(-100%);
    border-radius: 0 0 1rem 1rem;
  }
  .drawer-top.drawer-open {
    transform: translateY(0);
  }
  .drawer-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    max-height: 80vh;
    transform: translateY(100%);
    border-radius: 1rem 1rem 0 0;
  }
  .drawer-bottom.drawer-open {
    transform: translateY(0);
  }
  .drawer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--color-outline-variant);
    flex-shrink: 0;
  }
  .drawer-title {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-on-surface);
  }
  .drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .drawer-close:hover {
    background-color: var(--color-surface-container);
  }
  .drawer-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0.75rem;
  }
  .drawer-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid var(--color-outline-variant);
    flex-shrink: 0;
  }
  .drawer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 1.75rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
    width: 100%;
  }
  .drawer-item:hover {
    background-color: var(--color-surface-container);
    color: var(--color-on-surface);
  }
  .drawer-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .drawer-item-active, .drawer-item-active-primary {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
  }
  .drawer-item-active-secondary {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
  }
  .drawer-item-active-tertiary {
    background-color: var(--color-tertiary-container);
    color: var(--color-on-tertiary-container);
  }
  .drawer-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .drawer-item-badge {
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--color-error-container);
    color: var(--color-on-error-container);
    border-radius: 9999px;
    margin-left: auto;
  }
  .drawer-item-nested {
    padding-left: 3rem;
  }
  .drawer-item-nested-2 {
    padding-left: 4.5rem;
  }
  .drawer-label {
    padding: 0.75rem 1rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-on-surface-variant);
  }
  .drawer-divider {
    height: 1px;
    margin: 0.5rem 1rem;
    background-color: var(--color-outline-variant);
  }
  .drawer-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .drawer-profile-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-on-primary-container);
    flex-shrink: 0;
  }
  .drawer-profile-info {
    flex: 1;
    min-width: 0;
  }
  .drawer-profile-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .drawer-profile-email {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .drawer-permanent {
    position: relative;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    border-right: 1px solid var(--color-outline-variant);
  }
  .drawer-permanent.drawer-right {
    border-right: none;
    border-left: 1px solid var(--color-outline-variant);
  }
  .drawer-rail {
    width: 5rem;
    overflow: hidden;
    transition: width 300ms ease-out;
  }
  .drawer-rail:hover, .drawer-rail.expanded {
    width: 20rem;
  }
  .drawer-rail .drawer-item span:not(.drawer-item-icon) {
    opacity: 0;
    transition: opacity 150ms ease-out;
  }
  .drawer-rail:hover .drawer-item span:not(.drawer-item-icon), .drawer-rail.expanded .drawer-item span:not(.drawer-item-icon) {
    opacity: 1;
  }
  .drawer-sm {
    width: 12rem;
  }
  .drawer-md {
    width: 16rem;
  }
  .drawer-lg {
    width: 20rem;
  }
  .drawer-xl {
    width: 24rem;
  }
  .drawer-full {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .drawer, .drawer-backdrop, .drawer-close, .drawer-item, .drawer-rail {
      transition: none;
    }
  }
}
@layer components {
  .nested-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    gap: 0.125rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
  }
  .nested-menu-title {
    padding: 0.75rem 0.75rem 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-on-surface-variant);
    user-select: none;
  }
  .nested-menu li > a, .nested-menu li > button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: inherit;
    color: var(--color-on-surface);
    text-decoration: none;
    background-color: transparent;
    border: none;
    border-radius: var(--radius-field, 0.375rem);
    cursor: pointer;
    transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
  }
  .nested-menu li > a:hover, .nested-menu li > button:hover {
    background-color: var(--color-surface-container);
  }
  .nested-menu li > a:focus-visible, .nested-menu li > button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
  }
  .nested-menu li > a.active, .nested-menu li > button.active, .nested-menu li > a[aria-current="page"], .nested-menu li > button[aria-current="page"] {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .nested-menu li > a.active:hover, .nested-menu li > button.active:hover, .nested-menu li > a[aria-current="page"]:hover, .nested-menu li > button[aria-current="page"]:hover {
    background-color: var(--color-primary-container);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary-container), var(--color-on-primary-container) 8%);
    }
  }
  .nested-menu li.disabled {
    opacity: 0.5;
    pointer-events: none;
  }
  .nested-menu details {
    width: 100%;
  }
  .nested-menu summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: inherit;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: var(--radius-field, 0.375rem);
    cursor: pointer;
    list-style: none;
    transition: background-color 150ms ease-in-out;
  }
  .nested-menu summary::-webkit-details-marker {
    display: none;
  }
  .nested-menu summary::marker {
    display: none;
    content: "";
  }
  .nested-menu summary:hover {
    background-color: var(--color-surface-container);
  }
  .nested-menu summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
  }
  .nested-menu summary::after {
    content: "";
    display: inline-block;
    margin-left: auto;
    width: 0.375rem;
    height: 0.375rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 200ms ease-in-out;
    flex-shrink: 0;
    opacity: 0.6;
  }
  .nested-menu details[open] > summary::after {
    transform: rotate(45deg);
  }
  .nested-menu details > ul {
    list-style: none;
    margin: 0;
    padding: 0.125rem 0 0.125rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }
  .nested-menu-xs {
    font-size: 0.75rem;
    padding: 0.25rem;
  }
  .nested-menu-xs li > a, .nested-menu-xs li > button, .nested-menu-xs summary {
    padding: 0.25rem 0.5rem;
    gap: 0.375rem;
  }
  .nested-menu-xs .nested-menu-title {
    padding: 0.5rem 0.5rem 0.125rem;
    font-size: 0.625rem;
  }
  .nested-menu-sm {
    font-size: 0.8125rem;
    padding: 0.375rem;
  }
  .nested-menu-sm li > a, .nested-menu-sm li > button, .nested-menu-sm summary {
    padding: 0.375rem 0.625rem;
    gap: 0.375rem;
  }
  .nested-menu-sm .nested-menu-title {
    padding: 0.625rem 0.625rem 0.1875rem;
    font-size: 0.625rem;
  }
  .nested-menu-lg {
    font-size: 1rem;
    padding: 0.625rem;
  }
  .nested-menu-lg li > a, .nested-menu-lg li > button, .nested-menu-lg summary {
    padding: 0.625rem 1rem;
    gap: 0.625rem;
  }
  .nested-menu-lg .nested-menu-title {
    padding: 0.875rem 1rem 0.375rem;
    font-size: 0.75rem;
  }
  .nested-menu-bordered {
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-card, 0.75rem);
    box-shadow: var(--shadow-sm, 0 1px 2px 0 rgb(0 0 0 / 0.05));
  }
  .nested-menu-compact {
    padding: 0.25rem;
    gap: 0;
  }
  .nested-menu-compact li > a, .nested-menu-compact li > button, .nested-menu-compact summary {
    padding: 0.3125rem 0.625rem;
  }
  .nested-menu-compact .nested-menu-title {
    padding: 0.5rem 0.625rem 0.125rem;
  }
  .nested-menu-compact details > ul {
    padding: 0 0 0 0.75rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .nested-menu li > a, .nested-menu li > button, .nested-menu summary, .nested-menu summary::after {
      transition: none;
    }
  }
}
@layer components {
  .stepper {
    display: flex;
    align-items: flex-start;
    gap: 0;
  }
  .stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
  }
  .stepper-step-connector {
    position: absolute;
    top: 1.25rem;
    left: calc(50% + 1.25rem);
    width: calc(100% - 2.5rem);
    height: 2px;
    background-color: var(--color-outline-variant);
  }
  .stepper-step:last-child .stepper-step-connector {
    display: none;
  }
  .stepper-step-completed .stepper-step-connector {
    background-color: var(--color-primary);
  }
  .stepper-step-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 1;
    background: none;
    border: none;
    padding: 0;
  }
  .stepper-step-button:focus-visible {
    outline: none;
  }
  .stepper-step-button:focus-visible .stepper-step-icon {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .stepper-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    background-color: var(--color-surface);
    border: 2px solid var(--color-outline-variant);
    border-radius: 50%;
    transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out, color 150ms ease-in-out;
  }
  .stepper-step-active .stepper-step-icon {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  .stepper-step-completed .stepper-step-icon {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-primary);
  }
  .stepper-step-error .stepper-step-icon {
    background-color: var(--color-error);
    border-color: var(--color-error);
    color: var(--color-on-error);
  }
  .stepper-step-disabled .stepper-step-icon {
    opacity: 0.6;
    cursor: not-allowed;
  }
  .stepper-step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
    text-align: center;
  }
  .stepper-step-active .stepper-step-label {
    color: var(--color-primary);
  }
  .stepper-step-error .stepper-step-label {
    color: var(--color-error);
  }
  .stepper-step-description {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    margin-top: 0.125rem;
    text-align: center;
  }
  .stepper-step-content {
    margin-top: 1.5rem;
    padding: 0 1rem;
    width: 100%;
  }
  .stepper-step-optional::after {
    content: '(Optional)';
    display: block;
    font-size: 0.6875rem;
    color: var(--color-on-surface-variant);
    margin-top: 0.125rem;
  }
  .stepper-vertical {
    flex-direction: column;
    align-items: flex-start;
  }
  .stepper-vertical .stepper-step {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }
  .stepper-vertical .stepper-step-connector {
    top: 2.5rem;
    left: 1.25rem;
    width: 2px;
    height: calc(100% - 2.5rem);
    transform: translateX(-50%);
  }
  .stepper-vertical .stepper-step-button {
    flex-direction: row;
    align-items: center;
  }
  .stepper-vertical .stepper-step-label, .stepper-vertical .stepper-step-description {
    text-align: left;
    margin-left: 1rem;
  }
  .stepper-vertical .stepper-step-content {
    margin-top: 0;
    margin-left: 3.5rem;
    padding: 1rem 0 1.5rem;
  }
  .stepper-secondary .stepper-step-active .stepper-step-icon, .stepper-secondary .stepper-step-completed .stepper-step-icon {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .stepper-secondary .stepper-step-completed .stepper-step-connector {
    background-color: var(--color-secondary);
  }
  .stepper-secondary .stepper-step-active .stepper-step-label {
    color: var(--color-secondary);
  }
  .stepper-tertiary .stepper-step-active .stepper-step-icon, .stepper-tertiary .stepper-step-completed .stepper-step-icon {
    background-color: var(--color-tertiary);
    border-color: var(--color-tertiary);
    color: var(--color-on-tertiary);
  }
  .stepper-tertiary .stepper-step-completed .stepper-step-connector {
    background-color: var(--color-tertiary);
  }
  .stepper-tertiary .stepper-step-active .stepper-step-label {
    color: var(--color-tertiary);
  }
  .stepper-sm .stepper-step-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
  .stepper-sm .stepper-step-connector {
    top: 1rem;
    left: calc(50% + 1rem);
    width: calc(100% - 2rem);
  }
  .stepper-sm .stepper-step-label {
    font-size: 0.75rem;
  }
  .stepper-sm .stepper-step-description {
    font-size: 0.625rem;
  }
  .stepper-lg .stepper-step-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }
  .stepper-lg .stepper-step-connector {
    top: 1.5rem;
    left: calc(50% + 1.5rem);
    width: calc(100% - 3rem);
  }
  .stepper-alt-labels .stepper-step-connector {
    top: 1.25rem;
    left: calc(50% + 2rem);
    width: calc(100% - 4rem);
  }
  .stepper-dots {
    gap: 0.5rem;
  }
  .stepper-dots .stepper-step-icon {
    width: 0.75rem;
    height: 0.75rem;
    font-size: 0;
    border-width: 0;
    background-color: var(--color-outline-variant);
  }
  .stepper-dots .stepper-step-active .stepper-step-icon {
    width: 1.5rem;
    border-radius: 9999px;
    background-color: var(--color-primary);
  }
  .stepper-dots .stepper-step-completed .stepper-step-icon {
    background-color: var(--color-primary);
  }
  .stepper-dots .stepper-step-connector {
    display: none;
  }
  .stepper-dots .stepper-step-label, .stepper-dots .stepper-step-description {
    display: none;
  }
  .stepper-clickable .stepper-step-button {
    cursor: pointer;
  }
  .stepper-clickable .stepper-step-button:hover .stepper-step-icon {
    border-color: var(--color-primary);
  }
  .stepper-clickable .stepper-step-completed .stepper-step-button:hover .stepper-step-icon {
    background-color: var(--color-primary-container);
  }
  .stepper-step-disabled .stepper-step-button {
    cursor: not-allowed;
    opacity: 0.6;
  }
  .stepper-icons .stepper-step-icon {
    font-size: 1.25rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .stepper-step-icon, .stepper-dots .stepper-step-icon {
      transition: none;
    }
  }
}
@layer components {
  .accordion {
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    overflow: hidden;
  }
  .accordion-item {
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    margin-top: -1px;
  }
  .accordion-item:first-child {
    margin-top: 0;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
  }
  .accordion-item:last-child {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }
  .accordion-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 150ms ease-in-out;
  }
  .accordion-header:hover {
    background-color: var(--color-surface-container);
  }
  .accordion-header:focus-visible {
    outline: none;
    background-color: var(--color-surface-container);
    box-shadow: inset 0 0 0 2px var(--color-primary);
  }
  .accordion-item.open .accordion-header {
    background-color: var(--color-surface-container);
  }
  .accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
    color: var(--color-on-surface-variant);
    flex-shrink: 0;
  }
  .accordion-title {
    flex: 1;
  }
  .accordion-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-on-surface-variant);
    margin-top: 0.125rem;
  }
  .accordion-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: auto;
    color: var(--color-on-surface-variant);
    transition: transform 200ms ease-in-out;
    flex-shrink: 0;
  }
  .accordion-item.open .accordion-expand {
    transform: rotate(180deg);
  }
  .accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 200ms ease-in-out;
  }
  .accordion-item.open .accordion-content {
    grid-template-rows: 1fr;
  }
  .accordion-body {
    overflow: hidden;
  }
  .accordion-body-inner {
    padding: 0 1rem 1rem;
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
    line-height: 1.5;
  }
  .accordion-borderless .accordion-item {
    border: none;
    border-bottom: 1px solid var(--color-outline-variant);
    border-radius: 0;
  }
  .accordion-borderless .accordion-item:last-child {
    border-bottom: none;
  }
  .accordion-separated .accordion-item {
    margin-top: 0.5rem;
    border-radius: 0.75rem;
  }
  .accordion-separated .accordion-item:first-child {
    margin-top: 0;
  }
  .accordion-filled .accordion-item {
    background-color: var(--color-surface-container);
    border: none;
  }
  .accordion-filled .accordion-header:hover, .accordion-filled .accordion-item.open .accordion-header {
    background-color: var(--color-surface-container-high);
  }
  .accordion-compact .accordion-header {
    padding: 0.75rem;
  }
  .accordion-compact .accordion-body-inner {
    padding: 0 0.75rem 0.75rem;
  }
  .accordion-lg .accordion-header {
    padding: 1.25rem;
    font-size: 1rem;
  }
  .accordion-lg .accordion-body-inner {
    padding: 0 1.25rem 1.25rem;
    font-size: 1rem;
  }
  .accordion-item.disabled .accordion-header {
    cursor: not-allowed;
    opacity: 0.6;
    background-color: transparent;
  }
  .accordion-item.disabled .accordion-header:hover {
    background-color: transparent;
  }
  .accordion-flush {
    border-radius: 0;
  }
  .accordion-flush .accordion-item:first-child, .accordion-flush .accordion-item:last-child {
    border-radius: 0;
  }
  .accordion-multiple .accordion-item.open + .accordion-item.open {
    border-top-color: transparent;
  }
  .accordion-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-surface-container);
    border-top: 1px solid var(--color-outline-variant);
  }
  .accordion-nested {
    margin: 0 -1rem;
    border-radius: 0;
  }
  .accordion-nested .accordion-item {
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
  .accordion-primary .accordion-item.open .accordion-header {
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
  }
  .accordion-primary .accordion-item.open .accordion-expand {
    color: var(--color-on-primary-container);
  }
  @media (prefers-reduced-motion: reduce) {
    .accordion-content, .accordion-expand, .accordion-header {
      transition: none;
    }
  }
}
@layer components {
  .bottomsheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background-color: rgb(0 0 0 / 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease-out, visibility 300ms ease-out;
  }
  .bottomsheet-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
  .bottomsheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    background-color: var(--color-surface);
    border-radius: 1.75rem 1.75rem 0 0;
    box-shadow: 0 -25px 50px -12px rgb(0 0 0 / 0.25);
    transform: translateY(100%);
    transition: transform 300ms ease-out;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .bottomsheet.show {
    transform: translateY(0);
  }
  .bottomsheet-handle {
    display: flex;
    justify-content: center;
    padding: 1rem;
    cursor: grab;
    touch-action: none;
  }
  .bottomsheet-handle::before {
    content: '';
    width: 2rem;
    height: 0.25rem;
    background-color: var(--color-outline-variant);
    border-radius: 9999px;
  }
  .bottomsheet-handle:active {
    cursor: grabbing;
  }
  .bottomsheet-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem 1rem;
    flex-shrink: 0;
  }
  .bottomsheet-title {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-on-surface);
  }
  .bottomsheet-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .bottomsheet-close:hover {
    background-color: var(--color-surface-container);
  }
  .bottomsheet-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .bottomsheet-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 1.5rem;
    overscroll-behavior: contain;
  }
  .bottomsheet-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-outline-variant);
    flex-shrink: 0;
  }
  .bottomsheet-list {
    display: flex;
    flex-direction: column;
    margin: 0 -1.5rem;
  }
  .bottomsheet-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: background-color 150ms ease-in-out;
  }
  .bottomsheet-item:hover {
    background-color: var(--color-surface-container);
  }
  .bottomsheet-item:focus-visible {
    outline: none;
    background-color: var(--color-surface-container);
    box-shadow: inset 0 0 0 2px var(--color-primary);
  }
  .bottomsheet-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-on-surface-variant);
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .bottomsheet-item-content {
    flex: 1;
    min-width: 0;
  }
  .bottomsheet-item-label {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bottomsheet-item-description {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    margin-top: 0.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bottomsheet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
  .bottomsheet-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    font-size: 0.75rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .bottomsheet-grid-item:hover {
    background-color: var(--color-surface-container);
  }
  .bottomsheet-grid-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    background-color: var(--color-surface-container-high);
    border-radius: 50%;
    color: var(--color-on-surface-variant);
  }
  .bottomsheet-sm {
    max-height: 50vh;
  }
  .bottomsheet-lg {
    max-height: 95vh;
  }
  .bottomsheet-full {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .bottomsheet-persistent {
    position: absolute;
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
  }
  .bottomsheet-peek {
    max-height: 30vh;
  }
  .bottomsheet-half {
    max-height: 50vh;
  }
  .bottomsheet-expanded {
    max-height: 90vh;
  }
  .bottomsheet-detents {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .bottomsheet-detent {
    width: 0.25rem;
    height: 1rem;
    background-color: var(--color-outline-variant);
    border-radius: 9999px;
    cursor: pointer;
  }
  .bottomsheet-detent.active {
    background-color: var(--color-primary);
  }
  .bottomsheet-divider {
    height: 1px;
    margin: 0.5rem 0;
    background-color: var(--color-outline-variant);
  }
  .bottomsheet-section-title {
    padding: 0.75rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-on-surface-variant);
  }
  @media (min-width: 768px) {
    .bottomsheet-responsive {
      left: auto;
      right: 0;
      top: 0;
      bottom: 0;
      width: 24rem;
      max-width: calc(100vw - 3.5rem);
      max-height: 100vh;
      border-radius: 1rem 0 0 1rem;
      transform: translateX(100%);
    }
    .bottomsheet-responsive.show {
      transform: translateX(0);
    }
    .bottomsheet-responsive .bottomsheet-handle {
      display: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .bottomsheet, .bottomsheet-backdrop, .bottomsheet-close, .bottomsheet-item, .bottomsheet-grid-item {
      transition: none;
    }
  }
}
@layer components {
  .collapse {
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    background-color: var(--color-surface);
    visibility: visible !important;
  }
  .collapse-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
    text-align: left;
  }
  .collapse-trigger:hover {
    background-color: var(--color-surface-container);
  }
  .collapse-trigger:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
  }
  .collapse-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 300ms ease-in-out;
    flex-shrink: 0;
  }
  .collapse-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease-in-out;
    overflow: hidden;
  }
  .collapse-content > * {
    overflow: hidden;
    padding: 0 1rem;
  }
  .collapse-open .collapse-content {
    grid-template-rows: 1fr;
  }
  .collapse-open .collapse-content > * {
    padding: 0 1rem 1rem;
  }
  .collapse-open .collapse-icon {
    transform: rotate(180deg);
  }
  .collapse-closed .collapse-content {
    grid-template-rows: 0fr;
  }
  .collapse.show .collapse-content {
    grid-template-rows: 1fr;
  }
  .collapse.show .collapse-content > * {
    padding: 0 1rem 1rem;
  }
  .collapse.show .collapse-icon {
    transform: rotate(180deg);
  }
  .collapse-fade {
    opacity: 0;
    transition: grid-template-rows 300ms ease-in-out, opacity 200ms ease-in-out;
  }
  .collapse-fade.show {
    opacity: 1;
    transition: grid-template-rows 300ms ease-in-out, opacity 300ms ease-in-out 100ms;
  }
  .collapse-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
    border-radius: 0.5rem;
  }
  .collapse-toggle:hover {
    background-color: var(--color-primary-container);
  }
  .collapse-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .collapse-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 200ms ease-in-out;
  }
  .collapse-toggle[aria-expanded="true"] .collapse-toggle-icon {
    transform: rotate(180deg);
  }
  .collapse-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .collapse-card .collapse-toggle, .collapse-card .collapse-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 0;
    color: var(--color-on-surface);
  }
  .collapse-card .collapse-toggle:hover, .collapse-card .collapse-trigger:hover {
    background-color: var(--color-surface-container);
  }
  .collapse-card .collapse-inner, .collapse-card .collapse-content > * {
    padding: 0 1rem 1rem;
    color: var(--color-on-surface-variant);
  }
  .collapse-bordered {
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.5rem;
  }
  .collapse-ghost {
    background-color: transparent;
  }
  .collapse-ghost .collapse-trigger:hover {
    background-color: var(--color-on-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-on-surface) 5%, transparent);
    }
  }
  .collapse-primary .collapse-trigger {
    color: var(--color-primary);
  }
  .collapse-primary .collapse-trigger:hover {
    background-color: var(--color-primary-container);
  }
  .collapse-secondary .collapse-trigger {
    color: var(--color-secondary);
  }
  .collapse-secondary .collapse-trigger:hover {
    background-color: var(--color-secondary-container);
  }
  .collapse-tertiary .collapse-trigger {
    color: var(--color-tertiary);
  }
  .collapse-tertiary .collapse-trigger:hover {
    background-color: var(--color-tertiary-container);
  }
  .collapse-sm .collapse-trigger {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  .collapse-sm .collapse-content > * {
    padding: 0 0.75rem;
  }
  .collapse-sm.collapse-open .collapse-content > * {
    padding: 0 0.75rem 0.75rem;
  }
  .collapse-lg .collapse-trigger {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
  }
  .collapse-lg .collapse-content > * {
    padding: 0 1.25rem;
  }
  .collapse-lg.collapse-open .collapse-content > * {
    padding: 0 1.25rem 1.25rem;
  }
  .collapse-divider .collapse-trigger {
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .collapse-divider.collapse-open .collapse-trigger {
    border-bottom-color: var(--color-outline-variant);
  }
  .collapse-disabled {
    opacity: 0.5;
    pointer-events: none;
  }
  .collapse-disabled .collapse-trigger {
    cursor: not-allowed;
  }
  .collapse-loading .collapse-trigger::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid var(--color-outline);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: collapse-spin 0.8s linear infinite;
  }
  @keyframes collapse-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .collapse-slide .collapse-content > * {
    transform: translateY(-0.5rem);
    opacity: 0;
    transition: transform 300ms ease-in-out, opacity 200ms ease-in-out;
  }
  .collapse-slide.collapse-open .collapse-content > * {
    transform: translateY(0);
    opacity: 1;
  }
  .collapse-horizontal {
    display: grid;
    grid-template-columns: 0fr;
    transition: grid-template-columns 300ms ease-in-out;
  }
  .collapse-horizontal.show {
    grid-template-columns: 1fr;
  }
  .collapse-horizontal .collapse-content {
    overflow: hidden;
    white-space: nowrap;
  }
  .collapse-horizontal-fixed {
    display: block;
    width: 0;
    overflow: hidden;
    transition: width 300ms ease-in-out;
  }
  .collapse-horizontal-fixed.show {
    width: var(--collapse-width, 20rem);
  }
  .collapse-nested {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-outline-variant);
  }
  .collapse-showmore {
    position: relative;
  }
  .collapse-showmore:not(.show)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background: linear-gradient(to bottom, transparent, var(--color-surface));
    pointer-events: none;
  }
  .collapse-showmore-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
    background-color: transparent;
    border: none;
    cursor: pointer;
  }
  .collapse-showmore-toggle:hover {
    text-decoration: underline;
  }
  .collapse-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .collapse-fast {
    transition-duration: 150ms;
  }
  .collapse-slow {
    transition-duration: 500ms;
  }
  .collapse-ease-in {
    transition-timing-function: ease-in;
  }
  .collapse-ease-out {
    transition-timing-function: ease-out;
  }
  .collapse-ease-in-out {
    transition-timing-function: ease-in-out;
  }
  .collapse-spring {
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .collapse-hidden {
    display: none;
  }
  .collapse-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .collapse-maxheight {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease-in-out;
  }
  .collapse-maxheight.show {
    max-height: var(--collapse-max-height, 100rem);
  }
  .collapse-animating {
    overflow: hidden;
    transition: height 300ms ease-in-out;
  }
  @media (prefers-reduced-motion: reduce) {
    .collapse, .collapse-content, .collapse-icon, .collapse-fade, .collapse-horizontal, .collapse-horizontal-fixed, .collapse-toggle-icon, .collapse-maxheight, .collapse-animating, .collapse-slide .collapse-content > * {
      transition: none;
    }
    .collapse-loading .collapse-trigger::after {
      animation: none;
    }
  }
}
@layer components {
  .popover:not([popover]) {
    position: relative;
    display: inline-block;
  }
  .popover-content {
    position: absolute;
    z-index: 1050;
    min-width: 12rem;
    max-width: 20rem;
    padding: 1rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transform-origin: center;
    transition: opacity 150ms ease-out, visibility 150ms ease-out, transform 150ms ease-out;
  }
  .popover.show .popover-content, .popover-content.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  .popover.popover-show, .popover.show {
    opacity: 1;
    visibility: visible;
  }
  .popover[class*="popover-top"], .popover[class*="popover-bottom"], .popover[class*="popover-left"], .popover[class*="popover-right"] {
    position: absolute;
    z-index: 1050;
    min-width: 12rem;
    max-width: 20rem;
    padding: 1rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms ease-out, visibility 150ms ease-out;
  }
  .popover[class*="popover-top"].popover-show, .popover[class*="popover-bottom"].popover-show, .popover[class*="popover-left"].popover-show, .popover[class*="popover-right"].popover-show {
    opacity: 1;
    visibility: visible;
  }
  .popover.popover-top:not(:has(.popover-content)) {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.75rem;
  }
  .popover.popover-bottom:not(:has(.popover-content)) {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.75rem;
  }
  .popover.popover-left:not(:has(.popover-content)) {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0.75rem;
  }
  .popover.popover-right:not(:has(.popover-content)) {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0.75rem;
  }
  .popover-arrow {
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    transform: rotate(45deg);
  }
  .popover-top .popover-content, .popover .popover-content {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    margin-bottom: 0.75rem;
  }
  .popover-top.show .popover-content, .popover.show .popover-content {
    transform: translateX(-50%) scale(1);
  }
  .popover-top .popover-arrow, .popover .popover-arrow {
    bottom: -0.375rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-top: none;
    border-left: none;
  }
  .popover-bottom .popover-content {
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    margin-top: 0.75rem;
  }
  .popover-bottom.show .popover-content {
    transform: translateX(-50%) scale(1);
  }
  .popover-bottom .popover-arrow {
    top: -0.375rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-bottom: none;
    border-right: none;
  }
  .popover-left .popover-content {
    right: 100%;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    margin-right: 0.75rem;
  }
  .popover-left.show .popover-content {
    transform: translateY(-50%) scale(1);
  }
  .popover-left .popover-arrow {
    right: -0.375rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-left: none;
    border-bottom: none;
  }
  .popover-right .popover-content {
    left: 100%;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    margin-left: 0.75rem;
  }
  .popover-right.show .popover-content {
    transform: translateY(-50%) scale(1);
  }
  .popover-right .popover-arrow {
    left: -0.375rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-right: none;
    border-top: none;
  }
  .popover-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .popover-title {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-on-surface);
  }
  .popover-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-on-surface-variant);
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
  }
  .popover-close:hover {
    background-color: var(--color-surface-container);
  }
  .popover-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .popover-body {
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
    line-height: 1.5;
  }
  .popover-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--color-outline-variant);
  }
  .popover-no-arrow .popover-arrow {
    display: none;
  }
  .popover-sm .popover-content {
    min-width: 8rem;
    max-width: 14rem;
    padding: 0.75rem;
  }
  .popover-lg .popover-content {
    min-width: 16rem;
    max-width: 28rem;
    padding: 1.25rem;
  }
  .popover-full .popover-content {
    min-width: 0;
    max-width: none;
    width: max-content;
  }
  .popover {
    --popover-color-intensity: 30%;
  }
  .popover-dark .popover-content {
    background-color: var(--color-on-surface);
    color: var(--color-surface);
    border-color: transparent;
  }
  .popover-dark[class*="popover-top"], .popover-dark[class*="popover-bottom"], .popover-dark[class*="popover-left"], .popover-dark[class*="popover-right"] {
    background-color: var(--color-on-surface);
    color: var(--color-surface);
    border-color: transparent;
  }
  .popover-dark .popover-arrow {
    background-color: var(--color-on-surface);
    border-color: transparent;
  }
  .popover-dark .popover-title {
    color: var(--color-surface);
  }
  .popover-dark .popover-body {
    color: var(--color-surface);
    opacity: 0.9;
  }
  .popover-primary .popover-content {
    background-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-primary);
  }
  .popover-primary[class*="popover-top"], .popover-primary[class*="popover-bottom"], .popover-primary[class*="popover-left"], .popover-primary[class*="popover-right"] {
    background-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-primary);
  }
  .popover-primary .popover-arrow {
    background-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-primary);
  }
  .popover-primary .popover-body {
    color: var(--color-on-surface);
  }
  .popover-primary .popover-title {
    color: var(--color-on-surface);
  }
  .popover-secondary .popover-content {
    background-color: var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-secondary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-secondary);
  }
  .popover-secondary[class*="popover-top"], .popover-secondary[class*="popover-bottom"], .popover-secondary[class*="popover-left"], .popover-secondary[class*="popover-right"] {
    background-color: var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-secondary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-secondary);
  }
  .popover-secondary .popover-arrow {
    background-color: var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-secondary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-secondary);
  }
  .popover-secondary .popover-body {
    color: var(--color-on-surface);
  }
  .popover-secondary .popover-title {
    color: var(--color-on-surface);
  }
  .popover-tertiary .popover-content {
    background-color: var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-tertiary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-tertiary);
  }
  .popover-tertiary[class*="popover-top"], .popover-tertiary[class*="popover-bottom"], .popover-tertiary[class*="popover-left"], .popover-tertiary[class*="popover-right"] {
    background-color: var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-tertiary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-tertiary);
  }
  .popover-tertiary .popover-arrow {
    background-color: var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-tertiary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-tertiary);
  }
  .popover-tertiary .popover-body {
    color: var(--color-on-surface);
  }
  .popover-tertiary .popover-title {
    color: var(--color-on-surface);
  }
  .popover-surface-highest .popover-content {
    background-color: var(--color-surface-container-highest);
    border-color: var(--color-outline-variant);
  }
  .popover-surface-highest[class*="popover-top"], .popover-surface-highest[class*="popover-bottom"], .popover-surface-highest[class*="popover-left"], .popover-surface-highest[class*="popover-right"] {
    background-color: var(--color-surface-container-highest);
    border-color: var(--color-outline-variant);
  }
  .popover-surface-highest .popover-arrow {
    background-color: var(--color-surface-container-highest);
    border-color: var(--color-outline-variant);
  }
  .popover-hover:hover .popover-content, .popover-hover:focus-within .popover-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
  }
  .popover-hover.popover-bottom:hover .popover-content, .popover-hover.popover-bottom:focus-within .popover-content {
    transform: translateX(-50%) scale(1);
  }
  .popover-hover.popover-left:hover .popover-content, .popover-hover.popover-left:focus-within .popover-content, .popover-hover.popover-right:hover .popover-content, .popover-hover.popover-right:focus-within .popover-content {
    transform: translateY(-50%) scale(1);
  }
  .popover-menu .popover-content {
    padding: 0.5rem;
  }
  .popover-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-on-surface);
    background-color: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 150ms ease-in-out;
  }
  .popover-menu-item:hover {
    background-color: var(--color-surface-container);
  }
  .popover-menu-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
  }
  .popover-menu-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-on-surface-variant);
  }
  .popover-menu-divider {
    height: 1px;
    margin: 0.5rem 0;
    background-color: var(--color-outline-variant);
  }
  .popover-confirm .popover-content {
    text-align: center;
  }
  .popover-confirm .popover-footer {
    justify-content: center;
  }
  .popover[popover] {
    position: fixed;
    inset: unset;
    z-index: 1050;
    min-width: 12rem;
    max-width: 20rem;
    padding: 1rem;
    margin: 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 150ms ease-out, transform 150ms ease-out, overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete;
  }
  .popover[popover]:popover-open {
    opacity: 1;
    transform: scale(1);
  }
  @starting-style {
    .popover[popover]:popover-open {
      opacity: 0;
      transform: scale(0.95);
    }
  }
  .popover[popover]::backdrop {
    background-color: rgb(0 0 0 / 0);
    transition: background-color 150ms ease-out, overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete;
  }
  .popover[popover]:popover-open::backdrop {
    background-color: rgb(0 0 0 / 0.1);
  }
  @starting-style {
    .popover[popover]:popover-open::backdrop {
      background-color: rgb(0 0 0 / 0);
    }
  }
  .popover-modal[popover]::backdrop {
    background-color: rgb(0 0 0 / 0);
    transition: background-color 150ms ease-out, overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete;
  }
  .popover-modal[popover]:popover-open::backdrop {
    background-color: rgb(0 0 0 / 0.3);
  }
  @starting-style {
    .popover-modal[popover]:popover-open::backdrop {
      background-color: rgb(0 0 0 / 0);
    }
  }
  .popover-primary[popover] {
    background-color: var(--color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-primary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-primary);
  }
  .popover-primary[popover] .popover-body {
    color: var(--color-on-surface);
  }
  .popover-primary[popover] .popover-title {
    color: var(--color-on-surface);
  }
  .popover-secondary[popover] {
    background-color: var(--color-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-secondary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-secondary);
  }
  .popover-secondary[popover] .popover-body {
    color: var(--color-on-surface);
  }
  .popover-secondary[popover] .popover-title {
    color: var(--color-on-surface);
  }
  .popover-tertiary[popover] {
    background-color: var(--color-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklch, var(--color-tertiary) var(--popover-color-intensity), var(--color-surface));
    }
    border-color: var(--color-tertiary);
  }
  .popover-tertiary[popover] .popover-body {
    color: var(--color-on-surface);
  }
  .popover-tertiary[popover] .popover-title {
    color: var(--color-on-surface);
  }
  .popover-dark[popover] {
    background-color: var(--color-on-surface);
    border-color: transparent;
  }
  .popover-dark[popover] .popover-body {
    color: var(--color-surface);
    opacity: 0.9;
  }
  .popover-dark[popover] .popover-title {
    color: var(--color-surface);
  }
  .popover-surface-highest[popover] {
    background-color: var(--color-surface-container-highest);
    border-color: var(--color-outline-variant);
  }
  .popover-sm[popover] {
    min-width: 8rem;
    max-width: 14rem;
    padding: 0.75rem;
  }
  .popover-lg[popover] {
    min-width: 16rem;
    max-width: 28rem;
    padding: 1.25rem;
  }
  .popover-full[popover] {
    min-width: 0;
    max-width: none;
    width: max-content;
  }
  .popover[popover][style*="position-anchor"] {
    inset: unset;
    top: anchor(bottom);
    justify-self: anchor-center;
    margin-top: 0.5rem;
  }
  .popover-top[popover][style*="position-anchor"] {
    top: unset;
    bottom: anchor(top);
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
  .popover-bottom[popover][style*="position-anchor"] {
    top: anchor(bottom);
    margin-top: 0.5rem;
    margin-bottom: 0;
  }
  .popover-left[popover][style*="position-anchor"] {
    top: anchor(center);
    right: anchor(left);
    justify-self: unset;
    translate: 0 -50%;
    margin-top: 0;
    margin-right: 0.5rem;
  }
  .popover-right[popover][style*="position-anchor"] {
    top: anchor(center);
    left: anchor(right);
    justify-self: unset;
    translate: 0 -50%;
    margin-top: 0;
    margin-left: 0.5rem;
  }
  .popover-start[popover][style*="position-anchor"] {
    justify-self: start;
  }
  .popover-end[popover][style*="position-anchor"] {
    justify-self: end;
  }
  .popover-top.popover-start[popover][style*="position-anchor"] {
    justify-self: start;
  }
  .popover-top.popover-end[popover][style*="position-anchor"] {
    justify-self: end;
  }
  @media (prefers-reduced-motion: reduce) {
    .popover-content, .popover-close, .popover-menu-item, .popover[popover], .popover[popover]::backdrop {
      transition: none;
    }
  }
}
@layer components {
  .timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.25rem;
    width: 2px;
    height: 100%;
    background-color: var(--color-outline-variant);
  }
  .timeline-item {
    position: relative;
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }
  .timeline-item:last-child {
    padding-bottom: 0;
  }
  .timeline-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-surface);
    border: 2px solid var(--color-outline-variant);
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
  }
  .timeline-marker-icon {
    font-size: 1rem;
    color: var(--color-on-surface-variant);
  }
  .timeline-marker-dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--color-outline-variant);
    border-radius: 50%;
  }
  .timeline-content {
    flex: 1;
    padding-top: 0.375rem;
    min-width: 0;
  }
  .timeline-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-on-surface);
    margin-bottom: 0.25rem;
  }
  .timeline-time {
    font-size: 0.75rem;
    color: var(--color-on-surface-variant);
    margin-bottom: 0.5rem;
  }
  .timeline-description {
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
    line-height: 1.5;
  }
  .timeline-card {
    padding: 1rem;
    background-color: var(--color-surface-container);
    border-radius: 0.75rem;
    margin-top: 0.5rem;
  }
  .timeline-item-primary .timeline-marker {
    border-color: var(--color-primary);
    background-color: var(--color-primary-container);
  }
  .timeline-item-primary .timeline-marker-icon, .timeline-item-primary .timeline-marker-dot {
    color: var(--color-on-primary-container);
    background-color: var(--color-primary);
  }
  .timeline-item-secondary .timeline-marker {
    border-color: var(--color-secondary);
    background-color: var(--color-secondary-container);
  }
  .timeline-item-success .timeline-marker {
    border-color: var(--color-success);
    background-color: var(--color-success-container);
  }
  .timeline-item-success .timeline-marker-dot {
    background-color: var(--color-success);
  }
  .timeline-item-warning .timeline-marker {
    border-color: var(--color-warning);
    background-color: var(--color-warning-container);
  }
  .timeline-item-warning .timeline-marker-dot {
    background-color: var(--color-warning);
  }
  .timeline-item-error .timeline-marker {
    border-color: var(--color-error);
    background-color: var(--color-error-container);
  }
  .timeline-item-error .timeline-marker-dot {
    background-color: var(--color-error);
  }
  .timeline-item.completed .timeline-marker {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
  }
  .timeline-item.completed .timeline-marker-icon {
    color: var(--color-on-primary);
  }
  .timeline-item.active .timeline-marker {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-container);
  }
  .timeline-item.active .timeline-marker-icon, .timeline-item.active .timeline-marker-dot {
    color: var(--color-on-primary);
    background-color: var(--color-on-primary);
  }
  .timeline-sm::before {
    left: 0.75rem;
  }
  .timeline-sm .timeline-marker {
    width: 1.5rem;
    height: 1.5rem;
  }
  .timeline-sm .timeline-marker-icon {
    font-size: 0.75rem;
  }
  .timeline-sm .timeline-marker-dot {
    width: 0.5rem;
    height: 0.5rem;
  }
  .timeline-lg::before {
    left: 1.5rem;
  }
  .timeline-lg .timeline-marker {
    width: 3rem;
    height: 3rem;
  }
  .timeline-lg .timeline-marker-icon {
    font-size: 1.25rem;
  }
  .timeline-alternate {
    padding-left: 0;
  }
  .timeline-alternate::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-alternate .timeline-item {
    width: 50%;
    padding-right: 2rem;
  }
  .timeline-alternate .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 2rem;
    flex-direction: row-reverse;
  }
  .timeline-alternate .timeline-item:nth-child(even) .timeline-content {
    text-align: right;
  }
  .timeline-alternate .timeline-marker {
    position: absolute;
    left: 100%;
    transform: translateX(-50%);
  }
  .timeline-alternate .timeline-item:nth-child(even) .timeline-marker {
    left: 0;
    transform: translateX(-50%);
  }
  .timeline-right {
    align-items: flex-end;
  }
  .timeline-right::before {
    left: auto;
    right: 1.25rem;
  }
  .timeline-right .timeline-item {
    flex-direction: row-reverse;
  }
  .timeline-right .timeline-content {
    text-align: right;
  }
  .timeline-horizontal {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .timeline-horizontal::before {
    top: 1.25rem;
    left: 0;
    width: 100%;
    height: 2px;
  }
  .timeline-horizontal .timeline-item {
    flex-direction: column;
    padding-bottom: 0;
    padding-right: 2rem;
    min-width: 10rem;
  }
  .timeline-horizontal .timeline-item:last-child {
    padding-right: 0;
  }
  .timeline-horizontal .timeline-content {
    padding-top: 1rem;
    text-align: center;
  }
  .timeline-collapsible .timeline-item {
    cursor: pointer;
  }
  .timeline-collapsible .timeline-description {
    display: none;
  }
  .timeline-collapsible .timeline-item.expanded .timeline-description {
    display: block;
  }
  .timeline-item.loading .timeline-marker {
    animation: timeline-pulse 1.5s ease-in-out infinite;
  }
  @keyframes timeline-pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }
  .timeline-progress::before {
    background: linear-gradient( to bottom, var(--color-primary) var(--timeline-progress, 0%), var(--color-outline-variant) var(--timeline-progress, 0%) );
  }
  @media (max-width: 640px) {
    .timeline-alternate::before {
      left: 1.25rem;
      transform: none;
    }
    .timeline-alternate .timeline-item, .timeline-alternate .timeline-item:nth-child(even) {
      width: 100%;
      margin-left: 0;
      padding-left: 0;
      padding-right: 0;
      flex-direction: row;
    }
    .timeline-alternate .timeline-item:nth-child(even) .timeline-content {
      text-align: left;
    }
    .timeline-alternate .timeline-marker, .timeline-alternate .timeline-item:nth-child(even) .timeline-marker {
      position: relative;
      left: 0;
      transform: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .timeline-item.loading .timeline-marker {
      animation: none;
    }
  }
}
@layer components {
  .markdown-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
    color: var(--color-on-surface);
  }
  .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
    margin-block-start: 1.5rem;
    margin-block-end: 1rem;
    font-weight: 600;
    line-height: 1.25;
  }
  .markdown-body h1 {
    font-size: 2em;
    padding-block-end: 0.3em;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .markdown-body h2 {
    font-size: 1.5em;
    padding-block-end: 0.3em;
    border-bottom: 1px solid var(--color-outline-variant);
  }
  .markdown-body h3 {
    font-size: 1.25em;
  }
  .markdown-body h4 {
    font-size: 1em;
  }
  .markdown-body h5 {
    font-size: 0.875em;
  }
  .markdown-body h6 {
    font-size: 0.85em;
    color: var(--color-on-surface-variant);
  }
  .markdown-body p {
    margin-block-end: 1rem;
  }
  .markdown-body a {
    color: var(--color-primary);
    text-decoration: none;
  }
  .markdown-body a:hover {
    text-decoration: underline;
  }
  .markdown-body a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .markdown-body strong, .markdown-body b {
    font-weight: 600;
  }
  .markdown-body em, .markdown-body i {
    font-style: italic;
  }
  .markdown-body ul, .markdown-body ol {
    margin-block-end: 1rem;
    padding-inline-start: 2em;
  }
  .markdown-body ul {
    list-style-type: disc;
  }
  .markdown-body ol {
    list-style-type: decimal;
  }
  .markdown-body li {
    margin-block-end: 0.25rem;
  }
  .markdown-body li > ul, .markdown-body li > ol {
    margin-block-start: 0.25rem;
    margin-block-end: 0;
  }
  .markdown-body ul ul {
    list-style-type: circle;
  }
  .markdown-body ul ul ul {
    list-style-type: square;
  }
  .markdown-body ol ol {
    list-style-type: lower-alpha;
  }
  .markdown-body ol ol ol {
    list-style-type: lower-roman;
  }
  .markdown-body small {
    font-size: 0.875em;
  }
  .markdown-body sub, .markdown-body sup {
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  .markdown-body sub {
    bottom: -0.25em;
  }
  .markdown-body sup {
    top: -0.5em;
  }
  .markdown-body del, .markdown-body s {
    text-decoration: line-through;
    color: var(--color-on-surface-variant);
  }
  .markdown-body code {
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
    font-size: 0.85em;
    padding-block: 0.2em;
    padding-inline: 0.4em;
    background-color: var(--color-surface-container-high);
    border-radius: 6px;
  }
  .markdown-body pre {
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
    font-size: 0.85em;
    line-height: 1.45;
    padding: 1rem;
    margin-block-end: 1rem;
    overflow-x: auto;
    background-color: var(--color-surface-container);
    border-radius: 6px;
  }
  .markdown-body pre > code {
    font-size: inherit;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
  }
  .markdown-body kbd {
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
    font-size: 0.85em;
    padding-block: 0.2em;
    padding-inline: 0.4em;
    background-color: var(--color-surface-container);
    border: 1px solid var(--color-outline-variant);
    border-radius: 6px;
    box-shadow: inset 0 -1px 0 var(--color-outline-variant);
  }
  .markdown-body samp {
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
    font-size: 0.85em;
  }
  .markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin-block-end: 1rem;
    overflow-x: auto;
    display: block;
  }
  .markdown-body th {
    font-weight: 600;
    background-color: var(--color-surface-container);
  }
  .markdown-body th, .markdown-body td {
    padding-block: 0.5rem;
    padding-inline: 0.75rem;
    border: 1px solid var(--color-outline-variant);
    text-align: start;
  }
  .markdown-body tr:nth-child(2n) {
    background-color: var(--color-surface-container);
  }
  .markdown-body blockquote {
    margin-block-end: 1rem;
    margin-inline: 0;
    padding-inline-start: 1em;
    border-inline-start: 0.25em solid var(--color-outline-variant);
    color: var(--color-on-surface-variant);
  }
  .markdown-body blockquote > :first-child {
    margin-block-start: 0;
  }
  .markdown-body blockquote > :last-child {
    margin-block-end: 0;
  }
  .markdown-body blockquote blockquote {
    margin-block-start: 1rem;
  }
  .markdown-body img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  .markdown-body figure {
    margin-block-end: 1rem;
    margin-inline: 0;
  }
  .markdown-body figcaption {
    font-size: 0.875em;
    color: var(--color-on-surface-variant);
    margin-block-start: 0.5rem;
    text-align: center;
  }
  .markdown-body img[align="left"] {
    margin-inline-end: 1rem;
    margin-block-end: 0.5rem;
  }
  .markdown-body img[align="right"] {
    margin-inline-start: 1rem;
    margin-block-end: 0.5rem;
  }
  .markdown-body .task-list-item {
    list-style-type: none;
  }
  .markdown-body .task-list-item input[type="checkbox"] {
    margin-inline-start: -1.5em;
    margin-inline-end: 0.5em;
    vertical-align: middle;
  }
  .markdown-body hr {
    height: 0.25em;
    margin-block: 1.5rem;
    padding: 0;
    background-color: var(--color-outline-variant);
    border: 0;
  }
  .markdown-body dl {
    margin-block-end: 1rem;
  }
  .markdown-body dt {
    font-weight: 600;
    margin-block-start: 1rem;
  }
  .markdown-body dt:first-child {
    margin-block-start: 0;
  }
  .markdown-body dd {
    margin-block-start: 0.25rem;
    margin-inline-start: 0;
    padding-inline-start: 1rem;
  }
  .markdown-body abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
    border-bottom: none;
  }
  .markdown-body mark {
    background-color: var(--color-tertiary-container);
    color: var(--color-on-tertiary-container);
    padding-block: 0.1em;
    padding-inline: 0.2em;
    border-radius: 2px;
  }
  .markdown-body details {
    margin-block-end: 1rem;
  }
  .markdown-body summary {
    font-weight: 600;
    cursor: pointer;
  }
  .markdown-body details[open] > summary {
    margin-block-end: 0.5rem;
  }
  .markdown-body > :first-child {
    margin-block-start: 0;
  }
  .markdown-body > :last-child {
    margin-block-end: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .markdown-body * {
      transition: none;
    }
  }
}
el-dm-accordion, el-dm-alert, el-dm-autocomplete, el-dm-badge, el-dm-bottom-navigation, el-dm-bottom-sheet, el-dm-breadcrumbs, el-dm-button, el-dm-card, el-dm-chip, el-dm-datepicker, el-dm-dialog, el-dm-drawer, el-dm-file-upload, el-dm-form, el-dm-input, el-dm-markdown, el-dm-menu, el-dm-navbar, el-dm-pagination, el-dm-popover, el-dm-progress, el-dm-slider, el-dm-stepper, el-dm-switch, el-dm-table, el-dm-tabs, el-dm-tooltip {
  --color-primary: inherit;
  --color-primary-content: inherit;
  --color-on-primary: inherit;
  --color-primary-container: inherit;
  --color-on-primary-container: inherit;
  --color-secondary: inherit;
  --color-secondary-content: inherit;
  --color-on-secondary: inherit;
  --color-secondary-container: inherit;
  --color-on-secondary-container: inherit;
  --color-tertiary: inherit;
  --color-tertiary-content: inherit;
  --color-on-tertiary: inherit;
  --color-tertiary-container: inherit;
  --color-on-tertiary-container: inherit;
  --color-surface: inherit;
  --color-surface-dim: inherit;
  --color-surface-bright: inherit;
  --color-surface-variant: inherit;
  --color-surface-container-lowest: inherit;
  --color-surface-container-low: inherit;
  --color-surface-container: inherit;
  --color-surface-container-high: inherit;
  --color-surface-container-highest: inherit;
  --color-on-surface: inherit;
  --color-on-surface-variant: inherit;
  --color-inverse-surface: inherit;
  --color-inverse-on-surface: inherit;
  --color-inverse-primary: inherit;
  --color-info: inherit;
  --color-info-content: inherit;
  --color-on-info: inherit;
  --color-info-container: inherit;
  --color-on-info-container: inherit;
  --color-success: inherit;
  --color-success-content: inherit;
  --color-on-success: inherit;
  --color-success-container: inherit;
  --color-on-success-container: inherit;
  --color-warning: inherit;
  --color-warning-content: inherit;
  --color-on-warning: inherit;
  --color-warning-container: inherit;
  --color-on-warning-container: inherit;
  --color-error: inherit;
  --color-error-content: inherit;
  --color-on-error: inherit;
  --color-error-container: inherit;
  --color-on-error-container: inherit;
  --color-accent: inherit;
  --color-accent-content: inherit;
  --color-neutral: inherit;
  --color-neutral-content: inherit;
  --color-outline: inherit;
  --color-outline-variant: inherit;
  --color-shadow: inherit;
  --color-scrim: inherit;
  --font-family: inherit;
  --font-size-xs: inherit;
  --font-size-sm: inherit;
  --font-size-md: inherit;
  --font-size-lg: inherit;
  --font-size-xl: inherit;
  --font-weight-normal: inherit;
  --font-weight-medium: inherit;
  --font-weight-semibold: inherit;
  --font-weight-bold: inherit;
  --radius-sm: inherit;
  --radius-md: inherit;
  --radius-lg: inherit;
  --radius-xl: inherit;
  --radius-full: inherit;
  --shadow-sm: inherit;
  --shadow-md: inherit;
  --shadow-lg: inherit;
  --spacing-xs: inherit;
  --spacing-sm: inherit;
  --spacing-md: inherit;
  --spacing-lg: inherit;
  --spacing-xl: inherit;
  --transition-fast: inherit;
  --transition-normal: inherit;
  --transition-slow: inherit;
  --focus-ring: inherit;
  --focus-ring-offset: inherit;
}
el-dm-table {
  --dm-color-primary: var(--color-primary);
  --dm-color-primary-container: var(--color-primary-container);
  --dm-color-surface: var(--color-surface);
  --dm-color-surface-container: var(--color-surface-container);
  --dm-color-surface-variant: var(--color-surface-variant);
  --dm-color-on-surface: var(--color-on-surface);
  --dm-color-on-surface-variant: var(--color-on-surface-variant);
  --dm-color-outline: var(--color-outline);
  --dm-color-outline-variant: var(--color-outline-variant);
  --dm-radius-sm: var(--radius-sm);
  --dm-radius-md: var(--radius-md);
}
el-dm-pagination {
  --color-border: var(--color-outline-variant);
  --color-border-hover: var(--color-outline);
  --color-surface-hover: var(--color-surface-container);
  --color-text: var(--color-on-surface);
  --color-text-muted: var(--color-on-surface-variant);
  --color-primary-contrast: var(--color-on-primary);
  --color-secondary-contrast: var(--color-on-secondary);
  --color-neutral-contrast: var(--color-neutral-content);
}
el-dm-bottom-navigation {
  --color-border: var(--color-outline-variant);
  --color-text-secondary: var(--color-on-surface-variant);
}
el-dm-popover[placement^="left"]::part(arrow) {
  border-top: 1px solid var(--color-outline) !important;
  border-right: 1px solid var(--color-outline) !important;
  border-bottom: none !important;
  border-left: none !important;
}
el-dm-popover[placement^="right"]::part(arrow) {
  border-bottom: 1px solid var(--color-outline) !important;
  border-left: 1px solid var(--color-outline) !important;
  border-top: none !important;
  border-right: none !important;
}
@layer components {
  .btn-noise {
    position: relative;
    width: 287px;
    height: 36px;
    background: none;
    font-family: "Josefin Sans", sans-serif;
    font-size: 24px;
    cursor: pointer;
    border: none;
    --sy: 0;
    --aps: paused;
    --op: 1;
    &::after {
      content: attr(data-content);
      opacity: var(--op, 1);
      transition: opacity 0.4s;
    }
    & > span > i {
      position: absolute;
      left: var(--left, 0);
      top: 50%;
      width: 3px;
      height: 72px;
      transform: translateY(-50%) scaleY(var(--sy, 0));
      transition: transform var(--duration) ease-out;
      &::after {
        content: " ";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(#fff, hsl(var(--hue, 0), 75%, 75%));
        border-radius: 50%;
        animation: btn-noise var(--duration) infinite ease-in-out alternate;
        animation-play-state: var(--aps, paused);
      }
      &:nth-child(1) {
        --left: 0px;
        --duration: 387ms;
        --size: 0.053;
        --hue: 0;
      }
      &:nth-child(2) {
        --left: 4px;
        --duration: 320ms;
        --size: 0.857;
        --hue: 5;
      }
      &:nth-child(3) {
        --left: 8px;
        --duration: 231ms;
        --size: 0.183;
        --hue: 10;
      }
      &:nth-child(4) {
        --left: 12px;
        --duration: 231ms;
        --size: 0.699;
        --hue: 15;
      }
      &:nth-child(5) {
        --left: 16px;
        --duration: 397ms;
        --size: 0.634;
        --hue: 20;
      }
      &:nth-child(6) {
        --left: 20px;
        --duration: 315ms;
        --size: 0.152;
        --hue: 25;
      }
      &:nth-child(7) {
        --left: 24px;
        --duration: 360ms;
        --size: 0.552;
        --hue: 30;
      }
      &:nth-child(8) {
        --left: 28px;
        --duration: 379ms;
        --size: 0.02;
        --hue: 35;
      }
      &:nth-child(9) {
        --left: 32px;
        --duration: 337ms;
        --size: 0.039;
        --hue: 40;
      }
      &:nth-child(10) {
        --left: 36px;
        --duration: 267ms;
        --size: 0.531;
        --hue: 45;
      }
      &:nth-child(11) {
        --left: 40px;
        --duration: 385ms;
        --size: 0.199;
        --hue: 50;
      }
      &:nth-child(12) {
        --left: 44px;
        --duration: 268ms;
        --size: 0.863;
        --hue: 55;
      }
      &:nth-child(13) {
        --left: 48px;
        --duration: 370ms;
        --size: 0.334;
        --hue: 60;
      }
      &:nth-child(14) {
        --left: 52px;
        --duration: 266ms;
        --size: 0.951;
        --hue: 65;
      }
      &:nth-child(15) {
        --left: 56px;
        --duration: 340ms;
        --size: 0.841;
        --hue: 70;
      }
      &:nth-child(16) {
        --left: 60px;
        --duration: 255ms;
        --size: 0.388;
        --hue: 75;
      }
      &:nth-child(17) {
        --left: 64px;
        --duration: 222ms;
        --size: 0.184;
        --hue: 80;
      }
      &:nth-child(18) {
        --left: 68px;
        --duration: 390ms;
        --size: 0.383;
        --hue: 85;
      }
      &:nth-child(19) {
        --left: 72px;
        --duration: 370ms;
        --size: 0.974;
        --hue: 90;
      }
      &:nth-child(20) {
        --left: 76px;
        --duration: 285ms;
        --size: 0.478;
        --hue: 95;
      }
      &:nth-child(21) {
        --left: 80px;
        --duration: 252ms;
        --size: 0.402;
        --hue: 100;
      }
      &:nth-child(22) {
        --left: 84px;
        --duration: 298ms;
        --size: 0.567;
        --hue: 105;
      }
      &:nth-child(23) {
        --left: 88px;
        --duration: 389ms;
        --size: 0.926;
        --hue: 110;
      }
      &:nth-child(24) {
        --left: 92px;
        --duration: 368ms;
        --size: 0.137;
        --hue: 115;
      }
      &:nth-child(25) {
        --left: 96px;
        --duration: 219ms;
        --size: 0.111;
        --hue: 120;
      }
      &:nth-child(26) {
        --left: 100px;
        --duration: 344ms;
        --size: 0.12;
        --hue: 125;
      }
      &:nth-child(27) {
        --left: 104px;
        --duration: 329ms;
        --size: 0.368;
        --hue: 130;
      }
      &:nth-child(28) {
        --left: 108px;
        --duration: 241ms;
        --size: 0.316;
        --hue: 135;
      }
      &:nth-child(29) {
        --left: 112px;
        --duration: 393ms;
        --size: 0.463;
        --hue: 140;
      }
      &:nth-child(30) {
        --left: 116px;
        --duration: 304ms;
        --size: 0.372;
        --hue: 145;
      }
      &:nth-child(31) {
        --left: 120px;
        --duration: 300ms;
        --size: 0.39;
        --hue: 150;
      }
      &:nth-child(32) {
        --left: 124px;
        --duration: 366ms;
        --size: 0.785;
        --hue: 155;
      }
      &:nth-child(33) {
        --left: 128px;
        --duration: 337ms;
        --size: 0.499;
        --hue: 160;
      }
      &:nth-child(34) {
        --left: 132px;
        --duration: 262ms;
        --size: 0.724;
        --hue: 165;
      }
      &:nth-child(35) {
        --left: 136px;
        --duration: 230ms;
        --size: 0.406;
        --hue: 170;
      }
      &:nth-child(36) {
        --left: 140px;
        --duration: 333ms;
        --size: 0.057;
        --hue: 175;
      }
      &:nth-child(37) {
        --left: 144px;
        --duration: 348ms;
        --size: 0.347;
        --hue: 180;
      }
      &:nth-child(38) {
        --left: 148px;
        --duration: 229ms;
        --size: 0.683;
        --hue: 185;
      }
      &:nth-child(39) {
        --left: 152px;
        --duration: 240ms;
        --size: 0.072;
        --hue: 190;
      }
      &:nth-child(40) {
        --left: 156px;
        --duration: 325ms;
        --size: 0.557;
        --hue: 195;
      }
      &:nth-child(41) {
        --left: 160px;
        --duration: 304ms;
        --size: 0.42;
        --hue: 200;
      }
      &:nth-child(42) {
        --left: 164px;
        --duration: 202ms;
        --size: 0.406;
        --hue: 205;
      }
      &:nth-child(43) {
        --left: 168px;
        --duration: 383ms;
        --size: 0.818;
        --hue: 210;
      }
      &:nth-child(44) {
        --left: 172px;
        --duration: 362ms;
        --size: 0.09;
        --hue: 215;
      }
      &:nth-child(45) {
        --left: 176px;
        --duration: 393ms;
        --size: 0.61;
        --hue: 220;
      }
      &:nth-child(46) {
        --left: 180px;
        --duration: 287ms;
        --size: 0.166;
        --hue: 225;
      }
      &:nth-child(47) {
        --left: 184px;
        --duration: 333ms;
        --size: 0.472;
        --hue: 230;
      }
      &:nth-child(48) {
        --left: 188px;
        --duration: 223ms;
        --size: 0.035;
        --hue: 235;
      }
      &:nth-child(49) {
        --left: 192px;
        --duration: 310ms;
        --size: 0.117;
        --hue: 240;
      }
      &:nth-child(50) {
        --left: 196px;
        --duration: 220ms;
        --size: 0.943;
        --hue: 245;
      }
      &:nth-child(51) {
        --left: 200px;
        --duration: 219ms;
        --size: 0.221;
        --hue: 250;
      }
      &:nth-child(52) {
        --left: 204px;
        --duration: 274ms;
        --size: 0.555;
        --hue: 255;
      }
      &:nth-child(53) {
        --left: 208px;
        --duration: 339ms;
        --size: 0.712;
        --hue: 260;
      }
      &:nth-child(54) {
        --left: 212px;
        --duration: 214ms;
        --size: 0.857;
        --hue: 265;
      }
      &:nth-child(55) {
        --left: 216px;
        --duration: 215ms;
        --size: 0.565;
        --hue: 270;
      }
      &:nth-child(56) {
        --left: 220px;
        --duration: 247ms;
        --size: 0.684;
        --hue: 275;
      }
      &:nth-child(57) {
        --left: 224px;
        --duration: 283ms;
        --size: 0.134;
        --hue: 280;
      }
      &:nth-child(58) {
        --left: 228px;
        --duration: 362ms;
        --size: 0.734;
        --hue: 285;
      }
      &:nth-child(59) {
        --left: 232px;
        --duration: 363ms;
        --size: 0.622;
        --hue: 290;
      }
      &:nth-child(60) {
        --left: 236px;
        --duration: 396ms;
        --size: 0.095;
        --hue: 295;
      }
      &:nth-child(61) {
        --left: 240px;
        --duration: 245ms;
        --size: 0.847;
        --hue: 300;
      }
      &:nth-child(62) {
        --left: 244px;
        --duration: 278ms;
        --size: 0.169;
        --hue: 305;
      }
      &:nth-child(63) {
        --left: 248px;
        --duration: 375ms;
        --size: 0.185;
        --hue: 310;
      }
      &:nth-child(64) {
        --left: 252px;
        --duration: 392ms;
        --size: 0.357;
        --hue: 315;
      }
      &:nth-child(65) {
        --left: 256px;
        --duration: 315ms;
        --size: 0.284;
        --hue: 320;
      }
      &:nth-child(66) {
        --left: 260px;
        --duration: 215ms;
        --size: 0.508;
        --hue: 325;
      }
      &:nth-child(67) {
        --left: 264px;
        --duration: 372ms;
        --size: 0.019;
        --hue: 330;
      }
      &:nth-child(68) {
        --left: 268px;
        --duration: 232ms;
        --size: 0.906;
        --hue: 335;
      }
      &:nth-child(69) {
        --left: 272px;
        --duration: 262ms;
        --size: 0.974;
        --hue: 340;
      }
      &:nth-child(70) {
        --left: 276px;
        --duration: 349ms;
        --size: 0.302;
        --hue: 345;
      }
      &:nth-child(71) {
        --left: 280px;
        --duration: 293ms;
        --size: 1;
        --hue: 350;
      }
      &:nth-child(72) {
        --left: 284px;
        --duration: 315ms;
        --size: 0.186;
        --hue: 355;
      }
    }
    &:hover {
      border: none;
      --sy: 1;
      --aps: running;
      --op: 0;
    }
  }
  @keyframes btn-noise {
    0% {
      transform: scaleY(calc(1 - (var(--size, 0))));
    }
    100% {
      transform: scaleY(calc(1 + (var(--size, 0))));
    }
  }
}
@layer components {
  .dm-art-eclipse {
    --bg-color: #09090b;
    --size: 600px;
    width: var(--size);
    height: var(--size);
    position: relative;
    overflow: hidden;
    .layer {
      position: absolute;
      inset: 0;
    }
    .layer-1 {
      animation: 30s linear dm-art-eclipse-rotate infinite;
      transform-origin: 66% 40%;
      background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,248,176,0.46) 3.96%, rgba(69,168,255,0) 8.33%, rgba(69,168,255,0) 8.33%) 69.5% 37.7% / 17.2% 17.2% no-repeat, radial-gradient(ellipse at 50% 50%, rgba(255,248,176,1) 0%, rgba(69,168,255,0) 47.22%) 74.1% 35.6% / 33.6% 36.6% no-repeat;
    }
    .layer-2 {
      animation: 20s linear dm-art-eclipse-rotate infinite reverse;
      transform-origin: 66% 40%;
      background: radial-gradient(ellipse at 50% 50%, rgba(69,168,255,0) 20%, var(--bg-color) 29%) 77.4% 33.8% / 40% 40% no-repeat, repeating-conic-gradient(from 15deg at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,248,176,0.51) 2.64%, rgba(69,168,255,0) 5.56%, rgba(69,168,255,0) 5.56%) 69.5% 37.7% / 17.2% 17.2% no-repeat;
    }
    .layer-3 {
      animation: 20s linear dm-art-eclipse-rotate infinite;
      background: repeating-conic-gradient(from 355deg at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,198,69,0.26) 8.1%, rgba(69,168,255,0) 16.67%, rgba(69,168,255,0) 16.67%) 0 0 / 100% 100% no-repeat;
    }
    .layer-4 {
      animation: 40s linear dm-art-eclipse-rotate infinite reverse;
      background: repeating-conic-gradient(from 355deg at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,198,69,0.26) 2.86%, rgba(69,168,255,0) 5.88%, rgba(69,168,255,0) 5.88%) 0% 0% / 100% 100% no-repeat;
    }
    .layer-5 {
      animation: 40s linear dm-art-eclipse-rotate infinite;
      background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,198,69,0.26) 6.62%, rgba(69,168,255,0) 7.69%, rgba(69,168,255,0) 7.69%) 0% 0% / 100% 100% no-repeat;
    }
    .layer-6 {
      background: radial-gradient(ellipse at 50% 50%, rgba(255,248,176,0.27) 0%, rgba(69,168,255,0) 63.54%) 67% 39.3% / 5.8% 5.8% no-repeat, radial-gradient(ellipse at 50% 50%, rgba(69,168,255,0) 40.28%, rgba(255,183,163,0.05) 52.43%, rgba(69,168,255,0) 63.54%) 68% 38.6% / 13% 13% no-repeat, radial-gradient(ellipse at 50% 50%, rgba(255,248,176,0.55) 0%, rgba(69,168,255,0) 63.54%) 66.9% 39.3% / 3.4% 3.4% no-repeat, radial-gradient(ellipse at 50% 50%, rgba(255,248,176,0.2) 0%, rgba(69,168,255,0) 66.67%) 70.7% 36.5% / 25.6% 25.6% no-repeat, radial-gradient(ellipse at 50% 50%, var(--bg-color) 26%, rgba(69,168,255,0) 26.4%) 0% 0% / 100% 100% no-repeat, radial-gradient(ellipse at 50% 50%, rgba(255,212,148,0.04) 0%, rgba(69,168,255,0) 69.79%) 0% 0% / 100% 100% no-repeat, radial-gradient(ellipse at 50% 50%, rgba(255,240,148,0.11) 0%, rgba(69,168,255,0) 52.43%) 0% 0% / 100% 100% no-repeat, radial-gradient(ellipse at 51% 49%, rgba(69,168,255,0) 23.96%, var(--bg-color) 40.63%) 0% 0% / 100% 100% no-repeat, repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,239,69,0.14) 11.04%, rgba(69,168,255,0) 20%, rgba(69,168,255,0) 20%) 0% 0% / 100% 100% no-repeat, radial-gradient(ellipse at 52% 48%, rgba(69,168,255,0) 23.96%, var(--bg-color) 34.03%) 0% 0% / 100% 100% no-repeat, radial-gradient(ellipse at 50% 50%, rgba(255,185,147,0.29) 28%, rgba(69,168,255,0) 30%) 0% 0% / 100% 100% no-repeat;
    }
  }
  @keyframes dm-art-eclipse-rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
}
@layer components {
  .dm-art-plasma-ball {
    --size: 350px;
    --base-color: #222222;
    --switch-size: calc(var(--size) * 37 / 350);
    position: relative;
    margin: 0 auto;
    width: var(--size);
    height: var(--size);
    box-sizing: border-box;
    * {
      box-sizing: border-box;
    }
    .base {
      position: absolute;
      background: var(--base-color);
      width: calc(var(--size) * 6 / 7);
      height: calc(var(--size) * 4 / 7);
      margin: calc(var(--size) * 48 / 350) auto;
      top: calc(var(--size) * 286 / 350);
      left: calc(var(--size) * 25 / 350);
    }
    .base:before {
      position: absolute;
      top: calc(var(--size) * -44 / 350);
      width: calc(var(--size) * 300 / 350);
      height: calc(var(--size) * 80 / 350);
      border-radius: 100%;
      content: "";
      background: radial-gradient(#222 20%, #353535);
      background: conic-gradient(from 167deg, #666666, #232323, #232323, #666666);
      border: 2px solid #597481;
      box-sizing: border-box;
      left: 0;
      z-index: 0;
    }
    .base:after {
      position: absolute;
      left: calc(var(--size) * -35 / 350);
      bottom: calc(var(--size) * -65 / 350);
      width: calc(var(--size) * 370 / 350);
      height: calc(var(--size) * 110 / 350);
      border-radius: 30% 30% 50% 50%;
      content: "";
      background: var(--base-color);
      z-index: -1;
    }
    .base div {
      background: var(--base-color);
      height: calc(var(--size) * 100 / 350);
      margin-top: calc(var(--size) * 48 / 350);
      float: left;
      margin-left: calc(var(--size) * -53 / 350);
      width: 63%;
      transform: rotate(-85deg);
      z-index: -1;
      position: relative;
    }
    .base div + div {
      margin-top: calc(var(--size) * -99 / 350);
      margin-left: calc(var(--size) * 164 / 350);
      transform: rotate(85deg);
    }
    .base span {
      position: absolute;
      left: calc(var(--size) * -51 / 350);
      bottom: calc(var(--size) * -4 / 350);
      width: calc(var(--size) * 402 / 350);
      height: calc(var(--size) * 160 / 350);
      border-radius: 0% 0% 80% 80%;
      content: "";
      background: #242f3400;
      z-index: 0;
      border: 2px solid transparent;
      border-bottom-color: #435761;
    }
    input.switcher {
      width: calc(var(--size) * 48 / 350);
      height: calc(var(--size) * 48 / 350);
      opacity: 0;
      position: absolute;
      z-index: 3333;
      margin: 0;
      cursor: pointer;
      outline: none;
      border-radius: calc(var(--size) * 50 / 350) !important;
      top: calc(var(--size) * 425 / 350);
      left: calc(var(--size) * 151 / 350);
    }
    .glassball {
      position: relative;
      overflow: hidden;
      margin: 0 auto;
      width: 100%;
      height: 100%;
      border-radius: 100%;
      background-color: rgb(255 255 255 / 0.15);
      top: 0%;
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2), inset 0px 10px 30px 5px rgba(255, 255, 255, 1);
      position: absolute;
    }
    .glassball:after {
      background: radial-gradient( ellipse at center, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70% );
      border-radius: 50%;
      box-shadow: inset 0 20px 30px rgb(255 255 255 / 30%);
      content: "";
      height: 96%;
      left: 2%;
      position: absolute;
      width: 96%;
      top: 2%;
      z-index: 1;
    }
    .glassball:hover {
      cursor: grab;
    }
    .glassball:before {
      position: absolute;
      left: 48%;
      top: 50%;
      width: 0px;
      height: 0px;
      background: radial-gradient(circle closest-side, #9c27b0, transparent);
      transform: translate(-45%, -48%);
      transition: width 0.2s ease, height 0.2s ease;
      animation: spark 5ms ease 0s infinite alternate;
      border: 8px dotted #24e6ff;
      filter: blur(15px);
      border-radius: 100%;
      z-index: 2;
      font-size: 10em;
      color: #d6faff;
      text-align: center;
      line-height: 1;
      content: "s";
      display: none;
      opacity: 0.75;
    }
    .glassball:hover:before {
      width: calc(var(--size) * 120 / 350);
      height: calc(var(--size) * 150 / 350);
    }
    input.switcher:checked + .glassball:before, input.switcher:checked + .glassball:after {
      display: block;
    }
    input.switcher:checked + .glassball:after {
      width: 97%;
      height: 97%;
      left: 1.5%;
      top: 1.5%;
    }
    input.switcher:checked + .glassball:hover:after {
      animation: rotation 3s ease 0s infinite alternate;
      background: radial-gradient( ellipse at center, #ffffff7d 0%, #54ecff94 10%, transparent 100% );
      filter: brightness(1.75);
      opacity: 0.5;
    }
    input.switcher:checked + .glassball {
      transform: translate3d(0, 0, 0);
      backface-visibility: hidden;
      perspective: calc(var(--size) * 1000 / 350);
      background: radial-gradient( circle, #ff5affb8 0%, #ff5affb8 20%, #5493d2a8 70%, #5493d2a8 100% );
      animation: innerlight 5s linear 0s infinite, shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
      transition: background 0.4s ease 0s;
      box-shadow: 0 0 15px 5px #5493d2a8;
      border: 1px solid transparent;
    }
    .switch {
      background: #1b1b1b;
      width: var(--switch-size);
      height: var(--switch-size);
      position: absolute;
      left: calc(50% - var(--switch-size) / 2);
      top: calc(var(--size) * 430 / 350);
      border: 3px solid #4e4e4e;
      z-index: 5;
      border-radius: 100%;
      box-shadow: 0 0 10px 0px #000000, 0 0 5px 1px #2d2d2d, 0 0 3px 1px #000 inset;
    }
    .switch::before {
      content: "";
      position: absolute;
      width: calc(var(--switch-size) * 16 / 37);
      height: calc(var(--switch-size) * 16 / 37);
      bottom: calc(var(--switch-size) * 6 / 37);
      border: calc(var(--switch-size) * 3 / 37) solid #4e4e4e;
      border-top-color: transparent;
      border-radius: 100%;
      left: calc(var(--switch-size) * 5.5 / 37);
    }
    .switch::after {
      content: "";
      position: absolute;
      width: calc(var(--switch-size) * 3 / 37);
      height: calc(var(--switch-size) * 9 / 37);
      bottom: calc(var(--switch-size) * 14 / 37);
      left: calc(var(--switch-size) * 11.5 / 37);
      background: #4e4e4e;
    }
    input:checked + div + div + .switch {
      background: linear-gradient(to bottom, #171717, #404040);
      color: #fff;
      box-shadow: 0 0 10px 0px #03a9f4, 0 0 5px 1px #03a9f4;
      border-color: #222222d1;
    }
    input:checked + div + div + .switch:before {
      border-color: transparent #03a9f4 #03a9f4 #03a9f4;
    }
    input:checked + div + div + .switch:after {
      background: #03a9f4;
    }
    .electrode {
      width: calc(var(--size) * 16 / 350);
      height: calc(var(--size) * 140 / 350);
      bottom: calc(var(--size) * 20 / 350);
      left: calc(50% - 0.5em);
      position: absolute;
      overflow: visible;
    }
    .electrode:not(.hide-electrode) {
      background: linear-gradient(75deg, #3a3a3a 20%, #2d2d2d);
      border-bottom: 1px solid #657882;
      border-radius: 0 0 6px 5px;
    }
    .electrode:before {
      position: absolute;
      left: calc(var(--size) * -16 / 350);
      top: calc(var(--size) * -40 / 350);
      width: calc(var(--size) * 48 / 350);
      height: calc(var(--size) * 48 / 350);
      border-radius: 100%;
      content: "";
      background: radial-gradient(at top left, #4a4949 20%, #2d2d2d);
      border: 1px solid #758e99;
      box-sizing: border-box;
    }
    .electrode:not(.hide-electrode):after {
      position: absolute;
      left: calc(var(--size) * -3 / 350);
      bottom: calc(var(--size) * -11 / 350);
      width: calc(var(--size) * 22 / 350);
      height: calc(var(--size) * 16 / 350);
      border-radius: calc(var(--size) * 140 / 350) / calc(var(--size) * 50 / 350);
      content: "";
      background: linear-gradient(-263deg, #191919 20%, #0a0a0a);
      z-index: -1;
    }
    input.switcher:checked + .glassball .electrode:after {
      background: linear-gradient(-263deg, #3a3a3a 20%, #2d2d2d);
    }
    input.switcher:checked + .glassball .electrode:before {
      background: radial-gradient( ellipse farthest-corner at calc(var(--size) * 30 / 350) calc(var(--size) * 30 / 350), #999, #e449ff, #e449ff, #9763ff, #62edff, #fff );
      box-shadow: 0 0 10px 2px #e449ffb3, 0 0 10px 2px #fff, 0 0 50px -10px #fff inset;
      border-color: #ffffff94;
    }
    input.switcher + .glassball .rays {
      display: none;
    }
    input.switcher:checked + .glassball .rays {
      display: block;
      float: left;
      width: 100%;
      height: 100%;
      position: absolute;
    }
    .ray {
      width: calc(var(--size) * 160 / 350);
      height: calc(var(--size) * 32 / 350);
      position: absolute;
      bottom: calc(var(--size) * 144 / 350);
      filter: drop-shadow(0px 0px 7px #9660f7) drop-shadow(0px 0px 2px #fff);
    }
    .ray:before {
      content: "";
      width: calc(var(--size) * 8 / 350);
      height: calc(var(--size) * 7.2 / 350);
      border: 2px dashed #03a9f4;
      position: absolute;
      border-width: 3px 3px 1px 1px;
      transform: rotate(87deg);
      top: calc(var(--size) * 4.8 / 350);
      left: calc(var(--size) * 3 / 350);
      border-radius: 10px 5px 8px 7px;
      filter: blur(2px);
      box-shadow: 0 0 10px -1px black;
    }
    .ray:after {
      content: "s";
      float: left;
      width: calc(var(--size) * 32 / 350);
      height: calc(var(--size) * 96 / 350);
      margin-top: calc(var(--size) * 20 / 350);
      margin-left: 0px;
      animation: blink 1s linear 0s infinite alternate;
      background: radial-gradient(circle closest-side, #9c27b0, transparent);
      transform: translate(-45%, -48%);
      transition: width 0.2s ease, height 0.2s ease;
      border: calc(var(--size) * 8 / 350) dotted #24e6ff;
      filter: blur(5px);
      border-radius: 100%;
      z-index: 2;
      font-size: calc(var(--size) * 64 / 350);
      color: #d6faff;
      text-align: center;
      line-height: 1;
    }
    .ray span {
      width: calc(var(--size) * 64 / 350);
      height: calc(var(--size) * 16 / 350);
      border: solid calc(var(--size) * 4 / 350) #000;
      border-radius: 238%/50px 50px 0 0;
      position: absolute;
      top: calc(var(--size) * 8 / 350);
      left: 0;
      border-color: #6bbdff transparent transparent transparent;
    }
    .ray span + span {
      left: 30%;
      transform: rotate(180deg);
      top: calc(var(--size) * 2.4 / 350);
    }
    .ray span + span + span {
      left: 60%;
      transform: rotate(0deg);
      top: calc(var(--size) * 8 / 350);
    }
    .ray span:last-of-type:before {
      content: "";
      float: right;
      width: calc(var(--size) * 8 / 350);
      height: calc(var(--size) * 8 / 350);
      background: #d1eefb;
      border-radius: 100%;
      box-shadow: 0 0 4px 3px #fff;
      filter: blur(1px);
      margin-top: calc(var(--size) * -2 / 350);
      left: calc(var(--size) * 3 / 350);
      position: relative;
    }
    .ray.bigwave span:last-of-type:before {
      content: "";
      float: left;
      width: calc(var(--size) * 8 / 350);
      height: calc(var(--size) * 8 / 350);
      background: #d1eefb;
      border-radius: 100%;
      box-shadow: 0 0 4px 3px #fff;
      filter: blur(1px);
      margin-top: calc(var(--size) * -3 / 350);
      left: calc(var(--size) * -2 / 350);
      position: relative;
    }
    .ray.bigwave span {
      width: 55%;
      border-width: calc(var(--size) * 4 / 350);
    }
    .ray.bigwave span + span {
      width: 60%;
      left: 40%;
      border-width: calc(var(--size) * 5 / 350);
      margin-left: calc(var(--size) * 4 / 350);
      margin-top: calc(var(--size) * 2 / 350);
    }
    .rays + .rays {
      transform: rotate(180deg);
    }
    .rays + .rays + .rays {
      transform: rotate(90deg);
    }
    .rays + .rays + .rays + .rays {
      transform: rotate(270deg);
    }
    .rays + .rays + .rays + .rays + .rays {
      transform: skew(-187deg, 0deg) scale(0.675) rotate(0deg);
      display: none;
      animation: touchray1 2.5s ease 0.1s infinite alternate;
    }
    .rays + .rays + .rays + .rays + .rays + .rays {
      transform: skew(-140deg, -40deg) scale(0.675) rotate(180deg);
      display: none;
      animation: touchray2 1s ease 0.25s infinite;
    }
    input.switcher:checked + .glassball:hover .rays + .rays + .rays + .rays + .rays {
      display: block;
    }
    .rays + .rays + .rays + .rays + .rays .ray {
      width: calc(var(--size) * 136 / 350);
      animation: ray1 0.5s linear 0s infinite alternate;
    }
    .rays + .rays + .rays + .rays + .rays .ray span {
      border-top-width: calc(var(--size) * 8 / 350);
    }
    .ray:nth-of-type(1) {
      animation: ray1 0.5s linear 0s infinite;
    }
    .ray:nth-of-type(2) {
      animation: ray1 0.75s linear 0s infinite alternate;
    }
    .ray:nth-of-type(3) {
      animation: ray1 0.65s linear 0s infinite reverse;
    }
    .ray:nth-of-type(4) {
      animation: ray1 0.95s linear 0s infinite alternate;
    }
    .ray:nth-of-type(5) {
      animation: ray1 0.85s linear 0s infinite reverse;
    }
    .rays + .rays .ray:nth-of-type(1) {
      animation-duration: 1.55s;
    }
    .rays + .rays .ray:nth-of-type(2) {
      animation-duration: 1.75s;
    }
    .rays + .rays .ray:nth-of-type(3) {
      animation-duration: 0.65s;
    }
    .rays + .rays .ray:nth-of-type(4) {
      animation-duration: 1.85s;
    }
    .rays + .rays .ray:nth-of-type(5) {
      animation-duration: 1.6s;
    }
    .rays + .rays + .rays .ray:nth-of-type(1) {
      animation-duration: 1.15s;
    }
    .rays + .rays + .rays .ray:nth-of-type(2) {
      animation-duration: 1.5s;
    }
    .rays + .rays + .rays .ray:nth-of-type(3) {
      animation-duration: 1.35s;
    }
    .rays + .rays + .rays .ray:nth-of-type(4) {
      animation-duration: 1s;
    }
    .rays + .rays + .rays .ray:nth-of-type(5) {
      animation-duration: 1.25s;
    }
    .rays + .rays + .rays + .rays .ray:nth-of-type(1) {
      animation-duration: 1.05s;
    }
    .rays + .rays + .rays + .rays .ray:nth-of-type(2) {
      animation-duration: 1.35s;
    }
    .rays + .rays + .rays + .rays .ray:nth-of-type(3) {
      animation-duration: 1.25s;
    }
    .rays + .rays + .rays + .rays .ray:nth-of-type(4) {
      animation-duration: 1.15s;
    }
    .rays + .rays + .rays + .rays .ray:nth-of-type(5) {
      animation-duration: 1.45s;
    }
    .rays + .rays + .rays + .rays + .rays .ray:nth-of-type(1) {
      animation-duration: 0.85s;
    }
    .rays + .rays + .rays + .rays + .rays .ray:nth-of-type(2) {
      animation-duration: 0.95s;
    }
    .rays + .rays + .rays + .rays + .rays .ray:nth-of-type(3) {
      animation-duration: 0.75s;
    }
    .rays + .rays + .rays + .rays + .rays + .rays .ray:nth-of-type(1) {
      animation-duration: 1.1s;
    }
    .rays + .rays + .rays + .rays + .rays + .rays .ray:nth-of-type(2) {
      animation-duration: 1.25s;
    }
    .rays + .rays + .rays + .rays + .rays + .rays .ray:nth-of-type(3) {
      animation-duration: 1.35s;
    }
  }
  @keyframes rotation {
    50% {
      transform: rotate(360deg);
    }
  }
  @keyframes blink {
    0% {
      background: radial-gradient(circle closest-side, #ff5affb8, #5493d2a8);
      transform: translate(-50%, -50%) scale(0.75) rotate(6deg);
    }
    50% {
      background: radial-gradient(circle closest-side, #5493d2a8, #ff5affb8);
      transform: translate(-50%, -50%) scale(0.5) rotate(2deg);
    }
    100% {
      background: radial-gradient(circle closest-side, #ffffffa8, #5493d2a8);
      transform: translate(-50%, -50%) scale(0.35) rotate(11deg);
    }
  }
  @keyframes innerlight {
    0% {
      background-size: 105% 105%;
      background-position: center center;
      box-shadow: 0 0 15px 5px #5493d2a8;
    }
    25% {
      box-shadow: 0 0 15px 5px #ff5aff30;
    }
    50% {
      background-size: 85% 85%;
      background-position: center center;
      box-shadow: 0 0 15px 5px #5493d2a8;
    }
    75% {
      box-shadow: 0 0 15px 5px #ff5aff30;
    }
    100% {
      background-size: 105% 105%;
      background-position: center center;
      box-shadow: 0 0 15px 5px #5493d2a8;
    }
  }
  @keyframes touchray1 {
    0% {
      transform: skew(-187deg, 0deg) scale(0.675) rotate(0deg);
    }
    50% {
      transform: skew(-185deg, 2deg) scale(0.525) rotate(180deg);
      opacity: 1;
    }
    51% {
      opacity: 0;
    }
    52% {
      opacity: 1;
    }
    100% {
      transform: skew(-188deg, -2deg) scale(0.625) rotate(360deg);
    }
  }
  @keyframes touchray2 {
    0% {
      transform: skew(-140deg, -40deg) scale(0.675) rotate(140deg);
    }
    50% {
      transform: skew(-143deg, -42deg) scale(0.525) rotate(0deg);
      opacity: 1;
    }
    51% {
      opacity: 0;
    }
    52% {
      opacity: 1;
    }
    100% {
      transform: skew(-145deg, -38deg) scale(0.625) rotate(210deg);
    }
  }
  @keyframes spark {
    0% {
      background: radial-gradient(circle closest-side, #ff5affb8, #5493d2a8);
      transform: translate(-50%, -50%) scale(0.75) rotate(0deg);
    }
    50% {
      background: radial-gradient(circle closest-side, #5493d2a8, #ff5affb8);
      transform: translate(-50%, -50%) scale(0.5) rotate(180deg);
    }
    100% {
      background: radial-gradient(circle closest-side, #ffffffa8, #5493d2a8);
      transform: translate(-50%, -50%) scale(1) rotate(360deg);
    }
  }
  @keyframes ray1 {
    0% {
      opacity: 0;
      transform: rotate(0deg) translate(0px, 0px);
    }
    12% {
      opacity: 1;
      transform: rotate(22deg) translate(0px, calc(var(--size) * -35 / 350));
      filter: brightness(1.75);
    }
    25% {
      opacity: 0;
      transform: rotate(45deg) translate(calc(var(--size) * -33 / 350), calc(var(--size) * -69 / 350));
    }
    37% {
      opacity: 1;
      transform: rotate(67deg) translate(calc(var(--size) * -64 / 350), calc(var(--size) * -86 / 350));
      filter: brightness(1.15);
    }
    50% {
      opacity: 0;
      transform: rotate(90deg) translate(calc(var(--size) * -108 / 350), calc(var(--size) * -93 / 350));
    }
    62% {
      opacity: 1;
      transform: rotate(112deg) translate(calc(var(--size) * -140 / 350), calc(var(--size) * -90 / 350));
      filter: brightness(1.25);
    }
    75% {
      opacity: 0;
      transform: rotate(135deg) translate(calc(var(--size) * -169 / 350), calc(var(--size) * -69 / 350));
    }
    87% {
      opacity: 1;
      transform: rotate(157deg) translate(calc(var(--size) * -185 / 350), calc(var(--size) * -36 / 350));
      filter: brightness(1.75);
    }
    100% {
      opacity: 0;
      transform: rotate(180deg) translate(calc(var(--size) * -192 / 350), calc(var(--size) * 6 / 350));
    }
  }
}
@layer components {
  .dm-art-signature {
    --size: 5rem;
    --sign-color: #ff0000aa;
    --rotate: -30deg;
    --opacity: 0.618;
    width: var(--size);
    height: var(--size);
    border: calc(var(--size) * 0.05) solid var(--sign-color);
    border-radius: 50%;
    position: absolute;
    opacity: var(--opacity);
    transform: rotate(var(--rotate));
    right: var(--right, 2rem);
    top: var(--top, 2rem);
  }
  .dm-art-signature::before {
    position: absolute;
    inset: 2%;
    border: calc(var(--size) * 0.01) solid var(--sign-color);
    border-radius: 50%;
    content: " ";
  }
  .dm-art-signature::after {
    position: absolute;
    inset: 5%;
    border-radius: 50%;
    content: attr(data-content);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--sign-color);
    font-size: calc(var(--size) * 0.3);
  }
}
@layer components {
  .dm-art-snowflake {
    position: absolute;
    width: var(--snowflake-size, 10px);
    height: var(--snowflake-size, 10px);
    border-radius: 50%;
    pointer-events: none;
    &:not(.snowflake-unicode) {
      background: var(--snowflake-color, #FFFFFF);
      filter: drop-shadow(0 0 var(--snowflake-size, 10px) var(--snowflake-color, #FFFFFF));
    }
  }
  .dm-art-snowflake.snowflake-unicode::after {
    content: "\2746";
    color: var(--snowflake-color, #FFFFFF);
    font-size: var(--snowflake-size, 10px);
    filter: drop-shadow(0 0 var(--snowflake-size, 10px) var(--snowflake-color, #FFFFFF));
  }
}
@layer components {
  .dm-art-spotlight-search {
    padding: 0;
    background-color: transparent;
    box-shadow: 0 0 2rem 0.5rem var(--color-primary);
    display: none;
    flex-direction: column;
    margin: auto;
    &[open] {
      display: flex;
      &:focus-within {
        box-shadow: 0 0 2rem 1rem var(--color-primary);
      }
      .modal-box {
        display: flex;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        translate: 0 0 !important;
        scale: 1 !important;
        opacity: 1 !important;
        @starting-style {
          translate: 0 0 !important;
          scale: 2 !important;
          opacity: 1 !important;
        }
      }
    }
    &::backdrop {
      opacity: 0.5;
      background-color: var(--color-surface-container);
    }
    .modal-box {
      display: none;
      width: 80vw !important;
      max-width: 42rem !important;
      background: transparent !important;
      box-shadow: none !important;
      .dm-art-spotlight-input {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-width: 100%;
        padding: 0.75rem 1rem;
        background-color: var(--color-surface);
        color: var(--color-on-surface);
        border: 2px solid var(--color-primary) !important;
        border-radius: 0 !important;
        outline: none !important;
        &:focus-within {
          outline-width: 0 !important;
          outline-offset: 0 !important;
        }
        input {
          width: 100%;
          color: var(--color-on-surface);
          background: transparent;
          border: none;
          outline: none;
          &:focus {
            outline-width: 0;
          }
        }
      }
      .dm-art-spotlight-loading {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 1.5rem;
        margin: 0 auto;
      }
      .dm-art-spotlight-suggestion-list {
        max-height: 14rem;
        background-color: var(--color-surface);
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
        display: flex;
        flex-direction: column;
        overflow: auto;
        border-radius: 0.25rem;
        .dm-art-spotlight-suggestion-list-item {
          height: 2rem;
          display: flex;
          align-items: center;
          color: var(--color-on-surface);
          background-color: var(--color-surface-container-high);
          padding-inline: 1rem;
          flex: 0 0 2rem;
          &.autocomplete-active {
            background-color: var(--color-primary);
            color: var(--color-on-primary);
          }
        }
        &:empty {
          display: none;
        }
      }
    }
  }
}
@layer base {
  :root, [data-theme="sunshine"] {
    --color-primary: oklch(0.55 0.2 260);
    --color-on-primary: oklch(1 0 0);
    --color-primary-container: oklch(0.9 0.05 260);
    --color-on-primary-container: oklch(0.25 0.1 260);
    --color-secondary: oklch(0.5 0.1 280);
    --color-on-secondary: oklch(1 0 0);
    --color-secondary-container: oklch(0.92 0.03 280);
    --color-on-secondary-container: oklch(0.25 0.05 280);
    --color-tertiary: oklch(0.55 0.15 30);
    --color-on-tertiary: oklch(1 0 0);
    --color-tertiary-container: oklch(0.92 0.04 30);
    --color-on-tertiary-container: oklch(0.3 0.08 30);
    --color-error: oklch(0.55 0.2 25);
    --color-on-error: oklch(1 0 0);
    --color-error-container: oklch(0.92 0.05 25);
    --color-on-error-container: oklch(0.3 0.1 25);
    --color-surface: oklch(0.99 0.005 260);
    --color-on-surface: oklch(0.2 0.02 260);
    --color-surface-variant: oklch(0.93 0.01 260);
    --color-on-surface-variant: oklch(0.45 0.03 260);
    --color-surface-container: oklch(0.96 0.008 260);
    --color-surface-container-low: oklch(0.97 0.006 260);
    --color-surface-container-lowest: oklch(1 0 0);
    --color-surface-container-high: oklch(0.94 0.01 260);
    --color-surface-container-highest: oklch(0.92 0.012 260);
    --color-outline: oklch(0.55 0.02 260);
    --color-outline-variant: oklch(0.8 0.015 260);
    --color-inverse-surface: oklch(0.25 0.02 260);
    --color-inverse-on-surface: oklch(0.95 0.005 260);
    --color-inverse-primary: oklch(0.8 0.12 260);
    --color-scrim: oklch(0 0 0);
    --color-shadow: oklch(0 0 0);
  }
  [data-theme="moonlight"] {
    --color-primary: oklch(0.8 0.12 260);
    --color-on-primary: oklch(0.3 0.15 260);
    --color-primary-container: oklch(0.35 0.15 260);
    --color-on-primary-container: oklch(0.9 0.05 260);
    --color-secondary: oklch(0.8 0.06 280);
    --color-on-secondary: oklch(0.3 0.08 280);
    --color-secondary-container: oklch(0.35 0.08 280);
    --color-on-secondary-container: oklch(0.92 0.03 280);
    --color-tertiary: oklch(0.8 0.1 30);
    --color-on-tertiary: oklch(0.35 0.12 30);
    --color-tertiary-container: oklch(0.4 0.1 30);
    --color-on-tertiary-container: oklch(0.92 0.04 30);
    --color-error: oklch(0.85 0.12 25);
    --color-on-error: oklch(0.35 0.15 25);
    --color-error-container: oklch(0.4 0.12 25);
    --color-on-error-container: oklch(0.92 0.05 25);
    --color-surface: oklch(0.2 0.015 260);
    --color-on-surface: oklch(0.93 0.01 260);
    --color-surface-variant: oklch(0.35 0.02 260);
    --color-on-surface-variant: oklch(0.8 0.02 260);
    --color-surface-container: oklch(0.22 0.018 260);
    --color-surface-container-low: oklch(0.18 0.012 260);
    --color-surface-container-lowest: oklch(0.15 0.01 260);
    --color-surface-container-high: oklch(0.25 0.02 260);
    --color-surface-container-highest: oklch(0.28 0.022 260);
    --color-outline: oklch(0.55 0.025 260);
    --color-outline-variant: oklch(0.35 0.02 260);
    --color-inverse-surface: oklch(0.93 0.01 260);
    --color-inverse-on-surface: oklch(0.25 0.02 260);
    --color-inverse-primary: oklch(0.55 0.2 260);
    --color-scrim: oklch(0 0 0);
    --color-shadow: oklch(0 0 0);
  }
}
@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-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-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  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;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}
@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-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-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: 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;
    }
  }
}
