/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-300: oklch(80.8% 0.114 19.571);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-orange-400: oklch(75% 0.183 55.934);
    --color-amber-300: oklch(87.9% 0.169 91.605);
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-amber-600: oklch(66.6% 0.179 58.318);
    --color-yellow-400: oklch(85.2% 0.199 91.936);
    --color-emerald-200: oklch(90.5% 0.093 164.15);
    --color-emerald-300: oklch(84.5% 0.143 164.978);
    --color-emerald-400: oklch(76.5% 0.177 163.223);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-emerald-600: oklch(59.6% 0.145 163.225);
    --color-emerald-700: oklch(50.8% 0.118 165.612);
    --color-teal-300: oklch(85.5% 0.138 181.071);
    --color-teal-500: oklch(70.4% 0.14 182.503);
    --color-cyan-300: oklch(86.5% 0.127 207.078);
    --color-cyan-500: oklch(71.5% 0.143 215.221);
    --color-sky-300: oklch(82.8% 0.111 230.318);
    --color-sky-500: oklch(68.5% 0.169 237.323);
    --color-blue-400: oklch(70.7% 0.165 254.624);
    --color-indigo-300: oklch(78.5% 0.115 274.713);
    --color-indigo-500: oklch(58.5% 0.233 277.117);
    --color-violet-300: oklch(81.1% 0.111 293.571);
    --color-violet-500: oklch(60.6% 0.25 292.717);
    --color-fuchsia-300: oklch(83.3% 0.145 321.434);
    --color-fuchsia-500: oklch(66.7% 0.295 322.15);
    --color-rose-300: oklch(81% 0.117 11.638);
    --color-rose-500: oklch(64.5% 0.246 16.439);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-400: oklch(70.4% 0.04 256.788);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --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-slate-950: oklch(12.9% 0.042 264.695);
    --color-zinc-900: oklch(21% 0.006 285.885);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -0.025em;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --blur-sm: 8px;
    --aspect-video: 16 / 9;
    --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);
    --color-primary: var(--primary);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .inset-x-0 {
    inset-inline: calc(var(--spacing) * 0);
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .top-1\/2 {
    top: calc(1 / 2 * 100%);
  }
  .-right-3 {
    right: calc(var(--spacing) * -3);
  }
  .right-3 {
    right: calc(var(--spacing) * 3);
  }
  .right-4 {
    right: calc(var(--spacing) * 4);
  }
  .bottom-0 {
    bottom: calc(var(--spacing) * 0);
  }
  .bottom-\[5\.9rem\] {
    bottom: 5.9rem;
  }
  .left-4 {
    left: calc(var(--spacing) * 4);
  }
  .z-40 {
    z-index: 40;
  }
  .z-50 {
    z-index: 50;
  }
  .z-\[80\] {
    z-index: 80;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mx-1\.5 {
    margin-inline: calc(var(--spacing) * 1.5);
  }
  .mx-4 {
    margin-inline: calc(var(--spacing) * 4);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-0\.5 {
    margin-top: calc(var(--spacing) * 0.5);
  }
  .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);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mr-0\.5 {
    margin-right: calc(var(--spacing) * 0.5);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .aspect-video {
    aspect-ratio: var(--aspect-video);
  }
  .size-2 {
    width: calc(var(--spacing) * 2);
    height: calc(var(--spacing) * 2);
  }
  .size-3 {
    width: calc(var(--spacing) * 3);
    height: calc(var(--spacing) * 3);
  }
  .size-3\.5 {
    width: calc(var(--spacing) * 3.5);
    height: calc(var(--spacing) * 3.5);
  }
  .size-4 {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .size-5 {
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
  }
  .size-6 {
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
  }
  .size-7 {
    width: calc(var(--spacing) * 7);
    height: calc(var(--spacing) * 7);
  }
  .size-8 {
    width: calc(var(--spacing) * 8);
    height: calc(var(--spacing) * 8);
  }
  .size-9 {
    width: calc(var(--spacing) * 9);
    height: calc(var(--spacing) * 9);
  }
  .size-10 {
    width: calc(var(--spacing) * 10);
    height: calc(var(--spacing) * 10);
  }
  .size-11 {
    width: calc(var(--spacing) * 11);
    height: calc(var(--spacing) * 11);
  }
  .size-14 {
    width: calc(var(--spacing) * 14);
    height: calc(var(--spacing) * 14);
  }
  .size-16 {
    width: calc(var(--spacing) * 16);
    height: calc(var(--spacing) * 16);
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .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-14 {
    height: calc(var(--spacing) * 14);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-24 {
    height: calc(var(--spacing) * 24);
  }
  .h-44 {
    height: calc(var(--spacing) * 44);
  }
  .h-72 {
    height: calc(var(--spacing) * 72);
  }
  .h-\[2px\] {
    height: 2px;
  }
  .h-\[320px\] {
    height: 320px;
  }
  .h-\[500px\] {
    height: 500px;
  }
  .h-full {
    height: 100%;
  }
  .h-px {
    height: 1px;
  }
  .max-h-\[24rem\] {
    max-height: 24rem;
  }
  .max-h-\[260px\] {
    max-height: 260px;
  }
  .min-h-\[60vh\] {
    min-height: 60vh;
  }
  .min-h-\[110px\] {
    min-height: 110px;
  }
  .min-h-\[120px\] {
    min-height: 120px;
  }
  .min-h-\[140px\] {
    min-height: 140px;
  }
  .min-h-\[160px\] {
    min-height: 160px;
  }
  .min-h-\[180px\] {
    min-height: 180px;
  }
  .min-h-\[200px\] {
    min-height: 200px;
  }
  .min-h-\[220px\] {
    min-height: 220px;
  }
  .min-h-\[240px\] {
    min-height: 240px;
  }
  .min-h-\[260px\] {
    min-height: 260px;
  }
  .min-h-\[280px\] {
    min-height: 280px;
  }
  .min-h-\[300px\] {
    min-height: 300px;
  }
  .min-h-\[320px\] {
    min-height: 320px;
  }
  .min-h-\[340px\] {
    min-height: 340px;
  }
  .min-h-\[360px\] {
    min-height: 360px;
  }
  .min-h-\[380px\] {
    min-height: 380px;
  }
  .min-h-\[420px\] {
    min-height: 420px;
  }
  .min-h-\[440px\] {
    min-height: 440px;
  }
  .min-h-\[460px\] {
    min-height: 460px;
  }
  .min-h-\[500px\] {
    min-height: 500px;
  }
  .min-h-\[520px\] {
    min-height: 520px;
  }
  .w-16 {
    width: calc(var(--spacing) * 16);
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .w-44 {
    width: calc(var(--spacing) * 44);
  }
  .w-\[320px\] {
    width: 320px;
  }
  .w-auto {
    width: auto;
  }
  .w-full {
    width: 100%;
  }
  .w-px {
    width: 1px;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-3xl {
    max-width: var(--container-3xl);
  }
  .max-w-\[1920px\] {
    max-width: 1920px;
  }
  .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-y-1\/2 {
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .rotate-90 {
    rotate: 90deg;
  }
  .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;
  }
  .resize {
    resize: both;
  }
  .resize-none {
    resize: none;
  }
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-items-center {
    place-items: center;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .items-stretch {
    align-items: stretch;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .gap-0 {
    gap: calc(var(--spacing) * 0);
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .space-y-0 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-0\.5 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-1 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-1\.5 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-2 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-3 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-4 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-5 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-6 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-8 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-3xl {
    border-radius: var(--radius-3xl);
  }
  .rounded-\[1\.2rem\] {
    border-radius: 1.2rem;
  }
  .rounded-\[1\.3rem\] {
    border-radius: 1.3rem;
  }
  .rounded-\[1\.4rem\] {
    border-radius: 1.4rem;
  }
  .rounded-\[1\.5rem\] {
    border-radius: 1.5rem;
  }
  .rounded-\[1\.6rem\] {
    border-radius: 1.6rem;
  }
  .rounded-\[1\.7rem\] {
    border-radius: 1.7rem;
  }
  .rounded-\[1\.8rem\] {
    border-radius: 1.8rem;
  }
  .rounded-\[1\.25rem\] {
    border-radius: 1.25rem;
  }
  .rounded-\[1\.75rem\] {
    border-radius: 1.75rem;
  }
  .rounded-\[1rem\] {
    border-radius: 1rem;
  }
  .rounded-\[2rem\] {
    border-radius: 2rem;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius);
  }
  .rounded-md {
    border-radius: calc(var(--radius) - 2px);
  }
  .rounded-xl {
    border-radius: calc(var(--radius) + 4px);
  }
  .rounded-b {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .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-amber-400\/40 {
    border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-amber-400) 40%, transparent);
    }
  }
  .border-amber-500\/20 {
    border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-amber-500) 20%, transparent);
    }
  }
  .border-amber-500\/30 {
    border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-amber-500) 30%, transparent);
    }
  }
  .border-blue-400\/20 {
    border-color: color-mix(in srgb, oklch(70.7% 0.165 254.624) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-blue-400) 20%, transparent);
    }
  }
  .border-border\/60 {
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 60%, transparent);
    }
  }
  .border-border\/70 {
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 70%, transparent);
    }
  }
  .border-cyan-500\/20 {
    border-color: color-mix(in srgb, oklch(71.5% 0.143 215.221) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-cyan-500) 20%, transparent);
    }
  }
  .border-emerald-500\/20 {
    border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);
    }
  }
  .border-fuchsia-500\/20 {
    border-color: color-mix(in srgb, oklch(66.7% 0.295 322.15) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-fuchsia-500) 20%, transparent);
    }
  }
  .border-indigo-500\/20 {
    border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);
    }
  }
  .border-input {
    border-color: var(--input);
  }
  .border-orange-400\/20 {
    border-color: color-mix(in srgb, oklch(75% 0.183 55.934) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-orange-400) 20%, transparent);
    }
  }
  .border-primary\/20 {
    border-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--primary) 20%, transparent);
    }
  }
  .border-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-red-500\/20 {
    border-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
    }
  }
  .border-red-500\/30 {
    border-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-red-500) 30%, transparent);
    }
  }
  .border-rose-500\/20 {
    border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);
    }
  }
  .border-sky-500\/20 {
    border-color: color-mix(in srgb, oklch(68.5% 0.169 237.323) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-sky-500) 20%, transparent);
    }
  }
  .border-teal-500\/20 {
    border-color: color-mix(in srgb, oklch(70.4% 0.14 182.503) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
    }
  }
  .border-transparent {
    border-color: transparent;
  }
  .border-violet-500\/20 {
    border-color: color-mix(in srgb, oklch(60.6% 0.25 292.717) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-violet-500) 20%, transparent);
    }
  }
  .border-white\/10 {
    border-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .border-white\/12 {
    border-color: color-mix(in srgb, #fff 12%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 12%, transparent);
    }
  }
  .border-white\/\[0\.05\] {
    border-color: color-mix(in srgb, #fff 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 5%, transparent);
    }
  }
  .border-white\/\[0\.06\] {
    border-color: color-mix(in srgb, #fff 6%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 6%, transparent);
    }
  }
  .border-white\/\[0\.07\] {
    border-color: color-mix(in srgb, #fff 7.000000000000001%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 7.000000000000001%, transparent);
    }
  }
  .border-yellow-400\/20 {
    border-color: color-mix(in srgb, oklch(85.2% 0.199 91.936) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-yellow-400) 20%, transparent);
    }
  }
  .bg-\[\#0d1117\] {
    background-color: #0d1117;
  }
  .bg-\[color\:var\(--surface-strong\)\]\/95 {
    background-color: var(--surface-strong);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--surface-strong) 95%, transparent);
    }
  }
  .bg-accent {
    background-color: var(--accent);
  }
  .bg-amber-400\/15 {
    background-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-amber-400) 15%, transparent);
    }
  }
  .bg-amber-500\/10 {
    background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);
    }
  }
  .bg-background\/60 {
    background-color: var(--background);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--background) 60%, transparent);
    }
  }
  .bg-background\/70 {
    background-color: var(--background);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--background) 70%, transparent);
    }
  }
  .bg-background\/80 {
    background-color: var(--background);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--background) 80%, transparent);
    }
  }
  .bg-background\/90 {
    background-color: var(--background);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--background) 90%, transparent);
    }
  }
  .bg-background\/95 {
    background-color: var(--background);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--background) 95%, transparent);
    }
  }
  .bg-black {
    background-color: var(--color-black);
  }
  .bg-black\/20 {
    background-color: color-mix(in srgb, #000 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 20%, transparent);
    }
  }
  .bg-black\/25 {
    background-color: color-mix(in srgb, #000 25%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 25%, transparent);
    }
  }
  .bg-black\/30 {
    background-color: color-mix(in srgb, #000 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 30%, transparent);
    }
  }
  .bg-blue-400 {
    background-color: var(--color-blue-400);
  }
  .bg-blue-400\/5 {
    background-color: color-mix(in srgb, oklch(70.7% 0.165 254.624) 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-blue-400) 5%, transparent);
    }
  }
  .bg-border\/50 {
    background-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--border) 50%, transparent);
    }
  }
  .bg-card {
    background-color: var(--card);
  }
  .bg-card\/60 {
    background-color: var(--card);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--card) 60%, transparent);
    }
  }
  .bg-card\/70 {
    background-color: var(--card);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--card) 70%, transparent);
    }
  }
  .bg-card\/80 {
    background-color: var(--card);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--card) 80%, transparent);
    }
  }
  .bg-card\/90 {
    background-color: var(--card);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--card) 90%, transparent);
    }
  }
  .bg-card\/95 {
    background-color: var(--card);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--card) 95%, transparent);
    }
  }
  .bg-cyan-500\/10 {
    background-color: color-mix(in srgb, oklch(71.5% 0.143 215.221) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-cyan-500) 10%, transparent);
    }
  }
  .bg-emerald-400 {
    background-color: var(--color-emerald-400);
  }
  .bg-emerald-500\/10 {
    background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);
    }
  }
  .bg-fuchsia-500\/10 {
    background-color: color-mix(in srgb, oklch(66.7% 0.295 322.15) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-fuchsia-500) 10%, transparent);
    }
  }
  .bg-indigo-500\/10 {
    background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);
    }
  }
  .bg-muted {
    background-color: var(--muted);
  }
  .bg-orange-400 {
    background-color: var(--color-orange-400);
  }
  .bg-orange-400\/5 {
    background-color: color-mix(in srgb, oklch(75% 0.183 55.934) 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-orange-400) 5%, transparent);
    }
  }
  .bg-primary {
    background-color: var(--primary);
  }
  .bg-primary\/8 {
    background-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--primary) 8%, transparent);
    }
  }
  .bg-primary\/10 {
    background-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--primary) 10%, transparent);
    }
  }
  .bg-red-500\/10 {
    background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);
    }
  }
  .bg-rose-500\/10 {
    background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);
    }
  }
  .bg-sky-500\/10 {
    background-color: color-mix(in srgb, oklch(68.5% 0.169 237.323) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-sky-500) 10%, transparent);
    }
  }
  .bg-slate-700 {
    background-color: var(--color-slate-700);
  }
  .bg-slate-800 {
    background-color: var(--color-slate-800);
  }
  .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\/85 {
    background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 85%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-900) 85%, transparent);
    }
  }
  .bg-slate-950 {
    background-color: var(--color-slate-950);
  }
  .bg-slate-950\/40 {
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 40%, transparent);
    }
  }
  .bg-slate-950\/45 {
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 45%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 45%, transparent);
    }
  }
  .bg-teal-500\/10 {
    background-color: color-mix(in srgb, oklch(70.4% 0.14 182.503) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
    }
  }
  .bg-transparent {
    background-color: transparent;
  }
  .bg-violet-500\/10 {
    background-color: color-mix(in srgb, oklch(60.6% 0.25 292.717) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-violet-500) 10%, transparent);
    }
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .bg-white\/5 {
    background-color: color-mix(in srgb, #fff 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
    }
  }
  .bg-white\/\[0\.08\] {
    background-color: color-mix(in srgb, #fff 8%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 8%, transparent);
    }
  }
  .bg-yellow-400 {
    background-color: var(--color-yellow-400);
  }
  .bg-yellow-400\/5 {
    background-color: color-mix(in srgb, oklch(85.2% 0.199 91.936) 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-yellow-400) 5%, transparent);
    }
  }
  .bg-\[radial-gradient\(circle_at_top\,_rgba\(99\,102\,241\,0\.16\)\,_transparent_35\%\)\,linear-gradient\(180deg\,rgba\(255\,255\,255\,0\.04\)\,rgba\(255\,255\,255\,0\.02\)\)\] {
    background-image: radial-gradient(circle at top, rgba(99,102,241,0.16), transparent 35%),linear-gradient(180deg,rgba(255,255,255,0.04),rgba(255,255,255,0.02));
  }
  .fill-current {
    fill: currentcolor;
  }
  .fill-slate-600 {
    fill: var(--color-slate-600);
  }
  .object-contain {
    object-fit: contain;
  }
  .object-cover {
    object-fit: cover;
  }
  .p-0 {
    padding: calc(var(--spacing) * 0);
  }
  .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);
  }
  .p-8 {
    padding: calc(var(--spacing) * 8);
  }
  .p-10 {
    padding: calc(var(--spacing) * 10);
  }
  .p-12 {
    padding: calc(var(--spacing) * 12);
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }
  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .pt-0 {
    padding-top: calc(var(--spacing) * 0);
  }
  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  .pt-5 {
    padding-top: calc(var(--spacing) * 5);
  }
  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }
  .pt-\[12vh\] {
    padding-top: 12vh;
  }
  .pr-4 {
    padding-right: calc(var(--spacing) * 4);
  }
  .pr-16 {
    padding-right: calc(var(--spacing) * 16);
  }
  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }
  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }
  .pb-28 {
    padding-bottom: calc(var(--spacing) * 28);
  }
  .pb-\[calc\(env\(safe-area-inset-bottom\)\+0\.75rem\)\] {
    padding-bottom: calc(env(safe-area-inset-bottom) + 0.75rem);
  }
  .pl-2 {
    padding-left: calc(var(--spacing) * 2);
  }
  .pl-4 {
    padding-left: calc(var(--spacing) * 4);
  }
  .pl-11 {
    padding-left: calc(var(--spacing) * 11);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-5xl {
    font-size: var(--text-5xl);
    line-height: var(--tw-leading, var(--text-5xl--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;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .text-\[13px\] {
    font-size: 13px;
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-7 {
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
  }
  .leading-8 {
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
  }
  .leading-\[1\.65rem\] {
    --tw-leading: 1.65rem;
    line-height: 1.65rem;
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-\[0\.2em\] {
    --tw-tracking: 0.2em;
    letter-spacing: 0.2em;
  }
  .tracking-\[0\.3em\] {
    --tw-tracking: 0.3em;
    letter-spacing: 0.3em;
  }
  .tracking-\[0\.16em\] {
    --tw-tracking: 0.16em;
    letter-spacing: 0.16em;
  }
  .tracking-\[0\.18em\] {
    --tw-tracking: 0.18em;
    letter-spacing: 0.18em;
  }
  .tracking-\[0\.22em\] {
    --tw-tracking: 0.22em;
    letter-spacing: 0.22em;
  }
  .tracking-\[0\.24em\] {
    --tw-tracking: 0.24em;
    letter-spacing: 0.24em;
  }
  .tracking-\[0\.25em\] {
    --tw-tracking: 0.25em;
    letter-spacing: 0.25em;
  }
  .tracking-\[0\.26em\] {
    --tw-tracking: 0.26em;
    letter-spacing: 0.26em;
  }
  .tracking-\[0\.28em\] {
    --tw-tracking: 0.28em;
    letter-spacing: 0.28em;
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .break-all {
    word-break: break-all;
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  .text-amber-500 {
    color: var(--color-amber-500);
  }
  .text-amber-600 {
    color: var(--color-amber-600);
  }
  .text-black\/55 {
    color: color-mix(in srgb, #000 55%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-black) 55%, transparent);
    }
  }
  .text-black\/75 {
    color: color-mix(in srgb, #000 75%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-black) 75%, transparent);
    }
  }
  .text-black\/80 {
    color: color-mix(in srgb, #000 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-black) 80%, transparent);
    }
  }
  .text-blue-400 {
    color: var(--color-blue-400);
  }
  .text-cyan-500 {
    color: var(--color-cyan-500);
  }
  .text-emerald-300 {
    color: var(--color-emerald-300);
  }
  .text-emerald-500 {
    color: var(--color-emerald-500);
  }
  .text-emerald-600 {
    color: var(--color-emerald-600);
  }
  .text-emerald-700 {
    color: var(--color-emerald-700);
  }
  .text-foreground {
    color: var(--foreground);
  }
  .text-fuchsia-500 {
    color: var(--color-fuchsia-500);
  }
  .text-indigo-500 {
    color: var(--color-indigo-500);
  }
  .text-muted-foreground {
    color: var(--muted-foreground);
  }
  .text-muted-foreground\/60 {
    color: var(--muted-foreground);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
    }
  }
  .text-muted-foreground\/70 {
    color: var(--muted-foreground);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
    }
  }
  .text-orange-400 {
    color: var(--color-orange-400);
  }
  .text-primary {
    color: var(--primary);
  }
  .text-primary-foreground {
    color: var(--primary-foreground);
  }
  .text-red-600 {
    color: var(--color-red-600);
  }
  .text-red-700 {
    color: var(--color-red-700);
  }
  .text-rose-500 {
    color: var(--color-rose-500);
  }
  .text-sky-500 {
    color: var(--color-sky-500);
  }
  .text-slate-100 {
    color: var(--color-slate-100);
  }
  .text-slate-200 {
    color: var(--color-slate-200);
  }
  .text-slate-400 {
    color: var(--color-slate-400);
  }
  .text-slate-500 {
    color: var(--color-slate-500);
  }
  .text-slate-600 {
    color: var(--color-slate-600);
  }
  .text-slate-700 {
    color: var(--color-slate-700);
  }
  .text-teal-500 {
    color: var(--color-teal-500);
  }
  .text-violet-500 {
    color: var(--color-violet-500);
  }
  .text-white {
    color: var(--color-white);
  }
  .text-white\/90 {
    color: color-mix(in srgb, #fff 90%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 90%, transparent);
    }
  }
  .text-yellow-400 {
    color: var(--color-yellow-400);
  }
  .text-zinc-900 {
    color: var(--color-zinc-900);
  }
  .capitalize {
    text-transform: capitalize;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .accent-primary {
    accent-color: var(--primary);
  }
  .opacity-0 {
    opacity: 0%;
  }
  .opacity-70 {
    opacity: 70%;
  }
  .opacity-100 {
    opacity: 100%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-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-\[0_10px_30px_rgba\(15\,23\,42\,0\.05\)\] {
    --tw-shadow: 0 10px 30px var(--tw-shadow-color, rgba(15,23,42,0.05));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_10px_40px_rgba\(15\,23\,42\,0\.06\)\] {
    --tw-shadow: 0 10px 40px var(--tw-shadow-color, rgba(15,23,42,0.06));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_24px_70px_rgba\(2\,6\,23\,0\.22\)\] {
    --tw-shadow: 0 24px 70px var(--tw-shadow-color, rgba(2,6,23,0.22));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-inner {
    --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .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-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-primary\/20 {
    --tw-shadow-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--primary) 20%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }
  .shadow-primary\/30 {
    --tw-shadow-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--primary) 30%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }
  .shadow-primary\/40 {
    --tw-shadow-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--primary) 40%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-blur {
    --tw-backdrop-blur: blur(8px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-sm {
    --tw-backdrop-blur: blur(var(--blur-sm));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-200 {
    --tw-duration: 200ms;
    transition-duration: 200ms;
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .select-none {
    -webkit-user-select: none;
    user-select: none;
  }
  .group-hover\:border-primary\/20 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        border-color: var(--primary);
        @supports (color: color-mix(in lab, red, red)) {
          border-color: color-mix(in oklab, var(--primary) 20%, transparent);
        }
      }
    }
  }
  .group-hover\:bg-primary\/10 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        background-color: var(--primary);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--primary) 10%, transparent);
        }
      }
    }
  }
  .group-hover\:text-primary {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--primary);
      }
    }
  }
  .group-hover\:opacity-100 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        opacity: 100%;
      }
    }
  }
  .group-hover\/item\:opacity-100 {
    &:is(:where(.group\/item):hover *) {
      @media (hover: hover) {
        opacity: 100%;
      }
    }
  }
  .selection\:bg-primary\/30 {
    & *::selection {
      background-color: var(--primary);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--primary) 30%, transparent);
      }
    }
    &::selection {
      background-color: var(--primary);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--primary) 30%, transparent);
      }
    }
  }
  .placeholder\:text-muted-foreground {
    &::placeholder {
      color: var(--muted-foreground);
    }
  }
  .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\:scale-\[1\.02\] {
    &:hover {
      @media (hover: hover) {
        scale: 1.02;
      }
    }
  }
  .hover\:border-border\/60 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--border);
        @supports (color: color-mix(in lab, red, red)) {
          border-color: color-mix(in oklab, var(--border) 60%, transparent);
        }
      }
    }
  }
  .hover\:border-primary\/20 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--primary);
        @supports (color: color-mix(in lab, red, red)) {
          border-color: color-mix(in oklab, var(--primary) 20%, transparent);
        }
      }
    }
  }
  .hover\:border-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-accent {
    &:hover {
      @media (hover: hover) {
        background-color: var(--accent);
      }
    }
  }
  .hover\:bg-accent\/50 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--accent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--accent) 50%, transparent);
        }
      }
    }
  }
  .hover\:bg-accent\/60 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--accent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--accent) 60%, transparent);
        }
      }
    }
  }
  .hover\:bg-accent\/80 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--accent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--accent) 80%, transparent);
        }
      }
    }
  }
  .hover\:bg-background {
    &:hover {
      @media (hover: hover) {
        background-color: var(--background);
      }
    }
  }
  .hover\:bg-primary\/5 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--primary);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--primary) 5%, transparent);
        }
      }
    }
  }
  .hover\:bg-primary\/85 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--primary);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--primary) 85%, transparent);
        }
      }
    }
  }
  .hover\:bg-primary\/90 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--primary);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--primary) 90%, transparent);
        }
      }
    }
  }
  .hover\:bg-slate-800 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-slate-800);
      }
    }
  }
  .hover\:bg-slate-800\/30 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 30%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-slate-800) 30%, transparent);
        }
      }
    }
  }
  .hover\:bg-white\/5 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, #fff 5%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
        }
      }
    }
  }
  .hover\:text-amber-500 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-amber-500);
      }
    }
  }
  .hover\:text-foreground {
    &:hover {
      @media (hover: hover) {
        color: var(--foreground);
      }
    }
  }
  .hover\:text-slate-300 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-slate-300);
      }
    }
  }
  .hover\:text-slate-400 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-slate-400);
      }
    }
  }
  .hover\:opacity-95 {
    &:hover {
      @media (hover: hover) {
        opacity: 95%;
      }
    }
  }
  .hover\:shadow-lg {
    &:hover {
      @media (hover: hover) {
        --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);
      }
    }
  }
  .hover\:shadow-primary\/5 {
    &:hover {
      @media (hover: hover) {
        --tw-shadow-color: var(--primary);
        @supports (color: color-mix(in lab, red, red)) {
          --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--primary) 5%, transparent) var(--tw-shadow-alpha), transparent);
        }
      }
    }
  }
  .focus\:border-primary {
    &:focus {
      border-color: var(--primary);
    }
  }
  .focus-visible\:border-primary\/40 {
    &:focus-visible {
      border-color: var(--primary);
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(in oklab, var(--primary) 40%, transparent);
      }
    }
  }
  .focus-visible\:ring-2 {
    &:focus-visible {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus-visible\:ring-primary\/20 {
    &:focus-visible {
      --tw-ring-color: var(--primary);
      @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--primary) 20%, transparent);
      }
    }
  }
  .active\:scale-95 {
    &:active {
      --tw-scale-x: 95%;
      --tw-scale-y: 95%;
      --tw-scale-z: 95%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
  }
  .disabled\:pointer-events-none {
    &:disabled {
      pointer-events: none;
    }
  }
  .disabled\:cursor-not-allowed {
    &:disabled {
      cursor: not-allowed;
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .sm\:col-span-2 {
    @media (width >= 40rem) {
      grid-column: span 2 / span 2;
    }
  }
  .sm\:mb-8 {
    @media (width >= 40rem) {
      margin-bottom: calc(var(--spacing) * 8);
    }
  }
  .sm\:w-auto {
    @media (width >= 40rem) {
      width: auto;
    }
  }
  .sm\:grid-cols-2 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .sm\:grid-cols-3 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .sm\:grid-cols-5 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .sm\:grid-cols-\[1fr_1fr_auto\] {
    @media (width >= 40rem) {
      grid-template-columns: 1fr 1fr auto;
    }
  }
  .sm\:grid-cols-\[1fr_180px\] {
    @media (width >= 40rem) {
      grid-template-columns: 1fr 180px;
    }
  }
  .sm\:grid-cols-\[120px_1fr\] {
    @media (width >= 40rem) {
      grid-template-columns: 120px 1fr;
    }
  }
  .sm\:flex-row {
    @media (width >= 40rem) {
      flex-direction: row;
    }
  }
  .sm\:items-center {
    @media (width >= 40rem) {
      align-items: center;
    }
  }
  .sm\:items-end {
    @media (width >= 40rem) {
      align-items: flex-end;
    }
  }
  .sm\:items-start {
    @media (width >= 40rem) {
      align-items: flex-start;
    }
  }
  .sm\:justify-between {
    @media (width >= 40rem) {
      justify-content: space-between;
    }
  }
  .sm\:gap-3 {
    @media (width >= 40rem) {
      gap: calc(var(--spacing) * 3);
    }
  }
  .sm\:p-5 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 5);
    }
  }
  .sm\:p-6 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 6);
    }
  }
  .sm\:px-4 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 4);
    }
  }
  .sm\:px-5 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 5);
    }
  }
  .sm\:py-5 {
    @media (width >= 40rem) {
      padding-block: calc(var(--spacing) * 5);
    }
  }
  .sm\:pt-0 {
    @media (width >= 40rem) {
      padding-top: calc(var(--spacing) * 0);
    }
  }
  .sm\:text-2xl {
    @media (width >= 40rem) {
      font-size: var(--text-2xl);
      line-height: var(--tw-leading, var(--text-2xl--line-height));
    }
  }
  .sm\:text-4xl {
    @media (width >= 40rem) {
      font-size: var(--text-4xl);
      line-height: var(--tw-leading, var(--text-4xl--line-height));
    }
  }
  .sm\:text-base {
    @media (width >= 40rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .sm\:text-xl {
    @media (width >= 40rem) {
      font-size: var(--text-xl);
      line-height: var(--tw-leading, var(--text-xl--line-height));
    }
  }
  .md\:bottom-5 {
    @media (width >= 48rem) {
      bottom: calc(var(--spacing) * 5);
    }
  }
  .md\:col-span-2 {
    @media (width >= 48rem) {
      grid-column: span 2 / span 2;
    }
  }
  .md\:hidden {
    @media (width >= 48rem) {
      display: none;
    }
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-3 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-\[0\.85fr_1\.15fr_auto\] {
    @media (width >= 48rem) {
      grid-template-columns: 0.85fr 1.15fr auto;
    }
  }
  .md\:grid-cols-\[1\.2fr_0\.9fr_auto_auto\] {
    @media (width >= 48rem) {
      grid-template-columns: 1.2fr 0.9fr auto auto;
    }
  }
  .md\:grid-cols-\[1fr_180px\] {
    @media (width >= 48rem) {
      grid-template-columns: 1fr 180px;
    }
  }
  .md\:items-center {
    @media (width >= 48rem) {
      align-items: center;
    }
  }
  .md\:pb-16 {
    @media (width >= 48rem) {
      padding-bottom: calc(var(--spacing) * 16);
    }
  }
  .lg\:col-span-2 {
    @media (width >= 64rem) {
      grid-column: span 2 / span 2;
    }
  }
  .lg\:flex {
    @media (width >= 64rem) {
      display: flex;
    }
  }
  .lg\:grid-cols-1 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-2 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-3 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-\[0\.95fr_1\.05fr\] {
    @media (width >= 64rem) {
      grid-template-columns: 0.95fr 1.05fr;
    }
  }
  .lg\:grid-cols-\[1fr_0\.88fr\] {
    @media (width >= 64rem) {
      grid-template-columns: 1fr 0.88fr;
    }
  }
  .lg\:flex-row {
    @media (width >= 64rem) {
      flex-direction: row;
    }
  }
  .lg\:items-center {
    @media (width >= 64rem) {
      align-items: center;
    }
  }
  .lg\:items-end {
    @media (width >= 64rem) {
      align-items: flex-end;
    }
  }
  .lg\:justify-between {
    @media (width >= 64rem) {
      justify-content: space-between;
    }
  }
  .lg\:gap-7 {
    @media (width >= 64rem) {
      gap: calc(var(--spacing) * 7);
    }
  }
  .lg\:border-r {
    @media (width >= 64rem) {
      border-right-style: var(--tw-border-style);
      border-right-width: 1px;
    }
  }
  .lg\:border-b-0 {
    @media (width >= 64rem) {
      border-bottom-style: var(--tw-border-style);
      border-bottom-width: 0px;
    }
  }
  .lg\:p-8 {
    @media (width >= 64rem) {
      padding: calc(var(--spacing) * 8);
    }
  }
  .lg\:px-6 {
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 6);
    }
  }
  .xl\:flex {
    @media (width >= 80rem) {
      display: flex;
    }
  }
  .xl\:inline-flex {
    @media (width >= 80rem) {
      display: inline-flex;
    }
  }
  .xl\:grid-cols-2 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .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-\[0\.8fr_1\.2fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 0.8fr 1.2fr;
    }
  }
  .xl\:grid-cols-\[0\.9fr_1\.1fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 0.9fr 1.1fr;
    }
  }
  .xl\:grid-cols-\[0\.28fr_0\.28fr_0\.44fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 0.28fr 0.28fr 0.44fr;
    }
  }
  .xl\:grid-cols-\[0\.92fr_1\.08fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 0.92fr 1.08fr;
    }
  }
  .xl\:grid-cols-\[0\.95fr_1\.05fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 0.95fr 1.05fr;
    }
  }
  .xl\:grid-cols-\[0\.98fr_1\.02fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 0.98fr 1.02fr;
    }
  }
  .xl\:grid-cols-\[1\.1fr_0\.9fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 1.1fr 0.9fr;
    }
  }
  .xl\:grid-cols-\[1\.2fr_0\.8fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 1.2fr 0.8fr;
    }
  }
  .xl\:grid-cols-\[1\.05fr_0\.95fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 1.05fr 0.95fr;
    }
  }
  .xl\:grid-cols-\[1fr_1fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 1fr 1fr;
    }
  }
  .xl\:flex-row {
    @media (width >= 80rem) {
      flex-direction: row;
    }
  }
  .xl\:items-end {
    @media (width >= 80rem) {
      align-items: flex-end;
    }
  }
  .xl\:justify-between {
    @media (width >= 80rem) {
      justify-content: space-between;
    }
  }
  .xl\:p-10 {
    @media (width >= 80rem) {
      padding: calc(var(--spacing) * 10);
    }
  }
  .xl\:px-8 {
    @media (width >= 80rem) {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
  .\32 xl\:grid-cols-2 {
    @media (width >= 96rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .\32 xl\:grid-cols-3 {
    @media (width >= 96rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .\32 xl\:grid-cols-\[0\.4fr_0\.6fr\] {
    @media (width >= 96rem) {
      grid-template-columns: 0.4fr 0.6fr;
    }
  }
  .\32 xl\:grid-cols-\[1\.1fr_0\.9fr\] {
    @media (width >= 96rem) {
      grid-template-columns: 1.1fr 0.9fr;
    }
  }
  .\32 xl\:grid-cols-\[1\.05fr_0\.95fr\] {
    @media (width >= 96rem) {
      grid-template-columns: 1.05fr 0.95fr;
    }
  }
  .\32 xl\:grid-cols-\[1\.15fr_0\.85fr\] {
    @media (width >= 96rem) {
      grid-template-columns: 1.15fr 0.85fr;
    }
  }
  .dark\:bg-background\/70 {
    &:is(.dark *) {
      background-color: var(--background);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--background) 70%, transparent);
      }
    }
  }
  .dark\:bg-slate-900\/60 {
    &:is(.dark *) {
      background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 60%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);
      }
    }
  }
  .dark\:bg-slate-950 {
    &:is(.dark *) {
      background-color: var(--color-slate-950);
    }
  }
  .dark\:text-amber-300 {
    &:is(.dark *) {
      color: var(--color-amber-300);
    }
  }
  .dark\:text-cyan-300 {
    &:is(.dark *) {
      color: var(--color-cyan-300);
    }
  }
  .dark\:text-emerald-200 {
    &:is(.dark *) {
      color: var(--color-emerald-200);
    }
  }
  .dark\:text-emerald-300 {
    &:is(.dark *) {
      color: var(--color-emerald-300);
    }
  }
  .dark\:text-fuchsia-300 {
    &:is(.dark *) {
      color: var(--color-fuchsia-300);
    }
  }
  .dark\:text-indigo-300 {
    &:is(.dark *) {
      color: var(--color-indigo-300);
    }
  }
  .dark\:text-red-100 {
    &:is(.dark *) {
      color: var(--color-red-100);
    }
  }
  .dark\:text-red-300 {
    &:is(.dark *) {
      color: var(--color-red-300);
    }
  }
  .dark\:text-rose-300 {
    &:is(.dark *) {
      color: var(--color-rose-300);
    }
  }
  .dark\:text-sky-300 {
    &:is(.dark *) {
      color: var(--color-sky-300);
    }
  }
  .dark\:text-teal-300 {
    &:is(.dark *) {
      color: var(--color-teal-300);
    }
  }
  .dark\:text-violet-300 {
    &:is(.dark *) {
      color: var(--color-violet-300);
    }
  }
}
:root {
  --background: oklch(0.985 0.006 255);
  --foreground: oklch(0.2 0.02 255);
  --card: oklch(1 0 0 / 0.82);
  --card-foreground: oklch(0.2 0.02 255);
  --popover: oklch(1 0 0 / 0.88);
  --popover-foreground: oklch(0.2 0.02 255);
  --primary: oklch(0.63 0.2 257);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.96 0.01 255);
  --secondary-foreground: oklch(0.26 0.02 255);
  --muted: oklch(0.96 0.01 255);
  --muted-foreground: oklch(0.5 0.02 255);
  --accent: oklch(0.95 0.02 255);
  --accent-foreground: oklch(0.26 0.02 255);
  --destructive: oklch(0.63 0.21 25);
  --border: oklch(0.89 0.01 255);
  --input: oklch(0.9 0.01 255);
  --ring: oklch(0.63 0.2 257);
  --radius: 1rem;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(248, 250, 252, 0.84);
  --surface-border: rgba(148, 163, 184, 0.18);
  --surface-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}
