/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-pan-x: initial;
      --tw-pan-y: initial;
      --tw-pinch-zoom: initial;
      --tw-space-y-reverse: 0;
      --tw-space-x-reverse: 0;
      --tw-divide-x-reverse: 0;
      --tw-border-style: solid;
      --tw-divide-y-reverse: 0;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-content: "";
      --tw-animation-delay: 0s;
      --tw-animation-direction: normal;
      --tw-animation-duration: initial;
      --tw-animation-fill-mode: none;
      --tw-animation-iteration-count: 1;
      --tw-enter-blur: 0;
      --tw-enter-opacity: 1;
      --tw-enter-rotate: 0;
      --tw-enter-scale: 1;
      --tw-enter-translate-x: 0;
      --tw-enter-translate-y: 0;
      --tw-exit-blur: 0;
      --tw-exit-opacity: 1;
      --tw-exit-rotate: 0;
      --tw-exit-scale: 1;
      --tw-exit-translate-x: 0;
      --tw-exit-translate-y: 0;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: "Heebo", ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-600: oklch(57.7% .245 27.325);
    --color-red-700: oklch(50.5% .213 27.518);
    --color-amber-50: oklch(98.7% .022 95.277);
    --color-amber-500: oklch(76.9% .188 70.08);
    --color-emerald-600: oklch(59.6% .145 163.225);
    --color-emerald-700: oklch(50.8% .118 165.612);
    --color-emerald-800: oklch(43.2% .095 166.913);
    --color-sky-300: oklch(82.8% .111 230.318);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-600: oklch(44.6% .03 256.802);
    --color-gray-900: oklch(21% .034 264.665);
    --color-zinc-200: oklch(92% .004 286.32);
    --color-zinc-900: oklch(21% .006 285.885);
    --color-zinc-950: oklch(14.1% .005 285.823);
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --container-xs: 20rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-7xl: 80rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .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-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;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --tracking-tighter: -.05em;
    --tracking-tight: -.025em;
    --tracking-wide: .025em;
    --tracking-wider: .05em;
    --tracking-widest: .1em;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-relaxed: 1.625;
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --ease-in: cubic-bezier(.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    --blur-sm: 8px;
    --blur-md: 12px;
    --aspect-video: 16 / 9;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: "Heebo", ui-sans-serif, system-ui, sans-serif;
    --default-mono-font-family: var(--font-mono);
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-primary: var(--primary);
    --color-border: var(--border);
    --shadow-soft: 0 8px 25px #14120f0e;
    --shadow-lift: 0 8px 25px #14120f0e;
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

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

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  * {
    border-color: var(--color-border);
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "kern";
  }

  h1, h2, h3, h4 {
    letter-spacing: -.015em;
    text-wrap: balance;
    font-weight: 700;
  }

  ::selection {
    background: var(--gold-soft);
  }
}

@layer components;

@layer utilities {
  .\@container {
    container-type: inline-size;
  }

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

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

  .\!visible {
    visibility: visible !important;
  }

  .collapse {
    visibility: collapse;
  }

  .invisible {
    visibility: hidden;
  }

  .visible {
    visibility: visible;
  }

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

  .not-sr-only {
    clip-path: none;
    white-space: normal;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    position: static;
    overflow: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .inset-0 {
    inset: 0;
  }

  .inset-x-0 {
    inset-inline: 0;
  }

  .inset-x-3 {
    inset-inline: calc(var(--spacing) * 3);
  }

  .inset-y-0 {
    inset-block: 0;
  }

  .start-3 {
    inset-inline-start: calc(var(--spacing) * 3);
  }

  .start-4 {
    inset-inline-start: calc(var(--spacing) * 4);
  }

  .start-\[9px\] {
    inset-inline-start: 9px;
  }

  .-end-3 {
    inset-inline-end: calc(var(--spacing) * -3);
  }

  .end-0 {
    inset-inline-end: calc(var(--spacing) * 0);
  }

  .end-2 {
    inset-inline-end: calc(var(--spacing) * 2);
  }

  .end-3 {
    inset-inline-end: calc(var(--spacing) * 3);
  }

  .end-3\.5 {
    inset-inline-end: calc(var(--spacing) * 3.5);
  }

  .end-4 {
    inset-inline-end: calc(var(--spacing) * 4);
  }

  .end-5 {
    inset-inline-end: calc(var(--spacing) * 5);
  }

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

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

  .top-0 {
    top: 0;
  }

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

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

  .top-1\/2 {
    top: 50%;
  }

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

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

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

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

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

  .top-20 {
    top: calc(var(--spacing) * 20);
  }

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

  .top-28 {
    top: calc(var(--spacing) * 28);
  }

  .top-100 {
    top: calc(var(--spacing) * 100);
  }

  .top-200 {
    top: calc(var(--spacing) * 200);
  }

  .top-\[1px\] {
    top: 1px;
  }

  .top-\[9px\] {
    top: 9px;
  }

  .top-\[22px\] {
    top: 22px;
  }

  .top-\[50\%\] {
    top: 50%;
  }

  .top-\[60\%\] {
    top: 60%;
  }

  .top-\[calc\(100\%\+0\.375rem\)\] {
    top: calc(100% + .375rem);
  }

  .top-full {
    top: 100%;
  }

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

  .right-0 {
    right: 0;
  }

  .right-0\.5 {
    right: calc(var(--spacing) * .5);
  }

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

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

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

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

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

  .bottom-0 {
    bottom: 0;
  }

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

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

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

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

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

  .left-0 {
    left: 0;
  }

  .left-1\/2 {
    left: 50%;
  }

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

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

  .left-\[50\%\] {
    left: 50%;
  }

  .isolate {
    isolation: isolate;
  }

  .isolation-auto {
    isolation: auto;
  }

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

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

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

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

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

  .z-\[1\] {
    z-index: 1;
  }

  .z-\[60\] {
    z-index: 60;
  }

  .z-\[80\] {
    z-index: 80;
  }

  .z-\[90\] {
    z-index: 90;
  }

  .z-\[95\] {
    z-index: 95;
  }

  .z-\[110\] {
    z-index: 110;
  }

  .z-\[120\] {
    z-index: 120;
  }

  .z-\[130\] {
    z-index: 130;
  }

  .z-\[299\] {
    z-index: 299;
  }

  .z-\[300\] {
    z-index: 300;
  }

  .z-\[var\(--primitive-z-popover\,130\)\] {
    z-index: var(--primitive-z-popover, 130);
  }

  .order-first {
    order: -9999;
  }

  .col-1 {
    grid-column: 1;
  }

  .col-span-full {
    grid-column: 1 / -1;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .\!m-0 {
    margin: 0 !important;
  }

  .nova-shell {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 1.125rem;
  }

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

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

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

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

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

  .mx-3\.5 {
    margin-inline: calc(var(--spacing) * 3.5);
  }

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

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

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

  .my-3 {
    margin-block: calc(var(--spacing) * 3);
  }

  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }

  .ms-1 {
    margin-inline-start: var(--spacing);
  }

  .ms-2 {
    margin-inline-start: calc(var(--spacing) * 2);
  }

  .ms-auto {
    margin-inline-start: auto;
  }

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

  .me-1\.5 {
    margin-inline-end: calc(var(--spacing) * 1.5);
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .mt-auto {
    margin-top: auto;
  }

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

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

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-2\.5 {
    margin-bottom: calc(var(--spacing) * 2.5);
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }

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

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

  .ml-auto {
    margin-left: auto;
  }

  .nova-eyebrow {
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    align-items: center;
    gap: .4rem;
    font-size: .7rem;
    font-weight: 600;
    display: inline-flex;
  }

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

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

  .nova-num {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

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

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .hidden\! {
    display: none !important;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .inline-grid {
    display: inline-grid;
  }

  .inline-table {
    display: inline-table;
  }

  .list-item {
    display: list-item;
  }

  .table {
    display: table;
  }

  .table-caption {
    display: table-caption;
  }

  .table-cell {
    display: table-cell;
  }

  .table-column {
    display: table-column;
  }

  .table-column-group {
    display: table-column-group;
  }

  .table-footer-group {
    display: table-footer-group;
  }

  .table-header-group {
    display: table-header-group;
  }

  .table-row {
    display: table-row;
  }

  .table-row-group {
    display: table-row-group;
  }

  .aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
  }

  .aspect-\[4\/5\] {
    aspect-ratio: 4 / 5;
  }

  .aspect-square {
    aspect-ratio: 1;
  }

  .aspect-video {
    aspect-ratio: var(--aspect-video);
  }

  .size-\(--cell-size\) {
    width: var(--cell-size);
    height: var(--cell-size);
  }

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

  .size-\[18px\] {
    width: 18px;
    height: 18px;
  }

  .size-full {
    width: 100%;
    height: 100%;
  }

  .\!h-9 {
    height: calc(var(--spacing) * 9) !important;
  }

  .\!h-auto {
    height: auto !important;
  }

  .h-\(--cell-size\) {
    height: var(--cell-size);
  }

  .h-1 {
    height: var(--spacing);
  }

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

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

  .h-2\.5 {
    height: calc(var(--spacing) * 2.5);
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .h-\[0\.9rem\] {
    height: .9rem;
  }

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

  .h-\[1\.6rem\] {
    height: 1.6rem;
  }

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

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

  .h-\[4\.5rem\] {
    height: 4.5rem;
  }

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

  .h-\[26rem\] {
    height: 26rem;
  }

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

  .h-\[42vh\] {
    height: 42vh;
  }

  .h-\[100dvh\] {
    height: 100dvh;
  }

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

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

  .h-\[calc\(100svh-4\.5rem\)\] {
    height: calc(100svh - 4.5rem);
  }

  .h-\[var\(--primitive-control-height-md\,2\.25rem\)\] {
    height: var(--primitive-control-height-md, 2.25rem);
  }

  .h-\[var\(--radix-navigation-menu-viewport-height\)\] {
    height: var(--radix-navigation-menu-viewport-height);
  }

  .h-\[var\(--radix-select-trigger-height\)\] {
    height: var(--radix-select-trigger-height);
  }

  .h-auto {
    height: auto;
  }

  .h-dvh {
    height: 100dvh;
  }

  .h-full {
    height: 100%;
  }

  .h-px {
    height: 1px;
  }

  .h-screen {
    height: 100vh;
  }

  .h-svh {
    height: 100svh;
  }

  .max-h-\(--radix-context-menu-content-available-height\) {
    max-height: var(--radix-context-menu-content-available-height);
  }

  .max-h-\(--radix-select-content-available-height\) {
    max-height: var(--radix-select-content-available-height);
  }

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

  .max-h-\[60vh\] {
    max-height: 60vh;
  }

  .max-h-\[74dvh\] {
    max-height: 74dvh;
  }

  .max-h-\[80dvh\] {
    max-height: 80dvh;
  }

  .max-h-\[85dvh\] {
    max-height: 85dvh;
  }

  .max-h-\[85vh\] {
    max-height: 85vh;
  }

  .max-h-\[86dvh\] {
    max-height: 86dvh;
  }

  .max-h-\[92dvh\] {
    max-height: 92dvh;
  }

  .max-h-\[100dvh\] {
    max-height: 100dvh;
  }

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

  .max-h-\[var\(--radix-dropdown-menu-content-available-height\)\] {
    max-height: var(--radix-dropdown-menu-content-available-height);
  }

  .max-h-dvh {
    max-height: 100dvh;
  }

  .max-h-full {
    max-height: 100%;
  }

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

  .min-h-4 {
    min-height: calc(var(--spacing) * 4);
  }

  .min-h-8 {
    min-height: calc(var(--spacing) * 8);
  }

  .min-h-9 {
    min-height: calc(var(--spacing) * 9);
  }

  .min-h-24 {
    min-height: calc(var(--spacing) * 24);
  }

  .min-h-\[7rem\] {
    min-height: 7rem;
  }

  .min-h-\[8rem\] {
    min-height: 8rem;
  }

  .min-h-\[15rem\] {
    min-height: 15rem;
  }

  .min-h-\[26rem\] {
    min-height: 26rem;
  }

  .min-h-\[30rem\] {
    min-height: 30rem;
  }

  .min-h-\[30vh\] {
    min-height: 30vh;
  }

  .min-h-\[40vh\] {
    min-height: 40vh;
  }

  .min-h-\[50vh\] {
    min-height: 50vh;
  }

  .min-h-\[60dvh\] {
    min-height: 60dvh;
  }

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

  .min-h-\[60vh\] {
    min-height: 60vh;
  }

  .min-h-\[70dvh\] {
    min-height: 70dvh;
  }

  .min-h-\[100dvh\] {
    min-height: 100dvh;
  }

  .min-h-\[calc\(100dvh-4rem\)\] {
    min-height: calc(100dvh - 4rem);
  }

  .min-h-dvh {
    min-height: 100dvh;
  }

  .min-h-screen {
    min-height: 100vh;
  }

  .min-h-svh {
    min-height: 100svh;
  }

  .\!w-9 {
    width: calc(var(--spacing) * 9) !important;
  }

  .\!w-40 {
    width: calc(var(--spacing) * 40) !important;
  }

  .w-\(--cell-size\) {
    width: var(--cell-size);
  }

  .w-\(--sidebar-width\) {
    width: var(--sidebar-width);
  }

  .w-0 {
    width: 0;
  }

  .w-1 {
    width: var(--spacing);
  }

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

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

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

  .w-2\/3 {
    width: 66.6667%;
  }

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

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

  .w-3\/4 {
    width: 75%;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .w-\[0\.9rem\] {
    width: .9rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .w-\[calc\(33\%-1rem\)\] {
    width: calc(33% - 1rem);
  }

  .w-auto {
    width: auto;
  }

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

  .w-full {
    width: 100%;
  }

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

  .w-px {
    width: 1px;
  }

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

  .max-w-\(--skeleton-width\) {
    max-width: var(--skeleton-width);
  }

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

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

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

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

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

  .max-w-\[12rem\] {
    max-width: 12rem;
  }

  .max-w-\[24rem\] {
    max-width: 24rem;
  }

  .max-w-\[30rem\] {
    max-width: 30rem;
  }

  .max-w-\[36rem\] {
    max-width: 36rem;
  }

  .max-w-\[65ch\] {
    max-width: 65ch;
  }

  .max-w-\[85\%\] {
    max-width: 85%;
  }

  .max-w-\[88\%\] {
    max-width: 88%;
  }

  .max-w-\[92vw\] {
    max-width: 92vw;
  }

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

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

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

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

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

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

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

  .max-w-\[calc\(100vw-2rem\)\] {
    max-width: calc(100vw - 2rem);
  }

  .max-w-full {
    max-width: 100%;
  }

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

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

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

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

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

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

  .min-w-\(--cell-size\) {
    min-width: var(--cell-size);
  }

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

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

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

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

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

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

  .min-w-\[2\.25rem\] {
    min-width: 2.25rem;
  }

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

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

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

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

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

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

  .min-w-\[var\(--radix-select-trigger-width\)\] {
    min-width: var(--radix-select-trigger-width);
  }

  .min-w-full {
    min-width: 100%;
  }

  .flex-1 {
    flex: 1;
  }

  .flex-shrink, .shrink {
    flex-shrink: 1;
  }

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

  .grow {
    flex-grow: 1;
  }

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

  .basis-full {
    flex-basis: 100%;
  }

  .caption-bottom {
    caption-side: bottom;
  }

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

  .origin-\(--radix-context-menu-content-transform-origin\) {
    transform-origin: var(--radix-context-menu-content-transform-origin);
  }

  .origin-\(--radix-dropdown-menu-content-transform-origin\) {
    transform-origin: var(--radix-dropdown-menu-content-transform-origin);
  }

  .origin-\(--radix-hover-card-content-transform-origin\) {
    transform-origin: var(--radix-hover-card-content-transform-origin);
  }

  .origin-\(--radix-menubar-content-transform-origin\) {
    transform-origin: var(--radix-menubar-content-transform-origin);
  }

  .origin-\(--radix-popover-content-transform-origin\) {
    transform-origin: var(--radix-popover-content-transform-origin);
  }

  .origin-\(--radix-select-content-transform-origin\) {
    transform-origin: var(--radix-select-content-transform-origin);
  }

  .origin-\(--radix-tooltip-content-transform-origin\) {
    transform-origin: var(--radix-tooltip-content-transform-origin);
  }

  .origin-\[var\(--transform-origin\)\] {
    transform-origin: var(--transform-origin);
  }

  .-translate-x-1\/2 {
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

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

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

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

  .translate-x-\[-50\%\] {
    --tw-translate-x: -50%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

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

  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .-translate-y-\[1px\] {
    --tw-translate-y: calc(1px * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

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

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

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

  .translate-y-\[-50\%\] {
    --tw-translate-y: -50%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .translate-y-\[120\%\] {
    --tw-translate-y: 120%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .translate-none {
    translate: none;
  }

  .scale-100 {
    --tw-scale-x: 100%;
    --tw-scale-y: 100%;
    --tw-scale-z: 100%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }

  .-scale-x-100 {
    --tw-scale-x: calc(100% * -1);
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }

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

  .scale-\[0\.98\] {
    scale: .98;
  }

  .rotate-45 {
    rotate: 45deg;
  }

  .rotate-90 {
    rotate: 90deg;
  }

  .rotate-180 {
    rotate: 180deg;
  }

  .nova-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: box-shadow .35s cubic-bezier(.22, 1, .36, 1), transform .35s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 1px 2px #14120f0b, 0 10px 24px -14px #14120f38;
  }

  .nova-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px #14120f0f, 0 18px 36px -18px #14120f4d;
  }

  .nova-depth {
    transition: box-shadow .3s cubic-bezier(.22, 1, .36, 1), transform .3s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 1px 2px #14120f0d, 0 8px 20px -12px #14120f3d;
  }

  .nova-depth:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px #14120f12, 0 14px 28px -14px #14120f4d;
  }

  .nova-depth:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px #14120f14;
  }

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

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

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

  .nova-reveal {
    animation: .6s cubic-bezier(.22, 1, .36, 1) both nova-reveal;
    animation-timeline: view();
    animation-range: entry cover 22%;
  }

  .animate-caret-blink {
    animation: 1.25s ease-out infinite caret-blink;
  }

  .animate-in {
    animation: enter var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

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

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

  .nova-marquee {
    animation: 42s linear infinite nova-marquee;
  }

  .cursor-crosshair {
    cursor: crosshair;
  }

  .cursor-default {
    cursor: default;
  }

  .cursor-grab {
    cursor: grab;
  }

  .cursor-grabbing {
    cursor: grabbing;
  }

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

  .cursor-pointer {
    cursor: pointer;
  }

  .cursor-zoom-in {
    cursor: zoom-in;
  }

  .touch-pan-y {
    --tw-pan-y: pan-y;
    touch-action: var(--tw-pan-x, ) var(--tw-pan-y, ) var(--tw-pinch-zoom, );
  }

  .touch-pinch-zoom {
    --tw-pinch-zoom: pinch-zoom;
    touch-action: var(--tw-pan-x, ) var(--tw-pan-y, ) var(--tw-pinch-zoom, );
  }

  .touch-none {
    touch-action: none;
  }

  .resize {
    resize: both;
  }

  .resize-none {
    resize: none;
  }

  .no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .\[scrollbar-width\:none\] {
    scrollbar-width: none;
  }

  .list-decimal {
    list-style-type: decimal;
  }

  .list-disc {
    list-style-type: disc;
  }

  .list-none {
    list-style-type: none;
  }

  .\[appearance\:textfield\] {
    appearance: textfield;
  }

  .columns-3 {
    columns: 3;
  }

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

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

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

  .grid-cols-\[1\.75rem_minmax\(0\,1fr\)\] {
    grid-template-columns: 1.75rem minmax(0, 1fr);
  }

  .grid-cols-\[7\.5rem_minmax\(0\,1fr\)\] {
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }

  .grid-cols-\[auto_minmax\(0\,1fr\)\] {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .grid-cols-\[minmax\(0\,1fr\)_auto\] {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

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

  .flex-row {
    flex-direction: row;
  }

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

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

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

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

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

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

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

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

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

  .gap-0 {
    gap: 0;
  }

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

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

  .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-3\.5 {
    gap: calc(var(--spacing) * 3.5);
  }

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

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

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

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

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

  :where(.space-y-0\.5 > :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)));
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  .gap-y-0\.5 {
    row-gap: calc(var(--spacing) * .5);
  }

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

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

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

  :where(.divide-x > :not(:last-child)) {
    --tw-divide-x-reverse: 0;
    border-inline-style: var(--tw-border-style);
    border-inline-start-width: calc(1px * var(--tw-divide-x-reverse));
    border-inline-end-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));
  }

  :where(.divide-y > :not(:last-child)) {
    --tw-divide-y-reverse: 0;
    border-bottom-style: var(--tw-border-style);
    border-top-style: var(--tw-border-style);
    border-top-width: calc(1px * var(--tw-divide-y-reverse));
    border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  }

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

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

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

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

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

  .justify-self-start {
    justify-self: flex-start;
  }

  .nova-media {
    background: var(--secondary);
    border-radius: .75rem;
    overflow: hidden;
  }

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

  .overflow-auto {
    overflow: auto;
  }

  .overflow-hidden {
    overflow: hidden;
  }

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

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

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

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

  .overscroll-contain {
    overscroll-behavior: contain;
  }

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

  .rounded-2xl {
    border-radius: calc(var(--radius) + 4px);
  }

  .rounded-\[2px\] {
    border-radius: 2px;
  }

  .rounded-\[3px\] {
    border-radius: 3px;
  }

  .rounded-\[4px\] {
    border-radius: 4px;
  }

  .rounded-\[6px\] {
    border-radius: 6px;
  }

  .rounded-\[8px\] {
    border-radius: 8px;
  }

  .rounded-\[10px\] {
    border-radius: 10px;
  }

  .rounded-\[12px\] {
    border-radius: 12px;
  }

  .rounded-\[14px\] {
    border-radius: 14px;
  }

  .rounded-\[16px\] {
    border-radius: 16px;
  }

  .rounded-\[18px\] {
    border-radius: 18px;
  }

  .rounded-\[inherit\] {
    border-radius: inherit;
  }

  .rounded-\[var\(--primitive-radius-control\,0\.875rem\)\] {
    border-radius: var(--primitive-radius-control, .875rem);
  }

  .rounded-\[var\(--primitive-radius-control-sm\,0\.625rem\)\] {
    border-radius: var(--primitive-radius-control-sm, .625rem);
  }

  .rounded-\[var\(--primitive-radius-surface\,1rem\)\] {
    border-radius: var(--primitive-radius-surface, 1rem);
  }

  .rounded-\[var\(--radius-control\)\] {
    border-radius: var(--radius-control);
  }

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

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

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

  .rounded-none {
    border-radius: 0;
  }

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

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

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

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

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

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

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

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

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

  .rounded-t-\[10px\] {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

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

  .rounded-l-md {
    border-top-left-radius: calc(var(--radius) - 2px);
    border-bottom-left-radius: calc(var(--radius) - 2px);
  }

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

  .rounded-tl-sm {
    border-top-left-radius: calc(var(--radius) - 4px);
  }

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

  .rounded-r-md {
    border-top-right-radius: calc(var(--radius) - 2px);
    border-bottom-right-radius: calc(var(--radius) - 2px);
  }

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

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

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

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

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

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

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

  .border-\[1\.5px\] {
    border-style: var(--tw-border-style);
    border-width: 1.5px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

  .border-\[\#2f5eb8\] {
    border-color: #2f5eb8;
  }

  .border-\[\#16a34a\] {
    border-color: #16a34a;
  }

  .border-\[\#d0d5dd\] {
    border-color: #d0d5dd;
  }

  .border-\[var\(--adm-border\)\] {
    border-color: var(--adm-border);
  }

  .border-\[var\(--border\)\], .border-border, .border-border\/50 {
    border-color: var(--border);
  }

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

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

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

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

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

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

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

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

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

  .border-emerald-600\/25 {
    border-color: #00976740;
  }

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

  .border-emerald-600\/30 {
    border-color: #0097674d;
  }

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

  .border-foreground, .border-foreground\/25 {
    border-color: var(--foreground);
  }

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

  .border-gold, .border-gold\/35 {
    border-color: var(--gold);
  }

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

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

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

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

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

  .border-gold\/60 {
    border-color: var(--gold);
  }

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

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

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

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

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

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

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

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

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

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

  .border-white\/10 {
    border-color: #ffffff1a;
  }

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

  .border-white\/35 {
    border-color: #ffffff59;
  }

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

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

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

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

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

  .bg-\[\#2f5eb8\] {
    background-color: #2f5eb8;
  }

  .bg-\[\#16a34a\] {
    background-color: #16a34a;
  }

  .bg-\[\#E8B930\] {
    background-color: #e8b930;
  }

  .bg-\[\#ffc439\] {
    background-color: #ffc439;
  }

  .bg-\[color\:var\(--primitive-surface-overlay\,var\(--popover\)\)\] {
    background-color: var(--primitive-surface-overlay, var(--popover));
  }

  .bg-\[var\(--adm-panel-2\,\#00000010\)\] {
    background-color: var(--adm-panel-2, #00000010);
  }

  .bg-\[var\(--background\)\] {
    background-color: var(--background);
  }

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

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

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

  .bg-background, .bg-background\/70 {
    background-color: var(--background);
  }

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

  .bg-background\/85 {
    background-color: var(--background);
  }

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

  .bg-background\/90 {
    background-color: var(--background);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-background\/90 {
      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)) {
    .bg-background\/95 {
      background-color: color-mix(in oklab, var(--background) 95%, transparent);
    }
  }

  .bg-black\/0 {
    background-color: #0000;
  }

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

  .bg-black\/40 {
    background-color: #0006;
  }

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

  .bg-black\/50 {
    background-color: #00000080;
  }

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

  .bg-black\/60 {
    background-color: #0009;
  }

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

  .bg-black\/80 {
    background-color: #000c;
  }

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

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

  .bg-card, .bg-card\/80 {
    background-color: var(--card);
  }

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

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

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

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

  .bg-emerald-600\/10 {
    background-color: #0097671a;
  }

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

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

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

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

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

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

  .bg-ink, .bg-ink\/25 {
    background-color: var(--ink);
  }

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

  .bg-ink\/45 {
    background-color: var(--ink);
  }

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

  .bg-ink\/55 {
    background-color: var(--ink);
  }

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

  .bg-ink\/60 {
    background-color: var(--ink);
  }

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

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

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

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

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

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

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

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

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

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

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

  .bg-secondary, .bg-secondary\/35 {
    background-color: var(--secondary);
  }

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

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

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

  .bg-secondary\/60 {
    background-color: var(--secondary);
  }

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

  .bg-secondary\/95 {
    background-color: var(--secondary);
  }

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

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

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

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

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

  .bg-white\/15 {
    background-color: #ffffff26;
  }

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

  .bg-white\/45 {
    background-color: #ffffff73;
  }

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

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

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

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

  .bg-gradient-to-t {
    --tw-gradient-position: to top in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }

  .bg-\[linear-gradient\(to_right\,\#fff\,transparent\)\] {
    background-image: linear-gradient(to right, #fff, #0000);
  }

  .bg-\[linear-gradient\(to_top\,\#000\,transparent\)\] {
    background-image: linear-gradient(to top, #000, #0000);
  }

  .bg-\[linear-gradient\(to_top\,color-mix\(in_oklab\,var\(--ink\)_62\%\,transparent\)\,color-mix\(in_oklab\,var\(--ink\)_18\%\,transparent\)_46\%\,transparent_72\%\)\] {
    background-image: linear-gradient(to top,var(--ink),var(--ink) 46%,transparent 72%);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-\[linear-gradient\(to_top\,color-mix\(in_oklab\,var\(--ink\)_62\%\,transparent\)\,color-mix\(in_oklab\,var\(--ink\)_18\%\,transparent\)_46\%\,transparent_72\%\)\] {
      background-image: linear-gradient(to top,color-mix(in oklab,var(--ink) 62%,transparent),color-mix(in oklab,var(--ink) 18%,transparent) 46%,transparent 72%);
    }
  }

  .from-ink\/75 {
    --tw-gradient-from: var(--ink);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .from-ink\/75 {
      --tw-gradient-from: color-mix(in oklab, var(--ink) 75%, transparent);
    }
  }

  .from-ink\/75 {
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .via-ink\/25 {
    --tw-gradient-via: var(--ink);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .via-ink\/25 {
      --tw-gradient-via: color-mix(in oklab, var(--ink) 25%, transparent);
    }
  }

  .via-ink\/25 {
    --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
  }

  .to-transparent {
    --tw-gradient-to: transparent;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

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

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

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

  .fill-current {
    fill: currentColor;
  }

  .fill-destructive {
    fill: var(--destructive);
  }

  .fill-primary {
    fill: var(--primary);
  }

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

  .object-contain {
    object-fit: contain;
  }

  .object-cover {
    object-fit: cover;
  }

  .p-0 {
    padding: 0;
  }

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

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

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

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

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

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

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

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

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

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

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

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

  .p-\[1px\] {
    padding: 1px;
  }

  .px-\(--cell-size\) {
    padding-inline: var(--cell-size);
  }

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

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

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

  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }

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

  .px-3\.5 {
    padding-inline: calc(var(--spacing) * 3.5);
  }

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

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

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

  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }

  .px-\[1\.125rem\] {
    padding-inline: 1.125rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .ps-3\.5 {
    padding-inline-start: calc(var(--spacing) * 3.5);
  }

  .ps-4 {
    padding-inline-start: calc(var(--spacing) * 4);
  }

  .ps-5 {
    padding-inline-start: calc(var(--spacing) * 5);
  }

  .ps-6 {
    padding-inline-start: calc(var(--spacing) * 6);
  }

  .ps-\[2\.9rem\] {
    padding-inline-start: 2.9rem;
  }

  .ps-\[2\.85rem\] {
    padding-inline-start: 2.85rem;
  }

  .pe-8 {
    padding-inline-end: calc(var(--spacing) * 8);
  }

  .pe-11 {
    padding-inline-end: calc(var(--spacing) * 11);
  }

  .pe-12 {
    padding-inline-end: calc(var(--spacing) * 12);
  }

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

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

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

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

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

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

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

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

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

  .pt-\[8svh\] {
    padding-top: 8svh;
  }

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

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

  .pr-2\.5 {
    padding-right: calc(var(--spacing) * 2.5);
  }

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

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

  .pr-8 {
    padding-right: calc(var(--spacing) * 8);
  }

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

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

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

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

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

  .pb-3\.5 {
    padding-bottom: calc(var(--spacing) * 3.5);
  }

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

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

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

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

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

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

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

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

  .pb-\[3\.5rem\] {
    padding-bottom: 3.5rem;
  }

  .pb-\[calc\(env\(safe-area-inset-bottom\)\+0\.875rem\)\] {
    padding-bottom: calc(env(safe-area-inset-bottom) + .875rem);
  }

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

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

  .pl-2\.5 {
    padding-left: calc(var(--spacing) * 2.5);
  }

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

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

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

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

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

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

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

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

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

  .align-middle {
    vertical-align: middle;
  }

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

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

  .text-7xl {
    font-size: var(--text-7xl);
    line-height: var(--tw-leading, var(--text-7xl--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-\[0\.6rem\] {
    font-size: .6rem;
  }

  .text-\[0\.7rem\] {
    font-size: .7rem;
  }

  .text-\[0\.8rem\] {
    font-size: .8rem;
  }

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

  .text-\[0\.62rem\] {
    font-size: .62rem;
  }

  .text-\[0\.64rem\] {
    font-size: .64rem;
  }

  .text-\[0\.65rem\] {
    font-size: .65rem;
  }

  .text-\[0\.66rem\] {
    font-size: .66rem;
  }

  .text-\[0\.68rem\] {
    font-size: .68rem;
  }

  .text-\[0\.69rem\] {
    font-size: .69rem;
  }

  .text-\[0\.72rem\] {
    font-size: .72rem;
  }

  .text-\[0\.73rem\] {
    font-size: .73rem;
  }

  .text-\[0\.74rem\] {
    font-size: .74rem;
  }

  .text-\[0\.75rem\] {
    font-size: .75rem;
  }

  .text-\[0\.76rem\] {
    font-size: .76rem;
  }

  .text-\[0\.78rem\] {
    font-size: .78rem;
  }

  .text-\[0\.82rem\] {
    font-size: .82rem;
  }

  .text-\[0\.83rem\] {
    font-size: .83rem;
  }

  .text-\[0\.84rem\] {
    font-size: .84rem;
  }

  .text-\[0\.85rem\] {
    font-size: .85rem;
  }

  .text-\[0\.86rem\] {
    font-size: .86rem;
  }

  .text-\[0\.87rem\] {
    font-size: .87rem;
  }

  .text-\[0\.88rem\] {
    font-size: .88rem;
  }

  .text-\[0\.92rem\] {
    font-size: .92rem;
  }

  .text-\[0\.93rem\] {
    font-size: .93rem;
  }

  .text-\[0\.94rem\] {
    font-size: .94rem;
  }

  .text-\[0\.95rem\] {
    font-size: .95rem;
  }

  .text-\[0\.96rem\] {
    font-size: .96rem;
  }

  .text-\[0\.98rem\] {
    font-size: .98rem;
  }

  .text-\[0\.8125rem\] {
    font-size: .8125rem;
  }

  .text-\[1\.02rem\] {
    font-size: 1.02rem;
  }

  .text-\[1\.2rem\] {
    font-size: 1.2rem;
  }

  .text-\[1\.3rem\] {
    font-size: 1.3rem;
  }

  .text-\[1\.4rem\] {
    font-size: 1.4rem;
  }

  .text-\[1\.05rem\] {
    font-size: 1.05rem;
  }

  .text-\[1\.5rem\] {
    font-size: 1.5rem;
  }

  .text-\[1\.6rem\] {
    font-size: 1.6rem;
  }

  .text-\[1\.7rem\] {
    font-size: 1.7rem;
  }

  .text-\[1\.8rem\] {
    font-size: 1.8rem;
  }

  .text-\[1\.9rem\] {
    font-size: 1.9rem;
  }

  .text-\[1\.15rem\] {
    font-size: 1.15rem;
  }

  .text-\[1\.45rem\] {
    font-size: 1.45rem;
  }

  .text-\[1\.55rem\] {
    font-size: 1.55rem;
  }

  .text-\[1rem\] {
    font-size: 1rem;
  }

  .text-\[2\.25rem\] {
    font-size: 2.25rem;
  }

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

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

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

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

  .text-\[12\.5px\] {
    font-size: 12.5px;
  }

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

  .text-\[13\.5px\] {
    font-size: 13.5px;
  }

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

  .text-\[14\.5px\] {
    font-size: 14.5px;
  }

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

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

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

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

  .text-\[clamp\(0\.62rem\,0\.78vw\,0\.72rem\)\] {
    font-size: clamp(.62rem, .78vw, .72rem);
  }

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

  .leading-\[1\.1\] {
    --tw-leading: 1.1;
    line-height: 1.1;
  }

  .leading-\[1\.06\] {
    --tw-leading: 1.06;
    line-height: 1.06;
  }

  .leading-\[1\.15\] {
    --tw-leading: 1.15;
    line-height: 1.15;
  }

  .leading-\[1\.25\] {
    --tw-leading: 1.25;
    line-height: 1.25;
  }

  .leading-\[1\], .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }

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

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

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

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

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

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

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

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

  .tracking-\[-0\.01em\] {
    --tw-tracking: -.01em;
    letter-spacing: -.01em;
  }

  .tracking-\[-0\.02em\] {
    --tw-tracking: -.02em;
    letter-spacing: -.02em;
  }

  .tracking-\[0\.2em\] {
    --tw-tracking: .2em;
    letter-spacing: .2em;
  }

  .tracking-\[0\.04em\] {
    --tw-tracking: .04em;
    letter-spacing: .04em;
  }

  .tracking-\[0\.08em\] {
    --tw-tracking: .08em;
    letter-spacing: .08em;
  }

  .tracking-\[0\.18em\] {
    --tw-tracking: .18em;
    letter-spacing: .18em;
  }

  .tracking-\[0\.22em\] {
    --tw-tracking: .22em;
    letter-spacing: .22em;
  }

  .tracking-\[0\.28em\] {
    --tw-tracking: .28em;
    letter-spacing: .28em;
  }

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

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

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

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

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

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

  .break-words {
    overflow-wrap: break-word;
  }

  .break-all {
    word-break: break-all;
  }

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

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

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

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

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

  .nova-eyebrow-gold {
    color: var(--gold);
  }

  .text-\[\#001c64\] {
    color: #001c64;
  }

  .text-\[\#16a34a\] {
    color: #16a34a;
  }

  .text-\[\#003087\] {
    color: #003087;
  }

  .text-\[color\:var\(--primitive-text-placeholder\,var\(--muted-foreground\)\)\] {
    color: var(--primitive-text-placeholder, var(--muted-foreground));
  }

  .text-\[color\:var\(--primitive-text-secondary\,color-mix\(in_srgb\,var\(--foreground\)_72\%\,transparent\)\)\] {
    color: var(--primitive-text-secondary, var(--foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .text-\[color\:var\(--primitive-text-secondary\,color-mix\(in_srgb\,var\(--foreground\)_72\%\,transparent\)\)\] {
      color: var(--primitive-text-secondary, color-mix(in srgb,var(--foreground) 72%,transparent));
    }
  }

  .text-\[var\(--foreground\)\] {
    color: var(--foreground);
  }

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

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

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

  .text-black\/80 {
    color: #000c;
  }

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

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

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

  .text-current {
    color: currentColor;
  }

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

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

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

  .text-emerald-800 {
    color: var(--color-emerald-800);
  }

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

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

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

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

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

  .text-gray-600 {
    color: var(--color-gray-600);
  }

  .text-gray-900 {
    color: var(--color-gray-900);
  }

  .text-muted-foreground, .text-muted-foreground\/40 {
    color: var(--muted-foreground);
  }

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

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

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

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

  .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-secondary-foreground {
    color: var(--secondary-foreground);
  }

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

  .text-transparent {
    color: #0000;
  }

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

  .text-white\/50 {
    color: #ffffff80;
  }

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

  .text-white\/85 {
    color: #ffffffd9;
  }

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

  .capitalize {
    text-transform: capitalize;
  }

  .lowercase {
    text-transform: lowercase;
  }

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

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .not-italic {
    font-style: normal;
  }

  .diagonal-fractions {
    --tw-numeric-fraction: diagonal-fractions;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .lining-nums {
    --tw-numeric-figure: lining-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .oldstyle-nums {
    --tw-numeric-figure: oldstyle-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .ordinal {
    --tw-ordinal: ordinal;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .proportional-nums {
    --tw-numeric-spacing: proportional-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .slashed-zero {
    --tw-slashed-zero: slashed-zero;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .stacked-fractions {
    --tw-numeric-fraction: stacked-fractions;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .normal-nums {
    font-variant-numeric: normal;
  }

  .line-through {
    text-decoration-line: line-through;
  }

  .no-underline {
    text-decoration-line: none;
  }

  .overline {
    text-decoration-line: overline;
  }

  .overline\! {
    text-decoration-line: overline !important;
  }

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

  .underline\! {
    text-decoration-line: underline !important;
  }

  .decoration-white\/25 {
    text-decoration-color: #ffffff40;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .decoration-white\/25 {
      -webkit-text-decoration-color: color-mix(in oklab, var(--color-white) 25%, transparent);
      -webkit-text-decoration-color: color-mix(in oklab, var(--color-white) 25%, transparent);
      text-decoration-color: color-mix(in oklab, var(--color-white) 25%, transparent);
    }
  }

  .underline-offset-2 {
    text-underline-offset: 2px;
  }

  .underline-offset-4 {
    text-underline-offset: 4px;
  }

  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .subpixel-antialiased {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
  }

  .accent-\[var\(--gold\)\] {
    accent-color: var(--gold);
  }

  .accent-foreground {
    accent-color: var(--foreground);
  }

  .opacity-0 {
    opacity: 0;
  }

  .opacity-45 {
    opacity: .45;
  }

  .opacity-50 {
    opacity: .5;
  }

  .opacity-55 {
    opacity: .55;
  }

  .opacity-60 {
    opacity: .6;
  }

  .opacity-70 {
    opacity: .7;
  }

  .opacity-100 {
    opacity: 1;
  }

  .opacity-\[0\.55\] {
    opacity: .55;
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-\[0_0_0_1px_rgba\(0\,0\,0\,0\.35\)\,0_1px_4px_rgba\(0\,0\,0\,0\.4\)\] {
    --tw-shadow: 0 0 0 1px var(--tw-shadow-color, #00000059), 0 1px 4px var(--tw-shadow-color, #0006);
    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_0_0_1px_var\(--sidebar-border\)\] {
    --tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--sidebar-border));
    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_1px_2px_rgba\(20\,18\,15\,0\.04\)\,0_18px_44px_-24px_rgba\(20\,18\,15\,0\.22\)\] {
    --tw-shadow: 0 1px 2px var(--tw-shadow-color, #14120f0a), 0 18px 44px -24px var(--tw-shadow-color, #14120f38);
    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_1px_3px_rgba\(0\,0\,0\,0\.06\)\] {
    --tw-shadow: 0 1px 3px var(--tw-shadow-color, #0000000f);
    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_1px_4px_rgba\(0\,0\,0\,0\.05\)\] {
    --tw-shadow: 0 1px 4px var(--tw-shadow-color, #0000000d);
    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_3px_10px_-6px_rgba\(130\,91\,26\,0\.65\)\] {
    --tw-shadow: 0 3px 10px -6px var(--tw-shadow-color, #825b1aa6);
    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_18px_40px_-16px_oklch\(from_var\(--ink\)_l_c_h_\/_0\.28\)\] {
    --tw-shadow: 0 18px 40px -16px var(--tw-shadow-color, oklch(from var(--ink) l c h / .28));
    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_18px_40px_-16px_rgba\(20\,20\,20\,0\.25\)\] {
    --tw-shadow: 0 18px 40px -16px var(--tw-shadow-color, #14141440);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_12\%\,transparent\)\] {
    --tw-shadow: inset 0 0 0 1px var(--tw-shadow-color, var(--foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_12\%\,transparent\)\] {
      --tw-shadow: inset 0 0 0 1px var(--tw-shadow-color, color-mix(in srgb,var(--foreground) 12%,transparent));
    }
  }

  .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_12\%\,transparent\)\] {
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_14\%\,transparent\)\] {
    --tw-shadow: inset 0 0 0 1px var(--tw-shadow-color, var(--foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_14\%\,transparent\)\] {
      --tw-shadow: inset 0 0 0 1px var(--tw-shadow-color, color-mix(in srgb,var(--foreground) 14%,transparent));
    }
  }

  .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_14\%\,transparent\)\] {
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_16\%\,transparent\)\] {
    --tw-shadow: inset 0 0 0 1px var(--tw-shadow-color, var(--foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_16\%\,transparent\)\] {
      --tw-shadow: inset 0 0 0 1px var(--tw-shadow-color, color-mix(in srgb,var(--foreground) 16%,transparent));
    }
  }

  .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--foreground\)_16\%\,transparent\)\] {
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-\[inset_0_1px_0_rgba\(255\,255\,255\,0\.1\)\] {
    --tw-shadow: inset 0 1px 0 var(--tw-shadow-color, #ffffff1a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-\[inset_0_1px_0_rgba\(255\,255\,255\,0\.8\)\] {
    --tw-shadow: inset 0 1px 0 var(--tw-shadow-color, #fffc);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-none {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-xl {
    --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, #0000001a), 0 8px 10px -6px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-xs {
    --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, #0000000d);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow\/elevation {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring-0 {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring-1 {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

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

  .inset-ring {
    --tw-inset-ring-shadow: inset 0 0 0 1px var(--tw-inset-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .\[box-shadow\:var\(--primitive-shadow-overlay\,0_1px_2px_rgba\(0\,0\,0\,0\.08\)\,0_18px_48px_-24px_rgba\(0\,0\,0\,0\.4\)\)\] {
    box-shadow: var(--primitive-shadow-overlay, 0 1px 2px #00000014,0 18px 48px -24px #0006);
  }

  .ring-gold\/15 {
    --tw-ring-color: var(--gold);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .ring-gold\/15 {
      --tw-ring-color: color-mix(in oklab, var(--gold) 15%, transparent);
    }
  }

  .ring-gold\/25 {
    --tw-ring-color: var(--gold);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .ring-gold\/25 {
      --tw-ring-color: color-mix(in oklab, var(--gold) 25%, transparent);
    }
  }

  .ring-gold\/30 {
    --tw-ring-color: var(--gold);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .ring-gold\/30 {
      --tw-ring-color: color-mix(in oklab, var(--gold) 30%, transparent);
    }
  }

  .ring-ring {
    --tw-ring-color: var(--ring);
  }

  .ring-sky-300\/70 {
    --tw-ring-color: #77d4ffb3;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .ring-sky-300\/70 {
      --tw-ring-color: color-mix(in oklab, var(--color-sky-300) 70%, transparent);
    }
  }

  .ring-offset-background {
    --tw-ring-offset-color: var(--background);
  }

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

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .drop-shadow {
    --tw-drop-shadow-size: drop-shadow(0 1px 2px var(--tw-drop-shadow-color, #0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color, #0000000f));
    --tw-drop-shadow: drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .drop-shadow-\[0_1px_1px_rgba\(0\,0\,0\,0\.45\)\] {
    --tw-drop-shadow-size: drop-shadow(0 1px 1px var(--tw-drop-shadow-color, #00000073));
    --tw-drop-shadow: var(--tw-drop-shadow-size);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .grayscale {
    --tw-grayscale: grayscale(100%);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .sepia {
    --tw-sepia: sepia(100%);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .backdrop-blur {
    --tw-backdrop-blur: blur(8px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .backdrop-blur-\[2px\] {
    --tw-backdrop-blur: blur(2px);
    -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-md {
    --tw-backdrop-blur: blur(var(--blur-md));
    -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, );
  }

  .backdrop-grayscale {
    --tw-backdrop-grayscale: grayscale(100%);
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .backdrop-invert {
    --tw-backdrop-invert: invert(100%);
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .backdrop-sepia {
    --tw-backdrop-sepia: sepia(100%);
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[border-color\,background-color\,transform\] {
    transition-property: border-color, background-color, transform;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[border-color\,box-shadow\] {
    transition-property: border-color, box-shadow;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[color\,background-color\,border-color\,transform\] {
    transition-property: color, background-color, border-color, transform;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[color\,background-color\] {
    transition-property: color, background-color;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[left\,right\,width\] {
    transition-property: left, right, width;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[margin\,opacity\] {
    transition-property: margin, opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[max-height\] {
    transition-property: max-height;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[opacity\,scale\] {
    transition-property: opacity, scale;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[opacity\,transform\] {
    transition-property: opacity, transform;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[width\,height\,padding\] {
    transition-property: width, height, padding;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-\[width\] {
    transition-property: width;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-shadow {
    transition-property: box-shadow;
    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-100 {
    --tw-duration: .1s;
    transition-duration: .1s;
  }

  .duration-150 {
    --tw-duration: .15s;
    transition-duration: .15s;
  }

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

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

  .duration-500 {
    --tw-duration: .5s;
    transition-duration: .5s;
  }

  .duration-1000 {
    --tw-duration: 1s;
    transition-duration: 1s;
  }

  .duration-\[180ms\] {
    --tw-duration: .18s;
    transition-duration: .18s;
  }

  .duration-\[420ms\] {
    --tw-duration: .42s;
    transition-duration: .42s;
  }

  .duration-\[600ms\] {
    --tw-duration: .6s;
    transition-duration: .6s;
  }

  .duration-\[900ms\] {
    --tw-duration: .9s;
    transition-duration: .9s;
  }

  .duration-\[1100ms\] {
    --tw-duration: 1.1s;
    transition-duration: 1.1s;
  }

  .ease-\[cubic-bezier\(\.4\,0\,\.2\,1\)\] {
    --tw-ease: cubic-bezier(.4,0,.2,1);
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  }

  .ease-\[var\(--primitive-ease\,cubic-bezier\(0\.23\,1\,0\.32\,1\)\)\] {
    --tw-ease: var(--primitive-ease, cubic-bezier(.23,1,.32,1));
    transition-timing-function: var(--primitive-ease, cubic-bezier(.23,1,.32,1));
  }

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

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

  .ease-linear {
    --tw-ease: linear;
    transition-timing-function: linear;
  }

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

  .fade-in-0 {
    --tw-enter-opacity: 0;
  }

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

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

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

  .zoom-in-95 {
    --tw-enter-scale: .95;
  }

  .\!running {
    animation-play-state: running !important;
  }

  .\[--cell-size\:2rem\] {
    --cell-size: 2rem;
  }

  .\[direction\:ltr\] {
    direction: ltr;
  }

  .\[redacted\:\<receipt\>\] {
    redacted: <receipt>;
  }

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

  .nova-rule {
    border-top: 1px solid var(--border);
  }

  .paused {
    animation-play-state: paused;
  }

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

  .running {
    animation-play-state: running;
  }

  .zoom-in {
    --tw-enter-scale: 0;
  }

  .zoom-out {
    --tw-exit-scale: 0;
  }

  .group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *) {
    opacity: 1;
  }

  @media (hover: hover) {
    .group-hover\:-translate-x-1:is(:where(.group):hover *) {
      --tw-translate-x: calc(var(--spacing) * -1);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }

    .group-hover\:scale-\[1\.025\]:is(:where(.group):hover *) {
      scale: 1.025;
    }

    .group-hover\:bg-black\/45:is(:where(.group):hover *) {
      background-color: #00000073;
    }

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

    .group-hover\:bg-white\/70:is(:where(.group):hover *) {
      background-color: #ffffffb3;
    }

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

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

    .group-hover\:opacity-100:is(:where(.group):hover *), .group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *) {
      opacity: 1;
    }
  }

  .group-has-\[\[data-sidebar\=menu-action\]\]\/menu-item\:pr-8:is(:where(.group\/menu-item):has([data-sidebar="menu-action"]) *) {
    padding-right: calc(var(--spacing) * 8);
  }

  .group-data-\[collapsible\=icon\]\:-mt-8:is(:where(.group)[data-collapsible="icon"] *) {
    margin-top: calc(var(--spacing) * -8);
  }

  .group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible="icon"] *) {
    display: none;
  }

  .group-data-\[collapsible\=icon\]\:\!size-8:is(:where(.group)[data-collapsible="icon"] *) {
    width: calc(var(--spacing) * 8) !important;
    height: calc(var(--spacing) * 8) !important;
  }

  .group-data-\[collapsible\=icon\]\:w-\(--sidebar-width-icon\):is(:where(.group)[data-collapsible="icon"] *) {
    width: var(--sidebar-width-icon);
  }

  .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]:is(:where(.group)[data-collapsible="icon"] *) {
    width: calc(var(--sidebar-width-icon) + 1rem);
  }

  .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]:is(:where(.group)[data-collapsible="icon"] *) {
    width: calc(var(--sidebar-width-icon) + 1rem + 2px);
  }

  .group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible="icon"] *) {
    overflow: hidden;
  }

  .group-data-\[collapsible\=icon\]\:\!p-0:is(:where(.group)[data-collapsible="icon"] *) {
    padding: 0 !important;
  }

  .group-data-\[collapsible\=icon\]\:\!p-2:is(:where(.group)[data-collapsible="icon"] *) {
    padding: calc(var(--spacing) * 2) !important;
  }

  .group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible="icon"] *) {
    opacity: 0;
  }

  .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible="offcanvas"] *) {
    right: calc(var(--sidebar-width) * -1);
  }

  .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible="offcanvas"] *) {
    left: calc(var(--sidebar-width) * -1);
  }

  .group-data-\[collapsible\=offcanvas\]\:w-0:is(:where(.group)[data-collapsible="offcanvas"] *) {
    width: 0;
  }

  .group-data-\[collapsible\=offcanvas\]\:translate-x-0:is(:where(.group)[data-collapsible="offcanvas"] *) {
    --tw-translate-x: 0px;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .group-data-\[focused\=true\]\/day\:relative:is(:where(.group\/day)[data-focused="true"] *) {
    position: relative;
  }

  .group-data-\[focused\=true\]\/day\:z-10:is(:where(.group\/day)[data-focused="true"] *) {
    z-index: 10;
  }

  .group-data-\[focused\=true\]\/day\:border-ring:is(:where(.group\/day)[data-focused="true"] *) {
    border-color: var(--ring);
  }

  .group-data-\[focused\=true\]\/day\:ring-\[3px\]:is(:where(.group\/day)[data-focused="true"] *) {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + 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);
  }

  .group-data-\[focused\=true\]\/day\:ring-ring\/50:is(:where(.group\/day)[data-focused="true"] *) {
    --tw-ring-color: var(--ring);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .group-data-\[focused\=true\]\/day\:ring-ring\/50:is(:where(.group\/day)[data-focused="true"] *) {
      --tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
    }
  }

  .group-data-\[side\=left\]\:-right-4:is(:where(.group)[data-side="left"] *) {
    right: calc(var(--spacing) * -4);
  }

  .group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side="left"] *) {
    border-right-style: var(--tw-border-style);
    border-right-width: 1px;
  }

  .group-data-\[side\=right\]\:left-0:is(:where(.group)[data-side="right"] *) {
    left: 0;
  }

  .group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side="right"] *) {
    rotate: 180deg;
  }

  .group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side="right"] *) {
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
  }

  .group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state="open"] *) {
    rotate: 180deg;
  }

  .group-data-\[variant\=floating\]\:rounded-lg:is(:where(.group)[data-variant="floating"] *) {
    border-radius: var(--radius);
  }

  .group-data-\[variant\=floating\]\:border:is(:where(.group)[data-variant="floating"] *) {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .group-data-\[variant\=floating\]\:shadow:is(:where(.group)[data-variant="floating"] *) {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .group-\[\.toast\]\:bg-muted:is(:where(.group).toast *) {
    background-color: var(--muted);
  }

  .group-\[\.toast\]\:bg-primary:is(:where(.group).toast *) {
    background-color: var(--primary);
  }

  .group-\[\.toast\]\:text-muted-foreground:is(:where(.group).toast *) {
    color: var(--muted-foreground);
  }

  .group-\[\.toast\]\:text-primary-foreground:is(:where(.group).toast *) {
    color: var(--primary-foreground);
  }

  .group-\[\.toaster\]\:border-border:is(:where(.group).toaster *) {
    border-color: var(--border);
  }

  .group-\[\.toaster\]\:bg-background:is(:where(.group).toaster *) {
    background-color: var(--background);
  }

  .group-\[\.toaster\]\:text-foreground:is(:where(.group).toaster *) {
    color: var(--foreground);
  }

  .group-\[\.toaster\]\:shadow-lg:is(:where(.group).toaster *) {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

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

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

  .peer-data-\[size\=default\]\/menu-button\:top-1\.5:is(:where(.peer\/menu-button)[data-size="default"] ~ *) {
    top: calc(var(--spacing) * 1.5);
  }

  .peer-data-\[size\=lg\]\/menu-button\:top-2\.5:is(:where(.peer\/menu-button)[data-size="lg"] ~ *) {
    top: calc(var(--spacing) * 2.5);
  }

  .peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.peer\/menu-button)[data-size="sm"] ~ *) {
    top: var(--spacing);
  }

  .file\:border-0::file-selector-button {
    border-style: var(--tw-border-style);
    border-width: 0;
  }

  .file\:bg-transparent::file-selector-button {
    background-color: #0000;
  }

  .file\:text-sm::file-selector-button {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .file\:font-medium::file-selector-button {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .file\:text-foreground::file-selector-button {
    color: var(--foreground);
  }

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

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

  .after\:absolute:after {
    content: var(--tw-content);
    position: absolute;
  }

  .after\:-inset-2:after {
    content: var(--tw-content);
    inset: calc(var(--spacing) * -2);
  }

  .after\:inset-y-0:after {
    content: var(--tw-content);
    inset-block: 0;
  }

  .after\:left-1\/2:after {
    content: var(--tw-content);
    left: 50%;
  }

  .after\:w-1:after {
    content: var(--tw-content);
    width: var(--spacing);
  }

  .after\:w-\[2px\]:after {
    content: var(--tw-content);
    width: 2px;
  }

  .after\:-translate-x-1\/2:after {
    content: var(--tw-content);
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .group-data-\[collapsible\=offcanvas\]\:after\:left-full:is(:where(.group)[data-collapsible="offcanvas"] *):after {
    content: var(--tw-content);
    left: 100%;
  }

  .first\:rounded-l-md:first-child {
    border-top-left-radius: calc(var(--radius) - 2px);
    border-bottom-left-radius: calc(var(--radius) - 2px);
  }

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

  .last\:rounded-r-md:last-child {
    border-top-right-radius: calc(var(--radius) - 2px);
    border-bottom-right-radius: calc(var(--radius) - 2px);
  }

  .last\:border-0:last-child {
    border-style: var(--tw-border-style);
    border-width: 0;
  }

  .last\:border-b-0:last-child {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 0;
  }

  .last\:pb-0:last-child {
    padding-bottom: 0;
  }

  .focus-within\:border-\[color-mix\(in_srgb\,var\(--foreground\)_26\%\,transparent\)\]:focus-within {
    border-color: var(--foreground);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .focus-within\:border-\[color-mix\(in_srgb\,var\(--foreground\)_26\%\,transparent\)\]:focus-within {
      border-color: color-mix(in srgb,var(--foreground) 26%,transparent);
    }
  }

  .focus-within\:ring-2:focus-within {
    --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-within\:ring-\[color\:var\(--primitive-ring\,color-mix\(in_srgb\,var\(--foreground\)_45\%\,transparent\)\)\]:focus-within {
    --tw-ring-color: var(--primitive-ring, var(--foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .focus-within\:ring-\[color\:var\(--primitive-ring\,color-mix\(in_srgb\,var\(--foreground\)_45\%\,transparent\)\)\]:focus-within {
      --tw-ring-color: var(--primitive-ring, color-mix(in srgb,var(--foreground) 45%,transparent));
    }
  }

  .focus-within\:ring-offset-2:focus-within {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }

  .focus-within\:ring-offset-\[color\:var\(--primitive-surface-overlay\,var\(--popover\)\)\]:focus-within {
    --tw-ring-offset-color: var(--primitive-surface-overlay, var(--popover));
  }

  @media (hover: hover) {
    .hover\:-translate-y-0\.5:hover {
      --tw-translate-y: calc(var(--spacing) * -.5);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }

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

    .hover\:scale-110:hover {
      --tw-scale-x: 110%;
      --tw-scale-y: 110%;
      --tw-scale-z: 110%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }

    .hover\:border-\[color-mix\(in_srgb\,var\(--foreground\)_16\%\,transparent\)\]:hover {
      border-color: var(--foreground);
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:border-\[color-mix\(in_srgb\,var\(--foreground\)_16\%\,transparent\)\]:hover {
        border-color: color-mix(in srgb,var(--foreground) 16%,transparent);
      }
    }

    .hover\:border-foreground:hover, .hover\:border-foreground\/30:hover {
      border-color: var(--foreground);
    }

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

    .hover\:border-foreground\/40:hover {
      border-color: var(--foreground);
    }

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

    .hover\:border-gold\/40:hover {
      border-color: var(--gold);
    }

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

    .hover\:border-gold\/45:hover {
      border-color: var(--gold);
    }

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

    .hover\:bg-\[\#f2ba36\]:hover {
      background-color: #f2ba36;
    }

    .hover\:bg-\[color\:var\(--primitive-surface-hover\,color-mix\(in_srgb\,var\(--foreground\)_4\%\,transparent\)\)\]:hover {
      background-color: var(--primitive-surface-hover, var(--foreground));
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-\[color\:var\(--primitive-surface-hover\,color-mix\(in_srgb\,var\(--foreground\)_4\%\,transparent\)\)\]:hover {
        background-color: var(--primitive-surface-hover, color-mix(in srgb,var(--foreground) 4%,transparent));
      }
    }

    .hover\:bg-accent:hover, .hover\:bg-accent\/60:hover {
      background-color: var(--accent);
    }

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

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

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

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

    .hover\:bg-destructive\/80:hover {
      background-color: var(--destructive);
    }

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

    .hover\:bg-destructive\/90:hover {
      background-color: var(--destructive);
    }

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

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

    .hover\:bg-gold\/20:hover {
      background-color: var(--gold);
    }

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

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

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

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

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

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

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

    .hover\:bg-secondary:hover, .hover\:bg-secondary\/80:hover {
      background-color: var(--secondary);
    }

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

    .hover\:bg-white\/10:hover {
      background-color: #ffffff1a;
    }

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

    .hover\:text-\[var\(--foreground\)\]:hover {
      color: var(--foreground);
    }

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

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

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

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

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

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

    .hover\:opacity-70:hover {
      opacity: .7;
    }

    .hover\:opacity-75:hover {
      opacity: .75;
    }

    .hover\:opacity-90:hover {
      opacity: .9;
    }

    .hover\:opacity-100:hover {
      opacity: 1;
    }

    .hover\:shadow-\[0_0_0_1px_var\(--sidebar-accent\)\]:hover {
      --tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--sidebar-accent));
      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-lg:hover {
      --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }

    .hover\:brightness-125:hover {
      --tw-brightness: brightness(125%);
      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, );
    }

    .hover\:brightness-\[1\.15\]:hover {
      --tw-brightness: brightness(1.15);
      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, );
    }
  }

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

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

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

  .focus\:ring-1:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus\:ring-\[var\(--ring\)\]:focus, .focus\:ring-ring:focus {
    --tw-ring-color: var(--ring);
  }

  .focus\:ring-offset-2:focus {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }

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

  .focus-visible\:border-gold:focus-visible {
    border-color: var(--gold);
  }

  .focus-visible\:opacity-100:focus-visible {
    opacity: 1;
  }

  .focus-visible\:ring-1:focus-visible {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus-visible\:ring-2:focus-visible {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus-visible\:ring-\[color\:var\(--primitive-ring\,color-mix\(in_srgb\,var\(--foreground\)_45\%\,transparent\)\)\]:focus-visible {
    --tw-ring-color: var(--primitive-ring, var(--foreground));
  }

  @supports (color: color-mix(in lab, red, red)) {
    .focus-visible\:ring-\[color\:var\(--primitive-ring\,color-mix\(in_srgb\,var\(--foreground\)_45\%\,transparent\)\)\]:focus-visible {
      --tw-ring-color: var(--primitive-ring, color-mix(in srgb,var(--foreground) 45%,transparent));
    }
  }

  .focus-visible\:ring-ring:focus-visible {
    --tw-ring-color: var(--ring);
  }

  .focus-visible\:ring-offset-0:focus-visible {
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }

  .focus-visible\:ring-offset-1:focus-visible {
    --tw-ring-offset-width: 1px;
    --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }

  .focus-visible\:ring-offset-2:focus-visible {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }

  .focus-visible\:ring-offset-\[color\:var\(--primitive-surface-overlay\,var\(--popover\)\)\]:focus-visible {
    --tw-ring-offset-color: var(--primitive-surface-overlay, var(--popover));
  }

  .focus-visible\:ring-offset-\[var\(--background\)\]:focus-visible, .focus-visible\:ring-offset-background:focus-visible {
    --tw-ring-offset-color: var(--background);
  }

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

  .focus-visible\:ring-inset:focus-visible {
    --tw-ring-inset: inset;
  }

  .active\:scale-\[0\.94\]:active {
    scale: .94;
  }

  .active\:scale-\[0\.97\]:active {
    scale: .97;
  }

  .active\:cursor-grabbing:active {
    cursor: grabbing;
  }

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

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

  .disabled\:cursor-wait:disabled {
    cursor: wait;
  }

  .disabled\:no-underline:disabled {
    text-decoration-line: none;
  }

  .disabled\:opacity-40:disabled {
    opacity: .4;
  }

  .disabled\:opacity-45:disabled {
    opacity: .45;
  }

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

  .disabled\:opacity-60:disabled {
    opacity: .6;
  }

  .has-focus\:border-ring:has(:focus) {
    border-color: var(--ring);
  }

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

  .has-focus\:ring-ring\/50:has(:focus) {
    --tw-ring-color: var(--ring);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .has-focus\:ring-ring\/50:has(:focus) {
      --tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
    }
  }

  .has-\[\:disabled\]\:opacity-50:has(:disabled) {
    opacity: .5;
  }

  .aria-disabled\:pointer-events-none[aria-disabled="true"] {
    pointer-events: none;
  }

  .aria-disabled\:opacity-50[aria-disabled="true"] {
    opacity: .5;
  }

  .aria-selected\:text-muted-foreground[aria-selected="true"] {
    color: var(--muted-foreground);
  }

  .data-\[active\=true\]\:font-medium[data-active="true"] {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

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

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

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

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

  .data-\[dragging\]\:scale-110[data-dragging] {
    --tw-scale-x: 110%;
    --tw-scale-y: 110%;
    --tw-scale-z: 110%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }

  .data-\[ending-style\]\:scale-\[0\.96\][data-ending-style] {
    scale: .96;
  }

  .data-\[ending-style\]\:opacity-0[data-ending-style] {
    opacity: 0;
  }

  .data-\[ending-style\]\:duration-\[120ms\][data-ending-style] {
    --tw-duration: .12s;
    transition-duration: .12s;
  }

  .data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion="from-end"] {
    --tw-enter-translate-x: calc(52*var(--spacing));
  }

  .data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion="from-start"] {
    --tw-enter-translate-x: calc(52*var(--spacing)*-1);
  }

  .data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion="to-end"] {
    --tw-exit-translate-x: calc(52*var(--spacing));
  }

  .data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion="to-start"] {
    --tw-exit-translate-x: calc(52*var(--spacing)*-1);
  }

  .data-\[motion\^\=from-\]\:animate-in[data-motion^="from-"] {
    animation: enter var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .data-\[motion\^\=from-\]\:fade-in[data-motion^="from-"] {
    --tw-enter-opacity: 0;
  }

  .data-\[motion\^\=to-\]\:animate-out[data-motion^="to-"] {
    animation: exit var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .data-\[motion\^\=to-\]\:fade-out[data-motion^="to-"] {
    --tw-exit-opacity: 0;
  }

  .data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction="vertical"] {
    height: 1px;
  }

  .data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction="vertical"] {
    width: 100%;
  }

  .data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction="vertical"] {
    flex-direction: column;
  }

  .data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction="vertical"]:after {
    content: var(--tw-content);
    left: 0;
  }

  .data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction="vertical"]:after {
    content: var(--tw-content);
    height: var(--spacing);
  }

  .data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction="vertical"]:after {
    content: var(--tw-content);
    width: 100%;
  }

  .data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction="vertical"]:after {
    content: var(--tw-content);
    --tw-translate-x: 0px;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction="vertical"]:after {
    content: var(--tw-content);
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
    color: var(--muted-foreground);
  }

  .data-\[range-end\=true\]\:rounded-md[data-range-end="true"] {
    border-radius: calc(var(--radius) - 2px);
  }

  .data-\[range-end\=true\]\:bg-primary[data-range-end="true"] {
    background-color: var(--primary);
  }

  .data-\[range-end\=true\]\:text-primary-foreground[data-range-end="true"] {
    color: var(--primary-foreground);
  }

  .data-\[range-middle\=true\]\:rounded-none[data-range-middle="true"] {
    border-radius: 0;
  }

  .data-\[range-middle\=true\]\:bg-accent[data-range-middle="true"] {
    background-color: var(--accent);
  }

  .data-\[range-middle\=true\]\:text-accent-foreground[data-range-middle="true"] {
    color: var(--accent-foreground);
  }

  .data-\[range-start\=true\]\:rounded-md[data-range-start="true"] {
    border-radius: calc(var(--radius) - 2px);
  }

  .data-\[range-start\=true\]\:bg-primary[data-range-start="true"] {
    background-color: var(--primary);
  }

  .data-\[range-start\=true\]\:text-primary-foreground[data-range-start="true"] {
    color: var(--primary-foreground);
  }

  .data-\[selected-single\=true\]\:bg-primary[data-selected-single="true"] {
    background-color: var(--primary);
  }

  .data-\[selected-single\=true\]\:text-primary-foreground[data-selected-single="true"] {
    color: var(--primary-foreground);
  }

  .data-\[selected\=true\]\:rounded-none[data-selected="true"] {
    border-radius: 0;
  }

  .data-\[selected\=true\]\:bg-accent[data-selected="true"] {
    background-color: var(--accent);
  }

  .data-\[selected\=true\]\:text-accent-foreground[data-selected="true"] {
    color: var(--accent-foreground);
  }

  .data-\[side\=bottom\]\:translate-y-1[data-side="bottom"] {
    --tw-translate-y: var(--spacing);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"] {
    --tw-enter-translate-y: calc(2*var(--spacing)*-1);
  }

  .data-\[side\=left\]\:-translate-x-1[data-side="left"] {
    --tw-translate-x: calc(var(--spacing) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .data-\[side\=left\]\:slide-in-from-right-2[data-side="left"] {
    --tw-enter-translate-x: calc(2*var(--spacing));
  }

  .data-\[side\=right\]\:translate-x-1[data-side="right"] {
    --tw-translate-x: var(--spacing);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .data-\[side\=right\]\:slide-in-from-left-2[data-side="right"] {
    --tw-enter-translate-x: calc(2*var(--spacing)*-1);
  }

  .data-\[side\=top\]\:-translate-y-1[data-side="top"] {
    --tw-translate-y: calc(var(--spacing) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .data-\[side\=top\]\:slide-in-from-bottom-2[data-side="top"] {
    --tw-enter-translate-y: calc(2*var(--spacing));
  }

  .data-\[starting-style\]\:scale-\[0\.96\][data-starting-style] {
    scale: .96;
  }

  .data-\[starting-style\]\:opacity-0[data-starting-style] {
    opacity: 0;
  }

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

  .data-\[state\=active\]\:text-foreground[data-state="active"] {
    color: var(--foreground);
  }

  .data-\[state\=active\]\:shadow[data-state="active"] {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .data-\[state\=checked\]\:translate-x-4[data-state="checked"] {
    --tw-translate-x: calc(var(--spacing) * 4);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .data-\[state\=checked\]\:bg-primary[data-state="checked"] {
    background-color: var(--primary);
  }

  .data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] {
    color: var(--primary-foreground);
  }

  .data-\[state\=closed\]\:animate-accordion-up[data-state="closed"] {
    animation: accordion-up var(--tw-animation-duration, var(--tw-duration, .2s))var(--tw-ease, ease-out)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .data-\[state\=closed\]\:animate-out[data-state="closed"] {
    animation: exit var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .data-\[state\=closed\]\:duration-300[data-state="closed"] {
    --tw-duration: .3s;
    transition-duration: .3s;
  }

  .data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
    --tw-exit-opacity: 0;
  }

  .data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
    --tw-exit-scale: .95;
  }

  .data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] {
    --tw-exit-translate-y: 100%;
  }

  .data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] {
    --tw-exit-translate-x: -100%;
  }

  .data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] {
    --tw-exit-translate-x: 100%;
  }

  .data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] {
    --tw-exit-translate-y: -100%;
  }

  .data-\[state\=hidden\]\:animate-out[data-state="hidden"] {
    animation: exit var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .data-\[state\=hidden\]\:fade-out[data-state="hidden"] {
    --tw-exit-opacity: 0;
  }

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

  .data-\[state\=on\]\:text-accent-foreground[data-state="on"] {
    color: var(--accent-foreground);
  }

  .data-\[state\=open\]\:animate-accordion-down[data-state="open"] {
    animation: accordion-down var(--tw-animation-duration, var(--tw-duration, .2s))var(--tw-ease, ease-out)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .data-\[state\=open\]\:animate-in[data-state="open"] {
    animation: enter var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

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

  @supports (color: color-mix(in lab, red, red)) {
    .data-\[state\=open\]\:bg-accent\/50[data-state="open"] {
      background-color: color-mix(in oklab, var(--accent) 50%, transparent);
    }
  }

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

  .data-\[state\=open\]\:text-accent-foreground[data-state="open"] {
    color: var(--accent-foreground);
  }

  .data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
    color: var(--muted-foreground);
  }

  .data-\[state\=open\]\:opacity-100[data-state="open"] {
    opacity: 1;
  }

  .data-\[state\=open\]\:duration-500[data-state="open"] {
    --tw-duration: .5s;
    transition-duration: .5s;
  }

  .data-\[state\=open\]\:fade-in-0[data-state="open"] {
    --tw-enter-opacity: 0;
  }

  .data-\[state\=open\]\:zoom-in-90[data-state="open"] {
    --tw-enter-scale: .9;
  }

  .data-\[state\=open\]\:zoom-in-95[data-state="open"] {
    --tw-enter-scale: .95;
  }

  .data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] {
    --tw-enter-translate-y: 100%;
  }

  .data-\[state\=open\]\:slide-in-from-left[data-state="open"] {
    --tw-enter-translate-x: -100%;
  }

  .data-\[state\=open\]\:slide-in-from-right[data-state="open"] {
    --tw-enter-translate-x: 100%;
  }

  .data-\[state\=open\]\:slide-in-from-top[data-state="open"] {
    --tw-enter-translate-y: -100%;
  }

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

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

  .data-\[state\=selected\]\:bg-muted[data-state="selected"] {
    background-color: var(--muted);
  }

  .data-\[state\=unchecked\]\:translate-x-0[data-state="unchecked"] {
    --tw-translate-x: 0px;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .data-\[state\=unchecked\]\:bg-input[data-state="unchecked"] {
    background-color: var(--input);
  }

  .data-\[state\=visible\]\:animate-in[data-state="visible"] {
    animation: enter var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .data-\[state\=visible\]\:fade-in[data-state="visible"] {
    --tw-enter-opacity: 0;
  }

  @media (prefers-reduced-motion: reduce) {
    .motion-reduce\:transition-none {
      transition-property: none;
    }

    @media (hover: hover) {
      .motion-reduce\:hover\:scale-100:hover {
        --tw-scale-x: 100%;
        --tw-scale-y: 100%;
        --tw-scale-z: 100%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
      }
    }

    .motion-reduce\:active\:scale-100:active, .motion-reduce\:data-\[dragging\]\:scale-100[data-dragging], .motion-reduce\:data-\[ending-style\]\:scale-100[data-ending-style], .motion-reduce\:data-\[starting-style\]\:scale-100[data-starting-style] {
      --tw-scale-x: 100%;
      --tw-scale-y: 100%;
      --tw-scale-z: 100%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
  }

  @media not all and (min-width: 64rem) {
    .max-lg\:hidden {
      display: none;
    }
  }

  @media (min-width: 40rem) {
    .sm\:inset-x-auto {
      inset-inline: auto;
    }

    .sm\:end-auto {
      inset-inline-end: auto;
    }

    .sm\:-top-4 {
      top: calc(var(--spacing) * -4);
    }

    .sm\:\[right\:-1rem\] {
      right: -1rem;
    }

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

    .sm\:bottom-5 {
      bottom: calc(var(--spacing) * 5);
    }

    .sm\:left-3 {
      left: calc(var(--spacing) * 3);
    }

    .sm\:col-span-2 {
      grid-column: span 2 / span 2;
    }

    .sm\:col-span-3 {
      grid-column: span 3 / span 3;
    }

    .sm\:mx-0 {
      margin-inline: 0;
    }

    .sm\:mt-0 {
      margin-top: 0;
    }

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

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

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

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

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

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

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

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

    .sm\:block {
      display: block;
    }

    .sm\:contents {
      display: contents;
    }

    .sm\:flex {
      display: flex;
    }

    .sm\:grid {
      display: grid;
    }

    .sm\:hidden {
      display: none;
    }

    .sm\:inline {
      display: inline;
    }

    .sm\:inline-flex {
      display: inline-flex;
    }

    .sm\:aspect-\[16\/9\] {
      aspect-ratio: 16 / 9;
    }

    .sm\:aspect-\[21\/9\] {
      aspect-ratio: 21 / 9;
    }

    .sm\:aspect-square {
      aspect-ratio: 1;
    }

    .sm\:h-6 {
      height: calc(var(--spacing) * 6);
    }

    .sm\:h-9 {
      height: calc(var(--spacing) * 9);
    }

    .sm\:h-11 {
      height: calc(var(--spacing) * 11);
    }

    .sm\:h-14 {
      height: calc(var(--spacing) * 14);
    }

    .sm\:h-16 {
      height: calc(var(--spacing) * 16);
    }

    .sm\:h-20 {
      height: calc(var(--spacing) * 20);
    }

    .sm\:h-32 {
      height: calc(var(--spacing) * 32);
    }

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

    .sm\:h-\[58vh\] {
      height: 58vh;
    }

    .sm\:h-\[88dvh\] {
      height: 88dvh;
    }

    .sm\:h-\[calc\(100svh-5rem\)\] {
      height: calc(100svh - 5rem);
    }

    .sm\:h-\[min\(680px\,88vh\)\] {
      height: min(680px, 88vh);
    }

    .sm\:h-auto {
      height: auto;
    }

    .sm\:h-full {
      height: 100%;
    }

    .sm\:max-h-\[80dvh\] {
      max-height: 80dvh;
    }

    .sm\:max-h-\[86vh\] {
      max-height: 86vh;
    }

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

    .sm\:min-h-0 {
      min-height: 0;
    }

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

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

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

    .sm\:w-14 {
      width: calc(var(--spacing) * 14);
    }

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

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

    .sm\:w-52 {
      width: calc(var(--spacing) * 52);
    }

    .sm\:w-\[22rem\] {
      width: 22rem;
    }

    .sm\:w-\[94vw\] {
      width: 94vw;
    }

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

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

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

    .sm\:w-\[min\(520px\,100\%\)\] {
      width: min(520px, 100%);
    }

    .sm\:w-\[min\(780px\,100\%\)\] {
      width: min(780px, 100%);
    }

    .sm\:w-auto {
      width: auto;
    }

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

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

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

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

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

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

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

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

    .sm\:flex-none {
      flex: none;
    }

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

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

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

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

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

    .sm\:grid-cols-\[1fr_1fr_auto\] {
      grid-template-columns: 1fr 1fr auto;
    }

    .sm\:grid-cols-\[1fr_1fr_auto_auto\] {
      grid-template-columns: 1fr 1fr auto auto;
    }

    .sm\:grid-cols-\[1fr_auto_1fr\] {
      grid-template-columns: 1fr auto 1fr;
    }

    .sm\:grid-cols-\[2fr_1fr\] {
      grid-template-columns: 2fr 1fr;
    }

    .sm\:grid-cols-\[160px_1fr_auto\] {
      grid-template-columns: 160px 1fr auto;
    }

    .sm\:grid-cols-\[460px_1fr_300px\] {
      grid-template-columns: 460px 1fr 300px;
    }

    .sm\:grid-cols-\[auto_1fr_170px\] {
      grid-template-columns: auto 1fr 170px;
    }

    .sm\:grid-cols-\[minmax\(0\,1fr\)_12rem\] {
      grid-template-columns: minmax(0, 1fr) 12rem;
    }

    .sm\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
      grid-template-columns: minmax(0, 1fr) auto;
    }

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

    .sm\:flex-row {
      flex-direction: row;
    }

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

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

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

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

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

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

    .sm\:justify-start {
      justify-content: flex-start;
    }

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

    .sm\:gap-2\.5 {
      gap: calc(var(--spacing) * 2.5);
    }

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

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

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

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

    .sm\:gap-8 {
      gap: calc(var(--spacing) * 8);
    }

    .sm\:gap-10 {
      gap: calc(var(--spacing) * 10);
    }

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

    :where(.sm\:space-x-2 > :not(:last-child)) {
      --tw-space-x-reverse: 0;
      margin-inline-start: calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));
      margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
    }

    .sm\:overflow-hidden {
      overflow: hidden;
    }

    .sm\:overflow-visible {
      overflow: visible;
    }

    .sm\:overflow-x-hidden {
      overflow-x: hidden;
    }

    .sm\:overflow-x-visible {
      overflow-x: visible;
    }

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

    .sm\:rounded-2xl {
      border-radius: calc(var(--radius) + 4px);
    }

    .sm\:rounded-\[10px\] {
      border-radius: 10px;
    }

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

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

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

    .sm\:border-0 {
      border-style: var(--tw-border-style);
      border-width: 0;
    }

    .sm\:border-s {
      border-inline-start-style: var(--tw-border-style);
      border-inline-start-width: 1px;
    }

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

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

    .sm\:border-border {
      border-color: var(--border);
    }

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

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

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

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

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

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

    .sm\:p-7 {
      padding: calc(var(--spacing) * 7);
    }

    .sm\:p-8 {
      padding: calc(var(--spacing) * 8);
    }

    .sm\:p-10 {
      padding: calc(var(--spacing) * 10);
    }

    .sm\:px-0 {
      padding-inline: 0;
    }

    .sm\:px-3 {
      padding-inline: calc(var(--spacing) * 3);
    }

    .sm\:px-3\.5 {
      padding-inline: calc(var(--spacing) * 3.5);
    }

    .sm\:px-4 {
      padding-inline: calc(var(--spacing) * 4);
    }

    .sm\:px-5 {
      padding-inline: calc(var(--spacing) * 5);
    }

    .sm\:px-6 {
      padding-inline: calc(var(--spacing) * 6);
    }

    .sm\:px-8 {
      padding-inline: calc(var(--spacing) * 8);
    }

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

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

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

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

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

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

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

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

    .sm\:pt-2 {
      padding-top: calc(var(--spacing) * 2);
    }

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

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

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

    .sm\:pt-6 {
      padding-top: calc(var(--spacing) * 6);
    }

    .sm\:pt-7 {
      padding-top: calc(var(--spacing) * 7);
    }

    .sm\:pt-8 {
      padding-top: calc(var(--spacing) * 8);
    }

    .sm\:pt-9 {
      padding-top: calc(var(--spacing) * 9);
    }

    .sm\:pt-12 {
      padding-top: calc(var(--spacing) * 12);
    }

    .sm\:pt-\[10svh\] {
      padding-top: 10svh;
    }

    .sm\:pb-5 {
      padding-bottom: calc(var(--spacing) * 5);
    }

    .sm\:pb-6 {
      padding-bottom: calc(var(--spacing) * 6);
    }

    .sm\:pb-8 {
      padding-bottom: calc(var(--spacing) * 8);
    }

    .sm\:pb-10 {
      padding-bottom: calc(var(--spacing) * 10);
    }

    .sm\:pb-12 {
      padding-bottom: calc(var(--spacing) * 12);
    }

    .sm\:pb-14 {
      padding-bottom: calc(var(--spacing) * 14);
    }

    .sm\:pb-16 {
      padding-bottom: calc(var(--spacing) * 16);
    }

    .sm\:pb-\[4rem\] {
      padding-bottom: 4rem;
    }

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

    .sm\:text-start {
      text-align: start;
    }

    .sm\:text-\[0\.7rem\] {
      font-size: .7rem;
    }

    .sm\:text-\[0\.8rem\] {
      font-size: .8rem;
    }

    .sm\:text-\[0\.9rem\] {
      font-size: .9rem;
    }

    .sm\:text-\[0\.78rem\] {
      font-size: .78rem;
    }

    .sm\:text-\[0\.82rem\] {
      font-size: .82rem;
    }

    .sm\:text-\[0\.83rem\] {
      font-size: .83rem;
    }

    .sm\:text-\[0\.84rem\] {
      font-size: .84rem;
    }

    .sm\:text-\[0\.85rem\] {
      font-size: .85rem;
    }

    .sm\:text-\[0\.95rem\] {
      font-size: .95rem;
    }

    .sm\:text-\[1\.1rem\] {
      font-size: 1.1rem;
    }

    .sm\:text-\[1\.02rem\] {
      font-size: 1.02rem;
    }

    .sm\:text-\[1\.3rem\] {
      font-size: 1.3rem;
    }

    .sm\:text-\[1\.4rem\] {
      font-size: 1.4rem;
    }

    .sm\:text-\[1\.05rem\] {
      font-size: 1.05rem;
    }

    .sm\:text-\[1\.6rem\] {
      font-size: 1.6rem;
    }

    .sm\:text-\[1\.12rem\] {
      font-size: 1.12rem;
    }

    .sm\:text-\[1\.35rem\] {
      font-size: 1.35rem;
    }

    .sm\:text-\[1rem\] {
      font-size: 1rem;
    }

    .sm\:text-\[2\.1rem\] {
      font-size: 2.1rem;
    }

    .sm\:text-\[2\.2rem\] {
      font-size: 2.2rem;
    }

    .sm\:text-\[2\.5rem\] {
      font-size: 2.5rem;
    }

    .sm\:text-\[2rem\] {
      font-size: 2rem;
    }

    .sm\:text-\[3rem\] {
      font-size: 3rem;
    }

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

    .sm\:shadow-2xl {
      --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, #00000040);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }

    .sm\:shadow-none {
      --tw-shadow: 0 0 #0000;
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }

    .sm\:\[direction\:ltr\] {
      direction: ltr;
    }

    .sm\:first\:border-s-0:first-child {
      border-inline-start-style: var(--tw-border-style);
      border-inline-start-width: 0;
    }
  }

  @media (min-width: 48rem) {
    .md\:absolute {
      position: absolute;
    }

    .md\:col-span-2 {
      grid-column: span 2 / span 2;
    }

    .md\:block {
      display: block;
    }

    .md\:flex {
      display: flex;
    }

    .md\:hidden {
      display: none;
    }

    .md\:w-\[var\(--radix-navigation-menu-viewport-width\)\] {
      width: var(--radix-navigation-menu-viewport-width);
    }

    .md\:w-auto {
      width: auto;
    }

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

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

    .md\:flex-row {
      flex-direction: row;
    }

    .md\:gap-10 {
      gap: calc(var(--spacing) * 10);
    }

    .md\:text-start {
      text-align: start;
    }

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

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

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

    .md\:text-sm {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }

    .md\:opacity-0 {
      opacity: 0;
    }

    .md\:peer-data-\[variant\=inset\]\:m-2:is(:where(.peer)[data-variant="inset"] ~ *) {
      margin: calc(var(--spacing) * 2);
    }

    .md\:peer-data-\[variant\=inset\]\:ml-0:is(:where(.peer)[data-variant="inset"] ~ *) {
      margin-left: 0;
    }

    .md\:peer-data-\[variant\=inset\]\:rounded-xl:is(:where(.peer)[data-variant="inset"] ~ *) {
      border-radius: calc(var(--radius) + 2px);
    }

    .md\:peer-data-\[variant\=inset\]\:shadow:is(:where(.peer)[data-variant="inset"] ~ *) {
      --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }

    .md\:peer-data-\[state\=collapsed\]\:peer-data-\[variant\=inset\]\:ml-2:is(:where(.peer)[data-state="collapsed"] ~ *):is(:where(.peer)[data-variant="inset"] ~ *) {
      margin-left: calc(var(--spacing) * 2);
    }
  }

  .after\:md\:hidden:after {
    content: var(--tw-content);
  }

  @media (min-width: 48rem) {
    .after\:md\:hidden:after {
      display: none;
    }
  }

  @media (min-width: 64rem) {
    .lg\:static {
      position: static;
    }

    .lg\:sticky {
      position: sticky;
    }

    .lg\:top-24 {
      top: calc(var(--spacing) * 24);
    }

    .lg\:z-auto {
      z-index: auto;
    }

    .lg\:order-1 {
      order: 1;
    }

    .lg\:order-2 {
      order: 2;
    }

    .lg\:nova-shell {
      width: 100%;
      max-width: 1240px;
      margin-inline: auto;
      padding-inline: 1.125rem;
    }

    .lg\:block {
      display: block;
    }

    .lg\:flex {
      display: flex;
    }

    .lg\:grid {
      display: grid;
    }

    .lg\:hidden {
      display: none;
    }

    .lg\:aspect-square {
      aspect-ratio: 1;
    }

    .lg\:h-\[74dvh\] {
      height: 74dvh;
    }

    .lg\:h-\[80dvh\] {
      height: 80dvh;
    }

    .lg\:max-h-\[calc\(var\(--nova-gallery-h\)_-_2\.75rem\)\] {
      max-height: calc(var(--nova-gallery-h) - 2.75rem);
    }

    .lg\:max-h-\[var\(--nova-gallery-h\)\] {
      max-height: var(--nova-gallery-h);
    }

    .lg\:min-h-0 {
      min-height: 0;
    }

    .lg\:min-h-\[60dvh\] {
      min-height: 60dvh;
    }

    .lg\:max-w-3xl {
      max-width: var(--container-3xl);
    }

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

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

    .lg\:grid-cols-\[\.\.\.\] {
      grid-template-columns: ...;
    }

    .lg\:grid-cols-\[16rem_minmax\(0\,1fr\)\] {
      grid-template-columns: 16rem minmax(0, 1fr);
    }

    .lg\:grid-cols-\[20rem_minmax\(0\,1fr\)\] {
      grid-template-columns: 20rem minmax(0, 1fr);
    }

    .lg\:grid-cols-\[21rem_minmax\(0\,1fr\)\] {
      grid-template-columns: 21rem minmax(0, 1fr);
    }

    .lg\:grid-cols-\[minmax\(0\,0\.92fr\)_minmax\(0\,1\.18fr\)\] {
      grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr);
    }

    .lg\:grid-cols-\[minmax\(0\,1\.3fr\)_minmax\(0\,1fr\)\] {
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }

    .lg\:grid-cols-\[minmax\(0\,1\.4fr\)_minmax\(0\,1fr\)\] {
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    .lg\:grid-cols-\[minmax\(0\,1\.6fr\)_minmax\(0\,1fr\)\] {
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    }

    .lg\:grid-cols-\[minmax\(0\,1\.35fr\)_minmax\(0\,1fr\)\] {
      grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    }

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

    .lg\:flex-row-reverse {
      flex-direction: row-reverse;
    }

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

    .lg\:justify-start {
      justify-content: flex-start;
    }

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

    .lg\:gap-12 {
      gap: calc(var(--spacing) * 12);
    }

    .lg\:gap-20 {
      gap: calc(var(--spacing) * 20);
    }

    .lg\:self-start {
      align-self: flex-start;
    }

    .lg\:overflow-visible {
      overflow: visible;
    }

    .lg\:overflow-x-visible {
      overflow-x: visible;
    }

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

    .lg\:overscroll-contain {
      overscroll-behavior: contain;
    }

    .lg\:px-0 {
      padding-inline: 0;
    }

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

    .lg\:pe-0\.5 {
      padding-inline-end: calc(var(--spacing) * .5);
    }

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

    .lg\:pt-8 {
      padding-top: calc(var(--spacing) * 8);
    }

    .lg\:pb-0 {
      padding-bottom: 0;
    }

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

    .lg\:text-\[0\.84rem\] {
      font-size: .84rem;
    }

    .lg\:text-\[2\.35rem\] {
      font-size: 2.35rem;
    }

    .lg\:text-\[3\.4rem\] {
      font-size: 3.4rem;
    }

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

    .lg\:text-red-700 {
      color: var(--color-red-700);
    }

    .lg\:opacity-0 {
      opacity: 0;
    }

    @media (hover: hover) {
      .lg\:group-hover\:opacity-100:is(:where(.group):hover *) {
        opacity: 1;
      }
    }
  }

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

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

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

    .xl\:grid-cols-\[1fr_300px\] {
      grid-template-columns: 1fr 300px;
    }

    .xl\:grid-cols-\[2fr_1fr\] {
      grid-template-columns: 2fr 1fr;
    }
  }

  .ltr\:rotate-180:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
    rotate: 180deg;
  }

  .rtl\:-scale-x-100:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
    --tw-scale-x: calc(100% * -1);
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }

  @media (hover: hover) {
    .rtl\:group-hover\:translate-x-1:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *):is(:where(.group):hover *) {
      --tw-translate-x: var(--spacing);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
  }

  .dark\:border-destructive:is(.dark *) {
    border-color: var(--destructive);
  }

  .dark\:bg-zinc-950:is(.dark *) {
    background-color: var(--color-zinc-950);
  }

  .dark\:text-gray-100:is(.dark *) {
    color: var(--color-gray-100);
  }

  .\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text {
    fill: var(--muted-foreground);
  }

  .\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"] {
    stroke: var(--border);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"] {
      stroke: color-mix(in oklab, var(--border) 50%, transparent);
    }
  }

  .\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor {
    stroke: var(--border);
  }

  .\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"] {
    stroke: #0000;
  }

  .\[\&_\.recharts-layer\]\:outline-none .recharts-layer {
    --tw-outline-style: none;
    outline-style: none;
  }

  .\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"] {
    stroke: var(--border);
  }

  .\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector, .\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor {
    fill: var(--muted);
  }

  .\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"] {
    stroke: var(--border);
  }

  .\[\&_\.recharts-sector\]\:outline-none .recharts-sector {
    --tw-outline-style: none;
    outline-style: none;
  }

  .\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"] {
    stroke: #0000;
  }

  .\[\&_\.recharts-surface\]\:outline-none .recharts-surface {
    --tw-outline-style: none;
    outline-style: none;
  }

  .\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] {
    padding-inline: calc(var(--spacing) * 2);
  }

  .\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading] {
    padding-block: calc(var(--spacing) * 1.5);
  }

  .\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading] {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading] {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading] {
    color: var(--muted-foreground);
  }

  .\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group] {
    padding-inline: calc(var(--spacing) * 2);
  }

  .\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden]) ~ [cmdk-group] {
    padding-top: 0;
  }

  .\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg {
    height: calc(var(--spacing) * 5);
  }

  .\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg {
    width: calc(var(--spacing) * 5);
  }

  .\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input] {
    height: calc(var(--spacing) * 12);
  }

  .\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item] {
    padding-inline: calc(var(--spacing) * 2);
  }

  .\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item] {
    padding-block: calc(var(--spacing) * 3);
  }

  .\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg {
    height: calc(var(--spacing) * 5);
  }

  .\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg {
    width: calc(var(--spacing) * 5);
  }

  .\[\&_p\]\:leading-relaxed p {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }

  .\[\&_svg\]\:pointer-events-none svg {
    pointer-events: none;
  }

  .\[\&_svg\]\:size-4 svg {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }

  .\[\&_svg\]\:shrink-0 svg {
    flex-shrink: 0;
  }

  .\[\&_tr\]\:border-b tr {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }

  .\[\&_tr\:last-child\]\:border-0 tr:last-child {
    border-style: var(--tw-border-style);
    border-width: 0;
  }

  .\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button {
    appearance: none;
  }

  .\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button {
    appearance: none;
  }

  .\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar {
    display: none;
  }

  .\[\&\:first-child\[data-selected\=true\]_button\]\:rounded-l-md:first-child[data-selected="true"] button {
    border-top-left-radius: calc(var(--radius) - 2px);
    border-bottom-left-radius: calc(var(--radius) - 2px);
  }

  .\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role="checkbox"]) {
    padding-right: 0;
  }

  :is(.rtl\:\*\*\:\[\.rdp-button\\_next\>svg\]\:rotate-180:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) *):is(.rdp-button_next > svg), :is(.rtl\:\*\*\:\[\.rdp-button\\_previous\>svg\]\:rotate-180:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) *):is(.rdp-button_previous > svg) {
    rotate: 180deg;
  }

  .\[\&\:last-child\[data-selected\=true\]_button\]\:rounded-r-md:last-child[data-selected="true"] button {
    border-top-right-radius: calc(var(--radius) - 2px);
    border-bottom-right-radius: calc(var(--radius) - 2px);
  }

  @media (min-width: 48rem) {
    .md\:\[\&\>\*\:first-child\]\:order-2 > :first-child {
      order: 2;
    }
  }

  .\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\] > [role="checkbox"] {
    --tw-translate-y: 2px;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .\[\&\>button\]\:hidden > button {
    display: none;
  }

  .\[\&\>span\]\:line-clamp-1 > span {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .\[\&\>span\]\:text-xs > span {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .\[\&\>span\]\:opacity-70 > span {
    opacity: .7;
  }

  .\[\&\>span\:last-child\]\:truncate > span:last-child {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .\[\&\>svg\]\:absolute > svg {
    position: absolute;
  }

  .\[\&\>svg\]\:top-4 > svg {
    top: calc(var(--spacing) * 4);
  }

  .\[\&\>svg\]\:left-4 > svg {
    left: calc(var(--spacing) * 4);
  }

  .\[\&\>svg\]\:size-3\.5 > svg {
    width: calc(var(--spacing) * 3.5);
    height: calc(var(--spacing) * 3.5);
  }

  .\[\&\>svg\]\:size-4 > svg {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }

  .\[\&\>svg\]\:h-2\.5 > svg {
    height: calc(var(--spacing) * 2.5);
  }

  .\[\&\>svg\]\:h-3 > svg {
    height: calc(var(--spacing) * 3);
  }

  .\[\&\>svg\]\:h-3\.5 > svg {
    height: calc(var(--spacing) * 3.5);
  }

  .\[\&\>svg\]\:w-2\.5 > svg {
    width: calc(var(--spacing) * 2.5);
  }

  .\[\&\>svg\]\:w-3 > svg {
    width: calc(var(--spacing) * 3);
  }

  .\[\&\>svg\]\:w-3\.5 > svg {
    width: calc(var(--spacing) * 3.5);
  }

  .\[\&\>svg\]\:shrink-0 > svg {
    flex-shrink: 0;
  }

  .\[\&\>svg\]\:text-destructive > svg {
    color: var(--destructive);
  }

  .\[\&\>svg\]\:text-foreground > svg {
    color: var(--foreground);
  }

  .\[\&\>svg\]\:text-muted-foreground > svg {
    color: var(--muted-foreground);
  }

  .\[\&\>svg\+div\]\:translate-y-\[-3px\] > svg + div {
    --tw-translate-y: -3px;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  .\[\&\>svg\~\*\]\:pl-7 > svg ~ * {
    padding-left: calc(var(--spacing) * 7);
  }

  .\[\&\>tr\]\:last\:border-b-0 > tr:last-child {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 0;
  }

  .\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction="vertical"] > div {
    rotate: 90deg;
  }

  .\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state="open"] > svg {
    rotate: 180deg;
  }

  [data-side="left"] .\[\[data-side\=left\]_\&\]\:cursor-w-resize {
    cursor: w-resize;
  }

  [data-side="left"][data-collapsible="offcanvas"] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2 {
    right: calc(var(--spacing) * -2);
  }

  [data-side="left"][data-state="collapsed"] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize, [data-side="right"] .\[\[data-side\=right\]_\&\]\:cursor-e-resize {
    cursor: e-resize;
  }

  [data-side="right"][data-collapsible="offcanvas"] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2 {
    left: calc(var(--spacing) * -2);
  }

  [data-side="right"][data-state="collapsed"] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize {
    cursor: w-resize;
  }

  [data-slot="card-content"] .\[\[data-slot\=card-content\]_\&\]\:bg-transparent, [data-slot="popover-content"] .\[\[data-slot\=popover-content\]_\&\]\:bg-transparent {
    background-color: #0000;
  }
}

@property --tw-animation-delay {
  syntax: "*";
  inherits: false;
  initial-value: 0s;
}

@property --tw-animation-direction {
  syntax: "*";
  inherits: false;
  initial-value: normal;
}

@property --tw-animation-duration {
  syntax: "*";
  inherits: false
}

@property --tw-animation-fill-mode {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

@property --tw-animation-iteration-count {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-exit-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-exit-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

:root {
  --radius-chip: .5rem;
  --radius-control: .5rem;
  --radius-card: .625rem;
  --radius-media: .875rem;
  --radius-pill: 999px;
  --nova-header-ink: #11110f;
  --ivory: oklch(98.2% .004 85);
  --stone: oklch(88.5% .01 80);
  --red-accent: oklch(58% .19 25);
  --hairline: oklch(14.5% .004 60 / .12);
  --hairline-inverse: oklch(100% 0 0 / .16);
  --border-color: var(--hairline);
  --font-display: "Heebo", "Assistant", system-ui, sans-serif;
  --font-body: "Assistant", "Heebo", system-ui, sans-serif;
  --font-mono: var(--font-body);
  --ease-nova: cubic-bezier(.22, 1, .36, 1);
  --nova-container: 1400px;
}

.screen-reader-text {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.nova-link {
  position: relative;
}

.nova-link:after {
  content: "";
  transform-origin: 100%;
  height: 1px;
  transition: transform .5s var(--ease-nova);
  inset-inline: 0;
  background: currentColor;
  position: absolute;
  bottom: -.25rem;
  transform: scaleX(0);
}

.nova-link:hover:after {
  transform: scaleX(1);
}

@keyframes nova-marquee {
  from {
    transform: translateX(0);
  }

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

.nova-marquee {
  animation: 38s linear infinite nova-marquee;
}

@media (prefers-reduced-motion: reduce) {
  .nova-marquee {
    animation: none !important;
  }
}

.nova-announce {
  border-bottom: 1px solid var(--hairline-inverse);
  background: var(--ink);
  color: var(--ivory);
}

.nova-announce__inner {
  max-width: var(--nova-container);
  align-items: center;
  gap: 1.5rem;
  margin-inline: auto;
  padding: .6rem 1.25rem;
  display: flex;
}

@media (min-width: 768px) {
  .nova-announce__inner {
    padding-inline: 2rem;
  }
}

.nova-announce__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.nova-announce__row {
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  display: flex;
}

.nova-announce__msg {
  font-family: var(--font-body);
  letter-spacing: normal;
  color: var(--ivory);
  text-transform: none;
  flex-shrink: 0;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
  font-weight: 700;
  display: flex;
}

.nova-announce__msg svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--gold);
  flex-shrink: 0;
}

.nova-announce__dot {
  border-radius: var(--radius-pill);
  background: var(--gold);
  flex-shrink: 0;
  width: .3125rem;
  height: .3125rem;
}

.nova-announce__cta {
  font-family: var(--font-mono);
  letter-spacing: .2em;
  color: oklch(100% 0 0 / .7);
  text-transform: uppercase;
  flex-shrink: 0;
  font-size: .5625rem;
  font-weight: 600;
  transition: color .3s;
  display: none;
}

.nova-announce__cta:hover {
  color: var(--ivory);
}

@media (min-width: 640px) {
  .nova-announce__cta {
    display: block;
  }
}

.nova-header {
  z-index: 50;
  border-bottom: 1px solid var(--hairline);
  background: var(--background);
  color: var(--ink);
  transition: background-color .3s, border-color .3s;
  position: sticky;
  top: 0;
}

.nova-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: oklch(from var(--background) l c h / .85);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nova-header.is-overlay:not(.is-scrolled) {
  background: var(--background);
}

.nova-header--minimal {
  border-bottom: none;
}

.nova-header:after {
  content: none;
}

.nova-header__inner {
  max-width: var(--nova-container);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  height: 4.5rem;
  margin-inline: auto;
  padding-inline: 1.125rem;
  transition: height .3s;
  display: grid;
  position: relative;
}

@media (min-width: 768px) {
  .nova-header__inner {
    height: 5rem;
    padding-inline: 2rem;
  }
}

.nova-header.is-scrolled .nova-header__inner {
  height: 4rem;
}

@media (min-width: 1024px) {
  .nova-header__inner {
    gap: 1.5rem;
  }
}

.nova-header__start {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.nova-header__burger {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--ink);
  border-radius: .5rem;
  place-items: center;
  transition: opacity .25s;
  display: grid;
}

.nova-header__burger:hover {
  opacity: .7;
  background: none;
}

.nova-header.is-overlay:not(.is-scrolled) .nova-header__burger {
  color: var(--ink);
}

@media (min-width: 1024px) {
  .nova-header__burger {
    display: none;
  }
}

.nova-header__burger svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nova-header__logo-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nova-header__logo-desktop {
    align-items: center;
    display: flex;
  }
}

.nova-header .nova-header__logo-desktop img {
  width: auto;
  max-width: none;
  height: 2.25rem;
}

.nova-header__center {
  justify-content: center;
  align-items: center;
  min-width: 0;
  display: flex;
}

.nova-header__logo-mobile {
  width: 5.65rem;
  height: 1.75rem;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 1024px) {
  .nova-header__logo-mobile {
    width: auto;
    height: auto;
    position: static;
    transform: none;
  }
}

.nova-header__logo-mobile .nova-header__logo-mobile-img {
  object-fit: contain;
  object-position: center;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  transition: opacity .4s;
  position: absolute;
  top: 0;
}

@media (min-width: 1024px) {
  .nova-header__logo-mobile .nova-header__logo-mobile-img {
    width: auto;
    height: auto;
    position: static;
  }
}

.nova-header__logo-mobile-img--light {
  opacity: 0;
}

.nova-header__logo-mobile-img--dark {
  opacity: 1;
}

@media (min-width: 1024px) {
  .nova-header__logo-mobile {
    display: none;
  }
}

.nova-header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .nova-header__nav {
    justify-content: center;
    align-items: center;
    gap: 2rem;
    display: flex;
  }

  .nova-header__start {
    order: 1;
  }

  .nova-header__center {
    order: 2;
  }

  .nova-header__actions {
    order: 3;
  }
}

.nova-header__nav a {
  letter-spacing: .02em;
  color: oklch(from var(--ink) l c h / .72);
  padding-block: .25rem;
  font-size: .8125rem;
  font-weight: 600;
  transition: color .25s;
  position: relative;
}

.nova-header__nav a:after {
  content: "";
  background: var(--gold);
  height: 1px;
  transition: transform .4s var(--ease-nova);
  inset-inline: 0;
  position: absolute;
  bottom: 0;
  transform: scaleX(0);
}

.nova-header__nav a:hover {
  color: var(--ink);
}

.nova-header__nav a:hover:after {
  transform: scaleX(1);
}

.nova-header__actions {
  flex-shrink: 0;
  align-items: center;
  gap: .125rem;
  display: flex;
}

@media (min-width: 768px) {
  .nova-header__actions {
    gap: .375rem;
  }
}

.nova-header__icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  color: oklch(from var(--ink) l c h / .8);
  background: none;
  border-radius: .5rem;
  place-items: center;
  transition: color .25s;
  display: grid;
  position: relative;
}

.nova-header__icon-btn:hover {
  color: var(--ink);
  background: none;
}

.nova-header.is-overlay:not(.is-scrolled) .nova-header__icon-btn {
  color: oklch(from var(--ink) l c h / .8);
}

.nova-header.is-overlay:not(.is-scrolled) .nova-header__icon-btn:hover {
  color: var(--ink);
  background: none;
}

.nova-header__icon-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.nova-account-menu__scrim {
  z-index: 129;
  cursor: default;
  background: none;
  position: fixed;
  inset: 0;
}

.nova-account-menu-panel {
  animation: nova-account-menu-in .16s var(--ease-nova);
}

@keyframes nova-account-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nova-header__lang {
  margin-inline-end: .25rem;
  display: none;
}

@media (min-width: 768px) {
  .nova-header__lang {
    display: block;
  }
}

.nova-header__cart-count {
  border-radius: var(--radius-pill);
  background: var(--destructive);
  min-width: 1rem;
  height: 1rem;
  font-family: var(--font-mono);
  color: var(--destructive-foreground);
  top: .25rem;
  place-items: center;
  padding-inline: .25rem;
  font-size: .5rem;
  font-weight: 700;
  display: grid;
  position: absolute;
  inset-inline-end: .25rem;
}

.nova-header__cart-dot {
  display: none;
}

.nova-search-drawer {
  z-index: 90;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.nova-search-drawer.is-open {
  pointer-events: auto;
}

.nova-search-drawer__scrim {
  background: oklch(from var(--ink) l c h / .5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  will-change: opacity;
  transition: opacity .4s;
  position: absolute;
  inset: 0;
}

.nova-search-drawer.is-open .nova-search-drawer__scrim {
  opacity: 1;
}

.nova-search-drawer__panel {
  border-radius: var(--radius-media);
  background: var(--background);
  width: 100%;
  max-width: 64rem;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transition: opacity .35s, transform .35s var(--ease-nova);
  will-change: opacity, transform;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: visible;
  transform: scale(.97);
}

.nova-search-drawer.is-open .nova-search-drawer__panel {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 768px) {
  .nova-search-drawer__panel {
    padding: 2.75rem;
  }
}

.nova-search-drawer__head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.nova-search-drawer__heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .nova-search-drawer__heading {
    font-size: 2rem;
  }
}

.nova-search-drawer__close {
  border-radius: var(--radius-control);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  transition: background-color .3s, border-color .3s;
  display: grid;
}

.nova-search-drawer__close:hover {
  background: var(--secondary);
  border-color: var(--ink);
}

.nova-search-drawer__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nova-search-drawer__form-row {
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  display: flex;
}

.nova-search-drawer__submit {
  border-radius: var(--radius-control);
  background: var(--ink);
  letter-spacing: .14em;
  height: 3.25rem;
  color: var(--ivory);
  text-transform: uppercase;
  flex-shrink: 0;
  padding-inline: 1.75rem;
  font-size: .75rem;
  font-weight: 700;
  transition: background-color .3s;
}

.nova-search-drawer__submit:hover {
  background: oklch(from var(--ink) l c h / .85);
}

.nova-search-drawer__input-wrap {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-control);
  flex: 1;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  height: 3.25rem;
  padding-inline: 1.125rem;
  transition: border-color .3s;
  display: flex;
}

.nova-search-drawer__input-wrap:focus-within {
  border-color: var(--gold);
}

.nova-search-drawer__input-wrap svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.nova-search-drawer__input {
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 767px) {
  .nova-search-drawer__submit {
    height: 2.75rem;
    padding-inline: 1.25rem;
    font-size: .6875rem;
  }

  .nova-search-drawer__input-wrap {
    height: 2.75rem;
    padding-inline: .875rem;
  }

  .nova-search-drawer__input {
    font-size: .875rem;
  }
}

.nova-search-drawer__input::placeholder {
  color: oklch(from var(--muted-foreground) l c h / .6);
}

.nova-search-drawer__hint {
  margin-top: 1.75rem;
}

.nova-search-drawer__hint-label {
  font-family: var(--font-mono);
  letter-spacing: .14em;
  color: var(--muted-foreground);
  font-size: .6875rem;
  font-weight: 600;
  display: block;
}

.nova-search-drawer__chips {
  scrollbar-width: none;
  flex-wrap: nowrap;
  gap: .625rem;
  margin-top: .875rem;
  padding-bottom: .25rem;
  display: flex;
  overflow-x: auto;
}

.nova-search-drawer__chips::-webkit-scrollbar {
  display: none;
}

.nova-search-drawer__chip {
  border-radius: var(--radius-control);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  padding: .625rem 1.25rem;
  font-size: .875rem;
  transition: border-color .3s, background-color .3s;
}

.nova-search-drawer__chip:hover {
  border-color: var(--ink);
  background: var(--secondary);
}

.nova-search-drawer__recommended {
  margin-top: 2rem;
}

.nova-search-drawer__recommended-grid {
  scrollbar-width: thin;
  scrollbar-color: oklch(from var(--ink) l c h / .12) transparent;
  gap: .875rem;
  margin-top: .875rem;
  padding-bottom: .625rem;
  display: flex;
  overflow: auto hidden;
}

.nova-search-drawer__recommended-grid::-webkit-scrollbar {
  height: 4px;
}

.nova-search-drawer__recommended-grid::-webkit-scrollbar-thumb {
  background: oklch(from var(--ink) l c h / .12);
  border-radius: var(--radius-pill);
}

.nova-search-drawer__recommended-grid::-webkit-scrollbar-track {
  background: none;
}

.nova-search-drawer__recommended-grid .nova-search-card {
  flex: none;
  width: 9.5rem;
}

.nova-search-drawer__view-all {
  color: var(--foreground);
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 1.75rem;
  font-size: .8125rem;
  font-weight: 600;
  display: flex;
}

.nova-search-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  background: var(--card);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-nova);
  flex-direction: column;
  padding: .75rem;
  display: flex;
}

.nova-search-card:hover {
  border-color: oklch(from var(--ink) l c h / .25);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -20px oklch(15% .02 60 / .3);
}

.nova-search-card__media {
  aspect-ratio: 1;
  border-radius: var(--radius-chip);
  background: var(--secondary);
  display: block;
  overflow: hidden;
}

.nova-search-card__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.nova-search-card__name {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: .625rem;
  font-size: .8125rem;
  font-weight: 600;
  overflow: hidden;
}

.nova-search-card__tag {
  color: var(--muted-foreground);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: .125rem;
  font-size: .6875rem;
  overflow: hidden;
}

.nova-search-card__price {
  margin-top: .375rem;
  font-size: .8125rem;
  font-weight: 700;
}

.nova-search-drawer__results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem;
  margin-top: 1.75rem;
  list-style: none;
  display: grid;
}

@media (min-width: 640px) {
  .nova-search-drawer__results {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nova-search-drawer__empty {
  color: var(--muted-foreground);
  margin-top: 1.75rem;
  font-size: .875rem;
}

.nova-mobile-menu {
  z-index: 60;
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.nova-mobile-menu.is-open {
  pointer-events: auto;
}

.nova-mobile-menu__scrim {
  background: oklch(from var(--ink) l c h / .4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .5s;
  position: absolute;
  inset: 0;
}

.nova-mobile-menu.is-open .nova-mobile-menu__scrim {
  opacity: 1;
}

.nova-mobile-menu__panel {
  background: var(--ivory);
  width: 88%;
  max-width: 24rem;
  transition: transform .5s var(--ease-nova);
  flex-direction: column;
  display: flex;
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  transform: translateX(100%);
}

.nova-mobile-menu.is-open .nova-mobile-menu__panel {
  transform: translateX(0);
}

[dir="ltr"] .nova-mobile-menu__panel {
  transform: translateX(-100%);
}

[dir="ltr"] .nova-mobile-menu.is-open .nova-mobile-menu__panel {
  transform: translateX(0);
}

.nova-mobile-menu__head {
  border-bottom: 1px solid var(--border-color);
  grid-template-columns: 4.75rem 1fr 4.75rem;
  align-items: center;
  gap: .25rem;
  padding: .75rem 1rem;
  display: grid;
  position: relative;
}

.nova-mobile-menu__head-logo {
  justify-content: center;
  min-width: 0;
  display: flex;
}

.nova-mobile-menu__head-logo img {
  width: auto;
  max-width: 100%;
  height: 1.5rem;
}

.nova-mobile-menu__close {
  border-radius: var(--radius-control);
  flex-shrink: 0;
  justify-self: start;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  transition: background-color .3s;
  display: grid;
}

.nova-mobile-menu__close:hover {
  background: var(--secondary);
}

.nova-mobile-menu__close svg {
  width: 1.125rem;
  height: 1.125rem;
}

.nova-mobile-menu__lang {
  flex-shrink: 0;
  position: relative;
}

.nova-mobile-menu__switchers {
  justify-self: end;
  align-items: center;
  gap: .25rem;
  min-width: 0;
  max-width: 100%;
  display: flex;
}

.nova-mobile-menu__nav {
  flex: 1;
  min-height: 0;
  padding: .125rem 1rem;
  overflow-y: auto;
}

.nova-mobile-menu__link {
  border: none;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  background: none;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding-block: 1.25rem;
  transition: opacity .3s;
  display: flex;
}

.nova-mobile-menu__link:active {
  opacity: .6;
}

.nova-mobile-menu__link-main {
  align-items: center;
  gap: .625rem;
  min-width: 0;
  display: flex;
}

.nova-mobile-menu__link-title {
  color: var(--foreground);
  font-size: .92rem;
  font-weight: 500;
}

.nova-mobile-menu__link-badge {
  border-radius: var(--radius-pill);
  background: var(--secondary);
  color: var(--foreground);
  flex-shrink: 0;
  padding: .1875rem .625rem;
  font-size: .625rem;
  font-weight: 600;
}

.nova-mobile-menu__link-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  place-items: center;
  display: grid;
}

.nova-mobile-menu__link-icon svg {
  width: 100%;
  height: 100%;
}

.nova-mobile-menu__foot {
  border-top: 1px solid var(--border-color);
  padding: .875rem 1rem;
}

.nova-mobile-menu__foot-links {
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  display: flex;
}

.nova-mobile-menu__foot-link {
  text-align: center;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: .375rem;
  transition: opacity .3s;
  display: flex;
}

.nova-mobile-menu__foot-link:active {
  opacity: .6;
}

.nova-mobile-menu__foot-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
}

.nova-mobile-menu__foot-link span {
  color: var(--foreground);
  font-size: .75rem;
  font-weight: 600;
}

.nova-footer {
  background: var(--ink);
  color: var(--ivory);
}

.nova-footer__inner {
  max-width: var(--nova-container);
  margin-inline: auto;
  padding: 4rem 1.25rem 0;
}

@media (min-width: 768px) {
  .nova-footer__inner {
    padding: 5rem 2rem 0;
  }
}

.nova-footer__grid {
  gap: 3rem;
  display: grid;
}

.nova-footer__brand {
  order: 1;
}

.nova-footer__newsletter {
  order: 2;
}

.nova-footer__social {
  order: 3;
}

.nova-footer__cols {
  order: 4;
}

@media (min-width: 1024px) {
  .nova-footer__grid {
    grid-template-columns: 1.15fr .85fr;
    grid-template-areas: "brand brand"
                         "cols news"
                         "cols social";
    align-items: start;
    gap: 2.5rem 4rem;
  }

  .nova-footer__brand {
    grid-area: brand;
  }

  .nova-footer__newsletter {
    text-align: center;
    margin-top: 0;
    grid-area: news;
    place-self: end center;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .nova-footer__newsletter-row {
    flex-direction: row-reverse;
  }

  .nova-footer__newsletter-row input {
    text-align: end;
  }

  [dir="ltr"] .nova-footer__newsletter-row input {
    text-align: start;
  }

  .nova-footer__social {
    grid-area: social;
    align-self: start;
    align-items: center;
    margin-top: .25rem;
  }

  .nova-footer__social-title {
    text-align: center;
  }

  .nova-footer__social-icons {
    justify-content: center;
  }

  .nova-footer__cols {
    grid-area: cols;
    align-self: center;
  }

  .nova-footer__payment-badges {
    margin-top: 0;
  }
}

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

.nova-footer__brand img {
  width: auto;
  height: 2.75rem;
  margin-inline: auto;
}

.nova-footer__brand p {
  color: oklch(100% 0 0 / .6);
  text-wrap: balance;
  margin-top: 1.5rem;
  max-width: 26rem;
  margin-inline: auto;
  font-size: .875rem;
  line-height: 1.7;
}

.nova-footer__newsletter {
  margin-top: 2rem;
}

.nova-footer__newsletter-title {
  color: var(--ivory);
  font-size: 1.0625rem;
  font-weight: 700;
}

.nova-footer__newsletter label {
  color: oklch(100% 0 0 / .55);
  margin-top: .375rem;
  font-size: .8125rem;
  display: block;
}

.nova-footer__newsletter-row {
  gap: .625rem;
  margin-top: 1.125rem;
  display: flex;
}

.nova-footer__newsletter-row input {
  border-radius: var(--radius-control);
  width: 100%;
  height: 3.25rem;
  color: var(--ivory);
  background: oklch(100% 0 0 / .06);
  border: 1px solid oklch(100% 0 0 / .14);
  outline: none;
  padding-inline: 1.125rem;
  font-size: .875rem;
  font-weight: 400;
  transition: border-color .3s, background-color .3s;
}

.nova-footer__newsletter-row input::placeholder {
  color: oklch(100% 0 0 / .4);
}

.nova-footer__newsletter-row input:focus {
  border-color: var(--gold);
  background: oklch(100% 0 0 / .09);
}

@media (max-width: 767px) {
  .nova-footer__newsletter {
    text-align: start;
    max-width: 26rem;
    margin-inline: auto;
  }

  .nova-footer__newsletter-row input {
    text-align: start;
    direction: rtl;
  }

  .nova-footer__newsletter-row {
    flex-direction: row-reverse;
  }

  [dir="ltr"] .nova-footer__newsletter-row {
    flex-direction: row;
  }

  [dir="ltr"] .nova-footer__newsletter-row input {
    direction: ltr;
  }
}

.nova-footer__newsletter-row button {
  border-radius: var(--radius-control);
  background: var(--gold);
  width: 3.25rem;
  height: 3.25rem;
  color: var(--ink);
  flex-shrink: 0;
  place-items: center;
  transition: background-color .3s;
  display: grid;
}

.nova-footer__newsletter-row button:hover {
  background: var(--gold-soft);
}

.nova-footer__newsletter-row button svg {
  width: 1.125rem;
  height: 1.125rem;
}

.nova-footer__newsletter-error {
  color: var(--gold);
  margin-top: .5rem;
  font-size: .6875rem;
}

.nova-footer__social {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .875rem;
  margin-top: 1.75rem;
  display: flex;
}

.nova-footer__social-title {
  letter-spacing: .01em;
  color: oklch(100% 0 0 / .6);
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
}

.nova-footer__social-icons {
  justify-content: center;
  align-items: center;
  gap: .625rem;
  display: flex;
}

.nova-footer__social a, .nova-footer__social span {
  border-radius: var(--radius-control);
  color: oklch(100% 0 0 / .75);
  background: oklch(100% 0 0 / .06);
  border: 1px solid oklch(100% 0 0 / .14);
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  transition: color .3s, border-color .3s, background-color .3s;
  display: grid;
}

.nova-footer__social a:hover {
  color: var(--ivory);
  background: oklch(100% 0 0 / .1);
  border-color: oklch(100% 0 0 / .3);
}

.nova-footer__social span[aria-disabled="true"] {
  color: oklch(100% 0 0 / .22);
  cursor: not-allowed;
}

.nova-footer__social svg {
  width: 1.0625rem;
  height: 1.0625rem;
}

.nova-footer__cols {
  text-align: start;
  gap: 2.5rem;
  display: grid;
}

@media (min-width: 640px) {
  .nova-footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nova-footer__cols {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }
}

.nova-footer__cols-group {
  display: contents;
}

.nova-footer__col-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold);
}

.nova-footer__col-title {
  color: var(--ivory);
  margin-top: .75rem;
  padding-bottom: .875rem;
  font-size: .9375rem;
  font-weight: 700;
  position: relative;
}

.nova-footer__col-title:after {
  content: "";
  background: var(--gold);
  bottom: 0;
  width: 1.75rem;
  height: 2px;
  position: absolute;
  inset-inline-start: 0;
}

.nova-footer__col ul {
  text-align: start;
  flex-direction: column;
  align-items: flex-start;
  gap: .875rem;
  margin-top: 1.375rem;
  display: flex;
}

.nova-footer__col a {
  color: oklch(100% 0 0 / .65);
  font-size: .875rem;
  transition: color .3s;
}

.nova-footer__col a:hover {
  color: var(--ivory);
}

@media (max-width: 639px) {
  .nova-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 1.25rem;
    display: grid;
  }

  .nova-footer__cols-group:first-child .nova-footer__col:first-child {
    grid-area: 1 / 1;
  }

  .nova-footer__cols-group:first-child .nova-footer__col:nth-child(2) {
    grid-area: 1 / 2;
  }

  .nova-footer__cols-group:nth-child(2) .nova-footer__col:first-child {
    grid-area: 2 / 1;
  }

  .nova-footer__cols-group:nth-child(2) .nova-footer__col:nth-child(2) {
    grid-area: 2 / 2;
  }

  .nova-footer__col-icon {
    width: 1.375rem;
    height: 1.375rem;
  }

  .nova-footer__col-title {
    margin-top: .125rem;
    padding-bottom: .125rem;
    font-size: 1rem;
  }

  .nova-footer__col ul {
    gap: .125rem;
    margin-top: .25rem;
  }

  .nova-footer__col a {
    line-height: 1.25;
  }

  .nova-footer__brand p {
    line-height: 1.35;
  }
}

.nova-footer__trust {
  border-top: 1px solid var(--hairline-inverse);
  border-bottom: 1px solid var(--hairline-inverse);
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.25rem;
  margin-top: 3.5rem;
  padding-block: 2rem;
  display: grid;
}

@media (min-width: 768px) {
  .nova-footer__trust {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .nova-footer__trust {
    gap: .875rem 1rem;
    margin-top: 2.5rem;
    padding-block: 1.5rem;
  }
}

.nova-footer__secure {
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  margin-top: 3rem;
  display: flex;
}

.nova-footer__payment-note {
  letter-spacing: .02em;
  color: oklch(100% 0 0 / .45);
  text-align: center;
  font-size: .6875rem;
}

@media (max-width: 767px) {
  .nova-footer__secure {
    margin-top: 2.25rem;
  }
}

.nova-footer__trust-item {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  display: flex;
}

.nova-footer__trust-item svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold);
  flex-shrink: 0;
}

.nova-footer__trust-title {
  color: var(--ivory);
  font-size: .875rem;
  font-weight: 700;
}

.nova-footer__trust-body {
  color: oklch(100% 0 0 / .5);
  margin-top: .125rem;
  font-size: .75rem;
}

.nova-footer__bottom {
  color: oklch(100% 0 0 / .55);
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.75rem;
  font-size: .75rem;
  display: flex;
}

.nova-footer__bottom-meta {
  flex-direction: column;
  align-items: center;
  gap: .875rem;
  display: flex;
}

.nova-footer__bottom-links {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  display: flex;
}

.nova-footer__payment-badges {
  justify-content: center;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.nova-footer__payment-badges .nova-pay-badge {
  min-width: 2.5rem;
  height: 1.5rem;
  font-size: .5625rem;
}

.nova-cart-drawer__payment-badges-label {
  color: var(--muted-foreground);
  margin-bottom: .5rem;
  font-size: .625rem;
}

.nova-cart-drawer__payment-badges-row {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .375rem;
  display: flex;
}

.nova-pay-badge {
  border: 1px solid var(--border-color);
  letter-spacing: .01em;
  background: #fff;
  border-radius: .3125rem;
  justify-content: center;
  align-items: center;
  gap: .125rem;
  min-width: 2.125rem;
  height: 1.25rem;
  padding: 0 .375rem;
  font-size: .5rem;
  font-weight: 800;
  display: inline-flex;
  box-shadow: 0 1px 2px oklch(8% 0 0 / .06);
}

.nova-pay-badge--visa {
  color: #1434cb;
  letter-spacing: .03em;
  font-style: italic;
}

.nova-pay-badge--amex {
  color: #fff;
  background: #2e77bc;
  border-color: #2e77bc;
}

.nova-pay-badge--apple {
  color: #fff;
  background: #000;
  border-color: #000;
  font-style: normal;
}

.nova-pay-badge--apple svg {
  width: .5625rem;
  height: .5625rem;
}

.nova-pay-badge--google {
  color: #3c4043;
}

.nova-pay-badge--mc {
  min-width: 1.875rem;
  position: relative;
}

.nova-pay-badge--mc .c1, .nova-pay-badge--mc .c2 {
  border-radius: 50%;
  width: .625rem;
  height: .625rem;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.nova-pay-badge--mc .c1 {
  background: #eb001b;
  right: .7rem;
}

.nova-pay-badge--mc .c2 {
  mix-blend-mode: multiply;
  background: #f79e1b;
  right: .4rem;
}

.nova-cart-drawer {
  z-index: 70;
  pointer-events: none;
  height: 100dvh;
  position: fixed;
  inset: 0;
}

.nova-cart-drawer.is-open {
  pointer-events: auto;
}

.nova-cart-drawer__scrim {
  background: oklch(from var(--ink) l c h / .35);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  opacity: 0;
  transition: opacity .4s;
  position: absolute;
  inset: 0;
}

.nova-cart-drawer.is-open .nova-cart-drawer__scrim {
  opacity: 1;
}

.nova-cart-drawer__panel {
  background: var(--background);
  width: 100%;
  max-width: 19rem;
  height: 100dvh;
  transition: transform .4s var(--ease-nova);
  flex-direction: column;
  display: flex;
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  transform: translateX(-100%);
  box-shadow: 0 0 60px -30px oklch(8% 0 0 / .25);
}

.nova-cart-drawer.is-open .nova-cart-drawer__panel {
  transform: translateX(0);
}

[dir="ltr"] .nova-cart-drawer__panel {
  transform: translateX(100%);
}

[dir="ltr"] .nova-cart-drawer.is-open .nova-cart-drawer__panel {
  transform: translateX(0);
}

.nova-cart-drawer__head {
  border-bottom: 1px solid var(--border-color);
  justify-content: space-between;
  align-items: center;
  padding: .375rem 1.125rem;
  display: flex;
}

.nova-cart-drawer__head .nova-eyebrow {
  letter-spacing: normal;
  text-transform: none;
  font-size: .75rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--foreground);
}

.nova-cart-drawer__close {
  border-radius: var(--radius-control);
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  transition: background-color .3s;
  display: grid;
}

.nova-cart-drawer__close:hover {
  background: var(--secondary);
}

.nova-cart-drawer__close svg {
  width: .9375rem;
  height: .9375rem;
}

.nova-cart-drawer__empty {
  text-align: center;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  display: flex;
}

.nova-cart-drawer__empty h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.nova-cart-drawer__empty p {
  max-width: 20rem;
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.7;
}

.nova-cart-drawer__filled {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.nova-cart-drawer__shipping {
  border-bottom: 1px solid var(--border-color);
  padding: .5rem 1.125rem;
}

.nova-cart-drawer__shipping-row {
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-size: .6875rem;
  display: flex;
}

.nova-cart-drawer__shipping-row [data-nova-cart-shipping-note] {
  color: var(--foreground);
  font-weight: 700;
}

.nova-cart-drawer__shipping-check {
  color: var(--gold);
}

.nova-cart-drawer__shipping-row [data-nova-cart-shipping-amount] {
  color: var(--muted-foreground);
}

.nova-cart-drawer__progress {
  border-radius: var(--radius-pill);
  background: var(--secondary);
  width: 100%;
  height: 3px;
  margin-top: .375rem;
}

.nova-cart-drawer__progress > div {
  border-radius: var(--radius-pill);
  background: var(--gold);
  height: 100%;
  transition: width .7s var(--ease-nova);
  width: 0;
}

.nova-cart-drawer__lines {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: oklch(from var(--ink) l c h / .2) transparent;
  flex-direction: column;
  flex: auto;
  gap: .75rem;
  min-height: 0;
  margin: 0;
  padding: 1.125rem 1rem 1rem;
  list-style: none;
  display: flex;
  overflow-y: auto;
}

.nova-cart-drawer__lines::-webkit-scrollbar {
  width: 5px;
}

.nova-cart-drawer__lines::-webkit-scrollbar-thumb {
  background: oklch(from var(--ink) l c h / .2);
  border-radius: var(--radius-pill);
}

.nova-cart-line {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--card);
  align-items: flex-start;
  gap: .75rem;
  max-width: 100%;
  padding: .75rem;
  display: flex;
  box-shadow: 0 1px 1.5px oklch(15% .02 60 / .06), 0 6px 14px -10px oklch(15% .02 60 / .32);
}

.nova-cart-line__media {
  border-radius: var(--radius-chip);
  flex-shrink: 0;
  width: 4rem;
  height: 5rem;
  display: block;
  overflow: hidden;
  box-shadow: 0 4px 12px -10px oklch(15% .02 60 / .3);
}

.nova-cart-line__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.nova-cart-line__body {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 5rem;
  display: flex;
}

.nova-cart-line__head {
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  display: flex;
}

.nova-cart-line__info {
  flex: 1;
  min-width: 0;
}

.nova-cart-line__name {
  -webkit-line-clamp: 2;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
}

.nova-cart-line__option-row {
  align-items: baseline;
  gap: .4rem;
  min-width: 0;
  margin-top: .3125rem;
  display: flex;
}

.nova-cart-line__option-sep {
  color: var(--muted-foreground);
  opacity: .6;
}

.nova-cart-line__option {
  min-width: 0;
  color: var(--muted-foreground);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .6875rem;
  overflow: hidden;
}

.nova-cart-line__remove {
  border-radius: var(--radius-control);
  width: 1.5rem;
  height: 1.5rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
  place-items: center;
  margin: -.25rem -.25rem 0 0;
  transition: color .3s, background-color .3s;
  display: grid;
}

.nova-cart-line__remove:hover {
  color: oklch(55% .19 25);
  background: var(--secondary);
}

.nova-cart-line__remove svg {
  width: .875rem;
  height: .875rem;
}

.nova-cart-line__foot {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .5rem;
  min-width: 0;
  margin-top: auto;
  padding-top: .75rem;
  display: grid;
}

.nova-cart-line__qty-col {
  flex-direction: column;
  gap: .3125rem;
  min-width: 0;
  display: flex;
}

.nova-cart-line__unit-price {
  color: var(--muted-foreground);
  white-space: nowrap;
  font-size: .68rem;
  line-height: 1;
}

.nova-cart-line__stock {
  max-width: 100%;
  color: var(--muted-foreground);
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: .65rem;
  line-height: 1.3;
}

.nova-cart-line__stock--limit {
  color: var(--destructive);
  font-weight: 700;
}

.nova-cart-line__price-col {
  justify-content: flex-end;
  align-items: center;
  min-width: max-content;
  display: flex;
}

.nova-cart-line__price-col span {
  white-space: nowrap;
  font-size: .8125rem;
  font-weight: 700;
}

.nova-qty {
  border-radius: var(--radius-control);
  border: 1px solid var(--border-color);
  align-items: center;
  height: 3.5rem;
  display: flex;
}

.nova-qty--sm {
  width: max-content;
  max-width: 100%;
  height: 1.75rem;
}

.nova-qty__btn {
  place-items: center;
  width: 3rem;
  height: 100%;
  transition: background-color .3s;
  display: grid;
}

.nova-qty--sm .nova-qty__btn {
  width: 1.75rem;
}

.nova-qty__btn:hover {
  background: var(--secondary);
}

.nova-qty__btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}

.nova-qty__btn svg {
  width: 1rem;
  height: 1rem;
}

.nova-qty--sm .nova-qty__btn svg {
  width: .75rem;
  height: .75rem;
}

.nova-qty__value {
  text-align: center;
  font-variant-numeric: tabular-nums;
  min-width: 1.5rem;
  font-size: .8125rem;
  font-weight: 600;
}

.nova-cart-drawer__benefits {
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1.25rem;
  display: flex;
}

.nova-cart-drawer__benefits span {
  color: var(--muted-foreground);
  text-align: center;
  align-items: center;
  gap: .3125rem;
  font-size: .625rem;
  display: flex;
}

.nova-cart-drawer__benefits svg {
  width: .8125rem;
  height: .8125rem;
  color: var(--gold);
  flex-shrink: 0;
}

.nova-cart-drawer__foot {
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
  padding: .5rem 1.125rem;
}

.nova-cart-drawer__totals {
  border-radius: var(--radius-card);
  background: var(--secondary);
  flex-direction: column;
  gap: .1875rem;
  padding: .375rem .75rem;
  font-size: .6875rem;
  display: flex;
}

.nova-cart-drawer__totals > div {
  justify-content: space-between;
  display: flex;
}

.nova-cart-drawer__totals dt {
  color: var(--muted-foreground);
}

.nova-cart-drawer__totals dd {
  margin: 0;
}

.nova-cart-drawer__totals .is-total {
  border-top: 1px solid var(--border-color);
  padding-top: .1875rem;
  font-size: .8125rem;
  font-weight: 600;
}

.nova-cart-drawer__totals .is-total dt {
  color: var(--foreground);
  font-weight: 600;
}

.nova-cart-drawer__foot .nova-btn {
  letter-spacing: .01em;
  text-transform: none;
  gap: .375rem;
  width: 100%;
  height: 2.375rem;
  margin-top: .5rem;
  font-size: .8125rem;
  font-weight: 800;
}

.nova-cart-drawer__foot .nova-btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.nova-cart-drawer__checkout {
  color: var(--ivory);
  box-shadow: none;
  background: linear-gradient(#00004177, #2200df);
  border: none;
}

.nova-cart-drawer__checkout:hover {
  background: linear-gradient(#00004177, #2200df);
}

.nova-cart-drawer__checkout svg {
  flex-shrink: 0;
  width: .9375rem;
  height: .9375rem;
}

.nova-cart-drawer__continue {
  margin-top: .375rem;
}

.nova-cart-drawer__payment-badges {
  text-align: center;
  margin-top: .75rem;
}

.nova-btn {
  border-radius: var(--radius-control);
  letter-spacing: .18em;
  text-transform: uppercase;
  height: 3.25rem;
  transition: all .5s var(--ease-nova);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  padding-inline: 1.75rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex;
  box-shadow: 0 1px 2px oklch(0% 0 0 / .05), 0 8px 20px -12px oklch(0% 0 0 / .26);
}

.nova-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px oklch(0% 0 0 / .07), 0 16px 30px -14px oklch(0% 0 0 / .3);
}

.nova-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px oklch(0% 0 0 / .1);
}

.nova-btn--solid, .nova-btn--gold {
  color: var(--ivory);
  letter-spacing: .01em;
  text-transform: none;
  background: linear-gradient(#00004177, #2200df);
  font-size: 1.0625rem;
  font-weight: 800;
  box-shadow: 0 18px 40px -22px oklch(35% .18 275 / .55);
}

.nova-add-chip {
  color: var(--ivory);
  background: linear-gradient(#00004177, #2200df);
  border-color: #0000;
}

.nova-add-chip:hover {
  color: var(--ivory);
  background: linear-gradient(#00005a99, #2b10f0);
}

.nova-btn--solid:hover, .nova-btn--gold:hover {
  box-shadow: var(--shadow-soft);
  background: linear-gradient(#00005a99, #2b10f0);
}

.nova-btn--gold:active {
  box-shadow: var(--shadow-soft);
}

.nova-btn--outline {
  border: 1px solid oklch(from var(--ink) l c h / .2);
  color: var(--foreground);
}

.nova-btn--outline:hover {
  border-color: var(--ink);
  background: var(--secondary);
}

.nova-btn--light {
  background: var(--ivory);
  color: var(--ink);
}

.nova-btn--light:hover {
  background: var(--gold-soft);
}

.nova-btn--ghost-light {
  border: 1px solid var(--hairline-inverse, oklch(100% 0 0 / .2));
  color: var(--ivory);
}

.nova-btn--ghost-light:hover {
  background: oklch(100% 0 0 / .1);
}

.nova-btn--h14 {
  height: 3.5rem;
}

.nova-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform .5s var(--ease-nova);
  flex-shrink: 0;
}

.nova-btn:hover .nova-arrow, .nova-link-cta:hover .nova-arrow {
  transform: translateX(-4px);
}

:root {
  --chat-bg: oklch(92% .02 85);
}

.nova-float {
  z-index: 55;
  background: var(--background);
  width: 3rem;
  height: 3rem;
  color: var(--ink);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-nova), transform .4s var(--ease-nova), visibility .4s,	background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: fixed;
  bottom: 1.5rem;
  transform: translateY(.75rem);
  box-shadow: 0 10px 24px -14px oklch(0% 0 0 / .35);
}

.nova-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nova-float:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 14px 30px -14px oklch(0% 0 0 / .4);
}

.nova-float svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nova-float--top {
  inset-inline-end: 1.5rem;
}

.nova-float--chat {
  background: var(--chat-bg);
  border-color: oklch(82% .03 80);
  inset-inline-start: 1.5rem;
}

.nova-float--chat:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.nova-float--chat.is-visible {
  opacity: 1;
}

.nova-chat-panel {
  z-index: 55;
  background: var(--card);
  border-radius: var(--radius-media);
  border: 1px solid var(--border-color);
  width: min(22rem, 100vw - 3rem);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform-origin: bottom;
  transition: opacity .35s var(--ease-nova), transform .35s var(--ease-nova), visibility .35s;
  bottom: 5.5rem;
  position: fixed;
  inset-inline-start: 1.5rem;
  overflow: hidden;
  transform: translateY(.75rem) scale(.98);
}

.nova-chat-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nova-chat-panel__head {
  border-bottom: 1px solid var(--border-color);
  background: var(--ink);
  color: var(--ivory);
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  display: flex;
}

.nova-chat-panel__head p {
  font-size: .875rem;
}

.nova-chat-panel__close {
  border-radius: var(--radius-control);
  color: oklch(100% 0 0 / .7);
  place-items: center;
  width: 2rem;
  height: 2rem;
  transition: background-color .3s, color .3s;
  display: grid;
}

.nova-chat-panel__close:hover {
  color: var(--ivory);
  background: oklch(100% 0 0 / .1);
}

.nova-chat-panel__close svg {
  width: 1rem;
  height: 1rem;
}

.nova-chat-panel__body {
  text-align: center;
  padding: 1.5rem 1.25rem;
}

.nova-chat-panel__body p {
  color: var(--muted-foreground);
  font-size: .8125rem;
  line-height: 1.7;
}

.nova-chat-panel__body .nova-btn {
  width: 100%;
  margin-top: 1.25rem;
}

.nova-chat-panel__thread {
  overscroll-behavior: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  max-height: 20rem;
  padding: .75rem 1rem 0;
  overflow-y: auto;
}

@media (prefers-reduced-motion: reduce) {
  .nova-chat-panel__thread {
    scroll-behavior: auto;
  }
}

.nova-chat-panel__bubble {
  overflow-wrap: anywhere;
  border-radius: 1rem;
  max-width: min(88%, 20rem);
  padding: .6rem .8rem;
  font-size: .86rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px #14120f0d, 0 8px 18px -14px #14120f47;
}

.nova-chat-panel__bubble[data-side="out"] {
  color: #111b21;
  background: #d9fdd3;
  border: 1px solid #c5e6c0a8;
  border-end-end-radius: .35rem;
}

.nova-chat-panel__bubble[data-side="in"] {
  background: var(--card);
  border: 1px solid var(--border-color);
  border-end-start-radius: .35rem;
}

.nova-chat-panel__bubble[data-state="failed"] {
  border-color: var(--destructive);
}

@supports (color: color-mix(in lab, red, red)) {
  .nova-chat-panel__bubble[data-state="failed"] {
    border-color: color-mix(in oklab, var(--destructive) 55%, transparent);
  }
}

@keyframes nova-chat-panel-dot {
  0%, 60%, 100% {
    opacity: .45;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.nova-chat-panel__dot {
  background: var(--muted-foreground);
  border-radius: 999px;
  width: 5px;
  height: 5px;
  animation: 1.1s ease-in-out infinite nova-chat-panel-dot;
}

.nova-chat-panel__dot:nth-child(2) {
  animation-delay: .15s;
}

.nova-chat-panel__dot:nth-child(3) {
  animation-delay: .3s;
}

.nova-chat-panel__foot {
  border-top: 1px solid var(--border-color);
  padding: .75rem 1rem 1rem;
}

.nova-review-wrap {
  position: relative;
}

.nova-product__review-marquee {
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  direction: ltr;
  margin-top: 2rem;
  overflow: auto hidden;
  -webkit-mask-image: linear-gradient(to right, #0000, #000 4% 96%, #0000);
  mask-image: linear-gradient(to right, #0000, #000 4% 96%, #0000);
}

.nova-product__review-marquee::-webkit-scrollbar {
  display: none;
}

.nova-product__review-marquee.is-dragging {
  cursor: grabbing;
}

.nova-product__review-track {
  gap: 1.25rem;
  width: max-content;
  padding-inline: 1.25rem;
  display: flex;
}

.nova-product__review {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: 0 4px 16px oklch(from var(--ink) l c h / .06);
  transition: box-shadow .4s var(--ease-nova);
  direction: rtl;
  flex: 0 0 min(80vw, 22rem);
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .nova-product__review {
    flex-basis: 22rem;
  }
}

.nova-product__review:hover {
  box-shadow: 0 6px 20px oklch(from var(--ink) l c h / .09);
}

.nova-product__review-top {
  justify-content: flex-start;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.nova-product__review-stars {
  color: var(--star-google, #fbbc04);
  letter-spacing: .125rem;
  font-size: .8125rem;
}

.nova-product__review-rating {
  color: var(--foreground);
  font-size: .8125rem;
  font-weight: 700;
}

.nova-product__review > p {
  color: var(--muted-foreground);
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin-top: .875rem;
  font-size: .9rem;
  line-height: 1.7;
  display: -webkit-box;
  overflow: hidden;
}

.nova-product__review-shot {
  cursor: zoom-in;
  border: 1px solid var(--border-color);
  background: none;
  padding: 0;
}

.nova-product__review-footer {
  align-items: center;
  gap: .625rem;
  margin-top: 1.25rem;
  display: flex;
}

.nova-product__review-avatar {
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 2.125rem;
  height: 2.125rem;
  font-size: .75rem;
  font-weight: 700;
  display: grid;
}

.nova-product__review-meta {
  flex-direction: column;
  gap: .125rem;
  display: flex;
}

.nova-product__review-name {
  font-size: .8125rem;
  font-weight: 600;
}

.nova-product__review-date {
  color: var(--muted-foreground);
  font-size: .72rem;
}

.nova-product__review-shot {
  border: 1px solid var(--border-color);
  border-radius: .5rem;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-inline-start: auto;
  overflow: hidden;
  box-shadow: 0 1px 2px oklch(0% 0 0 / .05), 0 8px 18px -12px oklch(0% 0 0 / .25);
}

.nova-product__review-shot img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.nova-review-nav {
  justify-content: center;
  gap: .625rem;
  margin-top: 1.5rem;
  display: flex;
}

.nova-review-nav__btn {
  border: 1px solid var(--border-color);
  background: var(--card);
  width: 2.75rem;
  height: 2.75rem;
  color: var(--foreground);
  border-radius: 50%;
  place-items: center;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s;
  display: grid;
  box-shadow: 0 1px 2px oklch(0% 0 0 / .05), 0 8px 20px -12px oklch(0% 0 0 / .24);
}

.nova-review-nav__btn:hover {
  background: var(--secondary);
  color: var(--foreground);
  border-color: oklch(from var(--ink) l c h / .22);
  transform: translateY(-1px);
}

.nova-review-nav__btn:active {
  background: oklch(from var(--ink) l c h / .07);
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px oklch(0% 0 0 / .08);
}

.nova-btn--hero {
  background: var(--gold);
  color: var(--ink);
  background-image: none;
  box-shadow: 0 16px 34px -20px oklch(0% 0 0 / .55);
}

.nova-btn--hero:hover {
  background: var(--gold-strong, var(--gold));
  filter: brightness(1.05);
  background-image: none;
}

.nova-hero-scrim {
  background: linear-gradient(to left, var(--ink), var(--ink) 38%, transparent 68%);
}

@supports (color: color-mix(in lab, red, red)) {
  .nova-hero-scrim {
    background: linear-gradient(to left, color-mix(in oklab, var(--ink) 58%, transparent), color-mix(in oklab, var(--ink) 24%, transparent) 38%, transparent 68%);
  }
}

[dir="ltr"] .nova-hero-scrim {
  background: linear-gradient(to right, var(--ink), var(--ink) 38%, transparent 68%);
}

@supports (color: color-mix(in lab, red, red)) {
  [dir="ltr"] .nova-hero-scrim {
    background: linear-gradient(to right, color-mix(in oklab, var(--ink) 58%, transparent), color-mix(in oklab, var(--ink) 24%, transparent) 38%, transparent 68%);
  }
}

@media (max-width: 1023.98px) {
  body:has([data-nova-sticky-cart][aria-hidden="false"]) .nova-float {
    bottom: 6.25rem;
  }
}

.nova-search-drawer__live {
  margin-top: 1.5rem;
}

.nova-search-drawer__live-head {
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.nova-search-drawer__live-label {
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-size: .7rem;
  font-weight: 600;
  display: block;
}

.nova-search-drawer__live-all {
  color: oklch(55% .11 250);
  transition: color .2s var(--ease-nova), background-color .2s var(--ease-nova);
  border-radius: 999px;
  padding: .15rem .25rem;
  font-size: .8rem;
  font-weight: 600;
}

.nova-search-drawer__live-all:hover {
  color: oklch(45% .14 250);
  text-underline-offset: 3px;
  text-decoration: underline;
}

.nova-search-drawer__live-rail {
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: .75rem;
  margin-top: .875rem;
  padding-bottom: .25rem;
  display: flex;
  overflow: auto hidden;
}

.nova-search-drawer__live-rail::-webkit-scrollbar {
  display: none;
}

.nova-search-drawer__live-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  background: var(--card);
  transition: box-shadow .3s var(--ease-nova), transform .3s var(--ease-nova);
  flex-direction: column;
  flex: 0 0 9.5rem;
  gap: .5rem;
  padding: .5rem;
  display: flex;
  box-shadow: 0 1px 2px oklch(0% 0 0 / .045), 0 10px 22px -14px oklch(0% 0 0 / .24);
}

.nova-search-drawer__live-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px oklch(0% 0 0 / .06), 0 18px 34px -18px oklch(0% 0 0 / .3);
}

.nova-search-drawer__live-link {
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
  display: flex;
}

.nova-search-drawer__live-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--secondary);
  border-radius: .5rem;
  width: 100%;
}

.nova-search-drawer__live-name {
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
}

.nova-search-drawer__live-price {
  font-size: .78rem;
  font-weight: 700;
}

.nova-search-drawer__live-add {
  border: 1px solid var(--border-color);
  height: 1.75rem;
  color: var(--foreground);
  background: var(--background);
  transition: color .2s var(--ease-nova), background-color .2s var(--ease-nova), border-color .2s var(--ease-nova);
  border-radius: .5rem;
  justify-content: center;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex;
}

.nova-search-drawer__live-add:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

.nova-search-drawer__live-add.is-added {
  border-color: var(--border-color);
  color: var(--foreground);
  background: var(--background);
}

.nova-search-drawer__live-add.is-added:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

.nova-search-drawer__live-add.is-added svg {
  color: var(--success);
}

.nova-search-drawer__live-empty {
  color: var(--muted-foreground);
  margin-top: .875rem;
  font-size: .85rem;
}

.nova-search-drawer__chip, .nova-search-drawer__submit, .nova-search-drawer__close {
  transition: box-shadow .3s var(--ease-nova), transform .3s var(--ease-nova), background-color .3s, color .3s, border-color .3s;
  box-shadow: 0 1px 2px oklch(0% 0 0 / .05), 0 8px 18px -12px oklch(0% 0 0 / .24);
}

.nova-search-drawer__chip:hover, .nova-search-drawer__submit:hover, .nova-search-drawer__close:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px oklch(0% 0 0 / .07), 0 14px 26px -14px oklch(0% 0 0 / .28);
}

.nova-search-drawer__chip:active, .nova-search-drawer__submit:active, .nova-search-drawer__close:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px oklch(0% 0 0 / .09);
}

:root {
  --star-google: #fbbc04;
}

.nova-footer__secure .nova-footer__payment-badges {
  order: 1;
}

.nova-footer__secure .nova-footer__payment-note {
  order: 2;
}

.nova-btn.nova-btn--quiet {
  background: var(--secondary);
  border: 1px solid var(--border-color);
  color: var(--foreground);
  box-shadow: 0 1px 2px oklch(8% 0 0 / .06);
}

.nova-btn.nova-btn--quiet:hover {
  background: oklch(from var(--secondary) calc(l - .03) c h);
  border-color: oklch(from var(--ink) l c h / .25);
}

:root {
  --radius: .625rem;
  --background: oklch(100% 0 0);
  --foreground: oklch(19.6% 0 0);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(19.6% 0 0);
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(19.6% 0 0);
  --primary: oklch(36% .24 275);
  --primary-foreground: oklch(100% 0 0);
  --secondary: oklch(97.2% .004 85);
  --secondary-foreground: oklch(19.6% 0 0);
  --muted: oklch(97.2% .004 85);
  --muted-foreground: oklch(50.5% .006 75);
  --accent: oklch(96.5% .005 84);
  --accent-foreground: oklch(19.6% 0 0);
  --gold: oklch(63.3% .058 73);
  --gold-soft: oklch(94.5% .02 80);
  --success: oklch(62% .15 150);
  --success-foreground: oklch(99% 0 0);
  --destructive: oklch(55% .17 27);
  --destructive-foreground: oklch(100% 0 0);
  --border: oklch(91.5% .007 82);
  --input: oklch(91.5% .007 82);
  --ring: oklch(63.3% .058 73);
  --sand: oklch(97.2% .004 85);
  --ink: oklch(15.5% .002 80);
}

.dark {
  --background: oklch(15.5% .002 80);
  --foreground: oklch(97.2% .004 85);
  --card: oklch(20% .002 80);
  --card-foreground: oklch(97.2% .004 85);
  --popover: oklch(20% .002 80);
  --popover-foreground: oklch(97.2% .004 85);
  --primary: oklch(97.2% .004 85);
  --primary-foreground: oklch(15.5% .002 80);
  --secondary: oklch(23% .002 80);
  --secondary-foreground: oklch(97.2% .004 85);
  --muted: oklch(23% .002 80);
  --muted-foreground: oklch(72% .006 75);
  --accent: oklch(26% .004 80);
  --accent-foreground: oklch(97.2% .004 85);
  --gold: oklch(72% .06 75);
  --gold-soft: oklch(30% .03 72);
  --success: oklch(68% .15 150);
  --success-foreground: oklch(16% 0 0);
  --border: oklch(100% 0 0 / .12);
  --input: oklch(100% 0 0 / .16);
  --ring: oklch(72% .06 75);
  --sand: oklch(20% .002 80);
  --ink: oklch(97.2% .004 85);
}

@media (min-width: 768px) {
  .nova-shell {
    padding-inline: 2rem;
  }
}

@keyframes nova-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .nova-reveal {
    animation: none !important;
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.nova-select-panel {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.nova-select-panel::-webkit-scrollbar {
  width: 6px;
}

.nova-select-panel::-webkit-scrollbar-track {
  background: none;
}

.nova-select-panel::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.nova-select-panel::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

.nova-hairline-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

@supports (color: color-mix(in lab, red, red)) {
  .nova-hairline-scroll {
    scrollbar-color: color-mix(in srgb, var(--border) 70%, transparent) transparent;
  }
}

.nova-hairline-scroll::-webkit-scrollbar {
  width: 3px;
}

.nova-hairline-scroll::-webkit-scrollbar-track {
  background: none;
}

.nova-hairline-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
}

@supports (color: color-mix(in lab, red, red)) {
  .nova-hairline-scroll::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--border) 70%, transparent);
  }
}

.nova-hairline-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
}

.nova-hairline-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--border);
}

@keyframes nova-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .nova-marquee, .nova-rise {
    animation: none !important;
  }
}

@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-pan-x {
  syntax: "*";
  inherits: false
}

@property --tw-pan-y {
  syntax: "*";
  inherits: false
}

@property --tw-pinch-zoom {
  syntax: "*";
  inherits: false
}

@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-divide-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-divide-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-gradient-position {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-stops {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}

@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-leading {
  syntax: "*";
  inherits: false
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-tracking {
  syntax: "*";
  inherits: false
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-duration {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}

@property --tw-content {
  syntax: "*";
  inherits: false;
  initial-value: "";
}

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

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

@keyframes enter {
  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0)scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1))rotate(var(--tw-enter-rotate, 0));
    filter: blur(var(--tw-enter-blur, 0));
  }
}

@keyframes exit {
  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0)scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1))rotate(var(--tw-exit-rotate, 0));
    filter: blur(var(--tw-exit-blur, 0));
  }
}

@keyframes accordion-down {
  from {
    height: 0;
  }

  to {
    height: var(--radix-accordion-content-height, var(--bits-accordion-content-height, var(--reka-accordion-content-height, var(--kb-accordion-content-height, var(--ngp-accordion-content-height, auto)))));
  }
}

@keyframes accordion-up {
  from {
    height: var(--radix-accordion-content-height, var(--bits-accordion-content-height, var(--reka-accordion-content-height, var(--kb-accordion-content-height, var(--ngp-accordion-content-height, auto)))));
  }

  to {
    height: 0;
  }
}

@keyframes caret-blink {
  0%, 70%, 100% {
    opacity: 1;
  }

  20%, 50% {
    opacity: 0;
  }
}
/* NOVA Control Center — internal admin surface.
   Scoped to .adm so it never touches the storefront design system. */

.adm {
  --adm-bg: #f6f5f3;
  --adm-panel: #ffffff;
  --adm-ink: #14130f;
  --adm-muted: #6f6b63;
  --adm-line: #e2ded7;
  --adm-line-strong: #cfc9c0;
  --adm-sidebar: #16150f;
  --adm-sidebar-ink: #d9d5cc;
  /* Softened from a saturated #2200df — same role (accent/focus/active),
     calmer weight, per the admin visual-redesign plan (docs/admin-visual-redesign-plan.md). */
  --adm-accent: #3b4a7a;
  --adm-ok: #1c7a4a;
  --adm-warn: #9a6b00;
  --adm-err: #a32020;
  /* New: distinct from --adm-warn so "processing/in progress" reads as
     its own state instead of being lumped in with "warning". */
  --adm-info: #2f6fae;

  background: var(--adm-bg);
  color: var(--adm-ink);
  font-feature-settings: "tnum" 1;
  /* Was previously inherited implicitly from the global stylesheet; pinned
     explicitly per DESIGN.md's extracted font.family.primary token so the
     Admin surface's typography doesn't silently depend on load order. */
  font-family: Heebo, ui-sans-serif, system-ui, sans-serif;
}
/* min-height is layout sizing, not a shared token — it belongs only on the
   one real app shell (see the matching .adm.adm-app-root rule further down
   for why a bare `.adm` here would also size every popover/dropdown portal
   host to a full screen). */
.adm.adm-app-root {
  min-height: 100dvh;
}

.adm-shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100dvh;
}

@media (min-width: 1024px) {
  .adm-shell {
    grid-template-columns: 1fr 248px;
  }

  /* CSS Grid mirrors its own column tracks under direction:rtl — track 1
     (defined first, sized 1fr here) renders at the physical RIGHT edge in
     RTL instead of the left. Since .adm-main is the first DOM child, that
     mirroring alone silently moved the sidebar (.adm-side, the second
     child, track 2/248px) to the physical LEFT in Hebrew — confirmed live,
     reported by the user — while English (LTR) correctly keeps it on the
     right via the same, unmodified grid-template-columns. Restoring "the
     sidebar always sits on the physical right" for RTL requires swapping
     BOTH which track is 248px-sized AND which child fills which track
     (via `order`) — swapping only one of the two either mis-sizes the
     columns or leaves the mirroring in place. */
  [dir="rtl"] .adm-shell {
    grid-template-columns: 248px 1fr;
  }
  [dir="rtl"] .adm-main {
    order: 2;
  }
  [dir="rtl"] .adm-side {
    order: 1;
  }
}

/* Sidebar chrome (brand header + footer) stays fixed in place; only the
   nav list in between scrolls. Both variants already have a definite
   height to overflow:hidden against — mobile via `inset-y-0` on the
   absolutely-positioned drawer, desktop via the sticky+100dvh rule below —
   so this is safe without touching .adm-shell's own height model (the
   main content column keeps scrolling the normal page way, unaffected). */
.adm-side {
  background: var(--adm-sidebar);
  color: var(--adm-sidebar-ink);
  flex-direction: column;
  padding: 18px 14px;
  gap: 18px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .adm-side {
    position: sticky;
    top: 0;
    height: 100dvh;
  }
}

.adm-side__brand {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: #fff;
  font-weight: 700;
  padding: 4px 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* Wraps just the <nav> — the only scrollable part of the sidebar. */
.adm-side__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.adm-side__group {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  padding: 12px 8px 6px;
}

.adm-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  font-size: 0.85rem;
  border-radius: 4px;
  color: var(--adm-sidebar-ink);
  text-decoration: none;
  transition:
    background 0.12s ease,
    color 0.12s ease;
}
.adm-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.adm-nav a[data-active="true"] {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

/* Mobile drawer: respect the device's safe areas (notch/home-indicator)
   so the brand header and scroll area never sit under system chrome. */
.nova-drawer {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.adm-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.adm-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 10px 16px;
  background: rgba(246, 245, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--adm-line);
}

.adm-topbar__search {
  order: 3;
  flex-basis: 100%;
}

@media (min-width: 640px) {
  .adm-topbar__search {
    order: 0;
    flex-basis: 0;
  }
}

.adm-body {
  padding: 18px 16px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .adm-body {
    padding: 26px 28px 72px;
  }
}

.adm-panel {
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  min-width: 0;
}

.adm-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--adm-line);
}

.adm-panel__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.adm-kpi {
  padding: 14px;
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 6px;
}
.adm-kpi__label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adm-muted);
}
.adm-kpi__value {
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.2;
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.adm-kpi__hint {
  font-size: 0.72rem;
  color: var(--adm-muted);
  margin-top: 4px;
}

.adm-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 640px;
}
.adm-table th {
  text-align: start;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--adm-muted);
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: 1px solid var(--adm-line);
  white-space: nowrap;
}
.adm-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--adm-line);
  vertical-align: middle;
}
/* Sticky header row (in addition to --sticky's sticky first two columns)
   so long catalogs keep column labels visible on vertical scroll, matching
   the real AutoDS products table. */
.adm-table--sticky thead th,
.adm-table--stickyhead thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--adm-panel);
}
.adm-table tr:last-child td {
  border-bottom: 0;
}

.adm-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--adm-line-strong);
  color: var(--adm-muted);
  white-space: nowrap;
}
.adm-badge[data-tone="ok"] {
  color: var(--adm-ok);
  border-color: color-mix(in srgb, var(--adm-ok) 35%, transparent);
  background: color-mix(in srgb, var(--adm-ok) 8%, transparent);
}
.adm-badge[data-tone="warn"] {
  color: var(--adm-warn);
  border-color: color-mix(in srgb, var(--adm-warn) 35%, transparent);
  background: color-mix(in srgb, var(--adm-warn) 8%, transparent);
}
.adm-badge[data-tone="err"] {
  color: var(--adm-err);
  border-color: color-mix(in srgb, var(--adm-err) 35%, transparent);
  background: color-mix(in srgb, var(--adm-err) 8%, transparent);
}
.adm-badge[data-tone="info"] {
  color: var(--adm-info);
  border-color: color-mix(in srgb, var(--adm-info) 35%, transparent);
  background: color-mix(in srgb, var(--adm-info) 8%, transparent);
}

.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  font-size: 0.8rem;
  font-weight: 650;
  border-radius: 4px;
  border: 1px solid var(--adm-line-strong);
  background: var(--adm-panel);
  color: var(--adm-ink);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.167s ease,
    border-color 0.167s ease;
}
.adm-btn:hover {
  border-color: var(--adm-ink);
}
.adm-btn[data-variant="primary"] {
  background: var(--adm-ink);
  border-color: var(--adm-ink);
  color: #fff;
}
.adm-btn[data-variant="danger"] {
  color: var(--adm-err);
  border-color: color-mix(in srgb, var(--adm-err) 40%, transparent);
}
.adm-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.adm-btn.adm-mobile-only {
  display: inline-flex;
}
@media (min-width: 1024px) {
  .adm-btn.adm-mobile-only {
    display: none;
  }
}

.adm-input,
.adm-select {
  height: 34px;
  width: 100%;
  padding: 0 10px;
  font-size: 0.84rem;
  border: 1px solid var(--adm-line-strong);
  border-radius: 4px;
  background: var(--adm-panel);
  color: var(--adm-ink);
}
.adm-input:focus,
.adm-select:focus {
  outline: 2px solid color-mix(in srgb, var(--adm-accent) 40%, transparent);
  outline-offset: 1px;
}

.adm-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.adm-field > span {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--adm-muted);
}

.adm-skeleton {
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, #eceae6, #f5f4f1, #eceae6);
  background-size: 200% 100%;
  animation: adm-shimmer 1.2s infinite linear;
}
@keyframes adm-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.adm-state {
  padding: 32px 18px;
  text-align: center;
  color: var(--adm-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.adm-state strong {
  color: var(--adm-ink);
  font-size: 0.95rem;
}

/* ---- Product Workspace header (AutoDS-style product banner) ---- */
.pw-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pw-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.pw-header__nav {
  display: flex;
  gap: 8px;
}
.pw-header__main {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  padding: 14px;
}
.pw-header__image {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--adm-line);
  flex-shrink: 0;
}
.pw-header__info {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pw-header__info h1 {
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.35;
}
.pw-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 0.78rem;
  color: var(--adm-muted);
}
.pw-header__meta a {
  color: var(--adm-accent);
  text-decoration: none;
}
.pw-header__meta a:hover {
  text-decoration: underline;
}
.pw-header__meta--sub {
  font-size: 0.72rem;
  margin-top: 2px;
}
.pw-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pw-savebar {
  font-size: 0.74rem;
  color: var(--adm-muted);
}
.pw-savebar[data-state="saved"] {
  color: var(--adm-ok);
}
.pw-savebar[data-state="error"] {
  color: var(--adm-err);
}

/* ---- Variant cards (AutoDS-style: thumbnail + attribute + stock + price + edit) ---- */
.pw-varlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Tailwind v4 puts its generated utilities (including md:hidden) in a low-
   priority CSS cascade layer, while this file's plain rules are unlayered —
   per the CSS Cascade Layers spec, an unlayered rule always wins over a
   layered one regardless of source order or matching specificity. That made
   `.pw-varlist md:hidden` (the mobile-only product card list) stay visible
   even on desktop, duplicating the products table underneath it (found live
   2026-09-16, /admin/products/). Fixed by keeping the hide-on-desktop rule
   in this same unlayered stylesheet instead of relying on the layered
   Tailwind utility, so plain CSS specificity decides correctly. Only
   applies to elements carrying BOTH classes — the always-visible
   .pw-varlist usage on the product detail page (no --mobile-only class) is
   untouched. */
@media (min-width: 768px) {
  .pw-varlist.pw-varlist--mobile-only {
    display: none;
  }
}
.pw-varcard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  background: var(--adm-panel);
}
.pw-varcard__thumb {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  object-fit: cover;
  background: var(--adm-line);
  flex-shrink: 0;
}
.pw-varcard__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pw-varcard__label {
  font-size: 0.84rem;
  font-weight: 650;
}
.pw-varcard__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--adm-muted);
}
.pw-varcard__price {
  font-size: 0.84rem;
  font-weight: 650;
  white-space: nowrap;
}

/* New card layout for the mobile products list only (2026-09-24), matching
   a reference screenshot: thumbnail+select at the right, price at the far
   left, name/badges in between, then a divider and a supplier/SKU footer
   row. Deliberately a NEW class family, not a `.pw-varcard` restyle — that
   class is shared with admin.products.$id.tsx, admin.supplier-engine.products.tsx
   and client.products.tsx, which must not be touched by this. */
.pw-prodcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 8px;
  border: 1px solid var(--adm-line);
  border-radius: 8px;
  background: var(--adm-panel);
}
.pw-prodcard__top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pw-prodcard__check {
  flex-shrink: 0;
  margin-top: 2px;
}
.pw-prodcard__thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--adm-line);
  display: block;
  flex-shrink: 0;
}
.pw-prodcard__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.pw-prodcard__name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}
.pw-prodcard__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pw-prodcard__price {
  font-size: 1rem;
  font-weight: 750;
  white-space: nowrap;
  flex-shrink: 0;
}
.pw-prodcard__divider {
  height: 1px;
  background: var(--adm-line);
  margin: 0 -2px;
}
.pw-prodcard__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--adm-muted);
  min-width: 0;
}
.pw-prodcard__note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  flex-shrink: 0;
}
.pw-prodcard__suppliername {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90px;
  flex-shrink: 0;
}
.pw-prodcard__sku {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-shrink: 1;
}
.pw-prodcard__skunum {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
a.pw-prodcard__skunum:hover {
  color: var(--adm-accent);
  text-decoration: underline;
}
.pw-prodcard__copy {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
}
.pw-prodcard__copy:hover {
  color: var(--adm-accent);
}

/* Mobile draft list + card (2026-09-24) — same outer gutter/background as
   the products mobile list (.pw-varlist usage), applied responsively since
   this list has no separate desktop/mobile DOM split at the list level
   (only inside DraftRowCard, per row). */
.pw-draftlist {
  display: block;
}
@media (max-width: 767px) {
  .pw-draftlist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }
}

/* Wallets stay a real horizontal data table on mobile. The scroll affordance
   is available by touch but the visual scrollbar is hidden consistently. */
.admin-wallet-detail { gap: 22px; padding-top: 6px; }
.admin-wallet-balance-card,
.admin-wallet-action-card,
.admin-wallet-identity {
  border-radius: 12px;
  box-shadow: 0 9px 24px rgba(22, 32, 58, .07), 0 1px 3px rgba(22, 32, 58, .05);
}
.admin-wallet-detail .adm-table-scroll,
.admin-wallet-detail .adm-tabs { scrollbar-width: none; }
.admin-wallet-detail .adm-table-scroll::-webkit-scrollbar,
.admin-wallet-detail .adm-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 767px) {
  .admin-wallet-table,
  .admin-wallet-ledger-table { min-width: 820px !important; }
  .admin-wallet-table thead,
  .admin-wallet-ledger-table thead { display: table-header-group; }
  .admin-wallet-table tbody,
  .admin-wallet-ledger-table tbody { display: table-row-group; }
  .admin-wallet-table tr,
  .admin-wallet-ledger-table tr { display: table-row; margin: 0; padding: 0; width: auto; border: 0; background: transparent; }
  .admin-wallet-table td,
  .admin-wallet-ledger-table td {
    display: table-cell; width: auto; padding: 11px 13px; border-bottom: 1px solid var(--adm-line);
    text-align: start; white-space: nowrap;
  }
  .admin-wallet-table td[data-label]::before,
  .admin-wallet-ledger-table td[data-label]::before { content: none; display: none; }
  .admin-wallet-table td .adm-btn,
  .admin-wallet-ledger-table td .adm-btn { width: auto; }
  .admin-wallet-detail .adm-tabs { white-space: nowrap; }
}
/* Per-row outer wrapper: desktop keeps its divider-row bottom border;
   mobile drops it since `.pw-draftcard` below already draws its own full
   border/radius — matching `.pw-prodcard`'s look exactly, without an extra
   line underneath it. */
.adm .pw-draftitem {
  border-bottom: 1px solid var(--adm-line);
}
@media (max-width: 767px) {
  .adm .pw-draftitem {
    border-bottom: none;
  }
}
/* Card itself: identical shape/size to `.pw-prodcard` (same padding/border/
   radius/background) — reuses its __thumb/__divider/__badges/__name/
   __suppliername pieces too. Its own top/main/bottom/checkcol/actions
   containers hold drafts' own actions (expand/note/menu/publish) instead
   of a price/SKU. */
.pw-draftcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 8px;
  border: 1px solid var(--adm-line);
  border-radius: 8px;
  background: var(--adm-panel);
}
.pw-draftcard__top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
/* Stretches to the row's full height (row height is set by the
   thumbnail/name column) so `justify-content: space-between` can pin the
   checkbox+arrow group to the top and the variants text to the bottom,
   snug against the divider below — a live, precise request, not just
   `align-items: center`. */
.pw-draftcard__checkcol {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  flex-shrink: 0;
}
.pw-draftcard__checktop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
/* Slightly bigger than the standard 15px mobile checkbox, per live request —
   scoped to this column only (descendant selector beats the plain
   `.adm-checkbox` rule regardless of source order, same reasoning as the
   other high-specificity overrides in this file). */
.pw-draftcard__checkcol .adm-checkbox,
.pw-draftcard__checkcol .adm-checkbox__box {
  width: 17px;
  height: 17px;
}
.pw-draftcard__checkcol .adm-checkbox__check {
  width: 12px;
  height: 12px;
}
.pw-draftcard__variants {
  font-size: 0.62rem;
  color: var(--adm-muted);
  white-space: nowrap;
}
.pw-draftcard__main {
  all: unset;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
/* Long destination URLs (e.g. "יעד: blanchedalmond-buffalo-
   753732.hostingersite.com") wrap up to 2 lines; only text beyond that
   clips with an ellipsis, instead of pushing the card taller indefinitely —
   live request: "יעד שתי שורות, ורק את הקצה אם ארוך מדי שוברים". */
.pw-draftcard__meta {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.72rem;
  color: var(--adm-muted);
}
.pw-draftcard__expand {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  margin-top: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  cursor: pointer;
}
.pw-draftcard__actions {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 4px;
  flex-shrink: 0;
}
/* Higher specificity than `.adm .adm-btn` (which several theme layers set
   height/radius on) so this shrink actually wins regardless of source
   order — same defensive pattern as `.pw-draftrow` above. */
.adm .adm-btn.pw-draftcard__publish {
  height: 20px;
  padding: 0 8px;
  font-size: 0.66rem;
  border-radius: 5px;
}
.pw-draftcard__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--adm-muted);
}
.pw-draftcard__source {
  color: inherit;
  text-decoration: underline;
  white-space: nowrap;
}

.pw-varcard__edit {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 8px;
  padding: 10px;
  margin-top: 6px;
  border-top: 1px dashed var(--adm-line);
}

/* Variant pricing editor — the same calm, data-dense proportions as the
   referenced AutoDS dialog, expressed in NOVA's own visual language. */
.pw-pricing-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(19 25 39 / 52%);
  backdrop-filter: blur(2px);
}
.pw-pricing-modal {
  width: min(780px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  direction: rtl;
  border: 1px solid var(--adm-line);
  border-radius: 10px;
  background: var(--adm-panel);
  color: var(--adm-fg);
  box-shadow: 0 26px 70px rgb(15 23 42 / 28%);
}
.pw-pricing-modal__header,
.pw-pricing-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
}
.pw-pricing-modal__header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.pw-pricing-modal__header p {
  margin: 4px 0 0;
  color: var(--adm-muted);
  font-size: 0.76rem;
}
.pw-pricing-modal__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--adm-muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.pw-pricing-modal__close:hover {
  background: var(--adm-line);
  color: var(--adm-fg);
}
.pw-pricing-modal__summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 28px;
  padding: 12px;
  border: 1px solid var(--adm-line);
  background: color-mix(in srgb, var(--adm-line) 32%, transparent);
}
.pw-pricing-modal__summary img,
.pw-pricing-modal__count {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--adm-panel);
}
.pw-pricing-modal__count {
  display: grid;
  place-items: center;
  color: var(--adm-accent);
  font-size: 1.35rem;
  font-weight: 800;
}
.pw-pricing-modal__identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pw-pricing-modal__identity strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}
.pw-pricing-modal__identity span {
  color: var(--adm-muted);
  font-size: 0.72rem;
  text-align: right;
}
.pw-pricing-modal__profit {
  min-width: 118px;
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--adm-line);
}
.pw-pricing-modal__profit span {
  display: block;
  color: var(--adm-muted);
  font-size: 0.72rem;
}
.pw-pricing-modal__profit strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  direction: ltr;
  text-align: right;
}
.pw-pricing-modal__tabs {
  margin: 16px 28px 0;
  border-bottom: 1px solid var(--adm-line);
}
.pw-pricing-modal__tabs strong {
  display: inline-block;
  padding: 10px 20px 11px;
  border-bottom: 3px solid var(--adm-accent);
  color: var(--adm-accent);
  font-size: 0.82rem;
}
.pw-pricing-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 12px;
  padding: 22px 28px 26px;
}
.pw-pricing-modal__grid .adm-input {
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.pw-pricing-modal__grid .adm-input[readonly] {
  background: color-mix(in srgb, var(--adm-line) 35%, transparent);
  color: var(--adm-muted);
}
.pw-pricing-modal__notice {
  margin: -8px 28px 20px;
  color: var(--adm-warn);
  font-size: 0.75rem;
}
.pw-pricing-modal__footer {
  justify-content: flex-start;
  border-top: 1px solid var(--adm-line);
}
.pw-pricing-modal__footer .adm-btn[data-variant="primary"] {
  min-width: 148px;
}
@media (max-width: 680px) {
  .pw-pricing-overlay {
    padding: 10px;
  }
  .pw-pricing-modal {
    width: 100%;
    max-height: calc(100vh - 20px);
  }
  .pw-pricing-modal__header,
  .pw-pricing-modal__footer {
    padding: 18px;
  }
  .pw-pricing-modal__summary {
    margin-inline: 18px;
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .pw-pricing-modal__summary img,
  .pw-pricing-modal__count {
    width: 44px;
    height: 44px;
  }
  .pw-pricing-modal__profit {
    grid-column: 1 / -1;
    border-inline-start: 0;
    border-top: 1px solid var(--adm-line);
    padding: 10px 0 0;
  }
  .pw-pricing-modal__tabs {
    margin-inline: 18px;
  }
  .pw-pricing-modal__grid {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
  }
  .pw-pricing-modal__notice {
    margin-inline: 18px;
  }
}
@media (max-width: 440px) {
  .pw-pricing-modal__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Tabs (Product Workspace) ---- */
.adm-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 6px 10px 0;
  border-bottom: 1px solid var(--adm-line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
@media (min-width: 900px) {
  .adm-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.adm-tabs__btn {
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--adm-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.adm-tabs__btn:hover {
  color: var(--adm-ink);
}
.adm-tabs__btn[data-active="true"] {
  color: var(--adm-ink);
  border-bottom-color: var(--adm-accent);
}

/* ---- Sticky first two columns (checkbox + product) for the wide products table ----
   Logical inset so the frozen columns stay on the reading-start edge in
   Hebrew (RTL) exactly as they do in English. */
.adm-table--sticky th:nth-child(1),
.adm-table--sticky td:nth-child(1) {
  position: sticky;
  inset-inline-start: 0;
  z-index: 2;
  background: var(--adm-panel);
}
.adm-table--sticky th:nth-child(2),
.adm-table--sticky td:nth-child(2) {
  position: sticky;
  inset-inline-start: 40px;
  z-index: 2;
  background: var(--adm-panel);
  box-shadow: 1px 0 0 var(--adm-line);
}
.adm-table--sticky th:nth-child(1),
.adm-table--sticky th:nth-child(2) {
  z-index: 5;
}

/* ---- Products list toolbar (AutoDS-style dense filter bar) ---- */
.pw-products-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--adm-line);
}
.pw-products-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}
.pw-products-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
}
.pw-filter {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 130px;
}
.pw-filter > span {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--adm-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .pw-filter {
    flex: 1 1 45%;
    min-width: 0;
  }
}

/* ---- Bulk-select toolbar ---- */
.adm-bulkbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--adm-line);
  background: color-mix(in srgb, var(--adm-accent) 5%, var(--adm-panel));
  font-size: 0.8rem;
}
/* Always present once a list loads (matches AutoDS's own "0 Results
   Selected | Bulk Edit | Bulk Delete" row) — muted/flat until something
   is actually selected, so it doesn't read as an alert when idle. */
.adm-bulkbar[data-empty="true"] {
  background: var(--adm-panel);
  color: var(--adm-muted);
}

.adm-sort-th {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
}
.adm-sort-th:hover {
  color: var(--adm-ink);
}

/* ---- Shared Modal (replaces one-off overlay markup) ---- */
.adm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 15, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 16px 16px;
  z-index: 1000;
  overflow-y: auto;
}
.adm-modal {
  background: var(--adm-panel);
  border-radius: 6px;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 84vh;
  box-shadow:
    0 1px 6px rgba(20, 19, 15, 0.06),
    0 20px 60px rgba(20, 19, 15, 0.22);
}
.adm-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--adm-line);
  flex-shrink: 0;
}
.adm-modal__title {
  font-size: 0.92rem;
  font-weight: 700;
}
.adm-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--adm-muted);
  cursor: pointer;
}
.adm-modal__close:hover {
  background: var(--adm-bg);
  color: var(--adm-ink);
}
.adm-modal__body {
  padding: 16px;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.adm-modal__foot {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid var(--adm-line);
  flex-shrink: 0;
}

.adm-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}
.adm-confirm {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.adm-confirm__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--adm-accent);
  background: color-mix(in srgb, var(--adm-accent) 10%, var(--adm-panel));
  border: 1px solid color-mix(in srgb, var(--adm-accent) 24%, var(--adm-line));
}
.adm-confirm__icon[data-tone="danger"] {
  color: #b42318;
  background: #fff3f1;
  border-color: #f4c7c1;
}
.adm-confirm__icon[data-tone="warning"] {
  color: #9a6700;
  background: #fff8e6;
  border-color: #ecd79b;
}
.adm-confirm__description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--adm-fg);
}
.adm-confirm__detail {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--adm-line) 32%, transparent);
  color: var(--adm-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
.adm-return-detail {
  display: grid;
  gap: 14px;
}
.adm-return-detail section {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--adm-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--adm-panel) 92%, var(--adm-line));
}
.adm-return-detail h3 {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 800;
}
.adm-return-detail__row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: center;
  font-size: 0.8rem;
}
.adm-return-detail__row dt {
  color: var(--adm-muted);
}
.adm-return-detail__row dd {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.adm-return-detail__row dd .adm-badge {
  min-width: 44px;
  justify-content: center;
  padding: 2px 8px;
  font-size: 0.66rem;
}
.adm-return-detail__row dt::after {
  content: ":";
}
.adm-dialog-actions--spread {
  width: 100%;
  justify-content: space-between;
}

@media (min-width: 720px) {
  .adm-return-detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (max-width: 719px) {
  .adm-dialog-actions--spread {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .adm-dialog-actions--spread > div {
    display: grid;
    grid-template-columns: 1fr;
  }
  .adm-dialog-actions--spread .adm-btn {
    width: 100%;
    justify-content: center;
  }
}
.adm-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--adm-line);
  border-radius: 12px;
}
.adm-setting-row span {
  display: grid;
  gap: 3px;
}
.adm-setting-row strong {
  font-size: 0.84rem;
}
.adm-setting-row small {
  color: var(--adm-muted);
  line-height: 1.5;
}

/* ---- Shared Drawer (right/left-sliding panel, RTL-aware) ---- */
.adm-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 15, 0.4);
  z-index: 1000;
}
.adm-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(92vw, 420px);
  background: var(--adm-panel);
  box-shadow:
    0 1px 6px rgba(20, 19, 15, 0.06),
    -12px 0 40px rgba(20, 19, 15, 0.18);
  display: flex;
  flex-direction: column;
  z-index: 1001;
}
[dir="rtl"] .adm-drawer {
  box-shadow:
    0 1px 6px rgba(20, 19, 15, 0.06),
    12px 0 40px rgba(20, 19, 15, 0.18);
}
.adm-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--adm-line);
  flex-shrink: 0;
}
.adm-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
}
.adm-drawer__foot {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid var(--adm-line);
  flex-shrink: 0;
}

/* ---- Toasts (real-data notifications only) ---- */
.adm-toasts {
  position: fixed;
  bottom: 18px;
  inset-inline-end: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(92vw, 340px);
}
.adm-toast {
  background: var(--adm-ink);
  color: var(--adm-panel);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow:
    0 1px 6px rgba(20, 19, 15, 0.06),
    0 10px 30px rgba(20, 19, 15, 0.2);
  animation: adm-toast-in 0.18s ease;
}
.adm-toast[data-tone="ok"] {
  background: var(--adm-ok);
}
.adm-toast[data-tone="err"] {
  background: var(--adm-err);
}
.adm-toast[data-tone="info"] {
  background: var(--adm-info);
}
@keyframes adm-toast-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- StatusIndicator (dot + label, lighter than Badge) ---- */
.adm-statusind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}
.adm-statusind__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--adm-line-strong);
  flex-shrink: 0;
}
.adm-statusind__dot[data-tone="ok"] {
  background: var(--adm-ok);
}
.adm-statusind__dot[data-tone="warn"] {
  background: var(--adm-warn);
}
.adm-statusind__dot[data-tone="err"] {
  background: var(--adm-err);
}
.adm-statusind__dot[data-tone="info"] {
  background: var(--adm-info);
}

/* ---- Tooltip (replaces bare title= on icon-only controls) ---- */
.adm-tooltip {
  position: relative;
  display: inline-flex;
}
.adm-tooltip__bubble {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--adm-ink);
  color: var(--adm-panel);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
}

/* ---- Compact stat rail (real computed counts, not a Dashboard duplicate) ---- */
.adm-statrail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.adm-statcard {
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm-statcard__value {
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1;
}
.adm-statcard__label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--adm-muted);
}
.adm-statcard[data-tone="err"] .adm-statcard__value {
  color: var(--adm-err);
}
.adm-statcard[data-tone="warn"] .adm-statcard__value {
  color: var(--adm-warn);
}
.adm-statcard[data-tone="info"] .adm-statcard__value {
  color: var(--adm-info);
}

/* ---- Active filter chips (removable), distinct from the filter controls themselves ---- */
.adm-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.adm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 6px 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--adm-accent) 8%, var(--adm-panel));
  border: 1px solid color-mix(in srgb, var(--adm-accent) 25%, transparent);
  color: var(--adm-ink);
}
.adm-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: none;
  background: color-mix(in srgb, var(--adm-ink) 10%, transparent);
  color: inherit;
  cursor: pointer;
  font-size: 0.65rem;
  line-height: 1;
  padding: 0;
}
.adm-chip button:hover {
  background: color-mix(in srgb, var(--adm-ink) 20%, transparent);
}

/* ---- Dropdown menu (three-dot row actions, etc.) ---- */
.adm-menu {
  position: relative;
  display: inline-flex;
}
.adm-menu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--adm-muted);
  cursor: pointer;
}
.adm-menu__trigger:hover {
  background: var(--adm-bg);
  border-color: var(--adm-line);
  color: var(--adm-ink);
}
.adm-menu__panel {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-end: 0;
  min-width: 152px;
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  box-shadow:
    0 1px 6px rgba(20, 19, 15, 0.06),
    0 8px 24px rgba(20, 19, 15, 0.14);
  padding: 3px;
  z-index: 20;
}
.adm-menu__item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 5px;
  border: none;
  background: none;
  font-size: 0.78rem;
  color: var(--adm-ink);
  text-align: start;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.adm-menu__item:hover {
  background: var(--adm-bg);
}

/* ---- Supplier Engine → Products: card-based workspace (deliberately NOT
   a spreadsheet — this screen is about the supplier relationship, Commerce
   → Products already owns the dense catalog table) ---- */
.se-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 14px;
}
.se-product-card {
  display: flex;
  flex-direction: column;
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  overflow: hidden;
  transition:
    box-shadow 0.167s ease,
    border-color 0.167s ease,
    transform 0.167s ease;
}
.se-product-card:hover {
  border-color: var(--adm-line-strong);
  box-shadow:
    0 1px 6px rgba(20, 19, 15, 0.05),
    0 6px 20px rgba(20, 19, 15, 0.08);
  transform: translateY(-1px);
}
/* Image-forward tile, matching the real AutoDS/marketplace product-tile
   pattern (large square image first, info stacked below) rather than a
   small thumbnail beside a text row — see docs/AUTODS-DESIGN.md. */
.se-product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--adm-bg);
  overflow: hidden;
}
.se-product-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.se-product-card:hover .se-product-card__img {
  transform: scale(1.04);
}
.se-product-card__img--empty {
  background: var(--adm-line);
}
/* Corner status ribbon over the image — same real-data monitor status as
   before, moved to an overlay badge (AutoDS-style corner tag on its own
   product tiles) instead of a plain footer row. */
.se-product-card__ribbon {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 650;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--adm-panel) 88%, transparent);
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 4px rgba(20, 19, 15, 0.12);
}
/* Row actions revealed on hover/focus, matching AutoDS's hover-reveal
   action pattern rather than a permanently-visible icon competing with
   the image. Kept focusable (opacity, not display) for keyboard users. */
.se-product-card__menu-overlay {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  opacity: 0;
  transition: opacity 0.167s ease;
}
.se-product-card:hover .se-product-card__menu-overlay,
.se-product-card__menu-overlay:focus-within {
  opacity: 1;
}
.se-product-card__menu-overlay .adm-menu__trigger {
  background: color-mix(in srgb, var(--adm-panel) 88%, transparent);
  backdrop-filter: blur(2px);
  border: 1px solid var(--adm-line);
}
.se-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 12px;
}
.se-product-card__title {
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  color: var(--adm-ink);
}
.se-product-card__title:hover {
  text-decoration: underline;
}
.se-product-card__supplier {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--adm-muted);
}
.se-product-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
  background: var(--adm-line-strong);
}
.se-product-card__dot[data-tone="ok"] {
  background: var(--adm-ok);
}
.se-product-card__dot[data-tone="err"] {
  background: var(--adm-err);
}
.se-product-card__dot[data-tone="warn"] {
  background: var(--adm-warn);
}
.se-product-card__dot[data-tone="info"] {
  background: var(--adm-info);
}
/* Price is the single most prominent line under the title, matching the
   real AutoDS product-tile hierarchy (price + stock badge inline, ahead
   of everything else) rather than a flat 3-column stat table. */
.se-product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}
.se-product-card__price {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.se-product-card__badgerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}
.se-product-card__meta {
  font-size: 0.7rem;
  color: var(--adm-muted);
  white-space: nowrap;
}

/* ---- Filter chips ---- */
.adm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--adm-line-strong);
  background: var(--adm-panel);
  color: var(--adm-ink);
}
.adm-chip button {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--adm-muted);
  font-size: 0.9em;
  line-height: 1;
}

.adm-demo {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--adm-warn);
  border: 1px dashed color-mix(in srgb, var(--adm-warn) 45%, transparent);
  padding: 2px 8px;
  border-radius: 3px;
}

/* ============================================================
   AutoDS-grade polish layer (tokens extracted in
   docs/AUTODS-DESIGN-EXTRACT.md: motion 167ms/300ms, radius 4/30/50,
   layered soft shadows, focus-visible everywhere, dense controls).
   Presentation only — no layout or behaviour is redefined here.
   ============================================================ */

.adm {
  --adm-fast: 167ms;
  --adm-slow: 300ms;
  --adm-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --adm-r-xs: 4px;
  --adm-r-pill: 999px;
  --adm-sh-1: rgba(20, 19, 15, 0.04) 0 1px 2px 0;
  --adm-sh-2: rgba(20, 19, 15, 0.06) 0 1px 6px 0, rgba(20, 19, 15, 0.08) 0 8px 24px -8px;
  --adm-sh-3: rgba(20, 19, 15, 0.1) 0 2px 8px 0, rgba(20, 19, 15, 0.16) 0 18px 44px -12px;
}

@media (prefers-reduced-motion: no-preference) {
  .adm .adm-btn,
  .adm .adm-nav a,
  .adm .adm-chip,
  .adm .adm-menu__item,
  .adm .adm-tabs__btn,
  .adm .adm-input,
  .adm .adm-select,
  .adm .adm-statcard,
  .adm .adm-panel,
  .adm .adm-table tbody tr,
  .adm .se-product-card {
    transition:
      background-color var(--adm-fast) var(--adm-ease),
      border-color var(--adm-fast) var(--adm-ease),
      color var(--adm-fast) var(--adm-ease),
      box-shadow var(--adm-slow) var(--adm-ease),
      transform var(--adm-slow) var(--adm-ease);
  }
}

/* Consistent, always-visible keyboard focus (WCAG 2.2 AA). */
.adm :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--adm-accent);
  outline-offset: 2px;
  border-radius: var(--adm-r-xs);
}
.adm :is(a, button, input, select, textarea):focus:not(:focus-visible) {
  outline: none;
}

/* Buttons: crisper resting state, real hover lift, physical press. */
.adm .adm-btn {
  box-shadow: var(--adm-sh-1);
}
.adm .adm-btn:hover:not(:disabled) {
  box-shadow: var(--adm-sh-2);
  transform: translateY(-1px);
}
.adm .adm-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}
.adm .adm-btn:disabled {
  box-shadow: none;
  transform: none;
}

/* Panels and stat cards read as one elevation family. */
.adm .adm-panel {
  box-shadow: var(--adm-sh-1);
}
.adm .adm-statcard:hover {
  box-shadow: var(--adm-sh-2);
  transform: translateY(-1px);
}

/* Dense data tables: quiet row hover instead of flat rows. */
.adm .adm-table tbody tr:hover {
  background: rgba(59, 74, 122, 0.045);
}

/* Sidebar navigation: smooth active/hover, no jumpy repaint. */
.adm .adm-nav a:hover {
  transform: translateX(0);
}
[dir="rtl"] .adm .adm-nav a[data-active="true"],
.adm .adm-nav a[data-active="true"] {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Overlays: layered shadows, softer entrance. */
.adm-modal,
.adm-drawer,
.adm-menu__panel,
.adm-toast {
  box-shadow: var(--adm-sh-3);
}

@media (prefers-reduced-motion: no-preference) {
  .adm-modal {
    animation: adm-pop var(--adm-slow) var(--adm-ease);
  }
  .adm-menu__panel {
    animation: adm-pop var(--adm-fast) var(--adm-ease);
  }
  .adm-toast {
    animation: adm-slide var(--adm-slow) var(--adm-ease);
  }
  .adm-overlay,
  .adm-drawer-overlay {
    animation: adm-fade var(--adm-fast) var(--adm-ease);
  }
}

@keyframes adm-pop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }
}
@keyframes adm-slide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes adm-fade {
  from {
    opacity: 0;
  }
}

/* Skeletons shimmer instead of blinking. */
@media (prefers-reduced-motion: no-preference) {
  .adm-skeleton {
    background-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.65) 50%,
      transparent 100%
    );
    background-size: 200% 100%;
    animation: adm-shimmer 1.2s linear infinite;
  }
}
@keyframes adm-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* Thin, product-grade scrollbars in every admin scroll area. */
.adm .adm-scroll,
.adm .adm-side__scroll,
.adm .adm-modal__body,
.adm .adm-drawer__body,
.adm .adm-body {
  scrollbar-width: thin;
  scrollbar-color: var(--adm-line-strong) transparent;
  scroll-behavior: smooth;
}
.adm .adm-scroll::-webkit-scrollbar,
.adm .adm-side__scroll::-webkit-scrollbar,
.adm .adm-modal__body::-webkit-scrollbar,
.adm .adm-drawer__body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.adm .adm-scroll::-webkit-scrollbar-thumb,
.adm .adm-side__scroll::-webkit-scrollbar-thumb,
.adm .adm-modal__body::-webkit-scrollbar-thumb,
.adm .adm-drawer__body::-webkit-scrollbar-thumb {
  background: var(--adm-line-strong);
  border-radius: var(--adm-r-pill);
}
.adm .adm-side__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
}
.adm .adm-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* Sidebar nav scrollbar: thin (6px), no horizontal scroll, on the left
   edge in RTL (default browser placement). Presentation only. */
.adm .adm-side__scroll {
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.adm .adm-side__scroll::-webkit-scrollbar {
  width: 6px;
  height: 0;
}
.adm .adm-side__scroll::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}
.adm .adm-side__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border: 0;
  border-radius: 999px;
}
.adm .adm-side__scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.36);
}

/* Sticky chrome sits above scrolled content with a hairline, not a slab. */
.adm .adm-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(1.1) blur(8px);
  background: color-mix(in srgb, var(--adm-panel) 88%, transparent);
}

/* ---------------- Sidebar identity block + primary CTA ---------------- */
.adm-side__store {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin: 0 10px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--adm-sidebar-ink);
  font-size: 12px;
  min-width: 0;
}
.adm-side__store span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-side__avatar {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  background: color-mix(in srgb, var(--adm-accent) 60%, #fff);
  color: #fff;
}
.adm-side__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 10px 12px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: color-mix(in srgb, var(--adm-accent) 78%, #fff);
  transition:
    transform var(--adm-fast, 167ms) ease,
    filter var(--adm-fast, 167ms) ease;
}
.adm-side__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ---------------- Mobile bottom nav ---------------- */
.adm-bottomnav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: var(--adm-sidebar);
  color: var(--adm-sidebar-ink);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-bottomnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 2px;
  font-size: 10px;
  color: var(--adm-sidebar-ink);
}
.adm-bottomnav a[data-active="true"] {
  color: #fff;
}
.adm-bottomnav .adm-bottomnav__fab {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--adm-accent) 78%, #fff);
  color: #fff;
  display: grid;
  place-items: center;
  justify-self: center;
  padding: 0;
}
@media (min-width: 1024px) {
  .adm-bottomnav {
    display: none;
  }
}
@media (max-width: 1023px) {
  .adm-body {
    padding-bottom: 72px;
  }
}

/* ===== Admin / customer wallet control center ===== */
.admin-wallet-detail {
  display: grid;
  gap: 16px;
}
.admin-wallet-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--adm-line);
  border-radius: 8px;
  background: var(--adm-panel-2);
}
.admin-wallet-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.admin-wallet-balance-card {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--adm-line);
  border-radius: 8px;
  background: var(--adm-panel);
}
.admin-wallet-balance-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: var(--adm-accent);
}
.admin-wallet-balance-card span {
  color: var(--adm-muted);
  font-size: 0.72rem;
  font-weight: 650;
}
.admin-wallet-balance-card strong {
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}
.admin-wallet-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 12px;
}
.admin-wallet-action-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--adm-line);
  border-radius: 8px;
  background: var(--adm-panel);
}
.admin-wallet-action-card[data-danger="true"] {
  border-color: color-mix(in srgb, var(--adm-err) 40%, var(--adm-line));
  background: color-mix(in srgb, var(--adm-err) 3%, var(--adm-panel));
}
.admin-wallet-action-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
}
.admin-wallet-action-card > p,
.admin-wallet-freeze-meta {
  margin: 0;
  color: var(--adm-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}
.admin-wallet-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  background: var(--adm-panel-2);
}
.admin-wallet-notice {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--adm-line);
  font-size: 0.78rem;
}
.admin-wallet-notice[data-tone="ok"] {
  color: var(--adm-ok);
  border-color: color-mix(in srgb, var(--adm-ok) 35%, transparent);
  background: color-mix(in srgb, var(--adm-ok) 7%, var(--adm-panel));
}
.admin-wallet-notice[data-tone="err"] {
  color: var(--adm-err);
  border-color: color-mix(in srgb, var(--adm-err) 35%, transparent);
  background: color-mix(in srgb, var(--adm-err) 7%, var(--adm-panel));
}
.admin-wallet-security-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 14px 14px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--adm-muted);
  background: var(--adm-panel-2);
  font-size: 0.74rem;
}
.admin-wallet-code {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

@media (max-width: 767px) {
  .admin-wallet-balance-grid,
  .admin-wallet-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-wallet-balance-grid {
    gap: 8px;
  }
  .admin-wallet-balance-card {
    min-height: 76px;
  }
  .admin-wallet-identity {
    align-items: flex-start;
  }
  .admin-wallet-detail .adm-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .admin-wallet-detail .adm-tabs__btn {
    flex: 0 0 auto;
  }
  .admin-wallet-table,
  .admin-wallet-ledger-table {
    min-width: 0 !important;
  }
  .admin-wallet-table thead,
  .admin-wallet-ledger-table thead {
    display: none;
  }
  .admin-wallet-table tbody,
  .admin-wallet-ledger-table tbody,
  .admin-wallet-table tr,
  .admin-wallet-ledger-table tr,
  .admin-wallet-table td,
  .admin-wallet-ledger-table td {
    display: block;
    width: 100%;
  }
  .admin-wallet-table tr,
  .admin-wallet-ledger-table tr {
    margin: 10px;
    width: calc(100% - 20px);
    padding: 10px 12px;
    border: 1px solid var(--adm-line);
    border-radius: 8px;
    background: var(--adm-panel);
  }
  .admin-wallet-table td,
  .admin-wallet-ledger-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--adm-line);
    text-align: end;
    white-space: normal;
  }
  .admin-wallet-table td:last-child,
  .admin-wallet-ledger-table td:last-child {
    border-bottom: 0;
  }
  .admin-wallet-table td[data-label]::before,
  .admin-wallet-ledger-table td[data-label]::before {
    content: attr(data-label);
    flex: 0 0 40%;
    color: var(--adm-muted);
    font-size: 0.68rem;
    font-weight: 650;
    text-align: start;
  }
  .admin-wallet-table td .adm-btn,
  .admin-wallet-ledger-table td .adm-btn {
    width: 100%;
  }
  .admin-wallet-code {
    max-width: 55vw;
  }
}

/* =====================================================================
   NOVA Control Center — unified system theme layer (v3)
   Structure/colors/controls/menus/popups inspired by the reference
   screenshots the store owner supplied. No third-party brand assets or
   code are used; only NOVA content and our own CSS.
   This layer intentionally comes last so it re-themes every admin screen
   at once without touching per-route markup.
   ===================================================================== */

.adm {
  --adm-bg: #f3f6fb;
  --adm-panel: #ffffff;
  --adm-panel-2: #f8fafd;
  --adm-ink: #16203a;
  --adm-muted: #6b7a94;
  --adm-line: #e4eaf3;
  --adm-line-strong: #d2dbe8;
  --adm-sidebar: #101a33;
  --adm-sidebar-2: #16233f;
  --adm-sidebar-ink: #b9c4d8;
  --adm-accent: #f2661f;
  --adm-accent-soft: #fff1e8;
  --adm-blue: #2f6fed;
  --adm-ok: #12805c;
  --adm-warn: #a86a00;
  --adm-err: #c0322b;
  --adm-info: #2f6fed;
  --adm-radius: 10px;
  --adm-shadow-sm: 0 1px 2px rgba(16, 26, 51, 0.05);
  --adm-shadow-md: 0 6px 20px rgba(16, 26, 51, 0.08);
  --adm-shadow-lg: 0 18px 48px rgba(16, 26, 51, 0.18);
  font-family: Inter, Heebo, ui-sans-serif, system-ui, sans-serif;
  font-size: 13.5px;
  -webkit-font-smoothing: antialiased;
}

/* ---- Sidebar ---- */
.adm .adm-side {
  background: linear-gradient(180deg, var(--adm-sidebar-2), var(--adm-sidebar));
  border-inline-start: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 12px;
}
.adm .adm-side__brand {
  letter-spacing: 0.18em;
  padding: 6px 8px 14px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.adm .adm-side__store,
.adm .adm-side__cta {
  border-radius: var(--adm-radius);
}
.adm .adm-side__cta {
  background: var(--adm-accent);
  border: 0;
  color: #fff;
  font-weight: 650;
  box-shadow: 0 6px 16px rgba(242, 102, 31, 0.32);
  transition:
    transform 0.167s ease,
    box-shadow 0.167s ease,
    filter 0.167s ease;
}
.adm .adm-side__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.adm .adm-nav a {
  border-radius: 8px;
  padding: 8px 10px;
  position: relative;
  font-weight: 550;
}
.adm .adm-nav a[data-active="true"] {
  background: rgba(242, 102, 31, 0.14);
  color: #fff;
}
.adm .adm-nav a[data-active="true"]::before {
  content: "";
  position: absolute;
  inset-inline-start: -12px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--adm-accent);
}
[dir="rtl"] .adm .adm-nav a[data-active="true"]::before {
  border-radius: 3px 0 0 3px;
}

/* ---- Topbar ---- */
.adm .adm-topbar {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--adm-line);
  padding: 10px 18px;
  box-shadow: var(--adm-shadow-sm);
}

/* ---- Surfaces ---- */
.adm .adm-panel,
.adm .adm-kpi,
.adm .adm-statcard,
.adm .pw-header__main,
.adm .pw-varcard {
  border-radius: var(--adm-radius);
  border-color: var(--adm-line);
  box-shadow: var(--adm-shadow-sm);
}
.adm .adm-panel__head {
  background: var(--adm-panel-2);
  border-radius: var(--adm-radius) var(--adm-radius) 0 0;
}
.adm .adm-panel__title {
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}
.adm .adm-kpi__value {
  letter-spacing: -0.02em;
}

/* ---- Tables ---- */
.adm .adm-table thead th {
  background: var(--adm-panel-2);
  color: #55637d;
  font-size: 0.68rem;
  padding: 10px 12px;
}
.adm .adm-table td {
  padding: 10px 12px;
  border-bottom-color: var(--adm-line);
}
.adm .adm-table tbody tr {
  transition: background 0.167s ease;
}
.adm .adm-table tbody tr:hover td {
  background: color-mix(in srgb, var(--adm-blue) 4%, transparent);
}
.adm .adm-table--sticky th:nth-child(1),
.adm .adm-table--sticky th:nth-child(2) {
  background: var(--adm-panel-2);
}

/* ---- Buttons ---- */
.adm .adm-btn {
  border-radius: 8px;
  height: 36px;
  font-weight: 600;
  box-shadow: var(--adm-shadow-sm);
  transition:
    background 0.167s ease,
    border-color 0.167s ease,
    transform 0.167s ease,
    box-shadow 0.167s ease;
}
.adm .adm-btn:hover {
  border-color: var(--adm-line-strong);
  background: var(--adm-panel-2);
}
.adm .adm-btn:active {
  transform: translateY(1px);
}
.adm .adm-btn[data-variant="primary"] {
  background: var(--adm-accent);
  border-color: var(--adm-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(242, 102, 31, 0.28);
}
.adm .adm-btn[data-variant="primary"]:hover {
  background: #e05c17;
  border-color: #e05c17;
}
.adm .adm-btn[data-variant="danger"]:hover {
  background: color-mix(in srgb, var(--adm-err) 8%, #fff);
}

/* ---- Inputs / in-app selects (never raw browser chrome) ---- */
.adm .adm-input,
.adm .adm-select,
.adm select,
.adm input[type="text"],
.adm input[type="search"],
.adm input[type="number"],
.adm input[type="email"],
.adm textarea {
  border-radius: 8px;
  border: 1px solid var(--adm-line-strong);
  background: var(--adm-panel);
  color: var(--adm-ink);
  font-family: inherit;
  font-size: 0.85rem;
  transition:
    border-color 0.167s ease,
    box-shadow 0.167s ease;
}
.adm select,
.adm .adm-select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline: 10px 30px;
  background-image:
    linear-gradient(45deg, transparent 50%, #6b7a94 50%),
    linear-gradient(135deg, #6b7a94 50%, transparent 50%);
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  background-position:
    right 14px center,
    right 9px center;
}
[dir="rtl"] .adm select,
[dir="rtl"] .adm .adm-select {
  background-position:
    left 9px center,
    left 14px center;
  padding-inline: 30px 10px;
  text-align: right;
}
.adm .adm-input:focus,
.adm .adm-select:focus,
.adm select:focus,
.adm input:focus,
.adm textarea:focus {
  outline: none;
  border-color: var(--adm-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--adm-blue) 16%, transparent);
}

/* ---- Chips / badges / tabs ---- */
.adm .adm-chip {
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
}
.adm .adm-chip[data-active="true"] {
  background: var(--adm-accent-soft);
  border-color: color-mix(in srgb, var(--adm-accent) 40%, transparent);
  color: #b6480f;
}
.adm .adm-badge {
  border-radius: 6px;
  padding: 3px 8px;
  font-weight: 600;
  letter-spacing: 0;
}
.adm .adm-tabs {
  background: var(--adm-panel-2);
  border-radius: var(--adm-radius) var(--adm-radius) 0 0;
}
.adm .adm-tabs__btn[data-active="true"] {
  color: var(--adm-accent);
  border-bottom-color: var(--adm-accent);
}

/* ---- Popovers / menus ---- */
.adm .adm-menu__panel {
  border-radius: var(--adm-radius);
  border: 1px solid var(--adm-line);
  box-shadow: var(--adm-shadow-md);
  padding: 6px;
  overflow: hidden;
}
.adm .adm-menu__item {
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 0.84rem;
}
.adm .adm-menu__item:hover {
  background: var(--adm-panel-2);
  color: var(--adm-ink);
}

/* ---- Modals / drawers / toasts ---- */
.adm .adm-overlay,
.adm .adm-drawer-overlay {
  background: rgba(16, 26, 51, 0.42);
  backdrop-filter: blur(2px);
}
.adm .adm-modal {
  border-radius: 14px;
  box-shadow: var(--adm-shadow-lg);
  animation: adm-pop 0.2s ease both;
}
.adm .adm-modal__head,
.adm .adm-drawer__head {
  background: var(--adm-panel-2);
}
.adm .adm-modal__foot,
.adm .adm-drawer__foot {
  background: var(--adm-panel-2);
}
.adm .adm-drawer {
  box-shadow: var(--adm-shadow-lg);
}
.adm .adm-toast {
  border-radius: var(--adm-radius);
  box-shadow: var(--adm-shadow-md);
}
@keyframes adm-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Mobile bottom nav ---- */
.adm .adm-bottomnav {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--adm-line);
  box-shadow: 0 -6px 20px rgba(16, 26, 51, 0.08);
  backdrop-filter: blur(8px);
}

/* ---- Misc ---- */
.adm .adm-skeleton {
  background: linear-gradient(90deg, #e8eef7, #f4f7fc, #e8eef7);
  background-size: 200% 100%;
}
.adm ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.adm ::-webkit-scrollbar-thumb {
  background: #cfd8e6;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.adm ::-webkit-scrollbar-thumb:hover {
  background: #b4c1d4;
  background-clip: padding-box;
}

/* Responsive list swap (table on desktop, cards on mobile) — declared here
   so the admin layer always wins over utility ordering. */
.adm .adm-desk-only {
  display: none;
}
.adm .adm-mob-only {
  display: flex;
}
@media (min-width: 768px) {
  .adm .adm-desk-only {
    display: block;
  }
  .adm .adm-mob-only {
    display: none;
  }
}
/* DraftRowCard's desktop row needs `display: flex`, not the generic
   `.adm-desk-only` block value — a higher-specificity override so it wins
   regardless of source order. */
.adm .adm-desk-only.pw-draftrow {
  display: none;
}
@media (min-width: 768px) {
  .adm .adm-desk-only.pw-draftrow {
    display: flex;
  }
}

/* =====================================================================
   Popups & interactions layer — dropdown panels, modals, bulk bar,
   selected rows, hover states and tooltips, styled to the interaction
   reference the store owner supplied (structure only, NOVA visuals).
   ===================================================================== */

/* ---- Dropdown panels: search on top, flat scrollable list ---- */
.adm .adm-menu__panel {
  min-width: 220px;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  padding: 6px;
  background: var(--adm-panel);
}
.adm .adm-menu__panel > .adm-input,
.adm .adm-menu__panel > input[type="search"] {
  position: sticky;
  top: -6px;
  z-index: 1;
  margin-bottom: 6px;
  background: var(--adm-panel-2);
}
.adm .adm-menu__item {
  width: 100%;
  text-align: start;
  color: var(--adm-ink);
  font-weight: 500;
}
.adm .adm-menu__item[data-active="true"] {
  background: var(--adm-accent-soft);
  color: #b6480f;
  font-weight: 600;
}
.adm .adm-menu__item[data-danger="true"] {
  color: var(--adm-err);
}
.adm .adm-menu__trigger[data-open="true"] {
  border-color: var(--adm-accent);
  color: #b6480f;
}
/* Section label inside a menu */
.adm .adm-menu__panel hr {
  border: 0;
  border-top: 1px solid var(--adm-line);
  margin: 6px 4px;
}

/* ---- Modals: airy centered dialog, plain Cancel + filled action ---- */
.adm .adm-overlay {
  align-items: center;
  padding: 24px 16px;
}
.adm .adm-modal {
  max-width: 520px;
}
.adm .adm-modal__head {
  background: var(--adm-panel);
  border-bottom: 0;
  padding: 20px 24px 4px;
}
.adm .adm-modal__title {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.adm .adm-modal__body {
  padding: 16px 24px 20px;
}
.adm .adm-modal__foot {
  background: var(--adm-panel);
  border-top: 1px solid var(--adm-line);
  padding: 14px 24px 18px;
  justify-content: space-between;
  align-items: center;
}
.adm .adm-modal__foot .adm-btn[data-variant="ghost"],
.adm .adm-modal__foot .adm-btn[data-variant="text"] {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  font-weight: 650;
}
.adm .adm-modal__foot .adm-btn[data-variant="primary"] {
  min-width: 118px;
}

/* ---- Bulk selection bar ---- */
.adm .adm-bulkbar {
  gap: 4px 10px;
  padding: 10px 14px;
  font-weight: 600;
  background: var(--adm-panel);
}
/* Live request (2026-09-24, desktop only): a bit more breathing room
   between the bulk-bar's action buttons than the 10px column-gap above.
   `.adm-bulkbar__actions` only had flex/gap rules inside the mobile media
   query before this (it's a bare inline `<span>` otherwise) — needs its own
   flex declaration here for `gap` to do anything at desktop width.
   Mobile's own tuned gap (8px, later in this file) is untouched. */
@media (min-width: 768px) {
  .adm .adm-bulkbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }
}
.adm .adm-bulkbar[data-empty="false"] {
  background: color-mix(in srgb, var(--adm-accent) 6%, var(--adm-panel));
  border-bottom-color: color-mix(in srgb, var(--adm-accent) 30%, transparent);
}
.adm .adm-bulkbar .adm-btn {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  height: 30px;
  padding: 0 10px;
}
.adm .adm-bulkbar .adm-btn:hover {
  background: var(--adm-panel-2);
  border-color: var(--adm-line);
}

/* ---- Selected / hovered table rows ---- */
.adm .adm-table tbody tr[data-selected="true"] td {
  background: color-mix(in srgb, var(--adm-accent) 8%, var(--adm-panel));
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--adm-accent) 26%, transparent);
}
/* Checkbox sizing/color now lives on .adm-checkbox (AdmCheckbox.tsx) —
   the real input here is fully transparent, so this dead rule was removed. */

/* ---- Thumbnail hover (zoom affordance) ---- */
.adm .adm-table td img,
.adm .pw-varcard__thumb {
  border-radius: 8px;
  border: 1px solid var(--adm-line);
  background: var(--adm-panel-2);
  transition:
    transform 0.167s ease,
    box-shadow 0.167s ease;
}
.adm .adm-table td img:hover {
  transform: scale(1.06);
  box-shadow: var(--adm-shadow-md);
}

/* ---- Tooltips ---- */
.adm .adm-tooltip__bubble {
  background: #16203a;
  color: #fff;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 0.74rem;
  box-shadow: var(--adm-shadow-md);
}

/* ---- Toolbar text-actions row ---- */
.adm .pw-products-toolbar {
  background: var(--adm-panel);
  border-radius: var(--adm-radius) var(--adm-radius) 0 0;
}
.adm .adm-chiprow {
  gap: 6px;
}

.adm select,
.adm .adm-select {
  min-width: 104px;
}

/* =====================================================================
   NOVA Control Center — "Professional SaaS console" theme (v4)
   Final layer: graphite/steel surfaces + blue accent, site fonts
   (Heebo headings / Assistant body), denser tables, softer cards,
   full RTL + mobile behaviour. Presentation only.
   ===================================================================== */

.adm {
  --adm-bg: #f5f6f8;
  --adm-panel: #ffffff;
  --adm-panel-2: #f7f8fa;
  --adm-ink: #14161a;
  --adm-muted: #6b7280;
  --adm-line: #e6e8ec;
  --adm-line-strong: #d3d7df;
  --adm-sidebar: #14161a;
  --adm-sidebar-2: #1c1f25;
  --adm-sidebar-ink: #9ca3af;
  --adm-accent: #2f6fea;
  --adm-accent-soft: #eaf1fe;
  --adm-blue: #2f6fea;
  --adm-ok: #17803d;
  --adm-warn: #b45309;
  --adm-err: #b91c1c;
  --adm-info: #2f6fea;
  --adm-radius: 12px;
  --adm-shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.06);
  --adm-shadow-md: 0 8px 24px rgba(20, 22, 26, 0.08);
  --adm-shadow-lg: 0 24px 60px rgba(20, 22, 26, 0.22);
  font-family: Assistant, Heebo, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.adm h1,
.adm h2,
.adm h3,
.adm .adm-kpi__value,
.adm .adm-statcard__value,
.adm .pw-header__info h1,
.adm .adm-panel__title {
  font-family: Heebo, Assistant, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.01em;
}

/* ---- Sidebar ---- */
.adm .adm-side {
  background: var(--adm-sidebar);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.07);
}
.adm .adm-side__cta {
  background: var(--adm-accent);
  box-shadow: 0 6px 18px rgba(47, 111, 234, 0.3);
  border-radius: 10px;
}
.adm .adm-side__cta:hover {
  background: #2560d4;
}
.adm .adm-nav a[data-active="true"] {
  background: rgba(47, 111, 234, 0.16);
}
.adm .adm-nav a[data-active="true"]::before {
  background: var(--adm-accent);
}
.adm .adm-side__group {
  color: rgba(255, 255, 255, 0.32);
}

/* ---- Topbar ---- */
.adm .adm-topbar {
  background: rgba(255, 255, 255, 0.94);
  padding: 10px 20px;
}
.adm .adm-topbar .adm-input {
  background: #f1f2f5;
  border-color: transparent;
  border-radius: 999px;
  padding-inline: 14px;
}
.adm .adm-topbar .adm-input:focus {
  background: #fff;
  border-color: var(--adm-accent);
  outline: 3px solid rgba(47, 111, 234, 0.16);
  outline-offset: 0;
}

/* ---- Surfaces / stat rail ---- */
.adm .adm-statcard,
.adm .adm-kpi {
  padding: 16px 18px;
  background: var(--adm-panel);
}
.adm .adm-statcard__value,
.adm .adm-kpi__value {
  font-weight: 800;
}
.adm .adm-statcard__label,
.adm .adm-kpi__label {
  color: var(--adm-muted);
  font-weight: 700;
  font-size: 0.68rem;
}

/* ---- Tables: denser rhythm, quiet header, blue hover ---- */
.adm .adm-table {
  font-size: 0.83rem;
}
.adm .adm-table thead th {
  background: #fafbfc;
  color: #7b8494;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  padding: 11px 14px;
}
.adm .adm-table td {
  padding: 9px 14px;
}
.adm .adm-table tbody tr:hover td {
  background: rgba(47, 111, 234, 0.045);
}
.adm .adm-table--sticky th:nth-child(1),
.adm .adm-table--sticky th:nth-child(2),
.adm .adm-table--stickyhead thead th {
  background: #fafbfc;
}

/* ---- Buttons ---- */
.adm .adm-btn {
  border-radius: 10px;
}
.adm .adm-btn[data-variant="primary"] {
  background: var(--adm-accent);
  border-color: var(--adm-accent);
  box-shadow: 0 4px 14px rgba(47, 111, 234, 0.26);
}
.adm .adm-btn[data-variant="primary"]:hover {
  background: #2560d4;
  border-color: #2560d4;
}

/* ---- Inputs / selects ---- */
.adm .adm-input,
.adm .adm-select,
.adm textarea.adm-input {
  border-radius: 10px;
  border-color: var(--adm-line-strong);
}
.adm .adm-input:focus,
.adm .adm-select:focus {
  border-color: var(--adm-accent);
  outline: 3px solid rgba(47, 111, 234, 0.16);
  outline-offset: 0;
}

/* ---- Segmented tabs / chips ---- */
.adm .adm-tabs,
.adm .pw-tabs {
  background: #f1f2f5;
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  border: 0;
}
.adm .adm-tabs button,
.adm .pw-tabs button {
  border-radius: 9px;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 16px;
  color: var(--adm-muted);
}
.adm .adm-tabs button[data-active="true"],
.adm .pw-tabs button[data-active="true"] {
  background: #fff;
  color: var(--adm-ink);
  box-shadow: var(--adm-shadow-sm);
}
.adm .adm-chip {
  background: var(--adm-accent-soft);
  color: var(--adm-accent);
  border-color: rgba(47, 111, 234, 0.22);
  border-radius: 999px;
  font-weight: 700;
}
.adm .adm-badge {
  border-radius: 8px;
  font-size: 0.66rem;
  letter-spacing: 0;
}

/* ---- Bulk selection bar: quiet when idle, dark pill when selecting ---- */
.adm .adm-bulkbar {
  background: var(--adm-panel);
  color: var(--adm-muted);
  border-bottom: 1px solid var(--adm-line);
  padding: 9px 14px;
}
.adm .adm-bulkbar[data-empty="false"] {
  background: #1c1f25;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: var(--adm-shadow-md);
  margin: 8px 12px;
  padding: 10px 18px;
}
.adm .adm-bulkbar[data-empty="false"] button,
.adm .adm-bulkbar[data-empty="false"] .adm-btn {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}
.adm .adm-bulkbar[data-empty="false"] button:hover {
  color: #8ab0ff;
}

/* ---- Menus / modals ---- */
.adm .adm-menu__panel,
.adm .adm-modal,
.adm .adm-drawer {
  border-radius: 14px;
  box-shadow: var(--adm-shadow-lg);
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  .adm {
    font-size: 13.5px;
  }
  .adm .adm-body {
    padding: 14px 12px 92px;
    gap: 14px;
  }
  .adm .adm-topbar {
    padding: 8px 12px;
  }
  .adm .adm-statrail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .adm .adm-statcard {
    padding: 12px;
  }
  .adm .adm-panel__head {
    padding: 10px 12px;
  }
  .adm .adm-btn {
    height: 38px;
  }
  .adm .adm-input,
  .adm .adm-select {
    height: 38px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }
  .adm .pw-products-toolbar__row {
    flex-direction: column;
    align-items: stretch;
  }
  .adm .pw-filter,
  .adm .pw-products-toolbar__row > * {
    min-width: 0 !important;
    width: 100%;
  }
  .adm .se-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   Custom dropdowns (AdmSelect) — no native browser popups anywhere
   ===================================================================== */
.adm .adm-sel {
  position: relative;
  display: inline-block;
  min-width: 120px;
}
.adm .pw-filter .adm-sel,
.adm .adm-sel--block {
  display: block;
  width: 100%;
}

.adm .adm-sel__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 34px;
  padding: 0 12px;
  background: #fff;
  color: var(--adm-ink);
  border: 1px solid var(--adm-line-strong);
  border-radius: 10px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.adm .adm-sel__btn:hover:not(:disabled) {
  border-color: #b9bfca;
}
.adm .adm-sel__btn:focus-visible,
.adm .adm-sel__btn[aria-expanded="true"] {
  outline: none;
  border-color: var(--adm-accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 234, 0.16);
}
.adm .adm-sel__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.adm .adm-sel__val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm .adm-sel__caret {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--adm-muted);
  transition: transform 0.18s ease;
}
.adm .adm-sel__caret[data-open="true"] {
  transform: rotate(180deg);
}

.adm .adm-sel__panel {
  position: absolute;
  z-index: 70;
  inset-inline-start: 0;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 4px;
  list-style: none;
  width: max-content;
  min-width: 100%;
  max-width: 320px;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--adm-line);
  border-radius: 12px;
  box-shadow: var(--adm-shadow-lg);
}
.adm .adm-sel__panel::-webkit-scrollbar {
  width: 4px;
}
.adm .adm-sel__panel::-webkit-scrollbar-thumb {
  background: #cfd4dd;
  border-radius: 4px;
}

.adm .adm-sel__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  color: var(--adm-muted);
  cursor: pointer;
  text-align: start;
  white-space: nowrap;
}
.adm .adm-sel__opt:hover:not(:disabled) {
  background: var(--adm-accent-soft);
  color: var(--adm-ink);
}
.adm .adm-sel__opt[data-active="true"] {
  background: var(--adm-accent-soft);
  color: var(--adm-ink);
  font-weight: 700;
}
.adm .adm-sel__opt:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.adm .adm-sel__opt-label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm .adm-sel__check {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--adm-accent);
}

[dir="rtl"] .adm .adm-sel__btn,
[dir="rtl"] .adm .adm-sel__opt {
  text-align: right;
}

@media (max-width: 767px) {
  .adm .adm-sel {
    display: block;
    width: 100%;
  }
  .adm .adm-sel__btn {
    height: 38px;
    font-size: 0.86rem;
  }
}

/* Main admin scroll area: thin scrollbar in Firefox/Gecko too. */
.adm,
.adm .adm-main,
.adm .adm-body {
  scrollbar-width: thin;
}

/* ── Visible, always-on data-grid scrollbars (AutoDS-style density) ───────
   Presentation only. Table areas keep a persistent, thin horizontal bar with
   a visible track so users can see the grid is scrollable, plus a capped
   height with a sticky header for vertical scanning. */
.adm .adm-scroll {
  overflow-x: scroll;
  overflow-y: auto;
  max-height: min(68vh, 720px);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--adm-line-strong) rgba(15, 23, 42, 0.06);
  border-radius: inherit;
}
.adm .adm-scroll::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
}
.adm .adm-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
  border-radius: var(--adm-r-pill);
}
.adm .adm-scroll::-webkit-scrollbar-thumb {
  background: var(--adm-line-strong);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: var(--adm-r-pill);
}
.adm .adm-scroll::-webkit-scrollbar-thumb:hover {
  background: #7b8494;
  background-clip: padding-box;
}
.adm .adm-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

/* Dense grid: wider min-width so columns stay readable and the bar is real. */
.adm .adm-scroll table.adm-table {
  min-width: 1120px;
}
.adm .adm-scroll table.adm-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--adm-surface, #fff);
  box-shadow: inset 0 -1px 0 var(--adm-line);
}
@media (max-width: 900px) {
  .adm .adm-scroll {
    max-height: none;
  }
}

/* ============================================================
   Products table: frozen product pane + internal horizontal scroll
   (presentation only — one logical row per product across panes)
   ============================================================ */
.adm {
  --ptbl-row-h: 64px;
  --ptbl-frozen-w: 380px;
}

.ptbl {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  direction: rtl;
  max-height: none;
  overflow: visible;
  scrollbar-width: thin;
  border-top: 1px solid var(--adm-line);
}

.ptbl__frozen {
  flex: 0 0 var(--ptbl-frozen-w);
  width: var(--ptbl-frozen-w);
  align-self: flex-start;
  position: sticky;
  inset-inline-start: 0;
  z-index: 20;
  background: var(--adm-panel);
  box-shadow: -10px 0 18px rgba(0, 0, 0, 0.14);
  /* A clear divider between the frozen name pane and the scrolling columns. */
  border-inline-end: 1px solid var(--adm-line-strong);
  overflow: hidden;
}

.ptbl__frozen-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--ptbl-row-h);
  padding: 0 12px;
  background: var(--adm-panel);
  border-bottom: 1px solid var(--adm-line);
  min-width: 0;
}
.ptbl__frozen-body {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.ptbl__frozen-head {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 40px;
}
/* Spacer keeps the frozen header aligned with the grouped band (26px). */
.ptbl__frozen-spacer {
  position: sticky;
  top: 0;
  z-index: 41;
  height: 26px;
  background: var(--adm-panel);
  border-bottom: 1px solid var(--adm-line);
}
.ptbl__frozen-spacer + .ptbl__frozen-head {
  top: 26px;
}

/* Wrap the scroll area + custom scrollbar together so the bar tracks the
   same width as the scrollable viewport, not the full table content. */
.ptbl__scroll-wrap {
  flex: 1;
  min-width: 0;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  position: relative;
}
.ptbl__scroll {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  /* Hide the native scrollbar: overlay bars auto-hide and render
     inconsistently across browsers; a custom bar below stays visible. */
  scrollbar-width: none;
}
.ptbl__scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Custom horizontal scrollbar — permanently pinned to the bottom edge of the
   vertical table viewport. Only rows move vertically; this control and the
   sticky column headers remain visible. */
.ptbl__hbar {
  position: sticky;
  bottom: 0;
  z-index: 45;
  height: 8px;
  flex: 0 0 auto;
  margin: 0;
  border-top: 1px solid var(--adm-line);
  background: var(--adm-panel);
  cursor: pointer;
  touch-action: none;
}
.ptbl__hbar[data-disabled] {
  cursor: default;
  opacity: 0.55;
}
.ptbl__hbar-thumb {
  position: absolute;
  top: 1px;
  left: 0;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--adm-ink, #64748b) 28%, transparent);
  cursor: grab;
  transition: background 0.12s;
}
.ptbl__hbar-thumb:hover {
  background: color-mix(in srgb, var(--adm-ink, #64748b) 45%, transparent);
}
.ptbl__hbar-thumb:active {
  cursor: grabbing;
  background: color-mix(in srgb, var(--adm-ink, #64748b) 58%, transparent);
}
@media (max-width: 768px) {
  .ptbl__hbar {
    display: none;
  }
}

/* Grouped header band (e.g. "וריאציות") above the column labels. */
.ptbl__group-row {
  display: grid;
  height: 26px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 31;
  background: var(--adm-panel);
  border-bottom: 1px solid var(--adm-line);
  transform: translateY(var(--ptbl-y, 0px));
}
.ptbl__group {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--adm-fg);
  padding: 0 12px;
  white-space: nowrap;
}
.ptbl__group[data-bordered="1"] {
  border-inline-start: 1px solid var(--adm-line);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.ptbl__scroll-head[data-grouped="1"] {
  top: 26px;
}

/* Count pills + BUY/SELL price chips (AutoDS-style density). */
.ptbl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.ptbl-pill[data-tone="ok"] {
  background: #29a35a;
}
.ptbl-pill[data-tone="warn"] {
  background: #e8b53a;
  color: #3a2c05;
}
.ptbl-pill[data-tone="bad"] {
  background: #e0483c;
}
.ptbl-pill[data-tone="mute"] {
  background: var(--adm-line-strong);
  color: var(--adm-fg);
}
.ptbl-money {
  display: grid;
  gap: 3px;
  line-height: 1.15;
}
.ptbl-money__row {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ptbl-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 18px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--adm-line-strong);
  color: var(--adm-muted);
}
.ptbl-tag[data-kind="sell"] {
  color: #1f7ae0;
  border-color: color-mix(in srgb, #1f7ae0 40%, transparent);
}
.ptbl-money__val {
  font-size: 0.8rem;
  font-weight: 600;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: end;
}
.ptbl-money__val[data-kind="sell"] {
  color: #1f7ae0;
}

.ptbl__scroll-content {
  width: max-content;
  min-width: 100%;
}

.ptbl__scroll-row {
  display: grid;
  align-items: center;
  height: var(--ptbl-row-h);
  border-bottom: 1px solid var(--adm-line);
  background: var(--adm-panel);
}
.ptbl__scroll-head {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 40px;
  transform: translateY(var(--ptbl-y, 0px));
}

.ptbl__th {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--adm-muted);
  font-weight: 600;
  white-space: nowrap;
  padding: 0 12px;
  background: var(--adm-panel);
}
.ptbl__frozen-head .ptbl__th {
  padding: 0;
}

.ptbl__cell {
  padding: 0 12px;
  font-size: 0.82rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ptbl__cell[data-align="center"],
.ptbl__th[data-align="center"] {
  text-align: center;
}
.ptbl__cell[data-align="end"],
.ptbl__th[data-align="end"] {
  text-align: end;
}

/* Hover + selection apply to the whole logical row (both panes). */
.ptbl__frozen-row[data-hover],
.ptbl__scroll-row[data-hover] {
  background: color-mix(in srgb, var(--adm-accent) 5%, var(--adm-panel));
}
.ptbl__frozen-row[data-selected],
.ptbl__scroll-row[data-selected] {
  background: color-mix(in srgb, var(--adm-accent) 10%, var(--adm-panel));
}

@media (max-width: 1200px) {
  .adm {
    --ptbl-frozen-w: 340px;
  }
}
@media (max-width: 860px) {
  .adm {
    --ptbl-frozen-w: 200px;
    --ptbl-row-h: 60px;
  }
}

@media (min-width: 768px) {
  .adm .ptbl.adm-desk-only {
    display: flex;
  }
}

/* ---- Settings hub (tabbed) ---- */
.set-tabs {
  margin-bottom: 14px;
}
.set-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
@media (min-width: 1024px) {
  .set-split {
    grid-template-columns: 240px 1fr;
  }
}
.set-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  padding: 12px;
  /* Grid items default to min-width:auto, so a long unbroken string inside
     (e.g. a store URL in the AdmSelect trigger) was forcing the whole
     `.set-split` grid track — and the page itself — wider than the
     viewport on mobile. `.set-content` already had this; `.set-rail`
     didn't (real horizontal-overflow bug found live at 390px). */
  min-width: 0;
}
.set-rail__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adm-muted);
}
.set-rail__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.set-rail__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--adm-line);
  border-radius: 5px;
  background: transparent;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: start;
}
.set-rail__item:hover {
  border-color: var(--adm-line-strong);
}
.set-rail__item[data-active="true"] {
  border-color: var(--adm-accent);
  background: color-mix(in srgb, var(--adm-accent) 7%, transparent);
}
.set-rail__empty {
  font-size: 0.78rem;
  color: var(--adm-muted);
}
.set-rail__add {
  font-size: 0.8rem;
  color: var(--adm-accent);
  text-decoration: none;
  padding: 4px 2px;
}
.set-rail__add:hover {
  text-decoration: underline;
}
.set-content {
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  min-width: 0;
}
.set-subtabs {
  padding: 6px 12px 0;
  border-bottom: 1px solid var(--adm-line);
}
.set-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.set-title {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.set-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.set-checks {
  display: grid;
  gap: 8px 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .set-checks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.set-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  cursor: pointer;
}
/* Real inconsistency found live (2026-09-23): this rule used to only set
   accent-color, which leaves the checkbox rendered as the BROWSER's own
   native checkmark (shape varies by OS/browser) instead of the single
   clean white diagonal check every other checkbox in the admin draws
   itself (.adm input[type="checkbox"], appearance:none). Settings'
   checkboxes now fall through to that same shared rule — no override
   needed here at all. */
.set-note {
  font-size: 0.82rem;
  color: var(--adm-muted);
  line-height: 1.6;
}
.set-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 32px 16px 16px;
  margin: 0;
  list-style: disc;
  font-size: 0.82rem;
  color: var(--adm-muted);
}
.set-dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.set-dl__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
}
.set-dl__row dt {
  color: var(--adm-muted);
}
.set-dl__row dd {
  font-weight: 600;
}
.set-rows {
  display: flex;
  flex-direction: column;
}
.set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--adm-line);
}
.set-row:last-child {
  border-bottom: 0;
}
.set-row__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.84rem;
}
.set-row__main span {
  font-size: 0.72rem;
  color: var(--adm-muted);
}
.set-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .set-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.set-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  font-size: 0.82rem;
}
.set-card p {
  color: var(--adm-muted);
  line-height: 1.55;
}
.set-savebar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--adm-line);
  padding-top: 12px;
  font-size: 0.76rem;
  color: var(--adm-muted);
}

/* Settings — profit visualization + activation hero */
.set-profit {
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.set-profit__bar {
  display: flex;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
}
.set-profit__cost {
  flex: 1 1 72%;
  background: color-mix(in srgb, var(--adm-muted) 28%, transparent);
}
.set-profit__gain {
  flex: 1 1 28%;
  background: color-mix(in srgb, var(--adm-ok) 30%, transparent);
}
.set-profit__bar span {
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.set-profit__bar em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--adm-ink);
}
.set-profit__legend {
  font-size: 0.74rem;
  color: var(--adm-muted);
}
.set-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 56px 20px;
  border: 1px dashed var(--adm-line-strong);
  border-radius: 8px;
  background: color-mix(in srgb, var(--adm-line) 25%, transparent);
}
.set-hero__icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--adm-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--adm-line);
}
.set-hero p {
  font-size: 0.82rem;
  color: var(--adm-muted);
  max-width: 22rem;
}

/* ==========================================================================
   v5 — Supplier engine nav, supplier cards, switches, shell scroll model.
   Presentation only; no data or behaviour assumptions.
   ========================================================================== */

/* Supplier Engine tab bar: wraps instead of exposing a horizontal scrollbar. */
.adm .se-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--adm-line);
  overflow: visible;
}
.adm .se-nav__tab {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--adm-line);
  background: var(--adm-panel);
  color: var(--adm-muted);
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.adm .se-nav__tab:hover {
  color: var(--adm-ink);
  border-color: var(--adm-line-strong);
}
.adm .se-nav__tab[data-active="true"] {
  background: var(--adm-accent);
  border-color: var(--adm-accent);
  color: #fff;
}

/* Supplier cards: header / capabilities / footer, tone-coded top edge. */
.adm .sup-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.adm .sup-card {
  display: flex;
  flex-direction: column;
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 26, 51, 0.05);
}
.adm .sup-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--adm-line);
  background: var(--adm-panel-2, #f7f8fa);
}
.adm .sup-card[data-tone="ok"] .sup-card__head {
  background: color-mix(in srgb, var(--adm-ok) 8%, #fff);
  box-shadow: inset 0 3px 0 var(--adm-ok);
}
.adm .sup-card[data-tone="err"] .sup-card__head,
.adm .sup-card[data-tone="warn"] .sup-card__head {
  background: color-mix(in srgb, var(--adm-err) 7%, #fff);
  box-shadow: inset 0 3px 0 var(--adm-err);
}
.adm .sup-card__name {
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}
.adm .sup-card__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px;
  flex: 1;
}
.adm .sup-card__caplabel {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--adm-muted);
}
.adm .sup-card__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.adm .sup-cap {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--adm-ok) 30%, transparent);
  background: color-mix(in srgb, var(--adm-ok) 8%, transparent);
  color: var(--adm-ok);
  white-space: nowrap;
}
.adm .sup-cap[data-off="true"] {
  border-color: var(--adm-line);
  background: transparent;
  color: color-mix(in srgb, var(--adm-muted) 70%, transparent);
}
.adm .sup-card__err {
  font-size: 0.74rem;
  color: var(--adm-err);
}
.adm .sup-card__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 11px 14px;
  border-top: 1px solid var(--adm-line);
  background: var(--adm-panel-2, #f7f8fa);
}

/* Switch controls (notifications & monitoring rows). */
.adm .set-toggles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm .set-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--adm-line);
}
.adm .set-toggle:last-child {
  border-bottom: 0;
}
.adm .set-toggle__label {
  font-size: 0.84rem;
  font-weight: 600;
}
.adm .set-switch {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--adm-line-strong);
  background: #e6e8ec;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}
.adm .set-switch__knob {
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 26, 51, 0.28);
  transition: inset-inline-start 0.16s ease;
}
.adm .set-switch[data-on="true"] {
  background: var(--adm-accent);
  border-color: var(--adm-accent);
}
.adm .set-switch[data-on="true"] .set-switch__knob {
  inset-inline-start: 20px;
}

/* Topbar: status pills match the height of the other topbar controls. */
.adm .adm-topbar .adm-badge {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.76rem;
}

/* Modal: fully rounded card (head/foot clipped by the radius). */
.adm .adm-modal {
  overflow: hidden;
}

/* Dropdown panels flip upward when there is no room below. */
.adm .adm-sel__panel[data-drop="up"] {
  top: auto;
  bottom: calc(100% + 4px);
}

/* Only inner regions scroll — the page itself never gets a second scrollbar.
   Real bug found live (2026-09-23): `.adm` is ALSO the class every
   `useAdmPortalHost()` popover/dropdown host div uses (for CSS-variable
   scoping only, appended straight to document.body — see
   src/components/admin/portal.ts). This bare `.adm` selector matched
   those tiny host divs too, forcing each one to 100dvh tall and adding
   itself to the page's real scrollable height — with several popovers
   mounted (column-chooser, note popovers, selects, drawers), the page
   accumulated tens of thousands of px of empty scroll below the real
   content ("scrolls forever and it's just empty", confirmed live via
   `document.documentElement.scrollHeight` ≈ 38,600px against ~3,200px of
   actual content). Scoped to the real top-level shell only via
   `.adm-app-root` (set once, on AdminShell's own root div) so a portal
   host — which only ever needs the CSS variables `.adm` carries, never
   this layout sizing — no longer gets sized at all. */
.adm.adm-app-root {
  height: 100dvh;
  overflow: hidden;
}
.adm .adm-shell {
  height: 100dvh;
}
.adm .adm-main {
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Data panels keep a consistent, fixed-height scroll area. */
.adm .adm-scroll {
  max-height: min(52vh, 440px);
}

/* ==========================================================================
   v6 — Add CTA hover menu + add/import flow modals. Presentation only.
   ========================================================================== */

.adm .adm-addmenu {
  position: relative;
}
.adm .adm-addmenu__panel {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  min-width: 220px;
  z-index: 320;
  display: flex;
  flex-direction: column;
  padding: 6px;
  gap: 2px;
  border-radius: 12px;
  border: 1px solid var(--adm-line);
  background: var(--adm-panel);
  box-shadow: 0 14px 34px rgba(16, 26, 51, 0.18);
}
.adm .adm-addmenu__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--adm-ink);
  font-size: 0.82rem;
  font-weight: 620;
  text-align: start;
  cursor: pointer;
}
.adm .adm-addmenu__item:hover {
  background: color-mix(in srgb, var(--adm-accent) 10%, transparent);
  color: var(--adm-accent);
}

.adm .csvimp {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .adm .csvimp {
    grid-template-columns: 1fr;
  }
}
.adm .csvimp__drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 190px;
  padding: 16px;
  border: 1px dashed var(--adm-line-strong);
  border-radius: 12px;
  background: var(--adm-panel-2, #f7f8fa);
  cursor: pointer;
  text-align: center;
}
.adm .csvimp__drop strong {
  color: var(--adm-accent);
  font-size: 0.9rem;
}
.adm .csvimp__drop span {
  font-size: 0.76rem;
  color: var(--adm-muted);
}
.adm .csvimp__count {
  font-weight: 700;
  color: var(--adm-ok);
}
.adm .csvimp__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--adm-line);
  border-radius: 12px;
}
.adm .csvimp__side p {
  font-size: 0.76rem;
  color: var(--adm-muted);
  line-height: 1.6;
}

/* =====================================================================
   NOVA Client sidebar — AutoDS-inspired sizing/spacing/pill shapes,
   scoped entirely under .nova-client (only ever applied by ClientShell.tsx)
   so nothing here can ever affect NOVA Admin's own sidebar. Colors/tokens
   still come from the shared .adm theme above; this block only adjusts
   proportions, density and the active-item treatment to feel like AutoDS's
   own flatter, airier list (no tinted active pill, just an accent bar +
   accent text/icon), never their literal palette or assets.
   ===================================================================== */
.nova-client .adm-side {
  padding: 16px 10px;
  gap: 4px;
}
.nova-client .adm-side__brand {
  border-bottom: 0;
  padding: 4px 10px 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.nova-client .adm-side__store {
  text-decoration: none;
  transition: background var(--adm-fast, 167ms) ease;
}
.nova-client .adm-side__store:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nova-client .adm-side__store-edit {
  margin-inline-start: auto;
  flex: 0 0 auto;
  opacity: 0.55;
}
.nova-client .adm-side__avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  font-size: 11px;
}
.nova-client .adm-side__cta {
  padding: 11px 14px;
  font-size: 13.5px;
}
.nova-client .adm-nav {
  gap: 1px;
}
.nova-client .adm-nav a {
  padding: 11px 12px;
  font-weight: 500;
  border-radius: 8px;
}
.nova-client .adm-nav a[data-active="true"] {
  background: transparent;
  color: #fff;
  font-weight: 650;
}
.nova-client .adm-nav a[data-active="true"] svg {
  color: var(--adm-accent);
}
.nova-client .adm-nav a[data-active="true"]::before {
  inset-inline-start: -10px;
  top: 6px;
  bottom: 6px;
  width: 3px;
}
.nova-client .adm-nav a[href="/support/"] {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 13px;
}

/* Client test-phase disclosure: every PageHead uses an h1 as its first
   heading, so this appears directly beneath each Client page title without
   touching Admin markup or behavior. */
.nova-client .adm-body h1::after {
  content: "סביבת בדיקות — הגישה למסך פתוחה זמנית. לפני השקה תחובר לתוכנית ולהרשאה המתאימות.";
  display: block;
  margin-top: 4px;
  color: var(--adm-muted);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: 0;
}
.nova-client[data-lang="en"] .adm-body h1::after {
  content: "Testing environment — access is temporarily open. Before launch, this page will be connected to the appropriate plan and permission.";
}

.autodrop-balance {
  position: relative;
  flex: 0 0 auto;
}
.autodrop-balance__trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.autodrop-balance__trigger:hover {
  background: rgba(255, 255, 255, 0.1);
}
.autodrop-balance__trigger small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
}
.autodrop-balance__popover {
  position: absolute;
  z-index: 80;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  width: min(360px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid var(--adm-line);
  border-radius: 14px;
  background: var(--adm-panel);
  color: var(--adm-ink);
  box-shadow: var(--adm-shadow-lift);
}
.autodrop-balance__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  background: color-mix(in srgb, var(--adm-ink) 5%, var(--adm-panel));
}
.autodrop-balance__tabs button {
  border: 0;
  border-radius: 8px;
  padding: 9px 8px;
  background: transparent;
  color: var(--adm-muted);
  cursor: pointer;
}
.autodrop-balance__tabs button[aria-selected="true"] {
  background: var(--adm-panel);
  color: var(--adm-ink);
  font-weight: 700;
  box-shadow: var(--adm-shadow-ctl);
}
.autodrop-balance__body {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px;
  text-align: center;
}
.autodrop-balance__body > span {
  color: var(--adm-muted);
  font-size: 12px;
}
.autodrop-balance__body > strong {
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}
.autodrop-balance__body p {
  margin: 0;
  color: var(--adm-muted);
  font-size: 12px;
  line-height: 1.55;
}
.autodrop-balance__body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--adm-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.autodrop-balance__error {
  margin: 0;
  padding: 18px;
  color: #b42318;
  font-size: 12px;
}

.autodrop-wallet-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.autodrop-wallet-cards article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--adm-line);
  border-radius: 12px;
  padding: 14px;
  background: color-mix(in srgb, var(--adm-ink) 3%, var(--adm-panel));
}
.autodrop-wallet-cards article > svg {
  color: var(--adm-accent);
}
.autodrop-wallet-cards article > span {
  color: var(--adm-muted);
  font-size: 12px;
}
.autodrop-wallet-cards article > strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.autodrop-wallet-cards article > small {
  color: var(--adm-muted);
  line-height: 1.5;
}
.autodrop-payment-method {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--adm-line);
  border-radius: 10px;
  padding: 10px;
}
.autodrop-payment-method__brand {
  border-radius: 7px;
  padding: 6px 9px;
  background: #ffc439;
  color: #003087;
  font-weight: 800;
  font-style: italic;
}
.autodrop-payment-method small {
  color: var(--adm-muted);
}
.autodrop-billing-security {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.autodrop-billing-security li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--adm-muted);
}
.autodrop-billing-security svg {
  flex: 0 0 auto;
  color: var(--adm-accent);
}
.autodrop-topup-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.autodrop-paypal-target {
  min-height: 48px;
}
.autodrop-topups-mobile {
  display: none;
}

@media (max-width: 639px) {
  .nova-client .adm-topbar > .autodrop-balance {
    order: 10;
    flex: 1 1 100%;
  }
  .autodrop-balance__trigger {
    width: 100%;
    justify-content: center;
    padding: 7px 8px;
  }
  .autodrop-balance__trigger small {
    display: inline;
  }
  .autodrop-balance__popover {
    position: fixed;
    inset-inline: 12px;
    inset-block-start: 118px;
    width: auto;
  }
  .autodrop-wallet-cards {
    grid-template-columns: 1fr;
  }
  .autodrop-payment-method {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .autodrop-payment-method small {
    grid-column: 2;
  }
  .autodrop-topups-table {
    display: none;
  }
  .autodrop-topups-mobile {
    display: grid;
    gap: 10px;
  }
  .autodrop-topups-mobile article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
  }
  .autodrop-topups-mobile article > div {
    display: grid;
    gap: 3px;
    min-width: 0;
  }
  .autodrop-topups-mobile span {
    color: var(--adm-muted);
    font-size: 11px;
  }
  .autodrop-topups-mobile strong {
    overflow-wrap: anywhere;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }
}

/* Pricing grids: every title has its value centered right beneath it. */
.adm-center-fields > label,
.adm-center-fields .adm-field {
  text-align: center;
}
.adm-center-fields input,
.adm-center-fields .adm-num-center {
  text-align: center;
}
.adm-num-center {
  text-align: center;
}

/* A table continued below an open inline editor: no repeated header, seamless top edge. */
.ptbl[data-continued] {
  border-top: 0;
}

/* BUY / SELL never leaves its cell (supplier-engine products table). */
.se-price-cell {
  min-width: 210px;
  white-space: nowrap;
}

/* ================= 2026-09 polish pass: depth, softer controls, RTL data placement ================= */
.adm {
  --adm-shadow-card: 0 1px 2px rgba(20, 19, 15, 0.05), 0 4px 14px rgba(20, 19, 15, 0.06);
  --adm-shadow-lift: 0 2px 4px rgba(20, 19, 15, 0.06), 0 10px 26px rgba(20, 19, 15, 0.11);
  --adm-shadow-ctl: 0 1px 2px rgba(20, 19, 15, 0.07);
}
.adm .adm-panel,
.adm .set-content,
.adm .set-rail,
.adm .adm-kpi,
.adm .pw-varcard,
.adm .set-card {
  border-radius: 12px;
  box-shadow: var(--adm-shadow-card);
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.adm .adm-panel:hover,
.adm .adm-kpi:hover,
.adm .set-card:hover {
  box-shadow: var(--adm-shadow-lift);
}
.adm .adm-panel__head {
  border-radius: 12px 12px 0 0;
}
.adm .adm-btn {
  border-radius: 9px;
  box-shadow: var(--adm-shadow-ctl);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}
.adm .adm-btn:not(:disabled):hover {
  box-shadow: 0 3px 10px rgba(20, 19, 15, 0.12);
  transform: translateY(-1px);
}
.adm .adm-btn:not(:disabled):active {
  transform: translateY(0);
}
.adm .adm-input,
.adm .adm-select {
  border-radius: 9px;
  box-shadow: inset 0 1px 2px rgba(20, 19, 15, 0.06);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}
.adm .adm-input:hover:not(:focus) {
  border-color: var(--adm-ink);
}
.adm textarea.adm-input {
  height: auto;
  padding: 8px 10px;
}
.adm .adm-input:focus {
  outline: none;
  border-color: var(--adm-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--adm-accent) 22%, transparent);
}
/* native search clear (X) sits on the physical left in RTL */
.adm input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
  opacity: 0.7;
}
/* checkboxes: soft rounded square with subtle depth.
   Real device bug found live (2026-09-23): styling the native
   `<input type="checkbox">` directly (appearance:none + a hand-drawn
   ::after checkmark) rendered correctly on every desktop browser tested,
   but on the user's real Android/Samsung phone the OS re-skinned the
   control to its own Material/One UI checkbox glyph regardless —
   `appearance: none` on the input itself isn't reliably respected by every
   Android WebView build. Fixed by never letting the native input paint
   anything visible at all: it's now fully transparent (see AdmCheckbox.tsx,
   used by every checkbox in the admin) and only its `.adm-checkbox__box`
   SIBLING — an ordinary `<span>`, which no OS can "helpfully" re-skin as a
   form control — draws the box and checkmark, toggled via the `:checked`
   sibling selector below. This is the standard, OS-proof pattern; the old
   input-based rules are gone. */
.adm-checkbox {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
.adm-checkbox input[type="checkbox"] {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.adm-checkbox input[type="checkbox"]:disabled {
  cursor: not-allowed;
}
.adm-checkbox__box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--adm-line-strong);
  background: var(--adm-panel);
  box-shadow:
    0 1px 2px rgba(20, 19, 15, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: inline-grid;
  place-content: center;
  pointer-events: none;
  transition:
    background 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease;
}
.adm-checkbox input[type="checkbox"]:hover ~ .adm-checkbox__box {
  border-color: var(--adm-accent);
}
/* Real complaint (2026-09-24): the checkmark used to be drawn from two
   rotated CSS borders (`border-left`/`border-bottom` + `rotate(-45deg)`) —
   at the sub-pixel widths this box renders at on a real phone's pixel
   density, that construction can round unevenly and look visibly skewed/
   "distorted" compared to the same box on a desktop screen, even though
   it's the exact same CSS. A real SVG path (see AdmCheckbox.tsx) is drawn
   as actual vector geometry the browser rasterizes correctly at any
   density — same crisp shape on every screen, no rotated-border rounding
   involved at all. */
.adm-checkbox__check {
  /* Real bug found live (2026-09-24): percentage width/height on an <svg>
     inside a `display:inline-grid; place-content:center` box never
     resolves against the box's own explicit 18px/15px size — grid items
     default to auto-sizing themselves when `place-content` (not `stretch`)
     is set, so the percentage basis collapses to "auto" and the browser
     falls back to the SVG's own tiny intrinsic size instead. Measured live:
     the "80%" checkmark was actually rendering at ~3×2.7px, not ~14×14px —
     the earlier "bigger" fix never visually took effect at all. Fixed with
     an explicit pixel size instead of a percentage, which has no such
     circularity. Matches the desktop box (18px) here; the mobile media
     query below sets its own explicit px to match its smaller 15px box —
     intentionally two numbers, not one relative rule, since percentage
     doesn't work here at all. */
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
}
.adm-checkbox__dash {
  display: none;
  width: 60%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.adm-checkbox input[type="checkbox"]:checked ~ .adm-checkbox__box {
  background: var(--adm-accent);
  border-color: var(--adm-accent);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--adm-accent) 45%, transparent);
}
.adm-checkbox input[type="checkbox"]:checked ~ .adm-checkbox__box .adm-checkbox__check {
  opacity: 1;
  transform: scale(1);
}
.adm-checkbox input[type="checkbox"]:indeterminate ~ .adm-checkbox__box {
  background: var(--adm-accent);
  border-color: var(--adm-accent);
}
.adm-checkbox input[type="checkbox"]:indeterminate ~ .adm-checkbox__box .adm-checkbox__check {
  display: none;
}
.adm-checkbox input[type="checkbox"]:indeterminate ~ .adm-checkbox__box .adm-checkbox__dash {
  display: block;
}
.adm-checkbox input[type="checkbox"]:focus-visible ~ .adm-checkbox__box {
  outline: 3px solid color-mix(in srgb, var(--adm-accent) 30%, transparent);
  outline-offset: 1px;
}

/* settings: data sits next to its label, breathing room from panel edges */
.adm .set-dl {
  padding: 4px 18px 14px;
  gap: 10px;
}
.adm .set-dl__row {
  justify-content: flex-start;
  gap: 18px;
}
.adm .set-dl__row dt {
  min-width: 150px;
}
.adm .set-list {
  padding-inline: 22px;
}
.adm .set-note {
  padding-inline: 2px;
}

/* dialogs: depth */
.adm .adm-modal,
.adm [role="dialog"] {
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(20, 19, 15, 0.35);
}

/* page-level tabs share the bordered-field look of the search / add-filter controls */
.adm .set-tabs .adm-tabs,
.adm .adm-pagetabs .adm-tabs {
  border-bottom: 0;
  padding: 0;
  gap: 8px;
}
.adm .set-tabs .adm-tabs__btn,
.adm .adm-pagetabs .adm-tabs__btn {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--adm-line-strong);
  border-radius: 9px;
  background: var(--adm-panel);
  box-shadow: var(--adm-shadow-ctl);
  color: var(--adm-ink);
  transition:
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}
.adm .set-tabs .adm-tabs__btn:hover,
.adm .adm-pagetabs .adm-tabs__btn:hover {
  border-color: var(--adm-ink);
  box-shadow: 0 3px 10px rgba(20, 19, 15, 0.12);
}
.adm .set-tabs .adm-tabs__btn[data-active="true"],
.adm .adm-pagetabs .adm-tabs__btn[data-active="true"] {
  background: var(--adm-ink);
  border-color: var(--adm-ink);
  color: #fff;
}

/* floating popovers (column chooser, add-filter) */
.adm-floating {
  padding: 8px;
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(20, 19, 15, 0.24);
  color: var(--adm-ink);
}
.adm-floating__title {
  padding: 4px 8px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--adm-muted);
  border-bottom: 1px solid var(--adm-line);
  margin-bottom: 6px;
}
.adm-floating__list {
  display: grid;
  gap: 2px;
}
.adm-floating__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
}
.adm-floating__row:hover,
.adm-floating__item:hover {
  background: color-mix(in srgb, var(--adm-accent) 9%, transparent);
}
.adm-floating__item {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: start;
}

/* filter chips share the shape of the buttons/fields above them */
.adm .adm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 6px 0 12px;
  border: 1px solid var(--adm-line-strong);
  border-radius: 9px;
  background: var(--adm-panel);
  box-shadow: var(--adm-shadow-ctl);
  font-size: 0.78rem;
  font-weight: 600;
}
.adm .adm-chip button {
  all: unset;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: grid;
  place-content: center;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--adm-muted);
}
.adm .adm-chip button:hover {
  background: color-mix(in srgb, var(--adm-err) 12%, transparent);
  color: var(--adm-err);
}

/* product editor helpers */
.adm .adm-subcard {
  padding: 14px 16px;
  border: 1px solid var(--adm-line);
  border-radius: 12px;
  background: var(--adm-panel);
  box-shadow: var(--adm-shadow-card);
}
.adm .adm-softscroll {
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--adm-line-strong) transparent;
  border: 1px solid var(--adm-line);
  border-radius: 12px;
}
.adm .adm-softscroll::-webkit-scrollbar {
  width: 5px;
}
.adm .adm-softscroll::-webkit-scrollbar-thumb {
  background: var(--adm-line-strong);
  border-radius: 5px;
}
.adm .adm-softscroll th {
  text-align: start;
}
.adm .adm-catpick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: start;
}
.adm .adm-imgtile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.adm .adm-imgtile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(15, 17, 26, 0.5);
  opacity: 0;
  transition: opacity 0.16s ease;
}
.adm .adm-imgtile:hover .adm-imgtile__overlay,
.adm .adm-imgtile:focus-within .adm-imgtile__overlay {
  opacity: 1;
}
.adm .adm-imgtile__btn {
  all: unset;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  display: grid;
  place-content: center;
  cursor: pointer;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1d29;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.14s ease,
    background 0.14s ease;
}
.adm .adm-imgtile__btn:hover {
  transform: scale(1.08);
}
.adm .adm-imgtile__btn[data-danger="true"] {
  color: var(--adm-err);
}
.adm .adm-imgtile__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.adm .adm-imgtile__badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  background: var(--adm-accent);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* tables: headers and cells share the reading-start edge; soft row hover */
.adm .adm-table th {
  text-align: start;
}
.adm .adm-table tbody tr {
  transition: background 0.14s ease;
}
.adm .adm-table tbody tr:hover td {
  background: color-mix(in srgb, var(--adm-accent) 5%, var(--adm-panel));
}
/* dialog fields: depth + hover */
.adm [role="dialog"] .adm-input,
.adm .adm-modal .adm-input {
  background: color-mix(in srgb, var(--adm-ink) 2.5%, var(--adm-panel));
}
.adm [role="dialog"] .adm-input:hover:not(:focus),
.adm .adm-modal .adm-input:hover:not(:focus) {
  background: var(--adm-panel);
}

/* ===== main page tabs: one look everywhere (bordered fields, blue active) ===== */
.adm .set-tabs .adm-tabs__btn[data-active="true"],
.adm .adm-pagetabs .adm-tabs__btn[data-active="true"] {
  background: var(--adm-accent);
  border-color: var(--adm-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 111, 234, 0.26);
}
.adm .se-nav {
  gap: 8px;
  padding-bottom: 12px;
}
.adm .se-nav__tab {
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--adm-line-strong);
  background: var(--adm-panel);
  color: var(--adm-ink);
  box-shadow: var(--adm-shadow-ctl);
}
.adm .se-nav__tab:hover {
  border-color: var(--adm-ink);
  box-shadow: 0 3px 10px rgba(20, 19, 15, 0.12);
}
.adm .se-nav__tab[data-active="true"] {
  background: var(--adm-accent);
  border-color: var(--adm-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 111, 234, 0.26);
}
/* uniform save row: pinned to the card's left corner */
.adm .set-savebar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px -16px -16px;
  padding: 12px 16px;
  border-top: 1px solid var(--adm-line);
}

.adm .set-dl__row dt {
  min-width: 72px;
}

.adm .set-tabs .adm-tabs__btn:hover,
.adm .adm-pagetabs .adm-tabs__btn:hover,
.adm .se-nav__tab:hover {
  border-color: var(--adm-line-strong);
  box-shadow: 0 3px 10px rgba(20, 19, 15, 0.12);
}
.adm .set-tabs .adm-tabs__btn:hover:not([data-active="true"]),
.adm .adm-pagetabs .adm-tabs__btn:hover:not([data-active="true"]),
.adm .se-nav__tab:hover:not([data-active="true"]) {
  background: color-mix(in srgb, var(--adm-accent) 6%, var(--adm-panel));
}
.adm .adm-tabs__btn:focus,
.adm .se-nav__tab:focus {
  outline: none;
}
.adm .adm-tabs__btn:focus-visible,
.adm .se-nav__tab:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--adm-accent) 45%, transparent);
  outline-offset: 2px;
}

/* ===== mobile polish: fewer wrapped rows, controls stay horizontal ===== */
@media (max-width: 640px) {
  .adm .se-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .adm .se-nav::-webkit-scrollbar {
    display: none;
  }
  .adm .se-nav__tab {
    flex-shrink: 0;
  }
  .adm .pw-products-toolbar__row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
  }
  .adm .pw-products-toolbar__row > * {
    width: auto;
  }
  .adm .pw-products-toolbar__row > .pw-filter:first-child,
  .adm .pw-products-toolbar__row > form {
    flex: 1 1 100%;
  }
  .adm .pw-products-toolbar__row .pw-filter {
    flex: 1 1 calc(50% - 8px);
  }
  .adm .set-tabs .adm-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .adm .set-savebar .adm-btn {
    flex: 0 0 auto;
  }
  .adm .adm-imgtile__overlay {
    opacity: 1;
    background: linear-gradient(transparent 55%, rgba(15, 17, 26, 0.55));
    align-items: flex-end;
    padding-bottom: 6px;
  }
}
@media (max-width: 640px) {
  .adm .pw-products-toolbar__row > .pw-filter:first-child,
  .adm .pw-products-toolbar__row > form {
    flex: 1 1 100% !important;
    min-width: 100% !important;
  }
  .adm .pw-products-toolbar__row > .pw-filter:not(:first-child) {
    flex: 1 1 calc(50% - 8px) !important;
  }
}

.adm .adm-imgtile__btn {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.adm .adm-imgtile__btn svg {
  width: 14px;
  height: 14px;
}
.adm .adm-subcard.adm-softscroll {
  padding: 0;
}
.adm .adm-kv {
  flex-wrap: wrap;
}
.adm .adm-kv dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ================= MOBILE ONLY ================= */
@media (max-width: 1023px) {
  /* single natural page scroll instead of an inner scroller. Scoped to
     .adm-app-root (see its doc comment above) — a bare `.adm` here re-broke
     the same portal-host-inflates-scroll-height bug on this exact mobile
     breakpoint even after scoping the desktop rule, since this one wasn't
     caught in the first pass. */
  .adm.adm-app-root {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  .adm .adm-shell {
    height: auto;
  }
  .adm .adm-main {
    height: auto;
    overflow: visible;
  }
  .adm .adm-body {
    padding-bottom: 84px;
  }

  /* compact one-line header: menu · store · profile (left) ; search below */
  .adm .adm-topbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
  }
  .adm .adm-topbar > .adm-mobile-only {
    min-width: 38px !important;
    min-height: 38px !important;
    height: 38px;
    padding: 0 10px;
  }
  .adm .adm-topbar > .adm-badge {
    display: none;
  }
  .adm .adm-topbar > div.relative {
    flex: 0 0 auto;
  }
  .adm .adm-topbar > div.relative:first-of-type {
    flex: 1 1 0;
    min-width: 0;
  }
  .adm .adm-topbar > form.adm-topbar__search {
    order: 3;
    flex: 1 1 100% !important;
  }
  .adm .adm-topbar .adm-btn {
    height: 38px;
    padding: 0 10px;
    font-size: 0.78rem;
  }
  .adm .adm-topbar .adm-btn .max-w-\[140px\] {
    max-width: 120px;
  }
  .adm .adm-topbar__search .adm-input {
    height: 36px;
    font-size: 14px;
  }
  .adm .adm-topbar .adm-panel[role="menu"] {
    width: 210px !important;
    padding: 6px;
    max-width: calc(100vw - 24px);
  }
  .adm .adm-topbar .adm-panel[role="menu"] .adm-btn {
    height: 34px;
    font-size: 0.78rem;
  }
  .adm .adm-topbar .adm-panel.min-w-\[220px\] {
    min-width: 190px !important;
  }
}

@media (max-width: 767px) {
  .adm .adm-scroll {
    max-height: none;
  }
  /* Reverted 2026-09-24 — an earlier edit here changed the box SIZE
     (20px/2px radius), which the user never asked for and explicitly
     rejected ("I didn't ask you to change the size, do what I asked").
     Back to matching desktop's proportions at mobile size: 15px/4px
     radius, same as the shared desktop rule. Only the checkmark glyph
     itself changes below (SVG instead of the old two-border-rotate hack). */
  .adm-checkbox,
  .adm-checkbox__box {
    width: 15px;
    height: 15px;
    border-radius: 4px;
  }
  .adm-checkbox__check {
    width: 11px;
    height: 11px;
  }
  /* smaller status chips everywhere */
  .adm .adm-badge {
    font-size: 0.62rem;
    padding: 1px 6px;
    gap: 3px;
    letter-spacing: 0;
  }
  .adm .adm-statuspill {
    min-width: 0 !important;
    padding: 5px 8px !important;
    gap: 5px !important;
    font-size: 0.72rem !important;
    border-radius: 7px !important;
  }
  .adm .adm-statuspill svg {
    width: 13px;
    height: 13px;
  }
  /* orders: actions collapse to one menu; select-all row stays horizontal */
  .adm .adm-bulk-inline {
    display: none !important;
  }
  /* .adm-bulkbar is shared with pages that put MORE buttons in it than
     orders does (e.g. products: פרסם/העבר לטיוטה/מחק/בטל בחירה + a
     trailing היסטוריה/התאמה לתצוגה group pushed to the end via
     margin-inline-start:auto). An earlier fix (2026-09-23) forced nowrap +
     overflow-x:auto so the trailing group could be reached by a horizontal
     swipe — real fix for the clipping bug, but it added a scrollbar that
     is present (empty-looking, since the middle buttons are disabled
     placeholders) on every page load even before anything is selected —
     rejected live as its own new bug. Real fix: no forced nowrap at all —
     the base rule already wraps (`.adm-bulkbar { flex-wrap: wrap }`), so
     Products' extra buttons flow to a second line instead of needing any
     scroll, and Orders (which already fits on one line even with
     `.adm-bulk-inline` hidden) renders identically either way. */
  .adm .adm-bulkbar {
    padding: 8px 12px;
    gap: 8px;
  }
  /* Real request (2026-09-24): keep the selected-state pill on ONE line —
     "בטל בחירה" was wrapping to its own row. Shrunk text/padding/border
     rather than forcing scroll or nowrap-without-shrinking (both rejected
     earlier in this exact bar's history — see the doc comment above). */
  /* Bumped back up slightly (2026-09-24 follow-up). First attempt at this
     (28px/9px/0.7rem) overshot and wrapped again — 390px only has room for
     a small bump over the 26px/7px/0.66rem that fit. Tightened the pill's
     own margin/padding too, trading that space for slightly bigger
     buttons instead. (Centering itself moved to `.adm-bulkbar__actions`
     below, per the next fix.) */
  .adm .adm-bulkbar[data-empty="false"] {
    margin: 6px 6px;
    /* Live request: only the OUTER pill felt vertically squeezed — taller
       vertical padding here (top/bottom, unrelated to the width-constrained
       horizontal fit that's the whole reason the buttons themselves stayed
       small) without touching button height/font at all. */
    padding: 10px 8px;
    gap: 4px 6px;
    font-size: 0.68rem;
  }
  /* Real fix (2026-09-24): `justify-content: center` on the WHOLE bar also
     dragged the select-all checkbox+count away from the column the
     per-row checkboxes sit in below it — visibly misaligned "by eye" per
     live feedback. Centering now applies only to the action-buttons
     wrapper (see admin.products.tsx), so the label stays pinned at the
     bar's true edge (same as every other bulk-bar/page using this class),
     while the buttons still center in the space left over. */
  .adm .adm-bulkbar__actions {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: inherit;
  }
  /* Real, measured fix (2026-09-24 follow-up): even after pinning the
     label to the bar's true edge, it still sat ~9px further out than the
     per-row checkbox column below it (pill horizontal padding: 8px vs.
     the row card's stacked 10px+10px inset) — confirmed via
     getBoundingClientRect() on both, then confirmed again live by the
     user ("not the same line, move it left"). Nudging the label itself
     closer to center by that measured amount aligns the two checkbox
     columns without touching the row cards' own padding at all. */
  .adm .adm-bulkbar label {
    padding-inline-start: 9px;
  }
  .adm .adm-bulkbar .adm-btn {
    height: 27px;
    padding: 0 8px;
    font-size: 0.68rem;
    border-width: 1px;
  }
  /* wider frozen name column so full names are readable */
  .adm {
    --ptbl-frozen-w: min(78vw, 320px);
  }
  .adm .ptbl__frozen .adm-statuspill {
    max-width: 100%;
  }
  /* order details modal rows: value hugs the label */
  .adm .adm-kvrow {
    gap: 10px;
  }
  .adm .adm-kvrow > span:first-child {
    min-width: 92px !important;
  }
  /* key/value rows */
  .adm .adm-kv dt {
    min-width: 92px !important;
  }
  .adm .adm-invtoggle {
    justify-content: flex-start !important;
  }
  /* product header: title at the top-right, image tucked to the left */
  .adm .pw-header__main {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }
  .adm .pw-header__info {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
  }
  .adm .pw-header__image {
    order: 2;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }
  .adm .pw-header__actions {
    order: 3;
    flex: 1 1 100%;
  }
  .adm .pw-header__meta {
    gap: 6px;
  }
  .adm .pw-header__meta--sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 0.74rem;
  }
  .adm .pw-header__info h1 {
    font-size: 1rem;
    line-height: 1.3;
  }
  /* cards in lists */
  .adm .pw-varcard {
    padding: 10px;
    gap: 8px;
  }
  /* reviews: 3 compact menus on one row, then search (right) + sync (left) */
  .adm .rv-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .adm .rv-row > .pw-filter {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto;
  }
  .adm .rv-row > .pw-filter:first-child {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .adm .rv-row .pw-filter > * {
    width: 100% !important;
    min-width: 0;
  }
  .adm .rv-row .pw-filter > span {
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .adm .rv-row .adm-sel__btn {
    padding-inline: 8px;
    font-size: 0.74rem;
  }
  .adm .rv-search {
    order: 5;
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .adm .rv-sync {
    order: 6;
    flex: 0 0 auto;
  }
  .adm .rv-root table .adm-btn {
    height: 26px;
    padding: 0 8px;
    font-size: 0.68rem;
    border-radius: 7px;
  }
  .adm .rv-root table td,
  .adm .rv-root table th {
    padding: 8px 8px;
  }
  /* tables: header always above the rows */
  .adm .adm-softscroll {
    max-height: 300px;
  }
}

@media (max-width: 767px) {
  .adm .ptbl__frozen button > span:first-child {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  .adm .adm-softscroll table {
    width: 100%;
    table-layout: auto;
  }
  .adm .adm-softscroll th,
  .adm .adm-softscroll td {
    padding: 8px 8px;
    font-size: 0.76rem;
    text-align: start;
    white-space: nowrap;
  }
  .adm .adm-softscroll th:first-child,
  .adm .adm-softscroll td:first-child {
    white-space: normal;
    min-width: 96px;
    max-width: 150px;
  }
}
.adm .adm-softscroll table.adm-table {
  min-width: 0 !important;
}
.adm .adm-softscroll table.adm-table thead th {
  padding: 9px 12px;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -1px 0 var(--adm-line);
  top: 0;
}
@media (max-width: 767px) {
  .adm .adm-softscroll:not(.adm-scroll) {
    overflow-x: hidden;
  }
  .adm .adm-softscroll:not(.adm-scroll) table {
    table-layout: fixed;
  }
  .adm .adm-softscroll:not(.adm-scroll) th:first-child,
  .adm .adm-softscroll:not(.adm-scroll) td:first-child {
    width: 44%;
    max-width: none;
  }
  .adm .adm-softscroll:not(.adm-scroll) th,
  .adm .adm-softscroll:not(.adm-scroll) td {
    padding: 8px 6px;
  }
}

/* mobile: the whole grid row (product name included) scrolls left/right together */
@media (max-width: 767px) {
  .adm .ptbl {
    overflow-x: auto !important;
    overflow-y: visible;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .adm .ptbl__frozen {
    position: static;
    box-shadow: none;
  }
  .adm .ptbl__scroll-wrap {
    flex: 0 0 auto;
    min-width: auto;
  }
  .adm .ptbl__scroll {
    overflow: visible;
    width: auto;
  }
  .adm .ptbl__hbar {
    display: none;
  }
  .adm .ptbl__scroll-head {
    position: static;
    transform: none;
  }
}

/* ===== mobile only: bottom nav legibility + store menu stays on screen ===== */
@media (max-width: 1023px) {
  .adm .adm-bottomnav a {
    color: var(--adm-muted);
  }
  .adm .adm-bottomnav a[data-active="true"] {
    color: var(--adm-accent);
    font-weight: 700;
  }
  .adm .adm-bottomnav .adm-bottomnav__fab {
    color: #fff;
  }
  .adm .adm-topbar > div.relative:first-of-type .adm-panel {
    position: fixed !important;
    top: 60px;
    inset-inline: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: 60vh;
    overflow-y: auto;
    padding: 6px;
  }
  .adm .adm-topbar > div.relative:first-of-type .adm-panel .adm-btn {
    height: 40px;
    font-size: 0.8rem;
  }
}

/* Final wallet layer: horizontal data tables on small screens, hidden
   scrollbar, and consistent card depth/spacing. */
.admin-wallet-detail { gap:22px; padding-top:6px; }
.admin-wallet-balance-card,
.admin-wallet-action-card,
.admin-wallet-identity { border-radius:12px; box-shadow:0 9px 24px rgba(22,32,58,.07),0 1px 3px rgba(22,32,58,.05); }
.admin-wallet-detail .adm-table-scroll,
.admin-wallet-detail .adm-tabs { scrollbar-width:none; }
.admin-wallet-detail .adm-table-scroll::-webkit-scrollbar,
.admin-wallet-detail .adm-tabs::-webkit-scrollbar { display:none; }
@media (max-width: 767px) {
  .admin-wallet-table,.admin-wallet-ledger-table { min-width:820px !important; }
  .admin-wallet-table thead,.admin-wallet-ledger-table thead { display:table-header-group; }
  .admin-wallet-table tbody,.admin-wallet-ledger-table tbody { display:table-row-group; }
  .admin-wallet-table tr,.admin-wallet-ledger-table tr { display:table-row; margin:0; padding:0; width:auto; border:0; background:transparent; }
  .admin-wallet-table td,.admin-wallet-ledger-table td { display:table-cell; width:auto; padding:11px 13px; border-bottom:1px solid var(--adm-line); text-align:start; white-space:nowrap; }
  .admin-wallet-table td[data-label]::before,.admin-wallet-ledger-table td[data-label]::before { content:none; display:none; }
  .admin-wallet-table td .adm-btn,.admin-wallet-ledger-table td .adm-btn { width:auto; }
  .admin-wallet-detail .adm-tabs { white-space:nowrap; overflow-x:auto; }
}

/* Orders keep the established ProductsTable structure, but the frozen order
   identity card carries the real order facts needed to understand the row. */
.nova-orders-table {
  --ptbl-row-h: 86px;
  --ptbl-frozen-w: 420px;
}
.nova-orders-table .ptbl__frozen-row {
  padding: 7px 12px;
}
.nova-orders-table .adm-statuspill {
  min-width: 150px !important;
  border: 0 !important;
  justify-content: center !important;
  text-align: center;
}
.order-summary {
  position: relative;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
}
.order-summary__image {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}
.order-summary__image--empty {
  display: grid;
  place-items: center;
  background: var(--adm-line);
  color: var(--adm-muted);
  font-weight: 700;
}
.order-summary__body {
  all: unset;
  box-sizing: border-box;
  display: grid;
  gap: 2px;
  min-width: 0;
  cursor: pointer;
}
.order-summary__main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}
.order-summary__identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.order-summary__title {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  -webkit-line-clamp: 1;
  line-height: 1.25;
}
.order-summary__detail,
.order-summary__order-number {
  min-width: 0;
  display: block;
  color: var(--adm-muted);
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-summary__order-number b {
  color: var(--adm-ink);
}
.order-summary__supplier {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-inline-start: auto;
  align-items: center;
  gap: 5px;
  color: var(--adm-muted);
  font-size: 0.69rem;
  white-space: nowrap;
  overflow: hidden;
  direction: ltr;
}
.order-summary__supplier-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-summary__supplier-id {
  max-width: 158px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-summary__connection {
  color: var(--adm-warn);
  font-style: normal;
  font-weight: 700;
}
.order-summary__amount {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--adm-line) 68%, var(--adm-panel));
  color: var(--adm-ink);
  font-size: 0.74rem;
  white-space: nowrap;
}
.order-summary__actions-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.order-summary__actions {
  position: absolute;
  left: -8px;
  top: 3px;
  display: block;
  z-index: 2;
}
.order-summary__actions .adm-menu__trigger,
.order-summary__actions .adm-menu__trigger:hover,
.order-summary__actions .adm-menu__trigger[data-open="true"],
.order-summary__actions .adm-menu__trigger[aria-expanded="true"] {
  width: 24px;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px !important;
  max-height: 24px;
  padding: 0;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
.order-supplier-cell {
  min-width: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.order-supplier-cell__name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.order-supplier-cell__reference {
  color: var(--adm-muted);
  font-size: 0.7rem;
  white-space: nowrap;
}
.order-supplier-cell__name {
  font-size: 0.78rem;
}
.order-supplier-cell__name > img,
.order-supplier-cell__name > svg {
  width: 14px !important;
  height: 14px !important;
}
.order-table-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  .nova-orders-table {
    --ptbl-frozen-w: 390px;
  }
}
@media (max-width: 860px) {
  .nova-orders-table {
    --ptbl-frozen-w: min(92vw, 390px);
    --ptbl-row-h: 82px;
  }
  /* Same flat table structure as desktop: no cards, no rounded frames, no per-row shadow. */
  .nova-orders-table .ptbl__frozen > .ptbl__frozen-row:not(.ptbl__frozen-head) {
    height: var(--ptbl-row-h);
    margin: 0;
    width: 100%;
    padding: 4px 8px;
    border-radius: 0;
    box-shadow: none;
  }
  /* No divider line: only the same pocket depth as desktop between the product pane and the columns. */
  .nova-orders-table .ptbl__frozen {
    border-inline-end: 0;
    box-shadow: -10px 0 18px rgba(0, 0, 0, 0.16);
  }
  .order-summary {
    position: relative;
    grid-template-columns: 50px minmax(0, 1fr) 22px;
    align-items: start;
    gap: 6px;
  }
  .order-summary__image {
    width: 46px;
    height: 46px;
    border-radius: 8px;
  }
  .order-summary__body {
    min-height: 72px;
    align-content: start;
    gap: 3px;
  }
  .order-summary__main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 6px;
  }
  .adm .nova-orders-table .ptbl__frozen .order-summary__body > .order-summary__main {
    display: grid !important;
    overflow: visible;
    white-space: normal !important;
    -webkit-line-clamp: unset;
  }
  .order-summary__identity {
    min-width: 0;
    overflow: hidden;
    padding-inline-end: 66px;
  }
  .order-summary__title {
    order: 0;
    font-size: 0.84rem;
    line-height: 1.3;
    -webkit-line-clamp: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .order-summary__detail {
    order: 1;
    margin-top: 1px;
    font-size: 0.66rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .order-summary__order-number {
    position: absolute;
    right: 0;
    left: auto;
    bottom: 4px;
    z-index: 1;
    max-width: 112px;
    margin: 0;
    color: var(--adm-muted);
    font-size: 0.7rem;
    line-height: 1;
    padding-left: 8px;
    border-left: 1px solid color-mix(in srgb, var(--adm-muted) 58%, transparent);
  }
  .order-summary__amount {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 5px;
    position: absolute;
    left: 12px;
    right: auto;
    top: 30px;
    min-height: 24px;
    padding: 0 7px;
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 800;
    transform: none;
  }
  .order-summary__supplier {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 4px;
    display: inline-flex;
    width: max-content;
    max-width: calc(100% - 126px);
    margin: 0;
    direction: ltr;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    font-size: 0.64rem;
    line-height: 1.1;
  }
  .order-summary__supplier > img,
  .order-summary__supplier > svg {
    width: 12px !important;
    height: 12px !important;
  }
  .order-summary__supplier-id {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }
  .order-summary__actions {
    left: -5px;
    top: 2px;
  }
  .order-summary__actions .adm-menu__trigger {
    width: 18px;
    min-width: 18px;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px;
    padding: 0;
    border: 0 !important;
    border-radius: 3px;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
  }
  .order-summary__actions .adm-menu__trigger svg {
    width: 13px;
    height: 13px;
  }
}

/* ==========================================================================
   AutoDrop Client design layer
   --------------------------------------------------------------------------
   Client-scoped ONLY. Every rule is nested under `.nova-client`, the root
   class of the Client shell, so the shared Admin surface (`.adm` without
   `.nova-client`) keeps its existing appearance untouched.

   Source of truth: DESIGN.md (color, typography, sizing, radii, spacing,
   depth and motion) + docs/RESPONSIVE-SPEC.md (shell + mobile behavior).
   ========================================================================== */

.adm.nova-client {
  /* Foundations ---------------------------------------------------------- */
  --ad-navy-950: #090e35;
  --ad-navy-900: #11183f;
  --ad-ink-900: #353435;
  --ad-ink-700: #5a5859;
  --ad-ink-500: #727272;
  --ad-ink-300: #9b9b9b;
  --ad-surface: #ffffff;
  --ad-surface-muted: #f7f7f9;
  --ad-surface-soft: #f2f2f2;
  --ad-border: #dedede;
  --ad-border-strong: #b9b8b8;
  --ad-action: #e49e4c;
  --ad-action-600: #d59955;
  --ad-blue-soft: #cadff8;
  --ad-blue: #2678d9;
  --ad-green: #4ecb8a;
  --ad-yellow: #f4cf3e;
  --ad-red: #df2020;

  --ad-space-1: 4px;
  --ad-space-2: 8px;
  --ad-space-3: 12px;
  --ad-space-4: 16px;
  --ad-space-6: 24px;
  --ad-space-8: 32px;
  --ad-control-sm: 32px;
  --ad-control-md: 40px;
  --ad-control-lg: 48px;
  --ad-radius-sm: 4px;
  --ad-radius-md: 8px;
  --ad-sidebar-w: 218px;
  --ad-header-h: 64px;
  --ad-mobile-header-h: 60px;
  --ad-mobile-nav-h: 64px;
  --ad-shadow-card: 0 6px 18px rgb(9 14 53 / 10%);
  --ad-shadow-pop: 0 10px 28px rgb(9 14 53 / 18%);

  /* Re-map the shared Admin tokens to the AutoDrop palette (Client only) -- */
  --adm-bg: var(--ad-surface-muted);
  --adm-panel: var(--ad-surface);
  --adm-ink: var(--ad-ink-900);
  --adm-muted: var(--ad-ink-500);
  --adm-line: var(--ad-border);
  --adm-line-strong: var(--ad-border-strong);
  --adm-sidebar: var(--ad-navy-950);
  --adm-sidebar-ink: #c7cbe4;
  --adm-accent: var(--ad-action);
  --adm-ok: #1f8a56;
  --adm-warn: #9a6b00;
  --adm-err: var(--ad-red);
  --adm-info: var(--ad-blue);

  font-family: "Rubik", "Heebo", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-feature-settings: "tnum" 1;
}

/* Shell -------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .nova-client .adm-shell {
    grid-template-columns: 1fr var(--ad-sidebar-w);
  }
  [dir="rtl"] .nova-client .adm-shell {
    grid-template-columns: var(--ad-sidebar-w) 1fr;
  }
}

.nova-client .adm-side {
  background: var(--ad-navy-950);
  padding: 14px 12px;
  gap: 14px;
}

.nova-client .adm-side__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 12px;
  letter-spacing: normal;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.nova-client .adm-brand-logo {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}
.nova-client .adm-brand-logo--sm {
  height: 26px;
}
.nova-client .adm-nav a {
  font-size: 13px;
  padding: 9px 10px;
  border-radius: var(--ad-radius-sm);
  min-height: var(--ad-control-sm);
}
.nova-client .adm-nav a[data-active="true"] {
  background: rgb(255 255 255 / 10%);
  color: #fff;
  box-shadow: inset 2px 0 0 var(--ad-action);
}
[dir="rtl"] .nova-client .adm-nav a[data-active="true"] {
  box-shadow: inset -2px 0 0 var(--ad-action);
}

.nova-client .adm-side__brand .adm-brand-logo,
.nova-client .adm-topbar .adm-brand-logo {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  height: 34px;
}
.nova-client .adm-side__brand .adm-brand-logo--sm,
.nova-client .adm-topbar .adm-brand-logo--sm {
  height: 26px;
  padding: 0;
}

/* Sidebar CTA: light-blue pill with navy text, per DESIGN.md. */
.adm.nova-client .adm-side__cta {
  background: var(--ad-blue-soft);
  color: var(--ad-navy-950);
  border: none;
  border-radius: 999px;
  min-height: var(--ad-control-md);
  font-weight: 600;
  font-size: 13px;
}
.adm.nova-client .adm-side__cta:hover {
  background: color-mix(in srgb, var(--ad-blue-soft) 82%, #fff);
}

.nova-client .adm-side__store {
  border-radius: var(--ad-radius-md);
}

/* Topbar / content --------------------------------------------------------- */
.adm.nova-client .adm-topbar {
  min-height: var(--ad-header-h);
  background: var(--ad-surface);
  border-bottom: 1px solid var(--ad-border);
}
@media (max-width: 1023px) {
  .adm.nova-client .adm-topbar {
    min-height: var(--ad-mobile-header-h);
    background: var(--ad-navy-950);
    color: #fff;
    border-bottom-color: rgb(255 255 255 / 10%);
  }
  .adm.nova-client .adm-topbar .adm-btn {
    background: rgb(255 255 255 / 8%);
    border-color: rgb(255 255 255 / 14%);
    color: #fff;
  }
}

.nova-client .adm-body {
  padding: var(--ad-space-6);
  max-width: 100%;
  overflow-x: hidden;
}
@media (max-width: 639px) {
  .nova-client .adm-body {
    padding: var(--ad-space-4) var(--ad-space-3)
      calc(var(--ad-mobile-nav-h) + env(safe-area-inset-bottom, 0px) + 24px);
  }
}

/* Typography --------------------------------------------------------------- */
.nova-client h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}
.nova-client h2 {
  font-size: 18px;
  font-weight: 700;
}
.nova-client h3 {
  font-size: 15px;
  font-weight: 700;
}

/* Controls ----------------------------------------------------------------- */
.adm.nova-client .adm-btn {
  min-height: var(--ad-control-md);
  border-radius: var(--ad-radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--ad-border-strong);
  background: var(--ad-surface);
  color: var(--ad-ink-900);
  transition:
    background 120ms ease-out,
    border-color 120ms ease-out,
    color 120ms ease-out;
}
.adm.nova-client .adm-btn:hover:not(:disabled) {
  background: var(--ad-surface-soft);
}
.adm.nova-client .adm-btn:focus-visible {
  outline: 2px solid var(--ad-blue);
  outline-offset: 1px;
}
.adm.nova-client .adm-btn:active:not(:disabled) {
  background: var(--ad-surface-muted);
}
.adm.nova-client .adm-btn:disabled,
.adm.nova-client .adm-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.adm.nova-client .adm-btn[data-variant="primary"],
.adm.nova-client .adm-btn--primary {
  background-color: var(--ad-action-600);
  background-image: var(--ad-drop-sheen), var(--ad-drop-grad);
  border-color: transparent;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 28%),
    0 2px 10px rgb(122 34 224 / 26%);
}
.adm.nova-client .adm-btn[data-variant="primary"]:hover:not(:disabled),
.adm.nova-client .adm-btn--primary:hover:not(:disabled) {
  background-color: var(--ad-action-600);
  background-image:
    linear-gradient(180deg, rgb(255 255 255 / 36%), rgb(255 255 255 / 0%) 52%), var(--ad-drop-grad);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 36%),
    0 4px 14px rgb(122 34 224 / 34%);
}
.adm.nova-client .adm-btn[data-variant="danger"],
.adm.nova-client .adm-btn--danger {
  background: var(--ad-red);
  border-color: var(--ad-red);
  color: #fff;
}
.adm.nova-client .adm-btn[data-size="sm"] {
  min-height: var(--ad-control-sm);
}

.adm.nova-client .adm-input,
.adm.nova-client select.adm-input,
.adm.nova-client textarea.adm-input {
  min-height: var(--ad-control-md);
  border-radius: var(--ad-radius-sm);
  border: 1px solid var(--ad-border);
  background: var(--ad-surface);
  font-size: 13px;
  color: var(--ad-ink-900);
}
.adm.nova-client .adm-input:focus {
  border-color: var(--ad-blue);
  box-shadow: 0 0 0 3px rgb(38 120 217 / 15%);
}
.adm.nova-client .adm-input:disabled {
  background: var(--ad-surface-soft);
  color: var(--ad-ink-300);
}

/* Panels, tables, tabs ----------------------------------------------------- */
.adm.nova-client .adm-panel {
  background: var(--ad-surface);
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-md);
  box-shadow: none;
}

.adm.nova-client .adm-table {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.adm.nova-client .adm-table thead th {
  background: var(--ad-surface-muted);
  color: var(--ad-ink-700);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.adm.nova-client .adm-table td,
.adm.nova-client .adm-table th {
  height: 48px;
  padding: 8px 12px;
}
.adm.nova-client .adm-table tbody tr:hover td {
  background: var(--ad-surface-muted);
}

.adm.nova-client .adm-tabs {
  border-bottom: 1px solid var(--ad-border);
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.adm.nova-client .adm-tabs::-webkit-scrollbar {
  display: none;
}
.adm.nova-client .adm-tabs__btn {
  border: none;
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ad-ink-500);
  white-space: nowrap;
  min-height: var(--ad-control-md);
  border-bottom: 3px solid transparent;
}
.adm.nova-client .adm-tabs__btn[data-active="true"] {
  background: transparent;
  color: var(--ad-ink-900);
  border-bottom-color: var(--ad-action);
}

/* Menus, popovers, dialogs -------------------------------------------------- */
.nova-client .adm-menu,
.nova-client .adm-popover {
  box-shadow: var(--ad-shadow-pop);
  border-radius: var(--ad-radius-md);
}
.nova-client .adm-menu button,
.nova-client .adm-menu a {
  min-height: 36px;
}

/* Mobile bottom navigation -------------------------------------------------- */
.adm.nova-client .adm-bottomnav {
  height: calc(var(--ad-mobile-nav-h) + env(safe-area-inset-bottom, 0px));
  background: var(--ad-navy-950);
  border-top: 1px solid rgb(255 255 255 / 8%);
}
.adm.nova-client .adm-bottomnav a {
  color: #aab0d0;
  font-size: 11px;
  min-height: 44px;
}
.adm.nova-client .adm-bottomnav a[data-active="true"] {
  color: var(--ad-action);
}
.adm.nova-client .adm-bottomnav .adm-bottomnav__fab {
  background-color: var(--ad-action-600);
  background-image: var(--ad-drop-sheen), var(--ad-drop-grad);
  color: #fff;
  min-width: 44px;
  min-height: 44px;
  transform: translateY(-10px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 28%),
    0 4px 12px rgb(122 34 224 / 40%);
}

/* Drawer -------------------------------------------------------------------- */
.nova-client .nova-drawer {
  width: min(86vw, 320px);
}

/* No horizontal overflow anywhere in the Client surface. */
.nova-client,
.nova-client .adm-main {
  max-width: 100vw;
  overflow-x: clip;
}

/* Command bridge: quiet graphite above a split-tone navigation plane.
   These overrides intentionally live only on the Client shell. */
.adm.nova-client {
  --ad-navy-950: #1a1c23;
  --ad-navy-900: #111218;
  --ad-ink-900: #252934;
  --ad-ink-700: #4f5765;
  --ad-ink-500: #66707e;
  --ad-surface-muted: #f7f9fb;
  --ad-surface-soft: #f1f3f7;
  --ad-border: #e0e4ea;
  --ad-border-strong: #cbd1da;
  /* Buttons & accents wear the "Drop" gradient — violet→magenta with its glossy sheen. */
  --ad-action: #8a2bf2;
  --ad-action-600: #6d1ad6;
  --ad-drop-grad: linear-gradient(135deg, #6d1ad6 0%, #9a2bf2 52%, #d43bee 100%);
  --ad-drop-sheen: linear-gradient(180deg, rgb(255 255 255 / 26%), rgb(255 255 255 / 0%) 52%);
  --ad-blue: #8a2bf2;
  --ad-blue-soft: #f3ecfd;
  --ad-shadow-card: 0 2px 5px rgb(20 24 35 / 3%), 0 14px 32px rgb(20 24 35 / 6%);
  --ad-shadow-pop: 0 8px 30px rgb(20 24 35 / 14%);
  --ad-sidebar-w: 274px;
  --adm-sidebar: var(--ad-navy-950);
  --adm-sidebar-ink: #66707e;
  --adm-accent: var(--ad-action);
  background: var(--ad-surface-muted);
}
.adm.nova-client[data-sidebar-collapsed="true"] {
  --ad-sidebar-w: 72px;
}

.adm.nova-client .adm-panel {
  box-shadow: var(--ad-shadow-card);
}
.adm.nova-client .adm-input:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ad-action) 16%, transparent);
}
.adm.nova-client .adm-topbar {
  background: var(--ad-navy-900);
  color: #f7f6f8;
  border-bottom: 1px solid #30323d;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 5%) inset,
    0 5px 18px rgb(16 18 26 / 16%);
  backdrop-filter: none;
  z-index: 25;
}
.adm.nova-client .adm-topbar .adm-btn {
  background: #232630;
  color: #eeeef2;
  border-color: #383b46;
  box-shadow: 0 1px 0 rgb(255 255 255 / 4%) inset;
}
.adm.nova-client .adm-topbar .adm-btn:hover:not(:disabled) {
  background: #30333f;
}
.adm.nova-client .adm-topbar .adm-badge {
  background: #292c36;
  border: 1px solid #3a3d48;
  color: #dedfe6;
}
.nova-client .adm-topbar .adm-brand-logo,
.nova-client .adm-side__brand .adm-brand-logo {
  background: transparent;
  padding: 0;
  border-radius: 0;
  height: 34px;
  max-width: 144px;
  object-fit: contain;
}
.nova-client .adm-topbar .adm-brand-logo--sm,
.nova-client .adm-side__brand .adm-brand-logo--sm {
  height: 26px;
}
.adm.nova-client .adm-side__cta {
  background-color: var(--ad-action-600);
  background-image: var(--ad-drop-sheen), var(--ad-drop-grad);
  border: none;
  border-radius: 999px;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 28%),
    0 3px 12px rgb(122 34 224 / 24%);
}
.adm.nova-client .adm-side__cta:hover {
  background-color: var(--ad-action-600);
  background-image:
    linear-gradient(180deg, rgb(255 255 255 / 36%), rgb(255 255 255 / 0%) 52%), var(--ad-drop-grad);
}

@media (min-width: 1024px) {
  .adm.nova-client .adm-shell {
    grid-template-columns: 1fr var(--ad-sidebar-w);
  }
  [dir="rtl"] .adm.nova-client .adm-shell {
    grid-template-columns: var(--ad-sidebar-w) 1fr;
  }
  .adm.nova-client .adm-main {
    padding-top: var(--ad-header-h);
  }
  .adm.nova-client .adm-topbar {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    min-height: var(--ad-header-h);
    padding-inline: 28px;
  }
  .adm.nova-client .nova-desktop-side {
    top: var(--ad-header-h);
    height: calc(100dvh - var(--ad-header-h));
  }
}

.adm.nova-client .nova-desktop-side {
  flex-direction: row;
  gap: 0;
  padding: 0;
  background: var(--ad-surface);
  border-inline-start: 1px solid var(--ad-border);
  box-shadow: -8px 0 28px rgb(20 24 35 / 5%);
  overflow: hidden;
}
.nova-client .nova-side-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 72px;
  flex: 0 0 72px;
  padding-block: 16px;
  overflow-y: auto;
  background: #1a1c23;
  border-inline-end: 1px solid #30323b;
  box-shadow: -3px 0 12px rgb(0 0 0 / 8%) inset;
}
.nova-client .nova-side-rail a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 7px;
  color: #aeb2bd;
  background: #292c35;
  border: 1px solid #343741;
  transition:
    background 150ms ease,
    color 150ms ease;
}
.nova-client .nova-side-rail a.nova-side-rail__brand {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  margin-block-start: -5px;
  padding: 2px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.nova-client .nova-side-rail a.nova-side-rail__brand:hover {
  background: #292c35;
  border-color: #343741;
}
.nova-client .nova-side-rail__brand .adm-brand-icon {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}
.nova-client .nova-side-rail a:hover,
.nova-client .nova-side-rail a[data-active="true"] {
  background-color: var(--ad-action-600);
  background-image: var(--ad-drop-sheen), var(--ad-drop-grad);
  border-color: transparent;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 24%),
    0 2px 8px rgb(0 0 0 / 28%);
}
.nova-client .nova-side-rail__settings {
  margin-top: auto;
}
.nova-client .nova-side-rail__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  border: 1px solid #4a515a;
  background: #30343d;
  color: #d9eaf0;
  cursor: pointer;
}
.nova-client .nova-side-rail__toggle:hover {
  background: #3b505b;
}
.nova-client .nova-side-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 12px;
  padding: 18px 10px 10px;
  background: var(--ad-surface);
}
.nova-client .nova-side-pane .adm-side__store {
  color: var(--ad-ink-700);
  background: #f2f4f7;
  border: 1px solid #e6e9ee;
  min-width: 0;
  box-shadow: 0 1px 2px rgb(20 24 35 / 4%) inset;
}
.nova-client .nova-side-pane .adm-side__store:hover {
  background: #e9ecf1;
}
.nova-client .nova-side-pane .adm-side__avatar {
  background: var(--ad-blue-soft);
  color: var(--ad-action-600);
}
.nova-client .nova-side-pane .adm-nav {
  gap: 2px;
}
.nova-client .nova-side-pane .adm-nav a {
  color: var(--ad-ink-700);
  border-radius: 6px;
  padding: 10px 9px;
  box-shadow: none;
}
.nova-client .nova-side-pane .adm-nav a:hover {
  background: #f0f1f5;
  color: var(--ad-ink-900);
}
.nova-client .nova-side-pane .adm-nav a[data-active="true"] {
  color: #fff;
  background-color: var(--ad-action-600);
  background-image: var(--ad-drop-sheen), var(--ad-drop-grad);
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 24%),
    0 2px 8px rgb(122 34 224 / 24%);
}
[dir="ltr"] .nova-client .nova-side-pane .adm-nav a[data-active="true"] {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 24%),
    0 2px 8px rgb(122 34 224 / 24%);
}
.nova-client .nova-side-pane .adm-nav a[data-active="true"]::before {
  display: none;
}
.nova-client .nova-side-pane .adm-nav a[data-active="true"] svg {
  color: #fff;
}
.nova-client .nova-side-footer {
  border-top: 1px solid var(--ad-border);
  padding-top: 10px;
}
.adm.nova-client .nova-collapse {
  margin: 0;
  justify-content: center;
  min-height: 32px;
}
.nova-client .nova-desktop-side[data-collapsed="true"] .nova-side-pane {
  padding-inline: 8px;
}
.nova-client .nova-desktop-side[data-collapsed="true"] .adm-side__cta {
  padding-inline: 2px;
}

@media (max-width: 1023px) {
  .adm.nova-client .adm-topbar {
    background: var(--ad-navy-900);
  }
  .adm.nova-client .nova-drawer {
    background: var(--ad-navy-950);
  }
  .adm.nova-client .nova-drawer .adm-nav a[data-active="true"] {
    background-color: var(--ad-action-600);
    background-image: var(--ad-drop-sheen), var(--ad-drop-grad);
    color: #fff;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%);
  }
  .adm.nova-client .adm-bottomnav {
    background: var(--ad-navy-900);
    box-shadow: 0 -5px 18px rgb(20 24 35 / 12%);
  }
  .adm.nova-client .adm-bottomnav a[data-active="true"] {
    color: #d9b3fa;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nova-client .nova-side-rail a {
    transition: none;
  }
}

.nova-client .nova-topbar__brand {
  display: flex;
  flex: 1 1 auto;
  height: 34px;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
}
.nova-client .nova-brand-lockup {
  display: inline-flex;
  direction: rtl;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
.nova-client .adm-brand-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.nova-client .nova-side-pane__brand,
.nova-client .nova-drawer__wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.nova-client .nova-side-pane__brand {
  width: 100%;
  margin: 5px 0 4px;
  align-self: stretch;
}
.nova-client .nova-side-pane__brand .adm-brand-logo,
.nova-client .nova-drawer__wordmark .adm-brand-logo {
  display: block;
  width: auto;
  height: 32px;
  max-width: 152px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transform: translateY(2px);
}
.nova-client .nova-side-pane__brand .adm-brand-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}
@media (min-width: 1024px) {
  /* Keep the original desktop header spacing without duplicating the brand. */
  .nova-client .nova-topbar__brand {
    display: flex;
    flex: 1 1 auto;
  }
  .nova-client .nova-topbar__brand .nova-brand-lockup {
    display: none;
  }
}
.nova-client .nova-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
@media (max-width: 1023px) {
  .adm.nova-client .nova-drawer .adm-btn {
    background: #30333e;
    color: #f7f6f8;
    border-color: #464954;
  }
  .adm.nova-client .nova-drawer .adm-btn:hover:not(:disabled) {
    background: #3a3d48;
  }
}

/* ---- Client: topbar icon + mobile Add Products sheet ---- */
.adm.nova-client .nova-topbar__icon {
  min-width: 40px;
  min-height: 40px;
  justify-content: center;
  padding: 0;
  border-radius: 10px;
}
.adm.nova-client .nova-topbar__icon[data-active="true"] {
  color: var(--ad-action);
}
.nova-client .nova-sheet {
  position: fixed;
  inset: 0;
  z-index: 400;
}
.nova-client .nova-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 18, 24, 0.45);
  border: 0;
}
.nova-client .nova-sheet__panel {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: var(--ad-surface, #fcfdfe);
  border-radius: 18px 18px 0 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 32px rgba(17, 18, 24, 0.18);
  animation: novaSheetIn 0.22s ease-out;
  max-height: 85vh;
  overflow: auto;
}
.nova-client .nova-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 14px 0 8px;
  font-size: 16px;
}
.nova-client .nova-sheet__grip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: rgba(37, 41, 52, 0.18);
}
.nova-client .nova-sheet__close {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  padding: 0;
  border: 0;
}
.nova-client .nova-sheet__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 10px 8px;
  border: 0;
  background: none;
  border-radius: 12px;
  text-align: start;
  color: var(--ad-ink-900, #252934);
  text-decoration: none;
}
.nova-client .nova-sheet__item:hover,
.nova-client .nova-sheet__item:focus-visible {
  background: var(--ad-blue-soft);
}
.nova-client .nova-sheet__item b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.nova-client .nova-sheet__item small {
  display: block;
  font-size: 13px;
  color: #6b7080;
  margin-top: 2px;
}
.nova-client .nova-sheet__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ad-blue-soft);
  color: var(--ad-action);
  flex-shrink: 0;
}
.nova-client .nova-sheet__item--accent b {
  color: var(--ad-action);
}
@keyframes novaSheetIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}
.adm.nova-client .adm-body {
  padding-bottom: calc(var(--nova-bn, 0px) + env(safe-area-inset-bottom));
}
@media (max-width: 1023px) {
  .adm.nova-client {
    --nova-bn: 72px;
  }
}

/* ---- Client pop-ups (portaled to body; flagged via body[data-surface=client]) ---- */
body[data-surface="client"] .adm-overlay {
  background: rgba(17, 18, 24, 0.42);
  backdrop-filter: blur(3px);
}
body[data-surface="client"] .adm-modal {
  border-radius: 12px;
  border: 0;
  padding: 0;
  background: #fff;
  box-shadow:
    0 24px 60px -12px rgba(17, 18, 24, 0.35),
    0 2px 6px rgba(17, 18, 24, 0.08);
  width: calc(100vw - 24px);
}
body[data-surface="client"] .adm-modal__head {
  position: relative;
  border: 0;
  padding: 32px 40px 12px;
  display: block;
}
body[data-surface="client"] .adm-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #252934;
  line-height: 1.3;
  padding-inline-end: 28px;
}
body[data-surface="client"] .adm-modal__close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  border-radius: 8px;
  color: #6b7080;
}
body[data-surface="client"] .adm-modal__close:hover {
  background: #f2f3f6;
}
body[data-surface="client"] .adm-modal__body {
  padding: 8px 40px 20px;
}
body[data-surface="client"] .adm-modal__foot {
  margin: 0 40px;
  padding: 20px 0 28px;
  border-top: 1px solid #e8e9ee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
}
body[data-surface="client"] .adm-modal__foot > :first-child:not(:only-child) {
  border: 0;
  background: none;
  box-shadow: none;
  font-weight: 600;
  color: #252934;
  padding-inline: 0;
}
body[data-surface="client"] .adm-modal__foot .adm-btn--primary,
body[data-surface="client"] .adm-modal__foot .adm-btn-primary {
  min-width: 118px;
  min-height: 40px;
}
body[data-surface="client"] .adm-modal__foot button:disabled {
  background: #f2f3f6 !important;
  color: #b3b6c0 !important;
  border: 1px solid #e3e4ea !important;
  box-shadow: none !important;
}
@media (max-width: 640px) {
  body[data-surface="client"] .adm-overlay {
    align-items: flex-end;
    padding: 0;
  }
  body[data-surface="client"] .adm-modal {
    width: 100vw;
    max-width: 100vw !important;
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
  }
  body[data-surface="client"] .adm-modal__head {
    padding: 24px 20px 8px;
  }
  body[data-surface="client"] .adm-modal__body {
    padding: 8px 20px 16px;
  }
  body[data-surface="client"] .adm-modal__foot {
    margin: 0 20px;
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  }
}

/* 2026-09-26 Client polish: one AutoDS-style store card, clear controls,
   compact mobile chrome, and neutral professional work surfaces. */
.adm.nova-client .adm-body {
  background: #f4f6f9;
}
.adm.nova-client .adm-panel,
.adm.nova-client .set-rail,
.adm.nova-client .set-content {
  background: #fff;
  border-color: #dfe4ec;
  box-shadow: 0 10px 28px rgba(22, 32, 58, .06), 0 1px 3px rgba(22, 32, 58, .05);
}
.adm.nova-client .set-tabs,
.adm.nova-client .set-subtabs {
  overflow-x: auto;
  scrollbar-width: none;
}
.adm.nova-client .set-tabs::-webkit-scrollbar,
.adm.nova-client .set-subtabs::-webkit-scrollbar { display: none; }
.adm.nova-client .set-rail,
.adm.nova-client .set-content { border-radius: 12px; }
.adm.nova-client .set-body { padding: 22px; gap: 18px; }
.adm.nova-client .adm-btn {
  border-color: #d7dce5;
  background: #fff;
  box-shadow: 0 1px 2px rgba(22, 32, 58, .07);
  color: #3e4657;
}
.adm.nova-client .adm-btn:hover:not(:disabled) {
  background: #eef2f7;
  border-color: #b9c2cf;
  color: #1f2937;
}
.adm.nova-client .adm-btn[data-variant="danger"]:hover:not(:disabled) {
  background: #feeceb;
  border-color: #efb3ad;
  color: #a51d14;
}
.client-localization-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(22, 32, 58, .05);
}
.client-localization-control > div { display: grid; gap: 3px; }
.client-localization-control span { color: var(--adm-muted); font-size: 12px; }
.client-localization-control .set-switch span { color: inherit; }
.client-store-manager { min-height: 580px; display: flex; flex-direction: column; }
.client-store-manager__head { padding: 2px 0 20px; }
.client-store-manager__head h2 { font-size: 22px; }
.client-store-list { flex: 1; min-height: 330px; }
.client-store-platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #dfe4ec;
  color: #4d5260;
  font-weight: 700;
}
.client-store-platform-head span { display: inline-flex; align-items: center; gap: 7px; }
.client-store-platform-head button { border: 0; background: none; color: #2876dc; cursor: pointer; }
.client-store-row { min-height: 72px; gap: 10px; padding: 10px 0; }
.client-store-check {
  width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center;
  border: 1px solid #c7ced8; border-radius: 3px; background: #fff; color: #fff;
}
.client-store-row[data-active="true"] .client-store-check { background: #e99a3b; border-color: #e99a3b; }
.client-store-row__select { grid-template-columns: 42px minmax(0, 1fr) auto; padding: 0; }
.client-store-row__identity { display: grid !important; gap: 5px; }
.client-store-row__identity b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color: #555a65; }
.client-store-row__identity small { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.client-store-tag { color: #6e7480; }
.client-store-kebab { border: 0; background: none; color: #666b75; padding: 8px; cursor: pointer; }
.client-store-menu { width: 245px; top: 62px; border-radius: 4px; padding: 8px; box-shadow: 0 12px 30px rgba(15,23,42,.18); }
.client-store-menu button { min-height: 38px; color: #686d77; font-weight: 600; }
.client-store-menu button:hover { color: #252934; background: #f1f3f6; }
.client-store-manager__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; direction: ltr; padding-top: 18px; }
.client-store-manager__foot .adm-btn { direction: rtl; min-width: 148px; }
.client-platform-icon { position: static !important; width: 46px; height: 46px; padding: 0 !important; display: grid; place-items: center; background: transparent !important; color: currentColor !important; }
.client-platform-icon svg { width: 30px; height: 30px; }
.client-support-surface { background: transparent !important; min-height: 100%; }

@media (max-width: 1023px) {
  .adm.nova-client .adm-topbar { min-height: 52px; padding: 5px 8px; gap: 6px; }
  .nova-client .adm-topbar .adm-brand-logo,
  .nova-client .adm-topbar .adm-brand-logo--sm { height: 34px; padding: 2px 6px; }
  .adm.nova-client .adm-topbar .adm-btn,
  .adm.nova-client .nova-topbar__icon { min-height: 34px; height: 34px; min-width: 34px; padding: 5px 7px; }
  .nova-client .adm-topbar .adm-side__avatar { width: 28px; height: 28px; font-size: 10px; }
}
@media (max-width: 640px) {
  body[data-surface="client"] .adm-modal__head { padding: 22px 22px 8px; }
  body[data-surface="client"] .adm-modal__body { padding: 12px 20px 20px; }
  .client-store-manager { min-height: 70dvh; }
  .client-store-manager__head h2 { font-size: 20px; }
  .client-store-row__select { grid-template-columns: 38px minmax(0, 1fr) 16px; }
  .client-store-menu { inset-inline-end: 0; width: min(245px, calc(100vw - 56px)); }
  .client-store-manager__foot .adm-btn { min-width: 0; }
  .client-platform-grid button { min-height: 108px; }
  .client-localization-control { align-items: flex-start; }
}

/* AutoDS-observed Add Product state, including the intentional no-store state. */
.client-add-product {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 12px 8px 4px;
  color: #57585c;
}
.client-add-product__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.client-add-product__head > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #56595e;
}
.client-add-product__head h2 {
  margin: 0 0 5px;
  color: #535459;
  font-size: 29px;
  line-height: 1.2;
}
.client-add-product__head p {
  margin: 0;
  font-size: 15px;
}
.client-add-product__error {
  display: block;
  margin-top: 5px;
  color: #ff3b3b;
  font-size: 13px;
  font-weight: 500;
}
.client-add-product__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.client-add-product__field > b {
  font-size: 15px;
}
.client-add-product__field .adm-input {
  height: 50px;
  padding-inline: 14px;
  font-size: 15px;
}
.client-add-product__options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 48px;
}
.client-add-product__options > i {
  width: 1px;
  height: 22px;
  margin-inline: 5px;
  background: #cfd2d6;
}
.client-add-product__options .adm-select {
  min-width: 145px;
}
.client-add-product__connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--adm-accent) 28%, var(--adm-line));
  border-radius: 10px;
  background: color-mix(in srgb, var(--adm-accent) 5%, #fff);
  color: var(--adm-text);
  font-size: 13px;
}
.client-add-product__connection[data-tone="error"] {
  border-color: color-mix(in srgb, var(--adm-err) 36%, var(--adm-line));
  color: var(--adm-err);
}
.client-add-product__connection .adm-btn {
  flex: 0 0 auto;
}
.client-add-product__actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 8px;
}
.client-add-product__actions .adm-btn {
  min-width: 166px;
  height: 50px;
  font-weight: 700;
}
.client-add-product__actions .adm-btn:disabled {
  color: #c9cbd0 !important;
  background: #f7f7f8 !important;
  border-color: #d9dadd !important;
  opacity: 1;
}
@media (max-width: 640px) {
  .client-add-product {
    gap: 18px;
    padding: 2px;
  }
  .client-add-product__head {
    gap: 8px;
  }
  .client-add-product__head > span {
    width: 42px;
    height: 42px;
  }
  .client-add-product__head h2 {
    font-size: 22px;
  }
  .client-add-product__options {
    align-items: stretch;
  }
  .client-add-product__options > span {
    width: 100%;
  }
  .client-add-product__options > i {
    display: none;
  }
  .client-add-product__options .adm-select {
    width: 100%;
  }
  .client-add-product__connection {
    align-items: stretch;
    flex-direction: column;
  }
  .client-add-product__connection .adm-btn {
    width: 100%;
  }
  .client-add-product__actions {
    flex-direction: column;
  }
  .client-add-product__actions .adm-btn {
    width: 100%;
    min-width: 0;
  }
}
body[data-surface="client"] .adm-menu__panel,
body[data-surface="client"] .adm-floating,
body[data-surface="client"] .adm-sel__panel {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 10px;
  box-shadow:
    0 14px 36px -8px rgba(17, 18, 24, 0.22),
    0 2px 4px rgba(17, 18, 24, 0.05);
  padding: 6px;
}
body[data-surface="client"] .adm-menu__item,
body[data-surface="client"] .adm-floating__item,
body[data-surface="client"] .adm-floating__row {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #252934;
}
body[data-surface="client"] .adm-menu__item:hover,
body[data-surface="client"] .adm-floating__item:hover,
body[data-surface="client"] .adm-floating__row:hover {
  background: var(--ad-blue-soft, #f2ecfa);
}
body[data-surface="client"] .adm-floating__title {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 6px 12px 8px;
}
body[data-surface="client"] .adm-drawer {
  border-radius: 0;
  box-shadow: -18px 0 44px -12px rgba(17, 18, 24, 0.3);
}
body[data-surface="client"] .adm-drawer__head {
  padding: 20px 24px;
  border-bottom: 1px solid #eceef2;
}
body[data-surface="client"] .adm-drawer__head h2,
body[data-surface="client"] .adm-drawer__head strong {
  font-size: 18px;
  font-weight: 700;
}
body[data-surface="client"] .adm-drawer__body {
  padding: 20px 24px;
}

/* ---- Desktop Add Products popover ---- */
.nova-client .nova-addmenu {
  position: relative;
}
.nova-client .nova-addmenu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nova-client .nova-addmenu__fab {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 4px auto 10px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #7440c4, #a24bd0);
  box-shadow:
    0 6px 16px -6px rgba(116, 64, 196, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.nova-client .nova-addmenu__scrim {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: transparent;
  border: 0;
}
.nova-client .nova-addmenu__panel {
  position: absolute;
  z-index: 300;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: 330px;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 12px;
  padding: 8px;
  box-shadow:
    0 18px 44px -10px rgba(17, 18, 24, 0.28),
    0 2px 6px rgba(17, 18, 24, 0.06);
}
.nova-client .nova-addmenu[data-compact] .nova-addmenu__panel {
  top: 0;
  inset-inline-start: calc(100% + 12px);
}
.nova-client .adm-side,
.nova-client .nova-side-pane,
.nova-client .nova-side-rail {
  overflow: visible;
}

/* ---- Account menu (profile) ---- */
.nova-client .adm-panel[role="menu"] {
  border-radius: 12px;
  border: 1px solid #eceef2;
  box-shadow: 0 18px 44px -10px rgba(17, 18, 24, 0.28);
  width: 260px !important;
  padding: 8px !important;
}
.nova-client .adm-panel[role="menu"] .adm-btn {
  min-height: 42px;
  font-size: 14px;
  border-radius: 8px;
  background: none;
}
.nova-client .adm-panel[role="menu"] .adm-btn:hover {
  background: var(--ad-blue-soft);
}
.nova-client .adm-topbar .adm-side__avatar {
  background: linear-gradient(135deg, #7440c4, #a24bd0);
  color: #fff;
  font-weight: 700;
}
.adm.nova-client .adm-topbar .nova-account-menu__panel {
  background: var(--ad-surface);
  color: var(--ad-control-text);
  border-color: var(--ad-panel-line);
}
.adm.nova-client .adm-topbar .nova-account-menu__identity {
  background: var(--ad-surface-muted);
  color: var(--ad-control-text);
}
.adm.nova-client .adm-topbar .nova-account-menu__panel .adm-btn {
  background: transparent;
  color: var(--ad-control-text);
  border-color: transparent;
  box-shadow: none;
}
.adm.nova-client .adm-topbar .nova-account-menu__panel .adm-btn:hover:not(:disabled),
.adm.nova-client .adm-topbar .nova-account-menu__panel .adm-btn:focus-visible {
  background: var(--ad-blue-soft);
  color: var(--ad-control-text);
  border-color: transparent;
}
.adm.nova-client .adm-topbar .nova-account-menu__panel .nova-account-menu__logout {
  color: var(--ad-red);
}
.adm.nova-client
  .adm-topbar
  .nova-account-menu__panel
  .nova-account-menu__logout:hover:not(:disabled),
.adm.nova-client .adm-topbar .nova-account-menu__panel .nova-account-menu__logout:focus-visible {
  background: color-mix(in srgb, var(--ad-red) 9%, var(--ad-surface));
  color: #b91c1c;
}
.nova-client .nova-account-menu__error {
  margin: 6px 4px 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ad-red) 8%, var(--ad-surface));
  color: #b91c1c;
  font-size: 12px;
  line-height: 1.4;
}
.nova-client .nova-addmenu__panel {
  width: 300px;
}
.nova-client .nova-addmenu__panel .nova-sheet__item,
.nova-client .nova-addmenu__panel b,
.nova-client .nova-addmenu__panel small {
  white-space: normal;
}
body[data-surface="client"] .adm-modal .adm-btn--primary:disabled,
body[data-surface="client"] .adm-modal button[disabled].adm-btn--primary {
  background: #f2f3f6 !important;
  color: #b3b6c0 !important;
  box-shadow: none !important;
}
body[data-surface="client"] .adm-modal [data-variant="primary"] {
  background: linear-gradient(135deg, #7440c4, #a24bd0);
  color: #fff;
  border: 0;
  box-shadow:
    0 6px 16px -8px rgba(116, 64, 196, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  min-height: 40px;
}
body[data-surface="client"] .adm-modal [data-variant="primary"]:disabled {
  background: #f2f3f6;
  color: #b3b6c0;
  border: 1px solid #e3e4ea;
  box-shadow: none;
}
.nova-client .nova-addmenu:not([data-compact]) .nova-addmenu__panel {
  width: 250px;
  inset-inline-start: auto;
  inset-inline-end: 0;
}

/* ===== Stage 2 — Marketplace (001, 051) ===== */
.adm.nova-client .nova-mk {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.adm.nova-client .nova-mk__search {
  display: flex;
  gap: 0;
  max-width: 640px;
  align-items: flex-end;
}
.adm.nova-client .nova-mk__search .adm-btn {
  height: 40px;
  box-shadow: none;
}
.adm.nova-client .nova-mk__search > :first-child {
  flex: 1;
  min-width: 0;
}
.adm.nova-client .nova-mk__search .adm-input {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}
.adm.nova-client .nova-mk__search .adm-btn {
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  padding-inline: 22px;
}
.adm.nova-client .nova-mk__filters {
  display: grid;
  gap: 10px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.adm.nova-client .nova-mk__catwrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.adm.nova-client .nova-mk__cats {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  scroll-snap-type: x proximity;
  padding: 4px 0;
}
.adm.nova-client .nova-mk__cats::-webkit-scrollbar {
  display: none;
}
.adm.nova-client .nova-mk__cat {
  flex: 0 0 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ad-ink-900);
  scroll-snap-align: start;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.adm.nova-client .nova-mk__cat:hover {
  background: #f5f6f9;
}
.adm.nova-client .nova-mk__caticon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef0f4;
  color: #4a4f5c;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%),
    0 1px 2px rgb(17 18 24 / 8%);
}
.adm.nova-client .nova-mk__cat[data-active="true"] .nova-mk__caticon {
  background: var(--ad-drop-grad);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgb(138 43 242 / 45%);
}
.adm.nova-client .nova-mk__cat[data-active="true"] .nova-mk__catlabel {
  color: var(--ad-action-600);
  font-weight: 700;
}
.adm.nova-client .nova-mk__catlabel {
  font-size: 0.74rem;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
}
.adm.nova-client .nova-mk__arrow {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #e3e5ea;
  background: #fff;
  box-shadow: 0 2px 6px rgb(17 18 24 / 8%);
  color: #4a4f5c;
}
.adm.nova-client .nova-mk__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.adm.nova-client .nova-mk__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.adm.nova-client .nova-mk__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #e3e5ea;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3a3f4b;
}
.adm.nova-client .nova-mk__chip[data-active="true"] {
  border-color: var(--ad-action);
  background: var(--ad-blue-soft);
  color: var(--ad-action-600);
}
.adm.nova-client .nova-mk__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #6b7080;
  min-width: 200px;
}
.adm.nova-client .nova-mk__sort > :last-child {
  flex: 1;
}
.adm.nova-client .nova-mk__section {
  display: grid;
  gap: 10px;
}
.adm.nova-client .nova-mk__section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.adm.nova-client .nova-mk__section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ad-ink-900);
  margin: 0;
}
.adm.nova-client .nova-mk__more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ad-action-600);
  background: none;
  border: 0;
}
.adm.nova-client .nova-mk__more:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 760px) {
  .adm.nova-client .nova-mk__search {
    max-width: none;
  }
  .adm.nova-client .nova-mk__filters {
    grid-template-columns: 1fr;
  }
  .adm.nova-client .nova-mk__arrow {
    display: none;
  }
  .adm.nova-client .nova-mk__cat {
    flex-basis: 84px;
  }
  .adm.nova-client .nova-mk__bar {
    flex-direction: column;
    align-items: stretch;
  }
  .adm.nova-client .nova-mk__sort {
    min-width: 0;
  }
}

/* Shared Client polish: consistent reading contrast, navigation and store selector. */
.adm.nova-client {
  --ad-control-text: #252934;
  --ad-secondary-text: #505a68;
  --ad-focus-ring: #7440c4;
  --ad-panel-line: #dfe3eb;
  --ad-store-overlay: rgb(17 18 24 / 56%);
  --ad-store-shadow: 0 24px 64px rgb(17 18 24 / 23%);
  --ad-store-avatar: #d9eeeb;
  --ad-store-avatar-ink: #245e59;
}
.nova-client .nova-nav__sub {
  display: contents;
}
.nova-client .nova-side-pane .nova-nav__sub a,
.nova-client .nova-drawer .nova-nav__sub a {
  padding-inline-start: 30px;
  font-size: 13px;
}
.nova-client .nova-side-pane .adm-nav a {
  min-height: 44px;
  font-size: 14px;
  gap: 12px;
}
.nova-client .nova-side-pane .adm-nav a svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.nova-client .nova-side-pane .adm-side__scroll {
  scrollbar-width: thin;
}
.nova-client .nova-side-rail {
  gap: 6px;
}
.adm.nova-client .nova-language {
  min-width: 44px;
  padding-inline: 8px;
  font-weight: 700;
}
.adm.nova-client .adm-input::placeholder,
.adm.nova-client input::placeholder {
  color: var(--ad-secondary-text);
  opacity: 1;
}
.adm.nova-client .adm-tabs__btn {
  color: var(--ad-secondary-text);
}
.adm.nova-client .adm-table thead th {
  color: var(--ad-secondary-text);
}
.adm.nova-client .adm-table tbody td {
  color: var(--ad-control-text);
}
.adm.nova-client :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--ad-focus-ring);
  outline-offset: 2px;
}
.nova-client .nova-store {
  position: relative;
  min-width: 0;
}
.nova-client .nova-store__trigger {
  cursor: pointer;
  width: 100%;
  text-align: start;
  font-family: inherit;
  border: 0;
}
.nova-client .nova-store__trigger > span:nth-child(2) {
  flex: 1;
  text-align: start;
}
.nova-client .nova-store__scrim {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: var(--ad-store-overlay);
  backdrop-filter: blur(3px);
  border: 0;
  cursor: default;
}
.nova-client .nova-store__panel {
  position: fixed;
  z-index: 300;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 24px));
  height: min(610px, calc(100dvh - 28px));
  display: flex;
  flex-direction: column;
  padding: 24px 40px;
  border: 1px solid var(--ad-panel-line);
  border-radius: 8px;
  background: var(--ad-surface);
  color: var(--ad-control-text);
  box-shadow: var(--ad-store-shadow);
}
.nova-client .nova-store__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 18px;
}
.adm.nova-client .nova-store__close {
  width: 36px;
  min-height: 36px;
  padding: 0;
  justify-content: center;
  border: 0;
}
.nova-client .nova-store__search {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  padding: 0 12px;
  background: var(--ad-surface-muted);
  border: 1px solid var(--ad-panel-line);
  min-height: 44px;
}
.nova-client .nova-store__search input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ad-control-text);
  font: inherit;
}
.nova-client .nova-store__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin-top: 20px;
}
.nova-client .nova-store__listhead {
  border-bottom: 1px solid var(--ad-panel-line);
  padding: 10px 0 14px;
}
.nova-client .nova-store__row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  text-align: start;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ad-panel-line);
  color: var(--ad-control-text);
  cursor: pointer;
  font: inherit;
}
.nova-client .nova-store__row:hover {
  background: var(--ad-surface-muted);
}
.nova-client .nova-store__row .adm-side__avatar {
  background: var(--ad-store-avatar);
  color: var(--ad-store-avatar-ink);
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}
.nova-client .nova-store__check {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--ad-border-strong);
  border-radius: 3px;
}
.nova-client .nova-store__row[aria-pressed="true"] .nova-store__check {
  background: var(--ad-action-600);
  color: var(--ad-surface);
  border-color: var(--ad-action-600);
}
.nova-client .nova-store__name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.nova-client .nova-store__empty {
  padding: 16px 0;
  color: var(--ad-secondary-text);
}
.nova-client .nova-store__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ad-panel-line);
  padding-top: 16px;
}
.nova-client .nova-store__footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ad-secondary-text);
  text-decoration: none;
}
.nova-client .nova-store__footer a:hover {
  color: var(--ad-action-600);
}
.nova-client .nova-store__footer .adm-btn {
  min-width: 102px;
}
.nova-client .nova-addmenu__panel {
  max-width: calc(100vw - 24px);
}
.nova-client .nova-addmenu__panel .nova-sheet__item {
  color: var(--ad-control-text);
}
.nova-client .nova-addmenu__panel .nova-sheet__item small {
  color: var(--ad-secondary-text);
}
@media (max-width: 640px) {
  .nova-client .nova-store__panel {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: min(76dvh, 610px);
    border-radius: 12px 12px 0 0;
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
  }
  .nova-client .nova-store__footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nova-client .adm-nav a,
  .nova-client .adm-btn {
    transition: none;
  }
}

/* Mirror the whole desktop workspace: Hebrew nav on the right, English nav on the left. */
@media (min-width: 1024px) {
  [dir="ltr"] .adm.nova-client .adm-shell {
    grid-template-columns: var(--ad-sidebar-w) minmax(0, 1fr);
  }
  [dir="ltr"] .adm.nova-client .adm-shell > .adm-main {
    order: 2;
  }
  [dir="ltr"] .adm.nova-client .adm-shell > .nova-desktop-side {
    order: 1;
    border-inline-start: 0;
    border-inline-end: 1px solid var(--ad-border);
    box-shadow: 8px 0 28px rgb(20 24 35 / 5%);
  }
}
.adm.nova-client .nova-drawer .adm-nav a {
  color: #e1e3ed;
  font-size: 14px;
  min-height: 44px;
}
.adm.nova-client .nova-drawer .adm-nav a:hover {
  color: #fff;
  background: #383c4a;
}
.adm.nova-client .nova-drawer .adm-side__store {
  color: #e1e3ed;
}
.adm.nova-client .nova-drawer .adm-side__store:hover {
  background: #383c4a;
}

/* Discovery routes share the same quiet, accessible content hierarchy. */
.adm.nova-client .nova-discovery {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.adm.nova-client .nova-discovery__state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: min(54vh, 460px);
  padding: 32px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--ad-panel-line);
  background: var(--ad-surface);
  color: var(--ad-control-text);
}
.adm.nova-client .nova-discovery__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ad-action-600);
  background: var(--ad-blue-soft);
  margin-bottom: 24px;
}
.adm.nova-client .nova-discovery__eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--ad-secondary-text);
}
.adm.nova-client .nova-discovery__state h2 {
  margin: 12px 0 8px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 750;
}
.adm.nova-client .nova-discovery__state p {
  margin: 0;
  max-width: 460px;
  color: var(--ad-secondary-text);
  font-size: 14px;
  line-height: 1.75;
}
.adm.nova-client .nova-discovery__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--ad-action-600);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.adm.nova-client .nova-discovery__link:hover {
  text-decoration: underline;
}
.adm.nova-client .nova-mk__cat {
  flex-basis: 136px;
  min-height: 112px;
  border-radius: 6px;
  cursor: pointer;
}
.adm.nova-client .nova-mk__cat:hover {
  background: var(--ad-surface-soft);
  border-color: var(--ad-panel-line);
}
.adm.nova-client .nova-mk__catlabel {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ad-control-text);
}
.adm.nova-client .nova-mk__chip {
  cursor: pointer;
}
.adm.nova-client .nova-mk__chip:hover {
  background: var(--ad-surface-soft);
}
.adm.nova-client .nova-mk__filters .adm-sel__btn:disabled,
.adm.nova-client .nova-mk__sort .adm-sel__btn:disabled {
  opacity: 1;
  background: var(--ad-surface-soft);
  color: var(--ad-secondary-text);
  cursor: not-allowed;
}
.adm.nova-client .nova-mk__search .pw-filter {
  min-width: 0 !important;
}
.adm.nova-client .nova-mk__search .adm-input {
  min-width: 0;
}
.adm.nova-client .nova-mk__search .adm-btn {
  flex: none;
}
.adm.nova-client .nova-mk__more:disabled {
  color: var(--ad-secondary-text);
  opacity: 0.8;
}
@media (max-width: 760px) {
  .adm.nova-client .nova-mk__cat {
    flex-basis: 112px;
    min-height: 108px;
  }
  .adm.nova-client .nova-discovery__state {
    min-height: 50vh;
    padding: 24px;
  }
}

/* Client product workspace: readable controls and a distinct table plane. */
.adm.nova-client .nova-products {
  min-width: 0;
}
.adm.nova-client .nova-products .adm-panel {
  overflow: hidden;
  border-color: var(--ad-panel-line);
}
.adm.nova-client .nova-products .pw-products-toolbar {
  padding: 16px;
  gap: 14px;
  background: var(--ad-surface);
}
.adm.nova-client .nova-products .pw-products-toolbar__row {
  align-items: end;
  gap: 10px;
}
.adm.nova-client .nova-products .pw-filter > span {
  color: var(--ad-secondary-text);
  font-size: 11px;
}
.adm.nova-client .nova-products .adm-input,
.adm.nova-client .nova-products .adm-sel__btn {
  border-color: var(--ad-panel-line);
  color: var(--ad-control-text);
  background: var(--ad-surface);
  min-height: 40px;
}
.adm.nova-client .nova-products .adm-bulkbar {
  border-color: var(--ad-panel-line);
  min-height: 48px;
}
.adm.nova-client .nova-products .adm-bulkbar .adm-btn:disabled {
  color: var(--ad-secondary-text);
  background: var(--ad-surface-soft);
  border-color: var(--ad-panel-line);
  box-shadow: none;
  opacity: 0.65;
  cursor: not-allowed;
}
.adm.nova-client .nova-products .pw-prodcard {
  border-color: var(--ad-panel-line);
  box-shadow: 0 2px 6px rgb(20 24 35 / 4%);
}
.adm.nova-client .nova-products .pw-prodcard__name {
  color: var(--ad-control-text);
}
.adm.nova-client .nova-product-editor__tabs {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--ad-panel-line);
}
.adm.nova-client .nova-product-editor__tabs .adm-tabs {
  width: max-content;
  min-width: 100%;
}
.adm.nova-client .nova-catpick {
  display: grid;
  gap: 8px;
}
.adm.nova-client .nova-catpick__trigger {
  width: 100%;
  min-height: 40px;
  justify-content: space-between;
  color: var(--ad-control-text);
  background: var(--ad-surface);
  border-color: var(--ad-panel-line);
  font-weight: 400;
}
.adm.nova-client .nova-catpick__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.adm.nova-client .nova-catpick__selected .adm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.adm.nova-client .nova-catpick__selected button {
  width: 24px;
  height: 24px;
  min-height: 24px;
}
.adm.nova-client .nova-catpick__list {
  max-height: 260px;
  overflow-y: auto;
  margin-top: 8px;
}
.adm.nova-client .nova-catpick__empty {
  padding: 8px;
  color: var(--ad-secondary-text);
  font-size: 12px;
}
.adm.nova-client .nova-catpick__tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.adm.nova-client .nova-catpick__tools .adm-input {
  flex: 1;
  min-width: 0;
}
.adm.nova-client .nova-catpick__note {
  margin-inline-start: auto;
  color: var(--ad-secondary-text);
  font-size: 11px;
}
.adm.nova-client .nova-catpick__error {
  color: var(--ad-red);
}
.adm.nova-client .nova-catpick__create {
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}
.adm.nova-client .pw-header {
  min-width: 0;
}
.adm.nova-client .pw-header__info {
  min-width: 0;
}
.adm.nova-client .pw-header__info h1 {
  overflow-wrap: anywhere;
}
[dir="ltr"] .adm.nova-client .nova-products .ptbl {
  direction: ltr;
}
[dir="ltr"] .adm.nova-client .nova-products .ptbl__frozen {
  box-shadow: 10px 0 18px rgb(20 24 35 / 10%);
}
[dir="ltr"] .adm.nova-client .nova-products .pw-prodcard__name,
[dir="ltr"] .adm.nova-client .nova-products .ptbl__frozen-body a {
  unicode-bidi: plaintext;
}
.adm.nova-client .nova-products :is(a, button, input):focus-visible {
  outline: 2px solid var(--ad-focus-ring);
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .adm.nova-client .nova-products .pw-products-toolbar__row > form {
    min-width: 0 !important;
    flex-basis: 100%;
  }
  .adm.nova-client .nova-products .pw-products-toolbar__row > form .pw-filter {
    min-width: 0 !important;
  }
  .adm.nova-client .nova-products .pw-products-toolbar__filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm.nova-client .nova-products .pw-products-toolbar__filters .pw-filter {
    min-width: 0;
  }
}

/* Client-only control consistency: keep foreground contrast on every hover state. */
.adm.nova-client
  .adm-btn:not([data-variant="primary"]):not([data-variant="danger"]):not(.adm-btn--primary):not(
    .adm-btn--danger
  ):hover:not(:disabled),
.adm.nova-client .adm-sel__btn:hover:not(:disabled),
.adm.nova-client .nova-catpick__trigger:hover:not(:disabled) {
  color: var(--ad-control-text);
  background: var(--ad-surface-soft);
  border-color: var(--ad-border-strong);
}
.adm.nova-client .adm-btn[data-variant="primary"]:is(:hover, :focus-visible):not(:disabled),
.adm.nova-client .adm-btn--primary:is(:hover, :focus-visible):not(:disabled),
.adm.nova-client .adm-btn[data-variant="danger"]:is(:hover, :focus-visible):not(:disabled),
.adm.nova-client .adm-btn--danger:is(:hover, :focus-visible):not(:disabled) {
  color: var(--ad-surface);
}
.adm.nova-client .adm-topbar .adm-btn:hover:not(:disabled) {
  color: var(--ad-surface);
}
.adm.nova-client .nova-drawer .adm-btn:hover:not(:disabled) {
  color: var(--ad-surface);
  background: var(--ad-navy-900);
}
.adm.nova-client .adm-panel[role="menu"] .adm-btn:hover:not(:disabled) {
  color: var(--ad-control-text);
  background: var(--ad-blue-soft);
}
body[data-surface="client"] .adm-modal .adm-btn[data-variant="primary"]:hover:not(:disabled) {
  color: var(--ad-surface);
}
.adm.nova-client .nova-side-pane .adm-nav a[data-active="true"]:hover,
.adm.nova-client .nova-drawer .adm-nav a[data-active="true"]:hover {
  color: var(--ad-surface);
  background-image: var(--ad-drop-sheen), var(--ad-drop-grad);
}
.adm.nova-client
  :is(.adm-input, .adm-sel__btn, .adm-select, select, textarea):hover:not(:disabled):not(:focus) {
  border-color: var(--ad-border-strong);
}
.adm.nova-client .nova-products .adm-input:hover:not(:focus),
.adm.nova-client .nova-products .adm-sel__btn:hover:not(:focus) {
  border-color: var(--ad-border-strong);
}
.adm.nova-client :is(.adm-input, .adm-sel__btn, .adm-select, select, textarea):focus-visible {
  border-color: var(--ad-focus-ring);
}

/* UI language determines field alignment; explicit LTR IDs, SKUs and URLs remain untouched. */
.adm.nova-client[dir="rtl"]
  :is(input, textarea, select):not([dir="ltr"]):not([type="checkbox"]):not([type="radio"]),
html[dir="rtl"]
  body[data-surface="client"]
  :is(input, textarea, select):not([dir="ltr"]):not([type="checkbox"]):not([type="radio"]) {
  direction: rtl;
  text-align: start;
}
.adm.nova-client[dir="ltr"]
  :is(input, textarea, select):not([dir="rtl"]):not([type="checkbox"]):not([type="radio"]),
html[dir="ltr"]
  body[data-surface="client"]
  :is(input, textarea, select):not([dir="rtl"]):not([type="checkbox"]):not([type="radio"]) {
  direction: ltr;
  text-align: start;
}

/* Marketplace is one expandable sidebar section; children stay readable on either background. */
.nova-client .nova-nav__group {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.nova-client .nova-nav__group-head {
  display: flex;
  align-items: center;
  min-width: 0;
}
.nova-client .nova-nav__group-head > a {
  flex: 1;
  min-width: 0;
}
.nova-client .nova-drawer .nova-nav__group-head {
  color: var(--ad-surface);
}
.nova-client .nova-nav__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 40px;
  color: inherit;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.nova-client .nova-nav__toggle:hover {
  color: var(--ad-control-text);
  background: var(--ad-surface-soft);
}
.nova-client .nova-nav__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nova-client .nova-nav__toggle svg {
  transition: transform 160ms ease;
}
.nova-client .nova-nav__children {
  display: grid;
  gap: 2px;
  border-inline-start: 1px solid var(--ad-panel-line);
  margin-inline-start: 17px;
  padding-inline-start: 6px;
}
.nova-client .nova-side-pane .nova-nav__sub a,
.nova-client .nova-drawer .nova-nav__sub a {
  padding-inline-start: 9px;
}
.nova-client .nova-drawer .nova-nav__children {
  border-color: color-mix(in srgb, var(--ad-surface) 18%, transparent);
}
.nova-client .nova-drawer .nova-nav__toggle:hover {
  color: var(--ad-surface);
  background: color-mix(in srgb, var(--ad-surface) 12%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .nova-client .nova-nav__toggle svg {
    transition: none;
  }
}

/* Give the store and primary action a shared inset; open the add menu into the workspace. */
.adm.nova-client .nova-side-pane {
  padding-inline: 16px;
}
.adm.nova-client .nova-side-pane .nova-store__trigger,
.adm.nova-client .nova-side-pane .nova-addmenu__trigger {
  box-sizing: border-box;
  width: 100%;
  margin-inline: 0;
}
.adm.nova-client .nova-side-pane .nova-addmenu:not([data-compact]) .nova-addmenu__panel {
  width: 344px;
  max-width: calc(100vw - 32px);
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.adm.nova-client .nova-drawer .nova-store__trigger,
.adm.nova-client .nova-drawer > .adm-side__cta {
  box-sizing: border-box;
  width: calc(100% - 40px);
  margin-inline: 20px;
}

/* Client store lifecycle — scoped so the Admin UI is never affected. */
.nova-client .client-no-store {
  min-height: min(620px, calc(100dvh - 120px));
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px;
}
.nova-client .client-no-store__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--ad-action);
  background: color-mix(in srgb, var(--ad-action) 11%, white);
}
.nova-client .client-no-store h1 {
  margin: 4px 0 0;
  font-size: clamp(22px, 3vw, 30px);
}
.nova-client .client-no-store p {
  max-width: 560px;
  margin: 0 0 8px;
  color: var(--adm-muted);
  line-height: 1.7;
}
.client-store-manager {
  color: var(--adm-text);
  min-height: 420px;
}
.client-store-manager__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
}
.client-store-manager__head h2 {
  margin: 0;
  font-size: 24px;
}
.client-store-manager__head p {
  margin: 5px 0 0;
  color: var(--adm-muted);
}
.client-store-search {
  height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f4f5f7;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.client-store-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}
.client-store-list {
  min-height: 240px;
  padding-block: 14px;
}
.client-store-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #edf0f3;
  padding: 9px 0;
}
.client-store-row__select {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: start;
  cursor: pointer;
  padding: 5px;
}
.client-store-row__select > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.client-store-row__select small {
  color: var(--adm-muted);
}
.client-store-row__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #96588a;
  background: #f7edf5;
}
.client-store-menu {
  position: absolute;
  z-index: 20;
  inset-inline-end: 0;
  top: 52px;
  width: 210px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
}
.client-store-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 7px;
  cursor: pointer;
  text-align: start;
}
.client-store-menu button:hover {
  background: #f4f6f8;
}
.client-store-menu .danger {
  color: #b42318;
}
.client-store-manager__foot {
  border-top: 1px solid #e5e7eb;
  padding-top: 14px;
}
.client-store-empty,
.client-supplier-empty {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--adm-muted);
  text-align: center;
  padding: 24px;
}
.client-store-empty strong,
.client-supplier-empty strong {
  color: var(--adm-text);
  font-size: 17px;
}
.client-platform-picker {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.client-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.client-platform-grid button {
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #dfe3e8;
  border-radius: 9px;
  background: white;
  color: #4b5563;
}
.client-platform-grid button[data-enabled="true"] {
  cursor: pointer;
  color: #96588a;
  border-color: #c9a2c1;
}
.client-platform-grid button[data-enabled="true"]:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}
.client-platform-grid button > span {
  position: absolute;
  inset: 0 0 auto;
  padding: 3px;
  color: white;
  background: #2f7cd9;
  font-size: 11px;
}
.client-woo-connect {
  max-width: 520px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  text-align: center;
}
.client-woo-connect__logo {
  color: #96588a;
}
.client-woo-connect label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  text-align: start;
}
.client-store-delete {
  display: flex;
  flex-direction: column;
}
.client-store-delete__action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #e4e7ec;
}
.client-store-delete__action:first-child {
  padding-top: 0;
}
.client-store-delete__action:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.client-store-delete__action p {
  margin: 0;
  min-width: 0;
}
@media (max-width: 520px) {
  .client-store-delete__action {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
}
.client-add-supplier {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.client-add-supplier__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.client-add-supplier__list button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 10px;
  text-align: start;
  background: white;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
}
.client-add-supplier__list button[data-selected="true"] {
  border-color: var(--ad-action);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ad-action) 18%, transparent);
}
.client-add-supplier__list button > span {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.client-add-supplier__list small {
  color: var(--adm-muted);
}
@media (max-width: 640px) {
  .client-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .client-store-row__select {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
  }
  .client-store-row__select .adm-badge {
    display: none;
  }
  .client-add-supplier__list {
    grid-template-columns: 1fr;
  }
  .client-store-manager {
    min-height: 65dvh;
  }
}

/* Final specificity layer for the store manager (kept after its base rules). */
.client-store-manager { min-height: 580px; display: flex; flex-direction: column; }
.client-store-list { flex: 1; min-height: 330px; }
.client-store-platform-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 2px; border-bottom:1px solid #dfe4ec; color:#4d5260; font-weight:700; }
.client-store-platform-head span { display:inline-flex; align-items:center; gap:7px; }
.client-store-platform-head button { border:0; background:none; color:#2876dc; cursor:pointer; }
.client-store-row { min-height:72px; gap:10px; padding:10px 0; }
.client-store-check { width:20px; height:20px; flex:0 0 20px; display:grid; place-items:center; border:1px solid #c7ced8; border-radius:3px; background:#fff; color:#fff; }
.client-store-row[data-active="true"] .client-store-check { background:#e99a3b; border-color:#e99a3b; }
.client-store-row__select { grid-template-columns:42px minmax(0,1fr) auto; padding:0; }
.client-store-row__identity { display:grid !important; gap:5px; }
.client-store-row__identity b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; color:#555a65; }
.client-store-row__identity small { display:flex; align-items:center; gap:5px; font-size:12px; }
.client-store-tag { color:#6e7480; }
.client-store-kebab { border:0; background:none; color:#666b75; padding:8px; cursor:pointer; }
.client-store-menu { width:245px; top:62px; border-radius:4px; padding:8px; box-shadow:0 12px 30px rgba(15,23,42,.18); }
.client-store-menu button { min-height:38px; color:#686d77; font-weight:600; }
.client-store-menu button:hover { color:#252934; background:#f1f3f6; }
.client-store-manager__foot { margin-top:auto; display:flex; align-items:center; justify-content:space-between; direction:ltr; padding-top:18px; }
.client-store-manager__foot .adm-btn { direction:rtl; min-width:148px; }
.client-platform-icon { position:static !important; width:46px; height:46px; padding:0 !important; display:grid; place-items:center; background:transparent !important; color:currentColor !important; }
.client-platform-icon svg { width:30px; height:30px; }
@media (max-width: 640px) {
  .client-store-manager { min-height:70dvh; }
  .client-store-row__select { grid-template-columns:38px minmax(0,1fr) 16px; }
  .client-store-menu { inset-inline-end:0; width:min(245px, calc(100vw - 56px)); }
  .client-store-manager__foot .adm-btn { min-width:0; }
}

.adm.nova-client .adm-body { background:#f4f6f9; }
.adm.nova-client .adm-btn { border-color:#d7dce5; background:#fff; color:#3e4657; box-shadow:0 1px 2px rgba(22,32,58,.07); }
.adm.nova-client .adm-btn:hover:not(:disabled) { background:#eef2f7; border-color:#b9c2cf; color:#1f2937; }
.adm.nova-client .adm-btn[data-variant="danger"]:hover:not(:disabled) { background:#feeceb; border-color:#efb3ad; color:#a51d14; }
.adm.nova-client .set-rail,.adm.nova-client .set-content { border-radius:12px; border-color:#dfe4ec; background:#fff; box-shadow:0 10px 28px rgba(22,32,58,.06),0 1px 3px rgba(22,32,58,.05); }
.adm.nova-client .set-tabs,.adm.nova-client .set-subtabs { overflow-x:auto; scrollbar-width:none; }
.adm.nova-client .set-tabs::-webkit-scrollbar,.adm.nova-client .set-subtabs::-webkit-scrollbar { display:none; }
.client-support-surface { background:transparent !important; min-height:100%; }
@media (max-width:1023px) {
  .adm.nova-client .adm-topbar { min-height:52px; height:52px; padding:5px 8px; gap:6px; }
  .nova-client .adm-topbar .adm-brand-logo,.nova-client .adm-topbar .adm-brand-logo--sm { height:34px; padding:2px 6px; }
  .adm.nova-client .adm-topbar .adm-btn,.adm.nova-client .nova-topbar__icon { min-height:34px; height:34px; min-width:34px; padding:5px 7px; }
  .nova-client .adm-topbar .adm-side__avatar { width:28px; height:28px; font-size:10px; }
}

/* Client hardening: viewport-safe RTL, mobile chrome and Admin-parity controls. */
.adm.nova-client,
.adm.nova-client .adm-main,
.adm.nova-client .adm-body,
.adm.nova-client .adm-body > * {
  min-width: 0;
  max-width: 100%;
}
.adm.nova-client .adm-body {
  overflow-x: clip;
}
.adm.nova-client[data-lang="he"],
body[data-surface="client"] .adm-modal,
body[data-surface="client"] .adm-menu__panel {
  direction: rtl;
}
.adm.nova-client[data-lang="he"] input:not([dir="ltr"]),
.adm.nova-client[data-lang="he"] textarea:not([dir="ltr"]),
.adm.nova-client[data-lang="he"] select:not([dir="ltr"]),
body[data-surface="client"] input:not([dir="ltr"]),
body[data-surface="client"] textarea:not([dir="ltr"]),
body[data-surface="client"] select:not([dir="ltr"]) {
  direction: rtl;
  text-align: right;
}
.adm.nova-client p,
.adm.nova-client td,
.adm.nova-client th,
.adm.nova-client label,
body[data-surface="client"] .adm-modal {
  overflow-wrap: anywhere;
}
.client-support-surface,
.client-support-surface .nova-shell {
  width: 100%;
  max-width: none;
}
.client-support-surface .nova-shell {
  padding-inline: clamp(12px, 3vw, 36px);
}
.client-store-row {
  grid-template-columns: 20px minmax(0, 1fr) 34px 34px;
}
.client-store-row__select {
  grid-template-columns: 46px minmax(0, 1fr) !important;
}
.client-store-row__logo {
  width: 44px;
  height: 44px;
  color: #96588a;
}
.client-store-row__logo svg {
  width: 34px;
  height: 34px;
}
.client-store-tag {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6e7480;
  cursor: pointer;
}
.client-store-tag:hover,
.client-store-tag:focus-visible {
  color: var(--ad-action);
  background: #f2eafa;
  outline: none;
}
.client-platform-icon svg,
.client-woo-connect__logo svg,
.client-store-platform-head svg {
  min-width: 32px;
  min-height: 32px;
}
.nova-account-menu__stores {
  display: grid;
  gap: 3px;
  padding: 4px 8px 8px;
}
.nova-account-menu__stores a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--adm-text);
  text-decoration: none;
  background: #f6f7f9;
}
.nova-account-menu__stores a:hover { background: #eceff4; }
.nova-product-editor__inline-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
}
.adm.nova-client .set-tabs .adm-tabs__btn,
.adm.nova-client .set-subtabs .adm-tabs__btn {
  border: 1px solid #d9dee7;
  background: #fff;
  color: #3d4655;
  box-shadow: 0 1px 2px rgba(18, 28, 45, .08);
}
.adm.nova-client .set-tabs .adm-tabs__btn:hover,
.adm.nova-client .set-subtabs .adm-tabs__btn:hover {
  border-color: #aeb8c8;
  background: #f2f5f9;
  color: #172033;
}
.adm.nova-client .set-tabs .adm-tabs__btn[data-active="true"],
.adm.nova-client .set-subtabs .adm-tabs__btn[data-active="true"] {
  border-color: var(--ad-action);
  background: color-mix(in srgb, var(--ad-action) 11%, #fff);
  color: var(--ad-action);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--ad-action) 18%, transparent);
}

@media (max-width: 1023px) {
  .adm.nova-client .adm-topbar {
    min-height: 52px;
    height: 52px;
    flex-wrap: nowrap;
    overflow: visible;
    position: sticky;
  }
  .nova-client .nova-topbar__brand {
    display: flex;
    flex: 0 0 auto;
    position: absolute;
    left: 50%;
    width: auto;
    height: 32px;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
  }
  .nova-client .nova-topbar__brand .nova-brand-lockup {
    gap: 2px;
  }
  .nova-client .nova-topbar__brand .adm-brand-logo {
    transform: translateY(2px);
  }
  .nova-client .nova-topbar__brand .adm-brand-icon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }
  .nova-client .nova-topbar__actions {
    margin-inline-start: auto;
    gap: 4px;
    z-index: 1;
  }
  .adm.nova-client .adm-topbar .nova-topbar__control {
    box-sizing: border-box;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    justify-content: center;
    border: 1px solid #383b46;
    border-radius: 9px;
    background: #232630;
    color: #eeeef2;
    box-shadow: 0 1px 0 rgb(255 255 255 / 4%) inset;
  }
  .adm.nova-client .adm-topbar .nova-topbar__control > svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
  .adm.nova-client .adm-topbar .nova-account-menu > .nova-topbar__control > span.hidden,
  .adm.nova-client .adm-topbar .nova-account-menu > .nova-topbar__control > svg {
    display: none !important;
  }
  .adm.nova-client .adm-topbar .nova-topbar__control:hover:not(:disabled),
  .adm.nova-client .adm-topbar .nova-topbar__control:focus-visible {
    background: #30333f;
    border-color: #464a57;
    color: #fff;
  }
  .nova-client .nova-topbar__actions > .autodrop-balance {
    flex: 0 0 auto;
    min-width: 0;
  }
  .nova-client .autodrop-balance__trigger {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 9px;
  }
  .nova-client .autodrop-balance__trigger span,
  .nova-client .autodrop-balance__trigger small { display: none; }
  .nova-client .autodrop-balance__popover {
    position: fixed;
    inset: 56px 8px auto;
    width: auto;
    max-width: 420px;
    margin-inline: auto;
    z-index: 1200;
  }
  .nova-client .adm-topbar .adm-brand-logo,
  .nova-client .adm-topbar .adm-brand-logo--sm {
    width: min(100px, calc(100vw - 250px));
    max-width: 100px;
    height: 29px;
    object-fit: contain;
    padding: 0;
  }
  .adm.nova-client .adm-body {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .adm.nova-client .adm-topbar { gap: 3px; padding-inline: 8px; }
  .adm.nova-client .adm-topbar > .nova-topbar__menu-button {
    position: relative;
    z-index: 2;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
  }
  .adm.nova-client .adm-topbar > .adm-mobile-only,
  .adm.nova-client .nova-topbar__icon,
  .adm.nova-client .nova-account-menu > .adm-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    justify-content: center;
  }
  .adm.nova-client .nova-account-menu > .adm-btn > svg { display: none; }
  .nova-client .adm-topbar .adm-brand-logo,
  .nova-client .adm-topbar .adm-brand-logo--sm { width: min(96px, calc(100vw - 238px)); max-width: 96px; }
  .adm.nova-client .nova-language { display: none; }
  .client-support-surface .nova-shell { padding-inline: 8px; }
  .client-store-manager { min-height: min(72dvh, 620px); padding-bottom: 6px; }
  .client-store-list { min-height: 300px; }
  .client-store-row { grid-template-columns: 20px minmax(0, 1fr) 32px 32px; gap: 5px; }
  .client-store-row__select { grid-template-columns: 42px minmax(0, 1fr) !important; }
  .client-store-row__logo { width: 40px; height: 40px; }
  .client-store-row__logo svg { width: 32px; height: 32px; }
  body[data-surface="client"] .adm-menu__panel,
  body[data-surface="client"] .adm-select__panel {
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
  .adm.nova-client .set-content,
  .adm.nova-client .adm-panel,
  .adm.nova-client .nova-card { max-width: 100%; }
}

@media (max-width: 370px) {
  .nova-client .nova-topbar__actions { gap: 2px; }
  .adm.nova-client .adm-topbar > .nova-topbar__menu-button {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
  }
  .adm.nova-client .adm-topbar > .adm-mobile-only,
  .adm.nova-client .nova-topbar__icon,
  .adm.nova-client .nova-account-menu > .adm-btn,
  .nova-client .autodrop-balance__trigger {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }
  .nova-client .adm-topbar .adm-brand-logo,
  .nova-client .adm-topbar .adm-brand-logo--sm { width: 84px; max-width: 84px; }
  .nova-client .nova-topbar__brand .adm-brand-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
}

.client-platform-icon[data-platform="woocommerce"] svg { width:36px !important; height:36px !important; }
.client-platform-icon[data-platform="ebay"] svg,
.client-platform-icon[data-platform="wix"] svg { width:34px !important; height:34px !important; }

.client-platform-icon[data-platform="woocommerce"] svg { transform:scale(1.28); }
.client-platform-icon[data-platform="ebay"] svg { transform:scale(1.28); }
.client-platform-icon[data-platform="wix"] svg { transform:scale(1.15); }

/* 2026-09-30 Store-manager popup: bounded height + internal list scroll so the
   footer (עדכון / הוספת חנות) never overlaps the store list, plus spacing
   between platform groups. Final layer — wins over earlier min-height rules. */
.client-store-manager {
  min-height: 0;
  max-height: 580px;
  overflow: hidden;
}
.client-store-manager__head,
.client-store-search,
.client-store-manager__foot {
  flex-shrink: 0;
}
.client-store-manager__head {
  padding-bottom: 18px;
}
.client-store-search {
  margin-bottom: 2px;
}
@media (max-width: 640px) {
  .client-store-manager {
    max-height: min(80dvh, 680px);
  }
  .client-store-manager__head {
    padding-bottom: 14px;
  }
}

/* Standalone /client/settings/stores/ page only (no onClose prop, so
   ClientStoreManager isn't wrapped in the shared Modal) — the popup already
   gets its own comfortable width from Modal's width={650}. Scoped to this
   one wrapper class so the popup and every other page stay untouched. */
.client-store-page-frame {
  max-width: 720px;
  margin-inline: auto;
  padding: 28px 32px 32px;
}
.client-store-page-frame .client-store-manager {
  max-height: none;
  overflow: visible;
}
@media (max-width: 640px) {
  .client-store-page-frame {
    padding: 18px 16px 24px;
  }
}

/* Softer, integrated focus style for the search pill instead of the global
   .adm focus-visible rectangle outline (which looked like a stray extra
   frame sitting on top of the pill's own rounded shape). Scoped to this one
   component only — the global a11y focus-visible rule stays untouched
   everywhere else in the app. */
.client-store-search input:focus-visible {
  /* Overrides admin.css's global a11y focus-visible outline (higher
     specificity via :is()), which drew a second, offset rectangle on top of
     this pill's own rounded shape. The pill's border-color change below is
     the focus indicator here instead. */
  outline: none !important;
}
.client-store-search:focus-within {
  background: #fff;
  border-color: #c7ced8;
}

/* 2026-09-30 Accordion layout — one independently expandable/collapsible
   card per platform, used identically in the popup (Modal) and the
   /client/settings/stores/ page (structure/sizing reference only; icons,
   colors and data come from the existing PlatformIcon mapping and store
   data, untouched). Mobile-first base sizing below, scaled up at >=1024px
   only inside .client-store-page-frame (the popup stays compact/consistent
   regardless of viewport, since its Modal width is fixed at 650px). */
.client-store-accordion {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c8ced8 transparent;
  padding-top: 10px;
  padding-bottom: 10px;
}
.client-store-accordion::-webkit-scrollbar {
  width: 2px;
}
.client-store-accordion::-webkit-scrollbar-track {
  background: transparent;
}
.client-store-accordion::-webkit-scrollbar-thumb {
  background: #c8ced8;
  border-radius: 20px;
}
.client-store-page-frame .client-store-accordion {
  display: block;
  margin-top: 14px;
  max-height: 58vh;
}

.store-group {
  width: 100%;
  margin-bottom: 14px;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 25, 40, 0.05);
}
/* Renamed from .client-store-row when the accordion replaced the old plain
   list — the checked-state color lived on the old class name and silently
   stopped matching, leaving the (still-functional) checkmark invisible
   (white icon on white background). */
.store-row[data-active="true"] .client-store-check {
  background: #e99a3b;
  border-color: #e99a3b;
}
.store-group:last-child {
  margin-bottom: 0;
}
.store-group__header {
  width: 100%;
  min-height: 54px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #e9edf2;
  cursor: pointer;
  text-align: right;
  background: #fafbfc;
}
.store-group[data-collapsed="true"] .store-group__header {
  border-bottom-color: transparent;
}
.store-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.store-group__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7edf5;
  color: #96588a;
}
.store-group__name {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  color: #202938;
}
.store-group__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  flex-shrink: 0;
}
.store-group__select-all {
  color: #2876dc;
  cursor: pointer;
  white-space: nowrap;
}
.store-group__chevron {
  transition: transform 0.2s ease;
  color: #667184;
  flex-shrink: 0;
}
.store-group[data-collapsed="true"] .store-group__chevron {
  transform: rotate(180deg);
}
.store-group__body {
  width: 100%;
}

.store-row {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(36px, auto);
  grid-template-areas:
    "platform name actions"
    "platform metrics actions";
  align-items: center;
  row-gap: 2px;
  column-gap: 10px;
  padding: 8px 14px;
  border-top: 1px solid #edf0f4;
}
.store-row[data-disconnected="true"] {
  background: #fff9f0;
  box-shadow: inset 3px 0 0 #e99a3b;
}
.store-row[data-disconnected="true"] .store-row__platform-icon {
  background: #f3f4f6;
  color: #7b8492;
}
.store-row[data-disconnected="true"] .client-store-check {
  cursor: not-allowed;
  opacity: 0.45;
}
.store-row:first-child {
  border-top: none;
}
.store-row__platform {
  grid-area: platform;
  display: flex;
  align-items: center;
  gap: 8px;
}
.store-row__platform-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7edf5;
  color: #96588a;
}
.store-row__metrics {
  grid-area: metrics;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #667184;
}
.store-row__metrics span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.store-row__name {
  grid-area: name;
  min-width: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: #202938;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.store-row__name > span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-row__name small {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.store-row__name small[data-tone="connected"] {
  color: #24834b;
}
.store-row__name small[data-tone="disconnected"] {
  color: #b45f06;
}
.store-row__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.store-row__reconnect {
  border: 1px solid #d97706;
  border-radius: 7px;
  background: #fff;
  color: #9a4d00;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .client-store-page-frame {
    max-width: 1480px;
    padding: 24px 28px 32px;
  }
  .client-store-page-frame .client-store-accordion {
    margin-top: 18px;
    max-height: 560px;
  }
  .client-store-page-frame .client-store-accordion::-webkit-scrollbar {
    width: 4px;
  }

  .client-store-page-frame .store-group {
    margin-bottom: 16px;
  }
  .client-store-page-frame .store-group__header {
    min-height: 68px;
    padding: 12px 20px;
  }
  .client-store-page-frame .store-group__title {
    gap: 12px;
  }
  .client-store-page-frame .store-group__icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .client-store-page-frame .store-group__name {
    font-size: 17px;
  }
  .client-store-page-frame .store-group__actions {
    gap: 18px;
    font-size: 13px;
  }

  .client-store-page-frame .store-row {
    min-height: 72px;
    grid-template-columns: 130px 210px minmax(280px, 1fr) 180px;
    grid-template-areas: "platform metrics name actions";
    gap: 14px;
    padding: 10px 20px;
  }
  .client-store-page-frame .store-row__platform {
    gap: 12px;
  }
  .client-store-page-frame .store-row__platform-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .client-store-page-frame .store-row__metrics {
    gap: 16px;
    font-size: 13px;
  }
  .client-store-page-frame .store-row__metrics span {
    gap: 5px;
  }
  .client-store-page-frame .store-row__name {
    font-size: 15px;
  }
  .client-store-page-frame .store-row__platform .client-store-check {
    width: 22px;
    height: 22px;
  }
}
/* Tags picker: selected tags live inside the field itself. */
.adm.nova-client .nova-tagpick__field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 10px;
  cursor: pointer;
  background: var(--ad-surface);
  border: 1px solid var(--ad-panel-line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.adm.nova-client .nova-tagpick__field:hover {
  border-color: var(--ad-border-strong);
  background: var(--ad-surface-soft);
}

.adm.nova-client .nova-tagpick__field:focus-visible {
  outline: none;
  border-color: var(--ad-primary);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--ad-primary) 14%, transparent),
    0 1px 2px rgb(15 23 42 / 5%);
}

.adm.nova-client .nova-tagpick__content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

.adm.nova-client .nova-tagpick__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.adm.nova-client .nova-tagpick__chips .adm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.adm.nova-client .nova-tagpick__chips button {
  width: 24px;
  height: 24px;
  min-height: 24px;
}

.adm.nova-client .nova-tagpick__placeholder {
  color: var(--ad-secondary-text);
}

.adm.nova-client .nova-tagpick__chevron {
  flex: 0 0 auto;
}
/* ==========================================================================
   Product Editor: compact control grid, summary cards, chips, help tooltip,
   subtle field depth. Scoped to the Client product editor only.
   ========================================================================== */
.adm.nova-client .product-editor-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
@media (max-width: 767px) {
  .adm.nova-client .product-editor-control-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.adm.nova-client .product-editor-compact-card {
  min-width: 0;
  padding: 14px 16px;
  background: var(--ad-surface);
  border: 1px solid var(--ad-panel-line);
  border-radius: 12px;
}
.adm.nova-client .product-editor-compact-card__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}
.adm.nova-client .product-editor-compact-card__note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--adm-muted);
}
.adm.nova-client .product-editor-pricing-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  width: 100%;
}
.adm.nova-client .product-editor-localization {
  width: 100%;
}
.adm.nova-client .product-editor-monitoring {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm.nova-client .product-editor-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Selected chips (Tags + Categories share one compact neutral style). */
.adm.nova-client .nova-tagpick__chips .product-editor-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 0;
  height: 22px;
  padding: 0 3px 0 8px;
  font-size: 12px;
  line-height: 1;
  color: var(--ad-control-text);
  background: var(--ad-surface-soft);
  border: 1px solid var(--ad-border);
  border-radius: 6px;
}
.adm.nova-client .nova-tagpick__chips .product-editor-chip button {
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  border-radius: 4px;
}

/* Help "?" indicator + custom tooltip (no native title tooltip). */
.nova-help-tooltip__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ad-ink-300);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  transition: background 160ms ease;
}
.nova-help-tooltip__trigger:hover,
.nova-help-tooltip__trigger:focus-visible {
  background: var(--ad-ink-700);
  outline: none;
}
.nova-help-tooltip__trigger:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ad-primary, #2678d9) 25%, transparent);
}
.nova-help-tooltip__bubble {
  position: fixed;
  z-index: 10000;
  transform: translate(-50%, 0);
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ad-navy-950, #090e35);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-align: start;
  box-shadow: var(--ad-shadow-pop);
  pointer-events: none;
}
.nova-help-tooltip__bubble[data-above="true"] {
  transform: translate(-50%, -100%);
}

/* Subtle depth for Product Editor fields only. */
.adm.nova-client .product-editor .adm-input,
.adm.nova-client .product-editor select.adm-input,
.adm.nova-client .product-editor textarea.adm-input,
.adm.nova-client .product-editor button[aria-haspopup="listbox"],
.adm.nova-client .product-editor .nova-catpick__trigger {
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}
.adm.nova-client .product-editor .adm-input:focus,
.adm.nova-client .product-editor button[aria-haspopup="listbox"]:focus-visible {
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--ad-primary, #2678d9) 14%, transparent),
    0 1px 2px rgb(15 23 42 / 5%);
}

/* ==========================================================================
   Product Editor polish (2026-10-07): one radius, one border, one subtle depth,
   RTL-correct alignment, one modal family. Client surface only.
   ========================================================================== */
.adm.nova-client,
body[data-surface="client"] {
  --pe-radius: 4px; /* fields: AutoDS 4px */
  --pe-card-radius: 6px; /* cards, panel, modals */
  --pe-bw: 0.8px; /* AutoDS thin field border */
  --pe-line: #e5e5e5; /* AutoDS field border color */
  --pe-shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 1px 3px rgb(15 23 42 / 4%);
  --pe-shadow-field: 0 1px 2px rgb(15 23 42 / 5%);
  --pe-focus: color-mix(in srgb, var(--ad-primary, #7440c4) 16%, transparent);
}

/* Page breathing room: the last block never sits on the bottom edge. */
.adm.nova-client .product-editor {
  padding-bottom: 56px !important;
}
.adm.nova-client .adm-panel:has(> .nova-product-editor__tabs) {
  margin-bottom: 40px;
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: var(--pe-card-radius);
  box-shadow: var(--pe-shadow);
}

/* One field frame: inputs, textareas, selects, tags, categories, shipping. */
.adm.nova-client .product-editor .adm-input,
.adm.nova-client .product-editor select.adm-input,
.adm.nova-client .product-editor textarea.adm-input,
.adm.nova-client .product-editor button[aria-haspopup="listbox"],
.adm.nova-client .product-editor .nova-tagpick__field,
.adm.nova-client .product-editor .nova-catpick__trigger {
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: var(--pe-radius);
  box-shadow: var(--pe-shadow-field);
}
.adm.nova-client .product-editor .nova-tagpick__field {
  min-height: 40px;
  padding: 4px 10px;
}
.adm.nova-client .product-editor .adm-input:focus,
.adm.nova-client .product-editor button[aria-haspopup="listbox"]:focus-visible,
.adm.nova-client .product-editor .nova-tagpick__field:focus-visible {
  outline: none;
  border-color: var(--ad-primary, #7440c4);
  box-shadow:
    0 0 0 3px var(--pe-focus),
    var(--pe-shadow-field);
}
.adm.nova-client .nova-tagpick__chips .product-editor-chip {
  box-shadow: 0 1px 1px rgb(15 23 42 / 4%);
}

/* Cards / sections. */
.adm.nova-client .product-editor-compact-card {
  padding: 12px 14px;
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: var(--pe-card-radius);
  box-shadow: var(--pe-shadow);
}
.adm.nova-client .product-editor-compact-card--wide {
  padding: 14px 16px;
}
.adm.nova-client .product-editor-compact-card__title {
  margin: 0 0 8px;
}

/* Pricing summary: three compact metric rows anchored to the RTL start edge. */
.adm.nova-client .product-editor-compact-card--pricing .product-editor-compact-card__title {
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pe-line);
}
.adm.nova-client .nova-pricing-metric-list {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 12px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--pe-line);
}
.adm.nova-client .nova-pricing-metric {
  display: grid;
  grid-template-columns: 34px minmax(112px, 150px) minmax(120px, 176px);
  justify-content: end;
  align-items: center;
  column-gap: 12px;
  min-width: 0;
  min-height: 46px;
  padding: 6px 10px;
  direction: rtl;
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 2.5%, #fff);
  border-radius: 8px;
}
.adm.nova-client .nova-pricing-metric__icon,
body[data-surface="client"] .nova-pricing-metric__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #6f7787;
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 6%, #fff);
  border-radius: 8px;
}
.adm.nova-client .nova-pricing-metric__label,
body[data-surface="client"] .nova-pricing-metric__label {
  min-width: 0;
  color: var(--adm-muted, #6b7280);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}
.adm.nova-client .nova-pricing-metric__value,
body[data-surface="client"] .nova-pricing-metric__value {
  min-width: 0;
  color: var(--ad-control-text, #172033);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  unicode-bidi: plaintext;
  text-align: left;
  white-space: nowrap;
}
.adm.nova-client .product-editor-pricing-summary__edit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 0;
  padding-inline: 13px;
  color: #6733b7;
  border-color: color-mix(in srgb, var(--ad-primary, #7440c4) 28%, var(--pe-line));
  background: #fff;
  box-shadow: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.adm.nova-client .product-editor-pricing-summary__edit:hover:not(:disabled) {
  color: #522495;
  border-color: color-mix(in srgb, var(--ad-primary, #7440c4) 52%, var(--pe-line));
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 4%, #fff);
}
.adm.nova-client .product-editor-pricing-summary__edit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--pe-focus);
}
.adm.nova-client .product-editor-pricing-summary__edit:active:not(:disabled) {
  transform: scale(0.97);
}

/* AI title button: a clear, premium "smart action". */
.adm.nova-client .adm-btn.product-editor-ai-btn.product-editor-ai-btn.product-editor-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #4f2a99;
  background: linear-gradient(135deg, #f5efff 0%, #e8f0ff 100%);
  border: 1px solid #cdbdf0;
  border-radius: var(--pe-radius);
  box-shadow:
    0 1px 2px rgb(79 42 153 / 14%),
    inset 0 1px 0 rgb(255 255 255 / 70%);
}
.adm.nova-client .adm-btn.product-editor-ai-btn.product-editor-ai-btn.product-editor-ai-btn.product-editor-ai-btn.product-editor-ai-btn:hover:not(:disabled) {
  color: #3f1f80;
  border-color: #8f6fdc;
}
.adm.nova-client .adm-btn.product-editor-ai-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--pe-focus);
}
.adm.nova-client .adm-btn.product-editor-ai-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.adm.nova-client .product-editor-ai-btn svg {
  color: #7440c4;
}

/* One modal family for every Product Editor popup (pricing, AI title, AI description). */
body[data-surface="client"] .adm-modal.product-editor-modal {
  max-width: min(600px, calc(100vw - 24px)) !important;
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: var(--pe-card-radius);
  box-shadow:
    0 18px 48px -12px rgb(17 18 24 / 30%),
    0 2px 6px rgb(17 18 24 / 8%);
  direction: rtl;
  text-align: start;
}
body[data-surface="client"] .product-editor-modal .adm-modal__head {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #eceef3;
}
body[data-surface="client"] .product-editor-modal .adm-modal__title {
  font-size: 17px;
  padding-inline-end: 36px;
}
body[data-surface="client"] .product-editor-modal .adm-modal__close {
  top: 12px;
  inset-inline-end: 12px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
body[data-surface="client"] .product-editor-modal .adm-modal__body {
  padding: 16px 20px;
}
body[data-surface="client"] .product-editor-modal .adm-modal__foot {
  margin: 0;
  padding: 12px 20px 14px;
  background: #fafbfc;
  border-top: 1px solid #eceef3;
  border-radius: 0 0 var(--pe-card-radius) var(--pe-card-radius);
}
body[data-surface="client"] .product-editor-modal .adm-dialog-actions {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
body[data-surface="client"] .product-editor-modal .adm-btn {
  min-height: 40px;
  padding-inline: 16px;
  border-radius: var(--pe-radius);
}
body[data-surface="client"] .product-editor-modal .adm-input,
body[data-surface="client"] .product-editor-modal textarea.adm-input,
body[data-surface="client"] .product-editor-modal .adm-sel__btn {
  min-height: 40px;
  padding: 0 12px;
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: var(--pe-radius);
  background: #fff;
  box-shadow: var(--pe-shadow-field);
}
body[data-surface="client"] .product-editor-modal textarea.adm-input {
  padding: 10px 12px;
  line-height: 1.55;
}
body[data-surface="client"] .product-editor-modal .adm-input:focus {
  outline: none;
  border-color: var(--ad-primary, #7440c4);
  box-shadow:
    0 0 0 3px var(--pe-focus),
    var(--pe-shadow-field);
}
body[data-surface="client"] .adm-ai-modal__preview {
  padding: 12px 14px !important;
  border-color: var(--pe-line) !important;
  border-radius: var(--pe-card-radius) !important;
  background: #fff;
  box-shadow: var(--pe-shadow);
  text-align: start;
}

/* Pricing modal: the same metric anatomy as the summary, at a roomier scale. */
body[data-surface="client"] .adm-modal.product-editor-modal.product-editor-pricing-dialog {
  width: min(740px, calc(100vw - 32px));
  max-width: min(740px, calc(100vw - 32px)) !important;
  border-radius: 10px;
}
body[data-surface="client"] .product-editor-pricing-dialog .adm-modal__head {
  padding: 20px 24px 16px;
}
body[data-surface="client"] .product-editor-pricing-dialog .adm-modal__title {
  font-size: 20px;
  line-height: 1.35;
}
body[data-surface="client"] .product-editor-pricing-dialog .adm-modal__body {
  padding: 24px;
}
body[data-surface="client"] .product-editor-pricing-dialog .adm-modal__foot {
  padding: 16px 24px 18px;
}
body[data-surface="client"] .product-editor-pricing-dialog .adm-dialog-actions {
  gap: 12px;
}
body[data-surface="client"] .product-editor-pricing-dialog .adm-dialog-actions .adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 148px;
  min-height: 42px;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
body[data-surface="client"] .product-editor-pricing-dialog .adm-dialog-actions .adm-btn[data-variant="primary"] {
  min-width: 230px;
}
body[data-surface="client"] .product-editor-pricing-dialog .adm-dialog-actions .adm-btn:active:not(:disabled) {
  transform: scale(0.97);
}
body[data-surface="client"] .product-editor-pricing-modal__content {
  display: grid;
  gap: 20px;
}
body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric-list {
  display: grid;
  gap: 10px;
  width: 100%;
}
body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric {
  display: grid;
  grid-template-columns: 36px minmax(132px, 166px) minmax(150px, 210px);
  justify-content: end;
  align-items: center;
  column-gap: 14px;
  min-width: 0;
  min-height: 56px;
  padding: 9px 14px;
  direction: rtl;
  background: #fff;
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: 9px;
  box-shadow: var(--pe-shadow-field);
}
body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric__icon {
  width: 36px;
  height: 36px;
  color: #6530b0;
}
body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric__label {
  font-size: 14px;
}
body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric__value {
  font-size: 17px;
}
body[data-surface="client"] .product-editor-pricing-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body[data-surface="client"] .product-editor-pricing-modal input[dir="ltr"] {
  width: 100%;
  text-align: right;
}
body[data-surface="client"] .nova-pricing-info {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  color: var(--adm-muted, #667085);
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 5%, #fff);
  border-radius: 9px;
}
body[data-surface="client"] .nova-pricing-info svg {
  margin-top: 1px;
  color: #6630b1;
}
body[data-surface="client"] .nova-pricing-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  text-align: start;
}
@media (max-width: 640px) {
  body[data-surface="client"] .adm-modal.product-editor-modal {
    border-radius: 14px 14px 0 0;
  }
  body[data-surface="client"] .adm-modal.product-editor-modal.product-editor-pricing-dialog {
    width: 100vw;
    max-width: 100vw !important;
    border-radius: 14px 14px 0 0;
  }
  body[data-surface="client"] .product-editor-pricing-dialog .adm-modal__head {
    padding: 18px 20px 14px;
  }
  body[data-surface="client"] .product-editor-pricing-dialog .adm-modal__body {
    padding: 18px 20px;
  }
  body[data-surface="client"] .product-editor-pricing-dialog .adm-modal__foot {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  }
  body[data-surface="client"] .product-editor-pricing-dialog .adm-dialog-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  body[data-surface="client"] .product-editor-pricing-dialog .adm-dialog-actions .adm-btn,
  body[data-surface="client"] .product-editor-pricing-dialog .adm-dialog-actions .adm-btn[data-variant="primary"] {
    width: 100%;
    min-width: 0;
  }
  body[data-surface="client"] .product-editor-pricing-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .adm.nova-client .nova-pricing-metric,
  body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric {
    grid-template-columns: 32px minmax(0, 1fr);
    justify-content: stretch;
    column-gap: 11px;
    row-gap: 2px;
    padding: 9px 10px;
  }
  .adm.nova-client .nova-pricing-metric__icon,
  body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
  }
  .adm.nova-client .nova-pricing-metric__label,
  body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric__label {
    grid-column: 2;
  }
  .adm.nova-client .nova-pricing-metric__value,
  body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric__value {
    grid-column: 2;
    justify-self: start;
    font-size: 14px;
  }
}

/* Primary / danger buttons keep WHITE text on hover, focus and press (page + portaled popups). */
body[data-surface="client"] .adm-btn:is([data-variant="primary"], [data-variant="danger"], .adm-btn--primary, .adm-btn--danger):is(:hover, :focus-visible, :active):not(:disabled),
.adm.nova-client .adm-btn:is([data-variant="primary"], [data-variant="danger"], .adm-btn--primary, .adm-btn--danger):is(:hover, :focus-visible, :active):not(:disabled) {
  color: #fff !important;
}
body[data-surface="client"] .adm-btn:is([data-variant="primary"], [data-variant="danger"], .adm-btn--primary, .adm-btn--danger):is(:hover, :focus-visible, :active):not(:disabled) svg,
.adm.nova-client .adm-btn:is([data-variant="primary"], [data-variant="danger"], .adm-btn--primary, .adm-btn--danger):is(:hover, :focus-visible, :active):not(:disabled) svg {
  color: inherit;
}

/* Danger buttons: solid dark-red hover so the white text stays readable. */
body[data-surface="client"] .adm-btn:is([data-variant="danger"], .adm-btn--danger):is(:hover, :focus-visible, :active):not(:disabled),
.adm.nova-client .adm-btn:is([data-variant="danger"], .adm-btn--danger):is(:hover, :focus-visible, :active):not(:disabled) {
  background-color: #b91c1c !important;
  background-image: none !important;
  border-color: #b91c1c !important;
}

/* ==========================================================================
   Description tab (2026-10-07): template bar, editor frame/toolbar, template + preview
   popups. Same tokens as the Product tab (--pe-*). Editor classes carry no ancestor
   selector because the editor also renders inside portaled popups.
   ========================================================================== */
.adm.nova-client .nova-desc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.adm.nova-client .nova-desc__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  padding: 12px 14px;
  background: #fff;
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: var(--pe-card-radius);
  box-shadow: var(--pe-shadow);
}
.adm.nova-client .nova-desc__template {
  display: grid;
  gap: 6px;
  flex: 0 1 320px;
  min-width: min(100%, 260px);
}
.adm.nova-client .nova-desc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-inline-start: auto;
}
.adm.nova-client .nova-desc__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-inline: 14px;
  border-radius: var(--pe-radius);
  box-shadow: var(--pe-shadow-field);
}
.adm.nova-client .nova-desc__note {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  color: var(--adm-muted);
}
.adm.nova-client .nova-desc__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.adm.nova-client .nova-desc__head .product-editor-compact-card__title {
  margin: 0;
}
.adm.nova-client .nova-desc__head + .nova-desc__note {
  margin: -4px 0 10px;
}

/* Editor frame: toolbar + body behave as one field. */
.nova-rte {
  min-width: 0;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
  box-shadow: var(--pe-shadow-field, 0 1px 2px rgb(15 23 42 / 5%));
}
.nova-rte:focus-within {
  border-color: var(--ad-primary, #7440c4);
  box-shadow:
    0 0 0 3px var(--pe-focus, rgb(116 64 196 / 16%)),
    var(--pe-shadow-field, 0 1px 2px rgb(15 23 42 / 5%));
}
.nova-rte__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  padding: 6px 8px;
  background: #fafbfc;
  border-bottom: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px) var(--pe-radius, 4px) 0 0;
}
.nova-rte__group {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.nova-rte__sep {
  width: 1px;
  height: 20px;
  margin: 0 3px;
  background: var(--pe-line, #e5e5e5);
}
.nova-rte__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 28px;
  height: 30px;
  padding: 0 3px;
  color: #3b4350;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.nova-rte__btn:hover:not(:disabled) {
  color: #1f2430;
  background: #eceef3;
}
.nova-rte__btn[data-active="true"] {
  color: var(--ad-primary, #7440c4);
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 14%, #fff);
}
.nova-rte__btn:focus-visible {
  outline: 2px solid var(--ad-primary, #7440c4);
  outline-offset: 1px;
}
.nova-rte__btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.nova-rte__size-glyph {
  font-size: 12px;
  font-weight: 700;
}
.nova-rte__panel {
  padding: 10px 12px;
  background: #fff;
  border-bottom: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
}
.nova-rte__choices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.nova-rte__choices--grid {
  gap: 2px;
}
.nova-rte__choice {
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
  cursor: pointer;
}
.nova-rte__choice:hover {
  background: #f3f4f8;
  border-color: #cfd3dc;
}
.nova-rte__choice--char {
  min-width: 32px;
  padding: 0 4px;
  font-size: 16px;
  border-color: transparent;
}
.nova-rte__swatch {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgb(15 23 42 / 18%);
  border-radius: 4px;
  cursor: pointer;
}
.nova-rte__swatch:hover {
  transform: scale(1.1);
}
.nova-rte__custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--adm-muted);
}
.nova-rte__custom input {
  width: 30px;
  height: 26px;
  padding: 0;
  background: none;
  border: 0;
}
.nova-rte__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.nova-rte__form label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--adm-muted);
}
.nova-rte__form .adm-input {
  min-height: 36px;
}
.nova-rte__grow {
  flex: 1 1 200px;
  min-width: 0;
}
.nova-rte__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #b91c1c;
}
.nova-rte__body {
  max-height: 520px;
  padding: 14px 16px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  outline: none;
}
.nova-rte__source.adm-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  resize: vertical;
  background: #fff;
  border: 0;
  border-radius: 0 0 var(--pe-radius, 4px) var(--pe-radius, 4px);
  box-shadow: none;
}

/* Rendered description typography (the Tailwind reset flattens lists/headings). */
.nova-rte__body img,
.nova-preview img {
  max-width: 100%;
  height: auto;
}
.nova-rte__body table,
.nova-preview table {
  max-width: 100%;
  border-collapse: collapse;
}
.nova-rte__body ul,
.nova-preview ul {
  padding-inline-start: 24px;
  margin: 6px 0;
  list-style: disc;
}
.nova-rte__body ol,
.nova-preview ol {
  padding-inline-start: 24px;
  margin: 6px 0;
  list-style: decimal;
}
.nova-rte__body p,
.nova-preview p {
  margin: 0 0 8px;
}
.nova-rte__body h1,
.nova-preview h1 { font-size: 1.6em; font-weight: 700; margin: 12px 0 6px; }
.nova-rte__body h2,
.nova-preview h2 { font-size: 1.35em; font-weight: 700; margin: 12px 0 6px; }
.nova-rte__body h3,
.nova-preview h3 { font-size: 1.15em; font-weight: 700; margin: 10px 0 6px; }
.nova-rte__body blockquote,
.nova-preview blockquote {
  margin: 8px 0;
  padding: 4px 12px;
  color: #4b5563;
  border-inline-start: 3px solid var(--pe-line, #e5e5e5);
}
.nova-rte__body hr,
.nova-preview hr {
  margin: 12px 0;
  border: 0;
  border-top: 1px solid var(--pe-line, #e5e5e5);
}
.nova-rte__body a,
.nova-preview a {
  color: #2560d4;
  text-decoration: underline;
}
.nova-preview {
  max-height: 60vh;
  padding: 16px 18px;
  overflow: auto;
  line-height: 1.7;
  overflow-wrap: anywhere;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-card-radius, 6px);
  box-shadow: var(--pe-shadow, 0 1px 2px rgb(15 23 42 / 6%));
}

/* Wide variant of the shared popup family (templates, preview). */
body[data-surface="client"] .adm-modal.product-editor-modal.product-editor-modal--wide {
  max-width: min(860px, calc(100vw - 24px)) !important;
}

/* Templates popup */
.nova-tpl {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
}
.nova-tpl__list ul {
  display: grid;
  gap: 4px;
  max-height: 420px;
  margin: 8px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}
.nova-tpl__new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.nova-tpl__item {
  display: block;
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  text-align: start;
  background: transparent;
  border: var(--pe-bw, 0.8px) solid transparent;
  border-radius: var(--pe-radius, 4px);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.nova-tpl__item:hover {
  background: #f3f4f8;
}
.nova-tpl__item[data-active="true"] {
  font-weight: 600;
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 12%, #fff);
  border-color: color-mix(in srgb, var(--ad-primary, #7440c4) 35%, #fff);
}
.nova-tpl__edit {
  display: grid;
  gap: 12px;
  min-width: 0;
  align-content: start;
}
.nova-tpl__field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--adm-muted);
}
.nova-tpl__hint {
  margin: 0;
  font-size: 12px;
  color: var(--adm-muted);
}
.nova-tpl__error {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
}
.nova-tpl__ok {
  margin: 0;
  font-size: 13px;
  color: #15803d;
}
.nova-tpl__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nova-tpl__actions .adm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nova-tpl__empty {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 24px 8px;
}
.nova-tpl__empty p {
  margin: 0;
  font-size: 13px;
  color: var(--adm-muted);
}
@media (max-width: 720px) {
  .nova-tpl {
    grid-template-columns: minmax(0, 1fr);
  }
  .adm.nova-client .nova-desc__template {
    flex-basis: 100%;
  }
  .adm.nova-client .nova-desc__actions {
    width: 100%;
    margin-inline-start: 0;
  }
  .adm.nova-client .nova-desc__action {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Description tab: original-content action row, image selection, restore note. */
.adm.nova-client .nova-desc__head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.adm.nova-client .nova-desc__restore {
  margin: -2px 0 10px;
  font-size: 12px;
  color: var(--adm-muted);
}
.adm.nova-client .nova-desc__link {
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ad-primary, #7440c4);
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}
.nova-rte__body img {
  cursor: pointer;
}
.nova-rte__body img[data-nova-selected="true"] {
  outline: 2px solid var(--ad-primary, #7440c4);
  outline-offset: 2px;
}
.nova-rte__label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--adm-muted);
}
.nova-preview img,
.nova-rte__body img {
  display: block;
  margin-inline: auto;
}

/* ==========================================================================
   Description editor v2 (CKEditor-4 model): iframe surface, dropdown panels, dialogs,
   image/table tools. Class names carry no ancestor selector because the editor and its
   dialogs also render inside portaled popups.
   ========================================================================== */
.nova-rte {
  position: relative;
}
.nova-rte__frame {
  display: block;
  width: 100%;
  background: #fff;
  border: 0;
  border-radius: 0 0 var(--pe-radius, 4px) var(--pe-radius, 4px);
}
.nova-rte__btn--combo {
  min-width: 84px;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 13px;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  background: #fff;
}
.nova-rte__btn--combo + .nova-rte__btn--combo {
  margin-inline-start: 4px;
}
.nova-rte__combo-text {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nova-rte__pop {
  position: absolute;
  z-index: 30;
  max-height: 320px;
  overflow: auto;
  padding: 4px;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
  box-shadow: 0 8px 24px rgb(15 23 42 / 14%);
}
.nova-rte__pop--font {
  min-width: 190px;
}
.nova-rte__pop--size {
  min-width: 90px;
}
.nova-rte__pop--color,
.nova-rte__pop--bg {
  width: 232px;
}
.nova-rte__item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 30px;
  padding: 4px 10px;
  font-size: 13px;
  text-align: start;
  color: #1f2430;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.nova-rte__item:hover {
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 5%, #fff);
}
.nova-rte__item[data-active="true"] {
  font-weight: 600;
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 8%, #fff);
}
.nova-rte__item--wide {
  justify-content: center;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  margin: 2px 0;
}
.nova-rte__palette {
  display: grid;
  gap: 6px;
}
.nova-rte__swatches {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
}
.nova-rte__swatches .nova-rte__swatch {
  width: 100%;
  height: 22px;
}
.nova-rte__ctx {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #f7f6fb;
  border-bottom: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
}
.nova-rte__ctx .adm-btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
.nova-rte__ctx-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ad-primary, #7440c4);
  margin-inline-end: 4px;
}
.nova-rte__ctx-hint {
  font-size: 12px;
  color: var(--adm-muted);
  margin-inline-start: auto;
}

/* Editor dialogs (link / image / table / characters) */
body[data-surface="client"] .adm-modal.nova-rte-dlg {
  max-width: min(600px, calc(100vw - 24px)) !important;
}
.nova-rte-dlg__body {
  display: grid;
  gap: 12px;
}
.nova-rte-dlg__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.nova-rte-dlg__field {
  display: grid;
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  color: var(--adm-muted);
}
.nova-rte-dlg__field--wide {
  grid-column: 1 / -1;
}
.nova-rte-dlg__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1f2430;
}
.nova-rte-dlg__tabs {
  display: flex;
  gap: 4px;
  border-bottom: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
}
.nova-rte-dlg__tab {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--adm-muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.nova-rte-dlg__tab[data-active="true"] {
  font-weight: 600;
  color: var(--ad-primary, #7440c4);
  border-bottom-color: var(--ad-primary, #7440c4);
}
.nova-rte-dlg__note {
  margin: 0;
  font-size: 12px;
  color: var(--adm-muted);
}
.nova-rte-dlg__error {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
}
.nova-rte-dlg__chars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 2px;
  max-height: 300px;
  overflow: auto;
  padding: 4px;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
}
.nova-rte-dlg__char {
  height: 36px;
  font-size: 18px;
  background: transparent;
  border: var(--pe-bw, 0.8px) solid transparent;
  border-radius: 4px;
  cursor: pointer;
}
.nova-rte-dlg__char:hover,
.nova-rte-dlg__char:focus-visible {
  background: #f3f4f8;
  border-color: #cfd3dc;
  outline: none;
}
@media (max-width: 560px) {
  .nova-rte-dlg__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Short description card + AI popup controls + templates popup layout */
.adm.nova-client .nova-desc__short {
  display: block;
  width: 100%;
  min-height: 84px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.6;
}
body[data-surface="client"] .adm-ai-modal__controls {
  justify-content: flex-start;
  gap: 10px;
}
body[data-surface="client"] .adm-ai-modal__controls > div:first-child {
  min-width: 0 !important;
}
body[data-surface="client"] .nova-tpl--empty {
  grid-template-columns: minmax(0, 1fr);
}
.nova-tpl__empty-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nova-tpl__empty-actions .nova-tpl__new {
  width: auto;
}

/* ==========================================================================
   Button hover (Client): ONLY the text color and the border color change, with a
   subtle transition. Background, gradient and shadow stay exactly as at rest.
   ========================================================================== */
.adm.nova-client {
  --nova-btn-shadow: 0 1px 2px rgb(15 23 42 / 5%);
  --nova-btn-danger-shadow: 0 1px 2px rgb(22 32 58 / 7%);
  --nova-btn-primary-bg: rgb(109, 26, 214);
  --nova-btn-primary-img: linear-gradient(rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 52%), linear-gradient(135deg, rgb(109, 26, 214) 0%, rgb(154, 43, 242) 52%, rgb(212, 59, 238) 100%);
  --nova-btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 10px rgba(122, 34, 224, 0.26);
}
body[data-surface="client"] .adm-modal {
  --nova-btn-shadow: 0 1px 2px rgb(20 19 15 / 7%);
  --nova-btn-danger-shadow: 0 1px 2px rgb(22 32 58 / 7%);
  --nova-btn-primary-bg: transparent;
  --nova-btn-primary-img: linear-gradient(135deg, rgb(116, 64, 196), rgb(162, 75, 208));
  --nova-btn-primary-shadow: 0 6px 16px -8px rgba(116, 64, 196, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

:is(.adm.nova-client, body[data-surface="client"]) .adm-btn {
  transition:
    color 160ms ease,
    border-color 160ms ease !important;
}
/* popup primary buttons carry no frame at rest: give them a transparent one so the hover has a frame to color */
body[data-surface="client"] .adm-modal .adm-btn:is([data-variant="primary"], .adm-btn--primary) {
  border: 0.8px solid transparent;
}

/* default buttons */
:is(.adm.nova-client, body[data-surface="client"]) .adm-btn:not([data-variant]):not(.adm-btn--primary):not(.adm-btn--danger):not(.product-editor-ai-btn):hover:not(:disabled) {
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: var(--nova-btn-shadow) !important;
  color: #5b2fa8 !important;
  border-color: #b7a0ea !important;
}
/* primary buttons: white text stays, the frame deepens */
:is(.adm.nova-client, body[data-surface="client"]) .adm-btn:is([data-variant="primary"], .adm-btn--primary):is(:hover, :focus-visible):not(:disabled) {
  background-color: var(--nova-btn-primary-bg) !important;
  background-image: var(--nova-btn-primary-img) !important;
  box-shadow: var(--nova-btn-primary-shadow) !important;
  color: #fff !important;
  border-color: #4f1fa0 !important;
}
/* danger buttons: white text stays, the frame deepens */
:is(.adm.nova-client, body[data-surface="client"]) .adm-btn:is([data-variant="danger"], .adm-btn--danger):is(:hover, :focus-visible, :active):not(:disabled) {
  background-color: rgb(223, 32, 32) !important;
  background-image: none !important;
  box-shadow: var(--nova-btn-danger-shadow) !important;
  color: #fff !important;
  border-color: #9f1414 !important;
}

/* AI action button: hover changes only text + border (its soft gradient and shadow stay fixed). */
:is(.adm.nova-client, body[data-surface="client"]) .adm-btn.product-editor-ai-btn:hover:not(:disabled) {
  background-color: transparent !important;
  background-image: linear-gradient(135deg, #f5efff 0%, #e8f0ff 100%) !important;
  box-shadow: 0 1px 2px rgb(79 42 153 / 14%), inset 0 1px 0 rgb(255 255 255 / 70%) !important;
  color: #3f1f80 !important;
  border-color: #8f6fdc !important;
}

/* Image properties: a small icon beside every field title, tab icons and a centered upload drop area */
.nova-rte-dlg__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nova-rte-dlg__ico {
  display: inline-flex;
  color: var(--ad-primary, #7440c4);
  opacity: 0.85;
}
.nova-rte-dlg__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nova-rte-dlg__drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 170px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  color: #1f2430;
  background: #fbfaff;
  border: 1.5px dashed #c9b8ee;
  border-radius: var(--pe-card-radius, 6px);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.nova-rte-dlg__drop:hover,
.nova-rte-dlg__drop:focus-within {
  border-color: var(--ad-primary, #7440c4);
  background: #f6f2ff;
}
.nova-rte-dlg__drop[data-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
.nova-rte-dlg__drop-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--ad-primary, #7440c4);
  background: #ece4fb;
  border-radius: 50%;
}
.nova-rte-dlg__drop strong {
  font-size: 14px;
  font-weight: 600;
}
.nova-rte-dlg__drop-hint {
  font-size: 12px;
  color: var(--adm-muted);
}
.nova-rte-dlg__file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Template editor popup: as large as the screen allows, in width and height */
body[data-surface="client"] .adm-modal.product-editor-modal.product-editor-modal--wide.nova-tpl-modal {
  width: min(1400px, 96vw) !important;
  max-width: min(1400px, 96vw) !important;
  max-height: 94vh;
}
.nova-tpl-modal .nova-tpl {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
}
.nova-tpl-modal .nova-tpl__list ul {
  max-height: 640px;
}
@media (max-width: 900px) {
  .nova-tpl-modal .nova-tpl {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* One shape for every Client popup: the confirm / delete dialogs and the other small popups now match the editor's
   dialogs (card radius, thin frame, same button / icon / menu radius) instead of the Admin theme's rounder one. */
body[data-surface="client"] .adm-modal {
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: var(--pe-card-radius);
}
body[data-surface="client"] .adm-modal .adm-modal__close {
  border-radius: 6px;
}
body[data-surface="client"] .adm-modal .adm-modal__foot {
  border-radius: 0 0 var(--pe-card-radius) var(--pe-card-radius);
}
body[data-surface="client"] .adm-modal .adm-btn {
  border-radius: var(--pe-radius);
}
body[data-surface="client"] .adm-modal .adm-confirm__icon,
body[data-surface="client"] .adm-modal .adm-confirm__detail {
  border-radius: var(--pe-card-radius);
}
body[data-surface="client"] :is(.adm-sel__panel, .adm-menu__panel, .nova-help-tooltip__bubble) {
  border-radius: var(--pe-radius);
}

/* Product Editor dropdowns are field extensions: same width and restrained geometry. */
body[data-surface="client"] .product-editor-dropdown-panel {
  box-sizing: border-box;
  overflow-x: hidden;
  border: var(--pe-bw) solid var(--pe-line);
  border-radius: var(--pe-radius);
  box-shadow: 0 10px 24px -10px rgb(17 18 24 / 22%), 0 2px 5px rgb(17 18 24 / 6%);
}
body[data-surface="client"] .product-editor-dropdown-panel :is(.adm-floating__row, .adm-floating__item, .adm-sel__opt, [role="option"]) {
  border-radius: 3px;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}
body[data-surface="client"] .product-editor-dropdown-panel :is(.adm-floating__row, .adm-floating__item, .adm-sel__opt, [role="option"]):hover:not(:disabled),
body[data-surface="client"] .product-editor-dropdown-panel :is(.adm-floating__row, .adm-floating__item, .adm-sel__opt, [role="option"]):focus-visible {
  color: inherit;
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 5%, #fff);
  outline: none;
}
body[data-surface="client"] .product-editor-dropdown-panel :is(.adm-sel__opt[data-active="true"], [role="option"][aria-selected="true"]) {
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 8%, #fff);
}
body[data-surface="client"] .product-editor-dropdown-panel .adm-input {
  width: 100%;
  border-radius: var(--pe-radius);
}

/* ==========================================================================
   Variations tab (Client): list, selection bar, edit-variant modal, options,
   add variant and bulk actions. NOVA's own frame, radius and depth throughout.
   ========================================================================== */
.nova-var {
  display: flex;
  flex-direction: column;
  gap: 12px;
  direction: rtl;
  text-align: right;
}
.nova-var-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-height: 44px;
}
.nova-var-bar__select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2430;
  cursor: pointer;
}
.nova-var-bar__bulk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nova-var-bar__search {
  width: 260px;
  max-width: 100%;
  min-height: 36px;
}
.nova-var-bar__spacer {
  flex: 1 1 auto;
}
.nova-var-bar__options {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nova-var-link {
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ad-primary, #7440c4);
  background: none;
  border: 0;
  cursor: pointer;
}
.nova-var-link:hover {
  text-decoration: underline;
}
.nova-var-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #5b6272;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}
.nova-var-iconbtn:hover:not(:disabled) {
  color: #5b2fa8;
  border-color: #b7a0ea;
}
.nova-var-iconbtn[data-danger="true"]:hover:not(:disabled) {
  color: #b91c1c;
  border-color: #e7a3a3;
}
.nova-var-iconbtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.nova-var-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-card-radius, 6px);
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
  overflow: hidden;
}
.nova-var-row {
  display: grid;
  grid-template-columns: auto 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
}
.nova-var-row:last-child {
  border-bottom: 0;
}
.nova-var-row[data-selected="true"] {
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 6%, #fff);
}
.nova-var-row__thumb {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: #f3f4f8;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
}
.nova-var-row__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nova-var-row__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.nova-var-row__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #1f2430;
  overflow-wrap: anywhere;
}
.nova-var-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  font-size: 12px;
  color: var(--adm-muted, #6b7280);
}
.nova-var-row__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nova-var-editbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
}
.nova-var-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nova-var-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ad-primary, #7440c4);
  background: none;
  border: 0;
  cursor: pointer;
}
.nova-var-add:hover {
  text-decoration: underline;
}
.nova-var-pager {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.nova-var-delete-list {
  margin: 10px 0 0;
  padding-inline-start: 18px;
  font-size: 13px;
  color: #1f2430;
}

/* ----- modals ----- */
body[data-surface="client"] .adm-modal.product-editor-modal.nova-var-modal {
  max-width: min(780px, calc(100vw - 24px)) !important;
}
body[data-surface="client"] .adm-modal.product-editor-modal.nova-var-modal--sm {
  max-width: min(600px, calc(100vw - 24px)) !important;
}
body[data-surface="client"] .adm-modal.product-editor-modal.nova-var-modal--lg {
  max-width: min(860px, calc(100vw - 24px)) !important;
}
body[data-surface="client"] .adm-modal.product-editor-modal.nova-var-imgpick {
  max-width: min(640px, calc(100vw - 24px)) !important;
}
.nova-var-summary {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #fafbfc;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-card-radius, 6px);
}
.nova-var-summary__img {
  position: relative;
  width: 76px;
  height: 76px;
  background: #f3f4f8;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
}
.nova-var-summary__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--pe-radius, 4px) - 1px);
}
.nova-var-summary__edit {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--ad-primary, #7440c4);
  border: 0;
  border-radius: var(--pe-radius, 4px);
  box-shadow: 0 1px 4px rgb(15 23 42 / 25%);
  cursor: pointer;
}
.nova-var-summary__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.nova-var-summary__title {
  font-size: 14px;
  line-height: 1.4;
  color: #1f2430;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nova-var-summary__attrs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-size: 12px;
  color: #1f2430;
}
.nova-var-summary__attrs span {
  color: var(--adm-muted, #6b7280);
}
.nova-var-summary__src {
  font-size: 12px;
  color: var(--adm-muted, #6b7280);
}
.nova-var-summary__profit {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 110px;
  padding-inline-start: 14px;
  border-inline-start: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  font-size: 12px;
  color: var(--adm-muted, #6b7280);
}
.nova-var-summary__profit strong {
  font-size: 16px;
  color: #1f2430;
}
.nova-var-summary__profit-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nova-var-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  border-bottom: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
}
.nova-var-tab {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--adm-muted, #6b7280);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.nova-var-tab[data-active="true"] {
  font-weight: 600;
  color: var(--ad-primary, #7440c4);
  border-bottom-color: var(--ad-primary, #7440c4);
}
.nova-var-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.nova-var-modal--sm .nova-var-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nova-var-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  align-content: start;
}
.nova-var-field--wide {
  grid-column: 1 / -1;
}
.nova-var-field__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--adm-muted, #6b7280);
}
.nova-var-affix {
  position: relative;
}
.nova-var-affix__sym {
  position: absolute;
  top: 50%;
  inset-inline-start: 11px;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--adm-muted, #6b7280);
  pointer-events: none;
}
.nova-var-affix .adm-input {
  width: 100%;
  padding-inline-start: 30px;
  text-align: right;
}
.nova-var-modal input[dir="ltr"].adm-input {
  text-align: right;
}
.nova-var-modal .adm-input:disabled,
.nova-var-modal .adm-input[readonly] {
  background: #f4f5f8;
  color: #7b8190;
}
.nova-var-round {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.nova-var-round__select {
  width: 112px;
}
.nova-var-round__select[data-off="true"] {
  opacity: 0.5;
}
.nova-var-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2430;
  cursor: pointer;
}
.nova-var-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.nova-var-switch__track {
  position: relative;
  width: 38px;
  height: 22px;
  background: #cfd3dc;
  border-radius: 11px;
  transition: background-color 160ms ease;
}
.nova-var-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgb(15 23 42 / 30%);
  transition: inset-inline-start 160ms ease;
}
.nova-var-switch input:checked + .nova-var-switch__track {
  background: var(--ad-primary, #7440c4);
}
.nova-var-switch input:checked + .nova-var-switch__track::after {
  inset-inline-start: 19px;
}
.nova-var-switch input:focus-visible + .nova-var-switch__track {
  outline: 2px solid #b7a0ea;
  outline-offset: 2px;
}
.nova-var-switch input:disabled + .nova-var-switch__track {
  opacity: 0.5;
}
.nova-var-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-size: 13px;
  color: #1f2430;
}
.nova-var-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
}
.nova-var-dims {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.nova-var-limit {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  background: #fafbfc;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-card-radius, 6px);
}
.nova-var-limit__head {
  display: grid;
  gap: 2px;
  font-size: 12px;
  color: var(--adm-muted, #6b7280);
}
.nova-var-limit__head strong {
  font-size: 13px;
  color: #1f2430;
}
.nova-var-limit__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nova-var-limit__row .adm-input {
  width: 140px;
}
.nova-var-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--adm-muted, #6b7280);
}
.nova-var-hint--warn {
  color: #92400e;
}
.nova-var-error {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #b91c1c;
}
.nova-var > .nova-var-error {
  margin: 0;
}
.nova-var-opts {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}
.nova-var-opts__group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-card-radius, 6px);
  cursor: grab;
}
.nova-var-opts__key {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  font-size: 13px;
  color: #1f2430;
  background: #fafbfc;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
}
.nova-var-opts__label {
  font-size: 11px;
  color: var(--adm-muted, #6b7280);
}
.nova-var-opts__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nova-var-chip {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1f2430;
  background: #f3f4f8;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
  cursor: grab;
  user-select: none;
}
.nova-var-chip:focus-visible,
.nova-var-opts__key:focus-visible {
  outline: 2px solid #b7a0ea;
  outline-offset: 1px;
}
.nova-var-imggrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.nova-var-imggrid__item {
  padding: 3px;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
  cursor: pointer;
}
.nova-var-imggrid__item[data-active="true"] {
  border-color: var(--ad-primary, #7440c4);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ad-primary, #7440c4) 30%, transparent);
}
.nova-var-imggrid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
}
@media (max-width: 720px) {
  .nova-var-row {
    grid-template-columns: auto 48px minmax(0, 1fr);
  }
  .nova-var-row__thumb {
    width: 48px;
    height: 48px;
  }
  .nova-var-row__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .nova-var-grid,
  .nova-var-modal--sm .nova-var-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .nova-var-dims {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nova-var-summary {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .nova-var-summary__img {
    width: 64px;
    height: 64px;
  }
  .nova-var-summary__profit {
    grid-column: 1 / -1;
    padding-inline-start: 0;
    border-inline-start: 0;
    grid-auto-flow: column;
    justify-content: space-between;
  }
  .nova-var-opts__group {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The modal is always RTL; the inputs are dir="ltr" for their digits, so the symbol and its padding are physical. */
body[data-surface="client"] .nova-var-modal .nova-var-affix .adm-input {
  padding-right: 30px;
  padding-left: 12px;
  text-align: right;
}
.nova-var-affix__sym {
  inset-inline-start: auto;
  right: 11px;
}

/* Small "?" tooltips: compact, never wider than a short paragraph. */
.nova-help-tooltip__bubble {
  max-width: min(188px, calc(100vw - 24px));
  padding: 6px 9px;
  font-size: 11px;
  line-height: 1.4;
}
.nova-help-tooltip__more {
  font-weight: 600;
  color: #b9a6f0;
  text-decoration: underline;
  white-space: nowrap;
}

/* ==========================================================================
   Variations tab, round 2: image menu + pickers + editor, tab bar with help
   link, frozen pricing rows, AutoDS-style General layout.
   ========================================================================== */
button.nova-var-row__thumb {
  padding: 0;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
button.nova-var-row__thumb:hover,
button.nova-var-row__thumb:focus-visible {
  border-color: #b7a0ea;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ad-primary, #7440c4) 22%, transparent);
  outline: none;
}
.nova-var-summary__img img {
  transition: transform 180ms ease;
}
.nova-var-imgmenu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  z-index: 30;
  display: grid;
  min-width: 168px;
  padding: 4px;
  background: #fff;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
  box-shadow: 0 10px 28px -8px rgb(17 18 24 / 30%), 0 2px 6px rgb(17 18 24 / 8%);
}
.nova-var-imgmenu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13px;
  color: #1f2430;
  text-align: start;
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}
.nova-var-imgmenu__item:hover:not(:disabled),
.nova-var-imgmenu__item:focus-visible {
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 5%, #fff);
  color: #1f2430;
  outline: none;
}
.nova-var-imgmenu__item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nova-var-tabbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
  border-bottom: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
}
.nova-var-tabbar .nova-var-tabs {
  margin-bottom: 0;
  border-bottom: 0;
}
.nova-var-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  font-size: 12px;
  color: var(--adm-muted, #6b7280);
}
.nova-var-help__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: #1267e9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nova-var-help__link[data-inactive="true"] {
  cursor: default;
}

.nova-var-automation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.nova-var-automation__select {
  width: min(320px, 100%);
}
.nova-var-check--frozen {
  min-height: 0;
  color: #5b6272;
}
.nova-var-check--frozen input {
  opacity: 0.6;
}
.nova-var-stockrow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.nova-var-grid--general {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nova-var-grid--general .nova-var-dims {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.nova-var-dims__cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.nova-var-dims__unit {
  font-size: 12px;
  color: var(--adm-muted, #6b7280);
}

/* change image + add image */
body[data-surface="client"] .adm-modal.product-editor-modal.nova-var-imgpick {
  max-width: min(720px, calc(100vw - 24px)) !important;
}
body[data-surface="client"] .adm-modal.product-editor-modal.nova-var-addimg {
  max-width: min(560px, calc(100vw - 24px)) !important;
}
.nova-var-imggrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-height: 56vh;
  margin-top: 0;
  overflow: auto;
}
.nova-var-imggrid__item {
  position: relative;
  overflow: hidden;
}
.nova-var-imggrid__tag {
  position: absolute;
  inset-inline: 3px;
  bottom: 3px;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--ad-primary, #7440c4);
  border-radius: 0 0 3px 3px;
}
.nova-var-imggrid__add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  font-size: 13px;
  color: var(--adm-muted, #6b7280);
  background: #f4f5f8;
  border: var(--pe-bw, 0.8px) dashed #c7cbd6;
  border-radius: var(--pe-radius, 4px);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}
.nova-var-imggrid__add:hover {
  color: #5b2fa8;
  border-color: #b7a0ea;
}
.nova-var-imgpick__foot {
  justify-content: space-between;
}
.nova-var-addimg__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 6px 0 14px;
}
.nova-var-addimg__upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* image editor */
body[data-surface="client"] .adm-modal.product-editor-modal.nova-var-imgedit {
  max-width: min(1100px, calc(100vw - 24px)) !important;
}
.nova-var-imgedit__stage {
  position: relative;
  height: min(66vh, 620px);
  overflow: hidden;
  border: var(--pe-bw, 0.8px) solid var(--pe-line, #e5e5e5);
  border-radius: var(--pe-radius, 4px);
}
.nova-var-imgedit__host {
  width: 100%;
  height: 100%;
}
.nova-var-imgedit__note {
  position: absolute;
  inset: auto 0 12px 0;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--adm-muted, #6b7280);
}
.nova-var-imgedit__host .tui-image-editor-container {
  min-height: 0;
}
@media (max-width: 720px) {
  .nova-var-imggrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nova-var-grid--general,
  .nova-var-grid--general .nova-var-dims {
    grid-template-columns: minmax(0, 1fr);
  }
  .nova-var-addimg__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.nova-var-addrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.nova-var-addfoot {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}
@media (max-width: 720px) {
  .nova-var-addrow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Product page header card (Client): image | content | actions.
   ========================================================================== */
.nova-ph {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 170px;
  grid-template-areas: "image content actions";
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 12px 16px;
  color: #172033;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}
.nova-ph__image {
  grid-area: image;
  width: 130px;
  height: 130px;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 5%), 0 4px 12px rgb(15 23 42 / 5%);
}
.nova-ph__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nova-ph__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
}
.nova-ph__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}
.nova-ph__desc {
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  color: #667085;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nova-ph__meta {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  align-items: stretch;
  margin-top: 8px;
}
.nova-ph__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 18px;
  border-inline-end: 1px solid #e4e9f0;
}
.nova-ph__item:first-child {
  padding-inline-start: 0;
}
.nova-ph__item:last-child {
  border-inline-end: 0;
}
.nova-ph__label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 1px;
  font-size: 11px;
  font-weight: 500;
  color: #687386;
}
.nova-ph__value {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  color: #2b3648;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nova-ph__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  font-weight: 500;
  color: #1267e9;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}
.nova-ph__link:hover {
  color: #0b53c5;
}
.nova-ph__link svg {
  flex: 0 0 auto;
}
.nova-ph__supplier {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nova-ph__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}
.nova-ph__pill,
.nova-ph__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 25px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 8px;
}
.nova-ph__pill[data-tone="ok"] {
  color: #138a50;
  background: #effaf4;
  border-color: #d8f0e2;
}
.nova-ph__pill[data-tone="stock"] {
  color: #3f9b35;
  background: #f1faef;
  border-color: #def1da;
}
.nova-ph__pill[data-tone="link"] {
  color: #1872ac;
  background: #eef7fd;
  border-color: #d8eaf6;
}
.nova-ph__pill[data-tone="warn"] {
  color: #a15c07;
  background: #fff7ea;
  border-color: #f6e0b8;
}
.nova-ph__pill[data-tone="neutral"] {
  color: #475467;
  background: #f4f6f9;
  border-color: #e3e8ef;
}
.nova-ph__view {
  color: #7c3aed;
  text-decoration: none;
  background: #f7f2ff;
  border-color: #eadcff;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.nova-ph__view:hover {
  background: #f1e8ff;
  border-color: #dcc5ff;
  transform: translateY(-1px);
}
.nova-ph__actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-inline-start: 16px;
  border-inline-start: 1px solid #e3e8ef;
}
.nova-ph__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--pe-radius, 4px);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, opacity 150ms ease;
}
.nova-ph__btn:hover:not(:disabled) {
  transform: translateY(-1px);
}
.nova-ph__btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.nova-ph__btn--save {
  color: #fff;
  background: linear-gradient(135deg, #8534f8 0%, #7422e7 100%);
  border: 1px solid #7c2df2;
  box-shadow: 0 5px 15px rgb(124 45 242 / 20%);
}
.nova-ph__btn--save:hover:not(:disabled) {
  box-shadow: 0 7px 20px rgb(124 45 242 / 27%);
}
.nova-ph__btn--delete {
  color: #ef2b2d;
  background: #fff;
  border: 1.5px solid #ef4444;
  box-shadow: 0 1px 2px rgb(15 23 42 / 3.5%);
}
.nova-ph__btn--delete:hover:not(:disabled) {
  background: #fff6f6;
}
@media (max-width: 1100px) {
  .nova-ph {
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas:
      "image content"
      "actions actions";
  }
  .nova-ph__actions {
    flex-direction: row;
    padding-inline-start: 0;
    padding-top: 12px;
    border-inline-start: 0;
    border-top: 1px solid #e3e8ef;
  }
  .nova-ph__actions .nova-ph__btn {
    max-width: 200px;
  }
  .nova-ph__meta,
  .nova-ph__meta:has(> :nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }
  .nova-ph__item {
    padding: 0 12px;
    border-inline-end: 0;
  }
}
@media (max-width: 720px) {
  .nova-ph {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 14px;
  }
  .nova-ph__image {
    width: 72px;
    height: 72px;
  }
  .nova-ph__content {
    padding: 0;
  }
  .nova-ph__title {
    font-size: 17px;
  }
  .nova-ph__desc {
    white-space: normal;
  }
  .nova-ph__meta,
  .nova-ph__meta:has(> :nth-child(2):last-child) {
    flex-direction: column;
    gap: 16px;
    margin-top: 22px;
  }
  .nova-ph__item {
    padding: 0;
    border: 0;
  }
  .nova-ph__status {
    gap: 8px;
  }
  .nova-ph__pill,
  .nova-ph__view {
    height: 28px;
    padding: 0 10px;
  }
  .nova-ph__actions {
    flex-direction: column;
    width: 100%;
    padding: 18px 0 0;
    border-inline-start: 0;
    border-top: 1px solid #e3e8ef;
  }
  .nova-ph__actions .nova-ph__btn {
    width: 100%;
    max-width: none;
  }
}

/* The page-wide test-phase note under every h1 is not part of this card. */
.nova-client .adm-body .nova-ph__title::after {
  content: none;
}

/* fixes: weight unit menu stays inside the window; automation menu gets a real width; editor keeps only Download */
.nova-var-unit {
  grid-template-columns: minmax(0, 1fr) 112px;
}
.nova-var-unit .adm-sel,
.nova-var-unit .adm-sel__btn {
  min-width: 0;
  width: 100%;
}
.nova-var-modal .nova-var-field {
  min-width: 0;
}
.nova-var-automation__select .adm-sel,
.nova-var-automation__select .adm-sel__btn {
  width: 100%;
}
.nova-var-imgedit__host .tui-image-editor-header-buttons .tui-image-editor-load-btn {
  display: none;
}
.nova-var-imgedit__host .tui-image-editor-download-btn {
  color: #fff;
  background-color: #7440c4;
  border-color: #7440c4;
}

/* ==========================================================================
   Product editor: independent control columns, RTL-start pricing metrics,
   and a compact MOBILE product header (only <= 720px; desktop untouched).
   ========================================================================== */
.adm.nova-client .product-editor-control-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
@media (max-width: 767px) {
  .adm.nova-client .product-editor-control-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .adm.nova-client .product-editor-control-col {
    display: contents;
  }
  .adm.nova-client .product-editor-compact-card--inventory { order: 1; }
  .adm.nova-client .product-editor-compact-card--pricing { order: 2; }
  .adm.nova-client .product-editor-compact-card--monitoring { order: 3; }
  .adm.nova-client .product-editor-compact-card--localization { order: 4; }
}

/* Pricing metric rows (card + popup): icon, label and value stay together on the RTL start (right) edge. */
.adm.nova-client .nova-pricing-metric,
body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric {
  justify-content: start;
}
.adm.nova-client .nova-pricing-metric {
  grid-template-columns: 34px minmax(112px, 150px) auto;
}
body[data-surface="client"] .product-editor-pricing-dialog .nova-pricing-metric {
  grid-template-columns: 36px minmax(132px, 166px) auto;
}
.adm.nova-client .nova-pricing-metric__value,
body[data-surface="client"] .nova-pricing-metric__value {
  text-align: right;
}

@media (max-width: 720px) {
  .nova-ph {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 10px;
    align-items: start;
    padding: 12px;
  }
  .nova-ph__content { display: contents; }
  .nova-ph__image { grid-column: 1; grid-row: 1; width: 72px; height: 72px; min-height: 0; }
  .nova-client .nova-ph__title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .nova-ph__desc {
    grid-column: 1 / -1;
    grid-row: 2;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .nova-ph__meta,
  .nova-ph__meta:has(> :nth-child(2):last-child) {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
  }
  .nova-ph__item { flex-direction: row; align-items: center; gap: 8px; padding: 0; border: 0; }
  .nova-ph__label { margin: 0; flex: 0 0 auto; font-size: 12px; }
  .nova-ph__value { font-size: 12.5px; }
  .nova-ph__status { grid-column: 1 / -1; grid-row: 4; margin: 0; gap: 6px; }
  .nova-ph__pill,
  .nova-ph__view { height: 26px; padding: 0 9px; font-size: 11.5px; }
  .nova-ph__actions {
    grid-column: 1 / -1;
    grid-row: 5;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding: 10px 0 0;
    border-top: 1px solid #e3e8ef;
    border-inline-start: 0;
  }
  .nova-ph__actions .nova-ph__btn { flex: 1 1 0; width: auto; max-width: none; min-height: 38px; font-size: 13px; gap: 6px; }
}

/* ==========================================================================
   Products table (Client): always-visible horizontal bar like AutoDS, and a
   narrower product pane with a 2-line title.
   ========================================================================== */
/* overflow:hidden on the panel made it the sticky scroll container, so the bar only
   appeared at the END of the table; `clip` still rounds the corners but is not a scroller. */
.adm.nova-client .nova-products .adm-panel { overflow: clip; }

.adm.nova-client .ptbl__hbar {
  height: 14px;
  padding: 4px 0;
  border-top: 0;
  background: var(--ad-surface, #fff);
  box-shadow: 0 -8px 10px -9px rgb(15 23 42 / 14%);
}
.adm.nova-client .ptbl__hbar-thumb {
  top: 4px;
  height: 6px;
  background: color-mix(in srgb, var(--ad-primary, #7440c4) 68%, #fff);
}
.adm.nova-client .ptbl__hbar-thumb:hover,
.adm.nova-client .ptbl__hbar-thumb:active { background: var(--ad-primary, #7440c4); }

/* AutoDS measurements (platform.autods.com/products): 87px rows, 60px thumbnails, a frozen pane clearly wider than the name. */
@media (min-width: 1101px) {
  .adm.nova-client .ptbl,
  .adm.nova-client .ptbl-stickyhead { --ptbl-frozen-w: 460px; --ptbl-row-h: 87px; }
}
.adm.nova-client .ptbl__frozen-body a span > span:first-child {
  display: -webkit-box !important;
  white-space: normal !important;
  line-height: 1.3;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

/* Column headers: their own NATIVE sticky block (ProductsTable stickyTop=64) parked under the fixed top bar — no
   scroll-linked JS, so no jump. Only the horizontal offset of the scrolling columns is mirrored onto the track. */
.adm.nova-client .ptbl-stickyhead {
  position: sticky;
  z-index: 40;
  display: flex;
  direction: rtl;
  background: var(--adm-panel);
  border-top: 1px solid var(--adm-line);
}
.adm.nova-client .ptbl-stickyhead__frozen {
  position: relative;
  z-index: 2;
  flex: 0 0 var(--ptbl-frozen-w);
  width: var(--ptbl-frozen-w);
  background: var(--adm-panel);
  border-inline-end: 1px solid var(--adm-line-strong);
}
.adm.nova-client .ptbl-stickyhead__viewport { flex: 1; min-width: 0; overflow: hidden; }
.adm.nova-client .ptbl-stickyhead__track { will-change: transform; }
.adm.nova-client .ptbl-stickyhead .ptbl__frozen-spacer,
.adm.nova-client .ptbl-stickyhead .ptbl__frozen-head,
.adm.nova-client .ptbl-stickyhead .ptbl__group-row,
.adm.nova-client .ptbl-stickyhead .ptbl__scroll-head {
  position: static;
  transform: none;
}
.adm.nova-client .ptbl[data-stickyhead] { border-top: 0; }

/* Connect-supplier flow (products NOVA did not import, e.g. created by AutoDS). */
.nova-ph__connect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 3px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #7a2ee0;
  cursor: pointer;
  background: #f7f2ff;
  border: 1px solid #eadcff;
  border-radius: 8px;
  transition: background 150ms ease, border-color 150ms ease;
}
.nova-ph__connect:hover { background: #f1e8ff; border-color: #dcc5ff; }
.nova-link-modal .nova-link-note { margin: 0 0 8px; font-size: 13px; line-height: 1.55; color: var(--adm-muted, #667085); }
.nova-link-modal .nova-link-product { margin: 0 0 14px; padding: 8px 10px; font-size: 13px; font-weight: 600; background: #f6f7fb; border-radius: 8px; }
.nova-link-modal .nova-link-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: start; }
.nova-link-modal .nova-link-field { min-width: 0; }
.nova-link-modal .nova-link-found { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.nova-link-modal .nova-link-map { display: grid; gap: 8px; max-height: 320px; overflow: auto; scrollbar-width: thin; }
.nova-link-modal .nova-link-map__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; align-items: center; padding: 6px 8px; border: 1px solid var(--adm-line, #e4e9f0); border-radius: 8px; }
.nova-link-modal .nova-link-map__row[data-invalid] { border-color: #ef4444; background: #fff6f6; }
.nova-link-modal .nova-link-map__store { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.nova-link-modal .nova-link-error { margin: 12px 0 0; padding: 8px 10px; font-size: 13px; color: #b42318; background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px; }
@media (max-width: 560px) {
  .nova-link-modal .nova-link-row,
  .nova-link-modal .nova-link-map__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Product removal dialog + "removed from NOVA" view ---- */
.client-remove-dialog__lead {
  margin: 0;
  font-size: 0.86rem;
  color: var(--adm-ink);
}
.client-remove-dialog__subject {
  margin: -4px 0 0;
  font-size: 0.78rem;
  color: var(--adm-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.client-remove-dialog__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.client-remove-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  background: var(--adm-panel);
  cursor: pointer;
  transition: border-color 0.12s, background-color 0.12s;
}
.client-remove-option:hover {
  border-color: color-mix(in srgb, var(--adm-accent) 45%, var(--adm-line));
}
.client-remove-option[data-selected="true"] {
  border-color: var(--adm-accent);
  background: color-mix(in srgb, var(--adm-accent) 6%, var(--adm-panel));
}
.client-remove-option[data-disabled="true"] {
  cursor: default;
  opacity: 0.7;
}
.client-remove-option input[type="radio"] {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--adm-accent);
}
.client-remove-option:focus-within {
  outline: 2px solid color-mix(in srgb, var(--adm-accent) 55%, transparent);
  outline-offset: 1px;
}
.client-remove-option__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.client-remove-option__title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--adm-ink);
}
.client-remove-option__help {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--adm-muted);
}
.client-remove-dialog__error {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #f3c5bf;
  border-radius: 6px;
  background: #fff3f1;
  color: #b42318;
  font-size: 0.8rem;
}
@media (max-width: 520px) {
  .client-remove-dialog__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .client-remove-dialog__actions .adm-btn {
    width: 100%;
    justify-content: center;
    min-height: 40px;
  }
  .client-remove-option {
    padding: 12px;
  }
}
.client-view-tabs {
  display: inline-flex;
  gap: 2px;
  margin: 0 0 10px;
  padding: 2px;
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  background: var(--adm-panel);
}
.client-view-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--adm-muted);
  font-size: 0.8rem;
  cursor: pointer;
}
.client-view-tabs button[data-active="true"] {
  background: color-mix(in srgb, var(--adm-accent) 10%, var(--adm-panel));
  color: var(--adm-ink);
  font-weight: 600;
}
.client-view-tabs__count {
  min-width: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--adm-line);
  font-size: 0.7rem;
  line-height: 18px;
  text-align: center;
}
.client-excluded__head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--adm-line);
}
.client-excluded__note {
  font-size: 0.78rem;
  color: var(--adm-muted);
}
.client-excluded__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.client-excluded__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--adm-line);
}
.client-excluded__row:last-child {
  border-bottom: 0;
}
.client-excluded__thumb {
  width: 44px;
  height: 44px;
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  background: var(--adm-bg);
  overflow: hidden;
}
.client-excluded__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.client-excluded__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.client-excluded__name {
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.client-excluded__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--adm-muted);
}
@media (max-width: 520px) {
  .client-excluded__row {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .client-excluded__row .adm-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }
}

/* ================= Client toasts (bottom-right, RTL inside) ================= */
.nova-spin { animation: nova-spin 0.9s linear infinite; }
@keyframes nova-spin { to { transform: rotate(360deg); } }
.nova-toasts {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.nova-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  align-items: start;
  gap: 10px;
  padding: 11px 12px;
  background: var(--adm-panel);
  color: var(--adm-ink);
  border: 1px solid var(--adm-line);
  border-inline-start: 3px solid var(--nova-toast-accent, var(--adm-info));
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(20, 22, 26, 0.06), 0 10px 28px rgba(20, 22, 26, 0.14);
  direction: rtl;
  text-align: right;
}
.nova-toast[data-tone="ok"] { --nova-toast-accent: var(--adm-ok); }
.nova-toast[data-tone="err"] { --nova-toast-accent: var(--adm-err); }
.nova-toast[data-tone="warn"] { --nova-toast-accent: var(--adm-warn); }
.nova-toast[data-tone="info"], .nova-toast[data-tone="processing"] { --nova-toast-accent: var(--adm-info); }
.nova-toast__icon { color: var(--nova-toast-accent); display: grid; place-items: center; padding-top: 1px; }
.nova-toast__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nova-toast__title { font-size: 0.86rem; font-weight: 650; line-height: 1.35; }
.nova-toast__desc { font-size: 0.78rem; line-height: 1.45; color: var(--adm-muted); }
.nova-toast__action {
  align-self: flex-start;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--adm-accent);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.nova-toast__action:hover { text-decoration: underline; }
.nova-toast__close {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--adm-muted);
  cursor: pointer;
}
.nova-toast__close:hover { background: var(--adm-bg); color: var(--adm-ink); }
@media (prefers-reduced-motion: no-preference) {
  .nova-toast { animation: nova-toast-in 0.18s ease-out; }
}
@keyframes nova-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nova-spin { animation-duration: 2.4s; }
}
@media (max-width: 1023px) {
  /* clear the bottom navigation bar */
  .nova-toasts { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; width: calc(100vw - 24px); }
}

/* ================= Import strips (opposite the page title, like AutoDS) ================= */
.nova-strips {
  width: min(430px, 100%);
  background: var(--adm-panel);
  border: 1px solid var(--adm-line);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(20, 22, 26, 0.08);
  font-size: 0.78rem;
  color: var(--adm-ink);
  direction: rtl;
  text-align: right;
}
.nova-strip {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 3px 10px;
  border-bottom: 1px solid var(--adm-line);
}
.nova-strip__mark { display: block; }
.nova-strip__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4b5260; font-weight: 500; }
.nova-strip__link {
  padding: 0;
  border: 0;
  background: none;
  color: #1677ff;
  font-size: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.nova-strip__link:hover { text-decoration: underline; }
.nova-strip__x { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #a3a9b5; cursor: pointer; }
.nova-strip__x:hover { background: var(--adm-bg); color: var(--adm-ink); }
.nova-strips__foot { display: flex; align-items: center; gap: 14px; padding: 4px 10px; }
.nova-strips__action { display: inline-flex; align-items: center; gap: 5px; padding: 2px 0; border: 0; background: none; color: #8a93a3; font-size: inherit; font-weight: 600; cursor: pointer; }
.nova-strips__action:hover { color: var(--adm-ink); }
.nova-strips__action:disabled { opacity: 0.5; cursor: default; }
.nova-removed-link { margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--adm-muted); font-size: 0.74rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nova-removed-link:hover { color: var(--adm-ink); }
@media (max-width: 640px) {
  .nova-strips { width: 100%; }
  .nova-strip { grid-template-columns: 20px minmax(0, 1fr) 22px; }
  .nova-strip__link { grid-column: 2; justify-self: start; padding-bottom: 4px; }
}

/* ================= Import details popup (AutoDS layout) ================= */
.adm-modal.nova-import-modal .adm-modal__head { display: none; }
.adm-modal.nova-import-modal .adm-modal__body { padding: 14px 18px 18px; gap: 10px; }
.nova-import-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: #5b6270; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.nova-import-back:hover { color: var(--adm-ink); }
.nova-import-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.nova-import-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: 1.15rem; font-weight: 700; color: #4b5260; }
.nova-import-title__sep { width: 1px; height: 18px; background: var(--adm-line-strong, #cfc9c0); }
.nova-import-title__state { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 600; color: #4b5260; }
.nova-import-title__state[data-status="completed"] svg { color: #5FC287; }
.nova-import-title__state[data-status="failed"] svg, .nova-import-title__state[data-status="partial"] svg { color: #E5484D; }
.nova-import-actions { margin: 4px 0 0; font-size: 0.78rem; color: #5b6270; }
.nova-import-search { display: inline-flex; flex-direction: row-reverse; width: min(240px, 100%); }
.nova-import-search input { flex: 1; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--adm-line); border-inline-start: 0; border-radius: 0 4px 4px 0; font-size: 0.8rem; background: var(--adm-panel); color: var(--adm-ink); }
.nova-import-search span { display: grid; place-items: center; width: 34px; border-radius: 4px 0 0 4px; background: var(--adm-accent); color: #fff; }
.nova-import-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--adm-line); margin-top: 4px; }
.nova-import-tabs button { padding: 8px 4px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: #4b5260; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.nova-import-tabs button[data-active="true"] { color: var(--adm-accent); border-bottom-color: var(--adm-accent); }
.nova-import-empty { margin: 0; padding: 18px 4px; color: var(--adm-muted); font-size: 0.84rem; }
.nova-import-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.nova-import-table th { padding: 8px 10px; text-align: right; font-weight: 600; color: #4b5260; border-bottom: 1px solid var(--adm-line); white-space: nowrap; }
.nova-import-table td { padding: 8px 10px; border-bottom: 1px solid var(--adm-line); vertical-align: middle; color: #4b5260; }
.nova-import-nowrap { white-space: nowrap; }
.nova-import-store { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: right; }
.nova-import-product { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nova-import-product__img { flex: none; width: 30px; height: 30px; border-radius: 3px; background: var(--adm-bg); overflow: hidden; }
.nova-import-product__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nova-import-product__title { font-weight: 700; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3f4552; }
.nova-import-link { display: inline-flex; align-items: center; gap: 6px; color: #4b5260; text-decoration: none; direction: ltr; }
a.nova-import-link:hover { color: #1677ff; text-decoration: underline; }
.nova-import-link--off { pointer-events: none; }
.nova-import-link__id { font-variant-numeric: tabular-nums; }
.nova-import-status { display: inline-flex; flex-direction: column; gap: 2px; font-weight: 500; }
.nova-import-status__line { display: inline-flex; align-items: center; gap: 6px; }
.nova-import-status[data-state="ok"], .nova-import-status[data-state="wait"] { flex-direction: row; align-items: center; gap: 6px; }
.nova-import-status[data-state="ok"] svg { color: #5FC287; }
.nova-import-status[data-state="err"] svg { color: #E5484D; }
.nova-import-status[data-state="run"] svg { color: #e0a24c; }
.nova-import-status[data-state="wait"] { color: var(--adm-muted); }
.nova-import-status__why { font-weight: 400; font-size: 0.72rem; color: var(--adm-muted); max-width: 240px; }
.nova-import-cards { display: none; list-style: none; margin: 0; padding: 0; flex-direction: column; gap: 8px; }
.nova-import-card { border: 1px solid var(--adm-line); border-radius: 4px; padding: 10px 12px; }
.nova-import-card dl { margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.nova-import-card dl > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.8rem; }
.nova-import-card dt { color: var(--adm-muted); }
.nova-import-card dd { margin: 0; text-align: left; }
@media (max-width: 720px) {
  .nova-import-table { display: none; }
  .nova-import-cards { display: flex; }
  .nova-import-product__title { max-width: 60vw; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .nova-import-title { font-size: 1rem; }
}

/* My Stores rows: honest URL + sync status lines */
.store-row__url,
.store-row__sync {
  display: block;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--adm-muted);
  font-weight: 400;
}
.store-row__sync[data-state="run"] { color: var(--adm-info); display: inline-flex; align-items: center; gap: 4px; }
.store-row__sync[data-state="err"] { color: var(--adm-err); }

/* management chip under the product name (Store products tab) */
.client-mgmt-chip {
  display: inline-block;
  margin-top: 3px;
  padding: 0 7px;
  border: 1px solid var(--adm-line);
  border-radius: 4px;
  background: var(--adm-bg);
  color: var(--adm-muted);
  font-size: 0.68rem;
  line-height: 17px;
  font-weight: 600;
}
.client-mgmt-chip[data-managed="true"] {
  border-color: color-mix(in srgb, var(--adm-ok) 40%, var(--adm-line));
  background: color-mix(in srgb, var(--adm-ok) 8%, var(--adm-panel));
  color: var(--adm-ok);
}

/* page head: title block on the inline start, the import strips opposite it on the same row (they never narrow the title block's row) */
.nova-pagehead-split { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.nova-pagehead-split__main { flex: 1 1 auto; min-width: 0; }
.nova-pagehead-split > .nova-strips { flex: 0 0 auto; width: 380px; margin-top: 2px; }
@media (max-width: 960px) {
  .nova-pagehead-split { flex-direction: column; gap: 10px; }
  .nova-pagehead-split > .nova-strips { width: 100%; }
}

/* ================= Product editor: Images tab (AutoDS structure, RTL) ================= */
.ad-imgs { display: flex; flex-direction: column; gap: 14px; direction: rtl; text-align: right; }
.ad-imgs__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 40px; padding: 4px 2px 8px; border-bottom: 1px solid var(--adm-line); }
.ad-imgs__count { font-size: 0.82rem; font-weight: 600; color: var(--adm-ink); }
.ad-imgs__tip { font-size: 0.78rem; color: var(--adm-muted); }
.ad-imgs__bulk { display: inline-flex; align-items: center; gap: 2px; margin-inline-start: 6px; }
.ad-imgs__ico { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #5a5859; cursor: pointer; }
.ad-imgs__ico:hover:not(:disabled) { background: var(--adm-bg); color: var(--adm-accent); }
.ad-imgs__ico:disabled { opacity: 0.35; cursor: not-allowed; }
.ad-imgs__head h3 { margin: 0; font-size: 0.95rem; font-weight: 700; color: var(--adm-ink); }
.ad-imgs__head p { margin: 4px 0 0; font-size: 0.78rem; color: var(--adm-muted); }
.ad-imgs__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.ad-imgs__tile { position: relative; display: flex; align-items: center; aspect-ratio: 226 / 262; padding: 10px; border: 1px solid var(--adm-line); background: var(--adm-panel); overflow: hidden; cursor: grab; transition: 0.3s; }
.ad-imgs__tile img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; transition: transform 0.2s; }
.ad-imgs__tile[data-main="true"] { border-color: var(--adm-accent); }
.ad-imgs__tile[data-selected="true"] { box-shadow: 0 0 0 1px var(--adm-accent); }
.ad-imgs__tile[data-dragging="true"] { opacity: 0.4; }
.ad-imgs__check { position: absolute; top: 8px; inset-inline-start: 10px; z-index: 3; }
.ad-imgs__main { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 3; padding: 2px 8px; border-radius: 3px; background: var(--adm-accent); color: #fff; font-size: 0.7rem; font-weight: 600; }
.ad-imgs__loading { display: grid; place-items: center; width: 100%; height: 100%; color: var(--adm-muted); }
.ad-imgs__hover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 38px 8px 8px; background: linear-gradient(to top, rgba(20, 22, 26, 0.72) 30%, rgba(20, 22, 26, 0.12)); opacity: 0; transition: opacity 0.15s; }
.ad-imgs__tile:hover .ad-imgs__hover, .ad-imgs__tile:focus-within .ad-imgs__hover { opacity: 1; }
.ad-imgs__icons { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 2px; max-width: 100%; }
.ad-imgs__icons button { display: grid; place-items: center; flex: 0 1 28px; min-width: 0; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #fff; cursor: pointer; }
.ad-imgs__icons button svg { flex: none; }
.ad-imgs__icons button:hover { background: rgba(255, 255, 255, 0.24); }
.ad-imgs__text { display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 4px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 0.76rem; font-weight: 600; cursor: pointer; }
.ad-imgs__text:hover { background: rgba(255, 255, 255, 0.24); }
.ad-imgs__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 226 / 262; border: 1px solid var(--adm-line); background: #f2f2f2; color: #5a5859; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.ad-imgs__add:hover { border-color: var(--adm-accent); color: var(--adm-accent); }
@media (max-width: 1100px) { .ad-imgs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { .ad-imgs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 520px) { .ad-imgs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (hover: none) { .ad-imgs__hover { opacity: 0; pointer-events: none; background: linear-gradient(to top, rgba(20, 22, 26, 0.7) 40%, rgba(20, 22, 26, 0)); } .ad-imgs__tile[data-reveal="true"] .ad-imgs__hover { opacity: 1; pointer-events: auto; } .ad-imgs__tile, .ad-imgs__tile * { touch-action: pan-y; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; } .ad-imgs__tile { cursor: default; } }

/* add-image / resize dialogs */
.ad-imgadd { display: flex; flex-direction: column; gap: 14px; direction: rtl; text-align: right; font-size: 0.84rem; }
.ad-imgadd__row { display: flex; gap: 10px; margin-top: 6px; }
.ad-imgadd__row .adm-input { flex: 1; min-width: 0; }
.ad-imgadd__upload { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.ad-imgadd__err { margin: 0; color: #E5484D; font-size: 0.8rem; }
.ad-resize__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ad-resize__row label { display: flex; flex-direction: column; gap: 6px; }
.ad-resize__hint { color: var(--adm-muted); }
.ad-resize__lock { display: inline-flex; align-items: center; gap: 8px; }

/* ================= Product editor: Item Specifications tab (AutoDS structure, RTL) ================= */
.ad-specs { display: flex; flex-direction: column; gap: 12px; direction: rtl; text-align: right; }
.ad-specs__bar { display: flex; align-items: center; gap: 14px; min-height: 36px; }
.ad-specs__act { display: inline-flex; align-items: center; gap: 7px; padding: 4px 2px; border: 0; background: none; color: var(--adm-ink); font-size: 0.84rem; font-weight: 600; cursor: pointer; }
.ad-specs__act:hover:not(:disabled) { color: var(--adm-accent); }
.ad-specs__act[data-primary="true"] { color: var(--adm-accent); }
.ad-specs__act:disabled { opacity: 0.45; cursor: default; }
.ad-specs__sep { width: 1px; height: 16px; background: var(--adm-line-strong, #cfc9c0); }
.ad-specs__list { display: flex; flex-direction: column; gap: 4px; }
.ad-specs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 76px; align-items: center; gap: 12px; min-height: 44px; padding: 4px 12px; border-radius: 3px; background: var(--adm-bg); font-size: 0.84rem; color: var(--adm-ink); }
.ad-specs__row--form { background: var(--adm-panel); border: 1px solid var(--adm-line); grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; }
.ad-specs__name { color: #4b5260; overflow-wrap: anywhere; }
.ad-specs__val { overflow-wrap: anywhere; }
.ad-specs__input { width: 100%; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); color: var(--adm-ink); font-size: 0.84rem; }
.ad-specs__input:focus { outline: none; border-color: var(--adm-accent); }
.ad-specs__icons { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.ad-specs__ico { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #a3a9b5; cursor: pointer; }
.ad-specs__ico:hover:not(:disabled) { background: var(--adm-panel); color: var(--adm-ink); }
.ad-specs__ico[data-ok="true"] { color: #5FC287; }
.ad-specs__ico:disabled { opacity: 0.45; cursor: default; }
.ad-specs__add { height: 30px; padding: 0 12px; border: 0; border-radius: 4px; background: var(--adm-accent); color: #fff; font-size: 0.78rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ad-specs__add:disabled { opacity: 0.6; cursor: default; }
.ad-specs__empty { margin: 0; padding: 12px 4px; font-size: 0.84rem; color: var(--adm-muted); }
@media (max-width: 640px) {
  .ad-specs__row, .ad-specs__row--form { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 10px; }
  .ad-specs__row > :nth-child(2) { grid-column: 1; }
  .ad-specs__icons { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; }
}


/* fields in the image / spec dialogs: content starts at the right edge (RTL) */
.ad-imgadd .adm-input, .ad-specs__input { direction: rtl; text-align: right; }
.ad-imgadd .adm-input[dir="ltr"] { direction: ltr; text-align: right; } /* a pasted URL keeps its left-to-right order but sits against the right edge */
.ad-imgadd .adm-input::placeholder, .ad-specs__input::placeholder { text-align: right; }

/* ===== Mobile product cards (the list shown only on small screens) =====
   squarer like the editor fields, no border line, a soft depth with the shadow falling to the left,
   a soft "bubble" price, long text is cut instead of wrapping. */
.adm.nova-client .nova-products .pw-prodcard {
  border: 0;
  border-radius: 4px;
  background: var(--adm-panel);
  box-shadow: -4px 3px 12px rgb(20 24 35 / 9%), -1px 1px 3px rgb(20 24 35 / 6%);
  padding: 12px 12px 8px;
}
.adm.nova-client .nova-products .pw-prodcard__thumb { border-radius: 4px; }
.adm.nova-client .nova-products .pw-prodcard__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.adm.nova-client .nova-products .pw-prodcard__badges { flex-wrap: nowrap; overflow: hidden; }
.adm.nova-client .nova-products .pw-prodcard__badges > * { flex-shrink: 0; }
.adm.nova-client .nova-products .pw-prodcard__price {
  align-self: flex-start;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--ad-surface-soft, rgb(20 24 35 / 4%));
  box-shadow: inset 0 0 0 1px rgb(20 24 35 / 0%);
  font-size: 0.95rem;
}
.adm.nova-client .nova-products .pw-prodcard__divider { background: rgb(20 24 35 / 6%); }
.adm.nova-client .nova-products .pw-prodcard__bottom { justify-content: space-between; }
.adm.nova-client .nova-products .pw-prodcard__info { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; flex: 1; }
.adm.nova-client .nova-products .pw-prodcard__go {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: var(--adm-muted);
}
.adm.nova-client .nova-products .pw-prodcard__go:hover { background: rgb(20 24 35 / 5%); color: var(--adm-ink); }

/* ===== Products page: count beside the title (all sizes) ===== */
.nova-products-count { font-size: 1.25rem; font-weight: 700; line-height: 1.75rem; letter-spacing: -0.01em; color: var(--adm-muted); opacity: 0.8; }

/* ===== Products page, small screens: square frames, smaller selection bar, quieter removed link ===== */
@media (max-width: 767px) {
  .nova-pagehead-split__main > div { flex-wrap: nowrap; align-items: baseline; }
  .adm.nova-client .nova-products .adm-bulkbar[data-empty="false"] {
    border-radius: 4px;
    padding: 8px 8px;
    min-height: 0;
  }
  .adm.nova-client .nova-products .adm-bulkbar .adm-btn {
    height: 24px;
    min-height: 0;
    padding: 0 7px;
    font-size: 0.64rem;
    border-radius: 4px;
  }
  .adm.nova-client .nova-products .pw-prodcard .adm-badge { border-radius: 4px; }
  .adm.nova-client .nova-products .nova-pager .adm-btn,
  .adm.nova-client .nova-products .nova-pager .adm-sel__btn,
  .adm.nova-client .nova-products .nova-pager [role="combobox"] { border-radius: 4px; }
  .nova-removed-link { display: block; width: fit-content; margin: 4px auto 6px 0; font-size: 0.64rem; }
}

/* ===== Products page: count right after the title, e.g. "מוצרים (5)" ===== */
.nova-pagehead-split__main > div { justify-content: flex-start; gap: 8px; }
.nova-products-count { direction: ltr; unicode-bidi: isolate; }

/* ===== Products page, small screens (round 2) ===== */
@media (max-width: 767px) {
  /* selection bar: the buttons sit at the left in both states (idle and selecting) */
  .adm.nova-client .nova-products .adm-bulkbar .adm-bulkbar__actions { justify-content: flex-end; }
  /* "removed products": a little lower, right against the card below */
  .nova-removed-link { margin: 12px auto 2px 0; }
  /* square frames on the toolbar controls (search, columns, add filter, the 4 filter menus) */
  .adm.nova-client .nova-products .pw-products-toolbar .adm-input,
  .adm.nova-client .nova-products .pw-products-toolbar .adm-btn,
  .adm.nova-client .nova-products .pw-products-toolbar .adm-sel__btn { border-radius: 4px; }
  /* the dropdowns opened from the toolbar (columns / add filter): small and tight */
  body[data-surface="client"] .adm-floating { padding: 4px; border-radius: 4px; box-shadow: 0 6px 18px rgba(20, 19, 15, 0.18); }
  body[data-surface="client"] .adm-floating__title { padding: 2px 6px 4px; margin-bottom: 2px; font-size: 0.64rem; }
  body[data-surface="client"] .adm-floating__list { gap: 0; }
  body[data-surface="client"] .adm-floating__row { gap: 7px; padding: 4px 6px; border-radius: 3px; font-size: 0.72rem; }
  body[data-surface="client"] .adm-floating__item { padding: 5px 7px; border-radius: 3px; font-size: 0.72rem; }
}

/* ===== One thin, soft line when a toolbar field is focused (no outline + border + glow stacking) ===== */
.adm.nova-client .nova-products .adm-input:focus,
.adm.nova-client .nova-products .adm-input:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: color-mix(in srgb, var(--adm-accent) 38%, var(--ad-panel-line, #dfe3eb));
}

/* count hugs the title: the title block is as wide as its text, not the whole row */
.nova-pagehead-split__main > div > div:first-child { flex: 0 0 auto; width: max-content; max-width: 100%; }
.nova-pagehead-split__main h1 { width: auto; }
@media (max-width: 767px) {
  body[data-surface="client"] .adm-floating { max-height: min(300px, 48vh); overflow-y: auto; }
}
.nova-titlerow { display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; }
.nova-titlerow h1 { flex: 0 0 auto !important; width: max-content !important; max-width: none; margin: 0; }

/* columns menu on small screens: a wide rectangle with two columns and smaller tick boxes */
@media (max-width: 767px) {
  body[data-surface="client"] .adm-floating { max-height: min(320px, 50vh); }
  body[data-surface="client"] .adm-floating__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4px; }
  body[data-surface="client"] .adm-floating__row { min-width: 0; gap: 6px; padding: 4px 5px; }
  body[data-surface="client"] .adm-floating__row > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body[data-surface="client"] .adm-floating .adm-checkbox__box { width: 14px; height: 14px; border-radius: 3px; }
  body[data-surface="client"] .adm-floating .adm-checkbox__check { width: 10px; height: 10px; }
}

/* the test-phase note normally hangs under the h1 (inside it, which stretched the title to the full row); here it sits under the whole row instead, so the count can hug the title */
.nova-client .adm-body .nova-titlerow h1::after { display: none; }
.nova-titlerow { flex-wrap: wrap; }
.nova-client .adm-body .nova-titlerow::after {
  content: "סביבת בדיקות — הגישה למסך פתוחה זמנית. לפני השקה תחובר לתוכנית ולהרשאה המתאימות.";
  flex: 0 0 100%;
  margin-top: 4px;
  color: var(--adm-muted);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.45;
}
.nova-client[data-lang="en"] .adm-body .nova-titlerow::after {
  content: "Testing environment — access is temporarily open. Before launch, this page will be connected to the appropriate plan and permission.";
}

/* columns menu: exactly as wide as the search field above it, with smaller tick boxes */
@media (max-width: 767px) {
  body[data-surface="client"] .adm-floating { }
  body[data-surface="client"] .adm-floating .adm-checkbox__box { width: 12px; height: 12px; border-radius: 3px; }
  body[data-surface="client"] .adm-floating .adm-checkbox__check { width: 9px; height: 9px; }
}

/* columns menu: back to a single column, scrolling inside */
@media (max-width: 767px) {
  body[data-surface="client"] .adm-floating__list { grid-template-columns: 1fr; }
  body[data-surface="client"] .adm-floating { max-height: min(300px, 48vh); overflow-y: auto; }
}
.nova-pagehead-split__main > .nova-titlerow { flex-wrap: wrap; align-items: baseline; justify-content: flex-start; max-width: 100%; }
.nova-client .adm-body .nova-titlerow::after { min-width: 0; overflow-wrap: anywhere; }

/* Deleted products: the products card structure, the restore button where the price sits (left) */
.adm.nova-client .nova-products .nova-excl__restore {
  align-self: flex-start;
  flex-shrink: 0;
  height: 28px;
  min-height: 0;
  padding: 0 12px;
  border-radius: 4px;
  border: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--adm-accent);
  background: color-mix(in srgb, var(--adm-accent) 9%, transparent);
  box-shadow: none;
}
.adm.nova-client .nova-products .nova-excl__restore:hover:not(:disabled) { background: color-mix(in srgb, var(--adm-accent) 16%, transparent); }
.adm.nova-client .nova-products .pw-varlist:not(.pw-varlist--mobile-only) { display: grid; gap: 10px; }
.nova-removed-link--back { margin-top: 6px; }

/* ===== Restore / publish button on the product cards: dark purple, no border line ===== */
.adm.nova-client .nova-products .nova-excl__restore {
  background: color-mix(in srgb, var(--adm-accent) 82%, #000);
  color: #fff;
  border: 0;
  box-shadow: none;
}
.adm.nova-client .nova-products .nova-excl__restore:hover:not(:disabled) {
  background: color-mix(in srgb, var(--adm-accent) 70%, #000);
  color: #fff;
}
.adm.nova-client .nova-products .nova-excl__restore:disabled { opacity: 0.6; }

/* ===== Drafts: same card as products ===== */
.adm.nova-client .nova-products button.pw-prodcard__main--btn { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.adm.nova-client .nova-products .pw-prodcard .pw-draftcard__actions { display: flex; align-items: flex-start; gap: 6px; flex-shrink: 0; }
.adm.nova-client .nova-products .pw-prodcard__go { border: 0; background: none; cursor: pointer; }
.nova-draft-nav { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.nova-storedrafts { margin-bottom: 14px; }
.nova-storedrafts__head { display: flex; align-items: center; gap: 8px; margin: 4px 2px 8px; font-size: 0.9rem; }
.nova-storedrafts__count { color: var(--adm-muted); font-weight: 600; }
.nova-storedrafts .pw-varlist { display: grid; gap: 10px; }

/* ===== Small screens: editor header laid out like the reference (image + title/description, soft info rows, one row of pills, two buttons) ===== */
@media (max-width: 720px) {
  .nova-ph { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; row-gap: 12px; padding: 14px; border-radius: 14px; }
  .nova-ph__image { grid-column: 1; grid-row: 1 / span 2; border-radius: 10px; }
  .nova-client .nova-ph__title { grid-column: 2; grid-row: 1; align-self: end; -webkit-line-clamp: 2; line-clamp: 2; }
  .nova-ph__desc { grid-column: 2; grid-row: 2; align-self: start; color: var(--adm-muted); -webkit-line-clamp: 2; line-clamp: 2; }
  .nova-ph__meta, .nova-ph__meta:has(> :nth-child(2):last-child) { grid-row: 3; padding-top: 12px; border-top: 1px solid rgb(20 24 35 / 7%); gap: 6px; }
  .nova-ph__item { min-height: 32px; padding: 4px 10px; border-radius: 8px; background: rgb(20 24 35 / 4%); gap: 10px; }
  .nova-ph__label { min-width: 62px; }
  .nova-ph__status { grid-row: 4; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding-top: 12px; border-top: 1px solid rgb(20 24 35 / 7%); }
  .nova-ph__pill, .nova-ph__view { justify-content: center; min-width: 0; height: 30px; padding: 0 4px; gap: 4px; border-radius: 8px; font-size: 11px; white-space: nowrap; }
  .nova-ph__actions { grid-row: 5; padding: 0; border-top: 0; gap: 10px; }
  .nova-ph__actions .nova-ph__btn { min-height: 42px; border-radius: 10px; }
}

/* ===== Small screens: product editor blocks ===== */
@media (max-width: 767px) {
  /* the Inventory / Pricing / Monitoring cards shrank to their content (align-items:start from the desktop grid); full width, stacked */
  .adm.nova-client .product-editor-control-grid { align-items: stretch; }
  .adm.nova-client .product-editor-compact-card { width: 100%; }
  /* tabs: a bit wider */
  .adm.nova-client .nova-product-editor__tabs .adm-tabs__btn,
  .adm.nova-client .adm-tabs__btn { padding: 11px 16px; font-size: 0.82rem; min-width: 76px; text-align: center; }
}

/* ===================================================================================================================
   One shape language for the whole Client: square 4px frames (cards, fields, buttons, badges, dialogs, menus).
   Round things that must stay round (avatars, switches, the + button, status dots) are not listed here.
   =================================================================================================================== */
.adm.nova-client :is(.adm-panel, .adm-btn, .adm-input, .adm-select, .adm-sel__btn, .adm-badge, .adm-chip, .adm-statcard, .adm-tabs, .adm-card,
  .adm-alert, .adm-notice, .adm-menu__panel, .adm-floating, .adm-bulkbar, .nova-ph, .nova-ph__item, .nova-ph__pill, .nova-ph__view, .nova-ph__btn,
  .nova-ph__image, .nova-ph__image img, .product-editor-compact-card, .nova-strips, .nova-toast, .client-localization-control, .nova-catpick__trigger,
  .nova-tagpick__field, .product-editor-chip, .pw-prodcard, .pw-prodcard__thumb, .ad-imgs__tile, .ad-imgs__add, .nova-pricing-metric, textarea, select),
body[data-surface="client"] :is(.adm-modal, .adm-floating, .adm-menu__panel, .adm-drawer, .adm-confirm, .adm-btn, .adm-input, .adm-sel__btn, .adm-sel__panel,
  .adm-badge, .adm-chip, .nova-toast, .nova-toast__card, textarea, select) {
  border-radius: 4px !important;
}

/* ===== Drafts ===== */
.ad-imgs__cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pw-prodcard__thumblink { display: block; flex-shrink: 0; }
.adm.nova-client .nova-products a.pw-prodcard__name { color: inherit; text-decoration: none; }
.adm.nova-client .nova-products a.pw-prodcard__name:hover { text-decoration: underline; }

/* red "!" on a draft that did not go live; the reason shows on hover / focus */
.nova-failmark { position: relative; display: inline-grid; place-items: center; color: #E5484D; cursor: help; }
.nova-failmark::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  inset-inline-start: -12px;
  z-index: 40;
  width: max-content;
  max-width: 230px;
  padding: 6px 10px;
  background: #1c1f25;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity 0.12s, transform 0.12s;
}
.nova-failmark:hover::after, .nova-failmark:focus::after { opacity: 1; transform: none; }

/* selection bar actions: small, icon + label, frozen until something is selected (AutoDS look) */
.adm .adm-bulkbar .nova-bulkactions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 2px 2px; flex: 1; }
.adm .adm-bulkbar .nova-bulkbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.adm .adm-bulkbar .nova-bulkbtn + .nova-bulkbtn { border-inline-start: 1px solid rgb(127 127 127 / 28%); }
.adm .adm-bulkbar .nova-bulkbtn:hover:not(:disabled) { background: rgb(127 127 127 / 14%); }
.adm .adm-bulkbar .nova-bulkbtn:disabled { opacity: 0.38; cursor: default; }
.adm .adm-bulkbar .nova-bulkbtn__ai { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em; }
.adm .adm-bulkbar .nova-bulkbtn--primary:not(:disabled) { background: var(--adm-accent); color: #fff; border-radius: 4px; margin-inline-start: 4px; border-inline-start: 0; }
@media (max-width: 767px) {
  .adm .adm-bulkbar .nova-bulkbtn { height: 24px; padding: 0 6px; font-size: 0.64rem; gap: 4px; }
  .adm .adm-bulkbar[data-empty] { row-gap: 4px; }
}

/* AutoDS-style announcement popups */
.nova-soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; direction: rtl; }
.nova-soon__media { display: grid; place-items: center; gap: 8px; min-height: 190px; padding: 20px; background: #1c1f25; color: #cfd3dc; text-align: center; }
.nova-soon__play { display: grid; place-items: center; width: 56px; height: 40px; border-radius: 4px; background: #e5484d; color: #fff; }
.nova-soon__copy h3 { margin: 8px 0 10px; font-size: 1.15rem; font-weight: 800; color: var(--adm-ink); }
.nova-soon__copy p { margin: 0 0 4px; font-size: 0.86rem; color: var(--adm-muted); }
.nova-soon__chip { display: inline-block; padding: 2px 10px; background: color-mix(in srgb, var(--adm-accent) 12%, transparent); color: var(--adm-accent); font-size: 0.72rem; font-weight: 700; }
@media (max-width: 640px) { .nova-soon { grid-template-columns: 1fr; } .nova-soon__media { min-height: 130px; } }
.nova-sample { display: grid; gap: 8px; direction: rtl; font-size: 0.9rem; }
.nova-sample p { margin: 0; }
.nova-sample__credits { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: rgb(20 24 35 / 5%); font-size: 0.78rem; font-weight: 600; }
.nova-sample__tip { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 14px 16px; background: color-mix(in srgb, #e49e4c 12%, #fff); }
.nova-sample__tip div { display: grid; gap: 2px; }
.nova-sample__tip svg { color: #e49e4c; flex: none; margin-top: 2px; }
.nova-sample__go { background: var(--adm-accent); color: #fff; border: 0; display: inline-flex; align-items: center; gap: 8px; }
.nova-bulkai { display: grid; gap: 14px; }
.nova-bulkai__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.nova-bulkai__grid label { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 600; }
.nova-bulkai__note { margin-inline-end: auto; font-size: 0.78rem; color: var(--adm-muted); }

/* ===== Editor header rows: label and value start together at the right edge, the same for store / supplier / SKU ===== */
@media (max-width: 720px) {
  .nova-ph__item { justify-content: flex-start; }
  .nova-ph__label { flex: 0 0 62px; width: 62px; }
  .nova-ph__value, .nova-ph__supplier, .nova-ph__link { flex: 0 1 auto; margin: 0; min-width: 0; justify-content: flex-start; text-align: start; }
}

/* ===== Item specifications on small screens: one white card per row — name (right) | value (middle) | edit + delete (left) ===== */
@media (max-width: 767px) {
  .ad-specs__bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 0; }
  .ad-specs__sep { display: none; }
  .ad-specs__act { justify-content: center; min-height: 46px; padding: 0 10px; border: 1px solid rgb(20 24 35 / 14%); border-radius: 6px; background: #fff; font-size: 0.86rem; }
  .ad-specs__act[data-primary="true"] { background: color-mix(in srgb, var(--adm-accent) 88%, #000); border-color: transparent; color: #fff; }
  .ad-specs__act:hover:not(:disabled) { color: inherit; }
  .ad-specs__act[data-primary="true"]:hover:not(:disabled) { color: #fff; }
  .ad-specs__list { gap: 10px; }
  .ad-specs__row, .ad-specs__row--form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
    gap: 0;
    padding: 0 12px 0 10px;
    min-height: 60px;
    background: #fff;
    border: 1px solid rgb(20 24 35 / 10%);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgb(20 24 35 / 4%);
  }
  .ad-specs__row > :nth-child(2) { grid-column: auto; }
  .ad-specs__name, .ad-specs__val { align-self: stretch; display: flex; align-items: center; padding: 8px 12px; }
  .ad-specs__name { border-inline-end: 1px solid rgb(20 24 35 / 10%); color: var(--adm-muted); font-size: 0.9rem; justify-content: flex-start; }
  .ad-specs__val { border-inline-end: 1px solid rgb(20 24 35 / 10%); justify-content: center; text-align: center; font-weight: 500; font-size: 0.92rem; }
  .ad-specs__icons { grid-column: auto; grid-row: auto; flex-direction: row; gap: 8px; padding-inline-start: 12px; }
  .ad-specs__ico { width: 36px; height: 36px; border-radius: 6px; background: rgb(20 24 35 / 6%); color: var(--adm-ink); }
  .ad-specs__ico[aria-label="מחיקת מפרט"] { background: rgb(229 72 77 / 10%); color: #E5484D; }
  .ad-specs__ico:hover:not(:disabled) { background: rgb(20 24 35 / 12%); }
  .ad-specs__ico[aria-label="מחיקת מפרט"]:hover:not(:disabled) { background: rgb(229 72 77 / 18%); }
  .ad-specs__row[data-editing="true"], .ad-specs__row--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; }
  .ad-specs__row[data-editing="true"] .ad-specs__input, .ad-specs__row--form .ad-specs__input { width: 100%; height: 42px; border: 1px solid rgb(20 24 35 / 18%); border-radius: 6px; padding: 0 10px; background: #fff; }
}

/* ===== Variations: the selection box sits on the right edge of each card, then the picture, then the text ===== */
.nova-var-row { direction: rtl; }
.nova-var-row > :first-child { grid-column: 1; justify-self: start; }

/* "Add products" menu: it is wider than the side menu, so the side menu must not clip it — it overlaps the page, above it (like AutoDS). */
.adm.nova-client .nova-desktop-side { overflow: visible; position: relative; z-index: 80; }
.adm.nova-client .nova-desktop-side .nova-addmenu__panel { z-index: 400; }

/* ===== Variations (products and drafts): card per variation — picture, title, stock badge, prices on one line, ids, then edit + delete ===== */
.nova-var-row__meta { display: grid; grid-template-columns: repeat(3, max-content); justify-content: start; align-items: center; gap: 6px 0; }
.nova-var-row__meta > :first-child { grid-column: 1 / -1; justify-self: start; }
.nova-var-row__meta > .nova-var-row__id { grid-column: 1 / -1; }
.nova-var-row__price + .nova-var-row__price { margin-inline-start: 14px; padding-inline-start: 14px; border-inline-start: 1px solid rgb(20 24 35 / 14%); }
.nova-var-row__id { font-size: 12px; color: var(--adm-muted); overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .nova-var-row { grid-template-columns: auto 72px minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px 12px; }
  .nova-var-row > :first-child { align-self: start; margin-top: 2px; }
  .nova-var-row__thumb { width: 72px; height: 72px; }
  .nova-var-row__actions { justify-content: flex-end; gap: 10px; }
  .nova-var-row__actions .nova-var-editbtn { min-width: 150px; justify-content: center; }
}

/* ===== Item specifications on small screens: airier cards, smaller icon buttons ===== */
@media (max-width: 767px) {
  .ad-specs__list { gap: 12px; }
  .ad-specs__row:not([data-editing="true"]), .ad-specs__row--form { min-height: 72px; }
  .ad-specs__name, .ad-specs__val { padding: 14px 14px; }
  .ad-specs__icons { gap: 10px; padding-inline-start: 14px; }
  .ad-specs__ico { width: 32px; height: 32px; }
}

/* ===== Drafts selection bar: one clean horizontal line, icons only on small screens ===== */
@media (max-width: 767px) {
  .adm .adm-bulkbar .nova-bulkactions { flex-wrap: nowrap; overflow: hidden; }
  .adm .adm-bulkbar .nova-bulkbtn:not(.nova-bulkbtn--primary) .nova-bulkbtn__t { display: none; }
  .adm .adm-bulkbar .nova-bulkbtn { padding: 0 9px; }
}

/* ===== Forms inside dialogs (schedule, sample order): same field frame as the product editor ===== */
.nova-form { display: grid; gap: 14px; font-size: 0.88rem; }
.nova-form__lead { margin: 0; line-height: 1.6; }
.nova-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nova-form__grid label, .nova-form > label { display: grid; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--adm-muted); }
.nova-form__wide { grid-column: 1 / -1; }
.nova-form__hint { margin: 0; font-size: 0.76rem; color: var(--adm-muted); }
.nova-form__err { margin: 0; font-size: 0.8rem; color: #E5484D; }
.nova-form__actions { display: flex; justify-content: flex-end; gap: 10px; }
.nova-form .adm-input { height: 40px; border: 0.8px solid rgb(20 24 35 / 16%); box-shadow: 0 1px 2px rgb(20 24 35 / 5%); }
.nova-form .adm-input:focus { outline: none; box-shadow: none; border-color: color-mix(in srgb, var(--adm-accent) 40%, rgb(20 24 35 / 16%)); }
@media (max-width: 640px) { .nova-form__grid { grid-template-columns: 1fr; } }
.nova-sample__go, body[data-surface="client"] .adm-modal .nova-sample__go { background: #6a37b8; color: #fff; border: 0; }
.nova-sample__go:disabled, body[data-surface="client"] .adm-modal .nova-sample__go:disabled { background: #d9d4e4; color: #fff; }
body[data-surface="client"] .nova-form .adm-input:focus { outline: none !important; box-shadow: none !important; border-color: color-mix(in srgb, #7440c4 45%, rgb(20 24 35 / 16%)) !important; }
/* English names/values carry dir="auto" (left-to-right) — keep the cell itself right-to-left so dividers and alignment stay put */
.ad-specs__name, .ad-specs__val { direction: rtl; unicode-bidi: plaintext; }
.ad-specs__name { text-align: right; }

/* ===== Mobile polish: editor header rows, item specifications, variation cards, image tiles, variation dialogs ===== */
@media (max-width: 720px) {
  /* the first row (store) lost its start padding on small screens, which pushed its icon and text out of line with the others */
  .nova-ph__item, .nova-ph__item:first-child { padding: 4px 10px; }
  .nova-ph__item:first-child .nova-ph__label, .nova-ph__label { flex: 0 0 62px; width: 62px; min-width: 62px; }
}

@media (max-width: 767px) {
  .ad-specs__row, .ad-specs__row--form { box-shadow: 0 2px 8px rgb(20 24 35 / 8%); border-color: rgb(20 24 35 / 6%); }
  .ad-specs__list { gap: 10px; }
  .ad-specs__row:not([data-editing="true"]), .ad-specs__row--form { min-height: 48px; padding: 0 8px 0 6px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto; }
  .ad-specs__name, .ad-specs__val { padding: 6px 8px; }
  .ad-specs__name { font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; align-self: center; line-height: 1.4; }
  .ad-specs__val { font-size: 0.78rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; justify-content: initial; align-self: center; line-height: 1.35; text-align: center; }
  .ad-specs__icons { gap: 6px; padding-inline-start: 8px; }
  .ad-specs__ico { width: 28px; height: 28px; }
  .ad-specs__ico svg { width: 13px; height: 13px; }
}

@media (max-width: 720px) {
  .nova-var-list { background: transparent; border: 0; box-shadow: none; overflow: visible; display: grid; gap: 10px; }
  .nova-var-row, .nova-var-row:last-child {
    position: relative; grid-template-columns: auto 56px minmax(0, 1fr); gap: 10px; align-items: start;
    padding: 10px; background: #fff; border: 1px solid rgb(20 24 35 / 7%); border-radius: 6px; box-shadow: 0 2px 8px rgb(20 24 35 / 8%);
  }
  .nova-var-row[data-selected="true"] { background: color-mix(in srgb, var(--ad-primary, #7440c4) 6%, #fff); }
  .nova-var-row__thumb { width: 56px; height: 56px; }
  .nova-var-row__main { gap: 3px; }
  .nova-var-row__title { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .nova-var-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 11.5px; }
  .nova-var-row__meta > * { order: 1; }
  .nova-var-row__meta::after { content: ""; order: 2; flex: 0 0 100%; height: 0; }
  .nova-var-row__meta > :first-child { order: 3; margin-top: 3px; }
  .nova-var-row__meta::before { content: ""; order: 4; flex: 0 0 100%; height: 0; }
  .nova-var-row__meta > .nova-var-row__id { order: 5; flex: 0 0 100%; max-width: calc(100% - 128px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
  .nova-var-row__price + .nova-var-row__price { margin-inline-start: 10px; padding-inline-start: 10px; }
  .nova-var-row__actions { position: absolute; inset-inline-end: 10px; bottom: 10px; grid-column: auto; gap: 8px; }
  .nova-var-row__actions .nova-var-editbtn { min-width: 0; height: 30px; min-height: 30px; padding: 0 10px; font-size: 12px; }
  .nova-var-row__actions .nova-var-iconbtn { width: 30px; height: 30px; }
}

/* Image tiles: shorter on small screens; all hover actions stay inside the tile */
@media (max-width: 767px) {
  .ad-imgs__tile, .ad-imgs__add { aspect-ratio: 1 / 1.08; padding: 6px; }
  .ad-imgs__hover { gap: 3px; padding: 30px 4px 4px; }
  .ad-imgs__icons button { flex-basis: 24px; width: 24px; height: 24px; }
  .ad-imgs__icons button svg { width: 14px; height: 14px; flex: none; }
  .ad-imgs__text { height: 24px; padding: 0 4px; font-size: 0.68rem; gap: 4px; }
  .ad-imgs__main { top: 5px; padding: 1px 6px; font-size: 0.64rem; }
  .ad-imgs__check { top: 5px; inset-inline-start: 6px; }
}

/* Variation dialogs on small screens: fields use the full width, text is right-to-left and right-aligned, nothing overflows sideways */
@media (max-width: 720px) {
  body[data-surface="client"] .nova-var-modal .adm-modal__body { overflow-x: hidden; }
  .nova-var-modal .adm-input, .nova-var-modal input.adm-input, .nova-var-modal input[dir="ltr"].adm-input { direction: rtl; unicode-bidi: plaintext; text-align: right; }
  .nova-var-modal .nova-var-field, .nova-var-modal .nova-var-grid, .nova-var-modal .nova-var-unit { min-width: 0; max-width: 100%; }
  .nova-var-unit { grid-template-columns: minmax(0, 1fr) 96px; }
  .nova-var-unit .adm-sel, .nova-var-unit .adm-sel__btn { min-width: 0; width: 100%; }
  .nova-var-opts__group { padding: 10px; gap: 10px; }
  .nova-var-opts__key { width: 100%; box-sizing: border-box; }
  .nova-var-opts__values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .nova-var-chip { min-height: 40px; display: flex; align-items: center; padding: 0 10px; font-size: 12.5px; background: #fff; }
}
/* Images tab on small screens: tiles only (like the product editor) — the ALT field and the upload status stay on larger screens */
@media (max-width: 767px) {
  .ad-imgs__cell > :not(.ad-imgs__tile) { display: none; }
}

/* Draft "edit variation options" dialog: name and values are label + field rows; on small screens every field takes the full width */
.nova-optrow { display: flex; align-items: center; gap: 8px; }
.nova-optrow__label { min-width: 90px; font-size: 0.75rem; color: var(--adm-muted); }
.nova-optrow__input { max-width: 220px; }
.nova-optvals { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: 16px; }
.nova-optval { display: flex; align-items: center; gap: 4px; }
.nova-optval__label { font-size: 0.75rem; color: var(--adm-muted); }
.nova-optval__input { height: 26px; width: 110px; }
@media (max-width: 720px) {
  .nova-optrow { flex-direction: column; align-items: stretch; gap: 4px; }
  .nova-optrow__label { min-width: 0; }
  .nova-optrow__input, .nova-optval__input { width: 100%; max-width: none; height: 40px; }
  .nova-optvals { flex-direction: column; flex-wrap: nowrap; gap: 10px; margin-inline-start: 0; }
  .nova-optval { flex-direction: column; align-items: stretch; gap: 4px; }
  .nova-optval__label { text-align: right; unicode-bidi: plaintext; }
}

/* Draft "edit variation" dialog: the weight unit menu stays inside the dialog; on small screens the text in every field is right-to-left and right-aligned */
.nova-weightrow { display: flex; gap: 6px; min-width: 0; }
.nova-weightrow__unit { flex: 0 0 92px; width: 92px; min-width: 0; }
.nova-weightrow__unit .adm-sel, .nova-weightrow__unit .adm-sel__btn { min-width: 0; width: 100%; }
@media (max-width: 720px) {
  .nova-draftvar-modal .adm-modal__body { overflow-x: hidden; }
  .nova-draftvar-modal .adm-input, .nova-draftvar-modal input.adm-input { direction: rtl; unicode-bidi: plaintext; text-align: right; }
}

/* ===== Mobile polish round 2: variation toolbar + card, description AI button, specs fields, image bar, thin square fields ===== */
@media (max-width: 720px) {
  /* variations toolbar: count row, then a full-width search, then refresh (right) and edit options (left) as the same kind of button */
  .nova-var-bar { gap: 8px; }
  .nova-var-bar__search { order: 2; flex: 0 0 100%; width: 100%; min-height: 40px; }
  .nova-var-bar__refresh { order: 3; min-height: 36px; padding: 0 10px; font-size: 12px; }
  .nova-var-bar__spacer { order: 4; }
  .nova-var-bar__options { order: 5; }
  .nova-var-bar__optbtn { min-height: 36px; padding: 0 10px; font-size: 12px; white-space: nowrap; }
  /* variation card: same proportions as the product card (60px picture, 13px bold title beside it) */
  .nova-var-row__thumb { width: 60px; height: 60px; }
  .nova-var-row, .nova-var-row:last-child { grid-template-columns: auto 60px minmax(0, 1fr); }
  .nova-var-row__title { font-size: 13px; font-weight: 700; line-height: 1.35; }
  .nova-var-row__actions .nova-var-iconbtn { width: 30px; height: 30px; }
  .nova-var-row__meta > .nova-var-row__id { max-width: calc(100% - 44px); }
  /* description tab: the AI button sits at the left of the title row, like the short description */
  .adm.nova-client .nova-desc__head-actions { display: contents; }
  .adm.nova-client .nova-desc__head .product-editor-ai-btn { order: 2; }
  .adm.nova-client .nova-desc__head .nova-desc__action { order: 3; flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 767px) {
  /* the editor card uses nearly the whole screen width */
  .adm.nova-client .adm-body:has(.product-editor) { padding-inline: 6px; }
  .adm.nova-client .product-editor .p-4 { padding: 8px; }
  /* image selection bar: small buttons on one line */
  .nova-imgbulk, .ad-imgs__bar { flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 4px 6px; min-height: 0; }
  .nova-imgbulk .adm-btn { white-space: nowrap; flex: none; min-height: 30px; height: 30px; padding: 0 8px; font-size: 11.5px; }
  .nova-imgbulk .adm-input { flex: none; width: 120px !important; height: 30px !important; }
  .nova-imgbulk label { flex: none; white-space: nowrap; font-size: 12px; }
  .ad-imgs__count { white-space: nowrap; font-size: 0.74rem; }
  .ad-imgs__ico { width: 26px; height: 26px; }
  .ad-imgs__ico svg { width: 15px; height: 15px; }
  /* item specification fields: shorter, thin frame */
  .ad-specs__row[data-editing="true"] .ad-specs__input, .ad-specs__row--form .ad-specs__input { height: 34px; padding: 0 8px; font-size: 12.5px; }
  .ad-specs__row[data-editing="true"], .ad-specs__row--form { padding: 8px; gap: 6px; }
}

/* Fields everywhere in the Client: square 4px, one thin line, and no thick ring when selected */
.adm.nova-client :is(input, textarea, select, .adm-input, .adm-sel__btn, .adm-select, .ad-specs__input, .ad-specs__act, .ad-specs__ico, .ad-specs__row),
body[data-surface="client"] :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select, .adm-input, .adm-sel__btn, .adm-select) {
  border-radius: 4px !important;
}
.adm.nova-client :is(.adm-input, textarea, select, .adm-sel__btn, .adm-select, .ad-specs__input):focus,
.adm.nova-client :is(.adm-input, textarea, select, .adm-sel__btn, .adm-select, .ad-specs__input):focus-visible,
body[data-surface="client"] :is(.adm-input, textarea, select, .adm-sel__btn, .adm-select):focus,
body[data-surface="client"] :is(.adm-input, textarea, select, .adm-sel__btn, .adm-select):focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-width: 1px !important;
  border-color: color-mix(in srgb, #7440c4 55%, rgb(20 24 35 / 16%)) !important;
}
.adm.nova-client :is(.adm-input, textarea, select, .adm-sel__btn, .ad-specs__input),
body[data-surface="client"] :is(.adm-input, textarea, select, .adm-sel__btn) {
  border-width: 0.8px;
}
.nova-imgbulk__alt { display: inline-flex; align-items: center; gap: 8px; }
.nova-imgbulk .adm-btn { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 767px) {
  .nova-imgbulk { flex-wrap: nowrap; overflow: hidden; min-height: 0; padding: 4px 8px; gap: 6px; }
  .nova-imgbulk__alt, .nova-imgbulk__t { display: none; }
  .nova-imgbulk .adm-btn { height: 28px; min-height: 28px; padding: 0 8px; font-size: 11.5px; }
  .nova-imgbulk label { font-size: 12px; }
}

/* ===== Mobile polish round 3 ===== */
@media (max-width: 720px) {
  /* variations toolbar: refresh and edit-options side by side, two equal columns, one line each */
  .nova-var-bar__spacer { display: none; }
  .nova-var-bar__refresh, .nova-var-bar__options { order: 3; flex: 1 1 0; min-width: 0; }
  .nova-var-bar__options { display: flex; gap: 0; }
  .nova-var-bar__options > .nova-help, .nova-var-bar__options > :not(button) { display: none; }
  .nova-var-bar__refresh, .nova-var-bar__optbtn { width: 100%; flex: 1 1 0; min-width: 0; padding: 0 6px; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* variation card: badge and Buy ID share the last line, buttons sit at its left end; long ids shrink with an ellipsis */
  .nova-var-row__meta::before { display: none; }
  .nova-var-row__meta > .nova-var-row__id { order: 4; flex: 1 1 0; min-width: 0; max-width: none; margin-inline: 8px 76px; font-size: 11px; }
  .nova-var-row__meta > .nova-var-row__id ~ .nova-var-row__id { display: none; }
  .nova-var-row__meta { min-height: 30px; align-content: flex-start; }
  .nova-var-row { padding-bottom: 10px; }
}
@media (max-width: 767px) {
  /* no scroll bars on the tab strip or the image selection bar */
  .adm.nova-client .adm-tabs, .adm.nova-client .adm-tabs * { scrollbar-width: none; }
  .adm.nova-client .adm-tabs::-webkit-scrollbar, .adm.nova-client .adm-tabs *::-webkit-scrollbar { display: none; }
  .ad-imgs__bar, .nova-imgbulk { overflow: visible; scrollbar-width: none; }
  .ad-imgs__bar::-webkit-scrollbar, .nova-imgbulk::-webkit-scrollbar { display: none; }
}
/* variation dialogs on phones: every field's content is right-to-left and on the right, thin line when selected */
@media (max-width: 720px) {
  body[data-surface="client"] :is(.nova-var-modal, .nova-draftvar-modal) :is(input, textarea, select, .adm-input, .adm-sel__btn, .adm-sel__btn *) { direction: rtl !important; text-align: right !important; unicode-bidi: plaintext; justify-content: flex-start; }
  body[data-surface="client"] .adm-modal :is(.adm-input, input, textarea, select, .adm-sel__btn):focus,
  body[data-surface="client"] .adm-modal :is(.adm-input, input, textarea, select, .adm-sel__btn):focus-visible { outline: none !important; box-shadow: none !important; border-width: 1px !important; border-color: color-mix(in srgb, #7440c4 55%, rgb(20 24 35 / 16%)) !important; }
}
@media (max-width: 720px) {
  .nova-var-row__meta > .nova-var-row__id { margin-inline: 0; margin-left: 76px; margin-right: 8px; text-align: right; }
  .nova-var-bar__options > :not(button) { display: none !important; }
}
@media (max-width: 720px) { .nova-var-bar .nova-help-tooltip__trigger, .nova-var-bar [class*="nova-help"] { display: none !important; } }

/* ===== Mobile polish round 4 ===== */
/* the "some selected" dash of a checkbox had no size (60% of an auto-sized box) and was invisible */
.adm-checkbox__dash { width: 9px; }

/* variation options: small cards with soft depth; the lifted one floats, the drop target shows a purple line */
.nova-var-chip, .nova-var-opts__key { box-shadow: 0 1px 3px rgb(20 24 35 / 8%); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.nova-var-chip[data-lift="true"], .nova-var-opts__group[data-lift="true"] { transform: scale(1.03) rotate(-0.6deg); box-shadow: 0 10px 22px rgb(20 24 35 / 22%); opacity: 0.88; z-index: 2; position: relative; }
.nova-var-chip[data-over="true"], .nova-var-opts__group[data-over="true"] { border-color: #7440c4; box-shadow: 0 0 0 1px #7440c4, 0 4px 12px rgb(116 64 196 / 22%); }
.nova-var-chip:active { cursor: grabbing; box-shadow: 0 6px 16px rgb(20 24 35 / 18%); }

.nova-bulkai__results { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; max-height: 50vh; overflow: auto; }
.nova-bulkai__results li { display: grid; gap: 2px; padding: 8px 10px; border: 0.8px solid rgb(20 24 35 / 12%); font-size: 0.82rem; }
.nova-bulkai__before { color: var(--adm-muted); text-decoration: line-through; }
.nova-bulkai__err { color: #E5484D; }

@media (max-width: 640px) {
  /* every dialog and every row menu opens in the middle of the screen, never stuck to the bottom edge */
  body[data-surface="client"] .adm-overlay { align-items: center; justify-content: center; padding: 12px; }
  body[data-surface="client"] .adm-modal { width: calc(100vw - 24px); max-width: calc(100vw - 24px) !important; max-height: 86vh; border-radius: 4px !important; margin: 0; }
  body[data-surface="client"] .adm-modal__foot { padding-bottom: 14px; }
}

@media (max-width: 767px) {
  /* image selection bar: only the count and the action icons — the hover hint makes no sense on touch screens */
  .ad-imgs__tip { display: none; }
  .ad-imgs__bar { flex-wrap: nowrap; }
  /* the five editor tabs share the width: no scrolling, a little less spacing */
  .adm.nova-client .nova-product-editor__tabs .adm-tabs { overflow: visible !important; display: flex; }
  .adm.nova-client .nova-product-editor__tabs .adm-tabs__btn { flex: 1 1 0 !important; min-width: 0 !important; padding: 10px 2px !important; font-size: 11.5px !important; white-space: normal; line-height: 1.2; text-align: center; }
  /* less empty space under the editor card (bottom bar is 72px) */
  .adm.nova-client .adm-body:has(.product-editor) { padding-bottom: calc(var(--nova-bn, 72px) + 16px + env(safe-area-inset-bottom)); }
  .adm.nova-client .product-editor { padding-bottom: 0; }
  .adm.nova-client .adm-panel:has(> .product-editor) { margin-bottom: 8px; }
  /* description editor toolbar: an even grid of tools instead of loose wrapped groups; the card uses the full width */
  .nova-rte__toolbar { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; padding: 8px 6px; }
  .nova-rte__group { display: contents; }
  .nova-rte__sep { display: none; }
  .nova-rte__btn { width: 100%; min-width: 0; height: 36px; background: #fff; border: 0.8px solid rgb(20 24 35 / 8%); }
  .nova-rte__btn--combo { grid-column: span 4; justify-content: space-between; padding: 0 8px; }
  .adm.nova-client .product-editor-compact-card:has(.nova-rte) { padding-inline: 6px; }
}
@media (max-width: 720px) { .nova-var-bar__bulk { margin-inline-start: auto; order: 1; } }
.nova-draftmain__save { display: flex; align-items: center; gap: 12px; }

/* the side menu stays fixed under the header while the page scrolls (it must never go over the header) */
@media (min-width: 1024px) {
  .adm.nova-client .nova-desktop-side { position: sticky; top: var(--ad-header-h); z-index: 20; }
}

/* ===== Round 5: smaller variation icons, compact row menu, short-description AI button ===== */
.nova-menu__panel { width: max-content; min-width: 168px; max-width: min(260px, calc(100vw - 16px)); max-height: 60vh; overflow-y: auto; }
.nova-shortdesc__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.nova-shortdesc__ai { min-height: 28px; height: 28px; padding: 0 10px; font-size: 12px; gap: 6px; }
@media (max-width: 720px) {
  .nova-var-row__actions { gap: 6px; }
  .nova-var-row__actions .nova-var-iconbtn { width: 26px; height: 26px; }
  .nova-var-row__actions .nova-var-iconbtn svg { width: 14px; height: 14px; }
  .nova-var-row__meta > .nova-var-row__id { margin-left: 66px; }
}
@media (max-width: 767px) {
  .adm.nova-client .product-editor { padding-bottom: 0 !important; }
  .adm.nova-client .product-editor > .flex.p-4, .adm.nova-client .product-editor > div > .p-4 { padding-bottom: 4px; }
  .adm.nova-client .adm-body:has(.product-editor) { padding-bottom: calc(var(--nova-bn, 72px) + 8px + env(safe-area-inset-bottom)) !important; }
}

/* ===== Editor page title ("Product editor" / "Draft editor") above the back / next buttons ===== */
.nova-editor-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.adm.nova-client .nova-editor-title { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--adm-ink); line-height: 1.2; }
.adm.nova-client .nova-editor-title::after { content: none; }
.nova-draft-nav.nova-editor-top { justify-content: space-between; }
.nova-editor-top .adm-btn { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
@media (max-width: 720px) {
  .nova-editor-title { flex: 1 1 100%; font-size: 1.05rem; }
  .nova-editor-top { justify-content: flex-start; gap: 6px 8px; }
  .nova-editor-top .adm-btn { min-height: 30px; padding: 0 9px; font-size: 11.5px; }
  .pw-header__nav { display: flex; gap: 6px; }
}
@media (max-width: 767px) {
  /* the outer editor card reaches a little below the last inner card */
  .adm.nova-client .product-editor { padding-bottom: 14px !important; }
  .adm.nova-client .product-editor > .flex.p-4, .adm.nova-client .product-editor > div > .p-4 { padding-bottom: 10px; }
}

/* ===== Round 6: desktop editor layout, save buttons in the left corner, variation cards on desktop, side menu colours ===== */
/* back / next buttons sit together in the left corner on desktop */
@media (min-width: 721px) {
  .nova-editor-top { justify-content: flex-start; }
  .nova-editor-title + .adm-btn { margin-inline-start: auto; }
}
/* selection bar of the drafts list: the actions go to the left corner on desktop */
@media (min-width: 768px) {
  .adm .adm-bulkbar .nova-bulkactions { justify-content: flex-end; }
}
/* "Save changes" / "Publish": left corner everywhere; wide on desktop, small on phones */
.nova-draftmain__save { justify-content: flex-end; }
@media (min-width: 721px) {
  .nova-draftmain__save .adm-btn { min-width: 200px; }
}
@media (min-width: 1024px) {
  .nova-ph { grid-template-columns: 130px minmax(0, 1fr) 230px; }
  .nova-ph__actions .nova-ph__btn { min-width: 0; width: 100%; }
}
@media (max-width: 720px) {
  .nova-draftmain__save .adm-btn { min-height: 34px; padding: 0 16px; font-size: 12.5px; }
  .nova-ph__actions { justify-content: flex-end; }
  .nova-ph__actions .nova-ph__btn { flex: 0 0 auto; width: auto; min-width: 118px; min-height: 34px !important; padding: 0 14px; font-size: 12.5px; }
}

/* variations on desktop: one compact card per variation — picture, title + stock badge, prices, ids; buttons at the left behind a thin divider */
@media (min-width: 721px) {
  .nova-var-list { background: transparent; border: 0; box-shadow: none; overflow: visible; display: grid; gap: 10px; }
  .nova-var-row, .nova-var-row:last-child { grid-template-columns: auto 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 18px; background: #fff; border: 1px solid rgb(20 24 35 / 7%); border-radius: 6px; box-shadow: 0 2px 8px rgb(20 24 35 / 7%); }
  .nova-var-row[data-selected="true"] { background: color-mix(in srgb, var(--ad-primary, #7440c4) 6%, #fff); }
  .nova-var-row__thumb { width: 64px; height: 64px; }
  .nova-var-row__main { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); row-gap: 3px; align-items: center; justify-content: start; }
  .nova-var-row__meta { display: contents; }
  .nova-var-row__title { grid-row: 1; grid-column: 1; font-size: 15px; font-weight: 700; }
  .nova-var-row__meta > :first-child { grid-row: 1; grid-column: 2; margin-inline-start: 12px; justify-self: start; }
  .nova-var-row__price { grid-row: 2; }
  .nova-var-row__id { grid-column: 1 / -1; font-size: 12.5px; }
  .nova-var-row__actions { align-self: stretch; padding-inline-start: 16px; border-inline-start: 1px solid rgb(20 24 35 / 10%); gap: 8px; }
  .nova-var-row__actions .nova-var-iconbtn { width: 34px; height: 34px; }
}

/* "Add products": a square frame like the fields */
.adm.nova-client .adm-side__cta { border-radius: 4px !important; }

/* side menu (desktop pane and mobile drawer): a calm purple tint for the current page and for hover */
.adm.nova-client .nova-side-pane .adm-nav a:hover { background: #f4f0fb !important; color: #3d2478 !important; }
.adm.nova-client .nova-side-pane .adm-nav a[data-active="true"],
.adm.nova-client .nova-side-pane .adm-nav a[data-active="true"]:hover {
  background: #ece4fa !important; background-image: none !important; color: #3d2478 !important; box-shadow: inset -3px 0 0 #7a45d1 !important; font-weight: 700;
}
.adm.nova-client .nova-side-pane .adm-nav a[data-active="true"] svg { color: #7a45d1 !important; }
.adm.nova-client .nova-drawer .adm-nav a:hover { background: rgb(255 255 255 / 6%) !important; color: #fff !important; }
.adm.nova-client .nova-drawer .adm-nav a[data-active="true"],
.adm.nova-client .nova-drawer .adm-nav a[data-active="true"]:hover {
  background: rgb(124 74 214 / 24%) !important; background-image: none !important; color: #efe7ff !important; box-shadow: inset -3px 0 0 #8b5cf6 !important; font-weight: 700;
}
.adm.nova-client .nova-drawer .adm-nav a[data-active="true"] svg { color: #c9b0ff !important; }
/* Drawer header: centered AutoDrox lockup, with a smaller square close frame. */
.adm.nova-client .nova-drawer .nova-drawer__header {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding-inline: 36px;
}
.adm.nova-client .nova-drawer .nova-drawer__wordmark {
  gap: 2px;
  margin-inline: auto;
}
.adm.nova-client .nova-drawer .nova-drawer__wordmark .adm-brand-logo {
  height: 31px !important;
  max-width: 146px !important;
  width: auto !important;
  background: transparent !important;
  padding: 0 !important;
}
.adm.nova-client .nova-drawer .nova-drawer__wordmark .adm-brand-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}
.adm.nova-client .nova-drawer .nova-drawer__close {
  position: absolute;
  inset-inline-end: 0;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border-radius: 2px !important;
}
.adm.nova-client .nova-drawer .nova-drawer__close svg {
  width: 18px;
  height: 18px;
}

/* ===== Round 7 ===== */
/* image selection bar (drafts): small controls, grouped at the left next to "Cancel selection" */
.nova-imgbulk__alt { margin-inline-start: auto; }
.nova-imgbulk .adm-btn { min-height: 26px; height: 26px; padding: 0 9px; font-size: 11.5px; }
.nova-imgbulk__input { width: 150px; height: 26px; min-height: 26px; font-size: 11.5px; padding: 0 8px; }
@media (max-width: 767px) {
  .nova-imgbulk { flex-wrap: wrap !important; row-gap: 6px; }
  .nova-imgbulk__alt { display: flex !important; flex: 1 1 100%; margin-inline-start: 0; order: 5; }
  .nova-imgbulk__alt .nova-imgbulk__input { flex: 1; width: auto; min-width: 0; height: 28px; }
  .nova-imgbulk .adm-btn { height: 28px; min-height: 28px; }
  .nova-imgbulk > .adm-btn:first-of-type { margin-inline-start: auto; }
}

/* phones: editor title bigger, back / next buttons at the left, header Publish / Delete centred and wide */
@media (max-width: 720px) {
  .nova-editor-title { font-size: 1.3rem; }
  .nova-editor-top { justify-content: flex-end; }
  .nova-ph__actions { justify-content: center; }
  .nova-ph__actions .nova-ph__btn { flex: 1 1 0; width: auto; min-width: 0; min-height: 40px !important; padding: 0 12px; font-size: 13px; }
}

/* phones: the round "+" in the bottom bar sits on the same centre line as the other buttons */
.nova-client .nova-addmenu__fab { margin: 0 auto !important; transform: none !important; }
.adm.nova-client .adm-bottomnav .adm-bottomnav__fab { transform: none; }

/* draft variations, desktop only: title + supplier price on the right, stock badge + selling price next to them, Buy ID at the left end of the card */
@media (min-width: 721px) {
  .nova-var-list--draft .nova-var-row, .nova-var-list--draft .nova-var-row:last-child { padding: 10px 18px; gap: 18px; }
  .nova-var-list--draft .nova-var-row__thumb { width: 72px; height: 72px; }
  .nova-var-list--draft .nova-var-row__main { grid-template-columns: max-content max-content minmax(0, 1fr); row-gap: 8px; column-gap: 0; align-items: start; }
  .nova-var-list--draft .nova-var-row__title { font-size: 15px; font-weight: 700; align-self: center; }
  .nova-var-list--draft .nova-var-row__meta > :first-child { margin-inline-start: 22px; align-self: start; font-size: 11px; padding: 1px 9px; min-height: 0; line-height: 1.5; }
  .nova-var-list--draft .nova-var-row__price { font-size: 13px; color: var(--adm-muted); }
  .nova-var-list--draft .nova-var-row__id { grid-column: 1 / -1; justify-self: end; margin-top: 4px; font-size: 13px; }
  .nova-var-list--draft .nova-var-row__actions { padding-inline-start: 18px; }
}
@media (min-width: 721px) {
  .nova-var-list--draft .nova-var-row__main { row-gap: 6px; align-items: center; }
  .nova-var-list--draft .nova-var-row__meta > :first-child { margin-inline-start: 18px; align-self: center; }
  .nova-var-list--draft .nova-var-row__id { justify-self: start; margin-top: 0; font-size: 12.5px; }
}

/* ===== Round 8: watermark studio ===== */
.nova-wm { display: grid; gap: 16px; }
.nova-wm__upload { display: flex; align-items: center; gap: 14px; padding: 12px; border: 0.8px solid rgb(20 24 35 / 12%); background: #fff; }
.nova-wm__thumb, .nova-wm__cardthumb { display: grid; place-items: center; width: 96px; height: 60px; flex: none; overflow: hidden; border: 0.8px solid rgb(20 24 35 / 14%); color: var(--adm-muted); background: repeating-conic-gradient(#eceef2 0% 25%, #fff 0% 50%) 0 0 / 14px 14px; }
.nova-wm__thumb img, .nova-wm__cardthumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nova-wm__cardthumb { width: 140px; height: 76px; margin: 8px 0; font-size: 0.74rem; text-align: center; }
.nova-wm__uploadtext { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 0.84rem; }
.nova-wm__uploadtext span { color: var(--adm-muted); font-size: 0.76rem; }
.nova-wm__uploadbtn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.nova-wm__empty { margin: 0; padding: 28px 0; text-align: center; color: var(--adm-muted); }
.nova-wm__body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.nova-wm__canvas { position: relative; width: 100%; overflow: hidden; background: #eef0f4; touch-action: none; user-select: none; border: 0.8px solid rgb(20 24 35 / 12%); }
.nova-wm__photo { display: block; width: 100%; height: auto; }
.nova-wm__photo--blank { background: linear-gradient(135deg, #dfe3ea, #f4f6f9); }
.nova-wm__mark { position: absolute; cursor: grab; outline: 1.5px dashed #7440c4; outline-offset: 2px; touch-action: none; }
.nova-wm__mark:active { cursor: grabbing; }
.nova-wm__mark:focus-visible { outline-style: solid; }
.nova-wm__mark img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.nova-wm__hint, .nova-wm__note { margin: 8px 0 0; font-size: 0.76rem; color: var(--adm-muted); }
.nova-wm__strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.nova-wm__strip button { width: 52px; height: 52px; padding: 0; border: 1px solid rgb(20 24 35 / 14%); background: #fff; cursor: pointer; }
.nova-wm__strip button[data-on="true"] { border-color: #7440c4; box-shadow: 0 0 0 1px #7440c4; }
.nova-wm__strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nova-wm__more { font-size: 0.76rem; color: var(--adm-muted); }
.nova-wm__panel { display: grid; gap: 18px; align-content: start; }
.nova-wm__group { display: grid; gap: 8px; }
.nova-wm__label { font-size: 0.82rem; font-weight: 600; }
.nova-wm__group input[type="range"] { width: 100%; accent-color: #7440c4; }
.nova-wm__grid { direction: ltr; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 168px; }
.nova-wm__grid button { aspect-ratio: 1.5; display: grid; place-items: center; padding: 0; border: 0.8px solid rgb(20 24 35 / 20%); background: #fff; cursor: pointer; }
.nova-wm__grid button span { width: 9px; height: 9px; border-radius: 50%; background: #b7bcc8; }
.nova-wm__grid button[data-on="true"] { border-color: #7440c4; background: #f1eafb; }
.nova-wm__grid button[data-on="true"] span { background: #7440c4; }
.nova-wm__reset { justify-self: start; display: inline-flex; align-items: center; gap: 6px; }
.nova-wm__foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; width: 100%; }
@media (max-width: 720px) {
  .nova-wm__body { grid-template-columns: 1fr; }
  .nova-wm__upload { flex-wrap: wrap; }
  .nova-wm__uploadbtn { width: 100%; justify-content: center; }
}

/* ===== Round 8: editor top row, general pages, header Save position, image bar rows ===== */
@media (max-width: 720px) {
  .nova-draft-nav.nova-editor-top, .pw-header__top.nova-editor-top { justify-content: flex-end !important; }
}
.adm.nova-client .nova-editor-title { font-size: 1.75rem; }
@media (max-width: 720px) { .adm.nova-client .nova-editor-title { font-size: 1.6rem; } }
/* general pages (not the editors): breathing room under the last block on desktop */
@media (min-width: 1024px) {
  .adm.nova-client .adm-body:not(:has(.product-editor)) { padding-bottom: 40px; }
}
/* desktop header card: the Save button sits at the bottom of the left corner, Delete above it */
@media (min-width: 1024px) {
  .nova-ph__actions { justify-content: flex-end; align-self: stretch; }
  .nova-ph__btn--delete { order: -1; }
}
/* draft image selection bar: buttons on top (left side), the ALT field on its own row below */
.nova-imgbulk { flex-wrap: wrap !important; row-gap: 6px; }
.nova-imgbulk > .adm-btn:first-of-type, .nova-imgbulk__alt + .adm-btn { margin-inline-start: 0; }
.nova-imgbulk__alt { flex: 1 1 100%; order: 5; margin-inline-start: 0; justify-content: flex-end; }
.nova-imgbulk > .adm-btn { order: 2; }
.nova-imgbulk > label { order: 1; margin-inline-end: auto; }
.nova-imgbulk .adm-btn { min-height: 24px; height: 24px; padding: 0 8px; font-size: 11px; }
.nova-imgbulk__input { height: 24px; min-height: 24px; }
@media (max-width: 767px) {
  .nova-imgbulk__alt { display: flex !important; }
  .nova-imgbulk .adm-btn { min-height: 26px; height: 26px; }
}

/* ===== Round 9: watermark scope ===== */
/* settings card: the whole logo, in a square */
.nova-wm__cardthumb { width: 128px; height: 128px; margin: 8px 0; }
.nova-wm__thumb { width: 72px; height: 72px; }
.nova-wm__cardbtns { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.nova-wm__choose { color: #5b2fa3; border-color: color-mix(in srgb, #7440c4 40%, rgb(20 24 35 / 16%)); }
/* "focused choice" link in the image editors */
.nova-wm__focusrow { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.nova-wm__headrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nova-wm__focus { padding: 2px 4px; border: 0; background: none; color: #7a4fc4; font-size: 0.74rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.nova-wm__focus:hover { color: #5b2fa3; }
/* scope popup */
.nova-wmscope { display: grid; gap: 14px; }
.nova-wmscope__reason { margin: 0; padding: 10px 12px; background: #f6f1fd; color: #4b2a85; font-size: 0.84rem; }
.nova-wmscope__master { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0.8px solid #e9c46a; background: #fff8e6; font-size: 0.84rem; }
.nova-wmscope__master span { flex: 1; }
.nova-wmscope__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nova-wmscope__cards button { display: grid; justify-items: start; align-content: start; gap: 6px; padding: 16px; text-align: right; background: #fff; border: 0.8px solid rgb(20 24 35 / 16%); cursor: pointer; font: inherit; }
.nova-wmscope__cards button:hover:not(:disabled) { border-color: #7440c4; }
.nova-wmscope__cards button[data-on="true"] { border-color: #7440c4; background: #f5effd; box-shadow: 0 0 0 1px #7440c4; }
.nova-wmscope__cards strong { font-size: 0.92rem; }
.nova-wmscope__cards span { font-size: 0.78rem; color: var(--adm-muted); line-height: 1.5; }
.nova-wmscope__icon { color: #7440c4 !important; }
.nova-wmscope__rows { display: grid; gap: 4px; }
.nova-wmscope__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 4px; border-bottom: 0.8px solid rgb(20 24 35 / 8%); font-size: 0.92rem; font-weight: 600; }
.nova-wmscope__note { margin: 6px 0 0; font-size: 0.76rem; color: var(--adm-muted); }
.nova-wmscope__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.nova-wmscope__delete { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px) {
  .nova-wmscope__cards { grid-template-columns: 1fr; }
  .nova-wmscope__cards button { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
  .nova-wmscope__cards button span:last-child { grid-column: 2; }
  .nova-wmscope__icon { grid-row: span 2; }
}

/* ===== Round 10: watermark sync dialog ===== */
.nova-wmsync { display: grid; gap: 12px; font-size: 0.9rem; }
.nova-wmsync__line { margin: 0; display: flex; align-items: center; gap: 8px; line-height: 1.6; }
.nova-wmsync__line--ok { color: #1f8f4e; }
.nova-wmsync__line--err { color: #E5484D; }
.nova-wmsync__list { margin: 0; padding-inline-start: 18px; display: grid; gap: 4px; }
.nova-wmsync__hint { margin: 0; font-size: 0.76rem; color: var(--adm-muted); }
.nova-wmsync__bar { height: 8px; background: rgb(20 24 35 / 8%); overflow: hidden; }
.nova-wmsync__bar span { display: block; height: 100%; background: linear-gradient(90deg, #7440c4, #a24bd0); transition: width 0.25s ease; }
.nova-wmsync__errors { margin: 0; padding-inline-start: 18px; font-size: 0.78rem; color: #b42318; display: grid; gap: 2px; }
.nova-wmsync__foot { display: flex; gap: 8px; justify-content: flex-end; width: 100%; }

/* ===== Round 10: a professional picture icon wherever an image is missing ===== */
.nova-noimg, .nova-ph__image:empty, .nova-var-row__thumb:empty, .ad-imgs__tile[data-broken="true"], .pw-prodcard__thumb:not(img):empty {
  background-color: #f1f2f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a9b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 38%;
}
.nova-var-row__thumb:empty { background-size: 50%; }
.ad-imgs__tile[data-broken="true"] > img { visibility: hidden; }

/* ===== Round 11: floating sync progress card ===== */
.nova-wmchip { position: fixed; z-index: 450; inset-inline-start: 16px; bottom: 16px; width: min(340px, calc(100vw - 32px)); display: grid; gap: 8px; padding: 12px 14px; background: #fff; border: 0.8px solid rgb(20 24 35 / 12%); box-shadow: 0 10px 30px rgb(20 24 35 / 22%); font-size: 0.84rem; }
.nova-wmchip__row { display: flex; align-items: center; gap: 8px; }
.nova-wmchip__row strong { flex: 1; font-weight: 600; line-height: 1.4; }
.nova-wmchip__x { display: grid; place-items: center; width: 24px; height: 24px; border: 0; background: transparent; color: var(--adm-muted); cursor: pointer; }
.nova-wmchip__retry { justify-self: start; padding: 4px 12px; border: 0.8px solid rgb(20 24 35 / 18%); background: #fff; cursor: pointer; font-size: 0.78rem; }
.nova-wmchip__err { margin: 0; font-size: 0.74rem; color: #b42318; }
@media (max-width: 1023px) { .nova-wmchip { bottom: calc(var(--nova-bn, 72px) + 12px); } }

/* Draft image tile while its new picture is being saved: the new picture is already shown, a thin bar shows it is still saving */
.ad-imgs__tile[data-saving="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; z-index: 4; background: linear-gradient(90deg, transparent, var(--adm-accent), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: nova-saving 1s linear infinite; }
@keyframes nova-saving { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* ===== Watermark studio: the whole picture is always visible, no vertical scrolling on desktop; on phones the picture stays pinned while the controls scroll ===== */
.nova-wm-modal.adm-modal, .nova-wm-modal .adm-modal { max-height: 96dvh; }
.nova-wm-modal .adm-modal__body { overflow-y: hidden !important; padding-top: 6px; padding-bottom: 6px; }
.nova-wm-modal .nova-wm { display: grid; gap: 10px; }
.nova-wm-modal .nova-wm__upload { padding: 8px 12px; }
.nova-wm-modal .nova-wm__thumb { width: 72px; height: 72px; aspect-ratio: 1 / 1; border-radius: 4px; padding: 4px; box-sizing: border-box; }
.nova-wm-modal .nova-wm__thumb img { width: 100%; height: 100%; object-fit: contain; }
.nova-wm-modal .nova-wm__body { gap: 16px; }
.nova-wm-modal .nova-wm__stage { min-width: 0; display: grid; justify-items: center; }
.nova-wm-modal .nova-wm__canvas { width: fit-content; max-width: 100%; margin-inline: auto; }
.nova-wm-modal .nova-wm__photo { width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 375px); min-height: 160px; }
.nova-wm-modal .nova-wm__photo--blank { width: min(100%, 520px); max-height: calc(100dvh - 375px); }
.nova-wm-modal .nova-wm__panel { gap: 10px; }
.nova-wm-modal .nova-wm__hint, .nova-wm-modal .nova-wm__note { margin-top: 4px; }
@media (max-height: 760px) { .nova-wm-modal .nova-wm__note { display: none; } .nova-wm-modal .nova-wm__strip { display: none; } }
@media (max-width: 720px) {
  .nova-wm-modal .adm-modal__body { overflow-y: auto !important; }
  .nova-wm-modal .nova-wm__stage { position: sticky; top: -6px; z-index: 3; background: #fff; padding-bottom: 6px; }
  .nova-wm-modal .nova-wm__photo { max-height: 30dvh; min-height: 120px; }
  .nova-wm-modal .nova-wm__strip, .nova-wm-modal .nova-wm__hint { display: none; }
  .nova-wm-modal .nova-wm__grid { width: 150px; }
}

/* "Store already connected to another account" popup: small, centred, same on phone and desktop */
.nova-elsewhere { display: grid; justify-items: center; gap: 12px; padding: 4px 4px 8px; text-align: center; }
.nova-elsewhere__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 4px; background: #f1eafb; color: #7440c4; }
.nova-elsewhere__title { margin: 4px 0 0; font-size: 1.12rem; font-weight: 700; line-height: 1.35; color: #14171f; }
.nova-elsewhere__text { margin: 0; max-width: 34ch; font-size: 0.92rem; line-height: 1.65; color: #4b5160; }
.nova-elsewhere__btn { min-width: 140px; margin-top: 6px; justify-content: center; }
@media (max-width: 520px) { .nova-elsewhere__btn { width: 100%; } .nova-elsewhere__text { max-width: none; } }

/* AutoDrop Support messenger launcher (staging switch; renders only when the NOVA backend enables it) */
.nova-sm-launcher { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 2147482000; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #182044; color: #fff; box-shadow: 0 10px 28px rgba(24, 32, 68, 0.30); cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.nova-sm-launcher:hover { transform: translateY(-2px); background: #11162f; box-shadow: 0 14px 34px rgba(24, 32, 68, 0.36); }
.nova-sm-launcher:active { transform: translateY(0) scale(0.96); }
.nova-sm-launcher:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #7c3ff2, 0 10px 28px rgba(24, 32, 68, 0.30); }
.nova-sm-launcher__badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
/* Phones: stay above the bottom navigation; the full-screen messenger has its own minimise button, so the launcher hides while it is open */
@media (max-width: 900px) { .nova-sm-launcher { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 640px) { .nova-sm-launcher[data-open="true"] { display: none; } }

/* ===== Settings primary + secondary tabs: same structure as Admin (2026-10-15) =====
   Primary tabs = wrapped rounded pills, active filled with the accent; secondary tabs = segmented control, active = white pill.
   Metrics copied from the live Admin Settings page; only the accent colour stays the Client's. */
.adm.nova-client .set-tabs .adm-tabs { gap: 8px; border-radius: 12px !important; }
.adm.nova-client .set-subtabs .adm-tabs { gap: 2px; border-radius: 12px !important; }
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn,
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn {
  min-height: 0; min-width: 0; height: auto; border-radius: 9px !important;
  font-size: 12.48px; font-weight: 700; line-height: 1.5;
}
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn {
  height: 34px; padding: 0 14px;
  border: 0.8px solid #d3d7df; background: #fff; color: #14161a; box-shadow: 0 1px 2px rgba(20, 19, 15, .07);
}
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn:hover:not([data-active="true"]) { border-color: #b9bfcb; background: #f7f8fa; color: #14161a; }
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn[data-active="true"] {
  border-color: var(--ad-action); background: var(--ad-action); color: #fff !important; -webkit-text-fill-color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ad-action) 26%, transparent);
}
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn {
  border: 0; background: transparent; color: #6b7280; box-shadow: none;
}
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn:hover:not([data-active="true"]) { background: transparent; color: #14161a; }
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn[data-active="true"] {
  border: 0; background: #fff; color: #14161a !important; box-shadow: 0 1px 2px rgba(20, 22, 26, .06);
}

/* ===== Header: store badge + credits widget use the same frame as the other header controls (2026-10-15) ===== */
.adm.nova-client .adm-topbar .nova-topbar__store .adm-badge,
.adm.nova-client .adm-topbar .autodrop-balance__trigger {
  box-sizing: border-box;
  border: 0.8px solid #383b46 !important; border-radius: 4px !important;
  background: #232630; box-shadow: 0 1px 0 rgb(255 255 255 / 4%) inset;
}
.adm.nova-client .adm-topbar .autodrop-balance__trigger:hover { background: #30333f; border-color: #464a57 !important; }
@media (min-width: 1024px) {
  .adm.nova-client .adm-topbar .nova-topbar__store .adm-badge,
  .adm.nova-client .adm-topbar .autodrop-balance__trigger { min-height: 40px; height: 40px; }
}

/* ===== Settings tabs: flat (no frame, no idle background), field radius, soft pink hover (2026-10-15) =====
   Radius = the form-field radius (4px, same as .adm-input / .adm-sel__btn). Active keeps its fill but has no border. */
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn,
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn {
  border: 0 !important; border-radius: 4px !important;
}
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn:not([data-active="true"]),
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn:not([data-active="true"]) {
  background: transparent !important; box-shadow: none !important; outline: 0;
}
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn:not([data-active="true"]):hover,
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn:not([data-active="true"]):hover {
  background: #fdf1f5 !important; border: 0 !important; box-shadow: none !important;
}

/* ===== Store selection card + store manager: kebab and "add store" controls without depth (2026-10-15) ===== */
.adm.nova-client .set-rail .adm-menu__trigger,
.adm.nova-client .set-rail .adm-menu__trigger:hover,
.adm.nova-client .set-rail .adm-menu__trigger:focus,
.adm.nova-client .set-rail .adm-menu__trigger:focus-visible,
.adm.nova-client .set-rail .adm-menu__trigger[aria-expanded="true"],
.client-store-manager .adm-menu__trigger,
.client-store-manager .adm-menu__trigger:hover,
.client-store-manager .adm-menu__trigger:focus-visible,
.client-store-manager .adm-menu__trigger[aria-expanded="true"],
.client-store-manager__foot .adm-btn,
.client-store-manager__foot .adm-btn:hover,
.client-store-manager__foot .adm-btn:focus-visible,
.adm.nova-client .client-no-store .adm-btn,
.adm.nova-client .client-no-store .adm-btn:hover,
.adm.nova-client .client-no-store .adm-btn:focus-visible {
  box-shadow: none !important;
}

/* ===== Selection = full square purple frame (4 sides, field radius); hover = soft purple tint, no border (2026-10-15) ===== */
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn:not([data-active="true"]):hover,
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn:not([data-active="true"]):hover {
  background: color-mix(in srgb, var(--ad-action) 8%, #fff) !important; border: 0 !important; box-shadow: none !important;
}
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn[data-active="true"],
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn[data-active="true"] {
  border: 0 !important; border-radius: 4px !important;
  background: color-mix(in srgb, var(--ad-action) 11%, #fff) !important;
  color: var(--ad-action) !important; -webkit-text-fill-color: var(--ad-action);
  box-shadow: inset 0 0 0 1px var(--ad-action) !important;
}
.adm.nova-client .set-rail__item { border-radius: 4px !important; }
.adm.nova-client .set-rail__item:not([data-active="true"]):hover { background: color-mix(in srgb, var(--ad-action) 8%, #fff); border-color: transparent; box-shadow: none; }
.adm.nova-client .set-rail__item[data-active="true"] {
  border: 0 !important; background: color-mix(in srgb, var(--ad-action) 11%, #fff);
  box-shadow: inset 0 0 0 1px var(--ad-action) !important;
}
/* portaled panel sits outside .nova-client, so --ad-action is not defined here: literal Client purple */
body[data-surface="client"] .adm-sel__opt { border-radius: 4px !important; }
body[data-surface="client"] .adm-sel__opt:hover:not(:disabled):not([data-active="true"]) { background: color-mix(in srgb, #8a2bf2 8%, #fff); box-shadow: none; }
body[data-surface="client"] .adm-sel__opt[data-active="true"] {
  background: color-mix(in srgb, #8a2bf2 11%, #fff); color: #8a2bf2;
  box-shadow: inset 0 0 0 1px #8a2bf2;
}

/* ===== Settings tab strips: the scroll container / clip edge is square; selected tabs back to the filled look (2026-10-15) ===== */
.adm.nova-client .set-tabs,
.adm.nova-client .set-subtabs,
.adm.nova-client .set-tabs .adm-tabs,
.adm.nova-client .set-subtabs .adm-tabs {
  border-radius: 0 !important;
  -webkit-mask-image: none !important; mask-image: none !important;
}
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn[data-active="true"] {
  border: 0 !important; border-radius: 4px !important;
  background: var(--ad-action) !important; color: #fff !important; -webkit-text-fill-color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ad-action) 26%, transparent) !important;
}
.adm.nova-client .set-subtabs .adm-tabs .adm-tabs__btn[data-active="true"] {
  border: 0 !important; border-radius: 4px !important;
  background: #fff !important; color: #14161a !important; -webkit-text-fill-color: #14161a;
  box-shadow: 0 1px 2px rgba(20, 22, 26, .06) !important;
}

/* ===== Settings PRIMARY tabs only: subtle depth (secondary tabs, cards and kebabs stay flat) (2026-10-15) ===== */
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn:not([data-active="true"]),
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn:not([data-active="true"]):hover {
  box-shadow: 0 1px 3px rgba(20, 22, 26, .12), 0 1px 2px rgba(20, 22, 26, .06) !important;
}
.adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn[data-active="true"] {
  box-shadow: 0 1px 3px rgba(20, 22, 26, .14), 0 4px 14px color-mix(in srgb, var(--ad-action) 28%, transparent) !important;
}

/* ===== Primary tabs: room above/below inside the scroll containers so the tab shadows are not clipped (2026-10-15) =====
   Both overflow-x:auto boxes get 12px of vertical padding; negative margin keeps the page layout unchanged. The strip has no
   background of its own (no visible band behind the tabs). The clip edges stay square (radius 0). */
.adm.nova-client .set-tabs {
  padding-block: 12px;
  margin-block: -17px -17px;
}
.adm.nova-client .set-tabs .adm-tabs {
  padding-block: 12px;
  background: transparent !important;
  box-shadow: none !important;
}

/* ===== Settings batch (2026-10-15): automations rows, billing layout, section cards, store URL, watermark empty state ===== */
/* Automations: switch + badge sit right next to the title (start side) instead of at the far end */
.adm.nova-client .set-rows .set-row { justify-content: flex-start; gap: 20px; }
.adm.nova-client .set-rows .set-row__main { flex: 0 1 auto; min-width: 130px; }

/* Section card: a titled block with its own save button inside it */
.adm.nova-client .set-sec {
  display: flex; flex-direction: column; gap: 14px; padding: 16px;
  border: 0.8px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel);
}
.adm.nova-client .set-sec > .set-title { margin-top: 0; }
.adm.nova-client .set-sec .set-savebar { margin-top: 2px; }
.adm.nova-client .set-sec .set-dl { padding: 0; }

/* Store URL with a leading (right side in RTL) globe icon */
.adm.nova-client .set-url { display: inline-flex; align-items: center; gap: 8px; direction: rtl; }
.adm.nova-client .set-url svg { color: var(--adm-muted); flex: none; }
.adm.nova-client .set-url a { color: inherit; text-decoration: none; }
.adm.nova-client .set-url a:hover { color: var(--ad-action); text-decoration: underline; }

/* Watermark empty state: centred upload icon + short label */
.adm.nova-client .nova-wm__cardthumb--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; max-width: 260px; height: 96px; margin: 8px 0; padding: 8px; cursor: pointer;
  border: 1px dashed #c9cfda; border-radius: 4px; background: #f8f9fb; color: var(--adm-muted);
  font-size: 0.78rem; font-weight: 600;
}
.adm.nova-client .nova-wm__cardthumb--empty:hover:not(:disabled) { border-color: var(--ad-action); color: var(--ad-action); background: color-mix(in srgb, var(--ad-action) 6%, #fff); }

/* Billing: sensible max width, cards not stretched to equal heights, label next to its value */
.adm.nova-client .autodrop-billing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; max-width: 1180px;
}
.adm.nova-client .autodrop-billing-grid .set-dl { padding: 16px; gap: 12px; }
.adm.nova-client .autodrop-billing-grid .set-dl__row { justify-content: flex-start; gap: 16px; }
.adm.nova-client .autodrop-billing-grid .set-dl__row dt { min-width: 110px; flex: none; }
.adm.nova-client .autodrop-billing-grid .set-dl__row dd { margin: 0; text-align: start; }
.adm.nova-client .autodrop-billing-grid .autodrop-wallet-cards { margin-bottom: 4px; }
@media (max-width: 639px) { .adm.nova-client .autodrop-billing-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Settings batch 2 (2026-10-15) ===== */
/* Stores page: compact, centred container + compact card */
.adm.nova-client .nova-stores-page { max-width: 680px; margin-inline: auto; }
.adm.nova-client .nova-stores-page .client-store-manager { min-height: 0; padding-bottom: 4px; }
.adm.nova-client .nova-stores-page .client-store-manager__head { padding-bottom: 12px; }
.adm.nova-client .nova-stores-page .client-store-manager__foot { padding-top: 12px; }

/* Automations: compact card aligned to the start (right) */

/* Document templates: breathing room inside the panel and between the cards */
.adm.nova-client .set-cards--docs { padding: 16px 16px 24px; gap: 18px; }

/* Default item details: the remove button sits right after the row's value */

/* Store URL: platform icon + globe + address */
.adm.nova-client .set-url__plat { display: inline-flex; align-items: center; }

/* Store selection popover = field width */
body[data-surface="client"] .adm-sel__panel .adm-sel__opt-label { max-width: 100%; }

/* Billing: tidy equal grid, history full width, amounts at the start, PayPal button centred */
.adm.nova-client .autodrop-billing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.adm.nova-client .autodrop-billing-grid > * { min-width: 0; }
.adm.nova-client .autodrop-billing-grid > .adm-panel,
.adm.nova-client .autodrop-billing-grid > section { height: 100%; }
.adm.nova-client .autodrop-billing-full { grid-column: 1 / -1; }
@media (max-width: 800px) { .adm.nova-client .autodrop-billing-grid { grid-template-columns: minmax(0, 1fr); } }
.adm.nova-client .autodrop-wallet-cards article > strong,
.adm.nova-client .autodrop-wallet-cards article > span,
.adm.nova-client .autodrop-wallet-cards article > small { text-align: right; justify-self: stretch; }

/* Branding: name + logo frame on one side, colours stacked on the other */
.adm.nova-client .nova-brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.adm.nova-client .nova-brand__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 720px) { .adm.nova-client .nova-brand { grid-template-columns: minmax(0, 1fr); } }
.adm.nova-client .nova-logo-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 130px; padding: 12px; cursor: pointer; text-align: center;
  border: 1px dashed #c9cfda; border-radius: 4px; background: #f8f9fb; color: var(--adm-muted);
  font-size: 0.78rem; font-weight: 600;
}
.adm.nova-client .nova-logo-drop:hover { border-color: var(--ad-action); color: var(--ad-action); background: color-mix(in srgb, var(--ad-action) 6%, #fff); }
.adm.nova-client .nova-logo-drop img { max-width: 100%; max-height: 110px; object-fit: contain; }
.adm.nova-client .nova-logo-drop[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* Stores page: narrow centred container, compact rows (overrides the wide >=1024px page-frame grid) */
.adm.nova-client .nova-stores-page { max-width: 620px; }
.adm.nova-client .nova-stores-page .client-store-page-frame { max-width: none; padding: 16px 18px 18px; }
.adm.nova-client .nova-stores-page .client-store-page-frame .client-store-accordion { margin-top: 12px; max-height: none; }
.adm.nova-client .nova-stores-page .client-store-page-frame .store-group { margin-bottom: 12px; }
.adm.nova-client .nova-stores-page .client-store-page-frame .store-group__header { min-height: 56px; padding: 8px 14px; }
.adm.nova-client .nova-stores-page .client-store-page-frame .store-row {
  min-height: 60px; padding: 8px 14px; gap: 10px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas: "platform name actions" "platform metrics actions";
  row-gap: 2px;
}
.adm.nova-client .nova-stores-page .client-store-page-frame .store-row__platform-icon { width: 34px; height: 34px; flex-basis: 34px; }
.adm.nova-client .nova-stores-page .client-store-page-frame .store-row__name { font-size: 13px; }
.adm.nova-client .nova-stores-page .client-store-page-frame .store-row__metrics { font-size: 12px; gap: 12px; }
.adm.nova-client .set-cards--docs { margin-top: 10px; }

/* ===== Settings batch 3 (2026-10-15) ===== */
/* Automations card fits its content, aligned to the start (right) */

/* Billing: centred group between the side menu and the page edge */
.adm.nova-client .autodrop-billing-grid { max-width: 880px; margin-inline: auto; }

/* Store URL: original brand icon only (no circle, no globe) on the right of the address */
.adm.nova-client .set-url__plat { display: inline-flex; align-items: center; color: #96588a; }
.adm.nova-client .set-url__plat svg { display: block; }

/* Watermark card: empty state fills the card, content centred on both axes */
.adm.nova-client .set-card .nova-wm__cardthumb--empty { width: 100%; max-width: none; align-self: stretch; text-align: center; }

/* Stores page: only the heading sits at the right edge like the other pages; the content stays centred */
.adm.nova-client .nova-stores-page { margin-top: 4px; }

/* Switches: professional line icon inside the knob (check = on, x = off) */
.adm.nova-client .set-switch__knob { display: grid; place-items: center; }
.adm.nova-client .set-switch__knob::after {
  content: ""; width: 10px; height: 10px; background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b93a3' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.adm.nova-client .set-switch[data-on="true"] .set-switch__knob::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a2bf2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.adm.nova-client .set-switch__knob { width: 16px; height: 16px; top: 1px; }
.adm.nova-client .set-switch[data-on="true"] .set-switch__knob { inset-inline-start: 19px; }

/* Supplier details | capabilities: two columns with a subtle vertical divider */
.adm.nova-client .set-supcols { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.2fr); gap: 24px; align-items: start; }
.adm.nova-client .set-supcol { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.adm.nova-client .set-supcol .set-dl { padding: 0; }
.adm.nova-client .set-supdivider { align-self: stretch; width: 1px; background: var(--adm-line); }
@media (max-width: 760px) {
  .adm.nova-client .set-supcols { grid-template-columns: minmax(0, 1fr); }
  .adm.nova-client .set-supdivider { width: auto; height: 1px; }
}
/* Capability chips: square 4px, equal cells in orderly horizontal rows */
.adm.nova-client .set-capgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.adm.nova-client .set-capgrid .sup-cap {
  display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 8px;
  border-radius: 4px !important; white-space: nowrap; text-align: center;
}
.adm.nova-client .set-url__plat svg { margin-block: -5px; }

/* Automations rows: title at the start (right), controls cluster at the far left with a modest inner gap */
.adm.nova-client .set-sel-brand .set-url__plat svg { margin-block: -3px; }
.adm.nova-client .adm-sel__val .set-url__plat svg, .adm.nova-client .adm-sel__opt-label .set-url__plat svg { margin-block: 0; }
.adm-sel__panel .set-url__plat { display: inline-flex; align-items: center; color: #96588a; }

/* Automations: original card, controls nudged a little further to the left (start of the row stays untouched) */
.adm.nova-client .set-rows--auto .set-row { justify-content: space-between; gap: 12px; padding-inline-end: 4px; }
.adm.nova-client .set-rows--auto .set-row__main { flex: 1 1 auto; }
/* Logo drop zone + delete */
.adm.nova-client .nova-logo-actions { display: flex; justify-content: center; }

/* Default item details: each default is a form field group; Remove sits under its fields, directly above the next group's Add */
.adm.nova-client .set-spec { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--adm-line); }
.adm.nova-client .set-spec--new { border-bottom: 0; padding-bottom: 0; }
.adm.nova-client .set-spec__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .adm.nova-client .set-spec__fields { grid-template-columns: minmax(0, 1fr); } }
.adm.nova-client .set-spec__remove, .adm.nova-client .set-spec__add { align-self: flex-end; }
.adm.nova-client .set-spec .adm-input[readonly] { background: #f8f9fb; }

/* ===== Settings round 2 (2026-10-16) ===== */

/* 1. Primary tabs, DESKTOP ONLY: all tabs share the whole row; never wrap, never clip (falls back to the scroll strip when the row is too narrow) */
@media (min-width: 901px) {
  .adm.nova-client .set-tabs .adm-tabs {
    display: flex; flex-wrap: nowrap; width: 100%; min-width: max-content; gap: 4px;
  }
  .adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn {
    flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center;
    height: 40px; padding: 0 clamp(9px, 0.8vw, 20px); font-size: clamp(13px, calc(0.5vw + 6.6px), 14.5px); white-space: nowrap;
  }
  .adm.nova-client .set-tabs .adm-tabs .adm-tabs__btn:focus-visible {
    outline: 2px solid var(--ad-action); outline-offset: 2px;
  }
}

/* 2. Automations: compact cards aligned to the start (right in RTL) */
.adm.nova-client .set-autos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); gap: 14px; justify-content: start; padding: 16px;
}
.adm.nova-client .set-auto {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; min-width: 0;
  border: 0.8px solid var(--adm-line); border-radius: 4px; background: #fff;
}
.adm.nova-client .set-auto[data-on="true"] { border-color: color-mix(in srgb, var(--ad-action) 35%, var(--adm-line)); }
.adm.nova-client .set-auto__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adm.nova-client .set-auto__head strong { font-size: 0.95rem; }
.adm.nova-client .set-auto p { margin: 0; color: var(--adm-muted); font-size: 0.82rem; line-height: 1.5; }
.adm.nova-client .set-auto__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.adm.nova-client .set-auto__note { color: var(--adm-muted); font-size: 0.74rem; line-height: 1.4; }
.adm.nova-client .set-switch:disabled { opacity: .6; cursor: progress; }

/* 3. Product templates + 4. document templates rows */
.adm.nova-client .set-row__actions { display: flex; align-items: center; gap: 8px; }
.adm.nova-client .set-row__add { padding: 12px 14px; display: flex; justify-content: flex-start; }
.adm.nova-client .set-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 24px; text-align: center; }
.adm.nova-client .set-empty__icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--adm-panel-2, rgba(0, 0, 0, .04)); color: var(--adm-muted);
}
.adm.nova-client .set-doclist { display: flex; flex-direction: column; padding: 8px 16px 16px; }
.adm.nova-client .set-docrow {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid var(--adm-line);
}
.adm.nova-client .set-docrow:last-child { border-bottom: 0; }
.adm.nova-client .set-docrow__main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.adm.nova-client .set-docrow__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.adm.nova-client .set-docrow__title strong { font-size: 0.95rem; }
.adm.nova-client .set-docrow__main p { margin: 0; color: var(--adm-muted); font-size: 0.82rem; }
.adm.nova-client .set-status {
  display: inline-flex; align-items: center; min-height: 26px; padding: 3px 12px; border-radius: 4px;
  font-size: 0.8rem; font-weight: 700; line-height: 1.2;
  background: #f1f2f5; color: #596070; border: 0.8px solid #e1e4ea;
}
.adm.nova-client .set-status[data-on="true"] { background: #e8f6ee; color: #1b7a43; border-color: #bfe4cf; }
.adm.nova-client .set-docrow__edit { flex: none; min-width: 84px; justify-content: center; }
.adm.nova-client .set-docpreview { border: 1px solid var(--adm-line); border-radius: 4px; padding: 16px 20px; background: #fff; min-height: 200px; line-height: 1.6; }
.adm.nova-client .set-docpreview hr { margin: 16px 0; border: 0; border-top: 1px dashed var(--adm-line); }
.adm.nova-client .set-docpreview img { max-width: 100%; height: auto; }
@media (max-width: 640px) {
  .adm.nova-client .set-docrow { flex-wrap: wrap; }
  .adm.nova-client .set-row { flex-wrap: wrap; }
}

/* 5. Keyword chips: compact, near-rectangular, thin border, soft grey, start aligned */
.adm.nova-client .set-chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.adm.nova-client .set-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 10px;
  border: 0.8px solid var(--adm-line); border-radius: 4px; background: #f6f7f9; font-size: 0.82rem; color: #1f2430;
}
.adm.nova-client .set-chip__x {
  display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 3px;
  background: transparent; color: #6b7280; cursor: pointer;
}
.adm.nova-client .set-chip__x:hover { background: #e7e9ee; color: #14161a; }
.adm.nova-client .set-chip__x:focus-visible { outline: 2px solid var(--ad-action); outline-offset: 1px; }

/* 6. Account and billing: use the whole content width, balanced RTL grid starting at the right, equal card heights */
.adm.nova-client .autodrop-billing-grid { max-width: none; margin-inline: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.adm.nova-client .autodrop-billing-grid .set-body,
.adm.nova-client .autodrop-billing-grid .set-dl { padding: 18px; }
.adm.nova-client .autodrop-wallet-cards { gap: 14px; }
.adm.nova-client .autodrop-wallet-cards article { padding: 16px; }
@media (max-width: 800px) { .adm.nova-client .autodrop-billing-grid { grid-template-columns: minmax(0, 1fr); } }

/* 7. Platform icon box: one fixed square for every platform glyph, contained, never stretched */
.adm.nova-client .nova-plat-icon, body[data-surface="client"] .nova-plat-icon {
  display: inline-grid; place-items: center; flex: none; overflow: hidden; line-height: 0;
}
.adm.nova-client .nova-plat-icon svg, body[data-surface="client"] .nova-plat-icon svg {
  display: block; max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 !important;
}
.adm.nova-client .set-url__plat svg { margin-block: 0; }

/* 8. Store colours: scoped tokens for the owner-supplied ColorPickerPanel (mapped to the Client palette; nothing global changes) */
/* Tokens of the owner-supplied picker, scoped to its own elements (it renders in a body portal); z-index above the page */
body[data-surface="client"] { --primitive-z-popover: 500; }
[data-wensity-primitive] {
  --foreground: #14161a; --background: #ffffff; --popover: #ffffff; --border: #d9dee7; --muted-foreground: #6b7280;
}
[data-slot="wensity-color-picker-panel"] { direction: ltr; }
.adm.nova-client .nova-cpfield { gap: 6px; align-items: center; text-align: center; }
.adm.nova-client .nova-brand__colors { align-items: center; }
.adm.nova-client .nova-cpfield__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; width: fit-content; min-width: 160px;
  border: 0.8px solid var(--adm-line); border-radius: 4px; background: #fff; cursor: pointer; color: #14161a;
}
.adm.nova-client .nova-cpfield__btn:hover { background: #f7f8fa; }
.adm.nova-client .nova-cpfield__btn:focus-visible { outline: 2px solid var(--ad-action); outline-offset: 2px; }
.adm.nova-client .nova-cpfield__sw { width: 22px; height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); flex: none; }
.adm.nova-client .nova-cpfield__hex { font-variant-numeric: tabular-nums; letter-spacing: .04em; font-weight: 600; font-size: 0.85rem; }
.adm.nova-client .nova-cpfield__btn small { color: var(--adm-muted); font-size: 0.72rem; }
.adm.nova-client .nova-brand__preview { display: flex; flex-wrap: wrap; gap: 8px; }
.adm.nova-client .nova-brand__chip { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 4px; font-size: 0.82rem; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* 9. Store tab: with the three duplicate cards gone the watermark card uses the full width */
.adm.nova-client .set-cards--single { grid-template-columns: minmax(0, 1fr); }

/* ========================================================================== 
   Customer support portal
   The authenticated Support SDK moves its existing iframe into this host, so
   the floating messenger and the full page share one in-memory session.
   ========================================================================== */
.adm.nova-client .ad-support-page {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 6px;
  min-width: 0;
  height: calc(100dvh - var(--ad-header-h) - 48px);
  min-height: 600px;
}

/* Keep legacy tickets reachable without reintroducing the old top switcher. */
.adm.nova-client .ad-support-page__archive-access {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  min-height: 28px;
  padding-inline: 3px;
}

.adm.nova-client .ad-support-page__archive-link {
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 28px;
  padding: 3px 6px;
  border-radius: 4px;
  color: var(--ad-ink-500);
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
}

.adm.nova-client .ad-support-page__archive-link:hover {
  color: var(--ad-ink-700);
  text-decoration: underline;
}

.adm.nova-client .ad-support-page__archive-link:focus-visible {
  outline: 2px solid var(--ad-action-600);
  outline-offset: 2px;
}

.adm.nova-client .ad-support-bootstrap {
  min-height: 360px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: var(--ad-ink-500);
}

.adm.nova-client .ad-support-portal {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  /* The fixed Support iframe must share this one rounded silhouette. */
  border: 0;
  border-radius: 12px;
  background: var(--ad-surface);
  box-shadow:
    0 0 0 1px rgba(33, 41, 64, .075),
    0 7px 22px rgba(33, 41, 64, .055),
    0 2px 5px rgba(33, 41, 64, .025);
}

.adm.nova-client .ad-support-portal__frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: inherit;
}

.adm.nova-client .ad-support-portal__frame > iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  border: 0 !important;
  border-radius: inherit;
  background: var(--ad-surface-muted);
}

/* The SDK keeps the authenticated iframe in one stable DOM slot and aligns it
   to the measured portal host. Mirror the geometry contract on the Client so
   stale floating-frame rules cannot turn it back into a chat bubble. */
body > iframe.autodrop-support-embed.is-portal {
  position: fixed !important;
  inset: var(--ads-portal-top, 0) auto auto var(--ads-portal-left, 0) !important;
  width: var(--ads-portal-width, 0) !important;
  max-width: none !important;
  height: var(--ads-portal-height, 0) !important;
  max-height: none !important;
  border-radius: 12px !important;
  clip-path: inset(0 round 12px) !important;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  z-index: 20 !important;
}

.adm.nova-client .ad-support-portal__state {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  color: var(--ad-ink-500);
  background: var(--ad-surface);
}

.adm.nova-client .ad-support-archive {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-sm);
  background: var(--ad-surface);
}

.adm.nova-client .ad-support-archive__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ad-border);
}

.adm.nova-client .ad-support-archive__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
}

.adm.nova-client .ad-support-archive__head p {
  max-width: 68ch;
  margin: 4px 0 0;
  color: var(--ad-ink-500);
  font-size: 13px;
}

.adm.nova-client .ad-support-archive__privacy,
.adm.nova-client .ad-support-archive__readonly {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ad-ink-500);
  font-size: 12px;
  white-space: nowrap;
}

.adm.nova-client .ad-support-archive__layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.adm.nova-client .ad-support-archive__list {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-inline-end: 1px solid var(--ad-border);
  background: var(--ad-surface);
}

.adm.nova-client .ad-support-archive__search {
  position: relative;
  display: block;
  padding: 12px;
  border-bottom: 1px solid var(--ad-border);
}

.adm.nova-client .ad-support-archive__search > svg {
  position: absolute;
  inset-inline-start: 24px;
  top: 50%;
  z-index: 1;
  color: var(--ad-ink-500);
  transform: translateY(-50%);
  pointer-events: none;
}

.adm.nova-client .ad-support-archive__search .adm-input {
  width: 100%;
  padding-inline-start: 36px;
}

.adm.nova-client .ad-support-archive__items,
.adm.nova-client .ad-support-archive__messages {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.adm.nova-client .ad-support-archive__item {
  width: 100%;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--ad-border);
  background: var(--ad-surface);
  color: var(--ad-ink-900);
  text-align: start;
  cursor: pointer;
  transition: background-color 120ms ease-out;
}

.adm.nova-client .ad-support-archive__item:hover,
.adm.nova-client .ad-support-archive__item[data-active="true"] {
  background: var(--ad-surface-muted);
}

.adm.nova-client .ad-support-archive__item[data-active="true"] {
  box-shadow: inset -2px 0 0 var(--ad-action);
}

[dir="ltr"] .adm.nova-client .ad-support-archive__item[data-active="true"] {
  box-shadow: inset 2px 0 0 var(--ad-action);
}

.adm.nova-client .ad-support-archive__item:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--ad-blue);
  outline-offset: -2px;
}

.adm.nova-client .ad-support-archive__item-top,
.adm.nova-client .ad-support-archive__item-meta,
.adm.nova-client .ad-support-archive__detail-head,
.adm.nova-client .ad-support-archive__detail-meta,
.adm.nova-client .ad-support-archive__message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adm.nova-client .ad-support-archive__item-top {
  justify-content: space-between;
}

.adm.nova-client .ad-support-archive__item-top strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.adm.nova-client .ad-support-archive__item-top time,
.adm.nova-client .ad-support-archive__message-meta time {
  flex: none;
  color: var(--ad-ink-500);
  font-size: 11px;
  direction: ltr;
  unicode-bidi: isolate;
}

.adm.nova-client .ad-support-archive__item-preview {
  overflow: hidden;
  color: var(--ad-ink-500);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm.nova-client .ad-support-archive__item-meta {
  min-width: 0;
  color: var(--ad-ink-500);
  font-size: 11px;
}

.adm.nova-client .ad-support-archive__item-meta bdi {
  margin-inline-end: auto;
  direction: ltr;
}

.adm.nova-client .ad-support-archive__detail {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--ad-surface-muted);
}

.adm.nova-client .ad-support-archive__placeholder {
  grid-row: 1 / -1;
  align-self: center;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 360px;
  padding: 24px;
  text-align: center;
  color: var(--ad-ink-500);
}

.adm.nova-client .ad-support-archive__placeholder strong {
  color: var(--ad-ink-900);
}

.adm.nova-client .ad-support-archive__placeholder p {
  margin: 0;
}

.adm.nova-client .ad-support-archive__detail-head {
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ad-border);
  background: var(--ad-surface);
}

.adm.nova-client .ad-support-archive__reference {
  display: block;
  margin-bottom: 3px;
  color: var(--ad-ink-500);
  font-size: 11px;
  text-align: start;
  unicode-bidi: isolate;
}

.adm.nova-client .ad-support-archive__detail-head h3 {
  margin: 0;
  font-size: 15px;
}

.adm.nova-client .ad-support-archive__detail-meta {
  color: var(--ad-ink-500);
  font-size: 12px;
}

.adm.nova-client .ad-support-archive__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.adm.nova-client .ad-support-archive__message {
  width: min(76%, 640px);
  align-self: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-sm);
  background: var(--ad-surface);
}

.adm.nova-client .ad-support-archive__message[data-author="customer"] {
  align-self: flex-end;
  background: color-mix(in srgb, var(--ad-blue-soft) 32%, #fff);
}

.adm.nova-client .ad-support-archive__message-meta {
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 11px;
}

.adm.nova-client .ad-support-archive__message p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.adm.nova-client .ad-support-archive__attachment {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 7px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--ad-border);
  color: var(--ad-ink-700);
}

.adm.nova-client .ad-support-archive__attachment small {
  grid-column: 2;
  color: var(--ad-ink-500);
}

.adm.nova-client .ad-support-archive__readonly {
  min-height: 42px;
  padding: 10px 16px;
  border-top: 1px solid var(--ad-border);
  background: var(--ad-surface);
}

.adm.nova-client .ad-support-archive__back {
  display: none;
}

@media (max-width: 767px) {
  .adm.nova-client .ad-support-page {
    height: calc(100dvh - var(--ad-mobile-header-h) - var(--ad-mobile-nav-h) - env(safe-area-inset-bottom, 0px) - 52px);
    min-height: 420px;
  }


  .adm.nova-client .ad-support-archive__head {
    padding: 12px;
  }

  .adm.nova-client .ad-support-archive__privacy {
    display: none;
  }

  .adm.nova-client .ad-support-archive__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .adm.nova-client .ad-support-archive__list {
    border-inline-end: 0;
  }

  .adm.nova-client .ad-support-archive__detail {
    display: none;
  }

  .adm.nova-client .ad-support-archive__layout[data-detail-open="true"] .ad-support-archive__list {
    display: none;
  }

  .adm.nova-client .ad-support-archive__layout[data-detail-open="true"] .ad-support-archive__detail {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .adm.nova-client .ad-support-archive__back {
    display: inline-flex;
    justify-self: start;
    margin: 8px 10px 0;
    min-height: 34px;
  }

  .adm.nova-client .ad-support-archive__message {
    width: min(88%, 560px);
  }
}

@media (max-width: 359px) {
  .adm.nova-client .ad-support-archive__head p {
    font-size: 12px;
  }

  .adm.nova-client .ad-support-archive__messages {
    padding: 10px;
  }

  .adm.nova-client .ad-support-archive__message {
    width: 92%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adm.nova-client .ad-support-archive__item {
    transition: none;
  }
}

/* ==========================================================================
   Order details page (/client/orders/$id): layout only.
   Cards, buttons, badges, borders and type all come from the shared Client
   components (.adm-panel, .adm-btn, .adm-badge, PageHead scale); this block
   only arranges them and uses the existing --ad-* / --adm-* tokens.
   ========================================================================== */
.adm.nova-client .od-page { direction: rtl; width: 100%; min-width: 0; display: grid; gap: 14px; }
.adm.nova-client .od-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; }
.adm.nova-client .od-header__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.adm.nova-client .od-header__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--ad-radius-md); border: 1px solid var(--adm-line); background: var(--adm-panel); color: var(--ad-action); box-shadow: var(--ad-shadow-card); }
.adm.nova-client .od-header__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0 0; color: var(--adm-muted); }
.adm.nova-client .od-header__meta strong { color: var(--adm-ink); font-weight: 600; }
.adm.nova-client .od-sep { width: 1px; height: 12px; background: var(--adm-line); }
.adm.nova-client .od-header__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm.nova-client .od-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.adm.nova-client .od-menu { position: relative; }
.adm.nova-client .od-menu__panel { position: absolute; z-index: 40; top: calc(100% + 6px); inset-inline-start: 0; display: grid; gap: 2px; }
.adm.nova-client .od-menu__item { justify-content: flex-start; border-color: transparent; box-shadow: none; text-decoration: none; }

.adm.nova-client .od-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.9fr); gap: 16px; align-items: start; }
.adm.nova-client .od-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.adm.nova-client .od-title { display: flex; align-items: center; gap: 8px; }
.adm.nova-client .od-title__icon { display: grid; place-items: center; color: var(--ad-action); }
.adm.nova-client .od-body { padding: 4px 14px 14px; }
.adm.nova-client .od-empty { color: var(--adm-muted); }
.adm.nova-client .od-ltr, .adm.nova-client .od-code { unicode-bidi: isolate; }
.adm.nova-client .od-code { overflow-wrap: anywhere; word-break: break-word; }
.adm.nova-client .od-wrap { overflow-wrap: anywhere; }
.adm.nova-client [data-strong="true"] { font-weight: 700; }

.adm.nova-client .od-rows { margin: 0; }
.adm.nova-client .od-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--adm-line); min-width: 0; }
.adm.nova-client .od-row:last-child { border-bottom: 0; }
.adm.nova-client .od-row dt { color: var(--adm-muted); flex: none; }
.adm.nova-client .od-row dd { margin: 0; min-width: 0; text-align: end; overflow-wrap: anywhere; }
.adm.nova-client .od-row[data-stacked="true"] { align-items: flex-start; }
.adm.nova-client .od-row--total { margin: 6px -8px; padding: 9px 8px; border: 0; border-radius: var(--ad-radius-md); background: color-mix(in srgb, var(--ad-action) 10%, var(--adm-panel)); font-weight: 700; }
.adm.nova-client .od-row--total dt { color: var(--ad-action-600); }
.adm.nova-client .od-note { display: inline-flex; align-items: flex-start; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.adm.nova-client .od-dot-status { display: inline-flex; align-items: center; gap: 7px; }
.adm.nova-client .od-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ad-ink-300); }

/* Product rows: [image + name] [qty] [unit] [total], aligned with the header row above them. */
.adm.nova-client .od-lines { list-style: none; margin: 0; padding: 0 14px 6px; }
.adm.nova-client .od-lines__head,
.adm.nova-client .od-line__main { display: grid; grid-template-columns: minmax(0, 1fr) 70px 110px 110px; align-items: center; gap: 12px; }
.adm.nova-client .od-lines__head { margin-top: 12px; padding: 8px 10px; border-radius: var(--ad-radius-sm); background: var(--ad-surface-soft); color: var(--adm-muted); font-weight: 600; }
.adm.nova-client .od-lines__head span:not(:first-child) { text-align: center; }
.adm.nova-client .od-line { padding: 12px 0; border-bottom: 1px solid var(--adm-line); }
.adm.nova-client .od-line:last-child { border-bottom: 0; }
.adm.nova-client .od-line__top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.adm.nova-client .od-line__nums { display: contents; }
.adm.nova-client .od-line__cell { text-align: center; white-space: nowrap; }
.adm.nova-client .od-line__info { min-width: 0; }
.adm.nova-client .od-line__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; line-height: 1.4; }
.adm.nova-client .od-line__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; color: var(--adm-muted); }
.adm.nova-client .od-sku { display: inline-flex; align-items: baseline; gap: 5px; }
.adm.nova-client .od-line__supplier { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--adm-line); border-radius: var(--ad-radius-sm); background: var(--ad-surface-muted); }
.adm.nova-client .od-line__brand { display: inline-flex; align-items: center; gap: 6px; }
.adm.nova-client .od-thumb { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: var(--ad-radius-md); overflow: hidden; border: 1px solid var(--adm-line); background: var(--ad-surface-soft); color: var(--ad-ink-300); }
.adm.nova-client .od-thumb img { width: 100%; height: 100%; object-fit: cover; }

.adm.nova-client .od-timeline { list-style: none; margin: 0; padding: 8px 14px 12px; }
.adm.nova-client .od-timeline__item { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; }
.adm.nova-client .od-timeline__item:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 15px; top: 36px; bottom: -8px; width: 2px; background: color-mix(in srgb, var(--ad-action) 22%, var(--adm-line)); }
.adm.nova-client .od-timeline__dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--ad-action); z-index: 1; }
.adm.nova-client .od-timeline__item[data-kind="canceled"] .od-timeline__dot { background: var(--adm-err); }
.adm.nova-client .od-timeline__item[data-kind="delivered"] .od-timeline__dot { background: var(--adm-ok); }
.adm.nova-client .od-timeline__item[data-kind="info"] .od-timeline__dot { background: var(--ad-ink-500); }
.adm.nova-client .od-timeline__label { font-weight: 600; }
.adm.nova-client .od-timeline__time { color: var(--adm-muted); white-space: nowrap; }

.adm.nova-client .od-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px; gap: 18px; padding: 12px 14px 14px; }
.adm.nova-client .od-sub { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; font-weight: 700; color: var(--ad-ink-700); }
.adm.nova-client .od-sub svg { color: var(--ad-action); }
.adm.nova-client .od-profit { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 10px; border-radius: var(--ad-radius-md); text-align: center; border: 1px solid color-mix(in srgb, var(--ad-action) 28%, var(--adm-line)); background: color-mix(in srgb, var(--ad-action) 6%, var(--adm-panel)); }
.adm.nova-client .od-profit__icon { color: var(--ad-action); }
.adm.nova-client .od-profit__label { font-weight: 600; }
.adm.nova-client .od-profit__value { font-size: 1.4rem; font-weight: 700; color: var(--ad-action-600); }
.adm.nova-client .od-profit__value[data-negative="true"] { color: var(--adm-err); }
.adm.nova-client .od-profit__hint { padding: 2px 10px; border-radius: 999px; background: var(--adm-panel); border: 1px solid var(--adm-line); color: var(--adm-muted); font-size: 12px; }

.adm.nova-client .od-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.adm.nova-client .od-actions .adm-btn { text-decoration: none; }
.adm.nova-client .od-skel-head { height: 56px; width: 100% !important; }
.adm.nova-client .od-skel-card { width: 100% !important; }

@media (max-width: 1100px) {
  .adm.nova-client .od-grid { grid-template-columns: minmax(0, 1fr); }
  .adm.nova-client .od-grid > .od-col:last-child { order: -1; }
  .adm.nova-client .od-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .adm.nova-client .od-profit { grid-column: 1 / -1; }
  .adm.nova-client .od-sep { display: none; }
}
@media (max-width: 720px) {
  .adm.nova-client .od-split { grid-template-columns: minmax(0, 1fr); }
  .adm.nova-client .od-lines__head { display: none; }
  .adm.nova-client .od-line__main { grid-template-columns: minmax(0, 1fr); }
  .adm.nova-client .od-line__nums { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; margin-top: 4px; }
  .adm.nova-client .od-line__cell { text-align: start; }
  .adm.nova-client .od-line__cell::before { content: attr(data-label) ": "; color: var(--adm-muted); }
  .adm.nova-client .od-timeline__item { grid-template-columns: 32px minmax(0, 1fr); }
  .adm.nova-client .od-timeline__time { grid-column: 2; }
}
.adm.nova-client .od-meta { display: inline-flex; align-items: center; gap: 6px; }
.adm.nova-client .od-meta > svg, .adm.nova-client .od-meta > img { flex: none; }
.adm.nova-client .od-meta > svg:not([data-platform]) { color: var(--ad-action); }

/* Timeline markers: small, with a green check for confirmed events. */
.adm.nova-client .od-timeline__item { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; padding: 7px 0; }
.adm.nova-client .od-timeline__item:not(:last-child)::before { inset-inline-start: 10px; top: 29px; bottom: -7px; }
.adm.nova-client .od-timeline__dot { width: 22px; height: 22px; }
.adm.nova-client .od-timeline__item[data-kind="received"] .od-timeline__dot { background: var(--adm-ok); }
@media (max-width: 720px) {
  .adm.nova-client .od-timeline__item { grid-template-columns: 22px minmax(0, 1fr); }
}

/* Order details: info cells, folding cards and the phone layout (<= 720px). Desktop look is unchanged. */
.adm.nova-client .od-meta { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.adm.nova-client .od-meta__icon { display: inline-grid; place-items: center; flex: none; color: var(--ad-action); }
.adm.nova-client .od-meta__body { display: inline-flex; align-items: baseline; gap: 4px; min-width: 0; }
.adm.nova-client .od-meta__label::after { content: ":"; }
.adm.nova-client .od-mobile-only { display: none; }
.adm.nova-client .od-collapse { display: none; }
.adm.nova-client .adm-panel[data-mobile-only="true"] { display: none; }
.adm.nova-client .od-sku { display: inline-block; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .adm.nova-client .od-page { gap: 12px; }
  .adm.nova-client .od-header { flex-direction: column; align-items: stretch; gap: 12px; }
  .adm.nova-client .od-header__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 12px 0 0; padding: 0; background: var(--adm-panel); border: 1px solid var(--adm-line); border-radius: var(--ad-radius-md); box-shadow: var(--ad-shadow-card); }
  .adm.nova-client .od-sep { display: none; }
  .adm.nova-client .od-meta { display: flex; align-items: center; gap: 10px; padding: 12px; }
  .adm.nova-client .od-meta[data-k="date"] { order: 1; border-bottom: 1px solid var(--adm-line); }
  .adm.nova-client .od-meta[data-k="store"] { order: 2; border-bottom: 1px solid var(--adm-line); border-inline-start: 1px solid var(--adm-line); }
  .adm.nova-client .od-meta[data-k="supplier"] { order: 3; }
  .adm.nova-client .od-meta[data-k="payment"] { order: 4; border-inline-start: 1px solid var(--adm-line); }
  .adm.nova-client .od-meta__icon { width: 32px; height: 32px; }
  .adm.nova-client .od-meta__body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
  .adm.nova-client .od-meta__label::after { content: none; }
  .adm.nova-client .od-meta__value { max-width: 100%; }
  .adm.nova-client .od-meta__value--clip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .adm.nova-client .od-desktop-only { display: none; }
  .adm.nova-client .od-mobile-only { display: inline-flex; }
  .adm.nova-client .adm-panel[data-mobile-only="true"] { display: block; }

  .adm.nova-client .od-header__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .adm.nova-client .od-header__actions .adm-btn, .adm.nova-client .od-menu .adm-btn { width: 100%; }
  .adm.nova-client .od-menu__panel { inset-inline-start: 0; inset-inline-end: 0; width: auto !important; }
  .adm.nova-client .od-badges { flex-direction: row-reverse; justify-content: flex-end; }

  .adm.nova-client .od-collapse { display: grid; place-items: center; width: 32px; height: 32px; margin-inline-start: auto; border: 0; background: transparent; color: var(--adm-muted); cursor: pointer; }
  .adm.nova-client .adm-panel[data-collapsed="true"] > :not(.adm-panel__head) { display: none; }

  .adm.nova-client .od-line__supplier { display: none; }
  .adm.nova-client .od-line__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--adm-line); gap: 0; }
  .adm.nova-client .od-line__cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; text-align: center; font-weight: 700; }
  .adm.nova-client .od-line__cell::before { content: attr(data-label); color: var(--adm-muted); font-weight: 400; }
  .adm.nova-client .od-line__cell + .od-line__cell { border-inline-start: 1px solid var(--adm-line); }
  .adm.nova-client .od-line__cell:last-child { border-radius: var(--ad-radius-sm); background: color-mix(in srgb, var(--ad-action) 9%, var(--adm-panel)); color: var(--ad-action-600); }

  .adm.nova-client .od-timeline { padding: 10px 12px 6px; }
  .adm.nova-client .od-timeline__item { padding: 10px 12px; margin-bottom: 8px; border-radius: var(--ad-radius-md); background: color-mix(in srgb, var(--ad-action) 7%, var(--adm-panel)); }
  .adm.nova-client .od-timeline__item:not(:last-child)::before { display: none; }
  .adm.nova-client .od-timeline__time { grid-column: 2; }
}
@media (max-width: 720px) {
  .adm.nova-client .od-meta__value--clip { direction: ltr; text-align: right; }
}

/* Phone info cells: header line (icon + title) over a value line; store/status on the right, supplier/date on the left. */
.adm.nova-client .od-meta__head { display: inline-flex; align-items: center; gap: 4px; }
.adm.nova-client .od-meta__vicon { display: none; }
@media (max-width: 720px) {
  .adm.nova-client .od-meta { padding: 9px 12px; gap: 0; align-items: flex-start; }
  .adm.nova-client .od-meta[data-k="store"] { order: 1; border-bottom: 1px solid var(--adm-line); border-inline-start: 0; }
  .adm.nova-client .od-meta[data-k="supplier"] { order: 2; border-bottom: 1px solid var(--adm-line); border-inline-start: 1px solid var(--adm-line); }
  .adm.nova-client .od-meta[data-k="payment"] { order: 3; border-bottom: 0; border-inline-start: 0; }
  .adm.nova-client .od-meta[data-k="date"] { order: 4; border-bottom: 0; border-inline-start: 1px solid var(--adm-line); }
  .adm.nova-client .od-meta__body { gap: 5px; width: 100%; }
  .adm.nova-client .od-meta__head { color: var(--adm-muted); font-size: 12px; }
  .adm.nova-client .od-meta__hicon { display: inline-grid; place-items: center; color: var(--ad-action); }
  .adm.nova-client .od-meta__value { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; min-width: 0; max-width: 100%; }
  .adm.nova-client .od-meta__vicon { display: inline-flex; align-items: center; flex: none; }
  .adm.nova-client .od-meta__value--clip { display: flex; overflow: hidden; direction: rtl; text-align: start; }
  .adm.nova-client .od-meta__value--clip bdi { overflow: hidden; text-overflow: ellipsis; direction: ltr; min-width: 0; }
  .adm.nova-client .od-meta__icon { display: none; }
}
@media (max-width: 720px) {
  .adm.nova-client .od-meta .od-desktop-only { display: none !important; }
}
@media (max-width: 720px) {
  .adm.nova-client .od-meta__label, .adm.nova-client .od-meta__head { white-space: nowrap; }
  .adm.nova-client .od-meta[data-k="payment"] .od-mobile-only { display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; }
  .adm.nova-client .od-meta[data-k="payment"] .adm-badge { flex-direction: row; flex-wrap: nowrap; white-space: nowrap; width: max-content; }
  .adm.nova-client .od-meta[data-k="date"] .od-meta__value { white-space: nowrap; }
}
@media (max-width: 720px) {
  .adm.nova-client .od-badges { flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .adm.nova-client .od-badges::-webkit-scrollbar { display: none; }
  .adm.nova-client .od-badges .adm-badge { flex: none; padding: 3px 8px; font-size: 11px; gap: 4px; white-space: nowrap; }
}
@media (max-width: 720px) {
  .adm.nova-client .od-badges { gap: 5px; }
  .adm.nova-client .od-badges .adm-badge { padding: 3px 6px; font-size: 10.5px; gap: 3px; }
  .adm.nova-client .od-badges .adm-badge svg { width: 11px; height: 11px; }
  .adm.nova-client .od-meta__hicon > span { color: var(--adm-muted); }
}
.adm.nova-client .od-woo { color: var(--ad-ink-300); flex: none; }

/* Phone info cells: four separate cards with a light gap, same border/radius/shadow as .adm-panel and .adm-btn. */
@media (max-width: 720px) {
  .adm.nova-client .od-header__meta { gap: 8px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .adm.nova-client .od-meta[data-k] { background: var(--adm-panel); border: 1px solid var(--adm-line); border-radius: 4px; box-shadow: 0 10px 28px rgba(22, 32, 58, 0.06), 0 1px 3px rgba(22, 32, 58, 0.05); padding: 10px 12px; }
}

/* Order details polish: no test-phase note under this title, compact actions menu, outline timeline markers, centered chips, horizontal profit card. */
.adm.nova-client .od-header h1::after { content: none !important; display: none !important; }

.adm.nova-client .od-timeline__item { grid-template-columns: 20px minmax(0, 1fr) auto; }
.adm.nova-client .od-timeline__item:not(:last-child)::before { inset-inline-start: 9px; top: 28px; bottom: -7px; }
.adm.nova-client .od-timeline__dot { width: 20px; height: 20px; background: transparent; border: 2px solid var(--ad-action); color: var(--ad-action); box-shadow: none; }
.adm.nova-client .od-timeline__item[data-kind="received"] .od-timeline__dot,
.adm.nova-client .od-timeline__item[data-kind="delivered"] .od-timeline__dot { background: transparent; border-color: var(--adm-ok); color: var(--adm-ok); }
.adm.nova-client .od-timeline__item[data-kind="canceled"] .od-timeline__dot { background: transparent; border-color: var(--adm-err); color: var(--adm-err); }
.adm.nova-client .od-timeline__item[data-kind="info"] .od-timeline__dot { background: transparent; border-color: var(--ad-ink-500); color: var(--ad-ink-500); }

@media (max-width: 720px) {
  .adm.nova-client .od-badges { justify-content: center; }
  .adm.nova-client .od-timeline__item { grid-template-columns: 20px minmax(0, 1fr); }

  .adm.nova-client .od-menu__panel { inset-inline-start: 0; inset-inline-end: auto; width: max-content !important; min-width: 190px; max-width: calc(100vw - 32px); padding: 6px !important; gap: 2px; }
  .adm.nova-client .od-menu__panel .adm-btn.od-menu__item { min-height: 36px; padding: 0 12px; font-size: 13px; gap: 9px; width: 100%; }
  .adm.nova-client .od-menu__panel .od-menu__item svg { width: 14px; height: 14px; }

  .adm.nova-client .od-profit { flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 10px; padding: 9px 12px; text-align: start; }
  .adm.nova-client .od-profit__icon { width: 18px; height: 18px; flex: none; }
  .adm.nova-client .od-profit__label { font-size: 12px; white-space: nowrap; }
  .adm.nova-client .od-profit__value { font-size: 1.05rem; white-space: nowrap; }
  .adm.nova-client .od-profit__hint { font-size: 11px; padding: 2px 8px; white-space: nowrap; }
}
@media (max-width: 720px) {
  .adm.nova-client .od-menu__panel { right: 0 !important; left: auto !important; }
}

/* Orders list on phones: the frozen order column fills the panel edge to edge (no inset strip or shadow on the left). */
@media (max-width: 767px) {
  .adm.nova-client .nova-orders-table .ptbl__frozen { flex: 0 0 100% !important; width: 100% !important; }
}

/* Store tag (platform mark + store name) in order / product / draft rows, and the phone order-row refinements. */
.store-tag { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; color: var(--adm-muted); font-size: 0.68rem; line-height: 1.2; white-space: nowrap; }
.store-tag__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; direction: ltr; unicode-bidi: plaintext; }
.adm.nova-client .order-summary__ids { display: flex; align-items: center; gap: 8px; min-width: 0; }
.adm.nova-client .od-header__title { gap: 20px; }

@media (max-width: 860px) {
  .adm.nova-client .order-summary__ids { position: absolute; right: 0; bottom: 4px; z-index: 1; max-width: 56%; }
  .adm.nova-client .order-summary__ids .order-summary__order-number { position: static; flex: none; max-width: none; padding-left: 8px; border-left: 1px solid color-mix(in srgb, var(--adm-muted) 58%, transparent); }
  .adm.nova-client .order-summary__ids .store-tag { font-size: 0.62rem; }
  .adm.nova-client .order-summary__supplier { max-width: 40%; }
  .adm.nova-client .order-summary__supplier-id { overflow: hidden; text-overflow: ellipsis; }
  .adm.nova-client .order-summary__amount { top: 24px; min-height: 20px; padding: 0 6px; font-size: 0.74rem; }
}
@media (max-width: 860px) {
  .adm.nova-client .order-summary__ids .store-tag__name { max-width: 34px; }
  .adm.nova-client .order-summary__supplier { max-width: 47%; }
  .adm.nova-client .order-summary__supplier-name { flex: none; overflow: visible; }
}
.store-tag__name { direction: rtl; unicode-bidi: normal; }
.store-tag { flex: none; }
.store-tag__name { overflow: visible; }
.store-tag__dash { opacity: 0.7; }

/* Product card: store tag at the bottom-left above the divider; draft card: store tag right next to the chevron. */
.pw-prodcard__top { position: relative; }
.pw-prodcard__store { position: absolute; left: 0; bottom: 0; }
.pw-prodcard__bottom .pw-prodcard__store-next { display: inline-flex; flex: none; }
.adm.nova-client .od-header__title { gap: 12px; }

/* Draft card: kebab in the top-left corner with no bubble/shadow (also when open or selected); tighter store tag; orders row inset. */
.store-tag { gap: 2px; }
.pw-draftitem .pw-prodcard { position: relative; }
.pw-draftitem .pw-draftcard__actions .adm-menu { position: absolute; top: 4px; left: 4px; box-shadow: none !important; background: transparent !important; border: 0 !important; z-index: 2; }
.pw-draftitem .pw-draftcard__actions .adm-menu__trigger,
.pw-draftitem .pw-draftcard__actions .adm-menu__trigger:hover,
.pw-draftitem .pw-draftcard__actions .adm-menu__trigger:focus,
.pw-draftitem .pw-draftcard__actions .adm-menu__trigger:active,
.pw-draftitem .pw-draftcard__actions .adm-menu__trigger[aria-expanded="true"],
.pw-draftitem .pw-draftcard__actions .adm-menu__trigger[data-open="true"] { box-shadow: none !important; background: transparent !important; border: 0 !important; filter: none !important; }
.pw-draftitem .pw-draftcard__actions .adm-menu svg { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .adm.nova-client .nova-orders-table .ptbl__frozen > .ptbl__frozen-row { padding-left: 16px; }
}
.pw-draftitem .pw-draftcard__actions .adm-menu__trigger { width: 24px !important; min-width: 24px !important; height: 22px !important; min-height: 22px !important; padding: 0 !important; }
.pw-draftitem .pw-draftcard__actions .adm-menu { top: 2px; left: 2px; }
.pw-draftitem .pw-draftcard__actions .adm-menu { top: -8px; left: -10px; }



/* Orders list on phones: a touch of space between the order rows with a very light depth. Both panes use the same row height so they stay aligned. */
@media (max-width: 860px) {
  .adm.nova-client .nova-orders-table { --ptbl-row-h: 90px; }
  .adm.nova-client .nova-orders-table .ptbl__frozen > .ptbl__frozen-row:not(.ptbl__frozen-head),
  .adm.nova-client .nova-orders-table .ptbl__scroll-row:not(.ptbl__scroll-head) {
    box-sizing: border-box;
    border-bottom: 8px solid #f1f3f7;
    box-shadow: inset 0 -1px 2px rgba(20, 24, 35, 0.06);
  }
}

/* Orders list: address link + address popup (long fields stacked, short fields side by side); supplier name before its icon. */
.adm.nova-client .od-addr-link { all: unset; box-sizing: border-box; display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; color: var(--ad-action-600); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ad-action) 35%, transparent); text-underline-offset: 3px; }
.adm.nova-client .od-addr-link:hover { color: var(--ad-action); }
.adm.nova-client .od-addr-link:focus-visible { outline: 2px solid color-mix(in srgb, var(--ad-action) 45%, transparent); outline-offset: 2px; border-radius: 3px; }
.adm.nova-client .od-addr { display: grid; gap: 12px; }
.adm.nova-client .od-addr__row { display: grid; gap: 12px; }
.adm.nova-client .od-addr__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm.nova-client .od-addr__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm.nova-client .od-addr__field { display: grid; gap: 4px; min-width: 0; padding: 9px 12px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--ad-surface-muted); }
.adm.nova-client .od-addr__label { color: var(--adm-muted); font-size: 12px; }
.adm.nova-client .od-addr__value { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .adm.nova-client .od-addr__row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm.nova-client .od-addr__row--3 > :last-child { grid-column: 1 / -1; }
}
/* The popup is rendered in the portal host, outside .nova-client, so these rules are not scoped to it. */
.od-addr { display: grid; gap: 12px; direction: rtl; }
.od-addr__row { display: grid; gap: 12px; }
.od-addr__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.od-addr__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.od-addr__field { display: grid; gap: 4px; min-width: 0; padding: 9px 12px; border: 1px solid #e0e4ea; border-radius: 4px; background: #f7f9fb; }
.od-addr__label { color: #66707e; font-size: 12px; }
.od-addr__value { font-weight: 600; overflow-wrap: anywhere; color: #252934; }
@media (max-width: 520px) {
  .od-addr__row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-addr__row--3 > :last-child { grid-column: 1 / -1; }
}

/* Product header facts: long store URL / SKU stay inside their field (ellipsis) instead of running out of it. */
.nova-ph__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nova-ph__link { min-width: 0; }
@media (max-width: 720px) {
  .nova-ph__item { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; }
  .nova-ph__item .nova-ph__value { flex: 1 1 auto; min-width: 0; max-width: 100%; }
  .nova-ph__item .nova-ph__link { max-width: 100%; }
}

/* Order quick view (row menu "פרטי ההזמנה"): compact cards, right to left. Rendered in the portal host, so not scoped to .nova-client. */
.qv { display: grid; gap: 12px; direction: rtl; font-size: 13px; color: #252934; }
.qv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #e0e4ea; }
.qv-head__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.qv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.qv-card { min-width: 0; overflow: hidden; border: 1px solid #e0e4ea; border-radius: 4px; background: #fff; box-shadow: 0 10px 28px rgba(22, 32, 58, 0.06), 0 1px 3px rgba(22, 32, 58, 0.05); }
.qv-card__title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-bottom: 1px solid #e0e4ea; background: #f7f9fb; font-size: 12.5px; font-weight: 700; }
.qv-card__icon { display: grid; place-items: center; color: #8a2bf2; }
.qv-rows { margin: 0; padding: 2px 12px 6px; }
.qv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 6px 0; border-bottom: 1px solid #eef0f4; }
.qv-row:last-child { border-bottom: 0; }
.qv-row dt { flex: none; color: #66707e; font-size: 12px; }
.qv-row dd { min-width: 0; margin: 0; text-align: end; font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.qv-empty { color: #8a93a1; font-weight: 400; }
.qv-pad { padding: 10px 12px; margin: 0; }
.qv-code { unicode-bidi: isolate; overflow-wrap: anywhere; }
.qv-wrap { overflow-wrap: anywhere; }
.qv-inline { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.qv-timeline { list-style: none; margin: 0; padding: 6px 12px 8px; }
.qv-timeline__item { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 10px; padding: 6px 0; }
.qv-timeline__dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #1f8a56; color: #1f8a56; background: transparent; }
.qv-timeline__item[data-kind="canceled"] .qv-timeline__dot { border-color: #df2020; color: #df2020; }
.qv-timeline__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.qv-timeline__body strong { font-size: 12.5px; }
.qv-timeline__time { color: #66707e; font-size: 11.5px; }
@media (max-width: 640px) { .qv-grid { grid-template-columns: minmax(0, 1fr); } .qv-head { flex-wrap: wrap; } }

/* Row action menus: a small icon before each label. */
.nova-menu__panel .adm-menu__item { display: flex; align-items: center; gap: 10px; }
.nova-menu__panel .adm-menu__item svg { flex: none; width: 15px; height: 15px; color: #66707e; }

/* Bell badge in the top bar. */
.adm.nova-client .nova-topbar__icon { position: relative; }
.adm.nova-client .nova-bell-badge { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 16px; height: 16px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 999px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 2px var(--ad-navy-900, #111218); }


/* Notifications page (/client/alerts): compact, horizontal layout (header, 4 stat chips, filters, one-line alert rows). */
.adm.nova-client .alc { display: grid; gap: 10px; direction: rtl; }
.adm.nova-client .alc-head { display: flex; align-items: center; gap: 10px; }
.adm.nova-client .alc-head__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--ad-radius-md); border: 1px solid var(--adm-line); background: var(--adm-panel); color: var(--ad-action); box-shadow: var(--ad-shadow-card); }
.adm.nova-client .alc-head h1 { margin: 0; }
.adm.nova-client .alc-head h1::after { content: none !important; display: none !important; }
.adm.nova-client .alc-head p { margin: 2px 0 0; color: var(--adm-muted); font-size: 12px; }

.adm.nova-client .alc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.adm.nova-client .alc-stat { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); box-shadow: 0 6px 18px rgba(22, 32, 58, 0.05), 0 1px 2px rgba(22, 32, 58, 0.05); font: inherit; color: inherit; text-align: start; cursor: pointer; }
.adm.nova-client .alc-stat[data-active="true"] { border-color: color-mix(in srgb, var(--ad-action) 45%, var(--adm-line)); background: color-mix(in srgb, var(--ad-action) 7%, #fff); }
.adm.nova-client .alc-stat__icon, .adm.nova-client .alc-row__icon { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 6px; background: color-mix(in srgb, var(--ad-action) 12%, #fff); color: var(--ad-action-600); }
.adm.nova-client .alc-stat[data-tone="stock"] .alc-stat__icon, .adm.nova-client .alc-row[data-tone="stock"] .alc-row__icon { background: #e3eefc; color: #1d6fd8; }
.adm.nova-client .alc-stat[data-tone="error"] .alc-stat__icon, .adm.nova-client .alc-row[data-tone="error"] .alc-row__icon { background: #ffe9ec; color: #d03040; }
.adm.nova-client .alc-row[data-tone="ok"] .alc-row__icon { background: #e4faed; color: #207f48; }
.adm.nova-client .alc-stat__text { display: grid; min-width: 0; line-height: 1.15; }
.adm.nova-client .alc-stat__label { font-size: 11.5px; color: var(--adm-muted); font-weight: 600; }
.adm.nova-client .alc-stat__value { font-size: 1.05rem; color: var(--ad-action-600); }
.adm.nova-client .alc-stat[data-tone="error"] .alc-stat__value { color: #d03040; }
.adm.nova-client .alc-stat[data-tone="stock"] .alc-stat__value { color: #1d6fd8; }

.adm.nova-client .alc-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.adm.nova-client .alc-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.adm.nova-client .alc-filters::-webkit-scrollbar { display: none; }
.adm.nova-client .alc-filter { display: inline-flex; align-items: center; gap: 5px; flex: none; height: 28px; padding: 0 12px; border: 1px solid var(--adm-line); border-radius: 999px; background: var(--adm-panel); color: var(--ad-ink-700); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.adm.nova-client .alc-filter[data-active="true"] { border-color: transparent; background-color: var(--ad-action-600); background-image: var(--ad-drop-grad); color: #fff; }
.adm.nova-client .alc-menu { position: relative; flex: none; }
.adm.nova-client .alc-iconbtn { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); color: var(--ad-ink-700); cursor: pointer; box-shadow: 0 6px 18px rgba(22, 32, 58, 0.05); }
.adm.nova-client .alc-menu__panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; display: grid; gap: 2px; width: max-content !important; min-width: 170px; max-width: calc(100vw - 32px); padding: 6px !important; }
.adm.nova-client .alc-menu__item { justify-content: flex-start !important; border-color: transparent; box-shadow: none; min-height: 34px; font-size: 12.5px; gap: 8px; }

.adm.nova-client .alc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.adm.nova-client .alc-row { display: grid; grid-template-columns: 26px minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border: 1px solid var(--adm-line); border-left: 3px solid var(--ad-action); border-radius: 4px; background: var(--adm-panel); box-shadow: 0 6px 18px rgba(22, 32, 58, 0.05), 0 1px 2px rgba(22, 32, 58, 0.05); }
.adm.nova-client .alc-row[data-tone="stock"] { border-left-color: #1d6fd8; }
.adm.nova-client .alc-row[data-tone="error"] { border-left-color: #d03040; }
.adm.nova-client .alc-row[data-tone="ok"] { border-left-color: #207f48; }
.adm.nova-client .alc-row[data-fresh="true"] { background: color-mix(in srgb, var(--ad-action) 4%, #fff); }
.adm.nova-client .alc-row__main { display: grid; line-height: 1.2; min-width: 0; }
.adm.nova-client .alc-row__ref { font-weight: 700; font-size: 13px; color: var(--adm-ink); text-decoration: none; }
.adm.nova-client a.alc-row__ref:hover { text-decoration: underline; }
.adm.nova-client .alc-row__title { color: var(--adm-muted); font-size: 11.5px; }
.adm.nova-client .alc-row__values { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; color: var(--adm-muted); }
.adm.nova-client .alc-pill { display: inline-block; padding: 1px 8px; border-radius: 5px; background: var(--ad-surface-soft); color: var(--ad-ink-700); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.adm.nova-client .alc-pill--new { background: color-mix(in srgb, var(--ad-action) 12%, #fff); color: var(--ad-action-600); }
.adm.nova-client .alc-row[data-tone="stock"] .alc-pill--new { background: #e3eefc; color: #1d6fd8; }
.adm.nova-client .alc-pill--code { max-width: 100%; overflow: hidden; text-overflow: ellipsis; background: #ffe9ec; color: #bb2535; font-size: 11.5px; font-weight: 600; }
.adm.nova-client .alc-row__time { display: grid; justify-items: start; line-height: 1.2; padding-inline-start: 10px; border-inline-start: 1px solid var(--adm-line); color: var(--ad-ink-700); font-size: 11.5px; white-space: nowrap; }
.adm.nova-client .alc-row__time bdi:last-child { color: var(--adm-muted); }

@media (min-width: 900px) {
  .adm.nova-client .alc-row { grid-template-columns: 26px 150px minmax(0, 1fr) auto; }
  .adm.nova-client .alc-row__values { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .adm.nova-client .alc-row { gap: 8px; padding: 6px 8px; }
}
@media (min-width: 900px) {
  .adm.nova-client .alc { max-width: 980px; }
  .adm.nova-client .alc-stats { max-width: 620px; }
  .adm.nova-client .alc-row__values { justify-content: flex-end; }
  .adm.nova-client .alc-row { grid-template-columns: 26px 160px minmax(0, 1fr) auto; }
}

/* Alerts: same corner radius (4px), borders and buttons as the rest of the Client (no pills). */
.adm.nova-client .alc-filter { height: 30px; min-height: 30px; padding: 0 12px; border-radius: 4px; font-size: 12.5px; gap: 6px; }
.adm.nova-client .alc-filter[data-variant="primary"] { background-image: var(--ad-drop-sheen), var(--ad-drop-grad); color: #fff; }
.adm.nova-client .alc-stat__icon, .adm.nova-client .alc-row__icon { border-radius: 4px; }
.adm.nova-client .alc-pill { border: 1px solid var(--adm-line); border-radius: 4px; padding: 1px 7px; font-size: 12px; font-weight: 600; }
.adm.nova-client .alc-pill--new { border-color: color-mix(in srgb, var(--ad-action) 35%, transparent); }
.adm.nova-client .alc-row[data-tone="stock"] .alc-pill--new { border-color: color-mix(in srgb, #1d6fd8 35%, transparent); }
.adm.nova-client .alc-pill--code { border-color: color-mix(in srgb, #bb2535 35%, transparent); }
.adm.nova-client .alc-iconbtn { border-radius: 4px; }

/* Alerts: a little more height for the cards. */
.adm.nova-client .alc-row { min-height: 60px; padding-block: 10px; }
.adm.nova-client .alc-stat { padding-block: 11px; }
.adm.nova-client .alc-list { gap: 8px; }
.adm.nova-client .alc-row { min-height: 64px; box-shadow: 0 10px 26px rgba(22, 32, 58, 0.08), 0 1px 3px rgba(22, 32, 58, 0.07); }
.adm.nova-client .alc-stat { box-shadow: 0 10px 26px rgba(22, 32, 58, 0.08), 0 1px 3px rgba(22, 32, 58, 0.07); }
.adm.nova-client .alc-row__icon { width: 30px; height: 30px; }
.adm.nova-client .alc-row { grid-template-columns: 30px minmax(0, auto) minmax(0, 1fr) auto; }
@media (min-width: 900px) { .adm.nova-client .alc-row { grid-template-columns: 30px 160px minmax(0, 1fr) auto; } }

/* Alerts: the four counters sit in two columns on phones, each one a slim horizontal rectangle (icon, label, number on one line). */
.adm.nova-client .alc-stat { padding: 8px 12px; min-height: 42px; }
.adm.nova-client .alc-stat__text { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.adm.nova-client .alc-stat__label { font-size: 12.5px; }
.adm.nova-client .alc-stat__value { font-size: 1.1rem; }
@media (max-width: 720px) {
  .adm.nova-client .alc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Wallet popover (top bar): same radius, borders, tabs and button as the rest of the Client. */
.adm.nova-client .autodrop-balance__popover { border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); box-shadow: 0 10px 28px rgba(22, 32, 58, 0.14), 0 1px 3px rgba(22, 32, 58, 0.08); }
.adm.nova-client .autodrop-balance__tabs { gap: 6px; padding: 8px; background: var(--ad-surface-muted); border-bottom: 1px solid var(--adm-line); }
.adm.nova-client .autodrop-balance__tabs button { height: 34px; padding: 0 10px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--adm-muted); font: inherit; font-size: 13px; font-weight: 600; }
.adm.nova-client .autodrop-balance__tabs button[aria-selected="true"] { border-color: color-mix(in srgb, var(--ad-action) 40%, var(--adm-line)); background: color-mix(in srgb, var(--ad-action) 8%, #fff); color: var(--ad-action-600); box-shadow: none; }
.adm.nova-client .autodrop-balance__body { gap: 8px; padding: 18px 16px; }
.adm.nova-client .autodrop-balance__body > strong { font-size: 24px; }
.adm.nova-client .autodrop-balance__body a { height: 36px; padding: 0 16px; border: 1px solid transparent; border-radius: 4px; background-color: var(--ad-action-600); background-image: var(--ad-drop-sheen), var(--ad-drop-grad); box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 2px 10px rgb(122 34 224 / 26%); font-size: 13px; font-weight: 600; }
.adm.nova-client .autodrop-balance__body a:hover { filter: brightness(1.07); }
.adm.nova-client .autodrop-balance__error { color: var(--adm-err); }

/* Account & billing: system corner radius (4px), borders and spacing; Hebrew titles are not upper-cased; compact history cards on phones. */
.adm.nova-client .autodrop-billing-grid .adm-panel__title { text-transform: none; letter-spacing: 0; font-size: 13px; }
.adm.nova-client .autodrop-wallet-cards article { gap: 4px; padding: 12px 14px; border-radius: 4px; background: var(--ad-surface-muted); }
.adm.nova-client .autodrop-wallet-cards article > strong { font-size: 20px; }
.adm.nova-client .autodrop-wallet-cards article > small { font-size: 12px; line-height: 1.45; }
.adm.nova-client .autodrop-payment-method { border-radius: 4px; padding: 8px 10px; }
.adm.nova-client .autodrop-payment-method__brand { border-radius: 4px; padding: 4px 8px; }
.adm.nova-client .autodrop-billing-security { gap: 8px; }
.adm.nova-client .autodrop-billing-security li { align-items: center; }
.adm.nova-client .autodrop-topups-mobile { gap: 8px; }
.adm.nova-client .atm-card { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); box-shadow: 0 6px 18px rgba(22, 32, 58, 0.05), 0 1px 2px rgba(22, 32, 58, 0.05); }
.adm.nova-client .atm-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.adm.nova-client .atm-card__amount { font-size: 15px; }
.adm.nova-client .atm-card__meta { color: var(--adm-muted); font-size: 12px; }
@media (max-width: 639px) {
  .adm.nova-client .autodrop-topups-mobile { display: grid; padding: 10px; }
  .adm.nova-client .autodrop-topups-mobile > article { display: grid; }
}
.adm.nova-client .autodrop-topups-mobile .atm-card { grid-template-columns: 1fr; gap: 4px; padding: 10px 12px; }
.adm.nova-client .autodrop-topups-mobile .atm-card__meta span { font-size: 12px; color: var(--adm-muted); }
.adm.nova-client .autodrop-topups-mobile .atm-card__amount { font-size: 15px; }

/* Orders row (phone): the product title runs up to the note/menu icons with a sensible gap. Draft card: the publish button sits a little lower, centred. */
@media (max-width: 860px) {
  .adm.nova-client .nova-orders-table .order-summary__identity { padding-inline-end: 8px; }
}
.pw-draftitem .pw-draftcard__actions .nova-excl__restore { position: relative; top: 6px; }

/* Products phone card: the "..." menu in the corner, the note icon to its right, the price smaller and centred below them. */
@media (max-width: 860px) {
  .adm.nova-client .nova-products .pw-prodcard__menu { position: absolute; top: -8px; left: -10px; z-index: 2; }
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu__trigger,
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu__trigger:hover,
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu__trigger:focus,
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu__trigger[aria-expanded="true"] { box-shadow: none !important; background: transparent !important; border: 0 !important; width: 24px !important; min-width: 24px !important; height: 22px !important; min-height: 22px !important; padding: 0 !important; }
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu svg { width: 15px; height: 15px; }
  .adm.nova-client .nova-products .pw-prodcard__note { left: 22px; top: -8px; bottom: auto; }
  .adm.nova-client .nova-products .pw-prodcard__price { align-self: center; margin-top: 26px; padding: 3px 8px; font-size: 0.84rem; }
}

/* Products phone card: flat "..." (no ring, shadow or focus fill) and the note icon on the same line as it. */
@media (max-width: 860px) {
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu { box-shadow: none !important; background: transparent !important; border: 0 !important; outline: 0 !important; }
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu__trigger,
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu__trigger:active,
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu__trigger:focus-visible,
  .adm.nova-client .nova-products .pw-prodcard__menu .adm-menu__trigger[data-open="true"] { box-shadow: none !important; background: transparent !important; border: 0 !important; outline: 0 !important; filter: none !important; -webkit-tap-highlight-color: transparent; }
  .adm.nova-client .nova-products .pw-prodcard__note { top: -13px; }
}

/* Tags everywhere in Client: no outline, a soft lift instead (the top bar keeps its own look). */
.adm.nova-client .adm-badge:not(.adm-topbar .adm-badge) {
  border: 0;
  box-shadow: 0 1px 3px rgb(20 24 35 / 16%), 0 0 1px rgb(20 24 35 / 8%);
}
/* Products phone card: slightly smaller title and tags. */
@media (max-width: 860px) {
  .adm.nova-client .nova-products .pw-prodcard__name { font-size: 0.88rem; line-height: 1.4; }
  .adm.nova-client .nova-products .pw-prodcard .adm-badge { font-size: 0.64rem; padding: 2px 7px; }
}

/* Product header tags (status / stock / connection / view in store): same flat-with-lift look as the other tags. */
.adm.nova-client .nova-ph__pill, .adm.nova-client .nova-ph__view {
  border: 0;
  box-shadow: 0 1px 3px rgb(20 24 35 / 16%), 0 0 1px rgb(20 24 35 / 8%);
}

/* Phone card tags: room around the row so the overflow clip no longer cuts the tag shadows. */
.adm.nova-client .nova-products .pw-prodcard__badges { padding: 4px 4px 5px; margin: -4px -4px -5px; }

/* Orders phone row: supplier, amount and the "..." / note icons sit a little further left. */
@media (max-width: 860px) {
  .adm.nova-client .nova-orders-table .order-summary__amount,
  .adm.nova-client .nova-orders-table .order-summary__supplier,
  .adm.nova-client .nova-orders-table .order-summary__actions { transform: translateX(-8px); }
}

/* Alerts: value tags without an outline, soft lift instead. */
.adm.nova-client .alc-pill, .adm.nova-client .alc-pill--new, .adm.nova-client .alc-pill--code,
.adm.nova-client .alc-row[data-tone="stock"] .alc-pill--new {
  border: 0;
  box-shadow: 0 1px 3px rgb(20 24 35 / 16%), 0 0 1px rgb(20 24 35 / 8%);
}

/* Products phone card: note icon right next to the "...". */
@media (max-width: 860px) {
  .adm.nova-client .nova-products .pw-prodcard__note { left: 8px; }
}

/* Draft phone card: note icon next to the "..." in the top-left corner. */
@media (max-width: 860px) {
  .pw-draftitem .pw-prodcard { position: relative; }
  .pw-draftitem .pw-prodcard__draftnote { position: absolute; top: 8px; left: 29px; z-index: 2; line-height: 0; }
}

/* Draft phone card: note icon next to the "..." in the top-left corner. */
@media (max-width: 860px) {
  .pw-draftitem .pw-prodcard { position: relative; }
  .pw-draftitem .pw-prodcard__draftnote { position: absolute; top: 8px; left: 29px; z-index: 2; line-height: 0; }
  /* Orders row: the supplier moves back (it was clipped at the edge); amount and icons keep a small shift. */
  .adm.nova-client .nova-orders-table .order-summary__supplier { transform: none; }
  .adm.nova-client .nova-orders-table .order-summary__amount,
  .adm.nova-client .nova-orders-table .order-summary__actions { transform: translateX(-3px); }
}

/* Alerts: softer tag lift, clickable rows, detail popup (unscoped: the modal renders in a portal). */
.adm.nova-client .alc-pill, .adm.nova-client .alc-pill--new, .adm.nova-client .alc-pill--code,
.adm.nova-client .alc-row[data-tone="stock"] .alc-pill--new { box-shadow: 0 1px 2px rgb(20 24 35 / 9%); }
.adm.nova-client .alc-row { cursor: pointer; }
.adm.nova-client .alc-row:focus-visible { outline: 2px solid color-mix(in srgb, var(--ad-action) 45%, transparent); outline-offset: 1px; }
.alc-dialog { display: grid; gap: 14px; }
.alc-dialog__hero { display: flex; align-items: center; gap: 12px; }
.alc-dialog__hero > div { display: grid; line-height: 1.3; }
.alc-dialog__hero strong { font-size: 15px; }
.alc-dialog__hero span:not(.alc-dialog__icon) { color: var(--adm-muted); font-size: 12px; }
.alc-dialog__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: #f1e9ff; color: #7b3fd6; flex: none; }
.alc-dialog[data-tone="stock"] .alc-dialog__icon { background: #e3eefc; color: #1d6fd8; }
.alc-dialog[data-tone="error"] .alc-dialog__icon { background: #ffe9ec; color: #d03040; }
.alc-dialog[data-tone="ok"] .alc-dialog__icon { background: #e4faed; color: #207f48; }
.alc-dialog__change { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 14px 12px; border-radius: 4px; background: rgb(20 24 35 / 4%); }
.alc-dialog__change .alc-pill { font-size: 15px; padding: 3px 10px; border: 0; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgb(20 24 35 / 9%); font-weight: 700; display: inline-block; }
.alc-dialog__delta { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; }
.alc-dialog__delta[data-dir="up"] { color: #207f48; }
.alc-dialog__delta[data-dir="down"] { color: #d03040; }
.alc-dialog__link { display: inline-flex; align-items: center; gap: 4px; color: #6d2fd0; text-decoration: none; }
.alc-dialog__link:hover { text-decoration: underline; }

/* Alerts: filter buttons no longer clipped top/bottom (room for the lift), tighter popup spacing. */
.adm.nova-client .alc-filters { padding: 4px 3px 6px; margin: -4px -3px -6px; }
.alc-dialog { gap: 8px; }
.alc-dialog__hero { margin-bottom: 4px; }
.alc-dialog__change { padding: 10px 12px; }

/* Orders phone row: content a little further left (clip edge moved), price a touch lower. */
@media (max-width: 860px) {
  .adm.nova-client .nova-orders-table .ptbl__frozen > .ptbl__frozen-row { padding-left: 12px; }
  .adm.nova-client .nova-orders-table .order-summary__amount { top: 26px; }
}

/* Account avatar: a true circle (uploaded / Google photo when there is one, initials otherwise). */
.adm.nova-client .nova-account-menu .nova-avatar {
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  flex: none !important;
  padding: 0 !important;
  overflow: hidden;
  line-height: 1;
}
.adm.nova-client .nova-account-menu .nova-topbar__control .nova-avatar { width: 28px !important; height: 28px !important; min-width: 28px; }
.adm.nova-client .nova-account-menu__panel .nova-avatar { width: 38px !important; height: 38px !important; min-width: 38px; font-size: 13px; }
.adm.nova-client .nova-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

/* Billing: the credits card flashes briefly when "Manage credits" brings you to it. */
.autodrop-wallet-cards article[data-flash="true"] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ad-action, #7b3fd6) 45%, transparent); transition: box-shadow 0.3s; }

/* Alert popup: each value sits right beside its title. */
.alc-dialog .qv-row { display: flex; justify-content: flex-start; align-items: center; gap: 18px; }
.alc-dialog .qv-row dt { min-width: 44px; flex: none; }
.alc-dialog .qv-row dd { margin: 0; text-align: start; }

/* Account avatar: smaller circle (desktop and phone). */
.adm.nova-client .nova-account-menu .nova-topbar__control .nova-avatar { width: 22px !important; height: 22px !important; min-width: 22px; font-size: 9px; }
.adm.nova-client .nova-account-menu__panel .nova-avatar { width: 32px !important; height: 32px !important; min-width: 32px; font-size: 12px; }

/* Desktop lists (products / drafts / orders): the "..." has no bubble, ring or shadow in any state, and sits snug to the note icon; supplier mark on the left of the id as on the phone. */
@media (min-width: 861px) {
  .adm.nova-client .ptbl__frozen-body .adm-menu,
  .adm.nova-client .pw-draftrow .adm-menu,
  .adm.nova-client .order-summary__actions .adm-menu,
  .adm.nova-client .ptbl__frozen-body .adm-menu__trigger,
  .adm.nova-client .pw-draftrow .adm-menu__trigger,
  .adm.nova-client .order-summary__actions .adm-menu__trigger,
  .adm.nova-client .ptbl__frozen-body .adm-menu__trigger:hover,
  .adm.nova-client .ptbl__frozen-body .adm-menu__trigger:focus,
  .adm.nova-client .ptbl__frozen-body .adm-menu__trigger:focus-visible,
  .adm.nova-client .ptbl__frozen-body .adm-menu__trigger:active,
  .adm.nova-client .ptbl__frozen-body .adm-menu__trigger[aria-expanded="true"],
  .adm.nova-client .ptbl__frozen-body .adm-menu__trigger[data-open="true"],
  .adm.nova-client .pw-draftrow .adm-menu__trigger:hover,
  .adm.nova-client .pw-draftrow .adm-menu__trigger:focus,
  .adm.nova-client .pw-draftrow .adm-menu__trigger[aria-expanded="true"],
  .adm.nova-client .order-summary__actions .adm-menu__trigger:hover,
  .adm.nova-client .order-summary__actions .adm-menu__trigger[aria-expanded="true"] {
    box-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    filter: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  .adm.nova-client .ptbl__frozen-body .adm-menu__trigger { width: 22px; min-width: 22px; }
  .adm.nova-client .sku-line { flex-direction: row-reverse; justify-content: flex-end; }
}

/* Alerts on desktop: full width to the left edge and taller cards. */
@media (min-width: 900px) {
  .adm.nova-client .alc { max-width: none; }
  .adm.nova-client .alc-stats { max-width: none; }
  .adm.nova-client .alc-row { min-height: 68px; padding: 12px 18px; gap: 16px; }
  .adm.nova-client .alc-stat { min-height: 64px; }
  .adm.nova-client .alc-row__icon { width: 34px; height: 34px; }
}

/* Editors (product and draft): the save / delete buttons sit in the vertical middle of the header card. */
.adm.nova-client .nova-ph__actions { align-self: center; justify-content: center; }

/* Pricing column: the value never runs over the BUY / SELL tag. */
.ptbl-money__row { grid-template-columns: minmax(max-content, 1fr) 44px; gap: 10px; }

/* Orders on desktop: same arrangement as the phone row. Supplier (small icon + name only) bottom-left, order number + store bottom-right,
   price centred between the top and bottom walls, "..." + note icon vertically centred at the left like products / drafts. */
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .order-summary__identity { padding-inline-end: 66px; padding-top: 3px; }
  .adm.nova-client .nova-orders-table .order-summary__ids {
    position: absolute;
    right: 68px;
    bottom: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
  }
  .adm.nova-client .nova-orders-table .order-summary__ids .order-summary__order-number { padding-left: 8px; border-left: 1px solid color-mix(in srgb, var(--adm-muted) 58%, transparent); }
  .adm.nova-client .nova-orders-table .order-summary__supplier {
    position: absolute;
    left: 0;
    bottom: 1px;
    margin: 0;
    width: max-content;
    max-width: 40%;
    font-size: 0.66rem;
    gap: 5px;
  }
  .adm.nova-client .nova-orders-table .order-summary__supplier > img,
  .adm.nova-client .nova-orders-table .order-summary__supplier > svg { width: 13px !important; height: 13px !important; }
  .adm.nova-client .nova-orders-table .order-summary__supplier-id { display: none; }
  .adm.nova-client .nova-orders-table .order-summary__amount {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.78rem;
  }
  .adm.nova-client .nova-orders-table .order-summary__actions { left: 0; top: 50%; transform: translateY(-50%); }
}

/* Orders on desktop, adjusted: "..." + note icon in the top-left corner, supplier and order number / store lower, price centred between them, title back where it was. */
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .order-summary__actions { top: 0; transform: none; left: -2px; }
  .adm.nova-client .nova-orders-table .order-summary__supplier { bottom: -6px; }
  .adm.nova-client .nova-orders-table .order-summary__ids { bottom: -6px; }
  .adm.nova-client .nova-orders-table .order-summary__amount { top: 42px; }
  .adm.nova-client .nova-orders-table .order-summary__identity { padding-top: 15px; }
}
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .order-summary__amount { top: 37px; }
}

/* Orders on desktop: title block up, "..." + note icon higher in the corner, nothing at the bottom clipped. */
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .ptbl__frozen-body { overflow: visible; }
  .adm.nova-client .nova-orders-table .order-summary__identity { padding-top: 0; }
  .adm.nova-client .nova-orders-table .order-summary__actions { top: -7px; left: -4px; }
  .adm.nova-client .nova-orders-table .order-summary__amount { top: 33px; }
}

/* Orders on desktop: the title sits level with the note icon and runs almost up to it; the description below keeps clear of the price. */
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .order-summary__identity { padding-inline-end: 0; padding-top: 2px; }
  .adm.nova-client .nova-orders-table .order-summary__detail { padding-inline-end: 66px; }
}

/* Orders on desktop: title block a little higher; the price sits centred right above the supplier. */
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .order-summary__identity { margin-top: -4px; }
  .adm.nova-client .nova-orders-table .order-summary__detail { padding-inline-end: 80px; }
  .adm.nova-client .nova-orders-table .order-summary__amount { left: 0; top: 37px; min-width: 76px; justify-content: center; box-sizing: border-box; }
}
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .order-summary__body { align-self: start; }
  .adm.nova-client .nova-orders-table .order-summary__identity { margin-top: 0; padding-top: 2px; }
}
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .order-summary__identity { margin-top: -5px; }
  .adm.nova-client .nova-orders-table .order-summary__amount { top: 34px; }
}
@media (min-width: 861px) {
  .adm.nova-client .nova-orders-table .order-summary__amount { left: 18px; top: 32px; min-width: 0; justify-content: flex-start; }
}

/* Products / drafts on desktop: the same arrangement as orders. "..." + note icon in the top-left corner, supplier (icon + name) bottom-left,
   store bottom-right, title level with the note icon and running almost up to it. The phone cards are untouched. */
.pdesk-supplier { display: none; }
@media (min-width: 861px) {
  .adm.nova-client .ptbl__frozen-body > .pdesk { position: relative; align-items: flex-start; min-height: 60px; }
  .adm.nova-client .pw-draftrow.pdesk { position: relative; }
  .adm.nova-client .pdesk .pdesk-supplier {
    display: inline-flex; align-items: center; gap: 5px; position: absolute; left: 0; bottom: -2px;
    max-width: 30%; overflow: hidden; white-space: nowrap; font-size: 0.66rem; color: var(--adm-muted); direction: ltr;
  }
  .adm.nova-client .pw-draftrow.pdesk .pdesk-supplier { left: 14px; bottom: 6px; }
  .adm.nova-client .pdesk .pdesk-supplier img, .adm.nova-client .pdesk .pdesk-supplier svg { width: 13px !important; height: 13px !important; }
  /* "..." then the note icon, top-left */
  .adm.nova-client .ptbl__frozen-body > .pdesk > .adm-menu { position: absolute; left: -4px; top: -6px; z-index: 2; }
  .adm.nova-client .ptbl__frozen-body > .pdesk > span:not(.pdesk-supplier) { position: absolute; left: 22px; top: -2px; z-index: 2; line-height: 0; }
  .adm.nova-client .pw-draftrow.pdesk > .adm-menu { position: absolute; left: 8px; top: 6px; z-index: 2; }
  .adm.nova-client .pw-draftrow.pdesk > span:not(.pdesk-supplier) { position: absolute; left: 36px; top: 11px; z-index: 2; line-height: 0; }
  /* products: title level with the note icon; SKU line is replaced by the supplier mark, store goes bottom-right */
  .adm.nova-client .ptbl__frozen-body > .pdesk > a { align-items: flex-start; padding-left: 52px; min-height: 60px; }
  .adm.nova-client .ptbl__frozen-body > .pdesk > a > span { margin-top: -2px; }
  .adm.nova-client .ptbl__frozen-body > .pdesk .sku-line { display: none; }
  .adm.nova-client .ptbl__frozen-body > .pdesk .store-tag { position: absolute; right: 68px; bottom: -2px; }
  /* drafts: info block starts at the top, clear of the corner icons */
  .adm.nova-client .pw-draftrow.pdesk { align-items: flex-start !important; min-height: 80px; }
  .adm.nova-client .pw-draftrow.pdesk > div[style*="flex: 1"] { margin-left: 70px; align-self: flex-start; }
  .adm.nova-client .pw-draftrow.pdesk > .adm-btn[data-variant="primary"] { align-self: center; }
}
@media (min-width: 861px) {
  .adm.nova-client .ptbl__frozen-body > .pdesk .sku-line { display: none !important; }
  .adm.nova-client .pw-draftrow.pdesk > .adm-btn[data-variant="primary"] { margin-left: 62px; }
  .adm.nova-client .pw-draftrow.pdesk > div[style*="flex: 1"] { margin-top: -4px; margin-left: 0; }
}
@media (min-width: 861px) {
  .adm.nova-client .ptbl__frozen-body > .pdesk .store-tag { right: 104px; }
}
@media (min-width: 861px) {
  .adm.nova-client .ptbl__frozen-body > .pdesk .pdesk-supplier { bottom: -5px; }
  .adm.nova-client .ptbl__frozen-body > .pdesk .store-tag { bottom: -3px; }
}
@media (min-width: 861px) {
  .adm.nova-client .ptbl__frozen-body > .pdesk > .adm-menu { top: -12px; }
}
/* Products / drafts tables on desktop: nothing at the top or bottom of the first column is clipped by the row edge. */
@media (min-width: 861px) {
  .adm.nova-client .ptbl__frozen-body:has(> .pdesk) { overflow: visible; }
}

/* Status menu (order status list): items are flat, hover shows a soft background and never moves or distorts. Unscoped: it renders in a portal. */
.osp-item { background: transparent; border-radius: 4px; transform: none !important; box-shadow: none !important; transition: background-color 120ms ease-out; }
.osp-item[data-selected="true"] { background: #fbf4e2; }
.osp-item:hover:not([aria-disabled="true"]) { background: #eef2f7 !important; border: 0 !important; transform: none !important; box-shadow: none !important; }
.osp-item[data-selected="true"]:hover:not([aria-disabled="true"]) { background: #f6ebcc !important; }
.osp-item:active { transform: none !important; }

/* Pricing column: the "Price" heading is centred over its column. */
.adm.nova-client .ptbl__th[data-key="price"] { text-align: center; }
.adm.nova-client .ptbl__th[data-key="price"] > * { margin-inline: auto; }

/* Phone: the profile circle is smaller, in the top bar and in the profile menu. */
@media (max-width: 860px) {
  .adm.nova-client .nova-account-menu .nova-topbar__control .nova-avatar { width: 20px !important; height: 20px !important; min-width: 20px; font-size: 8px; }
  .adm.nova-client .nova-account-menu__panel .nova-avatar { width: 26px !important; height: 26px !important; min-width: 26px; font-size: 10px; }
}

/* Order status menu items: beat the generic client button hover (white fill, purple text, frame and shadow) so hover is just a soft background. */
:is(.adm.nova-client, body[data-surface="client"]) .adm-btn.osp-item.osp-item.osp-item.osp-item.osp-item.osp-item.osp-item { background-color: transparent !important; background-image: none !important; box-shadow: none !important; border-color: transparent !important; transform: none !important; }
:is(.adm.nova-client, body[data-surface="client"]) .adm-btn.osp-item.osp-item.osp-item.osp-item.osp-item.osp-item.osp-item[data-selected="true"] { background-color: #fbf4e2 !important; }
:is(.adm.nova-client, body[data-surface="client"]) .adm-btn.osp-item.osp-item.osp-item.osp-item.osp-item.osp-item.osp-item:hover:not([aria-disabled="true"]) { background-color: #eef2f7 !important; background-image: none !important; box-shadow: none !important; color: var(--adm-ink) !important; border-color: transparent !important; transform: none !important; }
:is(.adm.nova-client, body[data-surface="client"]) .adm-btn.osp-item.osp-item.osp-item.osp-item.osp-item.osp-item.osp-item[data-selected="true"]:hover:not([aria-disabled="true"]) { background-color: #f6ebcc !important; }

/* ===== Product Research (Marketplace / Trending / Saved) - 2026-11-06 ===== */
.adm.nova-client .rs-page { display: grid; gap: 14px; min-width: 0; }
.adm.nova-client .rs-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.adm.nova-client .rs-switch__btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--adm-line-strong); border-radius: 4px; background: var(--adm-panel); color: var(--adm-ink); font: inherit; font-weight: 600; cursor: pointer; }
.adm.nova-client .rs-switch__btn[data-active="true"] { border-color: var(--adm-accent); box-shadow: inset 0 0 0 1px var(--adm-accent); }
.adm.nova-client .rs-filters { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); min-width: 0; }
.adm.nova-client .rs-filters__search { display: flex; gap: 8px; align-items: flex-end; max-width: 680px; }
.adm.nova-client .rs-filters__search .adm-btn { height: 36px; }
.adm.nova-client .rs-filters__row { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.adm.nova-client .rs-filters__actions { display: flex; align-items: flex-end; }
.adm.nova-client .rs-f { display: grid; gap: 4px; min-width: 0; font-size: 12px; }
.adm.nova-client .rs-f > span { color: var(--adm-muted); font-size: 12px; }
.adm.nova-client .rs-local { font-style: normal; color: var(--adm-warn); }
.adm.nova-client .rs-state { padding: 18px; }
.adm.nova-client .rs-results { display: grid; gap: 12px; min-width: 0; }
.adm.nova-client .rs-results[data-fetching="true"] .rs-grid { opacity: .6; transition: opacity 167ms; }
.adm.nova-client .rs-notes { margin: 0; padding: 8px 12px; list-style: none; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); color: var(--adm-muted); font-size: 12px; }
.adm.nova-client .rs-hint { margin: 0; color: var(--adm-muted); font-size: 12px; }
.adm.nova-client .rs-err { color: var(--adm-err); font-size: 13px; }
.adm.nova-client .rs-signal { margin: 0; padding: 8px 12px; border: 1px solid var(--adm-line); border-inline-start: 3px solid var(--adm-info); border-radius: 4px; background: var(--adm-panel); font-size: 13px; }
.adm.nova-client .rs-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm.nova-client .rs-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); overflow: hidden; }
.adm.nova-client .rs-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #f3f2ef; }
.adm.nova-client .rs-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm.nova-client .rs-card__noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--adm-muted); }
.adm.nova-client .rs-card__prov { position: absolute; inset-block-start: 6px; inset-inline-start: 6px; }
.adm.nova-client .rs-card__body { display: grid; gap: 6px; padding: 8px; min-width: 0; flex: 1; align-content: start; }
.adm.nova-client .rs-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--adm-ink); font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; min-height: 2.7em; }
.adm.nova-client .rs-card__title:hover { text-decoration: underline; }
.adm.nova-client .rs-card__price { font-weight: 700; font-size: 14px; text-align: end; }
.adm.nova-client .rs-card__meta { display: grid; gap: 2px; margin: 0; font-size: 11px; }
.adm.nova-client .rs-card__meta > div { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.adm.nova-client .rs-card__meta dt { color: var(--adm-muted); display: inline-flex; align-items: center; gap: 3px; flex: none; }
.adm.nova-client .rs-card__meta dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; text-align: end; }
.adm.nova-client .rs-card__signals { display: flex; flex-wrap: wrap; gap: 4px; }
.adm.nova-client .rs-card__foot { font-size: 10.5px; color: var(--adm-muted); }
.adm.nova-client .rs-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.adm.nova-client .rs-iconbtn { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--adm-line-strong); border-radius: 4px; background: var(--adm-panel); color: var(--adm-muted); cursor: pointer; text-decoration: none; }
.adm.nova-client .rs-iconbtn:hover:not(:disabled) { color: var(--adm-ink); background: #f3f2ef; }
.adm.nova-client .rs-iconbtn[data-on="true"] { color: var(--adm-err); border-color: var(--adm-err); }
.adm.nova-client .rs-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.adm.nova-client .rs-pager__pages { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.adm.nova-client .rs-pager .adm-btn[data-current="true"] { border-color: var(--adm-accent); font-weight: 700; }
.adm.nova-client .rs-pager__total, .adm.nova-client .rs-pager__gap { color: var(--adm-muted); font-size: 12px; }
.adm.nova-client .rs-feed { max-width: 420px; }
.adm.nova-client .rs-detailhead { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.adm.nova-client .rs-detail { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.adm.nova-client .rs-gallery { display: grid; gap: 8px; min-width: 0; }
.adm.nova-client .rs-gallery__main { aspect-ratio: 1 / 1; border: 1px solid var(--adm-line); border-radius: 4px; background: #f3f2ef; overflow: hidden; display: grid; place-items: center; }
.adm.nova-client .rs-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.adm.nova-client .rs-gallery__thumbs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.adm.nova-client .rs-gallery__thumbs button { flex: none; width: 54px; height: 54px; padding: 0; border: 1px solid var(--adm-line); border-radius: 4px; overflow: hidden; background: #f3f2ef; cursor: pointer; }
.adm.nova-client .rs-gallery__thumbs button[data-active="true"] { border-color: var(--adm-accent); box-shadow: inset 0 0 0 1px var(--adm-accent); }
.adm.nova-client .rs-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.adm.nova-client .rs-info { display: grid; gap: 10px; align-content: start; min-width: 0; }
.adm.nova-client .rs-info__top { display: flex; gap: 6px; flex-wrap: wrap; }
.adm.nova-client .rs-info__title { margin: 0; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.adm.nova-client .rs-info__price { font-size: 20px; font-weight: 700; text-align: end; }
.adm.nova-client .rs-info__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.adm.nova-client .rs-kv { display: grid; gap: 6px; margin: 0; font-size: 13px; }
.adm.nova-client .rs-kv > div { display: flex; justify-content: space-between; gap: 12px; min-width: 0; border-bottom: 1px dashed var(--adm-line); padding-bottom: 4px; }
.adm.nova-client .rs-kv dt { color: var(--adm-muted); flex: none; }
.adm.nova-client .rs-kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; text-align: end; }
.adm.nova-client .rs-kv--res dd { font-weight: 700; }
.adm.nova-client .rs-sec { display: grid; gap: 10px; padding: 12px; min-width: 0; align-content: start; }
.adm.nova-client .rs-sec h3 { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.adm.nova-client .rs-two { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.adm.nova-client .rs-inline { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.adm.nova-client .rs-inline > .rs-f, .adm.nova-client .rs-inline > input, .adm.nova-client .rs-inline > textarea { flex: 1; min-width: 140px; }
.adm.nova-client .rs-savepanel { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.adm.nova-client .rs-savepanel .rs-f { flex: 1; min-width: 160px; }
.adm.nova-client .rs-tablewrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--adm-line); border-radius: 4px; }
.adm.nova-client .rs-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.adm.nova-client .rs-table th, .adm.nova-client .rs-table td { padding: 6px 8px; text-align: start; border-bottom: 1px solid var(--adm-line); white-space: nowrap; }
.adm.nova-client .rs-table tr[data-active="true"] td { background: #f6f5f3; }
.adm.nova-client .rs-var { display: flex; align-items: center; gap: 8px; white-space: normal; min-width: 140px; }
.adm.nova-client .rs-var img { width: 32px; height: 32px; object-fit: cover; border-radius: 4px; flex: none; }
.adm.nova-client .rs-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.adm.nova-client .rs-hist li { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; border-bottom: 1px dashed var(--adm-line); padding-bottom: 4px; }
.adm.nova-client .rs-desc { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; max-height: 280px; overflow: auto; }
.adm.nova-client .rs-saved { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.adm.nova-client .rs-saved__side { display: grid; gap: 10px; padding: 10px; }
.adm.nova-client .rs-saved__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.adm.nova-client .rs-saved__tabs button { height: 30px; padding: 0 10px; border: 1px solid var(--adm-line-strong); border-radius: 4px; background: var(--adm-panel); color: var(--adm-ink); font: inherit; font-size: 12.5px; cursor: pointer; }
.adm.nova-client .rs-saved__tabs button[data-active="true"] { border-color: var(--adm-accent); box-shadow: inset 0 0 0 1px var(--adm-accent); font-weight: 600; }
.adm.nova-client .rs-count { color: var(--adm-muted); margin-inline-start: 4px; }
.adm.nova-client .rs-saved__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.adm.nova-client .rs-saved__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); min-width: 0; }
.adm.nova-client .rs-saved__img { width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: #f3f2ef; display: block; }
.adm.nova-client .rs-saved__img img { width: 100%; height: 100%; object-fit: cover; }
.adm.nova-client .rs-saved__main { display: grid; gap: 4px; min-width: 0; }
.adm.nova-client .rs-saved__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.adm.nova-client .rs-saved__note { margin: 0; font-size: 12.5px; overflow-wrap: anywhere; }
.adm.nova-client .rs-saved__actions { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.adm.nova-client .rs-saved__actions > :first-child { flex: 1; min-width: 140px; max-width: 220px; }
.adm.nova-client .rs-saved__btns { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
@media (min-width: 640px) {
  .adm.nova-client .rs-filters__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adm.nova-client .rs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .adm.nova-client .rs-filters__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adm.nova-client .rs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adm.nova-client .rs-detail { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); }
  .adm.nova-client .rs-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm.nova-client .rs-saved { grid-template-columns: 260px minmax(0, 1fr); }
  .adm.nova-client .rs-saved__row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .adm.nova-client .rs-saved__actions { grid-column: auto; flex-direction: column; align-items: stretch; }
}
@media (min-width: 1280px) {
  .adm.nova-client .rs-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.adm.nova-client .rs-card__media { overflow: hidden; }
.adm.nova-client .rs-card__media img { position: absolute; inset: 0; }
.adm.nova-client .rs-card__prov { z-index: 1; }
.adm.nova-client .rs-card__actions > .adm-btn { flex: 1; justify-content: center; white-space: nowrap; }
.adm.nova-client .rs-card__prov { background: var(--adm-panel); }
.adm.nova-client .rs-prov { display: inline-flex; align-items: center; gap: 4px; }

/* TikTok Shop connection panel (Add Store) */
.tts-connect__logo { color: #010101; }
.tts-connect__state { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--adm-border, #e5e7eb); font-size: 13px; line-height: 1.5; text-align: start; }
.tts-connect__state[data-state="ready"] { border-color: #24834b; color: #1c6a3c; }
.tts-connect__state[data-state="setup"] { border-color: #b45f06; color: #8a4904; }
.tts-connect__facts { margin: 0; display: grid; gap: 10px; text-align: start; }
.tts-connect__facts dt { font-size: 12px; font-weight: 800; margin-bottom: 2px; }
.tts-connect__facts dd { margin: 0; font-size: 13px; line-height: 1.55; color: var(--adm-muted, #6b7280); }
.tts-connect__market { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tts-connect__market button { min-height: 40px; border-radius: 10px; border: 1px solid var(--adm-border, #e5e7eb); background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.tts-connect__market button[data-on="true"] { border-color: var(--ad-action, #7c3aed); font-weight: 800; }
.tts-connect__market button:focus-visible { outline: 2px solid var(--ad-action, #7c3aed); outline-offset: 2px; }
.wix-connect__logo { color: #0c6ebd; }
.wix-connect__state { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--adm-border, #e5e7eb); font-size: 13px; line-height: 1.5; text-align: start; }
.wix-connect__state[data-state="ready"] { border-color: #24834b; color: #1c6a3c; }
.wix-connect__state[data-state="setup"] { border-color: #b45f06; color: #8a4904; }
.wix-connect__facts { margin: 0; display: grid; gap: 10px; text-align: start; }
.wix-connect__facts dt { font-size: 12px; font-weight: 800; margin-bottom: 2px; }
.wix-connect__facts dd { margin: 0; font-size: 13px; line-height: 1.55; color: var(--adm-muted, #6b7280); }

.etsy-connect__logo { color: #f1641e; }
.etsy-connect__state { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--adm-border, #e5e7eb); font-size: 13px; line-height: 1.5; text-align: start; }
.etsy-connect__state[data-state="ready"] { border-color: #24834b; color: #1c6a3c; }
.etsy-connect__state[data-state="setup"] { border-color: #b45f06; color: #8a4904; }
.etsy-connect__facts { margin: 0; display: grid; gap: 10px; text-align: start; }
.etsy-connect__facts dt { font-size: 12px; font-weight: 800; margin-bottom: 2px; }
.etsy-connect__facts dd { margin: 0; font-size: 13px; line-height: 1.55; color: var(--adm-muted, #6b7280); }
.etsy-settings { display: grid; gap: 12px; padding: 12px; margin-top: 8px; border: 1px solid var(--adm-border, #e5e7eb); border-radius: 12px; text-align: start; }
.etsy-settings h4 { margin: 0; font-size: 13px; font-weight: 800; }
.etsy-settings__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.etsy-settings label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
.etsy-settings label.etsy-settings__check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.etsy-settings__note { font-size: 12px; line-height: 1.5; color: var(--adm-muted, #6b7280); margin: 0; }
.etsy-settings__result { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--adm-border, #e5e7eb); font-size: 13px; line-height: 1.5; }
.etsy-settings__result[data-status="eligible_declared"] { border-color: #24834b; color: #1c6a3c; }
.etsy-settings__result[data-status="unsupported"], .etsy-settings__result[data-status="insufficient_info"], .etsy-settings__result[data-status="requires_review"] { border-color: #b45f06; color: #8a4904; }
.etsy-settings__result ul { margin: 4px 0 0; padding-inline-start: 18px; }

/* ---- global settings (G4): logical properties only, so it mirrors in RTL and LTR ---- */
.global-settings { display: grid; gap: 14px; text-align: start; }
.global-settings__section { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--adm-border, #e5e7eb); border-radius: 12px; }
.global-settings__section h4 { margin: 0; font-size: 13px; font-weight: 800; }
.global-settings__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.global-settings label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
.global-settings small { font-weight: 500; color: var(--adm-muted, #6b7280); }
.global-settings__note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--adm-muted, #6b7280); }
.global-settings__table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--adm-border, #e5e7eb); }
.global-settings__table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 520px; }
.global-settings__table th, .global-settings__table td { padding: 6px 8px; text-align: start; border-block-end: 1px solid var(--adm-border, #e5e7eb); white-space: nowrap; }
.global-settings__table [data-tone="ok"] { color: #1c6a3c; font-weight: 700; }
.global-settings__table [data-tone="warn"] { color: #8a4904; font-weight: 700; }
.global-settings__table [data-tone="err"] { color: #a12626; font-weight: 700; }
.global-settings__table [data-tone="muted"] { color: var(--adm-muted, #6b7280); }
/* Hebrew nav item with a subtle English secondary line (e.g. "איתור ספקים" / "Sourcing"). */
.adm.nova-client .adm-nav a[data-has-sub="true"] { padding-block: 5px; }
.adm.nova-client .nova-nav__label { display: grid; gap: 0; line-height: 1.15; min-width: 0; text-align: start; }
.adm.nova-client .nova-nav__label > small { font-size: 10px; line-height: 1.1; font-weight: 500; opacity: 0.6; letter-spacing: 0.02em; text-align: start; }
.adm.nova-client .nova-drawer .adm-nav a[data-has-sub="true"] { padding-block: 6px; }
.adm.nova-client .nova-drawer .nova-nav__label > small { font-size: 10.5px; }
.nova-security-stepup {
  margin: auto;
  width: min(28rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border: 1px solid var(--border, #d8d6d1);
  border-radius: 14px;
  background: var(--background, #fff);
  color: var(--foreground, #191815);
  padding: 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.nova-security-stepup::backdrop { background: rgb(0 0 0 / 45%); }
.nova-security-stepup form { display: grid; gap: 1rem; }
.nova-security-stepup h2 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.nova-security-stepup p { margin: 0; }
.nova-security-stepup label { display: grid; gap: .35rem; }
.nova-security-stepup input {
  width: 100%; padding: .65rem; border: 1px solid var(--border, #d8d6d1);
  border-radius: 8px; background: inherit; color: inherit; font-size: 1rem;
}
.nova-security-stepup button { min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--border, #d8d6d1); border-radius: 8px; cursor: pointer; }
.nova-security-stepup button[type="submit"] { background: var(--foreground, #191815); color: var(--background, #fff); }
.nova-security-stepup button:hover { opacity: .85; }
.nova-security-stepup button:disabled { opacity: .5; cursor: not-allowed; }
.nova-security-stepup :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.nova-security-stepup-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.nova-security-stepup-error { color: var(--destructive, #b42318); }
/* Research module v2: contract-aware shipping/profit, token banner, grouped feeds, compact mobile cards, filters drawer. */
.adm.nova-client .rs-warn { margin: 0; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--adm-warn) 40%, var(--adm-line)); border-radius: 4px; background: color-mix(in srgb, var(--adm-warn) 8%, var(--adm-panel)); font-size: 12px; }
.adm.nova-client .rs-block { display: block; margin-top: 2px; white-space: normal; max-width: 220px; }
.adm.nova-client .rs-f--qty { flex: 0 0 84px; min-width: 70px; }
.adm.nova-client .rs-kv--calc dd { font-weight: 600; }
.adm.nova-client .rs-kv__strong dt { color: var(--adm-ink); font-weight: 650; }
.adm.nova-client .rs-kv__strong dd { font-weight: 700; }
.adm.nova-client .rs-excl { font-size: 12px; color: var(--adm-muted); }
.adm.nova-client .rs-excl summary { cursor: pointer; font-weight: 600; color: var(--adm-ink); }
.adm.nova-client .rs-excl ul { margin: 6px 0 0; padding-inline-start: 18px; display: grid; gap: 2px; }
.adm.nova-client .rs-tokenbanner { padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--adm-warn) 50%, var(--adm-line)); border-inline-start: 3px solid var(--adm-warn); border-radius: 4px; background: color-mix(in srgb, var(--adm-warn) 8%, var(--adm-panel)); font-size: 12.5px; display: grid; gap: 2px; }
.adm.nova-client .rs-tokenbanner p { margin: 0; }
.adm.nova-client .rs-feedbar { display: flex; flex-wrap: wrap; gap: 10px; }
.adm.nova-client .rs-feedbar .rs-feed { flex: 1 1 220px; }
.adm.nova-client .rs-hebrew { margin: 0; padding: 8px 12px; border: 1px solid var(--adm-line); border-inline-start: 3px solid var(--adm-info); border-radius: 4px; background: var(--adm-panel); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.adm.nova-client .rs-hebrew button { height: 26px; padding: 0 10px; border: 1px solid var(--adm-line-strong); border-radius: 4px; background: var(--adm-bg); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.adm.nova-client .rs-filterbtn { display: none; }
.adm.nova-client .rs-sheet__head { display: none; }
.adm.nova-client .rs-backdrop { display: none; }

/* filters: one compact row on tablet/desktop */
@media (min-width: 640px) {
  .adm.nova-client .rs-filters .rs-filters__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; }
  .adm.nova-client .rs-filters .rs-filters__row > .rs-f { flex: 1 1 130px; max-width: 210px; }
  .adm.nova-client .rs-filters .rs-filters__row > .rs-f:has(input) { flex-basis: 110px; max-width: 140px; }
  .adm.nova-client .rs-filters .rs-filters__actions { margin-inline-start: auto; }
  .adm.nova-client .rs-filters .rs-filters__search { max-width: 560px; }
}

/* compact desktop tightening */
.adm.nova-client .rs-page { gap: 10px; }
.adm.nova-client .rs-filters { padding: 10px; gap: 8px; }
.adm.nova-client .rs-card__body { gap: 5px; padding: 8px; }

/* mobile: purpose-built compact horizontal cards, filters in a bottom drawer */
@media (max-width: 639px) {
  .adm.nova-client .rs-page { gap: 8px; }
  .adm.nova-client .rs-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .adm.nova-client .rs-switch__btn { height: 34px; padding: 0 8px; justify-content: center; font-size: 12.5px; min-width: 0; }
  .adm.nova-client .rs-switch__btn .adm-badge { display: none; }

  .adm.nova-client .rs-filters { padding: 8px; }
  .adm.nova-client .rs-filters__search { max-width: none; align-items: flex-end; }
  .adm.nova-client .rs-filterbtn { display: inline-flex; align-items: center; gap: 4px; height: 36px; }
  .adm.nova-client .rs-filterbtn[data-count]::after { content: attr(data-count); min-width: 16px; height: 16px; line-height: 16px; border-radius: 4px; background: var(--adm-accent); color: #fff; font-size: 10px; text-align: center; }
  .adm.nova-client .rs-filters__row { display: none; }
  .adm.nova-client .rs-filters[data-open="true"] .rs-filters__row { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 2500; max-height: 82vh; overflow-y: auto; padding: 14px 14px 80px; background: var(--adm-panel); border-top: 1px solid var(--adm-line-strong); border-radius: 8px 8px 0 0; box-shadow: 0 -4px 16px rgb(0 0 0 / 12%); }
  .adm.nova-client .rs-filters[data-open="true"] .rs-sheet__head { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14px; }
  .adm.nova-client .rs-filters[data-open="true"] .rs-filters__actions { grid-column: 1 / -1; }
  .adm.nova-client .rs-filters[data-open="true"] .rs-filters__actions .adm-btn { width: 100%; justify-content: center; }
  .adm.nova-client .rs-filters[data-open="true"] .rs-backdrop { display: block; position: fixed; inset: 0; z-index: 2499; background: rgb(0 0 0 / 35%); }

  .adm.nova-client .rs-grid { grid-template-columns: 1fr; gap: 8px; }
  .adm.nova-client .rs-card { flex-direction: row; align-items: stretch; }
  .adm.nova-client .rs-card__media { flex: none; width: 96px; aspect-ratio: auto; min-height: 96px; }
  .adm.nova-client .rs-card__prov { display: none; }
  .adm.nova-client .rs-card__body { padding: 8px 10px; gap: 3px; }
  .adm.nova-client .rs-card__title { min-height: 0; font-size: 12.5px; line-height: 1.3; }
  .adm.nova-client .rs-card__price { text-align: start; font-size: 13.5px; }
  .adm.nova-client .rs-card__meta { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 11px; }
  .adm.nova-client .rs-card__meta > div { gap: 3px; }
  .adm.nova-client .rs-card__meta > div:nth-child(n+3) { display: none; }
  .adm.nova-client .rs-card__signals { display: none; }
  .adm.nova-client .rs-card__foot { display: none; }
  .adm.nova-client .rs-card__actions { gap: 4px; flex-wrap: nowrap; }
  .adm.nova-client .rs-card__actions > .adm-btn { flex: 1 1 0; padding-inline: 6px; min-width: 0; }
  .adm.nova-client .rs-card__actions .adm-btn[data-variant="primary"] { flex: 1.3 1 0; }

  .adm.nova-client .rs-detail { gap: 10px; }
  .adm.nova-client .rs-gallery__main { aspect-ratio: 4 / 3; }
  .adm.nova-client .rs-sec { padding: 10px; }
  .adm.nova-client .rs-info__actions .adm-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .adm.nova-client .rs-pager { gap: 6px; }
  .adm.nova-client .rs-pager__pages { order: 3; width: 100%; justify-content: center; }
}

@media (max-width: 639px) {
  /* the page subtitle is repeated knowledge on small screens; keep the title + notes tight */
  .adm.nova-client .nova-mk.rs-page > div:first-child p.text-sm { display: none; }
}

@media (max-width: 639px) {
  .adm.nova-client .rs-filters[data-bare="true"] { border: 0; background: none; padding: 0; }
  .adm.nova-client .rs-filters[data-bare="true"] .rs-filters__search { justify-content: flex-start; }
}
/* M8: lead -> supplier flow, translation line, pricing suggestion, drawers vs the floating support button. Logical properties only (RTL-safe). */
.adm.nova-client .rs-flow { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-bg); min-width: 0; }
.adm.nova-client .rs-flow__steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 11px; color: var(--adm-muted); counter-reset: st; }
.adm.nova-client .rs-flow__steps li { counter-increment: st; display: inline-flex; align-items: center; gap: 4px; }
.adm.nova-client .rs-flow__steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--adm-line-strong); font-size: 10px; }
.adm.nova-client .rs-flow__steps li:not(:last-child)::after { content: "›"; margin-inline-start: 2px; }
.adm.nova-client .rs-flow__steps li[data-state="now"] { color: var(--adm-ink); font-weight: 700; }
.adm.nova-client .rs-flow__steps li[data-state="now"]::before { background: var(--adm-accent); color: #fff; border-color: var(--adm-accent); }
.adm.nova-client .rs-flow__steps li[data-state="done"]::before { background: var(--adm-ok); color: #fff; border-color: var(--adm-ok); }
.adm.nova-client .rs-flow__sug, .adm.nova-client .rs-flow__prov { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.adm.nova-client .rs-chip { min-height: 32px; padding: 0 10px; border: 1px solid var(--adm-line-strong); border-radius: 14px; background: var(--adm-panel); font: inherit; font-size: 12px; cursor: pointer; }
.adm.nova-client .rs-chip[data-on="true"], .adm.nova-client .rs-flow__prov .adm-btn[data-active="true"] { border-color: var(--adm-accent); background: color-mix(in srgb, var(--adm-accent) 10%, var(--adm-panel)); }
.adm.nova-client .rs-iconbtn[data-on="true"] { color: var(--adm-accent); }
.adm.nova-client .rs-tabs2 { display: flex; gap: 6px; flex-wrap: wrap; }
.adm.nova-client .rs-tabs2 button { min-height: 36px; padding: 0 14px; border: 1px solid var(--adm-line-strong); border-radius: 4px; background: var(--adm-panel); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.adm.nova-client .rs-tabs2 button[data-active="true"] { background: var(--adm-ink); color: #fff; border-color: var(--adm-ink); }
.adm.nova-client .rs-leadbanner { margin: 0; padding: 8px 12px; border: 1px solid var(--adm-line); border-inline-start: 3px solid var(--adm-accent); border-radius: 4px; background: var(--adm-panel); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* translation line */
.adm.nova-client .rs-trans { margin: 0; padding: 8px 12px; border: 1px solid var(--adm-line); border-inline-start: 3px solid var(--adm-info); border-radius: 4px; background: var(--adm-panel); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; min-width: 0; }
.adm.nova-client .rs-trans[data-state="failed"] { border-inline-start-color: var(--adm-warn); }
.adm.nova-client .rs-trans bdi { font-weight: 700; overflow-wrap: anywhere; }
.adm.nova-client .rs-trans form { display: flex; gap: 6px; flex: 1 1 260px; min-width: 0; }
.adm.nova-client .rs-trans form .adm-input { flex: 1; min-width: 0; }
.adm.nova-client .rs-trans .adm-btn { min-height: 32px; }

/* pricing suggestion */
.adm.nova-client .rs-price { display: grid; gap: 8px; }
.adm.nova-client .rs-price__final { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--adm-line-strong); border-radius: 4px; background: var(--adm-bg); }
.adm.nova-client .rs-price__final strong { font-size: 18px; }

/* provenance + provider status */
.adm.nova-client .in-prov-chip { margin-inline-start: 6px; font-size: 10px; vertical-align: middle; }
.adm.nova-client .in-sum { display: flex; flex-wrap: wrap; gap: 6px; }
.adm.nova-client .in-lanes { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.adm.nova-client .in-lane { display: grid; gap: 6px; align-content: start; padding: 10px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-bg); min-width: 0; }
.adm.nova-client .in-lane h3 { margin: 0; font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.adm.nova-client .in-lane ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 4px; font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
@media (min-width: 900px) { .adm.nova-client .in-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Support launcher must never sit on top of a bottom sheet / drawer of these modules. */
body:has(.rs-filters[data-open="true"]) .nova-sm-launcher,
body:has(.in-drawer__panel) .nova-sm-launcher { display: none !important; }
@media (max-width: 639px) {
  .adm.nova-client .rs-flow__steps li:not([data-state]) { display: none; }
}

.adm.nova-client .rs-saved[data-leads="true"] { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 639px) {
  .adm.nova-client .in-view > .in-hint { display: none; }
}

/* Mobile: the wizard's primary action row sits exactly where the floating support button floats; support stays reachable from the bottom nav. */
@media (max-width: 639px) {
  body:has(.sq-steps) .nova-sm-launcher { display: none !important; }
}
/* Ads Spy + TikTok Analytics (intel). Scoped like the research styles; reuses --adm-* tokens. RTL-safe: logical properties only. */
.adm.nova-client .in-page { display: grid; gap: 14px; min-width: 0; }
.adm.nova-client .in-view { display: grid; gap: 14px; min-width: 0; }
.adm.nova-client .in-fixture { margin: 0; padding: 8px 12px; border: 1px dashed var(--adm-warn); border-radius: 4px; background: #fff8e6; color: var(--adm-warn); font-size: 12px; font-weight: 700; }

/* status panel */
.adm.nova-client .in-status { display: grid; gap: 14px; padding: 16px; min-width: 0; border-inline-start: 3px solid var(--adm-warn); }
.adm.nova-client .in-status__head { display: flex; gap: 10px; align-items: flex-start; color: var(--adm-warn); }
.adm.nova-client .in-status__head svg { flex: none; margin-top: 2px; }
.adm.nova-client .in-status__head h2 { margin: 0; font-size: 16px; font-weight: 700; color: var(--adm-ink); }
.adm.nova-client .in-status__head p { margin: 4px 0 0; font-size: 13px; color: var(--adm-muted); line-height: 1.5; }
.adm.nova-client .in-status__notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 12.5px; color: var(--adm-ink); }
.adm.nova-client .in-status__notes li { padding-inline-start: 12px; position: relative; }
.adm.nova-client .in-status__notes li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--adm-muted); }
.adm.nova-client .in-prov-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.adm.nova-client .in-prov { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-bg); min-width: 0; align-content: start; }
.adm.nova-client .in-prov__top { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.adm.nova-client .in-prov__row { margin: 0; font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.adm.nova-client .in-prov__row > span { display: block; font-size: 11px; color: var(--adm-muted); font-weight: 600; }
.adm.nova-client .in-prov__row--missing { color: var(--adm-ink); }
.adm.nova-client .in-prov__foot { margin: 0; font-size: 11px; color: var(--adm-muted); }
.adm.nova-client .in-check { padding: 12px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); }
.adm.nova-client .in-check h3 { margin: 0 0 8px; font-size: 14px; }
.adm.nova-client .in-check ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 10px; }
.adm.nova-client .in-check li { display: grid; gap: 2px; font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.adm.nova-client .in-check li em { font-style: normal; color: var(--adm-warn); }

/* connected note, hints */
.adm.nova-client .in-note { display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px; border: 1px solid var(--adm-line); border-inline-start: 3px solid var(--adm-ok); border-radius: 4px; background: var(--adm-panel); font-size: 12.5px; }
.adm.nova-client .in-note svg { color: var(--adm-ok); flex: none; margin-top: 2px; }
.adm.nova-client .in-note > div { display: grid; gap: 2px; min-width: 0; }
.adm.nova-client .in-hint { margin: 0; font-size: 12px; color: var(--adm-muted); line-height: 1.5; overflow-wrap: anywhere; }
.adm.nova-client .in-estimate { margin: 0; padding: 8px 12px; border-inline-start: 3px solid var(--adm-warn); background: #fff8e6; font-size: 12.5px; border-radius: 4px; }

/* filters */
.adm.nova-client .in-filters__row { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.adm.nova-client .in-f[data-wide="true"] { grid-column: 1 / -1; }
.adm.nova-client .in-countries { border: 1px solid var(--adm-line-strong); border-radius: 4px; background: var(--adm-panel); padding: 6px 10px; }
.adm.nova-client .in-countries summary { cursor: pointer; min-height: 24px; display: flex; align-items: center; font-size: 13px; }
.adm.nova-client .in-countries__grid { display: grid; gap: 4px 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 0 2px; }
.adm.nova-client .in-check-opt { display: flex; gap: 6px; align-items: center; font-size: 12.5px; min-height: 28px; }

/* tabs */
.adm.nova-client .in-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
.adm.nova-client .in-tabs .rs-switch__btn { flex: none; }

/* grid + cards */
.adm.nova-client .in-results { display: grid; gap: 12px; min-width: 0; }
.adm.nova-client .in-results[data-fetching="true"] .in-grid { opacity: .6; transition: opacity 167ms; }
.adm.nova-client .in-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm.nova-client .in-skel { height: 220px; border-radius: 4px; }
.adm.nova-client .in-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); overflow: hidden; }
.adm.nova-client .in-card__open { display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.adm.nova-client .in-card__media { aspect-ratio: 1 / 1; background: #f3f2ef; width: 100%; display: block; }
.adm.nova-client .in-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm.nova-client .in-card__body { display: grid; gap: 6px; padding: 8px; min-width: 0; align-content: start; flex: 1; }
.adm.nova-client .in-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--adm-ink); text-align: start; cursor: pointer; min-height: 2.7em; }
.adm.nova-client .in-card__title:not(.in-card__title--static):hover { text-decoration: underline; }
.adm.nova-client .in-card__title--static { cursor: default; }
.adm.nova-client .in-card__badges { display: flex; flex-wrap: wrap; gap: 4px; }
.adm.nova-client .in-card__meta { display: grid; gap: 2px; margin: 0; font-size: 11.5px; }
.adm.nova-client .in-card__meta > div { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.adm.nova-client .in-card__meta dt { color: var(--adm-muted); flex: none; }
.adm.nova-client .in-card__meta dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.adm.nova-client .in-card__counts { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11.5px; color: var(--adm-muted); }
.adm.nova-client .in-card__counts span { display: inline-flex; align-items: center; gap: 3px; }
.adm.nova-client .in-card__foot { margin: 0; font-size: 10.5px; color: var(--adm-muted); overflow-wrap: anywhere; }
.adm.nova-client .in-card .adm-btn { justify-self: start; }

/* ads */
.adm.nova-client .in-ad__adv { font-size: 13px; overflow-wrap: anywhere; }
.adm.nova-client .in-ad__title { margin: 0; font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.adm.nova-client .in-ad__text { margin: 0; font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.adm.nova-client .in-ad__full { margin: 0 0 6px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.adm.nova-client .in-dates { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 11.5px; color: var(--adm-muted); }

/* metrics */
.adm.nova-client .in-metrics { display: grid; gap: 6px; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm.nova-client .in-metrics > div { display: grid; gap: 1px; padding: 8px; border: 1px solid var(--adm-line); border-radius: 4px; min-width: 0; }
.adm.nova-client .in-metrics dt { font-size: 11px; color: var(--adm-muted); }
.adm.nova-client .in-metrics dd { margin: 0; font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.adm.nova-client .in-metrics small { display: block; font-size: 10px; font-weight: 600; color: var(--adm-warn); }

/* trend */
.adm.nova-client .in-trend { margin: 0; display: grid; gap: 2px; }
.adm.nova-client .in-trend svg { width: 100%; display: block; }
.adm.nova-client .in-trend__line { fill: none; stroke: var(--adm-accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.adm.nova-client .in-trend__area { fill: var(--adm-accent); opacity: .1; stroke: none; }
.adm.nova-client .in-trend__dot { fill: var(--adm-accent); }
.adm.nova-client .in-trend figcaption { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--adm-muted); }

/* actions */
.adm.nova-client .in-actions { display: grid; gap: 6px; }
.adm.nova-client .in-actions__row { display: flex; flex-wrap: wrap; gap: 6px; }

/* drawer */
.adm.nova-client .in-drawer { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; }
.adm.nova-client .in-drawer__scrim { position: absolute; inset: 0; background: rgb(15 23 42 / .45); }
.adm.nova-client .in-drawer__panel { position: relative; width: min(520px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--adm-panel); padding: 14px 16px 24px; display: grid; gap: 12px; align-content: start; outline: none; box-shadow: 0 0 24px rgb(15 23 42 / .25); }
.adm.nova-client .in-drawer__close { justify-self: start; position: sticky; top: 0; z-index: 1; }
.adm.nova-client .in-detail { display: grid; gap: 10px; min-width: 0; }
.adm.nova-client .in-detail h2 { margin: 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.adm.nova-client .in-detail h3 { margin: 4px 0 0; font-size: 13px; }
.adm.nova-client .in-detail__head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
.adm.nova-client .in-detail__head .in-card__media { border-radius: 4px; overflow: hidden; }
.adm.nova-client .in-rel { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.adm.nova-client .in-rel li { display: grid; gap: 1px; font-size: 12.5px; padding: 6px 8px; border: 1px solid var(--adm-line); border-radius: 4px; overflow-wrap: anywhere; }
.adm.nova-client .in-rel small { color: var(--adm-muted); font-size: 11px; }

@media (min-width: 640px) {
  .adm.nova-client .in-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adm.nova-client .in-grid--ads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm.nova-client .in-filters__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adm.nova-client .in-prov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm.nova-client .in-countries__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .adm.nova-client .in-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adm.nova-client .in-grid--ads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adm.nova-client .in-filters__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adm.nova-client .in-countries__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .adm.nova-client .in-detail__head { grid-template-columns: 72px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .adm.nova-client .in-results[data-fetching="true"] .in-grid { transition: none; }
}
.adm.nova-client .in-f .adm-input { width: 100%; min-width: 0; box-sizing: border-box; }

/* M9: info badge text was 3.7:1 on its tint; darken to pass AA */
.adm.nova-client .in-view .adm-badge[data-tone="info"], .adm.nova-client .in-drawer .adm-badge[data-tone="info"] { color: #5b1fb5; }
.adm.nova-client .in-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }

/* ===== M9c TikTok Analytics module (tt-*) ===== */
.adm.nova-client .tt-sr { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.adm.nova-client .tt-view, .adm.nova-client .tt-panel { display: grid; gap: 12px; min-width: 0; }
.adm.nova-client .tt-prov { max-width: 320px; }
.adm.nova-client .tt-seg { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--adm-line-strong); border-radius: 4px; overflow: hidden; background: var(--adm-panel); }
.adm.nova-client .tt-seg__btn { min-height: 30px; padding: 4px 10px; border: 0; border-inline-end: 1px solid var(--adm-line); background: transparent; font: inherit; font-size: 12.5px; color: var(--adm-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.adm.nova-client .tt-seg__btn:last-child { border-inline-end: 0; }
.adm.nova-client .tt-seg__btn[aria-pressed="true"] { background: var(--adm-accent); color: #fff; font-weight: 600; }
.adm.nova-client .tt-seg__btn:focus-visible { outline: 2px solid var(--adm-accent); outline-offset: -2px; }
.adm.nova-client .tt-compare { align-self: end; min-height: 36px; }
.adm.nova-client .tt-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm.nova-client .tt-viewtoggle { display: none; }
.adm.nova-client .tt-tableview { display: none; }

/* cards */
.adm.nova-client .tt-card .in-card__open { position: relative; }
.adm.nova-client .tt-pos { position: absolute; inset-block-start: 6px; inset-inline-start: 6px; padding: 1px 6px; border-radius: 4px; background: rgb(15 23 42 / .78); color: #fff; font-size: 11px; font-weight: 700; }
.adm.nova-client .tt-delta { display: inline-flex; align-items: center; gap: 2px; }
.adm.nova-client .tt-growth { font-weight: 700; }
.adm.nova-client .tt-growth[data-sign="up"] { color: #146c3a; }
.adm.nova-client .tt-growth[data-sign="down"] { color: #a1261b; }
.adm.nova-client .tt-spark { width: 100%; height: 28px; display: block; }
.adm.nova-client .tt-na { color: var(--adm-muted); }
.adm.nova-client .in-card__meta dd { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.adm.nova-client .in-card__meta .in-prov-chip { font-size: 9.5px; padding: 0 4px; flex: none; }

/* table */
.adm.nova-client .tt-tablewrap { position: relative; overflow-x: auto; border: 1px solid var(--adm-line); border-radius: 4px; max-width: 100%; background: var(--adm-panel); }
.adm.nova-client .tt-tablewrap:focus-visible { outline: 2px solid var(--adm-accent); }
.adm.nova-client .tt-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.adm.nova-client .tt-table th, .adm.nova-client .tt-table td { padding: 6px 8px; text-align: start; border-bottom: 1px solid var(--adm-line); vertical-align: middle; white-space: nowrap; }
.adm.nova-client .tt-table thead th { font-size: 11.5px; color: var(--adm-muted); font-weight: 600; background: var(--adm-panel-2, var(--adm-bg)); }
.adm.nova-client .tt-table .tt-table__title { white-space: normal; min-width: 220px; max-width: 360px; font-weight: 400; }
.adm.nova-client .tt-table .in-card__title { min-height: 0; }

/* detail */
.adm.nova-client .in-drawer__panel:has(.tt-detail) { width: min(760px, 100%); }
.adm.nova-client .tt-detail section { display: grid; gap: 8px; min-width: 0; }
.adm.nova-client .tt-detail .in-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm.nova-client .tt-detail .in-metrics dd { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13.5px; }
.adm.nova-client .tt-derived { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm.nova-client .tt-derived > div { display: grid; gap: 2px; padding: 8px; border: 1px solid var(--adm-line); border-radius: 4px; align-content: start; min-width: 0; }
.adm.nova-client .tt-derived span { font-size: 11px; color: var(--adm-muted); }
.adm.nova-client .tt-derived strong { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 15px; }
.adm.nova-client .tt-derived em { font-style: normal; color: var(--adm-muted); font-weight: 400; font-size: 13px; }
.adm.nova-client .tt-derived small { font-size: 11px; color: var(--adm-muted); line-height: 1.4; }
.adm.nova-client .tt-formula { font-size: 12px; color: var(--adm-muted); }
.adm.nova-client .tt-formula summary { cursor: pointer; min-height: 24px; display: flex; align-items: center; }
.adm.nova-client .tt-formula p { margin: 4px 0; line-height: 1.5; }
.adm.nova-client .tt-formula__code { font-family: ui-monospace, Menlo, monospace; font-size: 11px; overflow-wrap: anywhere; }
.adm.nova-client .tt-rel { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* chart */
.adm.nova-client .tt-chart { display: grid; gap: 6px; min-width: 0; }
.adm.nova-client .tt-chart__bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm.nova-client .tt-chart__title { font-size: 13px; }
.adm.nova-client .tt-chart__plot { width: 100%; min-width: 0; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); }
.adm.nova-client .tt-chart__plot svg { display: block; max-width: 100%; touch-action: pan-y; cursor: crosshair; }
.adm.nova-client .tt-chart__plot svg:focus-visible { outline: 2px solid var(--adm-accent); outline-offset: 1px; }
.adm.nova-client .tt-chart__grid { stroke: var(--adm-line); stroke-width: 1; }
.adm.nova-client .tt-chart__tick { font-size: 10px; fill: var(--adm-muted); }
.adm.nova-client .tt-chart__line { fill: none; stroke: var(--adm-accent); stroke-width: 2; stroke-linejoin: round; }
.adm.nova-client .tt-chart__area { fill: var(--adm-accent); opacity: .1; }
.adm.nova-client .tt-chart__cursor { stroke: var(--adm-muted); stroke-dasharray: 3 3; }
.adm.nova-client .tt-chart__dot { fill: var(--adm-accent); stroke: #fff; stroke-width: 1.5; }
.adm.nova-client .tt-chart__read { margin: 0; font-size: 12.5px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.adm.nova-client .tt-chart__table summary { cursor: pointer; font-size: 12px; color: var(--adm-muted); min-height: 24px; display: flex; align-items: center; }
.adm.nova-client .tt-chart__table .tt-tablewrap { max-height: 220px; overflow-y: auto; }

/* overview */
.adm.nova-client .tt-overview { display: grid; gap: 12px; min-width: 0; }
.adm.nova-client .tt-overview__bar { display: flex; justify-content: space-between; align-items: end; gap: 10px; flex-wrap: wrap; }
.adm.nova-client .tt-overview__bar .in-hint { flex: 1 1 260px; }
.adm.nova-client .tt-overview__grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.adm.nova-client .tt-block { padding: 10px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.adm.nova-client .tt-block h3 { margin: 0; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.adm.nova-client .tt-movers { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; min-width: 0; }
.adm.nova-client .tt-mover { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; align-items: center; padding: 6px; border: 1px solid var(--adm-line); border-radius: 4px; min-width: 0; }
.adm.nova-client .tt-mover .in-card__media { width: 52px; border-radius: 4px; overflow: hidden; }
.adm.nova-client .tt-mover__body { display: grid; gap: 3px; min-width: 0; }
.adm.nova-client .tt-mover__body .in-card__title { min-height: 0; -webkit-line-clamp: 2; }
.adm.nova-client .tt-mover__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 11.5px; }

@media (min-width: 640px) {
  .adm.nova-client .tt-overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .adm.nova-client .tt-viewtoggle { display: inline-flex; }
  .adm.nova-client .tt-grid[data-view="table"] { display: none; }
  .adm.nova-client .tt-tableview[data-view="table"] { display: block; }
}
@media (max-width: 767px) {
  .adm.nova-client .tt-detail .in-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .adm.nova-client .tt-grid { grid-template-columns: minmax(0, 1fr); }
  .adm.nova-client .tt-card:not(.tt-card--entity) { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
  .adm.nova-client .tt-card:not(.tt-card--entity) .in-card__open { align-self: start; }
  .adm.nova-client .tt-card--entity { display: grid; grid-template-columns: 72px minmax(0, 1fr); }
  .adm.nova-client .tt-rel { grid-template-columns: minmax(0, 1fr); }
  .adm.nova-client .tt-derived { grid-template-columns: minmax(0, 1fr); }
  .adm.nova-client .in-drawer__panel:has(.tt-detail) { padding-inline: 12px; }
}

.adm.nova-client .tt-card:not(.tt-card--entity) .in-card__media { aspect-ratio: 4 / 3; }
@media (max-width: 480px) { .adm.nova-client .tt-card:not(.tt-card--entity) .in-card__media { aspect-ratio: 1 / 1; } }

.adm.nova-client .tt-rel .tt-card--entity { display: grid; grid-template-columns: 88px minmax(0, 1fr); }
.adm.nova-client .tt-rel .tt-card--entity .in-card__media { aspect-ratio: 1 / 1; }

.adm.nova-client .tt-panel, .adm.nova-client .in-results { grid-template-columns: minmax(0, 1fr); }
.adm.nova-client .tt-tableview { min-width: 0; max-width: 100%; }

/* ---- M10: TikTok Discovery hashtag cards / detail ---- */
.adm.nova-client .tt-hashtag__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.adm.nova-client .tt-hashtag__head .in-card__title { text-align: start; overflow-wrap: anywhere; min-width: 0; }
.adm.nova-client .tt-gate { display: flex; align-items: center; gap: 6px; }
.adm.nova-client .tt-ages { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.adm.nova-client .tt-ages li { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; align-items: center; gap: 8px; font-size: 13px; }
.adm.nova-client .tt-ages__bar { display: block; height: 8px; border-radius: 4px; background: var(--adm-line); overflow: hidden; }
.adm.nova-client .tt-ages__bar i { display: block; height: 100%; background: var(--adm-accent); }
.adm.nova-client .tt-vids { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.adm.nova-client .tt-vids li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--adm-line); border-radius: 4px; min-width: 0; }
.adm.nova-client .tt-vids__rank { font-weight: 700; font-size: 12.5px; min-width: 28px; }
.adm.nova-client .tt-vids__embed { flex: 1 1 100%; width: 100%; max-width: 340px; height: 520px; border: 1px solid var(--adm-line); border-radius: 4px; }
.adm.nova-client .tt-hashtag .tt-pos { position: static; font-size: 12px; padding: 2px 7px; }

.adm.nova-client .tt-hashtag__dhead { display: block; }
.adm.nova-client .tt-hashtag__dhead h2 { overflow-wrap: anywhere; word-break: normal; }
.adm.nova-client .tt-vids__link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; margin-inline-end: auto; }

.adm.nova-client .tt-hashtag .in-card__meta > div { flex-wrap: wrap; }
.adm.nova-client .tt-hashtag .in-card__meta dt { flex: 1 1 auto; min-width: 0; }
.adm.nova-client .tt-hashtag .in-card__meta dd { flex: none; overflow: visible; }

/* ---- Discovery workspace (Trends / Videos / Product opportunities) ---- */
.adm.nova-client .dw { display: grid; gap: 14px; }
.adm.nova-client .dw-head { display: grid; gap: 10px; }
.adm.nova-client .dw-source { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--adm-muted); padding: 8px 12px; border: 1px solid var(--adm-line); border-inline-start: 3px solid var(--adm-ok); border-radius: 6px; background: var(--adm-panel); }
.adm.nova-client .dw-source svg { color: var(--adm-ok); flex: none; }
.adm.nova-client .dw-areas { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--adm-line); }
.adm.nova-client .dw-area { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-weight: 600; color: var(--adm-muted); cursor: pointer; margin-bottom: -1px; }
.adm.nova-client .dw-area[data-active="true"] { color: var(--adm-accent); border-bottom-color: var(--adm-accent); }
.adm.nova-client .dw-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--adm-line); border-radius: 8px; background: var(--adm-panel); }
.adm.nova-client .dw-f { display: grid; gap: 4px; min-width: 140px; font-size: 12px; color: var(--adm-muted); }
.adm.nova-client .dw-f--grow { flex: 1 1 220px; }
.adm.nova-client .dw-search { display: flex; align-items: center; gap: 6px; }
.adm.nova-client .dw-search .adm-input { flex: 1; min-width: 0; }
.adm.nova-client .dw-go { align-self: end; }
.adm.nova-client .dw-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.adm.nova-client .dw-kpi { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--adm-line); border-radius: 8px; background: var(--adm-panel); min-width: 0; }
.adm.nova-client .dw-kpi span { font-size: 12px; color: var(--adm-muted); }
.adm.nova-client .dw-kpi strong { font-size: 20px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm.nova-client .dw-kpi small { font-size: 12px; color: var(--adm-muted); }
.adm.nova-client .dw-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--adm-line); border-radius: 8px; background: var(--adm-panel); overflow: hidden; }
.adm.nova-client .dw-list[data-fetching="true"] { opacity: .6; }
.adm.nova-client .dw-row { display: grid; grid-template-columns: 44px minmax(180px, 2.2fr) minmax(110px, 1.2fr) minmax(90px, 1fr) minmax(80px, .9fr) minmax(100px, 1fr) minmax(240px, auto); gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--adm-line); }
.adm.nova-client .dw-row:first-child { border-top: 0; }
.adm.nova-client .dw-row--head { font-size: 12px; color: var(--adm-muted); background: var(--adm-panel-2, #f7f6f3); padding-block: 8px; }
.adm.nova-client .dw-rank { font-weight: 700; color: var(--adm-muted); text-align: center; font-variant-numeric: tabular-nums; }
.adm.nova-client .dw-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.adm.nova-client .dw-name__btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--adm-ink); cursor: pointer; text-align: start; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm.nova-client .dw-name__btn:hover { color: var(--adm-accent); text-decoration: underline; }
.adm.nova-client .dw-move { display: inline-flex; align-items: center; gap: 1px; flex: none; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 10px; background: var(--adm-line); color: var(--adm-muted); }
.adm.nova-client .dw-move[data-tone="up"] { background: #e3f5ea; color: #14703a; }
.adm.nova-client .dw-move[data-tone="down"] { background: #fdeaea; color: #a32626; }
.adm.nova-client .dw-move[data-tone="new"] { background: #efe7fb; color: #5b1fb5; }
.adm.nova-client .dw-cell { font-variant-numeric: tabular-nums; font-size: 14px; }
.adm.nova-client .dw-cell--main strong { font-size: 16px; }
.adm.nova-client .dw-spark { display: block; width: 100%; height: 28px; }
.adm.nova-client .dw-spark polyline { stroke: var(--adm-accent); }
.adm.nova-client .dw-spark[data-dir="down"] polyline { stroke: #a32626; }
.adm.nova-client .dw-spark--none { font-size: 12px; color: var(--adm-muted); }
.adm.nova-client .dw-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.adm.nova-client .dw-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; white-space: nowrap; }
.adm.nova-client .dw-skel { display: grid; gap: 8px; }
.adm.nova-client .dw-skel .adm-skeleton { height: 54px; border-radius: 8px; }
.adm.nova-client .dw-vidhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.adm.nova-client .dw-vidhead h3 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.adm.nova-client .dw-vidhead__acts { margin-inline-start: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.adm.nova-client .dw-vids { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.adm.nova-client .dw-vid { display: grid; gap: 6px; min-width: 0; }
.adm.nova-client .dw-vid__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #1b1630, #3b1a6b 60%, #0f0c1c); border: 1px solid var(--adm-line); }
.adm.nova-client .dw-vid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.adm.nova-client .dw-vid__play { position: absolute; inset: 0; width: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; border: 0; background: none; color: #fff; font: inherit; font-size: 13px; cursor: pointer; padding: 12px; text-align: center; }
.adm.nova-client .dw-vid__play:hover svg { transform: scale(1.08); }
.adm.nova-client .dw-vid__play svg { transition: transform 150ms; }
.adm.nova-client .dw-vid__none { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #cfc8e6; font-size: 12px; text-align: center; padding: 12px; }
.adm.nova-client .dw-vid__rank { position: absolute; top: 8px; inset-inline-end: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; pointer-events: none; }
.adm.nova-client .dw-vid__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.adm.nova-client .dw-vid__tag { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.adm.nova-client .dw-vid__skel { aspect-ratio: 9 / 16; border-radius: 10px; }
.adm.nova-client .dw-prod { display: grid; gap: 12px; }
.adm.nova-client .dw-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 8px; background: #f4effc; color: #3e1a7a; font-size: 13px; line-height: 1.5; }
.adm.nova-client .dw-note svg { flex: none; margin-top: 2px; }
.adm.nova-client .dw-leads { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (max-width: 1100px) {
  .adm.nova-client .dw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm.nova-client .dw-row { grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr); }
  .adm.nova-client .dw-row--head { display: none; }
  .adm.nova-client .dw-row .dw-name { grid-column: 2 / 4; }
  .adm.nova-client .dw-row .dw-cell--spark { grid-column: 1 / 4; }
  .adm.nova-client .dw-row .dw-cell[data-label]::before { content: attr(data-label) ": "; color: var(--adm-muted); font-size: 12px; }
  .adm.nova-client .dw-row .dw-cell--spark::before { content: none; }
  .adm.nova-client .dw-acts { grid-column: 1 / 4; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .adm.nova-client .dw-f { min-width: 0; flex: 1 1 140px; }
  .adm.nova-client .dw-vids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.adm.nova-client .dw-seg { display: inline-flex; border: 1px solid var(--adm-line-strong, var(--adm-line)); border-radius: 8px; overflow: hidden; }
.adm.nova-client .dw-seg__btn { border: 0; background: var(--adm-panel); padding: 9px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--adm-ink); }
.adm.nova-client .dw-seg__btn + .dw-seg__btn { border-inline-start: 1px solid var(--adm-line); }
.adm.nova-client .dw-seg__btn[aria-pressed="true"] { background: var(--adm-accent); color: #fff; font-weight: 600; }

.adm.nova-client .dw-vid__frame { background: #111; }
.adm.nova-client .dw-vid__load { position: absolute; inset: 0; display: grid; place-items: center; background: #111; }
.adm.nova-client .dw-vid__spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: dw-spin .8s linear infinite; }
@keyframes dw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .adm.nova-client .dw-vid__spin { animation-duration: 2s; } }

.adm.nova-client .dw-filtertoggle { display: none; }
@media (max-width: 520px) {
  .adm.nova-client .dw-areas { flex-wrap: nowrap; gap: 0; }
  .adm.nova-client .dw-area { flex: 1 1 0; justify-content: center; padding: 10px 4px; font-size: 13px; gap: 4px; min-width: 0; white-space: nowrap; }
  .adm.nova-client .dw-area svg { display: none; }
  .adm.nova-client .dw-filtertoggle { display: inline-flex; width: 100%; justify-content: center; }
  .adm.nova-client .dw-bar[data-open="false"] { display: none; }
  .adm.nova-client .dw-source { font-size: 12px; padding: 6px 10px; }
}

@media (max-width: 1100px) {
  .adm.nova-client .dw-row { grid-template-columns: 34px repeat(3, minmax(0, 1fr)); row-gap: 8px; padding: 13px 12px; }
  .adm.nova-client .dw-row .dw-rank { grid-column: 1; text-align: start; }
  .adm.nova-client .dw-row .dw-name { grid-column: 2 / 5; }
  .adm.nova-client .dw-row .dw-cell--spark { grid-column: 1 / 5; }
  .adm.nova-client .dw-row .dw-cell[data-label]:not(.dw-cell--spark) { display: grid; gap: 2px; align-content: start; }
  .adm.nova-client .dw-row .dw-cell[data-label]:not(.dw-cell--spark)::before { content: attr(data-label); font-size: 11px; color: var(--adm-muted); }
  .adm.nova-client .dw-acts { grid-column: 1 / 5; }
}

.adm.nova-client .dw-vid__frame iframe[data-ready="false"] { opacity: 0; pointer-events: none; }
.adm.nova-client .dw-vid__frame iframe[data-ready="true"] { opacity: 1; transition: opacity 200ms; }

.adm.nova-client .dw-diag { margin-top: 14px; }
.adm.nova-client .dw-diag__pre { margin: 8px 0 0; padding: 10px; background: #111; color: #d8d3e8; border-radius: 8px; font-size: 11px; line-height: 1.5; white-space: pre-wrap; word-break: break-all; max-height: 320px; overflow: auto; }


/* ---- video cards: placeholder / player / backup (TtVideos.tsx) ---- */
.adm.nova-client .dw-vid__frame { background: #17171b; }
.adm.nova-client .dw-vid__frame iframe[data-shown="false"] { opacity: 0; pointer-events: none; }
.adm.nova-client .dw-vid__frame iframe[data-shown="true"] { opacity: 1; transition: opacity 180ms; }
.adm.nova-client .dw-vid__ph { position: absolute; inset: 0; width: 100%; display: grid; place-items: center; background: linear-gradient(165deg, #202026, #131316); }
.adm.nova-client .dw-vid__ph:hover { color: #fff; }
.adm.nova-client .dw-vid__ph--over { background: transparent; opacity: 0; transition: opacity 120ms; }
.adm.nova-client .dw-vid__ph--over:hover, .adm.nova-client .dw-vid__ph--over:focus-visible { opacity: 1; background: rgba(0,0,0,.28); }
.adm.nova-client .dw-vid__snd { position: absolute; top: 40px; inset-inline-end: 8px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.62); color: #fff; cursor: pointer; z-index: 2; }
.adm.nova-client .dw-vid__acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.adm.nova-client .dw-vid__none { background: linear-gradient(165deg, #202026, #131316); }
.sq-page { display: grid; gap: 14px; min-width: 0; max-width: 100%; }
.sq-page > * { min-width: 0; }
.sq-page .adm-panel { padding: 14px; }
.sq-h2 { font-size: 0.95rem; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.sq-h3 { font-size: 0.85rem; font-weight: 700; margin: 0 0 6px; }
.sq-hint { color: var(--adm-muted); font-size: 0.78rem; margin: 2px 0; }
.sq-err { color: var(--adm-err); font-size: 0.82rem; margin: 4px 0; }
.sq-break { overflow-wrap: anywhere; word-break: break-word; }
.sq-id { color: var(--adm-muted); }

.sq-note { display: flex; gap: 8px; align-items: flex-start; padding: 9px 12px; border: 1px solid var(--adm-line); border-radius: 4px; background: color-mix(in srgb, var(--adm-info) 6%, var(--adm-panel)); font-size: 0.8rem; }
.sq-note[data-tone="warn"] { background: color-mix(in srgb, var(--adm-warn) 8%, var(--adm-panel)); }
.sq-note svg { flex: none; margin-top: 2px; color: var(--adm-info); }
.sq-note p { margin: 0; }

.sq-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--adm-line); overflow-x: auto; }
.sq-tabs button { padding: 8px 12px; font-size: 0.82rem; font-weight: 600; color: var(--adm-muted); border-bottom: 2px solid transparent; white-space: nowrap; background: none; }
.sq-tabs button[data-active="true"] { color: var(--adm-ink); border-bottom-color: var(--adm-ink); }

.sq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sq-chips button { height: 28px; padding: 0 10px; font-size: 0.76rem; font-weight: 600; border: 1px solid var(--adm-line-strong); border-radius: 4px; background: var(--adm-panel); color: var(--adm-ink); }
.sq-chips button[data-active="true"] { background: var(--adm-ink); border-color: var(--adm-ink); color: #fff; }

.sq-thumb { flex: none; display: inline-block; width: 44px; height: 44px; border-radius: 4px; background: var(--adm-bg); border: 1px solid var(--adm-line); overflow: hidden; }
.sq-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sq-thumb--lg { width: 64px; height: 64px; }
.sq-thumb--xl { width: 88px; height: 88px; }

.sq-cards { display: grid; gap: 8px; }
.sq-card { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); color: inherit; text-decoration: none; min-width: 0; }
.sq-card:hover { border-color: var(--adm-line-strong); }
.sq-card__main { display: grid; gap: 6px; min-width: 0; flex: 1; }
.sq-card__title { font-weight: 650; font-size: 0.88rem; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sq-card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 0.76rem; color: var(--adm-muted); }
.sq-desktop { display: none; }

.sq-tablewrap { padding: 0 !important; overflow-x: auto; }
.sq-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.sq-table th { text-align: start; padding: 9px 12px; font-size: 0.74rem; color: var(--adm-muted); border-bottom: 1px solid var(--adm-line); font-weight: 650; white-space: nowrap; }
.sq-table td { padding: 8px 12px; border-bottom: 1px solid var(--adm-line); vertical-align: middle; }
.sq-table tr:last-child td { border-bottom: 0; }
.sq-tbl-title { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; min-width: 200px; }
.sq-tbl-title:hover span:last-child { text-decoration: underline; }

@media (min-width: 768px) {
  .sq-cards { display: none; }
  .sq-desktop { display: block; }
}

.sq-skeleton { display: grid; gap: 10px; }
.sq-skeleton__row { height: 52px; border-radius: 4px; background: linear-gradient(90deg, var(--adm-bg), color-mix(in srgb, var(--adm-line) 60%, var(--adm-bg)), var(--adm-bg)); background-size: 200% 100%; animation: sq-shimmer 1.2s linear infinite; }
@keyframes sq-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sq-skeleton__row { animation: none; } }

/* wizard */
.sq-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 0.78rem; flex-wrap: wrap; }
.sq-steps li { display: inline-flex; }
.sq-steps li button { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 6px; border: 1px solid transparent; border-radius: 4px; background: none; color: var(--adm-muted); font: inherit; font-weight: 600; cursor: pointer; }
.sq-steps li button:disabled { cursor: default; opacity: 0.55; }
.sq-steps li button em { font-style: normal; }
.sq-steps li span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; border: 1px solid var(--adm-line-strong); font-size: 0.72rem; }
.sq-steps li[data-active="true"] button { color: var(--adm-ink); border-color: var(--adm-line-strong); background: var(--adm-panel); }
.sq-steps li[data-active="true"] span, .sq-steps li[data-done="true"] span { background: var(--adm-ink); border-color: var(--adm-ink); color: #fff; }
.sq-stepnow { display: none; margin: 0; font-size: 0.78rem; color: var(--adm-muted); font-weight: 600; }
@media (max-width: 767px) {
  .sq-steps { flex-wrap: nowrap; gap: 4px; }
  .sq-steps li { flex: 1 1 0; }
  .sq-steps li button { width: 100%; justify-content: center; padding: 3px 0; }
  .sq-steps li button em { display: none; }
  .sq-stepnow { display: block; }
}
.sq-form { display: grid; gap: 12px; align-content: start; }
.sq-form[hidden] { display: none; }
.sq-field { display: grid; gap: 4px; font-size: 0.8rem; min-width: 0; }
.sq-field > span { font-weight: 600; }
.sq-field .adm-input { width: 100%; min-width: 0; }
.sq-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sq-check { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; }
.sq-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.sq-actions--start { justify-content: flex-start; }
.sq-errs { margin: 0; padding: 0 18px 0 0; color: var(--adm-err); font-size: 0.8rem; }
.sq-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.sq-imgprev { width: 96px; height: 96px; border: 1px solid var(--adm-line); border-radius: 4px; overflow: hidden; }
.sq-imgprev img { width: 100%; height: 100%; object-fit: cover; }
.sq-picker { border: 1px solid var(--adm-line); border-radius: 4px; padding: 10px; display: grid; gap: 8px; background: var(--adm-bg); }
.sq-search { display: flex; align-items: center; gap: 6px; }
.sq-search .adm-input { flex: 1; min-width: 0; }
.sq-picker__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 260px; overflow-y: auto; }
.sq-picker__list button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; padding: 6px; border: 1px solid var(--adm-line); border-radius: 4px; background: var(--adm-panel); }
.sq-picker__list button:hover { border-color: var(--adm-ink); }
.sq-picker__t { flex: 1; min-width: 0; font-size: 0.82rem; font-weight: 600; overflow-wrap: anywhere; }
.sq-route { display: grid; gap: 6px; font-size: 0.82rem; }
.sq-route label { display: flex; gap: 8px; align-items: center; }

/* definition lists */
.sq-dl { display: grid; grid-template-columns: minmax(90px, max-content) minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 0.82rem; }
.sq-dl dt { color: var(--adm-muted); }
.sq-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sq-dl--tight { gap: 4px 12px; }

/* detail */
.sq-summary { display: flex; gap: 14px; align-items: flex-start; }
.sq-summary__main { display: grid; gap: 4px; min-width: 0; flex: 1; }
.sq-actionsbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sq-result { border-color: color-mix(in srgb, var(--adm-ok) 40%, var(--adm-line)); }
.sq-quotes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .sq-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sq-quote { border: 1px solid var(--adm-line); border-radius: 4px; padding: 10px; display: grid; gap: 8px; min-width: 0; }
.sq-quote[data-status="accepted"] { border-color: var(--adm-ok); }
.sq-quote[data-status="rejected"] { opacity: 0.7; }
.sq-quote__head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.sq-quote__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sq-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.82rem; }
.sq-timeline li { display: flex; gap: 10px; align-items: flex-start; }
.sq-timeline__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--adm-ink); margin-top: 6px; }
.sq-timeline li[data-internal] .sq-timeline__dot { background: var(--adm-warn); }
.sq-internal { margin-inline-start: 8px; }
.sq-admin { display: grid; gap: 12px; border-style: dashed !important; }
.sq-adm-block { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--adm-line); }
.sq-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sq-inline > :first-child { min-width: 180px; }
@media (max-width: 480px) {
  .sq-summary { flex-direction: column; }
  .sq-actionsbar .adm-btn { flex: 1 1 100%; }
}

/* header, crumbs, toolbar */
.sq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 12px; }
.sq-head__title { margin: 0; font-size: 1.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.sq-head__title small { display: block; margin-top: 1px; font-size: 0.72rem; font-weight: 500; color: var(--adm-muted); letter-spacing: 0.04em; text-align: start; }
.sq-head__helper { margin: 4px 0 0; font-size: 0.82rem; color: var(--adm-muted); max-width: 62ch; }
.sq-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sq-crumbs { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--adm-muted); margin-bottom: -6px; min-width: 0; }
.sq-crumbs a { color: inherit; text-decoration: none; }
.sq-crumbs a:hover { text-decoration: underline; }
.sq-crumbs [aria-current] { color: var(--adm-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sq-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sq-search { position: relative; }
.sq-search--grow { flex: 1 1 260px; max-width: 460px; }
.sq-search--grow svg { position: absolute; inset-inline-start: 9px; color: var(--adm-muted); pointer-events: none; }
.sq-search--grow .adm-input { padding-inline-start: 28px; padding-inline-end: 28px; }
.sq-clear { position: absolute; inset-inline-end: 6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: none; color: var(--adm-muted); }
.sq-sort { width: 170px; }
.sq-count { margin: 0; font-size: 0.78rem; color: var(--adm-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.sq-link { background: none; border: 0; padding: 0; color: var(--adm-info); font: inherit; font-size: 0.78rem; cursor: pointer; text-decoration: underline; }
.sq-field--narrow { max-width: 320px; }
.sq-cards[data-fetching="true"], .sq-desktop[data-fetching="true"] { opacity: 0.6; transition: opacity 167ms; }
.sq-page .sq-chips { gap: 4px; }
@media (max-width: 767px) {
  .sq-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .sq-chips button { flex: none; }
  .sq-sort { flex: 1 1 140px; width: auto; }
  .sq-head__actions, .sq-head__actions .adm-btn { width: 100%; }
  .sq-head__actions .adm-btn { justify-content: center; }
  .sq-page .adm-panel { padding: 12px; }
}

@media (max-width: 767px) {
  .sq-page--wizard .sq-head__helper, .sq-page--wizard .sq-head__actions { display: none; }
  .sq-page--wizard .sq-actions .adm-btn { flex: 1 1 0; justify-content: center; }
}
/*
 * AutoDrop Customer Inbox - Lovable visual match (design-only).
 * Source of truth: AutoDrop-Support-Customer-Portal-Final design system +
 * customer-portal-lovable-live.css from the approved production package.
 * Deliberately changes no TSX / data / API / auth behavior.
 */
.aci-shell {
  --aci-ink: oklch(0.22 0.025 282);
  --aci-muted: oklch(0.53 0.026 277);
  --aci-line: oklch(0.91 0.012 278);
  --aci-brand: oklch(0.57 0.23 293);
  --aci-brand-strong: oklch(0.52 0.24 293);
  --aci-brand-soft: oklch(0.955 0.033 293);
  --aci-brand-border: oklch(0.86 0.06 294);
  --aci-workspace: oklch(0.947 0.003 270);
  --aci-conversation: oklch(0.965 0.002 270);
  --aci-surface: oklch(0.995 0.002 276);
  --aci-shadow-panel: 0 1px 2px oklch(0.22 0.005 270 / 0.06), 0 8px 24px -12px oklch(0.22 0.005 270 / 0.16);
  --aci-shadow-control: inset 0 1px 0 oklch(1 0 0 / 0.8), 0 1px 2px oklch(0.2 0 0 / 0.09), 0 4px 10px -4px oklch(0.2 0 0 / 0.14);
  --aci-shadow-message: 0 1px 2px oklch(0.2 0.005 270 / 0.07), 0 5px 14px -7px oklch(0.2 0.005 270 / 0.12);
  --aci-shadow-composer: 0 2px 4px oklch(0.2 0.005 270 / 0.05), 0 8px 24px -8px oklch(0.2 0.005 270 / 0.15);
  box-sizing: border-box;
  container: aci-panel / inline-size;
  isolation: isolate;
  position: relative;
  direction: rtl;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  height: clamp(600px, calc(100dvh - 120px), 880px);
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--aci-line);
  border-radius: 12px;
  background: var(--aci-surface);
  color: var(--aci-ink);
  font-family: "Assistant", "Heebo", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  font-synthesis: none;
  box-shadow: var(--aci-shadow-panel);
}
.aci-shell *, .aci-shell *::before, .aci-shell *::after { box-sizing: border-box; }
.aci-shell button, .aci-shell input, .aci-shell select, .aci-shell textarea { font: inherit; }
.aci-shell button { cursor: pointer; }
.aci-shell button:disabled { opacity: 0.45; cursor: not-allowed; }
.aci-shell :is(button, input, select, textarea):focus-visible {
  outline: 2px solid var(--aci-brand);
  outline-offset: 2px;
}
.aci-header, .aci-header__actions, .aci-heading, .aci-store, .aci-btn,
.aci-list__header, .aci-list__footer, .aci-info__heading, .aci-chat-head,
.aci-compose__footer, .aci-thread__top, .aci-thread__meta { display: flex; align-items: center; }

/* Single inset header - no unrelated page hero, matching the Lovable portal. */
.aci-header {
  flex: 0 0 auto;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 11px 20px;
  background: var(--aci-surface);
  border-bottom: 1px solid var(--aci-line);
}
.aci-heading { flex: 1 1 auto; gap: 0; min-width: 0; }
.aci-heading__icon { display: none; }
.aci-heading h1 { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 750; letter-spacing: -.01em; }
.aci-heading p { display: none; }
.aci-header__actions { gap: 10px; flex: 0 1 auto; min-width: 0; }
.aci-store { gap: 7px; padding: 6px 9px; border: 0; background: transparent; color: var(--aci-muted); white-space: nowrap; font-size: 11px; }
.aci-store svg { width: 14px; height: 14px; color: var(--aci-muted); }
.aci-btn {
  appearance: none;
  gap: 6px;
  justify-content: center;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid var(--aci-line);
  border-radius: 7px;
  background: var(--aci-surface);
  color: var(--aci-ink);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.aci-btn:hover:not(:disabled) { background: var(--aci-brand-soft); border-color: var(--aci-brand-border); }
.aci-btn--neutral { background: var(--aci-surface); }
.aci-btn--primary { background: var(--aci-brand); color: white; border-color: var(--aci-brand); box-shadow: var(--aci-shadow-control); }
.aci-btn--primary:hover:not(:disabled) { background: var(--aci-brand-strong); border-color: var(--aci-brand-strong); }

/* Status must remain readable, but never look like a separate card on top of the portal. */
.aci-banner {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 18px;
  border: 0;
  border-bottom: 1px solid var(--aci-line);
  border-radius: 0;
  background: oklch(0.975 0.012 292);
  color: oklch(0.43 0.053 286);
  font-size: 11px;
  line-height: 1.55;
}
.aci-banner svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 1px; color: var(--aci-brand); }
.aci-error { flex: 0 0 auto; margin: 0; padding: 9px 17px; background: oklch(0.97 0.023 26); color: #9f3544; font-size: 11px; border-bottom: 1px solid var(--aci-line); }

/* Lovable composition: inbox at right, grey conversation in the center, details at left. */
.aci-grid {
  direction: rtl;
  display: grid;
  grid-template-columns: minmax(252px, 300px) minmax(0, 1fr) minmax(190px, 230px);
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--aci-surface);
  box-shadow: none;
}
.aci-list, .aci-conversation, .aci-info { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.aci-list, .aci-conversation { border-inline-end: 1px solid var(--aci-line); }
.aci-list, .aci-info { background: var(--aci-surface); }
.aci-conversation { background: var(--aci-conversation); }

/* Right / Inbox pane, visually based on Lovable's sidebar. */
.aci-list__header { min-height: 56px; justify-content: space-between; gap: 6px; padding: 13px 16px 10px; }
.aci-list__header strong { color: var(--aci-ink); font-size: 13px; font-weight: 720; }
.aci-list__header span { display: inline-block; padding: 2px 7px; border-radius: 5px; background: var(--aci-brand-soft); color: var(--aci-brand); font-weight: 700; font-size: 10px; white-space: nowrap; }
.aci-filters { padding: 0 14px 13px; display: grid; gap: 10px; }
.aci-search {
  display: flex; align-items: center; gap: 8px;
  min-width: 0; height: 41px; padding: 0 11px;
  border: 1px solid var(--aci-line); border-radius: 7px;
  background: var(--aci-conversation); color: var(--aci-muted);
}
.aci-search:focus-within { border-color: var(--aci-brand-border); box-shadow: 0 0 0 2px var(--aci-brand-soft); }
.aci-search input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; font-size: 12px; color: var(--aci-ink); }
.aci-search input::placeholder { color: var(--aci-muted); }
.aci-list__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 8px 8px; border-top: 1px solid var(--aci-line); scrollbar-color: oklch(0.72 0.015 282) transparent; scrollbar-width: thin; }
.aci-thread {
  display: flex; width: 100%; min-width: 0; gap: 10px; margin-top: 6px; padding: 12px 10px;
  text-align: right; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: inherit; transition: background-color .14s, border-color .14s, box-shadow .14s;
}
.aci-thread:hover:not(:disabled) { background: oklch(0.977 0.011 294); }
.aci-thread--selected { background: var(--aci-brand-soft); border: 1px solid var(--aci-brand-border); box-shadow: var(--aci-shadow-message); }
.aci-avatar {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  background: oklch(0.90 0.04 290); color: oklch(0.39 0.11 292);
  font-size: 12px; font-weight: 700;
}
.aci-thread__main { min-width: 0; flex: 1; display: grid; gap: 5px; }
.aci-thread__top { justify-content: space-between; gap: 8px; min-width: 0; }
.aci-thread__top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 710; }
.aci-thread__top time { flex: 0 0 auto; color: var(--aci-muted); font-size: 10px; white-space: nowrap; }
.aci-thread__subject { color: var(--aci-muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aci-thread__meta { gap: 6px; flex-wrap: wrap; font-size: 10px; color: var(--aci-muted); }
.aci-status { display: inline-flex; align-items: center; padding: 2px 6px; border: 0; border-radius: 4px; background: oklch(0.94 0.04 245); color: oklch(0.52 0.12 246); white-space: nowrap; font-size: 10px; }
.aci-status--awaiting_seller { background: oklch(0.97 0.04 80); color: oklch(0.50 0.095 78); }
.aci-status--awaiting_buyer { background: var(--aci-brand-soft); color: var(--aci-brand-strong); }
.aci-status--overdue { background: oklch(0.96 0.04 27); color: oklch(0.51 0.13 25); }
.aci-status--closed { background: oklch(0.965 0.03 155); color: oklch(0.45 0.12 157); }
.aci-list__footer { flex: 0 0 auto; justify-content: space-between; gap: 5px; padding: 9px 10px; border-top: 1px solid var(--aci-line); color: var(--aci-muted); font-size: 10px; }
.aci-list__footer .aci-btn { min-height: 28px; padding: 3px 8px; }

/* Conversation lane uses the neutral grey canvas from the original Lovable design. */
.aci-chat-head { justify-content: space-between; flex: 0 0 auto; min-height: 62px; padding: 11px 18px; gap: 10px; border-bottom: 1px solid var(--aci-line); background: var(--aci-surface); }
.aci-chat-head > div { flex: 1; min-width: 0; }
.aci-chat-head strong { font-size: 13px; font-weight: 720; }
.aci-chat-head p { margin: 3px 0 0; color: var(--aci-muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aci-back { display: none; border: 0; border-radius: 7px; background: transparent; color: var(--aci-ink); padding: 5px; }
.aci-back:hover { background: var(--aci-brand-soft); color: var(--aci-brand); }
.aci-messages { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; gap: 14px; padding: 22px 20px; overflow-y: auto; scrollbar-width: thin; }
.aci-message { align-self: flex-start; max-width: 82%; padding: 10px 12px; border: 1px solid var(--aci-line); border-radius: 8px; background: var(--aci-surface); box-shadow: var(--aci-shadow-message); }
.aci-message--outgoing { align-self: flex-end; border-color: var(--aci-brand-border); background: var(--aci-brand-soft); }
.aci-message--internal_note { align-self: center; max-width: 94%; border: 1px dashed oklch(0.88 0.07 85); background: oklch(0.98 0.025 87); }
.aci-message small { color: var(--aci-muted); font-size: 10px; }
.aci-message p { margin: 5px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.75; }
.aci-message time { display: block; margin-top: 5px; font-size: 10px; color: var(--aci-muted); }
.aci-placeholder { padding: 20px; text-align: center; color: var(--aci-muted); font-size: 12px; }
/* Clean empty states: actual Lucide strokes, no illustrations, no browser-owned chrome. */
.aci-conversation__blank, .aci-info__blank { display: flex; flex: 1 1 auto; min-height: 0; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.aci-empty-state { display: flex; flex: 0 1 auto; flex-direction: column; align-items: center; justify-content: center; gap: 11px; width: 100%; max-width: 300px; padding: 18px 12px; margin: auto; text-align: center; color: var(--aci-muted); }
.aci-empty-state__icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--aci-line); border-radius: 16px; background: var(--aci-surface); color: oklch(0.49 0.075 287); box-shadow: 0 4px 12px -8px oklch(0.25 0.02 280 / .15); }
.aci-empty-state__icon svg { display: block; width: 29px; height: 29px; flex: none; }
.aci-empty-state__title { margin: 3px 0 0; color: var(--aci-ink); font-size: 14px; font-weight: 730; line-height: 1.45; }
.aci-empty-state__description { max-width: 275px; margin: 0; font-size: 12px; color: var(--aci-muted); line-height: 1.8; }
.aci-empty-state--compact { gap: 8px; padding: 22px 12px; }
.aci-empty-state--compact .aci-empty-state__icon { width: 51px; height: 51px; border-radius: 12px; }
.aci-empty-state--compact .aci-empty-state__icon svg { width: 24px; height: 24px; }
.aci-empty-state--compact .aci-empty-state__title { font-size: 12px; }
.aci-empty-state--compact .aci-empty-state__description { font-size: 11px; }
.aci-list__scroll .aci-empty-state { margin: 42px auto 0; }
.aci-messages .aci-empty-state { margin: auto; }
.aci-info__blank .aci-empty-state { padding: 15px 0; }
.aci-compose { flex: 0 0 auto; padding: 12px 16px 15px; border-top: 1px solid var(--aci-line); background: var(--aci-surface); }
.aci-tabs { display: flex; gap: 17px; margin-bottom: 8px; border-bottom: 1px solid var(--aci-line); }
.aci-tabs button { appearance: none; margin-bottom: -1px; padding: 6px 2px 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 11px; color: var(--aci-muted); }
.aci-tabs button.is-active { border-color: var(--aci-brand); color: var(--aci-brand-strong); font-weight: 700; }
.aci-compose textarea { display: block; width: 100%; min-height: 76px; max-height: 190px; resize: vertical; padding: 10px 12px; border: 1px solid var(--aci-line); border-bottom: 0; border-radius: 8px 8px 0 0; background: white; color: var(--aci-ink); outline: 0; font-size: 12px; }
.aci-compose textarea:focus { border-color: var(--aci-brand-border); box-shadow: 0 0 0 2px var(--aci-brand-soft); }
.aci-compose__footer { flex-wrap: wrap; gap: 7px; margin: 0; padding: 8px; border: 1px solid var(--aci-line); border-top: 0; border-radius: 0 0 8px 8px; background: white; box-shadow: var(--aci-shadow-composer); }
.aci-compose__footer .aci-btn--primary { margin-inline-start: auto; margin-right: auto; }

/* Left detail pane uses the original white, separated inspector styling. */
.aci-info__heading { gap: 8px; flex: 0 0 auto; min-height: 62px; padding: 13px 17px; border-bottom: 1px solid var(--aci-line); font-weight: 720; font-size: 13px; }
.aci-info__heading svg { color: var(--aci-muted); }
.aci-info__body { flex: 1 1 auto; padding: 18px 16px; }
.aci-info__body p { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; margin: 0 0 11px; padding-bottom: 11px; border-bottom: 1px solid var(--aci-line); color: var(--aci-muted); font-size: 11px; }
.aci-info__body p strong { text-align: left; max-width: 62%; overflow-wrap: anywhere; color: var(--aci-ink); font-weight: 650; }
.aci-info__body p.aci-info__note { display: block; border: 0; line-height: 1.75; }
.aci-info__safety { flex: 0 0 auto; display: flex; align-items: flex-start; gap: 8px; padding: 13px 15px; border-top: 1px solid var(--aci-line); color: var(--aci-muted); font-size: 10px; line-height: 1.6; }
.aci-info__safety svg { flex: 0 0 auto; color: oklch(0.60 0.12 155); }

/* Modal is the same softly rounded, thin-border treatment as the Lovable dialogs. */
.aci-modal { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 14px; background: oklch(0.10 0.01 280 / 55%); }
.aci-dialog { display: grid; gap: 12px; width: min(400px, 100%); padding: 20px; border: 1px solid var(--aci-line); border-radius: 10px; background: var(--aci-surface); box-shadow: var(--aci-shadow-panel); }
.aci-dialog h2 { margin: 0; font-size: 16px; font-weight: 720; }
.aci-dialog p { margin: 0; color: var(--aci-muted); font-size: 11px; }
.aci-dialog input { min-height: 38px; padding: 9px 11px; border: 1px solid var(--aci-line); border-radius: 7px; background: white; }
.aci-dialog__buttons { display: flex; gap: 8px; justify-content: flex-end; }

/* Design-system dropdown triggers. Menus live in a Radix portal above clipped panels. */
.aci-shell .aci-select__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-width: 0; min-height: 33px;
  padding: 6px 10px; border: 1px solid var(--aci-line); border-radius: 7px;
  background: var(--aci-surface); color: var(--aci-ink); font-size: 11px;
  font-weight: 500; line-height: 1.4; text-align: right;
  box-shadow: 0 1px 2px oklch(0.22 0 0 / .025);
  transition: background-color .14s, border-color .14s, box-shadow .14s;
}
.aci-shell .aci-select__trigger:hover:not(:disabled) { background: var(--aci-brand-soft); border-color: var(--aci-brand-border); }
.aci-shell .aci-select__trigger[data-state="open"] { border-color: var(--aci-brand-border); box-shadow: 0 0 0 2px var(--aci-brand-soft); }
.aci-shell .aci-select__trigger > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aci-shell .aci-select__chevron { display: flex; flex: none; margin-inline-start: auto; color: var(--aci-muted); transition: transform .14s; }
.aci-shell .aci-select__trigger[data-state="open"] .aci-select__chevron { transform: rotate(180deg); }
.aci-shell .aci-select__trigger--snippets { max-width: 178px; min-height: 31px; }
.aci-select__menu {
  z-index: 50000;
  min-width: max(var(--radix-select-trigger-width), 164px);
  max-width: min(320px, calc(100vw - 24px));
  max-height: var(--radix-select-content-available-height);
  overflow: hidden;
  padding: 5px; border: 1px solid oklch(.91 .012 278);
  border-radius: 9px; background: #fff; color: oklch(.22 .025 282);
  font-family: "Assistant", "Heebo", "Segoe UI", Arial, sans-serif;
  font-size: 12px; direction: rtl;
  box-shadow: 0 13px 30px -10px oklch(.20 .015 280 / .22), 0 3px 8px -4px oklch(.20 .015 280 / .12);
  animation: aci-menu-in .12s ease-out;
}
.aci-select__viewport { max-height: min(260px, var(--radix-select-content-available-height)); overflow-y: auto; padding: 1px; scrollbar-width: thin; }
.aci-select__item {
  display: flex; align-items: center; position: relative; gap: 10px;
  min-height: 35px; padding: 8px 12px 8px 30px;
  border: 0; border-radius: 6px; outline: none;
  text-align: right; font-weight: 500; color: oklch(.29 .027 282);
  cursor: pointer; user-select: none;
}
.aci-select__item[data-highlighted] { background: oklch(.955 .033 293); color: oklch(.45 .19 293); }
.aci-select__item[data-state="checked"] { color: oklch(.47 .19 293); font-weight: 680; }
.aci-select__item[data-disabled] { opacity: .65; cursor: default; }
.aci-select__check { position: absolute; inset-inline-end: 10px; display: flex; color: oklch(.52 .24 293); }
@keyframes aci-menu-in { from { opacity: 0; transform: translateY(-3px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .aci-select__menu { animation: none; } }

@container aci-panel (max-width: 990px) and (min-width: 701px) {
  .aci-grid { grid-template-columns: minmax(250px, 34%) minmax(0, 1fr); }
  .aci-info { display: none; }
}
@container aci-panel (max-width: 700px) {
  .aci-shell { height: auto; }
  .aci-header { min-height: 58px; padding: 10px 12px; align-items: stretch; flex-direction: column; gap: 6px; }
  .aci-heading h1 { font-size: 16px; }
  .aci-header__actions { width: 100%; justify-content: space-between; }
  .aci-store { max-width: calc(100% - 76px); padding-inline: 0; overflow: hidden; text-overflow: ellipsis; }
  .aci-btn { padding: 5px 9px; }
  .aci-banner { font-size: 10px; padding: 8px 11px; }
  .aci-grid { display: block; min-height: 0; }
  .aci-info { display: none; }
  .aci-list, .aci-conversation { border: 0; height: 100%; min-height: 0; }
  .aci-list__scroll { min-height: 0; }
  .aci-conversation { display: none; }
  .aci-grid--open .aci-list { display: none; }
  .aci-grid--open .aci-conversation { display: flex; }
  .aci-back { display: inline-flex; }
  .aci-chat-head { padding: 10px 12px; }
  .aci-compose { padding: 9px; }
  .aci-compose__footer .aci-btn--primary { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .aci-shell .aci-btn, .aci-shell .aci-thread { transition: none; }
}
/* Global-admin fixture within Client. Extends the approved Lovable visual system; no customer data. */
.aci-admin-mode { width: 100%; max-width: 100%; direction: rtl; }
.aci-admin-mode__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  margin: 0 0 12px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--adm-line);
  border-radius: var(--ad-radius-md);
  background: var(--adm-panel);
  color: var(--adm-ink);
}
.aci-admin-mode__copy { display: grid; gap: 2px; min-width: 0; }
.aci-admin-mode__copy strong { font-size: 13px; font-weight: 700; }
.aci-admin-mode__copy span { color: var(--adm-muted); font-size: 11px; line-height: 1.5; }
.aci-admin-mode__tabs {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--adm-line);
  border-radius: 7px;
  background: var(--adm-bg);
}
.aci-admin-mode__tabs button {
  min-height: 32px;
  padding: 5px 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--adm-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}
.aci-admin-mode__tabs button:hover:not([data-active="true"]) { background: var(--adm-panel); color: var(--adm-ink); }
.aci-admin-mode__tabs button[data-active="true"] { background: var(--adm-accent); color: #fff; box-shadow: 0 1px 3px rgb(9 14 53 / 14%); }
.aci-admin-mode__tabs button:focus-visible { outline: 2px solid var(--adm-accent); outline-offset: 2px; }
.aci-admin-mode > .aci-shell { height: min(820px, calc(100dvh - 184px)); }
.aci-admin-demo { width: 100%; max-width: 100%; direction: rtl; }
.aci-admin-demo__notice { display: flex; align-items: start; gap: 9px; margin: 0 0 13px; padding: 10px 14px; border: 1px solid #e6ddfb; border-radius: 9px; background: #f8f5ff; color: #5b4589; font: 12px/1.7 Assistant,Heebo,"Segoe UI",sans-serif; }
.aci-admin-demo__notice svg { flex: none; margin-top: 2px; }
.aci-admin-demo__footnote { margin: 10px 2px; color: #84808e; font-size: 11px; }
.aci-admin-demo .aci-shell { height: min(840px, calc(100dvh - 259px)); min-height: 620px; }
.aci-admin-demo .aci-list__header span { max-width: none; }
.aci-admin-demo .aci-filters { gap: 7px; }
.aci-demo-filter-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px; }
.aci-admin-demo .aci-select__trigger { width: 100%; max-width: 100%; min-width: 0; }
.aci-admin-demo .aci-thread__main { overflow: hidden; }
.aci-demo-unread { display: inline-block; vertical-align: middle; width: 6px; height: 6px; background: #8951d8; margin-inline-start: 5px; border-radius: 50%; }
.aci-demo-chat-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-bottom: 1px solid var(--aci-line); padding: 8px 16px; color: var(--aci-muted); background: var(--aci-surface); font-size: 11px; }
.aci-demo-chat-meta span { display: inline-flex; align-items: center; gap: 5px; }
.aci-demo-toast { position: absolute; z-index: 5; inset-block-start: 68px; inset-inline: 22%; border: 1px solid #e2d4f8; border-radius: 8px; padding: 10px 12px; background: #fff; box-shadow: var(--aci-shadow-panel); color: #66469b; display: flex; gap: 9px; align-items: center; justify-content: center; font-size: 11px; }
.aci-demo-toast button { margin-inline-start: auto; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: inherit; }
.aci-demo-product { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--aci-line); }
.aci-demo-product__icon { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border: 1px solid var(--aci-line); border-radius: 7px; color: #8d82a1; background: #f7f6f9; }
.aci-demo-product strong { display: block; color: var(--aci-ink); font-size: 11px; font-weight: 650; }
.aci-demo-product span { display: block; color: var(--aci-muted); font-size: 10px; margin-top: 4px; }
.aci-demo-assign { display: grid; gap: 7px; margin-bottom: 11px; }
.aci-demo-assign > label,.aci-demo-assign > span { display: inline-flex; align-items: center; gap: 7px; color: var(--aci-muted); font-size: 11px; }
.aci-demo-assign .aci-select__trigger { width: 100%; }
.aci-demo-empty { display: flex; flex: 1 1 auto; flex-direction: column; align-items: center; justify-content: center; gap: 11px; margin: auto; text-align: center; color: var(--aci-muted); padding: 30px 12px; }
.aci-demo-empty svg { color: #82738d; }
.aci-demo-empty strong { color: var(--aci-ink); font-size: 13px; }
.aci-demo-empty span { font-size: 11px; }
.aci-admin-demo .aci-message--internal_note { align-self: center; max-width: 95%; background: #fff8e8; border-color: #f0dfb1; }
.aci-admin-demo .aci-message--incoming { align-self: flex-start; }
.aci-admin-demo .aci-message--outgoing { align-self: flex-end; }
.aci-admin-demo .aci-compose__footer .aci-select__trigger { width: auto; min-width: 128px; }
@container aci-panel (max-width: 870px) { .aci-demo-filter-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 650px) {
  .aci-admin-mode__toolbar { align-items: stretch; flex-direction: column; gap: 8px; padding: 10px; }
  .aci-admin-mode__tabs { width: 100%; }
  .aci-admin-mode__tabs button { flex: 1 1 50%; }
  .aci-admin-mode > .aci-shell { height: min(800px, calc(100dvh - 190px)); }
  .aci-admin-demo .aci-shell { height: min(800px, calc(100dvh - 190px)); min-height: 560px; }
  .aci-demo-filter-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .aci-demo-chat-meta { gap: 7px; }
  .aci-demo-toast { inset-inline: 7px; }
  .aci-admin-demo .aci-info { display: none; }
  .aci-admin-demo .aci-grid--open .aci-conversation { display: flex; }
  .aci-admin-demo .aci-grid--open .aci-list { display: none; }
}
.aci-admin-demo .aci-info__body { overflow-y: auto; scrollbar-width: thin; min-height: 0; }
