/* [project]/apps/web/app/globals.css [app-client] (css) */
:root {
  --ink: #1c2824;
  --muted: #66736e;
  --paper: #f4f1e9;
  --cream: #ebe5d8;
  --white: #fffdf8;
  --sage: #8ca594;
  --moss: #385044;
  --terracotta: #c66b4e;
  --line: #1c282424;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: radial-gradient(circle at 95% 8%, #c66b4e1a, transparent 25rem),
    var(--paper);
  margin: 0;
}

button, select {
  font: inherit;
}

button {
  color: inherit;
}

.hero {
  background: var(--ink);
  min-height: 440px;
  color: var(--white);
  padding: 28px clamp(24px, 5vw, 80px) 72px;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: "";
  border: 1px solid #ffffff29;
  border-radius: 50%;
  width: 430px;
  height: 430px;
  position: absolute;
  bottom: -240px;
  right: -110px;
  box-shadow: 0 0 0 70px #ffffff06, 0 0 0 140px #ffffff05;
}

nav, .heroGrid, .workspace, .dnaSection, .resultsSection, footer {
  max-width: 1440px;
  margin-inline: auto;
}

nav {
  justify-content: space-between;
  align-items: center;
  padding-bottom: 80px;
  display: flex;
}

.brandMark {
  letter-spacing: .03em;
  align-items: center;
  gap: 12px;
  display: flex;
}

.brandMark span {
  width: 36px;
  height: 36px;
  font-family: var(--serif);
  border: 1px solid #ffffff80;
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.catalogStatus {
  color: #c9d2cd;
  font-size: 13px;
}

.statusDot {
  background: #90c49f;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  display: inline-block;
  box-shadow: 0 0 0 4px #90c49f1f;
}

.heroGrid {
  grid-template-columns: 1.4fr .6fr;
  align-items: end;
  gap: 80px;
  display: grid;
}

.kicker, .eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
}

.kicker {
  color: #b9c9c0;
}

.hero h1, h2 {
  font-family: var(--serif);
  letter-spacing: -.035em;
  font-weight: 400;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  line-height: .94;
}

.heroIntro {
  color: #bdc8c2;
  max-width: 440px;
  margin: 0 0 4px;
  line-height: 1.75;
}

.workspace, .resultsSection {
  padding: 72px clamp(24px, 5vw, 80px);
}

.sectionHeading {
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
  display: flex;
}

.sectionHeading > div:first-child {
  position: relative;
}

.step {
  font-family: var(--serif);
  color: var(--terracotta);
  font-size: 14px;
  position: absolute;
  top: 3px;
  left: -42px;
}

.sectionHeading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.sectionHeading .eyebrow {
  color: var(--terracotta);
}

.roomTabs, .schemeTabs {
  border-bottom: 1px solid var(--line);
  display: flex;
}

.roomTabs button, .schemeTabs button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 2px solid #0000;
  padding: 13px 18px;
}

.roomTabs button.active, .schemeTabs button.active {
  color: var(--ink);
  border-color: var(--terracotta);
}

.sourceGrid {
  grid-template-columns: repeat(var(--role-count, 3), 1fr);
  gap: 20px;
  display: grid;
}

.sourceSlot {
  border: 1px solid var(--line);
  background: #fffdf8b8;
  border-radius: 4px;
  padding: 14px;
}

.materialCard {
  overflow: hidden;
}

.swatch {
  background-size: cover;
  flex: none;
  width: 82px;
  height: 82px;
  overflow: hidden;
}

.swatchLarge {
  width: 100%;
  height: 250px;
}

.swatch img {
  object-fit: cover;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
}

.materialCopy {
  padding: 18px 4px 8px;
}

.materialCard h3 {
  font-family: var(--serif);
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.1;
}

.materialMeta {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}

.price {
  margin: 12px 0 0;
  font-size: 14px;
}

.price span {
  color: var(--muted);
}

