/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.12_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.12_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.1.18 | 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-50: oklch(97.1% 0.013 17.38);
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-200: oklch(88.5% 0.062 18.334);
    --color-red-300: oklch(80.8% 0.114 19.571);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-red-900: oklch(39.6% 0.141 25.723);
    --color-amber-50: oklch(98.7% 0.022 95.277);
    --color-amber-100: oklch(96.2% 0.059 95.617);
    --color-amber-300: oklch(87.9% 0.169 91.605);
    --color-amber-700: oklch(55.5% 0.163 48.998);
    --color-amber-800: oklch(47.3% 0.137 46.201);
    --color-emerald-50: oklch(97.9% 0.021 166.113);
    --color-emerald-100: oklch(95% 0.052 163.051);
    --color-emerald-200: oklch(90.5% 0.093 164.15);
    --color-emerald-300: oklch(84.5% 0.143 164.978);
    --color-emerald-700: oklch(50.8% 0.118 165.612);
    --color-emerald-800: oklch(43.2% 0.095 166.913);
    --color-cyan-400: oklch(78.9% 0.154 211.53);
    --color-cyan-900: oklch(39.8% 0.07 227.392);
    --color-blue-50: oklch(97% 0.014 254.604);
    --color-blue-100: oklch(93.2% 0.032 255.585);
    --color-blue-300: oklch(80.9% 0.105 251.813);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-blue-800: oklch(42.4% 0.199 265.638);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-800: oklch(27.9% 0.041 260.031);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-md: 28rem;
    --container-xl: 36rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-6xl: 72rem;
    --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);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --tracking-wide: 0.025em;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --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%;
    -moz-tab-size: 4;
      -o-tab-size: 4;
         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;
  }
  ::-moz-placeholder {
    opacity: 1;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::-moz-placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    -webkit-appearance: button;
       -moz-appearance: 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-auto {
    pointer-events: auto;
  }
  .pointer-events-none {
    pointer-events: none;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .inset-y-0 {
    inset-block: calc(var(--spacing) * 0);
  }
  .top-2 {
    top: calc(var(--spacing) * 2);
  }
  .top-\[calc\(env\(safe-area-inset-top\)\+0\.5rem\)\] {
    top: calc(env(safe-area-inset-top) + 0.5rem);
  }
  .bottom-4 {
    bottom: calc(var(--spacing) * 4);
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .left-1\/2 {
    left: calc(1/2 * 100%);
  }
  .left-4 {
    left: calc(var(--spacing) * 4);
  }
  .z-10 {
    z-index: 10;
  }
  .z-30 {
    z-index: 30;
  }
  .z-40 {
    z-index: 40;
  }
  .z-50 {
    z-index: 50;
  }
  .order-1 {
    order: 1;
  }
  .order-2 {
    order: 2;
  }
  .order-3 {
    order: 3;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .ml-1 {
    margin-left: calc(var(--spacing) * 1);
  }
  .ml-auto {
    margin-left: auto;
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-3\.5 {
    height: calc(var(--spacing) * 3.5);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-11 {
    height: calc(var(--spacing) * 11);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-24 {
    height: calc(var(--spacing) * 24);
  }
  .h-44 {
    height: calc(var(--spacing) * 44);
  }
  .h-full {
    height: 100%;
  }
  .h-screen {
    height: 100vh;
  }
  .max-h-10 {
    max-height: calc(var(--spacing) * 10);
  }
  .max-h-12 {
    max-height: calc(var(--spacing) * 12);
  }
  .min-h-0 {
    min-height: calc(var(--spacing) * 0);
  }
  .min-h-9 {
    min-height: calc(var(--spacing) * 9);
  }
  .min-h-20 {
    min-height: calc(var(--spacing) * 20);
  }
  .min-h-24 {
    min-height: calc(var(--spacing) * 24);
  }
  .min-h-28 {
    min-height: calc(var(--spacing) * 28);
  }
  .min-h-\[28rem\] {
    min-height: 28rem;
  }
  .min-h-\[72vh\] {
    min-height: 72vh;
  }
  .min-h-\[142px\] {
    min-height: 142px;
  }
  .min-h-\[146px\] {
    min-height: 146px;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-7 {
    width: calc(var(--spacing) * 7);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-11 {
    width: calc(var(--spacing) * 11);
  }
  .w-12 {
    width: calc(var(--spacing) * 12);
  }
  .w-24 {
    width: calc(var(--spacing) * 24);
  }
  .w-28 {
    width: calc(var(--spacing) * 28);
  }
  .w-44 {
    width: calc(var(--spacing) * 44);
  }
  .w-\[88px\] {
    width: 88px;
  }
  .w-\[130px\] {
    width: 130px;
  }
  .w-\[170px\] {
    width: 170px;
  }
  .w-\[280px\] {
    width: 280px;
  }
  .w-\[min\(86vw\,320px\)\] {
    width: min(86vw, 320px);
  }
  .w-\[min\(96vw\,820px\)\] {
    width: min(96vw, 820px);
  }
  .w-auto {
    width: auto;
  }
  .w-fit {
    width: -moz-fit-content;
    width: fit-content;
  }
  .w-full {
    width: 100%;
  }
  .max-w-4xl {
    max-width: var(--container-4xl);
  }
  .max-w-5xl {
    max-width: var(--container-5xl);
  }
  .max-w-6xl {
    max-width: var(--container-6xl);
  }
  .max-w-\[150px\] {
    max-width: 150px;
  }
  .max-w-\[170px\] {
    max-width: 170px;
  }
  .max-w-\[190px\] {
    max-width: 190px;
  }
  .max-w-\[360px\] {
    max-width: 360px;
  }
  .max-w-\[1320px\] {
    max-width: 1320px;
  }
  .max-w-\[calc\(100\%-1rem\)\] {
    max-width: calc(100% - 1rem);
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .-translate-x-1\/2 {
    --tw-translate-x: calc(calc(1/2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .-translate-x-full {
    --tw-translate-x: -100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .translate-x-0 {
    --tw-translate-x: calc(var(--spacing) * 0);
    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,);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .list-disc {
    list-style-type: disc;
  }
  .list-none {
    list-style-type: none;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-items-center {
    place-items: center;
  }
  .content-start {
    align-content: flex-start;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .gap-1 {
    gap: 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-5 {
    gap: calc(var(--spacing) * 5);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .self-end {
    align-self: flex-end;
  }
  .self-start {
    align-self: flex-start;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-auto {
    overflow: auto;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-r {
    border-right-style: var(--tw-border-style);
    border-right-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }
  .border-\[color\:color-mix\(in_srgb\,var\(--border\)_70\%\,transparent\)\] {
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb,var(--border) 70%,transparent);
    }
  }
  .border-\[var\(--border\)\] {
    border-color: var(--border);
  }
  .border-\[var\(--primary\)\] {
    border-color: var(--primary);
  }
  .border-\[var\(--primary\)\]\/25 {
    border-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--primary) 25%, transparent);
    }
  }
  .border-\[var\(--primary\)\]\/30 {
    border-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--primary) 30%, transparent);
    }
  }
  .border-\[var\(--primary\)\]\/35 {
    border-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--primary) 35%, transparent);
    }
  }
  .border-amber-300 {
    border-color: var(--color-amber-300);
  }
  .border-blue-300 {
    border-color: var(--color-blue-300);
  }
  .border-emerald-200 {
    border-color: var(--color-emerald-200);
  }
  .border-emerald-300 {
    border-color: var(--color-emerald-300);
  }
  .border-red-200 {
    border-color: var(--color-red-200);
  }
  .border-red-300 {
    border-color: var(--color-red-300);
  }
  .border-slate-300 {
    border-color: var(--color-slate-300);
  }
  .border-slate-600 {
    border-color: var(--color-slate-600);
  }
  .border-slate-600\/70 {
    border-color: color-mix(in srgb, oklch(44.6% 0.043 257.281) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-600) 70%, transparent);
    }
  }
  .border-transparent {
    border-color: transparent;
  }
  .bg-\[var\(--background\)\] {
    background-color: var(--background);
  }
  .bg-\[var\(--border\)\] {
    background-color: var(--border);
  }
  .bg-\[var\(--primary\)\] {
    background-color: var(--primary);
  }
  .bg-\[var\(--primary-soft\)\] {
    background-color: var(--primary-soft);
  }
  .bg-\[var\(--surface\)\] {
    background-color: var(--surface);
  }
  .bg-\[var\(--surface-muted\)\] {
    background-color: var(--surface-muted);
  }
  .bg-amber-50 {
    background-color: var(--color-amber-50);
  }
  .bg-amber-100 {
    background-color: var(--color-amber-100);
  }
  .bg-black {
    background-color: var(--color-black);
  }
  .bg-black\/50 {
    background-color: color-mix(in srgb, #000 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
    }
  }
  .bg-blue-50 {
    background-color: var(--color-blue-50);
  }
  .bg-blue-100 {
    background-color: var(--color-blue-100);
  }
  .bg-emerald-50 {
    background-color: var(--color-emerald-50);
  }
  .bg-emerald-100 {
    background-color: var(--color-emerald-100);
  }
  .bg-red-50 {
    background-color: var(--color-red-50);
  }
  .bg-red-50\/50 {
    background-color: color-mix(in srgb, oklch(97.1% 0.013 17.38) 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-red-50) 50%, transparent);
    }
  }
  .bg-slate-100 {
    background-color: var(--color-slate-100);
  }
  .bg-slate-800\/60 {
    background-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-800) 60%, transparent);
    }
  }
  .bg-slate-800\/80 {
    background-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-800) 80%, transparent);
    }
  }
  .bg-slate-900\/80 {
    background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-900) 80%, transparent);
    }
  }
  .fill-none {
    fill: none;
  }
  .stroke-current {
    stroke: currentcolor;
  }
  .stroke-2 {
    stroke-width: 2;
  }
  .stroke-\[1\.8\] {
    stroke-width: 1.8;
  }
  .object-cover {
    -o-object-fit: cover;
       object-fit: cover;
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-1\.5 {
    padding-inline: calc(var(--spacing) * 1.5);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }
  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .pt-0 {
    padding-top: calc(var(--spacing) * 0);
  }
  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }
  .pt-\[calc\(env\(safe-area-inset-top\)\+5rem\)\] {
    padding-top: calc(env(safe-area-inset-top) + 5rem);
  }
  .pt-\[max\(env\(safe-area-inset-top\)\,0\.75rem\)\] {
    padding-top: max(env(safe-area-inset-top), 0.75rem);
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .pb-8 {
    padding-bottom: calc(var(--spacing) * 8);
  }
  .pb-\[max\(env\(safe-area-inset-bottom\)\,0\.75rem\)\] {
    padding-bottom: max(env(safe-area-inset-bottom), 0.75rem);
  }
  .pl-5 {
    padding-left: calc(var(--spacing) * 5);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .\!text-xs {
    font-size: var(--text-xs) !important;
    line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--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));
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-\[var\(--foreground\)\] {
    color: var(--foreground);
  }
  .text-\[var\(--primary\)\] {
    color: var(--primary);
  }
  .text-\[var\(--text-muted\)\] {
    color: var(--text-muted);
  }
  .text-amber-700 {
    color: var(--color-amber-700);
  }
  .text-amber-800 {
    color: var(--color-amber-800);
  }
  .text-blue-700 {
    color: var(--color-blue-700);
  }
  .text-blue-800 {
    color: var(--color-blue-800);
  }
  .text-emerald-700 {
    color: var(--color-emerald-700);
  }
  .text-emerald-800 {
    color: var(--color-emerald-800);
  }
  .text-red-600 {
    color: var(--color-red-600);
  }
  .text-red-700 {
    color: var(--color-red-700);
  }
  .text-slate-100 {
    color: var(--color-slate-100);
  }
  .text-slate-300 {
    color: var(--color-slate-300);
  }
  .text-slate-800 {
    color: var(--color-slate-800);
  }
  .text-white {
    color: var(--color-white);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .not-italic {
    font-style: normal;
  }
  .underline {
    text-decoration-line: underline;
  }
  .underline-offset-2 {
    text-underline-offset: 2px;
  }
  .opacity-0 {
    opacity: 0%;
  }
  .opacity-100 {
    opacity: 100%;
  }
  .shadow-2xl {
    --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
    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);
  }
  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-xl {
    --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px 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);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-blur {
    --tw-backdrop-blur: blur(8px);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-\[width\] {
    transition-property: width;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-150 {
    --tw-duration: 150ms;
    transition-duration: 150ms;
  }
  .duration-200 {
    --tw-duration: 200ms;
    transition-duration: 200ms;
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .file\:mr-3 {
    &::file-selector-button {
      margin-right: calc(var(--spacing) * 3);
    }
  }
  .file\:cursor-pointer {
    &::file-selector-button {
      cursor: pointer;
    }
  }
  .file\:rounded-lg {
    &::file-selector-button {
      border-radius: var(--radius-lg);
    }
  }
  .file\:border-0 {
    &::file-selector-button {
      border-style: var(--tw-border-style);
      border-width: 0px;
    }
  }
  .file\:bg-\[var\(--primary-soft\)\] {
    &::file-selector-button {
      background-color: var(--primary-soft);
    }
  }
  .file\:px-2 {
    &::file-selector-button {
      padding-inline: calc(var(--spacing) * 2);
    }
  }
  .file\:py-1 {
    &::file-selector-button {
      padding-block: calc(var(--spacing) * 1);
    }
  }
  .file\:text-xs {
    &::file-selector-button {
      font-size: var(--text-xs);
      line-height: var(--tw-leading, var(--text-xs--line-height));
    }
  }
  .file\:font-semibold {
    &::file-selector-button {
      --tw-font-weight: var(--font-weight-semibold);
      font-weight: var(--font-weight-semibold);
    }
  }
  .file\:text-\[var\(--primary\)\] {
    &::file-selector-button {
      color: var(--primary);
    }
  }
  .hover\:-translate-y-0\.5 {
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -0.5);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .hover\:border-\[var\(--border\)\] {
    &:hover {
      @media (hover: hover) {
        border-color: var(--border);
      }
    }
  }
  .hover\:border-\[var\(--primary\)\]\/30 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--primary);
        @supports (color: color-mix(in lab, red, red)) {
          border-color: color-mix(in oklab, var(--primary) 30%, transparent);
        }
      }
    }
  }
  .hover\:bg-\[var\(--primary-hover\)\] {
    &:hover {
      @media (hover: hover) {
        background-color: var(--primary-hover);
      }
    }
  }
  .hover\:bg-\[var\(--surface\)\] {
    &:hover {
      @media (hover: hover) {
        background-color: var(--surface);
      }
    }
  }
  .hover\:bg-\[var\(--surface\)\]\/70 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--surface);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--surface) 70%, transparent);
        }
      }
    }
  }
  .hover\:bg-\[var\(--surface\)\]\/80 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--surface);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--surface) 80%, transparent);
        }
      }
    }
  }
  .hover\:bg-\[var\(--surface-muted\)\] {
    &:hover {
      @media (hover: hover) {
        background-color: var(--surface-muted);
      }
    }
  }
  .hover\:bg-amber-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-amber-100);
      }
    }
  }
  .hover\:bg-blue-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-blue-100);
      }
    }
  }
  .hover\:bg-emerald-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-emerald-100);
      }
    }
  }
  .hover\:bg-red-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-red-100);
      }
    }
  }
  .hover\:bg-slate-700\/80 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(37.2% 0.044 257.287) 80%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-slate-700) 80%, transparent);
        }
      }
    }
  }
  .hover\:text-\[var\(--foreground\)\] {
    &:hover {
      @media (hover: hover) {
        color: var(--foreground);
      }
    }
  }
  .hover\:text-red-900 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-red-900);
      }
    }
  }
  .hover\:shadow-md {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .focus\:border-\[var\(--primary\)\] {
    &:focus {
      border-color: var(--primary);
    }
  }
  .focus\:border-cyan-400 {
    &:focus {
      border-color: var(--color-cyan-400);
    }
  }
  .focus\:ring-2 {
    &:focus {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus\:ring-\[var\(--primary-soft\)\] {
    &:focus {
      --tw-ring-color: var(--primary-soft);
    }
  }
  .focus\:ring-cyan-900\/40 {
    &:focus {
      --tw-ring-color: color-mix(in srgb, oklch(39.8% 0.07 227.392) 40%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--color-cyan-900) 40%, transparent);
      }
    }
  }
  .disabled\:cursor-not-allowed {
    &:disabled {
      cursor: not-allowed;
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .disabled\:opacity-60 {
    &:disabled {
      opacity: 60%;
    }
  }
  .disabled\:opacity-70 {
    &:disabled {
      opacity: 70%;
    }
  }
  .sm\:h-28 {
    @media (width >= 40rem) {
      height: calc(var(--spacing) * 28);
    }
  }
  .sm\:w-28 {
    @media (width >= 40rem) {
      width: calc(var(--spacing) * 28);
    }
  }
  .sm\:grid-cols-2 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .sm\:flex-row {
    @media (width >= 40rem) {
      flex-direction: row;
    }
  }
  .sm\:items-center {
    @media (width >= 40rem) {
      align-items: center;
    }
  }
  .sm\:justify-between {
    @media (width >= 40rem) {
      justify-content: space-between;
    }
  }
  .md\:col-span-2 {
    @media (width >= 48rem) {
      grid-column: span 2 / span 2;
    }
  }
  .md\:max-w-\[360px\] {
    @media (width >= 48rem) {
      max-width: 360px;
    }
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-\[96px_minmax\(0\,1fr\)_220px_auto\] {
    @media (width >= 48rem) {
      grid-template-columns: 96px minmax(0,1fr) 220px auto;
    }
  }
  .md\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
    @media (width >= 48rem) {
      grid-template-columns: minmax(0,1fr) auto;
    }
  }
  .md\:flex-row {
    @media (width >= 48rem) {
      flex-direction: row;
    }
  }
  .md\:items-center {
    @media (width >= 48rem) {
      align-items: center;
    }
  }
  .md\:items-end {
    @media (width >= 48rem) {
      align-items: flex-end;
    }
  }
  .md\:items-start {
    @media (width >= 48rem) {
      align-items: flex-start;
    }
  }
  .md\:justify-between {
    @media (width >= 48rem) {
      justify-content: space-between;
    }
  }
  .lg\:sticky {
    @media (width >= 64rem) {
      position: sticky;
    }
  }
  .lg\:top-0 {
    @media (width >= 64rem) {
      top: calc(var(--spacing) * 0);
    }
  }
  .lg\:grid {
    @media (width >= 64rem) {
      display: grid;
    }
  }
  .lg\:hidden {
    @media (width >= 64rem) {
      display: none;
    }
  }
  .lg\:inline-flex {
    @media (width >= 64rem) {
      display: inline-flex;
    }
  }
  .lg\:w-\[260px\] {
    @media (width >= 64rem) {
      width: 260px;
    }
  }
  .lg\:translate-x-0 {
    @media (width >= 64rem) {
      --tw-translate-x: calc(var(--spacing) * 0);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
  }
  .lg\:grid-cols-\[320px_minmax\(0\,1fr\)\] {
    @media (width >= 64rem) {
      grid-template-columns: 320px minmax(0,1fr);
    }
  }
  .lg\:grid-cols-\[auto_minmax\(0\,1fr\)\] {
    @media (width >= 64rem) {
      grid-template-columns: auto minmax(0,1fr);
    }
  }
  .lg\:flex-row {
    @media (width >= 64rem) {
      flex-direction: row;
    }
  }
  .lg\:items-start {
    @media (width >= 64rem) {
      align-items: flex-start;
    }
  }
  .lg\:justify-between {
    @media (width >= 64rem) {
      justify-content: space-between;
    }
  }
  .lg\:p-3 {
    @media (width >= 64rem) {
      padding: calc(var(--spacing) * 3);
    }
  }
  .lg\:px-8 {
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
  .lg\:pt-8 {
    @media (width >= 64rem) {
      padding-top: calc(var(--spacing) * 8);
    }
  }
  .lg\:shadow-none {
    @media (width >= 64rem) {
      --tw-shadow: 0 0 #0000;
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .xl\:grid-cols-3 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-4 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1\.2fr\)_repeat\(4\,minmax\(0\,1fr\)\)\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1.2fr) repeat(4,minmax(0,1fr));
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1fr\)_380px\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1fr) 380px;
    }
  }
}
:root {
  --color-blue-50: #f0fbfd;
  --color-blue-100: #d9f4f9;
  --color-blue-200: #b5eaf3;
  --color-blue-300: #86dbec;
  --color-blue-400: #4ec7e1;
  --color-blue-500: #26adc9;
  --color-blue-600: #1c90aa;
  --color-blue-700: #18748b;
  --color-blue-800: #155d70;
  --color-blue-900: #124b59;
  --color-blue-950: #0b303b;
  --color-green-500: #1bb888;
  --color-indigo-500: #6874e0;
  --color-purple-500: #8c61db;
  --color-teal-500: #2b9e98;
  --color-orange-500: #f2773a;
  --color-amber-500: #e29413;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #364254;
  --color-gray-800: #273244;
  --color-gray-900: #1f2a3a;
  --color-gray-950: #121826;
  --background: #f4f8ff;
  --foreground: #1f2a3a;
  --surface: #ffffff;
  --surface-muted: #f8fbff;
  --border: #d9e3f1;
  --text-muted: #506384;
  --primary: var(--color-blue-700);
  --primary-hover: var(--color-blue-800);
  --primary-soft: var(--color-blue-100);
  --danger: #b42318;
  --sidebar-width: 260px;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--foreground);
  background: radial-gradient(circle at top, #dceeff, var(--background) 45%, #ffffff);
}
[data-theme="dark"] {
  --background: #0f1722;
  --foreground: #e2e8f0;
  --surface: #172334;
  --surface-muted: #1b2a3d;
  --border: #2e4057;
  --text-muted: #9db0cb;
  --primary: #4ec7e1;
  --primary-hover: #86dbec;
  --primary-soft: #173647;
  --danger: #f97066;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}
.langSwitch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  padding: 0.16rem;
}
.langIcon {
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  margin-left: 0.2rem;
}
.langIcon svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
}
.langButton {
  border: 0;
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 2.15rem;
  color: var(--text-muted);
}
.langButton.active {
  background: var(--surface);
  color: var(--foreground);
  box-shadow: 0 2px 7px rgba(10, 38, 78, 0.12);
}
[data-theme="dark"] .langSwitch {
  background: #1f2e41;
  border-color: #324760;
}
[data-theme="dark"] .langButton {
  color: #c7d5e8;
}
[data-theme="dark"] .langButton:hover {
  background: rgba(78, 199, 225, 0.14);
  color: #e6f1ff;
}
[data-theme="dark"] .langButton.active {
  background: #2e90fa;
  color: #f8fbff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 3.5rem 2rem 2rem;
}
.card {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(10, 38, 78, 0.15);
  padding: 1.5rem;
  width: min(800px, 100%);
}
.wide {
  width: min(1180px, 100%);
}
.caseDetailWide {
  width: min(1320px, 100%);
}
.stack {
  display: grid;
  gap: 1rem;
}
.compact {
  gap: 0.35rem;
}
.row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.between {
  justify-content: space-between;
}
.grow {
  flex: 1;
}
input,
select,
button {
  font: inherit;
}
input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  color: var(--foreground);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  color: inherit;
  background: var(--surface);
  cursor: pointer;
  text-decoration: none;
}
.button.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.button.dangerButton {
  border-color: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--danger) 55%, var(--border));
  }
  color: var(--danger);
}
.seriesCategorySelect {
  min-width: 0;
  height: 2.15rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
.iconTrash {
  width: 1rem;
  height: 1rem;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.caseCard,
.message,
.thread {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.caseCard,
.message {
  padding: 0.8rem;
}
.questionnairePage {
  align-items: start;
}
.questionnaireShell {
  background: #eceff6;
  border: 1px solid #dde3ef;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(17, 35, 60, 0.08);
  padding: 1.35rem;
}
.questionnaireShellEmbedded {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.questionnaireHeader {
  align-items: start;
  gap: 1rem;
}
.questionnairePicker {
  width: min(540px, 100%);
}
.linkButtonSlim {
  border: 0;
  background: transparent;
  color: var(--primary);
  text-decoration: underline;
  padding: 0.2rem;
}
[data-theme="dark"] .questionnaireShell {
  background: #111a27;
  border-color: #2a3b52;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.thread {
  display: grid;
  gap: 0.7rem;
  padding: 0.8rem;
  max-height: 420px;
  overflow-y: auto;
}
.viewerPanel {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
  background: var(--surface);
}
.viewerSeriesPicker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}
.viewerSeriesGroupSection {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-muted) 52%, var(--surface));
  }
  padding: 0.4rem;
  display: grid;
  gap: 0.35rem;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
}
.viewerSeriesGroupHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.1rem 0.18rem 0.24rem;
  border-bottom: 1px solid var(--border);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  }
}
.viewerSeriesGroupLabel {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--foreground);
}
.viewerSeriesGroupCount {
  min-width: 1.5rem;
  height: 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
}
.viewerSeriesGroupGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, max-content));
  justify-content: start;
  gap: 0.42rem;
}
.viewerSeriesDockCard {
  display: grid;
  gap: 0.3rem;
}
.viewerSeriesDockActions {
  display: flex;
}
.viewerSeriesDockActions .button {
  width: 100%;
}
.viewerSeriesButton {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  padding: 0.32rem;
  text-align: left;
  display: inline-block;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
.viewerSeriesButton:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}
.viewerSeriesButton:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.viewerSeriesButton.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 1px var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
  }
}
.viewerSeriesButton:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.viewerSeriesMeta {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.viewerSeriesButton .viewerSeriesThumb {
  width: 84px;
  height: 84px;
  aspect-ratio: auto;
  position: relative;
  flex-shrink: 1;
  border: 0;
  border-radius: 8px;
}
.viewerSeriesFallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-transform: uppercase;
  background: linear-gradient(140deg, rgba(16, 26, 36, 0.8), rgba(40, 58, 72, 0.55)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.09) 0 6px, rgba(255, 255, 255, 0.04) 6px 12px);
}
.viewerSeriesStack {
  position: absolute;
  right: 0.34rem;
  bottom: 0.34rem;
  width: 0.92rem;
  height: 0.74rem;
}
.viewerSeriesStack span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  background: rgba(8, 14, 22, 0.42);
}
.viewerSeriesStack span:nth-child(1) {
  inset: 0.22rem 0 0 0.18rem;
}
.viewerSeriesStack span:nth-child(2) {
  inset: 0.12rem 0.1rem 0.1rem 0.08rem;
}
.viewerSeriesStack span:nth-child(3) {
  inset: 0;
}
.viewerSeriesCount {
  position: absolute;
  left: 0.34rem;
  bottom: 0.34rem;
  min-width: 1.3rem;
  height: 1rem;
  padding: 0 0.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(8, 14, 22, 0.62);
  color: #f7fbff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
}
.viewerSeriesMediaBadge {
  position: absolute;
  right: 0.34rem;
  bottom: 0.34rem;
  height: 1.2rem;
  padding: 0 0.34rem 0 0.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(8, 14, 22, 0.68);
  color: #f7fbff;
  line-height: 1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.viewerSeriesMediaBadgeIcon {
  width: 0.68rem;
  height: 0.68rem;
  display: block;
}
.viewerControls {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: var(--surface-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-muted) 70%, transparent);
  }
}
.viewerSeriesInfo {
  margin: 0;
}
.viewerNativeSliceBar {
  margin-top: 0.28rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.42rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  border-radius: 6px;
  background: #020202;
  color: #dbeafe;
}
.viewerNativeSliceCount {
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
  min-width: 2.9rem;
}
.viewerNativeSliceBar input[type="range"] {
  margin: 0;
  height: 0.72rem;
}
.undockedInfo {
  display: grid;
  gap: 0.55rem;
  background: var(--surface-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-muted) 65%, var(--surface));
  }
}
.caseUndockedShell {
  max-width: min(1280px, 100%);
}
.casePopupPage {
  min-height: 100vh;
  padding: 0.35rem;
  background: var(--background);
}
.casePopupShell {
  width: 100%;
  height: calc(100vh - 0.7rem);
  max-height: calc(100vh - 0.7rem);
  max-width: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(10, 38, 78, 0.1);
  padding: 0.7rem;
  overflow: auto;
}
.casePopupShellViewer {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
}
.casePopupImageRegion {
  flex: 1 1 auto;
  min-height: 0;
}
.casePopupShellViewer .viewerFrame {
  height: 100%;
  min-height: 0;
}
.casePopupShellViewer .fadeImage {
  height: 100%;
}
.casePopupShellViewer .viewerImage {
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  background: var(--surface-muted);
}
.viewerFeaturedActions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.viewerMiniButton {
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
}
.viewerAxisGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.viewerAxisControl {
  gap: 0.2rem;
}
.sidebarNavLink {
  text-decoration: none;
}
.adminRoot {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: linear-gradient(145deg, #f4f7ff 0%, #ffffff 60%);
}
.adminSidebar {
  border-right: 1px solid var(--border);
  background: #13202f;
  color: #e8f0fa;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.adminNav {
  display: grid;
  gap: 0.45rem;
}
.adminNavItem {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  color: inherit;
  text-decoration: none;
}
.adminNavItem.active {
  border-color: #7fd3ff;
  background: rgba(127, 211, 255, 0.16);
}
.adminMain {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.adminHeader {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}
.adminCard {
  width: 100%;
}
.adminStats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.75rem;
}
.adminActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.adminFormGrid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.adminWideField {
  grid-column: 1 / -1;
}
.adminMultiSelect {
  min-height: 6rem;
}
.adminTextarea {
  width: 100%;
  min-height: 6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  background: var(--surface);
  color: var(--foreground);
  font: inherit;
}
.adminUserCell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}
.adminUserList {
  display: grid;
  gap: 0.7rem;
}
.adminUserPanel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.adminUserSummary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: var(--surface-muted);
}
.adminUserSummary::-webkit-details-marker {
  display: none;
}
.adminUserSummaryMeta {
  display: grid;
  gap: 0.1rem;
}
.adminUserPanelBody {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}
.adminUserControls {
  border-top: 1px dashed var(--border);
  padding-top: 0.65rem;
}
.adminTenantList {
  display: grid;
  gap: 0.7rem;
}
.adminTenantClinicList {
  display: grid;
  gap: 0.6rem;
}
.adminClinicPanel {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  overflow: hidden;
}
.adminClinicSummary {
  list-style: none;
  cursor: pointer;
  padding: 0.55rem 0.65rem;
}
.adminClinicSummary::-webkit-details-marker {
  display: none;
}
.adminClinicPanelBody {
  padding: 0.65rem;
  display: grid;
  gap: 0.65rem;
}
.adminQuestionList {
  display: grid;
  gap: 0.65rem;
}
.adminQuestionPanel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-muted);
  overflow: hidden;
}
.adminQuestionSummary {
  list-style: none;
  cursor: pointer;
  padding: 0.65rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.adminQuestionSummary::-webkit-details-marker {
  display: none;
}
.adminQuestionBody {
  border-top: 1px solid var(--border);
  padding: 0.75rem;
  background: var(--surface);
}
.adminUserEditor {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem;
  background: var(--surface-muted);
}
.adminUserHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.adminUserGrid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.adminUserGrid details {
  grid-column: 1 / -1;
}
.adminClinicRow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem;
}
.adminAvatar,
.adminLogo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid var(--border);
}
.adminAvatarFallback {
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--surface-muted);
}
.tableWrap {
  overflow-x: auto;
}
.adminTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.adminTable th,
.adminTable td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  padding: 0.55rem;
  vertical-align: top;
}
.success {
  color: #0f7a53;
}
@media (max-width: 980px) {
  .adminRoot {
    grid-template-columns: 1fr;
  }
  .adminSidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}