.dark {
  --background: oklch(0.14 0.01 286);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.18 0.01 286 / 0.78);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.18 0.01 286 / 0.88);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.72 0.15 255);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.24 0.01 286);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.24 0.01 286);
  --muted-foreground: oklch(0.72 0.02 286);
  --accent: oklch(0.24 0.01 286);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.69 0.19 24);
  --border: oklch(1 0 0 / 0.11);
  --input: oklch(1 0 0 / 0.12);
  --ring: oklch(0.72 0.15 255);
  --surface: rgba(9, 14, 28, 0.74);
  --surface-strong: rgba(12, 18, 32, 0.9);
  --surface-soft: rgba(15, 23, 42, 0.76);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-shadow: 0 24px 70px rgba(2, 6, 23, 0.34);
}
@layer base {
  * {
    border-color: var(--border);
  }
  html {
    scroll-behavior: smooth;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.35s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  ::view-transition-old(root) {
    animation-name: vt-fade-out;
  }
  ::view-transition-new(root) {
    animation-name: vt-fade-in;
  }
  @keyframes vt-fade-out {
    from { opacity: 1; }
    to   { opacity: 0; }
  }
  @keyframes vt-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  body {
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "rlig" 1, "calt" 1;
    background-image: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 22%),
      radial-gradient(circle at top right, rgba(99, 102, 241, 0.14), transparent 22%),
      radial-gradient(circle at 50% 100%, rgba(14, 165, 233, 0.1), transparent 22%),
      linear-gradient(180deg, #f8fbff 0%, #eef4ff 48%, #f8fafc 100%);
    background-attachment: fixed;
  }
  .dark body {
    background-image: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 24%),
      radial-gradient(circle at top right, rgba(99, 102, 241, 0.16), transparent 26%),
      radial-gradient(circle at 50% 100%, rgba(14, 165, 233, 0.08), transparent 24%),
      linear-gradient(180deg, rgb(3, 7, 18) 0%, rgb(9, 12, 26) 52%, rgb(3, 7, 18) 100%);
  }
  ::selection {
    background: rgb(99 102 241 / 0.22);
    color: inherit;
  }
}
@layer utilities {
  .surface-border {
    position: relative;
  }
  .surface-border::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0), rgba(99, 102, 241, 0.24));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  .dark .surface-border::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04), rgba(99, 102, 241, 0.28));
  }
  .glass {
    background: var(--surface);
    backdrop-filter: blur(18px);
    box-shadow: var(--surface-shadow);
  }
  .glass-strong {
    background: var(--surface-strong);
    backdrop-filter: blur(18px);
    box-shadow: var(--surface-shadow);
  }
  .glass-soft {
    background: var(--surface-soft);
  }
  .hero-grid {
    background-image: linear-gradient(to right, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center;
  }
  .code-block {
    border-radius: 1.5rem;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 70%, transparent);
    }
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 95%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 95%, transparent);
    }
    padding: calc(var(--spacing) * 5);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
    color: var(--color-slate-100);
    --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-shadow-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-slate-950) 20%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }
  .dark .code-block {
    border-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 80%, transparent);
    }
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
    }
  }
}

