/* Shared centered project sheet; Dream Home keeps its approved text-only layout. */
#dream-home-toy{position:absolute;z-index:3;background:transparent;border:0;padding:0;border-radius:8%;cursor:pointer}
#desk-app:is([data-panel-open="dream-home"],[data-panel-open="f1"]){background:var(--ui-bg);background-image:radial-gradient(color-mix(in srgb,var(--ui-muted) 16%,transparent) .8px,transparent .8px);background-size:9px 9px}
#desk-app:is([data-panel-open="dream-home"],[data-panel-open="f1"]) :is(.artboard,.ambient,.switch-hint){visibility:hidden}
html[data-ui-theme] .desk-panel.dream-home-dialog{inset:88px 0 calc(var(--ui-switcher-reserve) + 16px);width:min(1120px,calc(100vw - 64px));max-width:none;margin-inline:auto;height:auto;max-height:none;overflow:hidden;--dh-on-primary:#fff}
html[data-ui-theme] .dream-home-dialog[open]{display:flex;flex-direction:column}
.dream-home-dialog .dh-body{padding:28px 34px 26px;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}
.dh-hero-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px;align-items:start}
.dh-eyebrow{grid-column:1;font:11px/1.6 var(--ui-font-label);letter-spacing:.15em;color:var(--ui-primary);margin:0 0 14px}
.dh-title-row{grid-column:1}
html[data-ui-theme] .dream-home-dialog :is(#dream-home-title,#f1-title){font:var(--ui-title-weight) 44px/1.2 var(--ui-font-title);letter-spacing:var(--ui-title-tracking);margin:0}
.dh-status{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--ui-muted);margin-top:12px}
.dh-status:before{content:'';height:6px;width:6px;border-radius:50%;background:var(--ui-primary)}
.dh-tagline{grid-column:1;font-size:clamp(26px,3vw,38px);line-height:1.45;margin:20px 0 0;font-weight:650;letter-spacing:-.025em}
.dh-tagline em{font-style:normal;color:var(--ui-primary)}
.dh-intro{grid-column:2;grid-row:2/4;align-self:center;font-size:16px;line-height:2;margin:0;color:var(--ui-muted)}
.dh-tags{grid-column:2;grid-row:4;display:flex;gap:8px;flex-wrap:wrap}
.dh-tags span{font-size:10px;border:1px solid color-mix(in srgb,var(--ui-border-color) 40%,transparent);padding:3px 8px;border-radius:var(--ui-radius-control);color:var(--ui-muted)}
.dh-journey{margin-top:30px}
.dh-section-title{display:flex;gap:10px;align-items:center;font-size:14px;line-height:1.7;margin:0 0 12px}
.dh-section-title small{font:10px var(--ui-font-label);color:var(--ui-primary)}
.dh-flow{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--ui-border-color);border-bottom:1px solid var(--ui-border-color)}
.dh-flow li{padding:14px 22px}.dh-flow li:first-child{padding-left:0}.dh-flow li+li{border-left:1px solid color-mix(in srgb,var(--ui-border-color) 25%,transparent)}
.dh-step{display:block;font:11px var(--ui-font-label);color:var(--ui-primary);margin-bottom:7px}.dh-flow strong{font-size:15px;display:block}.dh-flow p{font-size:13px;line-height:1.8;color:var(--ui-muted);margin:4px 0 0}
.dh-role{display:flex;gap:12px;font-size:12px;color:var(--ui-muted);margin:17px 0 0}.dh-role b{flex-shrink:0;color:var(--ui-text)}.dh-role span{line-height:1.8}.dh-role br{display:none}.dh-role br:after{content:' '}
.dh-foot{padding:18px 34px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--ui-surface);flex-shrink:0}
.dh-foot-note{font-size:12px;line-height:1.7;color:var(--ui-muted)}.dh-foot-note strong{display:block;font-size:13px;color:var(--ui-text)}
.dh-play{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 20px;min-height:48px;min-width:214px;font-weight:700;font-size:16px;text-decoration:none;background:var(--ui-primary);color:var(--dh-on-primary);border:var(--ui-border-width) solid var(--ui-border-color);border-radius:var(--ui-radius-control);box-shadow:var(--ui-shadow-control);transition:translate var(--ui-duration-fast)}
.dh-play:hover{translate:0 -2px}.dh-play:active{translate:2px 2px}.dh-play svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}
html[data-ui-theme=comic] .dream-home-dialog :is(#dream-home-title,#f1-title){transform:rotate(-2deg);text-shadow:2px 2px 0 var(--ui-accent)}
html[data-ui-theme=comic] .dream-home-dialog .desk-panel-bar{background:var(--ui-accent)}
html[data-ui-theme=cyberpunk] .dream-home-dialog{--dh-on-primary:#101426}
html[data-ui-theme=cyberpunk] .dream-home-dialog :is(#dream-home-title,#f1-title){text-shadow:2px 0 0 #ff69c844}
html[data-ui-theme=blueprint] .dream-home-dialog{--dh-on-primary:#102D51}
html[data-ui-theme=blueprint] #desk-app:is([data-panel-open="dream-home"],[data-panel-open="f1"]){background-image:linear-gradient(#79D2ED14 1px,transparent 1px),linear-gradient(90deg,#79D2ED14 1px,transparent 1px);background-size:32px 32px}
@media(max-width:899px){html[data-ui-theme] .desk-panel.dream-home-dialog{top:136px;width:calc(100vw - 32px);bottom:calc(var(--ui-switcher-reserve) + 12px)}.dream-home-dialog .dh-body{padding:22px}.dh-hero-copy{display:block}.dh-intro{font-size:14px;margin-top:20px}.dh-tags{margin-top:18px}.dh-tagline{font-size:30px}.dh-tagline br{display:block}html[data-ui-theme] .dream-home-dialog :is(#dream-home-title,#f1-title){font-size:36px}.dh-journey{margin-top:28px}.dh-flow li{padding:12px 8px}.dh-flow strong{font-size:13px}.dh-flow p{font-size:12px}.dh-role{flex-direction:column;gap:4px}.dh-role br{display:block}.dh-foot{padding:14px 20px;gap:10px}.dh-foot-note strong{font-size:11px}.dh-foot-note span{font-size:9px}.dh-play{min-width:165px;font-size:14px;padding:10px 14px;gap:12px}}
@media(max-width:480px){.dh-foot-note{display:none}.dh-play{width:100%}.dh-flow{grid-template-columns:1fr}.dh-flow li,.dh-flow li:first-child{padding:12px 0}.dh-flow li+li{border-left:0;border-top:1px solid color-mix(in srgb,var(--ui-border-color) 25%,transparent)}.dh-section-title{flex-wrap:wrap}.dh-step{margin-bottom:5px}.dh-flow strong{font-size:14px}}
@media(max-height:620px) and (min-width:900px){html[data-ui-theme] .desk-panel.dream-home-dialog{top:72px}}
@media(max-width:899px){html[data-ui-theme] body.music-mini-visible .desk-panel.dream-home-dialog{height:auto;max-height:none;bottom:calc(var(--ui-switcher-reserve) + 96px)}}
@media(prefers-reduced-motion:reduce){.dh-play{transition:none}}

html[data-ui-theme=comic] .dream-home-dialog .desk-panel-label{color:var(--ui-text)}
