:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --ink: #18212f;
  --muted: #667085;
  --line: #d9dee8;
  --accent: #117865;
  --accent-strong: #0b5f50;
  --accent-soft: #e3f5f0;
  --warm: #f5b84b;
  --danger: #c0362c;
  --shadow: 0 18px 50px rgba(28, 37, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfcfd 0%, var(--bg) 48%, #edf1f5 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.app-shell {
  min-height: 100vh;
  padding: clamp(12px, 2vw, 28px);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  max-width: 1500px;
  margin: 0 auto;
}

.panel,
.preview-area {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 222, 232, 0.9);
  box-shadow: var(--shadow);
}

.controls {
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 8px;
}

.brand {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.15;
}

h3 {
  font-size: 16px;
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: #edf1f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mode-tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.mode-tab.active {
  color: var(--accent-strong);
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(28, 37, 54, 0.1);
}

.workflow-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: #f2f4f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-tab {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 4px 6px;
  color: #667085;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.workflow-tab span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #475467;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 50%;
  font-size: 11px;
}

.workflow-tab.active {
  color: var(--accent-strong);
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(28, 37, 54, 0.08);
}

.workflow-tab.active span {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.workflow-page {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.workflow-page-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.workflow-page-actions:has(> :only-child) {
  grid-template-columns: 1fr;
}

.workflow-next,
.workflow-back {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  font-weight: 800;
}

.workflow-next {
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
}

.workflow-back {
  color: #344054;
  background: #ffffff;
  border: 1px solid var(--line);
}

.drop-zone {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px 14px;
  text-align: center;
  border: 1.5px dashed #9fb2c5;
  border-radius: 8px;
  background: #f8fafc;
}

.drop-zone.dragging {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.drop-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.drop-zone small {
  color: var(--muted);
  line-height: 1.45;
}

.access-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.access-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.access-head h3 {
  font-size: 15px;
}

#licenseStatus {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.plan-card {
  display: grid;
  gap: 3px;
  min-height: 66px;
  padding: 9px 7px;
  text-align: left;
  color: #475467;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.plan-card.active {
  color: var(--accent-strong);
  border-color: rgba(17, 120, 101, 0.48);
  background: var(--accent-soft);
}

.plan-card strong,
.plan-card span {
  display: block;
  overflow-wrap: anywhere;
}

.plan-card strong {
  font-size: 13px;
}

.plan-card span {
  color: var(--muted);
  font-size: 11px;
}

.license-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.license-row input {
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.license-row button {
  min-width: 68px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 800;
}

.access-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.preset-panel,
.adjust-panel,
.edit-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-title {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.style-preset,
.size-presets button {
  min-height: 36px;
  padding: 0 8px;
  color: #475467;
  background: #fff6fa;
  border: 1px solid #ffd4e4;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.style-preset.active,
.size-presets button.active,
.edit-tool.active {
  color: #ffffff;
  background: #f86c9b;
  border-color: #f86c9b;
  box-shadow: 0 8px 18px rgba(248, 108, 155, 0.22);
}

.edit-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.edit-tool {
  min-height: 38px;
  padding: 0 8px;
  color: #475467;
  background: #ffffff;
  border: 1px solid #ffd4e4;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.edit-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.secondary-action {
  min-height: 40px;
  padding: 0 10px;
  color: var(--accent-strong);
  background: #ffffff;
  border: 1px solid #9fcfc4;
  border-radius: 6px;
  font-weight: 800;
}

.secondary-action:disabled,
.sample-action:disabled {
  color: #98a2b3;
  background: #f2f4f7;
  border-color: #e4e7ec;
  cursor: not-allowed;
}

.replace-color-panel {
  display: grid;
  gap: 7px;
  padding-top: 2px;
}

.replace-color-panel > label {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.replace-color-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 7px;
}

.replace-color-panel small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.size-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.control-group.mini {
  gap: 4px;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.control-group {
  display: grid;
  gap: 8px;
}

.control-group label,
.label-row {
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

input[type="number"],
select {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

input[type="number"]:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 120, 101, 0.13);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.range-stepper {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.stepper-button {
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--accent-strong);
  background: #ffffff;
  border: 1px solid #9fcfc4;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.stepper-button:active {
  color: #ffffff;
  background: var(--accent);
}

.toggles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toggles label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #344054;
  font-size: 14px;
}

.toggles input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.primary-action,
.downloads button,
.sample-action {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
}

.sample-action {
  color: #344054;
  background: #fff7e6;
  border: 1px solid rgba(245, 184, 75, 0.42);
}

.sample-action:hover {
  background: #ffefd0;
}

.primary-action {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 9px 24px rgba(17, 120, 101, 0.22);
}

.primary-action:not(:disabled):hover {
  background: var(--accent-strong);
}

.run-message {
  min-height: 36px;
  padding: 9px 10px;
  color: #475467;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.run-message.good {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: rgba(17, 120, 101, 0.2);
}

.run-message.bad {
  color: var(--danger);
  background: #fff2f0;
  border-color: rgba(192, 54, 44, 0.22);
}

.downloads {
  display: grid;
  gap: 9px;
}

.legal-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 6px;
  background: #f8faf8;
  color: #514d47;
  font-size: 12px;
  line-height: 1.55;
}

.legal-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.legal-consent a,
.site-footer a,
.legal-page a {
  color: var(--accent-strong);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 6px 16px 28px;
  color: #68635d;
  font-size: 12px;
  text-align: center;
}

.site-footer nav {
  display: flex;
  gap: 14px;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 18px 64px;
  color: #25231f;
  line-height: 1.75;
}

.legal-page header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.legal-page h1 {
  margin: 10px 0 6px;
  font-size: 30px;
}

.legal-page h2 {
  margin: 28px 0 8px;
  font-size: 19px;
}

.legal-page p,
.legal-page li {
  font-size: 14px;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page .back-link {
  display: inline-flex;
  margin-bottom: 8px;
}

.downloads button {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid rgba(17, 120, 101, 0.16);
}

.export-links {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 8px;
  background: #fff;
}

.export-links[hidden] {
  display: none;
}

.export-links.updating {
  opacity: 0.72;
  pointer-events: none;
}

.export-links strong {
  font-size: 13px;
}

.export-links a {
  display: block;
  min-height: 42px;
  padding: 11px 12px;
  border-radius: 6px;
  color: #fff;
  background: #191714;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
}

.export-links a:nth-of-type(2),
.export-links a:nth-of-type(4) {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid rgba(17, 120, 101, 0.16);
}

.tile-links {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.tile-links:empty {
  display: none;
}

.tile-links span {
  color: #635f58;
  font-size: 12px;
  font-weight: 700;
}

.tile-links a {
  background: #0f6b56;
  color: #fff;
}

.preview-area {
  display: grid;
  grid-template-rows: auto auto minmax(360px, 1fr) auto;
  align-self: start;
  min-height: calc(100vh - 56px);
  padding: clamp(14px, 2vw, 22px);
  border-radius: 8px;
}

.preview-toolbar {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: min(320px, 100%);
  margin: 0 0 10px;
  padding: 3px;
  background: #eef2f6;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.preview-toolbar button {
  min-height: 36px;
  color: #475467;
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-weight: 800;
}

.preview-toolbar button.active {
  color: #ffffff;
  background: var(--accent);
}

.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.stats span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: #344054;
  background: #f0f3f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.canvas-wrap {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: auto;
  padding: clamp(10px, 2vw, 18px);
  background:
    linear-gradient(45deg, #eef2f6 25%, transparent 25%),
    linear-gradient(-45deg, #eef2f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef2f6 75%),
    linear-gradient(-45deg, transparent 75%, #eef2f6 75%);
  background-color: #f8fafc;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
  background-size: 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

#patternCanvas {
  display: block;
  max-width: min(100%, 980px);
  height: auto;
  background: #ffffff;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  box-shadow: 0 12px 40px rgba(28, 37, 54, 0.16);
}

#patternCanvas.large-pattern-preview {
  width: auto;
}

.canvas-wrap.large-preview {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  overflow-anchor: none;
}

.canvas-wrap.fit-preview {
  display: grid;
  place-items: center;
  max-height: none;
  overflow: hidden;
}

.canvas-wrap.fit-preview #patternCanvas {
  width: auto;
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.canvas-wrap.detail-preview {
  display: block;
  max-height: 72vh;
  overflow: auto;
  touch-action: pan-x pan-y;
}

.canvas-wrap.detail-preview #patternCanvas.large-pattern-preview {
  width: auto;
  max-width: none;
  max-height: none;
}

.empty-state {
  position: absolute;
  inset: 18px;
  display: grid;
  place-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
  pointer-events: none;
}

.empty-state strong {
  color: var(--ink);
  font-size: 20px;
}

.palette-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.palette-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.palette-title h3 {
  margin-bottom: 4px;
}

.color-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.color-navigation strong {
  color: #344054;
  font-size: 12px;
}

.color-navigation button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid rgba(17, 120, 101, 0.2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.color-navigation button:disabled {
  color: #98a2b3;
  background: #f2f4f7;
  border-color: #e4e7ec;
}

.palette-title span {
  color: var(--muted);
  font-size: 13px;
}

.palette-list {
  display: flex;
  overflow-x: auto;
  padding-bottom: 8px;
  gap: 10px;
}

.return-preview-card {
  display: grid;
  place-content: center;
  flex: 0 0 150px;
  min-height: 94px;
  padding: 10px;
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.swatch-card {
  display: grid;
  grid-template-columns: 42px minmax(110px, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 178px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.swatch-card.active {
  border-color: rgba(17, 120, 101, 0.62);
  box-shadow: 0 0 0 3px rgba(17, 120, 101, 0.12);
}

.swatch-card.active::after {
  content: "图中已高亮";
  grid-column: 1 / -1;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
}

.swatch-card.completed {
  border-color: rgba(17, 120, 101, 0.5);
  background: #f0faf7;
}

.swatch-card.completed .swatch-count::after {
  content: " · 已完成";
  color: var(--accent-strong);
}

.swatch {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 6px;
}

.swatch-meta {
  min-width: 0;
}

.swatch-meta strong,
.swatch-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swatch-meta strong {
  font-size: 13px;
}

.swatch-meta span,
.swatch-count {
  color: var(--muted);
  font-size: 12px;
}

.swatch-count {
  grid-column: 1 / -1;
  font-weight: 900;
  white-space: nowrap;
}

@media (min-width: 981px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .app-shell {
    height: calc(100vh - 46px);
    min-height: 0;
    padding: 12px 20px 8px;
  }

  .workspace {
    height: 100%;
  }

  .controls {
    position: static;
    height: 100%;
    min-height: 0;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    overflow: hidden;
  }

  .brand h1 {
    font-size: 22px;
  }

  .brand .eyebrow {
    margin-bottom: 2px;
  }

  .mode-tab {
    min-height: 36px;
  }

  .workflow-page {
    display: none;
    min-height: 0;
    align-content: start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 5px;
    scrollbar-gutter: stable;
  }

  .workflow-page.active {
    display: grid;
  }

  .preview-area {
    position: static;
    height: 100%;
    min-height: 0;
    grid-template-rows: auto auto minmax(0, 1fr) minmax(122px, 22vh);
    padding: 14px;
    overflow: hidden;
  }

  .preview-header {
    margin-bottom: 8px;
  }

  .preview-toolbar {
    margin-bottom: 8px;
  }

  .canvas-wrap,
  .canvas-wrap.fit-preview,
  .canvas-wrap.detail-preview {
    min-height: 0;
    max-height: none;
  }

  .canvas-wrap.fit-preview #patternCanvas {
    width: auto;
    height: min(490px, calc(100vh - 410px));
    max-width: 100%;
    max-height: none;
    object-fit: contain;
  }

  .palette-panel {
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    margin-top: 10px;
    overflow: hidden;
  }

  .palette-list {
    min-height: 0;
  }

  .site-footer {
    height: 46px;
    align-items: center;
    padding: 4px 16px;
    overflow: hidden;
  }
}

@media (max-width: 980px) {
  .workflow-tabs,
  .workflow-page-actions,
  .workflow-page > .workflow-next {
    display: none;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .controls {
    position: static;
  }

  .preview-area {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .app-shell {
    padding: 8px;
  }

  .controls,
  .preview-area {
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(28, 37, 54, 0.1);
  }

  .preview-header,
  .palette-title {
    display: grid;
  }

  .stats {
    justify-content: start;
  }

  .control-grid,
  .mode-tabs,
  .plan-grid,
  .preset-grid {
    grid-template-columns: 1fr;
  }

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

  .mode-tab {
    min-height: 38px;
  }

  .canvas-wrap {
    min-height: 280px;
    padding: 8px;
  }

  .canvas-wrap.large-preview {
    max-height: none;
  }

  .canvas-wrap.detail-preview {
    max-height: 68vh;
  }

  .canvas-wrap.fit-preview #patternCanvas {
    max-height: 58vh;
  }

  .palette-title {
    align-items: stretch;
    flex-direction: column;
  }

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

  .site-footer {
    display: grid;
    gap: 6px;
  }

  .site-footer nav {
    justify-content: center;
  }

  .legal-page h1 {
    font-size: 25px;
  }
}
