/* Spacious creation-first shell, based on the supplied Jimeng reference. */
.workspace-shell{--bg:#111213;--surface:#1b1d1f;--raised:#25272a;--border:#303236;--muted:#979ba2;--text:#f2f3f4;background:var(--bg)}
.workspace-shell .review-bar{display:none}.workspace-shell>header{margin-left:216px;max-width:none;height:72px;padding:0 32px;border:0;gap:18px}.workspace-shell>header>.wordmark,.workspace-shell>header>nav{display:none}.workspace-shell .header-actions{gap:12px}.workspace-shell>main,.workspace-shell:has(.creation-studio)>#app{margin-left:216px;max-width:none;padding:12px 34px 64px}.workspace-shell>.site-footer{margin-left:216px;padding-left:34px;padding-right:34px}.workspace-sidebar{position:fixed;inset:0 auto 0 0;width:216px;background:#171819;border-right:1px solid #ffffff04;padding:28px 14px 20px;display:flex;flex-direction:column;z-index:7}.workspace-sidebar>.wordmark{font-size:28px;padding:0 10px;letter-spacing:-1.5px;margin-bottom:38px;display:flex;align-items:center;gap:12px}.workspace-brand-dot{color:var(--accent);font-size:22px!important}.workspace-sidebar nav{display:flex;flex-direction:column;gap:5px}.workspace-sidebar nav>a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:9px;color:#b8bbc1;font-size:13px}.workspace-sidebar nav>a:hover{background:#222426;color:white}.workspace-sidebar nav>a[aria-current]{background:#2c2d30;color:#fff}.workspace-sidebar i{font-size:20px;font-style:normal;line-height:20px;width:22px;text-align:center}.sidebar-section-label{font-size:9px;letter-spacing:1.2px;color:#747981;padding:24px 12px 8px}.sidebar-bottom{margin-top:auto;padding:24px 8px 0}.sidebar-credit{padding:15px;border:1px solid #35373b;border-radius:12px;margin-bottom:18px;background:linear-gradient(145deg,#2b222a,#1b1d20)}.sidebar-credit>span{font-size:10px;color:#b0a9b1;display:block}.sidebar-credit strong{font-size:21px;display:block;margin:9px 0 14px;color:#ff9ccb}.sidebar-credit button{font-size:11px;padding:9px 12px;width:100%;background:#393039;border:1px solid #675164;border-radius:7px}.sidebar-bottom>a{display:flex;gap:12px;color:#a9adb4;font-size:12px;padding:9px}.sidebar-bottom>small{display:block;font-size:9px;color:#676b72;margin:18px 9px 0}
.idea-home{max-width:1000px;margin:0 auto 44px;text-align:center;padding:28px 0 0;position:relative}.idea-home:before{content:'';position:absolute;inset:-80px -80px 30%;background:radial-gradient(ellipse at 50% 0,#ff65ad09,transparent 70%);pointer-events:none;z-index:-1}.idea-kicker{font-size:9px;letter-spacing:2px;color:#94949e}.idea-home h1{font-size:32px;font-family:inherit;letter-spacing:-1px;font-weight:600;margin:15px 0 24px}.idea-tabs{display:flex;background:#26282b;border:1px solid #ffffff06;width:260px;padding:4px;border-radius:99px;margin:0 auto 28px}.idea-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:99px;font-size:12px;padding:9px}.idea-tabs svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.7}.idea-tabs button[aria-pressed=true]{background:linear-gradient(110deg,#ffe2ef,#faf5fa);color:#291821;box-shadow:0 2px 10px #0002}.idea-composer{border:1px solid #383c41;border-radius:22px;background:linear-gradient(115deg,#24282b,#1e2225);padding:20px 22px 15px;text-align:left;box-shadow:0 8px 40px #00000012}.idea-composer:focus-within{border-color:#ad6489;box-shadow:0 0 0 3px #ff65ad08}.idea-composer textarea{display:block;width:100%;resize:vertical;min-height:75px;max-height:240px;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:14px;line-height:1.8;padding:0}.idea-composer textarea::placeholder{color:#8b9197}.idea-composer-bottom{display:flex;align-items:center;gap:18px;margin-top:12px}.idea-reference{font-size:12px;color:#e5b6ce;border:1px solid #6e5162;border-radius:8px;padding:9px 11px}.idea-reference:hover{background:#42303d}.idea-mode{font-size:11px;color:#a0a5ac}.idea-composer-bottom>button{margin-left:auto;background:var(--action);color:var(--action-text);border-radius:50%;width:35px;height:35px;font-size:23px}.idea-shortcuts{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:14px}.idea-shortcuts a{background:#1d1f21;border:1px solid #ffffff04;border-radius:99px;font-size:10px;padding:10px 15px;color:#bbbec5}.idea-shortcuts a:hover{border-color:#755666;color:#ffbbda}.workspace-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}.workspace-section-title h2{font-size:14px;letter-spacing:0;margin:0}.workspace-section-title>span{font-size:11px;color:var(--muted)}
.workspace-shell .hero-banner{height:205px;min-height:205px;border-radius:15px;margin-bottom:16px}.workspace-shell .hero-slide{min-height:205px;height:205px}.workspace-shell .hero-copy{padding:23px 30px;width:60%}.workspace-shell .hero-copy>span{font-size:8px}.workspace-shell .hero-copy h2{font-size:29px;line-height:1.08;margin:10px 0;letter-spacing:-.8px}.workspace-shell .hero-copy p{font-size:11px;margin:0 0 12px}.workspace-shell .hero-cta{font-size:10px;padding:9px 14px;min-height:32px}.workspace-shell .hero-art{right:30px;left:auto;width:40%;height:100%}.workspace-shell .hero-art img{max-height:195px}.workspace-shell .hero-pagination{bottom:12px}.workspace-shell .studio-entrances{margin:0 0 30px;gap:12px}.workspace-shell .studio-entry{min-height:80px;padding:16px 20px;border-radius:13px;gap:14px}.workspace-shell .studio-entry-icon{width:38px;height:38px;border-radius:11px}.workspace-shell .studio-entry strong{font-size:16px}.workspace-shell .studio-entry small{font-size:10px}.workspace-shell .studio-entry-arrow{width:30px;height:30px;font-size:18px}.workspace-shell .catalog-toolbar{scroll-margin-top:24px;border:0;gap:14px}.workspace-shell .catalog-toolbar .filter{height:36px;min-height:36px;padding:0 15px;font-size:11px}.workspace-shell .catalog-toolbar .filter.active{background:#303035;color:#fff;border:1px solid #52515b}.workspace-shell .catalog-toolbar .filter:not(.active){background:transparent;border-color:transparent;color:#a8abb2}.workspace-shell .catalog-toolbar .search{background:#17191b;border-color:#2c2f33;height:37px}.workspace-shell #grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.workspace-shell #grid .card-media{border-radius:13px}.workspace-shell .creation-studio{padding-top:6px}.workspace-shell .studio-page-heading h1{font-size:25px}.workspace-shell .studio-layout{border-radius:16px;grid-template-columns:350px minmax(0,1fr)}.workspace-shell .studio-controls{background:#17191b}.workspace-shell .studio-results{background:#141618}.workspace-shell .studio-generate-footer{background:#17191b}.workspace-shell .studio-empty>h2{font-size:27px}.workspace-shell .studio-form-body{min-height:390px}.workspace-shell .studio-type-tabs a{height:60px}.workspace-shell .studio-type-tabs a[aria-current]{background:#ffffff03}
[data-theme=light] .workspace-shell{--bg:#f6f7f8;--surface:#fff;--raised:#e9ebed;--border:#d9dce0;--text:#202329;--muted:#747a83}[data-theme=light] .workspace-sidebar{background:#eceef1}[data-theme=light] .workspace-sidebar nav>a{color:#5a6069}[data-theme=light] .workspace-sidebar nav>a[aria-current]{background:#dfe1e6;color:#17191d}[data-theme=light] .idea-tabs{background:#e1e4e8}[data-theme=light] .idea-composer{background:#fff;border-color:#cdd1d8}[data-theme=light] .idea-shortcuts a{background:#edeef1;color:#565c66}[data-theme=light] .idea-reference{color:#a62464;border-color:#e2b7cc}[data-theme=light] .workspace-shell .studio-controls,[data-theme=light] .workspace-shell .studio-generate-footer{background:#f6f7f8}[data-theme=light] .workspace-shell .studio-results{background:#fff}[data-theme=light] .workspace-shell .catalog-toolbar .search{background:#fff;border-color:#ddd}[data-theme=light] .workspace-shell .catalog-toolbar .filter.active{background:#eadde5;color:#6e284b;border-color:#e1c0d1}
@media(min-width:1700px){.workspace-shell #grid{grid-template-columns:repeat(5,minmax(0,1fr))}.idea-home{padding-top:45px;margin-bottom:55px}.workspace-shell>main{padding-left:44px;padding-right:44px}}
@media(max-width:1100px) and (min-width:761px){.workspace-sidebar{width:180px;padding:26px 10px}.workspace-sidebar>.wordmark{font-size:25px}.workspace-shell>header,.workspace-shell>main,.workspace-shell:has(.creation-studio)>#app,.workspace-shell>.site-footer{margin-left:180px}.workspace-shell>main{padding:12px 24px 50px}.workspace-shell #grid{grid-template-columns:repeat(3,minmax(0,1fr))}.idea-shortcuts a{padding:9px 11px}.workspace-shell .studio-layout{grid-template-columns:310px minmax(0,1fr)}.workspace-shell .studio-empty-art{transform:scale(.8);width:260px}}
@media(max-width:760px){.workspace-sidebar{display:none}.workspace-shell>header{margin:0;padding:0 18px;height:70px}.workspace-shell>header>.wordmark{display:flex}.workspace-shell>main,.workspace-shell:has(.creation-studio)>#app{margin:0;padding:8px 18px 50px}.workspace-shell>.site-footer{margin:0;padding:30px 18px 95px}.idea-home{padding-top:24px;margin-bottom:32px}.idea-kicker{font-size:8px;letter-spacing:1.3px}.idea-home h1{font-size:25px;letter-spacing:-.9px;margin:13px 0 22px}.idea-tabs{width:230px;margin-bottom:20px}.idea-composer{padding:17px 16px 13px;border-radius:17px}.idea-composer textarea{min-height:92px;font-size:12px}.idea-composer-bottom{gap:8px}.idea-reference{font-size:10px;padding:8px}.idea-mode{font-size:9px}.idea-shortcuts{flex-wrap:nowrap;justify-content:flex-start;overflow:auto;scrollbar-width:none}.idea-shortcuts a{white-space:nowrap;flex-shrink:0;font-size:9px;padding:9px 11px}.workspace-section-title h2{font-size:13px}.workspace-section-title>span{display:none}.workspace-shell .hero-banner,.workspace-shell .hero-slide{height:200px;min-height:200px}.workspace-shell .hero-copy{padding:22px 18px;width:68%}.workspace-shell .hero-copy h2{font-size:22px}.workspace-shell .hero-copy p{font-size:10px;max-width:160px}.workspace-shell .hero-copy>span{font-size:7px}.workspace-shell .hero-art{right:-35px;width:45%;opacity:.65}.workspace-shell .hero-art img{max-height:170px}.workspace-shell .studio-entry{padding:13px;gap:8px;min-height:130px}.workspace-shell .studio-entry strong{font-size:14px}.workspace-shell .studio-entry small{font-size:9px}.workspace-shell .studio-entry-icon{width:30px;height:30px}.workspace-shell #grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.workspace-shell .studio-layout{grid-template-columns:1fr}.workspace-shell .studio-form-body{min-height:0}.workspace-shell .studio-empty-art{transform:scale(.82)}.workspace-shell .catalog-toolbar{gap:8px}}

.workspace-shell>.site-footer{width:calc(100% - 216px);min-width:0}.workspace-shell .footer-main{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:24px}.workspace-shell .footer-main>*{min-width:0}@media(max-width:1100px) and (min-width:761px){.workspace-shell>.site-footer{width:calc(100% - 180px)}}@media(max-width:760px){.workspace-shell>.site-footer{width:100%}.workspace-shell .footer-main{grid-template-columns:1fr 1fr}}

/* Spacious split view for the image and video creation studio. */
.workspace-shell .studio-page-heading{margin-bottom:30px}
.workspace-shell .studio-page-heading h1{font-size:32px}
.workspace-shell .studio-layout{min-height:800px;grid-template-columns:minmax(460px,min(58%,660px)) minmax(0,1fr)}
.workspace-shell .studio-type-tabs a{height:82px;font-size:19px}
.workspace-shell .studio-form-body{padding:18px 28px 30px;min-height:410px}
.workspace-shell .studio-results{padding:32px 36px}
.workspace-shell .studio-empty{min-height:680px}
.workspace-shell .studio-empty>h2{font-size:30px}
@media(max-width:1100px) and (min-width:901px){.workspace-shell .studio-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.workspace-shell .studio-form-body{padding:18px 24px 28px}.workspace-shell .studio-results{padding:30px 26px}}
@media(max-width:900px) and (min-width:761px){.workspace-shell .studio-layout{grid-template-columns:1fr}.workspace-shell .studio-controls{border-right:0;border-bottom:1px solid var(--border)}.workspace-shell .studio-form-body{max-height:none;min-height:0}.workspace-shell .studio-results{border-radius:0 0 18px 18px}}
@media(max-width:760px){.workspace-shell .studio-page-heading{margin-bottom:22px}.workspace-shell .studio-page-heading h1{font-size:25px}.workspace-shell .studio-layout{min-height:0;grid-template-columns:1fr}.workspace-shell .studio-type-tabs a{height:66px;font-size:16px}.workspace-shell .studio-form-body{padding:15px 18px 24px;min-height:0}.workspace-shell .studio-results{padding:24px 18px}.workspace-shell .studio-empty{min-height:500px}}
body.workspace-shell{overflow-x:hidden}.workspace-shell .hero-banner,.workspace-shell .hero-slides{overflow:hidden}.workspace-shell .idea-shortcuts{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden}

/* Keep the workspace header controls on one compact baseline. */
.workspace-shell>header .header-actions{align-items:center;gap:10px;min-height:36px}
.workspace-shell>header .notification-bell,
.workspace-shell>header .theme-toggle,
.workspace-shell>header .upgrade-entry,
.workspace-shell>header .credit-pill,
.workspace-shell>header .login-entry{box-sizing:border-box;height:36px;min-height:36px;line-height:1}
.workspace-shell>header .notification-bell{width:36px;padding:0;border-radius:50%}
.workspace-shell>header .notification-bell svg{width:16px;height:16px}
.workspace-shell>header .notification-badge{min-width:15px;height:15px;font-size:9px;border-width:1px;right:-2px;top:-4px}
.workspace-shell>header .theme-toggle{width:36px;padding:0;border-radius:50%;font-size:17px;display:grid;place-items:center}
.workspace-shell>header .theme-toggle span{font-size:17px;line-height:1}
.workspace-shell>header .upgrade-entry{padding:0 14px;font-size:12px;border-radius:18px;display:inline-flex;align-items:center;white-space:nowrap}
.workspace-shell>header .credit-pill{padding:0 13px;gap:7px;font-size:12px;border-radius:18px;white-space:nowrap}
.workspace-shell>header .login-entry{padding:0 17px;font-size:12px;font-weight:600;border-radius:18px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}
.workspace-shell>header .header-actions .spark{font-size:12px}

@media(max-width:760px){
  .workspace-shell>header{padding:0 14px}
  .workspace-shell>header .header-actions{gap:7px}
  .workspace-shell>header .upgrade-entry,.workspace-shell>header .credit-pill{display:none}
  .workspace-shell>header .notification-bell,.workspace-shell>header .theme-toggle{width:34px;height:34px;min-height:34px}
  .workspace-shell>header .login-entry{height:34px;min-height:34px;padding:0 14px;font-size:11px}
}

/* Light workspace reference: airy surfaces, crisp black actions, quiet borders. */
[data-theme=light] .workspace-shell{
  --bg:#f7f8fa;
  --surface:#fff;
  --raised:#eef0f2;
  --border:#e1e3e7;
  --muted:#747a83;
  --text:#17191d;
  --action:#0d0e10;
  --action-hover:#27292d;
  --action-text:#fff;
  background:var(--bg);
}
[data-theme=light] .workspace-shell>header{background:#f7f8fa}
[data-theme=light] .workspace-sidebar{background:#fff;border-right-color:#e7e8eb}
[data-theme=light] .workspace-sidebar>.wordmark{color:#111317}
[data-theme=light] .workspace-sidebar nav>a{color:#555b64}
[data-theme=light] .workspace-sidebar nav>a:hover{background:#f1f2f4;color:#15171b}
[data-theme=light] .workspace-sidebar nav>a[aria-current]{background:#eeeeef;color:#15171b}
[data-theme=light] .workspace-sidebar i{color:#202329}
[data-theme=light] .sidebar-section-label{color:#9a9fa7}
[data-theme=light] .sidebar-credit{background:#f7f7f8;border-color:#e2e3e6}
[data-theme=light] .sidebar-credit>span{color:#858b94}
[data-theme=light] .sidebar-credit strong{color:#b53a73}
[data-theme=light] .sidebar-credit button{background:#fff;border-color:#d8d9de;color:#2b2e34}
[data-theme=light] .sidebar-bottom>small{color:#9298a0}
[data-theme=light] .idea-home:before{background:radial-gradient(ellipse at 50% 0,#dce8f220,transparent 70%)}
[data-theme=light] .idea-kicker{color:#8b9199}
[data-theme=light] .idea-tabs{background:#e8eaed;border-color:#e1e3e6}
[data-theme=light] .idea-tabs button{color:#6b7179}
[data-theme=light] .idea-tabs button[aria-pressed=true]{background:#0c0d0f;color:#fff;box-shadow:0 2px 8px #0002}
[data-theme=light] .idea-composer{background:linear-gradient(115deg,#fff,#f4f7f9);border-color:#e1e4e8;box-shadow:0 10px 32px #26364a0c}
[data-theme=light] .idea-composer textarea{color:#181a1e}
[data-theme=light] .idea-composer textarea::placeholder{color:#a0a6ad}
[data-theme=light] .idea-reference{color:#333941;border-color:#d9dce1;background:#fff}
[data-theme=light] .idea-reference:hover{background:#f0f1f3}
[data-theme=light] .idea-mode{color:#7d838b}
[data-theme=light] .idea-shortcuts a{background:#fff;border-color:#e3e5e8;color:#5f656e;box-shadow:0 2px 6px #26364a08}
[data-theme=light] .idea-shortcuts a:hover{border-color:#b8bdc4;color:#1d2025;background:#f5f6f7}
[data-theme=light] .workspace-shell .studio-entry{background:#fff;border-color:#e2e4e8;box-shadow:0 4px 14px #26364a08}
[data-theme=light] .workspace-shell .studio-entry:hover{border-color:#bfc4cb;box-shadow:0 8px 22px #26364a12}
[data-theme=light] .workspace-shell .studio-entry small{color:#7d838b}
[data-theme=light] .workspace-shell .catalog-toolbar .filter.active{background:#0c0d0f;color:#fff;border-color:#0c0d0f}
[data-theme=light] .workspace-shell .catalog-toolbar .filter:not(.active){color:#767c84}
[data-theme=light] .workspace-shell .catalog-toolbar .filter:not(.active):hover{background:#fff;color:#22252a;border-color:#d9dce1}
[data-theme=light] .workspace-shell .catalog-toolbar .search{background:#fff;border-color:#e0e2e6;color:#262a30}
[data-theme=light] .workspace-shell .catalog-toolbar .search input{color:#262a30}
[data-theme=light] .workspace-shell .studio-controls,[data-theme=light] .workspace-shell .studio-generate-footer{background:#f7f8fa}
[data-theme=light] .workspace-shell .studio-results{background:#fff}
[data-theme=light] .workspace-shell .studio-layout{border-color:#e1e3e7;box-shadow:0 8px 24px #26364a08}

/* Guard against legacy sidebar rules overriding the light reference. */
html[data-theme="light"] body.workspace-shell .sidebar-credit{background:#fff;border-color:#e1e3e7;box-shadow:0 8px 22px #26364a0b}
html[data-theme="light"] body.workspace-shell .sidebar-credit>span{color:#69717b}
html[data-theme="light"] body.workspace-shell .sidebar-credit strong{color:#e4519a}
html[data-theme="light"] body.workspace-shell .sidebar-credit button{background:#f3f4f6;border-color:#d7dbe0;color:#343941}
html[data-theme="light"] body.workspace-shell .idea-composer-reference{background:linear-gradient(115deg,#fff,#f7f9fb);border-color:#dfe3e8;box-shadow:0 16px 40px #26364a12}
html[data-theme="light"] body.workspace-shell .idea-composer-controls{border-bottom-color:#e6e8eb}
html[data-theme="light"] body.workspace-shell .idea-select{color:#252a31}
html[data-theme="light"] body.workspace-shell .idea-select span{color:#6c737c}
html[data-theme="light"] body.workspace-shell .idea-select:hover{background:#f1f3f5}
html[data-theme="light"] body.workspace-shell .idea-composer-reference textarea{color:#20242a}
html[data-theme="light"] body.workspace-shell .idea-composer-reference textarea::placeholder{color:#9aa1a9}
html[data-theme="light"] body.workspace-shell .idea-composer-reference .idea-mode{color:#69717a}
html[data-theme="light"] body.workspace-shell .idea-composer-tools button{color:#4f5862;border-color:#d9dde2;background:#f5f6f7}
html[data-theme="light"] body.workspace-shell .idea-composer-tools button:hover{color:#22272d;border-color:#b7bec6;background:#fff}
/* Keep every dropdown chevron visually consistent at desktop and mobile widths. */
.workspace-shell .idea-select span{width:7px;height:7px;margin-left:9px;border-right:1.35px solid currentColor;border-bottom:1.35px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.workspace-shell .idea-composer-tools .idea-ratio>i{width:6px;height:6px;border-right-width:1.2px;border-bottom-width:1.2px}
/* Align labels and chevrons from the same flex centerline, independent of font metrics. */
.workspace-shell .idea-select{display:inline-flex;align-items:center;line-height:1}
.workspace-shell .idea-select span{margin-left:8px;position:relative;top:-1px;transform:rotate(45deg)}
.workspace-shell .idea-composer-tools .idea-ratio{align-items:center;line-height:1}
.workspace-shell .idea-composer-tools .idea-ratio>i{position:relative;top:-1px;transform:rotate(45deg)}
.workspace-shell .workspace-sidebar .sidebar-bottom>a[href="#profile/settings"]{display:none!important}
.workspace-shell .studio-entrances{display:none!important}
.workspace-shell .idea-composer-bottom>button{font-family:Arial,sans-serif;font-weight:700;line-height:1}
.workspace-shell .idea-composer-bottom>button:hover:not(:disabled){font-weight:900}
.workspace-shell .idea-composer-bottom>button:focus-visible{font-weight:900}
.workspace-shell .idea-composer-bottom>button:active{font-weight:800}
.workspace-shell .idea-composer-bottom>button:disabled,.workspace-shell .idea-composer-bottom>button[aria-disabled=true]{font-weight:500;opacity:.66}
.workspace-shell .idea-composer:has(textarea:placeholder-shown) .idea-composer-bottom>button{font-weight:500;opacity:.66}

/* Reference composer: a quieter, editorial image-first creation surface. */
.idea-home-reference{max-width:1100px;padding-top:52px;margin-bottom:44px}
.idea-home-reference:before{inset:-120px -120px 35%;background:radial-gradient(ellipse at 50% 0,#7b285b22,transparent 72%)}
.idea-home-reference .idea-kicker{color:#b99bb7;letter-spacing:2.4px}
.idea-home-reference h1{font-size:clamp(42px,5.2vw,74px);font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-3.2px;margin:18px 0 12px}
.idea-home-reference h1 em{font-style:italic;color:#fa79bc}
.idea-subtitle{max-width:700px;margin:0 auto 28px;color:#a9a0aa;font-size:16px;line-height:1.55}
.idea-home-reference .idea-tabs{width:345px;margin-bottom:28px;background:#130e16;border:1px solid #38263d;padding:4px}
.idea-home-reference .idea-tabs button{padding:12px 16px;font-size:14px;color:#aaa1b0}
.idea-home-reference .idea-tabs button[aria-pressed=true]{background:#f6f1f5;color:#201923;box-shadow:0 2px 10px #0004}
.idea-composer-reference{padding:0 0 18px;border-radius:22px;background:#0f0813;border-color:#3a2144;box-shadow:0 16px 50px #0005;overflow:hidden;position:relative}
.idea-composer-reference:focus-within{border-color:#b94f91;box-shadow:0 0 0 3px #f05ab31a,0 16px 50px #0005}
.idea-composer-controls{display:flex;align-items:center;gap:4px;padding:15px 20px;border-bottom:1px solid #2d1d35}
.idea-menu-wrap{position:relative}.idea-menu{position:absolute;z-index:10;top:calc(100% + 6px);left:-5px;width:250px;padding:7px;border:1px solid #4c2a53;border-radius:18px;background:#120914;box-shadow:0 18px 40px #0008}.idea-menu[hidden]{display:none}.idea-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 18px;border-radius:10px;color:#eee4ef;text-align:left;font-size:14px;font-weight:600}.idea-menu button:hover,.idea-menu button[aria-current=true]{background:#241326;color:#fff}.idea-menu button[aria-current=true] b{color:#ff65ad;font-size:21px;line-height:1}.idea-menu .idea-menu-more{border-top:1px solid #3a263d;border-radius:0;margin-top:4px;padding-top:16px;color:#ad95ad;font-weight:500}
.idea-select{padding:5px 10px;border-radius:8px;color:#e8dfea;font-weight:650;font-size:13px}.idea-select span{color:#9b829d;margin-left:6px;font-size:15px}.idea-select:hover{background:#23162a}
.idea-expand{margin-left:auto;width:32px;height:32px;color:#a893aa;font-size:21px;border-radius:8px}.idea-expand:hover{background:#25152b;color:#fff}
.idea-composer-reference textarea{min-height:165px;padding:22px 20px 6px;font-size:15px;line-height:1.7}.idea-composer-reference textarea::placeholder{color:#8f7a92}
.idea-composer-reference .idea-composer-bottom{padding:0 20px;margin-top:4px}.idea-composer-reference .idea-reference{background:#130e18;border-color:#5f3b59;color:#e5a0c8}.idea-composer-reference .idea-mode{color:#847784}
.idea-composer-reference .idea-composer-bottom>button{width:48px;height:48px;background:#c04486;color:#fff;font-size:28px;box-shadow:0 6px 20px #c0448644}
.idea-composer-tools{display:flex;align-items:center;gap:10px;padding:0 20px;margin-top:10px;pointer-events:none}.idea-composer-tools button{pointer-events:auto;color:#a78ea6;font-size:13px;padding:8px 12px;border-radius:99px;border:1px solid #38233e;background:#150d19}.idea-composer-tools button:hover{color:#fff;border-color:#82506f}.idea-composer-tools .idea-ratio{display:flex;gap:8px;margin-left:4px}
.idea-benefits{display:flex;justify-content:center;gap:72px;margin-top:31px;color:#aaa0ad;font-size:13px}.idea-benefits span:first-letter{color:#f47abb}
@media(max-width:760px){.idea-home-reference{padding-top:30px}.idea-home-reference h1{font-size:40px;letter-spacing:-2px}.idea-subtitle{font-size:13px;margin-bottom:22px}.idea-home-reference .idea-tabs{width:280px}.idea-composer-controls{padding:12px 13px;overflow:auto}.idea-select{font-size:11px;white-space:nowrap;padding:5px 7px}.idea-composer-reference textarea{min-height:145px;padding:18px 15px 7px}.idea-composer-reference .idea-composer-bottom{padding:0 15px}.idea-composer-tools{padding:0 15px}.idea-benefits{gap:14px;justify-content:space-between;font-size:10px}.idea-benefits span{max-width:90px;line-height:1.35}}
.idea-model-menu{width:390px;max-height:560px;overflow-y:auto;padding:8px;scrollbar-color:#a62b79 transparent;scrollbar-width:thin}.idea-model-menu button{justify-content:flex-start;gap:12px;padding:11px 12px}.idea-model-menu button>i{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;color:#e9d8ed;font-style:normal;font-size:21px}.idea-model-menu button>span{display:flex;flex-direction:column;gap:3px;min-width:0}.idea-model-menu button strong{font-size:14px;line-height:1.15}.idea-model-menu button small{overflow:hidden;color:#a891a9;font-size:10px;font-weight:400;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.idea-model-menu button[aria-current=true]{background:#ff667022}.idea-model-menu button[aria-current=true]>i{color:#ff65ad}.idea-model-menu button>b{margin-left:auto}

.idea-version-menu{width:395px;padding:10px}.idea-version-menu button{padding:14px 16px;font-size:14px}.idea-version-menu button[aria-current=true]{background:#ff667022;color:#fff}.idea-version-menu button[aria-current=true] b{color:#ff65ad;font-size:20px}

/* Full-page checkout surface; plans are a route, never a blocking dialog. */
.workspace-shell .pricing-page{max-width:1280px;margin:0 auto;padding:42px 20px 80px;color:#f8eff8}.pricing-page-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:54px}.pricing-back{color:#bcaabd;font-size:13px}.pricing-back:hover{color:#fff}.pricing-page-heading{text-align:center}.pricing-page-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5vw,68px);font-weight:500;letter-spacing:-2.5px;margin:12px 0}.pricing-page-heading p{max-width:560px;margin:0 auto;color:#a99aaa;font-size:15px}.pricing-page-switch{margin:30px auto 36px}.pricing-page-grid{max-width:1160px;margin:0 auto 28px;gap:18px}.pricing-page-grid .pricing-card{min-height:390px;padding:26px 24px;border-radius:20px;background:#150a17}.pricing-page-grid .pricing-card h2{font-size:24px}.pricing-page-grid .pricing-card>p{font-size:13px;min-height:40px}.pricing-page-grid .pricing-card-price strong{font-size:46px}.pricing-page-grid .pricing-credits{padding:18px 15px}.pricing-page-grid .pricing-credits strong{font-size:23px}.pricing-page-grid .pricing-card button{padding:14px;font-size:13px}.pricing-page-estimate{max-width:1160px;margin:28px auto 0;padding:26px;border-radius:22px;background:#120812;border-color:#38203c;display:grid;grid-template-columns:minmax(220px,.7fr) 1.5fr;gap:28px}.pricing-page-estimate h2{font-size:22px;margin:12px 0 5px}.pricing-estimate-table>div{display:grid;grid-template-columns:1.2fr .8fr 1fr 1.2fr;gap:12px;padding:15px 0;border-bottom:1px solid #2c1b31;font-size:12px;color:#c5b6c6}.pricing-estimate-table>div:first-child{padding-top:0;color:#866f88;font-size:10px}.pricing-estimate-table>div.is-selected{color:#ff9bce}.pricing-page-footer{text-align:center;margin:31px auto 0;max-width:480px}.pricing-page-footer .pricing-cta{min-height:54px!important;font-size:14px}.pricing-page-footer p{color:#867788;font-size:11px;margin-top:13px}@media(max-width:760px){.workspace-shell .pricing-page{padding:26px 14px 70px}.pricing-page-top{margin-bottom:36px}.pricing-page-heading h1{font-size:40px}.pricing-page-heading p{font-size:13px}.pricing-page-grid{grid-template-columns:1fr}.pricing-page-grid .pricing-card{min-height:0}.pricing-page-estimate{grid-template-columns:1fr;padding:20px 16px}.pricing-estimate-table{overflow:auto}.pricing-estimate-table>div{min-width:500px}.pricing-page-footer .pricing-cta{font-size:12px}}
.pricing-transparency{max-width:1160px;margin:86px auto 0;text-align:center}.pricing-transparency>.eyebrow{color:#ff65ad}.pricing-transparency>h2,.pricing-faq>h2{font-size:clamp(30px,4vw,46px);font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-1.5px;margin:14px 0}.pricing-transparency>p{max-width:760px;margin:0 auto 36px;color:#a99aaa;font-size:15px;line-height:1.7}.pricing-factors{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left}.pricing-factors article{min-height:270px;padding:28px;border:1px solid #321d38;border-radius:20px;background:#120812}.pricing-factors article>span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:35px;border-radius:50%;background:#32102e;color:#ff65ad;font-size:24px}.pricing-factors h3{font-size:18px;margin-bottom:12px}.pricing-factors p{color:#ad9daf;font-size:13px;line-height:1.7}.pricing-faq{max-width:1160px;margin:90px auto 0;text-align:center}.pricing-faq>.eyebrow{color:#ff65ad}.pricing-faq-list{margin-top:28px;text-align:left}.pricing-faq-list button{position:relative;display:grid;grid-template-columns:1fr 34px;gap:0 16px;width:100%;padding:24px 4px;border:0;border-bottom:1px solid #321d38;background:transparent;color:#f6edf7;text-align:left;font-size:16px;font-weight:650}.pricing-faq-list button>b{display:grid;place-items:center;width:34px;height:34px;border:1px solid #432b48;border-radius:50%;color:#bda9bd;font-size:19px;font-weight:400;transition:transform .2s}.pricing-faq-list button small{display:none;grid-column:1/-1;max-width:760px;padding-top:15px;color:#a99aaa;font-size:13px;font-weight:400;line-height:1.6}.pricing-faq-list button.is-open small{display:block}.pricing-faq-list button.is-open>b{transform:rotate(180deg);color:#ff65ad;border-color:#ff65ad}@media(max-width:760px){.pricing-transparency,.pricing-faq{margin-top:60px}.pricing-transparency>p{font-size:13px}.pricing-factors{grid-template-columns:1fr}.pricing-factors article{min-height:0}.pricing-factors article>span{margin-bottom:20px}.pricing-faq-list button{font-size:14px;padding:20px 0}}
/* Normalize all composer chevrons and pin the expand control to the header. */
.idea-composer-controls{position:relative;padding-right:70px}.idea-select span{display:inline-block;width:9px;height:9px;margin-left:8px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:translateY(-2px) rotate(45deg);font-size:0;color:#bda5bd}.idea-expand{position:absolute!important;right:18px;top:11px;margin:0!important;width:32px!important;height:32px!important;display:grid!important;place-items:center;font-size:20px!important}.idea-composer-tools .idea-ratio>i{display:inline-block;width:8px;height:8px;margin-left:1px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
/* Keep the workspace utility header visible while browsing the catalog. */
.workspace-shell>header{position:sticky;top:0;z-index:8;background:var(--bg);box-shadow:0 8px 18px color-mix(in srgb,var(--bg) 86%,transparent)}
.workspace-shell .catalog-toolbar{position:sticky;top:72px;z-index:6;background:var(--bg);box-shadow:0 8px 12px var(--bg)}
@media(max-width:760px){.workspace-shell>header{position:sticky;top:0}.workspace-shell .catalog-toolbar{top:70px}}
/* Sticky utility rows stay single-line; narrow viewports scroll horizontally instead of wrapping. */
@media(min-width:761px){
  .workspace-shell>header .header-actions{display:flex;flex-wrap:nowrap;white-space:nowrap}
  .workspace-shell .catalog-toolbar{display:flex;flex-wrap:nowrap;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
  .workspace-shell .catalog-toolbar::-webkit-scrollbar{display:none}
  .workspace-shell .catalog-toolbar .filters{display:flex;flex-wrap:nowrap;white-space:nowrap;flex-shrink:0}
  .workspace-shell .catalog-toolbar .search{flex:1 0 260px}
  .workspace-shell .catalog-toolbar .input-filter-menu{flex:0 0 auto}
}
/* Audit: consistent menu surfaces, focus, overflow and expanded input. */
.idea-composer-controls{overflow:visible;flex-wrap:wrap;gap:6px;min-height:58px}
.idea-menu{max-width:calc(100vw - 48px);max-height:320px;overflow-y:auto}
.idea-menu button[aria-current=true]::after{content:'✓';margin-left:12px;color:var(--accent,#ff65ad)}
.idea-composer-tools select.idea-ratio{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:10px 16px;font:inherit}
.idea-composer.is-expanded textarea{min-height:48vh}
.idea-composer [type=submit]:disabled{opacity:.4;cursor:not-allowed}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--accent,#ff65ad);outline-offset:3px}
.studio-job video,.card-media>video{width:100%;height:100%;object-fit:cover}
[data-theme=light] .idea-menu{background:#fff;border-color:#d9dce0;box-shadow:0 12px 35px #0002}
[data-theme=light] .idea-menu button{color:#252329}
[data-theme=light] .idea-menu button:hover,[data-theme=light] .idea-menu button[aria-current=true]{background:#f5e7ee;color:#252329}
[data-theme=light] .pricing-page,[data-theme=light] .pricing-faq-list button{color:#202329}
[data-theme=light] .pricing-factors article{background:#fff;border-color:#d9dce0}
[data-theme=light] .pricing-factors h3,[data-theme=light] .pricing-faq h2,[data-theme=light] .pricing-transparency h2{color:#202329}
[data-theme=light] .pricing-factors p,[data-theme=light] .pricing-faq small,[data-theme=light] .pricing-transparency>p{color:#66616a}
@media(max-width:760px){
 .idea-composer-controls{padding-right:44px}
 .idea-menu-wrap{position:static}
 .idea-menu{left:8px;right:8px;width:auto;max-height:280px;top:100%}
 .idea-select{max-width:100%;font-size:12px}
 .workspace-shell>header>.wordmark{font-size:18px}
 .workspace-shell>header{padding-inline:12px}
 .workspace-shell>header .header-actions{gap:6px;flex-wrap:nowrap}
 .workspace-shell>header .upgrade-entry{display:none}
 .pricing-estimate-table{overflow-x:auto}
 .pricing-estimate-table>div{min-width:430px}
}
.input-filter-menu:not([open])>.input-filter-options,.sort-dropdown:not([open])>.sort-options{display:none}
.workspace-shell .catalog-toolbar{overflow:visible}
.workspace-shell .catalog-toolbar .search{min-width:100px;flex:1 1 260px}
.input-filter-options{left:auto;right:0}
.idea-composer-reference{overflow:visible}
[data-theme=light] .pricing-card,[data-theme=light] .pricing-estimate{background:#fff;border-color:#ddd5df;color:#252329}
[data-theme=light] .pricing-card>p,[data-theme=light] .pricing-estimate p{color:#68616c}
[data-theme=light] .pricing-credits{background:#f6edf3;color:#252329}
[data-theme=light] .pricing-credits p,[data-theme=light] .pricing-credits>span{color:#68616c}
[data-theme=light] .pricing-page .pricing-card h2{color:#252329}
@media(max-width:760px){.workspace-shell .catalog-toolbar{flex-wrap:wrap}.idea-select{min-height:40px}.idea-expand{min-height:40px}}
[data-theme=light] .idea-kicker,[data-theme=light] .idea-subtitle,[data-theme=light] .idea-benefits{color:#636972}
[data-theme=light] .idea-home-reference .idea-tabs{background:#e7e9ed;border-color:#d7dbe0}
[data-theme=light] .idea-home-reference .idea-tabs button{color:#626772}
[data-theme=light] .idea-home-reference .idea-tabs button[aria-pressed=true]{background:#17191d;color:#fff}
[data-theme=light] .idea-composer-reference .idea-reference{background:#fff;color:#8e285d;border-color:#d4b4c4}
[data-theme=light] .idea-composer-reference textarea::placeholder{color:#727982}
/* iPad layout: keep the desktop rail, but give the creation surface a calmer two-column rhythm. */
@media (min-width:761px) and (max-width:1100px){
  .workspace-shell>main{overflow-x:clip;min-width:0}
  .workspace-shell>header{min-width:0;padding:0 22px;gap:18px}
  .workspace-shell>header nav{gap:12px;min-width:0;overflow:hidden}
  .workspace-shell>header nav a{font-size:11px;white-space:nowrap}
  .workspace-shell>header .header-actions{gap:7px;flex-shrink:0}
  .workspace-shell>header .upgrade-entry,.workspace-shell>header .credit-pill{padding-inline:11px;font-size:11px}
  .workspace-shell .idea-home{min-width:0;padding-top:34px}
  .workspace-shell .idea-home-reference:before{inset:-50px 0 35%;}
  .workspace-shell .idea-home-reference h1{font-size:clamp(38px,5vw,56px);letter-spacing:-2px}
  .workspace-shell .idea-subtitle{max-width:680px;margin-inline:auto}
  .workspace-shell .idea-composer-reference{max-width:100%;min-width:0}
  .workspace-shell .idea-composer-controls{min-width:0;overflow:visible}
  .workspace-shell .idea-select{font-size:12px}
  .workspace-shell .hero-banner{height:245px}
  .workspace-shell #grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .workspace-shell .catalog-toolbar{min-width:0}
  .workspace-shell .catalog-toolbar .search{min-width:160px}
  .workspace-shell .footer-main{grid-template-columns:1.5fr repeat(3,1fr);gap:16px}
}

@media (max-width:760px){
  .workspace-shell .idea-home-reference:before{inset:-50px 0 35%;}
  .workspace-shell .hero-art{right:-24px;}
}

.idea-quick-starts{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));gap:10px;align-items:stretch;margin:20px 0 0;text-align:left}.idea-quick-label{align-self:center;color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.idea-quick-starts a{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:color-mix(in srgb,var(--surface) 74%,transparent);color:var(--text);transition:transform .18s ease,border-color .18s ease,background .18s ease}.idea-quick-starts a:hover{transform:translateY(-2px);border-color:#d35b98;background:color-mix(in srgb,var(--surface) 92%,#ff65ad 8%)}.idea-quick-starts b{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#ff65ad1c;color:#f47abb;font-size:14px;flex:0 0 auto}.idea-quick-starts span:not(.idea-quick-label){display:grid;gap:2px;min-width:0}.idea-quick-starts strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.idea-quick-starts small{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.idea-quick-starts i{margin-left:auto;color:var(--muted);font-style:normal;font-size:14px}
.workspace-shell .idea-home-reference:before{inset:-80px 0 35%;}
.tools-hub{max-width:1080px;margin:0 auto;padding:72px 0 100px}.tools-hub h1{max-width:760px;margin:14px 0 12px;font-size:clamp(34px,5vw,64px);letter-spacing:-2px;font-family:Georgia,"Times New Roman",serif;font-weight:500}.tools-hub>p{max-width:620px;color:var(--muted);font-size:15px;line-height:1.7}.tools-hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:42px}.tools-hub-card{display:flex;align-items:flex-start;gap:12px;min-height:126px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);transition:transform .18s ease,border-color .18s ease}.tools-hub-card:hover{transform:translateY(-3px);border-color:#d35b98}.tools-hub-card>b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ff65ad1c;color:#f47abb;font-size:18px;flex:0 0 auto}.tools-hub-card span{display:grid;gap:5px;min-width:0}.tools-hub-card strong{font-size:13px}.tools-hub-card small{color:var(--muted);font-size:10px;line-height:1.45}.tools-hub-card i{margin-left:auto;color:var(--muted);font-style:normal}.workspace-shell:has(.tools-hub)>main{min-height:calc(100vh - 80px)}
.tools-hub-sections{display:grid;gap:34px;margin-top:42px}.tools-hub-label{display:block;color:var(--muted);font-size:11px;letter-spacing:.12em;text-transform:uppercase}.tools-hub-sections .tools-hub-grid{margin-top:12px}.tools-hub-grid-agents{grid-template-columns:repeat(2,minmax(0,1fr))}.tools-hub-grid-agents .tools-hub-card{background:linear-gradient(135deg,#ff65ad18,var(--surface));min-height:150px}
@media(max-width:900px){.tools-hub{padding:48px 0 80px}.tools-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tools-hub{padding:28px 0 70px}.tools-hub h1{font-size:38px;letter-spacing:-1px}.tools-hub-grid{grid-template-columns:1fr;margin-top:28px}.tools-hub-card{min-height:92px}}

/* Reference direction: neutral AI workspace surfaces inspired by OpenArt and Media.io. */
.workspace-shell{--bg:#0d0e10;--surface:#17181b;--raised:#202226;--border:#2d3035;--text:#f4f5f6;--muted:#969ba4;--action:#f3f4f6;--action-text:#111214;background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.workspace-shell .idea-home-reference h1{font-family:inherit;font-size:clamp(38px,5vw,68px);font-weight:650;letter-spacing:-3px;color:#f5f6f7}.workspace-shell .idea-home-reference h1 em{color:#f5f6f7;font-style:normal}.workspace-shell .idea-kicker{color:#8b9098;letter-spacing:.14em}.workspace-shell .idea-subtitle{color:#a0a5ad}.workspace-shell .idea-tabs{background:#202226;border-color:#303238}.workspace-shell .idea-tabs button[aria-pressed=true]{background:#f4f5f6;color:#111214;box-shadow:none}.workspace-shell .idea-composer-reference{background:#17181b;border-color:#303238;box-shadow:0 14px 40px #0005}.workspace-shell .idea-composer-reference:focus-within{border-color:#68707a;box-shadow:0 0 0 3px #ffffff0d}.workspace-shell .idea-select{background:#202226;border-color:#363940;color:#eef0f2}.workspace-shell .idea-quick-starts a{background:#17181b;border-color:#303238}.workspace-shell .idea-quick-starts a:hover{border-color:#6c737d;background:#202226}.workspace-shell .idea-quick-starts b{background:#2a2c30;color:#f4f5f6}.workspace-shell .tools-hub{padding-top:48px}.workspace-shell .tools-hub h1{font-family:inherit;font-weight:650;letter-spacing:-2.5px;color:#f5f6f7}.workspace-shell .tools-hub>p{color:#a0a5ad}.workspace-shell .tools-hub-card{background:#17181b;border-color:#2d3035;border-radius:12px}.workspace-shell .tools-hub-card:hover{border-color:#717883;background:#202226}.workspace-shell .tools-hub-card>b{background:#25272b;color:#f0f2f3}.workspace-shell .tools-hub-grid-agents .tools-hub-card{background:#1b1d20}.workspace-shell .workspace-section-title h2{font-weight:600}
[data-theme=light] .workspace-shell{--bg:#f5f6f7;--surface:#fff;--raised:#eef0f2;--border:#d8dbe0;--text:#15171a;--muted:#6d737c;--action:#15171a;--action-text:#fff}.workspace-shell[data-theme=light] .idea-home-reference h1{color:#15171a}
@media(max-width:760px){.idea-quick-starts{grid-template-columns:1fr 1fr;gap:8px}.idea-quick-label{grid-column:1/-1}.idea-quick-starts a:last-child{display:none}.idea-quick-starts a{padding:9px}.idea-quick-starts strong{font-size:10px}.idea-quick-starts small{font-size:8px}}
/* Home hierarchy: keep the template-video module, simplify the surrounding product surface. */
.workspace-shell .catalog-intro{display:none}.workspace-shell .idea-home-reference{padding-top:42px;margin-bottom:30px}.workspace-shell .idea-home-reference h1{max-width:860px;margin-inline:auto;text-align:left;font-size:clamp(42px,5.5vw,72px);letter-spacing:-3px}.workspace-shell .idea-home-reference .idea-subtitle{max-width:760px;margin-left:0;text-align:left}.workspace-shell .idea-home-reference .idea-tabs{margin-left:0}.workspace-shell .idea-home-reference .idea-composer-reference{border-radius:16px}.workspace-shell .hero-banner{margin-top:22px}.workspace-shell .hero-banner::before{content:'Templates';display:block;position:absolute;top:-30px;left:0;color:var(--muted);font-size:11px;letter-spacing:.12em;text-transform:uppercase}.workspace-shell .hero-banner{position:relative}
@media(max-width:760px){.workspace-shell .idea-home-reference{padding-top:24px}.workspace-shell .idea-home-reference h1{font-size:38px;letter-spacing:-1.5px}.workspace-shell .idea-home-reference .idea-subtitle{font-size:13px}.workspace-shell .hero-banner{margin-top:18px}}
.templates-page{max-width:1180px;margin:0 auto;padding:34px 0 90px}.templates-heading{margin-bottom:34px}.templates-heading h1{font-size:clamp(36px,5vw,64px);letter-spacing:-2px;margin:12px 0 10px}.templates-heading p{color:var(--muted);max-width:650px}.templates-page .hero-banner{margin:0 0 30px}.templates-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.template-card{position:relative;display:block;min-height:260px;border-radius:14px;overflow:hidden;background:var(--surface);border:1px solid var(--border);color:var(--text)}.template-card img{width:100%;height:100%;min-height:260px;object-fit:cover;display:block}.template-card:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#000c)}.template-card span{position:absolute;z-index:1;left:14px;right:12px;bottom:14px;display:grid;gap:5px}.template-card strong{font-size:13px}.template-card small{font-size:10px;color:#c5c8cc}.template-card i{position:absolute;z-index:2;right:12px;top:12px;font-style:normal}.template-card:hover{border-color:#7d848d;transform:translateY(-2px)}
@media(max-width:1100px){.templates-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.templates-page{padding:24px 0 70px}.templates-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.template-card,.template-card img{min-height:210px}}
.agent-page{max-width:980px;margin:0 auto;padding:72px 28px 120px}.agent-heading{max-width:760px;margin-bottom:28px}.agent-heading h1{font-size:clamp(36px,5vw,64px);letter-spacing:-.045em;margin:10px 0 12px}.agent-heading p{color:var(--muted);font-size:18px;line-height:1.6}.agent-form,.agent-plan{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:26px}.agent-form>label{display:block;font-weight:700;margin-bottom:12px}.agent-form textarea{display:block;width:100%;min-height:150px;resize:vertical;background:var(--panel-strong);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:18px;font:inherit;outline:none}.agent-form textarea:focus{border-color:var(--accent)}.agent-form-row{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-top:18px}.agent-form-row label{display:grid;gap:8px;color:var(--muted);font-size:13px}.agent-form-row select{background:var(--panel-strong);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font:inherit}.agent-plan{margin-top:18px}.agent-plan-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.agent-plan h2{margin:8px 0}.agent-plan p{color:var(--muted)}.agent-estimate{white-space:nowrap;color:var(--accent);font-weight:700}.agent-plan ol{list-style:none;padding:0;margin:24px 0;display:grid;gap:0}.agent-plan li{display:flex;gap:16px;padding:16px 0;border-top:1px solid var(--line)}.agent-plan li b{color:var(--accent);font-variant-numeric:tabular-nums}.agent-plan-actions{display:flex;gap:12px;justify-content:flex-end}@media(max-width:640px){.agent-form-row,.agent-plan-header{display:grid}.agent-plan-actions{justify-content:stretch;flex-direction:column}.agent-plan-actions>*{text-align:center}}
.competitive-home{max-width:1180px;margin:0 auto 42px}.competitive-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:30px 0 14px}.competitive-heading.compact{margin-top:42px}.competitive-heading h2{font-size:20px;margin:8px 0 0;letter-spacing:-.02em}.competitive-heading a{color:var(--muted);font-size:12px}.competitive-rail,.model-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.competitive-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden;padding-bottom:14px;transition:.2s}.competitive-card:hover,.competitive-tool-grid a:hover,.model-rail a:hover{border-color:#8f5273;transform:translateY(-2px)}.competitive-card-art{height:126px;background:linear-gradient(135deg,#3a1d32,#17191d 60%,#70415c);display:grid;place-items:center;color:#ff80bb;font-size:32px}.competitive-card strong,.competitive-card small{display:block;padding:0 14px}.competitive-card strong{margin-top:12px;font-size:14px}.competitive-card small{margin-top:4px;color:var(--muted);font-size:11px}.competitive-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.competitive-tool-grid a{display:flex;align-items:center;gap:11px;padding:15px;border:1px solid var(--border);border-radius:13px;background:var(--surface);transition:.2s}.competitive-tool-grid b{color:var(--accent);font-size:18px}.competitive-tool-grid span{display:grid;gap:4px;min-width:0}.competitive-tool-grid strong{font-size:12px}.competitive-tool-grid small,.model-rail small{color:var(--muted);font-size:10px;line-height:1.35}.competitive-tool-grid i{margin-left:auto;color:var(--muted)}.model-rail a{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:16px;border:1px solid var(--border);border-radius:13px;background:var(--surface);transition:.2s}.model-rail a>span{grid-row:span 2;color:var(--accent);font-size:20px}.model-rail strong{font-size:13px}.model-rail small{grid-column:2}@media(max-width:760px){.competitive-home{margin-top:24px}.competitive-rail,.model-rail{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.competitive-card,.model-rail a{min-width:205px;scroll-snap-align:start}.competitive-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.competitive-heading h2{font-size:17px}.competitive-heading a{font-size:11px}}
/* Homepage rebuild: the old effect catalog now lives outside the create-first homepage. */
.workspace-shell .catalog-toolbar,.workspace-shell .catalog-subbar,.workspace-shell #grid{display:none!important}
.fresh-grid,.inspiration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fresh-grid a{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.fresh-grid b{color:var(--accent);font-size:19px}.fresh-grid span{display:grid;gap:4px}.fresh-grid small,.inspiration-grid small{color:var(--muted);font-size:10px}.fresh-grid i{margin-left:auto;color:var(--muted);font-size:10px;font-style:normal}.inspiration-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.inspiration-grid a{border:1px solid var(--border);border-radius:13px;background:var(--surface);overflow:hidden}.inspiration-grid a>div{height:92px;display:grid;place-items:center;background:linear-gradient(135deg,#382031,#17191d 60%,#60435c);color:#ff82bd;font-size:24px}.inspiration-grid strong,.inspiration-grid small{display:block;padding:0 12px}.inspiration-grid strong{margin-top:11px;font-size:12px}.inspiration-grid small{margin:4px 0 13px}@media(max-width:760px){.fresh-grid{grid-template-columns:1fr}.inspiration-grid{display:flex;overflow:auto}.inspiration-grid a{min-width:170px}.inspiration-grid a>div{height:78px}}
.home-content-modules{max-width:1260px;margin:32px auto 46px}.home-content-section{margin:0 0 36px}.home-content-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:15px}.home-content-heading .eyebrow{font-size:9px;letter-spacing:.15em;color:var(--muted)}.home-content-heading h2{font-size:21px;letter-spacing:-.035em;margin:7px 0 0}.home-content-heading>a{font-size:11px;color:var(--muted);white-space:nowrap}.home-content-heading>a b{margin-left:5px}.home-content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-content-card{min-width:0;color:var(--text)}.home-content-image{height:164px;position:relative;overflow:hidden;border-radius:12px;background:#191a1d;border:1px solid var(--border);margin-bottom:10px}.home-content-image:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#0007);pointer-events:none}.home-content-image img,.inspiration-grid img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s}.home-content-card:hover .home-content-image img,.inspiration-grid a:hover img{transform:scale(1.04)}.home-content-image>span{position:absolute;z-index:1;left:10px;bottom:10px;padding:5px 7px;border-radius:5px;background:#0b0c0dbd;color:white;font-size:8px;letter-spacing:.08em}.home-content-image>i{position:absolute;z-index:1;right:10px;top:10px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#101113b8;color:white;font-style:normal}.home-content-card>strong,.home-content-card>small{display:block}.home-content-card>strong{font-size:12px}.home-content-card>small{font-size:10px;color:var(--muted);margin-top:4px;line-height:1.4}.home-content-section:nth-child(2) .home-content-image{height:112px}.home-content-section:nth-child(3) .home-content-image{height:128px}.home-content-section:nth-child(4) .home-content-image{height:140px}.inspiration-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.inspiration-grid a{min-width:0;border:0;background:transparent}.inspiration-grid a>div{height:158px;position:relative;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#17181b}.inspiration-grid a>div>span{position:absolute;right:10px;top:10px;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#101113bb;color:white}.inspiration-grid strong,.inspiration-grid small{padding:0}.inspiration-grid strong{font-size:12px;margin-top:9px}.inspiration-grid small{font-size:10px;margin:4px 0 0}@media(max-width:900px){.home-content-image{height:136px}.inspiration-grid a>div{height:130px}}@media(max-width:640px){.home-content-modules{margin:25px auto 34px}.home-content-section{margin-bottom:27px}.home-content-heading h2{font-size:17px}.home-content-grid,.inspiration-grid{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;padding-bottom:3px;scrollbar-width:none}.home-content-grid::-webkit-scrollbar,.inspiration-grid::-webkit-scrollbar{display:none}.home-content-card,.inspiration-grid a{flex:0 0 72%;scroll-snap-align:start}.home-content-image{height:164px!important}.inspiration-grid a>div{height:152px}.home-content-card>strong,.inspiration-grid strong{font-size:12px}}
/* Homepage content system: scenario-led cards use owned local preview assets and live product routes. */
.home-content-modules{max-width:1260px;margin:38px auto 56px}.home-content-section{margin:0 0 46px}.home-content-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.home-content-heading>div{min-width:0}.home-content-heading .eyebrow{font-size:10px;letter-spacing:.12em;color:var(--muted)}.home-content-heading h2{font-size:22px;letter-spacing:-.035em;margin:7px 0 5px}.home-content-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.home-content-heading>a{font-size:11px;color:var(--muted);white-space:nowrap}.home-content-tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--border);background:var(--surface);border-radius:999px;flex:0 0 auto}.home-content-tabs button{padding:7px 13px;border-radius:999px;color:var(--muted);font-size:11px}.home-content-tabs button[aria-pressed=true]{background:#f4f5f6;color:#15171a}.home-scenario-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-scenario-card{min-width:0;color:var(--text)}.home-scenario-card[hidden]{display:none}.home-scenario-media{height:176px;position:relative;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:var(--surface);margin-bottom:10px}.home-scenario-media:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0008);pointer-events:none}.home-scenario-media img,.home-example-card img,.home-inspiration-grid>a>img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.home-scenario-card:hover img,.home-example-card:hover img,.home-inspiration-grid>a:hover>img{transform:scale(1.04)}.home-scenario-media span{position:absolute;z-index:1;bottom:10px;left:10px;padding:5px 8px;border-radius:5px;background:#101113c9;color:white;font-size:9px}.home-scenario-media>b{position:absolute;z-index:1;top:10px;right:10px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#101113c9;color:#fff}.home-scenario-card>strong,.home-scenario-card>small{display:block}.home-scenario-card>strong{font-size:13px}.home-scenario-card>small{font-size:10px;line-height:1.45;color:var(--muted);margin-top:4px}.home-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.home-tool-card{display:flex;align-items:center;gap:12px;min-height:76px;padding:13px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);transition:transform .18s,border-color .18s}.home-tool-card:hover,.home-model-card:hover{transform:translateY(-2px);border-color:#777d86}.home-tool-card>b{width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;background:var(--raised);font-size:16px}.home-tool-card>span,.home-model-main{display:grid;gap:4px;min-width:0}.home-tool-card strong,.home-model-card strong{font-size:12px}.home-tool-card small,.home-model-card small{font-size:10px;color:var(--muted);line-height:1.4}.home-tool-card>i,.home-model-card>i{margin-left:auto;font-size:10px;color:var(--muted);font-style:normal;white-space:nowrap}.home-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.home-model-card{display:flex;align-items:center;gap:11px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);transition:transform .18s,border-color .18s}.home-model-icon{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--border);border-radius:50%;font-size:14px}.home-example-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-example-card{min-width:0;color:var(--text)}.home-example-card>div{height:190px;position:relative;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:var(--surface);margin-bottom:10px}.home-example-card>div>span{position:absolute;left:10px;bottom:10px;padding:5px 8px;border-radius:5px;background:#111c;color:#fff;font-size:9px}.home-example-card>div>b{position:absolute;right:10px;bottom:10px;color:#fff;font-size:10px}.home-example-card>strong,.home-example-card>small{display:block}.home-example-card>strong{font-size:12px}.home-example-card>small{font-size:10px;color:var(--muted);margin-top:4px}.home-inspiration-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-inspiration-grid>a{position:relative;height:150px;overflow:hidden;border:1px solid var(--border);border-radius:13px;color:white;background:#17181b}.home-inspiration-grid>a:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#000c)}.home-inspiration-grid>a>span{position:absolute;z-index:1;inset:auto 12px 12px;display:grid;gap:4px}.home-inspiration-grid strong{font-size:13px}.home-inspiration-grid small{font-size:10px;color:#d0d2d6}.home-inspiration-grid b{font-size:9px;font-weight:500;margin-top:3px}.home-content-note{font-size:10px;color:var(--muted);padding:12px 0;border-top:1px solid var(--border)}.home-empty-state{padding:18px;border:1px solid var(--border);border-radius:12px;color:var(--muted);font-size:12px}
[data-theme=light] .home-content-tabs button[aria-pressed=true]{background:#15171a;color:white}
@media(max-width:1000px){.home-scenario-grid,.home-example-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-tool-grid,.home-model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.home-content-modules{margin:25px auto 40px}.home-content-section{margin-bottom:32px}.home-content-heading{align-items:flex-start;flex-wrap:wrap}.home-content-heading h2{font-size:18px}.home-content-heading p{font-size:11px}.home-scenario-grid,.home-example-grid{display:flex;overflow:auto;gap:11px;scroll-snap-type:x mandatory;padding-bottom:4px;scrollbar-width:none}.home-scenario-grid::-webkit-scrollbar,.home-example-grid::-webkit-scrollbar{display:none}.home-scenario-card,.home-example-card{flex:0 0 76%;scroll-snap-align:start}.home-scenario-media{height:185px}.home-example-card>div{height:190px}.home-tool-grid,.home-model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-tool-card{min-height:74px;padding:10px;gap:8px}.home-tool-card>span{overflow-wrap:anywhere}.home-tool-card small{font-size:9px}.home-model-card{gap:8px;padding:10px}.home-model-card>i{display:none}.home-inspiration-grid{display:flex;overflow:auto;gap:10px;scroll-snap-type:x mandatory}.home-inspiration-grid>a{flex:0 0 72%;scroll-snap-align:start;height:155px}}

/* Preserve filter visibility across grid and flex layouts. */
.home-model-card[hidden],.home-scenario-card[hidden]{display:none!important}
.tools-hub>.home-content-tabs{margin:24px 0}.tools-hub>.home-model-grid{margin-top:20px}
