@import url('/creation-process.css');
.studio{padding-block:32px}.studio-intro{max-width:760px;padding:24px 0 32px;border-bottom:1px solid var(--platform-line);margin-bottom:16px}.studio-intro .eyebrow{color:var(--platform-accent)}.studio-intro h1{margin-bottom:16px}.studio-intro #account-summary{margin-top:16px;font-size:13px;color:var(--platform-muted)}.studio section{padding:30px 0}.studio h1{font-size:34px}.studio h2{font-size:23px}.studio h3{font-size:19px}.studio p{line-height:1.7}button{font:inherit;background:transparent;color:inherit;border:0;border-bottom:1px solid var(--platform-control);padding:12px 16px;cursor:pointer;min-height:44px}button:hover{color:var(--platform-accent)}button:disabled{opacity:.4;cursor:default}label{display:flex;flex-direction:column;gap:8px;margin:16px 0}input,select,textarea{font:inherit;color:inherit;background:var(--platform-surface);border:0;border-bottom:1px solid var(--platform-control);padding:12px;min-width:0;max-width:100%;box-sizing:border-box}input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--platform-accent)}.check{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}input[type=file]{width:100%}.auth-panel{max-width:560px}.actions,.section-top{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.actions{justify-content:flex-start}.space-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:32px;align-items:start}#photo-area{width:100%;border:0;padding:0;min-height:280px;background:var(--platform-surface);display:grid;place-items:center;text-align:center}#room-preview{width:100%;max-height:75vh;object-fit:contain}#photo-empty{padding:30px}.upload-plus{font-size:38px;color:var(--platform-accent)}.muted{color:var(--platform-muted);font-size:13px}.project-list{display:flex;gap:10px;overflow:auto;padding:4px 0 16px}.project-list button{white-space:nowrap}.project-list button[aria-pressed=true],.candidates button[aria-pressed=true]{border-color:var(--platform-accent);color:var(--platform-accent)}.candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.candidates button{display:flex;flex-direction:column;padding:0 0 16px;text-align:left;gap:12px;width:100%;height:auto}.candidates img{width:100%;aspect-ratio:1/1;object-fit:contain;background:var(--platform-surface)}.candidates span{display:block}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#selection{max-width:840px}#notice:empty{display:none}#notice,#auth-notice{padding:16px 0;color:var(--platform-accent);overflow-wrap:anywhere}.error{color:var(--platform-danger)!important}.report-row{padding:16px 0;border-bottom:1px solid var(--platform-line)}.report-row strong{display:block;margin-bottom:8px;font-size:13px;font-weight:500;color:var(--platform-accent)}.request-item{padding:20px 0;border-bottom:1px solid var(--platform-line)}.request-item p{margin:6px 0}.selected-check{color:var(--platform-accent)}#progress{color:var(--platform-accent)}#project-name{overflow-wrap:anywhere}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--platform-accent);outline-offset:4px}@media(max-width:720px){.studio{padding:32px 20px}.space-layout{grid-template-columns:1fr;gap:24px}.candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid{gap:0 16px}.site-header{padding:20px!important;gap:20px;flex-wrap:wrap}.site-header nav{flex-wrap:wrap;gap:14px}.studio h1{font-size:28px}#photo-area{width:100%;border:0;padding:0;min-height:220px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label,.space-layout>div{min-width:0}.form-grid input,.form-grid select{width:100%}

#photo-area:disabled{opacity:1;cursor:default}.analysis-status{margin-top:24px;padding:24px;background:var(--platform-surface);border:1px solid var(--platform-line);border-radius:12px;overflow:hidden}.analysis-status strong{font-size:19px}.analysis-status p{margin:8px 0}.analysis-visual{height:120px;position:relative;margin-bottom:20px;overflow:hidden;color:var(--platform-accent)}.analysis-visual svg{width:100%;height:100%;overflow:visible}.analysis-field{stroke:currentColor;stroke-width:1;opacity:.3}.analysis-signal{stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-dasharray:12 88;animation:signal-flow 3s linear infinite;filter:drop-shadow(0 0 5px var(--platform-accent))}.signal-two{animation-delay:-1.5s;animation-direction:reverse}.analysis-scan{position:absolute;inset:0 auto 0 0;width:20%;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--platform-accent) 12%,transparent),transparent);animation:scan-space 4s ease-in-out infinite}.analysis-status[data-state=done] .analysis-visual,.analysis-status[data-state=failed] .analysis-visual{display:none}.analysis-status[data-state=done]{border-color:var(--platform-success)}.analysis-status[data-state=failed]{border-color:var(--platform-danger)}#analysis-elapsed{font-size:13px;font-variant-numeric:tabular-nums}@keyframes signal-flow{to{stroke-dashoffset:-100}}@keyframes scan-space{50%,100%{transform:translateX(500%)}}@media(prefers-reduced-motion:reduce){.analysis-signal,.analysis-scan{animation:none}.analysis-signal{stroke-dasharray:none}.analysis-scan{display:none}}

#room-stage{position:relative;overflow:hidden}#wall-overlay{position:absolute;pointer-events:none;overflow:visible}#wall-overlay.marking{pointer-events:auto;cursor:crosshair;touch-action:none}#wall-overlay>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#wall-boundary{fill:transparent;stroke:#fff;stroke-width:.35;stroke-dasharray:2 1;vector-effect:non-scaling-stroke}#wall-cursor{display:none;position:absolute;left:50%;top:50%;width:12px;height:12px;border:2px solid white;border-radius:50%;transform:translate(-50%,-50%)}#wall-overlay.marking:focus-visible #wall-cursor{display:block}#wall-art{position:absolute;left:0;top:0;width:100px;height:100px;transform-origin:0 0;box-shadow:none;overflow:hidden;background:#eee8dc}#wall-art-image{display:block;width:100%;height:100%;object-fit:fill}#wall-art-image:not([src]){visibility:hidden}.paint-process{display:none;position:absolute;inset:0;z-index:2;pointer-events:none;background:#eee8dc;overflow:hidden}.painting .paint-process{display:block}#wall-art.painting #wall-art-image{visibility:hidden}#wall-art[data-artwork-shape="circle"] .paint-process{clip-path:circle(50%);border-radius:50%}.paint-process i{position:absolute;left:8%;top:16%;width:84%;height:9%;border-radius:40% 20% 50% 35%;background:#7b9b8a;opacity:0;transform-origin:left;animation:paint-stroke 16s ease-in-out infinite}.paint-process i:nth-child(2){top:29%;left:17%;width:73%;background:#b69b68;animation-delay:2s}.paint-process i:nth-child(3){top:44%;left:6%;background:#567d80;animation-delay:4s}.paint-process i:nth-child(4){top:59%;left:12%;width:76%;background:#b58e78;animation-delay:6s}.paint-process i:nth-child(5){top:72%;background:#6b7871;animation-delay:8s}.paint-process i:nth-child(6){top:36%;height:32%;width:50%;left:30%;background:#d7c6a4;animation-delay:10s;mix-blend-mode:multiply}#wall-controls{margin-top:24px;padding:24px;background:var(--platform-surface);border-top:2px solid var(--platform-accent)}#wall-controls h3{margin-top:0}#wall-controls p{font-size:13px}#wall-controls input,#wall-controls select{background:transparent}#wall-controls input[type=range]{width:100%;min-height:44px;padding:0;accent-color:var(--platform-accent)}#wall-status{color:var(--platform-accent)}#wall-sizes{gap:8px;margin-top:12px}#wall-sizes button{font-size:13px}#wall-controls .form-grid{gap:0 16px}@keyframes paint-stroke{0%{opacity:0;transform:scaleX(.02)}18%,68%{opacity:.65;transform:scaleX(1)}95%,100%{opacity:0;transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.paint-process i{animation:none;opacity:.4;transform:none}}

