@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --ink: #17231f;
    --muted: #69756f;
    --line: #e5e9e4;
    --canvas: #f5f6f2;
    --forest: #009b54;
    --forest-dark: #006f3c;
    --sage: #8cb49b;
    --lime: #dce8a8;
    --cream: #f0eadc;
    --shadow: 0 22px 60px rgba(37, 58, 48, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.visually-hidden { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.eyebrow { color: #829089; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.app-shell { display: grid; grid-template-columns: 246px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 10;
    display: flex; flex-direction: column; width: 246px; padding: 30px 22px 24px;
    border-right: 1px solid rgba(32, 62, 49, .08); background: rgba(250, 250, 246, .94);
    backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; width: 148px; padding: 0 8px; }
.brand > img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.nav-list { display: grid; gap: 7px; margin-top: 55px; }
.nav-item {
    display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 0 15px;
    color: #68746e; border-radius: 13px; font-size: 13px; font-weight: 600; transition: .2s ease;
}
.nav-item svg { width: 19px; height: 19px; }
.nav-item:hover { color: var(--forest); background: #edf1eb; }
.nav-item.active { color: #fff; background: linear-gradient(135deg, #00a45a, var(--forest-dark)); box-shadow: 0 9px 24px rgba(0, 111, 60, .2); }
.sidebar-card {
    margin-top: auto; padding: 18px; border: 1px solid #e0e5da; border-radius: 18px;
    background: linear-gradient(145deg, #f2f5e8, #fcfcf7);
}
.sidebar-card strong { display: block; margin: 7px 0 4px; font-family: Manrope, sans-serif; font-size: 13px; }
.sidebar-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.service-state { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding: 9px 10px; }
.service-state .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #d1a642; box-shadow: 0 0 0 5px rgba(209,166,66,.12); }
.service-state.healthy .status-dot { background: #4c9a70; box-shadow: 0 0 0 5px rgba(76,154,112,.12); }
.service-state.unhealthy .status-dot { background: #cf6b62; box-shadow: 0 0 0 5px rgba(207,107,98,.12); }
.service-state strong, .service-state small { display: block; }
.service-state strong { font-size: 10px; }
.service-state small { margin-top: 2px; color: #8b958f; font-size: 9px; }

.main-content { grid-column: 2; min-width: 0; padding: 0 44px 48px; }
.topbar { display: flex; align-items: center; min-height: 106px; }
.topbar-copy h1 { margin: 4px 0 0; font-family: Manrope, sans-serif; font-size: 22px; letter-spacing: -.04em; }
.profile-chip { display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 7px 10px 7px 7px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.75); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border-radius: 11px; background: linear-gradient(145deg, #718d77, #315343); font: 700 12px Manrope, sans-serif; }
.profile-chip strong, .profile-chip small { display: block; }
.profile-chip strong { font-size: 11px; }
.profile-chip small { margin-top: 1px; color: #8b958f; font-size: 9px; }
.mobile-brand, .mobile-header-navigation { display: none; }

.hero {
    position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(340px, .9fr) minmax(410px, 1.1fr);
    min-height: 410px; overflow: hidden; border-radius: 30px; background: #dde6db; box-shadow: var(--shadow);
}
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 17% 20%, rgba(255,255,255,.7), transparent 30%), linear-gradient(110deg, #e8eee4 0 48%, #8fa68d 48%); }
.hero-copy { padding: 54px 20px 48px 54px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; color: var(--forest); border: 1px solid rgba(36,76,61,.12); border-radius: 99px; background: rgba(255,255,255,.55); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-badge svg { width: 13px; height: 13px; }
.hero h2 { max-width: 580px; margin: 22px 0 14px; font: 800 clamp(32px, 4vw, 52px)/1.07 Manrope, sans-serif; letter-spacing: -.055em; }
.hero h2 em { color: var(--forest); font-style: normal; }
.hero-copy > p { max-width: 475px; margin: 0; color: #5e6e66; font-size: 14px; line-height: 1.65; }
.hero-actions { display: flex; gap: 11px; margin-top: 28px; }
.hero-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 13px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.hero-actions button:hover { transform: translateY(-2px); }
.hero-actions svg { width: 18px; height: 18px; }
.primary-action { color: #fff; border: 1px solid var(--forest); background: var(--forest); box-shadow: 0 10px 22px rgba(0,155,84,.22); }
.primary-action:hover { background: var(--forest-dark); }
.secondary-action { color: var(--forest); border: 1px solid rgba(36,76,61,.16); background: rgba(255,255,255,.64); }
.format-note { margin-top: 12px !important; color: #8a958f !important; font-size: 9px !important; }

.room-visual { position: relative; min-height: 410px; overflow: hidden; perspective: 900px; }
.room-visual::before { content: ''; position: absolute; inset: 0 0 90px; background: linear-gradient(112deg, #99ad96 0 55%, #829a80 55%); clip-path: polygon(2% 0, 100% 0, 100% 100%, 0 100%); }
.room-visual::after { content: ''; position: absolute; inset: auto 0 0; height: 92px; background: repeating-linear-gradient(100deg, #bc9e76 0 2px, #c9ad86 2px 42px); transform-origin: top; }
.sun-glow { position: absolute; z-index: 2; top: -30px; right: 3%; width: 210px; height: 340px; opacity: .55; background: linear-gradient(130deg, rgba(255,255,240,.9), transparent 60%); clip-path: polygon(25% 0,100% 0,100% 85%,0 38%); }
.wall-frame { position: absolute; z-index: 3; display: block; border: 7px solid #f0ece1; background: #d7b993; box-shadow: 0 8px 18px rgba(35,53,44,.18); }
.frame-one { top: 64px; left: 18%; width: 80px; height: 108px; }
.frame-one::after { content: ''; position: absolute; inset: 14px; border-radius: 50% 50% 2px 2px; background: #5e7563; }
.frame-two { top: 87px; left: calc(18% + 98px); width: 61px; height: 82px; background: #738b7a; }
.sofa { position: absolute; z-index: 5; right: 7%; bottom: 63px; width: 68%; height: 117px; border-radius: 31px 31px 14px 14px; background: #e7e0d2; box-shadow: 0 18px 22px rgba(42,51,45,.17); }
.sofa::before { content: ''; position: absolute; inset: 47px 0 0; border-top: 1px solid #cfc8bb; border-radius: 0 0 14px 14px; background: #ddd5c7; }
.sofa i { position: absolute; z-index: 2; top: 16px; width: 31%; height: 46px; border-radius: 12px; background: #babfb1; box-shadow: inset 0 -4px 8px rgba(60,75,65,.07); }
.sofa i:first-child { left: 10%; transform: rotate(-3deg); }
.sofa i:nth-child(2) { right: 10%; background: #c49b72; transform: rotate(4deg); }
.sofa b, .sofa b::after { position: absolute; bottom: -13px; width: 8px; height: 24px; border-radius: 3px; background: #544b40; content: ''; }
.sofa b { left: 13%; }.sofa b::after { left: 250px; }
.coffee-table { position: absolute; z-index: 7; right: 22%; bottom: 28px; width: 155px; height: 25px; border-radius: 50%; background: #876d50; box-shadow: 0 11px 16px rgba(51,43,34,.18); }
.coffee-table::before { content: ''; position: absolute; top: 12px; left: 70px; width: 9px; height: 51px; background: #65513e; }
.coffee-table i { position: absolute; left: 65px; bottom: 18px; width: 28px; height: 12px; border-radius: 50% 50% 4px 4px; background: #d1c29e; }
.floor-lamp { position: absolute; z-index: 4; right: 3%; bottom: 72px; width: 90px; height: 250px; }
.floor-lamp::before { content: ''; position: absolute; top: 4px; left: 14px; width: 64px; height: 45px; background: #ede6d5; clip-path: polygon(17% 0,83% 0,100% 100%,0 100%); }
.floor-lamp i { position: absolute; top: 46px; left: 44px; width: 3px; height: 186px; background: #655f51; }
.floor-lamp b { position: absolute; bottom: 5px; left: 22px; width: 49px; height: 8px; border-radius: 50%; background: #655f51; }
.plant { position: absolute; z-index: 5; left: 3%; bottom: 69px; width: 120px; height: 180px; }
.plant b { position: absolute; left: 39px; bottom: 0; width: 56px; height: 64px; border-radius: 7px 7px 18px 18px; background: #927258; }
.plant i { position: absolute; left: 55px; bottom: 55px; width: 36px; height: 93px; border-radius: 100% 0 100% 0; background: #3e6048; transform-origin: bottom; transform: rotate(-27deg); }
.plant i:nth-child(2) { left: 58px; height: 120px; background: #52745a; transform: rotate(8deg); }
.plant i:nth-child(3) { left: 67px; height: 96px; background: #31543d; transform: rotate(40deg); }
.selected-wall-label { position: absolute; z-index: 9; top: 24px; right: 22px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; color: #315342; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; background: rgba(255,255,255,.74); backdrop-filter: blur(12px); font-size: 9px; font-weight: 700; }
.selected-wall-label span { width: 6px; height: 6px; border-radius: 50%; background: #4d8a64; }

.workflow { display: grid; grid-template-columns: 1fr 54px 1fr 54px 1fr; align-items: center; margin: 18px 0; padding: 17px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.65); }
.workflow > i { height: 1px; background: #dfe4df; }
.workflow-step { display: flex; align-items: center; justify-content: center; gap: 11px; }
.workflow-step > span { display: grid; place-items: center; width: 30px; height: 30px; color: #7d8983; border: 1px solid #dce2dd; border-radius: 50%; background: #fff; font: 700 10px Manrope, sans-serif; }
.workflow-step.complete > span { color: #fff; border-color: var(--forest); background: var(--forest); }
.workflow-step strong, .workflow-step small { display: block; }
.workflow-step strong { font-size: 11px; }.workflow-step small { margin-top: 2px; color: #929b96; font-size: 9px; }

.count-badge { padding: 6px 9px; color: #6e7c74; border-radius: 99px; background: #f0f2ee; font-size: 9px; font-weight: 700; }
.empty-project { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 176px; margin-top: 17px; padding: 22px; text-align: center; border: 1px dashed #dce1dc; border-radius: 17px; background: #fafbf8; }
.empty-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--forest); border-radius: 14px; background: #e8eee6; }.empty-icon svg { width: 22px; height: 22px; }
.empty-project strong { margin-top: 11px; font-size: 11px; }.empty-project p { max-width: 220px; margin: 5px 0 11px; color: #87918b; font-size: 9px; line-height: 1.5; }
.empty-project button { padding: 8px 12px; color: var(--forest); border: 1px solid #d9e0d8; border-radius: 9px; background: #fff; cursor: pointer; font-size: 9px; font-weight: 700; }
.mobile-nav { display: none; }

.preview-dialog { width: min(970px, calc(100vw - 34px)); padding: 0; overflow: hidden; color: var(--ink); border: 0; border-radius: 26px; background: #f7f8f4; box-shadow: 0 30px 100px rgba(18,35,27,.28); }
.preview-dialog::backdrop { background: rgba(18,31,25,.62); backdrop-filter: blur(9px); }
.preview-shell > header { display: flex; align-items: center; gap: 14px; padding: 19px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.preview-shell header strong, .preview-shell header span { display: block; }.preview-shell header strong { margin-top: 3px; font: 700 14px Manrope, sans-serif; }
.icon-button { width: 36px; height: 36px; color: #66736c; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; font-size: 23px; line-height: 1; }
.preview-step { margin-left: auto; padding: 7px 10px; color: #67766e; border-radius: 99px; background: #eef1ed; font-size: 9px; font-weight: 700; }
.preview-stage { position: relative; display: grid; place-items: center; height: min(58vh, 570px); overflow: hidden; background-color: #252b28; background-image: linear-gradient(45deg, #2d3430 25%, transparent 25%), linear-gradient(-45deg, #2d3430 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2d3430 75%), linear-gradient(-45deg, transparent 75%, #2d3430 75%); background-position: 0 0, 0 10px, 10px -10px, -10px 0; background-size: 20px 20px; }
.preview-canvas-container { display: grid; place-items: center; max-width: 100%; max-height: 100%; transition: transform .25s ease; }
.preview-canvas-container > * { grid-area: 1 / 1; }
.preview-stage img { display: none; max-width: 100%; max-height: min(58vh, 570px); object-fit: contain; }
.preview-stage img.ready { display: block; }
.preview-stage canvas { display: none; width: 100%; height: 100%; cursor: crosshair; }
.preview-stage canvas.active { display: block; }
.preview-stage canvas.paint-preview { cursor: default; }
.preview-placeholder { color: #cbd1cd; font-size: 12px; }
.processing-overlay { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: rgba(24,38,32,.82); backdrop-filter: blur(8px); }
.processing-overlay[hidden] { display: none; }
.processing-overlay strong { margin-top: 17px; font: 700 17px Manrope, sans-serif; }.processing-overlay small { margin-top: 5px; color: #cbd4cf; font-size: 10px; }
.processing-spinner { width: 42px; height: 42px; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: spin .85s linear infinite; }
.wall-selection-label { position: absolute; z-index: 5; top: 16px; left: 50%; padding: 8px 12px; color: #fff; border-radius: 99px; background: rgba(25,55,43,.88); box-shadow: 0 8px 25px rgba(0,0,0,.18); transform: translateX(-50%); font-size: 10px; font-weight: 700; backdrop-filter: blur(8px); }
.wall-selection-label[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.preview-controls { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px; padding: 15px 20px; background: #fff; }
.preview-controls > button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 10px; font-weight: 700; }
.preview-controls > button svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
.preview-controls .continue-button { color: #fff; border-color: var(--forest); background: var(--forest); }.preview-controls .continue-button:disabled { color: #8d9690; border-color: #e1e4e1; background: #e8ebe8; cursor: not-allowed; }
.preview-notice { justify-self: end; max-width: 350px; padding-right: 10px; text-align: right; }.preview-notice strong, .preview-notice span { display: block; }.preview-notice strong { color: var(--forest); font-size: 9px; }.preview-notice span { margin-top: 2px; color: #87918b; font-size: 8px; }
.wall-selector { grid-column: 1 / -1; display: flex; gap: 8px; min-width: 0; padding-bottom: 12px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.wall-selector[hidden] { display: none; }
.wall-choice { display: flex; flex: 0 0 auto; align-items: baseline; gap: 6px; padding: 8px 12px; color: #65736c; border: 1px solid #dde3de; border-radius: 99px; background: #fff; cursor: pointer; }
.wall-choice strong { color: inherit; font-size: 9px; }.wall-choice small { color: #919a95; font-size: 8px; }
.wall-choice[data-selected="true"] { color: #fff; border-color: var(--forest); background: var(--forest); box-shadow: 0 5px 14px rgba(36,76,61,.17); }
.wall-choice[data-selected="true"] small { color: #dbe8e0; }
.colour-picker { grid-column: 1 / -1; min-width: 0; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.colour-picker[hidden] { display: none; }
.colour-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.colour-picker-heading strong { display: block; margin-top: 2px; font-size: 12px; }
.colour-back { padding: 7px 10px; color: var(--forest); border: 1px solid #dbe2dc; border-radius: 9px; background: #fff; cursor: pointer; font-size: 9px; font-weight: 700; }
.colour-options { display: flex; gap: 8px; padding: 2px 2px 7px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #bdc8c0 transparent; }
.colour-choice { display: flex; flex: 0 0 128px; align-items: center; gap: 8px; min-width: 0; padding: 7px; text-align: left; border: 1px solid #e2e7e2; border-radius: 11px; background: #fff; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s; }
.colour-choice:hover { transform: translateY(-1px); border-color: #bac8be; }
.colour-choice[data-selected="true"] { border-color: var(--forest); box-shadow: 0 0 0 2px rgba(36,76,61,.12); }
.colour-choice > span:last-child { min-width: 0; }
.colour-choice strong, .colour-choice small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.colour-choice strong { font-size: 9px; }.colour-choice small { margin-top: 2px; color: #89938d; font-size: 8px; }
.colour-chip { flex: 0 0 31px; width: 31px; height: 31px; border: 1px solid rgba(20,35,28,.1); border-radius: 9px; background: var(--paint-colour); box-shadow: inset 0 0 0 3px rgba(255,255,255,.18); }
.preview-dialog[data-step="colour"] .preview-stage { height: min(49vh, 510px); }
.preview-dialog[data-step="colour"] .preview-stage img { max-height: min(49vh, 510px); }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 330px; padding: 13px 16px; color: #fff; border-radius: 12px; background: #263d33; box-shadow: 0 15px 40px rgba(20,38,29,.24); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s; font-size: 11px; }.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
    .app-shell { grid-template-columns: 210px minmax(0,1fr); }.sidebar { width: 210px; padding-inline: 16px; }.main-content { padding-inline: 28px; }
    .hero { grid-template-columns: .9fr 1.1fr; }.hero-copy { padding-left: 36px; }.hero h2 { font-size: 38px; }
}

@media (max-width: 820px) {
    body { padding-bottom: 78px; }.app-shell { display: block; }.sidebar { display: none; }.main-content { padding: 0 18px 28px; }
    .topbar { min-height: 79px; }.topbar-copy { display: none; }.mobile-header-navigation { display: flex; align-items: center; gap: 9px; }.mobile-back-button { display: inline-flex; min-height: 36px; padding: 0 10px 0 8px; align-items: center; gap: 3px; color: var(--forest-dark); border: 1px solid #d7e1da; border-radius: 11px; background: rgba(255,255,255,.78); font-size: 9px; font-weight: 800; }.mobile-back-button svg { width: 17px; height: 17px; }.mobile-brand { display: flex; align-items: center; gap: 8px; padding: 0; font: 800 11px Manrope, sans-serif; }.mobile-brand > img { width: 72px; height: auto; mix-blend-mode: multiply; }
    .profile-chip span:not(.avatar) { display: none; }.profile-chip { padding: 5px; border: 0; background: none; }
    .hero { grid-template-columns: 1fr; min-height: auto; border-radius: 24px; }.hero::before { background: radial-gradient(circle at 17% 12%, rgba(255,255,255,.7), transparent 32%), #e5ece1; }.hero-copy { padding: 37px 27px 31px; }.hero h2 { margin-top: 17px; font-size: clamp(31px, 10vw, 46px); }.hero-copy > p { font-size: 12px; }.room-visual { min-height: 325px; }
    .workflow { grid-template-columns: 1fr; gap: 9px; padding: 13px 16px; }.workflow > i { display: none; }.workflow-step { justify-content: flex-start; padding: 5px; }
    .mobile-nav { position: fixed; z-index: 30; inset: auto 10px 10px; display: grid; grid-template-columns: repeat(5,1fr); align-items: end; min-height: 66px; padding: 7px 7px 5px; border: 1px solid rgba(255,255,255,.65); border-radius: 20px; background: rgba(252,253,249,.92); box-shadow: 0 14px 42px rgba(26,48,37,.2); backdrop-filter: blur(18px); }.mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; color: #88928d; border: 0; background: transparent; font-size: 8px; font-weight: 600; }.mobile-nav svg { width: 19px; height: 19px; }.mobile-nav .active { color: var(--forest); }.camera-fab { display: grid; place-items: center; width: 42px; height: 42px; margin-top: -22px; color: #fff; border: 4px solid #f7f8f4; border-radius: 50%; background: var(--forest); box-shadow: 0 6px 14px rgba(36,76,61,.28); }.camera-fab svg { width: 19px; height: 19px; }
    .preview-dialog { max-height: calc(100dvh - 16px); overflow-y: auto; }
    .preview-controls { grid-template-columns: 1fr 1fr; }.preview-notice { grid-column: 1/-1; justify-self: stretch; text-align: left; }.preview-controls .continue-button { grid-column: 1/-1; }
    .preview-stage, .preview-dialog[data-step="colour"] .preview-stage { height: auto; min-height: 0; }
    .preview-canvas-container { width: 100%; max-height: none; }
    .preview-stage img, .preview-dialog[data-step="colour"] .preview-stage img { width: 100%; height: auto; max-width: none; max-height: none; }
}

@media (max-width: 480px) {
    .main-content { padding-inline: 12px; }.mobile-brand > span { display: none; }.hero-copy { padding: 30px 21px 26px; }.hero-actions { display: grid; }.hero-actions button { width: 100%; }.room-visual { min-height: 278px; }.sofa { width: 76%; }.plant { transform: scale(.82); transform-origin: bottom left; }.floor-lamp { transform: scale(.82); transform-origin: bottom right; }
    .preview-dialog { width: calc(100vw - 16px); border-radius: 20px; }.preview-shell > header { padding: 13px; }.preview-controls { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.house-images { margin-block: 24px; padding: 24px; background: white; border: 1px solid #dfe7e1; border-radius: 20px; }
.house-images p { color: #526459; line-height: 1.6; }
.house-image-list { display: grid; gap: 10px; margin-block: 18px; }
.house-image-row { display: flex; gap: 10px; }
.house-image-row button { padding: 12px; border: 1px solid #dfe7e1; border-radius: 10px; background: #f4f8f5; cursor: pointer; }
.house-image-row button:first-child { flex: 1; text-align: left; overflow-wrap: anywhere; min-width: 0; }
.house-images > button { margin: 4px; }
.house-images button:disabled { opacity: .5; cursor: default; }

.preview-controls:has(.continue-button[data-action="bom"]) > [data-preview-rotate],
.preview-controls:has(.continue-button[data-action="bom"]) > #otherHouseImages { display: none; }
.preview-controls:has(.continue-button[data-action="bom"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.preview-controls:has(.continue-button[data-action="bom"]) > .preview-notice { grid-column: 1 / -1; order: 1; justify-self: stretch; text-align: left; }
.preview-controls:has(.continue-button[data-action="bom"]) > [data-preview-replace] { order: 2; min-height: 44px; color: var(--forest); border-color: var(--forest); }
.preview-controls:has(.continue-button[data-action="bom"]) > .continue-button { order: 3; grid-column: auto; min-height: 44px; }
