.metacrylics-chart {
  --brand-navy: #07275c;
  --brand-navy-deep: #041942;
  --brand-cyan: #00a7df;
  --brand-cyan-dark: #007eaa;
  --canvas: oklch(0.97 0.006 240);
  --surface: oklch(0.995 0.002 240);
  --ink: oklch(0.2 0.055 255);
  --muted: oklch(0.45 0.025 250);
  --line: oklch(0.87 0.015 245);
  --soft-blue: oklch(0.94 0.025 235);
  --white: #ffffff;
  --danger: #9f2c21;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.32, 0.72, 0, 1);
  --z-sticky: 20;
  --z-toast: 50;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.metacrylics-chart,
.metacrylics-chart * {
  box-sizing: border-box;
}

.metacrylics-chart button,
.metacrylics-chart input,
.metacrylics-chart select {
  font: inherit;
}

.metacrylics-chart button,
.metacrylics-chart a,
.metacrylics-chart select,
.metacrylics-chart input {
  -webkit-tap-highlight-color: transparent;
}

.metacrylics-chart button:focus-visible,
.metacrylics-chart a:focus-visible,
.metacrylics-chart select:focus-visible,
.metacrylics-chart input:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 3px;
}

.metacrylics-chart button:active,
.hero-action:active {
  transform: scale(0.98);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--brand-navy);
  transform: translateY(-180%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: clamp(3rem, 7vw, 8rem);
  min-height: 530px;
  padding: clamp(3rem, 5vw, 5.2rem) clamp(1.2rem, 6vw, 7rem) 5.8rem;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-navy);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 17%;
  width: 2px;
  height: 74%;
  background: color-mix(in srgb, var(--brand-cyan) 55%, transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-kicker {
  margin: 0 0 1.25rem;
  color: #75dcff;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.25rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-intro {
  max-width: 64ch;
  margin: 1.6rem 0 1.8rem;
  color: #d6e2f4;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 50px;
  padding: 0.8rem 1.1rem 0.8rem 1.3rem;
  color: var(--brand-navy-deep);
  background: var(--brand-cyan);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), transform 120ms var(--ease-out);
}

.hero-action:hover {
  background: #5fd5ff;
}

.hero-action span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--brand-navy);
  border-radius: 50%;
}

.field-note {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 1.7rem 0 0;
  border-top: 2px solid var(--brand-cyan);
}

.field-note > p {
  margin: 0 0 1.25rem;
  color: #75dcff;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
}

.field-note ol {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.25rem;
  color: #d6e2f4;
}

.field-note li::marker {
  color: var(--brand-cyan);
  font-weight: 800;
}

.color-ribbon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 27px;
}

.color-ribbon span {
  background: var(--ribbon-color);
}

.library-shell {
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7.5rem) clamp(1.1rem, 4vw, 4rem) 6rem;
}

.library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.library-heading h2,
.specification-note h2 {
  margin: 0;
  color: var(--brand-navy);
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.library-heading p {
  max-width: 60ch;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.library-heading .result-count {
  flex: 0 0 auto;
  margin: 0 0 0.4rem;
  color: var(--brand-navy);
  font-weight: 700;
}

.product-family-selector {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  color: var(--white);
  background: var(--brand-navy);
}

.selector-instruction {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem;
}

.selector-instruction > span,
.filter-step {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--brand-navy-deep);
  background: var(--brand-cyan);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
}

.selector-instruction h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
}

.selector-instruction p {
  margin: .3rem 0 0;
  color: #c8d8eb;
  font-size: .9rem;
}

.product-family-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.product-family-button {
  min-height: 86px;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--white);
  text-align: left;
  background: #173968;
  border: 2px solid transparent;
  cursor: pointer;
}