.wall-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px}.wall-summary label{display:grid;gap:8px;max-width:none;margin:0;min-width:0}.wall-summary select{width:100%;min-height:44px;height:44px;padding:8px 12px;font-size:16px}.wall-dimensions{display:grid;gap:8px}.wall-dimensions>span:first-child{font-size:13px}.wall-dimensions>.muted{font-size:12px}#wall-controls h3{margin-bottom:24px}#wall-status:empty{display:none}#wall-note{margin:16px 0;max-width:44rem;line-height:1.6}@media(max-width:600px){.wall-summary{grid-template-columns:1fr 1fr;gap:16px}.wall-dimensions{grid-column:1/-1}}#wall-adjust summary{cursor:pointer;min-height:44px;padding:12px 0}#wall-adjust[open]{margin-top:16px}#wall-size-label{display:flex;align-items:center;min-height:44px;font-size:19px;font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums}
/* The scan accompanies the real request; focusing uses only returned wall coordinates. */
#room-scan-light{position:absolute;inset:-45%;pointer-events:none;opacity:0;background:linear-gradient(105deg,transparent 37%,color-mix(in srgb,var(--platform-accent,#b1eef0) 8%,transparent) 44%,rgba(255,255,240,.32) 50%,color-mix(in srgb,var(--platform-accent,#b1eef0) 12%,transparent) 56%,transparent 63%);transform:translateX(-55%)}
#wall-overlay.scanning{overflow:hidden}
#wall-overlay.scanning #room-scan-light{opacity:1;animation:room-observe 7s ease-in-out infinite alternate}
#wall-overlay .room-focus{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
#room-focus-area{fill:rgba(245,245,225,.06);stroke:var(--platform-accent,#b1eef0);stroke-width:1.5px;vector-effect:non-scaling-stroke;stroke-linejoin:round}
#wall-overlay.focusing .room-focus,#wall-overlay.focused .room-focus{opacity:1;transition:opacity .24s}
#wall-overlay.focused #room-focus-area{fill:transparent;stroke-opacity:.65}
.analysis-status .analysis-visual{display:none}
@keyframes room-observe{from{transform:translateX(-40%)}to{transform:translateX(40%)}}
@media(prefers-reduced-motion:reduce){#wall-overlay.scanning #room-scan-light{animation:none;transform:none;opacity:.5}}

body.wall-editing{overflow:hidden}#wall-editor.editing{position:fixed;inset:0;z-index:1000;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:center;padding:64px 24px 24px;background:var(--platform-bg)}#wall-editor.editing #room-stage{min-width:0}#wall-editor.editing #photo-area{display:block;width:100%;padding:0;border:0}#wall-editor.editing #room-preview{width:100%;max-height:calc(100dvh - 96px);object-fit:contain}#wall-editor.editing #wall-controls{margin:0;max-height:calc(100dvh - 88px);overflow:auto;padding:20px}#close-wall-editor{position:absolute;right:20px;top:12px;width:44px;height:44px;font-size:28px;border:0}#wall-editor.editing #wall-controls h3,#wall-editor.editing #wall-note,#wall-editor.editing #wall-status{display:none}#wall-editor.editing #wall-adjust[open]{margin:0}#wall-editor.editing #wall-controls label{margin:12px 0}#wall-editor.editing input[type=range]{height:48px}#wall-editor.editing input[type=range]::-webkit-slider-thumb{width:24px;height:24px}#wall-editor.editing .wall-summary{gap:8px}#wall-editor.editing #wall-adjust>p{font-size:12px;line-height:1.5}
@media(max-width:760px){#wall-editor.editing{grid-template-columns:1fr;grid-template-rows:minmax(120px,42dvh) minmax(0,1fr);gap:12px;padding:52px 16px 16px;align-items:stretch}#wall-editor.editing #room-stage{align-self:center}#wall-editor.editing #room-preview{max-height:42dvh}#wall-editor.editing #wall-controls{max-height:none;min-height:0;padding:16px}#wall-editor.editing .wall-summary label{max-width:140px;margin:0}}

.quote-artwork{display:flex;gap:24px;align-items:center;cursor:pointer;list-style:none;min-height:44px}.quote-artwork::-webkit-details-marker{display:none}.quote-artwork h3{margin:0;overflow-wrap:anywhere}.quote-artwork::after{content:"⌄";margin-left:auto;color:var(--platform-muted)}.request-item[open]>.quote-artwork::after{content:"⌃"}.request-content{padding-top:24px}.quote-artwork img{width:120px;height:120px;object-fit:contain;background:var(--platform-surface)}.quote-editor{max-width:760px;padding-top:24px}.quote-total{padding:16px 0;border-block:1px solid var(--platform-line);margin:16px 0}.quote-total strong{font-size:19px}.quote-editor form>button{margin-right:12px}@media(max-width:600px){.quote-artwork img{width:88px;height:88px}.quote-artwork{gap:16px}.quote-editor .form-grid{grid-template-columns:1fr}}

.quote-editor .quote-service{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:12px;min-height:44px}.quote-editor .quote-service input[type=checkbox]{width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;padding:0;margin:0;flex:0 0 20px}

/* A luminous observation pass, then a tangible canvas on the confirmed wall plane. */
#room-scan-light{background:linear-gradient(105deg,transparent 30%,rgba(85,226,234,.16) 43%,rgba(255,255,255,.78) 49.5%,rgba(58,213,224,.48) 50%,rgba(180,164,239,.16) 57%,transparent 70%)}
#room-scan-light::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 38px,rgba(255,255,255,.18) 39px 40px);mask-image:linear-gradient(90deg,transparent 35%,#000 50%,transparent 65%)}
#wall-overlay.scanning #room-scan-light{animation-duration:5s}
#room-focus-area{stroke:#16becd;stroke-width:3px;fill:rgba(255,255,255,.16);filter:drop-shadow(0 0 3px rgba(255,255,255,.9))}
#wall-overlay.focused #room-focus-area{stroke-opacity:1}
#wall-art.blank-canvas{background:#fff;box-shadow:none;animation:canvas-arrive 1.2s ease-out both}
@keyframes canvas-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#wall-art.blank-canvas{animation:none}#wall-overlay.scanning #room-scan-light{animation:none;opacity:.8}}
/* Full-spectrum ambient breathing replaces directional scanning and outlines. */
#wall-overlay .room-focus{display:none!important}


body:has(.studio){background:var(--platform-bg);color:var(--platform-text)}
.studio{padding-top:24px}.studio section{padding:16px 0}.studio-intro h1{font-weight:400}.studio h2,.studio h3{font-weight:400}
#project-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;overflow:visible;padding:8px 0}.space-card{min-width:0;background:transparent;border-bottom:1px solid var(--platform-line);border-radius:0;align-self:start}.space-name{display:block;width:100%;text-align:left;white-space:normal!important;overflow-wrap:anywhere;border:1px solid transparent;border-radius:0;padding:12px 16px;font-weight:400}.space-name[aria-pressed=true]{background:color-mix(in srgb,var(--amvia-magenta) 7%,transparent);border-color:var(--platform-accent)}.space-options{padding:0 12px 8px}.space-options summary,.removed-spaces summary{cursor:pointer;min-height:44px;padding:10px 4px;font-size:13px;color:var(--platform-accent)}.space-options>button{width:100%;text-align:left;font-size:13px}.space-work{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.space-work button{font-size:13px;padding:8px;white-space:normal}.space-work img{display:block;width:56px;height:56px;object-fit:contain}.space-work span{overflow-wrap:anywhere}.removed-spaces{grid-column:1/-1}.removed-spaces .space-work{max-width:480px}@media(max-width:600px){#project-list{grid-template-columns:repeat(2,minmax(0,1fr))}.space-name{padding:10px 12px}.studio{padding-top:16px}}


.range-adjust{display:flex;align-items:center;gap:12px;min-width:0}.range-adjust input{flex:1;min-width:0}.range-adjust button{border:1px solid var(--platform-line);border-radius:50%;padding:0;width:44px;height:44px;flex:0 0 44px;font-size:23px}#wall-adjust label{position:relative;padding:8px 0}#wall-adjust output{position:absolute;right:0;top:8px;font-size:13px;font-variant-numeric:tabular-nums;color:var(--platform-muted)}#wall-controls input[type=range]{height:48px}#wall-adjust>label>span:first-child{padding-right:60px}
#candidates,#older-candidates{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:24px}.candidates button{font-size:13px;gap:12px}.candidates img{aspect-ratio:1;max-height:280px;padding:16px}.art-detail{position:fixed;box-sizing:border-box;width:min(1000px,94vw);max-height:92dvh;padding:48px 24px 24px;border:1px solid var(--platform-line);border-radius:0;background:var(--platform-bg,#292727);color:var(--platform-text,#fff);overflow:auto}.art-detail>img{display:block;width:100%;height:60dvh;object-fit:contain}.art-detail-close{position:absolute;right:12px;top:4px;font-size:28px;border:0}.art-detail h2{font-size:23px}.art-detail p{font-size:13px}.art-detail>div{padding-top:16px}@media(max-width:600px){.art-detail{padding:48px 16px 20px}.art-detail>img{height:48dvh}#candidates,#older-candidates{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.range-adjust{gap:8px}}

#spaces-toggle,#new-space{font-size:23px;font-weight:400}
#spaces-toggle{display:flex;align-items:center;gap:12px;border:0;padding:0;min-height:44px}
.spaces-chevron{font-size:18px;color:var(--platform-accent);transition:transform .18s}
#spaces-toggle[aria-expanded=true] .spaces-chevron{transform:rotate(180deg)}
#projects .section-top h2{margin:0}
#project-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.space-card{display:flex;align-items:start;flex-wrap:wrap}
.space-name{flex:1;width:auto;min-width:0}
.space-options{margin:0;border:0}.space-options[open]{flex-basis:100%}
@media(max-width:600px){#project-list{grid-template-columns:1fr}}

#wall-art.draggable{pointer-events:auto;touch-action:pan-y pinch-zoom;cursor:grab}#wall-editor.editing #wall-art.draggable{touch-action:none}#adjust-wall-placement{display:block;min-height:44px;padding:8px 0;border:0;font-size:1rem}#wall-editor.editing #adjust-wall-placement{display:none}#wall-art.draggable:active{cursor:grabbing}
.art-handle{position:absolute;z-index:5;transform:translate(-50%,-50%);width:44px;height:44px;min-height:44px;padding:0;border:0;pointer-events:auto;touch-action:none;cursor:nwse-resize;background:transparent}
.art-handle::after{content:"";display:block;width:9px;height:9px;margin:auto;border:1px solid #fff;border-radius:50%;background:var(--platform-accent);box-shadow:0 1px 4px #0006}
.art-handle[data-corner="1"],.art-handle[data-corner="3"]{cursor:nesw-resize}
.art-move-target{position:absolute;z-index:6;transform:translate(-50%,-50%);width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--platform-accent);border-radius:50%;background:var(--platform-bg);color:var(--platform-accent);font-size:23px;pointer-events:auto;touch-action:none;cursor:grab}
.wall-placement-actions,.wall-edit-help{display:none}#wall-editor.editing .wall-placement-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:8px}#wall-editor.editing .wall-placement-actions button{padding:8px 0;border:0}#wall-editor.editing .wall-edit-help{display:block;margin:0 0 16px;color:var(--platform-muted);font-size:13px;line-height:1.5}
#wall-art-image{user-select:none;-webkit-user-drag:none}
@media(max-width:760px){#wall-editor.editing{grid-template-rows:minmax(120px,1fr) auto}#wall-editor.editing #room-preview{max-height:60dvh}#wall-editor.editing #wall-controls{max-height:28dvh;overflow:auto}}

#wall-controls .wall-summary label{font-size:13px}

/* Visual hierarchy only: all controls, states and gestures retain their behavior. */
#workspace>section{margin-bottom:24px}#projects{border-bottom:1px solid var(--platform-line);padding-bottom:24px}.studio>.auth-panel{padding:32px!important;background:var(--platform-surface);border-top:0}
#auth-submit,#analyze,#quote-form button[type="submit"],#generate{color:var(--platform-text);border-bottom:2px solid var(--platform-accent)}
#new-project{color:var(--platform-accent)}.candidates button:hover img{background:color-mix(in srgb,var(--platform-surface) 90%,var(--platform-accent))}.candidates button[aria-pressed="true"]{border-bottom:2px solid var(--platform-accent)}
.request-content{max-width:840px;margin:0 auto}.quote-large-art{max-height:70dvh;object-fit:contain;background:var(--platform-surface)}
@media(max-width:720px){.studio-intro{padding:16px 0 24px}.auth-panel{padding:24px!important}#wall-controls{padding:20px}.space-layout{gap:24px}.site-header nav{margin-left:0}.candidates img{padding:8px}#candidates,#older-candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
/* Presentation enhancements reuse the existing room and analysis. */
.curatorial-tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.curatorial-tags span{padding:4px 8px;border:1px solid var(--platform-line);border-radius:4px;font-size:13px}.curatorial-notes summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 0}.curatorial-notes p{padding:8px 0;line-height:1.7;max-width:60ch}
#compare-room{position:absolute;top:12px;right:12px;z-index:5;--platform-text:#f5f3ef;background:#343234;border:1px solid #aaa1a6;border-radius:6px;padding:8px 12px;font-size:13px}#compare-room[aria-pressed=true]{border-color:var(--amvia-accent-text)}.comparing-original #wall-overlay{visibility:hidden;pointer-events:none}
#room-stage,#room-analysis,#art-section,#selection{scroll-margin-top:32px}
.space-name .space-thumb{width:48px;height:40px;object-fit:cover;flex:none;border-radius:4px}.space-name{display:flex;align-items:center;gap:12px}
@layer amvia-layout{.studio select:not(#story-orientation-select):not(.artwork-controls select){background-color:var(--platform-surface)!important;padding:10px 44px 10px 12px!important}#compare-room:hover{color:#fff!important}}
@media(max-width:600px){.curatorial-tags span{max-width:100%;overflow-wrap:anywhere}}

/* Compact space library and persistent workflow navigation. */
#project-list{grid-template-columns:repeat(4,minmax(0,1fr));max-height:196px;overflow-y:auto;overscroll-behavior:contain;align-content:start;scrollbar-gutter:stable;padding:8px 4px}
.space-card{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;position:relative;min-height:76px}.space-name{width:100%;min-height:76px;padding:8px}.space-options{padding:0}.space-menu-trigger{width:44px;min-height:44px;padding:0;font-size:23px;border:0}
.space-menu{position:fixed;inset:auto;margin:0;width:280px;max-width:calc(100vw - 24px);max-height:60vh;overflow:auto;padding:12px;border:1px solid var(--platform-line);border-radius:8px;background:var(--platform-surface);color:var(--platform-text);box-shadow:0 8px 24px #0003}.space-menu>button{display:block;width:100%;text-align:left;font-size:13px}.removed-spaces{--platform-text:var(--platform-muted);font-size:12px}

@media(max-width:1000px){#project-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#project-list{grid-template-columns:1fr;max-height:190px}}
body:has(.studio)>.site-footer{padding-bottom:128px}

body:has(.studio){padding-bottom:calc(120px + env(safe-area-inset-bottom))}

@layer amvia-layout{body:has(.studio){padding-bottom:calc(144px + env(safe-area-inset-bottom))!important}}

#art-section>.section-top{align-items:center;gap:16px}#art-section>.section-top>div:first-child{flex:1;min-width:220px}#art-section h2{margin-bottom:8px}.creation-actions{display:flex;gap:12px;flex-wrap:wrap}#generation-cost{font-size:13px;margin:8px 0}#progress:empty{display:none}#progress{font-size:13px;margin:4px 0 12px}.candidates [data-art-title]{font-size:16px;font-weight:500;line-height:1.4;padding:4px 8px;overflow-wrap:anywhere}

.quote-framed-art{position:relative;margin:calc(5% + 8px)}.quote-framed-art .quote-large-art{display:block;width:100%;height:auto;max-height:none;margin:0}.quote-framed-art[data-frame="none"]{margin:0 0 24px}

.password-control{display:block;position:relative;width:100%}.password-control input{width:100%;min-width:0;padding-right:56px}.password-control .password-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;color:inherit}.password-toggle svg{display:block;pointer-events:none}.password-toggle[aria-pressed="false"] .password-eye-slash{display:none}.auth-panel .actions{flex-wrap:wrap;align-items:center}.auth-panel .actions a{display:inline-flex;align-items:center;min-height:44px}

/* Photo selection and the next step share the existing theme. */
#photo-area{position:relative;transition:box-shadow .18s ease,background-color .18s ease}
#photo-area:not(:disabled):hover,#photo-area.drag-over{box-shadow:inset 0 0 0 2px var(--platform-accent);background:color-mix(in srgb,var(--platform-surface) 90%,var(--platform-accent))}
#upload-guidance{display:grid;gap:8px;width:100%;padding:16px 24px;box-sizing:border-box;font-size:13px;color:var(--platform-text)}
#upload-guidance .muted{font-size:12px;line-height:1.5}
#save-photo{border:1px solid var(--platform-line);border-radius:999px;padding:10px 24px;margin-top:0;transition:background-color .18s ease,border-color .18s ease}
@layer amvia-layout{
#save-photo{background:color-mix(in srgb,var(--platform-accent) 7%,transparent)!important;color:var(--platform-text)!important;-webkit-text-fill-color:var(--platform-text)!important}
#save-photo:not(:disabled):hover{color:var(--platform-accent)!important;border-color:var(--platform-accent);opacity:1}
#save-photo:disabled{background:transparent!important;color:var(--platform-muted)!important;-webkit-text-fill-color:var(--platform-muted)!important;opacity:.55}
}
@media(prefers-reduced-motion:reduce){#save-photo{transition:none}}
#analysis-hint{font-size:12px;margin-top:8px}
#analysis-empty{padding:24px 0}
.analysis-outline{display:flex;align-items:center;gap:8px;max-width:280px;height:72px;border-bottom:1px solid var(--platform-line);color:var(--platform-muted)}
.analysis-outline span{width:24px;height:24px;border:1px solid currentColor;border-radius:50%}
.analysis-outline i{display:block;width:80px;height:48px;margin-left:auto;border:1px solid currentColor;position:relative}
.analysis-outline i:after{content:'';position:absolute;inset:8px;border-bottom:1px solid currentColor;transform:rotate(-24deg)}
#analysis-empty p{font-size:12px;margin-bottom:0}
@media(prefers-reduced-motion:reduce){#photo-area{transition:none}}

.credit-confirmation{background:var(--platform-surface);color:var(--platform-text);border:1px solid var(--platform-line);border-radius:8px;padding:24px;max-width:min(440px,calc(100vw - 40px));font:inherit}.credit-confirmation::backdrop{background:rgb(0 0 0 / .45)}.credit-confirmation p{margin:0 0 24px;line-height:1.6}.credit-confirmation>div{display:flex;justify-content:flex-end;gap:24px}.credit-confirmation button{min-height:44px;color:var(--platform-text);background:transparent;border:0;border-bottom:1px solid var(--platform-accent);padding:8px}

/* Image-led workspace: existing actions grouped beside the preview. */
.studio-action-panel{display:flex;flex-direction:column;gap:16px;align-self:start}
.studio-action-panel #upload-form{margin:0}.studio-action-panel #upload-form label{margin-top:0}
.studio-action-panel .analysis-actions{padding-bottom:16px}
.studio-action-panel .analysis-actions p{margin:0 0 8px;font-size:13px}
.studio-action-panel .creation-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.artwork-orientation-choice{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 12px}
.artwork-orientation-choice>span{font-size:13px;color:var(--platform-muted)}
.artwork-orientation-choice select{width:9rem;min-height:44px;padding:8px;font-size:16px;background:transparent;border:0;border-bottom:1px solid var(--platform-control);border-radius:0}
.studio-action-panel .creation-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:88px;width:100%;padding:16px 8px;border:1px solid var(--platform-accent);border-radius:8px;background:transparent;color:var(--platform-text);text-align:center}.studio-action-panel .creation-actions button:hover:not(:disabled){background:transparent;border-color:var(--platform-hover)}.creation-price{font-size:13px;line-height:1.5}
.studio-action-panel #wall-controls{margin:0;padding:16px;background:transparent;border-top:1px solid var(--platform-line)}
.studio-action-panel #wall-controls h3{margin-bottom:16px}
.studio-room-column #wall-controls{margin:24px 0 0;padding:24px 0;background:transparent;border-top:1px solid var(--platform-line)}
.studio-room-column #wall-controls h3{margin-bottom:16px}
@media(min-width:1000px){.studio-room-column .single-scene-controls .comparison-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}.studio-room-column .single-scene-controls .comparison-size-field{grid-column:auto}}
.studio-action-panel .wall-summary{gap:12px}
.room-report{border-top:1px solid var(--platform-line);border-bottom:1px solid var(--platform-line)}
.room-report>summary{cursor:pointer;font-size:19px;font-weight:500;min-height:44px;padding:12px 0}
.room-report .report-row{padding:12px 0}.studio-action-panel .artist-note{margin:0;padding:0;border:0}
.studio-action-panel>[data-i="measurementNote"]{display:none}
@media(max-width:720px){.studio-action-panel{gap:16px}.studio-action-panel #wall-controls{padding:16px 0}.studio-action-panel .creation-actions{gap:8px}}

.space-layout #art-section{margin-top:24px}.space-layout #art-section .section-top{margin-bottom:8px}.space-layout #candidates,.space-layout #older-candidates{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}@media(max-width:600px){.space-layout #candidates,.space-layout #older-candidates{grid-template-columns:repeat(2,minmax(0,1fr))}}

.space-layout #art-section{margin-top:8px}.space-layout #project-name{margin:4px 0 8px}.space-layout #art-section h2{margin-top:0}.creative-direction-choice{display:grid;gap:8px;margin:0 0 16px!important}.creative-direction-choice select{width:100%;min-height:44px;appearance:none;-webkit-appearance:none;padding-right:40px}.creative-direction-choice>span{font-size:13px}
.artwork-share{margin-top:24px;border-top:1px solid var(--platform-line);padding-top:16px}.artwork-share>div{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.artwork-share a{min-height:44px;display:inline-flex;align-items:center}.artwork-share [hidden]{display:none}

/* Match the homepage comparison control. */
#compare-room{position:absolute;top:12px;right:12px;min-height:44px;padding:10px 16px;border:0;border-radius:0;background:transparent;color:var(--amvia-accent-text);font:inherit;font-size:13px;line-height:1.3;cursor:pointer;z-index:2}
#compare-room:hover{text-decoration:underline;text-underline-offset:4px}
#compare-room:focus-visible{outline:0;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
@media(max-width:760px){#compare-room{top:8px;right:8px;padding:8px 10px;font-size:12px}}
@layer amvia-layout{#compare-room,#compare-room:hover,#compare-room:active,#compare-room:focus{color:var(--amvia-accent-text)!important;-webkit-text-fill-color:var(--amvia-accent-text)!important;background:transparent!important;border:0!important}}

.space-insight{margin:16px 0;max-width:100%}.space-insight button{color:var(--amvia-accent-text);background:transparent;border:0;font-size:13px;min-height:44px;padding:8px 12px}.space-insight .insight-toggle{padding-left:0}.insight-tabs{display:flex;gap:8px;flex-wrap:wrap}.insight-tabs button[aria-pressed=true]{text-decoration:underline;text-underline-offset:6px}.space-insight .insight-note{font-size:13px;line-height:1.6;max-width:44rem;margin:12px 0;overflow-wrap:anywhere}.space-insight .insight-scope{font-size:12px;color:var(--platform-muted);margin:8px 0}.insight-overlay{position:absolute;pointer-events:none;z-index:3;overflow:hidden}.insight-overlay svg{width:100%;height:100%}.insight-overlay polygon{fill:color-mix(in srgb,var(--amvia-magenta) 15%,transparent);stroke:var(--amvia-accent-text);stroke-width:1.5px;vector-effect:non-scaling-stroke}.comparing-original .insight-overlay,#wall-editor.editing .insight-overlay{display:none}

.artwork-conversation{margin-top:24px;border-top:1px solid var(--platform-line);padding-top:12px}.artwork-conversation summary{color:var(--amvia-accent-text);cursor:pointer;min-height:44px;padding:12px 0;font-size:16px}.artwork-conversation textarea{width:100%;font-size:16px;line-height:1.6;min-height:44px;padding:8px 12px;resize:none;overflow:hidden}.artwork-conversation p{font-size:13px}.artwork-conversation button{color:var(--amvia-accent-text);border:0;background:transparent;min-height:44px;white-space:normal;text-align:left}.conversation-history{display:flex;flex-direction:column;gap:8px}.conversation-history h3{font-size:16px}.conversation-history button{overflow-wrap:anywhere}

/* Keep the artwork actions together; expanded content stays below. */
.art-detail-actions{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap}.art-detail-actions>div{display:contents}.art-detail-actions button,.art-detail-actions a{margin:0;white-space:nowrap}.art-detail-actions [hidden]{display:none}.art-detail .artwork-share{margin-top:12px;padding-top:0;border-top:0}.art-detail .artwork-conversation{margin-top:0;padding-top:0;border-top:0}.art-detail .artwork-conversation[open]{margin-top:16px}.art-detail .artwork-conversation>summary[hidden]{display:none}

.imagination-choice{display:grid;gap:8px;margin:16px 0;max-width:100%}.imagination-choice>span:first-child{font-size:13px}.imagination-choice input[type="range"],#wall-controls .foreground-size input[type="range"]{appearance:none;-webkit-appearance:none;width:100%;height:44px;min-height:44px;background-color:transparent;background-image:var(--amvia-creation-spectrum);background-size:300% 2px;background-position:0% 50%;background-repeat:no-repeat;filter:brightness(var(--amvia-spectrum-tone));animation:amvia-spectrum-flow 9s ease-in-out infinite;accent-color:var(--platform-accent);padding:0;border:0;cursor:pointer}.imagination-choice output{font-size:13px;color:var(--platform-accent)}.imagination-choice>span:last-child{font-size:12px;color:var(--platform-muted)}
/* Animate the input's thin background; transparent native tracks preserve the real range. */
.imagination-choice input[type="range"]::-webkit-slider-runnable-track,#wall-controls .foreground-size input[type="range"]::-webkit-slider-runnable-track{height:2px;border:0;border-radius:1px;background:transparent}
.imagination-choice input[type="range"]::-webkit-slider-thumb,#wall-controls .foreground-size input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;margin-top:-5px;border:0;border-radius:50%;background:var(--amvia-creation-spectrum);box-shadow:0 0 0 1px var(--platform-bg)}
.imagination-choice input[type="range"]::-moz-range-track,#wall-controls .foreground-size input[type="range"]::-moz-range-track{height:2px;border:0;background:transparent}
.imagination-choice input[type="range"]::-moz-range-progress,#wall-controls .foreground-size input[type="range"]::-moz-range-progress{height:2px;background:transparent}
.imagination-choice input[type="range"]::-moz-range-thumb,#wall-controls .foreground-size input[type="range"]::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:var(--amvia-creation-spectrum);box-shadow:0 0 0 1px var(--platform-bg)}
/* The shared theme fixes range thumbs to its accent; keep these spectrum controls. */
@layer amvia-layout{
 .imagination-choice input[type="range"],#wall-controls .foreground-size input[type="range"]{--amvia-imagination-thumb:var(--amvia-creation-spectrum)}
 .imagination-choice input[type="range"]::-webkit-slider-thumb,#wall-controls .foreground-size input[type="range"]::-webkit-slider-thumb{background:var(--amvia-imagination-thumb)!important}
 .imagination-choice input[type="range"]::-moz-range-thumb,#wall-controls .foreground-size input[type="range"]::-moz-range-thumb{background:var(--amvia-imagination-thumb)!important}
}
.imagination-choice input[type="range"]:focus-visible{outline:1px solid var(--platform-accent);outline-offset:2px}
/* Keep foreground keyboard focus at the thumb, not around the 44px hit area. */
@layer amvia-layout{
 #wall-controls .foreground-size input[type="range"]:focus-visible{outline:0!important;box-shadow:none!important}
 #wall-controls .foreground-size input[type="range"]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 1px var(--platform-bg),0 0 0 4px var(--amvia-interaction-current,#66ffcc)!important}
 #wall-controls .foreground-size input[type="range"]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 1px var(--platform-bg),0 0 0 4px var(--amvia-interaction-current,#66ffcc)!important}
}
#wall-controls .foreground-size input[type="range"]:disabled{cursor:default}
.imagination-scale{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;min-width:0}
.imagination-scale>span{min-width:0;font-size:12px;line-height:1.5;color:var(--platform-muted);overflow-wrap:anywhere}
.imagination-scale>span:last-child{text-align:right}
.imagination-scale output{justify-self:center;text-align:center;white-space:nowrap}
@media(max-width:600px){.imagination-scale{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 8px}.imagination-scale>span:first-child{grid-column:1;grid-row:1}.imagination-scale>span:last-child{grid-column:2;grid-row:1}.imagination-scale output{grid-column:1/-1;grid-row:2}}
@media(prefers-reduced-motion:reduce){.imagination-choice input[type="range"],#wall-controls .foreground-size input[type="range"]{animation:none;background-size:100% 2px;background-position:50% 50%}}
@media(forced-colors:active){
 .imagination-choice input[type="range"],#wall-controls .foreground-size input[type="range"]{--amvia-imagination-thumb:Highlight;background:none;filter:none;animation:none;accent-color:Highlight}
 .imagination-choice input[type="range"]::-webkit-slider-runnable-track,#wall-controls .foreground-size input[type="range"]::-webkit-slider-runnable-track{background:CanvasText}
 .imagination-choice input[type="range"]::-webkit-slider-thumb,#wall-controls .foreground-size input[type="range"]::-webkit-slider-thumb{background:Highlight;box-shadow:none}
 .imagination-choice input[type="range"]::-moz-range-track,#wall-controls .foreground-size input[type="range"]::-moz-range-track{background:CanvasText}
 .imagination-choice input[type="range"]::-moz-range-progress,#wall-controls .foreground-size input[type="range"]::-moz-range-progress{background:Highlight}
 .imagination-choice input[type="range"]::-moz-range-thumb,#wall-controls .foreground-size input[type="range"]::-moz-range-thumb{background:Highlight;box-shadow:none}
 @layer amvia-layout{
  #wall-controls .foreground-size input[type="range"]:focus-visible::-webkit-slider-thumb{box-shadow:none!important;outline:2px solid Highlight;outline-offset:2px}
  #wall-controls .foreground-size input[type="range"]:focus-visible::-moz-range-thumb{box-shadow:none!important;outline:2px solid Highlight;outline-offset:2px}
 }
}

#wall-controls .wall-summary>label>span,#wall-controls .wall-dimensions>span:first-child{font-size:13px;line-height:1.5}#wall-controls #wall-note{font-size:12px}#wall-controls>.check{display:flex;align-items:center;gap:12px;margin:16px 0 0;font-size:13px;line-height:1.5;min-height:44px}#wall-controls>.check input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0}#measured-fields{margin-top:12px}#wall-art-title{font-size:19px;line-height:1.4;overflow-wrap:anywhere}
.artwork-purchase-panel .purchase-section{padding:20px 0;border-top:1px solid var(--platform-line)}.artwork-purchase-panel .purchase-section h4{font-size:12px;font-weight:500;letter-spacing:.1em;margin:0 0 12px}.artwork-purchase-panel .artwork-selected-note{font-size:13px;margin:0 0 20px;color:var(--platform-muted)}.purchase-size-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}.purchase-size-meta button{font-size:13px;color:var(--platform-accent);border:0;background:transparent;min-height:44px}.purchase-size-editor{margin-top:12px}.purchase-frames{display:flex;flex-wrap:wrap;gap:8px 16px}.purchase-frames label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;min-height:44px;font-size:13px}.purchase-frames input{width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--platform-accent)}.purchase-preview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.purchase-preview-actions .purchase-preview{min-width:0;min-height:44px;padding:8px 12px;font-size:13px;line-height:1.5}.purchase-preview,#bring-artwork-home{width:100%;border:1px solid var(--platform-accent);border-radius:8px;background:transparent;padding:12px 16px;color:var(--platform-text)}.purchase-work-title{font-size:16px!important;margin:0 0 8px}.purchase-spec,.purchase-delivery{font-size:12px!important;color:var(--platform-muted)}.purchase-section #work-price{margin:16px 0;padding:0;background:transparent}.purchase-section #work-price strong{font-size:19px}.purchase-section #work-price p{font-size:12px}.purchase-size-editor .check{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:13px}.purchase-size-editor input[type=checkbox]{width:18px;height:18px;min-height:18px}.artwork-purchase-panel [hidden]{display:none!important}
.bring-home-form{max-width:760px}.home-order-section{padding:24px 0;border-top:1px solid var(--platform-line)}.home-order-section h3{font-size:12px;font-weight:500;letter-spacing:.08em;margin:0 0 16px}.home-order-size,.home-order-title{font-size:19px;margin:0 0 8px}.home-order-finish,.home-order-spec{font-size:13px;color:var(--platform-muted);margin:0 0 12px}.home-order-section summary{font-size:13px;color:var(--platform-accent);cursor:pointer;min-height:44px;padding:12px 0}.home-order-section details[open]>summary{margin-bottom:12px}.home-order-section .check{display:flex;flex-direction:row;align-items:center;gap:12px;font-size:16px;min-height:44px;margin:8px 0}.home-order-section .check input{width:18px;height:18px;min-height:18px;margin:0}.home-order-section textarea{min-height:96px}.home-order-section label,.home-order-section select,.home-order-section input{font-size:16px}.home-order-price strong{font-size:19px;font-weight:500}.home-order-price p,.rush-production p{font-size:12px}.bring-home-form .review-pay{width:100%;min-height:48px;padding:12px 20px;border:1px solid var(--platform-accent);border-radius:8px;background:transparent;color:var(--platform-text);margin-top:8px}.home-order-section .form-grid{gap:16px}.home-order-section .form-grid label{margin:0}.home-order-section .form-grid input,.home-order-section .form-grid select{width:100%}

.conversation-activity{margin:20px 0 12px;padding:16px;border:1px solid var(--platform-accent);border-radius:8px}.conversation-activity[hidden],.conversation-progress[hidden]{display:none}.conversation-activity strong{display:block;font-size:16px;font-weight:500;color:var(--platform-accent)}.conversation-progress{height:4px;margin-top:12px;border-radius:2px;background:var(--platform-line);overflow:hidden}.conversation-progress span{display:block;width:35%;height:100%;border-radius:2px;background:var(--platform-accent);animation:conversation-working 1.8s ease-in-out infinite}@keyframes conversation-working{from{transform:translateX(-110%)}to{transform:translateX(390%)}}@media(prefers-reduced-motion:reduce){.conversation-progress span{animation:none;transform:none;width:100%;opacity:.6}}
.art-spectrum{margin-top:24px;border-top:1px solid var(--platform-line);padding-top:12px}.art-spectrum>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:19px;color:var(--platform-accent)}.art-spectrum>div{padding:16px 0}.art-spectrum p{font-size:13px;color:var(--platform-muted)}.spectrum-orbit{position:relative;width:min(100%,420px);aspect-ratio:1;margin:24px auto;border-radius:50%;background:radial-gradient(circle,transparent 28%,var(--platform-line) 28.2%,transparent 28.6%,transparent 53%,var(--platform-line) 53.2%,transparent 53.6%)}.spectrum-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:13px;color:var(--platform-accent)}.spectrum-work{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:64px;height:64px;border:1px solid var(--platform-control);border-radius:50%;padding:3px;background:var(--platform-bg);overflow:hidden}.spectrum-work img{width:100%;height:100%;object-fit:cover;border-radius:50%}.spectrum-work:hover{border-color:var(--platform-accent)}.spectrum-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:24px}.spectrum-groups h3{font-size:16px}.spectrum-groups ul{list-style:none;padding:0;margin:0}.spectrum-groups li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--platform-line);font-size:13px;overflow-wrap:anywhere}.spectrum-groups small{color:var(--platform-accent)}
@media(max-width:600px){.spectrum-groups{grid-template-columns:1fr;gap:8px}.spectrum-work{width:52px;height:52px}}
.art-ar-dialog{width:min(680px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:32px;background:var(--platform-bg);color:var(--platform-text);border:1px solid var(--platform-control);border-radius:12px}.art-ar-dialog::backdrop{background:#000a}.art-ar-close{float:right;color:var(--platform-accent);border:0}.art-ar-dialog h2{font-size:23px;margin:0 44px 16px 0}.art-ar-dialog p{font-size:13px;margin:12px 0}.art-ar-dialog model-viewer{display:block;width:100%;height:380px;background:transparent}.art-ar-dialog [slot=ar-button]{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);background:var(--platform-bg);color:var(--platform-accent);border:1px solid var(--platform-accent);border-radius:8px;white-space:nowrap}.art-ar-note{color:var(--platform-muted)}@media(max-width:600px){.art-ar-dialog{padding:20px}.art-ar-dialog model-viewer{height:320px}}

.art-ar-frame{display:flex;align-items:center;gap:16px;margin:16px 0;font-size:13px}.art-ar-frame select{flex:1;min-width:0;min-height:44px}

/* Artwork actions: two primary choices and an accessible secondary disclosure. */
.art-detail .art-detail-actions{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;margin-top:12px}
.art-detail .art-detail-actions>.art-primary-action{white-space:nowrap;min-width:0;min-height:44px;padding:4px 0;border:0;border-radius:0;color:var(--platform-text);background:transparent;font-size:16px;line-height:1.5;text-align:left}
.art-detail .art-detail-actions>.art-primary-action:hover{color:var(--platform-accent)}
.art-detail .art-more-toggle{min-width:44px;min-height:44px;padding:0;border:0;font-size:24px;align-self:start;color:var(--platform-text);background:transparent}
.art-detail .art-more-toggle[aria-expanded="true"]{color:var(--platform-accent)}
.art-detail .art-detail-more{box-sizing:border-box;width:100%;margin:4px 0 0;padding:0;background:transparent;border:0;border-radius:0}
.art-detail .art-detail-more[hidden]{display:none}
.art-detail-more .artwork-share{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px 20px;margin:0!important}
.art-detail-more .artwork-share>.social-share-actions{order:-1}
.art-detail-more .social-share-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 20px}
.art-detail-more .social-share-actions>.social-share-actions{display:contents}
.art-detail-more button,.art-detail-more a{box-sizing:border-box;width:auto;min-height:44px;justify-content:flex-start;text-align:left;padding:8px 0;border:0;background:transparent;font-size:16px;line-height:1.5;color:var(--platform-text);white-space:normal}
.art-detail-more p{margin:8px 0;line-height:1.6;color:var(--platform-muted)}
.art-detail-more [hidden]{display:none!important}
.art-detail :is(.art-primary-action,.art-more-toggle):focus-visible{outline:2px solid var(--platform-accent);outline-offset:3px}
@media(max-width:600px){.art-detail .art-detail-actions{gap:8px}.art-detail .art-detail-actions>.art-primary-action{padding:4px 0}.art-detail .art-detail-more{width:100%}}
.creation-mode{margin:0 0 24px}.creation-mode h3{margin:0 0 16px}.creation-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.creation-mode-options button{padding:16px;text-align:left;border:1px solid var(--platform-line);border-radius:8px;background:transparent;color:var(--platform-text);display:flex;flex-direction:column;gap:8px;min-width:0}.creation-mode-options button[aria-pressed=true]{border-color:var(--platform-accent);background:var(--platform-surface)}.creation-mode-options button span:first-child{font-size:16px}.creation-mode-options button span:last-child{font-size:13px;line-height:1.5}.story-mode #wall-overlay,.story-mode #compare-room,.story-mode #wall-status,.story-mode #wall-note,.story-mode [data-wall=measuredNote],.story-mode #close-wall-editor{display:none}.story-mode.has-story-art #photo-area{display:none}#story-art-preview{display:block;width:100%;max-height:70vh;object-fit:contain}#story-art-preview[hidden]{display:none}

#story-upload{margin:24px 0;padding:24px;background:var(--platform-surface)}#story-upload h3{margin-top:0}#story-upload img{display:block;width:100%;max-height:360px;object-fit:contain;margin:16px 0}.story-file input{width:100%;font-size:16px;min-height:44px}#story-upload p{max-width:none}
.story-file{position:relative;display:block;min-height:44px;padding:12px 0;border-bottom:1px solid var(--platform-control);cursor:pointer}.story-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.story-file:focus-within{outline:2px solid var(--platform-accent);outline-offset:4px}

.creation-mode-options .combined-mode{border-color:var(--platform-accent)}
@media(max-width:700px){.creation-mode-options{grid-template-columns:1fr}}

/* Story analysis reuses the room light, without wall-placement controls. */
.story-mode #wall-overlay.scanning{display:block;pointer-events:none}
.story-mode #wall-overlay.scanning #wall-art,.story-mode #wall-overlay.scanning .art-handle,.story-mode #wall-overlay.scanning svg{display:none}

#new-space{border-bottom:0}

/* Account actions follow the balance, using its existing type size. */
.account-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px 24px;margin-top:16px;font-size:13px}
.studio-intro .account-toolbar #account-summary{margin:0;font-size:inherit}
#account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}
#account-actions #spaces-toggle,#account-actions #new-space{font-size:13px;font-weight:400;line-height:1.7;min-height:44px;padding:0;border:0;white-space:nowrap}
#account-actions .spaces-chevron{font-size:13px}
#workspace>#projects:has(#project-list[hidden]){display:none}

/* One-line creation choices; colors adapt to the existing theme. */
.creation-mode{margin:0 0 16px;--mode-pink:var(--amvia-accent-text);--mode-green:#bde9ca;--mode-yellow:#f1dfa3}
.creation-mode h3,.creation-mode-options button span:last-child{display:none}
.creation-mode-options{display:flex;flex-wrap:nowrap;gap:24px;overflow-x:auto;max-width:100%;padding:4px;scrollbar-width:thin}
.creation-mode-options button,.creation-mode-options button[aria-pressed=true],.creation-mode-options .combined-mode{flex:0 0 auto;display:block;min-height:44px;padding:4px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;white-space:nowrap;font-weight:400;opacity:1}
.creation-mode-options button span:first-child{font-size:16px;line-height:1.6}
.creation-mode-options button[aria-pressed=true]{font-weight:600;border-bottom-color:var(--platform-accent)}
/* A saved project's locked mode still identifies the current selection. */
@layer amvia-layout{.creation-mode-options button[aria-pressed=true]:disabled{--platform-text:var(--amvia-interaction-active)!important;--platform-accent:var(--amvia-interaction-active)!important;color:var(--amvia-interaction-active)!important;-webkit-text-fill-color:var(--amvia-interaction-active)!important}}
@layer amvia-layout{.creation-mode-options button:focus-visible{outline:0!important;outline-offset:0!important}.creation-mode-options button:not([aria-pressed=true]):focus-visible{background:var(--platform-surface)!important}}
.creation-mode-options #mode-space{color:var(--mode-pink)}
.creation-mode-options #mode-space_story{color:var(--mode-green)}
.creation-mode-options #mode-story{color:var(--mode-yellow)}
html:not([data-madice-theme=charcoal]) .creation-mode{--mode-pink:var(--amvia-accent-text);--mode-green:#275b3d;--mode-yellow:#705500}
@media(max-width:600px){.creation-mode-options{gap:16px}}

/* Balance the empty upload area against its accompanying desktop form. */
@media(min-width:721px){
 .space-layout:has(#room-preview[hidden])>div:first-child{align-self:stretch;display:flex;flex-direction:column}
 .space-layout:has(#room-preview[hidden]) #wall-editor:not(.editing){display:flex;flex:1;flex-direction:column}
 .space-layout:has(#room-preview[hidden]) #wall-editor:not(.editing) #room-stage{display:flex;flex:1;flex-direction:column}
 .space-layout:has(#room-preview[hidden]) #wall-editor:not(.editing) #photo-area{flex:1;min-height:280px}
 .space-layout:has(#room-preview[hidden]) #project-name:empty{display:none}
}

.art-detail-actions>.artwork-share,.art-detail-actions .social-share-actions{display:contents}.art-detail-actions>.artwork-share>p{flex-basis:100%;order:2;margin:4px 0;font-size:12px}.art-detail-actions button,.art-detail-actions a{border:0;background:transparent;padding:4px 0;min-height:44px;font-size:16px}.art-detail-actions .social-platform-links{flex-basis:100%}

.art-detail-actions>.artwork-conversation{order:1;flex:0 0 100%;min-width:0;margin:0;padding:0;border:0}.art-detail-actions>.artwork-conversation[open]{margin-top:4px;margin-bottom:12px}.art-detail-actions>.artwork-conversation:not([open]){display:none}.art-detail-actions>.artwork-conversation textarea{width:100%}
.art-detail-actions>.artwork-delete-control{display:contents}.art-detail-actions>.artwork-delete-control>p{flex-basis:100%;margin:4px 0;font-size:13px}
.deleted-artworks{margin-top:24px;border-top:1px solid var(--platform-line);padding-top:16px}.deleted-artworks>summary{min-height:44px;cursor:pointer;font-size:16px}.deleted-artworks .space-work{padding:8px 0}.deleted-artworks .artwork-delete-control{flex-shrink:0}
.art-detail .art-detail-actions>.space-share{display:block;order:3;flex:0 0 100%;min-width:0;margin-top:16px;padding-top:16px;border-top:1px solid var(--platform-line)}
.space-share h3{margin:0 0 8px}.space-share>p{font-size:13px;line-height:1.6;margin:8px 0}.space-share>p:empty{display:none}.space-share-actions{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center}.space-share-form{margin-top:16px}.space-share-form label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;font-size:13px}.space-share-form input[type=text]{width:100%;min-height:44px;font-size:16px}.space-share-form .space-share-consent{flex-direction:row;align-items:flex-start;line-height:1.6}.space-share-consent input{width:18px;height:18px;flex:0 0 18px;margin:2px 4px 0 0}.space-share-form button{margin-right:24px}.space-share [hidden]{display:none!important}
@layer amvia-layout{.space-share>p,.space-share-form label{font-size:13px!important;line-height:1.6!important}.space-share h3{font-size:19px!important}}
.space-share-dialog .space-share-close{display:block;margin:0 0 16px auto;padding:8px 0;border:0;border-bottom:1px solid var(--platform-control);font-size:.8125rem}.space-share-dialog .space-share-form .space-share-consent{display:flex;grid-template-columns:none;align-items:flex-start}.space-share-dialog .space-share-consent input{width:18px;min-height:18px;height:18px;flex:0 0 18px}.space-share-dialog .space-share-actions{display:flex;flex-wrap:wrap;gap:8px 24px}.space-share-dialog h3{margin-top:0}

.room-caption{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;margin-top:8px;min-width:0}.room-caption #project-name{min-width:0;margin:0;overflow-wrap:anywhere}#preview-artwork-ar,#create-space-video,#share-current-space,#bring-current-artwork-home{flex:none;min-height:44px;margin-left:auto;padding:8px 0;border:0;background:transparent;font-size:1rem;line-height:1.6}#preview-artwork-ar:focus-visible,#create-space-video:focus-visible,#share-current-space:focus-visible,#bring-current-artwork-home:focus-visible{outline:2px solid var(--platform-accent);outline-offset:4px}

.quote-artwork-names{display:grid;gap:4px;min-width:0;font-size:1.1875rem;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.request-artworks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:760px;margin-bottom:24px}.request-artwork{min-width:0}.request-artwork h3{font-size:1.1875rem}@media(max-width:600px){.request-artworks{gap:16px}}

.order-progress summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.order-progress ol{list-style:none;margin:16px 0;padding-left:24px;border-left:1px solid var(--platform-line)}.order-progress li{display:grid;gap:4px;margin:16px 0}.order-progress time{font-size:.75rem;color:var(--platform-muted)}

/* Customer receipt and review reuse the existing order form. */
.order-acceptance .check{flex-wrap:nowrap;align-items:flex-start;min-height:44px;gap:12px}
.order-acceptance .check>input{flex:0 0 18px;margin-top:4px}
.order-acceptance .check>span{flex:1;min-width:0;width:auto}
.order-acceptance summary{min-height:44px;cursor:pointer;align-content:center}
.order-acceptance form{margin:24px 0}
.order-acceptance .review-reminder{color:var(--platform-text);border-left:2px solid var(--platform-accent);padding-left:16px}

.production-providers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:8px 16px;border:0;padding:0;margin:0;min-width:0}.production-option-copy{display:flex;flex-direction:column;gap:2px}.home-order-section .production-option-detail{font-size:.8125rem;color:var(--platform-muted)}.production-coverage,.production-availability{font-size:.8125rem;line-height:1.5}.production-global:empty{display:none}.production-global .app-order{margin:16px 0 0;padding:0;border:0}.production-global label{display:flex;flex-direction:column;gap:4px}.production-global .check{flex-direction:row;flex-wrap:nowrap}.production-global .check>span{flex:1;min-width:0;width:auto}.production-global .app-order-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}.production-global .app-order-fields input,.production-global .app-order-fields select{width:100%}
