:where([data-customize="page"]) {
  width: 100%;
}

:where([data-customize="header"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: center;
  max-width: none;
}

:where([data-customize="header"] > [data-nk="button-group"]) {
  grid-column: 2;
  grid-row: 1 / 3;
}

:where([data-customize="customizer-errors"]) {
  margin: 0;
  padding: 0.75rem 1rem;
  color: var(--nk-color-danger-content);
  background: color-mix(
    in oklab,
    var(--nk-color-danger) 10%,
    var(--nk-color-surface)
  );
  border-inline-start: 0.25rem solid var(--nk-color-danger);
  border-radius: var(--nk-radius-sm);
  line-height: var(--nk-leading-normal);
}

:where(
    [data-customize="customizer-preview-section"],
    [data-customize="customizer-controls-section"],
    [data-customize="customizer-exports"]
  ) {
  display: grid;
  gap: 1.25rem;
  min-inline-size: 0;
}

:where([data-customize="customizer-workspace"]) {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-inline-size: 0;
}

:where([data-customize="customizer-canvas"]) {
  display: grid;
  gap: 1.5rem;
  min-inline-size: 0;
}

:where([data-customize="customizer-controls-section"]) {
  position: sticky;
  inset-block-start: 4.5rem;
  max-block-size: calc(100vh - 5.5rem);
  gap: 0.75rem;
  overflow-y: auto;
  padding: 0.75rem;
  background: var(--nk-color-elevated);
  border: var(--nk-border-width) solid var(--nk-color-border);
  border-radius: var(--nk-radius-xl);
  box-shadow: var(--nk-shadow-sm);
  scrollbar-width: thin;
}

[data-customize="customizer-controls-section"]
  [data-customize="customizer-section-header"] {
  display: block;
}

[data-customize="customizer-controls-section"]
  [data-customize="customizer-section-header"]
  h2 {
  font-size: 1rem;
}

[data-customize="customizer-controls-section"]
  [data-customize="customizer-section-header"]
  > p {
  margin-block-start: 0.25rem;
  font-size: 0.75rem;
}

:where([data-customize="customizer-section-header"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 28rem);
  gap: 1rem 2rem;
  align-items: end;
}

:where([data-customize="customizer-section-header"] *) {
  margin: 0;
}

:where([data-customize="customizer-section-header"] > div) {
  display: grid;
  gap: 0.35rem;
}

:where([data-customize="customizer-section-header"] h2) {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

:where([data-customize="customizer-section-header"] > p) {
  color: var(--nk-color-muted-foreground);
  font-size: 0.9rem;
  line-height: 1.55;
  text-wrap: pretty;
}

:where([data-customize="theme-preview"]) {
  min-inline-size: 0;
  overflow: clip;
  color: var(--nk-color-foreground);
  font-family: var(--nk-font-sans);
  background: var(--nk-color-canvas);
  border: var(--nk-border-width) solid var(--nk-color-border);
  border-radius: var(--nk-radius-xl);
  box-shadow: var(--nk-shadow-md);
  color-scheme: light;
}

:where([data-customize="theme-preview"][data-theme="dark"]) {
  color-scheme: dark;
}

:where([data-customize="customizer-blocks"]) {
  display: grid;
  grid-template-columns: repeat(6, minmax(21rem, 1fr));
  gap: 1rem;
  align-items: start;
  inline-size: 100%;
  min-inline-size: 0;
  overflow-x: auto;
  padding: 1rem;
  background: var(--nk-color-muted);
}

:where([data-customize="customizer-column"]) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-inline-size: 0;
}

:where([data-customize="customizer-column"][data-customize-span="2"]) {
  grid-column: span 2;
}

:where([data-customize="customizer-row"]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

:where([data-customize="customizer-block"]) {
  min-inline-size: 0;
  display: flex;
}

:where([data-customize="customizer-block"] > [data-nk="card"]) {
  inline-size: 100%;
}

:where(
    [data-customize-block="invitation"] [data-nk="settings-section"],
    [data-customize-block="projects"] [data-nk="data-section"]
  ) {
  grid-template-columns: minmax(0, 1fr);
  inline-size: 100%;
}

:where(
    [data-customize-block="invitation"] [data-slot="settings-section-form"],
    [data-customize-block="invitation"] [data-slot="settings-section-status"]
  ) {
  grid-column: 1;
  max-inline-size: none;
}

:where(
    [data-customize-block="invitation"]
      [data-slot="settings-section-form"]
      > form
  ) {
  display: grid;
  gap: calc(var(--nk-space) * 5);
}

:where(
    [data-customize-block="invitation"]
      [data-slot="settings-section-form"]
      > form
      > [data-nk="button"]
  ) {
  justify-self: end;
}

:where([data-customize-block="projects"] [data-slot="data-section-header"]) {
  align-items: start;
}

:where([data-customize="customizer-overview-hero"]) {
  display: flex;
  align-items: center;
  gap: calc(var(--nk-space) * 3);
  padding-block: calc(var(--nk-space) * 3);
}

:where([data-customize="customizer-overview-wordmark"]) {
  display: inline-grid;
  flex: none;
  inline-size: 3rem;
  block-size: 3rem;
  place-items: center;
  border-radius: var(--nk-radius-lg);
  color: var(--nk-color-primary-foreground);
  background: var(--nk-color-primary);
  font-size: 1.25rem;
  font-weight: var(--nk-font-weight-semibold);
}

:where([data-customize="customizer-overview-copy"]) {
  display: grid;
  gap: 0.15rem;
}

:where([data-customize="customizer-overview-copy"] p) {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--nk-font-weight-semibold);
}

:where([data-customize="customizer-overview-copy"] small) {
  color: var(--nk-color-muted-foreground);
  font-size: var(--nk-text-sm);
}

:where([data-customize="customizer-member-count"]) {
  color: var(--nk-color-muted-foreground);
  font-size: var(--nk-text-sm);
}

:where([data-customize="avatar-tint"] [data-slot="avatar-fallback"]) {
  color: var(--nk-color-surface);
}

:where([data-customize="avatar-tint"][data-customize-tint="rose"]) {
  --_nk-avatar-stack-fill: oklch(0.645 0.246 16.439);
}

:where([data-customize="avatar-tint"][data-customize-tint="indigo"]) {
  --_nk-avatar-stack-fill: oklch(0.585 0.233 277.117);
}

:where([data-customize="avatar-tint"][data-customize-tint="emerald"]) {
  --_nk-avatar-stack-fill: oklch(0.596 0.145 163.225);
}

:where([data-customize="avatar-tint"][data-customize-tint="amber"]) {
  --_nk-avatar-stack-fill: oklch(0.769 0.188 70.08);
}

:where([data-customize="avatar-tint"])::after {
  border-color: color-mix(in oklab, var(--nk-color-surface) 45%, transparent);
}

:where(
    [data-customize="customizer-blocks"]
      [data-nk="card"]
      > [data-slot="card-body"]
  ) {
  flex: 1 1 auto;
  color: var(--nk-color-foreground);
}

:where([data-customize="customizer-card-copy"]) {
  margin: 0;
  color: var(--nk-color-muted-foreground);
  font-size: var(--nk-text-sm);
  line-height: var(--nk-leading-relaxed);
  text-wrap: pretty;
}

:where([data-customize="control-sampler"]) {
  display: grid;
  gap: calc(var(--nk-space) * 6);
}

:where([data-customize="control-sampler-row"]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--nk-space) * 3);
}

