/* Mobile keeps its touch layout; desktop becomes a full workspace. */
.desktop-nav-brand,.desktop-nav-caption,.desktop-ecosystem,.desktop-nav-foot{display:none}
@media(min-width:1100px){
 html{scroll-padding-top:25px}.shell{width:min(2800px,calc(100% - 286px));max-width:none;margin-left:max(254px,calc((100vw - 2800px + 254px)/2));margin-right:32px;padding:0 0 65px;animation:none}.topbar{height:100px;border-bottom:1px solid var(--line);margin-bottom:28px}.topbar .brand{font-size:22px}.topbar .brand em{font-size:10px;letter-spacing:2px}.top-actions{gap:16px}.topbar .icon-btn{width:42px;height:42px}.topbar .version{font-size:12px;padding:9px 14px}.bottom-nav{position:fixed;left:22px;top:22px;bottom:22px;transform:none;width:208px;display:flex;flex-direction:column;gap:8px;padding:25px 16px;border-radius:24px;background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:0 16px 65px #9c739c12!important;backdrop-filter:blur(20px);overflow-y:auto;scrollbar-width:thin;z-index:20}.desktop-nav-brand{display:flex;align-items:center;gap:10px;padding:7px 7px 30px;color:var(--text)}.desktop-nav-brand>span{display:grid;place-items:center;background:var(--accent);color:#4c3e5a;border-radius:12px;min-width:38px;height:38px;font-size:25px}.desktop-nav-brand strong{font-size:20px;line-height:1.3;white-space:nowrap}.desktop-nav-brand small{display:block;margin-top:6px;font-size:7px;letter-spacing:1.6px;color:var(--muted)}.desktop-nav-caption{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);padding:0 13px 10px}.bottom-nav .nav-btn{width:100%;padding:16px 14px;justify-content:flex-start;gap:14px;flex-direction:row;border-radius:13px;font-size:14px;color:var(--muted);flex:none}.bottom-nav .nav-btn svg{width:21px;height:21px}.bottom-nav .nav-btn.active{background:var(--panel2);color:var(--text)!important;font-weight:650}.bottom-nav .nav-btn:hover{background:var(--panel2)}.bottom-nav .nav-btn.active:after{left:0;right:auto;top:50%;bottom:auto;transform:translateY(-50%);width:3px;height:18px;border-radius:3px;background:var(--accent)}.desktop-ecosystem{display:flex;flex-direction:column;gap:4px;margin-top:28px;padding:22px 10px 0;border-top:1px solid var(--line)}.desktop-ecosystem>small{font-size:10px;letter-spacing:1px;padding-bottom:9px}.desktop-ecosystem>a{display:flex;justify-content:space-between;align-items:center;padding:9px 0;font-size:11px;color:var(--muted)}.desktop-ecosystem>a:hover{color:var(--text)}.desktop-ecosystem>a span{color:var(--mint)}.desktop-nav-foot{display:block;font-size:9px;line-height:1.8;color:var(--muted);padding:24px 10px 0;margin-top:auto}.shell[data-workspace-page=home]{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}.shell[data-workspace-page=home]>.topbar,.shell[data-workspace-page=home]>.quick-tools,.shell[data-workspace-page=home]>.section-head,.shell[data-workspace-page=home]>.tool-grid,.shell[data-workspace-page=home]>.story-grid,.shell[data-workspace-page=home]>.soft-banner{grid-column:1/-1}.shell[data-workspace-page=home]>.hero{grid-column:1/9;height:430px;min-height:430px;padding:46px;border-radius:28px}.hero-copy{max-width:78%;animation:none}.hero h1{font-size:clamp(37px,2.65vw,76px);line-height:1.25}.hero p{font-size:14px;line-height:1.9}.hero .eyebrow{font-size:10px;letter-spacing:2.7px}.hero .pill{font-size:13px;padding:12px 22px}.hero::before{background-size:cover,cover;background-position:center;animation:none}.hero-dots{left:46px;bottom:23px}.hero-note{font-size:10px;right:25px;bottom:25px}.shell[data-workspace-page=home]>.primary-tools{grid-column:9/-1;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:15px;margin:0;min-height:430px}.primary-tool{min-height:0;padding:24px 28px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:15px;border-radius:22px}.primary-tool h2{font-size:clamp(21px,1.2vw,32px);line-height:1.4;margin:0 0 7px}.primary-tool p{font-size:12px;line-height:1.7}.primary-tool svg{width:36px;height:36px;flex-shrink:0}.quick-tools{gap:18px;margin-top:24px}.quick-tool{min-height:84px;font-size:14px;padding:20px;justify-content:center;border-radius:18px}.quick-tool svg{width:28px;height:28px}.section-head{margin:42px 0 20px}.section-head h2{font-size:23px}.section-head small{font-size:12px}.common-feature-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;padding:0}.common-feature-grid .tool-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:14px;min-height:90px;padding:20px 22px;background:var(--panel);border:1px solid var(--line);border-radius:17px;font-size:13px;line-height:1.5}.common-feature-grid .tool-item:hover{box-shadow:0 8px 26px #9b6e9115;border-color:var(--accent)}.common-feature-grid .tool-item svg{width:27px;height:27px;flex-shrink:0}.story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0;overflow:visible}.story-card{width:100%;min-width:0;border-radius:22px}.story-card img{width:100%;aspect-ratio:1.1;object-fit:cover}.story-caption{padding:45px 20px 20px}.story-caption b{font-size:16px}.story-caption span{font-size:11px}.soft-banner{padding:28px 32px;margin-top:36px}.soft-banner b{font-size:21px}.soft-banner p{font-size:12px}.main-head{margin-top:35px;gap:30px}.main-head .search{width:360px}.page-title{font-size:38px}.intro{font-size:14px}.gallery{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}.photo-masonry{columns:4 260px;column-gap:24px}.photo-masonry article{margin-bottom:24px}.gallery-card img{max-height:580px;object-fit:cover}.studio{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px}.studio-panel{padding:32px;min-width:0}.studio textarea{min-height:230px}.ai-heading{text-align:left;padding:30px 0}.ai-heading h1{font-size:46px}.ai-heading .eyebrow{justify-content:flex-start!important}.ai-heading p{font-size:14px}.studio .empty-task{min-height:300px}.products{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px}.store-hero{min-height:430px;padding:50px;border-radius:28px}.store-hero h1{font-size:58px}.store-hero>img{width:min(45%,520px);max-height:380px;object-fit:contain}.community-preview,.idea-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.profile-stats,.wallet-summary{max-width:1300px}.service-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:24px;padding:32px}.service-list{max-width:1500px}#floating-051{right:32px;bottom:32px;width:58px;height:58px}#quick-menu-051{right:32px;bottom:104px}.modal{width:min(650px,92vw);padding:32px}.modal:has(#beauty-canvas){width:min(1200px,94vw)}#beauty-canvas{max-height:62vh}.editor-shell{max-width:none;width:calc(100% - 48px);height:calc(100dvh - 48px);margin:24px;display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:64px minmax(0,1fr);gap:0 24px;padding:0}.editor-header{grid-column:1/-1;min-height:64px}.canvas-wrap{grid-column:1;grid-row:2;min-height:0;height:100%;max-height:none;border-radius:22px}.editor-controls{grid-column:2;grid-row:2;min-height:0;overflow:auto;margin:0;padding:22px;border-radius:22px;max-height:none}.editor-footer{flex-wrap:wrap;gap:10px}.editor-footer>*{flex:1;min-width:100px}.editor-shell .presets{flex-wrap:wrap}.editor-shell .preset{min-width:72px}.editor-shell .adjusts{display:grid;grid-template-columns:1fr}.crop-controls{flex-wrap:wrap}
}
@media(min-width:1100px) and (max-width:1599px){.common-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.common-feature-grid .tool-item{padding:18px 15px;gap:10px;font-size:12px}.shell[data-workspace-page=home]>.hero{grid-column:1/9;padding:34px;height:390px;min-height:390px}.shell[data-workspace-page=home]>.primary-tools{min-height:390px}.primary-tool{padding:22px 20px}.primary-tool p{font-size:10px}.primary-tool svg{width:30px;height:30px}.hero h1{font-size:38px}.hero p{font-size:12px}.hero-copy{max-width:95%}.hero-dots{left:34px}.hero .eyebrow{font-size:8px;letter-spacing:1.4px}.hero-note{font-size:8px}}
@media(min-width:2000px){.shell[data-workspace-page=home]>.hero{height:520px;min-height:520px;padding:65px}.shell[data-workspace-page=home]>.primary-tools{min-height:520px}.hero-dots{left:65px;bottom:30px}.hero p{font-size:17px}.hero .pill{font-size:15px;padding:15px 26px}.primary-tool{padding:32px 40px}.primary-tool p{font-size:14px}.primary-tool svg{width:46px;height:46px}.quick-tool{font-size:17px;min-height:100px}.common-feature-grid{gap:20px}.common-feature-grid .tool-item{min-height:108px;font-size:16px;padding:25px 30px}.common-feature-grid .tool-item svg{width:32px;height:32px}.section-head h2{font-size:29px}.story-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.story-card img{aspect-ratio:1.25}.photo-masonry{columns:6 300px}.page-title{font-size:47px}.studio-panel{padding:42px}.studio textarea{min-height:300px}}
@media(min-width:800px) and (max-width:1099px){.shell{width:calc(100% - 48px);max-width:none;padding-inline:0}.hero{height:340px}.hero h1{font-size:42px}.tool-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.bottom-nav{width:calc(100% - 48px)}#floating-051{right:26px}.story-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
html:not([data-theme=light]) .quick-tool{background:var(--panel)!important;color:var(--text)}
@media(prefers-reduced-motion:reduce){.shell,.hero-copy{animation:none!important}.primary-tool:after{animation:none!important}}

/* Forms use the full workspace panel on every screen. */
.studio-panel label{display:block;line-height:1.7;margin:16px 0 9px}.studio-panel textarea{display:block;width:100%;min-width:0;box-sizing:border-box}.studio-panel label select{display:block;width:100%;margin-top:9px}.studio-panel .hint{line-height:1.9}.tool-item{color:var(--text)}.story-caption{color:#fff}
@media(min-width:1100px){.studio-panel textarea{min-height:230px}.ai-heading h1 em{color:var(--mint)}.studio-panel .upload-box{background:var(--panel2);color:var(--text)}}

/* Keep async updates from replaying the whole-page entrance animation. */
.shell,.hero-copy{animation:none!important}.loading{min-height:60vh;display:grid;place-items:center;color:#726576;font-size:15px;letter-spacing:1px}.studio-panel{overflow-wrap:anywhere}

@media(max-width:799px){.topbar .brand{white-space:nowrap;font-size:18px;gap:7px}.topbar .brand em{display:none}.topbar{gap:10px}.top-actions{gap:8px}.studio,.studio-panel{min-width:0;max-width:100%}.studio-panel select{max-width:100%}.job,.job>div{min-width:0;max-width:100%}.job b,.job small{overflow-wrap:anywhere}.studio-panel .job{width:100%}}
/* The image canvas is a dark editing surface, independent of the app palette. */
.editor-shell{--text:#f0f1f5;--muted:#a6abb6;--line:#ffffff26;--panel:#191a1e;--panel2:#2a2c34;--accent:#ffc1d5;color:var(--text);background:#131417}.editor-header strong,.editor-history button{color:var(--text)}.editor-tabs button.active{background:#3b3041;color:#fff}.editor-note{font-size:11px;line-height:1.9}.editor-footer select{color:var(--text)}
/* Feature release 0.5.2 photography shelves occupy a complete workspace row. */
@media(min-width:1100px){.shell[data-workspace-page=home]>.curated-052{grid-column:1/-1;min-width:0}.mood-shelf-052{gap:20px}.mood-card-052{flex-basis:clamp(180px,13vw,290px);height:clamp(240px,17vw,370px)}.creative-cover-052{min-height:340px;padding:22px}.cover-copy-052 h1{font-size:48px}.community-cover-052 h1{font-size:38px}}
