/* The original studio layout, with a wider frame and a quiet graphite finish. */
:root{--display:'MiSans','PingFang SC','Microsoft YaHei','Segoe UI',sans-serif;--bg:#f4f4f3;--surface:#fdfdfc;--stage:#eaeae8;--line:#d6d6d3;--blue:#535754;--button:#242624;--on-button:#fff}
body.dark{--bg:#111212;--surface:#1b1c1c;--stage:#252626;--ink:#f0f0ed;--muted:#ababaa;--faint:#838584;--line:#ffffff22;--blue:#c2c9c6;--button:#ededE9;--on-button:#181a19;--shadow:0 15px 45px #0002}
.header{background:var(--bg)}.nav-wrap{max-width:none;padding-inline:clamp(24px,3vw,52px);gap:46px}
nav a{padding:7px 12px;border:1px solid transparent;border-radius:22px;text-align:center}nav a.active{border-color:var(--line);background:var(--surface)}
.studio-layout .workspace{background:linear-gradient(135deg,#ffffff05,transparent 60%),var(--stage);box-shadow:inset 0 1px #ffffff0a}
.result-column{background:linear-gradient(145deg,#ffffff03,transparent 60%),var(--surface);box-shadow:inset 0 1px #ffffff08}
.studio-intro h1{font-weight:500;letter-spacing:-.5px}.studio-layout .studio-intro>span,.studio-layout .prompt-field>p,.studio-layout .generation-spec,#inline-caption{display:none!important}
.is-bilingual>.ui-en{display:block;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:.68em;font-weight:400;line-height:1.35;letter-spacing:.04em;opacity:.6;margin-top:4px;text-transform:none}
nav .ui-en{font-size:8px;letter-spacing:.02em;margin-top:2px}.brand strong{font-family:var(--display)}
.studio-intro h1>.ui-en{font-size:11px;margin-top:5px;letter-spacing:.03em}.studio-intro p>.ui-en{font-size:9px}
.studio-layout .upload-target strong{font-weight:400;font-size:12px}.upload-target strong>.ui-en{font-size:9px;margin-top:4px}
.prompt-field label>.ui-en{font-size:9px;margin:0 0 0 auto}.prompt-field label{flex-wrap:wrap}.prompt-field textarea{background:var(--surface)}
.studio-layout .workspace-action .primary{height:50px;background:var(--button);color:var(--on-button);border:1px solid var(--line);box-shadow:inset 0 1px #ffffff24;gap:12px}
#generate>span{line-height:1.1}#generate>span>.ui-en{font-size:9px;margin-top:4px;letter-spacing:.02em;opacity:.65}
.result-heading h2{font-weight:500}.result-heading h2>.ui-en{font-size:9px;margin-top:4px}.result-heading a{text-align:right;font-size:11px}.result-heading a>.ui-en{font-size:8px}
.inline-label{border:1px solid #ffffff24;backdrop-filter:blur(12px);font-size:10px;line-height:1.1;text-align:center;border-radius:12px;padding:6px 9px}.inline-label>.ui-en{font-size:8px;margin-top:3px;opacity:.7}
.category-copy strong>.ui-en{font-size:9px;letter-spacing:.06em;margin-top:4px;color:#fff;opacity:.7}.category-copy small:not(.ui-en){display:none!important}.room-category{border:1px solid #ffffff18}.room-category .category-copy{bottom:13px}.gallery-total>.ui-en,.gallery-note>.ui-en{font-size:8px}.gallery-toolbar{align-items:center}
.loading-copy h2>.ui-en{font-size:12px;letter-spacing:.02em;margin-top:10px}.loading-eyebrow>.ui-en{font-size:8px;letter-spacing:.06em}.loading-footnote>.ui-en{font-size:8px}.loading-live{display:block;text-align:right}.loading-live:before{display:inline-block;margin-right:6px}.loading-live>.ui-en{font-size:8px;margin-top:3px}.loading-copy p>.ui-en{font-size:9px}.loading-copy h2{margin:12px 0}.loading-orbit{width:clamp(145px,24svh,245px);margin-bottom:14px}.loading-dots{margin:12px 0}.loading-footnote{margin-top:4px}
.generation-jobs[hidden]{display:none!important}.generation-jobs{display:grid;grid-template-columns:1fr;gap:6px;margin-top:12px;max-height:126px;overflow:auto;padding:2px;scrollbar-width:thin;text-align:left}
.generation-job{border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--surface);color:var(--muted);text-align:left}
.generation-job[aria-pressed=true]{border-color:var(--ink);color:var(--ink)}.generation-job strong{font-weight:500;font-size:11px}.generation-job strong:after{content:'DESIGN';display:block;font-size:7px;letter-spacing:1px;opacity:.5;margin-top:2px}.generation-job>span{font-size:10px;text-align:right}.generation-job small{display:block;font-size:8px;opacity:.55;margin-top:2px}.generation-job[data-state=running]>span:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#ad9cdb;margin-right:6px;animation:loading-breathe 3s ease-in-out infinite}.generation-job[data-state=failed]{opacity:.6}
@media(min-width:1000px){
  main.studio-layout{width:calc(100% - 48px);max-width:none;padding-top:18px;grid-template-columns:clamp(270px,18vw,360px) minmax(0,1fr);gap:20px}
  .studio-layout .workspace{padding:18px;min-height:clamp(510px,69svh,760px)}
  .result-column{--result-image-height:clamp(300px,calc(69svh - 98px),650px);padding:20px}
  .studio-layout .studio-intro p{margin:10px 0 12px;font-size:10px}.studio-layout .photo-stage{height:clamp(76px,10svh,118px)}
  .studio-layout .photo-panel .panel-heading{height:0;min-height:0;margin:0;overflow:hidden}.studio-layout .upload-grid{gap:12px}.studio-layout .prompt-field{margin-top:14px}.studio-layout .prompt-field textarea{height:clamp(62px,8svh,90px);min-height:62px}
  .studio-layout+.inspiration-wide{padding-inline:24px;margin-top:20px}.room-category{height:clamp(65px,8svh,100px)}
}
@media(min-width:1000px) and (max-height:800px){.studio-layout .workspace{min-height:490px;padding:16px}.studio-intro h1{font-size:22px}.studio-layout .photo-stage{height:76px}.studio-layout .studio-intro p{margin:7px 0 10px}.result-column{--result-image-height:calc(69svh - 92px)}}
@media(max-width:999px){nav{gap:6px}.nav-wrap{gap:20px}.is-bilingual>.ui-en{letter-spacing:0}.studio-layout .workspace-action .primary{gap:8px}.loading-copy h2>.ui-en{font-size:10px}}
@media(max-width:680px){.nav-wrap{gap:10px;padding-inline:16px}nav a{padding:4px}.nav-wrap nav{gap:4px}nav .ui-en{font-size:6px}#quota-count .ui-en{display:none}.studio-intro h1{font-size:23px}.studio-layout .upload-target strong{font-size:11px}.studio-layout .upload-target strong>.ui-en{font-size:8px}.result-column:has(.result-loading:not([hidden])){min-height:495px}.category-copy strong>.ui-en{font-size:8px}.gallery-toolbar .gallery-total{font-size:9px}}
@media(prefers-reduced-motion:reduce){.generation-job[data-state=running]>span:before{animation:none}}
.upload-target strong>.ui-en,.category-copy strong>.ui-en{display:block!important}
.studio-layout .prompt-field label{display:block}.prompt-field label>span{display:inline-block;margin-left:5px}.prompt-field label>.ui-en{margin:4px 0 0;font-size:9px}
.studio-layout .upload-target{gap:5px;padding:8px}.studio-layout .upload-symbol{width:25px;height:25px}.studio-layout .upload-symbol svg{width:15px;height:15px}.studio-layout .upload-target strong{font-size:11px}.upload-target strong>.ui-en{font-size:8px;margin-top:3px}
.result-placeholder{padding:24px 10px}.result-placeholder h2{margin:12px 0 24px}.result-placeholder h2>.ui-en{font-size:13px;margin-top:10px}.result-placeholder .placeholder-icon{width:90px;height:90px;margin-bottom:20px}.result-placeholder .placeholder-note{margin-top:20px}
.studio-layout .workspace-action .primary:disabled{background:var(--line);color:var(--muted);border-color:var(--line);opacity:.7}
#gallery-count>.ui-en,.gallery-guidance>.ui-en{font-size:8px;margin-top:3px}.gallery-guidance{text-align:right}
@media(min-width:1000px){.studio-layout .workspace{height:clamp(490px,69svh,760px);min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.result-column{min-height:0;max-height:clamp(490px,69svh,760px)}.result-placeholder{padding-block:15px}.result-placeholder h2{font-size:clamp(24px,2.5vw,36px)}.placeholder-note{margin-top:15px}}
@media(min-width:1000px){
  .header{height:60px}main.studio-layout{padding-top:14px}
  .studio-layout .workspace{height:clamp(470px,66svh,760px);min-height:0}
  .result-column{max-height:clamp(470px,66svh,760px);--result-image-height:calc(66svh - 100px)}
  .studio-layout+.inspiration-wide{margin-top:16px}
  .room-category{height:clamp(60px,8svh,100px)}
  .gallery-toolbar{margin:12px 0}.gallery-toolbar button{padding:5px 12px;font-size:9px}.gallery-toolbar button>.ui-en{font-size:7px;margin-top:2px}
}
.page-heading .eyebrow,.gallery-preview-overline,dialog .overline{display:none}
.gallery-preview-sidebar p>.ui-en{font-size:10px;line-height:1.7;margin-top:8px}.gallery-preview-title>.ui-en{font-size:12px;margin-top:8px}
/* Full-screen image viewing; taps and comparison drags remain separate. */
#inline-range{cursor:zoom-in}#inline-range:active{cursor:ew-resize}
.result-zoom-open{position:absolute;right:12px;bottom:12px;z-index:5;border:1px solid #ffffff40;border-radius:12px;padding:7px 11px;background:#141616b8;backdrop-filter:blur(12px);color:#fff;font-size:10px;text-align:left;opacity:0;transition:opacity .2s;cursor:zoom-in}
.inline-comparison:hover .result-zoom-open,.inline-comparison:focus-within .result-zoom-open{opacity:1}.result-zoom-open>.ui-en{font-size:8px;margin-top:2px}
#result-zoom-dialog{box-sizing:border-box;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;padding:16px 24px 22px;margin:0;border:0;border-radius:0;background:#0c0d0e;color:#f1f2ef;overflow:hidden}
#result-zoom-dialog[open]{display:flex;flex-direction:column;gap:12px}#result-zoom-dialog::backdrop{background:#060708ed;backdrop-filter:blur(12px)}
.result-zoom-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-shrink:0;min-height:52px}.result-zoom-toolbar h2{font-family:var(--display);font-size:15px;font-weight:500;margin:0}.result-zoom-toolbar h2>.ui-en{font-size:9px;letter-spacing:.02em;margin-top:4px}
.result-zoom-actions{display:flex;align-items:center;gap:12px}.zoom-tool{display:block;background:transparent;color:#e8e9e6;border:1px solid #ffffff2b;border-radius:12px;padding:7px 12px;text-align:left;font-size:11px;cursor:pointer}.zoom-tool>.ui-en{font-size:8px;margin-top:3px}.zoom-tool[aria-pressed=true]{background:#ffffff1c;border-color:#ffffff80}.result-zoom-actions .dialog-close{width:38px;height:38px;border:1px solid #ffffff2b;background:#ffffff08;color:#fff}
.result-zoom-viewport{min-height:0;flex:1;display:grid;place-items:center;overflow:hidden}
.result-zoom-frame{position:relative;aspect-ratio:var(--zoom-ratio,1.3333);width:min(100%,calc((100dvh - 110px) * var(--zoom-ratio,1.3333)));max-height:100%;overflow:hidden;background:#0c0d0e;border-radius:8px}
.result-zoom-frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}#result-zoom-after{z-index:1;background:#0c0d0e}
.zoom-image-label{position:absolute;top:12px;z-index:2;pointer-events:none;padding:6px 10px;border:1px solid #ffffff30;border-radius:12px;background:#101313b3;backdrop-filter:blur(12px);font-size:10px;color:#fff;text-align:center}.zoom-label-after{left:12px}.zoom-label-before{right:12px}.zoom-image-label>.ui-en{font-size:8px;margin-top:3px}
.result-zoom-divider{position:absolute;top:0;bottom:0;width:2px;background:#fff;pointer-events:none;z-index:3}.result-zoom-divider>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#222;box-shadow:0 3px 20px #0005}
#result-zoom-range{position:absolute;inset:0;z-index:4;width:100%;height:100%;opacity:0;margin:0;cursor:ew-resize;touch-action:pan-y}.result-zoom-frame:focus-within{outline:2px solid #ccd0cc;outline-offset:3px}
@media(hover:none){.result-zoom-open{opacity:1}}
@media(max-width:600px){#result-zoom-dialog{padding:12px 10px}.result-zoom-toolbar{gap:10px;align-items:flex-start}.result-zoom-toolbar h2{font-size:12px}.result-zoom-toolbar h2>.ui-en{font-size:7px;max-width:100px}.result-zoom-actions{gap:6px}.zoom-tool{padding:6px 8px;font-size:9px}.zoom-tool>.ui-en{font-size:7px;letter-spacing:0;max-width:100px}.result-zoom-actions .dialog-close{width:30px;height:30px}.result-zoom-frame{width:min(100%,calc((100dvh - 110px) * var(--zoom-ratio,1.3333)))}.result-zoom-open{right:8px;bottom:8px;padding:5px 8px}}
@media(prefers-reduced-motion:reduce){.result-zoom-open{transition:none}}

/* Keep the compact studio free of explanatory copy once the controls are visible. */
.studio-layout .studio-intro>p{display:none!important}
.studio-layout+.inspiration-wide .gallery-toolbar{display:none!important}

/* The two panel titles share a single visual baseline and type scale. */
:root{--studio-panel-title-size:26px}
.studio-intro h1,.result-heading h2{font-family:var(--display);font-size:var(--studio-panel-title-size);font-weight:500;letter-spacing:-.5px;line-height:1.4}
.result-heading{align-items:flex-start;margin:8px 0 16px}
.result-heading h2{margin:0}
@media(min-width:1000px) and (max-height:800px){:root{--studio-panel-title-size:22px}}

/* Preview controls remain compact over narrow portrait reference images. */
.studio-layout .photo-actions{top:8px;right:8px;gap:4px;max-width:calc(100% - 16px);align-items:center}
.studio-layout .photo-actions button{height:27px;padding:5px 8px;white-space:nowrap;font-size:9px}
.studio-layout .photo-actions .remove-button{width:27px;padding:5px}
.studio-layout .photo-actions button>.ui-en,.studio-layout .photo-view-hint>.ui-en{display:none!important}
.studio-layout .photo-caption{display:none}
.studio-layout .photo-view{cursor:zoom-in}
.photo-zoom-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:20px;border-radius:0;background:#0c0d0e;display:none;place-items:center}
.photo-zoom-dialog[open]{display:grid}
.photo-zoom-dialog>img{max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);width:auto;height:auto;border-radius:8px;object-fit:contain}
.photo-zoom-dialog .dialog-close{position:fixed;right:20px;top:20px}
@media(max-width:680px){.photo-zoom-dialog{padding:12px}.photo-zoom-dialog>img{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.photo-zoom-dialog .dialog-close{right:12px;top:12px}}

/* Result view: use the available stage instead of putting the photo in a framed card. */
.result-column{--result-image-height:calc(66svh - 48px)}
.inline-comparison{background:transparent;border-radius:10px}
#inline-after{background:transparent}
#inline-comparison .inline-label,#result-zoom-open{display:none!important}
.inline-comparison:hover .result-zoom-open,.inline-comparison:focus-within .result-zoom-open{display:none!important}
#inline-divider{background:#ffffffd9}
#inline-divider span{width:38px;height:38px;box-shadow:0 2px 14px #0005}

/* Give the input images priority in the left column; keep the optional prompt compact. */
@media(min-width:1000px){
  .studio-layout .photo-stage{height:clamp(108px,13svh,150px)}
  .studio-layout .upload-grid{gap:12px}
  .studio-layout .prompt-field{margin-top:12px}
  .studio-layout .prompt-field textarea{height:48px;min-height:48px;padding:8px 10px;line-height:1.45;resize:none}
  .studio-layout .workspace-action{padding-top:10px;padding-bottom:12px}
  .studio-layout .workspace-action .primary{height:42px}
  .result-column{--result-image-height:calc(66svh - 48px)}
}

/* The categories and image library keep one deliberate, even rhythm after the toolbar is removed. */
.studio-layout+.inspiration-wide .room-categories{margin-bottom:16px}
.studio-layout+.inspiration-wide .masonry-gallery{margin-top:0}
.login-entry{border:1px solid #d5ff0040;border-radius:22px;padding:5px 16px;background:#d5ff0010;color:var(--ink);font-size:11px;line-height:1.2;text-align:center}.login-entry small{display:block;font-size:8px;opacity:.6;margin-top:3px}
.result-column:has(#generated-result:not([hidden])){align-items:stretch;overflow:hidden}
.result-column #generated-result{min-height:0;display:flex;flex-direction:column}
.result-column .result-heading{flex-shrink:0}
.result-column #inline-comparison{flex-shrink:0;margin:auto;max-width:100%;outline:none;box-shadow:none}
@media(min-width:1000px){.result-column{height:clamp(470px,66svh,760px)}}
@media(max-width:999px){.result-column:has(#generated-result:not([hidden])){height:clamp(380px,66svh,700px)}}
#login-dialog{width:min(1080px,calc(100vw - 48px));max-width:1080px;max-height:calc(100dvh - 40px);padding:12px;border-radius:26px;background:#111314;color:#f3f4ef;border:1px solid #ffffff12;overflow:auto;box-shadow:0 28px 100px #0009}
#login-dialog::backdrop{background:#000b;backdrop-filter:blur(7px)}
.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:min(620px,calc(100dvh - 66px))}
.login-showcase{position:relative;border-radius:18px;overflow:hidden;min-height:500px;background:#292d23}
.login-showcase>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:48% 50%}
.login-showcase:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0006,transparent 35%,#0002 50%,#000d)}
.login-image-top{position:absolute;top:25px;left:26px;z-index:1;color:#fff;font-size:18px;font-weight:600}.login-image-top small{display:block;letter-spacing:.15em;font-size:8px;font-weight:400;margin-top:5px;opacity:.7}
.login-image-copy{position:absolute;z-index:1;left:30px;right:25px;bottom:32px}.login-image-copy>span{font-size:9px;letter-spacing:.14em;color:#ddf3ab}.login-image-copy h2{font-size:42px;line-height:1.3;font-weight:600;letter-spacing:-1px;margin:14px 0}.login-image-copy p{font-size:15px;line-height:1.6;color:#ffffffb0;margin:0 0 26px}.login-image-tags{font-size:10px;color:#ffffffbc;display:flex;gap:12px;align-items:center}.login-image-tags i{width:3px;height:3px;background:#d5ff00;border-radius:50%}
.login-form-panel{padding:36px 48px 24px;display:flex;flex-direction:column;justify-content:center;text-align:center}
.login-mark{align-self:center;background:#d5ff00;color:#151907;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:27px;margin-bottom:20px}
#login-title{font-size:26px;font-weight:600;letter-spacing:-.6px;line-height:1.3}#login-title small{display:block;font-size:13px;font-weight:400;color:#a6aaa3;margin-top:8px;letter-spacing:0}
.login-subtitle{font-size:12px;color:#989c96;margin:15px 0 22px}.login-subtitle small,.login-gift small,.login-status small,.login-privacy small,.login-service-note small{display:block;font-size:9px;line-height:1.5;margin-top:4px;opacity:.65;letter-spacing:.02em}
.login-gift{font-size:12px;padding:12px 10px;background:#d5ff0010;border:1px solid #d5ff0010;border-radius:12px;color:#d5ff00;margin-bottom:23px}
#phone-login-form{text-align:left}#phone-login-form label{display:flex;justify-content:space-between;font-size:11px;color:#bbc0b6;margin-bottom:8px}#phone-login-form label small{font-size:9px;color:#777f75}
.login-phone-field,.login-code-field{display:flex;align-items:center;height:48px;background:#202324;border:1px solid #ffffff0e;border-radius:11px;margin-bottom:17px;overflow:hidden}.login-phone-field>span{font-size:12px;padding:0 13px;border-right:1px solid #ffffff18;color:#c5c9bf}
#phone-login-form input{width:100%;min-width:0;padding:12px;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-size:12px}#phone-login-form input::placeholder{color:#6f756f}#phone-login-form input[aria-invalid=true]{color:#ff99ac}.login-phone-field:focus-within,.login-code-field:focus-within{border-color:#d5ff0080}
#login-send-code{flex-shrink:0;margin-right:5px;border:0;border-radius:8px;padding:6px 12px;background:#353a30;color:#a3ad8b;font-size:10px;line-height:1.2}#login-send-code small,#login-submit small{display:block;font-size:8px;font-weight:400;opacity:.65;margin-top:3px}
.login-status{margin:-4px 0 16px;font-size:10px;line-height:1.6;color:#b7bdac}
#login-submit{width:100%;height:48px;border:0;border-radius:11px;background:#d5ff00;color:#192000;font-size:13px;font-weight:600}#login-submit:disabled{background:#30352a;color:#939c80;cursor:not-allowed}
.login-privacy{font-size:9px;color:#90978a;line-height:1.7;margin:18px 0 0}.login-service-note{font-size:9px;color:#686f63;margin-top:18px}
#login-dialog .login-close{position:absolute;right:20px;top:20px;z-index:2;background:#ffffff0b;color:#ddd;border:1px solid #ffffff0d;width:31px;height:31px}
@media(min-width:701px) and (max-height:760px){.login-layout{min-height:0}.login-showcase{min-height:540px}.login-form-panel{padding:20px 40px 16px}.login-mark{margin-bottom:12px}.login-subtitle{margin:10px 0 15px}.login-gift{margin-bottom:16px}.login-service-note{margin:10px 0 0}.login-privacy{margin-top:12px}}
@media(max-width:700px){#login-dialog{width:calc(100vw - 24px);padding:0;border-radius:20px}.login-layout{display:block;min-height:0}.login-showcase{display:none}.login-form-panel{padding:35px 25px 24px}#login-title{font-size:24px}.login-mark{margin-bottom:16px}.login-entry{padding-inline:10px}}
@media(max-width:680px){.studio-layout+.inspiration-wide .room-categories{margin-bottom:12px}}

/* Upload guide: wide two-column dialog, image left / copy right. */
#room-photo-guide{width:min(1580px,calc(100vw - 56px));max-width:none;max-height:calc(100vh - 56px);padding:0;background:#1b1d1d;color:#f1f2ed;border:1px solid #ffffff20;border-radius:22px;text-align:left;overflow:hidden}
#room-photo-guide:not([open]){display:none}
#room-photo-guide[open]{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);min-height:min(606px,calc(100vh - 56px))}
#room-photo-guide>.dialog-close{position:absolute;right:14px;top:14px;z-index:2;color:#aaa}
.photo-guide-media{min-width:0;min-height:0;display:flex;flex-direction:column}
.photo-guide-example{position:relative;overflow:hidden;background:#252826;flex:1;min-height:0;display:flex;flex-direction:column}
.photo-guide-example img{display:block;width:100%;height:0;flex:1 1 0;min-height:0;object-fit:cover}
.photo-guide-example>span{display:block;font-size:12px;text-align:left;padding:14px 20px;color:#d6e8af;background:#1b1d1d}
.photo-guide-example>span small{font-size:10px;margin-top:3px}
.photo-guide-body{min-width:0;padding:40px 46px;display:flex;flex-direction:column;justify-content:center}
.photo-guide-icon{width:42px;height:42px;display:grid;place-items:center;margin:0 0 18px;background:#d5ff0010;color:#d5ed99;border-radius:12px}
#room-photo-guide h2{font-family:var(--display);font-size:28px;font-weight:500;line-height:1.4}
#room-photo-guide small{display:block;font-size:11px;font-weight:400;line-height:1.5;color:#8f958a;letter-spacing:0;margin-top:6px}
#room-photo-guide p{font-size:13px;line-height:1.85;color:#bdc2b7;margin:18px 0}
#room-photo-guide .photo-guide-avoid{font-size:12px;margin:14px 0 26px}
#room-photo-guide-continue{width:100%;display:block;background:var(--brand-accent,#d5ff00);color:#1c1e1a;padding:14px;font-size:13px;border-radius:12px}
#room-photo-guide-continue small{color:#414a28;font-size:10px;margin-top:3px}
@media(max-width:900px){#room-photo-guide{width:calc(100vw - 24px);max-width:460px;padding:28px;text-align:center;overflow:auto}#room-photo-guide[open]{display:block;min-height:0}.photo-guide-media{display:block}.photo-guide-example{display:block;border-radius:12px}.photo-guide-example img{height:160px;flex:none;min-height:0}.photo-guide-example>span{background:#252826;padding:10px 14px;font-size:11px}.photo-guide-body{padding:0;display:block}.photo-guide-icon{margin:0 auto 16px}#room-photo-guide h2{font-size:22px}#room-photo-guide p{font-size:12px;margin:18px 0}#room-photo-guide-continue{padding:11px;font-size:12px}}
@media(max-width:900px) and (max-height:700px){#room-photo-guide{padding:20px}.photo-guide-icon{margin-bottom:10px}.photo-guide-example img{height:120px}#room-photo-guide p{margin:12px 0}}
.result-loading .loading-topline,.result-loading .loading-copy,.result-loading .loading-footnote{display:none!important}
.result-loading{min-height:0;padding:24px;align-items:center;justify-content:center;text-align:center;gap:22px}
.result-loading .loading-orbit{width:clamp(150px,23svh,250px);margin:0;flex-shrink:0}
.result-loading .orbit-core{animation:none}
#generation-progress-ring{color:#ece6fa;line-height:1;font-variant-numeric:tabular-nums}
#generation-percent{font-size:clamp(36px,5svh,58px);font-weight:300;letter-spacing:-2px}
#generation-progress-ring sup{font-size:15px;vertical-align:super;margin-left:3px;color:#b6a7d0}
#generation-progress-ring small{display:block;font-size:9px;letter-spacing:1px;margin-top:11px;color:#8c819f}
.loading-simple-copy>p{font-size:16px;letter-spacing:1px;color:#ded7ec;margin:0}
.loading-simple-copy small{display:block;font-size:10px;font-weight:400;letter-spacing:.03em;color:#8e859f;margin-top:7px}
.loading-simple-copy>span{display:block;font-size:11px;color:#9a91ac;margin-top:14px;letter-spacing:.03em}
.room-category[aria-pressed=false]{background:#292a2a;color:#b4b6b4}
.room-category[aria-pressed=false]>img{filter:grayscale(1) brightness(.38)}
.room-category[aria-pressed=false]:after{background:#1117}
.room-category[aria-pressed=false] .category-copy strong>.ui-en{color:#aaa;opacity:.65}
.room-category[aria-pressed=true]>img{filter:brightness(.9)}
.room-category[aria-pressed=true]{color:#fff}
.room-category>img{transition:filter .25s,transform .6s}
.result-column:has(#generated-result:not([hidden])){position:relative}
.result-column #generated-result{height:100%;justify-content:center}
.result-column .result-heading{position:absolute;top:20px;left:20px;right:20px;z-index:6;margin:0;pointer-events:none}
.result-column .result-heading a{pointer-events:auto}
.result-column .result-heading h2{max-width:24%}
@media(min-width:1000px){.result-column:has(#generated-result:not([hidden])){padding-block:12px}}
@media(max-width:999px){.result-column .result-heading{position:static;margin:0 0 12px}.result-column .result-heading h2{max-width:none}}
@media(min-width:1000px){
  main.studio-layout{grid-template-columns:clamp(290px,21vw,400px) minmax(0,1fr)}
  .studio-layout .workspace{display:flex;flex-direction:column;padding:20px;overflow-y:auto;gap:0}
  .studio-layout .studio-intro{flex:0 0 auto;margin-bottom:10px}
  .studio-layout .studio-intro h1{margin:4px 0 0}
  .studio-layout .upload-grid{flex:1 1 0;min-height:190px;grid-template-rows:1fr 1fr;gap:22px;align-items:stretch}
  .studio-layout .photo-panel{min-height:0;display:flex;flex-direction:column}
  .studio-layout .photo-stage{height:auto;min-height:90px;flex:1}
  .studio-layout .photo-panel .panel-heading{flex:0 0 0;height:0;min-height:0;margin:0;overflow:hidden}
  .studio-layout .photo-tip{display:none}
  .studio-layout .upload-target{gap:10px;padding:12px}
  .studio-layout .upload-symbol{width:32px;height:32px;margin:0}
  .studio-layout .upload-symbol svg{width:18px;height:18px}
  .studio-layout .upload-target strong{font-family:var(--display);font-size:13px;font-weight:400;letter-spacing:0}
  .studio-layout .upload-target strong>.ui-en{font-size:9px;line-height:1.4;margin-top:5px;letter-spacing:.02em}
  .studio-layout .prompt-field{flex:0 0 auto;margin-top:22px}
  .studio-layout .prompt-field label{font-size:12px;font-weight:500}
  .studio-layout .prompt-field label>.ui-en{font-size:9px;letter-spacing:.02em}
  .studio-layout .prompt-field textarea{height:48px;min-height:48px;font-family:inherit;font-size:11px;line-height:1.5;margin-top:8px}
  .studio-layout .workspace-action{flex:0 0 auto;padding:10px 0 8px}
  .studio-layout .workspace-action .primary{height:44px;font-family:inherit;font-size:12px}
  .studio-layout .workspace-action .primary .ui-en{font-size:9px}
}
@media(min-width:1000px) and (max-height:760px){
  .studio-layout .workspace{padding:16px}
  .studio-layout .upload-grid{gap:14px;min-height:180px}
  .studio-layout .prompt-field{margin-top:14px}
  .studio-layout .upload-target{gap:6px}
}
/* Accent treatment for the three primary entry points. */
.studio-layout #generate,.masonry-gallery .use-label,.nav-right .login-entry{
  background:#d5ff00;color:#151800;border:0;
  box-shadow:0 5px 0 #849d18;
  font-family:inherit;font-weight:600;
  transition:background .18s,box-shadow .18s,translate .18s,opacity .18s,transform .2s;
}
.studio-layout #generate{height:50px;min-height:50px;border-radius:17px;font-size:13px;gap:12px;margin-bottom:5px}
.studio-layout #generate>span>.ui-en{color:#303900;opacity:.7;font-size:9px;margin-top:4px}
.studio-layout #generate svg{width:18px;height:18px;flex-shrink:0}
.masonry-gallery .use-label{
  display:grid;grid-template-columns:minmax(0,1fr) 12px;column-gap:6px;row-gap:1px;
  align-content:center;height:34px;min-height:34px;padding:5px 10px;
  width:60%;min-width:min(150px,calc(100% - 20px));max-width:180px;
  left:0;right:0;margin-inline:auto;bottom:14px;border-radius:10px;
  font-size:10px;line-height:1.3;text-align:left;box-shadow:0 3px 0 #849d18;
}
.masonry-gallery .style-cover .use-label{display:grid!important}
.masonry-gallery .use-label>.ui-en{grid-column:1;grid-row:2;font-size:7px;line-height:1.2;margin:0;letter-spacing:.02em;opacity:.65;color:#303900}
.masonry-gallery .use-label>svg{grid-column:2;grid-row:1 / 3;width:12px;height:12px}
.nav-right .login-entry{min-width:66px;min-height:38px;padding:6px 15px;border-radius:13px;font-size:12px;line-height:1.2;margin-bottom:4px;flex-shrink:0}
.nav-right .login-entry small{font-size:8px;margin-top:3px;opacity:.65;color:#303900}
.studio-layout #generate:enabled:hover,.masonry-gallery .use-label:hover,.nav-right .login-entry:hover{background:#e0ff37;box-shadow:0 6px 0 #849d18;translate:0 -1px}
.studio-layout #generate:enabled:active,.masonry-gallery .use-label:active,.nav-right .login-entry:active{translate:0 3px;box-shadow:0 2px 0 #849d18}
.studio-layout #generate:focus-visible,.masonry-gallery .use-label:focus-visible,.nav-right .login-entry:focus-visible{outline:2px solid #f0ffb0;outline-offset:4px}
.studio-layout #generate:disabled{background:#d5ff00;color:#151800;border:0;box-shadow:0 5px 0 #849d18;opacity:.45;cursor:not-allowed}
.masonry-gallery .use-label:hover{box-shadow:0 4px 0 #849d18}
@media(max-width:600px){.masonry-gallery .use-label{bottom:12px}.nav-right .login-entry{min-width:54px;padding:6px 10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.studio-layout #generate,.masonry-gallery .use-label,.nav-right .login-entry{transition:none}}

/* Carry the primary button's lime accent through the loading state. */
.result-loading{background:radial-gradient(ellipse at 50% 43%,#202615 0%,#10140e 48%,#090c09 100%);color:#f3f8df}
.result-loading .orbit-halo{background:radial-gradient(circle,#d5ff0000 42%,#d5ff0027 53%,#d5ff0000 69%)}
.result-loading .orbit-ring{background:conic-gradient(from 25deg,#1b2310 0deg,#536718 65deg,#a6c923 130deg,#d5ff00 166deg,#f5ffcd 174deg,#e2ff68 186deg,#849d18 220deg,#1b2310 310deg);box-shadow:inset 0 0 16px #d5ff0070,0 0 38px #d5ff0035}
.result-loading .orbit-ring:before{background:#0b1009;box-shadow:0 0 25px 8px #080c07,inset 0 0 19px #b5d74475;border-color:#d5ff005c}
.result-loading .orbit-ring:after{border-color:#d5ff0038}
.result-loading .orbit-core{background:radial-gradient(circle at 38% 30%,#1b2213,#0a0e09 75%)}
#generation-progress-ring{color:#efffc9}
#generation-progress-ring sup{color:#d5ff00}
#generation-progress-ring small{color:#98a87d}
.loading-simple-copy>p{color:#edf5d8}
.loading-simple-copy small{color:#95a47e}
.loading-simple-copy>span{color:#a8b88f}
.generation-job[data-state=running]>span:before{background:#d5ff00}

/* Let the desktop studio fill the requested first-screen area on any monitor. */
@media(min-width:1000px){
  main.studio-layout{--desktop-studio-height:max(470px,calc(80svh - 74px))}
  .studio-layout .workspace,.studio-layout .result-column{height:var(--desktop-studio-height);min-height:0;max-height:none}
  .studio-layout .result-column{--result-image-height:calc(var(--desktop-studio-height) - 48px)}
}

/* Compact room filters with equal space above and below the row. */
.studio-layout+.inspiration-wide{margin-top:16px}
.studio-layout+.inspiration-wide .room-categories{padding-block:0;margin-block:0 16px}
.studio-layout+.inspiration-wide .room-category{height:65px;min-height:65px}
.room-category .category-copy{top:50%;bottom:auto;transform:translateY(-50%)}
.category-copy strong{font-size:15px;line-height:18px}
.category-copy strong>.ui-en{font-size:8px;line-height:11px;margin-top:2px}
.room-category .category-check{width:16px;height:16px;top:50%;transform:translateY(-50%)}
.room-category .bath-outline{height:38px;width:60px;top:2px}
@media(max-width:680px){.studio-layout+.inspiration-wide{margin-top:12px}.studio-layout+.inspiration-wide .room-categories{margin-bottom:12px}}

/* Phone binding follows the existing bilingual login panel. */
#phone-login-form[hidden],#phone-account[hidden],#login-switch-mode[hidden]{display:none!important}
#phone-login-form .phone-consent{display:flex;align-items:flex-start;justify-content:flex-start;gap:9px;margin:0 0 16px;font-size:10px;line-height:1.6;text-align:left}
#phone-login-form .phone-consent input{width:15px;height:15px;flex:0 0 15px;margin:3px 0 0;padding:0;accent-color:#d5ff00}
#phone-login-form .phone-consent small{display:block;font-size:8px;line-height:1.5}
.phone-mode-switch{border:0;background:none;color:#cbd3b6;margin:16px 0 0;padding:6px;font-size:11px;cursor:pointer}.phone-mode-switch small{display:block;font-size:9px;margin-top:4px;opacity:.6}
#phone-account{padding:15px 0;color:#bdc4b7;font-size:12px;line-height:1.7}#phone-account small{display:block;font-size:10px;opacity:.65}#phone-account-number{font-size:27px;letter-spacing:.07em;color:#f3f4ef;margin:10px 0 20px}
#phone-logout{width:100%;border:1px solid #ffffff24;border-radius:11px;background:#ffffff08;color:#e8ece2;padding:11px;margin-top:18px;font-size:12px}
#login-send-code:enabled{background:#d5ff00;color:#192000;cursor:pointer}#login-send-code:disabled{cursor:not-allowed;opacity:.65}.login-status.is-error{color:#ffa6ad}
@media(max-width:700px){.login-form-panel{padding:26px 25px 18px}.login-mark{margin-bottom:12px}.login-subtitle{margin:10px 0 14px}.login-gift{margin-bottom:16px}.login-privacy{margin-top:12px}.login-service-note{margin-top:10px}}

/* Reference source picker: own upload or jump to the template gallery. */
#reference-source-dialog{box-sizing:border-box;width:min(430px,calc(100vw - 32px));max-width:none;height:fit-content;max-height:calc(100dvh - 40px);padding:30px;margin:auto;border:1px solid #ffffff20;border-radius:20px;background:#1b1d1d;color:#f1f2ef;overflow:auto}
#reference-source-dialog:not([open]){display:none}
#reference-source-dialog[open]{display:flex;flex-direction:column;gap:14px}
#reference-source-dialog::backdrop{background:#060708d9;backdrop-filter:blur(10px)}
#reference-source-dialog>.dialog-close{position:absolute;right:14px;top:14px;width:30px;height:30px;border:1px solid #ffffff2b;background:#ffffff08;color:#fff}
.reference-source-overline{font-size:10px;letter-spacing:.16em;color:#8f958a}
#reference-source-dialog h2{font-family:var(--display);font-size:22px;font-weight:500;line-height:1.4;margin:0}
#reference-source-dialog h2 small{display:block;font-size:10px;font-weight:400;line-height:1.5;color:#8f958a;margin-top:6px}
#reference-source-dialog p{font-size:12px;line-height:1.8;color:#bdc2b7;margin:0}
#reference-source-own{width:100%;min-width:0;height:auto;min-height:54px;flex-direction:column;gap:0;justify-content:center;padding:11px 16px;background:transparent;color:#e8e9e6;border:1px solid #ffffff2b;border-radius:12px;text-align:center;cursor:pointer}
#reference-source-own:hover{background:#ffffff10}
#reference-source-own small{display:block;color:#8f958a;font-size:10px;margin-top:4px;line-height:1.5}
#reference-source-gallery{display:block;padding:13px 16px;border:1px solid transparent;border-radius:12px;background:var(--brand-accent,#d5ff00);color:#1c1e1a;font-size:12px;text-align:center;text-decoration:none;cursor:pointer}
#reference-source-gallery:hover{filter:brightness(.95)}
#reference-source-gallery span{color:inherit}
#reference-source-gallery small{display:block;color:#414a28;font-size:10px;margin-top:4px;line-height:1.5}