.sourceSlot label {
  text-transform: uppercase;
  letter-spacing: .1em;
  gap: 7px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

select {
  border: 1px solid var(--line);
  background: var(--white);
  width: 100%;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  border-radius: 2px;
  padding: 11px 34px 11px 12px;
}

.generateRow {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 34px;
  padding-top: 26px;
  display: flex;
}

.generateRow p {
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.primaryButton {
  background: var(--terracotta);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  min-width: 230px;
  padding: 16px 22px;
  font-weight: 700;
}

.primaryButton:disabled {
  opacity: .6;
  cursor: wait;
}

.spinner {
  vertical-align: -2px;
  border: 2px solid;
  border-right-color: #0000;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  animation: .8s linear infinite spin;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.errorBanner {
  color: #722d24;
  background: #f4dfd8;
  border-left: 3px solid #a13f32;
  margin-top: 18px;
  padding: 14px;
}

.dnaSection {
  background: var(--moss);
  color: var(--white);
  padding: 72px clamp(24px, 5vw, 80px);
}

.sectionHeading.light .eyebrow {
  color: #bcd1c4;
}

.sectionHeading.light .step {
  color: #e2a18b;
}

.runMeta {
  color: #b8c8bf;
  font-size: 12px;
}

.dnaGrid {
  background: #ffffff1f;
  grid-template-columns: 2fr .55fr .55fr 1fr;
  gap: 1px;
  display: grid;
}

.dnaGrid > div {
  background: var(--moss);
  min-height: 150px;
  padding: 24px;
}

.paletteStrip {
  height: 55px;
  margin: 24px 0 16px;
  display: flex;
  overflow: hidden;
}

.paletteLabels {
  text-transform: uppercase;
  color: #b9c9c0;
  justify-content: space-between;
  gap: 14px;
  font-size: 10px;
  display: flex;
}

.paletteLabels span {
  display: grid;
}

.paletteLabels b {
  color: var(--white);
  text-transform: none;
  margin-top: 4px;
  font-weight: 500;
}

.dnaMetric {
  flex-direction: column;
  justify-content: end;
  display: flex;
}

.dnaMetric strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.dnaMetric span {
  color: #b9c9c0;
  text-transform: uppercase;
  margin-top: 8px;
  font-size: 11px;
}

.resultsSection {
  padding-top: 86px;
}

.schemeTabs button {
  gap: 3px;
  display: grid;
}

.schemeTabs span {
  color: var(--muted);
  font-size: 10px;
}

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

.roomScheme {
  background: var(--white);
  border: 1px solid var(--line);
}

.roomTitle {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 14px;
  padding: 22px;
  display: flex;
}

.roomTitle > span {
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  font-family: var(--serif);
  border-radius: 50%;
  place-items: center;
  font-size: 20px;
  display: grid;
}

.roomTitle .eyebrow {
  color: var(--muted);
  margin-bottom: 3px;
}

.roomTitle h3 {
  font-family: var(--serif);
  margin: 0;
  font-size: 25px;
  font-weight: 400;
}

.roomMaterials .surfaceRow {
  border-bottom: 1px solid var(--line);
}

.roomMaterials .surfaceRow:last-child {
  border: 0;
}

.roomMaterials summary {
  cursor: pointer;
  align-items: center;
  padding: 16px;
  list-style: none;
  display: flex;
}

.roomMaterials summary::-webkit-details-marker {
  display: none;
}

.materialCard.compact {
  flex: 1;
  align-items: center;
  min-width: 0;
  display: flex;
}

.compact .materialCopy {
  min-width: 0;
  padding: 0 12px;
}

.compact h3 {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 17px;
  overflow: hidden;
}

.compact .eyebrow {
  margin-bottom: 4px;
}

.compact .materialMeta {
  font-size: 11px;
}

.compact .price {
  display: none;
}

.scorePill {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 8px;
  font-size: 11px;
}

.reasonPanel {
  color: var(--muted);
  padding: 2px 20px 20px 110px;
  font-size: 12px;
  line-height: 1.5;
}

.reasonPanel p {
  margin: 8px 0;
}

.reasonPanel a {
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: none;
}

.scoreBars {
  margin-bottom: 15px;
}

.scoreBars > div {
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  display: grid;
}

.scoreBars span {
  text-transform: uppercase;
  font-size: 9px;
}

.scoreBars i {
  background: var(--cream);
  height: 3px;
}

.scoreBars b {
  background: var(--sage);
  height: 100%;
  display: block;
}

footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(24px, 5vw, 80px) 60px;
  font-size: 11px;
  display: flex;
}

footer p {
  max-width: 700px;
  margin: 0;
}

.loadingScreen {
  min-height: 100vh;
  color: var(--muted);
  place-content: center;
  display: grid;
}

.cardSkeleton {
  background: linear-gradient(110deg, #eee8dc 30%, #f8f5ee 45%, #eee8dc 60%) 0 0 / 200%;
  height: 340px;
  animation: 1.5s infinite shimmer;
}

@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

button:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible, input:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #e2a18b;
}

.roomElevation {
  border: 1px solid var(--line);
  border-radius: 3px;
  flex-direction: column;
  height: 220px;
  display: flex;
  overflow: hidden;
}

.roomElevation > div {
  background-position: center;
  background-size: cover;
}

.elevCeiling {
  border-bottom: 1px solid #1c282414;
  flex: 0 0 18%;
}

.elevWall {
  flex: auto;
}

.elevFloor {
  border-top: 1px solid #1c282414;
  flex: 0 0 32%;
}

.elevBenchtop {
  z-index: 1;
  border-top: 1px solid #1c282429;
  flex: 0 0 7%;
  min-height: 8px;
  position: relative;
  box-shadow: 0 3px 6px #1c28243d;
}

.elevJoinery {
  flex: 0 0 27%;
  gap: 2px;
  display: flex;
}

.elevJoinery > span {
  background-position: center;
  background-size: cover;
  flex: 1 1 0;
  box-shadow: inset 0 1px #ffffff29;
}

.roomElevation.hasJoinery .elevFloor {
  flex: 0 0 17%;
}

.roomElevation.hasJoinery .elevCeiling {
  flex: 0 0 14%;
}

.roomElevation.compact {
  border-inline: 0;
  border-top: 0;
  border-radius: 0;
  height: 130px;
}

.roomElevation.skeleton {
  background: linear-gradient(110deg, #eee8dc 30%, #f8f5ee 45%, #eee8dc 60%) 0 0 / 200%;
  animation: 1.5s infinite shimmer;
}

.sourceGrid.withPreview {
  grid-template-columns: .85fr repeat(var(--role-count, 3), minmax(0, 1fr));
}

.sourcePreview {
  border: 1px solid var(--line);
  background: #fffdf8b8;
  border-radius: 4px;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  display: flex;
}

.sourcePreview .roomElevation {
  flex: auto;
  height: auto;
  min-height: 220px;
}

.sourcePreview .eyebrow {
  color: var(--muted);
  margin: 0;
}

.resultControls {
  align-items: center;
  gap: 26px;
  display: flex;
}

.naiveToggle {
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  display: flex;
}

.naiveToggle input {
  accent-color: var(--terracotta);
  width: 15px;
  height: 15px;
}

.naiveIntro {
  max-width: 760px;
  color: var(--muted);
  margin: -14px 0 26px;
  font-size: 13px;
  line-height: 1.6;
}

.naiveRow {
  border-bottom: 1px dashed var(--line);
  background: #f3ece1;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 11px;
  display: flex;
}

.naiveLabel {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 9px;
  font-weight: 700;
}

.naiveName {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
  font-weight: 600;
  overflow: hidden;
}

.miniSwatch {
  background-position: center;
  background-size: cover;
  border: 1px solid #1c282426;
  border-radius: 2px;
  flex: none;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.naiveBadge {
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
}

.naiveBadge.bad {
  color: #8c3a2c;
  background: #f4dfd8;
}

.naiveBadge.ok {
  color: #47603f;
  background: #e2ead9;
}

.slotInspector {
  border: 1px solid var(--line);
  border-radius: 3px;
  margin: 14px 0 6px;
}

.slotInspector > summary {
  cursor: pointer;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  list-style: none;
}

.slotInspector > summary::-webkit-details-marker {
  display: none;
}

.slotInspector > summary:before {
  content: "▸ ";
  color: var(--terracotta);
}

.slotInspector[open] > summary:before {
  content: "▾ ";
}

.queryText {
  background: var(--cream);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 130px;
  margin: 0 12px 12px;
  padding: 10px;
  font-size: 10.5px;
  line-height: 1.55;
  overflow: auto;
}

.shortlist {
  margin: 0 12px 12px;
  padding: 0;
  list-style: none;
}

.shortlist li {
  border-top: 1px solid #1c28240f;
  grid-template-columns: 18px minmax(0, 1fr) 70px 26px;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  display: grid;
}

.shortlist li.chosen .shortName {
  color: var(--terracotta);
}

.shortName {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.shortName b {
  font-weight: 700;
}

.shortlist i {
  background: var(--cream);
  height: 3px;
}

.shortlist i b {
  background: var(--sage);
  height: 100%;
  display: block;
}

.shortScore {
  text-align: right;
  color: var(--muted);
  font-size: 10px;
}

.dnaGrid.withTags {
  grid-template-columns: 2fr .5fr .5fr .85fr 1fr;
}

.tagChips {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.tagChips em {
  font-style: normal;
  font-family: var(--sans);
  border: 1px solid #ffffff59;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12px;
}

.loadingScreen.inline {
  min-height: 180px;
}

.paintChip {
  align-items: flex-end;
  display: flex;
}

.chipBand {
  letter-spacing: .04em;
  width: 100%;
  color: var(--ink);
  background: #fffdf8eb;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px;
  font-size: 9px;
  display: flex;
}

.chipBand b {
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  overflow: hidden;
}

.chipBand i {
  color: var(--muted);
  white-space: nowrap;
  font-style: normal;
}

.swatch:not(.swatchLarge).paintChip .chipBand {
  padding: 3px 5px;
  font-size: 7.5px;
}

.swatchLarge.paintChip .chipBand {
  padding: 8px 10px;
  font-size: 11px;
}

.surfaceRow {
  position: relative;
}

.sourceSlot {
  transition: box-shadow .2s, transform .2s;
  position: relative;
}

.sourceSlot.cueLinked {
  box-shadow: 0 0 0 2px var(--terracotta), 0 10px 26px #c66b4e38;
  transform: translateY(-2px);
}

.cueTag {
  z-index: 1;
  background: var(--terracotta);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 9px;
  font-weight: 700;
  position: absolute;
  top: -11px;
  left: 12px;
}

.roomElevation .cueGlow {
  box-shadow: inset 0 0 0 3px var(--terracotta);
}

.linkButton {
  color: #e2a18b;
  cursor: pointer;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  text-decoration: underline;
}

.linkButton:disabled {
  opacity: .5;
  cursor: wait;
}

.determinismOk, .determinismBad {
  border-radius: 20px;
  margin-left: 10px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
}

.determinismOk {
  color: #bfe3ca;
  background: #90c49f33;
}

.determinismBad {
  color: #f0b8a4;
  background: #c66b4e40;
}

.slotInspector .scoreBars {
  margin: 2px 12px 12px;
}

.queryLabel {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 12px 6px;
  font-size: 9px;
  font-weight: 700;
}

.explainer {
  max-width: 1440px;
  margin-inline: auto;
  padding: 26px clamp(24px, 5vw, 80px) 72px;
}

.explainer .mono, .calcLines, .pairLine, .paramList, .filterBox, .vectorRow code {
  font-family: ui-monospace, SF Mono, Menlo, monospace;
  font-size: 11px;
}

.explMeta {
  color: var(--muted);
  font-size: 12px;
}

.explNote {
  max-width: 820px;
  color: var(--muted);
  margin: -14px 0 30px;
  font-size: 13px;
  line-height: 1.65;
}

.explStage {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 18px;
  padding: 24px 26px;
}

.explStage > h3 {
  font-family: var(--serif);
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 400;
  display: flex;
}

.explStage > h3 span {
  border: 1px solid var(--terracotta);
  width: 28px;
  height: 28px;
  color: var(--terracotta);
  font-size: 13px;
  font-family: var(--sans);
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.explStage > p {
  color: var(--muted);
  max-width: 860px;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.65;
}

.explSubhead {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink);
  margin: 18px 0 8px;
  font-size: 10px;
  font-weight: 700;
}

.explRow {
  border-top: 1px solid #1c282412;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  display: flex;
}

.explRow.dropped {
  opacity: .55;
}

.explRowMain {
  flex: 1;
  gap: 4px;
  min-width: 0;
  display: grid;
}

.explRowMain b {
  font-size: 13px;
}

.explRowMain em {
  color: var(--muted);
  font-style: normal;
}

.explRowMain details summary {
  cursor: pointer;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
}

.explRowMain .queryText {
  margin: 8px 0 0;
}

.weightCol {
  color: var(--muted);
  white-space: nowrap;
}

.calcLines {
  margin: 0;
}

.calcLines p {
  color: var(--ink);
  margin: 5px 0;
  line-height: 1.6;
}

.calcLines b {
  color: var(--moss);
}

.fingerprint {
  border: 1px solid #1c282426;
  border-radius: 2px;
  flex: none;
  height: 14px;
  display: inline-flex;
  overflow: hidden;
}

.fingerprint i {
  width: 4px;
  height: 100%;
}

.vectorRow {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  display: flex;
}

.vectorRow .vectorName {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  width: 52px;
  font-size: 9px;
  font-weight: 700;
}

.vectorRow code {
  color: var(--muted);
  word-break: break-all;
}

.slotExplain {
  border: 1px solid var(--line);
  border-radius: 3px;
  margin: 10px 0;
}

.slotExplain > summary {
  cursor: pointer;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.slotExplain > summary::-webkit-details-marker {
  display: none;
}

.slotExplain > summary:before {
  content: "▸ ";
  color: var(--terracotta);
}

.slotExplain[open] > summary:before {
  content: "▾ ";
}

.slotExplain > summary .mono {
  color: var(--muted);
  margin-left: 8px;
  font-weight: 400;
}

.slotExplain > :not(summary) {
  margin-left: 14px;
  margin-right: 14px;
}

.slotExplain > pre.queryText {
  margin: 0 14px 8px;
}

.slotExplain > .explSubhead:first-of-type {
  margin-top: 4px;
}

.slotExplain > :last-child {
  margin-bottom: 14px;
}

.filterBox {
  background: var(--cream);
  word-break: break-word;
  border-radius: 2px;
  margin: 0 14px 6px;
  padding: 9px 11px;
  line-height: 1.55;
}

.filterNote {
  color: var(--muted);
  margin: 0 14px 6px;
  font-size: 11px;
  line-height: 1.55;
}

.candidateExplain {
  border-top: 1px dashed var(--line);
  padding: 10px 0;
}

.candidateHead {
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  display: flex;
}

.candidateHead b {
  font-size: 13px;
}

.paramList {
  color: var(--muted);
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.paramList li {
  margin: 3px 0;
}

.pairLine {
  color: var(--muted);
  margin: 4px 14px;
}

.pairLine b {
  color: var(--moss);
}

.howItWorks {
  border-top: 1px solid var(--line);
  max-width: 1440px;
  margin-inline: auto;
  padding: 44px clamp(24px, 5vw, 80px) 10px;
}

.howItWorks .eyebrow {
  color: var(--terracotta);
}

.howItWorks ol {
  counter-reset: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.howItWorks li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  gap: 6px;
  padding: 14px 16px;
  font-size: 12px;
  display: grid;
  position: relative;
}

.howItWorks li:not(:last-child):after {
  content: "→";
  color: var(--terracotta);
  z-index: 1;
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
}

.howItWorks li b {
  font-size: 12px;
}

.howItWorks li span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.determinismNote {
  color: var(--muted);
  margin: 16px 0 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .howItWorks ol {
    grid-template-columns: 1fr;
  }

  .howItWorks li:not(:last-child):after {
    content: "↓";
    inset: auto auto -16px 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1180px) {
  .dnaGrid.withTags {
    grid-template-columns: 2fr .55fr .55fr 1fr;
  }
}

@media (max-width: 900px) {
  .heroGrid, .sourceGrid, .sourceGrid.withPreview, .roomSchemeGrid, .dnaGrid, .dnaGrid.withTags {
    grid-template-columns: 1fr;
  }

  .resultControls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  nav {
    padding-bottom: 55px;
  }

  .heroIntro {
    margin-top: 16px;
  }

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

  .step {
    display: none;
  }

  .roomTabs, .schemeTabs {
    width: 100%;
    overflow-x: auto;
  }

  .roomTabs button, .schemeTabs button {
    white-space: nowrap;
  }

  .generateRow, footer {
    flex-direction: column;
    align-items: stretch;
  }

  .primaryButton {
    width: 100%;
  }

  .dnaGrid > div {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .catalogStatus {
    display: none;
  }

  .hero {
    min-height: 390px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .workspace, .resultsSection, .dnaSection {
    padding-inline: 18px;
  }

  .swatchLarge {
    height: 210px;
  }

  .roomTabs button {
    padding-inline: 12px;
  }
}

/*# sourceMappingURL=apps_web_app_globals_1lkgh9-.css.map*/