:where(
    [data-customize-block="typeset"] [data-nk="card"] > [data-slot="card-body"]
  ) {
  padding: calc(var(--nk-space) * 8);
}

:where(
    [data-customize="control-sampler-row"]
      :is([data-nk="radio-button"], [data-nk="checkbox"], [data-nk="switch"])
      [data-slot$="-label-text"]
  ) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:where([data-customize="metric"]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--nk-space) * 3);
}

:where([data-customize="metric"] strong) {
  font-size: var(--nk-text-2xl);
}

:where([data-customize="summary-list"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: calc(var(--nk-space) * 2) calc(var(--nk-space) * 4);
  margin: 0;
}

:where([data-customize="summary-list"] :is(dt, dd)) {
  margin: 0;
}

:where([data-customize="summary-list"] dd) {
  font-weight: var(--nk-font-weight-semibold);
  text-align: end;
}

:where([data-customize-block="transactions"] th small) {
  display: block;
  color: var(--nk-color-muted-foreground);
  font-weight: var(--nk-font-weight-normal);
}

:where([data-customize="customizer-project-count"]) {
  color: var(--nk-color-muted-foreground);
  font-size: var(--nk-text-sm);
}

:where([data-customize="customizer-cover"]) {
  position: relative;
  display: grid;
  min-block-size: 9rem;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--nk-color-primary) 16%, var(--nk-color-surface)),
    color-mix(in oklab, var(--nk-color-primary) 6%, var(--nk-color-muted))
  );
}

