@font-face{font-family:Geist Mono;src:url(/assets/geist-mono-light-D2GQ5ey7.otf)format("opentype");font-style:normal;font-weight:300;font-display:swap}@font-face{font-family:Geist;src:url(/assets/geist-variable-CrgPqtmy.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Geist Mono;src:url(/assets/geist-mono-bold-0A1Ec8rT.otf)format("opentype");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:Bembo Std;src:url(/assets/BemboStd-CsntJKz1.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Bembo Std;src:url(/assets/BemboStd-Italic-DAD4SEQX.woff2)format("woff2");font-style:italic;font-weight:400;font-display:swap}@font-face{font-family:Bembo Std;src:url(/assets/BemboStd-Semibold-DaUb_cJY.woff2)format("woff2");font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:Bembo Std;src:url(/assets/BemboStd-Bold-RHmvn1yz.woff2)format("woff2");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:Bembo Std;src:url(/assets/BemboStd-ExtraBold-rZ_Qlwvy.woff2)format("woff2");font-style:normal;font-weight:800;font-display:swap}@font-face{font-family:Geist Mono;src:url(/assets/geist-mono-regular-xfjIt7sw.otf)format("opentype");font-style:normal;font-weight:400;font-display:swap}:root{--bg:#000;--panel:#121212;--text:#d8d2c7;--soft:#b7b2aa;--muted:#8e8a83;--gold:#d7c29a;--serif:"Bembo Std", serif;--sans:"Geist Mono", monospace;--mono:"Geist Mono", monospace;color:var(--text);background:var(--bg);font-family:var(--sans);letter-spacing:0;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:12px;line-height:1.45}*{box-sizing:border-box}html{scrollbar-color:#d7c29aad #050505;scrollbar-width:thin;background:#000}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#050505;border-left:1px solid #d7c29a1f}::-webkit-scrollbar-thumb{background:#d7c29aad;border:2px solid #050505;border-radius:0}::-webkit-scrollbar-thumb:hover{background:var(--gold)}body{background:#000;min-width:320px;min-height:100svh;margin:0}#root{min-height:100svh}button,a,input,select,textarea{letter-spacing:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.appShell{min-height:100svh;color:var(--text);background:#000}button,input,select,textarea{font:inherit}button{color:inherit;white-space:nowrap;transition:background .18s,border-color .18s,color .18s,opacity .18s,transform .18s}button:active:not(:disabled){transform:scale(.97)}.topNav{z-index:50;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#000000eb;border-bottom:1px solid #d7c29a8c;grid-template-columns:minmax(130px,1fr) auto minmax(130px,1fr);align-items:center;gap:14px;min-height:50px;padding:8px 18px;display:grid;position:sticky;top:0}.topLogo{color:var(--gold);font-family:var(--serif);cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:25px;line-height:1}.topLogo img{width:clamp(132px,13vw,172px);height:auto;display:block}.primaryNav{align-items:center;gap:7px;display:flex}.modeNav{justify-self:center}.sectionNav{justify-self:end}.navLink{min-height:29px;color:var(--soft);font-family:var(--serif);cursor:pointer;background:0 0;border:1px solid #0000;padding:5px 9px;font-size:14px}.navLink.active{color:var(--gold);border-color:var(--gold)}.mainSurface{min-height:calc(100svh - 50px);padding:12px 18px 118px}.generateView{min-height:calc(100svh - 178px)}.emptyState{width:1px;height:1px}.generationStage{place-items:center;min-height:calc(100svh - 184px);padding:10px 0 0;display:grid}.generateMode-import .generationStage,.generateMode-enhance .generationStage{min-height:calc(100svh - 228px)}.modeInputStack{justify-items:center;gap:12px;width:min(72vw,760px);display:grid}.modeToolStrip{z-index:35;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#000c;border:1px solid #d7c29a2e;border-radius:999px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:min(92vw,1040px);min-height:46px;margin:-2px auto 6px;padding:7px 10px;display:flex;position:sticky;top:4px}.toolPill,.compactRange{min-height:30px;color:var(--soft);background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:6px 10px;display:inline-flex}.toolPill{cursor:pointer}.toolPill.active{color:var(--gold);background:#d7c29a17;border-color:#d7c29a6b}.editToolCluster{flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.editToolModes{align-items:center;gap:8px;display:flex}.inpaintBrushControls{align-items:center;gap:7px;display:flex}.brushSizeRange{min-width:0}.brushSizeRange input{width:86px}.brushHistoryButton{width:30px;height:30px;color:var(--soft);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.brushHistoryButton:disabled{opacity:.38;cursor:not-allowed}.brushHistoryButton:not(:disabled):hover{color:var(--gold);border-color:#d7c29a6b}.toolPill.enhanceStartButton{color:#050505;background:var(--gold);border-color:var(--gold)}.toolPill.enhanceStartButton:disabled{opacity:.55;cursor:wait}.compactRange{min-width:160px;color:var(--muted);font-size:11px}.compactRange input{width:74px}.compactRange output{min-width:22px;color:var(--gold);text-align:right}.importDropZone{width:100%;min-height:min(54vh,460px);color:var(--muted);text-align:center;cursor:pointer;background:#ffffff06;border:1px dashed #d7c29a61;border-radius:12px;place-items:center;padding:28px;transition:border-color .2s,background .2s,transform .2s;display:grid}.inlinePromptComposer{background:#181818;border:1px solid #ffffff21;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px 9px 9px 14px;display:grid}.inlineWorkflowChoice{grid-column:1/-1;align-items:center;gap:7px;padding-bottom:1px;display:flex}.inlineWorkflowChoice button{min-width:0;height:30px;color:var(--soft);background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;padding:0 10px}.inlineWorkflowChoice button.active{color:var(--gold);background:#d7c29a1a;border-color:#d7c29a73}.inlinePromptComposer textarea{resize:vertical;width:100%;min-height:38px;max-height:110px;color:var(--text);background:0 0;border:0;outline:0;padding:9px 0;font-size:13px}.inlinePromptComposer textarea::placeholder{color:var(--muted)}.inlinePromptComposer .inlineStartButton{color:#050505;cursor:pointer;background:#f2f0eb;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-width:82px;height:38px;padding:0 14px;display:inline-flex}.inlinePromptComposer .inlineStartButton:disabled{opacity:.55;cursor:wait}.importDropZone:hover{background:#d7c29a09;border-color:#d7c29a9e}.importDropZone div{justify-items:center;gap:8px;display:grid}.importDropZone strong{color:var(--gold);font-family:var(--serif);font-size:22px}.importDropZone input{display:none}.importDropZone.hasImage{gap:12px}.importDropZone.hasImage img{object-fit:contain;filter:grayscale()brightness(.82);max-width:100%;max-height:42vh;display:block}.inpaintingStage{background:#ffffff06;border:1px dashed #d7c29a61;border-radius:12px;place-items:center;width:100%;min-height:min(54vh,460px);padding:28px;display:grid;position:relative;overflow:hidden}.inpaintingStage img{object-fit:contain;filter:grayscale()brightness(.82);width:100%;max-height:42vh;display:block}.brushPreviewOnImage{z-index:3;pointer-events:none;place-items:center;width:64px;height:64px;display:grid;position:absolute;top:40px;right:40px}.brushPreviewOnImage span{background:#ff3b30b8;border:1px solid #ffffff61;border-radius:999px;max-width:58px;max-height:58px;display:block;box-shadow:0 0 0 1px #00000047}.inpaintingStage canvas,.inpaintingMaskPreview{width:calc(100% - 56px);height:calc(100% - 56px);position:absolute;inset:28px}.inpaintingStage canvas{z-index:2;cursor:crosshair;touch-action:none}.inpaintingMaskPreview{z-index:1;pointer-events:none}.inpaintingMaskPreview polyline{fill:none;stroke:#ff3b30b8;stroke-linecap:round;stroke-linejoin:round}.drawCanvasStage{place-items:center;width:100%;height:calc(100svh - 292px);min-height:320px;display:grid}.plainOutputGrid{justify-content:center;align-items:center;gap:12px;width:min(100%,1200px);display:grid}.plainOutputGrid.outputs-2{grid-template-columns:repeat(2,minmax(0,min(44vw,560px)))}.plainOutputGrid.outputs-3,.plainOutputGrid.outputs-4{grid-template-columns:repeat(2,minmax(0,min(42vw,520px)))}.plainOutput{place-items:center;min-width:0;display:grid;position:relative}.plainOutputImageButton{cursor:pointer;background:0 0;border:0;place-items:center;width:100%;height:calc(100svh - 218px);padding:0;display:grid;position:relative;overflow:hidden}.plainOutputImageButton img{object-fit:contain;filter:grayscale()brightness(.82);width:100%;height:100%;display:block;position:absolute;inset:0}.plainOutputGrid.outputs-2 .plainOutputImageButton,.plainOutputGrid.outputs-3 .plainOutputImageButton,.plainOutputGrid.outputs-4 .plainOutputImageButton{height:min(44vh,430px)}.outputActions{z-index:2;align-items:center;gap:8px;display:inline-flex;position:absolute;top:12px;right:12px}.outputFavorite,.outputSave,.outputDownload{width:34px;height:34px;color:var(--gold);cursor:pointer;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#00000094;border:1px solid #d7c29a47;border-radius:999px;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.outputFavorite:hover,.outputSave:hover,.outputDownload:hover{background:#141414bd;border-color:#e8d2a88f}.saveToast{z-index:58;color:var(--gold);background:#0f0f0ff0;border:1px solid #d7c29a57;border-radius:999px;align-items:center;gap:7px;padding:8px 12px;display:inline-flex;position:fixed;bottom:132px;left:50%;transform:translate(-50%);box-shadow:0 16px 48px #0000008c}.generatedOutputGrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));place-items:center;gap:12px;width:min(1040px,100%);max-height:calc(100svh - 190px);display:grid}.generatedOutputGrid.outputs-1{grid-template-columns:minmax(260px,min(70vw,900px));justify-content:center}.generatedOutputGrid.outputs-2{grid-template-columns:repeat(2,minmax(240px,min(42vw,520px)));justify-content:center}.generatedOutputGrid.outputs-3,.generatedOutputGrid.outputs-4{grid-template-columns:repeat(2,minmax(220px,min(34vw,420px)));justify-content:center}.generatedOutputGrid .generationCard{width:100%;max-height:calc(100svh - 196px)}.generatedOutputGrid .imageButton img{object-fit:contain;width:100%;height:auto;max-height:calc(100svh - 266px)}.generatedOutputGrid.outputs-2 .imageButton img{max-height:48vh}.generatedOutputGrid.outputs-3 .imageButton img,.generatedOutputGrid.outputs-4 .imageButton img{max-height:20vh}.loadingCard{min-height:76px;color:var(--gold);background:#ffffff0d;border:1px solid #d7c29a42;grid-auto-flow:column;align-items:center;gap:9px;padding:18px 24px;display:inline-grid}.spin{animation:.9s linear infinite spin}.generationCard{background:#0d0d0d;border:1px solid #ffffff14;overflow:hidden}.imageButton,.galleryImageButton,.projectCover{cursor:pointer;background:#111;border:0;width:100%;padding:0;display:block}.imageButton{position:relative}.imageButton img{aspect-ratio:4/3;object-fit:cover;filter:grayscale()brightness(.72);width:100%;display:block}.imageCaption{color:var(--gold);font-family:var(--serif);text-align:left;text-shadow:0 2px 12px #000c;font-size:17px;font-weight:600;position:absolute;bottom:12px;left:14px;right:14px}.cardMeta{color:var(--muted);justify-content:space-between;gap:8px;padding:9px 10px 0;font-size:11px;display:flex}.cardMeta div{min-width:0;display:grid}.cardMeta strong,.cardMeta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cardActions{gap:6px;padding:9px 10px 10px;display:flex}.cardActions button{width:32px;height:32px;color:var(--soft);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff14;border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.promptComposer{z-index:45;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#1f1f1ff0;border:1px solid #ffffff24;border-radius:18px;width:min(78vw,900px);min-height:82px;padding:11px;position:fixed;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 18px 62px #00000080}.composerInput{grid-template-columns:minmax(0,1fr);align-items:end;gap:10px;display:grid}.composerInput.hasThumbnail{grid-template-columns:74px minmax(0,1fr)}.composerThumbnail{border:1px solid #d7c29a40;border-radius:13px;width:74px;height:74px;position:relative;overflow:hidden}.composerThumbnail img{object-fit:cover;filter:grayscale()brightness(.82);width:100%;height:100%;display:block}.imageInputStack{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:3px;padding:3px;display:grid}.imageInputStack img{border-radius:8px;min-width:0;min-height:0}.imageInputStack span{min-width:0;min-height:0;color:var(--gold);background:#00000094;border-radius:8px;place-items:center;font-size:12px;display:grid}.composerThumbnail button{color:#070707;cursor:pointer;background:#f2f0ebf5;border:0;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;position:absolute;top:5px;right:5px}.promptComposer textarea{resize:none;color:#f3f3f3;background:0 0;border:0;outline:none;width:100%;min-height:28px;font-size:14px;display:block}.promptComposer textarea::placeholder{color:#9b9b9b}.composerControls{flex-wrap:wrap;align-items:center;gap:6px;padding-top:7px;display:flex}.composerPrimaryControls{flex-wrap:nowrap}.composerIconButton{width:36px;height:36px;color:var(--soft);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 36px;justify-content:center;align-items:center;display:inline-flex}.composerIconButton:hover,.composerIconButton.active,.composerChip.active{color:var(--gold);background:#d7c29a1a}.composerSettings{border-top:1px solid #ffffff17;flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px;padding-top:9px;display:flex}.composerSelect{position:relative}.composerPrimaryControls .workflowSelect{flex:none;width:max-content;min-width:0;max-width:min(360px,100vw - 220px)}.workflowSelect .composerChip{justify-content:space-between;width:auto;max-width:none}.workflowSelect .composerChip span{white-space:nowrap}.composerSelectMenu{z-index:75;background:#151515;border:1px solid #d7c29a59;border-radius:8px;min-width:190px;padding:5px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0;overflow:hidden;box-shadow:0 16px 42px #000000b3}.composerSelectMenu button{width:100%;min-height:34px;color:var(--soft);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:18px;padding:7px 9px;display:flex}.composerSelectMenu button:hover{color:var(--gold);background:#ffffff0f}.uploadWorkflowPanel{z-index:72;width:min(760px,100%);color:var(--soft);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0f0f0ffa;border:1px solid #d7c29a52;border-radius:10px;padding:14px;position:absolute;bottom:calc(100% + 12px);left:0;box-shadow:0 22px 72px #000000bd}.uploadPanelHeader{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.uploadPanelHeader div{gap:2px;display:grid}.uploadPanelHeader span{color:var(--gold);font-size:10px}.uploadPanelHeader strong{color:var(--text);font-family:var(--serif);font-size:18px}.uploadPanelHeader button{width:30px;height:30px;color:var(--soft);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.uploadWorkflowGrid{grid-template-columns:1.1fr 1fr 1fr;gap:8px;display:grid}.uploadSourceGrid{grid-template-columns:170px minmax(0,1fr);align-items:stretch;gap:10px;display:grid}.uploadWorkflowGrid>button{min-height:118px;color:var(--soft);text-align:left;cursor:pointer;background:#ffffff09;border:1px solid #ffffff1a;border-radius:7px;justify-items:start;gap:5px;padding:16px;display:grid}.uploadSourceGrid>button{min-height:128px;color:var(--soft);text-align:left;cursor:pointer;background:#ffffff09;border:1px dashed #d7c29a5c;border-radius:7px;justify-items:start;gap:5px;padding:16px;display:grid}.uploadWorkflowGrid>button:hover{color:var(--gold);border-color:#d7c29a7a}.uploadSourceGrid>button:hover,.uploadedImageThumb:hover,.uploadedImageThumb.active{color:var(--gold);border-color:#d7c29a94}.uploadWorkflowGrid .uploadDropCard{border-style:dashed}.uploadWorkflowGrid strong,.uploadSourceGrid strong{color:var(--text)}.uploadWorkflowGrid span,.uploadReady span,.uploadSourceGrid span{color:var(--muted);font-size:11px}.uploadedImageGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.uploadedImageThumb{cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:7px;min-width:0;min-height:0;padding:0;overflow:hidden}.uploadedImageThumb img{object-fit:cover;filter:grayscale()brightness(.76);width:100%;height:100%;min-height:60px;display:block}.uploadReady{border-top:1px solid #ffffff14;align-items:center;gap:9px;margin-top:10px;padding-top:10px;display:flex}.uploadReadyThumbs{flex:none;align-items:center;display:flex}.uploadReady img{object-fit:cover;border-radius:4px;width:42px;height:42px}.uploadReadyThumbs img+img{border:1px solid #0f0f0ff2;margin-left:-16px}.uploadReady button{min-height:28px;color:var(--soft);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;margin-left:auto;padding:5px 9px}.uploadReady button:hover{color:var(--gold);border-color:#d7c29a73}.settingRange,.toolStripLabel{color:var(--soft);align-items:center;gap:7px;display:inline-flex}.settingRange input{width:88px}.settingRange output{width:24px;color:var(--gold)}.composerChip,.drawerActions button,.drawerEditTools button,.toggleFilter,.drawSwitch{color:#f4f0e7;cursor:pointer;background:#ffffff14;border:1px solid #ffffff14;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:30px;padding:6px 10px;display:inline-flex}.composerChip{max-width:170px;font-size:12px}.modelModeToggle{max-width:none}.styleStrengthControl{min-height:34px;color:var(--soft);background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;grid-template-columns:minmax(126px,auto) minmax(136px,1fr);align-items:center;gap:8px;padding:5px 9px;display:inline-grid;position:relative}.styleStrengthHeader{position:relative}.styleSelectButton{color:#f4f0e7;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;min-height:24px;padding:0;display:inline-flex}.styleStrengthRange{color:var(--muted);grid-template-columns:auto 78px 24px;align-items:center;gap:7px;font-size:11px;display:grid}.styleStrengthRange input{width:78px}.styleStrengthRange output{color:var(--gold);text-align:right}.composerChip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.projectChip{max-width:170px}.generateButton{color:#050505;cursor:pointer;background:#f2f0eb;border:0;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;margin-left:auto;display:inline-flex}.composerMiniRange{min-height:30px;color:var(--muted);background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;align-items:center;gap:7px;padding:6px 10px;font-size:11px;display:inline-flex}.composerMiniRange input{width:70px}.composerMiniRange output{min-width:22px;color:var(--gold);text-align:right}.generateButton:disabled{opacity:.55;cursor:wait}.controlPanel{z-index:70;width:min(76vw,820px);max-height:min(48vh,520px);color:var(--soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0e0e0ef5;border:1px solid #d7c29a3d;border-radius:18px;padding:16px;animation:.18s both panelIn;position:fixed;bottom:186px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 18px 62px #0009}.panelHeader{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.panelHeader span{color:var(--gold);text-transform:uppercase;font-size:10px}.panelHeader h2,.builderGroup h3,.settingBlock h3,.aspectGroup h3{color:var(--gold);font-family:var(--serif);margin:0;font-weight:600}.panelHeader h2{margin-top:3px;font-size:21px}.panelHeader button,.seedRow button{width:32px;height:32px;color:var(--soft);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff14;border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.settingsPanel,.imagePanel,.projectPanelWrap,.savePanel{gap:14px;display:grid}.aspectPanel{grid-template-columns:210px minmax(0,1fr);align-items:stretch;gap:18px;display:grid}.aspectPreview{background:#ffffff08;border:1px solid #ffffff14;border-radius:14px;place-items:center;min-height:190px;padding:18px;display:grid}.aspectPreview div{width:min(142px,100%);max-height:150px;color:var(--gold);font-family:var(--serif);border:2px solid #d7c29ab8;border-radius:10px;place-items:center;font-size:20px;display:grid}.aspectControls,.aspectGroup{align-content:start;gap:9px;display:grid}.aspectGroup{border-bottom:1px solid #ffffff14;padding-bottom:12px}.saveActions{justify-content:flex-end;padding-top:4px;display:flex}.saveActions button{color:#050505;background:var(--gold);cursor:pointer;border:0;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:7px 13px;display:inline-flex}.composerRange,.workspaceRange{color:var(--muted);grid-template-columns:auto minmax(140px,1fr) 34px;align-items:center;gap:9px;margin-top:9px;font-size:12px;display:grid}.workspaceRange{background:#ffffff09;border:1px solid #ffffff12;border-radius:11px;margin-top:0;padding:13px}input[type=range]{height:18px;accent-color:var(--gold);appearance:none;background:0 0}input[type=range]::-webkit-slider-runnable-track{background:#ffffff2e;border-radius:999px;height:4px}input[type=range]::-webkit-slider-thumb{background:var(--gold);appearance:none;border:0;border-radius:50%;width:15px;height:15px;margin-top:-5.5px}input[type=range]::-moz-range-track{background:#ffffff2e;border-radius:999px;height:4px}input[type=range]::-moz-range-thumb{background:var(--gold);border:0;border-radius:50%;width:15px;height:15px}.modeWorkspace{grid-template-columns:minmax(260px,.68fr) minmax(0,1fr);align-items:stretch;gap:16px;display:grid}.modeInputPanel,.modeOutputPanel{gap:12px;min-height:calc(100svh - 184px);display:grid}.modeInputPanel{align-content:start}.modeOutputPanel{place-items:center}.inlineUpload{background:#ffffff09;border:1px dashed #d7c29a61;gap:10px;min-height:330px;padding:12px;display:grid}.inlineUpload img{object-fit:contain;filter:grayscale()brightness(.82);width:100%;max-height:55vh}.inlineUpload>div{min-height:260px;color:var(--muted);place-items:center;gap:8px;display:grid}.inlineUpload label,.inlineImageTools button{min-height:32px;color:var(--soft);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff14;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:7px 11px;display:inline-flex}.inlineUpload input{display:none}.inlineImageTools{flex-wrap:wrap;gap:8px;display:flex}.inlineImageTools button.active{color:var(--gold);border-color:#d7c29a73}.drawWorkspace{min-width:0}.compactPanel{max-width:520px}.settingBlock{background:#ffffff09;border:1px solid #ffffff12;border-radius:11px;padding:13px}.settingBlock h3,.builderGroup h3{margin-bottom:8px;font-size:16px}.builderPanel>p{color:var(--muted);margin:0 0 12px}.builderGroup{border-top:1px solid #ffffff14;grid-template-columns:minmax(130px,.25fr) minmax(0,1fr);gap:14px;padding:14px 0;display:grid}.builderGroup span,.editTool span{color:var(--muted);font-size:12px}.builderChips,.segmentedControl,.ratioGrid,.rangeLabel,.editToolGrid{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.miniChip,.segmentedControl button,.ratioButton{min-height:32px;color:var(--soft);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;align-items:center;gap:7px;padding:6px 10px;display:inline-flex}.segmentedControl button.active,.ratioButton.active,.editTool.active,.projectOption.active,.toggleFilter.active{color:var(--gold);background:#d7c29a1a;border-color:#d7c29a73}.ratioFrame{border:2px solid;border-radius:3px;width:18px;height:18px;display:inline-block}.ratio-4-5,.ratio-3-4{width:15px;height:20px}.ratio-16-9{width:24px;height:14px}.ratio-21-9{width:27px;height:12px}.ratio-9-16{width:12px;height:24px}.importBox{background:#ffffff09;border:1px dashed #d7c29a6b;border-radius:13px;align-items:center;gap:11px;min-height:170px;padding:14px;display:grid}.importBox>div{min-height:104px;color:var(--muted);text-align:center;place-items:center;gap:7px;display:grid}.importBox img{object-fit:cover;filter:grayscale();width:100%;max-height:210px}.uploadButton{min-height:34px;color:var(--gold);cursor:pointer;background:#d7c29a14;border:1px solid #d7c29a57;border-radius:999px;justify-self:center;align-items:center;padding:7px 13px;display:inline-flex}.uploadButton input{display:none}.editTool{min-width:145px;min-height:70px;color:var(--soft);text-align:left;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff14;border-radius:10px;gap:4px;padding:11px;display:grid}.rangeLabel{color:var(--muted)}.rangeLabel input{flex:1;min-width:160px}.drawSwitch{justify-self:start}.sketchPad{width:min(92vw,178svh - 519.76px);max-width:100%;max-height:100%}.sketchPad canvas{touch-action:none;background-color:#00000047;background-image:linear-gradient(#ffffff0d 1px,#0000 1px),linear-gradient(90deg,#ffffff0d 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:26px 26px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #d7c29a47;border-radius:12px;width:100%;height:100%;display:block}.projectPanel{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;max-height:260px;display:grid;overflow:auto}.projectOption{min-height:70px;color:var(--soft);text-align:left;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff14;border-radius:10px;gap:4px;padding:11px;display:grid}.projectOption span{color:var(--muted);font-size:12px}.createProjectForm{gap:8px;display:flex}.newProjectButton{min-height:34px;color:var(--gold);cursor:pointer;background:#d7c29a14;border:1px solid #d7c29a4d;border-radius:8px;justify-self:start;padding:7px 12px}.createProjectForm input{min-height:34px;color:var(--soft);background:#00000042;border:1px solid #ffffff1a;border-radius:8px;flex:1;padding:0 11px}.createProjectForm button{min-height:34px;color:var(--gold);cursor:pointer;background:#d7c29a14;border:1px solid #d7c29a4d;border-radius:8px;padding:0 12px}.galleryView{max-width:1800px;margin:0 auto}.galleryLayout{grid-template-columns:170px minmax(0,1fr);align-items:start;gap:14px;display:grid}.galleryFilterPanel{background:#ffffff09;border:1px solid #ffffff14;gap:10px;padding:12px;display:grid;position:sticky;top:66px}.galleryFilterPanel h1,.pageIntro h1,.projectCardBody h2{color:var(--gold);font-family:var(--serif);margin:0;font-weight:600}.galleryFilterPanel h1{font-size:22px}.customSelect{color:var(--muted);gap:5px;font-size:12px;display:grid;position:relative}.customSelect>button{width:100%;min-height:32px;color:var(--soft);cursor:pointer;background:#0000004d;border:1px solid #ffffff17;border-radius:8px;justify-content:space-between;align-items:center;padding:0 8px;display:flex}.customSelect>button:after{content:"";border-bottom:1px solid;border-right:1px solid;width:7px;height:7px;transform:rotate(45deg)translateY(-2px)}.gallerySortDirection{color:var(--muted);gap:5px;font-size:12px;display:grid}.gallerySortDirection>button{width:100%;min-height:32px;color:var(--soft);text-align:left;cursor:pointer;background:#0000004d;border:1px solid #ffffff17;align-items:center;gap:7px;padding:0 8px;display:inline-flex}.gallerySortDirection>button:disabled{opacity:.38;cursor:not-allowed}.customSelectMenu{z-index:90;background:#141414fa;border:1px solid #d7c29a47;border-radius:10px;gap:3px;padding:6px;display:grid;position:absolute;top:calc(100% + 5px);left:0;right:0;box-shadow:0 16px 44px #00000080}.customSelectMenu button{min-height:29px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:5px 7px}.customSelectMenu button.active,.customSelectMenu button:hover{color:var(--gold);background:#d7c29a14}.toggleFilter{width:100%;min-height:34px}.galleryProjectList{border-top:1px solid #ffffff14;gap:5px;max-height:320px;padding-top:7px;display:grid;overflow:auto}.galleryProjectList button{min-height:30px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:6px 8px}.galleryProjectList .projectOrderButton{color:var(--soft);background:#ffffff0d;border-color:#ffffff14;align-items:center;gap:7px;display:inline-flex}.galleryProjectList button.active{color:var(--gold);border-color:#d7c29a59}.galleryGrid{width:100%;min-height:1px;transition:height .2s;position:relative}.galleryMasonryItem{opacity:0;transition:left .2s ease, top .2s ease, width .2s ease, height .2s ease, opacity .52s cubic-bezier(.22, .7, .28, 1) var(--reveal-delay,0s), transform .52s cubic-bezier(.22, .7, .28, 1) var(--reveal-delay,0s);position:absolute;overflow:hidden;transform:translateY(18px)}.galleryMasonryItem.isVisible{opacity:1;transform:translateY(0)}.gallerySections{gap:30px;min-width:0;display:grid}.gallerySection{gap:10px;display:grid}.gallerySectionHeader{align-items:center;gap:12px;display:flex}.gallerySectionHeader:after{content:"";background:#d7c29a3d;flex:1;height:1px}.gallerySectionHeader h2{color:var(--gold);font-family:var(--mono);letter-spacing:.04em;margin:0;font-size:11px;font-weight:300}.galleryImageCard{background:#0d0d0d;width:100%;min-width:0;margin:0;display:block;position:relative;overflow:hidden}.galleryMasonryItem .galleryImageCard,.galleryMasonryItem .galleryImageButton{height:100%}.galleryImageButton img{object-fit:cover;filter:grayscale()brightness(.76);width:100%;height:100%;transition:filter .22s,transform .22s;display:block}.galleryImageButton{position:relative;overflow:hidden}.galleryImageHover{color:var(--text);text-align:left;opacity:0;background:linear-gradient(#0000,#000000e6);gap:4px;padding:28px 10px 10px;transition:opacity .18s,transform .18s;display:grid;position:absolute;inset:auto 0 0;transform:translateY(5px)}.galleryImageHover strong{font-family:var(--serif);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:400;overflow:hidden}.galleryImageHover span{color:var(--soft);font-family:var(--mono);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:9px;line-height:1.45;display:-webkit-box;overflow:hidden}.galleryImageCard:hover .galleryImageHover,.galleryImageButton:focus-visible .galleryImageHover{opacity:1;transform:translateY(0)}.galleryImageCard:hover img{filter:grayscale(.85)brightness(.88);transform:scale(1.02)}.galleryZoomControls{z-index:52;color:var(--gold);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#101010eb;border:1px solid #d7c29a47;border-radius:999px;align-items:center;gap:7px;padding:6px;display:inline-flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 14px 44px #0000008c}.galleryZoomControls button{width:30px;height:30px;color:var(--gold);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.galleryZoomControls button:disabled{opacity:.36;cursor:not-allowed}.galleryZoomControls span{text-align:center;min-width:18px}.detailModal{z-index:80;place-items:center;display:grid;position:fixed;inset:0}.modalBackdrop{cursor:default;background:#0000009e;border:0;padding:0;position:absolute;inset:0}.detailModalContent{z-index:1;background:#080808;border:1px solid #d7c29a40;grid-template-columns:minmax(0,1fr) 300px;gap:18px;width:min(94vw,1420px);max-width:calc(100vw - 24px);height:min(88vh,900px);max-height:calc(100svh - 24px);padding:18px;animation:.2s both modalIn;display:grid;position:relative;overflow:hidden;box-shadow:0 28px 90px #000000b8}.modalClose{z-index:2;width:34px;height:34px;color:var(--soft);cursor:pointer;background:#ffffff14;border:1px solid #ffffff1a;border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:12px;right:12px}.modalImageStage{background:#050505;place-items:center;min-width:0;min-height:0;display:grid;overflow:hidden}.modalImageStage img{object-fit:contain;width:100%;height:100%;display:block}.modalInfoPanel{flex-direction:column;gap:14px;min-width:0;min-height:0;padding:8px 0 0;display:flex;overflow:auto}.modalInfoHeader{grid-template-columns:minmax(0,1fr);align-items:center;gap:9px;padding-right:44px;display:grid}.modalInfoHeader>div:not(.modalHeaderActions){gap:2px;display:grid}.modalInfoHeader strong{color:var(--gold);font-family:var(--serif);font-size:24px;font-weight:400;line-height:1.08}.modalInfoHeader span{color:var(--muted);font-family:var(--mono);font-size:10px}.modalHeaderActions{flex-wrap:nowrap;justify-self:start;align-items:center;gap:7px;display:inline-flex}.modalHeaderActions button{width:32px;height:32px;color:var(--soft);cursor:pointer;background:#ffffff0e;border:1px solid #ffffff14;border-radius:3px;flex:0 0 32px;justify-content:center;align-items:center;display:inline-flex}.modalHeaderActions button:hover{color:var(--gold);border-color:#d7c29a61}.modalPrompt{color:var(--text);margin:0;font-size:15px;line-height:1.55}.modalTags,.modalEditTools{flex-wrap:wrap;gap:7px;display:flex}.modalTags span{color:var(--muted);background:#ffffff0f;border-radius:6px;padding:5px 8px;font-size:12px}.modalEditTools button,.copyPromptButton{min-height:34px;color:var(--soft);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:7px;padding:7px 10px;display:inline-flex}.modalPromptComposer{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:minmax(0,1fr) 36px;align-items:end;gap:8px;margin-top:auto;padding:10px;display:grid}.modalPromptComposer textarea{resize:none;width:100%;min-height:58px;color:var(--text);background:0 0;border:0;outline:0}.modalPromptComposer button{color:#050505;background:var(--gold);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.modalEditTools button:disabled{opacity:.35;cursor:not-allowed}.copyPromptButton{justify-content:center;width:100%;margin-top:auto}.pageIntro{max-width:560px;padding:26px 0 20px}.pageIntro span{color:var(--gold);text-transform:uppercase;font-size:10px}.pageIntro h1{margin-top:6px;font-size:34px}.pageIntro p{color:var(--muted);margin:9px 0 0}.projectGrid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;display:grid}.projectCard{background:#ffffff09;border:1px solid #ffffff14;overflow:hidden}.projectCover{color:var(--gold);place-items:center;display:grid}.projectCover img,.emptyCover{aspect-ratio:16/10;object-fit:cover;filter:grayscale()brightness(.68);width:100%}.emptyCover{background:#d7c29a14;place-items:center;display:grid}.projectCardBody{padding:14px}.projectCardBody>span{color:var(--gold);text-transform:uppercase;font-size:10px}.projectCardBody h2{margin-top:6px;font-size:22px}.projectCardBody p{min-height:42px;color:var(--muted);margin:8px 0 13px}.projectCardBody dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px;display:grid}.projectCardBody dt{color:var(--muted);text-transform:uppercase;font-size:10px}.projectCardBody dd{color:var(--soft);margin:0}.projectCardBody button{min-height:34px;color:var(--gold);cursor:pointer;background:#d7c29a14;border:1px solid #d7c29a40;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;display:inline-flex}.visuallyHidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@keyframes spin{to{transform:rotate(360deg)}}@keyframes panelIn{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}@keyframes modalIn{0%{opacity:0;transform:translateY(10px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=960px){.mainSurface{padding:12px 12px 130px}.galleryLayout{grid-template-columns:1fr}.galleryFilterPanel{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.galleryFilterPanel h1,.galleryProjectList{grid-column:1/-1}.modeWorkspace{grid-template-columns:1fr}.modeInputPanel,.modeOutputPanel{min-height:auto}.promptComposer,.controlPanel{width:calc(100vw - 28px)}.detailModalContent{grid-template-columns:1fr;height:88vh}.modalImageStage{min-height:0}.modalInfoPanel{max-height:36vh}}@media (width<=640px){.topNav{grid-template-columns:1fr;min-height:auto;padding:9px}.topLogo,.modeNav,.sectionNav{justify-self:center}.navLink{font-size:14px}.modeInputStack{width:100%}.inlinePromptComposer{grid-template-columns:minmax(0,1fr) auto}.inlinePromptComposer button{min-width:72px;padding:0 10px}.composerPrimaryControls{flex-wrap:wrap}.composerPrimaryControls .workflowSelect{flex-basis:100%;order:3;width:100%;max-width:none}.editToolCluster{width:100%}.editToolModes{flex-wrap:wrap;justify-content:center}.inpaintBrushControls{justify-content:center}.galleryFilterPanel{grid-template-columns:1fr}.promptComposer{padding:14px;bottom:14px}.uploadWorkflowPanel{width:100%;max-height:62vh;overflow:auto}.uploadWorkflowGrid,.uploadSourceGrid{grid-template-columns:1fr}.uploadedImageGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.uploadWorkflowGrid>button,.uploadSourceGrid>button{min-height:88px}.composerSettings{flex-wrap:nowrap;padding-bottom:3px;overflow-x:auto}.styleStrengthControl{border-radius:14px;grid-template-columns:1fr;min-width:250px}.generateButton{margin-left:0}.controlPanel{bottom:190px}.aspectPanel,.plainOutputGrid.outputs-2,.plainOutputGrid.outputs-3,.plainOutputGrid.outputs-4{grid-template-columns:1fr}}.appShell{animation:.48s ease-out both surfaceFadeIn}.appShell:has(.generateView){grid-template-rows:auto minmax(0,1fr);height:100svh;min-height:0;display:grid;overflow:hidden}.appShell:has(.generateView) .mainSurface{overscroll-behavior-y:contain;height:100%;min-height:0;padding-top:4px;padding-bottom:0;overflow-y:auto}.appShell:has(.generateView) .generateView{height:100%;min-height:0}.generateMode-prompt .generationStage,.generateMode-image .generationStage{height:100%}.generateMode-import,.generateMode-enhance{grid-template-rows:auto minmax(0,1fr);display:grid}.galleryLayout{grid-template-columns:214px minmax(0,1fr);gap:20px}.galleryFilterPanel{background:#0a0a0aeb;border-color:#d7c29a2e;gap:0;max-height:calc(100svh - 84px);padding:18px 16px 14px;overflow-y:auto}.galleryFilterHeader{gap:5px;padding-bottom:19px;display:grid}.galleryFilterHeader>span,.galleryFilterLabel,.galleryProjectListHeader>span{color:var(--muted);font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;font-size:9px;font-weight:300}.galleryFilterPanel .galleryFilterHeader h1{margin:0;font-size:31px;line-height:1}.galleryFilterSection{border-top:1px solid #ffffff14;gap:9px;padding:15px 0;display:grid}.galleryFilterSectionHeader,.galleryProjectListHeader{justify-content:space-between;align-items:center;gap:8px;display:flex}.galleryFilterSectionHeader>span:last-child{color:var(--gold);font-family:var(--mono);font-size:9px}.galleryGroupTabs{background:#ffffff06;border:1px solid #ffffff1a;grid-template-columns:repeat(3,minmax(0,1fr));padding:3px;display:grid}.galleryGroupTabs button{min-width:0;min-height:29px;color:var(--muted);font-family:var(--mono);cursor:pointer;background:0 0;border:0;border-radius:1px;padding:4px 3px;font-size:9px}.galleryGroupTabs button.active{color:#090909;background:var(--gold)}.galleryOrderButton{width:100%;min-height:36px;color:var(--soft);text-align:left;font-family:var(--mono);cursor:pointer;background:#ffffff09;border:1px solid #ffffff1c;border-radius:2px;align-items:center;gap:8px;padding:0 10px;font-size:10px;display:inline-flex}.galleryOrderButton:disabled{opacity:.38;cursor:not-allowed}.galleryFilterFields{gap:11px}.galleryFilterFields .customSelect{gap:6px}.galleryFilterPanel>.toggleFilter{min-height:36px;font-family:var(--mono);border-radius:2px;margin:3px 0 15px;font-size:10px}.galleryProjectListHeader{min-height:30px;margin-bottom:4px}.galleryProjectList .galleryProjectListHeader .projectOrderButton{width:auto;min-height:25px;color:var(--gold);background:0 0;border:0;gap:5px;padding:3px 5px;font-size:9px}.galleryProjectList>button:not(.projectOrderButton){min-height:27px;padding:5px 6px;font-size:10px}.plainOutput,.modalImageStage img{opacity:0;animation:.52s cubic-bezier(.22,.7,.28,1) both imageRiseIn}@keyframes surfaceFadeIn{0%{opacity:0}to{opacity:1}}@keyframes imageRiseIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (width<=960px){.galleryLayout{grid-template-columns:1fr}.galleryFilterPanel{max-height:none;overflow:visible}}@media (width<=640px){.galleryFilterPanel{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.appShell,.plainOutput,.galleryMasonryItem,.modalImageStage img{opacity:1;animation:none;transform:none}}.promptComposer .composerInput.hasThumbnail{column-gap:18px}.promptComposer--prompt .promptFields,.promptComposer--image .promptFields,.inlinePromptComposer.editPromptBar .promptFields,.promptComposer .composerThumbColumn,.promptComposer .composerInput.singleThumbnail .composerThumbColumn{grid-template-rows:minmax(0,1fr) 12px minmax(0,1fr)}.promptComposer--prompt .promptFieldDivider,.promptComposer--image .promptFieldDivider,.inlinePromptComposer.editPromptBar .promptFieldDivider{height:12px}.promptComposer .composerThumbColumn,.promptComposer .composerInput.singleThumbnail .composerThumbColumn{height:100%;position:relative}.galleryFilterPanel .galleryFilterHeader h1,.galleryFilterPanel.collapsed .galleryFilterHeader h1,.galleryFilterPanel.expanded .galleryFilterHeader h1{font-size:18px;line-height:1}.promptFields{gap:4px;min-width:0;display:grid}.promptFieldDivider{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:8px;margin:2px 0 1px;font-size:10px;display:flex}.promptFieldDivider:after{content:"";background:#ffffff17;flex:1;height:1px}.promptComposer textarea.negativePrompt{color:#d8d3c8;min-height:24px;font-size:13px}.composerThumbColumn{align-content:start;gap:6px;display:grid}.slotThumbnail{position:relative}.slotThumbnailTag{z-index:2;color:#0b0b0b;background:var(--gold);letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:1px 6px;font-size:9px;position:absolute;top:4px;left:4px}.slotThumbnail.slot-input .slotThumbnailTag{background:#e9d9b4}.slotThumbnail.slot-reference .slotThumbnailTag{color:#f4f0e7;background:#1e1e1ee6;border:1px solid #d7c29a80}.imageSlotRow{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.imageSlotCard{background:#ffffff08;border:1px solid #ffffff1a;border-radius:8px;position:relative}.imageSlotCard.active{background:#d7c29a12;border-color:#d7c29a9e}.imageSlotSelect{width:100%;color:var(--soft);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;padding:11px;display:grid}.imageSlotIcon{width:46px;height:46px;color:var(--gold);background:#d7c29a1a;border-radius:7px;place-items:center;display:grid}.imageSlotSelect>img{object-fit:cover;filter:grayscale()brightness(.82);border-radius:7px;width:46px;height:46px}.imageSlotText{gap:2px;min-width:0;display:grid}.imageSlotText strong{color:var(--text);font-size:13px}.imageSlotText span{color:var(--muted);font-size:11px}.imageSlotClear{color:#0b0b0b;cursor:pointer;background:#f2f0ebf2;border:0;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex;position:absolute;top:6px;right:6px}.styleControl{position:relative}.stylePopover{z-index:78;background:#151515;border:1px solid #d7c29a59;border-radius:10px;gap:8px;width:min(360px,100vw - 40px);padding:13px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 18px 46px #000000b8}.stylePopoverTitle{color:var(--gold);letter-spacing:.09em;text-transform:uppercase;font-size:10px}.styleOptionRow{grid-template-columns:minmax(108px,auto) minmax(96px,1fr) 34px;align-items:center;gap:11px;display:grid}.styleToggle{min-height:30px;color:var(--soft);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;padding:3px 4px;font-size:13px;display:inline-flex}.styleToggle:hover:not(:disabled){color:var(--gold)}.styleToggle:disabled{cursor:default}.styleCheck{color:#0b0b0b;background:0 0;border:1px solid #d7c29a80;border-radius:5px;flex:none;place-items:center;width:18px;height:18px;display:inline-grid}.styleOptionRow.active .styleToggle{color:var(--text)}.styleOptionRow.active .styleCheck{background:var(--gold);border-color:var(--gold)}.styleOptionRow input[type=range]{width:100%;min-width:0}.styleOptionRow input[type=range]:disabled{opacity:.4}.styleOptionRow output{color:var(--gold);text-align:right;font-size:12px}.styleOptionRow:not(.active) output{color:var(--muted)}.controlStrengthChip{cursor:default;gap:8px;max-width:none}.controlStrengthChip input{width:96px}.controlStrengthChip output{min-width:34px;color:var(--gold);text-align:right}.inlinePromptComposer.editComposer{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;padding:12px 14px;display:grid}.inlinePromptFields{gap:4px;display:grid}.inlineComposerControls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inlineStartButton{color:#050505;cursor:pointer;background:#f2f0eb;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-width:82px;min-height:34px;margin-left:auto;padding:0 14px;display:inline-flex}.inlineStartButton:disabled{opacity:.55;cursor:wait}.importSourceStack{gap:12px;width:100%;display:grid}.importSourceGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.importSourceCard{min-height:min(38vh,320px);color:var(--muted);text-align:center;cursor:pointer;background:#ffffff06;border:1px dashed #d7c29a61;border-radius:12px;place-content:center;justify-items:center;gap:8px;padding:28px;display:grid}.importSourceCard:hover,.importSourceCard.active{color:var(--gold);background:#d7c29a0a;border-color:#d7c29a9e}.importSourceCard strong{color:var(--gold);font-family:var(--serif);font-size:18px}.importSourceCard span{color:var(--muted);font-size:12px}.importSourceCard input{display:none}.importLibraryPanel{background:#ffffff06;border:1px solid #d7c29a40;border-radius:12px;padding:12px}.importLibraryEmpty{color:var(--muted);text-align:center;margin:0;padding:18px;font-size:13px}.importLibraryGrid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.importLibraryThumb{aspect-ratio:1;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;padding:0;overflow:hidden}.importLibraryThumb:hover{border-color:#d7c29a99}.importLibraryThumb img{object-fit:cover;filter:grayscale()brightness(.8);width:100%;height:100%;display:block}.ratio-3-2{width:24px;height:16px}.ratio-4-3{width:22px;height:16px}.ratio-2-3{width:14px;height:21px}@media (width<=720px){.importSourceGrid,.imageSlotRow{grid-template-columns:1fr}.styleStrengthRow{grid-template-columns:minmax(0,1fr) auto}.styleStrengthRange{grid-column:1/-1}}.galleryCarouselHover{z-index:2;color:#f4efe4;text-align:left;opacity:0;pointer-events:none;background:linear-gradient(#0000,#000000e0);gap:4px;padding:36px 12px 11px;transition:opacity .2s,transform .2s;display:grid;position:absolute;inset:auto 0 0;transform:translateY(6px)}.galleryCarouselHover strong{font-family:var(--serif);font-size:15px;font-weight:700}.galleryCarouselHover span{color:#f4efe4c7;font-family:var(--mono);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:9px;line-height:1.45;display:-webkit-box;overflow:hidden}.galleryCarouselItem:hover .galleryCarouselHover,.galleryCarouselItem:focus-visible .galleryCarouselHover{opacity:1;transform:translateY(0)}.typographyControls{z-index:200;width:min(380px,100vw - 36px);max-height:calc(100svh - 86px);color:var(--text);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0d0d0df7;border:1px solid #d7c29a61;gap:16px;padding:18px;display:grid;position:fixed;top:68px;right:18px;overflow-y:auto;box-shadow:0 24px 80px #000000c2}.typographyControlsHeader{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.typographyControlsHeader>div{gap:3px;display:grid}.typographyControlsHeader span{color:var(--muted);font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;font-size:9px}.typographyControlsHeader h2{color:var(--gold);font-family:var(--serif);margin:0;font-size:26px;font-weight:400}.typographyControlsHeader button{width:30px;height:30px;color:var(--soft);cursor:pointer;background:0 0;border:1px solid #d7c29a3d;border-radius:50%;place-items:center;padding:0;display:grid}.typographyPresets{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.typographyPresets button{min-height:34px;color:var(--soft);font-family:var(--mono);text-transform:capitalize;cursor:pointer;background:#ffffff06;border:1px solid #d7c29a2e;padding:6px 8px;font-size:9px}.typographyPresets button.active{color:#080808;background:var(--gold);border-color:var(--gold)}.typographyFamilyChoice{gap:7px;display:grid}.typographyFamilyChoice>span{color:var(--muted);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;font-size:9px}.typographyFamilyChoice>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.typographyFamilyChoice button{min-height:34px;color:var(--soft);cursor:pointer;background:#ffffff06;border:1px solid #d7c29a2e;padding:6px 8px;font-family:inherit;font-size:10px}.typographyFamilyChoice button.active{color:#080808;background:var(--gold);border-color:var(--gold)}.typographyFontControls{border-top:1px solid #d7c29a29;gap:10px;padding-top:14px;display:grid}.typographyFontControls h3{color:var(--gold);margin:0 0 2px;font-size:16px;font-weight:400}.typographyFontControls.bembo h3{font-family:var(--serif)}.typographyFontControls.geist h3{font-family:var(--mono);font-size:11px}.elementDesignControls{border-top:1px solid #d7c29a33;gap:13px;padding-top:16px;display:grid}.elementDesignControls>header{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.elementDesignControls>header>div{gap:3px;display:grid}.elementDesignControls>header span,.elementTargetSelect>span,.elementCaseControl>span,.elementColorControl span{color:var(--muted);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;font-size:9px}.elementDesignControls h3{color:var(--gold);font-family:var(--serif);margin:0;font-size:19px;font-weight:400}.elementDesignControls>header button,.elementColorControl>button{min-height:28px;color:var(--soft);font-family:var(--mono);cursor:pointer;background:0 0;border:1px solid #d7c29a33;padding:5px 8px;font-size:8px}.elementDesignControls>header button:disabled{opacity:.38;cursor:default}.elementTargetSelect,.elementCaseControl{gap:6px;display:grid}.elementTargetSelect select,.elementCaseControl select{width:100%;min-height:36px;color:var(--text);font-family:var(--mono);text-overflow:ellipsis;background:#111;border:1px solid #d7c29a40;border-radius:0;padding:7px 9px;font-size:9px;overflow:hidden}.elementColorControl{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.elementColorControl label{gap:6px;display:grid}.elementColorControl input[type=color]{cursor:pointer;background:#111;border:1px solid #d7c29a40;width:58px;height:34px;padding:3px}.typographySlider{color:var(--soft);font-family:var(--mono);grid-template-columns:1fr auto;align-items:center;gap:5px 12px;font-size:9px;display:grid}.typographySlider output{color:var(--gold);font-variant-numeric:tabular-nums}.typographySlider input{width:100%;accent-color:var(--gold);grid-column:1/-1;margin:0}.typographySaveButton{color:#080808;background:var(--gold);border:1px solid var(--gold);min-height:38px;font-family:var(--mono);cursor:pointer;justify-content:center;align-items:center;gap:7px;font-size:10px;display:flex}.typographySaveButton.saved{color:var(--gold);background:#d7c29a14}@media (width<=720px){.gallerySections{padding-top:60px}.typographyControls{width:calc(100vw - 18px);max-height:calc(100svh - 36px);top:18px;right:9px}}html{scrollbar-gutter:stable both-edges}html:has(.generateMode-import){overscroll-behavior:none;width:100%;height:100svh;min-height:0;max-height:100svh;overflow:hidden!important}body:has(.generateMode-import){overscroll-behavior:none;width:100%;height:100svh;min-height:0;max-height:100svh;overflow:hidden!important}#root:has(.generateMode-import){overscroll-behavior:none;width:100%;height:100svh;min-height:0;max-height:100svh;overflow:hidden!important}.composerThumbDivider{display:none}.appShell:has(.generateMode-import) .mainSurface{overflow-y:hidden}.appShell:has(.generateMode-import) .generateView{overflow-y:hidden}.appShell .generateMode-import .modeToolStrip.modeToolStrip{box-shadow:none;border:0}.appShell{--prompt-frame-width:min(90vw, 1400px)}.appShell .promptComposer--prompt,.appShell .promptComposer--image,.appShell .inlinePromptComposer.editPromptBar{width:var(--prompt-frame-width);box-sizing:border-box;height:30svh;min-height:30svh;max-height:none}.inlinePromptComposer.editPromptBar{box-sizing:border-box;width:min(78vw,900px);height:30svh;min-height:30svh;max-height:none;padding:11px;overflow:hidden}.generateMode-import .brushSliderControl.brushSliderControl,.generateMode-import .upscaleFactorChoice.upscaleFactorChoice{color:var(--muted);box-shadow:none;background:#ffffff0f;border:1px solid #ffffff14;border-radius:3px}.generateMode-import .brushSliderControl.brushSliderControl:focus-within,.generateMode-import .upscaleFactorChoice.upscaleFactorChoice:focus-within,.compactRange:focus-within{border-color:#d7c29a6b}@media (width<=720px){.appShell{--prompt-frame-width:min(94vw, 1400px)}.inlinePromptComposer.editPromptBar{width:var(--prompt-frame-width);height:34svh;min-height:34svh}}.promptComposer--prompt,.promptComposer--image,.inlinePromptComposer.editPromptBar{height:30svh;min-height:30svh}.promptComposer--prompt .promptFields,.promptComposer--image .promptFields,.inlinePromptComposer.editPromptBar .promptFields{grid-template-rows:minmax(0,1fr) 18px minmax(0,1fr);gap:0;height:100%}.promptComposer--prompt textarea,.promptComposer--image textarea,.inlinePromptComposer.editPromptBar textarea{min-height:0}.promptComposer .composerInput.hasThumbnail{grid-template-columns:74px minmax(0,1fr);align-items:stretch}.promptComposer .composerThumbColumn,.promptComposer .composerInput.singleThumbnail .composerThumbColumn{grid-template-rows:minmax(0,1fr) 18px minmax(0,1fr);align-content:stretch;gap:0;width:74px;min-height:0;display:grid}.promptComposer .composerThumbColumn .slot-input{grid-row:1}.promptComposer .composerInput.singleThumbnail .composerThumbColumn .slot-reference,.promptComposer .composerInput.singleThumbnail .composerThumbColumn .slot-input{grid-row:1}.brushSliderControl{min-height:44px;color:var(--soft);background:#d7c29a0b;border:1px solid #d7c29a33;border-radius:999px;grid-template-columns:34px auto minmax(190px,300px) 48px;align-items:center;gap:9px;padding:5px 8px 5px 6px;display:grid}.brushSliderIndicator{border:1px solid #d7c29a38;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.brushSliderIndicator:after{content:"";box-sizing:border-box;width:30px;height:30px;transform:scale(var(--brush-indicator-scale,.2));transform-origin:50%;will-change:transform;background:#d7c29ac7;border:1px solid #f0e2c6b8;border-radius:50%;box-shadow:0 0 12px #d7c29a29}.brushSliderCopy{min-width:68px;line-height:1.15;display:grid}.brushSliderCopy strong{font-size:10px;font-weight:400}.brushSliderCopy small,.brushSliderTrack small{color:var(--muted);font-family:var(--mono);font-size:8px}.brushSliderTrack{grid-template-columns:18px minmax(120px,1fr) 24px;align-items:center;gap:6px;display:grid}.brushSliderTrack input{appearance:none;cursor:ew-resize;background:0 0;width:100%;height:18px;margin:0}.brushSliderTrack input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--gold) 0 var(--brush-progress), #ffffff21 var(--brush-progress) 100%);border-radius:999px;height:3px}.brushSliderTrack input::-webkit-slider-thumb{appearance:none;background:var(--gold);border:3px solid #171717;border-radius:50%;width:15px;height:15px;margin-top:-6px;box-shadow:0 0 0 1px #d7c29a8c,0 3px 10px #00000080}.brushSliderTrack input::-moz-range-track{background:#ffffff21;border-radius:999px;height:3px}.brushSliderTrack input::-moz-range-progress{background:var(--gold);border-radius:999px;height:3px}.brushSliderTrack input::-moz-range-thumb{background:var(--gold);border:3px solid #171717;border-radius:50%;width:11px;height:11px;box-shadow:0 0 0 1px #d7c29a8c}.brushSliderControl output{color:var(--gold);font-family:var(--mono);text-align:right;font-size:11px}.brushSliderControl output small{color:var(--muted);margin-left:2px;font-size:8px}.galleryFilterPanel .galleryFilterHeader,.galleryFilterPanel.collapsed .galleryFilterHeader{align-items:center;min-height:30px;padding:0}.galleryFilterPanel .galleryFilterHeader>div,.galleryFilterPanel.collapsed .galleryFilterHeader>div{grid-template-columns:auto auto;align-items:baseline;gap:7px;display:grid}.galleryFilterPanel .galleryFilterHeader h1,.galleryFilterPanel.collapsed .galleryFilterHeader h1{font-size:18px}.galleryFilterBody{opacity:0;visibility:hidden;pointer-events:none;max-height:0;transition:max-height .38s cubic-bezier(.22,.7,.28,1),opacity .2s,transform .3s cubic-bezier(.22,.7,.28,1),visibility 0s linear .38s;overflow:hidden;transform:translateY(-8px)}.composerChip{white-space:nowrap;flex-wrap:nowrap;min-width:max-content;max-width:none}.galleryFilterPanel.collapsed .galleryFilterHeader h1{transform:translateY(.08em)}.appShell .editPromptBar .styleControl>.composerChip{width:max-content;max-width:none}.appShell .editPromptBar .styleControl>.composerChip span{text-overflow:clip;white-space:nowrap;max-width:none;overflow:visible}.galleryFilterBody>.galleryFilterSection:first-child{margin-top:12px}.galleryFilterToggle svg{transition:transform .3s cubic-bezier(.22,.7,.28,1)}.galleryFilterToggle.expanded svg{transform:rotate(180deg)}.brushPreviewOnImage span{transition:width 60ms linear,height 60ms linear}@media (width<=720px){.promptComposer--prompt,.promptComposer--image,.inlinePromptComposer.editPromptBar{height:34svh;min-height:34svh}.brushSliderControl{grid-template-columns:32px auto minmax(145px,1fr) 44px;max-width:96vw}.brushSliderCopy small,.brushSliderTrack>small{display:none}.brushSliderTrack{grid-template-columns:minmax(120px,1fr)}}@media (prefers-reduced-motion:reduce){.galleryFilterBody,.galleryFilterPanel.expanded .galleryFilterBody{transition:none}}.modeToolStrip{border-radius:4px;width:fit-content;max-width:calc(100vw - 36px)}.toolPill,.compactRange,.toggleFilter,.composerChip,.styleStrengthControl,.inlineWorkflowChoice button{border-radius:3px}.toolPill,.compactRange,.toolStripLabel,.customSelect,.galleryProjectList,.promptFieldDivider,.composerChip,.styleStrengthControl,.importSourceCard span,.cardMeta,.galleryZoomControls{font-family:var(--mono)}.toolPill,.toolStripLabel,.galleryProjectList button{font-size:11px}.promptComposer{border-radius:4px}.galleryFilterPanel,.customSelect>button,.customSelectMenu,.customSelectMenu button,.galleryProjectList button,.importDropZone,.inpaintingStage,.importSourceCard,.importLibraryPanel,.importLibraryThumb{border-radius:3px}.galleryFilterPanel h1{margin-bottom:3px;font-size:25px;font-weight:400}.customSelect{letter-spacing:.04em;text-transform:uppercase;gap:6px;font-size:10px}.gallerySortDirection{font-family:var(--mono);letter-spacing:.04em;text-transform:uppercase;gap:6px;font-size:10px}.gallerySortDirection>button{min-height:34px;font-family:var(--mono);letter-spacing:0;text-transform:none;border-radius:3px;font-size:11px}.customSelect>button{letter-spacing:0;text-transform:none;min-height:34px;font-size:11px}.galleryProjectList{gap:4px;padding-top:10px}.galleryProjectList button{padding-inline:9px}.galleryZoomControls,.galleryZoomControls button,.modalClose{border-radius:3px}.topLogo,.pageIntro h1,.projectCardBody h2,.imageCaption,.importDropZone strong,.importSourceCard strong{font-weight:400}.importSourceCard span{letter-spacing:.01em;font-size:10px}@media (width<=640px){.modeToolStrip{width:100%}}.plainOutputGrid{width:auto;max-width:min(92vw,1280px);height:calc(100svh - 330px);max-height:calc(100svh - 330px);aspect-ratio:var(--grid-aspect);gap:8px}.plainOutputGrid.outputs-1{grid-template-columns:minmax(0,1fr)}.plainOutputGrid.outputs-2,.plainOutputGrid.outputs-3,.plainOutputGrid.outputs-4{grid-template-columns:repeat(2,minmax(0,1fr))}.plainOutputGrid.outputs-3,.plainOutputGrid.outputs-4{grid-template-rows:repeat(2,minmax(0,1fr))}.plainOutput{height:100%;aspect-ratio:var(--output-aspect);overflow:hidden}.plainOutputImageButton,.plainOutputGrid.outputs-2 .plainOutputImageButton,.plainOutputGrid.outputs-3 .plainOutputImageButton,.plainOutputGrid.outputs-4 .plainOutputImageButton{width:100%;height:100%;aspect-ratio:var(--output-aspect)}.plainOutputImageButton img{object-fit:cover;transition:filter .22s,transform .22s}.plainOutput:hover .plainOutputImageButton img,.plainOutput:focus-within .plainOutputImageButton img{filter:grayscale(.85)brightness(.88);transform:scale(1.02)}.outputActions{opacity:0;gap:5px;transition:opacity .18s,transform .18s;top:9px;right:9px;transform:translateY(-4px)}.plainOutput:hover .outputActions,.plainOutput:focus-within .outputActions{opacity:1;transform:translateY(0)}.outputFavorite,.outputSave,.outputDownload{border-radius:3px;width:31px;height:31px}.loadingCard{width:min(56vw,520px);min-height:0;max-height:calc(100svh - 340px);font-family:var(--mono);grid-auto-flow:row;place-content:center;justify-items:center;font-size:10px;display:grid}.detailModalContent{grid-template-columns:minmax(0,1fr) minmax(300px,350px);gap:28px;width:min(98vw,1700px);max-width:calc(100vw - 16px);height:min(94svh,1050px);max-height:calc(100svh - 16px);padding:20px}.modalInfoPanel{align-self:stretch;gap:24px;max-height:none;padding:0}.modalInfoHeader{gap:14px}.modalPrompt{max-width:31ch;font-size:14px;line-height:1.65}.modalTags{gap:7px 12px}.modalTags span{color:var(--muted);font-family:var(--mono);background:0 0;border-bottom:1px solid #d7c29a33;border-radius:0;padding:3px 0;font-size:9px}.modalEditTools{gap:7px;padding-top:4px}.modalEditTools button{min-height:32px;font-family:var(--mono);background:0 0;border-radius:3px;padding:6px 9px;font-size:10px}.controlPanel{border-radius:3px;padding:20px}.controlPanel:has(.savePanel){z-index:95;width:min(82vw,980px);max-height:min(64vh,620px)}.panelHeader .panelEyebrow,.uploadPanelHeader .panelEyebrow{color:var(--gold);font-family:var(--mono);letter-spacing:.09em;text-transform:uppercase;font-size:10px;font-weight:400;line-height:1.2}.panelHeader .panelTitle,.uploadPanelHeader .panelTitle{color:var(--gold);font-family:var(--serif);margin:4px 0 0;font-size:28px;font-weight:400;line-height:1.05}.panelHeader{margin-bottom:20px}.panelHeader span,.projectOption span{font-family:var(--mono)}.panelHeader h2{font-size:28px;font-weight:400}.projectPanel{gap:10px}.projectOptionWrap{min-width:0;min-height:84px;display:grid;position:relative}.projectOption{white-space:normal;background:#ffffff06;border-radius:3px;align-content:start;align-items:start;width:100%;height:auto;min-height:84px;padding:14px 46px 14px 14px}.projectOption strong{min-width:0;max-width:100%;color:var(--text);font-family:var(--serif);overflow-wrap:anywhere;font-size:14px;font-weight:400;line-height:1.25;display:block}.projectDeleteButton{width:30px;height:30px;color:var(--muted);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:9px;right:9px}.projectDeleteButton:hover{color:var(--gold);background:#d7c29a14;border-color:#d7c29a4d}.saveActions button{font-family:var(--mono);border-radius:3px;font-size:10px}button,input,select,textarea,.controlPanel,.uploadWorkflowPanel,.stylePopover,.inlinePromptComposer,.composerThumbnail,.styleStrengthControl,.workspaceRange,.settingBlock,.aspectPreview,.aspectPreview div,.importBox,.sketchPad canvas,.projectOption,.modalPromptComposer,.imageSlotCard,.imageSlotIcon,.imageSlotSelect>img,.importLibraryPanel,.saveToast{border-radius:3px}@media (width<=720px){.generateMode-prompt .generationStage,.generateMode-image .generationStage{padding-bottom:220px}.plainOutputGrid.outputs-2,.plainOutputGrid.outputs-3,.plainOutputGrid.outputs-4{grid-template-columns:repeat(2,minmax(0,1fr))}.detailModalContent{grid-template-columns:1fr;gap:16px}.modalInfoPanel{max-height:36vh}}.generateMode-import .generationStage{height:calc(100svh - 98px);min-height:0;padding:12px 0 190px}.generateMode-enhance .generationStage{height:calc(100svh - 98px);min-height:0;padding:12px 0 28px}.generateMode-import .modeInputStack,.generateMode-enhance .modeInputStack{width:min(78vw,900px)}.inlinePromptComposer.editPromptBar{z-index:45;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#181818f7;border-color:#d7c29a47;width:min(78vw,900px);max-height:170px;position:fixed;bottom:16px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 18px 60px #00000094}.generateButton,.inlinePromptComposer .inlineStartButton,.inlineStartButton{color:#050505;background:var(--gold);border:1px solid var(--gold);border-radius:3px}.generateButton:hover,.inlineStartButton:hover{background:#e2c997}.enhancePrimaryButton{color:#050505;background:var(--gold);border:1px solid var(--gold);width:100%;min-height:46px;font-family:var(--mono);letter-spacing:.04em;text-transform:uppercase;cursor:pointer;border-radius:3px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-size:11px;display:inline-flex}.enhancePrimaryButton:disabled{opacity:.42;cursor:not-allowed}.importSourceGrid{gap:8px}.importSourceCard{min-height:148px;padding:20px}.importSourceCard strong{font-size:17px}.importLibraryPanel{padding:8px;overflow:hidden}.importLibraryGrid{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.importLibraryThumb{flex:0 0 96px}.uploadWorkflowPanel{width:100%}.uploadSourceGrid{align-items:stretch;gap:8px;padding-bottom:5px;display:flex;overflow-x:auto}.uploadSourceGrid>button{flex:0 0 136px;min-height:104px;padding:12px}.uploadedImageGrid{gap:8px;min-width:max-content;display:flex}.uploadedImageThumb{aspect-ratio:1;flex:0 0 96px}.modalHeaderActions button.active{color:var(--gold);background:#d7c29a1a;border-color:#d7c29a80}@media (width<=720px){.generateMode-import .modeInputStack,.generateMode-enhance .modeInputStack,.inlinePromptComposer.editPromptBar{width:calc(100vw - 28px)}.importSourceGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.importSourceCard{min-height:124px;padding:14px}}.loginScreen{background:radial-gradient(circle at 50% 42%,#d7c29a11,#0000 34%),#000;place-items:center;min-height:100svh;padding:24px;display:grid}.loginCard{border-top:1px solid #d7c29aa6;border-bottom:1px solid #d7c29a33;width:min(100%,390px);padding:42px 0 32px}.loginBrand{color:var(--gold);font-family:var(--serif);font-size:clamp(42px,7vw,58px);font-weight:400;line-height:.95}.loginCard>p{color:var(--muted);font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;margin:13px 0 38px;font-size:9px}.loginCard form,.loginCard label{display:grid}.loginCard form{gap:20px}.loginCard label{gap:7px}.loginCard label span{color:var(--muted);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;font-size:9px}.loginCard input{width:100%;height:42px;color:var(--text);font-family:var(--mono);background:#ffffff06;border:1px solid #ffffff1f;border-radius:3px;padding:0 11px}.loginCard input:focus{border-color:#d7c29aad;outline:0}.loginActions{justify-content:flex-end;align-items:center;gap:12px;min-height:38px;margin-top:7px;display:flex}.loginError{color:#b98e84;font-family:var(--mono);margin-right:auto;font-size:9px}.loginActions button{color:#050505;background:var(--gold);border:1px solid var(--gold);min-height:36px;font-family:var(--mono);cursor:pointer;border-radius:3px;justify-content:center;align-items:center;gap:9px;padding:0 14px;font-size:10px;display:inline-flex}.uploadedImageItem{flex:0 0 116px;width:116px;height:154px;position:relative}.uploadSourceGrid>.uploadDropCard{height:154px;min-height:154px}.uploadedImageItem .uploadedImageThumb{aspect-ratio:auto;width:116px;height:154px}.uploadedImageItem .uploadedImageThumb img{object-fit:cover;width:100%;height:100%;min-height:0}.uploadedImageMenuButton{z-index:2;width:28px;height:28px;color:var(--soft);cursor:pointer;background:#050505e0;border:1px solid #d7c29a47;border-radius:3px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;bottom:4px;right:4px}.uploadedImageMenuButton:hover,.uploadedImageMenuButton[aria-expanded=true]{color:var(--gold);border-color:#d7c29aa6}.uploadedImageMenu{z-index:12;background:#0c0c0cfa;border:1px solid #d7c29a59;border-radius:3px;width:98px;padding:4px;display:grid;position:absolute;bottom:31px;right:3px;box-shadow:0 12px 30px #000000b3}.uploadedImageMenu button{min-height:29px;color:var(--soft);text-align:left;font-family:var(--mono);cursor:pointer;background:0 0;border:0;border-radius:2px;align-items:center;gap:7px;padding:5px 7px;font-size:9px;display:inline-flex}.uploadedImageMenu button:hover{color:var(--gold);background:#d7c29a14}.generateMode-enhance .plainOutputGrid.outputs-1{aspect-ratio:auto;width:min(100vw - 36px,1600px);max-width:none;height:calc(100svh - 150px);max-height:calc(100svh - 150px)}.generateMode-enhance .plainOutputGrid.outputs-1 .plainOutput,.generateMode-enhance .plainOutputGrid.outputs-1 .plainOutputImageButton{aspect-ratio:auto;width:100%;height:100%}.generateMode-enhance .plainOutputGrid.outputs-1 .plainOutputImageButton img{object-fit:contain}.controlPanel:has(.aspectPanel){width:min(720px,100vw - 32px);max-height:none;overflow:visible}.controlPanel:has(.aspectPanel) .panelHeader{margin-bottom:14px}.aspectPanel{grid-template-columns:132px minmax(0,1fr);align-items:stretch;gap:10px}.aspectCurrent{background:#ffffff06;border:1px solid #d7c29a38;border-radius:3px;justify-content:center;align-items:center;gap:12px;min-height:116px;padding:14px;display:flex}.aspectCurrent>.ratioFrame{color:var(--gold);flex:none}.aspectCurrent>div{gap:2px;display:grid}.aspectCurrent strong{color:var(--gold);font-family:var(--serif);font-size:21px;font-weight:400}.aspectCurrent span:not(.ratioFrame){color:var(--muted);font-family:var(--mono);text-transform:uppercase;font-size:8px}.aspectRatioGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.aspectRatioGrid .ratioButton{text-align:left;background:#ffffff06;border-radius:3px;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;min-height:54px;padding:8px 10px;display:grid}.aspectRatioGrid .ratioButton>span:last-child{gap:1px;display:grid}.aspectRatioGrid .ratioButton strong{color:var(--text);font-family:var(--mono);font-size:11px;font-weight:400}.aspectRatioGrid .ratioButton small{color:var(--muted);font-family:var(--mono);font-size:8px}.composerInput.hasThumbnail.singleThumbnail{grid-template-columns:58px minmax(0,1fr);align-items:stretch}.composerInput.singleThumbnail .composerThumbColumn,.composerInput.singleThumbnail .composerThumbnail{width:58px}.composerInput.singleThumbnail .composerThumbColumn{grid-template-rows:minmax(0,1fr);align-content:stretch}.composerInput.singleThumbnail .composerThumbnail{height:auto;min-height:100%}.composerInput.singleThumbnail .composerThumbnail img{object-fit:cover}.plainOutputGrid.outputs-1,.plainOutputGrid.outputs-2,.plainOutputGrid.outputs-3,.plainOutputGrid.outputs-4{grid-template-columns:repeat(var(--output-columns), minmax(0, 1fr));grid-template-rows:repeat(var(--output-rows), minmax(0, 1fr))}@media (width<=640px){.aspectPanel{grid-template-columns:1fr}.aspectCurrent{min-height:64px}.aspectRatioGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.plainOutputGrid.outputs-3,.plainOutputGrid.outputs-4{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}}.generateMode-prompt .generationStage,.generateMode-image .generationStage{height:100%;min-height:0}.generateMode-import,.generateMode-enhance{grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;display:grid}.generateMode-import .generationStage,.generateMode-enhance .generationStage{height:auto;min-height:0}.galleryFilterPanel{gap:0;padding:18px 16px 14px}.galleryFilterPanel .galleryFilterHeader h1{margin:0;font-size:31px}.galleryProjectList{gap:2px;max-height:none;padding-top:15px}.generateMode-prompt .plainOutputGrid,.generateMode-image .plainOutputGrid,.generateMode-import .plainOutputGrid{aspect-ratio:auto;place-content:center;gap:12px;width:auto;max-width:none;height:auto;max-height:none;margin:0}.generateMode-prompt .plainOutput,.generateMode-image .plainOutput,.generateMode-import .plainOutput,.generateMode-prompt .plainOutputImageButton,.generateMode-image .plainOutputImageButton,.generateMode-import .plainOutputImageButton{aspect-ratio:auto;width:100%;min-width:0;height:100%;min-height:0}.promptComposer textarea.positivePrompt,.promptComposer textarea.negativePrompt{font-size:14px}.promptComposer textarea::placeholder{color:#d8d2c74d;opacity:1}.uploadedImageMenu{width:104px;padding:3px;inset:auto 3px 36px auto}.uploadedImageMenu button{min-height:30px;padding:5px 7px;font-size:9px}.ratioFrame.ratio-3-2{width:24px;height:16px}.aspectCurrent{grid-template-columns:30px auto;justify-content:center;display:grid}.aspectCurrent>.ratioFrame{justify-self:center}.outputDelete{z-index:2;width:31px;height:31px;color:var(--gold);opacity:0;cursor:pointer;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#000000ad;border:1px solid #d7c29a47;border-radius:3px;justify-content:center;align-items:center;padding:0;transition:opacity .18s,transform .18s,border-color .18s;display:inline-flex;position:absolute;bottom:9px;right:9px;transform:translateY(4px)}.plainOutput:hover .outputDelete,.plainOutput:focus-within .outputDelete{opacity:1;transform:translateY(0)}.outputDelete:hover{background:#141414d1;border-color:#e8d2a89e}.projectActions{z-index:8;position:absolute;top:9px;right:9px}.projectMoreButton,.galleryProjectList .projectMoreButton{width:28px;min-width:28px;height:28px;min-height:28px;color:var(--muted);cursor:pointer;background:#080808b8;border:1px solid #0000;border-radius:3px;justify-content:center;align-items:center;padding:0;display:inline-flex}.projectMoreButton:hover,.projectMoreButton[aria-expanded=true],.galleryProjectList .projectMoreButton:hover,.galleryProjectList .projectMoreButton[aria-expanded=true]{color:var(--gold);background:#d7c29a14;border-color:#d7c29a4d}.projectActionsPopover{z-index:12;background:#0c0c0cfc;border:1px solid #d7c29a59;border-radius:3px;width:108px;padding:3px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 12px 30px #000000b8}.projectActionsPopover button,.galleryProjectList .projectActionsPopover button{width:100%;min-height:30px;color:var(--soft);text-align:left;font-family:var(--mono);cursor:pointer;background:0 0;border:0;border-radius:2px;align-items:center;gap:7px;padding:5px 7px;font-size:9px;display:flex}.projectActionsPopover button:hover,.galleryProjectList .projectActionsPopover button:hover{color:var(--gold);background:#d7c29a14}.galleryProjectRow{min-width:0;position:relative}.galleryProjectRow:has(.projectMoreButton[aria-expanded=true]){z-index:40}.galleryProjectRow>button{width:100%;min-height:27px;padding:5px 34px 5px 6px;font-size:10px}.galleryProjectRow .projectActions{top:0;right:0}.galleryProjectRow .projectActionsPopover{z-index:50;opacity:1;filter:none;isolation:isolate;background:#121212;top:auto;bottom:calc(100% + 4px);right:0}.galleryProjectRow .projectActionsPopover button{opacity:1}.galleryProjectRow .projectMoreButton{background:0 0;width:27px;min-width:27px;height:27px;min-height:27px}.navLink.active{border-color:#0000}.promptComposer--prompt{flex-direction:column;min-height:30svh;display:flex}.promptComposer--prompt .composerInput{flex:1;min-height:0}.promptComposer--prompt .promptFields{grid-template-rows:minmax(72px,1.7fr) auto minmax(44px,1fr);height:100%}.promptComposer--prompt textarea{height:100%}.galleryCarousel{cursor:grab;touch-action:pan-y;width:min(84vw,1160px);padding:0 0 24px;position:relative;overflow:hidden;transform:translateY(-8svh);-webkit-mask-image:linear-gradient(90deg,#0000,#000 5% 95%,#0000);mask-image:linear-gradient(90deg,#0000,#000 5% 95%,#0000)}.galleryCarousel:active{cursor:grabbing}.galleryCarouselTrack{will-change:transform;gap:8px;width:max-content;display:flex}.galleryCarouselItem{height:clamp(120px,19svh,210px);cursor:inherit;background:#111;border:0;flex:0 0 clamp(140px,16vw,240px);padding:0;position:relative;overflow:hidden}.galleryCarouselItem img{object-fit:cover;filter:grayscale()brightness(.78);pointer-events:none;width:100%;height:100%;transition:filter .25s,transform .25s;display:block}.galleryCarouselItem:hover img,.galleryCarouselItem:focus-visible img{filter:grayscale(0)brightness();transform:scale(1.025)}.galleryCarouselHint{color:#d7c29a9e;font-family:var(--mono);letter-spacing:.05em;font-size:9px;position:absolute;bottom:0;right:5%}.editToolCluster{width:100%}.brushSizeControl{background:#d7c29a0e;border:1px solid #d7c29a2e;border-radius:999px;grid-template-columns:32px auto minmax(100px,180px);align-items:center;gap:9px;min-height:42px;padding:5px 11px 5px 7px;display:grid}.brushSizeSwatch{border:1px solid #d7c29a38;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.brushSizeSwatch:after{content:"";width:var(--brush-control-size);height:var(--brush-control-size);background:#d7c29abf;border:1px solid #f0e2c6a6;border-radius:50%;max-width:24px;max-height:24px;box-shadow:0 0 12px #d7c29a29}.brushSizeCopy{min-width:70px;line-height:1.15;display:grid}.brushSizeCopy strong{color:var(--soft);font-size:10px;font-weight:400}.brushSizeCopy small{color:var(--gold);font-family:var(--mono);font-size:9px}.brushSizeControl input{width:100%;accent-color:var(--gold)}.brushPreviewOnImage span{background:#d7c29ab8;border-color:#f0e2c6b8;box-shadow:0 0 0 1px #00000057,0 0 18px #d7c29a33}.inpaintingMaskPreview polyline{stroke:#d7c29ab8}.upscaleFactorChoice{min-height:38px;color:var(--muted);background:#ffffff09;border:1px solid #ffffff17;border-radius:999px;align-items:center;gap:5px;padding:4px 5px 4px 11px;font-size:10px;display:inline-flex}.upscaleFactorChoice>span{margin-right:3px}.upscaleFactorChoice button{min-width:45px;height:28px;color:var(--soft);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:999px}.upscaleFactorChoice button.active{color:#070707;background:var(--gold);border-color:var(--gold)}.galleryLayout.filtersCollapsed{grid-template-columns:54px minmax(0,1fr)}.galleryLayout.filtersExpanded{grid-template-columns:214px minmax(0,1fr)}.galleryFilterPanel.collapsed{padding:8px;overflow:hidden}.galleryFilterPanel.collapsed>:not(.galleryFilterHeader){display:none}.galleryFilterHeader{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.galleryFilterHeader>div{gap:5px;display:grid}.galleryFilterHeader>div>span{color:var(--muted);font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;font-size:9px;font-weight:300}.galleryFilterPanel.collapsed .galleryFilterHeader>div{display:none}.galleryFilterPanel.collapsed .galleryFilterHeader{justify-content:center;padding:0}.galleryFilterToggle{width:30px;height:30px;color:var(--gold);cursor:pointer;background:#d7c29a0f;border:1px solid #d7c29a33;border-radius:50%;flex:0 0 30px;justify-content:center;align-items:center;padding:0;display:inline-flex}.galleryGroupTabs{grid-template-columns:repeat(2,minmax(0,1fr))}.gallerySectionHeader:after{display:none}.galleryImageButton img{filter:grayscale()brightness(.72)}.galleryImageCard:hover img,.galleryImageButton:focus-visible img{filter:grayscale(0)brightness()}.modalPromptBlock{gap:7px;display:grid}.modalPromptLabel{color:var(--gold);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;font-size:9px}.viewEnhancedPromptButton{min-height:28px;color:var(--gold);font-family:var(--mono);cursor:pointer;background:0 0;border:0;border-bottom:1px solid #d7c29a5c;justify-self:start;padding:4px 0;font-size:9px}@media (width<=960px){.galleryLayout.filtersCollapsed,.galleryLayout.filtersExpanded{grid-template-columns:1fr}.galleryFilterPanel.collapsed{justify-self:start;width:54px}}@media (width<=640px){.promptComposer--prompt{min-height:34svh}.galleryCarousel{width:94vw}.brushSizeControl{grid-template-columns:32px minmax(62px,auto) minmax(82px,1fr)}}.confirmDialogBackdrop{z-index:200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0000009e;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.confirmDialog{width:min(330px,100%);color:var(--soft);background:#121212;border:1px solid #d7c29a61;border-radius:3px;padding:14px;box-shadow:0 22px 64px #000000c7}.confirmDialogHeader{color:var(--gold);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;display:grid}.confirmDialogHeader strong{font-family:var(--serif);font-size:17px;font-weight:400}.confirmDialogHeader button{width:27px;height:27px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #ffffff14;border-radius:3px;justify-content:center;align-items:center;padding:0;display:inline-flex}.confirmDialog p{color:var(--muted);font-family:var(--mono);margin:12px 0 16px;font-size:10px;line-height:1.55}.confirmDialogActions{justify-content:flex-end;gap:7px;display:flex}.confirmDialogActions button{min-height:31px;color:var(--soft);font-family:var(--mono);cursor:pointer;background:0 0;border:1px solid #ffffff1f;border-radius:3px;justify-content:center;align-items:center;gap:6px;padding:5px 10px;font-size:9px;display:inline-flex}.confirmDialogActions .danger{color:#e5c4bd;background:#8e403433;border-color:#cd81746b}.promptComposer--image,.inlinePromptComposer.editPromptBar{flex-direction:column;min-height:30svh;max-height:none;display:flex}.promptComposer--image .composerInput,.inlinePromptComposer.editPromptBar .composerInput{flex:1;min-height:0}.promptComposer--image .promptFields,.inlinePromptComposer.editPromptBar .promptFields{grid-template-rows:minmax(72px,1.7fr) auto minmax(44px,1fr);height:100%}.promptComposer--image textarea,.inlinePromptComposer.editPromptBar textarea{height:100%}.galleryCarousel{width:100vw;padding:0;transform:translateY(-7svh);-webkit-mask-image:none;mask-image:none}.galleryCarouselItem{flex-basis:clamp(280px,32vw,480px);height:clamp(240px,38svh,420px)}.generateMode-import .modeToolStrip{width:min(96vw,1180px);height:104px;min-height:104px;overflow:visible}.generateMode-import .editToolCluster{justify-content:flex-start;min-height:82px}.generateMode-import .generationStage{height:calc(100svh - 158px);padding:12px 0 calc(30svh + 30px)}.generateMode-import .modeInputStack{grid-template-rows:minmax(0,auto) 46px;align-content:center}.editPrimaryActionSlot{place-items:center;width:100%;height:46px;display:grid}.brushPresetControl{background:#d7c29a0e;border:1px solid #d7c29a2e;border-radius:999px;align-items:center;gap:5px;min-height:44px;padding:5px 7px 5px 11px;display:flex}.brushPresetLabel{min-width:62px;margin-right:3px;line-height:1.15;display:grid}.brushPresetLabel strong{color:var(--soft);font-size:10px;font-weight:400}.brushPresetLabel small{color:var(--gold);font-family:var(--mono);font-size:9px}.brushPresetControl button{min-width:38px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;grid-template-rows:26px auto;place-items:center;padding:2px 4px 1px;display:grid}.brushPresetControl button.active{color:var(--gold);background:#d7c29a1a;border-color:#d7c29a5c}.brushPresetControl button small{font-family:var(--mono);font-size:7px;line-height:1}.brushPresetDot{background:#d7c29ac7;border:1px solid #f0e2c6ad;border-radius:50%;display:block}.brushPresetDot-1{width:6px;height:6px}.brushPresetDot-2{width:9px;height:9px}.brushPresetDot-3{width:13px;height:13px}.brushPresetDot-4{width:18px;height:18px}.brushPresetDot-5{width:24px;height:24px}.brushPreviewOnImage{width:280px;height:280px;top:28px;right:28px}.brushPreviewOnImage span{max-width:none;max-height:none}.galleryView{position:relative}.galleryLayout.filtersCollapsed,.galleryLayout.filtersExpanded{grid-template-columns:none;display:block;position:relative}.galleryFilterPanel.collapsed,.galleryFilterPanel.expanded{z-index:60;width:214px;transition:max-height .26s,box-shadow .26s;position:fixed;top:66px;left:18px}.galleryFilterPanel.collapsed{max-height:48px;padding:8px 10px}.galleryFilterPanel.expanded{max-height:calc(100svh - 84px);box-shadow:0 24px 70px #000000b8}.galleryFilterPanel.collapsed .galleryFilterHeader{justify-content:space-between;align-items:center;min-height:30px;padding:0}.galleryFilterPanel.collapsed .galleryFilterHeader>div{grid-template-columns:auto auto;align-items:baseline;gap:7px;display:grid}.galleryFilterPanel.collapsed .galleryFilterHeader h1{font-size:18px}.galleryFilterPanel.collapsed .galleryFilterHeader>div>span{font-size:8px}.gallerySections{gap:clamp(62px,8vh,96px);width:100%}.enhancedPromptComparison{background:#d7c29a0e;border-left:1px solid #d7c29a6b;gap:7px;margin-top:2px;padding:11px;display:grid}@media (width<=720px){.galleryCarouselItem{flex-basis:64vw;height:34svh}.generateMode-import .modeToolStrip{height:auto;min-height:138px}.generateMode-import .editToolCluster{min-height:118px}.brushPresetControl{max-width:94vw;overflow-x:auto}.galleryFilterPanel.collapsed,.galleryFilterPanel.expanded{top:154px;left:9px}}:is(.appShell:has(.generateView) .mainSurface,.appShell:has(.generateView) .generateView){overflow-x:hidden}.promptComposer--prompt,.promptComposer--image,.inlinePromptComposer.editPromptBar{flex-direction:column;height:30svh;min-height:30svh;max-height:none;display:flex}.promptComposer--prompt .composerInput,.promptComposer--image .composerInput,.inlinePromptComposer.editPromptBar .composerInput{flex:1;min-height:0}.promptComposer--prompt .promptFields,.promptComposer--image .promptFields,.inlinePromptComposer.editPromptBar .promptFields,.promptComposer .composerThumbColumn,.promptComposer .composerInput.singleThumbnail .composerThumbColumn{grid-template-rows:minmax(0,1fr) 12px minmax(0,1fr);gap:0;height:100%}.promptComposer--prompt .promptFieldDivider,.promptComposer--image .promptFieldDivider,.inlinePromptComposer.editPromptBar .promptFieldDivider{height:12px;margin:0}.promptComposer--prompt textarea,.promptComposer--image textarea,.inlinePromptComposer.editPromptBar textarea{height:100%;min-height:0}.promptComposer .composerInput.hasThumbnail,.promptComposer .composerInput.hasThumbnail.singleThumbnail{grid-template-columns:74px minmax(0,1fr);align-items:stretch;column-gap:18px}.promptComposer .composerThumbColumn,.promptComposer .composerInput.singleThumbnail .composerThumbColumn{align-content:stretch;width:74px;min-height:0;display:grid;position:relative}.promptComposer .composerThumbnail,.promptComposer .composerInput.singleThumbnail .composerThumbnail{border-radius:3px;width:74px;height:100%;min-height:0}.promptComposer .composerThumbColumn .slot-input,.promptComposer .composerInput.singleThumbnail .composerThumbColumn .slot-input,.promptComposer .composerInput.singleThumbnail .composerThumbColumn .slot-reference{grid-row:1}.promptComposer .composerThumbColumn .slot-reference{grid-row:3}.promptComposer .composerThumbnail img,.promptComposer .composerInput.singleThumbnail .composerThumbnail img{object-fit:cover}.composerThumbDivider{background:#ffffff17;grid-row:2;align-self:center;width:100%;height:1px}.galleryFilterPanel.collapsed,.galleryFilterPanel.expanded{max-height:none;padding:10px 12px;transition:box-shadow .28s,border-color .28s;overflow:hidden}.galleryFilterPanel.collapsed>.galleryFilterBody,.galleryFilterPanel.expanded>.galleryFilterBody{display:block}.galleryFilterPanel .galleryFilterHeader,.galleryFilterPanel.collapsed .galleryFilterHeader,.galleryFilterPanel.expanded .galleryFilterHeader{align-items:center;min-height:30px;padding:0}.galleryFilterPanel .galleryFilterHeader>div,.galleryFilterPanel.collapsed .galleryFilterHeader>div,.galleryFilterPanel.expanded .galleryFilterHeader>div{grid-template-columns:auto auto;align-items:baseline;gap:7px;display:grid}.galleryFilterPanel .galleryFilterHeader h1,.galleryFilterPanel.collapsed .galleryFilterHeader h1,.galleryFilterPanel.expanded .galleryFilterHeader h1{margin:0;font-size:18px;line-height:1}.galleryFilterPanel .galleryFilterHeader>div>span,.galleryFilterPanel.collapsed .galleryFilterHeader>div>span,.galleryFilterPanel.expanded .galleryFilterHeader>div>span{font-size:8px;line-height:1}.galleryFilterBody{opacity:0;visibility:hidden;pointer-events:none;max-height:0;transition:max-height .38s cubic-bezier(.22,.7,.28,1),opacity .2s,transform .3s cubic-bezier(.22,.7,.28,1),visibility 0s linear .38s;display:block;overflow:hidden;transform:translateY(-8px)}.galleryFilterPanel.expanded .galleryFilterBody{opacity:1;visibility:visible;pointer-events:auto;max-height:calc(100svh - 138px);transition:max-height .42s cubic-bezier(.22,.7,.28,1),opacity .24s 60ms,transform .34s cubic-bezier(.22,.7,.28,1),visibility;overflow-y:auto;transform:translateY(0)}@media (width<=720px){.promptComposer--prompt,.promptComposer--image,.inlinePromptComposer.editPromptBar{height:34svh;min-height:34svh}}.modalPromptLabelRow{justify-content:space-between;align-items:center;gap:10px;display:flex}.promptCopyChip{min-height:24px;color:var(--muted);font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:2px;align-items:center;gap:5px;padding:3px 8px;font-size:9px;transition:color .18s,border-color .18s,background .18s;display:inline-flex}.promptCopyChip:hover{color:var(--gold);background:#d7c29a14;border-color:#d7c29a66}.promptCopyChip.copied{color:var(--gold);background:#d7c29a1f;border-color:#d7c29a8c}.enhancedPromptComparison .promptCopyChip{background:#00000040}.galleryLayout.filtersCollapsed,.galleryLayout.filtersExpanded{grid-template-columns:214px minmax(0,1fr);align-items:start;gap:22px;display:grid;position:relative}.galleryFilterPanel.collapsed,.galleryFilterPanel.expanded{z-index:5;width:auto;max-height:calc(100svh - 84px);position:sticky;top:66px;left:auto;overflow:hidden}.galleryFilterPanel.expanded{box-shadow:none}.gallerySections{min-width:0}@media (width<=960px){.galleryFilterPanel.collapsed,.galleryFilterPanel.expanded{grid-template-columns:none;display:block}}@media (width<=700px){.galleryLayout.filtersCollapsed,.galleryLayout.filtersExpanded{grid-template-columns:minmax(0,1fr);gap:14px}.galleryFilterPanel.collapsed,.galleryFilterPanel.expanded{width:auto;max-height:none;position:static}}.generateMode-import:has(.editPromptBar) .generationStage{box-sizing:border-box;align-content:center;padding-bottom:calc(30svh + 28px)}.generateMode-import:has(.editPromptBar) .modeInputStack{width:min(92vw,1180px);height:100%;min-height:0}:is(.generateMode-import:has(.editPromptBar) .inpaintingStage,.generateMode-import:has(.editPromptBar) .importDropZone){height:100%;min-height:0;max-height:100%;padding:18px}.generateMode-import:has(.editPromptBar) .inpaintingStage{justify-content:center;align-items:center;width:auto;max-width:100%;display:flex}.generateMode-import:has(.editPromptBar) .inpaintingStage img{object-fit:contain;width:auto;max-width:100%;height:100%;max-height:100%}.generateMode-import:has(.editPromptBar) .importDropZone.hasImage img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%}.generateMode-import:has(.editPromptBar) .inpaintingStage canvas{width:calc(100% - 36px);height:calc(100% - 36px);inset:18px}.generateMode-import:has(.editPromptBar) .inpaintingMaskPreview{width:calc(100% - 36px);height:calc(100% - 36px);inset:18px}@media (width<=720px){.generateMode-import:has(.editPromptBar) .generationStage{padding-bottom:calc(34svh + 24px)}.generateMode-import:has(.editPromptBar) .modeInputStack{width:96vw}}.brushSliderControl{grid-template-columns:34px auto minmax(190px,300px) 48px}.brushGauge{box-sizing:border-box;background:conic-gradient(var(--gold) 0 var(--brush-gauge,0%), #ffffff1a var(--brush-gauge,0%) 100%);border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:relative}.brushGauge:after{content:"";background:#131313;border-radius:50%;position:absolute;inset:3px}.brushGaugeValue{z-index:1;color:var(--gold);font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:9px;line-height:1;position:relative}.brushSliderCopy small{white-space:nowrap}.editToolCluster{justify-content:flex-start;min-height:0}.editToolAux{justify-content:center;align-items:center;gap:7px;min-height:46px;display:flex}.appShell .generateMode-import .modeToolStrip.modeToolStrip{align-content:center;min-height:108px}@media (width<=720px){.generateMode-import .modeToolStrip{height:auto;min-height:148px}.generateMode-import .editToolCluster{min-height:0}.editToolAux{flex-wrap:wrap;min-height:84px}}.modalImageStage img{object-fit:contain;width:auto;max-width:100%;height:100%;max-height:100%}@media (width<=640px){.modalImageStage img{width:100%;height:auto;max-height:46vh}}.advancedControl{position:relative}.advancedTrigger{min-height:30px;color:var(--muted);font-family:var(--mono);letter-spacing:.04em;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:4px 9px;font-size:10px;transition:color .18s,border-color .18s,background .18s;display:inline-flex}.advancedTrigger:hover,.advancedTrigger.active{color:var(--gold);background:#d7c29a12;border-color:#d7c29a52}.advancedDot{background:var(--gold);border-radius:50%;width:5px;height:5px}.advancedPanel{z-index:70;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0e0e0efa;border:1px solid #d7c29a3d;border-radius:4px;grid-template-rows:auto minmax(0,1fr);width:min(360px,100vw - 32px);max-height:min(62svh,560px);animation:.2s cubic-bezier(.22,.7,.28,1) both advancedPanelIn;display:grid;position:absolute;bottom:calc(100% + 10px);right:0;box-shadow:0 26px 80px #000000c2}@keyframes advancedPanelIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.advancedPanelHeader{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:10px;padding:12px 13px 11px;display:flex}.advancedPanelHeader strong{color:var(--gold);font-family:var(--serif);font-size:16px;font-weight:500;line-height:1}.advancedPanelHeaderActions{align-items:center;gap:5px;display:flex}.advancedPanelHeaderActions>button{min-height:26px;color:var(--muted);font-family:var(--mono);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:2px;align-items:center;gap:5px;padding:3px 7px;font-size:9px;display:inline-flex}.advancedPanelHeaderActions>button:hover:not(:disabled){color:var(--gold);border-color:#d7c29a52}.advancedPanelHeaderActions>button:disabled{opacity:.34;cursor:not-allowed}.advancedPanelBody{gap:0;padding:0 13px 13px;display:grid;overflow-y:auto}.advancedGroup{border-bottom:1px solid #ffffff0f;gap:14px;padding:14px 0;display:grid}.advancedGroup:last-child{border-bottom:0;padding-bottom:2px}.advancedGroupHeader{color:var(--gold);font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;justify-content:space-between;align-items:baseline;gap:8px;font-size:9px;display:flex}.advancedGroupHeader em{color:var(--muted);letter-spacing:.06em;text-transform:none;font-size:8px;font-style:normal}.advancedField{gap:5px;display:grid}.advancedFieldHead{color:var(--soft);justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.advancedFieldHead label{cursor:pointer}.advancedValue{color:var(--gold);font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:10px}.advancedSlider{appearance:none;cursor:ew-resize;background:0 0;width:100%;height:16px;margin:2px 0 0}.advancedSlider::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--gold) 0 var(--advanced-progress), #ffffff21 var(--advanced-progress) 100%);border-radius:999px;height:2px}.advancedSlider::-webkit-slider-thumb{appearance:none;background:var(--gold);border:3px solid #131313;border-radius:50%;width:13px;height:13px;margin-top:-5.5px;box-shadow:0 0 0 1px #d7c29a80}.advancedSlider::-moz-range-track{background:#ffffff21;border-radius:999px;height:2px}.advancedSlider::-moz-range-progress{background:var(--gold);border-radius:999px;height:2px}.advancedSlider::-moz-range-thumb{background:var(--gold);border:3px solid #131313;border-radius:50%;width:9px;height:9px}.advancedRangePair{height:20px;margin-top:3px;position:relative}.advancedRangeRail{background:#ffffff21;border-radius:999px;height:2px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.advancedRangeFill{top:0;bottom:0;left:var(--range-start,0%);right:calc(100% - var(--range-end,100%));background:var(--gold);border-radius:999px;position:absolute}.advancedRangePair input{appearance:none;pointer-events:none;background:0 0;width:100%;height:20px;margin:0;position:absolute;inset:0}.advancedRangePair input::-webkit-slider-runnable-track{background:0 0;height:2px}.advancedRangePair input::-webkit-slider-thumb{appearance:none;background:var(--gold);cursor:ew-resize;pointer-events:auto;border:3px solid #131313;border-radius:50%;width:13px;height:13px;margin-top:-5.5px;box-shadow:0 0 0 1px #d7c29a80}.advancedRangePair input::-moz-range-track{background:0 0;height:2px}.advancedRangePair input::-moz-range-thumb{background:var(--gold);cursor:ew-resize;pointer-events:auto;border:3px solid #131313;border-radius:50%;width:9px;height:9px}.advancedNumberInput{min-height:30px;color:var(--soft);font-family:var(--mono);font-variant-numeric:tabular-nums;background:#ffffff0a;border:1px solid #ffffff1c;border-radius:2px;padding:5px 8px;font-size:11px}.advancedNumberInput.wide{width:100%}.advancedNumberInput:focus-visible{border-color:#d7c29a80;outline:none}.advancedNumberInput:disabled{opacity:.4}.advancedSeedRow{grid-template-columns:24px minmax(0,1fr) 30px;align-items:center;gap:6px;display:grid}.advancedSeedIcon{height:30px;color:var(--muted);background:#ffffff08;border:1px solid #ffffff14;border-radius:2px;place-items:center;display:grid}.advancedGhostButton{height:30px;color:var(--gold);cursor:pointer;background:#d7c29a12;border:1px solid #d7c29a3d;border-radius:2px;place-items:center;display:grid}.advancedGhostButton:disabled{opacity:.35;cursor:not-allowed}.advancedSelectField{position:relative}.advancedSelectButton{width:100%;min-height:32px;color:var(--soft);text-align:left;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1c;border-radius:2px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 9px;font-size:11px;display:grid}.advancedSelectButton em,.advancedSelectMenu button em{color:var(--muted);font-style:normal;font-family:var(--mono);font-size:8.5px}.advancedSelectButton.open{border-color:#d7c29a73}.advancedSelectMenu{z-index:5;background:#131313;border:1px solid #d7c29a47;border-radius:3px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 16px 40px #000000b3}.advancedSelectMenu button{min-height:30px;color:var(--soft);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:2px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:5px 8px;font-size:11px;display:grid}.advancedSelectMenu button:hover{background:#ffffff0d}.advancedSelectMenu button.active{color:var(--gold)}@media (prefers-reduced-motion:reduce){.advancedPanel{animation:none}}.modalPromptLabelRow .modalPromptLabel{white-space:nowrap}.modalPromptLabelRow .promptCopyChip{flex:none}.modalImageStage{justify-content:center;align-items:center;display:flex}.generateMode-import .generationStage:has(.editWorkspace){align-content:stretch;height:100%;min-height:0;padding:10px 0 14px}.editWorkspace{grid-template-columns:minmax(0,1fr);gap:18px;width:min(95vw,1560px);height:100%;min-height:0;display:grid}.editWorkspace.withPanel{grid-template-columns:minmax(0,1fr) 340px}.editCanvasColumn{justify-content:center;align-items:center;min-width:0;min-height:0;display:flex}.editWorkspace .inpaintingStage{justify-content:center;align-items:center;width:auto;max-width:100%;height:100%;min-height:0;max-height:100%;padding:18px;display:flex}.editWorkspace .inpaintingStage img{object-fit:contain;width:auto;max-width:100%;height:100%;max-height:100%}.editWorkspace .inpaintingStage canvas,.editWorkspace .inpaintingMaskPreview{width:calc(100% - 36px);height:calc(100% - 36px);inset:18px}.editWorkspace .importDropZone{width:100%;height:100%;min-height:0;max-height:100%;padding:18px}.editWorkspace .importDropZone.hasImage{grid-template-rows:minmax(0,1fr) auto;align-content:stretch;justify-items:center;gap:10px;display:grid}.editWorkspace .importDropZone.hasImage img{object-fit:contain;width:100%;max-width:100%;height:100%;min-height:0;max-height:100%}.editWorkspace .importSourceStack{align-self:center;width:min(72vw,760px);margin:0 auto}.editSidePanel{background:#1f1f1ff0;border:1px solid #ffffff24;border-radius:4px;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;min-width:0;min-height:0;padding:16px;display:grid}.brushPanel{border-bottom:1px solid #ffffff17;gap:11px;padding-bottom:15px;display:grid}.brushPanelHead{color:var(--soft);justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;display:flex}.brushPanelHead output{color:var(--gold);font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:12px}.brushPanelSlider{appearance:none;cursor:ew-resize;background:0 0;width:100%;height:18px;margin:0}.brushPanelSlider::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--gold) 0 var(--brush-progress), #ffffff1f var(--brush-progress) 100%);border-radius:999px;height:4px}.brushPanelSlider::-webkit-slider-thumb{appearance:none;background:var(--gold);border:0;border-radius:50%;width:16px;height:16px;margin-top:-6px;box-shadow:0 2px 8px #00000080}.brushPanelSlider::-moz-range-track{background:#ffffff1f;border-radius:999px;height:4px}.brushPanelSlider::-moz-range-progress{background:var(--gold);border-radius:999px;height:4px}.brushPanelSlider::-moz-range-thumb{background:var(--gold);border:0;border-radius:50%;width:16px;height:16px}.brushPanelHistory{gap:7px;display:flex}.brushPanelHistory button{width:32px;height:30px;color:var(--soft);cursor:pointer;background:#ffffff0d;border:1px solid #ffffff17;border-radius:3px;justify-content:center;align-items:center;display:inline-flex}.brushPanelHistory button:disabled{opacity:.32;cursor:not-allowed}.editSidePromptFields{grid-template-rows:minmax(0,1fr) 18px minmax(0,1fr);min-height:0;display:grid}.editSidePromptFields textarea{width:100%;height:100%;min-height:0;color:var(--soft);resize:none;background:0 0;border:0;padding:0}.editSidePromptFields textarea:focus-visible{outline:none}.editSideControls{border-top:1px solid #ffffff17;flex-wrap:wrap;align-items:center;gap:7px;padding-top:12px;display:flex}.editSideControls .generateButton{margin-left:auto}.editSidePanel .advancedPanel{width:min(340px,100vw - 32px);right:0}@media (width<=1100px){.editWorkspace.withPanel{grid-template-columns:minmax(0,1fr) 290px;gap:14px}}@media (width<=760px){.editWorkspace.withPanel{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}.editSidePanel{max-height:46svh;overflow-y:auto}.editSidePromptFields{grid-template-rows:70px 18px 56px}}.editWorkspace .inpaintingStage canvas{cursor:none}.brushCursorRing{z-index:4;box-sizing:border-box;pointer-events:none;background:#ffffff24;border:1.5px dashed #ffffffe6;border-radius:50%;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #00000059}.brushCursorRing.drawing{background:#ffffff3d}.importDropZone.hasImage img,.inpaintingStage img,.composerThumbnail img,.uploadedImageThumb img,.imageSlotSelect>img,.importLibraryThumb img,.inlineUpload img,.importBox img,.plainOutputImageButton img,.plainOutput:hover .plainOutputImageButton img,.plainOutput:focus-within .plainOutputImageButton img{filter:none}.promptCopyChip{justify-content:center;gap:0;width:26px;min-width:26px;height:26px;min-height:26px;padding:0}.advancedSeedRow{grid-template-columns:24px minmax(0,1fr) 30px 30px}.editSidePanel{flex-direction:column;grid-template-rows:none;display:flex}.brushPanel,.editSideControls{flex:none}.editSidePromptFields{flex:auto;min-height:0}@media (width<=760px){.editSidePromptFields{flex:none}}.logoutButton{width:31px;height:31px;color:var(--soft);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;justify-content:center;align-items:center;padding:0;display:inline-flex}.logoutButton:hover,.logoutButton:focus-visible{color:var(--gold);background:#d7c29a14;border-color:#d7c29a6b;outline:none}.editPreviewFrame{background:#ffffff06;border:1px dashed #d7c29a61;border-radius:12px;grid-template-rows:minmax(0,1fr) auto;justify-items:center;gap:10px;width:100%;height:100%;min-height:0;padding:18px;display:grid}.editPreviewMedia{justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.editPreviewImage{object-fit:contain;width:100%;height:100%;display:block}.editWorkspace .editPreviewFrame .inpaintingStage{background:0 0;border:0;border-radius:0;align-self:stretch;width:auto;max-width:100%;height:100%;max-height:100%;padding:0}.editWorkspace .editPreviewFrame .inpaintingStage img{object-fit:contain;width:auto;max-width:100%;height:100%;max-height:100%}.editWorkspace .editPreviewFrame .inpaintingStage canvas,.editWorkspace .editPreviewFrame .inpaintingMaskPreview{width:100%;height:100%;inset:0}.loadedImageReplace{min-height:24px;color:var(--muted);font-family:var(--mono);text-align:center;cursor:pointer;justify-content:center;align-items:center;font-size:12px;transition:color .18s;display:inline-flex}.loadedImageReplace:hover{color:var(--gold)}.loadedImageReplace input{display:none}.editSideControls{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;padding-top:14px;display:grid}.editSettingGroup{gap:6px;display:grid}.editSettingLabel{color:var(--muted);font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;font-size:9px}.editSettingGroup .styleControl,.editSettingGroup .styleControl>.composerChip{width:100%}.editSettingGroup .styleControl>.composerChip{justify-content:flex-start}.editSettingGroup .styleControl>.composerChip svg:last-child{margin-left:auto}.editSettingsRow{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.editSettingsRow>.composerChip{justify-content:flex-start;width:100%}.editSettingsRow .advancedTrigger{min-height:34px;padding-inline:10px}.editGenerateButton{color:#050505;background:var(--gold);border:1px solid var(--gold);width:100%;min-height:42px;font-family:var(--mono);cursor:pointer;border-radius:3px;justify-content:space-between;align-items:center;padding:0 12px 0 14px;font-size:12px;display:inline-flex}.editGenerateButton:hover:not(:disabled){background:#e3cda4}.editGenerateButton:disabled{opacity:.58;cursor:wait}.generateMode-import .generationStage:has(.editVersionOutput){align-content:stretch;height:100%;min-height:0;padding:10px 0 14px}.editVersionOutput{grid-template-rows:minmax(0,1fr) 88px;gap:12px;width:min(95vw,1560px);height:100%;min-height:0;display:grid;position:relative}.editVersionHero,.generateMode-import .editVersionHero,.generateMode-import .editVersionHero .plainOutputImageButton{aspect-ratio:auto;width:100%;min-width:0;height:100%;min-height:0}.editVersionHero{background:#090909;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.editVersionHero .plainOutputImageButton{justify-content:center;align-items:center;display:flex}.editVersionHero .plainOutputImageButton img{object-fit:contain;width:100%;height:100%}.editVersionStrip{scrollbar-color:#d7c29a6b transparent;scrollbar-width:thin;align-items:stretch;gap:8px;min-width:0;padding:2px 2px 5px;display:flex;overflow-x:auto}.editVersionThumb{cursor:pointer;background:#090909;border:1px solid #ffffff29;border-radius:6px;flex:0 0 70px;min-width:70px;padding:3px;position:relative;overflow:hidden}.editVersionThumb:hover{border-color:#d7c29a94}.editVersionThumb.active{border-color:var(--gold);box-shadow:0 0 0 2px #d7c29a47}.editVersionThumb img{object-fit:cover;border-radius:3px;width:100%;height:100%;display:block}.editVersionThumb span{color:#090909;background:var(--gold);font-family:var(--mono);text-transform:uppercase;border-radius:2px;align-items:center;gap:3px;padding:2px 4px;font-size:7px;display:inline-flex;position:absolute;bottom:5px;right:5px}@media (width<=760px){.editVersionOutput{grid-template-rows:minmax(0,1fr) 72px}.editVersionThumb{flex-basis:56px;min-width:56px}.editSettingsRow{grid-template-columns:minmax(0,1fr)}}.generateMode-prompt .generationStage,.generateMode-image .generationStage{height:100%;min-height:0;padding:10px 0 calc(30svh + 32px)}@media (width<=720px){.generateMode-prompt .generationStage,.generateMode-image .generationStage{padding-bottom:calc(34svh + 24px)}}.editWorkspace.hasVersions .editVersionOutput{width:100%;max-width:100%}.editWorkspace.hasVersions .editVersionHero{background:0 0}.comparisonSlider{isolation:isolate;background:#090909;width:100%;min-width:0;height:100%;min-height:0;position:relative;overflow:hidden}.editVersionHero .comparisonSlider{aspect-ratio:3/2;width:auto;max-width:100%;height:100%}.comparisonSlider>img{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block;position:absolute;inset:0}.comparisonBefore{z-index:1;clip-path:inset(0 calc(100% - var(--comparison-position)) 0 0)}.comparisonDivider{top:0;bottom:0;left:var(--comparison-position);z-index:3;background:var(--gold);pointer-events:none;width:1px;position:absolute;transform:translate(-50%);box-shadow:0 0 0 1px #00000047}.comparisonDivider span{background:var(--gold);border:1px solid #0009;border-radius:50%;width:30px;height:30px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 6px 18px #0000006b}.comparisonDivider span:before,.comparisonDivider span:after{color:#080808;font-size:10px;position:absolute;top:50%;transform:translateY(-55%)}.comparisonDivider span:before{content:"‹";left:6px}.comparisonDivider span:after{content:"›";right:6px}.comparisonBadge{z-index:4;color:var(--soft);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;background:#0000009e;border:1px solid #d7c29a47;border-radius:2px;padding:4px 7px;font-size:8px;position:absolute;top:10px}.comparisonBadgeBefore{left:10px}.comparisonBadgeAfter{right:10px}.comparisonSlider input[type=range]{z-index:5;opacity:0;cursor:ew-resize;width:100%;height:100%;margin:0;position:absolute;inset:0}.generateMode-import .generationStage:has(>.modeInputStack){align-content:stretch;width:100%;height:100%;min-height:0;padding:10px 0 14px}.generateMode-import .generationStage:has(>.modeInputStack) .modeInputStack{grid-template-rows:minmax(0,1fr) 46px;align-content:stretch;width:min(100%,960px);max-width:100%;height:100%;min-height:0;max-height:100%}.generateMode-import .modeInputStack>.editPreviewFrame{box-sizing:border-box;width:100%;height:100%;min-height:0;max-height:100%}.generateMode-import .modeInputStack .editPreviewMedia,.generateMode-import .modeInputStack .editPreviewImage{min-height:0;max-height:100%}.generateMode-import .modeInputStack .editPrimaryActionSlot{min-height:46px}@media (width<=760px){.generateMode-import .generationStage:has(>.modeInputStack) .modeInputStack{width:min(100%,960px);max-width:100%}.generateMode-import .modeInputStack>.editPreviewFrame{padding:10px}.generateMode-import .modeInputStack .loadedImageReplace{font-size:10px}}.originalVersionHero{justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;display:flex}.originalVersionHero img{object-fit:contain;width:100%;height:100%;display:block}.editVersionThumb.original span{color:var(--gold);background:#000000b8;border:1px solid #d7c29a6b}.editVersionHero .inpaintingStage{background:0 0;border:0;border-radius:0;width:auto;max-width:100%;height:100%;min-height:0;max-height:100%;padding:0}.editVersionHero .inpaintingStage img{object-fit:contain;width:auto;max-width:100%;height:100%;max-height:100%}.editWorkspace .editVersionHero .inpaintingStage canvas,.editWorkspace .editVersionHero .inpaintingMaskPreview{width:100%;height:100%;inset:0}.inpaintingWorkingBadge{z-index:5;color:var(--gold);font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000ad;border:1px solid #d7c29a52;border-radius:2px;padding:4px 7px;font-size:8px;position:absolute;bottom:10px;left:10px}.generateMode-import .generationStage:has(>.modeInputStack) .modeInputStack:has(.importSourceStack){grid-template-rows:auto 46px;align-content:center;width:min(72vw,760px);max-width:100%}@media (width<=760px){.generateMode-import .generationStage:has(>.modeInputStack) .modeInputStack:has(.importSourceStack){width:100%}}.appShell{--composer-reserve:var(--composer-measured,calc(30svh + 16px))}:is(.appShell:has(.generateMode-prompt) .mainSurface,.appShell:has(.generateMode-image) .mainSurface){padding-top:0}.generateMode-prompt .generationStage,.generateMode-image .generationStage{height:calc(100% - var(--composer-reserve));place-items:center;min-height:0;padding:0}.generateMode-prompt .generationStage>.galleryCarousel,.generateMode-image .generationStage>.galleryCarousel{align-items:center;height:100%;padding:0;display:flex;transform:none}.galleryCarousel .galleryCarouselTrack{height:min(clamp(180px,38svh,420px),100%)}.galleryCarousel .galleryCarouselItem{height:100%}@media (width<=640px){.appShell{--composer-reserve:var(--composer-measured,calc(34svh + 14px))}}.advancedPanel,.editSidePanel .advancedPanel{width:min(404px,100vw - 32px)}.advancedPanelHeader{align-items:center;gap:8px;padding:9px 11px}.advancedPanelHeader strong{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;font-size:15px;overflow:hidden}.advancedPanelHeaderActions{flex-wrap:nowrap;flex:none;align-items:center;gap:4px;display:flex}.advancedPanelHeaderActions .advancedAction{min-height:24px;color:var(--muted);white-space:nowrap;font-family:var(--mono);letter-spacing:.02em;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:9px;transition:color .18s,border-color .18s,background .18s;display:inline-flex}.advancedPanelHeaderActions .advancedAction:hover:not(:disabled){color:var(--gold);background:#d7c29a1a;border-color:#d7c29a6b}.advancedPanelHeaderActions .advancedAction:disabled{opacity:.3;cursor:not-allowed}.advancedPanelHeaderActions .advancedAction.pinned{color:var(--gold);background:#d7c29a29;border-color:#d7c29a8c}.advancedPanelHeaderActions .advancedActionClose{width:24px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-left:1px solid #ffffff1a;border-radius:0;place-items:center;margin-left:4px;padding:0 0 0 8px;transition:color .18s;display:grid}.advancedPanelHeaderActions .advancedActionClose:hover{color:var(--gold)}.advancedGroup{gap:11px;padding:12px 0}.advancedGroupHeader{display:block}.advancedField{gap:4px}.advancedFieldHead{min-height:20px}.advancedValue{box-sizing:border-box;min-width:62px;height:20px;color:var(--gold);text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums;background:0 0;border:1px solid #0000;border-radius:2px;justify-content:flex-end;align-items:center;margin:0;padding:0 6px;font-size:10px;display:inline-flex}.advancedValueButton{cursor:text;transition:background .16s,border-color .16s}.advancedValueButton:hover{background:#d7c29a14;border-color:#d7c29a4d}.advancedValueButton:active:not(:disabled){transform:none}.advancedValueInput{background:#d7c29a1a;border-color:#d7c29a8c;outline:none}.advancedRangeValues{align-items:center;gap:2px;display:inline-flex}.advancedRangeValues .advancedValue{min-width:46px}.advancedRangeValues em{color:var(--muted);font-style:normal;font-family:var(--mono);font-size:10px}.advancedToggle{background:#ffffff0a;border:1px solid #ffffff17;border-radius:999px;gap:2px;padding:2px;display:inline-flex}.advancedToggle button{color:var(--muted);font-family:var(--mono);letter-spacing:.02em;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:2px 9px;font-size:9px;transition:color .16s,background .16s}.advancedToggle button:hover:not(.active){color:var(--soft)}.advancedToggle button.active{color:#101010;background:var(--gold)}.advancedSeedField .advancedSeedRow{grid-template-columns:minmax(0,1fr) 28px 28px;gap:5px}.advancedSeedRow .advancedNumberInput{width:100%;min-height:28px}.advancedSeedRow .advancedGhostButton{height:28px}.advancedSelectField .advancedSelectButton{grid-template-columns:minmax(0,1fr) auto;min-height:30px}.advancedSelectField .advancedSelectButton>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=640px){.advancedPanel{width:auto;max-height:max(200px, calc(100svh - var(--advanced-anchor,88px) - var(--topnav-height,96px) - 16px));position:absolute;bottom:calc(100% + 8px);left:0;right:0}.editSidePanel .advancedPanel{left:12px;right:12px;bottom:var(--advanced-anchor,88px);width:auto;position:fixed}.advancedPanelHeader{flex-wrap:wrap}.advancedPanelHeaderActions{flex:1 0 100%;justify-content:flex-start}.advancedPanelHeaderActions .advancedActionClose{margin-left:auto}}.topNav{position:relative;top:auto}.galleryFilterPanel,.galleryFilterPanel.collapsed,.galleryFilterPanel.expanded{top:14px}.gallerySections{padding-top:0}.advancedSelectMenu.dropUp{top:auto;bottom:calc(100% + 4px)}@media (width<=640px){.topNav{grid-template-columns:auto minmax(0,auto);grid-template-areas:"logo actions""modes modes";align-items:center;gap:7px 10px;padding:8px 12px 0}.topNav .topLogo{grid-area:logo;justify-self:start;align-items:center;min-height:38px;display:flex}.topLogo img{width:108px}.topNav .sectionNav{grid-area:actions;justify-self:end;gap:2px}.topNav .modeNav{grid-area:modes;justify-self:stretch;gap:0}.modeNav .navLink{text-align:center;border-bottom:2px solid #0000;flex:1 1 0;min-width:0;min-height:34px;padding:6px 2px;font-size:12.5px}.modeNav .navLink.active{border-bottom-color:var(--gold)}.sectionNav .navLink{padding:5px 6px;font-size:13px}.appShell .promptComposer--prompt,.appShell .promptComposer--image{height:auto;min-height:0;max-height:none}.promptComposer--prompt .promptFields,.promptComposer--image .promptFields{grid-template-rows:minmax(56px,auto) auto minmax(38px,auto);height:auto}.promptComposer--prompt textarea,.promptComposer--image textarea{height:auto}.composerSettings{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-bottom:0;display:grid;overflow-x:visible}.composerSettings>*,.composerSettings>*>.composerChip,.composerSettings>*>.advancedTrigger{width:100%;min-width:0}.composerSettings .composerChip,.composerSettings .advancedTrigger{justify-content:flex-start;min-height:32px;padding:4px 9px;font-size:10.5px}.composerSettings .controlStrengthChip{grid-column:1/-1}.controlStrengthChip span{flex:none}.controlStrengthChip input{flex:auto;width:auto;min-width:0}.composerSettings{position:relative}.composerSettings .advancedControl{position:static}.composerSettings .advancedPanel{bottom:40px;left:0;right:0}.galleryCarousel .galleryCarouselItem{flex-basis:62vw}.galleryCarousel .galleryCarouselTrack{height:min(clamp(180px,32svh,300px),100%)}.importSourceGrid{grid-template-columns:minmax(0,1fr);gap:10px}.editWorkspace .importSourceStack{width:100%}.importSourceCard{gap:5px;min-height:0;padding:20px 16px}.importSourceCard strong{font-size:15px}.importSourceCard span{font-size:10.5px}.editToolModes{scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;gap:6px;width:100%;min-width:0;max-width:100%;overflow-x:auto}.editToolModes::-webkit-scrollbar{display:none}.editToolModes .toolPill{flex:none;padding:6px 11px;font-size:11px}.appShell .generateMode-import .modeToolStrip.modeToolStrip,.appShell .generateMode-enhance .modeToolStrip.modeToolStrip{height:auto;min-height:0;padding-block:6px}.generateMode-import .editToolCluster,.generateMode-enhance .editToolCluster{min-height:0}.editToolAux:empty{display:none}:is(.generateMode-import:not(:has(.editPromptBar)),.generateMode-enhance:not(:has(.editPromptBar))){grid-template-rows:auto auto;align-content:start}:is(.generateMode-import:not(:has(.editPromptBar)) .generationStage,.generateMode-enhance:not(:has(.editPromptBar)) .generationStage){height:auto;min-height:0;padding:14px 0 24px}.galleryFilterPanel,.galleryFilterPanel.collapsed,.galleryFilterPanel.expanded{width:100%}.galleryFilterPanel .galleryFilterHeader h1{font-size:22px}.gallerySections{gap:30px}.detailModalContent{grid-template-rows:minmax(140px,.9fr) minmax(0,1fr)}.modalInfoPanel{min-height:0;max-height:none}}@media (width<=700px){.galleryZoomControls{display:none}}.editSidePanel .stylePopover{width:auto;left:0;right:0}
