.image-tool-shell{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 112px;min-height:calc(100dvh - 74px);background:transparent;color:#111827;font-family:var(--font-montserrat),sans-serif}.image-tool-workspace{width:min(1120px,calc(100% - 48px));min-width:0;margin:0 auto;padding:24px 0 10px}.image-tool-fold{display:grid;min-height:calc(100dvh - 98px);grid-template-rows:auto minmax(0,1fr) minmax(0,auto) auto;gap:14px}.image-tool-fold.is-session{grid-template-rows:minmax(0,1fr) minmax(0,auto) auto}.image-tool-fold.is-session>.image-tool-history.image-tool-history-inline{grid-row:2}.image-tool-fold.is-session>.image-tool-controls{grid-row:3}.image-tool-heading{max-width:900px;margin:0 auto;text-align:center}.image-tool-heading h1{margin:0;font-size:clamp(30px,3vw,48px);font-weight:700;line-height:1.08;letter-spacing:-.04em}.image-tool-heading p{max-width:760px;margin:9px auto 0;color:#73809a;font-size:16px;line-height:1.55}.image-tool-showcase{display:grid;max-height:min(52dvh,560px);min-height:0;place-items:center}.image-tool-showcase.is-session{height:clamp(300px,calc(100dvh - 235px),820px);max-height:none;align-self:stretch}.image-tool-showcase>*{width:100%}.image-tool-stage{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2.3vw,30px);margin:0 auto}.image-tool-stage-arrow{position:absolute;top:50%;left:50%;z-index:3;display:grid;width:52px;height:52px;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 12px 32px rgba(31,41,55,.14);transform:translate(-50%,-50%)}.image-tool-media-card{position:relative;min-width:0;aspect-ratio:4/3;max-height:min(49dvh,520px);overflow:hidden;border:0;border-radius:26px;background:#f1f3f7;box-shadow:0 15px 38px rgba(31,41,55,.055),inset 0 0 0 1px rgba(210,216,227,.68)}.image-tool-media-card.after{background-color:#f8f9fb;background-image:linear-gradient(45deg,#edf0f4 25%,transparent 0),linear-gradient(-45deg,#edf0f4 25%,transparent 0),linear-gradient(45deg,transparent 75%,#edf0f4 0),linear-gradient(-45deg,transparent 75%,#edf0f4 0);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}.image-tool-media-card>img{display:block;width:100%;height:100%;object-fit:contain;background:#f1f3f7}.image-tool-media-label{position:absolute;top:16px;left:16px;z-index:2;padding:8px 14px;border:0;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 6px 20px rgba(15,23,42,.08);font-size:12px;font-weight:700;backdrop-filter:blur(10px)}.image-tool-empty-media{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;background:linear-gradient(145deg,rgba(248,249,252,.96),rgba(238,241,246,.92));color:#7c879a;text-align:center}.image-tool-empty-media.subtle{background:rgba(255,255,255,.66)}.image-tool-media-card .chat-image-generation-loader{height:100%;min-height:0;border:0;border-radius:0;background:rgba(255,255,255,.7)}.image-tool-examples{max-height:100%;margin:0 auto}.image-tool-examples h2{margin:0 0 14px;font-size:15px}.image-tool-example-grid{display:flex;gap:18px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}.image-tool-example-grid::-webkit-scrollbar{display:none}.image-tool-example-grid>.image-tool-example-placeholder,.image-tool-example-grid>img{width:calc((100% - 36px) / 3);max-height:min(42dvh,410px);flex:0 0 calc((100% - 36px) / 3);aspect-ratio:1/1;border-radius:22px;scroll-snap-align:start}.image-tool-example-grid img{object-fit:cover;box-shadow:0 14px 34px rgba(20,30,50,.08)}.image-tool-example-placeholder{display:grid;aspect-ratio:1/1;place-items:center;border-radius:22px;background:linear-gradient(145deg,rgba(248,249,252,.94),rgba(237,240,246,.92));color:#98a2b4;box-shadow:0 14px 34px rgba(20,30,50,.05)}.image-tool-example-carousel{position:relative;max-height:calc(100% - 30px)}.image-tool-example-navigation{position:absolute;inset:0 -16px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.image-tool-example-navigation button{display:grid;width:34px;height:34px;padding:0;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.86);color:#3f4652;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.1);backdrop-filter:blur(12px);pointer-events:auto;transition:opacity .16s ease,transform .16s ease,background-color .16s ease}.image-tool-example-navigation button:hover:not(:disabled){background:rgba(255,255,255,.98);transform:scale(1.04)}.image-tool-example-navigation button:disabled{opacity:.18;cursor:default;pointer-events:none}.image-tool-session-stage{width:100%;height:100%;max-height:100%;min-height:0;margin:0 auto;overflow:hidden;animation:image-tool-enter .24s cubic-bezier(.22,1,.36,1)}.image-tool-session-canvas{position:relative;display:grid;width:100%;height:100%;min-height:0;max-height:none;place-items:center;overflow:hidden;border-radius:26px;background:transparent}.image-tool-session-canvas>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.image-tool-session-canvas .chat-image-generation-loader{width:100%;height:100%;min-height:0;max-height:none;border:0;border-radius:26px}@keyframes image-tool-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.image-tool-controls{position:relative;padding:16px;border:0;border-radius:24px;background:rgba(255,255,255,.82);box-shadow:0 18px 48px rgba(31,41,55,.09);backdrop-filter:blur(18px)}.image-tool-history.image-tool-history-inline{display:none;grid-row:3}.image-tool-fold>.image-tool-controls{grid-row:4}.image-tool-controls.with-composer{width:min(900px,100%);margin:0 auto;padding:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}.image-tool-composer{width:100%;animation:image-tool-enter .22s cubic-bezier(.22,1,.36,1)}.image-tool-composer-box{position:relative;overflow:visible;padding:14px 15px 10px;border:1px solid #d8dbe2;border-radius:29px;background:rgba(255,255,255,.98);box-shadow:0 10px 30px rgba(15,23,42,.08)}.image-tool-composer-box>textarea{display:block;width:100%;min-height:64px;max-height:190px;padding:2px 6px 8px;resize:vertical;border:0;outline:0;background:transparent;color:#202020;font:inherit;font-size:15px;line-height:1.55}.image-tool-composer-bottom{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px}.image-tool-composer-actions,.image-tool-composer-tools{display:flex;min-width:0;align-items:center;gap:7px}.image-tool-composer-tools{flex:1}.image-tool-composer-upload{display:inline-flex}.image-tool-composer-download,.image-tool-composer-settings>button,.image-tool-composer-upload>button{position:relative;display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:0;border-radius:19px;background:#f3f4f6;color:#1e2024;font:inherit;font-size:11px;font-weight:650;cursor:pointer;transition:background-color .16s ease,transform .16s ease}.image-tool-composer-upload>button{width:42px;height:42px;min-width:42px;padding:0;border-radius:50%}.image-tool-composer-upload>button:after{position:absolute;bottom:calc(100% + 9px);left:50%;z-index:60;max-width:220px;padding:7px 10px;border-radius:9px;background:rgba(24,25,28,.94);color:#fff;content:attr(data-tooltip);font-size:10px;font-weight:600;line-height:1.25;opacity:0;pointer-events:none;transform:translate(-50%,4px);transition:opacity .15s ease,transform .15s ease;white-space:nowrap}.image-tool-composer-upload>button:focus-visible:after,.image-tool-composer-upload>button:hover:after{opacity:1;transform:translate(-50%)}.image-tool-controls .chatinput-aspect-ratio-button,.image-tool-controls .chatinput-aspect-ratio-option{border:0!important;box-shadow:none!important}.image-tool-composer-download:hover,.image-tool-composer-settings>button.active,.image-tool-composer-settings>button:hover,.image-tool-composer-upload>button:hover{background:#e7e9ed}.image-tool-composer-upload>button>.image-tool-composer-upload-count{position:absolute;top:-2px;right:-2px;display:grid;min-width:17px;height:17px;padding:0 4px;place-items:center;border:2px solid #fff;border-radius:999px;background:#6d5ce8;color:#fff;font-size:8px}.image-tool-composer-settings{position:relative;display:inline-flex}.image-tool-composer-settings-menu{position:absolute;bottom:calc(100% + 10px);left:0;z-index:40;display:grid;width:min(440px,calc(100vw - 40px));max-height:min(460px,60dvh);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:auto;padding:10px;border:0;border-radius:19px;background:rgba(255,255,255,.98);box-shadow:0 20px 54px rgba(15,23,42,.18);backdrop-filter:blur(18px)}.image-tool-composer-settings-menu .text-field{grid-column:1/-1}.image-tool-composer-settings-menu .text-field input,.image-tool-composer-settings-menu .text-field textarea{width:100%;min-height:42px;padding:10px 11px;resize:vertical;border:0;border-radius:12px;outline:0;background:#f4f5f7;color:inherit;font:inherit;font-size:12px}.image-tool-composer-actions{margin-left:auto}.image-tool-composer-send{display:grid;width:42px;height:42px;padding:0;place-items:center;border:0;border-radius:50%;background:#1d1d1d;color:#fff;cursor:pointer;box-shadow:0 5px 15px rgba(15,23,42,.18);transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}.image-tool-composer-send:hover:not(:disabled){background:#090909;box-shadow:0 7px 18px rgba(15,23,42,.24);transform:translateY(-1px)}.image-tool-composer-send:disabled,.image-tool-composer-upload>button:disabled{opacity:.42;cursor:not-allowed}.image-tool-controls.with-composer .image-tool-cost,.image-tool-controls.with-composer .image-tool-error,.image-tool-controls.with-composer .image-tool-warning{margin-top:9px}.image-tool-controls.simple{grid-template-columns:minmax(280px,460px) auto;justify-content:space-between}.image-tool-controls.has-settings,.image-tool-controls.simple{display:grid;align-items:center;gap:14px;padding:13px 16px}.image-tool-controls.has-settings{grid-template-columns:minmax(250px,.9fr) minmax(300px,1.15fr) auto}.image-tool-controls-grid{min-width:0}.image-tool-controls.has-settings .image-tool-controls-grid{display:contents}.image-tool-controls.has-settings:not(.has-uploads){grid-template-columns:minmax(0,1fr) auto}.image-tool-controls.has-settings:not(.has-uploads) .image-tool-upload-row{display:none}.image-tool-upload-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.image-tool-upload-control>button{display:flex;width:100%;min-height:56px;align-items:center;gap:13px;padding:8px 12px;border:0;border-radius:17px;background:#f4f5f8;color:inherit;text-align:left;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(219,224,233,.6);transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.image-tool-upload-control>button:hover{background:#f0edff;box-shadow:inset 0 0 0 1px rgba(132,111,244,.28),0 8px 22px rgba(99,73,255,.08);transform:translateY(-1px)}.image-tool-upload-control>button:disabled{opacity:.6;cursor:wait}.image-tool-upload-control button span:last-child{display:flex;min-width:0;flex-direction:column;gap:4px}.image-tool-upload-control strong{font-size:13px}.image-tool-upload-control small{color:#8792a7;font-size:11px;line-height:1.4}.image-tool-control-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:14px;background:#e8e4ff;color:#6551db}.image-tool-upload-previews{display:none}.image-tool-prompt-panel{min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.image-tool-prompt-panel>textarea{width:100%;min-height:86px;padding:7px;resize:vertical;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:1.55}.image-tool-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;margin-top:0}.image-tool-field{min-width:0;padding:9px 4px 2px}.image-tool-field.context-field{padding:0}.image-tool-field>label{display:block;margin-bottom:8px;color:#59657a;font-size:12px;font-weight:700}.image-tool-field>small{display:block;margin-top:6px;color:#8a95a8;font-size:10px}.image-tool-context-select{position:relative;min-width:0}.image-tool-context-trigger{display:flex;width:100%;min-height:56px;align-items:center;gap:10px;padding:8px 11px;border:0;border-radius:14px;background:rgba(255,255,255,.9);color:inherit;font:inherit;text-align:left;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.055),inset 0 0 0 1px rgba(220,225,234,.65);transition:background .18s ease,box-shadow .18s ease}.image-tool-context-trigger:hover,.image-tool-context-trigger[aria-expanded=true]{background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.08),inset 0 0 0 1px rgba(120,102,224,.28)}.image-tool-context-icon,.image-tool-menu-option-icon{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:9px;background:#efecff;color:#6451d8}.image-tool-context-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.image-tool-context-copy small{color:#8a95a8;font-size:9px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.image-tool-context-copy small,.image-tool-context-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-tool-context-copy strong{font-size:12px}.image-tool-context-menu,.image-tool-download-menu{position:absolute;z-index:30;padding:6px;border:0;border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 20px 48px rgba(20,30,50,.18);backdrop-filter:blur(18px)}.image-tool-context-menu{top:auto;right:0;bottom:calc(100% + 7px);left:0;max-height:248px;overflow:auto}.image-tool-background-swatch{display:block;width:20px;height:20px;border:1px solid rgba(15,23,42,.15);border-radius:50%;box-shadow:0 1px 4px rgba(15,23,42,.12)}.image-tool-background-swatch.is-auto{background-color:#fff;background-image:linear-gradient(45deg,#d8dbe2 25%,transparent 0),linear-gradient(-45deg,#d8dbe2 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d8dbe2 0),linear-gradient(-45deg,transparent 75%,#d8dbe2 0);background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px}.image-tool-background-menu{max-height:min(390px,62dvh);overflow:auto}.image-tool-custom-color{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:8px;margin-top:5px;padding:9px 4px 3px;border-top:1px solid rgba(148,163,184,.18)}.image-tool-custom-color-picker{position:relative;display:flex;min-width:0;min-height:46px;align-items:center;gap:9px;padding:7px 9px;border-radius:12px;background:#f5f5f7;cursor:pointer}.image-tool-custom-color-picker input[type=color]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.image-tool-custom-color-preview{width:28px;height:28px;flex:0 0 28px;border:1px solid rgba(15,23,42,.14);border-radius:9px;box-shadow:0 2px 6px rgba(15,23,42,.1)}.image-tool-custom-color-picker>span:nth-of-type(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}.image-tool-custom-color-picker small{color:#8a95a8;font-size:9px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.image-tool-custom-color-picker strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.image-tool-custom-color-hex{display:flex;min-width:0;align-items:center;gap:3px;padding:0 9px;border-radius:12px;background:#f5f5f7;color:#7b8495;font-size:12px;font-weight:700}.image-tool-custom-color-hex input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#273144;font:inherit;text-transform:uppercase}.image-tool-context-menu button,.image-tool-download-menu button{display:flex;width:100%;min-height:42px;align-items:center;gap:10px;padding:7px 9px;border:0;border-radius:11px;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer}.image-tool-context-menu button>span:nth-child(2),.image-tool-download-menu button>span:nth-child(2){min-width:0;flex:1}.image-tool-context-menu button.selected,.image-tool-context-menu button:hover,.image-tool-download-menu button:hover{background:#f0edff;color:#5643cd}.ratio-shape{display:block;width:19px;max-height:22px;border:1.8px solid;border-radius:3px}.image-tool-range{display:flex;align-items:center;gap:12px}.image-tool-range input{width:100%;accent-color:#7562ee}.image-tool-range output{min-width:42px;padding:6px 8px;border-radius:10px;background:#e9e5ff;font-size:12px;text-align:center}.image-tool-toggle{display:inline-flex;align-items:center;gap:9px;border:0;background:none;color:#667085;font:inherit;cursor:pointer}.image-tool-toggle span{display:block;width:40px;height:23px;padding:3px;border-radius:999px;background:#d8dde7}.image-tool-toggle span:after{display:block;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.18);content:"";transition:transform .2s}.image-tool-toggle.active span{background:#7260e9}.image-tool-toggle.active span:after{transform:translateX(17px)}.image-tool-color{display:flex;align-items:center;gap:10px}.image-tool-color input{width:48px;height:38px;padding:3px;border:0;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #dfe3eb}.image-tool-action-row{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}.image-tool-controls.simple .image-tool-action-row{margin-top:0}.image-tool-controls.has-settings .image-tool-action-row{flex-wrap:nowrap;margin-top:0}.image-tool-controls.has-settings .image-tool-cost,.image-tool-controls.has-settings .image-tool-error,.image-tool-controls.has-settings .image-tool-warning{grid-column:1/-1}.image-tool-download,.image-tool-generate{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:9px;border-radius:999px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:box-shadow .18s ease,transform .18s ease}.image-tool-generate{min-width:210px;min-height:56px;padding:0 24px;border:0;background:#111;color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.13)}.image-tool-generate:hover:not(:disabled){box-shadow:0 11px 26px rgba(0,0,0,.17);transform:translateY(-1px)}.image-tool-generate:disabled{opacity:.42;cursor:not-allowed}.image-tool-download{padding:0 17px;border:0;background:#f3f4f7;color:#212936}.image-tool-download-wrap{position:relative}.image-tool-download-menu{right:0;bottom:56px;min-width:172px}.image-tool-cost,.image-tool-error,.image-tool-warning{grid-column:1/-1}.image-tool-cost{margin-top:10px;color:#6f7a8e;font-size:11px;font-weight:600;text-align:center}.image-tool-error,.image-tool-warning{display:flex;max-width:720px;align-items:flex-start;gap:8px;margin:12px auto 0;padding:10px 12px;border:0;border-radius:13px;font-size:11px;line-height:1.45}.image-tool-error{background:#fff0f1;color:#ad2734}.image-tool-warning{background:#fff8e7;color:#7a5b17}.image-tool-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.image-tool-features article{display:flex;gap:12px;padding:16px;border:0;border-radius:17px;background:rgba(255,255,255,.74);box-shadow:0 8px 24px rgba(31,41,55,.045)}.image-tool-features strong{font-size:12px}.image-tool-features p{margin:5px 0 0;color:#7a8598;font-size:10px;line-height:1.45}.image-tool-history{position:sticky;top:76px;display:flex;height:calc(100dvh - 76px);align-items:center;justify-content:center;padding:10px 6px;border:0;background:transparent;box-shadow:none;backdrop-filter:none}.image-tool-history .image-thumbnails-container{max-width:100%;border:0!important;background:transparent!important;box-shadow:none!important}.image-tool-history .image-thumbnails-title{display:none}.image-tool-seo-content{grid-column:1/-1;width:min(1060px,calc(100% - 40px));margin:4px auto 50px;padding:34px;border:0;border-radius:24px;background:#fff;box-shadow:0 14px 36px rgba(31,41,55,.06)}.image-tool-seo-content img{max-width:100%;height:auto}.image-tool-seo-content h2,.image-tool-seo-content h3{letter-spacing:-.02em}.image-tool-related{margin-top:34px}.image-tool-related-heading{margin-bottom:14px;text-align:left}.image-tool-related-heading span{color:#7562ee;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.image-tool-related-heading h2{margin:5px 0 0;font-size:21px;letter-spacing:-.025em}.image-tool-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.image-tool-related-card{display:flex;min-width:0;align-items:center;gap:12px;padding:14px;border:0;border-radius:17px;background:rgba(255,255,255,.78);color:inherit;text-decoration:none;box-shadow:0 8px 24px rgba(31,41,55,.045);transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.image-tool-related-card:hover{background:#fff;box-shadow:0 12px 30px rgba(65,50,140,.1);transform:translateY(-1px)}.image-tool-related-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:13px;background:#f0edff;color:#6652dc}.image-tool-related-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.image-tool-related-copy small,.image-tool-related-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-tool-related-copy strong{font-size:12px}.image-tool-related-copy small{color:#8792a7;font-size:10px}[data-theme=dark] .image-tool-shell{color:#f2f4f8;background:transparent}[data-theme=dark] .image-tool-context-menu,[data-theme=dark] .image-tool-controls,[data-theme=dark] .image-tool-download-menu,[data-theme=dark] .image-tool-media-label,[data-theme=dark] .image-tool-seo-content{background:rgba(35,38,46,.92);color:#f2f4f8}[data-theme=dark] .image-tool-controls.with-composer{background:transparent}[data-theme=dark] .image-tool-composer-box,[data-theme=dark] .image-tool-composer-settings-menu{border-color:#3b3d42;background:rgba(35,36,39,.98);color:#f4f4f5;box-shadow:0 18px 48px rgba(0,0,0,.38)}[data-theme=dark] .image-tool-composer-box>textarea{color:#f4f4f5}[data-theme=dark] .image-tool-composer-download,[data-theme=dark] .image-tool-composer-settings-menu .text-field input,[data-theme=dark] .image-tool-composer-settings-menu .text-field textarea,[data-theme=dark] .image-tool-composer-settings>button,[data-theme=dark] .image-tool-composer-upload>button{background:rgba(255,255,255,.09);color:#f4f4f5}[data-theme=dark] .image-tool-composer-download:hover,[data-theme=dark] .image-tool-composer-settings>button.active,[data-theme=dark] .image-tool-composer-settings>button:hover,[data-theme=dark] .image-tool-composer-upload>button:hover{background:rgba(255,255,255,.16)}[data-theme=dark] .image-tool-example-placeholder{background:linear-gradient(145deg,#242832,#1d2027);color:#8d95a5}[data-theme=dark] .image-tool-example-navigation button{background:rgba(35,38,46,.86);color:#f3f4f6;box-shadow:0 5px 16px rgba(0,0,0,.28)}[data-theme=dark] .image-tool-example-navigation button:hover:not(:disabled){background:rgba(47,51,61,.98)}[data-theme=dark] .image-tool-composer .chatinput-aspect-ratio-button{color:#fff;background:rgba(255,255,255,.09)}[data-theme=dark] .image-tool-composer .chatinput-aspect-ratio-button--active,[data-theme=dark] .image-tool-composer .chatinput-aspect-ratio-button:hover{background:rgba(255,255,255,.16)}[data-theme=dark] .image-tool-composer .chatinput-aspect-ratio-popover{border-color:#3b3d42;background:#232427;color:#f9fafb;box-shadow:0 18px 48px rgba(0,0,0,.42)}[data-theme=dark] .image-tool-composer .chatinput-aspect-ratio-option{color:#f4f4f5}[data-theme=dark] .image-tool-composer .chatinput-aspect-ratio-option--active,[data-theme=dark] .image-tool-composer .chatinput-aspect-ratio-option:hover{background:#35363a}[data-theme=dark] .image-tool-context-trigger,[data-theme=dark] .image-tool-download,[data-theme=dark] .image-tool-features article,[data-theme=dark] .image-tool-prompt-panel,[data-theme=dark] .image-tool-related-card,[data-theme=dark] .image-tool-upload-control>button{background:#20232a;color:#f2f4f8;box-shadow:inset 0 0 0 1px rgba(67,73,87,.68)}[data-theme=dark] .image-tool-context-trigger:hover,[data-theme=dark] .image-tool-context-trigger[aria-expanded=true],[data-theme=dark] .image-tool-related-card:hover{background:#292d36}[data-theme=dark] .image-tool-context-menu button.selected,[data-theme=dark] .image-tool-context-menu button:hover,[data-theme=dark] .image-tool-download-menu button:hover{background:#393354;color:#d4ceff}[data-theme=dark] .image-tool-custom-color-hex,[data-theme=dark] .image-tool-custom-color-picker{background:rgba(255,255,255,.08)}[data-theme=dark] .image-tool-custom-color-hex input{color:#f4f4f5}[data-theme=dark] .image-tool-custom-color{border-top-color:rgba(255,255,255,.1)}[data-theme=dark] .image-tool-context-icon,[data-theme=dark] .image-tool-menu-option-icon,[data-theme=dark] .image-tool-related-icon{background:#393354;color:#c4bbff}[data-theme=dark] .image-tool-empty-media{background:linear-gradient(145deg,#242832,#1d2027)}[data-theme=dark] .image-tool-media-card{background:#1d2027;box-shadow:0 15px 38px rgba(0,0,0,.16),inset 0 0 0 1px rgba(64,70,83,.7)}[data-theme=dark] .image-tool-stage-arrow{background:#272a32;color:#fff}[data-theme=dark] .image-tool-history,[data-theme=dark] .image-tool-history .image-thumbnails-container{border:0!important;background:transparent!important}@media (max-width:1100px){.image-tool-shell{grid-template-columns:minmax(0,1fr)}.image-tool-history-desktop{display:none}.image-tool-history.image-tool-history-inline{position:relative;top:auto;display:block;height:auto;padding:0;border:0;background:transparent}.image-tool-history-inline .image-thumbnails-container{--thumb-size:72px;--thumb-gap:8px;display:flex;height:auto;padding:0}.image-tool-history-inline .image-thumbnails-wrapper{height:var(--thumb-size);max-height:var(--thumb-size)}.image-tool-workspace{width:min(calc(100% - 32px),960px);padding-top:24px}.image-tool-showcase.is-session{height:clamp(280px,calc(100dvh - 315px),650px)}.image-tool-fold{grid-template-rows:auto minmax(0,1fr) auto auto}.image-tool-features{grid-template-columns:1fr}}@media (max-width:820px){.image-tool-controls.simple{display:grid;grid-template-columns:minmax(0,1fr)}.image-tool-controls.has-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.image-tool-controls.has-settings .image-tool-action-row{grid-column:1/-1;justify-content:flex-end}.image-tool-controls.has-settings .image-tool-action-row,.image-tool-controls.simple .image-tool-action-row{margin-top:12px}.image-tool-action-row{justify-content:stretch}.image-tool-generate{flex:1}}@media (max-width:700px){.image-tool-shell{min-height:calc(100dvh - 60px)}.image-tool-workspace{width:calc(100% - 20px);padding:14px 0 8px}.image-tool-fold{min-height:calc(100dvh - 74px);gap:10px}.image-tool-heading{margin-bottom:0}.image-tool-heading h1{font-size:29px}.image-tool-heading p{font-size:13px}.image-tool-examples{margin-bottom:0}.image-tool-showcase,.image-tool-showcase.is-session{max-height:min(49dvh,420px)}.image-tool-showcase.is-session{height:min(45dvh,390px)}.image-tool-example-grid{gap:10px;margin-right:-10px;padding:0 10px 5px 0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none}.image-tool-example-grid::-webkit-scrollbar{display:none}.image-tool-example-grid>.image-tool-example-placeholder,.image-tool-example-grid>img{width:calc(100% - 38px);max-height:min(37dvh,320px);flex:0 0 calc(100% - 38px);border-radius:18px;scroll-snap-align:start}.image-tool-example-navigation{display:none}.image-tool-stage{display:flex;gap:10px;margin-right:-10px;padding-right:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}.image-tool-stage::-webkit-scrollbar{display:none}.image-tool-stage .image-tool-media-card{width:calc(100% - 38px);flex:0 0 calc(100% - 38px);scroll-snap-align:start}.image-tool-stage-arrow{display:none}.image-tool-media-card{max-height:none;aspect-ratio:16/10;border-radius:19px}.image-tool-session-stage{height:100%;margin-bottom:0}.image-tool-session-canvas{min-height:min(36dvh,330px);max-height:min(45dvh,390px);border-radius:19px}.image-tool-session-canvas>img{height:100%;max-height:min(45dvh,390px)}.image-tool-custom-color{grid-template-columns:minmax(0,1fr) 94px}.image-tool-session-canvas .chat-image-generation-loader{min-height:min(36dvh,330px);max-height:min(45dvh,390px);border-radius:19px}.image-tool-history-inline{margin-top:0;overflow:hidden}.image-tool-history-inline .image-thumbnails-container{--thumb-size:64px;--thumb-gap:7px}.image-tool-history-inline .image-thumbnail-item.new-canvas{border:0;background:#f3f4f6}.image-tool-controls{padding:12px;border-radius:20px}.image-tool-controls.has-settings{grid-template-columns:minmax(0,1fr)}.image-tool-controls.has-settings .image-tool-action-row{grid-column:auto;margin-top:2px}.image-tool-controls.with-composer{padding:0}.image-tool-composer-box{padding:12px 11px 9px;border-radius:23px}.image-tool-composer-box>textarea{min-height:58px;padding-right:4px;padding-left:4px;font-size:14px}.image-tool-composer-settings>button span,.image-tool-composer-upload-label{display:none}.image-tool-composer-settings-menu{position:fixed;right:10px;bottom:calc(var(--keyboard-height, 0px) + env(safe-area-inset-bottom, 0px) + 76px);left:10px;width:auto;max-height:min(54vh,420px);grid-template-columns:1fr}.image-tool-composer-settings-menu .text-field{grid-column:auto}.image-tool-settings-grid,.image-tool-upload-row{grid-template-columns:minmax(0,1fr)}.image-tool-prompt-panel>textarea{min-height:80px}.image-tool-action-row{align-items:stretch}.image-tool-generate{min-width:0}.image-tool-download{width:48px;padding:0;font-size:0}.image-tool-download .local-icon:last-child{display:none}.image-tool-context-menu{max-height:220px}.image-tool-example-grid,.image-tool-related-grid{grid-template-columns:1fr;gap:10px}.image-tool-examples h2{font-size:13px}.image-tool-features{display:none}.image-tool-seo-content{width:calc(100% - 20px);margin-bottom:30px;padding:20px}}.image-tool-text-result{height:100%;display:flex;flex-direction:column;gap:15px;overflow:auto;padding:54px 28px 28px;background:rgba(255,255,255,.92);color:#253047;font-size:13px;line-height:1.65;white-space:pre-wrap}.image-tool-text-result>.local-icon{flex:0 0 auto;color:#6b57e7}[data-theme=dark] .image-tool-text-result{background:rgba(29,32,39,.94);color:#edf0f6}