.gallery-stage{margin-top:36px}.selection-heading h2{font-size:clamp(27px,3vw,36px);max-width:800px}.gallery-controls{display:flex;align-items:center;gap:14px;margin:24px 0 18px}.scene-search{flex:1}.scene-search input,.format-control select{width:100%;min-height:50px;background:white;border:1px solid var(--line);border-radius:12px;padding:12px 16px;color:var(--navy);font:inherit}.scene-search input{padding-left:18px}.category-chips{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}.category-chip{background:white;border:1px solid var(--line);padding:9px 14px;border-radius:24px;color:var(--navy);font-size:13px;line-height:1.4;min-height:42px;transition:background .15s,transform .15s}.category-chip:hover:not([aria-pressed=true]){background:var(--button-yellow);border-color:var(--blue)}.category-chip[aria-pressed=true]{background:var(--navy);color:white;border-color:var(--navy)}.gallery-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 16px}.gallery-meta p{margin:0;font-size:13px;color:#625e76}.gallery-meta .text-button{font-size:13px;min-height:32px}.scene-card{cursor:default;border-color:#12007814;box-shadow:0 3px 18px #12007808}.scene-card .scene-image{display:block;position:relative;border:0;padding:0;background:#eee;overflow:hidden;width:100%}.scene-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .25s}.scene-image:hover img{transform:scale(1.035)}.scene-zoom{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#ffffffed;color:var(--navy);font-size:20px;box-shadow:0 2px 8px #0001}.scene-choice{display:flex;align-items:flex-start;gap:10px;padding:14px 14px 3px;cursor:pointer;color:var(--navy);font-weight:500;font-size:14px;line-height:1.4;min-height:52px}.scene-choice input{position:static!important;width:21px;height:21px;margin:0;flex:0 0 21px}.scene-card.is-selected{border-color:var(--blue);box-shadow:0 0 0 2px #12007812}.scene-card:has(input:disabled):not(:has(input:checked)){opacity:1}.scene-card:has(input[data-compatible=false]) .scene-choice,.scene-card:has(input[data-compatible=false]) .scene-meta{color:#7a7587}.scene-card:has(input[data-compatible=false]) .scene-image{opacity:.65}.scene-meta{margin:2px 14px 12px 45px;font-size:12px;line-height:1.5;color:#68647b}.scene-recommendation{font-size:12px;line-height:1.5;background:#eeedf9;margin:0 12px 12px;padding:8px 10px;color:var(--blue);border-radius:8px}.more-scenes{display:flex;margin:24px auto 0}.selection-footer{position:sticky;bottom:0;background:#fffdf8f5;backdrop-filter:blur(12px);padding:18px 16px;margin:26px -16px 0;border-top:1px solid var(--line);z-index:3;box-shadow:0 -5px 18px #12007806}.selection-footer>div{min-width:0}.selection-footer>.button{flex-shrink:0}.selected-scenes{display:flex;gap:6px;flex-wrap:wrap}.selected-scenes:not(:empty){margin-bottom:10px}.selected-scene{font-size:12px;padding:5px 9px;min-height:31px;border-radius:8px;border:1px solid #12007825;background:#eeedf9;color:var(--navy);max-width:230px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.analysis-status{display:flex;align-items:center;gap:18px;border:1px solid #b8b3e7;background:linear-gradient(110deg,#f0effb,#fff8ed);padding:18px 22px;border-radius:16px;margin:8px 0 30px}.analysis-status strong{font-size:15px;color:var(--navy)}.analysis-status p{margin:4px 0 0;font-size:13px;color:#655c78}.analysis-status.is-ready{border-color:#ded9e9;background:#f5f3fb;padding:13px 18px}.analysis-spinner{display:block;flex:0 0 34px;width:34px;height:34px;border:3px solid #cbc6e9;border-top-color:var(--orange);border-right-color:var(--blue);border-radius:50%;animation:spin 1.1s linear infinite}.analysis-status progress{margin-bottom:0}.text-results{margin:34px 0;padding:30px 0 6px;border-top:1px solid var(--line)}.text-results>p:not(.eyebrow){font-size:14px;color:#645e74}.text-cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin:24px 0 16px}.text-card{padding:20px;border:1px solid var(--line);background:white;border-radius:16px;min-width:0}.text-card h3{font-size:22px;line-height:1.2;min-height:54px;margin-bottom:14px}.text-card textarea,.title-idea input{font:inherit;font-size:14px;line-height:1.65;background:#fcfbff;border:1px solid #dcd8ea;border-radius:10px;width:100%;padding:12px;resize:vertical;min-width:0;color:var(--ink)}.text-card textarea{height:245px;min-height:160px}.text-card .text-button{font-size:13px;font-weight:700}.title-idea{margin-bottom:10px}.title-idea input{font-weight:500}.title-idea .text-button{font-size:12px;padding:4px 0;min-height:30px}.scene-dialog{width:min(760px,calc(100% - 32px));max-height:min(780px,90vh);padding:20px;border:1px solid var(--line);border-radius:20px;box-shadow:0 25px 100px #12007835;color:var(--ink);background:var(--paper)}.scene-dialog::backdrop{background:#050024a6;backdrop-filter:blur(4px)}.scene-dialog img{width:100%;max-height:460px;object-fit:contain;border-radius:12px;background:#ebe9ed}.scene-dialog h2{font-size:25px;margin:18px 0 8px}.scene-dialog p{font-size:14px}.preview-close{display:block;margin:0 0 14px auto;border:0;background:none;min-height:40px;text-decoration:underline;color:var(--navy);font-size:13px}.scene-dialog>.button{min-height:48px}
@media(max-width:800px){.text-cards{grid-template-columns:1fr 1fr}.text-card:last-child{grid-column:1/-1}.text-card:last-child h3{min-height:0}#title-ideas{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}}@media(max-width:700px){.gallery-stage{margin-top:28px}.gallery-controls{display:block}.format-control{display:block;margin-top:10px}.format-control select{font-size:13px;min-height:42px}.category-chips{gap:7px;flex-wrap:nowrap;overflow:auto;padding:4px 0 10px;margin-right:-16px;scrollbar-width:thin;scrollbar-color:#cbc6e9 transparent}.category-chip{flex:0 0 auto;font-size:12px;padding:8px 12px}.scene-choice{font-size:13px;padding:11px 9px 3px;gap:7px}.scene-choice input{width:19px;height:19px;flex-basis:19px}.scene-meta{margin:3px 9px 10px 35px;font-size:11px}.scene-recommendation{margin:0 7px 9px;padding:6px;font-size:11px}.scene-zoom{height:28px;width:28px;top:7px;right:7px}.selection-footer{padding:14px 16px}.selection-footer p{font-size:12px;margin-bottom:8px}.selected-scenes:not(:empty){margin-bottom:8px}.selected-scene{max-width:145px;font-size:11px}.selection-footer .button{min-height:48px}.analysis-status{padding:15px;gap:13px}.analysis-status strong{font-size:14px}.analysis-status p{font-size:12px}.text-cards{grid-template-columns:1fr}.text-card h3{min-height:0}.text-card textarea{height:210px}#title-ideas{display:block}.text-card{padding:18px}.scene-dialog{padding:14px;border-radius:16px}.scene-dialog img{max-height:350px}.scene-dialog h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.analysis-spinner{animation:none;border-color:var(--blue);border-top-color:var(--orange)}}
/* Artroom v3: readable editorial results above the scenes. */
.text-results{margin:28px 0 40px;padding:30px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,#f5f3ff,#fffdf8 65%,#fff3de)}.text-results>h2{font-size:clamp(27px,3.5vw,40px)}.text-results>p:not(.eyebrow){max-width:740px}.text-cards{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;margin:18px 0}.text-card{min-width:0;position:relative;border:1px solid #12007812;border-radius:18px;background:#fff;padding:26px;box-shadow:0 8px 30px #12007808}.text-card h3{font-size:23px;min-height:0;margin:0 0 18px}.text-card-number{font-size:12px;letter-spacing:.12em;color:#9a91af;font-weight:700}.text-display{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:15px;color:#353142}.text-actions{display:flex;align-items:center;gap:20px;margin-top:24px}.text-actions .button{font-size:13px;min-height:43px;padding:10px 18px}.text-card textarea{font:inherit;line-height:1.75;min-height:260px;width:100%;height:auto;resize:vertical}.title-card{background:#12007806;box-shadow:none;border:0}.title-card h3{font-size:17px}.title-card #title-ideas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.title-idea{margin:0}.title-idea input{background:transparent;border:0;border-bottom:1px solid #12007826;border-radius:0;padding:7px 0;font-family:'Bricolage Grotesque',sans-serif;font-size:21px;color:var(--navy);width:100%;min-width:0}.text-results>.small{margin-bottom:0}.browse-gallery{width:100%;margin:24px 0;min-height:56px;border:1px solid #12007835;background:white}#recommendation-section h3{font-size:20px;margin-bottom:20px}#recommendation-grid{margin-top:15px}.gallery-stage{margin-top:30px}.archive-notice{max-width:630px!important;font-size:11px!important;color:#706b80!important}.text-card:last-child{grid-column:auto}#full-gallery{border-top:1px solid var(--line);padding-top:20px}.review-original{margin-bottom:16px}.text-results .text-card h3{letter-spacing:-.02em}
@media(max-width:800px){.text-cards{grid-template-columns:1fr}.text-card:last-child{grid-column:auto}.title-card #title-ideas{grid-template-columns:1fr}.text-results{padding:22px}.text-card{padding:22px}.text-display{font-size:15px}.title-idea{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}}
@media(max-width:440px){.text-results{padding:18px 12px;margin:20px 0 30px;border-radius:18px}.text-results>h2,.text-results>p{padding-left:6px;padding-right:6px}.text-card{padding:19px}.text-actions{gap:14px}.title-idea input{font-size:19px}.browse-gallery{font-size:14px;padding:12px}.text-results>p:not(.eyebrow){font-size:14px}.gallery-stage .selection-heading h2{font-size:26px}}

/* Compact scene choices: a thumbnail and readable details, with independent enlargement. */
.gallery-stage .scene-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gallery-stage .scene-card{display:grid;grid-template-columns:minmax(0,1fr)44px;align-items:center;border:1px solid #c9c5d4;border-radius:12px;background:#fff;box-shadow:none;overflow:visible;transition:border-color .18s,background .18s,box-shadow .18s}
.gallery-stage .scene-card:hover{transform:none;border-color:#8c84b8;background:#faf9fe;box-shadow:0 3px 12px #12007808}
.gallery-stage .scene-card.is-selected,.gallery-stage .scene-card:has(input:checked){border-color:var(--blue);background:#efedf9;box-shadow:0 0 0 1px var(--blue)}
.gallery-stage .scene-choice{display:flex;align-items:center;gap:11px;min-width:0;min-height:88px;margin:0;padding:10px 0 10px 10px;font-size:14px;font-weight:400;line-height:1.4;border-radius:11px}
.gallery-stage .scene-thumbnail{display:block;flex:0 0 68px;width:68px;height:60px;object-fit:cover;border-radius:7px;background:#e9e6e2}
.gallery-stage .scene-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.gallery-stage .scene-title{font-size:13px;font-weight:600;color:var(--navy);line-height:1.4}
.gallery-stage .scene-meta{margin:0;color:#6c677c;font-size:11px;font-weight:400;line-height:1.45}
.gallery-stage .scene-choice input{position:static!important;flex:0 0 17px;width:17px;height:17px;margin:0;accent-color:var(--blue)}
.gallery-stage .scene-preview-button{display:grid;place-items:center;width:44px;min-width:0;min-height:44px;padding:0;border:0;border-radius:9px;background:transparent;color:#766e96;font-size:20px;line-height:1;align-self:center}
.gallery-stage .scene-preview-button:hover{background:#1200780a;color:var(--blue)}
.gallery-stage .scene-recommendation{display:block;margin:1px 0 0;padding:0;border:0;border-radius:0;background:transparent;color:var(--blue);font-size:11px;font-weight:400;line-height:1.45}
.gallery-stage .scene-compatibility{color:#8a4f24;font-size:11px;line-height:1.45}
.gallery-stage .scene-card:has(input[data-compatible=false]) .scene-thumbnail{opacity:.5}
.gallery-stage .scene-choice:has(input:disabled){cursor:default}
.gallery-stage .scene-choice:has(input:disabled):not(:has(input:checked)) .scene-title{color:#787281}
.gallery-stage .scene-card:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:3px}
.gallery-stage .scene-card .done-link{grid-column:1/-1;padding:0 12px 10px 89px;font-size:11px}
@media(max-width:1050px){.gallery-stage .scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.gallery-stage .scene-grid{grid-template-columns:minmax(0,1fr);gap:9px}.gallery-stage .scene-choice{min-height:82px}.gallery-stage .scene-thumbnail{width:64px;height:56px;flex-basis:64px}.gallery-stage .scene-title{font-size:13px}.gallery-stage .scene-card .done-link{padding-left:85px}}

/* Suggested scenes and the full collection are deliberately distinct. */
#recommendation-section{padding:22px;background:#f0edf9;border:1px solid #d9d3e9;border-radius:18px;margin-top:26px}
#recommendation-section .recommendation-label{margin:0 0 7px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
#recommendation-section h3{font-size:clamp(20px,2.4vw,26px);line-height:1.3;margin:0 0 17px;max-width:760px}
.gallery-discovery{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:28px 0 8px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fffaf0}
.gallery-discovery h3{font-size:21px;line-height:1.3;margin:0 0 8px}
.gallery-discovery p{font-size:14px;line-height:1.6;margin:0;max-width:670px;color:#655e75}
.gallery-discovery .browse-gallery{width:auto;flex:0 0 auto;margin:0;min-height:48px;padding:12px 19px;font-size:13px}
.gallery-sort-hint{font-size:12px;line-height:1.6;color:#6c677c;margin:-6px 0 20px;max-width:760px}
.scene-group-heading{grid-column:1/-1;font-size:14px;line-height:1.5;color:var(--navy);margin:20px 0 1px;padding-top:17px;border-top:1px solid var(--line)}
.scene-group-heading:first-child{margin-top:0;padding-top:0;border-top:0}
@media(max-width:850px){.gallery-discovery{display:block}.gallery-discovery .browse-gallery{margin-top:18px;width:100%}}
@media(max-width:650px){#recommendation-section{padding:16px 12px;border-radius:14px}.gallery-discovery{padding:19px 16px;border-radius:14px}.gallery-discovery h3{font-size:20px}.gallery-discovery p{font-size:13px}.gallery-sort-hint{font-size:11px}.scene-group-heading{font-size:13px}}

/* Keep the retention notice readable and distinct from optional file requirements. */
#upload-stage>.archive-notice{font-size:13px!important;line-height:1.7!important;max-width:850px!important;color:#665e72!important;margin:18px 0 0;padding-left:13px;border-left:3px solid #ff8a0055}.results-heading>p:not(.eyebrow){max-width:780px}
@media(max-width:700px){#upload-stage>.archive-notice{font-size:12px!important}.review-original .crop-hint{font-size:12px}}

/* N3: one status panel follows the active upload control. */
.drop-zone>.analysis-status,.url-upload>.analysis-status{margin:16px 0 0;text-align:left;max-width:none}.drop-zone>.analysis-status p{max-width:none}.analysis-status>div{min-width:0;flex:1}.review-original+.analysis-status{margin-bottom:20px}

/* N4: readable room images and a separate, labelled enlargement action. */
.gallery-stage .scene-card{grid-template-columns:minmax(0,1fr);align-content:start}.gallery-stage .scene-choice{display:grid;grid-template-columns:144px minmax(0,1fr) 20px;gap:12px;padding:12px;min-height:136px;width:100%}.gallery-stage .scene-thumbnail{width:144px;height:112px;min-height:112px;object-fit:contain;flex-basis:auto}.gallery-stage .scene-choice input{width:20px;height:20px}.gallery-stage .scene-preview-button{display:inline-flex;justify-self:end;width:auto;min-width:76px;min-height:44px;margin:0 12px 8px;padding:8px 12px;font-size:13px;text-decoration:underline;text-underline-offset:4px}.gallery-stage .scene-card .done-link{padding:0 12px 12px}.gallery-stage .scene-title{font-size:14px}.gallery-stage .scene-meta,.gallery-stage .scene-recommendation{font-size:12px}
@media(max-width:1050px){.gallery-stage .scene-choice{grid-template-columns:112px minmax(0,1fr) 20px;gap:10px}.gallery-stage .scene-thumbnail{width:112px;height:96px;min-height:96px}.gallery-stage .scene-choice{min-height:120px}}
@media(max-width:650px){.gallery-stage .scene-grid{grid-template-columns:minmax(0,1fr)}.gallery-stage .scene-choice{padding:10px;gap:9px}.gallery-stage .scene-title{font-size:13px}.gallery-stage .scene-meta,.gallery-stage .scene-recommendation{font-size:11px}}

/* N6: optional explanation beside the unchanged consent statement. */
.social-consent-wrap{position:relative}.social-consent-wrap .social-consent{padding-right:48px}.rights-help>summary{position:absolute;top:0;right:0;display:grid;place-items:center;min-width:44px;min-height:44px;cursor:pointer;list-style:none;border-radius:50%;color:var(--blue)}.rights-help>summary::-webkit-details-marker{display:none}.rights-help>summary:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.rights-help>p{padding:12px 16px;border-radius:12px;background:white;font-size:13px;line-height:1.6}