.metric-tile {
  border: 1px solid color-mix(in srgb, var(--color-border) 72%, transparent);
  background: color-mix(in srgb, var(--color-card) 78%, transparent);
  border-radius: 1.5rem;
  padding: 1rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

.dark .metric-tile {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.sidebar-panel {
  overflow: hidden;
}

.sidebar-panel nav {
  scrollbar-width: thin;
}

.command-backdrop {
  animation: utilityos-fade-in 0.16s ease;
}

.command-surface {
  backdrop-filter: blur(18px);
}

.prose-preview {
  line-height: 1.75;
}

.prose-preview h1,
.prose-preview h2,
.prose-preview h3,
.prose-preview h4 {
  margin: 1.2rem 0 0.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.prose-preview h1 { font-size: 1.9rem; }
.prose-preview h2 { font-size: 1.5rem; }
.prose-preview h3 { font-size: 1.2rem; }
.prose-preview p,
.prose-preview ul,
.prose-preview ol,
.prose-preview pre,
.prose-preview blockquote {
  margin: 0.9rem 0;
}

.prose-preview ul,
.prose-preview ol {
  padding-left: 1.4rem;
}

.prose-preview code {
  border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
  background: color-mix(in srgb, var(--color-muted) 72%, transparent);
  border-radius: 0.5rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.92em;
}

.prose-preview pre {
  overflow: auto;
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.96);
  color: rgb(241, 245, 249);
}

.prose-preview pre code {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.prose-preview a {
  color: color-mix(in srgb, var(--color-primary) 90%, white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.prose-preview blockquote {
  border-left: 3px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
  padding-left: 1rem;
  color: color-mix(in srgb, var(--color-muted-foreground) 92%, white 8%);
}

@keyframes utilityos-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Patch: light-mode editor normalization + pinned tools filter */
html:not(.dark) .tool-playground-shell {
  border-color: color-mix(in srgb, var(--border) 78%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}
html:not(.dark) .tool-playground-toolbar,
html:not(.dark) .tool-playground-gutter,
html:not(.dark) .tool-playground-editor,
html:not(.dark) .tool-playground-previewbar,
html:not(.dark) .tool-playground-footer,
html:not(.dark) .tool-playground-preview-empty {
  background:
    linear-gradient(180deg, rgba(248,250,252,0.98), rgba(241,245,249,0.98)) !important;
}
html:not(.dark) .tool-playground-toolbar,
html:not(.dark) .tool-playground-previewbar,
html:not(.dark) .tool-playground-footer {
  border-color: color-mix(in srgb, var(--border) 72%, transparent) !important;
}
html:not(.dark) .tool-playground-gutter {
  border-color: color-mix(in srgb, var(--border) 70%, transparent) !important;
}
html:not(.dark) .tool-playground-linenumbers {
  color: #94a3b8 !important;
}
html:not(.dark) .tool-playground-editor {
  color: #0f172a !important;
  caret-color: var(--primary) !important;
}
html:not(.dark) .tool-playground-editor::selection {
  background: color-mix(in srgb, var(--primary) 18%, white) !important;
}
html:not(.dark) .tool-playground-tab,
html:not(.dark) .tool-playground-addtab,
html:not(.dark) .tool-playground-iconbtn {
  color: #64748b !important;
}
html:not(.dark) .tool-playground-tab:hover,
html:not(.dark) .tool-playground-addtab:hover,
html:not(.dark) .tool-playground-iconbtn:hover {
  background: rgba(226,232,240,0.78) !important;
  color: #0f172a !important;
}
html:not(.dark) .tool-playground-tab[class*="bg-slate-800"] {
  background: rgba(255,255,255,0.92) !important;
  color: #0f172a !important;
}
html:not(.dark) .tool-playground-tab [class*="bg-primary"] {
  background: var(--primary) !important;
}
html:not(.dark) .tool-playground-lang {
  border-color: color-mix(in srgb, var(--border) 72%, transparent) !important;
  background: rgba(255,255,255,0.92) !important;
  color: #475569 !important;
}
html:not(.dark) .tool-playground-preview-wrap {
  background: #ffffff !important;
}
html:not(.dark) .tool-playground-preview-empty .tool-playground-empty-icon {
  border-color: color-mix(in srgb, var(--border) 70%, transparent) !important;
  background: rgba(255,255,255,0.94) !important;
}
html:not(.dark) .tool-playground-preview-empty p {
  color: #64748b !important;
}
html:not(.dark) .tool-playground-footer {
  color: #64748b !important;
}


/* lenbd.org header polish */
#tool-search-home::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
select option {
  color: #111827;
}

@media (max-width: 640px) {
  #tool-search-home { font-size: 16px; }
}




/* lenbd desktop header actions */
.desktop-header-actions {
  display: none;
}
@media (min-width: 768px) {
  .desktop-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }
}


.header-actions-desktop {
  display: none;
}
@media (min-width: 768px) {
  .header-actions-desktop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }
}


@media (max-width: 767px) {
  .mobile-bottom-nav-five .nav-label {
    font-size: 10px;
  }
}


/* lenbd fixed11 mobile tools count + desktop header restore */
.nav-label-with-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}
@media (min-width: 768px) {
  .desktop-header-actions {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* lenbd fixed12 mobile home scroll + tools badge + desktop header restore */
.desktop-header-actions--force {
  display: none;
}
@media (min-width: 768px) {
  .desktop-header-actions--force {
    display: flex !important;
    margin-left: auto;
    align-items: center;
    gap: 0.75rem;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
.nav-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 16%, white 84%);
  color: var(--primary);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);
}
.nav-count-pill--mobile {
  min-width: 1.9rem;
  height: 1.3rem;
  padding: 0 0.4rem;
  font-size: 11px;
}
.nav-label {
  display: inline-block;
}


/* lenbd fixed13 mobile tools active + directory scroll + desktop header lock */
@media (min-width: 768px) {
  .desktop-header-actions,
  .desktop-header-actions--force {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .desktop-header-actions > *,
  .desktop-header-actions--force > * {
    display: inline-flex !important;
  }
}
#tool-grid-home {
  scroll-margin-top: 1rem;
}

/* lenbd: Equal height tool cards with consistent heading lines */
#tool-grid-home .grid > div {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

#tool-grid-home .grid > div > div:first-child {
  flex: 1;
  min-width: 0;
}

#tool-grid-home h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  min-height: 2.8em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#tool-grid-home .grid > div {
  min-height: 180px;
}

/* Mobile fix: Prevent card overflow and cutoff */
@media (max-width: 767px) {
  #tool-grid-home {
    overflow-x: hidden;
    width: 100%;
  }
  
  #tool-grid-home .grid {
    overflow: hidden;
    width: 100%;
  }
  
  #tool-grid-home .grid > div {
    content-visibility: visible !important;
    contain: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  #tool-grid-home .group {
    transform: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
  }
}

/* Desktop: GPU acceleration for smooth animations */
@media (min-width: 768px) {
  #tool-grid-home .group {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  #tool-grid-home .grid > div {
    content-visibility: auto;
    contain-intrinsic-size: 0 200px;
  }
}

/* Optimize grid rendering */
#tool-grid-home .grid {
  grid-auto-rows: 1fr;
}


/* lenbd fixed15 mobile tools nav alignment */
.mobile-tools-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1rem;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  color: currentColor;
  opacity: 1;
}
@media (max-width: 767px) {
  .mobile-tools-count {
    transform: none;
    margin-bottom: 0.05rem;
  }
}


/* Desktop: search + category filters in one row */
.home-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .home-filter-bar {
    flex-direction: row;
    align-items: center;
  }

  .home-filter-search {
    flex: 1 1 34%;
    min-width: 320px;
  }

  .home-filter-chips {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    overflow-x: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }

  .home-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .home-filter-chips > * {
    flex-shrink: 0;
  }

  .home-filter-clear {
    margin-left: 0 !important;
  }
}


/* lenbd fixed18 desktop one-line filter bar + remove clipping */
@media (min-width: 1024px) {
  .home-filter-bar {
    display: grid !important;
    grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0;
    overflow: visible;
  }

  .home-filter-search {
    min-width: 0 !important;
    width: 100%;
    max-width: 460px;
  }

  .home-filter-chips {
    min-width: 0 !important;
    width: 100%;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    overflow-x: visible;
    overflow-y: hidden;
    white-space: normal;
    padding-bottom: 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .home-filter-chips > * {
    flex: 0 0 auto !important;
  }

  .home-filter-clear {
    margin-left: 0 !important;
  }
}


/* lenbd fixed19 desktop header row polish */
@media (min-width: 1024px) {
  .home-filter-bar {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .home-filter-search {
    flex: 0 0 28%;
    min-width: 260px !important;
    max-width: 420px !important;
    width: auto;
  }

  .home-filter-chips {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow: visible !important;
    white-space: normal;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .home-filter-chips::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .home-filter-chips > * {
    flex: 0 1 auto !important;
    min-width: 0;
  }

  .home-filter-chips button,
  .home-filter-chips .home-filter-clear {
    height: 2.5rem;
    padding-inline: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
  }

  .home-filter-clear {
    margin-left: 0 !important;
    padding-inline: 0.85rem !important;
  }
}

/* fixed20: desktop filter pointer polish */
button:not(:disabled),
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
[type="reset"]:not(:disabled) {
  cursor: pointer;
}

.home-filter-chips button,
.home-filter-clear,
.desktop-header-actions button,
.sidebar-home-link,
.sidebar-nav button,
.sidebar-nav a {
  cursor: pointer;
}


/* fixed21: desktop unified shell with single box and center divider */
@media (min-width: 1024px) {
  .app-shell-unified {
    position: relative;
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
  }

  html.dark .app-shell-unified {
    background: transparent !important;
    box-shadow: none !important;
  }

  .app-shell-unified .sidebar-panel {
    border: 0 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.32) !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-right: 0;
    padding-right: 1rem;
  }

  html.dark .app-shell-unified .sidebar-panel {
    border-right-color: rgba(255,255,255,0.16) !important;
  }

  .app-shell-unified .sidebar-panel::before,
  .app-shell-unified .surface-border::before {
    display: none !important;
  }

  .app-shell-unified .app-shell-main > header,
  .app-shell-unified .app-shell-main > main > div {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .app-shell-unified .app-shell-main > header {
    padding-top: 0.15rem;
    padding-bottom: 1rem;
    margin-bottom: 0.35rem;
  }

  .app-shell-unified .app-shell-main > main > div {
    padding-top: 0.5rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
}


/* fixed22: desktop fixed sidebar + remove top black strip + square outer shell */
@media (min-width: 1024px) {
  html, body {
    background-color: #f8fbff !important;
    overflow: hidden !important;
    height: 100vh;
  }

  html.dark body {
    background-color: #020617 !important;
  }

  .app-shell-unified {
    border-radius: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    height: 100vh;
    align-items: flex-start;
    padding-left: 340px !important;
  }

  .app-shell-unified .sidebar-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 336px !important;
    align-self: flex-start;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
    will-change: auto !important;
    z-index: 10 !important;
  }

  .app-shell-unified .sidebar-panel nav,
  .app-shell-unified .sidebar-panel .flex-1 {
    max-height: calc(100vh - 88px);
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
  }

  .app-shell-unified .app-shell-main {
    flex: 1 !important;
    margin-left: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    height: 100vh;
    border-radius: 0 !important;
    padding: 1rem 1.5rem 1rem 1rem !important;
    scroll-behavior: smooth !important;
  }

  .app-shell-unified::before,
  .app-shell-unified::after {
    display: none !important;
  }
}


/* fixed23: desktop top black strip cleanup + remove small black sidebar border */
@media (min-width: 1024px) {
  html,
  body,
  #app {
    background: #f8fbff !important;
  }

  html.dark,
  html.dark body,
  html.dark #app {
    background: #020617 !important;
  }

  body {
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .app-shell-unified,
  .app-shell-unified .app-shell-main,
  .app-shell-unified .app-shell-main > header,
  .app-shell-unified .app-shell-main > main,
  .app-shell-unified .app-shell-main > main > div {
    box-shadow: none !important;
    filter: none !important;
  }

  .app-shell-unified {
    background: #f8fbff !important;
  }

  html.dark .app-shell-unified {
    background: #020617 !important;
  }

  .app-shell-unified .sidebar-panel {
    border-right: 0 !important;
    box-shadow: none !important;
    margin-right: 0 !important;
    padding-right: 1rem !important;
    position: fixed !important;
    left: 0 !important;
    width: 336px !important;
    z-index: 10 !important;
  }

  .app-shell-unified .sidebar-panel::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(148, 163, 184, 0.18);
    pointer-events: none;
  }

  html.dark .app-shell-unified .sidebar-panel::after {
    background: rgba(255, 255, 255, 0.12);
  }

  #sidebar-resizer {
    display: none !important;
  }

  .app-shell-unified,
  .app-shell-unified .app-shell-main {
    overflow: hidden !important;
  }

  .app-shell-unified .app-shell-main > header,
  .app-shell-unified .app-shell-main > main,
  .app-shell-unified .app-shell-main > main > div {
    overflow: visible !important;
  }

  .app-shell-unified .app-shell-main {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 1rem 1.5rem 1rem 1rem !important;
    scroll-behavior: smooth !important;
  }

  .app-shell-unified .app-shell-main > main > div {
    padding-top: 0.75rem !important;
  }
}


/* fixed24 desktop black-strip cleanup */
@media (min-width: 1024px) {
  html,
  body,
  #app {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 48%, #f8fafc 100%) !important;
    overflow: hidden !important;
    height: 100vh;
  }

  body {
    background-attachment: scroll !important;
    overflow: hidden !important;
  }

  .app-shell-unified,
  .app-shell-main,
  .sidebar-panel,
  .app-shell-main > header,
  .app-shell-main > main > div {
    z-index: 1;
    isolation: isolate;
  }

  .app-shell-unified,
  .app-shell-main {
    overflow: hidden !important;
    height: 100vh;
  }

  .app-shell-main {
    scroll-behavior: smooth !important;
    overflow-y: auto !important;
  }

  .app-shell-unified {
    padding-left: 340px !important;
  }

  .sidebar-panel {
    position: fixed !important;
    left: 0 !important;
    width: 336px !important;
    z-index: 10 !important;
  }

  .sidebar-panel,
  .app-shell-main > header,
  .app-shell-main > main > div,
  .glass,
  .glass-strong,
  .glass-soft {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .sidebar-panel,
  .app-shell-main > header,
  .app-shell-main > main > div {
    background: rgba(255,255,255,0.96) !important;
  }

  .app-shell-unified::before,
  .app-shell-unified::after,
  .app-shell-main::before,
  .app-shell-main::after,
  .sidebar-panel::after,
  .sidebar-panel::before,
  .app-shell-main > header::before,
  .app-shell-main > main > div::before {
    box-shadow: none !important;
    filter: none !important;
  }

  .sidebar-panel {
    border-right: 1px solid rgba(148, 163, 184, 0.22) !important;
  }
}


/* fixed25: desktop sidebar wheel-scroll and stronger closed folder styling */
@media (min-width: 1024px) {
  .app-shell-unified .sidebar-panel {
    display: flex !important;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden !important;
    overscroll-behavior: contain;
    will-change: auto !important;
  }

  .app-shell-unified .sidebar-panel > nav,
  .app-shell-unified .sidebar-panel > .flex-1,
  .app-shell-unified .sidebar-panel nav {
    flex: 1 1 auto;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-right: 0.35rem;
    scroll-behavior: auto !important;
  }

  .app-shell-unified .sidebar-panel nav * {
    pointer-events: auto;
  }

  .app-shell-unified .sidebar-panel nav > div > button {
    position: relative;
    border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.92));
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  }

  .app-shell-unified .sidebar-panel nav > div > button:hover {
    border-color: color-mix(in srgb, var(--primary) 24%, var(--border));
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.98));
  }

  .app-shell-unified .sidebar-panel nav > div > button > span:first-child {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 70%, transparent);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.96));
    color: color-mix(in srgb, var(--foreground) 72%, var(--muted-foreground));
  }

  .app-shell-unified .sidebar-panel nav > div > button:hover > span:first-child {
    color: var(--primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent);
  }

  .app-shell-unified .sidebar-panel nav > div > button > span:nth-child(2) {
    color: color-mix(in srgb, var(--foreground) 82%, var(--muted-foreground));
  }

  .app-shell-unified .sidebar-panel nav > div > button > span:nth-child(3),
  .app-shell-unified .sidebar-panel nav > div > button > svg {
    opacity: 0.82;
  }
}


