[data-dws-production-root] {
  --dws-shell-max: 80rem;
  --dws-gutter: clamp(1.125rem, 3.5vw, 4rem);
  --dws-section-space: clamp(4.5rem, 8vw, 8rem);
  --dws-section-space-compact: clamp(2.75rem, 5vw, 5rem);
  --dws-copy-measure: 68ch;
  --dws-heading-measure: 18ch;
  --dws-control-min: 2.75rem;
  --dws-action-gap: 0.75em;
  --dws-optical-shift-y: -0.02em;
}

[data-dws-production-root] *,
[data-dws-production-root] *::before,
[data-dws-production-root] *::after {
  box-sizing: border-box;
}

[data-dws-production-root] [data-dws-page] {
  min-inline-size: 0;
  overflow-x: clip;
}

[data-dws-production-root] [data-dws-shell] {
  inline-size: min(calc(100% - (var(--dws-gutter) * 2)), var(--dws-shell-max));
  margin-inline: auto;
  min-inline-size: 0;
}

[data-dws-production-root] [data-dws-section-space="standard"] {
  padding-block: var(--dws-section-space);
}

[data-dws-production-root] [data-dws-section-space="compact"] {
  padding-block: var(--dws-section-space-compact);
}

[data-dws-production-root] [data-dws-flow="copy"] {
  max-inline-size: var(--dws-copy-measure);
}

[data-dws-production-root] [data-dws-flow="copy"] > * + * {
  margin-block-start: clamp(0.75rem, 1.4vw, 1.25rem);
}

[data-dws-production-root] [data-dws-phrase-context] {
  min-inline-size: 0;
  max-inline-size: 100%;
}

[data-dws-production-root] [data-dws-semantic-phrase],
[data-dws-production-root] [data-dws-line-unit] {
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

[data-dws-production-root] [data-dws-line-policy="single-line"] {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

[data-dws-production-root] [data-dws-line-policy="balanced-heading"] {
  max-inline-size: var(--dws-heading-measure);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

[data-dws-production-root] [data-dws-line-policy="natural-copy"] {
  max-inline-size: var(--dws-copy-measure);
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

[data-dws-production-root] [data-dws-line-policy="address-lines"] {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

[data-dws-production-root] [data-dws-action-cluster] {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: start;
  gap: var(--dws-action-gap);
  min-block-size: var(--dws-control-min);
  max-inline-size: 100%;
  white-space: nowrap;
}

[data-dws-production-root] [data-dws-action-label] {
  min-inline-size: 0;
}

[data-dws-production-root] [data-dws-action-icon],
[data-dws-production-root] [data-dws-icon-box] {
  display: inline-grid;
  place-items: center;
  inline-size: var(--dws-control-min);
  block-size: var(--dws-control-min);
  flex: 0 0 auto;
  line-height: 1;
  transform: translateY(var(--dws-optical-shift-y));
}

[data-dws-production-root] :where(button, a, input, select, textarea):focus-visible {
  outline: max(2px, 0.14em) solid currentColor;
  outline-offset: 0.2em;
}

@media (max-width: 48rem) {
  [data-dws-production-root] {
    --dws-gutter: clamp(1rem, 5vw, 1.5rem);
    --dws-section-space: clamp(3.5rem, 14vw, 5.5rem);
    --dws-heading-measure: 14ch;
  }

  [data-dws-production-root] [data-dws-action-cluster] {
    inline-size: max-content;
    max-inline-size: 100%;
  }

  [data-dws-production-root] :where(h1, h2, h3, p, a, button) {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  [data-dws-production-root] :where(:lang(ko)) {
    word-break: keep-all;
    line-break: strict;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-dws-production-root] *,
  [data-dws-production-root] *::before,
  [data-dws-production-root] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
