/* Immersive UI experiment; the previous layout remains available through ?layout=classic. */
.immersive .empty-state .empty-ducky{display:block;width:136px;height:138px;object-fit:contain}
.immersive .empty-state p{font-size:14px;line-height:1.8;color:#788b7e;margin:20px 20px 24px}
.immersive .quality-choice>span{padding-left:10px;padding-right:10px}.immersive .quality-choice small{text-wrap:balance}
/* The rendering status leads; the small illustrative lesson stays secondary. */
.immersive .render-overlay.waiting-overlay{padding:24px;background:#fff;backdrop-filter:none;overflow:auto;touch-action:auto}
.immersive.rendering-guide .canvas-toolbar{display:none}
.busy .waiting-guide button:not(:disabled){cursor:pointer}
.immersive .image-wrap.rendering{background:#fff}
.immersive .image-wrap.rendering>img{animation:none;filter:none;opacity:0}
.immersive .canvas-area:has(.image-wrap.rendering) .reference-action-dock{display:none!important}
.waiting-guide{--guide-duration:10s;width:min(1300px,100%);max-height:100%;overflow:visible;color:#234a35;font-family:"Apple LiGothic","PingFang SC","Source Han Sans SC","Noto Sans CJK SC",-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.5;animation:waiting-guide-enter 420ms cubic-bezier(.2,.7,.2,1) both}
.waiting-status{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:0 0 20px}
.waiting-status-line{display:flex;align-items:baseline;justify-content:center;gap:5px}.waiting-status h2{font-size:27px;font-weight:600;letter-spacing:1px;line-height:1.4;margin:0}.waiting-status #elapsed{color:#64816e;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
.waiting-loader{position:relative;display:block;flex:0 0 74px;width:74px;height:74px;overflow:visible;border-radius:50%;background:#fff;box-shadow:0 4px 13px #163a251c;isolation:isolate}.waiting-loader img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);object-fit:contain;z-index:1}.waiting-loader:before,.waiting-loader:after{content:'';position:absolute;inset:0;border-radius:50%;pointer-events:none}.waiting-loader:before{border:2px solid #d9f1e2;z-index:0}.waiting-loader:after{border:2px solid transparent;border-top-color:#10ad5e;border-right-color:#75dda0;filter:drop-shadow(0 0 3px #1bb96870);z-index:2;animation:waiting-loader-ring-spin 1.15s linear infinite}.waiting-loader-animation{display:block}.waiting-loader-static{display:none;object-position:57% 18%;object-fit:cover}
@keyframes waiting-loader-ring-spin{to{transform:rotate(360deg)}}
.waiting-orbit{display:grid;place-items:center;position:relative;width:48px;height:48px;border-radius:50%;background:#f2f8eff0;color:#1b9c5c}.waiting-orbit>i{display:flex}.waiting-orbit svg{width:24px;height:24px}.waiting-orbit:after{content:'';position:absolute;inset:-2px;border:2px solid #bddac633;border-top-color:#18965a;border-right-color:#18965a66;border-radius:50%;animation:waiting-orbit-turn 2.6s linear infinite}
.guide-lesson{border:1px solid #dfe7dd;border-radius:14px;background:#fafcf8d9;overflow:hidden;box-shadow:0 5px 20px #29492e06;opacity:1;transition:opacity .5s ease}.waiting-guide.lesson-fading-out .guide-lesson{opacity:0}
.guide-lesson-header{min-height:44px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;color:#7d9181}.guide-lesson-header .text-button{flex:none;white-space:nowrap;font-size:12px;color:#8a9c8f;gap:5px}.guide-lesson-header .text-button svg{width:12px;height:12px;transform:rotate(90deg)}
.guide-lesson-header>span{padding:10px 0;line-height:1.5}.guide-object-stage{opacity:0}.guide-photo-zoom{transform-origin:0 0;transform:translate(111.98px,5px) scale(.094246)}.guide-photo-focus{opacity:0}
.guide-demo{padding:0 8px 8px;pointer-events:none;user-select:none}.guide-scene{display:block;width:100%;height:auto;overflow:hidden}.guide-chair-current{color:#a3bec0}.guide-drawn-selection{opacity:0;transform-box:fill-box;transform-origin:left top}.guide-scene-cursor,.guide-product-cursor{opacity:0;filter:drop-shadow(0 2px 2px #122e2525)}.guide-demo-drawer{opacity:0;transform:translateX(18px)}.guide-product-check{opacity:0}.guide-demo-apply rect{fill:#e4ece2}.guide-demo-apply text{fill:#8ea18f}
.guide-compact{display:flex;justify-content:center}.guide-compact .text-button{font-size:12px;color:#7d9483;gap:5px}.guide-compact svg{width:12px;height:12px}.guide-preview-exit{display:block;width:max-content;margin:15px auto 0;text-align:center;font-size:12px;color:#7a9281}.guide-preview-exit:hover{color:#176a40}
.guide-carousel-shell{position:relative;padding:0 90px}.guide-pagination{position:absolute;inset:0;display:block;pointer-events:none}.guide-pagination[hidden],.waiting-guide.compact .guide-pagination{display:none}.guide-pagination button{position:absolute;top:50%;display:grid;place-items:center;width:52px;height:76px;padding:0;border:0;background:transparent;color:#111;font-family:Arial,sans-serif;font-size:58px;font-weight:300;line-height:1;pointer-events:auto;transform:translateY(-50%);transition:color 160ms,transform 160ms}.guide-pagination #guide-prev{left:2px}.guide-pagination #guide-next{right:2px}.guide-pagination button:hover{color:#169a58}.guide-pagination #guide-prev:hover{transform:translate(-3px,-50%)}.guide-pagination #guide-next:hover{transform:translate(3px,-50%)}.guide-pagination button:focus-visible{outline:2px solid #24aa65;outline-offset:2px;border-radius:8px}
@media(max-width:760px){.guide-carousel-shell{padding:0 52px}.guide-pagination button{width:38px;font-size:48px}.guide-pagination #guide-prev{left:0}.guide-pagination #guide-next{right:0}}
.is-playing .guide-photo{animation:guide-photo-fade var(--guide-duration) ease infinite}.is-playing .guide-photo-zoom{animation:guide-photo-zoom var(--guide-duration) cubic-bezier(.4,0,.2,1) infinite}.is-playing .guide-photo-focus{animation:guide-photo-focus var(--guide-duration) ease infinite}.is-playing .guide-object-stage{animation:guide-stage var(--guide-duration) cubic-bezier(.22,.75,.18,1) infinite}.is-playing .guide-drawn-selection{animation:guide-select var(--guide-duration) ease-in-out infinite}.is-playing .guide-scene-cursor{animation:guide-draw-cursor var(--guide-duration) ease-in-out infinite}.is-playing .guide-demo-drawer{animation:guide-drawer var(--guide-duration) cubic-bezier(.22,.75,.18,1) infinite}.is-playing .guide-target-product{animation:guide-product-choice var(--guide-duration) ease infinite}.is-playing .guide-product-check{animation:guide-product-check var(--guide-duration) ease infinite}.is-playing .guide-demo-apply rect{animation:guide-apply-fill var(--guide-duration) ease infinite}.is-playing .guide-demo-apply text{animation:guide-apply-text var(--guide-duration) ease infinite}.is-playing .guide-product-cursor{animation:guide-pick-cursor var(--guide-duration) ease-in-out infinite}.is-playing .guide-chair-current{animation:guide-chair-change var(--guide-duration) ease infinite}
.waiting-guide.compact .guide-demo *,.waiting-guide.paused .guide-demo *{animation-play-state:paused!important}
.image-wrap.reveal-result{animation:guide-result-reveal 550ms ease-out both}
@keyframes waiting-guide-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes waiting-orbit-turn{to{transform:rotate(360deg)}}
@keyframes guide-photo-fade{0%,30%,100%{opacity:1}40%,97%{opacity:0}}
@keyframes guide-photo-zoom{0%,12%,98%,100%{transform:translate(111.98px,5px) scale(.094246)}27%,94%{transform:translate(38.9px,-297.908px) scale(.236)}}
@keyframes guide-photo-focus{0%,9%,38%,100%{opacity:0}13%,29%{opacity:.9}}
@keyframes guide-stage{0%,31%,99%,100%{opacity:0;transform:translateX(0)}40%,54%{opacity:1;transform:translateX(0)}63%,94%{opacity:1;transform:translateX(-64px)}97%{opacity:0;transform:translateX(-64px)}}
@keyframes guide-select{0%,41%{opacity:0;transform:scale(.02)}43%{opacity:1;transform:scale(.02)}54%,91%{opacity:1;transform:scale(1)}94%,100%{opacity:0;transform:scale(1)}}
@keyframes guide-draw-cursor{0%,39%{opacity:0;transform:translate(96px,6px)}41%,43%{opacity:1;transform:translate(113px,14px)}54%{opacity:1;transform:translate(307px,188px)}57%,100%{opacity:0;transform:translate(307px,188px)}}
@keyframes guide-drawer{0%,54%,98%,100%{opacity:0;transform:translateX(18px)}63%,94%{opacity:1;transform:translateX(0)}}
@keyframes guide-product-choice{0%,68%,98%,100%{fill:#f5f7f3;stroke:#e5ebe1}71%,94%{fill:#eaf9ef;stroke:#14af64}}
@keyframes guide-product-check{0%,68%,98%,100%{opacity:0}71%,94%{opacity:1}}
@keyframes guide-apply-fill{0%,69%,98%,100%{fill:#e4ece2}72%,80%,85%,94%{fill:#26a468}83%{fill:#087744}}
@keyframes guide-apply-text{0%,69%,98%,100%{fill:#8ea18f}72%,94%{fill:white}}
@keyframes guide-pick-cursor{0%,63%{opacity:0;transform:translate(343px,96px)}65%{opacity:1;transform:translate(343px,96px)}69%,74%{opacity:1;transform:translate(298px,86px)}71%{opacity:1;transform:translate(298px,86px) scale(.86)}79%,81%,85%{opacity:1;transform:translate(330px,157px)}83%{opacity:1;transform:translate(330px,157px) scale(.86)}89%,100%{opacity:0;transform:translate(330px,157px)}}
.guide-chair-original{opacity:1;mix-blend-mode:multiply}.guide-chair-current{opacity:0;color:#b68174}.is-playing .guide-chair-original{animation:guide-chair-original var(--guide-duration) ease infinite}
@keyframes guide-chair-original{0%,84%,100%{opacity:1}89%,96%{opacity:0}}
@keyframes guide-chair-change{0%,84%,100%{opacity:0;color:#b68174}89%,96%{opacity:1;color:#b68174}}
@keyframes guide-result-reveal{from{opacity:.35;filter:blur(2px)}to{opacity:1;filter:blur(0)}}
@media(max-height:880px){.waiting-guide{width:min(1120px,100%,max(380px,calc((100dvh - 330px)*2.4)))}}
@media(max-height:650px){.waiting-status{padding-bottom:12px;gap:4px}.waiting-status h2{font-size:23px}.waiting-loader{flex-basis:62px;width:62px;height:62px}.waiting-status #elapsed{font-size:13px}.waiting-guide{width:min(760px,100%)}}
@media(prefers-reduced-motion:reduce){.waiting-guide,.waiting-orbit:after,.waiting-loader:after{animation:none}.waiting-loader-animation{display:none}.waiting-loader-static{display:block}.waiting-guide .guide-demo *{animation:none!important}.guide-drawn-selection{opacity:1;transform:none}.guide-photo{display:none}.guide-object-stage{opacity:1;transform:translateX(-64px)}.guide-demo-drawer{opacity:1;transform:none}.guide-target-product{stroke:#14af64;fill:#eaf9ef}.guide-product-check{opacity:1}.guide-demo-apply rect{fill:#26a468}.guide-demo-apply text{fill:white}.guide-scene-cursor,.guide-product-cursor{display:none}.image-wrap.reveal-result{animation:none}}

/* Waiting lesson: select the red dining chair, choose the pink SKU, and rerender. */
.guide-edit-selection,.guide-edit-product-check,.guide-edit-complete{opacity:0}
.guide-edit-drawer{opacity:0;transform:translateX(14px)}
.guide-edit-target{fill:#fff8fa;stroke:#f1dce3}.guide-edit-apply rect{fill:#e4ebe5}.guide-edit-apply text{fill:#87998c}
.guide-edit-cursor{opacity:0;filter:drop-shadow(0 2px 2px #122e2525)}
.is-playing .guide-edit-selection{animation:guide-edit-selection var(--guide-duration) ease infinite}
.is-playing .guide-edit-drawer{animation:guide-edit-drawer var(--guide-duration) cubic-bezier(.22,.75,.18,1) infinite}
.is-playing .guide-edit-target{animation:guide-edit-target var(--guide-duration) ease infinite}
.is-playing .guide-edit-product-check{animation:guide-edit-product-check var(--guide-duration) ease infinite}
.is-playing .guide-edit-apply rect{animation:guide-edit-apply-fill var(--guide-duration) ease infinite}
.is-playing .guide-edit-apply text{animation:guide-edit-apply-text var(--guide-duration) ease infinite}
.is-playing .guide-edit-complete{animation:guide-edit-complete var(--guide-duration) ease infinite}
.is-playing .guide-edit-cursor{animation:guide-edit-cursor var(--guide-duration) ease-in-out infinite}
@keyframes guide-edit-selection{0%,8%,100%{opacity:0}15%,79%{opacity:1}84%,96%{opacity:.55}}
@keyframes guide-edit-drawer{0%,25%,100%{opacity:0;transform:translateX(14px)}32%,96%{opacity:1;transform:none}}
@keyframes guide-edit-target{0%,39%,100%{fill:#fff8fa;stroke:#f1dce3}46%,96%{fill:#fff0f5;stroke:#f08bac}}
@keyframes guide-edit-product-check{0%,42%,100%{opacity:0;transform:scale(.7)}47%,96%{opacity:1;transform:scale(1)}}
@keyframes guide-edit-apply-fill{0%,61%,100%{fill:#e4ebe5}67%,71%,96%{fill:#2fbe75}69%{fill:#11884e}}
@keyframes guide-edit-apply-text{0%,61%,100%{fill:#87998c}67%,96%{fill:white}}
@keyframes guide-edit-complete{0%,81%,100%{opacity:0;transform:scale(.6)}86%,96%{opacity:1;transform:scale(1)}}
@keyframes guide-edit-cursor{0%,4%,100%{opacity:0;transform:translate(50px,108px)}7%{opacity:1;transform:translate(50px,108px)}18%{opacity:1;transform:translate(97px,169px)}21%,31%{opacity:0;transform:translate(97px,169px)}35%{opacity:1;transform:translate(345px,88px)}43%,47%{opacity:1;transform:translate(371px,91px)}45%{opacity:1;transform:translate(371px,91px) scale(.86)}52%,59%{opacity:0;transform:translate(371px,91px)}63%{opacity:1;transform:translate(371px,91px)}69%,73%{opacity:1;transform:translate(349px,172px)}71%{opacity:1;transform:translate(349px,172px) scale(.86)}78%,100%{opacity:0;transform:translate(349px,172px)}}

/* Waiting lesson: compare the same camera in CLASSIC and PHOTO quality modes. */
.guide-quality-scene>rect{fill:#fff;stroke:#111;stroke-width:.8;stroke-dasharray:.01 1.75;stroke-linecap:round}
.guide-quality-card .guide-quality-mode-label{stroke:none;filter:drop-shadow(0 2px 3px #0000001c)}
.guide-quality-card .guide-quality-focus{fill:none;stroke-width:2.4;filter:drop-shadow(0 0 3px currentColor)}
.guide-quality-card .guide-quality-copy-title{fill:#111}.guide-quality-card .guide-quality-copy-detail{fill:#4d5450}
.guide-quality-classical .guide-quality-mode-label{fill:#24aa65}.guide-quality-classical>text:not(.guide-quality-copy-title):not(.guide-quality-copy-detail){fill:#fff}.guide-quality-classical .guide-quality-focus{stroke:#24aa65}
.guide-quality-photo .guide-quality-mode-label{fill:#7846c8}.guide-quality-photo>text:not(.guide-quality-copy-title):not(.guide-quality-copy-detail){fill:#fff}.guide-quality-photo .guide-quality-focus{stroke:#7846c8}
.guide-quality-classical-image,.guide-quality-photo-image{filter:none}
.guide-quality-focus{opacity:0}.guide-quality-card{transform-box:fill-box;transform-origin:center}
.is-playing .guide-quality-classical{animation:guide-quality-classical var(--guide-duration) ease infinite}
.is-playing .guide-quality-photo{animation:guide-quality-photo var(--guide-duration) ease infinite}
.is-playing .guide-quality-classical .guide-quality-focus{animation:guide-quality-classical-focus var(--guide-duration) ease infinite}
.is-playing .guide-quality-photo .guide-quality-focus{animation:guide-quality-photo-focus var(--guide-duration) ease infinite}
@keyframes guide-quality-classical{0%,7%,38%,100%{opacity:1;transform:none}12%,33%{opacity:1;transform:scale(1.025)}45%,94%{opacity:1;transform:none}}
@keyframes guide-quality-photo{0%,38%,100%{opacity:1;transform:none}45%,76%{opacity:1;transform:scale(1.025)}82%,94%{opacity:1;transform:none}}
@keyframes guide-quality-classical-focus{0%,7%,38%,100%{opacity:0}12%,33%{opacity:1}}
@keyframes guide-quality-photo-focus{0%,42%,79%,100%{opacity:0}47%,75%{opacity:1}}

/* Waiting lesson: open the outpaint tool and finish a 4K expansion. */
.guide-outpaint-scene>rect{fill:#fff;stroke:#111;stroke-width:.8;stroke-dasharray:.01 1.75;stroke-linecap:round}
.guide-outpaint-menu>rect:first-child{fill:#f1f1f1;stroke:#151515;stroke-width:.4;filter:drop-shadow(0 3px 4px #0000001f)}
.guide-outpaint-menu>text:first-of-type{fill:#111;font-weight:700}
.guide-outpaint-menu>rect:nth-of-type(2){fill:#fff;stroke:#181818;stroke-width:.5}
.guide-outpaint-menu>text:nth-of-type(2){fill:#111}
.guide-outpaint-original>rect{stroke:#151515;stroke-width:.55}
.guide-outpaint-extensions>rect{stroke:#151515;stroke-width:.8}
.guide-outpaint-progress>rect:first-child{fill:#d7d7d7}.guide-outpaint-progress-fill{fill:#111}
.guide-outpaint-finish>rect{fill:#fff;stroke:#151515;stroke-width:.55}.guide-outpaint-finish circle{fill:#151515}.guide-outpaint-finish text{fill:#111}.guide-outpaint-finish text:last-of-type{fill:#555}
.guide-outpaint-menu{opacity:1}.guide-outpaint-extensions,.guide-outpaint-progress,.guide-outpaint-finish{opacity:0}
.guide-outpaint-4k-choice{fill:#fff;stroke:#181818;stroke-width:.65}.guide-outpaint-4k-text{fill:#111}
.guide-outpaint-progress-fill{transform-box:fill-box;transform-origin:left;transform:scaleX(0)}
.guide-outpaint-cursor{opacity:0;filter:drop-shadow(0 2px 2px #122e2525)}
.is-playing .guide-outpaint-menu{animation:guide-outpaint-menu var(--guide-duration) cubic-bezier(.2,.7,.2,1) infinite}
.is-playing .guide-outpaint-4k-choice{animation:guide-outpaint-4k-fill var(--guide-duration) ease infinite}
.is-playing .guide-outpaint-4k-text{animation:guide-outpaint-4k-text var(--guide-duration) ease infinite}
.is-playing .guide-outpaint-original{animation:guide-outpaint-original var(--guide-duration) ease infinite}
.is-playing .guide-outpaint-extensions{animation:guide-outpaint-extensions var(--guide-duration) ease infinite}
.is-playing .guide-outpaint-progress{animation:guide-outpaint-progress var(--guide-duration) ease infinite}
.is-playing .guide-outpaint-progress-fill{animation:guide-outpaint-progress-fill var(--guide-duration) ease-in-out infinite}
.is-playing .guide-outpaint-finish{animation:guide-outpaint-finish var(--guide-duration) cubic-bezier(.2,.7,.2,1) infinite}
.is-playing .guide-outpaint-cursor{animation:guide-outpaint-cursor var(--guide-duration) ease-in-out infinite}
@keyframes guide-outpaint-menu{0%,52%{opacity:1;transform:none}58%,100%{opacity:0;transform:translateY(-4px)}}
@keyframes guide-outpaint-4k-fill{0%,18%,100%{fill:#fff;stroke:#181818}24%,52%{fill:#151515;stroke:#151515}}
@keyframes guide-outpaint-4k-text{0%,18%,100%{fill:#111}24%,52%{fill:#fff}}
@keyframes guide-outpaint-original{0%,58%,100%{opacity:1}66%,95%{opacity:0}}
@keyframes guide-outpaint-extensions{0%,58%,100%{opacity:0}66%,95%{opacity:1}}
@keyframes guide-outpaint-progress{0%,28%,66%,100%{opacity:0}34%,61%{opacity:1}}
@keyframes guide-outpaint-progress-fill{0%,30%,100%{transform:scaleX(0)}37%{transform:scaleX(.15)}61%,94%{transform:scaleX(1)}}
@keyframes guide-outpaint-finish{0%,68%,100%{opacity:0;transform:translateY(6px) scale(.94)}74%,95%{opacity:1;transform:none}}
@keyframes guide-outpaint-cursor{0%,4%,100%{opacity:0;transform:translate(96px,116px)}7%,16%{opacity:1;transform:translate(96px,116px)}13%{opacity:1;transform:translate(96px,116px) scale(.86)}22%,100%{opacity:0;transform:translate(96px,116px)}}

/* Waiting lesson: show where the optional prompt lives without implying it is required. */
.guide-prompt-scene text{font-family:var(--font);fill:#111;user-select:none}
.guide-prompt-scene>rect{fill:#fff;stroke:#111;stroke-width:.8;stroke-dasharray:.01 1.75;stroke-linecap:round}
.guide-prompt-settings>rect:first-child{fill:#f1f1f1;stroke:#151515;stroke-width:.45;filter:drop-shadow(0 3px 4px #0000001f)}
.guide-prompt-settings>rect:nth-of-type(2){fill:#fff;stroke:#d0d0d0;stroke-width:.5}
.guide-prompt-standard-choice rect{stroke-width:.55}.guide-prompt-standard-choice image{pointer-events:none}
.guide-prompt-standard-classic rect{fill:#eaf8ef;stroke:#24aa65}.guide-prompt-standard-classic text{fill:#138149}
.guide-prompt-standard-photo rect{fill:#f2edfb;stroke:#7846c8}.guide-prompt-standard-photo text{fill:#6435b3}
.guide-prompt-field>text:nth-of-type(2){fill:#666}.guide-prompt-field>rect:first-of-type{fill:#fff;stroke:#151515;stroke-width:.6}
.guide-prompt-field>text:nth-of-type(3),.guide-prompt-field>text:nth-of-type(4){fill:#8a8a8a}
.guide-prompt-highlight{fill:none;stroke:#24aa65;stroke-width:2;opacity:0;filter:drop-shadow(0 0 4px #24aa6566)}
.guide-prompt-render-button{fill:#151515}.guide-prompt-settings>text:last-of-type{fill:#fff}
.guide-prompt-result>rect:first-child{fill:#f1f1f1;stroke:#151515;stroke-width:.45;filter:drop-shadow(0 3px 4px #0000001f)}
.guide-prompt-result>rect:nth-of-type(2){fill:none;stroke:#151515;stroke-width:.55}
.guide-prompt-success{opacity:0;transform-box:fill-box;transform-origin:center}.guide-prompt-success text{fill:#111}
.guide-prompt-arrow{opacity:0}.guide-prompt-arrow path{fill:none;stroke:#24aa65;stroke-linecap:round;stroke-linejoin:round}.guide-prompt-arrow-main{stroke-width:1.6}.guide-prompt-arrow-head{stroke-width:2.1}.guide-prompt-arrow-sketch{stroke-width:.55;opacity:.4}.guide-prompt-arrow-main{stroke-dasharray:170;stroke-dashoffset:170}.guide-prompt-arrow-head{stroke-dasharray:30;stroke-dashoffset:30}
.guide-prompt-cursor{opacity:0;filter:drop-shadow(0 2px 2px #122e2525)}
.is-playing .guide-prompt-highlight{animation:guide-prompt-highlight var(--guide-duration) ease infinite}
.is-playing .guide-prompt-cursor{animation:guide-prompt-cursor var(--guide-duration) cubic-bezier(.4,0,.2,1) infinite}
.is-playing .guide-prompt-success{animation:guide-prompt-success var(--guide-duration) ease infinite}
.is-playing .guide-prompt-arrow{animation:guide-prompt-arrow-show var(--guide-duration) ease infinite}.is-playing .guide-prompt-arrow-main{animation:guide-prompt-arrow-draw var(--guide-duration) ease infinite}.is-playing .guide-prompt-arrow-head{animation:guide-prompt-arrow-head-draw var(--guide-duration) ease infinite}
@keyframes guide-prompt-highlight{0%,8%,100%{opacity:0}15%,68%{opacity:1}32%,45%{opacity:.55}52%,64%{opacity:1}75%,94%{opacity:.35}}
@keyframes guide-prompt-cursor{0%,34%,100%{opacity:0;transform:translate(176px,166px)}39%{opacity:1;transform:translate(176px,166px)}50%,68%{opacity:1;transform:translate(103px,193px)}72%,100%{opacity:0;transform:translate(103px,193px)}}
@keyframes guide-prompt-success{0%,49%,100%{opacity:0;transform:translateY(5px) scale(.95)}57%,94%{opacity:1;transform:none}}
@keyframes guide-prompt-arrow-show{0%,49%,100%{opacity:0}57%,94%{opacity:1}}
@keyframes guide-prompt-arrow-draw{0%,49%,100%{stroke-dashoffset:170}62%,94%{stroke-dashoffset:0}}
@keyframes guide-prompt-arrow-head-draw{0%,57%,100%{stroke-dashoffset:30}64%,94%{stroke-dashoffset:0}}

@media(prefers-reduced-motion:reduce){
  .guide-lesson{transition:none}
  .guide-edit-selection,.guide-edit-drawer,.guide-edit-product-check,.guide-edit-complete{opacity:1;transform:none}.guide-edit-target{fill:#fff0f5;stroke:#f08bac}.guide-edit-apply rect{fill:#2fbe75}.guide-edit-apply text{fill:white}.guide-edit-cursor{display:none}
  .guide-quality-card{opacity:1;transform:none}.guide-quality-classical .guide-quality-focus{opacity:1}.guide-quality-photo .guide-quality-focus{opacity:0}
  .guide-outpaint-original,.guide-outpaint-menu,.guide-outpaint-progress{opacity:0}.guide-outpaint-extensions,.guide-outpaint-finish{opacity:1;transform:none}.guide-outpaint-cursor{display:none}
  .guide-prompt-highlight,.guide-prompt-success,.guide-prompt-arrow{opacity:1;transform:none}.guide-prompt-arrow-main,.guide-prompt-arrow-head{stroke-dashoffset:0}.guide-prompt-cursor{display:none}
}
.supplement-section{margin:22px 0 6px;min-width:0}.supplement-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.supplement-heading h2{font-size:13px}.supplement-heading>span{font-size:12px;color:#8b998f}
.supplement-panel{position:relative;width:100%;padding:12px 12px 8px;background:#fff;border:1px solid #dfe5e0;border-radius:16px;box-shadow:0 2px 6px #24372c09;touch-action:auto;transition:box-shadow 180ms,border-color 180ms}
.supplement-panel:focus-within,.supplement-panel.dragover{border-color:#83c49b;box-shadow:0 3px 12px #1c74361c}.supplement-panel.disabled{background:#f8faf8}.supplement-panel textarea{display:block;resize:vertical;width:100%;min-height:72px;max-height:200px;margin:0;padding:0;border:0!important;outline:none!important;box-shadow:none!important;background:transparent;color:#273e30;font:inherit;font-size:14px;line-height:1.8}.supplement-panel textarea::placeholder{color:#a5afa8}.supplement-panel textarea:disabled{cursor:not-allowed}.supplement-actions{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:7px;min-height:28px}.supplement-add{width:29px;height:29px;border-radius:8px;font-size:24px;line-height:1;color:#68786e;flex:none}.supplement-add:hover:not(:disabled){color:#087744;background:#edf8f0}.supplement-actions>span{font-size:12px;color:#8b998f;white-space:nowrap}.supplement-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.supplement-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;margin:12px 0 2px;padding:3px 2px}.supplement-images figure{position:relative;min-width:0;margin:0}.supplement-images img{display:block;width:100%;height:52px;object-fit:cover;border-radius:8px;border:1px solid #e1e7e2}.supplement-images figcaption{text-align:center;font-size:11px;line-height:1.6;color:#819086;margin-top:3px}.supplement-images button{position:absolute;right:-3px;top:-3px;width:19px;height:19px;background:#fff;border:1px solid #dce4dd;border-radius:50%;font-size:15px;line-height:16px;color:#677c6f;box-shadow:0 1px 4px #193a1710}
.lighting-help{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:25px;height:25px;margin-left:4px;border-radius:50%;color:#789183;cursor:help}
.lighting-help:hover,.lighting-help[aria-expanded=true]{background:#e7f6ed;color:#087744}.lighting-help svg{width:17px;height:17px}
.lighting-guide{position:fixed;z-index:100;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:80vw;height:78dvh;max-height:900px;padding:28px;background:#fff;border:1px solid #e0e8e2;border-radius:18px;box-shadow:0 24px 100px #172b3f45;display:flex;flex-direction:column;animation:guide-enter 220ms ease-out}
.lighting-guide[hidden]{display:none}.lighting-guide-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.lighting-guide-heading h2{font-size:23px;line-height:1.4;margin:8px 0}.lighting-guide-heading p{font-size:14px;color:#738078;margin:0}.lighting-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;flex:1;min-height:0;margin-top:24px}.lighting-guide figure{margin:0;min-width:0;background:#f3f5f2;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.lighting-guide-image{flex:1;min-height:0;display:flex;align-items:center;background:#e8ebe6}.lighting-guide-image img{display:block;width:100%;height:100%;object-fit:contain}.lighting-guide figcaption{padding:22px;min-height:154px}.lighting-guide figcaption span{font-size:12px;color:#658270}.lighting-guide h3{margin:8px 0;font-size:18px}.lighting-guide figcaption p{font-size:14px;line-height:1.7;color:#657368;margin:0}.lighting-guide-footnote{font-size:12px;color:#87938a;margin:18px 0 0}
@keyframes guide-enter{from{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}
.projects-modal{width:min(1000px,94vw);max-height:calc(100dvh - 48px)}.projects-modal[open]{display:flex;flex-direction:column}.history-intro{color:#718176;font-size:14px}.history-heading-actions{display:flex;align-items:center;gap:12px}.history-view-switch{display:flex;align-items:center;padding:3px;border-radius:18px;background:#f0f3f1}.history-view-switch button{padding:6px 12px;border-radius:15px;color:#6f7d74;font-size:12px}.history-view-switch button[aria-pressed=true]{background:#fff;color:#17683e;box-shadow:0 1px 5px #122d1c12}.projects-list.gallery-mode{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:4px;max-height:70vh}.history-gallery-item{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;border-radius:2px;overflow:hidden;background:#e8ece9;color:#839188;font-size:12px}.history-gallery-item img{display:block;width:100%;height:100%;object-fit:cover}.history-gallery-item:hover{outline:2px solid #14a762;outline-offset:-2px}.history-gallery-item:focus-visible{outline:3px solid #14a762;outline-offset:-3px}.history-gallery-item.unavailable{display:grid;place-items:center}.projects-list.list-mode{display:flex;flex-direction:column;gap:10px;max-height:60vh}.history-picture{width:112px;height:70px;flex:none;display:flex;align-items:center;justify-content:center;background:#edf1ee;border-radius:5px;overflow:hidden;color:#87968d;font-size:12px}.projects-list .project-link img{width:112px;height:70px;object-fit:cover;opacity:0;transition:opacity 180ms ease}.history-picture.loaded img{opacity:1}.project-link>span:last-child{min-width:0}.project-link strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px;color:#718176;font-size:13px}.history-footer button{flex:none}
@media(max-width:900px){.lighting-guide{width:92vw;height:86dvh;padding:20px;overflow:auto}.lighting-guide-grid{gap:12px;min-height:360px}.lighting-guide figcaption{padding:14px}.lighting-guide h3{font-size:16px}}
@media(max-width:600px){.lighting-guide-grid{display:flex;flex-direction:column;flex:none}.lighting-guide-image{height:180px;flex:none}.lighting-guide figcaption{min-height:0}.lighting-guide-heading h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.lighting-guide,.projects-list .project-link img{animation:none;transition:none}}
.composition-section{margin:22px 0 4px}.composition-entry{display:flex;align-items:center;gap:9px;width:100%;padding:12px 10px;border:1px solid #dbe5dd;border-radius:9px;background:#f8fbf9;text-align:left;color:#254e36}.composition-entry:hover{background:#eef8f1;border-color:#9dccaa}.composition-entry strong{font-size:14px;white-space:nowrap}.composition-entry span{margin-left:auto;font-size:12px;color:#86978c;white-space:nowrap}.composition-entry svg{width:17px;height:17px;flex:none}.composition-entry>svg:last-child{width:13px}.composition-description,.composition-note{font-size:13px;line-height:1.8;color:#7a8e80;margin:18px 0}.composition-ratios{border:0;padding:0;margin:22px 0 14px}.composition-ratios legend{font-size:14px;margin-bottom:12px;font-weight:600}.composition-ratios>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.composition-ratios button{border:1px solid #dbe4dd;border-radius:6px;padding:10px 0;color:#627a6a;font-size:13px}.composition-ratios button.active{border-color:#13af65;background:#effaf3;color:#087744;box-shadow:0 0 0 1px #13af6520}.composition-custom{display:flex;gap:6px;align-items:flex-end;margin-bottom:25px}.composition-custom label{min-width:0;flex:1;font-size:12px;color:#6c8173}.composition-custom input{width:100%;display:block;margin-top:7px;border:1px solid #dbe4dd;border-radius:6px;padding:7px 5px;background:white;font-size:13px}.composition-custom>span{padding-bottom:8px;color:#86968b}.composition-custom button{height:34px;font-size:12px}.composition-custom .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.composition-zoom-heading,.composition-options{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#587060}.composition-zoom-heading output{color:#87978b;font-size:12px}#composition-zoom{width:100%;margin:15px 0 22px;accent-color:#15af64;cursor:pointer}.composition-options label{display:flex;align-items:center;gap:7px}.composition-options input{accent-color:#15af64}.composition-actions{display:flex;gap:10px;margin-top:20px}.composition-actions>.primary{flex:1;height:42px;font-size:14px}.composition-actions>.tool-button{padding:0 16px}.composition-error{font-size:13px;color:#b05028;line-height:1.7;margin:12px 0}.composition-editor{position:absolute;inset:0;z-index:5;background:#e9edeb}.composition-stage{position:absolute;inset:28px 12px 42px;display:flex;align-items:center;justify-content:center;overflow:hidden}.composition-frame{position:relative;flex:none;overflow:hidden;touch-action:none;cursor:grab;box-shadow:0 8px 36px #14342420;outline:1px solid #8dc2a0;user-select:none;background:#fff}.composition-frame:focus-visible{outline:2px solid #13af65}.composition-frame.dragging{cursor:grabbing}.composition-frame>img{position:absolute;max-width:none;max-height:none;left:0;top:0;pointer-events:none;transform-origin:0 0}.composition-thirds{position:absolute;inset:0;background:linear-gradient(to right,transparent calc(33.333% - .5px),#fff8 calc(33.333% - .5px),#fff8 calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#fff8 calc(66.666% - .5px),#fff8 calc(66.666% + .5px),transparent calc(66.666% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#fff8 calc(33.333% - .5px),#fff8 calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#fff8 calc(66.666% - .5px),#fff8 calc(66.666% + .5px),transparent calc(66.666% + .5px));pointer-events:none}.composition-corner{position:absolute;width:18px;height:18px;border:3px solid white;pointer-events:none}.composition-corner.tl{top:0;left:0;border-right:0;border-bottom:0}.composition-corner.tr{top:0;right:0;border-left:0;border-bottom:0}.composition-corner.bl{bottom:0;left:0;border-right:0;border-top:0}.composition-corner.br{bottom:0;right:0;border-left:0;border-top:0}.composition-preview-label{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:#6b8173;font-size:13px;white-space:nowrap}.composing #image-wrap,.composing #floating-tools,.composing #zoom-controls,.composing #canvas-caption,.composing .toolbar-actions,.composing #canvas-title,.composing #canvas-detail{display:none!important}.composing .composition-entry{background:#eef9f2;border-color:#92cda8}
@media(max-width:900px){.immersive.composing .settings{position:relative;left:auto;top:auto;bottom:auto;width:250px;--settings-width:250px;box-shadow:none}.composing .composition-stage{inset:10px 0 38px}}
.immersive{overflow:hidden;background:#ebedec}.immersive .app-header{height:52px;padding:0 18px}.immersive .app-body{height:calc(100vh - 52px);height:calc(100dvh - 52px);min-height:360px;position:relative;display:flex;overflow:hidden}.immersive .rail{width:56px;padding:12px 3px;gap:8px}.immersive .rail-item{width:48px;font-size:11px;height:60px}.classic-link{font-size:12px;color:#697b70;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.immersive .header-actions{gap:14px}.immersive .beta{font-size:9px}
.immersive .settings{width:290px;display:flex;flex:none}.immersive.settings-collapsed .settings{display:none}.immersive .settings-scroll{padding:20px 20px 10px}.immersive .section-heading{margin-bottom:20px}.immersive .section-heading h1{font-size:17px}.immersive .source-card{height:108px}.immersive .control-group{margin-top:22px}.immersive .generate-footer{padding:15px 20px}.immersive .canvas-toolbar{height:52px;min-height:52px;padding:0 16px;gap:12px}.immersive .canvas-context{display:flex!important;gap:12px;min-width:0}.immersive .canvas-context>strong{font-size:12px;font-weight:500;color:#6e7d73}.immersive .settings-toggle{border-color:#d8e7dd;color:#17683e;background:#f5fbf7;flex:none;font-size:13px}.immersive .toolbar-actions{gap:7px;width:auto;margin-left:auto}
.immersive .canvas-area,.immersive .canvas-area:has(.editing-caption){padding:0;min-height:0;display:block;background:#e9ebea;outline:none;overflow:hidden;touch-action:none}.immersive .canvas-area:focus-visible{box-shadow:inset 0 0 0 2px #14af6444}.immersive .image-wrap{position:absolute;top:0;left:0;max-width:none;max-height:none;margin:0;border-radius:3px;box-shadow:0 6px 26px #18291f20;touch-action:none;will-change:transform}.immersive .image-wrap>img{border-radius:3px}.immersive .can-pan,.immersive .space-pan,.immersive .space-pan .image-wrap{cursor:grab}.immersive .panning,.immersive .panning .image-wrap{cursor:grabbing}.immersive .image-wrap.editing{cursor:crosshair}.immersive .space-pan .image-wrap.editing{cursor:grab}.immersive .canvas-top-label{top:13px;left:17px;z-index:2;pointer-events:none}.immersive .canvas-top-label>span{background:#fffffff0;padding:3px 8px;border-radius:4px}.immersive .canvas-top-label>span:last-child{border:1px solid #e0e5e1}.immersive .canvas-caption,.immersive .canvas-caption.editing-caption{position:absolute;top:49px;bottom:auto;left:17px;right:auto;display:flex;gap:6px;padding:5px 9px;background:#fffffff0;border:1px solid #dce7df;border-radius:5px;max-width:calc(100% - 34px);width:max-content;line-height:20px;z-index:3;font-size:12px;pointer-events:none}.immersive .canvas-caption.editing-caption{color:#376a49}
.immersive .floating-tools{left:17px;bottom:17px;transform:none;height:39px;padding:3px;border-radius:7px;z-index:3}.immersive .floating-tools button{font-size:13px;padding:0 12px}.zoom-controls{position:absolute;right:17px;bottom:17px;z-index:3;display:flex;align-items:center;gap:2px;height:39px;background:#fffffff5;border:1px solid #dce3dd;box-shadow:0 4px 15px #2534240b;border-radius:7px;padding:3px}.zoom-controls button{height:31px;min-width:31px;display:flex;align-items:center;justify-content:center;font-size:13px;padding:0 8px;border-radius:4px;color:#53685b;gap:5px}.zoom-controls button:hover{background:#eaf7ee;color:var(--green-dark)}.zoom-controls>output{font-size:12px;color:#4c6154;min-width:43px;text-align:center;font-variant-numeric:tabular-nums}.zoom-controls>span{height:15px;width:1px;background:#dfe6e0;margin:0 3px}.zoom-controls #zoom-in,.zoom-controls #zoom-out{font-size:19px}.zoom-controls svg{width:17px;height:17px}
.immersive .versions-panel{height:158px;padding:0 17px 10px;transition:none}.immersive .versions-heading{height:39px;margin:0}.immersive .versions-heading h2{margin:0}.immersive #toggle-versions{display:flex;align-items:center;gap:7px;font-size:12px;color:#4c6756;padding:5px 0}.immersive #toggle-versions svg{width:15px;height:15px}.immersive .versions-chevron{transform:rotate(90deg)}.immersive.versions-collapsed .versions-chevron{transform:rotate(-90deg)}.immersive .versions{padding:2px 2px 5px}.immersive.versions-collapsed .versions-panel{height:40px;padding-bottom:0}.immersive.versions-collapsed .versions{display:none}.immersive .versions-heading>span{font-size:12px}.immersive .version-card small{font-size:11px}.immersive .version-card img{height:63px}.immersive .versions-panel .version-card{width:145px}
.immersive .product-drawer,.immersive.editing-open .product-drawer{position:relative;top:auto;bottom:auto;box-shadow:none;transition:none}.immersive .product-drawer.open{width:310px}.immersive .drawer-header{padding-top:17px}.immersive .drawer-description{font-size:12px}.immersive .canvas-error{z-index:6;bottom:67px}.immersive .render-overlay{backdrop-filter:none}.immersive .empty-state{position:absolute;inset:0;justify-content:center}.immersive .selection-label{font-size:12px}.immersive .selection{box-shadow:0 0 0 9999px #0b1b101a}
.immersive.focus-view .app-header,.immersive.focus-view .rail,.immersive.focus-view .settings,.immersive.focus-view .versions-panel,.immersive.focus-view .product-drawer{display:none}.immersive.focus-view .app-body{height:100vh;height:100dvh}.immersive.focus-view .canvas-toolbar{height:44px;min-height:44px}.immersive.focus-view .settings-toggle{display:none}.immersive.focus-view #fullscreen-button{background:#e9f8ee;color:#087744}.immersive.focus-view .workspace{width:100%}
@media(max-width:1100px){.immersive .canvas-context #canvas-detail{display:none}.immersive .header-actions{gap:9px}.immersive .canvas-toolbar{padding:0 11px}.immersive .tool-button{padding:5px 7px}.immersive .product-drawer.open{width:285px}.immersive.editing-open .canvas-context>strong{display:none}.immersive.editing-open .floating-tools{bottom:62px}}
@media(max-width:900px){.immersive .settings{position:absolute;left:56px;top:0;bottom:0;width:285px;z-index:6;box-shadow:8px 0 30px #243c1d18}.immersive .canvas-context>strong{display:none}.immersive .canvas-toolbar{gap:6px}.immersive .toolbar-actions{gap:3px}.immersive .header-actions .avatar{display:none}.immersive .breadcrumb{padding-left:12px}.immersive .brand{width:132px}.immersive .settings .quality-choices{grid-template-columns:1fr 1fr}.immersive .settings .quality-choice>span{padding:12px}.immersive .settings .quality-choice i{position:static;margin-bottom:7px}.immersive .settings .quality-choice small{font-size:11px}.immersive .settings .light-choice strong{font-size:11px}.immersive .settings .field-description{display:block}.immersive .settings .source-caption>span{display:block}}
@media(max-width:760px){.immersive .product-drawer,.immersive.editing-open .product-drawer{position:absolute;right:0;top:0;bottom:0;z-index:5;box-shadow:-8px 0 24px #1f362311}.immersive.editing-open .floating-tools{bottom:61px}.immersive .canvas-context #canvas-title{display:none}.immersive .canvas-toolbar #download-button>span{display:none}.immersive .versions-heading>span{font-size:11px}}
@media(max-width:580px){.immersive .rail{display:none}.immersive .settings{left:0;width:min(310px,90vw);height:auto;max-height:none;border-bottom:0}.immersive .settings-scroll{display:block;padding:18px}.immersive .settings .source-heading{margin-bottom:10px}.immersive .settings .source-card{height:108px}.immersive .settings .source-caption{display:flex;margin-top:8px}.immersive .settings .control-group{margin-top:20px}.immersive .settings .quality-choice small,.immersive .settings .quality-choice i{display:block}.immersive .settings .quality-choice strong{font-size:13px}.immersive .output-settings{margin-top:20px}.immersive .workspace{min-height:0}.immersive .app-header{padding:0 10px}.immersive .brand{width:110px}.immersive .brand img{width:106px}.immersive .breadcrumb{display:none}.immersive .header-actions{gap:8px}.immersive .classic-link{font-size:11px}.immersive .header-actions>[data-help]{display:none}.immersive .canvas-toolbar{padding:0 9px}.immersive .tool-button{font-size:12px}.immersive .canvas-toolbar #compare-button>span{display:none}.immersive .floating-tools{left:9px;bottom:61px}.zoom-controls{right:9px;bottom:13px}.immersive .canvas-top-label{left:9px}.immersive .canvas-caption.editing-caption{left:9px;max-width:calc(100% - 18px)}.immersive .product-drawer.open{width:265px;max-width:80vw}.immersive .versions-heading>span{display:none}}
@media(max-width:760px){.immersive.editing-open .zoom-controls{right:calc(var(--canvas-occlusion,0px) + 9px)}}
@media(max-width:580px){.immersive.editing-open .zoom-controls,.immersive.editing-open .floating-tools,.immersive.editing-open .canvas-caption{display:none}}
.immersive .canvas-area,.immersive .canvas-area:has(.editing-caption){overflow:clip}
.immersive .render-overlay{z-index:4;border-radius:0}
.immersive .zoom-controls #fit-button.active{background:#eaf7ee;color:var(--green-dark)}

/* Panels ease into place; their contents keep a stable width throughout the slide. */
.immersive{--panel-time:360ms;--panel-ease:cubic-bezier(.22,.75,.18,1);--settings-width:290px;--drawer-width:clamp(360px,24vw,460px)}
.immersive .settings,.immersive.settings-collapsed .settings{
  display:flex;min-width:0;overflow:clip;border-right:0;
  transition:width var(--panel-time) var(--panel-ease),visibility 0s linear;
}
.immersive .settings{width:var(--settings-width);visibility:visible}
.immersive.settings-collapsed .settings{
  width:0;visibility:hidden;pointer-events:none;
  transition:width var(--panel-time) var(--panel-ease),visibility 0s linear var(--panel-time);
}
.immersive .settings-scroll,.immersive .generate-footer{width:var(--settings-width);min-width:var(--settings-width);padding-inline:var(--settings-content-inset,20px)}
.immersive .settings>*{
  opacity:1;transform:translateX(0);
  transition:opacity 200ms ease 45ms,transform var(--panel-time) var(--panel-ease);
}
.immersive.settings-collapsed .settings>*{
  opacity:0;transform:translateX(-12px);
  transition:opacity 140ms ease,transform var(--panel-time) var(--panel-ease);
}
.immersive .versions-panel{overflow:clip;padding-bottom:0;transition:height var(--panel-time) var(--panel-ease)}
.immersive .versions,.immersive.versions-collapsed .versions{
  display:flex;transition:opacity 200ms ease 40ms,transform var(--panel-time) var(--panel-ease),visibility 0s linear;
}
.immersive .versions{visibility:visible;opacity:1;transform:translateY(0)}
.immersive.versions-collapsed .versions{
  visibility:hidden;opacity:0;transform:translateY(9px);pointer-events:none;
  transition:opacity 130ms ease,transform var(--panel-time) var(--panel-ease),visibility 0s linear var(--panel-time);
}
.immersive .versions-chevron{transition:transform var(--panel-time) var(--panel-ease)}
.immersive .product-drawer,.immersive.editing-open .product-drawer{
  width:0;border-left:0;visibility:hidden;
  transition:width var(--panel-time) var(--panel-ease),visibility 0s linear var(--panel-time);
}
.immersive .product-drawer.open{
  width:var(--drawer-width);visibility:visible;
  transition:width var(--panel-time) var(--panel-ease),visibility 0s linear;
}
.immersive .product-drawer>:not(.product-categories):not(.catalog-caption){width:var(--drawer-width);min-width:var(--drawer-width)}
.immersive .product-drawer>.product-categories,.immersive .product-drawer>.catalog-caption{width:calc(var(--drawer-width) - 40px);min-width:calc(var(--drawer-width) - 40px)}
.immersive .product-drawer>*{opacity:0;transform:translateX(12px);transition:opacity 140ms ease,transform var(--panel-time) var(--panel-ease)}
.immersive .product-drawer.open>*{opacity:1;transform:translateX(0);transition:opacity 200ms ease 45ms,transform var(--panel-time) var(--panel-ease)}
.immersive .floating-tools{transition:bottom var(--panel-time) var(--panel-ease)}
.immersive.focus-view .settings{display:none}
@media(max-width:1100px){.immersive{--drawer-width:330px}}
@media(max-width:900px){.immersive{--settings-width:285px}}
@media(max-width:580px){.immersive{--settings-width:min(310px,90vw);--drawer-width:min(300px,80vw);--settings-content-inset:18px}}
@media(prefers-reduced-motion:reduce){.immersive{--panel-time:0ms}.immersive .settings,.immersive .settings>*,.immersive .versions-panel,.immersive .versions,.immersive .product-drawer,.immersive .product-drawer>*,.immersive .versions-chevron{transition:none!important}}

.immersive .product-picture{height:clamp(118px,9vw,164px)}
@media(max-width:760px){.immersive{--drawer-width:min(320px,80vw)}}
@media(max-width:580px){.immersive{--drawer-width:min(300px,80vw)}}



/* Thumbnail actions remain separate buttons for mouse and keyboard access. */
.source-preview{position:relative;width:100%}
.source-preview .source-card{display:block}
.source-remove{position:absolute;z-index:2;top:7px;right:7px;display:grid;place-items:center;width:26px;height:26px;padding:0;border-radius:50%;background:#fffffff2;border:1px solid #dbe4de;color:#526b5b;box-shadow:0 2px 7px #14271b24;opacity:0;pointer-events:none;transform:translateY(-2px);transition:opacity 160ms ease,transform 160ms ease,background 160ms ease}
.source-remove svg{width:15px;height:15px}
.source-preview:hover .source-remove,.source-preview:focus-within .source-remove{opacity:1;pointer-events:auto;transform:none}
.source-remove:hover:not(:disabled){background:#fff1ec;color:#a6492a;border-color:#edc7b9}
.source-preview .source-remove:disabled{opacity:0;pointer-events:none}
.source-upload{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:108px;border:1px dashed #bad1c0;border-radius:8px;color:#557b62;background:#f8fbf8;font-size:13px}
.source-upload:hover:not(:disabled){border-color:#14af64;color:#087744;background:#eff9f2}
.source-upload svg{width:21px;height:21px}
@media(hover:none){.source-preview .source-remove{opacity:1;pointer-events:auto;transform:none}.source-preview .source-remove:disabled{opacity:0;pointer-events:none}}
@media(prefers-reduced-motion:reduce){.source-remove{transition:none}}

/* The rail tab is the single settings toggle; crop and product tools share the right drawer. */
.immersive .rail{padding-right:0;border-right:0}
.immersive .rail-item{margin-right:3px}
.immersive #new-session.active{width:53px;margin-right:0;border-radius:10px 0 0 10px;background:white}
.source-caption>span{margin-left:auto}
.immersive .composition-drawer .drawer-header{flex:none;padding:20px;gap:12px}
.immersive .composition-drawer .drawer-header h2{margin:0}
.immersive .composition-drawer-scroll{flex:1;min-height:0;overflow-y:auto;padding:0 20px 20px}
.composition-drawer .composition-description{margin:0 0 20px}
.composition-drawer .composition-ratios{margin-top:0}
.immersive .composition-drawer>.composition-actions{flex:none;margin:0;padding:15px 20px;background:white;border-top:1px solid #e1e8e3}
.immersive.composing .composition-drawer{position:relative;top:auto;bottom:auto;right:auto;box-shadow:none;max-width:none}
@media(min-width:581px) and (max-width:900px){.immersive.composing{--drawer-width:260px}.immersive.composing.settings-collapsed .settings{width:0}}
@media(max-width:580px){
  .immersive .rail{display:flex;width:50px;z-index:7}
  .immersive .rail-item{width:44px;font-size:10px}
  .immersive #new-session.active{width:47px}
  .immersive .settings{left:50px;--settings-width:min(285px,calc(100vw - 50px))}
  .immersive.composing .composition-drawer{position:absolute;inset:auto 0 0 50px;width:auto;max-height:44%;height:0;transition:height var(--panel-time) var(--panel-ease),visibility 0s linear var(--panel-time)}
  .immersive.composing .composition-drawer.open{height:44%;visibility:visible;transition:height var(--panel-time) var(--panel-ease),visibility 0s linear}
  .immersive .composition-drawer>*{width:100%!important;min-width:0!important}
  .immersive.composing .workspace{padding-bottom:44dvh}
  .immersive.composing .settings{position:absolute;left:50px;top:0;bottom:44%;width:var(--settings-width);--settings-width:min(285px,calc(100vw - 50px))}
  .immersive.composing.settings-collapsed .settings{width:0}
  .immersive.composing .composition-drawer .drawer-header{padding:12px 18px}
  .immersive.composing .composition-drawer>.composition-actions{padding:10px 18px}
}

/* One edit item binds one target to its product, instructions and reference images. */
.immersive .rail{padding-top:0;padding-left:0;gap:8px}
.immersive #new-session,.immersive #new-session.active{width:56px;min-height:68px;height:68px;margin:0;border-radius:0;flex:none}
.immersive .floating-tools,.immersive.editing-open .floating-tools{bottom:auto;right:auto;transform:none;transition:none}
.immersive #edit-button svg{stroke-width:3}
.immersive .selection{border-width:2.25px;box-shadow:none}
.immersive .selection>b{border-width:1.5px;width:7.5px;height:7.5px}
.edit-regions{position:absolute;inset:0;pointer-events:none;line-height:normal}
.effective-selection{position:absolute;border:2px dashed #f09b42;background:#f6a84a12;pointer-events:none;line-height:normal;z-index:1}
.effective-selection>span{position:absolute;left:-2px;bottom:100%;padding:3px 7px;border-radius:4px 4px 0 0;background:#f09b42;color:#fff;font-size:11px;line-height:17px;white-space:nowrap}
.selection{z-index:2}
.saved-edit-region{position:absolute;border:2.25px solid #6e9d80;background:#18a95c08}
.saved-edit-region>button{position:absolute;top:-1px;left:-1px;pointer-events:auto;background:#557e64;color:#fff;border-radius:0 0 5px 0;min-width:25px;height:25px;font-size:12px;line-height:25px}
.immersive .batch-edit-drawer .drawer-header{padding:20px;flex:none}
.batch-edit-drawer .drawer-header h2{margin:0}
.edit-queue{padding:0 20px 16px;flex:none;border-bottom:1px solid #e7ede8}
.edit-queue-heading{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:12px;color:#718477}
.edit-queue-heading>span:first-child{color:#314d3b;font-weight:600}
.edit-items{max-height:166px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}
.edit-item{display:flex;align-items:center;border:1px solid #e0e8e2;border-radius:7px;background:#fff}
.edit-item.active{border-color:#14ae61;background:#f2fbf5}
.edit-item-select{min-width:0;flex:1;display:flex;gap:9px;align-items:center;text-align:left;padding:9px}
.edit-item-select>b{flex:none;width:23px;height:23px;display:grid;place-items:center;background:#e7efe9;color:#53745e;border-radius:5px;font-size:12px;font-weight:500}
.edit-item.active .edit-item-select>b{background:#13a960;color:white}
.edit-item-select>span{min-width:0}
.edit-item-select strong,.edit-item-select small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:18px;font-weight:400}
.edit-item-select small{font-size:11px;color:#85928a}
.edit-item-remove{display:grid;place-items:center;margin-right:6px;flex:none;width:26px;height:28px;color:#8a998e}
.edit-item-remove svg{width:15px;height:15px}.edit-item-remove:hover{color:#b95032}
.edit-detail-scroll{flex:1;min-height:0;overflow-y:auto;padding:18px 20px 10px}
.edit-active-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.edit-active-heading h3{font-size:14px;font-weight:600;margin:0}
.edit-target-label{font-size:12px;line-height:1.7;color:#819187;margin:8px 0 15px}
.edit-source-tabs{display:flex;gap:6px;border-radius:6px;padding:3px;background:#f0f4f1;margin-bottom:12px}
.edit-source-tabs button{flex:1;font-size:12px;padding:7px 5px;border-radius:4px;color:#798b7e}
.edit-source-tabs button[aria-pressed=true]{background:#fff;color:#17683e;box-shadow:0 1px 5px #16301a0a}
.batch-edit-drawer .product-categories{margin:6px 0 12px}
.batch-edit-drawer .catalog-caption{margin:0 0 10px}
.batch-edit-drawer .product-list{padding:0 2px 10px;max-height:285px;min-height:0;overflow-y:auto;flex:none;gap:12px}
.immersive .batch-edit-drawer .product-picture{height:108px}
.batch-edit-drawer .product-card strong{font-size:12px}.batch-edit-drawer .product-card small{font-size:11px}
.batch-edit-drawer .selected-product{padding:10px 0;margin:0;border-bottom:1px solid #edf1ed}
.batch-edit-drawer #manual-details{margin-top:12px}
.batch-edit-drawer #manual-details summary{font-size:12px;padding:0 0 10px}
.batch-edit-drawer #manual-details.primary-editor summary{cursor:default;color:#314b39}
.batch-edit-drawer #manual-details.primary-editor summary>svg{display:none}
.edit-input-panel{margin:0;border-radius:12px}
.edit-input-panel textarea{font-size:13px;min-height:92px;margin:0;padding:12px 12px 4px;border:0;box-shadow:none;background:transparent;resize:vertical}
.edit-input-panel .supplement-images{grid-template-columns:repeat(3,minmax(0,1fr))}
.edit-status{font-size:12px;line-height:1.6;color:#7d8d82;margin:10px 0 0}
.edit-footer{flex:none}
.add-edit-item{display:flex;justify-content:center;align-items:center;width:100%;height:36px;border:1px solid #cfded3;border-radius:6px;font-size:13px;color:#3f6950}
.edit-footer .primary{margin-top:9px;font-size:13px}
@media(max-width:580px){.immersive #new-session,.immersive #new-session.active{width:50px}.immersive.editing-open .floating-tools{display:flex;max-width:calc(100% - 20px)}.immersive .floating-tools button{padding:0 8px}}
.member-status{display:inline-flex;align-items:center;gap:10px;font-size:12px;line-height:20px;color:#829086;white-space:nowrap;padding:0 4px}.member-status.is-member{color:#253c2c}.member-face{position:relative;display:inline-flex;flex:none;width:28px;height:28px}.member-avatar{display:block;width:28px;height:28px;border-radius:50%;object-fit:cover;background:#edf2ed}.member-diamond{position:absolute;right:-4px;bottom:-2px;width:14px;height:14px;object-fit:contain;filter:drop-shadow(0 0 1px #fff)}.member-face[hidden],.member-diamond[hidden]{display:none}.member-login{font-size:12px;color:#276447}.member-message{position:fixed;top:56px;right:18px;z-index:80;max-width:360px;margin:0;padding:12px 16px;border:1px solid #dce6de;border-radius:8px;background:#fff;color:#728478;font-size:12px;line-height:1.7;box-shadow:0 4px 18px #24372c08}.member-message[hidden],.member-status[hidden],.member-login[hidden]{display:none}

/* BEGIN OKDUCKY SHELL VISUAL 2026-09-15
   Presentation only. Keep the existing DOM, geometry, state and event handlers.
   The pre-change stylesheet and a guarded rollback are saved in deliverables.
*/
.immersive {
  --text:#191c1a;
  --secondary:#777b78;
  --line:#e9e9e9;
  --surface:#f5f5f5;
  --mint:#f0faf4;
  --shell-muted:#777b78;
  --shell-border:#dedfdf;
  --shell-pill:#f4f4f4;
  background:#fff;
}

/* A white navigation band sits below SketchUp's own window chrome. */
.immersive .app-header {background:#fff;border-bottom-color:var(--line)}
.immersive .breadcrumb {height:100%;border-left:0;color:var(--shell-muted)}
.immersive .breadcrumb strong {position:relative;display:flex;align-items:center;height:100%;color:var(--text)}
.immersive .breadcrumb strong::after {content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--text)}
.immersive .breadcrumb i svg {color:#b8bab9}
.immersive .beta {color:#737a75;background:#f4f6f4;border-color:#e6ebe7;border-radius:3px;letter-spacing:.4px}
.immersive .test-data-entry,.immersive .member-login {background:var(--shell-pill);border:1px solid transparent;border-radius:20px;color:#343a36;padding:6px 12px}
.immersive .test-data-entry:hover,.immersive .member-login:hover {background:#eaeceb}
.immersive .member-status {color:var(--shell-muted)}
.immersive .member-status.is-member {color:var(--text)}
.immersive .member-avatar,.immersive .avatar {background:#f1f3f0}
.immersive .member-message {border-color:var(--shell-border);color:#626964;box-shadow:0 4px 18px #0000000c}

/* The rail tab connects to the settings panel, aligned with the canvas toolbar. */
.immersive .rail {background:#f5f5f5;gap:8px}
.immersive .rail-item {color:#4f5751;border-radius:0;gap:5px}
.immersive .rail-item span {color:#272c28;font-size:12px}
.immersive .rail-item:hover {background:#ededed}
.immersive .rail-item.active {color:#19291e;background:#fff}
.immersive #new-session,.immersive #new-session.active {height:52px;min-height:52px;border-radius:0 0 0 12px}
.immersive #new-session.active svg {color:#087744}
.immersive .settings {background:#fff;box-shadow:inset -1px 0 var(--line)}
.immersive .settings-scroll {padding-top:0}
.immersive .section-heading {height:52px;min-height:52px;margin-bottom:20px}
.immersive .section-heading h1 {font-size:16px;font-weight:600;letter-spacing:0}
.immersive .icon-button {border-radius:50%;color:#69716b}
.immersive .icon-button:hover {background:var(--shell-pill);color:#202822}
.immersive .source-card {border-color:var(--shell-border);border-radius:5px;background:#fafafa}
.immersive .source-tag {color:#626763;border-radius:3px}
.immersive .source-upload {border-color:#cfd3d0;border-radius:6px;background:#fafafa;color:#58635b}
.immersive .source-upload:hover:not(:disabled) {border-color:var(--green);background:#f4faf6;color:var(--green-dark)}
.immersive .source-caption>span {color:var(--shell-muted)}
.immersive .source-remove {border-color:var(--shell-border);color:#5c645e;box-shadow:0 2px 7px #00000018}
.immersive .composition-entry {border-color:transparent;border-radius:24px;background:var(--shell-pill);color:#252d27;padding:12px}
.immersive .composition-entry strong {font-size:13px;font-weight:500}
.immersive .composition-entry span {color:var(--shell-muted)}
.immersive .composition-entry:hover {background:#eaeceb;border-color:transparent}
.immersive.composing .composition-entry {background:#eef7f1;border-color:#b8d9c3;color:#12663a}

/* Thin neutral card outlines; green is reserved for selection and primary actions. */
.immersive .control-group legend,.immersive .supplement-heading h2,.immersive .output-settings h2 {font-size:13px;color:var(--text);font-weight:600}
.immersive .light-choice>span,.immersive .quality-choice>span {border-color:var(--shell-border);border-radius:5px;background:#fff}
.immersive .light-choice strong {font-size:11px;font-weight:400;padding:7px 0}
.immersive .quality-choice strong {font-size:13px;font-weight:500}
.immersive .quality-choice i {color:#647269}
.immersive .quality-choice small {color:var(--shell-muted);font-size:12px}
.immersive .light-choice input:checked+span,.immersive .quality-choice input:checked+span {border-color:var(--green);background:var(--mint);box-shadow:none}
.immersive .light-choice input:checked+span strong {color:var(--green-dark);font-weight:500}
.immersive .quality-choice input:checked+span i {color:var(--green-dark)}
.immersive .supplement-panel {border-color:var(--shell-border);border-radius:8px;background:#fff;box-shadow:none}
.immersive .supplement-panel:focus-within,.immersive .supplement-panel.dragover {border-color:#74b68c;box-shadow:0 0 0 2px #14af640c}
.immersive .supplement-panel.disabled {background:#fafafa}
.immersive .supplement-panel textarea {font-size:13px;color:#303832}
.immersive textarea::placeholder,.immersive .product-search input::placeholder {color:#9a9e9b}
.immersive .supplement-heading>span,.immersive .supplement-actions>span,.immersive .supplement-images figcaption {color:var(--shell-muted)}
.immersive .supplement-add {color:#606a63;border-radius:50%}
.immersive .supplement-images img {border-radius:4px;border-color:var(--shell-border)}
.immersive .output-field legend,.immersive .output-ratio,.immersive .output-size {color:var(--shell-muted)}
.immersive .output-ratio strong {color:#4e5c52}
.immersive .output-choice>span {border-color:var(--shell-border);color:#4e5751;border-radius:6px}
.immersive .output-choice input:checked+span {background:var(--mint);border-color:var(--green);color:var(--green-dark);box-shadow:none}
.immersive .generate-footer {background:#fff;border-top-color:var(--line)}
.immersive .primary {border-radius:6px;box-shadow:none}

/* Canvas toolbars share the library's compact, pale-grey pill controls. */
.immersive .workspace,.immersive .canvas-area,.immersive .canvas-area:has(.editing-caption),.immersive .composition-editor {background:#f2f2f2}
.immersive .canvas-toolbar {border-color:var(--line);background:#fff}
.immersive .canvas-context>strong {font-size:13px;font-weight:500;color:#373f39}
.immersive .canvas-toolbar #canvas-detail {color:var(--shell-muted);font-size:12px}
.immersive .tool-button {color:#555f58;border-radius:18px}
.immersive .tool-button:hover:not(:disabled) {background:var(--shell-pill)}
.immersive .tool-button.download {background:var(--shell-pill);border-color:transparent;color:#3f4a42}
.immersive .tool-button.active,.immersive.focus-view #fullscreen-button {color:var(--green-dark);background:var(--mint)}
.immersive .image-wrap {border-radius:4px;box-shadow:0 3px 16px #00000012}
.immersive .image-wrap>img {border-radius:4px}
.immersive .floating-tools {border-color:#e0e2e0;border-radius:22px;box-shadow:0 2px 10px #0000000d}
.immersive .floating-tools button {border-radius:18px;color:#48554c}
.immersive .floating-tools button.active {background:var(--mint);color:var(--green-dark)}
.immersive .zoom-controls {border-color:#e0e2e0;border-radius:22px;background:#fffffff5;box-shadow:0 2px 10px #0000000d;color:#59635c}
.immersive .zoom-controls button {border-radius:50%;color:#59635c}
.immersive .versions-panel {border-color:var(--line)}
.immersive #toggle-versions {color:#525d55}
.immersive .versions-heading>span,.immersive .versions-heading h2 span,.immersive .version-card small,.immersive .version-empty {color:var(--shell-muted)}
.immersive .version-card img {border-radius:4px}
.immersive .version-card.active img {box-shadow:none}
.immersive .empty-state p {color:var(--shell-muted)}

/* Both right-hand drawers keep their existing size and opening behavior. */
.immersive .product-drawer {background:#fff;box-shadow:inset 1px 0 var(--line)}
.immersive .drawer-header,.immersive .composition-drawer .drawer-header,.immersive .batch-edit-drawer .drawer-header {min-height:52px;padding:12px 20px}
.immersive .drawer-header h2 {font-size:16px;font-weight:600}
.immersive .drawer-description,.immersive .composition-description,.immersive .composition-note,.immersive .composition-custom label,.immersive .composition-zoom-heading,.immersive .composition-options,.immersive .composition-preview-label {color:var(--shell-muted)}
.immersive .composition-ratios button {border-color:var(--shell-border);border-radius:6px;color:#5b645e}
.immersive .composition-ratios button.active {border-color:var(--green);background:var(--mint);color:var(--green-dark);box-shadow:none}
.immersive .composition-ratios button:hover:not(.active) {background:var(--shell-pill)}
.immersive .composition-custom input {border-color:var(--shell-border);border-radius:6px}
.immersive .composition-frame {box-shadow:0 3px 16px #00000014}
.immersive .product-search {background:var(--shell-pill);border-color:transparent;border-radius:20px}
.immersive .product-categories button {border-radius:18px;background:var(--shell-pill);color:#323b35}
.immersive .product-categories button.active {background:#18281e;color:#fff}
.immersive .catalog-caption,.immersive .product-card small,.immersive .product-empty {color:var(--shell-muted)}
.immersive .product-picture {border-color:var(--shell-border);border-radius:4px;background:#fff}
.immersive .product-card.selected .product-picture {border-color:var(--green);background:var(--mint);box-shadow:none}
.immersive .edit-queue {border-color:var(--line)}
.immersive .edit-queue-heading,.immersive .edit-target-label,.immersive .edit-status,.immersive .edit-item-select small {color:var(--shell-muted)}
.immersive .edit-queue-heading>span:first-child {color:#39443c}
.immersive .edit-item {border-color:var(--shell-border);border-radius:6px}
.immersive .edit-item.active {border-color:var(--green);background:var(--mint)}
.immersive .edit-item-select>b {background:#f0f2f0;color:#56615a}
.immersive .edit-item.active .edit-item-select>b {background:var(--green);color:#fff}
.immersive .edit-source-tabs {background:var(--shell-pill);border-radius:20px}
.immersive .edit-source-tabs button {color:#68716b;border-radius:18px}
.immersive .edit-source-tabs button[aria-pressed=true] {background:#fff;color:#28392e;box-shadow:0 1px 4px #0000000b}
.immersive .add-edit-item {border-radius:20px;border-color:var(--shell-border);background:var(--shell-pill);color:#394a3f}
.immersive .add-edit-item:hover:not(:disabled) {background:#eaeceb}

/* Dialogs, loading surface and notices use the same neutral shell palette. */
.immersive .modal {border-radius:10px;box-shadow:0 20px 80px #00000026}
.immersive .modal::backdrop {background:#20262255}
.immersive .modal>.modal-heading+p,.immersive .eyebrow,.immersive .drop-zone>span,.immersive .project-link small {color:var(--shell-muted)}
.immersive .drop-zone {background:#fafafa;border-color:#c9d1cb;border-radius:6px;color:#57695d}
.immersive .drop-zone.dragover {background:var(--mint);border-color:var(--green)}
.immersive .project-link {border-color:var(--shell-border);border-radius:5px}
.immersive .project-link:hover {background:#f7f8f7}
.immersive .toast {top:20px;bottom:auto;left:50%;z-index:1000;border-color:var(--shell-border);border-radius:8px;color:#536057;box-shadow:0 5px 24px #00000014}
.immersive .render-overlay.waiting-overlay {background:#fff}
.immersive .waiting-status h2 {color:#293b2e}
.immersive .waiting-status #elapsed {color:#717c74}
.immersive .guide-lesson {background:#fffffff0;border-color:#e1e4e1;border-radius:10px;box-shadow:none}
.immersive .guide-lesson-header,.immersive .guide-lesson-header .text-button {color:#7b857e}
.immersive :is(.settings-scroll,.composition-drawer-scroll,.edit-detail-scroll,.edit-items,.product-list,.versions) {scrollbar-color:#d4d6d4 transparent}

@media(max-width:580px) {
  .immersive .section-heading {height:52px;min-height:52px}
  .immersive .settings-scroll {padding-top:0}
}
/* END OKDUCKY SHELL VISUAL 2026-09-15 */

/* BEGIN OKDUCKY DARK HEADER 2026-09-15 */
.immersive .app-header {background:#333;border-bottom-color:#333;color:#f5f5f5}
.immersive .app-header .brand img {content:url('/assets/logo-white.svg')}
.immersive .breadcrumb {height:24px;border-left:1px solid #ffffff26;padding-left:20px}
.immersive .breadcrumb strong {font-size:14px;font-weight:500;color:#f5f5f5}
.immersive .breadcrumb strong::after {display:none}
.immersive .app-header .beta {display:inline-flex;align-items:center;margin-left:-7px;padding:1px 5px;border:1px solid #ffffff35;border-radius:3px;background:#ffffff0d;color:#d7e5da;font-size:9px;line-height:14px;letter-spacing:.5px}
.immersive .app-header .test-data-entry,.immersive .app-header .member-login {color:#eee;background:#ffffff12;border-color:#ffffff18}
.immersive .app-header .test-data-entry:hover,.immersive .app-header .member-login:hover {background:#ffffff24}
.immersive .app-header .member-status {color:#cacdcb}
.immersive .app-header .member-status.is-member {color:#f5f5f5}
.immersive .app-header .member-avatar {background:#f1f3f0;box-shadow:0 0 0 1px #ffffff30}
.immersive .app-header .avatar {color:#f0f3ed;background:#ffffff18}
@media(max-width:580px) {
  .immersive .breadcrumb {display:flex;padding-left:8px;border-left:0}
  .immersive .breadcrumb strong {font-size:12px}
}
/* END OKDUCKY DARK HEADER 2026-09-15 */

/* Feather presentation shares the space station's original icons and colors. */
.member-account{position:relative;display:flex;align-items:center;gap:12px;flex:none}
.immersive .app-header{position:relative;z-index:30}
.member-status{border:0;background:transparent;border-radius:6px;min-height:34px}
#member-label{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-status:disabled{opacity:1;cursor:default}
.member-feather-balance:hover,.member-feather-balance[aria-expanded="true"]{background:#ffffff12}
.member-feather-balance:focus-visible{outline:2px solid #4dd87c;outline-offset:3px}
.member-card{position:absolute;top:calc(100% + 12px);right:0;width:344px;max-width:calc(100vw - 24px);max-height:calc(100vh - 72px);overflow-y:auto;padding:18px;border:1px solid #ecebed;border-radius:16px;background:#fff;color:#1d2521;box-shadow:0 6px 28px #17152226;outline:none}
.member-card[hidden]{display:none}
.member-card-summary{display:flex;align-items:center;gap:12px;min-width:0}
.member-card-avatar{display:block;flex:none;width:44px;height:44px;object-fit:cover;border-radius:50%;background:#f1f3f0}
.member-card-identity{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.member-card-identity>strong{display:block;font-size:16px;font-weight:600;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-card-membership{display:flex;align-items:center;gap:4px;font-size:12px;line-height:18px;color:#686c69;white-space:nowrap}
.member-card-membership img{display:block;flex:none;width:16px;height:16px;object-fit:contain}
.member-card-membership img[hidden]{display:none}
.member-feather-balance{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;min-width:70px;padding:3px 10px;background:transparent;color:inherit;font-size:14px;line-height:24px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.member-feather-balance>.member-feather-icon{display:block;width:24px;height:24px;object-fit:contain}
.member-feather-balance>.member-face{margin-left:9px}
.member-feather-breakdown{margin:12px 0 0;padding:7px 0;border-top:1px solid #eeefee;border-bottom:1px solid #eeefee}
.member-feather-row[hidden]{display:none}
.member-feather-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;padding:4px 0}
.member-feather-row dt{display:flex;align-items:center;gap:6px;font-size:12px;color:#59665e}
.member-feather-row img{display:block;flex:none;width:20px;height:20px;object-fit:contain}
.member-feather-row dd{margin:0;font-size:14px;line-height:20px;font-weight:600;font-variant-numeric:tabular-nums}
.member-feather-row-green dd{color:#218d56}.member-feather-row-purple dd{color:#59408b}
.member-feather-row-green>dd:first-of-type{font-size:12px;white-space:nowrap}
.member-feather-row .member-feather-info{grid-column:1 / -1;position:relative;min-width:0;font-size:10px;line-height:15px;font-weight:400;color:#7b857e}
.member-feather-detail-text{display:block;width:100%;white-space:nowrap;overflow:hidden}
.member-feather-detail-text.is-collapsed{visibility:hidden}
.member-feather-help{position:absolute;top:0;left:0;width:15px;height:15px;padding:0;border:1px solid #b9c4bd;border-radius:50%;background:transparent;color:#667169;font:inherit;line-height:13px;cursor:help}
.member-feather-help:focus-visible::after{content:attr(aria-label);position:absolute;z-index:1;top:18px;left:0;width:220px;padding:5px 7px;background:#fff;border:1px solid #dce3de;border-radius:4px;text-align:left;line-height:16px;box-shadow:0 2px 8px #1715221a}
.member-feather-info [hidden]{display:none}
.member-feather-purple-actions{display:flex;align-items:center;gap:8px}
.member-feather-recharge{padding:2px 9px;border:1px solid #d9cee9;border-radius:4px;color:#59408b;font-size:12px;line-height:20px;white-space:nowrap}
.member-feather-recharge:hover{background:#f5f0fc}
.member-feather-history{margin-top:11px}
.member-feather-history-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}
.member-feather-history h3{margin:0;font-size:12px;line-height:18px;font-weight:600;color:#59665e}
.member-feather-history p{margin:8px 0;font-size:11px;line-height:18px;color:#7b857e}
.member-feather-history table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:10px;line-height:15px;color:#59665e}
.member-feather-history th{padding:3px 0 5px;text-align:left;font-weight:400;color:#929a94}
.member-feather-history td{padding:6px 0;border-top:1px solid #f0f2f0;vertical-align:middle}
.member-feather-history th:first-child{width:69px}.member-feather-history th:last-child{width:92px}
.member-feather-history th:last-child,.member-feather-history td:last-child{text-align:right}
.member-feather-history td:first-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.member-feather-history td:nth-child(2){padding-right:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-feather-history td:last-child{font-weight:600;font-variant-numeric:tabular-nums;color:#435447;white-space:nowrap}
.member-feather-history-change{display:inline-flex;align-items:center;gap:2px;vertical-align:middle}
.member-feather-history-change+.member-feather-history-change{margin-left:5px}
.member-feather-history-change img{display:block;width:12px;height:12px;object-fit:contain}
.member-feather-history [hidden]{display:none}
.member-feather-details{display:inline-flex;align-items:center;gap:2px;color:#667169;font-size:10px;line-height:18px;white-space:nowrap}
.member-feather-details:hover{color:#087744}.member-feather-details svg{width:12px;height:12px}

.primary.feather-render-button{gap:10px;white-space:nowrap}
.generate-footer .primary.feather-render-button>i:first-child{margin-right:0}
.primary.feather-render-button>.render-action-label{flex:0 1 auto}
.primary.feather-render-button>.render-feather-cost{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:4px;padding-left:10px;border-left:1px solid #133e2526;font-size:13px;line-height:20px;font-weight:600;font-variant-numeric:tabular-nums}
.primary.feather-render-button>.render-feather-cost[hidden]{display:none}
.render-feather-cost img{display:block;flex:none;width:20px;height:20px;object-fit:contain}
.render-feather-cost img[hidden],.render-feather-cost .render-feather-unit[hidden]{display:none}
.render-feather-unit{font-size:11px;font-weight:400}
.render-feather-part{display:inline-flex;align-items:center;gap:2px;flex:none}
.render-feather-plus{font-size:11px;font-weight:400;opacity:.7}
.feather-preview-note{margin:0 0 8px;text-align:center;font-size:11px;line-height:16px;color:#879188}
.feather-preview-note[hidden]{display:none}
.render-feather-cost>.render-feather-amount{flex:none}
@media(max-width:580px){
  .member-account{gap:7px}
  .member-feather-balance{gap:4px;min-width:60px;padding-inline:7px;font-size:12px}
  .member-feather-balance>.member-feather-icon{width:21px;height:21px}
  .member-card{position:fixed;top:50px;right:12px;padding:18px;width:332px}
  .member-card-summary{gap:9px}
}

/* Independent bottom action bar: only the settings above it can scroll. */
.immersive .settings{min-height:0}
.immersive .settings-scroll{
  flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto;
  padding-bottom:24px;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:auto;
}
.immersive .settings-scroll::-webkit-scrollbar{width:6px;height:6px}
.immersive .settings-scroll::-webkit-scrollbar-track{background:transparent;margin-block:8px}
.immersive .settings-scroll::-webkit-scrollbar-thumb{background:#d6dad7;border-radius:6px}
.immersive .settings-scroll::-webkit-scrollbar-thumb:hover{background:#b8c0ba}
.immersive .settings-scroll::-webkit-scrollbar-button{display:none;width:0;height:0}
.immersive .generate-footer{
  position:relative;z-index:1;flex:0 0 auto;margin-top:auto;
  overflow:visible;scrollbar-gutter:auto;padding-block:16px 18px;
  padding-inline-end:calc(var(--settings-content-inset,20px) + var(--settings-scrollbar-width,6px));
  background:#fff;border-top:1px solid #e9ece9;box-shadow:0 -6px 16px #24372c06;
}
.immersive .generate-footer .primary{height:44px}

/* SU export stays inside the existing canvas, before a render can start. */
.su-import-state{position:absolute;inset:0;z-index:12;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#f3f4f3;color:#24372c;text-align:center;padding:24px}
.render-service-note{margin:0 0 8px;font-size:12px;line-height:1.5;color:#80653f}.render-service-note[hidden]{display:none}
.su-import-state[hidden],.su-preparation-note[hidden]{display:none}
.su-import-state strong{font-size:20px}.su-import-state p{font-size:13px;color:#728077;max-width:480px;line-height:1.8;margin:0}
.su-import-heading{display:flex;align-items:baseline;justify-content:center;gap:8px;white-space:nowrap}
.su-import-elapsed{min-width:3ch;color:#728077;font-size:16px;line-height:24px;font-variant-numeric:tabular-nums;text-align:left}
.su-import-state .primary{width:auto;margin-top:8px;padding:10px 24px}.su-import-spinner{width:28px;height:28px;border:2px solid #dbe5de;border-top-color:#16aa69;border-radius:50%;animation:su-import-spin 1s linear infinite}
.su-import-state.has-error .su-import-spinner{display:none}.su-preparation-note{position:absolute;left:16px;right:16px;top:12px;z-index:10;padding:10px 14px;background:#fff7eb;border:1px solid #ead9bd;border-radius:6px;color:#80653f;font-size:12px;line-height:1.6;pointer-events:none;margin:0}
@keyframes su-import-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.su-import-spinner{animation:none}}

/* Give the navigation labels breathing room without changing panel behaviour. */
.immersive .rail{width:68px;padding-inline:0}
.immersive .rail-item{width:64px;padding-inline:8px}
.immersive #new-session,.immersive #new-session.active{width:68px;padding-inline:8px}
#manual-details[hidden]{display:none}
@media(min-width:581px) and (max-width:900px){.immersive .settings{left:68px}}
@media(max-width:580px){
  .immersive .settings,.immersive.composing .settings{left:68px;--settings-width:min(285px,calc(100vw - 68px))}
  .immersive.composing .composition-drawer{left:68px}
}

/* Fill available drawer space; the catalogue owns scrolling above the fixed footer. */
.batch-edit-drawer .edit-detail-scroll.catalog-open{display:flex;flex-direction:column;overflow:hidden;min-height:0}
.batch-edit-drawer .edit-detail-scroll.catalog-open>*{flex-shrink:0}
.batch-edit-drawer .edit-detail-scroll.catalog-open #edit-catalog{display:flex;flex-direction:column;flex:1;min-height:0}
.batch-edit-drawer .edit-detail-scroll.catalog-open .product-list{flex:1;min-height:0;max-height:none;overflow-y:auto}
.batch-edit-drawer .edit-status:empty{display:none}

/* Centre the upload symbol geometrically, independent of CJK font baselines. */
.supplement-add{display:inline-flex;align-items:center;justify-content:center;padding:0}
.supplement-add>svg{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.direction-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.direction-choices label{position:relative;cursor:pointer}
.direction-choices input{position:absolute;opacity:0;width:1px;height:1px}
.direction-choices span{display:block;text-align:center;padding:11px 8px;border:1px solid #dcdedc;border-radius:7px;font-size:12px;color:#46544d;background:#fff}
.direction-choices input:checked+span{color:#07844a;border-color:#0cbc6c;background:#effaf3}
.direction-choices input:focus-visible+span{outline:2px solid #087b4a;outline-offset:2px}
.direction-choices input:disabled+span{opacity:.55;cursor:default}
.regular-input-note{font-size:11px;line-height:1.6;color:#78847c;margin:8px 0 0}

.primary.feather-render-button>.render-action-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:18px}
.render-action-copy>.render-time-estimate{font-size:10px;font-weight:400;line-height:12px;opacity:.8}
.render-action-copy>.render-time-estimate[hidden]{display:none}

.member-card{position:fixed}
.member-status{cursor:default}
.member-feather-balance{border:0;border-radius:6px;cursor:pointer}
.member-feather-balance[hidden]{display:none}
.analytics-test-controls{position:fixed;top:8px;left:50%;z-index:1000;max-width:min(420px,calc(100vw - 220px));padding:6px 9px;border:1px solid #ded8ea;border-radius:8px;background:#fff;box-shadow:0 3px 16px #0002;font-size:12px;display:flex;gap:8px;align-items:center;transform:translateX(-50%)}.analytics-test-controls button{border:0;border-radius:5px;background:#eee8f8;color:#514070;padding:5px 9px;cursor:pointer;white-space:nowrap}

/* UI handoff 2026-09-24: presentation only, original state selectors retained. */
:root{--green:#159b51;--green-dark:#16703e;--green-bright:#4dd87c;--mint:#eef8f0;--text:#242825;--secondary:#778079;--line:#e6e9e6;--shell-border:#e1e6e1;--shell-muted:#737c75}
.immersive{background:#f5f7f5}
.immersive .app-header{background:#292d2a;border-bottom:1px solid #393e3a}
.immersive .breadcrumb strong{font-weight:600;letter-spacing:.6px}
.immersive .rail{background:#fff;padding-top:18px;border-color:var(--line)}
.immersive .rail-item{border-radius:14px;gap:8px}
.immersive .rail-item.active{background:var(--mint);color:var(--green-dark)}
.immersive .rail-item:hover{background:#f0f6f1}
.immersive .settings{background:#fff;box-shadow:inset -1px 0 var(--line)}
.immersive .settings-scroll{padding-top:8px;padding-bottom:24px;min-height:0;overscroll-behavior:contain}
.immersive .section-heading{margin-bottom:16px;min-height:48px}
.immersive .section-heading h1{font-size:18px;letter-spacing:.3px}
.immersive .source-card{border-radius:12px}
.immersive .composition-entry,.immersive .source-upload{border-radius:10px;border-color:var(--shell-border)}

/* Right tool panels follow the 2026-09-24 composition and local-edit specs. */
.immersive{
  --drawer-width:clamp(356px,22vw,430px);
  --drawer-pad:28px;
  --drawer-green:#43d77b;
  --drawer-mint:#eefbf3;
  --drawer-soft:#f4f5f4;
  --drawer-muted:#a3a7a4;
  --drawer-line:#e1e4e2;
}
.immersive .product-drawer{background:#fff;border-left:1px solid #eceeec}
.immersive .product-drawer .drawer-header{
  height:auto;min-height:84px;padding:27px var(--drawer-pad) 15px;align-items:flex-start
}
.immersive .product-drawer .drawer-header h2{
  margin:0;font-size:24px;line-height:32px;font-weight:650;letter-spacing:-.02em;color:#111512
}
.immersive .product-drawer .drawer-header .icon-button{
  width:32px;height:32px;margin:0 -5px 0 auto;color:#b6bab7;border-radius:8px
}
.immersive .product-drawer .drawer-header .icon-button:hover{background:#f3f4f3;color:#727873}
.immersive .product-drawer .drawer-header .icon-button svg{width:25px;height:25px;stroke-width:2.4}

.immersive .composition-drawer-scroll{padding:0 var(--drawer-pad) 28px}
.composition-drawer .composition-description{
  margin:0 0 28px;font-size:15px;line-height:1.55;color:#b0b3b1
}
.composition-drawer .composition-ratios{margin:0 0 30px}
.composition-drawer .composition-ratios legend{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0
}
.composition-drawer .composition-ratios>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.immersive .composition-ratios button{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;
  min-width:0;height:104px;padding:18px 5px 15px;border:1px solid var(--drawer-line);border-radius:17px;
  background:#fff;color:#858995;font-size:15px;line-height:20px;box-shadow:none
}
.immersive .composition-ratios button::before{
  content:"";display:block;width:36px;height:27px;margin:auto;border:1.5px solid currentColor;background:#fff
}
.immersive .composition-ratios button[data-ratio="original"]::before{display:none}
.immersive .composition-ratios button[data-ratio="1:1"]::before{width:29px;height:29px}
.immersive .composition-ratios button[data-ratio="4:3"]::before{width:36px;height:27px}
.immersive .composition-ratios button[data-ratio="3:2"]::before{width:39px;height:26px}
.immersive .composition-ratios button[data-ratio="16:9"]::before{width:42px;height:24px}
.immersive .composition-ratios button[data-ratio="21:9"]::before{width:44px;height:19px}
.immersive .composition-ratios button[data-ratio="3:4"]::before{width:27px;height:36px}
.immersive .composition-ratios button[data-ratio="2:3"]::before{width:25px;height:37px}
.immersive .composition-ratios button[data-ratio="9:16"]::before{width:21px;height:38px}
.immersive .composition-ratios button[data-ratio="original"]{justify-content:center;font-weight:650;color:#141714}
.immersive .composition-ratios button.active{
  border:2px solid var(--drawer-green);padding:17px 4px 14px;background:var(--drawer-mint);color:#141714;box-shadow:none
}
.immersive .composition-ratios button:hover:not(.active){border-color:#cdd3cf;background:#fafbfa;color:#545b56}
.composition-drawer .composition-custom{
  padding:12px 14px;margin:0 0 30px;border-radius:12px;background:#f6f7f6;align-items:flex-end
}
.composition-drawer .composition-custom label{color:#818783}
.composition-drawer .composition-custom input{height:34px;border-color:#e0e3e1;background:#fff}
.composition-drawer .composition-custom .tool-button{height:34px;background:#fff;border:1px solid #dfe3e0;border-radius:8px}
.composition-drawer .composition-zoom-heading{font-size:15px;color:#333834}
.composition-drawer .composition-zoom-heading output{font-size:15px;color:#969aa6}
.composition-drawer #composition-zoom{height:5px;margin:18px 0 30px;accent-color:var(--drawer-green)}
.composition-drawer .composition-options{font-size:15px;color:#313632}
.composition-drawer .composition-options label{gap:8px}
.composition-drawer .composition-options input{width:20px;height:20px;accent-color:var(--drawer-green)}
.composition-drawer .composition-options .text-button{font-size:15px;color:#969aa6}
.immersive .composition-drawer>.composition-actions{
  display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:24px max(var(--drawer-pad),44px) 28px;
  border-top:1px solid #eff0ef;box-shadow:0 -7px 18px #19261d0a;background:#fff
}
.immersive .composition-drawer>.composition-actions button{width:100%;height:46px;border:0;border-radius:999px;font-size:16px;font-weight:500;display:flex;align-items:center;justify-content:center;text-align:center}
.immersive .composition-drawer>.composition-actions .primary{
  order:1;background:linear-gradient(180deg,#9af5bd,#5ee48e);color:#101411;box-shadow:0 7px 15px #31c96a22
}
.immersive .composition-drawer>.composition-actions .tool-button{order:2;background:#f0f1f0;color:#8d918e}

.immersive .batch-edit-drawer .drawer-header{padding-bottom:25px}
.batch-edit-drawer .edit-detail-scroll{padding:0 var(--drawer-pad) 14px}
.batch-edit-drawer .edit-active-heading h3{font-size:18px;line-height:26px;font-weight:650;color:#171b18}
.batch-edit-drawer .edit-active-heading .text-button{font-size:12px;color:#40825a}
.batch-edit-drawer .edit-target-label{margin:7px 0 18px;font-size:14px;line-height:22px;color:#b0b3b1}
.batch-edit-drawer .edit-source-tabs{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;margin:0 0 40px;border:1px solid #dee2df;border-radius:20px;background:#f5f6f5;overflow:hidden
}
.batch-edit-drawer .edit-source-tabs button{
  min-width:0;height:42px;padding:0 4px;border-radius:0;color:#363b38;font-size:12px;white-space:nowrap
}
.batch-edit-drawer .edit-source-tabs button[aria-pressed=true]{background:#49d77d;color:#214c31;box-shadow:none}
.batch-edit-drawer .edit-detail-scroll.catalog-open #edit-catalog{display:block;overflow-y:auto;min-height:0;padding:0 2px 18px;scrollbar-width:thin;scrollbar-color:#c8ccca transparent}
.batch-edit-drawer .catalog-caption{margin:0 0 12px;font-size:15px;line-height:22px;color:#b0b3b1}
.batch-edit-drawer .product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:18px;overflow:visible;max-height:none;min-height:0;scrollbar-width:thin;scrollbar-color:#c8ccca transparent}
.batch-edit-drawer .edit-detail-scroll.catalog-open #edit-catalog .product-list{flex:none;max-height:none;overflow:visible}
.immersive .batch-edit-drawer .product-picture{
  height:auto;aspect-ratio:1.12;border:1px solid var(--drawer-line);border-radius:12px;background:#fff
}
.batch-edit-drawer .product-card{gap:7px}
.batch-edit-drawer .product-card strong{
  display:block;font-size:15px;line-height:20px;font-weight:500;color:#282d29;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.batch-edit-drawer .product-card small{font-size:12px;line-height:16px;color:#626863}
.batch-edit-drawer .product-card.selected .product-picture,
.batch-edit-drawer .product-card[aria-pressed=true] .product-picture{
  border:2px solid var(--drawer-green);background:var(--drawer-mint);box-shadow:none
}
.batch-edit-drawer .selected-product{font-size:12px;color:#4d6254}
.batch-edit-drawer #manual-details{margin-top:14px}
.batch-edit-drawer .edit-input-panel{border:1px solid var(--drawer-line);border-radius:12px;background:#fff}
.batch-edit-drawer .edit-input-panel textarea{min-height:104px;font-size:14px;line-height:1.6}
.batch-edit-drawer .edit-status{color:#969c98}
.immersive .batch-edit-drawer .drawer-footer{
  padding:22px var(--drawer-pad) 28px;border-top:1px solid #eff0ef;background:#fff;box-shadow:0 -7px 18px #19261d0a
}
.immersive .batch-edit-drawer .drawer-footer .primary{
  height:52px;margin:0;border-radius:999px;background:linear-gradient(180deg,#9af5bd,#5ee48e);color:#101411;
  font-size:17px;font-weight:600;box-shadow:0 7px 15px #31c96a22
}
.immersive .batch-edit-drawer .drawer-footer .primary:disabled{background:#b8f0cc;color:#71a983;box-shadow:none}
.immersive .batch-edit-drawer .drawer-footer .primary svg{width:20px;height:20px}
.immersive .batch-edit-drawer .add-edit-item{display:none!important}

@media(max-width:1100px){
  .immersive{--drawer-width:340px;--drawer-pad:22px}
  .immersive .composition-ratios button{height:94px}
  .immersive .product-drawer .drawer-header h2{font-size:21px}
}
@media(max-width:580px){
  .immersive{--drawer-pad:18px}
  .immersive .product-drawer .drawer-header{min-height:66px;padding:18px var(--drawer-pad) 10px}
  .immersive .product-drawer .drawer-header h2{font-size:19px;line-height:28px}
  .composition-drawer .composition-description{font-size:13px;margin-bottom:18px}
  .composition-drawer .composition-ratios>div{gap:8px}
  .immersive .composition-ratios button{height:82px;border-radius:13px;font-size:13px;padding:12px 3px 10px}
  .immersive .composition-ratios button.active{padding:11px 2px 9px}
  .composition-drawer .composition-custom{margin-bottom:20px}
  .immersive .composition-drawer>.composition-actions{padding:12px 22px 16px;grid-template-columns:1fr 1fr}
  .immersive .composition-drawer>.composition-actions .primary{order:2}.immersive .composition-drawer>.composition-actions .tool-button{order:1}
  .immersive .batch-edit-drawer .drawer-footer{padding:12px 18px 16px}
}
.immersive .control-group{margin-top:24px}
.immersive .control-group legend{margin-bottom:12px;font-size:13px;letter-spacing:.2px}
.immersive .settings .quality-choice>span{padding:14px 12px 12px;min-height:132px;border-radius:16px;background:#fff;border:1px solid #dfe5df;align-items:center;text-align:center;gap:2px}
.immersive .quality-choice .mode-illustration{width:58px;height:58px;object-fit:contain;display:block;margin-bottom:5px}
.immersive .quality-choice strong{font-size:13px;font-weight:650;letter-spacing:.8px}
.immersive .settings .quality-choice small{font-size:11px;line-height:18px;margin:0;color:#647067}
.immersive .quality-choice input:checked+span{border-color:#4dd87c;background:#eef8f0;box-shadow:inset 0 0 0 1px #4dd87c}
.immersive .quality-check{top:9px;right:9px}
.immersive .direction-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.immersive .direction-choices label{min-width:0;cursor:pointer}
.immersive .direction-choices label>span{padding:0;display:grid;place-items:center;border:1px solid #dfe5df;border-radius:15px;background:#fff;min-height:58px;overflow:hidden}
.immersive .direction-choices img{display:block;width:100%;height:auto}
.immersive .direction-choices input:checked+span{background:#eef8f0;border-color:#4dd87c;box-shadow:inset 0 0 0 1px #4dd87c}
.immersive .direction-choices input:focus-visible+span{outline:2px solid var(--green);outline-offset:3px}
.immersive .direction-choices input:disabled+span{opacity:.45}
.immersive .light-choice>span{border-radius:10px}
.immersive .supplement-panel{border:1px solid var(--shell-border);border-radius:12px;background:#fafcf9;box-shadow:none}
.immersive .supplement-panel:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #4dd87c18;background:#fff}
.immersive textarea{line-height:1.8}
.immersive textarea::placeholder{color:#929a94}
.immersive .output-choice>span{border-radius:9px}
.immersive .generate-footer{flex-shrink:0;background:#fff;border-top:1px solid var(--line);padding-block:14px}
.immersive .primary{border-radius:11px;background:#4dd87c;color:#163a22;font-weight:600;box-shadow:none}
.immersive .primary:hover:not(:disabled){background:#3bc96c;box-shadow:0 4px 12px #24914c1a}
.immersive .primary:disabled{opacity:.48;box-shadow:none}
.immersive .canvas-area{background:#eef1ed}
.immersive .canvas-toolbar{background:#ffffffed;border-bottom:1px solid var(--line)}
.immersive .tool-button,.immersive .icon-button{border-radius:9px}
.immersive .tool-button:hover:not(:disabled),.immersive .icon-button:hover{background:#eef5ef}
.immersive .zoom-controls,.immersive .floating-tools{border-radius:12px;border-color:var(--shell-border);box-shadow:0 6px 22px #233c2610;background:#ffffffed}
.immersive .product-drawer{background:#fff;box-shadow:-6px 0 24px #233c260a}
.immersive .drawer-header{border-bottom:1px solid var(--line);min-height:64px}
.immersive .edit-detail-scroll{overscroll-behavior:contain}
.immersive .edit-source-tabs{border-radius:10px;background:#f1f4f0;padding:4px;gap:3px}
.immersive .edit-source-tabs button{border-radius:7px}
.immersive .edit-source-tabs button[aria-pressed="true"]{background:#fff;color:var(--green-dark);box-shadow:0 1px 4px #203d2212}
.immersive .product-card{border-radius:12px;border-color:var(--shell-border);overflow:hidden;min-height:max-content}
.immersive .product-list{grid-auto-rows:max-content}
.immersive .modal,.immersive .member-card{border-radius:18px;border:1px solid var(--shell-border);box-shadow:0 20px 70px #13261726;max-height:calc(100dvh - 40px);overflow:auto}
.immersive .modal::backdrop{background:#19261f66;backdrop-filter:blur(3px)}
.immersive .drop-zone{border-radius:14px;background:#f5faf4;border-color:#b7d6bb}
.immersive .project-card{border-radius:14px;overflow:hidden;border-color:var(--shell-border)}
.immersive .versions-panel{background:#fff;border-color:var(--line)}
.immersive .canvas-error{border-radius:12px}
@media(max-height:800px){.immersive .settings-scroll{padding-top:0}.immersive .section-heading{min-height:40px;margin-bottom:10px}.immersive .control-group{margin-top:20px}.immersive .generate-footer{padding-block:10px}}
@media(prefers-reduced-motion:reduce){.immersive *, .immersive *::before,.immersive *::after{scroll-behavior:auto!important;transition:none!important}}
.immersive .direction-choices label>span{padding:3px 0 6px;gap:0}.immersive .direction-choices strong{font-size:10px;font-weight:400;line-height:16px}.immersive .direction-choices input:checked+span strong{font-weight:600}

/* Full-page reference supplied 2026-09-24. Preserve the existing functional controls. */
.immersive{--settings-width:clamp(300px,17.5vw,360px);--reference-rail:80px;font-size:14px}
.immersive .app-header{height:60px;padding:0 24px;background:#333;border:0}
.immersive .app-body{height:calc(100vh - 60px);height:calc(100dvh - 60px)}
.immersive .brand{width:170px}.immersive .brand img{width:155px;height:auto}
.immersive .breadcrumb strong{font-size:16px}.immersive .rail{width:var(--reference-rail);background:#f5f5f5;padding-top:0;border:0}
.immersive .rail-item{width:100%;height:76px;border-radius:0;font-size:13px;gap:8px}
.immersive .rail-item.active{background:#fff;color:#246c4b}
.immersive .settings,.immersive.composing .settings{left:var(--reference-rail);--settings-width:clamp(300px,17.5vw,360px);width:var(--settings-width)}
.immersive .settings-scroll,.immersive .generate-footer{padding-inline:22px}
.immersive .settings-scroll{padding-top:12px;padding-bottom:26px}
.immersive .section-heading{min-height:38px;margin:0 0 9px}.immersive .section-heading h1{font-size:20px;font-weight:650}
.immersive .source-preview{position:relative}.immersive .settings .source-card{height:auto;aspect-ratio:4/3;border-radius:20px}
.immersive .source-tag{top:14px;left:16px;padding:4px 9px;border-radius:4px;font-size:10px}
.immersive .source-caption{display:none!important}.immersive .composition-section{display:none}
.immersive .reference-source-actions{position:absolute;bottom:16px;left:12px;right:12px;display:flex;justify-content:center;gap:10px}
.immersive .reference-source-actions button{background:#effaf2;color:#354c3e;border:1px solid #d9e7dc;border-radius:24px;min-height:32px;padding:5px 13px;white-space:nowrap;font-size:12px;width:auto;margin:0}
.immersive .reference-source-actions button:hover:not(:disabled){background:#d8f8e2}
.immersive .control-group{margin-top:30px}.immersive .control-group legend{font-size:18px;font-weight:600;margin-bottom:14px}
.immersive .quality-choices{gap:12px}
.immersive .settings .quality-choice>span{min-height:170px;border:1px solid #cfd3d0;border-radius:20px;padding:22px 10px 18px;justify-content:center;gap:1px}
.immersive .quality-choice .mode-illustration{width:72px;height:72px;margin-bottom:12px}
.immersive .settings .quality-choice strong{font-size:14px;font-weight:750;letter-spacing:0}
.immersive .settings .quality-choice small{font-size:14px;color:#333;line-height:22px}
.immersive .quality-choice input:checked+span{border:3px solid #4dd87c;box-shadow:0 3px 4px #253d2514;background:#eef8f0;padding:20px 8px 16px}
.immersive .quality-check{top:11px;right:12px}
.immersive #regular-lighting-group{margin-top:44px}
.immersive .direction-choices{gap:10px}
.immersive .direction-choices label>span{border-radius:18px;padding:2px 0 5px;border-color:#cfd3d0;box-shadow:0 2px 3px #00000013;min-height:64px}
.immersive .direction-choices strong{font-size:12px;line-height:18px}
.immersive .direction-choices input:checked+span{border:2px solid #4dd87c;box-shadow:0 2px 3px #00000013;padding:1px 0 4px}
.immersive .supplement-section{margin-top:60px}.immersive .supplement-heading h2,.immersive .output-settings h2{font-size:18px}
.immersive .supplement-panel{background:#fff;border-radius:12px}.immersive .supplement-heading{margin-bottom:12px}
.immersive .generate-footer{padding-top:14px;padding-bottom:18px}
.immersive #render-button{border-radius:32px;min-height:54px;background:linear-gradient(180deg,#b1f8ca,#53d986);color:#123d26;box-shadow:0 3px 5px #27553215;font-size:18px}
.immersive #render-button .render-action-label{font-size:18px;font-weight:700}.immersive #render-button .render-time-estimate{font-size:10px}
.immersive #render-button .render-feather-amount{font-size:21px}.immersive #render-button .render-feather-cost{border-left:1px solid #51b87a;padding-left:15px}
.immersive .canvas-toolbar{min-height:60px;height:auto;padding:10px 20px;gap:12px;flex-wrap:wrap;flex:none;background:#fff}
.immersive .canvas-context{font-size:14px;white-space:nowrap}.immersive .toolbar-actions{gap:4px;flex-wrap:wrap;justify-content:flex-end}
.immersive .canvas-toolbar .tool-button{font-size:12px;padding:6px 10px;border:0;border-right:1px solid #eee;border-radius:0;background:transparent;white-space:nowrap}
.immersive .canvas-toolbar .zoom-controls{position:static;display:flex;transform:none;box-shadow:none;border:0;background:transparent;padding:0;margin:0;gap:0;height:32px}
.immersive .zoom-controls button{height:30px;font-size:12px}.immersive .zoom-controls output{font-size:12px;min-width:40px}
.immersive .workspace,.immersive .canvas-area{background:#f2f2f2}
.immersive .reference-action-dock{position:absolute!important;top:auto!important;bottom:4px!important;left:calc((100% - var(--canvas-occlusion,0px))/2)!important;transform:translateX(-50%)!important;display:flex;align-items:center;gap:0;padding:0;border:1px solid #b0efc4;border-radius:10px;background:linear-gradient(#b5faca,#5cdf8a);box-shadow:0 3px 6px #244d2d20;z-index:8;width:max-content;height:40px}
.immersive .reference-action-dock #floating-tools{position:static!important;transform:none!important;border:0;background:none;box-shadow:none;padding:0;margin:0;display:flex;gap:0;height:38px;width:auto}
.immersive .reference-action-dock button,.immersive .reference-action-dock #open-composition{min-height:38px;height:38px;margin:0;border:0;border-radius:0;border-right:1px solid #ecfff1;background:transparent;color:#275e3b;font-size:12px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;width:auto}
.immersive .reference-action-dock button:hover:not(:disabled){background:#ffffff30}
.immersive .reference-action-dock #download-button{border-right:0}.immersive .reference-action-dock #download-button span{display:none}
.immersive .reference-action-dock #composition-summary,.immersive .reference-action-dock #open-composition>i:last-child,.immersive .reference-action-dock .tool-separator{display:none}
.immersive .versions-panel{border-color:#eee}.immersive .versions-heading{min-height:42px}
@media(max-width:1500px){.immersive{--settings-width:300px}.immersive .settings,.immersive.composing .settings{--settings-width:300px}.immersive .settings-scroll,.immersive .generate-footer{padding-inline:18px}.immersive .canvas-toolbar{padding:8px 12px;gap:4px}.immersive .canvas-toolbar .tool-button{padding:5px 7px;font-size:11px}.immersive .quality-choice .mode-illustration{width:64px;height:64px}.immersive .settings .quality-choice>span{min-height:154px}.immersive .supplement-section{margin-top:36px}.immersive .direction-choices{gap:7px}}
@media(max-width:900px){.immersive .settings,.immersive.composing .settings{--settings-width:285px}.immersive .canvas-toolbar{justify-content:flex-end}.immersive .canvas-context{margin-right:auto}.immersive .toolbar-actions{gap:0}.immersive .reference-action-dock button{padding-inline:9px}}
.immersive.focus-view .app-body{height:100vh;height:100dvh}
.immersive #render-button .render-feather-cost{gap:5px;align-items:center}.immersive #render-button .render-feather-cost img{display:block;width:28px;height:28px;object-fit:contain;flex:none}.immersive #render-button .render-feather-amount{font-size:20px;font-weight:500}.immersive .member-feather-balance>.member-feather-icon{width:24px;height:24px}.immersive .member-feather-balance{font-size:14px;gap:5px}.immersive .member-feather-balance:disabled{opacity:1;cursor:default}

/* Persistent source controls and rendering-standard hover explanation. */
.immersive #source-preview{aspect-ratio:4/3;width:100%;border-radius:20px;overflow:hidden;background:#f0f2ef;position:relative}
.immersive .settings #source-card{width:100%;height:100%;aspect-ratio:4/3;border:0;border-radius:20px}
.immersive #source-image{width:100%;height:100%;object-fit:cover}
.immersive .reference-source-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding-bottom:35px;color:#929b94;font-size:12px;border:1px dashed #cdd6ce;border-radius:20px}
.immersive .reference-source-empty svg{width:30px;height:30px}
.immersive #source-preview:has(#source-card:not([hidden])) .reference-source-empty{display:none}
.immersive #source-preview .source-hover{display:none}
.immersive #source-preview::after{content:'';position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;transition:opacity .18s}
.immersive #source-preview:has(#source-card:not([hidden])):is(:hover,:focus-within)::after{opacity:.32}
.immersive #source-preview .source-tag{z-index:1}.immersive #source-preview .source-remove{z-index:3}
.immersive .reference-source-actions{z-index:2;left:12px;right:12px;bottom:16px;gap:9px}
.immersive .reference-source-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:5px 8px;font-size:12px;min-width:0;max-width:124px;background:#effaf2}
.immersive .reference-source-actions svg{width:16px;height:16px}
.immersive .reference-source-actions button:disabled{opacity:.6}
.immersive #source-upload{display:none}
.immersive #render-standard-group{position:relative}
.immersive #render-standard-group legend{display:flex;align-items:center;gap:6px}
.immersive #render-standard-help{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin:0;padding:3px;color:#929994}
.immersive #render-standard-help svg{width:15px;height:15px}
.immersive #render-standard-group .quality-choices{position:relative}
.immersive .render-standard-description{position:absolute;inset:0;z-index:5;display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#161916e8;color:#fff;border-radius:20px;text-align:center;padding:16px 5px;gap:12px;cursor:default}
.immersive .render-standard-description::before{content:'';position:absolute;top:-10px;left:90px;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:11px solid #161916e8}
.immersive .render-standard-description strong,.immersive .render-standard-description b{display:block;font-size:13px;line-height:22px;font-weight:600}
.immersive .render-standard-description p{font-size:11px;line-height:17px;margin-top:14px;color:#e2e5e2}

/* Toolbar and hint corrections from review. */
.immersive .canvas-toolbar .tool-button i,.immersive .canvas-toolbar .tool-button svg{display:inline-flex!important;width:17px;height:17px;flex:none}
.immersive .canvas-toolbar .tool-button{display:inline-flex;align-items:center;gap:6px;color:#555}
.immersive .canvas-toolbar #before-button{display:inline-flex}
.immersive .canvas-toolbar #fit-button svg{display:block;width:17px;height:17px}
.immersive .canvas-toolbar .zoom-controls{border-left:1px solid #eee;padding-left:6px;border-radius:0}
.immersive .canvas-toolbar #actual-size{border-left:1px solid #eee;border-right:1px solid #eee;border-radius:0;margin-inline:8px;padding-inline:13px}
.immersive .canvas-toolbar #fit-button{background:transparent;color:#555;padding-left:8px}
.immersive #supplement-text::placeholder{font-size:12px;line-height:1.8;color:#949c95}
/* Measured against the 591 px-wide source-card reference:
   buttons 222×60, gap 21, side insets 64/61, bottom clearance 33. */
.immersive #source-preview{container-type:inline-size}
.immersive #source-preview .reference-source-actions{left:10.83%;right:10.32%;bottom:5.58cqw;gap:3.55cqw;justify-content:space-between;align-items:center}
.immersive #source-preview .reference-source-actions button{flex:1 1 0;width:0;min-width:0;max-width:none;height:10.15cqw;min-height:0;padding:0;border:0.34cqw solid #d4e0d7;border-radius:999px;background:#eff9f2;color:#373e39;font-family:var(--font);font-size:4.4cqw;font-weight:500;line-height:1;letter-spacing:0;gap:2.03cqw;box-shadow:0 0.34cqw 0.68cqw #00000016}
.immersive #source-preview .reference-source-actions button span{display:block;line-height:1;white-space:nowrap}
.immersive #source-preview .reference-source-actions button i,.immersive #source-preview .reference-source-actions button svg{display:block;flex:none;width:6.1cqw;height:6.1cqw;margin:0}
.immersive #source-preview .reference-source-actions button svg{stroke-width:2.6}
.immersive #source-preview .reference-source-actions button:disabled{opacity:1;color:#373e39;background:#eff9f2;cursor:not-allowed}
.immersive #source-preview .reference-source-actions button:hover:not(:disabled){background:#e4f5e9}
.immersive #source-preview .reference-source-actions button{display:flex;justify-content:center;align-items:center}.immersive #source-preview .reference-source-actions button span{margin:0;padding:0;flex:0 0 auto;width:auto;font:inherit;color:inherit}.immersive #source-preview .reference-source-actions button i{margin:0;padding:0}
/* Keep unavailable native import visually normal, with a local explanation. */
.immersive #source-preview #recapture-scene[data-no-su="true"]{cursor:default;opacity:1}
.immersive #source-preview .source-su-tooltip{display:none;position:absolute;left:0;bottom:calc(100% + 10px);z-index:5;width:max-content;max-width:100%;padding:9px 11px;border-radius:7px;background:#303630;color:#fff;font-size:11px;line-height:1.5;white-space:normal;box-shadow:0 3px 12px #0002;pointer-events:none}
.immersive #source-preview .source-su-tooltip::after{content:'';position:absolute;left:35px;bottom:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #303630}
.immersive #source-preview .reference-source-actions:has(#recapture-scene[data-no-su="true"]:hover) .source-su-tooltip{display:block}
.immersive #source-preview #recapture-scene{gap:1.2cqw}
/* Left navigation measured from the supplied full-page reference. */
.immersive{--reference-rail:82px}
.immersive .rail{width:var(--reference-rail);min-width:var(--reference-rail);padding:0;gap:0;align-items:stretch;background:#f5f5f5;border:0}
.immersive .rail .rail-item{box-sizing:border-box;width:100%;min-width:100%;max-width:none;flex:0 0 80px;height:80px;min-height:80px;margin:0;padding:20px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;border:0;border-radius:0;color:#707a73}
.immersive .rail #new-session,.immersive .rail #new-session.active{width:100%;min-width:100%;height:66px;min-height:66px;flex-basis:66px;padding:8px 0 0;margin:0;border-radius:0}
.immersive .rail .rail-item i,.immersive .rail .rail-item svg{display:block;flex:none;width:24px;height:24px;margin:0}
.immersive .rail .rail-item span{display:block;font-size:14px;line-height:20px;font-weight:400;margin:0;padding:0;color:#333b35;white-space:nowrap}
.immersive .rail .rail-item.active{background:#fff;color:#267c50}
.immersive .rail .rail-item.active span{font-weight:600}
.immersive .rail .rail-bottom{margin-top:auto;padding-top:6px;flex-basis:80px}
.immersive .rail .customer-help-button{padding-top:7px;gap:4px;background:transparent}
.immersive .rail .customer-help-button img{display:block;width:38px;height:36px;flex:none;background:transparent;object-fit:contain}
.immersive .rail .customer-help-button:hover{background:#fff}
/* Shared selection palette from the approved reference. */
:root{--selection-border:#4dd87c;--selection-surface:#eef8f0}
.immersive :is(.light-choice,.quality-choice,.output-choice) input:checked+span,.immersive .direction-choices input:checked+span{border-color:var(--selection-border);background:var(--selection-surface);box-shadow:inset 0 0 0 1px var(--selection-border)}
.immersive :is(.choice-check,.quality-check){border-color:var(--selection-border)}
.immersive :is(.light-choice,.quality-choice) input:checked+span :is(.choice-check,.quality-check){background:var(--selection-border);border-color:var(--selection-border);color:#fff}
.immersive :is(.composition-ratios button.active,.product-card.selected,.product-card.active,.version-card.active,.edit-item.active,.project-card.selected,.product-categories button.active){border-color:var(--selection-border);background:var(--selection-surface)}
.immersive :is(.product-card[aria-pressed="true"],.edit-item-select[aria-pressed="true"],.output-choice input:checked+span){border-color:var(--selection-border);background:var(--selection-surface)}
.immersive input:is([type="checkbox"],[type="radio"],[type="range"]){accent-color:var(--selection-border)}
.immersive .selection,.immersive .saved-edit-region{border-color:var(--selection-border)}
.immersive .selection-label,.immersive .saved-edit-region>button{background:var(--selection-border);color:#153e25}
.immersive .product-card.selected .product-picture{border-color:var(--selection-border);background:var(--selection-surface)}.immersive .product-categories button.active{color:#16703e}.immersive .edit-source-tabs button[aria-pressed="true"]{background:var(--selection-surface);color:#16703e}
.immersive #edit-button i,.immersive #edit-button svg{display:inline-flex;width:18px;height:18px;flex:none;visibility:visible}.immersive #edit-button svg{stroke-width:1.7}

/* Keep the result tools one green control group and compact the settings. */
.immersive .reference-action-dock #download-button{background:transparent!important;color:#275e3b;border-radius:0 9px 9px 0}
.immersive .settings .quality-choice>span{min-height:138px;padding:14px 8px 12px}
.immersive .settings .quality-choice input:checked+span{padding:12px 6px 10px}
.immersive .quality-choice .mode-illustration{width:60px;height:60px;margin-bottom:7px}
.immersive #regular-lighting-group{margin-top:28px}
.immersive .supplement-section{margin-top:26px}

/* Final local-edit selectors intentionally follow the shared selection palette. */
.immersive .batch-edit-drawer .edit-source-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;border-radius:20px;background:#f5f6f5}
.immersive .batch-edit-drawer .edit-source-tabs button{border-radius:0}
.immersive .batch-edit-drawer .edit-source-tabs button:first-child{border-radius:19px 0 0 19px}
.immersive .batch-edit-drawer .edit-source-tabs button:last-child{border-radius:0 19px 19px 0}
.immersive .batch-edit-drawer .edit-source-tabs button[aria-pressed="true"]{background:#49d77d;color:#214c31}
.immersive .batch-edit-drawer .product-card.selected,.immersive .batch-edit-drawer .product-card[aria-pressed="true"]{border-color:transparent;background:transparent}
.immersive .batch-edit-drawer .product-card.selected .product-picture,.immersive .batch-edit-drawer .product-card[aria-pressed="true"] .product-picture{border-color:#49d77d;background:#eef8f0}

/* Removed result toolbar entries retained as hidden compatibility hooks for existing state handlers. */
.immersive #before-button[hidden],.immersive #fullscreen-button[hidden]{display:none!important}

/* Free crop canvas: the full source stays fixed while the crop rectangle moves and resizes. */
.immersive .composition-source{position:relative;flex:none;overflow:hidden;background:#fff;box-shadow:0 3px 16px #00000014;line-height:0;user-select:none}
.immersive .composition-source>img{display:block;width:100%;height:100%;pointer-events:none;user-select:none;-webkit-user-drag:none}
.immersive .composition-frame{position:absolute;overflow:visible;touch-action:none;cursor:move;background:transparent;outline:1px solid #fff;box-shadow:0 0 0 9999px #15201966,0 0 0 2px #4dd87c;user-select:none}
.immersive .composition-frame:focus-visible{outline:2px solid #fff;box-shadow:0 0 0 9999px #15201966,0 0 0 3px #4dd87c}
.immersive .composition-frame.dragging{cursor:grabbing}.immersive .composition-frame.resizing{cursor:default}
.immersive .composition-handle{position:absolute;z-index:2;display:block;width:10px;height:10px;border:2px solid #4dd87c;border-radius:2px;background:#fff;pointer-events:auto;transform:translate(-50%,-50%)}
.immersive .composition-handle.nw{left:0;top:0;cursor:nwse-resize}.immersive .composition-handle.n{left:50%;top:0;cursor:ns-resize}.immersive .composition-handle.ne{left:100%;top:0;cursor:nesw-resize}
.immersive .composition-handle.e{left:100%;top:50%;cursor:ew-resize}.immersive .composition-handle.se{left:100%;top:100%;cursor:nwse-resize}.immersive .composition-handle.s{left:50%;top:100%;cursor:ns-resize}
.immersive .composition-handle.sw{left:0;top:100%;cursor:nesw-resize}.immersive .composition-handle.w{left:0;top:50%;cursor:ew-resize}

/* Customer support entry and QR dialog. */
.immersive .customer-help-modal{width:380px;max-width:calc(100vw - 32px);padding:0;overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 18px 55px #1e12372e}
.immersive .customer-help-heading{position:relative;display:flex;align-items:center;justify-content:center;height:115px;padding:0 34px 0 132px;background:#8d58ff;color:#fff}
.immersive .customer-help-heading>img{position:absolute;left:27px;top:13px;width:96px;height:90px;object-fit:contain}
.immersive .customer-help-heading h2{width:100%;margin:0;font-size:20px;font-weight:700;line-height:28px;letter-spacing:.4px;text-align:center;white-space:nowrap;color:#fff}
.immersive .customer-help-heading .icon-button{position:absolute;top:10px;right:10px;width:30px;height:30px;color:#6840b7}
.immersive .customer-help-heading .icon-button:hover{background:#ffffff38;color:#fff}
.immersive .customer-help-content{display:flex;flex-direction:column;align-items:center;padding:24px 28px 22px}
.immersive .customer-help-qr{display:block;width:276px;height:auto;max-width:100%;object-fit:contain}
.immersive .customer-help-content p{margin:8px 0 0;color:#a0a0a0;font-size:13px;line-height:20px}
@media(max-width:430px){.immersive .customer-help-modal{width:340px}.immersive .customer-help-heading{padding-left:116px;padding-right:28px}.immersive .customer-help-heading>img{left:14px}.immersive .customer-help-heading h2{font-size:18px;line-height:26px;letter-spacing:0}.immersive .customer-help-content{padding-inline:20px}}

/* A second waiting lesson demonstrates crop and aspect-ratio adjustment. */
.guide-demo[hidden]{display:none}
.guide-composition-scene text{font-family:var(--font);user-select:none}
.guide-composition-scene>rect{fill:#fff;stroke:#111;stroke-width:.8;stroke-dasharray:.01 1.75;stroke-linecap:round}
.guide-composition-controls>rect{fill:#f1f1f1;stroke:#151515;stroke-width:.4;filter:drop-shadow(0 3px 4px #0000001f)}
.guide-composition-controls>text:first-of-type{fill:#0d0d0d;font-size:10px;font-weight:700}
.guide-composition-ratio-default rect,.guide-composition-ratio-portrait rect,.guide-composition-ratio-wide rect{fill:#fff;stroke:#181818;stroke-width:.55}
.guide-composition-ratio-default text,.guide-composition-ratio-portrait text,.guide-composition-ratio-wide text{fill:#111}
.guide-composition-ratio-default rect{stroke-width:.45}.guide-composition-ratio-portrait rect,.guide-composition-ratio-wide rect{stroke-width:.65}
.guide-composition-done rect{fill:#fff;stroke:#181818;stroke-width:.9}.guide-composition-done text{fill:#111;font-weight:700}
.guide-composition-frame{opacity:0}
.guide-composition-frame-wide{opacity:1}
.guide-composition-crop-loss{opacity:0}
.guide-composition-shade{opacity:1}
.guide-composition-result{opacity:0}
.guide-composition-cursor{opacity:0;filter:drop-shadow(0 2px 2px #122e2525)}
.guide-composition-complete{opacity:0;transform-box:fill-box;transform-origin:center}
.guide-composition-image{transform-box:fill-box;transform-origin:left center}
.is-playing .guide-composition-ratio-portrait rect{animation:guide-composition-ratio-portrait-fill var(--guide-duration) ease infinite}
.is-playing .guide-composition-ratio-portrait text{animation:guide-composition-ratio-portrait-text var(--guide-duration) ease infinite}
.is-playing .guide-composition-ratio-wide rect{animation:guide-composition-ratio-wide-fill var(--guide-duration) ease infinite}
.is-playing .guide-composition-ratio-wide text{animation:guide-composition-ratio-wide-text var(--guide-duration) ease infinite}
.is-playing .guide-composition-frame-wide{animation:guide-composition-frame-wide var(--guide-duration) ease infinite}
.is-playing .guide-composition-frame-portrait{animation:guide-composition-frame-portrait var(--guide-duration) ease infinite}
.is-playing .guide-composition-crop-loss{animation:guide-composition-crop-loss var(--guide-duration) ease infinite}
.is-playing .guide-composition-editor{animation:guide-composition-editor var(--guide-duration) ease infinite}
.is-playing .guide-composition-result{animation:guide-composition-result var(--guide-duration) ease infinite}
.is-playing .guide-composition-cursor{animation:guide-composition-cursor var(--guide-duration) cubic-bezier(.4,0,.2,1) infinite}
.is-playing .guide-composition-done rect{animation:guide-composition-done-fill var(--guide-duration) ease infinite}
.is-playing .guide-composition-done text{animation:guide-composition-done-text var(--guide-duration) ease infinite}
.is-playing .guide-composition-complete{animation:guide-composition-complete var(--guide-duration) ease infinite}
@keyframes guide-composition-ratio-wide-fill{0%,22%,100%{fill:#151515;stroke:#151515}27%,94%{fill:#fff;stroke:#181818}}
@keyframes guide-composition-ratio-wide-text{0%,22%,100%{fill:#fff}27%,94%{fill:#111}}
@keyframes guide-composition-ratio-portrait-fill{0%,22%,100%{fill:#fff;stroke:#181818}27%,94%{fill:#151515;stroke:#151515}}
@keyframes guide-composition-ratio-portrait-text{0%,22%,100%{fill:#111}27%,94%{fill:#fff}}
@keyframes guide-composition-frame-wide{0%,22%,100%{opacity:1}27%,94%{opacity:0}}
@keyframes guide-composition-frame-portrait{0%,22%,78%,100%{opacity:0}27%,74%{opacity:1}}
@keyframes guide-composition-crop-loss{0%,22%,78%,100%{opacity:0}27%,74%{opacity:1}}
@keyframes guide-composition-editor{0%,74%,100%{opacity:1}79%,94%{opacity:0}}
@keyframes guide-composition-result{0%,74%,100%{opacity:0}79%,94%{opacity:1}}
@keyframes guide-composition-cursor{0%,7%,100%{opacity:0;transform:translate(82px,92px)}10%{opacity:1;transform:translate(82px,92px)}16%{opacity:1;transform:translate(82px,92px) scale(.86)}20%{opacity:1;transform:translate(82px,92px)}25%,29%{opacity:1;transform:translate(43px,92px)}27%{opacity:1;transform:translate(43px,92px) scale(.86)}34%,60%{opacity:0;transform:translate(43px,92px)}64%{opacity:1;transform:translate(43px,92px)}70%,74%{opacity:1;transform:translate(62px,160px)}72%{opacity:1;transform:translate(62px,160px) scale(.86)}79%,100%{opacity:0;transform:translate(62px,160px)}}
@keyframes guide-composition-done-fill{0%,75%,100%{fill:#fff}78%,91%{fill:#151515}80%{fill:#000}}
@keyframes guide-composition-done-text{0%,75%,100%{fill:#111}78%,91%{fill:white}}
@keyframes guide-composition-complete{0%,76%,100%{opacity:0;transform:scale(.7)}81%,94%{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){
  .guide-composition-ratio-portrait rect{fill:#151515;stroke:#151515}.guide-composition-ratio-portrait text{fill:#fff}.guide-composition-ratio-wide rect{fill:#fff;stroke:#181818}.guide-composition-ratio-wide text{fill:#111}
  .guide-composition-editor{opacity:0}.guide-composition-result{opacity:1}.guide-composition-frame-wide,.guide-composition-frame-portrait,.guide-composition-crop-loss{opacity:0}
  .guide-composition-done rect{fill:#151515;stroke:#151515}.guide-composition-done text{fill:white}.guide-composition-complete{opacity:1;transform:none}.guide-composition-cursor{display:none}
}

/* The mascot frames each lesson as a short spoken tip. */
.guide-speaker-header{position:relative;min-height:156px;padding:18px 42px 0;justify-content:flex-start;align-items:center;gap:20px;overflow:hidden}
.guide-speaker-crop{position:relative;align-self:flex-end;flex:0 0 188px;width:188px;height:140px;overflow:hidden}
.guide-speaker-avatar{position:absolute;left:50%;top:-9px;display:block;width:360px;height:auto;max-width:none;transform:translateX(-50%);animation:guide-speaker-enter 420ms cubic-bezier(.2,.7,.2,1) both}
.guide-speaker-header>.guide-speech-bubble{position:relative;display:flex;align-items:center;flex:1 1 auto;min-width:0;min-height:96px;padding:18px 48px;border:0;border-radius:0;background:transparent;color:#294a36;box-shadow:none;animation:guide-speech-enter 360ms 90ms cubic-bezier(.2,.7,.2,1) both}
.guide-speech-bubble:before{content:'';position:absolute;right:-9px;bottom:26px;width:16px;height:16px;border:0;background:#fff;box-shadow:5px 5px 11px #18221b14;transform:rotate(-45deg)}
.guide-speech-bubble:before,.guide-speech-bubble:after{position:static;flex:none;width:auto;height:auto;border:0;background:none;box-shadow:none;color:#111;font-family:Georgia,'Times New Roman',serif;font-size:58px;font-weight:700;line-height:.72;transform:none}
.guide-speech-bubble:before{content:'“';margin:0 12px 12px 0}
.guide-speech-bubble:after{content:'”';margin:12px 0 0 12px}
.waiting-guide:not([data-lesson="render-wait"]) .guide-speech-bubble:before,.waiting-guide:not([data-lesson="render-wait"]) .guide-speech-bubble:after{position:absolute;top:50%;font-size:48px;line-height:1;transform:translateY(-50%);margin:0}
.waiting-guide:not([data-lesson="render-wait"]) .guide-speech-bubble:before{left:0}.waiting-guide:not([data-lesson="render-wait"]) .guide-speech-bubble:after{right:0}
.guide-speech-bubble #guide-title{position:relative;display:block;min-width:0;font-size:24px;font-weight:700;line-height:1.45;letter-spacing:0;color:#000;white-space:normal;word-break:normal;overflow-wrap:break-word;line-break:strict;text-wrap:pretty}
.waiting-guide:not([data-lesson="render-wait"]) .guide-speech-bubble #guide-title{font-size:24px;font-weight:700;line-height:1.45;letter-spacing:0;white-space:normal;text-wrap:pretty}
.waiting-guide[data-lesson="local-edit"] .guide-lesson{background:#f1f1f1;border:0;border-radius:44px}
.waiting-guide[data-lesson="local-edit"] .guide-speaker-header{padding:18px 42px 0}
.waiting-guide[data-lesson="local-edit"] .guide-speaker-header .text-button{right:42px}
.waiting-guide[data-lesson="local-edit"] .guide-demo{padding:0 31px 31px}
.waiting-guide[data-lesson="local-edit"] .guide-local-edit-scene>rect:first-of-type{fill:#fff}
.waiting-guide[data-lesson="composition"] .guide-lesson,.waiting-guide[data-lesson="quality"] .guide-lesson,.waiting-guide[data-lesson="outpaint"] .guide-lesson,.waiting-guide[data-lesson="render-wait"] .guide-lesson,.waiting-guide[data-lesson="prompt"] .guide-lesson{background:#f1f1f1;border:0;border-radius:44px}
.waiting-guide[data-lesson="composition"] .guide-speaker-header,.waiting-guide[data-lesson="quality"] .guide-speaker-header,.waiting-guide[data-lesson="outpaint"] .guide-speaker-header,.waiting-guide[data-lesson="render-wait"] .guide-speaker-header,.waiting-guide[data-lesson="prompt"] .guide-speaker-header{padding:18px 42px 0}
.waiting-guide[data-lesson="composition"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="quality"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="outpaint"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="render-wait"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="prompt"] .guide-speaker-header .text-button{right:42px}
.waiting-guide[data-lesson="composition"] .guide-demo,.waiting-guide[data-lesson="quality"] .guide-demo,.waiting-guide[data-lesson="outpaint"] .guide-demo,.waiting-guide[data-lesson="render-wait"] .guide-demo,.waiting-guide[data-lesson="prompt"] .guide-demo{padding:0 31px 31px}
.waiting-guide[data-lesson="render-wait"]{--guide-duration:5s}
.waiting-guide[data-lesson="render-wait"] .guide-lesson{position:relative;min-height:455px;overflow:hidden}
.waiting-guide[data-lesson="render-wait"] .guide-speaker-header{min-height:455px;padding:0}
.waiting-guide[data-lesson="render-wait"] .guide-speech-bubble{position:absolute;left:24px;top:74px;z-index:1;width:calc(100% - 290px);min-height:270px;padding:0;align-items:flex-start}
.waiting-guide[data-lesson="render-wait"] .guide-speech-bubble:before,.waiting-guide[data-lesson="render-wait"] .guide-speech-bubble:after{font-size:52px;line-height:.7}
.waiting-guide[data-lesson="render-wait"] .guide-speech-bubble:before{margin-right:4px}.waiting-guide[data-lesson="render-wait"] .guide-speech-bubble:after{margin-left:4px;transform:translateY(76px)}
.waiting-guide[data-lesson="render-wait"] .guide-speech-bubble #guide-title{font-size:38px;line-height:2;letter-spacing:2px;white-space:pre-line;text-wrap:nowrap}
.waiting-guide[data-lesson="render-wait"] .guide-speaker-crop{position:absolute;right:8px;bottom:0;width:287px;height:260px}
.waiting-guide[data-lesson="render-wait"] .guide-speaker-avatar{left:50%;top:-16px;width:507px}
.waiting-guide[data-lesson="render-wait"] .guide-render-wait-demo{display:none!important}
.guide-speaker-header .text-button{position:absolute;right:14px;top:10px;z-index:2}
@keyframes guide-speaker-enter{from{opacity:0;transform:translateX(-50%) translateY(9px) rotate(2deg)}to{opacity:1;transform:translateX(-50%)}}
@keyframes guide-speech-enter{from{opacity:0;transform:translateX(7px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:620px){.guide-speaker-header{min-height:112px;padding:14px 14px 0;gap:8px}.guide-speaker-crop{flex-basis:118px;width:118px;height:101px}.guide-speaker-avatar{top:-2px;width:190px}.guide-speaker-header>.guide-speech-bubble{min-height:72px;padding:12px 28px}.guide-speech-bubble:before,.guide-speech-bubble:after{font-size:32px}.guide-speech-bubble #guide-title{font-size:17px;line-height:1.45}.guide-speaker-header .text-button{right:8px;top:6px;font-size:11px}}
@media(max-height:800px){
  .immersive .render-overlay.waiting-overlay{padding:10px 18px}
  .waiting-guide{width:min(900px,100%,max(620px,calc((100dvh - 250px)*2.05)))}
  .waiting-status{flex-direction:row;gap:10px;padding-bottom:9px}
  .waiting-status-line{gap:4px}.waiting-status h2{font-size:22px}.waiting-status #elapsed{font-size:13px}
  .waiting-loader{flex-basis:48px;width:48px;height:48px}
  .guide-carousel-shell{padding-inline:62px}.guide-pagination button{width:42px;font-size:48px}
  .guide-speaker-header{min-height:108px;padding:10px 30px 0;gap:7px}
  .guide-speaker-crop{flex-basis:138px;width:138px;height:100px}.guide-speaker-avatar{top:-4px;width:255px}
  .guide-speech-bubble #guide-title{font-size:20px;line-height:1.45}.guide-speech-bubble:before,.guide-speech-bubble:after{font-size:38px}
  .waiting-guide:not([data-lesson="render-wait"]) .guide-speech-bubble #guide-title{font-size:20px;line-height:1.45}
  .waiting-guide[data-lesson="composition"] .guide-speaker-header,.waiting-guide[data-lesson="quality"] .guide-speaker-header,.waiting-guide[data-lesson="outpaint"] .guide-speaker-header,.waiting-guide[data-lesson="render-wait"] .guide-speaker-header,.waiting-guide[data-lesson="prompt"] .guide-speaker-header,.waiting-guide[data-lesson="local-edit"] .guide-speaker-header{padding:10px 30px 0}
  .waiting-guide[data-lesson="composition"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="quality"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="outpaint"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="render-wait"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="prompt"] .guide-speaker-header .text-button,.waiting-guide[data-lesson="local-edit"] .guide-speaker-header .text-button{right:30px}
  .waiting-guide[data-lesson="composition"] .guide-demo,.waiting-guide[data-lesson="quality"] .guide-demo,.waiting-guide[data-lesson="outpaint"] .guide-demo,.waiting-guide[data-lesson="render-wait"] .guide-demo,.waiting-guide[data-lesson="prompt"] .guide-demo,.waiting-guide[data-lesson="local-edit"] .guide-demo{padding:0 22px 18px}
  .waiting-guide[data-lesson="render-wait"] .guide-lesson,.waiting-guide[data-lesson="render-wait"] .guide-speaker-header{min-height:350px}
  .waiting-guide[data-lesson="render-wait"] .guide-speech-bubble{left:22px;top:54px;width:calc(100% - 230px);min-height:220px}
  .waiting-guide[data-lesson="render-wait"] .guide-speech-bubble #guide-title{font-size:29px;line-height:1.75;letter-spacing:1px}
  .waiting-guide[data-lesson="render-wait"] .guide-speech-bubble:before,.waiting-guide[data-lesson="render-wait"] .guide-speech-bubble:after{font-size:42px}
  .waiting-guide[data-lesson="render-wait"] .guide-speech-bubble:after{transform:translateY(54px)}
  .waiting-guide[data-lesson="render-wait"] .guide-speaker-crop{width:225px;height:205px}.waiting-guide[data-lesson="render-wait"] .guide-speaker-avatar{top:-12px;width:400px}
}
@media(max-height:740px){
  .waiting-guide{width:min(790px,100%)}
  .guide-carousel-shell{padding-inline:52px}
  .guide-pagination button{width:36px;font-size:44px}
}
@media(prefers-reduced-motion:reduce){.guide-speaker-avatar,.guide-speech-bubble{animation:none}}

#edit-button,#upscale-button{position:relative;gap:7px;white-space:nowrap}#upscale-button .upscale-mark{display:inline-flex;align-items:center;justify-content:center;width:23px;height:16px;border:1.4px solid currentColor;border-radius:2px;font-size:10px;font-weight:700;line-height:1}#upscale-button small{font-size:11px;font-weight:400;opacity:.8}#upscale-button:disabled{opacity:.4;cursor:default}
.floating-tools .tool-cost{position:absolute;left:50%;bottom:calc(100% + 10px);z-index:20;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:58px;padding:7px 10px;border:1px solid #dfe7e1;border-radius:8px;background:#fff;color:#314239;box-shadow:0 7px 22px #152a1d1f;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;line-height:20px;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,4px);transition:opacity 140ms ease,transform 140ms ease,visibility 140ms ease}.floating-tools .tool-cost:after{content:"";position:absolute;left:50%;top:100%;width:8px;height:8px;border-right:1px solid #dfe7e1;border-bottom:1px solid #dfe7e1;background:#fff;transform:translate(-50%,-4px) rotate(45deg)}.floating-tools button:not(:disabled):hover .tool-cost,.floating-tools button:not(:disabled):focus-visible .tool-cost{opacity:1;visibility:visible;transform:translate(-50%,0)}.floating-tools button:disabled .tool-cost,.floating-tools .tool-cost[hidden]{display:none}.floating-tools .tool-cost img{display:block;flex:none;width:20px;height:20px;object-fit:contain}

.member-feather-recharge[hidden],.member-checkin[hidden]{display:none}
.member-checkin{flex:none;display:inline-flex;align-items:center;justify-content:center;height:29px;padding:0 11px;border:1px solid #4dd87c6b;border-radius:6px;background:#159b5122;color:var(--green-bright);font-size:12px;line-height:20px;cursor:pointer}
.member-checkin:hover{background:#159b5140}.member-checkin:disabled{cursor:default;opacity:.65}
.feather-checkin-dialog{width:480px;max-width:calc(100vw - 28px);max-height:calc(100vh - 28px);padding:0;border:0;border-radius:20px;color:#09120c;background:#fff;box-shadow:0 12px 32px 4px #0000000a,0 8px 20px #00000014;overflow:auto}
.feather-checkin-dialog:focus{outline:none}
.feather-checkin-dialog .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.feather-checkin-dialog::backdrop{background:#00000080}
.feather-checkin-heading{position:relative;padding:30px 30px 30px;background:#dbc6f6}
.feather-checkin-heading:before{position:absolute;left:30px;bottom:0;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:10px solid #fff;content:""}
.feather-checkin-heading>p{position:relative;z-index:1;margin:0;font-size:16px;font-weight:400;line-height:24px}
.feather-checkin-heading>.feather-checkin-description{margin-top:4px;font-size:20px;font-weight:600;line-height:32px}
.feather-checkin-description>span:last-child{color:#703eff}
.feather-checkin-heading>img{position:absolute;right:8px;top:54px;width:100px;height:100px;object-fit:contain;pointer-events:none}
.feather-checkin-close{position:absolute;z-index:2;top:0;right:0;display:flex;align-items:center;justify-content:center;width:54px;height:54px;padding:0;border:0;border-radius:0;background:transparent;color:#909399;line-height:1;cursor:pointer}
.feather-checkin-close>svg{display:block;width:16px;height:16px;flex:none}
.feather-checkin-close:hover{color:#703eff;background:transparent}
.feather-checkin-close:focus-visible{outline:2px solid #976dc8;outline-offset:-10px;border-radius:14px}
.feather-checkin-days{display:flex;align-items:center;list-style:none;height:158px;margin:0;padding:0 40px}
.feather-checkin-days li{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.feather-checkin-days li:last-child{flex:0;width:0}
.feather-checkin-day{position:relative;display:flex;align-items:center;flex:none;width:max-content;height:32px;margin:0 0 28px -20px;padding:10px;border-radius:8px;background:#efe5fa;color:#09120ccc;font-size:12px;font-weight:500;line-height:1;opacity:0;white-space:nowrap}
.is-today>.feather-checkin-day{opacity:1}
.feather-checkin-day:after{position:absolute;bottom:-16px;left:14px;width:0;height:0;border:8px solid transparent;border-top-color:#efe5fa;content:""}
.feather-checkin-progress{position:relative;display:flex;align-items:center;width:100%;height:14px;margin-bottom:5px}
.feather-checkin-progress>strong{position:absolute;z-index:2;left:-20px;top:-15px;width:40px;height:40px;background:url('/assets/feather-checkin-pending.svg') center/cover no-repeat;font-size:0;color:transparent}
.is-complete>.feather-checkin-progress>strong{background-image:url('/assets/feather-checkin-done.svg')}
.feather-checkin-connector{position:absolute;left:15px;width:100%;height:8px;background:#f4f4f4}
.is-connected .feather-checkin-connector{background:#976dc833}
.feather-checkin-days li:last-child .feather-checkin-connector{display:none}
.feather-checkin-reward{display:inline-flex;align-items:center;flex:none;gap:2px;width:50px;height:20px;margin:10px 0 0 -15px;color:#09120c;font-size:14px;font-weight:600;opacity:0}
.is-complete>.feather-checkin-reward{opacity:1}
.feather-checkin-reward img{width:16px;height:16px;object-fit:contain}
.feather-checkin-feedback{padding:0 30px 20px;color:#756087;font-size:13px;line-height:20px}
#feather-checkin-retry{margin-top:10px;border:1px solid #d9cee9;background:#f5f0fc;color:#756087;padding:5px 12px;border-radius:6px;font:inherit;font-size:12px}
#feather-checkin-retry[hidden]{display:none}
@media(max-width:580px){.member-checkin{padding:0 8px;font-size:11px}}
@media(max-width:420px){.feather-checkin-heading{padding:30px 20px}.feather-checkin-heading>.feather-checkin-description{font-size:18px;line-height:28px;padding-right:40px}.feather-checkin-heading>img{width:80px;height:80px}.feather-checkin-days{padding-inline:35px}.feather-checkin-progress>strong{width:32px;height:32px;left:-16px;top:-11px}.feather-checkin-day{padding:8px;font-size:11px}.feather-checkin-feedback{padding-inline:20px}}
.queue-status{display:flex;align-items:center;justify-content:center;gap:8px 16px;flex-wrap:wrap;width:100%;font-size:13px;line-height:1.5}
.queue-notice{margin:0;text-align:center;color:#66756b}
.queue-cancel{font-size:13px}
.queue-status[hidden],.queue-cancel[hidden]{display:none}
@media(max-height:800px){.waiting-status{flex-wrap:wrap}}

/* History gallery: full image above a persistent thumbnail strip. */
.projects-modal.history-preview-open{width:min(1320px,96vw);height:min(900px,92vh);max-height:92vh;overflow:hidden}
.history-preview-open .history-intro{display:none}
.history-preview{display:flex;flex-direction:column;flex:1;min-height:0;margin:0 0 16px}
.history-preview[hidden]{display:none}
.history-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;color:#718176;font-size:13px}
.history-preview-heading>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history-preview-stage{display:flex;align-items:stretch;gap:12px;flex:1;min-height:0}
.history-preview-picture{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:0;background:#f3f5f3;border-radius:10px;overflow:hidden}
.history-preview-picture>img{width:100%;height:100%;object-fit:contain}
.history-preview-picture>img[hidden]{display:none}
.history-preview-picture>[data-preview-message]{position:absolute;max-width:85%;text-align:center;color:#718176;font-size:14px}
.history-preview-picture>[data-preview-message].loading{bottom:16px;padding:6px 12px;border-radius:16px;background:#fffe;box-shadow:0 2px 12px #0002;font-size:12px}
.history-preview-arrow{flex:none;width:48px;background:transparent;color:#607368;font-size:64px;font-weight:200;line-height:1;border-radius:8px;padding:0}
.history-preview-arrow:hover:not(:disabled){background:#edf6ef;color:#1c7144}
.history-preview-arrow:disabled{opacity:.2;cursor:default}
.history-preview-edit{position:absolute;bottom:20px;right:20px;min-width:88px;padding:11px 24px;border-radius:24px;background:#fff;color:#243c2e;box-shadow:0 3px 20px #0002;opacity:0;pointer-events:none;transition:opacity .15s}
.history-preview-picture:hover .history-preview-edit,.history-preview-picture:focus-within .history-preview-edit{opacity:1;pointer-events:auto}
.history-preview-edit:disabled{visibility:hidden}
.history-preview-retry{position:absolute;bottom:20px}
.projects-list.gallery-mode.history-strip{display:flex;flex-direction:row;flex:none;gap:8px;height:88px;max-height:88px;overflow-x:auto;overflow-y:hidden;padding:4px 2px;scrollbar-width:thin}
.history-strip .history-gallery-item{flex:0 0 108px;width:108px;height:72px;aspect-ratio:auto;border-radius:5px}
.history-strip .history-gallery-item[aria-current=true]{outline:3px solid #45d77c;outline-offset:-3px}
.history-preview-open .history-footer{flex:none;margin-top:10px}
.history-preview button:focus-visible{outline:3px solid #45d77c;outline-offset:2px}
@media(hover:none){.history-preview-edit{opacity:1;pointer-events:auto}}
@media(max-width:600px){.history-preview-stage{gap:3px}.history-preview-arrow{width:28px;font-size:44px}.history-preview-open{padding:14px}.history-preview-heading>span{max-width:55%}.history-preview-edit{bottom:12px;right:12px}}

/* Match the light green of the existing bottom action toolbar. */
.projects-modal{--history-accent:#5cdf8a;--history-accent-light:#b5faca}
.history-preview-arrow{color:var(--history-accent)}
.history-preview-arrow:hover:not(:disabled){color:var(--history-accent);background:#edfff3}
.projects-modal .history-gallery-item:hover,.projects-modal .history-gallery-item:focus-visible,.history-strip .history-gallery-item[aria-current=true],.history-preview button:focus-visible{outline-color:var(--history-accent)}
.history-preview-edit{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.history-preview-edit svg{flex:none}
.history-preview-edit:hover:not(:disabled){background:linear-gradient(var(--history-accent-light),var(--history-accent))}
.history-preview-edit{right:122px}
.history-preview-delete{position:absolute;bottom:20px;right:20px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:88px;padding:11px 18px;border-radius:24px;background:#fff;color:#243c2e;box-shadow:0 3px 20px #0002;opacity:0;pointer-events:none;transition:opacity .15s}
.history-preview-picture:hover .history-preview-delete,.history-preview-picture:focus-within .history-preview-delete{opacity:1;pointer-events:auto}
.history-preview-delete:hover{background:#fff0ef;color:#b43c35}
.history-delete-confirm{width:min(400px,90vw);padding:28px;border:0;border-radius:16px}
.history-delete-confirm h2{font-size:18px;margin:0 0 14px}
.history-delete-confirm p{font-size:13px;color:#758078;line-height:1.7}
.history-delete-confirm .history-delete-error{color:#b43c35}
.history-delete-confirm>div{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
.history-delete-confirm button{padding:10px 24px;border-radius:22px;background:#f0f3f1}
.history-delete-confirm [data-confirm]{background:linear-gradient(#b5faca,#5cdf8a);color:#173d26}
.history-delete-confirm button:focus-visible{outline:3px solid #5cdf8a;outline-offset:3px}
@media(hover:none){.history-preview-delete{opacity:1;pointer-events:auto}}
@media(max-width:600px){.history-preview-edit{right:114px}.history-preview-delete{right:12px;bottom:12px}}
.brush-mask-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.45;z-index:8}
.brush-active{cursor:crosshair!important;touch-action:none}
.brush-tools{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:30;display:flex;align-items:center;gap:4px;background:#fff;border:1px solid #e5e9e6;box-shadow:0 3px 16px #0002;border-radius:12px;padding:6px;white-space:nowrap}
.brush-tools button,.brush-zoom button{border:0;background:transparent;border-radius:7px;padding:8px 12px;color:#263e30;cursor:pointer}
.brush-tools button.active{background:#dff9e9;box-shadow:inset 0 0 0 1px #5cdf8a}.brush-tools button:hover,.brush-zoom button:hover{background:#effbf3}.brush-tools button:disabled{opacity:.4;cursor:default}.brush-tools small{font-size:11px;color:#79847c;padding:0 8px}.brush-tools>span{height:22px;border-left:1px solid #ddd}
.brush-zoom{position:absolute;left:16px;top:50%;transform:translateY(-50%);z-index:30;display:flex;align-items:center;flex-direction:column;padding:6px 2px;background:#fffe;border-radius:28px;box-shadow:0 3px 16px #0002}.brush-zoom-track{position:relative;display:block;width:24px;height:140px;touch-action:none}.brush-zoom input{position:absolute;left:50%;top:50%;width:140px;height:24px;margin:0;transform:translate(-50%,-50%) rotate(-90deg);accent-color:#5cdf8a;touch-action:none}.brush-zoom button{padding:8px;font-size:14px}.brush-tools[hidden],.brush-zoom[hidden],.brush-mask-overlay[hidden]{display:none!important}
@media(max-width:1000px){.brush-tools small{display:none}.brush-tools button{padding:8px}}

/* Local-edit selection tools replace the main bottom dock. */
.editing-open #reference-action-dock{display:none!important}
.brush-tools{top:auto;bottom:4px;left:calc((100% - var(--canvas-occlusion,0px))/2);min-height:40px;padding:4px;max-width:calc(100% - 20px);box-sizing:border-box}
.brush-tools [data-action="close"]{font-size:22px;line-height:20px;padding:5px 12px;border-left:1px solid #e5e9e6;border-radius:0}
/* Keep the two history preview actions identical in size. */
.history-preview-edit,.history-preview-delete{box-sizing:border-box;width:80px;min-width:80px;height:34px;padding:0 12px;gap:6px;border-radius:18px;font-size:12px;line-height:18px}
.history-preview-edit svg,.history-preview-delete svg{width:15px;height:15px;flex:none}
.history-preview-edit{right:110px}
@media(max-width:600px){.history-preview-edit{right:102px}}

.brush-tools button[data-tool]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:34px;padding:0;flex:none}.brush-tools button[data-tool] svg{display:block;width:18px;height:18px;pointer-events:none}

.brush-tools button{position:relative}
.brush-tools button[data-action="undo"]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:34px;padding:0;flex:none}
.brush-tools button[data-action="undo"] svg{display:block;width:18px;height:18px;pointer-events:none}
.brush-tool-tip{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);padding:6px 10px;border-radius:6px;background:#28362e;color:#fff;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;box-shadow:0 2px 8px #0002;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s;z-index:40}
.brush-tool-tip:after{content:"";position:absolute;top:100%;left:50%;margin-left:-4px;border:4px solid transparent;border-top-color:#28362e}
.brush-tools button:hover .brush-tool-tip,.brush-tools button:focus-visible .brush-tool-tip{opacity:1;visibility:visible}

/* Scale the reference card's portrait, icon/divider label row and selected frame to the sidebar. */
.immersive #pro-lighting-choices{gap:6px}
.immersive #pro-lighting-choices .light-choice>span{display:flex;flex-direction:column;height:136px;padding:4px 3px 0;border:1px solid #e2e8e4;border-radius:14px;background:#fff;box-shadow:0 3px 9px #243c2e14;transition:border-color .18s,background .18s,box-shadow .18s}
.immersive #pro-lighting-choices .light-choice:hover>span{border-color:#89d9a7;box-shadow:0 5px 13px #243c2e1c}
.immersive #pro-lighting-choices .light-choice input:checked+span{border:2px solid var(--selection-border);padding:3px 2px 0;background:linear-gradient(#f5fff8,#ecfff2);box-shadow:0 5px 15px #36ad6629}
.immersive #pro-lighting-choices .light-choice img{display:block;width:100%;height:96px;flex:none;border-radius:9px;object-fit:cover;filter:none;background:#f2f4f1}
.immersive #pro-lighting-choices .light-choice strong{display:flex;align-items:center;justify-content:center;gap:2px;flex:1;min-height:0;padding:0;color:#66716a;font-size:9px;line-height:12px;font-weight:600;white-space:nowrap}
.immersive #pro-lighting-choices .light-choice .lighting-symbol{display:grid;place-items:center;flex:none;width:16px;height:16px;border-radius:50%;background:#eff5f0;color:#465b4e}
.immersive #pro-lighting-choices .light-choice .lighting-symbol svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.immersive #pro-lighting-choices .light-choice .lighting-symbol--direct{background:#e8f9ef;color:#2eb66b}
.immersive #pro-lighting-choices .light-choice .lighting-symbol--direct svg{width:14px;height:14px;stroke-width:2}
.immersive #pro-lighting-choices .light-choice .lighting-name{display:block;padding-left:2px;border-left:1px solid #dce5df;letter-spacing:-.15px}
.immersive #pro-lighting-choices .light-choice:nth-child(3) .lighting-name{font-size:8px;letter-spacing:-.2px}
.immersive #pro-lighting-choices .light-choice input:checked+span strong{color:#096c3d;font-weight:700}
.immersive #pro-lighting-choices .light-choice input:checked+span .lighting-symbol{background:#e1f8eb;color:#087443}
.immersive #pro-lighting-choices .light-choice input:checked+span .lighting-symbol--direct{background:#d8f6e5;color:#169e57}
.immersive #pro-lighting-choices .choice-check{top:8px;right:8px;width:20px;height:20px;font-size:12px;line-height:20px;box-shadow:0 2px 6px #173f282a}
@media(max-height:800px) and (min-width:581px){.immersive #pro-lighting-choices .light-choice>span{height:128px}.immersive #pro-lighting-choices .light-choice img{height:88px}}
@media(max-width:580px){.immersive #pro-lighting-choices .light-choice>span{height:128px}.immersive #pro-lighting-choices .light-choice img{height:88px}}

/* Let the action follow the last setting when the sidebar content fits. */
.immersive .settings-scroll{flex:0 1 auto;padding-bottom:8px}
.immersive .generate-footer{margin-top:0}

.channel-switch{position:absolute;right:calc(var(--canvas-occlusion,0px) + 16px);bottom:58px;z-index:31;display:flex;align-items:center;gap:4px;background:#fff;padding:6px;border:1px solid var(--line);border-radius:8px;font-size:12px}.channel-switch>span{padding:0 6px;color:#758178}.channel-switch button{padding:7px 10px;border-radius:5px}.channel-switch button[aria-pressed=true]{color:#087744;background:#eaf8ef}.channel-switch small{display:block;color:#758178;padding:0 6px;font-size:10px}.channel-switch[hidden],.channel-outline[hidden],.channel-wand-cursor[hidden]{display:none!important}.channel-outline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:9}.channel-has-mask .brush-mask-overlay{opacity:0}.channel-wand-active,.channel-wand-active *{cursor:none!important}.channel-wand-cursor{position:fixed;left:0;top:0;width:19px;height:19px;pointer-events:none;z-index:200;color:#14af64;filter:drop-shadow(0 1px 1px white)}.channel-wand-cursor svg{width:19px;height:19px}.wand-body{transform-origin:8px 8px}.wand-star{transform-origin:8px 8px;animation:wand-twinkle 1.5s ease-in-out infinite}.tap .wand-body{animation:wand-flick .26s ease-out}@keyframes wand-flick{35%{transform:rotate(-18deg) scale(.91)}}@keyframes wand-twinkle{50%{opacity:.65;transform:scale(.9)}}@media(max-width:1100px){.channel-switch{bottom:54px;flex-wrap:wrap;max-width:260px}.channel-switch small{width:100%;text-align:right}}@media(prefers-reduced-motion:reduce){.wand-star,.tap .wand-body{animation:none}}

.channel-operation-separator{height:18px;border-left:1px solid var(--line);margin:0 3px}.channel-wand-cursor:after{content:"+";position:absolute;right:-7px;bottom:-3px;font-size:12px;font-weight:600;line-height:12px;color:var(--green)}.channel-wand-cursor.is-subtract:after{content:"−"}

.channel-switch{padding:3px;gap:2px;right:calc(var(--canvas-occlusion,0px) + 16px);bottom:58px;border-radius:8px;background:#fff;box-shadow:none;max-width:none;flex-wrap:nowrap}.channel-switch button{min-height:32px;padding:6px 12px;font-size:12px;color:#65736b;border-radius:5px;white-space:nowrap}.channel-switch button:hover{background:#f3f7f4}.channel-switch button[aria-pressed=true]{background:var(--mint,#eaf8ef);color:var(--green-dark,#087744);font-weight:600}.channel-switch button:focus-visible{outline:2px solid var(--green,#14af64);outline-offset:1px}.channel-wand-cursor:after{display:none}

.brush-tools button[data-tool="wand"] svg{width:20px;height:20px}.channel-wand-cursor .wand-body,.channel-wand-cursor .wand-star{transform-origin:6.5px 6.5px}

.brush-tools .channel-inline{position:static;display:flex;align-items:center;gap:2px;padding:0 5px;margin:0;background:transparent;border:0;border-left:1px solid #e1e7e2;border-right:1px solid #e1e7e2;border-radius:0;box-shadow:none;max-width:none;flex-wrap:nowrap}.brush-tools .channel-inline[hidden]{display:none!important}.brush-tools .channel-inline button{display:flex;align-items:center;justify-content:center;min-height:30px;padding:5px 8px;font-size:11px;font-weight:400;border-radius:7px;color:#263e30}.brush-tools .channel-inline button[aria-pressed=true]{background:#dff9e9;box-shadow:inset 0 0 0 1px #4dd87c;color:#16703e}




/* Main tools stay primary; channel actions form one subordinate wand group. */
.brush-tools .channel-secondary{padding:3px;margin:0 5px 0 0;gap:3px;background:#f3f6f4;border:0;border-radius:7px}.channel-option{display:flex;align-items:center;padding:0 2px;border-radius:5px}.channel-option.selected{background:#e7f4eb}.brush-tools .channel-secondary .channel-choice{gap:4px;padding:4px 5px;min-height:28px;font-size:11px;box-shadow:none;background:transparent}.brush-tools .channel-secondary .channel-choice[aria-pressed=true]{color:#087744;font-weight:600;box-shadow:none;background:transparent}.brush-tools .channel-secondary .channel-mini{display:inline-flex;justify-content:center;align-items:center;width:25px;min-height:28px;padding:5px;color:#697b70;box-shadow:none;background:transparent}.brush-tools .channel-secondary .channel-mini svg{width:14px;height:14px}.brush-tools .channel-secondary .channel-mini:hover{color:#087744;background:#d9eddf}.brush-tools .channel-secondary .channel-mini[aria-pressed=true]{color:#087744;background:#cfead8;box-shadow:none}.channel-image-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:7;border-radius:inherit}.channel-image-preview[hidden]{display:none!important}
.brush-tools .brush-size-popover{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);gap:4px;padding:6px;background:#fff;border:1px solid #e1e7e2;border-radius:9px;box-shadow:0 5px 18px #17251d1a;z-index:45}.brush-tools .brush-size-popover button{min-width:44px;min-height:36px;padding:6px;gap:6px}.brush-size-popover .brush-tool-tip{display:none!important}.brush-size-popover:after{content:"";position:absolute;top:100%;left:50%;margin-left:-4px;border:4px solid transparent;border-top-color:#fff}.brush-tools.size-picker-open [data-tool]>.brush-tool-tip{display:none}

.channel-option.selected{background:#e3f3e8;box-shadow:inset 0 0 0 1px #cfe7d7}.brush-tools .channel-secondary .channel-option.selected .channel-mini{color:#087744}.brush-tools .channel-secondary .channel-option.selected .channel-mini[aria-pressed=true]{background:#c8e7d3;color:#075e35}

.preview-save-menu{position:fixed;z-index:300;min-width:150px;padding:4px;border:1px solid #e1e7e2;border-radius:8px;background:#fff;box-shadow:0 5px 18px #17251d1a}.preview-save-menu[hidden]{display:none!important}.preview-save-menu button{display:flex;align-items:center;gap:9px;width:100%;padding:9px 10px;border-radius:5px;text-align:left;white-space:nowrap;color:#263e30;font-size:12px}.preview-save-menu button:hover,.preview-save-menu button:focus-visible{background:#eaf8ef;color:#087744}.preview-save-menu svg{width:17px;height:17px;flex:none}

.brush-tools .channel-inline button>svg{width:14px;height:14px;flex:none;pointer-events:none}

/* Keep unresolved startup neutral until identity is confirmed. */
.immersive .member-message[data-connecting]{top:50%;left:50%;right:auto;transform:translate(-50%,-50%);margin:0;border:0;background:transparent;box-shadow:none;text-align:center}

.browser-login{width:440px;text-align:center;padding:24px 28px 28px}
.browser-login .modal-heading h2{font-size:20px}
.browser-login-code{min-height:244px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.browser-login-code img{width:220px;height:220px;object-fit:contain}
.browser-login-code p{font-size:13px;color:#626964;line-height:1.7}
.browser-login-agreement{display:flex;align-items:flex-start;justify-content:center;gap:6px;margin-top:20px;font-size:12px;line-height:20px;color:#626964;text-align:left}
.browser-login-agreement input{margin-top:4px;accent-color:#168044}
.browser-login-agreement a{color:#168044;text-decoration:underline}
.browser-login [hidden]{display:none!important}

.browser-login .modal-heading{margin-bottom:20px;text-align:left}
.browser-login [data-login-close]{width:40px;height:40px;flex:none;font-size:30px;line-height:1;border-radius:8px;color:#536057}
.browser-login [data-login-close]:hover{background:#f1f4f2}
.browser-login>.modal-heading+.browser-login-intro{font-size:14px;line-height:1.7;color:#454e48;margin:0 0 12px}
.browser-login-brand{font-size:14px;line-height:24px;color:#758078;margin:4px 0 16px}
.browser-login-brand strong{display:block;font-size:23px;line-height:34px;color:#17211b;font-weight:700}
.browser-login-agreement input{width:16px;height:16px;margin-top:2px;flex:none}

.browser-login-logo{display:block;width:160px;height:30px;object-fit:contain}
.browser-login [data-login-close]{display:flex;align-items:center;justify-content:center;padding:0}
.browser-login [data-login-close] svg{display:block;width:24px;height:24px;flex:none}
.browser-login-space{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px}
.browser-login-space img{display:block;object-fit:contain}

.empty-image-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}
.empty-image-actions .secondary{height:40px;padding:0 23px;border:1px solid var(--shell-border);border-radius:8px;background:#fff;color:#36523f;font-size:13px}
.empty-paste-hint{margin-top:12px;color:#829086;font-size:12px}

.member-card[data-mode=feather] .member-card-summary,.member-card[data-mode=feather] .member-identity-controls{display:none}
.member-card[data-mode=account] .member-feather-breakdown,.member-card[data-mode=account] .member-feather-history{display:none}
.member-card[data-mode=account]{width:300px}
.member-card[data-mode=feather] .member-feather-breakdown{border-top:0;margin-top:0;padding-top:0}
.member-identity-controls{display:flex;flex-direction:column;gap:12px;margin-top:16px;font-size:12px}
.member-identity-controls p{color:#78847c;line-height:1.6}
.member-identity-controls label{display:flex;flex-direction:column;gap:8px}
.member-identity-controls select{width:100%;height:36px;border:1px solid #dce6de;border-radius:8px;padding:0 10px;background:white;color:#30493a}
#member-logout{height:36px;border-top:1px solid #e5eae6;color:#a44e41;text-align:center}
.member-identity-controls [hidden]{display:none}

.browser-login.choosing-identity .browser-login-intro,.browser-login.choosing-identity .browser-login-brand,.browser-login.choosing-identity .browser-login-agreement{display:none}
.browser-login.choosing-identity .browser-login-code{min-height:64px}
.browser-login-identities{display:flex;flex-direction:column;gap:12px;margin:12px 0}
.browser-login-identities button{min-height:48px;padding:12px 16px;border:1px solid #dce6de;border-radius:10px;background:#f6faf7;color:#254c33;font-size:15px;white-space:normal;overflow-wrap:anywhere}
.browser-login-identities button:hover:not(:disabled){border-color:#49d77d;background:#eef8f0}

#member-identity-state:empty{display:none}
#member-identity-switch{margin-left:auto;flex:none;align-self:center;padding:7px 10px;border:1px solid #dce6de;border-radius:8px;background:#f6faf7;color:#276447;font-size:12px;white-space:nowrap}
#member-identity-switch[hidden]{display:none}
.member-card[data-mode=account] .member-card-summary{gap:10px}
.member-card[data-mode=account] .member-card-identity{min-width:0;flex:1}
#member-team-choices{display:flex;flex-direction:column;gap:8px}
#member-team-choices[hidden]{display:none}
#member-team-choices button{padding:8px;border:1px solid #dce6de;border-radius:8px;text-align:left}

/* Scan completion uses the same personal/team choice layout as the plugin account view. */
.browser-login.choosing-identity{position:relative;width:440px;max-width:calc(100vw - 32px);padding:30px 28px 24px;display:flex;flex-direction:column;align-items:stretch}
.browser-login.choosing-identity .modal-heading{position:absolute;top:10px;right:10px;margin:0}
.browser-login.choosing-identity .browser-login-logo{display:none}
.browser-login.choosing-identity .browser-login-code{order:3;min-height:0;margin-top:16px}
.browser-login.choosing-identity .browser-login-code p{margin:0;font-size:12px;color:#7a827d}
.browser-login-profile{order:1;text-align:center}
.identity-avatar{display:block;width:76px;height:76px;object-fit:cover;border-radius:50%;margin:0 auto 14px}
.identity-name{margin:0 0 10px;font-size:21px;line-height:1.4;font-weight:600;color:#0c130e}
.identity-membership,.identity-caption{display:flex;align-items:center;justify-content:center;gap:5px;color:#747c77;font-size:15px;line-height:1.5}
.identity-membership{margin:0}
.identity-membership img,.identity-caption img{width:18px;height:18px;object-fit:contain}
.identity-code{margin:16px 0 0;color:#828983;font-size:14px;line-height:1.5}
.browser-login-identities{order:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:22px;margin:30px 0 0}
.browser-login-identities .identity-choice{width:100%;min-height:48px;padding:10px 16px;border:1px solid #0b1710;border-radius:999px;background:#fff;color:#0b1710;font-size:18px;font-weight:500}
.browser-login-identities .identity-choice-team{background:#09140c;color:#fff}
.browser-login-identities .identity-choice:hover:not(:disabled){background:#f0f6f2;border-color:#0b1710}
.browser-login-identities .identity-choice-team:hover:not(:disabled){background:#203b2a;color:#fff}
.identity-caption{margin:9px 0 18px;overflow-wrap:anywhere}
.identity-logout{order:4;align-self:center;margin-top:18px;padding:10px 20px;color:#606a63;font-size:16px;background:transparent}
.identity-logout:hover{color:#17271d;background:#f4f7f5;border-radius:8px}
.browser-login.choosing-identity [data-login-retry]{order:3}
@media(max-width:380px){.browser-login.choosing-identity{padding:26px 18px 18px}.browser-login-identities{gap:12px}.identity-caption{font-size:13px}}

/* Independent AI plugin settings use confirmed native values. */
.ai-export-settings{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--text-muted,#61716a)}
.ai-export-settings label{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.ai-export-settings input{accent-color:#43d981}
.ai-export-settings [role=status]:empty{display:none}
.ai-export-settings [role=status]{color:#a65424}
@media(max-width:1050px){.ai-export-settings{gap:6px;font-size:11px}}

.ai-export-settings[hidden]{display:none!important}

/* Independent AI plugin update dialog, shared by rendering and modeling tabs. */
.ai-plugin-update-entry{flex-shrink:0;white-space:nowrap;border:1px solid var(--shell-border,#dce3dd);border-radius:20px;padding:7px 13px;background:#fff;color:#268247;font:inherit;font-size:13px;cursor:pointer}
.ai-plugin-update-entry:hover{background:#f0f8f2;border-color:#75bc8c}
.ai-plugin-update-entry:focus-visible,.ai-plugin-update-dialog button:focus-visible{outline:2px solid #268247;outline-offset:3px}
.ai-plugin-update-dialog{width:520px;max-width:calc(100vw - 32px);max-height:calc(100vh - 40px);box-sizing:border-box;padding:26px;color:#26372d;background:#fff;overflow:auto}
.ai-plugin-update-dialog h2{margin:0 0 20px;font-size:21px}.ai-plugin-update-dialog h3{font-size:14px;margin:0 0 8px}
.ai-update-current{font-size:15px;font-weight:600;line-height:1.7;margin:0 0 8px}
.ai-update-status{font-size:13px;line-height:1.7;color:#52655a;margin:0 0 20px}
.ai-update-notes{font:inherit;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;margin:0 0 20px;padding:14px;background:#f7f9f7;border-radius:10px}
.ai-update-beta{border-top:1px solid #e5eae5;padding:18px 0}.ai-update-beta p{font-size:12px;line-height:1.8;color:#66756b;margin:0 0 10px}.ai-update-beta .ai-update-beta-version{color:#354e3e}
.ai-plugin-update-dialog button{font:inherit;font-size:13px;border:1px solid #dce3dd;border-radius:8px;padding:9px 14px;background:#fff;cursor:pointer}.ai-plugin-update-dialog button:disabled{opacity:.5;cursor:default}
.ai-update-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid #e5eae5;padding-top:18px}.ai-update-actions .ai-update-primary{background:#34bf68;color:#fff;border-color:#34bf68}
@media(max-width:580px){.ai-plugin-update-dialog{padding:20px}.ai-plugin-update-entry{padding:6px 9px;font-size:12px}}

.ai-plugin-update-entry[hidden],.ai-plugin-update-dialog [hidden]{display:none!important}
.ai-plugin-update-entry{display:inline-flex;align-items:center;gap:6px}
.ai-plugin-update-entry::before{content:"↑";font-size:17px;font-weight:600;line-height:1}
.ai-plugin-update-dialog{position:relative}
.ai-plugin-update-dialog h2{padding-right:30px}
.ai-plugin-update-dialog .ai-update-close{position:absolute;right:16px;top:16px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#68756c;font-size:25px;line-height:1}
.ai-plugin-update-dialog .ai-update-close:hover{background:#f0f4f1}
.ai-plugin-update-dialog .ai-update-check{border-radius:999px;padding:9px 20px;background:#f3f8f4;color:#315d3e;border-color:#d8e6dc}

/* Keep dialog controls visible within the SketchUp browser viewport. */
.ai-plugin-update-dialog,.immersive .ai-plugin-update-dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:hidden;margin:auto}
.ai-plugin-update-dialog[open]{display:flex;flex-direction:column}
.ai-plugin-update-dialog h2,.ai-plugin-update-dialog .ai-update-actions{flex-shrink:0}
.ai-update-body{min-height:0;overflow:auto;overscroll-behavior:contain}
.ai-update-body .ai-update-notes{max-height:none;overflow:visible}
.ai-plugin-update-dialog .ai-update-close::before,.ai-plugin-update-dialog .ai-update-close::after{content:"";position:absolute;left:50%;top:50%;width:17px;height:2px;border-radius:1px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.ai-plugin-update-dialog .ai-update-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
@media(max-height:600px){.ai-plugin-update-dialog{padding:18px 20px}.ai-plugin-update-dialog h2{margin-bottom:14px}.ai-plugin-update-dialog .ai-update-actions{padding-top:12px}.ai-plugin-update-dialog .ai-update-close{top:12px;right:12px}}

#member-plugin-update{height:36px;border-top:1px solid #e5eae6;color:#268247;text-align:center}
#member-plugin-update:hover{background:#f0f8f2}

/* AI account menu follows the website's icon-and-label rows. */
.member-card.ai-member-card[data-mode=account]{width:320px;padding:20px;border-radius:20px}
.ai-member-card .member-identity-controls{gap:0;margin-top:18px}
.ai-member-card .member-identity-controls>p:not(:empty),.ai-member-card #member-team-choices:not([hidden]){margin-bottom:12px}
.ai-member-card #member-plugin-update,.ai-member-card #member-logout{display:flex;align-items:center;justify-content:flex-start;gap:14px;width:100%;height:auto;min-height:58px;padding:16px 12px;border:0;border-top:1px solid #eceeed;border-radius:0;background:transparent;color:#3f4742;font-size:15px;font-weight:500;line-height:24px;text-align:left}
.ai-member-card #member-plugin-update:hover,.ai-member-card #member-logout:hover{background:#f5f7f5}
.ai-member-card #member-plugin-update:focus-visible,.ai-member-card #member-logout:focus-visible{outline:2px solid #268247;outline-offset:-2px;border-radius:6px}
.ai-member-card .member-menu-icon{display:flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;color:#101a13}
.ai-member-card .member-menu-icon svg{display:block;width:24px;height:24px}
.ai-member-card #member-logout[hidden]{display:none}

.ai-update-progress{flex-shrink:0;padding:12px 0 16px}.ai-update-progress p{font-size:12px;color:#53675a;margin:0 0 8px}.ai-update-progress progress{display:block;width:100%;height:8px;border:0;border-radius:999px;overflow:hidden;accent-color:#34bf68}.ai-update-progress progress::-webkit-progress-bar{background:#e9eeea;border-radius:999px}.ai-update-progress progress::-webkit-progress-value{background:#34bf68;border-radius:999px}.ai-update-progress progress:indeterminate{background:linear-gradient(90deg,#e9eeea,#34bf68,#e9eeea);background-size:200% 100%;animation:ai-update-pending 1.4s linear infinite}.ai-update-progress progress:indeterminate::-webkit-progress-bar{background:transparent}
.ai-update-result{padding:14px 16px;margin:0 0 16px;border-radius:10px;background:#edf8f0;color:#266440}.ai-update-result.failed{background:#fff1ee;color:#a34435}.ai-update-result strong{display:block;font-size:14px}.ai-update-result p{font-size:13px;line-height:1.7;margin:6px 0 0;overflow-wrap:anywhere}
@keyframes ai-update-pending{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.ai-update-progress progress:indeterminate{animation:none}}

.ai-update-result .ai-update-restart{color:#c43e35;font-weight:600}

/* Brush outline is in screen pixels and matches the normalized paint radius. */
.round-brush-cursor,.round-brush-cursor *{cursor:var(--round-brush-cursor,auto)!important}
.immersive .space-pan .round-brush-cursor,.immersive .space-pan .round-brush-cursor *{cursor:grab!important}
.immersive .panning .round-brush-cursor,.immersive .panning .round-brush-cursor *{cursor:grabbing!important}

/* SU base mode */
.base-mode-row{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;min-height:32px;margin:12px 0 0;font-size:12px;color:#52655a}.base-mode-row[hidden]{display:none}.immersive .settings #base-mode-row:not([hidden]) ~ #render-standard-group{margin-top:16px}.base-mode-row label{font-weight:500}.base-mode-row select{width:118px;height:30px;padding:0 8px;border:1px solid #dce4de;border-radius:6px;background:#fff;color:#33473a;font:inherit;cursor:pointer}.base-mode-row select:focus-visible{outline:2px solid #38b976;outline-offset:2px}.base-mode-label{display:inline-flex;align-items:center;gap:6px}#base-mode-help{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;border:1px solid #829087;border-radius:50%;background:transparent;color:#64796b;font-size:10px;cursor:pointer}#base-mode-help:focus-visible{outline:2px solid #38b976;outline-offset:3px}#base-mode-tip{position:fixed;left:0;width:max-content;max-width:calc(100vw - 110px);z-index:40;box-sizing:border-box;padding:12px 14px;background:#fff;border-radius:8px;box-shadow:0 4px 16px #173c2320;color:#42574a;font-size:12px;line-height:1.7;text-wrap:wrap}#base-mode-tip strong{font-weight:600;white-space:nowrap}#base-mode-tip[hidden]{display:none}