/* fixed27: stronger desktop sidebar wheel + polished closed folders */
@media (min-width: 1024px) {
  .app-shell-unified .sidebar-panel nav {
    overscroll-behavior-y: contain;
    scroll-behavior: auto;
  }

  .app-shell-unified .sidebar-panel nav > div > button {
    cursor: pointer;
    border-color: color-mix(in srgb, var(--primary) 20%, var(--border)) !important;
    background: linear-gradient(180deg, rgba(239,246,255,0.96), rgba(248,250,252,0.98)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(15,23,42,0.04);
  }

  .app-shell-unified .sidebar-panel nav > div > button:hover {
    border-color: color-mix(in srgb, var(--primary) 28%, var(--border)) !important;
    background: linear-gradient(180deg, rgba(233,242,255,1), rgba(241,245,249,1)) !important;
    transform: translateY(-0.5px);
  }

  .app-shell-unified .sidebar-panel nav > div > button > span:first-child {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.96)) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 14%, var(--border));
    color: color-mix(in srgb, var(--primary) 62%, var(--foreground)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div > button > span:nth-child(2) {
    color: color-mix(in srgb, var(--foreground) 88%, var(--muted-foreground)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div > button > span:nth-child(3),
  .app-shell-unified .sidebar-panel nav > div > button > svg {
    opacity: 0.92 !important;
  }
}


/* fixed28: desktop dark sidebar category cards + stronger wheel behavior visuals */
@media (min-width: 1024px) {
  html.dark .app-shell-unified .sidebar-panel nav > div > button {
    border-color: rgba(96, 165, 250, 0.18) !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.22) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div > button:hover {
    border-color: rgba(96, 165, 250, 0.3) !important;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98)) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div > button > span:first-child {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98)) !important;
    color: rgba(191, 219, 254, 0.98) !important;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.18) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div > button > span:nth-child(2) {
    color: rgba(226, 232, 240, 0.92) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div > button > span:nth-child(3),
  html.dark .app-shell-unified .sidebar-panel nav > div > button > svg {
    color: rgba(148, 163, 184, 0.92) !important;
    opacity: 1 !important;
  }
}


/* fixed29: desktop align sidebar home block with overview header */
@media (min-width: 1024px) {
  .app-shell-unified {
    padding-top: 0.6rem !important;
  }

  .app-shell-unified .sidebar-panel {
    top: 0 !important;
    margin-top: 0 !important;
  }

  .app-shell-unified .sidebar-panel > div:first-child {
    padding-top: 0.85rem !important;
    padding-bottom: 0.65rem !important;
  }

  .app-shell-unified .sidebar-panel > .mx-4.mb-3.h-px {
    margin-top: 0 !important;
    margin-bottom: 0.65rem !important;
  }

  .app-shell-unified .app-shell-main > header {
    margin-top: 0 !important;
    padding-top: 0.45rem !important;
  }
}


/* fixed30: lower desktop sidebar home block slightly so it aligns with overview */
@media (min-width: 1024px) {
  .app-shell-unified {
    padding-top: 0.35rem !important;
  }

  .app-shell-unified .sidebar-panel {
    margin-top: 0.62rem !important;
  }

  .app-shell-unified .sidebar-panel > div:first-child {
    padding-top: 0.72rem !important;
    padding-bottom: 0.55rem !important;
  }

  .app-shell-unified .sidebar-panel > .mx-4.mb-3.h-px {
    margin-bottom: 0.5rem !important;
  }

  .app-shell-unified .app-shell-main > header {
    padding-top: 0.35rem !important;
  }
}


