.home-workspace{padding:24px 30px 32px;max-width:1550px;margin:auto;color:var(--text,#18232d)}
.home-heading{text-align:center;margin:4px 0 18px}.home-kicker{font-size:12px;font-weight:750;letter-spacing:.14em;color:var(--accent,#087f6b)}.home-heading h1{font-size:clamp(24px,2.2vw,34px);letter-spacing:-.035em;margin:9px 0}.home-heading p{font-size:15px;color:var(--muted,#697582);margin:0}
.home-composer{max-width:940px;margin:0 auto 26px;border:1px solid var(--border,#d8e1e6);border-radius:18px;padding:16px;background:var(--panel,#fff);box-shadow:0 8px 28px #07372b09}.home-composer label{font-size:14px;font-weight:650}.home-composer textarea{display:block;width:100%;resize:vertical;min-height:64px;max-height:140px;margin-top:8px;padding:10px;background:transparent;color:inherit;border:0;font:inherit;font-size:15px}.home-composer-footer{display:flex;gap:8px;align-items:center}.home-composer-footer>span{margin-right:auto;font-size:13px;color:var(--muted,#697582)}
.home-section-title{display:flex;align-items:center;justify-content:space-between;margin:18px 0 12px;gap:10px}.home-section-title h2{font-size:17px;margin:0}.home-section-title>span{font-size:13px;color:var(--muted,#697582)}.home-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-tool{text-align:left;padding:0;overflow:hidden;border:1px solid var(--border,#dde4e8);background:var(--panel,#fff);color:inherit;border-radius:14px;cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}.home-tool:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0d2a2314;border-color:#18a18a}.home-tool:focus-visible,.home-brief:focus-visible{outline:3px solid #26bba3;outline-offset:3px}.home-cover{height:118px;position:relative;overflow:hidden}.home-cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.home-tool:hover img{transform:scale(1.035)}.home-cover>span{position:absolute;bottom:9px;left:11px;display:grid;place-items:center;width:32px;height:32px;color:#fff;background:#12392fdc;border-radius:9px;backdrop-filter:blur(10px)}.home-cover svg,.home-brief svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7}.home-tool-copy{padding:12px 13px;min-height:81px}.home-tool-copy strong{font-size:15px}.home-tool-copy p{font-size:13px;line-height:1.5;color:var(--muted,#697582);margin:5px 0 0}.home-audio-bars{position:absolute;inset:0;display:grid;place-content:center;color:white;font-style:normal;font-size:30px;letter-spacing:6px;background:#062b2860}.home-briefs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.home-brief{display:flex;align-items:center;gap:12px;background:var(--panel,#fff);border:1px solid var(--border,#dde4e8);border-radius:11px;padding:15px;color:inherit;text-align:left;cursor:pointer;transition:background .18s,border-color .18s}.home-brief>svg:last-child{margin-left:auto;width:15px}.home-brief:hover{background:#13a58b0c;border-color:#23a88f}.home-brief span{font-size:14px;font-weight:600}
.vz-language-switch{max-width:116px;padding:7px 5px;border:1px solid var(--border,#dce4e5);border-radius:9px;background:var(--panel,#fff);color:inherit;font:600 13px/1.2 inherit;cursor:pointer}.vz-brand{display:flex;gap:8px;align-items:center;white-space:nowrap}.vz-brand-mark{width:29px;height:29px;display:inline-grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#0da987,#135a60);box-shadow:0 3px 9px #04856a24;color:white;font:800 19px/1 system-ui}.vz-brand em{font-style:normal;color:#119e87}.vz-ai-variants{grid-template-columns:repeat(3,minmax(0,1fr))!important}.vz-ai-variants>button{aspect-ratio:1!important;height:auto!important;min-height:0!important}.vz-ai-variants img{aspect-ratio:1;object-fit:cover;width:100%;height:100%}.vz-layers-panel .vz-slider-row{display:grid;grid-template-columns:minmax(76px,1fr) minmax(80px,1.25fr) 42px;gap:8px;align-items:center}.vz-layers-panel input[type=range]{min-width:0;width:100%}.vz-btn,button[data-export-size],.vz-nav button,.vz-top-icon{transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s}.vz-btn:active,button[data-export-size]:active{transform:scale(.97)}
[data-vz-theme=dark] .home-workspace{--text:#e4eef0;--muted:#9eafb8;--panel:#12202b;--border:#263d48}[data-vz-theme=dark] .vz-language-switch{background:#172833;border-color:#32464d;color:#edf6f6}
@media(min-width:1180px) and (max-height:870px){.home-workspace{padding-top:16px}.home-heading{margin-bottom:12px}.home-composer{margin-bottom:14px;padding:12px}.home-cover{height:92px}.home-tool-copy{min-height:72px;padding:10px 12px}.home-brief{padding:12px}.iw-scenario-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.iw-main-prompt textarea{min-height:64px!important}.iw-custom-direction textarea{min-height:74px!important}}
@media(max-width:1100px){.home-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.home-composer-footer>span{display:none}.home-briefs{grid-template-columns:repeat(2,1fr)}.vz-language-switch{width:68px}.home-workspace{padding:20px}}
@media(max-width:760px){.home-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.home-briefs{grid-template-columns:1fr}.home-workspace{padding:16px}.home-composer-footer{flex-wrap:wrap}.home-section-title>span{display:none}.home-heading h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.home-workspace *,button{transition:none!important;animation:none!important}}

.ws-document-tabs{display:flex;gap:4px;min-width:0;max-width:40%;overflow-x:auto;padding:4px}.ws-document-tabs button{min-width:80px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--border,#dce4e7);background:transparent;color:inherit;border-radius:9px 9px 0 0;padding:9px 12px;font:600 13px inherit;cursor:pointer;transition:background .18s}.ws-document-tabs button.active{background:#129b8415;border-bottom:3px solid #159e88}.iw-analysis-suggestion{padding:12px;background:#119c8210;border:1px solid #119c8240;border-radius:10px;margin:10px 0}.iw-analysis-suggestion textarea{display:block;width:100%;font:inherit;color:inherit;background:transparent;border:0;resize:vertical;margin:8px 0}.iw-coin-quote{font-size:12px;white-space:nowrap;opacity:.9}.iw-guide-atlas{display:block;width:100%;aspect-ratio:1;background-size:200% 200%;background-repeat:no-repeat}.iw-guide-image:has(.iw-guide-atlas){height:auto!important;aspect-ratio:1}.vz-prompt-box.iw-prompt>textarea{min-height:62px;max-height:140px;resize:vertical}.iw-prompt-extras textarea{min-height:48px!important;height:52px}.iw-results{margin-top:8px}.iw-generate .iw-main-header{padding-bottom:8px}.vz-ai-variants .iw-variant-preview{aspect-ratio:1}.ws-type-image{--ws-type-accent:#1a9a86}.ws-type-video{--ws-type-accent:#8564ce}.ws-type-music{--ws-type-accent:#d5983d}.ws-type-video .ws-node-guide-art{background:#8564ce22}.ws-type-video header{border-top:3px solid #8564ce}.ws-type-image header{border-top:3px solid #17957d}.ws-type-music header{border-top:3px solid #c99139}
.vz-atlas-tile{display:block;width:100%;height:100%;background-size:200% 200%;background-repeat:no-repeat}
.vw-audio-cover>.vz-atlas-tile{position:absolute;inset:0}.iw-guide-image .vz-atlas-tile{aspect-ratio:1;min-height:100%}
.iw-upload .iw-tasks .vz-cap-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.iw-upload .iw-task-card{min-width:0}.iw-upload .iw-dropzone{min-height:160px;padding:24px}.iw-upload .iw-task-preview{height:105px}
.iw-enhance-history{border:1px solid var(--vz-border,#2b3a46);border-radius:14px;padding:12px;margin-top:12px}.iw-enhance-history summary{cursor:pointer;font-weight:650;display:flex;gap:8px;align-items:center}.iw-enhance-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;max-height:245px;overflow:auto;margin-top:12px}.iw-enhance-history-item{background:transparent;border:1px solid var(--vz-border,#2b3a46);border-radius:9px;overflow:hidden;text-align:left;color:inherit}.iw-enhance-history-item>span{display:flex;height:110px;overflow:hidden}.iw-enhance-history-item img{width:50%;object-fit:cover}.iw-enhance-history-item b,.iw-enhance-history-item small{display:block;padding:4px 8px}.iw-enhance-history-item small{font-size:10px;opacity:.65}
@media(max-width:1100px){.iw-upload .iw-tasks .vz-cap-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.iw-upload .iw-tasks .vz-cap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.home-workspace{height:100%;width:100%;overflow:auto;box-sizing:border-box}.vz-brand-mark{font-size:0;background:transparent url('/assets/vstools-mark.svg') center/contain no-repeat;box-shadow:none}.iw-guide-image:has(.vz-atlas-tile){height:auto;aspect-ratio:1}.iw-enhance-history-grid p{font-size:12px;color:var(--vz-muted)}
.vz-cloud-banner{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:170;max-width:650px;width:calc(100% - 40px);padding:14px 18px;background:var(--vz-paper,#fff);border:1px solid #dcad56;border-radius:14px;box-shadow:0 12px 48px #0003;color:var(--vz-text,#203036)}.vz-cloud-banner p{margin:0 0 10px;font-size:13px;line-height:1.5}.vz-cloud-banner>div{display:flex;gap:8px;flex-wrap:wrap}

.ws-total-cost{font-size:12px;font-weight:650;color:var(--ws-text);max-width:145px;line-height:1.4}.ws-topbar{flex-wrap:wrap}.ws-title-wrap{min-width:180px}.ws-top-actions{flex-wrap:wrap}.ws-run-preview>b{display:block;margin:6px 0;color:var(--ws-text)}

/* R12: allow the workflow header to own every row it occupies. */
.ws-studio{grid-template-rows:auto minmax(0,1fr)}
.ws-topbar{height:auto;min-height:72px;align-content:center}
.vz-sidebar .vz-nav button svg{flex:0 0 18px;min-width:18px}
.vw-audio-cover .vz-atlas-tile{background-size:200% 200%;background-repeat:no-repeat}
.vw-audio-cover{align-self:stretch}
.vz-app .iw-workspace.iw-generate .vz-generate-main{padding:16px 20px;gap:12px}
.vz-app .iw-generate .iw-image-stage{height:clamp(180px,28dvh,310px);min-height:180px;max-height:310px;aspect-ratio:auto;margin:0}
.vz-app .iw-generate .iw-image-stage:has(.iw-stage-empty){height:140px;min-height:140px;max-height:140px}
.vz-app .iw-generate .iw-stage-empty{padding:16px;gap:8px}
.vz-app .iw-generate .iw-stage-empty h2{font-size:20px;margin:0}
.vz-app .iw-generate .iw-stage-empty p{margin:0;font-size:12px}
.vz-app .iw-generate .iw-prompt{padding:12px 14px 9px}
.vz-app .iw-generate .iw-prompt>textarea.vz-control{height:58px;min-height:58px;max-height:140px;line-height:1.5}
.vz-app .iw-generate .iw-prompt-extras{padding:8px 0;gap:10px}
.vz-app .iw-generate .iw-prompt-extras textarea.vz-control{height:44px;min-height:44px!important;padding:6px 8px;line-height:1.4;margin:0}
.vz-app .iw-generate .iw-prompt .vz-prompt-footer{padding-top:8px}
.vz-app .iw-generate .iw-generation-note{margin-top:7px}
.vz-app .iw-generate .iw-results .vz-variants{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px;scroll-snap-type:x proximity}
.vz-app .iw-generate .iw-results .vz-variant{flex:0 0 135px;scroll-snap-align:start}
.vz-app .iw-generate .iw-results .vz-variant img{height:88px}
.vz-app .iw-generate .iw-results-heading{margin-bottom:8px}
@media(max-width:1050px){.ws-layout{position:relative}.ws-palette{top:0}}
@media(max-width:650px){.vz-app .iw-generate .iw-prompt-extras{grid-template-columns:1fr}.vz-app .iw-generate .iw-image-stage{height:200px}}
