body.page-id-2242 .entry-hero {
  display: none;
}

.bps-shell {
  --bps-bg: #fff8f3;
  --bps-panel: #ffffff;
  --bps-ink: #24313f;
  --bps-muted: #6b7280;
  --bps-line: #eadbd0;
  --bps-coral: #ee6f61;
  --bps-coral-dark: #c94f45;
  --bps-blue: #2f7891;
  --bps-gold: #f3b760;
  --bps-plum: #6f4a7d;
  --bps-shadow: 0 18px 54px rgba(80, 48, 38, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,248,243,0.96)),
    var(--bps-bg);
  box-sizing: border-box;
  color: var(--bps-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  padding: clamp(18px, 3vw, 34px);
  width: 100%;
}

.bps-hero {
  align-items: center;
  display: grid;
  gap: clamp(22px, 4vw, 52px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  margin: 0 auto clamp(22px, 4vw, 42px);
  max-width: 1180px;
  min-height: clamp(360px, 46vh, 520px);
  overflow: hidden;
  position: relative;
}

.bps-hero::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(238, 111, 97, 0.16), transparent 28%),
    radial-gradient(circle at 84% 28%, rgba(47, 120, 145, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 243, 0.18));
  content: "";
  inset: 0;
  position: absolute;
}

.bps-hero-copy,
.bps-hero-visual {
  position: relative;
  z-index: 1;
}

.bps-hero-copy {
  max-width: 660px;
  padding: clamp(22px, 4vw, 46px);
}

