:root {
  font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #273c33;
  background: #f7f8f5;
  font-synthesis: none;
  --ink: #273c33;
  --muted: #89918a;
  --green: #315747;
  --green-soft: #edf2eb;
  --line: #e7eae3;
  --warm: #ad8860;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 13px; line-height: 1.6; }
button, input, select { font: inherit; }
button { cursor: pointer; border: 0; color: inherit; background: transparent; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
button:disabled { opacity: .4; cursor: not-allowed; }
button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #85a991; outline-offset: 3px; }
button:not(:disabled):active { transform: translateY(1px); }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, h4, p { margin: 0; }
input[type=number], input[type=text], input:not([type]) { min-width: 0; }
input[type=checkbox], input[type=range] { accent-color: var(--green); }
input[type=range] { cursor: pointer; }
input::placeholder { color: #a4aaa3; }
.primary, .secondary, .quiet, .hero-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 7px; padding: 10px 17px; font-weight: 500; white-space: nowrap; }
.primary { background: var(--green); color: #fff; border: 1px solid var(--green); }
.primary:hover { background: #224432; box-shadow: 0 3px 12px #31574720; }
.secondary { background: #fff; border: 1px solid #dce2d8; }
.secondary:hover { border-color: #a1b39e; background: #f6f8f3; }
.quiet:hover { background: #f1f4ee; }
.primary.light { background: #f5f3e8; color: #304333; border-color: #f5f3e8; padding: 12px 22px; }
.primary.light:hover { background: #fff; }
.hero-ghost { color: #fff; border: 1px solid #ffffff60; background: #ffffff0d; padding: 12px 20px; }
.hero-ghost:hover { background: #ffffff24; }
.full { width: 100%; margin-top: 12px; }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; }
.icon-button:hover { background: #eef2e9; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 2.1px; color: #969e8e; }
.small-muted { color: var(--muted); font-size: 11px; line-height: 1.8; }
.app-header { height: 68px; display: flex; align-items: center; gap: 24px; background: #fff; border-bottom: 1px solid var(--line); padding: 0 30px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0; white-space: nowrap; }
.brand > img { width: 32px; height: 32px; }
.brand > span:nth-child(2) { font-size: 20px; font-weight: 650; letter-spacing: 1px; }
.brand-en { margin-left: 8px; font-size: 10px; letter-spacing: 2px; font-weight: 600; }
.brand-divider { width: 1px; height: 19px; background: var(--line); margin: 0 3px; }
.brand-caption { color: #788577; font-size: 12px; font-weight: 400; }
.header-nav { height: 100%; display: flex; gap: 30px; align-items: center; margin-left: 37px; font-size: 12px; }
.header-nav > * { height: 100%; display: flex; align-items: center; border-bottom: 2px solid transparent; padding: 0 2px; }
.header-nav .active { border-bottom-color: var(--green); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 15px; }
.local-tag { display: inline-flex; align-items: center; gap: 7px; color: #8b938b; font-size: 11px; }
.local-tag i, .live-dot { width: 6px; height: 6px; background: #72916c; border-radius: 100%; display: inline-block; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; background: #eee9dd; border: 3px solid #f7f5ed; color: #8b7859; border-radius: 50%; font-size: 12px; }
.project-breadcrumb { display: flex; align-items: center; gap: 15px; font-size: 12px; min-width: 0; }
.project-breadcrumb > span:first-child { color: #ccd2c9; font-size: 20px; }
.project-breadcrumb button { display: flex; gap: 10px; align-items: center; max-width: 240px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.save-status { font-size: 10px; color: #8e9a8b; white-space: nowrap; }
.home { max-width: 1516px; margin: 0 auto; padding: 47px 60px 0; }
.home-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 31px; }
.home-heading h1 { font-size: clamp(23px, 2.2vw, 34px); font-weight: 550; letter-spacing: -.5px; margin: 8px 0 8px; }
.home-heading h1 span { color: #7e8a76; }
.home-heading p { font-size: 12px; color: #8b9389; }
.home-date { text-align: right; color: #9ca48e; padding-bottom: 4px; font-size: 11px; }
.home-date b { display: block; margin-top: 6px; font-size: 9px; font-weight: 500; letter-spacing: 1.4px; }
.home-hero { display: grid; grid-template-columns: 1.9fr 1fr; gap: 24px; }
.hero-photo { position: relative; border-radius: 13px; overflow: hidden; min-height: 346px; background: #817661; }
.hero-photo > img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 53%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #17271995, #18261e08), linear-gradient(0deg, #1d281ae0, transparent 87%); }
.hero-overline { position: absolute; top: 27px; left: 32px; color: #e8e9df; letter-spacing: 2px; font-size: 11px; }
.hero-copy { position: absolute; left: 32px; right: 20px; bottom: 36px; color: #fff; }
.pill { font-size: 8px; letter-spacing: 2.5px; color: #e5dfc8; }
.hero-copy h2 { font-size: clamp(23px, 2vw, 29px); font-weight: 500; letter-spacing: .4px; margin: 9px 0 7px; }
.hero-copy p { color: #e0dfd0; font-size: 12px; letter-spacing: 2px; }
.hero-buttons { display: flex; gap: 13px; margin-top: 24px; font-size: 12px; }
.reference-credit { position: absolute; bottom: 11px; right: 16px; font-size: 9px; color: #ffffff7d; }
.hero-aside { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 24px 26px 16px; }
.hero-aside h3 { font-size: 18px; font-weight: 550; margin: 6px 0 21px; }
.intro-step { display: flex; gap: 13px; align-items: center; margin: 15px 0; }
.intro-step > span { width: 28px; height: 28px; flex-shrink: 0; border-radius: 7px; display: grid; place-items: center; background: #f1f3e9; color: #879173; font: 11px Georgia, serif; }
.intro-step b { font-weight: 500; font-size: 12px; }
.intro-step p { font-size: 10px; color: #999f95; margin-top: 2px; }
.intro-step > svg { color: #aeb79e; margin-left: auto; }
.hero-note { border-top: 1px solid #edf0e7; padding-top: 13px; margin-top: 19px; font-size: 10px; color: #959c89; display: flex; gap: 8px; align-items: center; }
.project-section { margin-top: 35px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { font-size: 19px; font-weight: 550; }
.section-heading p { font-size: 11px; color: #969d93; margin-top: 3px; }
.project-tabs { display: flex; gap: 23px; }
.project-tabs button { padding: 8px 0 12px; border-bottom: 2px solid transparent; color: #949d90; }
.project-tabs button.active { color: var(--ink); border-color: var(--green); font-weight: 600; }
.project-tabs small { padding: 2px 6px; border-radius: 5px; background: #ebefe6; font-size: 10px; margin-left: 5px; }
.project-tools { display: flex; align-items: center; gap: 15px; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 7px; color: #9fa794; }
.search-field input { border: 0; background: transparent; outline: 0; width: 135px; font-size: 11px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.project-card { min-width: 0; }
.project-thumbnail { border-radius: 9px; border: 1px solid #e2e6db; width: 100%; height: 190px; position: relative; overflow: hidden; background: #eaece3; padding: 12px 20px; }
.project-thumbnail:hover { box-shadow: 0 6px 22px #263f3810; border-color: #9eae96; }
.project-thumbnail .floor-plan { width: 100%; height: 100%; }
.project-state { position: absolute; top: 11px; left: 11px; background: #fffef0eb; padding: 2px 7px; border-radius: 4px; color: #88764a; font-size: 9px; }
.project-state.confirmed { color: #4e7c5b; background: #f3fff2; }
.project-open { display: flex; align-items: center; gap: 5px; position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; font-size: 10px; background: #ffffffd9; border-radius: 5px; }
.project-detail { padding: 10px 1px; }
.project-detail > button { display: block; padding: 0; font-weight: 550; font-size: 13px; }
.project-detail > span { display: block; margin-top: 4px; font-size: 10px; color: #8e9885; }
.project-detail > div { display: flex; justify-content: space-between; margin-top: 9px; color: #a4ab9d; font-size: 9px; }
.new-project-card { border: 1px dashed #cfd8c8; border-radius: 9px; min-height: 190px; max-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #95a18a; background: #f4f6ef; }
.new-project-card:hover { border-color: #9baa8c; background: #eef2e7; }
.new-project-card strong { font-size: 12px; font-weight: 500; margin-top: 10px; }
.new-project-card span { font-size: 10px; margin-top: 4px; }
.empty-projects { grid-column: span 3; min-height: 190px; border: 1px solid #e4e9df; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #8d9b84; background: #fbfcf8; }
.empty-projects strong { font-size: 13px; font-weight: 500; }
.empty-projects p { color: #a2a998; font-size: 11px; }
.empty-projects button { margin-top: 6px; padding: 6px 12px; font-size: 11px; }
.inspiration-section { margin-top: 35px; padding-bottom: 35px; }
.inspiration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.inspiration-card { display: flex; align-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 0; text-align: left; }
.inspiration-card > img { width: 38%; height: 116px; object-fit: cover; }
.inspiration-card > div { padding: 11px 15px; }
.inspiration-card div > span { font-size: 9px; color: #9a8c6f; }
.inspiration-card h3 { font-size: 12px; font-weight: 550; margin: 3px 0 5px; }
.inspiration-card p { font-size: 10px; color: #a0a493; }
.inspiration-card > svg { width: 16px; margin: 0 14px 0 auto; color: #98a18c; }
.inspiration-card:hover { border-color: #b1bea4; }
.home-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e1e6dc; padding: 20px 0; font-size: 10px; color: #a3ab9b; }
.home-footer > span:first-child { font-size: 11px; color: #829178; letter-spacing: 2px; }
.editor { display: grid; grid-template-columns: 65px 282px minmax(0, 1fr); height: calc(100dvh - 140px); min-height: 480px; background: #fff; }
.editor.has-inspector { grid-template-columns: 65px 282px minmax(0, 1fr) 248px; }
.room-rail { border-right: 1px solid var(--line); background: #fafbf8; display: flex; flex-direction: column; padding: 13px 0 8px; }
.room-rail > button { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 10px; color: #94a08c; position: relative; padding: 6px 3px; overflow-wrap: anywhere; }
.room-rail > button.active { background: #edf2e7; color: #476848; }
.room-rail > button.active:before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: #668562; border-radius: 2px; }
.rail-bottom { margin-top: auto; text-align: center; }
.design-panel { border-right: 1px solid var(--line); padding: 23px 20px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d4ddca transparent; }
.panel-heading { margin-bottom: 20px; }
.panel-heading .eyebrow { font-size: 9px; letter-spacing: 1.7px; }
.panel-heading h2 { font-size: 18px; font-weight: 550; margin: 7px 0; letter-spacing: -.5px; }
.panel-heading p { color: #99a18f; font-size: 10px; }
.panel-section-title { font-size: 12px; font-weight: 550; margin: 24px 0 13px; display: flex; justify-content: space-between; }
.panel-section-title small { color: #a0a891; font-size: 9px; font-weight: 400; }
.upload-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #bac8aa; background: #f7f9f2; padding: 23px 12px; min-height: 157px; border-radius: 8px; cursor: pointer; color: #8b9b76; text-align: center; }
.upload-drop:hover, .upload-drop.dragging { border-color: var(--green); background: #edf4e6; }
.upload-drop b { color: #53694c; font-size: 11px; font-weight: 500; max-width: 200px; overflow-wrap: anywhere; }
.upload-drop span { font-size: 9px; color: #9da88e; }
.upload-drop img { max-height: 110px; max-width: 100%; object-fit: contain; }
.notice { display: flex; align-items: flex-start; gap: 8px; background: #f6f5ed; color: #9c967b; border-radius: 6px; padding: 10px; margin-top: 15px; font-size: 10px; line-height: 1.9; }
.notice > svg { margin-top: 2px; }
.notice.warning { background: #fcf2df; color: #9b7837; }
.field { display: flex; flex-direction: column; gap: 7px; color: #8b9680; font-size: 10px; margin: 13px 0; }
.field b { color: #5f7451; font-size: 10px; font-weight: 400; }
.field input:not([type=range]), .field-pair input { width: 100%; border: 1px solid #e0e6d8; border-radius: 6px; background: #fff; padding: 8px 10px; color: #506747; font-size: 12px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-pair label { color: #89957e; font-size: 10px; }
.field-pair input { margin-top: 7px; }
.check-field { display: flex; gap: 6px; align-items: center; font-size: 10px; color: #89997a; margin: 18px 0; }
.check-field.important { font-size: 10px; color: #69845c; }
.area-summary { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e7ebdf; padding-top: 16px; margin-top: 24px; font-size: 11px; color: #94a085; }
.area-summary b { font-size: 24px; color: #547044; font-weight: 500; }
.area-summary small { font-size: 11px; font-weight: 400; }
.local-ai-label { background: #f1f5eb; padding: 8px 9px; color: #91a17c; font-size: 10px; display: flex; align-items: center; gap: 7px; border-radius: 6px; }
.layout-cards { display: grid; gap: 11px; margin-top: 18px; }
.layout-card { display: flex; align-items: center; gap: 10px; text-align: left; padding: 13px 10px; border: 1px solid #e5eadf; border-radius: 8px; }
.layout-card.selected { background: #f0f5ea; border-color: #a6bc94; }
.layout-icon { color: #8ea178; }
.layout-card b { font-size: 11px; font-weight: 550; }
.layout-card p { font-size: 9px; color: #9ea88f; margin-top: 4px; }
.layout-card > svg { margin-left: auto; color: #72975d; }
.room-list { display: grid; gap: 6px; }
.room-list button { display: flex; align-items: center; gap: 8px; border-radius: 6px; padding: 9px 8px; font-size: 11px; text-align: left; }
.room-list button.active { background: #f0f4ea; }
.room-list button > span:last-child { margin-left: auto; color: #9aa78c; font-size: 10px; }
.room-dot { width: 13px; height: 13px; border: 1px solid #00000008; border-radius: 3px; }
.segmented { display: flex; background: #f1f3ed; border: 1px solid #edf0e7; border-radius: 7px; padding: 3px; gap: 2px; }
.segmented button { flex: 1; padding: 6px 10px; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: #8d9a7d; border-radius: 5px; white-space: nowrap; }
.segmented button.active { color: #4e6a40; background: #fff; box-shadow: 0 1px 4px #40512f12; }
.segmented button span { font-size: 9px; }
.collection-list { display: grid; gap: 15px; margin-top: 17px; }
.collection-card { padding: 0; overflow: hidden; border-radius: 8px; border: 1px solid #e2e9d8; text-align: left; }
.collection-card.selected { border-color: #789968; box-shadow: 0 0 0 1px #789968; }
.collection-image { position: relative; height: 134px; }
.collection-image img { width: 100%; height: 100%; object-fit: cover; }
.collection-image > span { position: absolute; right: 8px; top: 8px; padding: 2px 7px; border-radius: 4px; background: #fffffff0; color: #84906f; font-size: 9px; }
.selected .collection-image > span { background: #5c7d4d; color: #fff; }
.collection-image > small { position: absolute; bottom: 4px; right: 7px; color: #fff; text-shadow: 0 1px 3px #000; font-size: 8px; }
.collection-description { padding: 11px; }
.collection-description h3 { font-size: 12px; font-weight: 550; }
.collection-description p { font-size: 9px; margin-top: 2px; color: #9da88e; }
.swatches { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #00000005; }
.swatches span { margin-left: auto; font-size: 9px; color: #889e71; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 17px; }
.product-card { padding: 0 0 7px; border-radius: 7px; border: 1px solid transparent; overflow: hidden; text-align: left; }
.product-card.selected { border-color: #839f6f; }
.product-card > div { background: #f1f3ec; border-radius: 7px; }
.product-card svg { width: 100%; height: 91px; }
.product-card b { display: block; font-size: 10px; font-weight: 500; margin: 6px 5px 0; }
.product-card > span { color: #9aab86; font-size: 10px; margin-left: 5px; }
.stage { position: relative; overflow: hidden; min-width: 0; background: #eceee9; }
.stage-top { position: absolute; top: 18px; left: 22px; right: 22px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 15px; pointer-events: none; }
.stage-top > div { pointer-events: auto; }
.stage-top > div:first-child { display: flex; align-items: center; gap: 8px; background: #ffffffe0; padding: 8px 12px; border: 1px solid #e0e5d9; border-radius: 7px; }
.stage-top b { font-size: 11px; font-weight: 500; }
.stage-top > div > span:last-child { font-size: 10px; color: #97a087; }
.view-switch { background: #ffffffc9; border: 1px solid #dce4d2; backdrop-filter: blur(8px); }
.view-switch button.active { background: #58754a; color: #fff; }
.viewport { position: absolute; inset: 0; }
.viewport canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.grid-bg { background-color: #f8faf6; background-image: linear-gradient(#e3e9dc70 1px, transparent 1px), linear-gradient(90deg, #e3e9dc70 1px, transparent 1px); background-size: 24px 24px; }
.plan-container { position: absolute; inset: 79px 38px 65px; display: flex; align-items: center; justify-content: center; transform: scale(var(--plan-zoom, 1)); }
.floor-plan { width: 100%; height: 100%; max-height: 100%; overflow: visible; touch-action: none; user-select: none; }
.plan-room { cursor: pointer; }
.room-text { fill: #5d6555; text-anchor: middle; font-size: 11px; pointer-events: none; }
.area-text { fill: #9ca18e; text-anchor: middle; font-size: 9px; pointer-events: none; }
.plan-item { cursor: grab; }
.plan-item:active { cursor: grabbing; }
.dimensions { stroke: #b9c3ac; stroke-width: .7; }
.dimensions text { stroke: none; fill: #9caa8e; font-size: 9px; text-anchor: middle; }
.compact .room-text { font-size: 17px; }
.compact .area-text { display: none; }
.stage-caption { position: absolute; z-index: 2; bottom: 20px; left: 22px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.stage-caption > span { display: inline-flex; gap: 6px; align-items: center; color: #849474; background: #ffffffa8; font-size: 10px; padding: 5px 8px; border-radius: 4px; }
.stage-caption b { font-size: 11px; font-weight: 400; color: #8f9c7d; margin-left: 4px; }
.stage-tools { position: absolute; right: 19px; bottom: 23px; z-index: 2; display: flex; border-radius: 8px; border: 1px solid #dce4d2; box-shadow: 0 3px 13px #3345260a; background: #fffffff0; padding: 4px; }
.tool-button { display: grid; place-items: center; width: 33px; height: 31px; border-radius: 4px; font-size: 18px; color: #6f865b; }
.tool-button:hover { background: #eef3e6; }
.tool-button svg { width: 16px; }
.stage-watermark { position: absolute; right: 24px; top: 82px; color: #9daa9080; font-size: 18px; letter-spacing: 2px; pointer-events: none; }
.stage-watermark span { font-size: 7px; display: block; letter-spacing: 1px; }
.scene-loading, .webgl-error { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: #91a17c; padding: 35px; text-align: center; }
.webgl-error p { font-size: 12px; max-width: 340px; }
.inspector { overflow-y: auto; background: #fff; border-left: 1px solid var(--line); padding: 18px; scrollbar-width: thin; }
.inspector-top { display: flex; justify-content: space-between; align-items: center; }
.inspector h3 { font-size: 13px; font-weight: 550; }
.selected-product-art { background: #f5f6ef; margin: 12px 0; border-radius: 8px; }
.selected-product-art svg { width: 100%; height: 120px; }
.product-dimensions { color: #a0ab92; font-size: 10px; margin: 8px 0; }
.item-price { color: #6d8757; font-size: 17px; font-weight: 500; }
.inspector h4 { font-size: 11px; font-weight: 500; margin: 21px 0 11px; }
.replacement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.replacement { padding: 3px 3px 7px; border: 1px solid #e8ecdf; border-radius: 6px; }
.replacement.selected { border-color: #8ca876; background: #f6f9ef; }
.replacement svg { width: 100%; height: 66px; }
.replacement span, .replacement small { display: block; font-size: 9px; }
.replacement small { color: #9cac8b; }
.rotate-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 10px; color: #8f9e7b; }
.rotate-row .secondary { padding: 7px 10px; font-size: 11px; }
.preview-status { display: flex; align-items: center; gap: 8px; background: #eff5e8; color: #84a16a; padding: 11px; border-radius: 6px; font-size: 11px; }
.camera-grid { display: flex; gap: 7px; }
.camera-grid button { border: 1px solid #e1e9d6; background: #f8faf5; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 9px; padding: 13px 4px; font-size: 9px; color: #8b9f76; border-radius: 6px; }
.camera-grid button:hover { background: #eef4e4; border-color: #aabd95; }
.preview-summary { padding: 20px 0 12px; margin-top: 13px; border-bottom: 1px solid #e4ebdc; }
.preview-summary h3 { font-size: 13px; font-weight: 500; }
.preview-summary p { margin-top: 5px; color: #91a080; font-size: 10px; }
.preview-summary dl { display: grid; grid-template-columns: 1fr 1fr; row-gap: 12px; font-size: 11px; margin: 19px 0 9px; }
.preview-summary dt { color: #9aa78c; }
.preview-summary dd { margin: 0; text-align: right; color: #788e62; }
.preview-summary dd.price { font-size: 17px; }
.preview-summary > small { display: block; text-align: right; color: #a6b497; font-size: 8px; }
.workflow-footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 12px 23px; border-top: 1px solid #e1e8d8; background: #fff; gap: 20px; }
.footer-left { display: flex; align-items: center; gap: 15px; }
.footer-left .secondary { font-size: 11px; padding: 8px 11px; }
.footer-left > span { font-size: 10px; color: #9fae8b; }
.workflow-steps { display: flex; align-items: center; gap: 14px; }
.workflow-steps button { display: flex; gap: 8px; align-items: center; color: #acb79d; font-size: 12px; padding: 7px 0; white-space: nowrap; }
.workflow-steps button > span { background: #f0f3eb; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.workflow-steps button.active { color: #436233; }
.workflow-steps button.active > span { background: #4a6b3b; color: #fff; }
.workflow-steps button.done { color: #718e5f; }
.workflow-steps > svg { color: #c0ccaf; width: 11px; }
.next-button { font-size: 12px; min-width: 136px; }
#toast { position: fixed; bottom: 93px; left: 50%; transform: translate(-50%, 12px); background: #273f33f5; color: #f4f6ec; padding: 12px 22px; border-radius: 8px; box-shadow: 0 6px 30px #20362220; font-size: 12px; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: 90vw; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
.modal-overlay { position: fixed; inset: 0; background: #20342773; z-index: 100; display: grid; place-items: center; padding: 25px; backdrop-filter: blur(4px); }
.modal { background: #fff; width: min(520px, 100%); max-height: 87dvh; border-radius: 14px; box-shadow: 0 18px 100px #0d26172b; display: flex; flex-direction: column; }
.modal > header { display: flex; align-items: center; justify-content: space-between; padding: 19px 24px; border-bottom: 1px solid #e4eadc; }
.modal h2 { font-size: 17px; font-weight: 550; }
.modal-body { padding: 23px 25px; overflow-y: auto; }
.modal-intro { color: #91a080; font-size: 12px; margin-bottom: 19px; }
.modal > footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid #e4eadc; }
.modal ul { padding-left: 20px; color: #7d916b; font-size: 12px; }
.modal li { margin: 13px 0; }
.start-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.start-choices button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 25px 10px; background: #f4f7ed; border: 1px solid #dce6cf; border-radius: 8px; color: #79975f; }
.start-choices button:hover { border-color: #83a569; background: #edf4e2; }
.start-choices strong { font-size: 13px; color: #56753c; font-weight: 500; }
.start-choices span { font-size: 10px; color: #a0b28c; }
.confirm-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: #64894b; }
.confirm-heading h3 { font-size: 16px; }
.confirm-heading p { font-size: 11px; color: #9aae86; margin-top: 3px; }
.confirmation-list { max-height: 280px; overflow-y: auto; }
.confirmation-list > div { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ecf0e4; padding: 9px 0; font-size: 11px; }
.confirmation-list small { display: block; color: #a5b497; font-size: 9px; }
.confirmation-list b { font-weight: 400; color: #89a371; }
.confirmation-total { display: flex; justify-content: space-between; align-items: center; margin: 20px 0; font-size: 12px; }
.confirmation-total strong { font-size: 24px; color: #638744; font-weight: 500; }
.boot { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100dvh; gap: 20px; padding: 25px; font-size: 24px; }
.boot span { font-size: 13px; color: #94a984; text-align: center; }

@media (min-width: 1600px) {
  .editor { grid-template-columns: 74px 316px minmax(0, 1fr); }
  .editor.has-inspector { grid-template-columns: 74px 316px minmax(0, 1fr) 270px; }
  .design-panel { padding: 28px 25px; }
  .collection-image { height: 165px; }
  .home { padding-top: 58px; }
  .hero-photo { min-height: 385px; }
}

@media (max-width: 1200px) {
  .app-header { padding: 0 20px; gap: 14px; }
  .brand-caption, .brand-divider, .home-date, .save-status { display: none; }
  .home { padding: 35px 30px 0; }
  .hero-aside { padding: 20px 18px; }
  .intro-step { gap: 9px; }
  .intro-step > svg { display: none; }
  .inspiration-card > div { padding: 8px; }
  .inspiration-card > svg { display: none; }
  .inspiration-card p { font-size: 9px; }
  .editor { grid-template-columns: 56px 250px minmax(0, 1fr); }
  .editor.has-inspector { grid-template-columns: 56px 240px minmax(0, 1fr) 210px; }
  .design-panel { padding: 20px 16px; }
  .inspector { padding: 13px; }
  .footer-left > span { display: none; }
  .stage-top { left: 14px; right: 14px; }
  .stage-top > div > span:last-child { display: none; }
  .view-switch button { font-size: 9px; padding: 6px; }
}

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 330px; }
  .hero-aside { display: none; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .empty-projects { grid-column: span 2; }
  .inspiration-grid { gap: 12px; }
  .inspiration-card { flex-direction: column; align-items: stretch; }
  .inspiration-card > img { width: 100%; height: 130px; }
  .inspiration-card > div { padding: 13px; }
  .editor.has-inspector { grid-template-columns: 56px 240px minmax(0, 1fr); }
  .inspector { position: fixed; z-index: 9; top: 68px; bottom: 72px; right: 0; width: 230px; box-shadow: -6px 0 24px #273c3314; }
  .workflow-footer { padding: 10px 15px; gap: 13px; }
  .workflow-steps { gap: 8px; }
  .workflow-steps button { gap: 4px; font-size: 10px; }
  .workflow-steps > svg { width: 8px; }
  .next-button { min-width: 114px; font-size: 11px; padding: 9px 11px; }
}

@media (max-width: 650px) {
  .app-header { height: 60px; padding: 0 15px; gap: 10px; }
  .brand > img { width: 28px; height: 28px; }
  .brand > span:nth-child(2) { font-size: 18px; }
  .brand-en, .header-nav, .local-tag, .header-actions .avatar { display: none; }
  .header-actions { gap: 4px; }
  .header-actions .quiet { padding: 7px 9px; font-size: 11px; }
  .project-breadcrumb { font-size: 11px; gap: 7px; flex: 1; overflow: hidden; }
  .project-breadcrumb > span:first-child { display: none; }
  .project-breadcrumb button { max-width: 140px; }
  .home { padding: 27px 18px 0; }
  .home-heading { margin-bottom: 24px; }
  .home-heading h1 { font-size: 24px; line-height: 1.6; }
  .home-heading h1 span { display: block; }
  .home-heading p { font-size: 11px; max-width: 290px; }
  .eyebrow { font-size: 8px; }
  .hero-photo { min-height: 318px; }
  .hero-copy { left: 23px; bottom: 37px; right: 15px; }
  .hero-overline { left: 23px; top: 22px; font-size: 10px; }
  .hero-copy h2 { font-size: 22px; }
  .hero-copy p { font-size: 10px; }
  .hero-buttons { gap: 9px; }
  .hero-buttons .primary, .hero-ghost { padding: 10px 12px; font-size: 11px; }
  .project-tools > button { display: none; }
  .search-field { padding: 7px; }
  .search-field input { width: 80px; font-size: 10px; }
  .project-tabs { gap: 13px; font-size: 11px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-thumbnail { height: 150px; padding: 7px 10px; }
  .new-project-card { min-height: 150px; }
  .empty-projects { grid-column: span 2; padding: 16px; text-align: center; }
  .project-grid > .empty-projects + .new-project-card { display: none; }
  .inspiration-grid { grid-template-columns: 1fr; }
  .inspiration-card { flex-direction: row; }
  .inspiration-card > img { width: 40%; height: 115px; }
  .section-heading > .small-muted { display: none; }
  .home-footer { gap: 12px; flex-wrap: wrap; }
  .home-footer > span:last-child { width: 100%; font-size: 9px; }
  .editor, .editor.has-inspector { height: auto; min-height: 0; display: flex; flex-wrap: wrap; }
  .room-rail { flex-direction: row; width: 100%; height: 53px; border-bottom: 1px solid var(--line); padding: 0; overflow-x: auto; }
  .room-rail > button { min-height: 0; height: 52px; flex: 1; min-width: 64px; flex-direction: row; gap: 5px; font-size: 10px; padding: 4px; }
  .room-rail > button > svg { width: 14px; }
  .room-rail > button.active:before { width: auto; height: 2px; top: auto; bottom: 0; left: 12px; right: 12px; }
  .rail-bottom { display: none; }
  .stage { order: 1; width: 100%; height: 52dvh; min-height: 340px; max-height: 570px; }
  .design-panel { order: 2; width: 100%; overflow: visible; padding: 23px; border-top: 1px solid var(--line); }
  .panel-heading { margin-bottom: 16px; }
  .collection-list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .collection-image { height: 80px; }
  .collection-description { padding: 8px 6px; }
  .collection-description h3 { font-size: 9px; }
  .collection-description p { display: none; }
  .swatches i { width: 9px; height: 9px; }
  .swatches span { font-size: 8px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .stage-caption { left: 13px; bottom: 18px; }
  .stage-caption > span { font-size: 8px; }
  .stage-caption b { font-size: 9px; }
  .stage-tools { right: 12px; bottom: 18px; }
  .tool-button { width: 27px; }
  .plan-container { inset: 65px 30px 75px; }
  .stage-top { top: 12px; }
  .inspector { top: 60px; bottom: 0; width: min(280px, 90vw); z-index: 12; }
  .workflow-footer { position: sticky; bottom: 0; z-index: 8; display: grid; grid-template-columns: 1fr auto; min-height: 103px; row-gap: 6px; padding: 8px 15px; box-shadow: 0 -3px 20px #273c3308; }
  .workflow-steps { grid-row: 1; grid-column: 1 / -1; justify-content: center; gap: 14px; }
  .workflow-steps button { font-size: 10px; gap: 5px; }
  .workflow-steps > svg { display: none; }
  .footer-left { grid-row: 2; }
  .next-button { grid-row: 2; }
  .modal-overlay { padding: 15px; }
  .modal > header, .modal-body { padding: 18px; }
  .start-choices { gap: 9px; }
}

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