:where([data-customize="customizer-cover"] [data-nk="progressive-image"]) {
  inline-size: 100%;
  block-size: 100%;
  align-self: stretch;
  justify-self: stretch;
  background: transparent;
  border-radius: 0;
}

:where(
    [data-customize="customizer-cover"] [data-nk="progressive-image"]::after
  ) {
  outline: none;
}

:where(
    [data-customize="customizer-cover"]
      [data-nk="progressive-image"]
      [data-slot="progressive-image-fallback"]
  ) {
  display: grid;
  place-items: center;
  inline-size: 100%;
  min-block-size: 9rem;
  color: color-mix(in oklab, var(--nk-color-primary) 55%, transparent);
  font-size: var(--nk-text-2xl);
  font-weight: var(--nk-font-weight-semibold);
  letter-spacing: -0.02em;
  text-align: center;
}

:where([data-customize="customizer-dialog-actions"]) {
  margin-block-start: calc(var(--nk-space) * 6);
}

:where(
    [data-customize="customizer-blocks"]
      [data-nk="card"]
      > [data-slot="card-body"]
      form
  ) {
  display: grid;
  gap: calc(var(--nk-space) * 5);
}

:where([data-customize-block="dialog"] [data-nk="dialog"]) {
  display: block;
  margin-block-start: calc(var(--nk-space) * 2);
}

:where([data-customize-block="dialog"] [data-slot="dialog-panel"]:not([open])) {
  margin: 0;
  inline-size: 100%;
  max-inline-size: none;
  box-shadow: none;
}

:where([data-customize="theme-preview"] [data-customize-shell]) {
  --nk-app-shell-sidebar-width: 14rem;
  --nk-app-shell-topbar-height: 3.25rem;

  block-size: 52rem;
  min-block-size: 52rem;
  overflow: hidden;
}

@media (min-width: 48.0625rem) {
  :where(
      [data-customize="theme-preview"]
        [data-customize-shell]
        > [data-slot="app-shell-sidebar"]
    ) {
    position: relative;
    inset-block-start: auto;
    block-size: auto;
    min-block-size: 0;
  }
}

:where(
    [data-customize="theme-preview"]
      [data-customize-shell]
      > [data-slot="app-shell-main"]
  ) {
  overflow: auto;
}

:where([data-customize="customizer-brand"]) {
  display: grid;
  min-inline-size: 0;
  line-height: 1.15;
}

:where([data-customize="customizer-brand"] strong) {
  overflow: hidden;
  text-overflow: ellipsis;
}

:where([data-customize="customizer-brand"] small) {
  color: var(--nk-color-muted-foreground);
  font-size: var(--nk-text-xs);
}

:where([data-customize="customizer-application"]) {
  min-block-size: 100%;
  padding: clamp(1rem, 3vw, 2rem);
}

:where([data-customize="customizer-preview-grid"]) {
  align-items: start;
}

:where(
    [data-customize="customizer-preview-grid"]
      > :is([data-nk="settings-section"], [data-nk="data-section"])
  ) {
  grid-column: 1 / -1;
}

:where([data-customize="customizer-preview-grid"] [data-slot="card-body"]) {
  min-inline-size: 0;
}

:where([data-customize="customizer-pro"]) {
  display: grid;
  gap: calc(var(--nk-space) * 4);
}

:where([data-customize="customizer-pro"] > header) {
  display: grid;
  gap: calc(var(--nk-space) * 1.5);
}

:where([data-customize="customizer-pro"] > header > *) {
  margin: 0;
}

:where([data-customize="customizer-pro"] > header h2) {
  font-size: var(--nk-text-lg);
  line-height: var(--nk-leading-tight);
}

:where([data-customize="customizer-pro"] > header p) {
  color: var(--nk-color-muted-foreground);
  font-size: var(--nk-text-sm);
}

:where([data-customize="customizer-pro-grid"]) {
  align-items: start;
}