.bps-hero-kicker {
  color: var(--bps-blue);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.bps-hero h1 {
  color: var(--bps-ink);
  font-size: clamp(2.35rem, 6vw, 5rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 760px;
}

.bps-hero p {
  color: #435061;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.5;
  margin: 18px 0 0;
  max-width: 620px;
}

.bps-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.bps-hero-actions button {
  background: var(--bps-coral);
  border: 1px solid var(--bps-coral-dark);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(201, 79, 69, 0.22);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 46px;
  padding: 12px 18px;
}

.bps-hero-actions span {
  color: var(--bps-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.bps-hero-visual {
  align-self: stretch;
  min-height: 360px;
}

.bps-hero-tile {
  background-image: var(--tile);
  background-position: center;
  background-repeat: repeat;
  background-size: 58%;
  border: 1px solid rgba(36, 49, 63, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(80, 48, 38, 0.18);
  position: absolute;
}

.bps-hero-tile.is-main {
  height: 78%;
  right: clamp(16px, 3vw, 38px);
  top: 9%;
  width: 74%;
}

.bps-hero-tile.is-side {
  background-size: 72%;
  bottom: 11%;
  height: 38%;
  left: 2%;
  width: 42%;
}

.bps-hero-chip {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(36, 49, 63, 0.12);
  border-radius: 8px;
  bottom: 8%;
  box-shadow: 0 12px 30px rgba(80, 48, 38, 0.12);
  color: var(--bps-ink);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 10px 12px;
  position: absolute;
  right: 8%;
}

.bps-shell,
.bps-shell * {
  box-sizing: border-box;
}

.bps-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.bps-workspace > *,
.bps-preview-zone > *,
.bps-controls > * {
  min-width: 0;
}

.bps-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--bps-line);
  border-radius: 8px;
  box-shadow: var(--bps-shadow);
  max-width: 100%;
  min-width: 0;
}

.bps-controls {
  align-self: start;
  padding: clamp(18px, 2.4vw, 28px);
}

.bps-kicker,
.bps-label {
  color: var(--bps-blue);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.bps-controls h2 {
  color: var(--bps-ink);
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.bps-lede {
  color: var(--bps-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.bps-value-banner {
  background: #f3fbfb;
  border: 1px solid #cce8ec;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 12px 13px;
}

.bps-value-banner strong {
  color: var(--bps-ink);
  font-size: 0.92rem;
  line-height: 1.25;
}

.bps-value-banner span {
  color: var(--bps-muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.bps-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.bps-field span {
  font-size: 0.9rem;
  font-weight: 800;
}

.bps-field textarea {
  border: 1px solid #dcc9bd;
  border-radius: 8px;
  color: var(--bps-ink);
  font: inherit;
  min-height: 118px;
  overflow-wrap: anywhere;
  padding: 13px 14px;
  resize: vertical;
  width: 100%;
}

.bps-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -6px 0 17px;
}

.bps-chip-row button {
  background: #fffdfb;
  border: 1px solid #e7d6ca;
  border-radius: 999px;
  color: var(--bps-blue);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 31px;
  padding: 6px 10px;
}

.bps-chip-row button:hover {
  background: #f3fbfb;
  border-color: #bddde5;
}

.bps-field textarea:focus,
.bps-choice-grid button:focus-visible,
.bps-segments button:focus-visible,
.bps-swatches button:focus-visible,
.bps-primary:focus-visible,
.bps-secondary:focus-visible,
.bps-link-button:focus-visible {
  outline: 3px solid rgba(47, 120, 145, 0.24);
  outline-offset: 2px;
}

.bps-control-group {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

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

.bps-choice-grid button,
.bps-segments button {
  background: #fffdfb;
  border: 1px solid #e7d6ca;
  border-radius: 8px;
  color: var(--bps-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 10px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.bps-choice-grid button:hover,
.bps-segments button:hover {
  transform: translateY(-1px);
}

.bps-choice-grid button.is-active,
.bps-segments button.is-active {
  background: #26394a;
  border-color: #26394a;
  color: #fff;
}

.bps-segments {
  background: #f8eee7;
  border: 1px solid #eadbd0;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 4px;
}

.bps-segments button {
  border-color: transparent;
  font-size: 0.82rem;
  min-height: 38px;
  min-width: 0;
  padding: 8px;
}

.bps-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bps-swatches button {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  height: 42px;
  padding: 3px;
  width: 42px;
}

.bps-swatches button.is-active {
  border-color: var(--bps-coral);
}

.bps-swatches span {
  background:
    linear-gradient(135deg, var(--a) 0 33%, var(--b) 33% 66%, var(--c) 66% 100%);
  border-radius: 999px;
  display: block;
  height: 100%;
  width: 100%;
}

.bps-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.bps-primary,
.bps-secondary,
.bps-link-button {
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 44px;
}

.bps-primary {
  background: var(--bps-coral);
  border: 1px solid var(--bps-coral);
  color: #fff;
  padding: 11px 18px;
}

.bps-primary:hover {
  background: var(--bps-coral-dark);
}

.bps-primary[disabled],
.bps-secondary[disabled] {
  cursor: progress;
  opacity: 0.64;
}

.bps-shell.is-generating .bps-primary {
  background:
    linear-gradient(90deg, var(--bps-coral), #f49383, var(--bps-coral));
  background-size: 220% 100%;
  animation: bps-generating-sheen 1.15s ease-in-out infinite;
}

.bps-shell.is-generating .bps-status::before {
  animation: bps-status-pulse 0.9s ease-in-out infinite;
  background: var(--bps-coral);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 8px;
  margin-right: 7px;
  vertical-align: 1px;
  width: 8px;
}

.bps-generating {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 243, 0.72)),
    repeating-linear-gradient(-28deg, transparent 0 34px, rgba(238, 111, 97, 0.08) 34px 36px, transparent 36px 68px);
  display: grid;
  gap: 8px;
  inset: 0;
  justify-items: center;
  padding: 22px;
  position: absolute;
  text-align: center;
  z-index: 4;
}

.bps-generating-orbits {
  height: 58px;
  position: relative;
  width: 58px;
}

.bps-generating-orbits span {
  animation: bps-orbit 1.4s ease-in-out infinite;
  background: var(--bps-coral);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(238, 111, 97, 0.22);
  height: 12px;
  left: calc(50% - 6px);
  position: absolute;
  top: calc(50% - 6px);
  width: 12px;
}

.bps-generating-orbits span:nth-child(2) {
  animation-delay: 0.16s;
  background: var(--bps-blue);
}

.bps-generating-orbits span:nth-child(3) {
  animation-delay: 0.32s;
  background: var(--bps-gold);
}

.bps-generating-text,
.bps-generating-sub {
  margin: 0;
}

.bps-generating-text {
  color: var(--bps-ink);
  font-size: 1rem;
  font-weight: 900;
}

.bps-generating-sub {
  color: var(--bps-muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.bps-btn-dots::after {
  animation: bps-dots 1.15s steps(4, end) infinite;
  content: "";
  display: inline-block;
  min-width: 1.2em;
  text-align: left;
}

.bps-status {
  color: var(--bps-muted);
  flex: 1 1 160px;
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.bps-trust {
  border-top: 1px solid var(--bps-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
}

.bps-trust li {
  color: var(--bps-ink);
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-left: 20px;
  position: relative;
}

.bps-trust li::before {
  border: 2px solid var(--bps-blue);
  border-radius: 50%;
  border-right-color: transparent;
  border-top-color: transparent;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 5px;
  transform: rotate(-45deg);
  width: 11px;
}

.bps-preview-zone {
  display: grid;
  gap: 18px;
}

.bps-preview-card,
.bps-repeat-card,
.bps-scene-card,
.bps-export-card,
.bps-history {
  padding: 16px;
}

.bps-preview-head {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bps-preview-head strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
  margin-top: 3px;
}

.bps-beta {
  background: #fff0ca;
  border: 1px solid #f2c66d;
  border-radius: 999px;
  color: #6c4817;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 5px 9px;
}

.bps-tile {
  align-items: center;
  aspect-ratio: 1;
  background: #fbf0e8;
  background-position: center;
  background-size: cover;
  border: 1px solid #e3d1c6;
  border-radius: 8px;
  display: grid;
  justify-items: center;
  overflow: hidden;
  position: relative;
  user-select: none;
  width: min(100%, 620px);
}

.bps-tile::before,
.bps-repeat::before {
  background:
    repeating-linear-gradient(
      -28deg,
      transparent 0 42px,
      rgba(36, 49, 63, 0.11) 42px 44px,
      transparent 44px 86px
    );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.bps-tile::after,
.bps-repeat::after {
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(36, 49, 63, 0.12);
  border-radius: 999px;
  bottom: 12px;
  color: rgba(36, 49, 63, 0.58);
  content: "Bokaja preview - buy HD to download";
  display: flex;
  font-size: 0.76rem;
  font-weight: 900;
  justify-content: center;
  left: 50%;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  pointer-events: none;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  white-space: normal;
  z-index: 2;
}

.bps-empty {
  color: var(--bps-muted);
  font-weight: 800;
  padding: 18px;
  text-align: center;
}

.bps-repeat {
  aspect-ratio: 3 / 2;
  background-color: #fbf0e8;
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 33.333% 50%;
  border: 1px solid #e3d1c6;
  border-radius: 8px;
  min-height: 240px;
  overflow: hidden;
  position: relative;
  user-select: none;
}

.bps-shell.is-inspecting:not(.is-generating) .bps-repeat {
  animation: bps-repeat-inspect 12s linear infinite;
}

.bps-seam-scan {
  aspect-ratio: 8 / 3;
  background-color: #fbf0e8;
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 34% 90%;
  border: 1px solid #e3d1c6;
  border-radius: 8px;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}

.bps-seam-scan::before {
  background:
    linear-gradient(90deg, rgba(238, 111, 97, 0.58) 1px, transparent 1px),
    linear-gradient(0deg, rgba(238, 111, 97, 0.42) 1px, transparent 1px);
  background-size: 33.333% 100%, 100% 50%;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.bps-seam-scan::after {
  animation: bps-seam-lens 4.6s ease-in-out infinite;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 62%);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(36, 49, 63, 0.24);
  content: "";
  height: 92px;
  left: 8%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  width: 92px;
  z-index: 2;
}

.bps-seam-scan span {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(36, 49, 63, 0.12);
  border-radius: 999px;
  bottom: 9px;
  color: rgba(36, 49, 63, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  left: 10px;
  padding: 5px 8px;
  position: absolute;
  z-index: 3;
}

.bps-shell.is-inspecting:not(.is-generating) .bps-seam-scan {
  animation: bps-scan-repeat 7.5s ease-in-out infinite;
}

.bps-repeat.has-grid {
  box-shadow:
    inset 0 0 0 1px rgba(238, 111, 97, 0.34),
    inset 33.333% 0 0 rgba(238, 111, 97, 0.0);
}

.bps-repeat.has-grid::before {
  background:
    linear-gradient(90deg, rgba(238, 111, 97, 0.45) 1px, transparent 1px),
    linear-gradient(0deg, rgba(238, 111, 97, 0.45) 1px, transparent 1px);
  background-size: 33.333% 33.333%;
}

.bps-result-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 10px;
}

.bps-result-strip:empty {
  display: none;
}

.bps-result-strip button {
  background: #fffdfb;
  border: 1px solid #e7d6ca;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 5px;
}

.bps-result-strip button.is-active {
  border-color: var(--bps-coral);
  box-shadow: 0 0 0 2px rgba(238, 111, 97, 0.2);
}

.bps-result-strip span {
  aspect-ratio: 1;
  background-color: #fbf0e8;
  background-position: center;
  background-size: cover;
  border-radius: 6px;
}

.bps-result-strip strong {
  color: var(--bps-muted);
  font-size: 0.72rem;
  line-height: 1;
  text-align: center;
}

.bps-repeat-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin: -2px 0 10px;
}

.bps-repeat-tools div {
  background: #f8eee7;
  border: 1px solid #eadbd0;
  border-radius: 8px;
  display: flex;
  gap: 3px;
  padding: 3px;
}

.bps-repeat-tools .bps-zoom-control {
  align-items: center;
  flex: 1 1 260px;
  gap: 8px;
  min-width: 240px;
  padding: 6px 8px;
}

.bps-zoom-control span,
.bps-zoom-control output {
  color: var(--bps-muted);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.bps-zoom-control input[type="range"] {
  accent-color: var(--bps-coral);
  flex: 1;
  min-width: 90px;
}

.bps-repeat-tools button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--bps-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 30px;
  padding: 5px 8px;
}

.bps-repeat-tools button.is-active {
  background: #26394a;
  color: #fff;
}

.bps-scene-tabs {
  background: #f8eee7;
  border: 1px solid #eadbd0;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 10px;
  padding: 4px;
}

.bps-scene-tabs button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--bps-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 32px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 6px 7px;
}

.bps-scene-tabs button.is-active {
  background: #26394a;
  color: #fff;
}

.bps-room-scene {
  --bps-pattern-url: none;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #f9f1ea 0 64%, #e9d8ca 64% 100%);
  border: 1px solid #e3d1c6;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.bps-room-wall {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.2)),
    var(--bps-pattern-url);
  background-repeat: repeat;
  background-size: auto, 82px 82px;
  inset: 0 0 36%;
  position: absolute;
}

.bps-room-floor {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.26), transparent 22%, rgba(36,49,63,0.08) 23%, transparent 24%),
    #dcc6b6;
  bottom: 0;
  height: 36%;
  left: 0;
  position: absolute;
  right: 0;
}

.bps-room-window {
  background:
    linear-gradient(90deg, transparent 48%, rgba(47,120,145,0.16) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(47,120,145,0.16) 48% 52%, transparent 52%),
    linear-gradient(135deg, #f5fbff, #d7edf5);
  border: 7px solid rgba(255,255,255,0.88);
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(36,49,63,0.13);
  height: 34%;
  left: 10%;
  position: absolute;
  top: 13%;
  width: 22%;
}

.bps-room-art {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.54), rgba(255,255,255,0.34)),
    var(--bps-pattern-url);
  background-size: auto, 54px 54px;
  border: 6px solid rgba(255,255,255,0.92);
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(36,49,63,0.12);
  height: 26%;
  position: absolute;
  right: 12%;
  top: 16%;
  width: 20%;
}

.bps-room-furniture {
  background: #f9f3ee;
  border-radius: 16px 16px 7px 7px;
  bottom: 19%;
  box-shadow:
    inset 0 -12px 0 rgba(36,49,63,0.05),
    0 16px 24px rgba(36,49,63,0.11);
  height: 22%;
  left: 30%;
  position: absolute;
  width: 44%;
}

.bps-room-furniture::before,
.bps-room-furniture::after {
  background: #e7d4c7;
  border-radius: 10px 10px 4px 4px;
  bottom: -18%;
  content: "";
  height: 34%;
  position: absolute;
  width: 9%;
}

.bps-room-furniture::before {
  left: 8%;
}

.bps-room-furniture::after {
  right: 8%;
}

.bps-room-pillow {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
    var(--bps-pattern-url);
  background-size: auto, 42px 42px;
  border: 4px solid rgba(255,255,255,0.72);
  border-radius: 9px;
  bottom: 28%;
  box-shadow: 0 8px 16px rgba(36,49,63,0.12);
  height: 17%;
  left: 41%;
  position: absolute;
  transform: rotate(-5deg);
  width: 18%;
}

.bps-room-plant {
  background: #7fa187;
  border-radius: 54% 46% 48% 52%;
  bottom: 26%;
  height: 18%;
  position: absolute;
  right: 7%;
  transform: rotate(-12deg);
  width: 8%;
}

.bps-room-plant::before {
  background: #c59675;
  border-radius: 3px 3px 8px 8px;
  bottom: -54%;
  content: "";
  height: 60%;
  left: 10%;
  position: absolute;
  width: 80%;
}

.bps-room-scene.is-living .bps-room-furniture {
  background: #d8e6e8;
  border-radius: 18px 18px 8px 8px;
  bottom: 18%;
  height: 25%;
  left: 24%;
  width: 54%;
}

.bps-room-scene.is-living .bps-room-window {
  left: 8%;
  width: 18%;
}

.bps-room-scene.is-living .bps-room-art {
  right: 14%;
  top: 13%;
  width: 24%;
}

.bps-room-scene.is-nursery .bps-room-wall {
  background-size: auto, 66px 66px;
}

.bps-room-scene.is-nursery .bps-room-furniture {
  background: #fff8f1;
  border-radius: 8px;
  bottom: 20%;
  height: 20%;
  left: 34%;
  width: 38%;
}

.bps-room-scene.is-nursery .bps-room-art {
  right: 12%;
  top: 11%;
}

.bps-room-scene.is-desk .bps-room-furniture {
  background: #c79673;
  border-radius: 4px;
  bottom: 20%;
  height: 10%;
  left: 23%;
  width: 56%;
}

.bps-room-scene.is-desk .bps-room-pillow {
  background: #26394a;
  border-radius: 999px 999px 8px 8px;
  bottom: 30%;
  height: 18%;
  left: 47%;
  transform: none;
  width: 12%;
}

.bps-room-scene.is-desk .bps-room-window {
  left: 12%;
  top: 12%;
}

.bps-room-scene.is-wrap {
  background: #f5e8de;
}

.bps-room-scene.is-wrap .bps-room-wall {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.28), rgba(36,49,63,0.1)),
    var(--bps-pattern-url);
  background-size: auto, 76px 76px;
  border-radius: 10px;
  bottom: 20%;
  box-shadow: 0 22px 34px rgba(36,49,63,0.18);
  height: 54%;
  left: 23%;
  right: auto;
  top: 16%;
  transform: perspective(520px) rotateX(8deg) rotateZ(-2deg);
  width: 54%;
}

.bps-room-scene.is-wrap .bps-room-wall::before,
.bps-room-scene.is-wrap .bps-room-wall::after {
  background: rgba(255,255,255,0.56);
  content: "";
  position: absolute;
}

.bps-room-scene.is-wrap .bps-room-wall::before {
  height: 100%;
  left: 47%;
  top: 0;
  width: 8%;
}

.bps-room-scene.is-wrap .bps-room-wall::after {
  height: 10%;
  left: 0;
  top: 45%;
  width: 100%;
}

.bps-room-scene.is-wrap .bps-room-floor,
.bps-room-scene.is-wrap .bps-room-window,
.bps-room-scene.is-wrap .bps-room-art,
.bps-room-scene.is-wrap .bps-room-furniture,
.bps-room-scene.is-wrap .bps-room-pillow,
.bps-room-scene.is-wrap .bps-room-plant {
  display: none;
}

.bps-room-scene.is-fabric .bps-room-wall {
  display: none;
}

.bps-room-scene.is-fabric {
  background: linear-gradient(180deg, #f7eee7, #e9d6c8);
}

.bps-room-scene.is-fabric .bps-room-furniture {
  background:
    radial-gradient(circle at 22% 22%, rgba(255,255,255,0.28), transparent 22%),
    var(--bps-pattern-url);
  background-size: auto, 64px 64px;
  border: 7px solid rgba(255,255,255,0.54);
  border-radius: 22px;
  bottom: 24%;
  filter: contrast(0.96);
  height: 40%;
  left: 23%;
  transform: rotate(-3deg);
  width: 48%;
}

.bps-room-scene.is-fabric .bps-room-pillow {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(36,49,63,0.06)),
    var(--bps-pattern-url);
  background-size: auto, 38px 38px;
  bottom: 20%;
  height: 30%;
  left: 51%;
  transform: rotate(6deg);
  width: 26%;
}

.bps-room-scene.is-fabric .bps-room-window,
.bps-room-scene.is-fabric .bps-room-art,
.bps-room-scene.is-fabric .bps-room-plant {
  display: none;
}

.bps-export-card {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.bps-export-card p {
  color: var(--bps-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 6px 0 0;
}

.bps-secondary {
  background: #26394a;
  border: 1px solid #26394a;
  color: #fff;
  padding: 10px 14px;
  white-space: nowrap;
}

.bps-history {
  align-self: start;
  grid-column: 1 / -1;
  overflow: visible;
}

.bps-public-history {
  border-top: 1px solid #eadbd0;
  margin-top: 18px;
  padding-top: 16px;
}

.bps-history-note {
  color: var(--bps-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 2px;
}

.bps-public-history .bps-label {
  color: var(--bps-coral-dark);
}

.bps-link-button {
  background: transparent;
  border: 1px solid #e7d6ca;
  color: var(--bps-blue);
  min-height: 34px;
  padding: 6px 10px;
}

.bps-history-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.bps-history-item {
  align-items: center;
  background: #fffdfb;
  border: 1px solid var(--bps-line);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  grid-template-columns: 52px minmax(0, 1fr);
  min-width: 0;
  padding: 8px;
  transition: background 0.15s ease;
}

.bps-history-item:hover {
  background: #fffaf6;
}

.bps-history-item + .bps-history-item {
  border-top: 1px solid var(--bps-line);
  border-radius: 6px;
}

.bps-history-thumb {
  aspect-ratio: 1;
  background-position: center;
  background-size: cover;
  border-radius: 6px;
  border: 1px solid #e3d1c6;
}

.bps-history-item button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.bps-history-item strong {
  display: -webkit-box;
  font-size: 0.9rem;
  line-height: 1.25;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bps-history-item span {
  color: var(--bps-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.bps-history-item time {
  color: var(--bps-blue);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 4px;
}

.bps-history-pager {
  align-items: center;
  border-top: 1px solid var(--bps-line);
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 10px;
}

.bps-history-pager button {
  background: #fffdfb;
  border: 1px solid #e7d6ca;
  border-radius: 8px;
  color: var(--bps-blue);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 32px;
  padding: 5px 9px;
}

.bps-history-pager button:disabled {
  cursor: default;
  opacity: 0.45;
}

.bps-history-pager span {
  color: var(--bps-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

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

@media (max-width: 1120px) {
  .bps-workspace {
    grid-template-columns: minmax(280px, 390px) minmax(320px, 1fr);
  }

  .bps-history {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .bps-shell {
    padding: 12px;
  }

  .bps-hero {
    gap: 0;
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    min-height: 0;
  }

  .bps-hero-copy {
    padding: 18px;
  }

  .bps-hero h1 {
    font-size: clamp(1.9rem, 10.5vw, 2.75rem);
    line-height: 1;
  }

  .bps-hero p {
    font-size: 0.98rem;
    margin-top: 12px;
  }

  .bps-hero-actions {
    margin-top: 16px;
  }

  .bps-hero-visual {
    min-height: 124px;
  }

  .bps-hero-tile.is-main {
    height: 86%;
    right: 18px;
    top: 0;
    width: 72%;
  }

  .bps-hero-tile.is-side {
    bottom: 12%;
    height: 48%;
    left: 18px;
    width: 42%;
  }

  .bps-hero-chip {
    bottom: 6%;
    font-size: 0.74rem;
    right: 18px;
  }

  .bps-workspace {
    grid-template-columns: 1fr;
    max-width: calc(100vw - 24px);
  }

  .bps-controls,
  .bps-preview-card,
  .bps-repeat-card,
  .bps-export-card,
  .bps-history {
    max-width: calc(100vw - 24px);
    padding: 16px;
  }

  .bps-controls h2 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .bps-choice-grid,
  .bps-segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bps-scene-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bps-chip-row button,
  .bps-choice-grid button,
  .bps-segments button,
  .bps-value-banner span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .bps-actions {
    align-items: stretch;
    display: grid;
  }

  .bps-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bps-primary {
    width: 100%;
  }

  .bps-export-card {
    align-items: stretch;
    display: grid;
  }

  .bps-secondary {
    width: 100%;
  }

  .bps-repeat {
    min-height: 190px;
  }

  .bps-repeat-tools .bps-zoom-control {
    flex-basis: 100%;
    min-width: 0;
  }

  .bps-seam-scan {
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 520px) {
  .bps-workspace,
  .bps-controls,
  .bps-preview-card,
  .bps-repeat-card,
  .bps-export-card,
  .bps-history {
    margin-left: 0;
    margin-right: auto;
    max-width: 366px;
    width: 100%;
  }
}

@keyframes bps-generating-sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes bps-status-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes bps-orbit {
  0% { opacity: 0.35; transform: rotate(0deg) translateX(22px) scale(0.86); }
  50% { opacity: 1; transform: rotate(180deg) translateX(22px) scale(1); }
  100% { opacity: 0.35; transform: rotate(360deg) translateX(22px) scale(0.86); }
}

@keyframes bps-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}

@keyframes bps-repeat-inspect {
  0% {
    background-position: 0 0;
    filter: saturate(1);
  }
  50% {
    background-position: 46px 32px;
    filter: saturate(1.04);
  }
  100% {
    background-position: 92px 64px;
    filter: saturate(1);
  }
}

@keyframes bps-scan-repeat {
  0%, 100% {
    background-position: 0 0;
    background-size: 28% 74%;
  }
  45% {
    background-position: 54% 34%;
    background-size: 54% 142%;
  }
  70% {
    background-position: 100% 62%;
    background-size: 38% 96%;
  }
}

@keyframes bps-seam-lens {
  0% { left: 8%; transform: translate3d(0, -50%, 0) scale(0.82); }
  50% { left: calc(100% - 108px); transform: translate3d(0, -50%, 0) scale(1.1); }
  100% { left: 8%; transform: translate3d(0, -50%, 0) scale(0.82); }
}

@media (prefers-reduced-motion: reduce) {
  .bps-shell.is-generating .bps-primary,
  .bps-shell.is-inspecting:not(.is-generating) .bps-repeat,
  .bps-shell.is-inspecting:not(.is-generating) .bps-seam-scan,
  .bps-seam-scan::after,
  .bps-generating-orbits span,
  .bps-btn-dots::after,
  .bps-shell.is-generating .bps-status::before {
    animation: none;
  }

  .bps-choice-grid button,
  .bps-segments button {
    transition: none;
  }
}
