*{box-sizing:border-box}html,body,#app{width:100%;min-width:320px;height:100%;margin:0;overflow:hidden}body{color:#e5e7eb;background:#050607;font-size:13px;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-icon{width:18px;height:18px;flex:0 0 auto;display:inline-block;background:currentColor;mask:var(--icon-url) center / contain no-repeat;-webkit-mask:var(--icon-url) center / contain no-repeat}.icon-home{--icon-url: url("data:image/svg+xml,%3c!--%20@license%20lucide-static%20v0.468.0%20-%20ISC%20--%3e%3csvg%20class='lucide%20lucide-house'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M15%2021v-8a1%201%200%200%200-1-1h-4a1%201%200%200%200-1%201v8'%20/%3e%3cpath%20d='M3%2010a2%202%200%200%201%20.709-1.528l7-5.999a2%202%200%200%201%202.582%200l7%205.999A2%202%200%200%201%2021%2010v9a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2z'%20/%3e%3c/svg%3e")}.icon-image{--icon-url: url("data:image/svg+xml,%3c!--%20@license%20lucide-static%20v0.468.0%20-%20ISC%20--%3e%3csvg%20class='lucide%20lucide-image-plus'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M16%205h6'%20/%3e%3cpath%20d='M19%202v6'%20/%3e%3cpath%20d='M21%2011.5V19a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h7.5'%20/%3e%3cpath%20d='m21%2015-3.086-3.086a2%202%200%200%200-2.828%200L6%2021'%20/%3e%3ccircle%20cx='9'%20cy='9'%20r='2'%20/%3e%3c/svg%3e")}.icon-coins{--icon-url: url("data:image/svg+xml,%3c!--%20@license%20lucide-static%20v0.468.0%20-%20ISC%20--%3e%3csvg%20class='lucide%20lucide-coins'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3ccircle%20cx='8'%20cy='8'%20r='6'%20/%3e%3cpath%20d='M18.09%2010.37A6%206%200%201%201%2010.34%2018'%20/%3e%3cpath%20d='M7%206h1v4'%20/%3e%3cpath%20d='m16.71%2013.88.7.71-2.82%202.82'%20/%3e%3c/svg%3e")}.icon-upload{--icon-url: url("data:image/svg+xml,%3c!--%20@license%20lucide-static%20v0.468.0%20-%20ISC%20--%3e%3csvg%20class='lucide%20lucide-cloud-upload'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M12%2013v8'%20/%3e%3cpath%20d='M4%2014.899A7%207%200%201%201%2015.71%208h1.79a4.5%204.5%200%200%201%202.5%208.242'%20/%3e%3cpath%20d='m8%2017%204-4%204%204'%20/%3e%3c/svg%3e")}.icon-history{--icon-url: url("data:image/svg+xml,%3c!--%20@license%20lucide-static%20v0.468.0%20-%20ISC%20--%3e%3csvg%20class='lucide%20lucide-history'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M3%2012a9%209%200%201%200%209-9%209.75%209.75%200%200%200-6.74%202.74L3%208'%20/%3e%3cpath%20d='M3%203v5h5'%20/%3e%3cpath%20d='M12%207v5l4%202'%20/%3e%3c/svg%3e")}.generator-shell{height:100vh;position:relative;display:grid;grid-template-columns:78px 400px minmax(0,1fr);overflow:hidden;background:#050607}.side-rail{display:grid;grid-template-rows:58px 1fr auto;background:#071019;border-right:1px solid #101820}.brand-mark{display:grid;place-items:center;color:#fff;font-size:14px;font-weight:800}.rail-nav{display:grid;align-content:start;gap:7px;padding:14px 8px}.rail-item{height:52px;display:grid;place-items:center;gap:4px;color:#a7b0bb;background:transparent;border:0;border-radius:8px}.rail-item span{font-size:11px}.rail-item .app-icon{width:18px;height:18px}.rail-item.active{color:#21d7ff;background:#123a61}.scene-menu-popover{position:absolute;top:166px;left:78px;z-index:15;display:flex;gap:8px;color:#d6dde6}.scene-menu-primary,.scene-menu-secondary{padding:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#1a1d22;border:1px solid #2a3038;box-shadow:0 18px 42px #0000005c}.scene-menu-primary{width:206px;border-radius:8px}.scene-menu-secondary{width:208px;align-self:start;max-height:min(360px,calc(100vh - 190px));overflow:auto;border-radius:8px}.scene-menu-primary button,.scene-menu-secondary button{min-width:0;height:34px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;color:#d0d6df;text-align:left;background:transparent;border:0;border-radius:6px;font-weight:700}.scene-menu-primary button span,.scene-menu-secondary button{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.scene-menu-primary button em{color:#8ddff4;font-style:normal}.scene-menu-primary button.active,.scene-menu-secondary button.active,.scene-menu-primary button:hover,.scene-menu-secondary button:hover{color:#27d8ff;background:#123947}.rail-account{margin:10px;display:grid;gap:8px}.login-entry-button{height:48px;color:#e7edf6;background:#0b121b;border:1px solid #263241;border-radius:10px;font-weight:800}.login-entry-button:hover{color:#20d7ff;border-color:#1d8eac;background:#0e2230}.user-account-card{padding:8px 6px;display:grid;place-items:center;gap:5px;border:1px solid #263241;border-radius:10px;color:#e5e7eb;background:#0b121b}.user-avatar{width:38px;height:38px;overflow:hidden;display:grid;place-items:center;color:#061018;background:linear-gradient(135deg,#27d8ff,#f8d66d);border-radius:10px;font-weight:900}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-account-card strong{max-width:58px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.user-account-card>span{display:inline-flex;align-items:center;gap:3px;color:#f4c542;font-size:11px;font-weight:800}.user-account-card .app-icon{width:16px;height:16px}.user-account-card button{height:24px;padding:0 8px;color:#99a4b2;background:transparent;border:0;font-size:11px}.user-account-card button:hover{color:#20d7ff}.control-panel{min-width:0;height:100vh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:#101214;border-right:1px solid #20242a}.panel-header{height:58px;display:flex;align-items:center;padding:0 14px;border-bottom:1px solid #20242a}.panel-header h1{margin:0;font-size:18px}.panel-scroll{min-height:0;overflow:auto;padding:10px 14px 8px;display:grid;gap:9px;align-content:start}.panel-scroll::-webkit-scrollbar,.result-stage::-webkit-scrollbar,.history-workspace-body::-webkit-scrollbar{width:6px}.panel-scroll::-webkit-scrollbar-thumb,.result-stage::-webkit-scrollbar-thumb,.history-workspace-body::-webkit-scrollbar-thumb{background:#383d45;border-radius:999px}.upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.upload-card{display:grid;grid-template-rows:auto 92px;gap:6px;color:#b8c0cc}.upload-card>span{color:#aeb8c6;font-weight:700;line-height:1.2}.upload-card input{display:none}.upload-card em,.upload-card img{width:100%;height:92px;display:grid;place-items:center;object-fit:cover;color:#8993a0;font-style:normal;background:#1b2026;border:1px solid #272e37;border-radius:10px;transition:border-color .18s ease,background .18s ease,color .18s ease}.upload-card em{gap:10px;align-content:center}.upload-icon-shell{width:38px;height:38px;display:grid;place-items:center;color:#8ea0b1;background:#242a31;border:1px solid #303844;border-radius:12px;transition:color .18s ease,background .18s ease,border-color .18s ease}.upload-icon-shell .app-icon{width:20px;height:20px}.upload-card:hover em{color:#26d7ff;background:#17242c;border-color:#245f70}.upload-card:hover .upload-icon-shell{color:#26d7ff;background:#11303a;border-color:#246f83}.field-block{display:grid;gap:5px;color:#c7d0dc}.required-mark{margin-left:2px;color:#ff5f6d;font-style:normal;font-weight:700}.field-block input,.field-block select,.field-block textarea,.field-row input,.field-row select,.field-row textarea{width:100%;color:#e5e7eb;background:#20242a;border:1px solid #2a3038;border-radius:8px;outline:0}.field-block input,.field-block select,.field-row input,.field-row select{height:32px;padding:0 10px}.field-block textarea{height:88px;resize:none;padding:10px;line-height:1.45}.field-row textarea{height:64px;resize:none;padding:10px 12px;line-height:1.45}.field-block small{justify-self:end;color:#808995}.quality-card{margin-top:6px;padding:14px;display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:10px;color:#d5dde7;background:#171a1f;border:1px solid #222831;border-radius:10px}.quality-card>span{font-weight:700}.quality-card select{width:100%;height:34px;min-width:0;padding:0 10px;color:#e7ebf1;background:#20242a;border:1px solid #2a3038;border-radius:7px;outline:0}.generation-tip{margin:0;color:#8e96a3;font-size:11px;line-height:1.5}.field-card{padding:9px;display:grid;gap:7px;background:#171a1f;border:1px solid #222831;border-radius:10px}.prompt-card{padding:12px;display:grid;gap:8px;background:#171a1f;border:1px solid #222831;border-radius:10px}.field-card-title{color:#d9e2ee;font-weight:700}.prompt-button{padding:10px;display:grid;gap:6px;color:#b8c0cc;text-align:left;background:#20242a;border:1px solid #2a3038;border-radius:8px}.prompt-button.active{color:#e7fbff;background:#102b35;border-color:#1aa4c8}.prompt-button strong{color:inherit}.prompt-button span{color:#8f9aa7;line-height:1.5}.field-row{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:7px;color:#aeb7c3}.generate-button{height:56px;margin:8px 14px 14px;display:flex;align-items:center;justify-content:center;gap:30px;color:#fff;background:linear-gradient(90deg,#19d8df,#1284ff);border:0;border-radius:36px;font-size:16px}.generate-button span{display:inline-flex;align-items:center;gap:8px}.generate-button .app-icon{width:18px;height:18px}.result-panel{min-width:0;height:100vh;display:grid;grid-template-rows:58px minmax(0,1fr);overflow:hidden;background:#060707}.result-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #20242a}.result-tabs{display:flex;padding:3px;background:#0d0f11;border:1px solid #242830;border-radius:7px}.result-tabs button,.history-button{height:30px;color:#d2d7df;background:transparent;border:0;border-radius:6px;padding:0 14px}.history-button{display:inline-flex;align-items:center;gap:7px}.history-button .app-icon{width:16px;height:16px}.result-tabs button.active,.history-button{background:#2b2d36}.result-stage{min-height:0;overflow:auto;padding:28px 18px 64px}.result-feed{width:min(100%,1280px);display:grid;gap:30px}.generation-entry{display:grid;gap:14px;border-bottom:1px solid #1c2026;padding-bottom:28px}.generation-entry-header{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:18px}.generation-entry-meta{min-width:0;display:flex;align-items:center;gap:10px;color:#d9dee7;white-space:nowrap}.generation-entry-meta .app-icon{width:17px;height:17px}.generation-entry-meta strong{color:#f1f5f9;font-size:16px}.generation-entry-meta time{color:#9aa3af;font-weight:700}.source-chip{height:26px;padding:0 8px 0 3px;display:inline-flex;align-items:center;gap:6px;color:#cfd6df;background:#292b31;border:1px solid #343840;border-radius:4px;font-weight:700}.source-chip img{width:22px;height:22px;object-fit:cover;border-radius:3px}.regenerate-button{height:32px;padding:0 18px;color:#d8dde6;background:#30313a;border:1px solid #383b45;border-radius:6px;font-weight:700}.regenerate-button:disabled{cursor:not-allowed;opacity:.68}.generation-summary{margin:0;color:#f0f3f7;font-size:15px;font-weight:700;line-height:1.7}.image-result-grid{width:min(100%,1128px);justify-self:center;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;overflow:hidden;border-radius:14px}.image-result-grid button{display:block;overflow:hidden;border:0;background:#111418;padding:0;cursor:pointer}.image-result-grid.single{width:min(100%,720px);border-radius:10px}.image-result-grid img{width:100%;display:block;object-fit:contain;background:#0d0f12}.image-result-grid:not(.single) img{aspect-ratio:1.45;object-fit:cover}.generation-error{min-height:120px;display:grid;place-items:center;padding:20px;color:#aeb7c3;text-align:center;background:#101216;border:1px solid #232832;border-radius:10px}.generation-pending{width:min(100%,1128px);min-height:420px;justify-self:center;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:22px;color:#f3f7fb;background:radial-gradient(circle at 58% 42%,rgba(32,207,224,.26),transparent 26%),linear-gradient(120deg,#06262d,#09233a 48%,#073576);border-radius:14px}.generation-pending:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent),radial-gradient(circle,rgba(255,255,255,.24) 1px,transparent 1px);background-size:45% 100%,18px 18px;background-position:-60% 0,center;opacity:.58;animation:pendingSweep 2.8s linear infinite}.generation-pending strong{position:relative;z-index:1}.pending-orbit{position:absolute;left:50%;top:50%;width:76px;height:76px;border:2px solid rgba(255,255,255,.18);border-top-color:#28dce8;border-radius:50%;transform:translate(-50%,-50%);animation:pendingSpin 1.1s linear infinite}@keyframes pendingSweep{0%{background-position:-60% 0,center}to{background-position:160% 0,center}}@keyframes pendingSpin{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.image-editor{position:fixed;inset:0;display:grid;grid-template-rows:70px minmax(0,1fr);background:#090a0c;z-index:40}.editor-topbar{display:flex;align-items:center;gap:14px;padding:0 20px;color:#b8bec8}.editor-topbar button{width:34px;height:34px;color:#8a9099;background:#1d1f24;border:1px solid #2c3038;border-radius:6px;font-size:22px}.editor-body{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 300px}.editor-canvas{min-width:0;min-height:0;display:grid;place-items:center;padding:24px;overflow:auto}.editor-canvas img{max-width:min(100%,1120px);max-height:calc(100vh - 118px);object-fit:contain}.editor-side{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:24px;padding:24px 18px;color:#d5d9e1;background:#111317;border-left:1px solid #232730}.editor-side h2,.editor-side h3{margin:0}.editor-side h2{font-size:18px}.editor-side time{display:block;margin-top:8px;color:#8e96a3;font-size:12px}.editor-side section{min-height:0;overflow:auto}.editor-side h3{margin-bottom:10px;color:#8e96a3;font-size:13px}.editor-side p{margin:0;color:#d7dbe2;line-height:1.7}.editor-reference-block div{display:grid;gap:10px}.editor-reference-block img{width:100%;max-height:150px;object-fit:cover;background:#0b0d10;border:1px solid #2a303a;border-radius:7px}.editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;background:#20232b;border:1px solid #2d3340;border-radius:8px}.editor-actions button,.editor-actions a{height:38px;display:inline-flex;align-items:center;justify-content:center;color:#dce2ea;background:#2b2f39;border:1px solid #394252;border-radius:7px;text-decoration:none}.editor-actions>a:only-child{grid-column:1 / -1}.editor-actions .editor-primary-action{grid-column:1 / -1;color:#fff;background:linear-gradient(90deg,#20d6e8,#1687ff);border-color:transparent}.editor-actions button:disabled{cursor:not-allowed;opacity:.68}.synthesis-mask{position:fixed;inset:0;display:grid;place-items:center;background:#000000a3;z-index:50}.synthesis-dialog{width:min(520px,calc(100vw - 36px));padding:22px;color:#d7dce5;background:#14161c;border:1px solid #303542;border-radius:10px}.synthesis-dialog header{display:flex;align-items:center;justify-content:space-between}.synthesis-dialog h2{margin:0;font-size:22px}.synthesis-dialog header button{color:#d7dce5;background:transparent;border:0;font-size:28px}.synthesis-dialog p{margin:16px 0;color:#9aa3af}.local-edit-field{display:grid;gap:10px;margin-top:18px}.local-edit-field span{color:#d7dce5;font-weight:700}.local-edit-field textarea{min-height:140px;resize:vertical;padding:12px;color:#e5e7eb;background:#20232b;border:1px solid #343b48;border-radius:8px;line-height:1.6;outline:none}.local-edit-field textarea:focus{border-color:#21c7e8}.synthesis-upload{min-height:170px;display:grid;place-items:center;overflow:hidden;color:#9aa3af;background:#20232b;border:1px dashed #4a5160;border-radius:8px;cursor:pointer}.synthesis-upload input{display:none}.synthesis-upload img{width:100%;max-height:260px;object-fit:contain}.synthesis-upload span{display:grid;place-items:center;gap:10px}.synthesis-upload .app-icon{width:34px;height:34px}.synthesis-dialog footer{display:flex;justify-content:center;gap:14px;margin-top:20px}.synthesis-dialog footer button{min-width:106px;height:38px;color:#fff;background:#2c3038;border:1px solid #3a414d;border-radius:7px}.synthesis-dialog footer button:last-child{background:linear-gradient(90deg,#20d6e8,#1687ff);border-color:transparent}.login-mask{position:fixed;inset:0;z-index:55;display:grid;place-items:center;background:#000000a3}.login-dialog{width:min(380px,calc(100vw - 36px));padding:22px;display:grid;gap:16px;color:#d7dce5;background:#14161c;border:1px solid #303542;border-radius:10px}.login-dialog header{display:flex;align-items:center;justify-content:space-between}.login-dialog h2{margin:0;font-size:20px}.login-dialog header button{color:#d7dce5;background:transparent;border:0;font-size:28px}.login-tabs{padding:3px;display:grid;grid-template-columns:1fr 1fr;background:#0d0f11;border:1px solid #262c35;border-radius:8px}.login-tabs button{height:32px;color:#aab3c0;background:transparent;border:0;border-radius:6px;font-weight:800}.login-tabs button.active{color:#f2f7fb;background:#2b2d36}.login-dialog label{display:grid;gap:8px}.login-dialog label span{color:#c8d0dc;font-weight:700}.login-dialog input{height:40px;padding:0 12px;color:#e5e7eb;background:#20232b;border:1px solid #343b48;border-radius:8px;outline:none}.login-dialog input:focus{border-color:#21c7e8}.login-dialog footer{display:flex;justify-content:flex-end;gap:12px}.login-dialog footer button{min-width:88px;height:36px;color:#fff;background:#2c3038;border:1px solid #3a414d;border-radius:7px}.login-dialog footer button:last-child{background:linear-gradient(90deg,#20d6e8,#1687ff);border-color:transparent}.login-dialog footer button:disabled{cursor:not-allowed;opacity:.68}.empty-stage{min-height:calc(100vh - 124px);display:grid;place-items:center;align-content:center;gap:12px;color:#808995}.empty-icon{width:160px;height:128px;display:block;opacity:.94}.history-workspace{position:fixed;inset:0 0 0 78px;z-index:25;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);overflow:hidden;color:#d8dee8;background:linear-gradient(180deg,#071019,#080b11 46%,#10121d)}.history-workspace-header{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 18px;border-bottom:1px solid #17202a}.history-top-tabs{display:flex;align-items:center;gap:28px}.history-top-tabs button{height:46px;color:#b8c1cf;background:transparent;border:0;border-bottom:3px solid transparent;font-size:18px;font-weight:900}.history-top-tabs button.active{color:#16d8ff;border-bottom-color:#16d8ff}.history-tools{min-width:0;display:flex;align-items:center;gap:18px}.history-filter-select,.history-close-button{height:34px;color:#d8dee8;background:transparent;border:0;font-weight:800}.history-filter-select{min-width:112px;outline:0}.history-close-button{width:34px;color:#93a0af;border:1px solid #273240;border-radius:7px;font-size:22px}.history-search{width:min(330px,28vw);height:36px;padding:0 12px;display:flex;align-items:center;gap:8px;color:#647184;background:#060a10;border:1px solid #273240;border-radius:7px}.history-search input{width:100%;min-width:0;color:#dce3ed;background:transparent;border:0;outline:0}.history-scene-tabs,.history-result-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:12px 18px 0}.history-scene-tabs::-webkit-scrollbar,.history-result-tabs::-webkit-scrollbar,.history-workspace-body::-webkit-scrollbar{height:6px;width:6px}.history-scene-tabs::-webkit-scrollbar-thumb,.history-result-tabs::-webkit-scrollbar-thumb,.history-workspace-body::-webkit-scrollbar-thumb{background:#303947;border-radius:999px}.history-scene-tabs button,.history-result-tabs button{height:30px;flex:0 0 auto;padding:0 18px;color:#b8c1cf;background:#080b10;border:0;border-radius:6px;font-weight:800}.history-scene-tabs button.active,.history-result-tabs button.active{color:#17d8ff;background:#063d4c}.history-result-tabs{padding-top:14px}.history-workspace-body{min-height:0;overflow:auto;padding:28px 18px 90px}.history-date-feed{display:grid;gap:34px;align-content:start}.history-date-group{display:grid;gap:14px}.history-date-group h2{margin:0;color:#f4f7fb;font-size:18px}.history-record-grid{display:flex;flex-wrap:wrap;gap:66px;align-items:flex-start}.history-record-tile{width:300px;padding:0;overflow:hidden;background:#0d1117;border:0}.history-record-tile:hover{outline:2px solid #16d8ff;outline-offset:3px}.history-thumb-grid{width:100%;aspect-ratio:1.48;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;overflow:hidden;background:#111720}.history-thumb-grid.single{display:block}.history-thumb-grid img{width:100%;height:100%;display:block;object-fit:cover}.history-thumb-empty,.history-empty-state{min-height:180px;display:grid;place-items:center;color:#8793a4;background:#0d1117}.history-empty-state{min-height:calc(100vh - 220px);align-content:center;gap:12px;background:transparent}.history-empty-state p{margin:0}.toast{position:fixed;top:24px;left:50%;transform:translate(-50%);padding:10px 16px;color:#fff;background:#20242a;border:1px solid #323944;border-radius:8px;z-index:30}@media(max-width:980px){.generator-shell{grid-template-columns:72px minmax(0,1fr)}.control-panel{min-height:100vh}.result-panel{grid-column:1 / -1;min-height:560px}.history-workspace-header{align-items:flex-start;flex-direction:column;padding:12px 18px}.history-tools,.history-search{width:100%}.history-record-grid{gap:22px}}@media(max-width:640px){.generator-shell{display:block}.side-rail{display:none}.control-panel,.result-panel{border-right:0}.upload-grid{grid-template-columns:1fr 1fr}.field-row{grid-template-columns:1fr}.history-workspace{left:0}.history-top-tabs{gap:14px}.history-top-tabs button{font-size:15px}.history-record-tile{width:min(300px,100%)}}