.product-family-button:hover { border-color: #76d8ff; }
.product-family-button.is-active { color: var(--brand-navy-deep); background: var(--white); border-color: var(--brand-cyan); }
.product-family-button span { display: grid; gap: .25rem; }
.product-family-button b { font-size: 1rem; }
.product-family-button small { color: #bdd0e7; font-size: .78rem; }
.product-family-button.is-active small { color: #506079; }
.product-family-button strong { color: var(--brand-cyan); font-family: var(--display); font-size: 2.25rem; }
.product-family-button.is-active strong { color: var(--brand-navy); }

.filter-panel {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(440px, 1.6fr) minmax(170px, 0.5fr);
  align-items: center;
  gap: 1rem;
  margin: 0 -0.75rem 3rem;
  padding: 0.8rem;
  background: color-mix(in srgb, var(--canvas) 95%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--line) 75%, transparent);
  backdrop-filter: blur(12px);
}

.topcoat-filter,
.sealer-filter-note {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.topcoat-filter[hidden],
.sealer-filter-note[hidden] { display: none; }
.filter-step { width: 30px; height: 30px; }
.sealer-filter-note p { margin: 0; color: var(--brand-navy); font-weight: 800; }

.search-field {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0 0.95rem;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  border-radius: 10px;
}

.search-field:focus-within {
  box-shadow: 0 0 0 2px var(--brand-cyan);
}

.search-field svg {
  width: 20px;
  fill: none;
  stroke: var(--brand-navy);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-field input {
  min-width: 0;
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-field input::placeholder {
  color: #586475;
  opacity: 1;
}

.filter-group {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-group::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  color: var(--brand-navy);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

.filter-chip:hover {
  border-color: var(--brand-cyan-dark);
}

.filter-chip.is-active {
  color: var(--white);
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.tone-filter {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.tone-filter label {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
}

.tone-filter select {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 0 2rem 0 0.75rem;
  color: var(--brand-navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}

.color-section + .color-section {
  margin-top: 4.5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.section-heading h3 {
  margin: 0;
  color: var(--brand-navy);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
}

.section-heading p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(166px, 1fr));
  gap: 1rem;
}

.swatch-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(5, 27, 66, 0.12);
  cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.swatch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(5, 27, 66, 0.13);
}

.swatch-card.is-active {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 2px;
  box-shadow: none;
}

.swatch-card.is-in-shortlist::after {
  content: "✓";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--white);
  background: var(--brand-navy);
  border: 2px solid var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.swatch-color {
  display: block;
  aspect-ratio: 1.55 / 1;
  background: var(--swatch-color);
}

.swatch-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 67px;
  padding: 0.8rem 0.85rem;
}

.swatch-name {
  font-weight: 700;
  line-height: 1.2;
}

.swatch-family-mark {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--brand-cyan);
  border-radius: 50%;
}

.specifier-panel {
  position: sticky;
  top: 94px;
  padding: 1rem;
  color: var(--white);
  background: var(--brand-navy-deep);
  border-radius: 12px;
}

.active-preview {
  display: flex;
  align-items: end;
  aspect-ratio: 1.5 / 1;
  padding: 0.85rem;
  background: #ced6de;
  border-radius: 7px;
  transition: background-color 220ms var(--ease-ui);
}

.active-preview span {
  padding: 0.22rem 0.5rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.68);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.active-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0.8rem;
}

.active-heading p {
  margin: 0 0 0.15rem;
  color: #8bdfff;
  font-size: 0.8rem;
  font-weight: 700;
}

.active-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.25rem;
  line-height: 0.95;
}

.copy-color-button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: transparent;
  border: 1px solid #617292;
  border-radius: 50%;
  cursor: pointer;
}

.copy-color-button:hover {
  border-color: var(--brand-cyan);
}

.copy-color-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.digital-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid #32466d;
  border-bottom: 1px solid #32466d;
  color: #b9c7dc;
  font-size: 0.83rem;
}

.digital-reference code {
  color: var(--white);
  font-family: var(--body);
  font-weight: 700;
}

.active-note {
  margin: 0.75rem 0 1rem;
  color: #b9c7dc;
  font-size: 0.79rem;
  line-height: 1.45;
}

.add-shortlist-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  color: var(--brand-navy-deep);
  background: var(--brand-cyan);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.add-shortlist-button:hover {
  background: #5fd5ff;
}

.add-shortlist-button.is-added {
  color: var(--white);
  background: #24406f;
}

.add-shortlist-button span:last-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: color-mix(in srgb, currentColor 13%, transparent);
  border-radius: 50%;
  font-size: 1.1rem;
}

.project-selection {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid #32466d;
}

.selection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.selection-heading h4 {
  margin: 0;
  font-size: 1rem;
}

.selection-heading h4 span {
  margin-left: 0.35rem;
  color: #9eb0cc;
  font-size: 0.78rem;
  font-weight: 600;
}

.selection-heading h4 b {
  color: var(--white);
}

.selection-heading button {
  padding: 0;
  color: #9eb0cc;
  background: transparent;
  border: 0;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.selection-heading button:disabled {
  cursor: default;
  opacity: 0.35;
}

.shortlist-strip {
  display: flex;
  height: 8px;
  margin: 0.8rem 0;
  overflow: hidden;
  background: #20365e;
  border-radius: 999px;
}

.shortlist-strip span {
  flex: 1;
  background: var(--strip-color);
}

.shortlist-empty {
  padding: 0.4rem 0 0.8rem;
  color: #aebdd3;
  font-size: 0.84rem;
}

.shortlist-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shortlist-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  min-height: 38px;
  color: #e7edf6;
  font-size: 0.85rem;
}

.shortlist-list-color {
  width: 24px;
  height: 24px;
  background: var(--list-color);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
}

.shortlist-list button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #b9c7dc;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.shortlist-list button:hover {
  color: var(--white);
  background: #243d69;
}

.shortlist-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.shortlist-actions button {
  min-height: 40px;
  padding: 0.5rem 0.6rem;
  color: var(--white);
  background: #1a3768;
  border: 1px solid #42577b;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.shortlist-actions button:last-child {
  grid-column: 1 / -1;
}

.shortlist-actions button:hover:not(:disabled) {
  border-color: var(--brand-cyan);
}

.shortlist-actions button:disabled {
  cursor: default;
  opacity: 0.38;
}

.no-results {
  padding: 5rem 1rem;
  text-align: center;
}