:where(
    [data-customize="customizer-pro-grid"]
      > :is([data-nk="card"], [data-nk="settings-section"])
  ) {
  grid-column: 1 / -1;
}

:where([data-customize="customizer-pro-grid"] [data-nk="progressive-image"]) {
  display: grid;
  min-block-size: 7rem;
  place-items: center;
  color: var(--nk-color-muted-foreground);
  background: var(--nk-color-muted);
}

:where(
    [data-customize="customizer-pro-grid"]
      [data-slot="card-full"]
      [data-nk="progressive-image"]
  )::after {
  outline: 0;
  border-block: var(--nk-border-width) solid
    color-mix(in oklab, var(--nk-color-foreground) 10%, transparent);
}

:where([data-customize="customizer-controls"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  min-inline-size: 0;
}

:where([data-customize="customizer-control"]) {
  min-inline-size: 0;
  margin: 0;
  padding: 0.65rem 0.25rem 0.85rem;
  border: 0;
  border-block-end: var(--nk-border-width) solid var(--nk-color-border);
}

:where([data-customize="customizer-control"]:last-child) {
  border-block-end: 0;
}

:where([data-customize="customizer-control"] legend) {
  padding: 0;
  color: var(--nk-color-foreground);
  font-size: 0.9rem;
  font-weight: var(--nk-font-weight-semibold);
}

:where([data-customize="customizer-control"] > p) {
  margin: 0.2rem 0 0.5rem;
  color: var(--nk-color-muted-foreground);
  font-size: 0.75rem;
  line-height: 1.35;
  text-wrap: pretty;
}

:where([data-customize="customizer-options"]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

:where(
    [data-customize-control="font"] [data-customize="customizer-options"],
    [data-customize-control="density"] [data-customize="customizer-options"]
  ) {
  grid-template-columns: minmax(0, 1fr);
}

:where([data-customize="customizer-option"]) {
  min-inline-size: 0;
  min-block-size: 2rem;
  padding: 0.2rem 0.35rem;
  border-radius: var(--nk-radius-md);
}

:where([data-customize="customizer-option"]:has(input:checked)) {
  background: color-mix(in oklab, var(--nk-color-primary) 9%, transparent);
}

:where(
    [data-customize="customizer-option"] > [data-slot="radio-button-label"]
  ) {
  min-block-size: 2rem;
}

:where(
    [data-customize="customizer-option"] [data-slot="radio-button-label-text"]
  ) {
  display: flex;
  min-inline-size: 0;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
}

:where(
    [data-customize="customizer-option"]
      [data-slot="radio-button-label-text"]
      > span:last-child
  ) {
  overflow: hidden;
  text-overflow: ellipsis;
}

:where([data-customize="customizer-swatch"]) {
  position: relative;
  display: inline-grid;
  flex: none;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  place-items: center;
  overflow: hidden;
  color: var(--nk-color-foreground);
  background: var(--nk-color-muted);
  border: var(--nk-border-width) solid
    color-mix(in oklab, currentColor 20%, transparent);
  border-radius: var(--nk-radius-sm);
  font-size: 0.65rem;
  font-weight: var(--nk-font-weight-semibold);
  line-height: 1;
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="blue"]) {
  background: oklch(0.546 0.245 262.881);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="indigo"]) {
  background: oklch(0.511 0.262 276.966);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="violet"]) {
  background: oklch(0.541 0.281 293.009);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="pink"]) {
  background: oklch(0.592 0.249 0.584);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="rose"]) {
  background: oklch(0.56 0.253 17.585);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="orange"]) {
  background: oklch(0.76 0.2 60);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="amber"]) {
  background: oklch(0.76 0.18 78);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="yellow"]) {
  background: oklch(0.88 0.19 100);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="lime"]) {
  background: oklch(0.82 0.24 130);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="emerald"]) {
  background: oklch(0.527 0.154 150.069);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="cyan"]) {
  background: oklch(0.52 0.14 220);
}

:where([data-customize-swatch-kind="accent"][data-customize-swatch="neutral"]) {
  background: oklch(0.269 0 0);
}

:where([data-customize-swatch-kind="neutral"][data-customize-swatch="slate"]) {
  background: oklch(0.554 0.046 257.417);
}