.hiddenInput {
  display: none;
}
.viewerGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.viewerLayout {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr);
  align-items: start;
}
.viewerLayout.withMprCompact {
  grid-template-columns: minmax(0, 2.45fr) minmax(180px, 0.55fr);
}
.viewerLayout.single {
  grid-template-columns: 1fr;
}
.viewerSecondaryGrid {
  display: grid;
  gap: 0.8rem;
}
.viewerSecondaryGridCompact {
  gap: 0.55rem;
}
.viewerSplitGrid {
  display: grid;
  gap: 0.65rem;
}
.viewerSplitGrid.double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.viewerSplitGrid.quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.viewerSplitCard {
  padding: 0.45rem;
  gap: 0.45rem;
}
.viewerSplitHeader {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.viewerSplitTitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.viewerSplitSeriesSelect {
  height: 1.9rem;
  padding: 0 0.45rem;
  font-size: 0.74rem;
}
.viewerSplitCard .viewerImage {
  min-height: 185px;
  max-height: 31vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.viewerSplitLocatorBadge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 5;
  border: 1px solid rgba(247, 144, 9, 0.65);
  background: rgba(10, 15, 25, 0.66);
  color: #f8fafc;
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
  font-size: 0.66rem;
  line-height: 1.2;
}
.viewerSplitPlaceholder {
  min-height: 185px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--surface-muted);
}
.viewerSplitCutlineSvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 0 4px rgba(247, 144, 9, 0.55));
}
.viewerSeriesGroupHint {
  display: none;
}
.imageCard {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  display: grid;
  gap: 0.5rem;
}
.imageCardPrimary {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.viewerCardHeaderRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.viewerCardHeaderRow h3 {
  margin: 0;
}
.viewerCardHeaderMeta {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 0.4rem;
}
.viewerHeaderCategorySelect {
  width: 158px;
  min-width: 158px;
  max-width: 158px;
  margin-left: auto;
}
.imageCardSecondary {
  padding: 0.6rem;
}
.imageCardPrimary .viewerImage {
  min-height: 440px;
  max-height: 60vh;
  -o-object-fit: contain;
     object-fit: contain;
  background: var(--surface-muted);
}
.imageCardSecondary .viewerImage {
  min-height: 205px;
  -o-object-fit: contain;
     object-fit: contain;
  background: var(--surface-muted);
}
.imageCardSecondaryCompact {
  padding: 0.5rem;
  gap: 0.35rem;
}
.imageCardSecondaryCompact .viewerImage {
  min-height: 110px;
  max-height: 22vh;
}
.viewerMprHint {
  margin: 0;
  line-height: 1.25;
}
.viewerMprDerivedCard {
  border-style: dashed;
}
.viewerImage {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}
.viewerFrame {
  position: relative;
  border-radius: 10px;
  cursor: crosshair;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  overscroll-behavior: none;
  touch-action: none;
  overflow: hidden;
}
.viewerFrameDocument {
  min-height: 360px;
  cursor: default;
  background: #05070b;
  border: 1px solid var(--border);
}
.viewerDocumentFrame {
  width: 100%;
  min-height: 360px;
  height: 62vh;
  border: 0;
  background: #fff;
}
.viewerVideoPlayer {
  width: 100%;
  min-height: 360px;
  max-height: 62vh;
  display: block;
  background: #000;
}
.bg-black {
  background: #020202;
}
.viewerFrame.bg-black .viewerImage {
  background: #000;
  border-color: #0f172a;
}
.viewerFramePanMode {
  cursor: grab;
}
.viewerFramePanMode:active {
  cursor: grabbing;
}
.viewerPanLayer,
.viewerZoomLayer {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.viewerPanLayer {
  transform-origin: top left;
}
.viewerZoomLayer {
  transform-origin: center center;
}
.viewerLogoOverlay {
  position: absolute;
  top: 0.55rem;
  left: 0.6rem;
  z-index: 12;
  width: min(31vw, 150px);
  max-width: 42%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.viewerLogoOverlay svg {
  width: 100%;
  height: auto;
  display: block;
}
.viewerFloatingPanel {
  position: absolute;
  z-index: 26;
  width: min(220px, calc(100% - 1.2rem));
  min-width: 220px;
  max-width: calc(100% - 1.2rem);
  max-height: calc(100% - 1.2rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.55rem;
  border: 1px solid #374151;
  border-radius: 10px;
  background: rgba(5, 10, 18, 0.88);
  backdrop-filter: blur(3px);
  resize: horizontal;
}
.viewerFloatingPanel .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.viewerFloatingPanel .button {
  border-color: #2f3d53;
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.viewerFloatingPanel .row > .button {
  flex: 1 1 6.5rem;
}
.viewerFloatingPanel .button.primary {
  background: var(--primary);
  color: #fff;
}
.viewerFloatingPanel .muted {
  color: #cbd5e1;
}
.viewerFloatingPanel .annotationMainButton {
  background: rgba(15, 23, 42, 0.76);
  border-color: #304056;
  color: #e2e8f0;
}
.viewerFloatingPanel input:not([type="range"]),
.viewerFloatingPanel select,
.viewerFloatingPanel textarea {
  background: rgba(15, 23, 42, 0.88);
  border-color: #304056;
  color: #e2e8f0;
}
.viewerFloatingPanel input::-moz-placeholder, .viewerFloatingPanel textarea::-moz-placeholder {
  color: #94a3b8;
}
.viewerFloatingPanel input::placeholder,
.viewerFloatingPanel textarea::placeholder {
  color: #94a3b8;
}
.viewerFloatingPanel .annotationToolbarCompact {
  grid-template-columns: 1fr;
}
.viewerFloatingPanel .annotationToolbarCompactTwo {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  align-items: center;
}
.viewerFloatingPanel .annotationToolbarCompactOne {
  grid-template-columns: 1fr !important;
}
.annotationSelectCompactSm {
  font-size: 0.9rem;
  padding: 0.45rem 0.55rem;
}
.annotationColorRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.annotationColorSwatch {
  width: 1.45rem;
  min-width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.55);
  cursor: pointer;
  padding: 0;
}
.annotationColorSwatch.active {
  border-color: #f8fafc;
  box-shadow: 0 0 0 1px rgba(30, 41, 59, 0.9);
}
.annotationCustomColor {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 1.7rem;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.55);
  overflow: hidden;
}
.annotationRainbowSwatch {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: conic-gradient(
    #ef4444 0deg,
    #f97316 50deg,
    #facc15 95deg,
    #22c55e 145deg,
    #2e90fa 215deg,
    #6366f1 275deg,
    #ec4899 330deg,
    #ef4444 360deg
  );
}
.annotationCustomColor input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.annotationTextareaCompact {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 4.8rem;
  resize: vertical;
  display: block;
}
.viewerFloatingPanel .viewerFeaturedActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.viewerFloatingPanel .viewerFeaturedActions .button {
  flex: 1 1 7.25rem;
}
.viewerFloatingPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 0.25rem 0.35rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}
.viewerDragHandle {
  width: 1.8rem;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  cursor: move;
}
.viewerFloatingHeaderActions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.viewerCollapseToggle {
  width: 1.8rem;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0;
}
.viewerSetFeaturedPanel {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(71, 85, 105, 0.45);
}
.viewerSelectedAnnotation {
  border: 1px solid rgba(71, 85, 105, 0.55);
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  background: rgba(15, 23, 42, 0.72);
}
.viewerSetFeaturedPanel .viewerFeaturedActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}
.fadeImage {
  position: relative;
}
.fadeImageLayer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 110ms ease-out;
}
.fadeImageLayer.visible {
  opacity: 1;
}
.annotationLayer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.annotationToolbar {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  background: var(--surface-muted);
}
.annotationSelected {
  border-color: var(--primary);
}
.annotationPanelCompact {
  border-top: 1px solid var(--border);
  padding-top: 0.55rem;
}
.annotationToolbarCompact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}
.annotationToolbarCompact + .annotationToolbarCompact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.viewerToolsPanel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
  padding: 0.55rem;
}
.viewerSliderGrid {
  display: grid;
  gap: 0.45rem;
}
.viewerFloatingPanel .viewerSliderGridCompact {
  gap: 0.25rem;
}
.viewerFloatingPanel .viewerSliderControl {
  gap: 0.08rem;
}
.viewerFloatingPanel .viewerSliderLabel {
  font-size: 0.7rem;
  line-height: 1.05;
}
.viewerFloatingPanel .viewerSliderGridCompact input[type="range"] {
  margin: 0;
  height: 0.85rem;
}
.viewerFloatingPanel .viewerSliderGridCompact input[type="range"]::-webkit-slider-runnable-track {
  height: 0.3rem;
}
.viewerFloatingPanel .viewerSliderGridCompact input[type="range"]::-webkit-slider-thumb {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: -0.3rem;
}
.viewerFloatingPanel .viewerSliderGridCompact input[type="range"]::-moz-range-track {
  height: 0.3rem;
}
.viewerFloatingPanel .viewerSliderGridCompact input[type="range"]::-moz-range-thumb {
  width: 0.9rem;
  height: 0.9rem;
}
.annotationSelectCompact,
.annotationInputCompact {
  min-width: 0;
  width: 100%;
  height: 2rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.82rem;
}
.annotationListCompact {
  display: grid;
  gap: 0.35rem;
  min-height: 7.6rem;
  max-height: 10.2rem;
  overflow-y: auto;
  padding-right: 0.12rem;
  align-content: start;
}
.annotationItemCompact {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-muted) 80%, transparent);
  }
  padding: 0.38rem 0.45rem;
  display: grid;
  gap: 0.3rem;
}
.annotationItemCompact.active {
  border-color: var(--primary);
}
.annotationMainButton {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-size: 0.79rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.annotationDot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.annotationItemActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.annotationEmptyHint {
  min-height: 7.2rem;
  display: flex;
  align-items: center;
}
.annotationOverviewDetails {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-muted) 75%, transparent);
  }
  padding: 0.34rem 0.46rem;
}
.annotationOverviewSummary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.annotationOverviewList {
  margin-top: 0.42rem;
  max-height: 8.6rem;
  overflow-y: auto;
  display: grid;
  gap: 0.28rem;
}
.annotationOverviewItem {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  padding: 0.3rem 0.42rem;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.34rem;
  cursor: pointer;
}
.annotationOverviewText {
  font-size: 0.74rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.annotationOverviewStatus {
  font-size: 0.66rem;
  border-radius: 999px;
  padding: 0.05rem 0.36rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.annotationOverviewStatus.active {
  color: #0f7a53;
  border-color: #0f7a53;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, #0f7a53 45%, var(--border));
  }
}
.annotationOverviewStatus.resolved {
  color: #64748b;
}
.badge {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
}
.error {
  color: var(--danger);
}
.muted {
  color: var(--text-muted);
}
.tiny {
  font-size: 0.8rem;
}
.dashboardPage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--background) 70%);
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 40%, var(--background)) 0%, var(--background) 70%);
  }
}
.sidebarMobileToggle {
  display: none;
}
.sidebarMobileBackdrop {
  display: none;
}
.dashboardSidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: var(--sidebar-width);
  border-right: 1px solid var(--border);
  background: var(--surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface) 94%, transparent);
  }
  padding: 1rem 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.sidebarTop {
  flex: 1;
  gap: 0.85rem;
}
.sidebarBottom {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  gap: 0.72rem;
}
.sidebarBrand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.2rem 0.35rem 0.55rem;
  border-bottom: 1px solid var(--border);
}
.sidebarBrandLogo {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--primary-soft);
  color: var(--primary);
}
.sidebarBadge {
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.sidebarBrandTitle {
  white-space: nowrap;
}
.sidebarCollapseToggle {
  margin-left: auto;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.sidebarCollapseToggle svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebarUserCard {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 1.45rem 0.4rem 1.25rem;
  display: grid;
  gap: 0.46rem;
  justify-items: center;
  background: transparent;
}
.avatarCircle {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
}
.avatarImage {
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.sidebarUserName {
  font-weight: 700;
  font-size: 1.02rem;
}
.sidebarUserMetaRow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
  font-size: 0.74rem;
  line-height: 1.2;
  color: var(--foreground);
}
.sidebarUserRolePill {
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-muted) 80%, var(--surface));
  }
  color: var(--text-muted);
  font-weight: 600;
}
.sidebarUserMetaAction {
  border: 1px solid var(--border);
  background: var(--surface-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-muted) 75%, transparent);
  }
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  margin: 0;
  font: inherit;
  color: var(--foreground);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 130ms ease, color 130ms ease, background-color 130ms ease;
}
.sidebarUserMetaAction:hover {
  border-color: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  }
  color: var(--primary);
  background: var(--primary-soft);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary-soft) 30%, var(--surface));
  }
}
.sidebarUserMetaAction.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary-soft) 54%, var(--surface));
  }
}
.sidebarNavItem {
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  padding: 0.44rem 0.62rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-align: left;
  cursor: pointer;
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}
.sidebarNavIcon {
  width: 1.03rem;
  height: 1.03rem;
  color: var(--text-muted);
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
}
.sidebarNavIcon svg {
  width: 1.03rem;
  height: 1.03rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebarNavItem:hover {
  border-color: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  }
  background: var(--primary-soft);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary-soft) 50%, var(--surface));
  }
  transform: translateX(1px);
}
.sidebarNavItem.active {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.sidebarNavItem.active .sidebarNavIcon {
  color: var(--primary);
}
.sidebarNavLabel {
  white-space: nowrap;
}
.sidebarPrimaryCta {
  width: 100%;
  min-height: 2.2rem;
  border-radius: 10px;
  font-weight: 700;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}
.sidebarAction {
  width: 100%;
}
.sidebarMetaLinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}
.sidebarMetaLink {
  font-size: 0.83rem;
  color: var(--text-muted);
  text-decoration: none;
}
.sidebarBottomDivider {
  height: 1px;
  width: 100%;
  background: var(--border);
}
.sidebarMetaLink:hover {
  color: var(--primary);
}
.sidebarCopyright {
  display: grid;
  gap: 0.1rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--text-muted) 88%, #8aa0bf);
  }
}
.profileShell {
  width: min(1080px, 100%);
  display: grid;
  gap: 1rem;
}
.profileTopBar {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.profileLayout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}
.profileImageCard {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface) 96%, transparent);
  }
  padding: 0.85rem;
  display: grid;
  gap: 0.7rem;
}
.profileImageLarge {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid var(--border);
  -o-object-fit: cover;
     object-fit: cover;
  background: var(--surface-muted);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-weight: 700;
}
.profileIdentity {
  display: grid;
  gap: 0.2rem;
}
.profileIdentityName {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.profileFormCard {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface) 96%, transparent);
  }
  padding: 0.85rem;
}
.profileFormGrid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profileActionRow {
  margin-top: 0.3rem;
}
.profileNoticeCard {
  width: 100%;
}
.dashboardMain {
  padding: 1.25rem 1.5rem 1.5rem;
  background: linear-gradient(
    180deg,
    var(--primary-soft) 0%,
    var(--background) 42%,
    var(--background) 100%
  );
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primary-soft) 26%, var(--background)) 0%,
    color-mix(in srgb, var(--background) 92%, var(--surface)) 42%,
    var(--background) 100%
  );
  }
}
[data-theme="dark"] .dashboardMain {
  background: linear-gradient(180deg, #0f1722 0%, #0d1620 44%, #0b141d 100%);
}
.dashboardStats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.statCard {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  background: var(--surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface) 95%, transparent);
  }
}
.statValue {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--foreground);
}
.dashboardForm {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(220px, 0.95fr) minmax(170px, 0.7fr) auto;
  align-items: center;
  gap: 0.65rem;
}
.dashboardCaseTitleInput,
.dashboardCaseGenderSelect,
.dashboardCaseBirthInput {
  width: 100%;
  min-width: 0;
}
.dashboardCaseCreateButton {
  white-space: nowrap;
}
.createCasePageMain {
  display: block;
}
.createCasePageCard {
  width: min(920px, 100%);
}
.createCasePageHeader {
  align-items: flex-start;
}
.createCaseBackButton {
  width: -moz-fit-content;
  width: fit-content;
}
.createCasePageForm {
  grid-template-columns: 1fr;
  max-width: 520px;
}
.createCasePageForm .dashboardCaseCreateButton {
  width: 100%;
  white-space: normal;
}
.pillButton {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--foreground);
  padding: 0.3rem 0.75rem;
  cursor: pointer;
}
.pillButton.active {
  background: var(--primary-soft);
  border-color: var(--primary);
}
.caseDashboardGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
@media (min-width: 1700px) {
  .dashboardMain {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .caseDashboardGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.caseDashboardCard {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem;
  background: var(--surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface) 97%, transparent);
  }
  display: flex;
  gap: 0.85rem;
}
.caseDashboardLink {
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.caseDashboardLink:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(10, 38, 78, 0.1);
}
.caseDashboardLink:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.sidebarThemeSwitch {
  width: 100%;
}
.themeSwitch {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-muted);
  color: var(--foreground);
  min-height: 2.45rem;
  width: 100%;
  padding: 0.24rem 0.42rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.themeSwitch:hover {
  border-color: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  }
  transform: translateY(-1px);
}
.themeSwitchTrack {
  width: 3.45rem;
  height: 1.85rem;
  border-radius: 999px;
  position: relative;
  background: linear-gradient(135deg, #ffd66b 0%, #ff9d3e 100%);
  border: 1px solid rgba(24, 116, 139, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.themeSwitchSun,
.themeSwitchMoon {
  position: absolute;
  top: 50%;
  width: 0.94rem;
  height: 0.94rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}
.themeSwitchSun {
  left: 0.36rem;
  color: #6d2b03;
  opacity: 1;
}
.themeSwitchMoon {
  right: 0.34rem;
  color: #2f3f56;
  opacity: 0.9;
}
.themeSwitchSun svg,
.themeSwitchMoon svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.themeSwitchThumb {
  position: absolute;
  top: 50%;
  left: 0.12rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.3);
  transform: translate(0, -50%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), background-color 200ms ease;
}
.themeSwitchLabel {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 88%, var(--text-muted));
  }
  letter-spacing: 0.01em;
}
.themeSwitch.isDark .themeSwitchTrack {
  background: linear-gradient(135deg, #173251 0%, #0e1c2e 100%);
  border-color: rgba(148, 163, 184, 0.44);
}
.themeSwitch.isDark .themeSwitchThumb {
  transform: translate(1.76rem, -50%);
  background: #f5f9ff;
  border-color: rgba(30, 64, 175, 0.2);
}
.themeSwitch.isDark .themeSwitchSun {
  color: #f8d27d;
  opacity: 0.55;
}
.themeSwitch.isDark .themeSwitchMoon {
  color: #e5edf9;
  opacity: 1;
}
.themeSwitch.isDark .themeSwitchLabel {
  color: #e5edf9;
}
.sidebarControlGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
}
.sidebarLanguageLabel {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.sidebarThemeLabel {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.sidebarLangSwitch .langSwitch {
  display: flex;
  width: 100%;
}
.dashboardSidebar.collapsed {
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}
.dashboardSidebar.collapsed .sidebarBrandTitle,
.dashboardSidebar.collapsed .sidebarBadge,
.dashboardSidebar.collapsed .sidebarUserName,
.dashboardSidebar.collapsed .sidebarUserMetaRow,
.dashboardSidebar.collapsed .sidebarNavLabel,
.dashboardSidebar.collapsed .sidebarPrimaryCta,
.dashboardSidebar.collapsed .sidebarLanguageLabel,
.dashboardSidebar.collapsed .sidebarThemeLabel,
.dashboardSidebar.collapsed .sidebarMetaLinks,
.dashboardSidebar.collapsed .themeSwitchLabel,
.dashboardSidebar.collapsed .sidebarLangSwitch,
.dashboardSidebar.collapsed .sidebarCopyright {
  display: none;
}
.dashboardSidebar.collapsed .sidebarBrand {
  gap: 0.45rem;
}
.dashboardSidebar.collapsed .sidebarCollapseToggle {
  margin-left: 0;
}
.dashboardSidebar.collapsed .sidebarUserCard {
  justify-items: center;
  padding: 0.75rem 0.2rem;
}
.dashboardSidebar.collapsed .avatarCircle {
  width: 2.55rem;
  height: 2.55rem;
}
.dashboardSidebar.collapsed .sidebarNavItem {
  justify-content: center;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
.dashboardSidebar.collapsed .sidebarBottom {
  align-items: center;
}
.dashboardSidebar.collapsed .sidebarBottomDivider {
  width: 1.8rem;
}
.profileMain {
  align-content: start;
}
.aboutPage {
  width: min(980px, 100%);
  display: grid;
  gap: 1.1rem;
}
.aboutTitle {
  font-size: 1.9rem;
  line-height: 1.2;
}
.aboutSubtitle {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 72ch;
}
.aboutSections {
  display: grid;
  gap: 1.6rem;
}
.aboutSectionTitle {
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
}
.aboutText {
  font-size: 0.9rem;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 85%, var(--text-muted));
  }
  line-height: 1.65;
}
.aboutList {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 85%, var(--text-muted));
  }
}
.aboutPartnerIntro {
  margin-bottom: 1rem;
}
.aboutPartnerGroup {
  margin-bottom: 1.4rem;
}
.aboutPartnerLabel {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}
.aboutSponsorGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.aboutPartnerSingle {
  display: grid;
  justify-items: center;
}
.aboutPartnerSingle .aboutLogoCard {
  width: min(100%, 460px);
}
.aboutLogoCard {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
  min-height: 176px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.aboutLogoWrap {
  display: flex;
  flex: 1;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.aboutLogoWrapWide {
  max-width: 220px;
}
.aboutLogoWrapNarrow {
  max-width: 150px;
}
.aboutLogoImage {
  display: block;
  width: 100%;
  max-height: 86px;
  -o-object-fit: contain;
     object-fit: contain;
}
.aboutLogoName {
  margin-top: 0.8rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  color: #1f2937;
}
[data-theme="dark"] .aboutLogoCard {
  background: #ffffff;
}
.aboutNote {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-style: italic;
}
.aboutImprint {
  margin-top: 0.25rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
}
.aboutImprintTitle {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}
.aboutAddress {
  font-style: normal;
  display: grid;
  gap: 0.16rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 85%, var(--text-muted));
  }
}
.aboutAddressBlock {
  margin-top: 0.5rem;
}
.aboutAddressLabel {
  font-size: 0.76rem;
  font-weight: 700;
}
.aboutEmailLink {
  color: var(--primary);
  text-decoration: none;
}
.aboutEmailLink:hover {
  text-decoration: underline;
}
.aboutImprintLegal {
  margin-top: 0.6rem;
  font-size: 0.75rem;
}
.aboutBetaNotice {
  margin-top: 0.2rem;
  border: 1px solid var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--border));
  }
  background: var(--primary-soft);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary-soft) 62%, var(--surface));
  }
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.76rem;
  color: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--primary) 60%, #0f172a);
  }
}
.aboutBetaNotice strong {
  font-weight: 700;
}
.caseDetailCard {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  gap: 0.72rem;
}
.caseDetailCard h1 {
  font-size: 1.25rem;
  line-height: 1.2;
}
.caseDetailCard h2 {
  font-size: 1.04rem;
  line-height: 1.2;
}
.caseDetailCard h3 {
  font-size: 0.9rem;
  line-height: 1.2;
}
.caseDetailCard .stack {
  gap: 0.72rem;
}
.caseDetailCard .compact {
  gap: 0.24rem;
}
.caseDetailCard .button {
  padding: 0.45rem 0.68rem;
  font-size: 0.86rem;
}
.caseDetailCard .viewerMiniButton {
  padding: 0.28rem 0.5rem;
  font-size: 0.75rem;
}
.caseDetailCard .caseCard,
.caseDetailCard .viewerPanel {
  padding: 0.62rem;
  border-radius: 9px;
}
.caseDetailCard .caseTitleCardShell {
  padding: 0.5rem 0.58rem;
}
.caseTitleRow {
  align-items: center;
  gap: 0.45rem;
}
.caseTitleRow h2 {
  margin: 0;
  min-width: 0;
  font-size: 1.04rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.caseTitleMetaLine {
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.caseTitleEditButton {
  width: 2.2rem;
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  border-color: #7aa2d6;
  background: #edf4ff;
  color: #123a6b;
}
.caseTitleEditButton:hover {
  border-color: #2e90fa;
  background: #dbeafe;
  color: #0b2d53;
}
.caseTitleEditButton:focus-visible {
  outline: 2px solid #2e90fa;
  outline-offset: 1px;
}
.caseTitleEditIcon {
  width: 1.26rem;
  height: 1.26rem;
}
.caseDetailCard .viewerSeriesPicker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.42rem;
}
.caseDetailCard .viewerSeriesButton {
  padding: 0;
  background: transparent;
  overflow: hidden;
}
.caseDetailCard .viewerSeriesMeta {
  font-size: 0.67rem;
}
.viewerPositionInfo {
  text-align: right;
}
.caseThumb {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(140deg, rgba(16, 26, 36, 0.82), rgba(40, 58, 72, 0.6)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 6px, rgba(255, 255, 255, 0.03) 6px 12px);
}
.caseThumbImage {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.seriesThumb {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface-muted);
}
.caseHeroThumb {
  width: 140px;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  flex-shrink: 0;
}
.caseMetaEditor select {
  width: 220px;
}
.expertAssignSelect {
  width: auto;
  min-width: 240px;
  height: 40px;
  box-sizing: border-box;
  padding: 0 34px 0 10px !important;
  line-height: 1.2;
}
.caseMetaEditor input[type="date"] {
  width: 170px;
}
@media (max-width: 760px) {
  .row {
    flex-wrap: wrap;
  }
  .viewerGrid {
    grid-template-columns: 1fr;
  }
  .viewerLayout {
    grid-template-columns: 1fr;
  }
  .viewerSplitGrid.double,
  .viewerSplitGrid.quad {
    grid-template-columns: 1fr;
  }
  .imageCardPrimary .viewerImage,
  .imageCardSecondary .viewerImage {
    min-height: 0;
  }
  .button {
    width: 100%;
  }
  .viewerAxisGrid {
    grid-template-columns: 1fr;
  }
  .annotationToolbarCompact,
  .annotationToolbarCompact + .annotationToolbarCompact {
    grid-template-columns: 1fr;
  }
  .seriesRowCard {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }
  .seriesRowCard .seriesCategorySelect {
    grid-column: 2;
  }
  .seriesRowCard .iconButton {
    grid-column: 2;
    justify-self: end;
  }
  .profileFormGrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .viewerLayout {
    grid-template-columns: 1fr;
  }
  .viewerSecondaryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .viewerSplitGrid.quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .imageCardPrimary .viewerImage {
    min-height: 380px;
  }
  .imageCardSecondary .viewerImage {
    min-height: 190px;
  }
}
@media (max-width: 1240px) {
  .dashboardStats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .dashboardPage {
    grid-template-columns: 1fr;
  }
  .sidebarMobileToggle {
    position: fixed;
    top: 0.78rem;
    left: 0.76rem;
    z-index: 70;
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--surface) 95%, transparent);
    }
    color: var(--foreground);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(10, 38, 78, 0.16);
  }
  .sidebarMobileToggle svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .sidebarMobileBackdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
    display: block;
  }
  .sidebarMobileBackdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
  .dashboardSidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(82vw, 330px);
    height: 100dvh;
    transform: translateX(-102%);
    transition: transform 170ms ease;
    z-index: 60;
    border-right: 1px solid var(--border);
    border-bottom: 0;
    padding-top: 0.95rem;
  }
  .dashboardSidebar.mobileOpen {
    transform: translateX(0);
  }
  .dashboardSidebar .sidebarCollapseToggle {
    display: none;
  }
  .dashboardSidebar.collapsed {
    width: min(82vw, 330px);
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .dashboardSidebar.collapsed .sidebarBrandTitle,
  .dashboardSidebar.collapsed .sidebarBadge,
  .dashboardSidebar.collapsed .sidebarUserName,
  .dashboardSidebar.collapsed .sidebarUserMetaRow,
  .dashboardSidebar.collapsed .sidebarNavLabel,
  .dashboardSidebar.collapsed .sidebarPrimaryCta,
  .dashboardSidebar.collapsed .sidebarLanguageLabel,
  .dashboardSidebar.collapsed .sidebarThemeLabel,
  .dashboardSidebar.collapsed .sidebarMetaLinks,
  .dashboardSidebar.collapsed .themeSwitchLabel,
  .dashboardSidebar.collapsed .sidebarLangSwitch,
  .dashboardSidebar.collapsed .sidebarCopyright {
    display: revert;
  }
  .dashboardMain {
    padding: 3.75rem 1rem 1rem;
  }
  .sidebarBottom {
    margin-top: auto;
  }
  .dashboardForm {
    grid-template-columns: 1fr;
  }
  .caseDashboardGrid {
    grid-template-columns: 1fr;
  }
  .profileLayout {
    grid-template-columns: 1fr;
  }
  .aboutSponsorGrid {
    grid-template-columns: 1fr;
  }
  .adminUserGrid {
    grid-template-columns: 1fr;
  }
  .adminUserCell {
    grid-template-columns: 1fr;
  }
}
@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-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@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-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@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-border-style: solid;
      --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-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
    }
  }
}

