/* Image discovery and native scene assembly share the app's neutral surfaces. */
.visual-search-section { background: #141109; }
.visual-search-section h2 em, .assembly-section h2 em { color: #c9a468; }
.module-label { font-size: 12px; letter-spacing: .075em; color: #a99c86; }
.visual-search-console, .assembly-console { border: 1px solid #454039; background: #171614; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -35px #000a; }
.visual-search-console .demo-topbar, .assembly-console .demo-topbar { background: #211f1b; border-color: #3c3831; }
.visual-workspace { display: grid; grid-template-columns: .65fr 1.6fr 1fr; position: relative; }
.visual-source { padding: 26px 20px; border-right: 1px solid #39352e; min-width: 0; }
.inspiration-origin { margin-top: 32px; background: #e8e1d3; border-radius: 8px; padding: 7px; box-shadow: 0 8px 17px #0004; transform: rotate(-4deg); opacity: calc(1 - var(--dragging, 0) * .65); }
.inspiration-origin img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.inspiration-origin b { display: block; font-size: 13px; color: #3f3628; padding: 9px 4px 4px; font-weight: 500; }
.inspiration-origin > span { display: block; font-size: 12px; line-height: 1.5; color: #8c7d67; padding: 2px 4px 8px; }
.visual-source-note { color: #a99b84; font-size: 14px; line-height: 1.65; margin-top: 35px; }
.visual-source-note > span { display: block; font-size: 30px; color: #c9a468; margin-bottom: 6px; }
.visual-process { padding: 26px; min-width: 0; }
.visual-process-label { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.visual-process-label > b { font-size: 12px; font-weight: 400; color: #c9b58e; }
.visual-dropzone { position: relative; width: 100%; aspect-ratio: 4/3; border: 1px dashed #665b48; border-radius: 12px; background: #211f1b; overflow: hidden; }
.visual-drop-prompt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; opacity: calc(1 - var(--dropped, 1)); text-align: center; padding: 20px; }
.visual-drop-prompt > svg { width: 42px; height: 42px; fill: none; stroke: #ba9c69; stroke-width: 1.1; margin-bottom: 4px; }
.visual-drop-prompt > span { font-size: 19px; letter-spacing: -.02em; color: #e2d6c2; }
.visual-drop-prompt > small { font-size: 13px; color: #a99b84; }
.visual-image-stack { position: absolute; inset: 0; opacity: var(--dropped, 1); transform: scale(calc(.92 + var(--dropped, 1) * .08)); background: #d8d8d8; }
.visual-image-stack > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.visual-room { clip-path: inset(0 0 0 calc(var(--isolation, 1) * 100%)); }
.visual-scan-line { position: absolute; left: var(--visual-scan-x, 50%); top: 0; bottom: 0; width: 2px; background: #f4dfb6; box-shadow: 0 0 15px #dcb77a; opacity: var(--visual-scanning, 0); }
.visual-scan-line:before { content: ''; position: absolute; right: 0; width: 38px; top: 0; bottom: 0; background: linear-gradient(90deg, transparent, #dac29238); }
.visual-detection { position: absolute; inset: 5% 15% 6% 17%; opacity: var(--detected, 1); }
.visual-detection > i { position: absolute; width: 19px; height: 19px; border: 0 solid #e3bc76; }
.visual-detection > i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.visual-detection > i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.visual-detection > i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.visual-detection > i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.visual-detection > span { position: absolute; left: 7px; top: 7px; padding: 4px 7px; background: #302719e8; color: #e3bc76; border: 1px solid #d5b37d77; border-radius: 4px; font-size: 12px; letter-spacing: .07em; }
.visual-drop-ring { position: absolute; inset: 0; border: 3px solid #c9a468; border-radius: 10px; opacity: var(--drop-pulse, 0); pointer-events: none; }
.visual-process-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 18px; }
.visual-process-bottom > span { color: #b0a38e; font-size: 14px; line-height: 1.6; max-width: 280px; }
.visual-process-bottom > b { font-size: 12px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; padding: 5px 7px; border: 1px solid #524733; border-radius: 4px; color: #cdb48d; }
.visual-library { position: relative; min-width: 0; padding: 26px 24px; border-left: 1px solid #39352e; background: #1f1c17; }
.visual-library-label { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.visual-library-label > i { font-style: normal; font-size: 12px; color: #a69880; }
.visual-result { margin-top: 25px; opacity: var(--visual-match, 1); transform: translateY(calc((1 - var(--visual-match, 1)) * 15px)); }
.visual-result-image { position: relative; background: #ede7da; border-radius: 9px; overflow: hidden; }
.visual-result-image img { width: 100%; height: auto; aspect-ratio: 1.1; object-fit: contain; mix-blend-mode: multiply; }
.visual-result-image > span { position: absolute; top: 10px; right: 10px; padding: 5px 8px; background: #211e19ef; color: #c5d1b1; font-size: 12px; border: 1px solid #8a977955; border-radius: 5px; }
.visual-result-copy { padding-top: 19px; }
.visual-result-copy h3 { font-size: 24px; letter-spacing: -.03em; line-height: 1.1; }
.visual-result-copy p { font-size: 14px; color: #b4a68f; line-height: 1.65; margin-top: 10px; }
.visual-result-copy > div { display: flex; gap: 6px; margin-top: 16px; }
.visual-result-copy > div span { font-size: 12px; color: #cdbb9d; padding: 4px 7px; background: #332b20; border-radius: 4px; }
.visual-result-copy > small { display: block; color: #91836e; font-size: 12px; margin-top: 17px; }
.visual-result-wait { position: absolute; left: 24px; right: 24px; top: 108px; opacity: calc(1 - var(--visual-match, 1)); text-align: center; }
.visual-wait-icon { color: #665740; font-size: 45px; }
.visual-result-wait p { font-size: 21px; line-height: 1.4; letter-spacing: -.025em; color: #ac9b7e; margin-top: 12px; }
.visual-result-wait > div { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.visual-result-wait img { width: 27%; max-width: 70px; height: auto; aspect-ratio: 1; object-fit: contain; background: #e8e1d3; border-radius: 7px; opacity: .4; }
.visual-drag-card { position: absolute; left: 0; top: 0; width: 130px; padding: 6px; background: #eee7d8; border: 1px solid #fff7e8; border-radius: 8px; box-shadow: 0 20px 28px #0006; z-index: 5; opacity: var(--drag-opacity, 0); transform: translate(var(--drag-x, 0px), var(--drag-y, 0px)) rotate(var(--drag-angle, -4deg)) scale(var(--drag-scale, 1)); pointer-events: none; }
.visual-drag-card > img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.visual-drag-card > span { display: block; color: #4f4230; font-size: 12px; padding: 7px 2px 2px; }
.visual-drag-card > svg { position: absolute; right: -16px; bottom: -17px; width: 26px; height: 32px; stroke: #f5efe3; fill: #282217; stroke-width: 2px; filter: drop-shadow(0 3px 3px #0006); }
.visual-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #3c3831; background: #211f1b; }
.visual-steps > button { position: relative; padding: 21px 22px; border: 0; border-right: 1px solid #3c3831; background: transparent; color: #8d8270; display: flex; align-items: center; gap: 14px; text-align: left; }
.visual-steps > button:last-child { border-right: 0; }
.visual-steps > button > span { font-size: 12px; color: #8d7755; }
.visual-steps > button > b { font-size: 14px; font-weight: 500; }
.visual-steps > button:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #c9a468; transform: scaleX(var(--visual-step-fill, 0)); transform-origin: left; }
.visual-steps > button[aria-pressed="true"] { color: #eadcc5; background: #29241c; }
/* A model list becomes actual named groups in the destination app. */
.assembly-section { background: #0d0b08; }
.assembly-workspace { display: grid; grid-template-columns: .85fr 1.15fr; }
.assembly-input { padding: 30px; border-right: 1px solid #3c3831; }
.assembly-note { margin-top: 22px; padding: 20px 23px 17px; border-radius: 4px 4px 20px 4px; background: #e9e1d0; color: #3a3020; box-shadow: 0 12px 25px #0003; transform: rotate(-1deg); }
.assembly-note > div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #b9aa9066; padding-bottom: 14px; font-size: 12px; color: #7c6b4f; }
.assembly-note > div b { font-weight: 500; font-size: 12px; letter-spacing: .1em; }
.assembly-note p { min-height: 112px; white-space: pre-line; padding-top: 18px; font-size: clamp(19px,1.9vw,27px); line-height: 1.55; letter-spacing: -.035em; font-weight: 500; }
.assembly-note-foot { display: block; border-top: 1px solid #b9aa9066; margin-top: 15px; padding-top: 11px; color: #8a795b; font-size: 12px; }
.assembly-match-heading { display: flex; justify-content: space-between; margin: 31px 0 13px; gap: 20px; font-size: 12px; letter-spacing: .055em; color: #a99c86; }
.assembly-match-heading b { color: #c9b28a; font-weight: 400; letter-spacing: 0; }
.assembly-matches { display: flex; flex-direction: column; gap: 9px; }
.assembly-match { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 10px; background: #211e19; border: 1px solid #433a2d; border-radius: 9px; opacity: calc(.25 + var(--asset-found, 1) * .75); transform: translateY(calc((1 - var(--asset-found, 1)) * 10px)); }
.assembly-match > img { width: 50px; height: 50px; object-fit: contain; border-radius: 5px; background: #e9e1d0; }
.assembly-match > div { min-width: 0; }
.assembly-match b { display: block; font-size: 15px; font-weight: 500; color: #dfd3bf; }
.assembly-match small { display: block; margin-top: 4px; font-size: 12px; color: #8e806b; }
.assembly-match > span { margin-left: auto; font-size: 12px; color: #c9b28a; white-space: nowrap; }
.assembly-match > i { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: #c9a468; transform: scaleX(var(--asset-process, 1)); transform-origin: left; }
.assembly-destination { min-width: 0; background: #1c1a16; }
.assembly-appbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; background: #24211c; border-bottom: 1px solid #453d31; }
.assembly-appbar > div { display: flex; align-items: center; gap: 12px; }
.assembly-appbar img { width: 28px; height: 28px; object-fit: contain; }
.assembly-appbar b { display: block; font-size: 14px; font-weight: 500; }
.assembly-appbar small { display: block; margin-top: 4px; color: #978971; font-size: 12px; }
.assembly-appbar label { font-size: 12px; letter-spacing: .08em; color: #978971; display: flex; flex-direction: column; gap: 5px; }
.assembly-appbar select { border: 1px solid #5b4c35; border-radius: 6px; padding: 7px 9px; background: #30281d; color: #dfceb2; font: inherit; font-size: 13px; letter-spacing: 0; max-width: 150px; }
.assembly-native { position: relative; margin: 24px 26px 0; padding-bottom: 7px; min-height: 184px; }
.assembly-native-label, .assembly-contact-label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .075em; color: #908168; margin-bottom: 13px; }
.assembly-native-label b, .assembly-contact-label b { font-weight: 400; letter-spacing: 0; color: #b6a386; }
.assembly-root { display: flex; align-items: center; gap: 8px; color: #b3a38a; font-size: 14px; padding: 6px 0; }
.assembly-root b { font-weight: 500; }
.assembly-root span:nth-child(2) { color: #c9a468; }
.assembly-object { margin-left: 9px; padding: 10px 12px 10px 18px; display: flex; align-items: center; gap: 8px; border-left: 1px solid #554730; border-bottom: 1px solid #363026; color: #beaf96; opacity: var(--object-ready, 1); transform: translateX(calc((1 - var(--object-ready, 1)) * 18px)); }
.assembly-object > span { color: #89795c; font-size: 12px; }
.assembly-object > img { width: 12px; height: 12px; opacity: .5; }
.assembly-object b { font-size: 14px; font-weight: 400; }
.assembly-object i { color: #99ae82; font-size: 12px; font-style: normal; margin-left: auto; }
.assembly-native-empty { position: absolute; left: 28px; right: 20px; top: 72px; opacity: calc(1 - var(--first-assembled, 1)); }
.assembly-native-empty i { display: block; height: 7px; background: #302b23; width: 40%; margin-bottom: 30px; border-radius: 2px; }
.assembly-native-empty i:nth-child(2) { width: 55%; }
.assembly-contact { padding: 17px 26px 23px; }
.assembly-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.assembly-preview-grid figure { margin: 0; min-width: 0; background: #e9e1d0; border-radius: 7px; overflow: hidden; opacity: var(--preview-ready, 1); transform: translateY(calc((1 - var(--preview-ready, 1)) * 30px)) scale(calc(.86 + var(--preview-ready, 1) * .14)); }
.assembly-preview-grid img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: contain; mix-blend-mode: multiply; }
.assembly-preview-grid figcaption { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; padding: 8px 9px 11px; color: #50432e; line-height: 1.4; }
.assembly-preview-grid figcaption > span { font-size: 12px; color: #9c8c6e; }
.assembly-delivery { display: flex; align-items: center; gap: 14px; margin: 0 26px 25px; padding: 16px 18px; background: #2b251b; border: 1px solid #75603b; border-radius: 9px; opacity: var(--scene-assembled, 1); transform: translateY(calc((1 - var(--scene-assembled, 1)) * 15px)); }
.assembly-delivery img { width: 32px; height: 32px; object-fit: contain; }
.assembly-delivery b { display: block; font-size: 17px; letter-spacing: -.02em; color: #ead9ba; }
.assembly-delivery div > span { display: block; font-size: 12px; color: #a99471; margin-top: 5px; }
.assembly-delivery > strong { margin-left: auto; font-size: 23px; font-weight: 400; color: #a4bb8d; }
.assembly-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 27px; background: #211f1b; border-top: 1px solid #3c3831; }
.assembly-footer > span { font-size: 14px; color: #b7a78c; }
.assembly-footer > b { color: #cfb689; font-size: 12px; font-weight: 500; letter-spacing: .045em; }
.assembly-progress { position: absolute; top: -1px; left: 0; right: 0; height: 2px; }
.assembly-progress > i { display: block; height: 100%; transform: scaleX(var(--assembly-progress, 1)); transform-origin: left; background: #c9a468; }
@media (max-width: 1100px) {
 .visual-workspace { grid-template-columns: .6fr 1.4fr 1fr; }
 .visual-source { padding: 22px 15px; }
 .visual-process, .visual-library { padding: 22px 18px; }
 .visual-process-label { flex-wrap: wrap; gap: 8px; }
 .visual-source .module-label { font-size: 12px; }
 .visual-result-copy h3 { font-size: 22px; }
 .visual-process-bottom { flex-wrap: wrap; gap: 10px; }
 .visual-result-wait { left: 18px; right: 18px; }
 .assembly-input { padding: 25px; }
 .assembly-match { flex-wrap: wrap; gap: 8px; }
 .assembly-match > span { padding-right: 4px; }
 .assembly-match b { font-size: 14px; }
 .assembly-appbar { padding: 18px; }
 .assembly-note { padding: 18px; }
 .assembly-delivery { padding: 14px; gap: 10px; }
 .assembly-delivery b { font-size: 15px; }
}
@media (max-width: 850px) {
 .visual-workspace { grid-template-columns: 1.2fr 1fr; }
 .visual-source { grid-column: 1/-1; display: flex; align-items: center; gap: 26px; padding: 22px 26px; border-right: 0; border-bottom: 1px solid #39352e; }
 .inspiration-origin { width: 150px; margin-top: 0; padding: 5px; transform: rotate(-3deg); }
 .inspiration-origin > span { display: none; }
 .visual-source .module-label { font-size: 12px; }
 .visual-source-note { margin-top: 0; font-size: 13px; }
 .visual-source-note > span { display: inline-block; font-size: 23px; margin-right: 8px; }
 .visual-steps > button { padding: 18px 14px; gap: 8px; }
 .visual-steps > button > b { font-size: 13px; }
 .assembly-workspace { grid-template-columns: 1fr 1.1fr; }
 .assembly-input { padding: 22px 18px; }
 .assembly-match > img { width: 40px; height: 40px; }
 .assembly-match > span { width: 100%; text-align: right; }
 .assembly-note p { font-size: 21px; }
 .assembly-appbar { flex-wrap: wrap; gap: 12px; }
 .assembly-appbar label { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
 .assembly-native { margin-inline: 20px; }
 .assembly-contact { padding-inline: 20px; }
 .assembly-preview-grid { gap: 6px; }
 .assembly-preview-grid figcaption { font-size: 12px; padding: 6px; }
 .assembly-preview-grid figcaption > span { display: none; }
 .assembly-delivery { margin-inline: 20px; }
 .assembly-delivery img { width: 25px; height: 25px; }
 .assembly-delivery b { font-size: 14px; }
 .assembly-delivery div > span { line-height: 1.5; }
}
@media (max-width: 600px) {
 .visual-search-console, .assembly-console { border-radius: 15px; }
 .visual-search-console .demo-topbar > span { font-size: 12px; letter-spacing: .04em; max-width: 165px; line-height: 1.5; }
 .visual-source { gap: 14px; padding: 18px; flex-wrap: wrap; }
 .visual-source > .module-label { width: 100%; }
 .inspiration-origin { width: 115px; margin-left: 3px; }
 .inspiration-origin b { font-size: 12px; padding: 6px 2px 2px; }
 .visual-source-note { font-size: 12px; margin-left: 5px; }
 .visual-source-note > span { font-size: 20px; }
 .visual-workspace { grid-template-columns: 1fr; }
 .visual-process { padding: 24px 18px; }
 .visual-process-label { flex-wrap: nowrap; }
 .visual-drop-prompt > span { font-size: 19px; }
 .visual-process-bottom > span { font-size: 13px; }
 .visual-library { border-left: 0; border-top: 1px solid #39352e; padding: 20px 18px; }
 .visual-result { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; align-items: center; min-height: 210px; }
 .visual-result-image img { aspect-ratio: .85; }
 .visual-result-image > span { font-size: 11px; top: 5px; right: 5px; padding: 4px; }
 .visual-result-copy { padding: 0; }
 .visual-result-copy h3 { font-size: 22px; }
 .visual-result-copy p { font-size: 13px; }
 .visual-result-copy > div { flex-wrap: wrap; gap: 4px; }
 .visual-result-copy > div span { font-size: 12px; }
 .visual-result-copy > small { font-size: 12px; line-height: 1.6; margin-top: 12px; }
 .visual-result-wait { top: 75px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; }
 .visual-result-wait p { margin: 0; font-size: 19px; text-align: left; }
 .visual-result-wait > div { width: 100%; margin-top: 8px; }
 .visual-result-wait img { max-width: 55px; }
 .visual-drag-card { width: 115px; }
 .visual-steps { grid-template-columns: 1fr 1fr; }
 .visual-steps > button { padding: 16px 15px; }
 .visual-steps > button:nth-child(-n+2) { border-bottom: 1px solid #3c3831; }
 .visual-steps > button:nth-child(2) { border-right: 0; }
 .assembly-workspace { grid-template-columns: 1fr; }
 .assembly-input { padding: 24px 20px; border-right: 0; border-bottom: 1px solid #3c3831; }
 .assembly-note { margin-top: 18px; padding: 18px 20px; }
 .assembly-note p { font-size: 25px; min-height: 120px; }
 .assembly-match > img { width: 48px; height: 48px; }
 .assembly-match > span { width: auto; }
 .assembly-appbar { padding: 20px; }
 .assembly-appbar label { flex-direction: column; align-items: flex-start; width: auto; }
 .assembly-preview-grid { gap: 9px; }
 .assembly-preview-grid figcaption { font-size: 12px; padding: 8px; }
 .assembly-delivery b { font-size: 16px; }
 .assembly-delivery img { width: 30px; height: 30px; }
 .assembly-footer { padding: 19px 20px; flex-wrap: wrap; gap: 10px; }
 .assembly-footer > span { font-size: 13px; }
 .assembly-footer > b { font-size: 12px; }
}