:where([data-customize-swatch-kind="neutral"][data-customize-swatch="gray"]) {
  background: oklch(0.551 0.027 264.364);
}

:where([data-customize-swatch-kind="neutral"][data-customize-swatch="zinc"]) {
  background: oklch(0.552 0.016 285.938);
}

:where(
    [data-customize-swatch-kind="neutral"][data-customize-swatch="neutral"]
  ) {
  background: oklch(0.556 0 0);
}

:where([data-customize-swatch-kind="neutral"][data-customize-swatch="stone"]) {
  background: oklch(0.553 0.013 58.071);
}

:where([data-customize-swatch-kind="radius"]) {
  background: color-mix(
    in oklab,
    var(--nk-color-primary) 18%,
    var(--nk-color-surface)
  );
}

:where([data-customize-swatch-kind="radius"][data-customize-swatch="none"]) {
  border-radius: 0;
}

:where([data-customize-swatch-kind="radius"][data-customize-swatch="sm"]) {
  border-radius: 0.125rem;
}

:where([data-customize-swatch-kind="radius"][data-customize-swatch="md"]) {
  border-radius: 0.375rem;
}

:where([data-customize-swatch-kind="radius"][data-customize-swatch="lg"]) {
  border-radius: 0.625rem;
}

:where([data-customize-swatch-kind="radius"][data-customize-swatch="full"]) {
  border-radius: var(--nk-radius-full);
}

:where([data-customize-swatch-kind="density"]) {
  background-color: transparent;
  background-image: repeating-linear-gradient(
    to bottom,
    currentColor 0 1px,
    transparent 1px 4px
  );
  background-position: center;
  background-size: 0.9rem 0.75rem;
  background-repeat: no-repeat;
}

:where(
    [data-customize-swatch-kind="density"][data-customize-swatch="comfortable"]
  ) {
  background-size: 0.9rem 1rem;
  background-image: repeating-linear-gradient(
    to bottom,
    currentColor 0 1px,
    transparent 1px 6px
  );
}

:where([data-customize-swatch-kind="font"]) {
  inline-size: 1.65rem;
  background: transparent;
}

:where([data-customize-swatch-kind="font"][data-customize-swatch="inter"]) {
  font-family: "Inter", sans-serif;
}

:where([data-customize-swatch-kind="font"][data-customize-swatch="manrope"]) {
  font-family: "Manrope", sans-serif;
}

:where([data-customize-swatch-kind="font"][data-customize-swatch="figtree"]) {
  font-family: "Figtree", sans-serif;
}

:where([data-customize-swatch-kind="font"][data-customize-swatch="plex"]) {
  font-family: "IBM Plex Sans", sans-serif;
}

:where([data-customize-swatch-kind="font"][data-customize-swatch="serif"]) {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

:where([data-customize-swatch-kind="font"][data-customize-swatch="mono"]) {
  font-family: var(--nk-font-mono);
}

:where([data-customize-swatch-kind="shell"]) {
  background-color: transparent;
  background-image: linear-gradient(
      to right,
      currentColor 0 28%,
      transparent 28%
    ),
    linear-gradient(to bottom, currentColor 0 22%, transparent 22%);
  opacity: 0.72;
}

:where([data-customize-swatch-kind="shell"][data-customize-swatch="sidebar"]) {
  background-image: linear-gradient(
    to right,
    currentColor 0 32%,
    transparent 32%
  );
}

:where([data-customize-swatch-kind="shell"][data-customize-swatch="topbar"]) {
  background-image: linear-gradient(
    to bottom,
    currentColor 0 30%,
    transparent 30%
  );
}

:where([data-customize-swatch-kind="appearance"]) {
  border-radius: var(--nk-radius-full);
}

:where(
    [data-customize-swatch-kind="appearance"][data-customize-swatch="light"]
  ) {
  background: oklch(0.985 0 0);
}

:where(
    [data-customize-swatch-kind="appearance"][data-customize-swatch="dark"]
  ) {
  background: oklch(0.205 0 0);
}

:where(
    [data-customize-swatch-kind="appearance"][data-customize-swatch="system"]
  ) {
  background: linear-gradient(
    135deg,
    oklch(0.985 0 0) 0 50%,
    oklch(0.205 0 0) 50% 100%
  );
}

:where([data-customize="customizer-exports"] > [data-nk="tabs"]) {
  min-inline-size: 0;
}

:where([data-customize="customizer-export"]) {
  min-inline-size: 0;
  overflow: hidden;
  background: color-mix(in oklab, currentColor 2.5%, var(--nk-color-surface));
  border: var(--nk-border-width) solid var(--nk-color-border);
  border-radius: var(--nk-radius-lg);
}

:where([data-customize="customizer-export"] > header) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.8rem;
  border-block-end: var(--nk-border-width) solid var(--nk-color-border);
}