/* fixed31: category cards get distinct icon colors and softer non-gradient folder skins */
@media (min-width: 1024px) {
  .app-shell-unified .sidebar-panel nav > div > button {
    background: #f8fafc !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 1px 2px rgba(15,23,42,0.04) !important;
    transform: none !important;
  }

  .app-shell-unified .sidebar-panel nav > div > button:hover {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 4px 10px rgba(15,23,42,0.05) !important;
  }

  .app-shell-unified .sidebar-panel nav > div > button > span:first-child {
    background: rgba(255,255,255,0.9) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(1) > button {
    border-color: rgba(14,165,233,0.28) !important;
    background: linear-gradient(180deg, rgba(240,249,255,0.96), rgba(248,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(1) > button:hover {
    background: linear-gradient(180deg, rgba(232,246,255,1), rgba(242,248,252,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(1) > button > span:first-child {
    color: #0ea5e9 !important;
    box-shadow: inset 0 0 0 1px rgba(14,165,233,0.24) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(224,242,254,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(2) > button {
    border-color: rgba(139,92,246,0.28) !important;
    background: linear-gradient(180deg, rgba(245,243,255,0.98), rgba(250,250,255,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(2) > button:hover {
    background: linear-gradient(180deg, rgba(239,235,255,1), rgba(246,245,255,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(2) > button > span:first-child {
    color: #8b5cf6 !important;
    box-shadow: inset 0 0 0 1px rgba(139,92,246,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,233,254,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(3) > button {
    border-color: rgba(16,185,129,0.28) !important;
    background: linear-gradient(180deg, rgba(236,253,245,0.98), rgba(248,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(3) > button:hover {
    background: linear-gradient(180deg, rgba(229,250,240,1), rgba(242,248,245,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(3) > button > span:first-child {
    color: #10b981 !important;
    box-shadow: inset 0 0 0 1px rgba(16,185,129,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(209,250,229,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(4) > button {
    border-color: rgba(59,130,246,0.28) !important;
    background: linear-gradient(180deg, rgba(239,246,255,0.98), rgba(248,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(4) > button:hover {
    background: linear-gradient(180deg, rgba(232,242,255,1), rgba(242,247,252,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(4) > button > span:first-child {
    color: #3b82f6 !important;
    box-shadow: inset 0 0 0 1px rgba(59,130,246,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(219,234,254,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(5) > button {
    border-color: rgba(236,72,153,0.26) !important;
    background: linear-gradient(180deg, rgba(253,242,248,0.98), rgba(250,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(5) > button:hover {
    background: linear-gradient(180deg, rgba(251,236,245,1), rgba(246,244,250,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(5) > button > span:first-child {
    color: #ec4899 !important;
    box-shadow: inset 0 0 0 1px rgba(236,72,153,0.2) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,231,243,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(6) > button {
    border-color: rgba(245,158,11,0.28) !important;
    background: linear-gradient(180deg, rgba(255,251,235,0.98), rgba(250,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(6) > button:hover {
    background: linear-gradient(180deg, rgba(254,246,221,1), rgba(247,245,240,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(6) > button > span:first-child {
    color: #f59e0b !important;
    box-shadow: inset 0 0 0 1px rgba(245,158,11,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(254,243,199,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(7) > button {
    border-color: rgba(6,182,212,0.28) !important;
    background: linear-gradient(180deg, rgba(236,254,255,0.98), rgba(248,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(7) > button:hover {
    background: linear-gradient(180deg, rgba(227,250,252,1), rgba(242,248,250,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(7) > button > span:first-child {
    color: #06b6d4 !important;
    box-shadow: inset 0 0 0 1px rgba(6,182,212,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(207,250,254,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(8) > button {
    border-color: rgba(99,102,241,0.28) !important;
    background: linear-gradient(180deg, rgba(238,242,255,0.98), rgba(250,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(8) > button:hover {
    background: linear-gradient(180deg, rgba(230,235,255,1), rgba(244,245,251,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(8) > button > span:first-child {
    color: #6366f1 !important;
    box-shadow: inset 0 0 0 1px rgba(99,102,241,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(224,231,255,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(9) > button {
    border-color: rgba(244,63,94,0.26) !important;
    background: linear-gradient(180deg, rgba(255,241,242,0.98), rgba(250,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(9) > button:hover {
    background: linear-gradient(180deg, rgba(254,232,237,1), rgba(247,244,245,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(9) > button > span:first-child {
    color: #f43f5e !important;
    box-shadow: inset 0 0 0 1px rgba(244,63,94,0.2) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,228,230,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(10) > button {
    border-color: rgba(20,184,166,0.26) !important;
    background: linear-gradient(180deg, rgba(240,253,250,0.98), rgba(248,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(10) > button:hover {
    background: linear-gradient(180deg, rgba(230,250,245,1), rgba(243,248,246,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(10) > button > span:first-child {
    color: #14b8a6 !important;
    box-shadow: inset 0 0 0 1px rgba(20,184,166,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(204,251,241,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button {
    border-color: rgba(14,165,233,0.28) !important;
    background: linear-gradient(180deg, rgba(240,249,255,0.98), rgba(248,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button:hover {
    background: linear-gradient(180deg, rgba(232,246,255,1), rgba(242,248,252,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button > span:first-child {
    color: #0ea5e9 !important;
    box-shadow: inset 0 0 0 1px rgba(14,165,233,0.24) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(224,242,254,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button {
    border-color: rgba(71,85,105,0.26) !important;
    background: linear-gradient(180deg, rgba(248,250,252,0.98), rgba(241,245,249,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button:hover {
    background: linear-gradient(180deg, rgba(241,245,249,1), rgba(232,238,245,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button > span:first-child {
    color: #475569 !important;
    box-shadow: inset 0 0 0 1px rgba(71,85,105,0.18) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(226,232,240,0.96)) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div > button {
    background: rgba(15,23,42,0.96) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(1) > button { border-color: rgba(56,189,248,0.28) !important; background: linear-gradient(180deg, rgba(12,32,48,0.96), rgba(6,20,34,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(1) > button > span:first-child { color: #7dd3fc !important; background: linear-gradient(180deg, rgba(17,42,64,0.98), rgba(10,28,44,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(56,189,248,0.22) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(2) > button { border-color: rgba(167,139,250,0.28) !important; background: linear-gradient(180deg, rgba(28,20,54,0.96), rgba(18,14,40,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(2) > button > span:first-child { color: #c4b5fd !important; background: linear-gradient(180deg, rgba(48,36,80,0.98), rgba(29,23,56,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(167,139,250,0.22) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(3) > button { border-color: rgba(52,211,153,0.26) !important; background: linear-gradient(180deg, rgba(11,43,34,0.96), rgba(7,26,22,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(3) > button > span:first-child { color: #6ee7b7 !important; background: linear-gradient(180deg, rgba(18,68,54,0.98), rgba(12,38,31,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(52,211,153,0.2) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(4) > button { border-color: rgba(96,165,250,0.28) !important; background: linear-gradient(180deg, rgba(11,33,58,0.96), rgba(7,20,36,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(4) > button > span:first-child { color: #93c5fd !important; background: linear-gradient(180deg, rgba(18,50,86,0.98), rgba(12,31,53,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(96,165,250,0.2) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(5) > button { border-color: rgba(244,114,182,0.26) !important; background: linear-gradient(180deg, rgba(58,18,45,0.96), rgba(31,11,25,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(5) > button > span:first-child { color: #f9a8d4 !important; background: linear-gradient(180deg, rgba(82,27,63,0.98), rgba(48,17,34,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(244,114,182,0.2) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(6) > button { border-color: rgba(251,191,36,0.26) !important; background: linear-gradient(180deg, rgba(52,34,10,0.96), rgba(31,20,6,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(6) > button > span:first-child { color: #fcd34d !important; background: linear-gradient(180deg, rgba(80,55,17,0.98), rgba(48,31,10,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(251,191,36,0.2) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(7) > button { border-color: rgba(34,211,238,0.26) !important; background: linear-gradient(180deg, rgba(9,42,47,0.96), rgba(6,24,28,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(7) > button > span:first-child { color: #67e8f9 !important; background: linear-gradient(180deg, rgba(15,66,74,0.98), rgba(9,39,45,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(34,211,238,0.2) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(8) > button { border-color: rgba(129,140,248,0.26) !important; background: linear-gradient(180deg, rgba(23,24,57,0.96), rgba(15,15,35,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(8) > button > span:first-child { color: #a5b4fc !important; background: linear-gradient(180deg, rgba(37,39,84,0.98), rgba(24,26,54,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(129,140,248,0.2) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(9) > button { border-color: rgba(251,113,133,0.26) !important; background: linear-gradient(180deg, rgba(61,18,29,0.96), rgba(34,10,17,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(9) > button > span:first-child { color: #fda4af !important; background: linear-gradient(180deg, rgba(85,26,42,0.98), rgba(48,16,24,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(251,113,133,0.2) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(10) > button { border-color: rgba(45,212,191,0.26) !important; background: linear-gradient(180deg, rgba(8,43,40,0.96), rgba(5,25,23,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(10) > button > span:first-child { color: #5eead4 !important; background: linear-gradient(180deg, rgba(13,68,63,0.98), rgba(8,39,36,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(45,212,191,0.2) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button { border-color: rgba(56,189,248,0.28) !important; background: linear-gradient(180deg, rgba(12,32,48,0.96), rgba(6,20,34,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button > span:first-child { color: #7dd3fc !important; background: linear-gradient(180deg, rgba(17,42,64,0.98), rgba(10,28,44,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(56,189,248,0.22) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button { border-color: rgba(148,163,184,0.24) !important; background: linear-gradient(180deg, rgba(30,41,59,0.96), rgba(15,23,42,0.96)) !important; }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button > span:first-child { color: #cbd5e1 !important; background: linear-gradient(180deg, rgba(51,65,85,0.98), rgba(30,41,59,0.98)) !important; box-shadow: inset 0 0 0 1px rgba(148,163,184,0.2) !important; }
}


/* fixed32: move sidebar scrollbar to the opposite side and make it slimmer + softer */
.sidebar-panel nav,
.sidebar-panel > nav,
.sidebar-panel > .flex-1 {
  direction: rtl;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.42) transparent;
}

.sidebar-panel nav > *,
.sidebar-panel > nav > *,
.sidebar-panel > .flex-1 > * {
  direction: ltr;
}

.sidebar-panel nav,
.sidebar-panel > nav {
  padding-left: 0.28rem !important;
  padding-right: 0 !important;
}

.sidebar-panel nav::-webkit-scrollbar,
.sidebar-panel > nav::-webkit-scrollbar,
.sidebar-panel > .flex-1::-webkit-scrollbar {
  width: 6px;
}

.sidebar-panel nav::-webkit-scrollbar-track,
.sidebar-panel > nav::-webkit-scrollbar-track,
.sidebar-panel > .flex-1::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-panel nav::-webkit-scrollbar-thumb,
.sidebar-panel > nav::-webkit-scrollbar-thumb,
.sidebar-panel > .flex-1::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.36);
  border-radius: 999px;
}

.sidebar-panel nav::-webkit-scrollbar-thumb:hover,
.sidebar-panel > nav::-webkit-scrollbar-thumb:hover,
.sidebar-panel > .flex-1::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.52);
}

html.dark .sidebar-panel nav,
html.dark .sidebar-panel > nav,
html.dark .sidebar-panel > .flex-1 {
  scrollbar-color: rgba(148, 163, 184, 0.34) transparent;
}

html.dark .sidebar-panel nav::-webkit-scrollbar-thumb,
html.dark .sidebar-panel > nav::-webkit-scrollbar-thumb,
html.dark .sidebar-panel > .flex-1::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
}

html.dark .sidebar-panel nav::-webkit-scrollbar-thumb:hover,
html.dark .sidebar-panel > nav::-webkit-scrollbar-thumb:hover,
html.dark .sidebar-panel > .flex-1::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.42);
}


/* =====================================================================
   LIGHT-MODE COLOR FIX
   সমস্যা: নিচের element গুলো লাইট মোডে ডার্ক ব্যাকগ্রাউন্ড দেখাচ্ছিল
   ===================================================================== */

/* Fix 1: .code-block — hash generator hex output, HMAC, JWT, Basic Auth,
   cron summary, etc. সব জায়গায় slate-950 dark background ছিল।
   Light mode-এ slate-100 background + slate-900 text দিচ্ছি। */
html:not(.dark) .code-block {
  background-color: var(--color-slate-100) !important;
  color: var(--color-slate-900) !important;
  border-color: color-mix(in srgb, var(--border) 80%, transparent) !important;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

/* Fix 2: inline bg-slate-900/85 text-slate-100 প্যাটার্ন —
   DecodedCard (JWT decoder), CodePanel (cron human summary),
   এবং CSS theme preview-এ ব্যবহার হচ্ছিল।
   Light mode-এ সব সময় কালো দেখাচ্ছিল। */
html:not(.dark) .bg-slate-900\/85 {
  background-color: var(--color-slate-100) !important;
  color: var(--color-slate-900) !important;
  border-color: color-mix(in srgb, var(--border) 80%, transparent) !important;
}

/* Fix 3: .prose-preview pre — markdown previewer-এর code block।
   সবসময় rgba(2,6,23,0.96) দিয়ে কালো background ছিল। */
html:not(.dark) .prose-preview pre {
  background: var(--color-slate-100) !important;
  color: var(--color-slate-900) !important;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

/* Fix 4: playground editor bg-[#0d1117] — tool playground editor area।
   CSS patch আগে থেকে ছিল কিন্তু background override মিস ছিল। */
html:not(.dark) .tool-playground-editor.bg-\[\#0d1117\],
html:not(.dark) [class*="bg-\[#0d1117\]"] {
  background: linear-gradient(180deg, rgba(248,250,252,0.98), rgba(241,245,249,0.98)) !important;
  color: #0f172a !important;
}

/* Fix 5: playground tab active state bg-slate-800/60 text-slate-100 —
   active tab চাপলে dark background দেখাচ্ছিল light mode-এ */
html:not(.dark) .tool-playground-tab.bg-slate-800\/60,
html:not(.dark) [class*="bg-slate-800/60"] {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
}


/* =====================================================================
   LIGHT-MODE GLASSMORPHISM FIX — v2
   সমস্যা: bg-black/*, bg-white/5, border-white/10, text-white
   এই ক্লাসগুলো dark glassmorphism-এর জন্য বানানো কিন্তু light মোডে
   card এর সাদা ব্যাকগ্রাউন্ডে গ্রে/ইনভিজিবল দেখাচ্ছিল।
   ===================================================================== */

/* Fix A: bg-black/* glass boxes → light mode-এ secondary/muted background */
html:not(.dark) .bg-black\/20 {
  background-color: var(--secondary) !important;
}
html:not(.dark) .bg-black\/25 {
  background-color: var(--secondary) !important;
}
html:not(.dark) .bg-black\/30 {
  background-color: var(--secondary) !important;
}

/* Fix B: bg-white/5, bg-white/[0.08] — near-transparent on white = invisible */
html:not(.dark) .bg-white\/5 {
  background-color: var(--secondary) !important;
}
html:not(.dark) .bg-white\/\[0\.08\] {
  background-color: var(--secondary) !important;
}

/* Fix C: border-white/* → use design-system border color */
html:not(.dark) .border-white\/10,
html:not(.dark) .border-white\/12,
html:not(.dark) .border-white\/\[0\.05\],
html:not(.dark) .border-white\/\[0\.06\],
html:not(.dark) .border-white\/\[0\.07\] {
  border-color: var(--border) !important;
}

/* Fix D: text-white on light backgrounds → use foreground color.
   Exception: bg-primary ব্যবহার করা elements এ white text ঠিকই থাকবে */
html:not(.dark) .text-white {
  color: var(--foreground) !important;
}
html:not(.dark) .bg-primary.text-white,
html:not(.dark) .bg-primary > .text-white,
html:not(.dark) [class*="bg-primary"].text-white {
  color: var(--color-white) !important;
}

/* Fix E: hover:bg-white/5 — hover state also needs fixing */
html:not(.dark) .hover\:bg-white\/5:hover {
  background-color: var(--accent) !important;
}

/* Fix F: emerald badge — text-emerald-300 is too light for light mode */
html:not(.dark) .text-emerald-300 {
  color: var(--color-emerald-600) !important;
}
html:not(.dark) .border-emerald-500\/20 {
  border-color: color-mix(in srgb, var(--color-emerald-500) 35%, transparent) !important;
}
html:not(.dark) .bg-emerald-500\/10 {
  background-color: color-mix(in srgb, var(--color-emerald-500) 12%, transparent) !important;
}

/* Fix G: inline length counter span — rounded-full border border-white/10 bg-white/5
   Already covered by B+C above, but adding specificity for the span */
html:not(.dark) span.bg-white\/5 {
  background-color: var(--secondary) !important;
  border-color: var(--border) !important;
}

/* Consistent clear controls without shifting field layout */
.utility-field {
  position: relative;
  width: 100%;
}

.utility-field > input,
.utility-field > textarea {
  width: 100%;
}

.utility-field__control--clearable {
  padding-right: 3rem !important;
}

.utility-field--textarea .utility-field__control--clearable {
  padding-right: 3.25rem !important;
}

.utility-clear-button {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--muted-foreground);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.utility-field--textarea .utility-clear-button {
  top: 0.95rem;
  transform: none;
}

.utility-clear-button:hover {
  border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
  background: color-mix(in srgb, var(--accent) 88%, transparent);
  color: var(--foreground);
}

.utility-clear-button:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--primary) 42%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.metric-tile {
  min-height: 0;
  align-self: start;
}

.metric-tile > div {
  min-height: 0;
}


/* Elevated metric tiles */
.metric-tile {
  position: relative;
  overflow: hidden;
  min-height: 0;
  width: 100%;
  align-self: start;
  border: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--card) 98%, white 2%), color-mix(in srgb, var(--background) 94%, var(--primary) 6%));
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.metric-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--primary) 7%, transparent) 100%);
  pointer-events: none;
}

.metric-tile > div {
  min-height: 0;
}

.metric-tile__content {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 1.2rem 1.3rem;
}

.metric-tile__stack {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.metric-tile__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  text-align: left;
}

.metric-tile__copy > p:first-child {
  margin: 0;
  color: color-mix(in srgb, var(--foreground) 56%, white 44%) !important;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.28em !important;
  line-height: 1.2;
}

.metric-tile__copy > p:last-child {
  margin: 0;
  color: var(--foreground) !important;
  font-size: clamp(0.98rem, 1.1vw + 0.48rem, 1.45rem) !important;
  font-weight: 700 !important;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.metric-tile__icon {
  position: relative;
  top: auto;
  right: auto;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-left: 0;
  border: 1px solid color-mix(in srgb, var(--border) 78%, transparent) !important;
  background: color-mix(in srgb, white 88%, var(--primary) 12%) !important;
  color: color-mix(in srgb, var(--foreground) 82%, var(--primary) 18%) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.metric-tile__icon svg {
  opacity: 0.95;
}

.dark .metric-tile {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9));
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark .metric-tile::before {
  background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.12) 100%);
}

.dark .metric-tile__copy > p:first-child {
  color: rgba(226, 232, 240, 0.72) !important;
}

.dark .metric-tile__copy > p:last-child {
  color: #f8fafc !important;
}

.dark .metric-tile__icon {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f8fafc !important;
}

@media (max-width: 767px) {
  .metric-tile__content {
    min-height: 104px;
    padding: 1rem 1.05rem;
  }

  .metric-tile__stack {
    gap: 0.8rem;
  }

  .metric-tile__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .metric-tile__copy > p:last-child {
    font-size: 1rem !important;
  }
}


.tool-two-col {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.tool-two-col > * {
  min-width: 0;
}

@media (min-width: 1024px) {
  .tool-two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.metric-tile--summary .metric-tile__content {
  min-height: 104px;
  align-items: flex-start;
  padding: 1rem 1.1rem;
}

.metric-tile--summary .metric-tile__stack {
  width: 100%;
  align-items: flex-start;
}

.metric-tile--summary .metric-tile__icon {
  align-self: flex-start;
  margin-top: 0.1rem;
}

.metric-tile--summary .metric-tile__copy > p:last-child {
  font-size: clamp(1rem, 0.8vw + 0.62rem, 1.28rem) !important;
}

@media (max-width: 767px) {
  .metric-tile--summary .metric-tile__content {
    min-height: 96px;
    padding: 0.95rem 1rem;
  }
}


.tool-page-content > .grid,
.app-shell-main .grid[class*="xl:grid-cols"],
.app-shell-main .grid[class*="lg:grid-cols"],
.app-shell-main .grid[class*="2xl:grid-cols"] {
  align-items: start;
}

@media (max-width: 1023px) {
  .metric-tile__stack {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}


.glass-preview-shell,
.triangle-preview-shell,
.aspect-preview-shell,
.svg-preview-shell {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--color-slate-300) 72%, transparent);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.75), transparent 32%),
    radial-gradient(circle at 80% 15%, rgba(96,165,250,0.24), transparent 28%),
    linear-gradient(135deg, rgba(15,23,42,0.05), rgba(59,130,246,0.12), rgba(244,114,182,0.10));
  padding: 1.5rem;
}
.glass-preview-card {
  width: min(100%, 30rem);
}
.triangle-preview-shape {
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.18));
}
.aspect-preview-box {
  width: min(100%, 20rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.55);
  background: linear-gradient(135deg, rgba(37,99,235,0.92), rgba(14,165,233,0.76));
  box-shadow: 0 18px 30px rgba(37,99,235,0.22);
}
.svg-preview-art {
  width: min(100%, 18rem);
  aspect-ratio: 1;
  border-radius: 1.5rem;
  border: 1px solid rgba(148,163,184,0.35);
  background-color: rgba(255,255,255,0.65);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 72%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 18px 30px rgba(15,23,42,0.10);
}
.ratio-stat-card {
  border-color: color-mix(in oklab, var(--color-slate-300) 72%, transparent);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
}
.ratio-stat-card__content {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
}


/* fixed39: compact, non-overlapping metric cards for newly added tools */
html[data-route="/csv-to-json"] .app-shell-main .grid,
html[data-route="/xml-to-json"] .app-shell-main .grid,
html[data-route="/yaml-to-json"] .app-shell-main .grid,
html[data-route="/number-base-converter"] .app-shell-main .grid,
html[data-route="/glassmorphism-generator"] .app-shell-main .grid,
html[data-route="/css-triangle-generator"] .app-shell-main .grid,
html[data-route="/aspect-ratio-calculator"] .app-shell-main .grid,
html[data-route="/svg-to-data-uri"] .app-shell-main .grid,
html[data-route="/cidr-subnet-calculator"] .app-shell-main .grid,
html[data-route="/chmod-calculator"] .app-shell-main .grid,
html[data-route="/rsa-key-pair-generator"] .app-shell-main .grid,
html[data-route="/bcrypt-hash-generator"] .app-shell-main .grid,
html[data-route="/uuid-v7-generator"] .app-shell-main .grid,
html[data-route="/csv-to-json"] .app-shell-main [class*="grid-cols"],
html[data-route="/xml-to-json"] .app-shell-main [class*="grid-cols"],
html[data-route="/yaml-to-json"] .app-shell-main [class*="grid-cols"],
html[data-route="/number-base-converter"] .app-shell-main [class*="grid-cols"],
html[data-route="/glassmorphism-generator"] .app-shell-main [class*="grid-cols"],
html[data-route="/css-triangle-generator"] .app-shell-main [class*="grid-cols"],
html[data-route="/aspect-ratio-calculator"] .app-shell-main [class*="grid-cols"],
html[data-route="/svg-to-data-uri"] .app-shell-main [class*="grid-cols"],
html[data-route="/cidr-subnet-calculator"] .app-shell-main [class*="grid-cols"],
html[data-route="/chmod-calculator"] .app-shell-main [class*="grid-cols"],
html[data-route="/rsa-key-pair-generator"] .app-shell-main [class*="grid-cols"],
html[data-route="/bcrypt-hash-generator"] .app-shell-main [class*="grid-cols"],
html[data-route="/uuid-v7-generator"] .app-shell-main [class*="grid-cols"] {
  align-items: start !important;
}

html[data-route="/csv-to-json"] .app-shell-main .grid > *,
html[data-route="/xml-to-json"] .app-shell-main .grid > *,
html[data-route="/yaml-to-json"] .app-shell-main .grid > *,
html[data-route="/number-base-converter"] .app-shell-main .grid > *,
html[data-route="/glassmorphism-generator"] .app-shell-main .grid > *,
html[data-route="/css-triangle-generator"] .app-shell-main .grid > *,
html[data-route="/aspect-ratio-calculator"] .app-shell-main .grid > *,
html[data-route="/svg-to-data-uri"] .app-shell-main .grid > *,
html[data-route="/cidr-subnet-calculator"] .app-shell-main .grid > *,
html[data-route="/chmod-calculator"] .app-shell-main .grid > *,
html[data-route="/rsa-key-pair-generator"] .app-shell-main .grid > *,
html[data-route="/bcrypt-hash-generator"] .app-shell-main .grid > *,
html[data-route="/uuid-v7-generator"] .app-shell-main .grid > *,
html[data-route="/csv-to-json"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/xml-to-json"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/yaml-to-json"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/number-base-converter"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/glassmorphism-generator"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/css-triangle-generator"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/aspect-ratio-calculator"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/svg-to-data-uri"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/cidr-subnet-calculator"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/chmod-calculator"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/rsa-key-pair-generator"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/bcrypt-hash-generator"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/uuid-v7-generator"] .app-shell-main [class*="grid-cols"] > *,
html[data-route="/csv-to-json"] .app-shell-main .space-y-3,
html[data-route="/xml-to-json"] .app-shell-main .space-y-3,
html[data-route="/yaml-to-json"] .app-shell-main .space-y-3,
html[data-route="/number-base-converter"] .app-shell-main .space-y-3,
html[data-route="/glassmorphism-generator"] .app-shell-main .space-y-3,
html[data-route="/css-triangle-generator"] .app-shell-main .space-y-3,
html[data-route="/aspect-ratio-calculator"] .app-shell-main .space-y-3,
html[data-route="/svg-to-data-uri"] .app-shell-main .space-y-3,
html[data-route="/cidr-subnet-calculator"] .app-shell-main .space-y-3,
html[data-route="/chmod-calculator"] .app-shell-main .space-y-3,
html[data-route="/rsa-key-pair-generator"] .app-shell-main .space-y-3,
html[data-route="/bcrypt-hash-generator"] .app-shell-main .space-y-3,
html[data-route="/uuid-v7-generator"] .app-shell-main .space-y-3,
html[data-route="/csv-to-json"] .app-shell-main .space-y-4,
html[data-route="/xml-to-json"] .app-shell-main .space-y-4,
html[data-route="/yaml-to-json"] .app-shell-main .space-y-4,
html[data-route="/number-base-converter"] .app-shell-main .space-y-4,
html[data-route="/glassmorphism-generator"] .app-shell-main .space-y-4,
html[data-route="/css-triangle-generator"] .app-shell-main .space-y-4,
html[data-route="/aspect-ratio-calculator"] .app-shell-main .space-y-4,
html[data-route="/svg-to-data-uri"] .app-shell-main .space-y-4,
html[data-route="/cidr-subnet-calculator"] .app-shell-main .space-y-4,
html[data-route="/chmod-calculator"] .app-shell-main .space-y-4,
html[data-route="/rsa-key-pair-generator"] .app-shell-main .space-y-4,
html[data-route="/bcrypt-hash-generator"] .app-shell-main .space-y-4,
html[data-route="/uuid-v7-generator"] .app-shell-main .space-y-4 {
  align-self: start !important;
}

html[data-route="/csv-to-json"] .metric-tile,
html[data-route="/xml-to-json"] .metric-tile,
html[data-route="/yaml-to-json"] .metric-tile,
html[data-route="/number-base-converter"] .metric-tile,
html[data-route="/glassmorphism-generator"] .metric-tile,
html[data-route="/css-triangle-generator"] .metric-tile,
html[data-route="/aspect-ratio-calculator"] .metric-tile,
html[data-route="/svg-to-data-uri"] .metric-tile,
html[data-route="/cidr-subnet-calculator"] .metric-tile,
html[data-route="/chmod-calculator"] .metric-tile,
html[data-route="/rsa-key-pair-generator"] .metric-tile,
html[data-route="/bcrypt-hash-generator"] .metric-tile,
html[data-route="/uuid-v7-generator"] .metric-tile {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: none !important;
  align-self: start !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,244,255,0.96)) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

html[data-route="/csv-to-json"] .metric-tile::before,
html[data-route="/xml-to-json"] .metric-tile::before,
html[data-route="/yaml-to-json"] .metric-tile::before,
html[data-route="/number-base-converter"] .metric-tile::before,
html[data-route="/glassmorphism-generator"] .metric-tile::before,
html[data-route="/css-triangle-generator"] .metric-tile::before,
html[data-route="/aspect-ratio-calculator"] .metric-tile::before,
html[data-route="/svg-to-data-uri"] .metric-tile::before,
html[data-route="/cidr-subnet-calculator"] .metric-tile::before,
html[data-route="/chmod-calculator"] .metric-tile::before,
html[data-route="/rsa-key-pair-generator"] .metric-tile::before,
html[data-route="/bcrypt-hash-generator"] .metric-tile::before,
html[data-route="/uuid-v7-generator"] .metric-tile::before {
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.06) 100%) !important;
}

html[data-route="/csv-to-json"] .metric-tile__content,
html[data-route="/xml-to-json"] .metric-tile__content,
html[data-route="/yaml-to-json"] .metric-tile__content,
html[data-route="/number-base-converter"] .metric-tile__content,
html[data-route="/glassmorphism-generator"] .metric-tile__content,
html[data-route="/css-triangle-generator"] .metric-tile__content,
html[data-route="/aspect-ratio-calculator"] .metric-tile__content,
html[data-route="/svg-to-data-uri"] .metric-tile__content,
html[data-route="/cidr-subnet-calculator"] .metric-tile__content,
html[data-route="/chmod-calculator"] .metric-tile__content,
html[data-route="/rsa-key-pair-generator"] .metric-tile__content,
html[data-route="/bcrypt-hash-generator"] .metric-tile__content,
html[data-route="/uuid-v7-generator"] .metric-tile__content {
  display: flex !important;
  align-items: center !important;
  min-height: 90px !important;
  height: auto !important;
  padding: 1rem 1.15rem !important;
}

html[data-route="/csv-to-json"] .metric-tile__stack,
html[data-route="/xml-to-json"] .metric-tile__stack,
html[data-route="/yaml-to-json"] .metric-tile__stack,
html[data-route="/number-base-converter"] .metric-tile__stack,
html[data-route="/glassmorphism-generator"] .metric-tile__stack,
html[data-route="/css-triangle-generator"] .metric-tile__stack,
html[data-route="/aspect-ratio-calculator"] .metric-tile__stack,
html[data-route="/svg-to-data-uri"] .metric-tile__stack,
html[data-route="/cidr-subnet-calculator"] .metric-tile__stack,
html[data-route="/chmod-calculator"] .metric-tile__stack,
html[data-route="/rsa-key-pair-generator"] .metric-tile__stack,
html[data-route="/bcrypt-hash-generator"] .metric-tile__stack,
html[data-route="/uuid-v7-generator"] .metric-tile__stack {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.9rem !important;
}

html[data-route="/csv-to-json"] .metric-tile__copy,
html[data-route="/xml-to-json"] .metric-tile__copy,
html[data-route="/yaml-to-json"] .metric-tile__copy,
html[data-route="/number-base-converter"] .metric-tile__copy,
html[data-route="/glassmorphism-generator"] .metric-tile__copy,
html[data-route="/css-triangle-generator"] .metric-tile__copy,
html[data-route="/aspect-ratio-calculator"] .metric-tile__copy,
html[data-route="/svg-to-data-uri"] .metric-tile__copy,
html[data-route="/cidr-subnet-calculator"] .metric-tile__copy,
html[data-route="/chmod-calculator"] .metric-tile__copy,
html[data-route="/rsa-key-pair-generator"] .metric-tile__copy,
html[data-route="/bcrypt-hash-generator"] .metric-tile__copy,
html[data-route="/uuid-v7-generator"] .metric-tile__copy {
  min-width: 0 !important;
  justify-content: center !important;
}

html[data-route="/csv-to-json"] .metric-tile__copy > p:first-child,
html[data-route="/xml-to-json"] .metric-tile__copy > p:first-child,
html[data-route="/yaml-to-json"] .metric-tile__copy > p:first-child,
html[data-route="/number-base-converter"] .metric-tile__copy > p:first-child,
html[data-route="/glassmorphism-generator"] .metric-tile__copy > p:first-child,
html[data-route="/css-triangle-generator"] .metric-tile__copy > p:first-child,
html[data-route="/aspect-ratio-calculator"] .metric-tile__copy > p:first-child,
html[data-route="/svg-to-data-uri"] .metric-tile__copy > p:first-child,
html[data-route="/cidr-subnet-calculator"] .metric-tile__copy > p:first-child,
html[data-route="/chmod-calculator"] .metric-tile__copy > p:first-child,
html[data-route="/rsa-key-pair-generator"] .metric-tile__copy > p:first-child,
html[data-route="/bcrypt-hash-generator"] .metric-tile__copy > p:first-child,
html[data-route="/uuid-v7-generator"] .metric-tile__copy > p:first-child {
  font-size: 0.68rem !important;
  letter-spacing: 0.22em !important;
}

html[data-route="/csv-to-json"] .metric-tile__copy > p:last-child,
html[data-route="/xml-to-json"] .metric-tile__copy > p:last-child,
html[data-route="/yaml-to-json"] .metric-tile__copy > p:last-child,
html[data-route="/number-base-converter"] .metric-tile__copy > p:last-child,
html[data-route="/glassmorphism-generator"] .metric-tile__copy > p:last-child,
html[data-route="/css-triangle-generator"] .metric-tile__copy > p:last-child,
html[data-route="/aspect-ratio-calculator"] .metric-tile__copy > p:last-child,
html[data-route="/svg-to-data-uri"] .metric-tile__copy > p:last-child,
html[data-route="/cidr-subnet-calculator"] .metric-tile__copy > p:last-child,
html[data-route="/chmod-calculator"] .metric-tile__copy > p:last-child,
html[data-route="/rsa-key-pair-generator"] .metric-tile__copy > p:last-child,
html[data-route="/bcrypt-hash-generator"] .metric-tile__copy > p:last-child,
html[data-route="/uuid-v7-generator"] .metric-tile__copy > p:last-child {
  font-size: clamp(1rem, 0.85vw + 0.78rem, 1.35rem) !important;
  line-height: 1.28 !important;
}

html[data-route="/csv-to-json"] .metric-tile__icon,
html[data-route="/xml-to-json"] .metric-tile__icon,
html[data-route="/yaml-to-json"] .metric-tile__icon,
html[data-route="/number-base-converter"] .metric-tile__icon,
html[data-route="/glassmorphism-generator"] .metric-tile__icon,
html[data-route="/css-triangle-generator"] .metric-tile__icon,
html[data-route="/aspect-ratio-calculator"] .metric-tile__icon,
html[data-route="/svg-to-data-uri"] .metric-tile__icon,
html[data-route="/cidr-subnet-calculator"] .metric-tile__icon,
html[data-route="/chmod-calculator"] .metric-tile__icon,
html[data-route="/rsa-key-pair-generator"] .metric-tile__icon,
html[data-route="/bcrypt-hash-generator"] .metric-tile__icon,
html[data-route="/uuid-v7-generator"] .metric-tile__icon {
  position: static !important;
  margin-left: 0.2rem !important;
  width: 44px !important;
  height: 44px !important;
  flex-basis: 44px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
}

@media (max-width: 767px) {
  html[data-route="/csv-to-json"] .metric-tile__content,
html[data-route="/xml-to-json"] .metric-tile__content,
html[data-route="/yaml-to-json"] .metric-tile__content,
html[data-route="/number-base-converter"] .metric-tile__content,
html[data-route="/glassmorphism-generator"] .metric-tile__content,
html[data-route="/css-triangle-generator"] .metric-tile__content,
html[data-route="/aspect-ratio-calculator"] .metric-tile__content,
html[data-route="/svg-to-data-uri"] .metric-tile__content,
html[data-route="/cidr-subnet-calculator"] .metric-tile__content,
html[data-route="/chmod-calculator"] .metric-tile__content,
html[data-route="/rsa-key-pair-generator"] .metric-tile__content,
html[data-route="/bcrypt-hash-generator"] .metric-tile__content,
html[data-route="/uuid-v7-generator"] .metric-tile__content {
    min-height: 82px !important;
    padding: 0.92rem 1rem !important;
  }
}

/* fixed40: tighter desktop category chips so long labels stay inside */
@media (min-width: 1024px) {
  .home-filter-chips {
    gap: 0.42rem !important;
    overflow-x: visible !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    padding-right: 0.2rem !important;
  }

  .home-filter-chips::-webkit-scrollbar {
    display: none !important;
  }

  .home-filter-chips button,
  .home-filter-chips .home-filter-clear {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    height: 2.18rem !important;
    padding-inline: 0.74rem !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

/* fixed41: network + system parity and responsive home category chips */
@media (min-width: 1024px) {
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button {
    border-color: rgba(14,165,233,0.28) !important;
    background: linear-gradient(180deg, rgba(239,246,255,0.98), rgba(248,250,252,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button:hover {
    background: linear-gradient(180deg, rgba(232,242,255,1), rgba(242,247,252,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button > span:first-child {
    color: #3b82f6 !important;
    box-shadow: inset 0 0 0 1px rgba(59,130,246,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(219,234,254,0.95)) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button {
    border-color: rgba(148,163,184,0.28) !important;
    background: linear-gradient(180deg, rgba(248,250,252,0.98), rgba(255,255,255,0.98)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button:hover {
    background: linear-gradient(180deg, rgba(241,245,249,1), rgba(249,250,251,1)) !important;
  }
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button > span:first-child {
    color: #64748b !important;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,0.24) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.96)) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button {
    border-color: rgba(96,165,250,0.28) !important;
    background: linear-gradient(180deg, rgba(11,33,58,0.96), rgba(7,20,36,0.96)) !important;
  }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button > span:first-child {
    color: #93c5fd !important;
    background: linear-gradient(180deg, rgba(18,50,86,0.98), rgba(12,31,53,0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(96,165,250,0.2) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button {
    border-color: rgba(148,163,184,0.28) !important;
    background: linear-gradient(180deg, rgba(30,41,59,0.96), rgba(15,23,42,0.96)) !important;
  }
  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button > span:first-child {
    color: #cbd5e1 !important;
    background: linear-gradient(180deg, rgba(51,65,85,0.98), rgba(30,41,59,0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,0.2) !important;
  }
}

.home-filter-bar,
.home-filter-search,
.home-filter-chips {
  min-width: 0 !important;
}

.home-filter-chips {
  max-width: 100% !important;
}

@media (min-width: 1024px) and (max-width: 1360px) {
  .home-filter-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .home-filter-search {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .home-filter-chips {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    overflow-x: visible !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem !important;
    gap: 0.45rem !important;
  }

  .home-filter-chips > * {
    flex: 0 0 auto !important;
  }

  .home-filter-chips button,
  .home-filter-chips .home-filter-clear {
    height: 2.08rem !important;
    padding-inline: 0.7rem !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.11em !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 1023px) {
  .home-filter-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .home-filter-chips {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    overflow-x: visible !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem !important;
  }

  .home-filter-chips > * {
    flex: 0 0 auto !important;
  }

  .home-filter-chips button,
  .home-filter-chips .home-filter-clear {
    white-space: nowrap !important;
  }
}


/* fixed42: stronger sidebar tints for Network/System + fully responsive home category rail */
@media (min-width: 1024px) {
  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button {
    border-color: rgba(56, 189, 248, 0.42) !important;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(224, 242, 254, 0.96)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 24px rgba(14, 165, 233, 0.08) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button:hover {
    border-color: rgba(14, 165, 233, 0.5) !important;
    background: linear-gradient(135deg, rgba(232, 245, 255, 1), rgba(214, 240, 255, 0.98)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 12px 28px rgba(14, 165, 233, 0.12) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button > span:first-child {
    color: #0284c7 !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(219, 234, 254, 0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.2), 0 8px 16px rgba(14, 165, 233, 0.08) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button {
    border-color: rgba(148, 163, 184, 0.44) !important;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.97)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 24px rgba(100, 116, 139, 0.08) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button:hover {
    border-color: rgba(100, 116, 139, 0.5) !important;
    background: linear-gradient(135deg, rgba(244, 247, 250, 1), rgba(234, 240, 246, 0.98)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 12px 28px rgba(100, 116, 139, 0.12) !important;
  }

  .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button > span:first-child {
    color: #475569 !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(241, 245, 249, 0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24), 0 8px 16px rgba(100, 116, 139, 0.08) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button {
    border-color: rgba(125, 211, 252, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 34, 56, 0.98), rgba(7, 22, 38, 0.98)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 14px 34px rgba(2, 132, 199, 0.18) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(11) > button > span:first-child {
    color: #7dd3fc !important;
    background: linear-gradient(180deg, rgba(17, 54, 85, 0.98), rgba(10, 34, 56, 0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.18), 0 8px 18px rgba(2, 132, 199, 0.18) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button {
    border-color: rgba(203, 213, 225, 0.24) !important;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.98), rgba(15, 23, 42, 0.98)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 14px 34px rgba(51, 65, 85, 0.16) !important;
  }

  html.dark .app-shell-unified .sidebar-panel nav > div:nth-of-type(12) > button > span:first-child {
    color: #e2e8f0 !important;
    background: linear-gradient(180deg, rgba(51, 65, 85, 0.98), rgba(30, 41, 59, 0.98)) !important;
    box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.14), 0 8px 18px rgba(51, 65, 85, 0.16) !important;
  }
}

.home-filter-bar,
.home-filter-search,
.home-filter-chips {
  min-width: 0 !important;
}

.home-filter-chips {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.42rem !important;
  overflow-x: visible !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  padding-bottom: 0.15rem !important;
  scroll-snap-type: x proximity;
}

.home-filter-chips::-webkit-scrollbar {
  display: none !important;
}

.home-filter-chips > * {
  flex: 0 0 auto !important;
  scroll-snap-align: start;
}

.home-filter-chips button,
.home-filter-chips .home-filter-clear {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  height: 2.02rem !important;
  padding-inline: 0.72rem !important;
  font-size: 0.61rem !important;
  letter-spacing: 0.11em !important;
  line-height: 1 !important;
}

@media (min-width: 1024px) {
  .home-filter-bar {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    min-width: 0 !important;
  }

  .home-filter-search {
    flex: 0 1 clamp(240px, 26vw, 320px) !important;
    width: clamp(240px, 26vw, 320px) !important;
    max-width: clamp(240px, 26vw, 320px) !important;
    min-width: 0 !important;
  }

  .home-filter-chips {
    flex: 1 1 auto !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 1500px) {
  .home-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .home-filter-search {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
  }

  .home-filter-chips {
    width: 100% !important;
  }
}


/* fixed43: stable sidebar color skins for Network and System using data-category selectors */
.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"] {
  border: 1px solid rgba(56, 189, 248, 0.42) !important;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(224, 242, 254, 0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 24px rgba(14, 165, 233, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"]:hover {
  border-color: rgba(14, 165, 233, 0.54) !important;
  background: linear-gradient(135deg, rgba(232, 245, 255, 1), rgba(214, 240, 255, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 12px 28px rgba(14, 165, 233, 0.12) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="Network"] {
  color: #0284c7 !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(219, 234, 254, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.22), 0 8px 16px rgba(14, 165, 233, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"] {
  border: 1px solid rgba(148, 163, 184, 0.42) !important;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.97)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 24px rgba(100, 116, 139, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"]:hover {
  border-color: rgba(100, 116, 139, 0.5) !important;
  background: linear-gradient(135deg, rgba(244, 247, 250, 1), rgba(234, 240, 246, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 12px 28px rgba(100, 116, 139, 0.12) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="System"] {
  color: #475569 !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(241, 245, 249, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24), 0 8px 16px rgba(100, 116, 139, 0.08) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"] {
  border-color: rgba(125, 211, 252, 0.34) !important;
  background: linear-gradient(180deg, rgba(10, 34, 56, 0.98), rgba(7, 22, 38, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 14px 34px rgba(2, 132, 199, 0.18) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="Network"] {
  color: #7dd3fc !important;
  background: linear-gradient(180deg, rgba(17, 54, 85, 0.98), rgba(10, 34, 56, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.18), 0 8px 18px rgba(2, 132, 199, 0.18) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"] {
  border-color: rgba(203, 213, 225, 0.24) !important;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.98), rgba(15, 23, 42, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 14px 34px rgba(51, 65, 85, 0.16) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="System"] {
  color: #e2e8f0 !important;
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.98), rgba(30, 41, 59, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.14), 0 8px 18px rgba(51, 65, 85, 0.16) !important;
}


.cat-utility-accent {
  color: #0f9f8c !important;
}

.cat-utility-soft {
  border-color: rgba(15, 159, 140, 0.28) !important;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(45, 212, 191, 0.05)) !important;
}

.cat-network-accent {
  color: #2563eb !important;
}

.cat-network-soft {
  border-color: rgba(37, 99, 235, 0.26) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.11), rgba(96, 165, 250, 0.04)) !important;
}

.cat-system-accent {
  color: #ea580c !important;
}

.cat-system-soft {
  border-color: rgba(234, 88, 12, 0.24) !important;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 191, 36, 0.04)) !important;
}

.dark .cat-utility-accent {
  color: #5eead4 !important;
}

.dark .cat-utility-soft {
  border-color: rgba(45, 212, 191, 0.34) !important;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.22), rgba(15, 23, 42, 0.52)) !important;
}

.dark .cat-network-accent {
  color: #93c5fd !important;
}

.dark .cat-network-soft {
  border-color: rgba(96, 165, 250, 0.34) !important;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.24), rgba(15, 23, 42, 0.56)) !important;
}

.dark .cat-system-accent {
  color: #fdba74 !important;
}

.dark .cat-system-soft {
  border-color: rgba(251, 146, 60, 0.34) !important;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.22), rgba(15, 23, 42, 0.54)) !important;
}


/* fixed44: restore distinct sidebar skins for Utility, Network, and System */
.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Utility"] {
  border: 1px solid rgba(20, 184, 166, 0.34) !important;
  background: linear-gradient(135deg, rgba(245, 255, 253, 0.98), rgba(230, 253, 249, 0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 24px rgba(13, 148, 136, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Utility"]:hover {
  border-color: rgba(13, 148, 136, 0.5) !important;
  background: linear-gradient(135deg, rgba(239, 255, 252, 1), rgba(220, 252, 246, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 12px 28px rgba(13, 148, 136, 0.12) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="Utility"] {
  color: #0f9f8c !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(204, 251, 241, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.2), 0 8px 16px rgba(13, 148, 136, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Utility"] > span:nth-of-type(3),
.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Utility"] > svg {
  color: rgba(15, 159, 140, 0.78) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"] {
  border: 1px solid rgba(59, 130, 246, 0.34) !important;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(224, 231, 255, 0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 24px rgba(37, 99, 235, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"]:hover {
  border-color: rgba(37, 99, 235, 0.54) !important;
  background: linear-gradient(135deg, rgba(232, 242, 255, 1), rgba(219, 234, 254, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 12px 28px rgba(37, 99, 235, 0.12) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="Network"] {
  color: #2563eb !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(219, 234, 254, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.2), 0 8px 16px rgba(37, 99, 235, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"] > span:nth-of-type(3),
.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"] > svg {
  color: rgba(37, 99, 235, 0.76) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"] {
  border: 1px solid rgba(249, 115, 22, 0.34) !important;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.98), rgba(255, 237, 213, 0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 24px rgba(234, 88, 12, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"]:hover {
  border-color: rgba(234, 88, 12, 0.5) !important;
  background: linear-gradient(135deg, rgba(255, 247, 237, 1), rgba(255, 228, 196, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 12px 28px rgba(234, 88, 12, 0.12) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="System"] {
  color: #ea580c !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(255, 237, 213, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.2), 0 8px 16px rgba(234, 88, 12, 0.08) !important;
}

.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"] > span:nth-of-type(3),
.app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"] > svg {
  color: rgba(234, 88, 12, 0.76) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Utility"] {
  border-color: rgba(94, 234, 212, 0.34) !important;
  background: linear-gradient(180deg, rgba(8, 45, 43, 0.98), rgba(8, 32, 31, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 14px 34px rgba(13, 148, 136, 0.18) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="Utility"] {
  color: #5eead4 !important;
  background: linear-gradient(180deg, rgba(16, 66, 62, 0.98), rgba(8, 45, 43, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.18), 0 8px 18px rgba(13, 148, 136, 0.18) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Utility"] > span:nth-of-type(3),
html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Utility"] > svg {
  color: rgba(94, 234, 212, 0.72) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"] {
  border-color: rgba(147, 197, 253, 0.34) !important;
  background: linear-gradient(180deg, rgba(17, 35, 74, 0.98), rgba(12, 26, 56, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 14px 34px rgba(37, 99, 235, 0.18) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="Network"] {
  color: #93c5fd !important;
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.38), rgba(17, 35, 74, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.18), 0 8px 18px rgba(37, 99, 235, 0.18) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"] > span:nth-of-type(3),
html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="Network"] > svg {
  color: rgba(147, 197, 253, 0.72) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"] {
  border-color: rgba(253, 186, 116, 0.34) !important;
  background: linear-gradient(180deg, rgba(64, 24, 10, 0.98), rgba(46, 18, 8, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 14px 34px rgba(234, 88, 12, 0.18) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-icon[data-category="System"] {
  color: #fdba74 !important;
  background: linear-gradient(180deg, rgba(154, 52, 18, 0.42), rgba(64, 24, 10, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(253, 186, 116, 0.18), 0 8px 18px rgba(234, 88, 12, 0.18) !important;
}

html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"] > span:nth-of-type(3),
html.dark .app-shell-unified .sidebar-panel .sidebar-category-button[data-category="System"] > svg {
  color: rgba(253, 186, 116, 0.72) !important;
}

/* New tool workspace layout for added tools */
.tool-workspace {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.tool-workspace__pane,
.tool-workspace__footer {
  display: grid;
  gap: 1rem;
  min-width: 0;
  align-content: start;
}

.tool-workspace__pane > *,
.tool-workspace__footer > * {
  min-width: 0;
}

.tool-metrics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tool-metrics-grid > * {
  min-width: 0;
}

@media (min-width: 1280px) {
  .tool-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tool-workspace__footer {
    grid-column: 1 / -1;
  }
}

.metric-tile--summary {
  height: 100%;
}

.metric-tile--summary .metric-tile__content {
  min-height: 102px;
  align-items: flex-start;
  padding: 1rem 1.1rem;
}

.metric-tile--summary .metric-tile__stack {
  width: 100%;
  align-items: flex-start;
  gap: 0.95rem;
}

.metric-tile--summary .metric-tile__icon {
  align-self: flex-start;
  margin-top: 0.15rem;
}

.metric-tile--summary .metric-tile__copy > p:last-child {
  font-size: clamp(1rem, 0.75vw + 0.72rem, 1.24rem) !important;
}

@media (max-width: 767px) {
  .tool-workspace {
    gap: 1rem;
  }

  .tool-metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-tile--summary .metric-tile__content {
    min-height: 96px;
    padding: 0.95rem 1rem;
  }
}


/* fixed60: floating scroll-to-top button with glass finish */
.scroll-top-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, color-mix(in oklab, var(--color-primary) 28%, transparent), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.10));
  color: color-mix(in oklab, var(--color-primary) 82%, white 18%);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-fab svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.14));
}

.scroll-top-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-fab:hover {
  box-shadow:
    0 20px 38px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.scroll-top-fab:active {
  transform: translateY(1px) scale(0.97);
}

.scroll-top-fab:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--color-primary) 26%, transparent);
  outline-offset: 3px;
}

html.dark .scroll-top-fab {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top left, color-mix(in oklab, var(--color-primary) 30%, transparent), transparent 64%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.62));
  color: color-mix(in oklab, white 78%, var(--color-primary) 22%);
  box-shadow:
    0 20px 38px rgba(2, 6, 23, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .scroll-top-fab {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: calc(env(safe-area-inset-bottom) + 6rem);
  }
}


/* fixed51: merge mobile header + content into one continuous section */
@media (max-width: 1023px) {
  .app-shell-unified {
    gap: 0 !important;
  }

  .app-shell-main > header {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-color: transparent !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  }

  .app-shell-main > main {
    padding-top: 0 !important;
  }

  .app-shell-main > main > div {
    margin-top: -1px !important;
    border-top: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
}

@media (max-width: 767px) {
  .app-shell-unified {
    padding-inline: 0.8rem !important;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }

  .app-shell-main > header,
  .app-shell-main > main > div {
    margin-inline: 0 !important;
  }
}

/* Desktop: footer scroll-to-top button alongside Privacy/License/Terms */
@media (min-width: 1024px) {
  .footer-top-divider {
    margin-left: 0.3rem !important;
  }

  .footer-scroll-top-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.88));
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255,255,255,0.5);
  }

  .footer-scroll-top-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(241,245,249,0.96));
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255,255,255,0.7);
    transform: translateY(-1px);
  }

  .footer-scroll-top-btn:active {
    transform: translateY(0);
  }

  .footer-scroll-top-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1;
  }

  .footer-scroll-top-inner svg {
    width: 15px;
    height: 15px;
  }

  html.dark .footer-scroll-top-btn {
    border-color: rgba(96, 165, 250, 0.28);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.85));
    color: rgba(191, 219, 254, 0.92);
    box-shadow: 0 2px 6px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.05);
  }

  html.dark .footer-scroll-top-btn:hover {
    border-color: rgba(96, 165, 250, 0.45);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.94));
    box-shadow: 0 3px 10px rgba(2, 6, 23, 0.28), inset 0 1px 0 rgba(255,255,255,0.08);
  }

  /* Hide floating scroll button on desktop since footer button handles it */
  .scroll-top-fab {
    display: none !important;
  }
}

/* Mobile: hide footer scroll button, keep Privacy/License/Terms */
@media (max-width: 1023px) {
  .footer-scroll-top-btn {
    display: none !important;
  }

  .footer-top-divider {
    display: none !important;
  }
}


.site-footer-bar {
  position: relative;
}

.site-footer .footer-legal-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-footer .footer-legal-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.site-footer .footer-legal-link:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  color: var(--foreground);
}

html.dark .site-footer .footer-legal-link {
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ============================================
   PROFESSIONAL LEGAL MODAL STYLES
   ============================================ */

.legal-modal-dialog {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.legal-modal-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.92) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

html.dark .legal-modal-topbar {
  background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(30,41,59,0.92) 100%);
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.legal-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
  background: linear-gradient(135deg, var(--foreground) 0%, var(--muted-foreground) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-modal-body {
  color: inherit;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(248,250,252,0.3) 0%, transparent 100%);
}

html.dark .legal-modal-body {
  background: linear-gradient(180deg, rgba(30,41,59,0.2) 0%, transparent 100%);
}

.legal-modal-shell {
  display: grid;
  gap: 1.5rem;
}

/* Hero Section */
.legal-modal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.legal-modal-hero-copy {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 24px rgba(0, 0, 0, 0.04),
    0 20px 48px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden;
}

.legal-modal-hero-copy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 60%, transparent) 100%);
  opacity: 0.8;
}

html.dark .legal-modal-hero-copy {
  background: linear-gradient(145deg, rgba(30,41,59,0.6) 0%, rgba(15,23,42,0.5) 50%, rgba(30,41,59,0.4) 100%);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.15),
    0 20px 48px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.legal-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
  color: #3b82f6;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

html.dark .legal-modal-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.12) 100%);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.legal-modal-eyebrow {
  display: block;
  margin-top: 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--foreground);
}

.legal-modal-summary {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted-foreground);
}

/* Stats Bar */
.legal-modal-statbar {
  display: grid;
  gap: 0.85rem;
}

.legal-modal-stat {
  position: relative;
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 8px 16px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-modal-stat:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

html.dark .legal-modal-stat {
  background: linear-gradient(145deg, rgba(30,41,59,0.5) 0%, rgba(15,23,42,0.4) 100%);
  border-color: rgba(148, 163, 184, 0.1);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

html.dark .legal-modal-stat:hover {
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.legal-modal-stat strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

.legal-modal-stat span {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Content Grid */
.legal-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.legal-modal-section {
  position: relative;
  padding: 1.25rem 1.25rem 1.15rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.7) 100%);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 8px 20px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-modal-section:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

html.dark .legal-modal-section {
  background: linear-gradient(145deg, rgba(30,41,59,0.5) 0%, rgba(15,23,42,0.4) 100%);
  border-color: rgba(148, 163, 184, 0.1);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

html.dark .legal-modal-section:hover {
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.legal-modal-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.legal-modal-section h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--foreground);
}

.legal-modal-section p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted-foreground);
}

.legal-modal-section-extra {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.25);
  font-size: 0.85rem !important;
  color: var(--muted-foreground);
}

/* SEO Tools Section */
.legal-modal-seo {
  padding: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(145deg, rgba(255,255,255,0.85) 0%, rgba(248,250,252,0.65) 100%);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 10px 24px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

html.dark .legal-modal-seo {
  background: linear-gradient(145deg, rgba(30,41,59,0.5) 0%, rgba(15,23,42,0.4) 100%);
  border-color: rgba(148, 163, 184, 0.1);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 10px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.legal-modal-seo-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.legal-modal-seo-head p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.legal-modal-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.legal-modal-taglist li {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.03) 100%);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--foreground);
  transition: all 0.2s ease;
}

.legal-modal-taglist li:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

html.dark .legal-modal-taglist li {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
  border-color: rgba(59, 130, 246, 0.2);
}

html.dark .legal-modal-taglist li:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.12) 100%);
  border-color: rgba(59, 130, 246, 0.35);
}

/* Note Section */
.legal-modal-note {
  margin-top: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--muted-foreground);
  font-size: 0.84rem;
  line-height: 1.85;
  box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.1);
}

html.dark .legal-modal-note {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
  border-color: rgba(59, 130, 246, 0.25);
}

/* Tablet & Mobile Responsive */
@media (max-width: 1023px) {
  .legal-modal-body {
    padding: 1.15rem;
  }

  .legal-modal-hero {
    grid-template-columns: 1fr;
  }

  .legal-modal-grid {
    grid-template-columns: 1fr;
  }
  
  .legal-modal-statbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .legal-modal-topbar {
    padding: 1rem 1.15rem;
  }

  .legal-modal-title {
    font-size: 1.05rem;
  }

  .legal-modal-body {
    padding: 1rem;
  }

  .legal-modal-hero-copy,
  .legal-modal-stat,
  .legal-modal-section,
  .legal-modal-seo,
  .legal-modal-note {
    padding: 1.05rem;
  }
  
  .legal-modal-eyebrow {
    font-size: 1.2rem;
  }
  
  .legal-modal-summary {
    font-size: 0.88rem;
  }
  
  .legal-modal-section h3 {
    font-size: 0.98rem;
  }
  
  .legal-modal-section p {
    font-size: 0.85rem;
  }
}

  .legal-modal-summary,
  .legal-modal-section p,
  .legal-modal-seo-head p,
  .legal-modal-note {
    line-height: 1.72;
  }
}
@media (max-width: 1279px) {
  .site-footer .footer-legal-nav {
    justify-content: flex-start;
  }
}


/* Professional legal modal refinements */
.legal-modal-dialog {
  width: min(1100px, calc(100vw - 2rem)) !important;
  max-width: min(1100px, calc(100vw - 2rem)) !important;
  max-height: 88vh !important;
  border-radius: 1.5rem !important;
}

.legal-modal-body {
  padding: 1.4rem 1.4rem 1.5rem;
}

.legal-modal-shell {
  gap: 1.2rem;
}

.legal-modal-hero {
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.legal-modal-hero-copy {
  padding: 1.35rem 1.4rem;
}

.legal-modal-statbar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.legal-modal-stat {
  min-height: 108px;
  align-content: start;
}

.legal-modal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-modal-section {
  min-height: 210px;
}

@media (max-width: 900px) {
  .legal-modal-statbar,
  .legal-modal-grid {
    grid-template-columns: 1fr;
  }

  .legal-modal-section {
    min-height: unset;
  }
}


/* Mobile stability and legal modal polish fix */
html, body {
  overflow-x: hidden;
}

.legal-modal-dialog,
.mobile-modal-content {
  overflow-x: hidden !important;
}

.legal-modal-shell,
.legal-modal-hero,
.legal-modal-grid,
.legal-modal-section,
.legal-modal-seo,
.legal-modal-note {
  min-width: 0;
}

.legal-modal-summary,
.legal-modal-section p,
.legal-modal-note,
.legal-modal-taglist li,
.legal-modal-section h3,
.legal-modal-eyebrow {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-modal-section {
  min-height: 0;
}

.legal-modal-taglist li {
  max-width: 100%;
}

@media (max-width: 767px) {
  .modal-content.legal-modal-dialog,
  .mobile-modal-content {
    width: calc(100vw - 0.75rem) !important;
    max-width: calc(100vw - 0.75rem) !important;
    max-height: 90vh !important;
    border-radius: 1rem !important;
  }

  .legal-modal-body {
    padding: 0.9rem 0.9rem 1rem !important;
  }

  .legal-modal-topbar,
  .mobile-modal-header {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
  }

  .legal-modal-statbar,
  .legal-modal-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 767px) {
  :root {
    --mobile-smart-bottom-dock-height: calc(env(safe-area-inset-bottom) + 5.5rem);
    --mobile-smart-drawer-right-gap: clamp(16px, 5vw, 28px);
  }

  body.mobile-smart-enhanced {
    --mobile-smart-fab-top-clearance: 6.5rem;
  }

  body.mobile-smart-enhanced .app-shell-unified {
    padding-top: 0.75rem;
  }

  body.mobile-smart-enhanced .app-shell-unified .app-shell-main {
    padding-bottom: var(--mobile-smart-bottom-dock-height) !important;
  }

  body.mobile-smart-enhanced .app-shell-main > header {
    position: relative;
    overflow: visible;
  }

  body.mobile-smart-enhanced .mobile-smart-header__hero {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  body.mobile-smart-enhanced .mobile-smart-header__lead {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    text-align: center;
  }

  body.mobile-smart-enhanced .mobile-smart-header__icon,
  body.mobile-smart-enhanced .mobile-floating-overview__icon {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar,
  body.mobile-smart-enhanced .mobile-smart-sidebar__panel,
  body.mobile-smart-enhanced .mobile-smart-sidebar__body {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  body.mobile-smart-enhanced .mobile-smart-header__icon {
    position: relative;
    display: inline-flex;
    width: 3.35rem;
    height: 3.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.15rem;
    border: 1px solid color-mix(in oklab, var(--color-primary) 18%, transparent);
    background-color: #f8fafc;
    background:
      radial-gradient(circle at top, color-mix(in oklab, var(--color-primary) 14%, transparent), transparent 65%),
      color-mix(in oklab, white 68%, transparent);
    box-shadow:
      0 16px 32px rgba(15, 23, 42, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    cursor: pointer;
    isolation: isolate;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  html.dark body.mobile-smart-enhanced .mobile-smart-header__icon {
    background:
      radial-gradient(circle at top, color-mix(in oklab, var(--color-primary) 24%, transparent), transparent 65%),
      rgba(15, 23, 42, 0.82);
    box-shadow:
      0 16px 36px rgba(2, 6, 23, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  body.mobile-smart-enhanced .mobile-smart-header__icon::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.55), transparent 55%, rgba(255,255,255,0.18));
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
  }

  body.mobile-smart-enhanced .mobile-smart-header__icon:active {
    transform: scale(0.97);
  }

  body.mobile-smart-enhanced .mobile-smart-header__copy {
    width: 100%;
    min-width: 0;
  }

  body.mobile-smart-enhanced .mobile-smart-header__title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    font-size: 1.32rem !important;
    line-height: 1.2 !important;
  }

  body.mobile-smart-enhanced .mobile-smart-header__description {
    margin: 0.4rem auto 0;
    max-width: 24rem;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    line-height: 1.55 !important;
  }

  body.mobile-smart-enhanced .mobile-smart-header__actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  body.mobile-smart-enhanced .mobile-smart-header__actions > * {
    flex: 0 0 auto;
  }

  body.mobile-smart-enhanced .mobile-floating-overview {
    visibility: hidden;
    position: fixed;
    top: env(safe-area-inset-top);
    left: max(0.5rem, calc(env(safe-area-inset-left) + 0.5rem));
    right: max(0.5rem, calc(env(safe-area-inset-right) + 0.5rem));
    z-index: 46;
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr) 2.2rem;
    align-items: center;
    column-gap: 0.6rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0 0 1rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(248,250,252,0.88) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow:
      0 8px 24px rgba(15, 23, 42, 0.1),
      0 2px 8px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  html.dark body.mobile-smart-enhanced .mobile-floating-overview {
    background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,41,59,0.82) 100%);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow:
      0 8px 24px rgba(2, 6, 23, 0.35),
      0 2px 8px rgba(2, 6, 23, 0.2),
      inset 0 1px 0 rgba(255,255,255,0.05);
  }

  body.mobile-smart-enhanced.mobile-smart-ready.mobile-floating-active .mobile-floating-overview {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body.mobile-smart-enhanced .mobile-floating-overview::after {
    content: "";
    width: 2.2rem;
    height: 1px;
    justify-self: end;
  }


  body.mobile-smart-enhanced .mobile-floating-overview__icon {
    grid-column: 1;
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid color-mix(in oklab, var(--color-primary) 20%, transparent);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
    color: var(--color-primary);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  body.mobile-smart-enhanced .mobile-floating-overview__icon:active {
    transform: scale(0.95);
  }

  body.mobile-smart-enhanced .mobile-floating-overview__icon svg {
    width: 1rem;
    height: 1rem;
  }

  body.mobile-smart-enhanced .mobile-floating-overview__copy {
    grid-column: 2;
    min-width: 0;
    text-align: center;
  }

  body.mobile-smart-enhanced .mobile-floating-overview__title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.15;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  body.mobile-smart-enhanced .mobile-floating-overview__description {
    margin-top: 0.1rem;
    font-size: 0.68rem;
    line-height: 1.3;
    color: color-mix(in oklab, currentColor 60%, transparent);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.mobile-smart-enhanced.mobile-smart-ready .mobile-floating-overview,
  body.mobile-smart-enhanced.mobile-smart-ready .mobile-smart-sidebar-shell {
    visibility: visible;
  }

  body.mobile-smart-sidebar-open {
    overflow: hidden;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar-shell {
    visibility: hidden;
    position: fixed;
    inset: 0;
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  body.mobile-smart-enhanced.mobile-smart-ready .mobile-smart-sidebar-shell.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar-backdrop {
    position: absolute;
    inset: 0 0 var(--mobile-smart-bottom-dock-height) 0;
    background: rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 220ms ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  html.dark body.mobile-smart-enhanced .mobile-smart-sidebar-backdrop {
    background: rgba(2, 6, 23, 0.34);
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: var(--mobile-smart-bottom-dock-height);
    width: min(calc(56vw - var(--mobile-smart-drawer-right-gap)), 210px);
    max-width: calc(56vw - var(--mobile-smart-drawer-right-gap));
    transform: translate3d(-105%, 0, 0);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 1rem 1rem 0;
    box-shadow: 4px 0 16px rgba(15, 23, 42, 0.08);
  }

  html.dark body.mobile-smart-enhanced .mobile-smart-sidebar {
    background-color: rgba(15, 23, 42, 0.65);
    background: rgba(15, 23, 42, 0.65);
    box-shadow: 4px 0 16px rgba(2, 6, 23, 0.22);
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar.is-dragging,
  body.mobile-smart-enhanced .mobile-smart-sidebar-shell.is-dragging .mobile-smart-sidebar,
  body.mobile-smart-enhanced .mobile-smart-sidebar-shell.is-dragging .mobile-smart-sidebar-backdrop {
    transition: none !important;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__panel {
    display: flex;
    height: 100%;
    flex-direction: column;
    border-right: none;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 1rem 1rem 0;
    box-shadow: 4px 0 16px rgba(15, 23, 42, 0.08);
    overflow: hidden;
  }

  html.dark body.mobile-smart-enhanced .mobile-smart-sidebar__panel {
    background: rgba(15, 23, 42, 0.65);
    border-radius: 0 1rem 1rem 0;
    box-shadow: 4px 0 16px rgba(2, 6, 23, 0.22);
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__chrome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: calc(env(safe-area-inset-top) + 3.9rem);
    padding: calc(env(safe-area-inset-top) + 0.6rem) 0.85rem 0.75rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    flex: 0 0 auto;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__title {
    position: absolute;
    left: 1rem;
    right: 4.5rem;
    top: calc(env(safe-area-inset-top) + 0.78rem);
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    color: inherit;
    pointer-events: none;
    text-wrap: balance;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__close {
    display: inline-flex;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background-color: rgba(255,255,255,0.58);
    background: rgba(255,255,255,0.58);
    color: inherit;
    cursor: pointer;
    flex: 0 0 auto;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  html.dark body.mobile-smart-enhanced .mobile-smart-sidebar__close {
    background: rgba(15, 23, 42, 0.58);
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__close svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__body {
    flex: 1;
    min-height: 0;
    margin: 0.75rem 0.85rem 0.85rem;
    border-radius: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  html.dark body.mobile-smart-enhanced .mobile-smart-sidebar__body {
    border-color: rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  }

  /* Mobile sidebar footer links */
  body.mobile-smart-enhanced .mobile-smart-sidebar__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    margin-top: auto;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255,255,255,0.7);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: color-mix(in oklab, currentColor 82%, transparent);
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
    cursor: pointer;
  }

  html.dark body.mobile-smart-enhanced .mobile-smart-sidebar__link {
    background: rgba(15, 23, 42, 0.52);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.26);
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__link:hover,
  body.mobile-smart-enhanced .mobile-smart-sidebar__link:active {
    color: color-mix(in oklab, currentColor 96%, transparent);
    border-color: rgba(59, 130, 246, 0.22);
    background: rgba(255,255,255,0.9);
    transform: translateY(-1px);
  }

  html.dark body.mobile-smart-enhanced .mobile-smart-sidebar__link:hover,
  html.dark body.mobile-smart-enhanced .mobile-smart-sidebar__link:active {
    background: rgba(15, 23, 42, 0.72);
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__separator {
    display: none;
  }

  /* Mobile modal styles */
  .mobile-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1.5rem;
    animation: mobileModalFadeIn 200ms ease;
  }

  .mobile-modal-content {
    width: 100%;
    max-width: none;
    width: min(960px, calc(100vw - 1rem));
    max-height: 88vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    padding: 0;
    animation: mobileModalSlideIn 200ms ease;
  }

  html.dark .mobile-modal-content {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(148, 163, 184, 0.15);
  }

  .mobile-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 1rem 1rem 0.95rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }

  .mobile-modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: inherit;
    margin: 0;
  }

  .mobile-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: none;
    background: rgba(148, 163, 184, 0.15);
    color: inherit;
    cursor: pointer;
    transition: background 200ms ease;
  }

  .mobile-modal-close:hover {
    background: rgba(148, 163, 184, 0.25);
  }

  .mobile-modal-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: color-mix(in oklab, currentColor 70%, transparent);
    margin: 0;
  }

  @keyframes mobileModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes mobileModalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  body.mobile-modal-open {
    overflow: hidden;
  }
}

/* Hide mobile sidebar and related elements on desktop */
@media (min-width: 768px) {
  .mobile-smart-sidebar-shell,
  .mobile-smart-sidebar-backdrop,
  .mobile-smart-sidebar,
  .mobile-floating-overview {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Hide desktop footer on mobile - links are in sidebar */
@media (max-width: 767px) {
  .site-footer {
    display: none !important;
  }
}

/* Desktop footer styles */
@media (min-width: 768px) {
  /* Hide footer on desktop when inside a tool page (keep on home) */
  html:not([data-route="/"]) .site-footer {
    display: none !important;
  }

  .site-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding-top: 0.5rem;
    background: linear-gradient(to top, var(--color-background) 60%, transparent);
    pointer-events: none;
  }

  .site-footer > div {
    pointer-events: auto;
    transition: background-color 200ms ease, border-color 200ms ease;
  }

  .site-footer > div:hover {
    background: color-mix(in oklab, var(--color-card) 80%, transparent) !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
  }

  html.dark .site-footer > div:hover {
    background: rgba(15, 23, 42, 0.8) !important;
  }

  .site-footer button {
    cursor: pointer;
    transition: color 200ms ease;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
  }

  .site-footer button:hover {
    color: var(--color-foreground) !important;
  }

  /* Modal styles */
  .modal-overlay {
    animation: modalFadeIn 200ms ease;
  }

  .modal-content {
    animation: modalSlideIn 200ms ease;
  }

  @keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

/* Desktop modal visibility - outside media query to ensure it works */
.modal-overlay {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.modal-content {
  display: block !important;
  position: relative !important;
  max-width: min(1100px, calc(100vw - 2rem)) !important;
  width: 100% !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
  background: white !important;
  border-radius: 1rem !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
  padding: 0 !important;
}

html.dark .modal-content {
  background: rgba(15, 23, 42, 0.98) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

@media (min-width: 768px) {
  .site-footer {
    bottom: -1rem !important; 
  }

  .site-footer > div {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  body.mobile-smart-enhanced .mobile-smart-sidebar__footer {
    gap: 0.68rem;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__link {
    justify-content: flex-start;
    padding: 1rem 1rem 1rem 1.05rem;
    text-align: left;
    position: relative;
  }

  body.mobile-smart-enhanced .mobile-smart-sidebar__link::after {
    content: "›";
    margin-left: auto;
    font-size: 1.1rem;
    color: color-mix(in oklab, currentColor 60%, transparent);
  }

  .mobile-modal-content {
    width: calc(100vw - 0.75rem);
    max-width: calc(100vw - 0.75rem);
    border-radius: 1.1rem;
  }

  .mobile-modal-title {
    font-size: 1.02rem;
    font-weight: 800;
  }

  .mobile-modal-text,
  .mobile-modal-content .legal-modal-summary,
  .mobile-modal-content .legal-modal-section p,
  .mobile-modal-content .legal-modal-note {
    font-size: 0.84rem;
  }
}


.mobile-modal-content .legal-modal-body {
  padding: 1rem 1rem 1.1rem;
}

.mobile-modal-content .legal-modal-shell {
  gap: 0.95rem;
}

.mobile-modal-content .legal-modal-hero {
  grid-template-columns: 1fr;
}

.mobile-modal-content .legal-modal-statbar,
.mobile-modal-content .legal-modal-grid {
  grid-template-columns: 1fr;
}

.mobile-modal-content .legal-modal-hero-copy,
.mobile-modal-content .legal-modal-stat,
.mobile-modal-content .legal-modal-section,
.mobile-modal-content .legal-modal-seo,
.mobile-modal-content .legal-modal-note {
  padding: 1rem;
}

.mobile-modal-content .legal-modal-section {
  min-height: unset;
}


@media (max-width: 767px) {
  body.mobile-smart-enhanced .mobile-smart-sidebar__link,
  body.mobile-smart-enhanced .mobile-smart-sidebar__close,
  body.mobile-smart-enhanced .mobile-floating-overview__icon,
  body.mobile-smart-enhanced .mobile-smart-header__icon {
    touch-action: manipulation;
  }
}

/* card-density-refresh: fuller discovery cards without clutter */
.tool-card-shell {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 10%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--card) 96%, white 4%), color-mix(in srgb, var(--background) 92%, var(--primary) 8%));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

.tool-card-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--primary) 14%, transparent) 0, transparent 28%),
    radial-gradient(circle at 12% 88%, color-mix(in srgb, var(--primary) 7%, transparent) 0, transparent 24%);
  opacity: 0.95;
}

.tool-card-shell::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1rem 1.2rem;
  height: 72px;
  border-radius: 1.1rem;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--primary) 4%, transparent)),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--primary) 12%, transparent) 1px, transparent 0);
  background-size: auto, 14px 14px;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 30%, rgba(0,0,0,1) 100%);
}

.tool-card-shell > * {
  position: relative;
  z-index: 1;
}

.tool-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.tool-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  background: color-mix(in srgb, var(--background) 84%, transparent);
  color: color-mix(in srgb, var(--foreground) 82%, var(--muted-foreground) 18%);
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tool-card-tag--live {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  background: color-mix(in srgb, var(--primary) 10%, var(--background));
}

.tool-card-tag__dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 78%, #22c55e 22%);
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--primary) 14%, transparent);
  flex: 0 0 auto;
}

.tool-card-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--border) 88%, var(--primary) 12%), transparent);
}

.tool-card-action {
  background: color-mix(in srgb, var(--background) 76%, transparent) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.tool-card-shell:hover .tool-card-action {
  transform: translateY(-1px);
}

.dark .tool-card-shell {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(17, 24, 39, 0.94));
  box-shadow: 0 22px 44px rgba(2, 6, 23, 0.34), inset 0 1px 0 rgba(255,255,255,0.05);
}

.dark .tool-card-shell::after {
  opacity: 0.35;
}

.dark .tool-card-tag {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: rgba(241,245,249,0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.dark .tool-card-tag--live {
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(59, 130, 246, 0.12);
}

.dark .tool-card-action {
  background: rgba(15, 23, 42, 0.72) !important;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
}

@media (max-width: 767px) {
  .tool-card-shell {
    min-height: auto;
    padding-bottom: 0.5rem;
  }

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

  .tool-card-tag {
    padding: 0.38rem 0.68rem;
    font-size: 0.68rem;
  }
}

/* fixed32: ornate sidebar styling to match enriched cards */
@media (min-width: 1024px) {
  .app-shell-unified .sidebar-panel.sidebar-panel--ornate {
    position: fixed !important;
    overflow: hidden !important;
    border-right: 0 !important;
    background:
      radial-gradient(120% 90% at 0% 0%, rgba(96, 165, 250, 0.14), transparent 42%),
      radial-gradient(80% 60% at 100% 0%, rgba(168, 85, 247, 0.09), transparent 38%),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.92),
      0 24px 60px rgba(15, 23, 42, 0.06) !important;
  }

  .app-shell-unified .sidebar-panel.sidebar-panel--ornate::before {
    display: block !important;
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.22), transparent 18%),
      radial-gradient(circle at 1px 1px, rgba(148,163,184,0.14) 1px, transparent 0);
    background-size: auto, 16px 16px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.16) 78%, transparent);
    opacity: 0.75;
  }

  .app-shell-unified .sidebar-panel.sidebar-panel--ornate::after {
    width: 1px;
    background: linear-gradient(180deg, rgba(96,165,250,0.06), rgba(148,163,184,0.26), rgba(168,85,247,0.08)) !important;
  }

  .sidebar-panel-head {
    position: relative;
  }

  .sidebar-panel-head-glow {
    position: absolute;
    inset: 0.35rem 1rem auto;
    height: 3.25rem;
    border-radius: 1.25rem;
    pointer-events: none;
    background: radial-gradient(circle at 15% 20%, rgba(59,130,246,0.12), transparent 42%), radial-gradient(circle at 85% 0%, rgba(168,85,247,0.09), transparent 38%);
    filter: blur(10px);
    opacity: 0.9;
  }

  .app-shell-unified .sidebar-home-link {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.22) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(248,250,252,0.94)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 10px 24px rgba(15,23,42,0.04) !important;
  }

  .app-shell-unified .sidebar-home-link::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(96,165,250,0.08), transparent 32%, transparent 68%, rgba(168,85,247,0.06));
  }

  .sidebar-mini-chip {
    display: inline-flex;
    align-items: center;
    height: 1.25rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(96,165,250,0.18);
    background: rgba(239,246,255,0.92);
    color: rgb(37, 99, 235);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .sidebar-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148,163,184,0.34), transparent) !important;
  }

  .sidebar-nav-stack {
    position: relative;
    padding-bottom: 1rem;
  }

  .sidebar-group {
    position: relative;
    margin-bottom: 0.45rem;
  }

  .sidebar-group::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: -0.18rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148,163,184,0.16), transparent);
    pointer-events: none;
  }

  .app-shell-unified .sidebar-panel nav > div > button.sidebar-category-button {
    overflow: hidden;
    border-width: 1px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(15,23,42,0.045) !important;
  }

  .app-shell-unified .sidebar-panel nav > div > button.sidebar-category-button::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.44), transparent 42%, rgba(255,255,255,0.18));
    opacity: 0.9;
  }

  .sidebar-tool-list {
    position: relative;
    margin-top: 0.45rem !important;
    padding: 0.4rem 0.35rem 0.15rem 0.7rem !important;
    border-left: 1px dashed rgba(148,163,184,0.22);
  }

  .sidebar-tool-row {
    position: relative;
    margin-bottom: 0.2rem;
    border-radius: 1rem;
  }

  .sidebar-tool-row::before {
    content: "";
    position: absolute;
    left: -0.45rem;
    top: 50%;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 999px;
    transform: translateY(-50%);
    background: rgba(148,163,184,0.38);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.9);
  }

  .sidebar-tool-link {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.16);
    background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(248,250,252,0.92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.84);
  }

  .sidebar-tool-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148,163,184,0.24), transparent);
    opacity: 0.9;
  }

  .sidebar-tool-link:hover {
    border-color: rgba(96,165,250,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 14px rgba(15,23,42,0.05);
    transform: translateY(-1px);
  }

  .sidebar-pin-button {
    background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(248,250,252,0.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
  }

  html.dark .app-shell-unified .sidebar-panel.sidebar-panel--ornate {
    background:
      radial-gradient(120% 90% at 0% 0%, rgba(59,130,246,0.16), transparent 42%),
      radial-gradient(90% 70% at 100% 0%, rgba(168,85,247,0.12), transparent 40%),
      linear-gradient(180deg, rgba(2,6,23,0.98), rgba(15,23,42,0.98)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 24px 60px rgba(0, 0, 0, 0.34) !important;
  }

  html.dark .app-shell-unified .sidebar-panel.sidebar-panel--ornate::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.04), transparent 18%),
      radial-gradient(circle at 1px 1px, rgba(148,163,184,0.14) 1px, transparent 0);
    opacity: 0.42;
  }

  html.dark .app-shell-unified .sidebar-home-link {
    border-color: rgba(96,165,250,0.16) !important;
    background: linear-gradient(180deg, rgba(15,23,42,0.86), rgba(15,23,42,0.96)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 12px 24px rgba(0,0,0,0.24) !important;
  }

  html.dark .sidebar-mini-chip {
    background: rgba(30,41,59,0.92);
    border-color: rgba(96,165,250,0.22);
    color: rgba(191,219,254,0.96);
  }

  html.dark .sidebar-divider {
    background: linear-gradient(90deg, transparent, rgba(148,163,184,0.2), transparent) !important;
  }

  html.dark .sidebar-group::after {
    background: linear-gradient(90deg, transparent, rgba(148,163,184,0.1), transparent);
  }

  html.dark .sidebar-tool-list {
    border-left-color: rgba(148,163,184,0.18);
  }

  html.dark .sidebar-tool-row::before {
    background: rgba(148,163,184,0.42);
    box-shadow: 0 0 0 3px rgba(15,23,42,0.92);
  }

  html.dark .sidebar-tool-link {
    border-color: rgba(148,163,184,0.12);
    background: linear-gradient(180deg, rgba(15,23,42,0.72), rgba(15,23,42,0.9));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  }

  html.dark .sidebar-tool-link::after {
    background: linear-gradient(90deg, transparent, rgba(148,163,184,0.14), transparent);
  }

  html.dark .sidebar-tool-link:hover {
    border-color: rgba(96,165,250,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 18px rgba(0,0,0,0.22);
  }

  html.dark .sidebar-pin-button {
    background: linear-gradient(180deg, rgba(15,23,42,0.76), rgba(30,41,59,0.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  }
}

/* fixed30: keep active sidebar tool text readable */
@media (min-width: 1024px) {
  .app-shell-unified .sidebar-panel .sidebar-tool-link.bg-primary {
    color: #eff6ff !important;
    border-color: rgba(59,130,246,0.34) !important;
    background:
      linear-gradient(180deg, rgba(37,99,235,0.96), rgba(29,78,216,0.98)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.14),
      0 10px 20px rgba(37,99,235,0.22) !important;
  }

  .app-shell-unified .sidebar-panel .sidebar-tool-link.bg-primary span,
  .app-shell-unified .sidebar-panel .sidebar-tool-link.bg-primary svg {
    color: inherit !important;
    opacity: 1 !important;
  }

  .app-shell-unified .sidebar-panel .sidebar-tool-row:has(.sidebar-tool-link.bg-primary) {
    background: transparent !important;
  }

  .app-shell-unified .sidebar-panel .sidebar-tool-row:has(.sidebar-tool-link.bg-primary)::before {
    background: rgba(59,130,246,0.82) !important;
    box-shadow: 0 0 0 3px rgba(219,234,254,0.92) !important;
  }

  html.dark .app-shell-unified .sidebar-panel .sidebar-tool-link.bg-primary {
    color: #f8fbff !important;
    border-color: rgba(96,165,250,0.34) !important;
    background:
      linear-gradient(180deg, rgba(37,99,235,0.94), rgba(30,64,175,0.98)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.1),
      0 12px 22px rgba(37,99,235,0.2) !important;
  }

  html.dark .app-shell-unified .sidebar-panel .sidebar-tool-row:has(.sidebar-tool-link.bg-primary)::before {
    background: rgba(96,165,250,0.9) !important;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.96) !important;
  }
}
/* =====================================================================
   Sidebar Font Size - Smart Targeting (No Layout Break)
   ===================================================================== */
@media (min-width: 1024px) {
  .app-shell-unified .sidebar-panel .sidebar-tool-link {
    font-size: 15px !important;
  }
  .app-shell-unified .sidebar-panel .sidebar-tool-link > span:not(.sidebar-mini-chip),
  .app-shell-unified .sidebar-panel .sidebar-tool-link > div {
    font-size: 15px !important;
  }
}
/* fixed44: desktop search moved into top header row while mobile stays unchanged */
.desktop-header-search {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-header-search {
    display: block;
    flex: 0 1 clamp(280px, 24vw, 420px);
    width: clamp(280px, 24vw, 420px);
    max-width: 420px;
    min-width: 260px;
    margin-left: auto;
    margin-right: 0.9rem;
  }

  .desktop-header-actions,
  .desktop-header-actions--force {
    margin-left: 0 !important;
    flex-wrap: nowrap;
  }

  .home-filter-search--mobile {
    display: none !important;
  }

  .home-filter-bar {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
  }

  .home-filter-chips {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 1023px) {
  .desktop-header-search {
    display: none !important;
  }

  .home-filter-search--mobile {
    display: block !important;
  }
}


/* fixed45: center desktop categories and make header search fully responsive */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-bar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
    align-items: center !important;
    column-gap: 1rem;
    row-gap: 0.9rem;
  }

  .header-bar-brand {
    grid-area: brand;
    min-width: 0;
  }

  .desktop-header-search {
    display: block !important;
    grid-area: search;
    width: min(100%, 760px);
    max-width: 760px;
    min-width: 0;
    margin: 0 auto !important;
  }

  .desktop-header-actions--force {
    grid-area: actions;
    margin-left: 0 !important;
    justify-self: end;
    flex-wrap: wrap !important;
    justify-content: flex-end;
  }
}

@media (min-width: 1200px) {
  .header-bar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(220px, clamp(280px, 28vw, 460px)) auto;
    grid-template-areas: "brand search actions";
    align-items: center !important;
    column-gap: 1rem;
  }

  .header-bar-brand {
    grid-area: brand;
    min-width: 0;
  }

  .desktop-header-search {
    display: block !important;
    grid-area: search;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0 !important;
    justify-self: center;
  }

  .desktop-header-actions--force {
    grid-area: actions;
    margin-left: 0 !important;
    justify-self: end;
    flex-wrap: nowrap !important;
  }
}

@media (min-width: 1024px) {
  .header-bar-row > * {
    min-width: 0;
  }

  .desktop-header-search .utility-field,
  .desktop-header-search input {
    width: 100%;
    min-width: 0;
  }

  .home-filter-bar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.9rem !important;
    flex-wrap: wrap !important;
  }

  .home-filter-chips {
    width: 100% !important;
    justify-content: center !important;
    margin-inline: auto;
  }
}

/* fixed46: true center alignment for desktop top search and category strip */
@media (min-width: 1200px) {
  .header-bar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px) minmax(0, 1fr);
    grid-template-areas: "brand search actions";
    align-items: center !important;
    column-gap: 1rem;
  }

  .header-bar-brand {
    grid-area: brand;
    justify-self: start;
    min-width: 0;
    max-width: max-content;
  }

  .desktop-header-search {
    grid-area: search;
    justify-self: center;
    width: min(100%, 520px);
    max-width: 520px;
    min-width: 0;
    margin: 0 !important;
  }

  .desktop-header-actions--force {
    grid-area: actions;
    justify-self: end;
    margin-left: 0 !important;
    width: max-content;
    max-width: 100%;
    flex-wrap: nowrap !important;
  }
}

@media (min-width: 1024px) {
  .home-filter-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.9rem !important;
  }

  .home-filter-chips {
    width: 100% !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }
}

/* fixed49: search must sit in the real gap between Overview and Pinned */
@media (min-width: 1200px) {
  .header-bar-row {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) max-content !important;
    grid-template-areas: "brand center actions" !important;
    align-items: center !important;
    column-gap: 1rem !important;
    row-gap: 0 !important;
    justify-content: stretch !important;
  }

  .header-bar-brand {
    grid-area: brand !important;
    justify-self: start !important;
    min-width: 0 !important;
    max-width: max-content !important;
    margin: 0 !important;
  }

  .desktop-header-center {
    grid-area: center !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.9rem !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    margin: 0 !important;
  }

  .desktop-header-search {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .desktop-header-search .utility-field,
  .desktop-header-search input {
    width: 100% !important;
    min-width: 0 !important;
  }

  .desktop-header-center > .quick-pill,
  .desktop-header-center > button,
  .desktop-header-center > *:not(.desktop-header-search) {
    flex: 0 0 auto !important;
  }

  .desktop-header-actions,
  .desktop-header-actions--force {
    grid-area: actions !important;
    justify-self: end !important;
    margin: 0 !important;
    width: max-content !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .header-bar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand actions"
      "center center" !important;
    align-items: center !important;
    column-gap: 1rem !important;
    row-gap: 0.9rem !important;
  }

  .desktop-header-center {
    grid-area: center !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.9rem !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .desktop-header-search {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .desktop-header-search .utility-field,
  .desktop-header-search input {
    width: 100% !important;
    min-width: 0 !important;
  }

  .desktop-header-actions,
  .desktop-header-actions--force {
    grid-area: actions !important;
    justify-self: end !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
  }
}

/* keep category chips centered and safe */
@media (min-width: 1024px) {
  .home-filter-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.85rem !important;
  }

  .home-filter-search {
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }

  .home-filter-chips {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }
}

/* fixed50: put search truly between Overview and Pinned, keep centered and responsive */
.desktop-header-pinned,
.desktop-header-actions-rest {
  display: none;
}

@media (min-width: 768px) {
  .desktop-header-pinned,
  .desktop-header-actions-rest {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .header-bar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content max-content !important;
    grid-template-areas:
      "brand pinned rest"
      "search search search" !important;
    align-items: center !important;
    column-gap: 1rem !important;
    row-gap: 0.9rem !important;
  }

  .header-bar-brand {
    grid-area: brand !important;
    min-width: 0 !important;
  }

  .desktop-header-search {
    grid-area: search !important;
    display: block !important;
    width: min(100%, 760px) !important;
    max-width: 760px !important;
    min-width: 0 !important;
    justify-self: center !important;
    margin: 0 auto !important;
  }

  .desktop-header-pinned {
    grid-area: pinned !important;
    justify-self: end !important;
  }

  .desktop-header-actions-rest {
    grid-area: rest !important;
    justify-self: end !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
  }
}

@media (min-width: 1200px) {
  .header-bar-row {
    display: grid !important;
    grid-template-columns: max-content minmax(240px, 1fr) max-content max-content !important;
    grid-template-areas: "brand search pinned rest" !important;
    align-items: center !important;
    column-gap: 1rem !important;
    row-gap: 0 !important;
  }

  .header-bar-brand {
    grid-area: brand !important;
    min-width: 0 !important;
    justify-self: start !important;
  }

  .desktop-header-search {
    grid-area: search !important;
    display: block !important;
    width: min(100%, 460px) !important;
    max-width: 460px !important;
    min-width: 0 !important;
    justify-self: center !important;
    margin: 0 !important;
  }

  .desktop-header-search input,
  .desktop-header-search .utility-field {
    width: 100% !important;
    min-width: 0 !important;
  }

  .desktop-header-pinned {
    grid-area: pinned !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .desktop-header-actions-rest {
    grid-area: rest !important;
    justify-self: end !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
  }
}

@media (min-width: 1024px) {
  .header-bar-row > * {
    min-width: 0 !important;
  }

  .home-filter-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.85rem !important;
  }

  .home-filter-search {
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }

  .home-filter-chips {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }
}