.no-results h3 {
  margin: 0;
  color: var(--brand-navy);
  font-family: var(--display);
  font-size: 2.5rem;
}

.no-results p {
  color: var(--muted);
}

.no-results button {
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--brand-navy);
  border: 0;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
}

.specification-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.2rem, 6vw, 7rem);
  color: var(--white);
  background: var(--brand-cyan-dark);
}

.specification-note h2 {
  color: var(--white);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
}

.spec-note-body > p {
  max-width: 62ch;
  margin: 0 0 2.5rem;
  color: #def7ff;
  font-size: 1.08rem;
  line-height: 1.7;
}

.spec-note-body dl {
  margin: 0;
}

.spec-note-body dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.spec-note-body dt {
  color: #b8efff;
  font-weight: 700;
}

.spec-note-body dd {
  margin: 0;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--z-toast);
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--brand-navy-deep);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), filter 220ms var(--ease-out);
  filter: blur(3px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.print-sheet {
  display: none;
}

@media (max-width: 1100px) {
  .product-family-selector { grid-template-columns: 1fr; }
  .filter-panel {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  }

  .tone-filter {
    grid-column: 1 / -1;
  }

  .tone-filter select {
    width: auto;
    min-width: 190px;
  }

  .workspace {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .header-meta > span {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero::before {
    right: 2rem;
    height: 52%;
  }

  .field-note {
    max-width: 560px;
  }

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

  .specifier-panel {
    position: relative;
    top: auto;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1.25fr);
    gap: 0 1.25rem;
  }

  .active-preview {
    grid-row: 1 / span 4;
  }

  .project-selection,
  .shortlist-actions {
    grid-column: 1 / -1;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-heading p {
    text-align: left;
  }

  .specification-note {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    padding-top: 3.2rem;
    padding-bottom: 4.8rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 5.3rem);
  }

  .library-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 1.4rem;
  }

  .product-family-selector { margin-inline: -.25rem; padding: .75rem; }
  .selector-instruction { padding: .45rem .2rem; }
  .selector-instruction h3 { font-size: 1.45rem; }
  .product-family-options { grid-template-columns: 1fr; }
  .product-family-button { min-height: 74px; }
  .topcoat-filter,.sealer-filter-note { align-items: flex-start; flex-direction: column; }
  .filter-step { display: none; }

  .filter-panel {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    margin-bottom: 2.2rem;
    backdrop-filter: none;
  }

  .tone-filter {
    grid-column: auto;
  }

  .tone-filter select {
    width: 100%;
  }

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

  .swatch-copy {
    min-height: 62px;
    padding: 0.7rem;
  }

  .specifier-panel {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 0.55rem 1rem;
    padding: 0.8rem;
  }

  .active-preview {
    grid-row: 1 / span 3;
    aspect-ratio: 1 / 1;
    min-height: 108px;
    padding: 0.55rem;
  }

  .active-preview span {
    font-size: 0.67rem;
  }

  .active-heading {
    align-self: end;
    margin: 0;
  }

  .active-heading h3 {
    font-size: 1.9rem;
  }

  .digital-reference {
    padding: 0.35rem 0;
  }

  .active-note {
    display: none;
  }

  .add-shortlist-button {
    min-height: 42px;
  }

  .project-selection,
  .shortlist-actions {
    grid-column: 1 / -1;
  }

}

@media (prefers-reduced-motion: reduce) {
  .metacrylics-chart,
  .metacrylics-chart *,
  .metacrylics-chart *::before,
  .metacrylics-chart *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    size: letter portrait;
    margin: 0.55in;
  }

  body * {
    visibility: hidden !important;
  }

  .metacrylics-chart .print-sheet,
  .metacrylics-chart .print-sheet * {
    visibility: visible !important;
  }

  .metacrylics-chart .print-sheet {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    color: #111827;
    font-family: var(--body);
  }

  .print-brand {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-bottom: 0.25in;
    border-bottom: 2px solid var(--brand-navy);
  }

  .print-brand img {
    width: 2.6in;
  }

  .print-brand p {
    margin: 0;
    color: var(--brand-navy);
    font-family: var(--display);
    font-size: 20pt;
    font-weight: 700;
  }

  .print-project-fields {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 0.2in;
    margin: 0.3in 0;
  }

  .print-project-fields span {
    min-height: 0.4in;
    padding-top: 0.1in;
    border-bottom: 1px solid #8791a0;
    color: #4b5563;
    font-size: 9pt;
  }

  .print-shortlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25in;
  }

  .print-color {
    break-inside: avoid;
  }

  .print-color-block {
    height: 2in;
    background: var(--print-color);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .print-color h2 {
    margin: 0.12in 0 0;
    color: var(--brand-navy);
    font-family: var(--display);
    font-size: 20pt;
    line-height: 1;
  }

  .print-color p {
    margin: 0.04in 0 0;
    color: #4b5563;
    font-size: 9pt;
  }

  .print-disclaimer {
    margin-top: 0.35in;
    padding-top: 0.14in;
    border-top: 1px solid #8791a0;
    color: #4b5563;
    font-size: 8.5pt;
  }
}