:where([data-customize="customizer-export"] > header > div) {
  display: grid;
  min-inline-size: 0;
  gap: 0.1rem;
}

:where([data-customize="customizer-export"] > header strong) {
  font-size: 0.8rem;
}

:where([data-customize="customizer-export"] > header small) {
  overflow: hidden;
  color: var(--nk-color-muted-foreground);
  font-family: var(--nk-font-mono);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:where([data-customize="customizer-export"] pre) {
  max-block-size: 32rem;
  margin: 0;
  overflow: auto;
  padding: 1rem;
  font-family: var(--nk-font-mono);
  font-size: 0.78rem;
  font-variant-ligatures: none;
  line-height: 1.65;
  tab-size: 2;
}

:where([data-customize="customizer-export"] code) {
  display: block;
  inline-size: max-content;
  min-inline-size: 100%;
  font: inherit;
}

:where([data-customize="customizer-status"]) {
  position: fixed;
  z-index: 100;
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  max-inline-size: min(24rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.65rem 0.8rem;
  color: var(--nk-color-foreground);
  background: var(--nk-color-elevated);
  border: var(--nk-border-width) solid var(--nk-color-border);
  border-radius: var(--nk-radius-md);
  box-shadow: var(--nk-shadow-md);
  font-size: 0.8rem;
  line-height: 1.4;
}

:where([data-customize="customizer-status"]:empty) {
  display: none;
}

:where([data-customize="customizer-status"][data-state="success"]) {
  color: var(--nk-color-success-content);
}

:where([data-customize="customizer-status"][data-state="error"]) {
  color: var(--nk-color-danger-content);
}

@media (max-width: 64rem) {
  :where([data-customize="customizer-workspace"]) {
    grid-template-columns: minmax(0, 1fr);
  }

  :where([data-customize="customizer-controls-section"]) {
    position: static;
    max-block-size: none;
  }

  :where([data-customize="customizer-controls"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :where([data-customize="customizer-preview-grid"]) {
    grid-template-columns: minmax(0, 1fr);
  }

  :where([data-customize="customizer-block"]) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 48rem) {
  :where([data-customize="customizer-section-header"]) {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  :where([data-customize="theme-preview"]) {
    border-radius: var(--nk-radius-lg);
  }

  :where([data-customize="theme-preview"] [data-customize-shell]) {
    block-size: 42rem;
    min-block-size: 42rem;
  }

  :where([data-customize="customizer-application"]) {
    padding: 1rem;
  }

  :where([data-customize="customizer-pro-grid"]) {
    grid-template-columns: minmax(0, 1fr);
  }

  :where([data-customize="customizer-controls"]) {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(13rem, 78vw);
    gap: 0.6rem;
    overflow-x: auto;
    padding-block-end: 0.5rem;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  :where([data-customize="customizer-control"]) {
    scroll-snap-align: start;
  }

  :where([data-customize="customizer-export"] > header) {
    align-items: flex-start;
  }

  :where([data-customize="customizer-status"]) {
    inset-block-end: 0.75rem;
    inset-inline: 0.75rem;
    max-inline-size: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where([data-customize="customizer-controls"]) {
    scroll-behavior: auto;
  }
}

body:has([data-customize="page"]) .page-width {
  max-width: none;
}

[data-customize="page"] {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) 4rem;
}

[data-customize="page"] h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--nk-font-weight-bold);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

[data-customize="header"] > p {
  color: var(--nk-color-muted-foreground);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  max-width: 50rem;
  text-wrap: pretty;
}

@media (max-width: 40rem) {
  :where([data-customize="header"]) {
    grid-template-columns: minmax(0, 1fr);
  }

  :where([data-customize="header"] > [data-nk="button-group"]) {
    grid-column: 1;
    grid-row: auto;
    margin-block-start: 0.5rem;
  }
}
