:root{color-scheme:light;--bg:#f6f9fd;--panel:#ffffff;--panel-soft:#f8fbff;--ink:#071936;--muted:#5f6f88;--line:#dce6f2;--line-strong:#aac8f0;--accent:#126af3;--accent-dark:#0758d4;--accent-soft:#eef6ff;--blue:#126af3;--blue-deep:#0b3b85;--danger:#b42318;--success:#067647;--shadow:0 14px 38px rgba(21,46,86,0.07)}.managedApiNotice{padding:16px 18px;border:1px solid #b9d5ff;border-radius:12px;background:#eff6ff;color:#24548c;font-size:14px}.adminDropdown a{display:block;padding:9px 12px;color:#12325c;text-decoration:none;white-space:nowrap}.adminPage{min-height:100vh;padding:34px;background:#f4f8ff;color:#10284a}.adminHeader{max-width:1500px;margin:0 auto 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.adminHeader h1{margin:4px 0 8px;font-size:30px}.adminHeader p{margin:0;color:#61728d}.adminMessage{max-width:1500px;margin:0 auto 18px;padding:12px 16px;border:1px solid #a7d7b6;border-radius:10px;background:#edfff3;color:#18733a}.adminAccessError{max-width:620px;margin:12vh auto 0;padding:32px;border:1px solid #cfe0f8;border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(41,91,160,.12);text-align:center}.adminAccessError h1{margin:0 0 10px;font-size:26px}.adminAccessError p{margin:0 0 22px;color:#60738f}.adminAccessError div{display:flex;justify-content:center;gap:12px}.adminSummaryGrid{max-width:1500px;margin:0 auto 20px;display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px}.adminSummaryGrid article{padding:18px;border:1px solid #d2e1f4;border-radius:14px;background:white;box-shadow:0 8px 24px rgba(29,75,130,.06)}.adminSummaryGrid span{display:block;color:#6d7d94;font-size:13px}.adminSummaryGrid strong{display:block;margin-top:7px;font-size:25px}.adminLayout{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:300px minmax(0,1fr);grid-gap:18px;gap:18px;align-items:start}.adminCard,.adminSidebar{border:1px solid #d2e1f4;border-radius:15px;background:white;box-shadow:0 8px 24px rgba(29,75,130,.06)}.adminSidebar{position:-webkit-sticky;position:sticky;top:18px;overflow:hidden}.adminCreateForm{display:grid;grid-gap:10px;gap:10px;padding:18px;border-bottom:1px solid #e3edf9}.adminCard h2,.adminCreateForm h2,.adminUserList h2{margin:0;font-size:18px}.adminApiGrid label,.adminCreateForm label,.adminEditGrid label{display:grid;grid-gap:6px;gap:6px;color:#455b79;font-size:12px;font-weight:650}.adminApiGrid input,.adminApiGrid select,.adminCreateForm input,.adminEditGrid input{width:100%;box-sizing:border-box;border:1px solid #cddcf0;border-radius:9px;padding:10px 11px;background:#fbfdff;color:#10284a}.adminUserList{padding:18px 10px}.adminUserList h2{padding:0 8px 10px}.adminUserList button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 10px;border:0;border-radius:10px;background:transparent;color:#18385f;text-align:left;cursor:pointer}.adminUserList button.active{background:#eaf3ff;box-shadow:inset 3px 0 #1672ff}.adminUserList button small,.adminUserList button span{display:block}.adminUserList button small{margin-top:3px;color:#72829a}.adminUserList button em{color:#1769d2;font-style:normal;white-space:nowrap}.adminContent{display:grid;grid-gap:18px;gap:18px;min-width:0}.adminCard{padding:20px}.adminSectionHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.adminSectionHead h2 small{color:#708099;font-size:13px;font-weight:500}.adminSectionHead p{margin:6px 0 0;color:#75849a;font-size:13px}.userStatus{padding:5px 9px;border-radius:99px;background:#f2f4f7;color:#6f7a89;font-size:12px;white-space:nowrap}.userStatus.active{background:#e6f8ed;color:#168242}.userStatsGrid{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:10px;gap:10px;margin-bottom:16px}.userStatsGrid div{min-width:0;padding:12px;border-radius:10px;background:#f5f9ff}.userStatsGrid span,.userStatsGrid strong{display:block}.userStatsGrid span{color:#74839a;font-size:11px}.userStatsGrid strong{margin-top:5px;overflow:hidden;color:#183a67;font-size:14px;text-overflow:ellipsis}.adminEditGrid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px;margin-bottom:14px}.toggleLabel{display:flex!important;align-items:center;gap:8px;padding-top:22px}.toggleLabel input{width:auto}.adminApiGrid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;margin-bottom:16px}.adminImageGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.adminImageGrid article{overflow:hidden;border:1px solid #d8e4f4;border-radius:11px;background:#f8fbff}.adminImageGrid img{display:block;width:100%;height:170px;object-fit:cover;background:#edf3fa}.adminImageGrid article>div{display:grid;grid-gap:4px;gap:4px;padding:10px}.adminImageGrid small,.adminImageGrid span{overflow:hidden;color:#657894;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.adminImageGrid a{color:#0969e8;font-size:12px;text-decoration:none}.adminEmpty{padding:50px 20px;border:1px dashed #c7d9ee;border-radius:12px;color:#75859c;text-align:center}@media (max-width:1100px){.adminLayout{grid-template-columns:1fr}.adminSidebar{position:static}.userStatsGrid{grid-template-columns:repeat(3,1fr)}.adminApiGrid,.adminEditGrid{grid-template-columns:repeat(2,1fr)}.adminImageGrid{grid-template-columns:repeat(3,1fr)}}@media (max-width:700px){.adminPage{padding:16px}.adminSummaryGrid{grid-template-columns:repeat(2,1fr)}.adminApiGrid,.adminEditGrid{grid-template-columns:1fr}.adminImageGrid{grid-template-columns:repeat(2,1fr)}}.adminConsole{min-height:100vh;display:grid;grid-template-columns:200px minmax(0,1fr);background:#f4f7fb;color:#10233f}.adminRail{position:-webkit-sticky;position:sticky;top:0;z-index:4;display:flex;height:100vh;flex-direction:column;padding:24px 16px;border-right:1px solid #dbe5f0;background:#fff}.adminBrand{display:flex;align-items:center;gap:11px;margin:0 4px 32px;text-decoration:none}.adminBrand>span{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:linear-gradient(145deg,#2c82ff,#0d5fe5);color:#fff;font-size:12px;font-weight:800;box-shadow:0 9px 20px rgba(23,105,226,.24)}.adminBrand small,.adminBrand strong{display:block}.adminBrand strong{font-size:15px}.adminBrand small{margin-top:3px;color:#8090a7;font-size:11px}.adminRail nav{display:grid;grid-gap:6px;gap:6px}.adminRail nav button{padding:12px 14px;border:0;border-radius:10px;background:transparent;color:#50627b;text-align:left;font-weight:700}.adminRail nav button.active,.adminRail nav button:hover{background:#edf5ff;color:#0e66e8}.adminBack{margin-top:auto;padding:11px 14px;border:1px solid #d5e2f1;border-radius:10px;color:#37516f;font-size:13px;text-decoration:none;text-align:center}.adminWorkspace{min-width:0;padding:26px 30px 50px}.adminTopbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.adminTopbar p{margin:0 0 5px;color:#1471ef;font-size:11px;font-weight:800;letter-spacing:.08em}.adminTopbar h1{margin:0;font-size:27px}.adminTopActions{display:flex;align-items:center;gap:14px}.adminTopActions>span{color:#718198;font-size:13px}.adminMessage{position:relative;max-width:none;margin:0 0 18px;padding-right:42px}.adminMessage button{position:absolute;top:7px;right:10px;border:0;background:transparent;color:inherit;font-size:20px}.adminKpis{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:14px;gap:14px;margin-bottom:18px}.adminKpis article{min-height:128px;padding:20px;border:1px solid #d7e3f1;border-radius:15px;background:#fff;box-shadow:0 8px 26px rgba(22,52,90,.05)}.adminKpis small,.adminKpis span,.adminKpis strong{display:block}.adminKpis span{color:#657790;font-size:13px}.adminKpis strong{margin:8px 0 5px;color:#102c52;font-size:28px}.adminKpis small{color:#8a98aa;font-size:11px}.miniProgress,.resolutionBar,.storageBar{overflow:hidden;border-radius:999px;background:#eaf0f7}.miniProgress{height:6px;margin-top:14px}.miniProgress i,.storageBar i{display:block;height:100%;border-radius:inherit;background:#287cf3}.adminTableCard{overflow:hidden;border:1px solid #d6e2f0;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(25,51,85,.055)}.adminTableToolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid #e4ebf3}.adminTableToolbar h2{margin:0;font-size:18px}.adminTableToolbar p{margin:5px 0 0;color:#75869b;font-size:12px}.adminTableToolbar label{display:grid;grid-gap:5px;gap:5px;color:#687a91;font-size:11px}.adminTableToolbar input{width:235px;padding:9px 11px;border:1px solid #cedcea;border-radius:9px;color:#193757;outline:none}.adminTableToolbar input:focus{border-color:#3985ee;box-shadow:0 0 0 3px #eaf3ff}.adminTableScroll{overflow-x:auto}.adminUserTable{width:100%;min-width:1040px;border-collapse:collapse}.adminUserTable th{padding:12px 14px;background:#f8fafd;color:#75859a;font-size:11px;font-weight:700;text-align:left;white-space:nowrap}.adminUserTable td{padding:15px 14px;border-top:1px solid #ebf0f6;color:#38516e;font-size:12px;vertical-align:middle}.adminUserTable tbody tr{cursor:pointer;transition:background .15s ease}.adminUserTable tbody tr.selected,.adminUserTable tbody tr:hover{background:#f2f7ff}.adminUserTable tbody tr.selected{box-shadow:inset 3px 0 #2479ed}.userIdentity{display:flex;align-items:center;gap:10px}.drawerAvatar,.userIdentity>span{display:grid;flex:0 0 auto;width:34px;height:34px;place-items:center;border-radius:10px;background:#e8f2ff;color:#176bdd;font-size:11px;font-weight:800}.userIdentity small,.userIdentity strong{display:block}.userIdentity strong{color:#142d4d;font-size:13px}.userIdentity small{margin-top:3px;color:#8290a2;font-size:10px}.apiPill,.statusPill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:99px;background:#f0f2f5;color:#697789;font-size:10px;font-weight:700;white-space:nowrap}.apiPill.configured,.statusPill.active{background:#e7f8ee;color:#138046}.tableSub{display:block;margin-top:3px;color:#8996a8;font-size:10px}.resolutionNumbers{display:flex;gap:8px;margin-bottom:7px;color:#6c7e93;font-size:9px}.resolutionBar{display:flex;width:120px;height:5px}.resolutionBar i{height:100%}.resolutionBar i:first-child{background:#4b91f5}.resolutionBar i:nth-child(2){background:#7a68eb}.resolutionBar i:nth-child(3){background:#25ad91}.storageBar{width:105px;height:5px;margin-top:7px}.rowAction{padding:6px 10px;border:1px solid #bcd4f3;border-radius:7px;background:#fff;color:#1767d6;font-size:11px;font-weight:700}.adminDrawer{position:fixed;top:0;right:0;z-index:20;width:min(440px,100vw);height:100vh;overflow:auto;border-left:1px solid #d4e1ef;background:#fff;box-shadow:-20px 0 50px rgba(19,45,79,.14);animation:adminSlideIn .2s ease-out}.drawerHead{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #e2eaf3;background:rgba(255,255,255,.97)}.drawerAvatar{width:42px;height:42px;border-radius:12px}.drawerHead h2,.drawerHead p{margin:0}.drawerHead h2{font-size:17px}.drawerHead p{margin-top:4px;color:#8290a4;font-size:11px}.drawerHead>button{margin-left:auto;border:0;background:transparent;color:#66768b;font-size:25px}.drawerTabs{position:-webkit-sticky;position:sticky;top:83px;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);padding:0 16px;border-bottom:1px solid #e3eaf2;background:#fff}.drawerTabs button{padding:13px 5px 11px;border:0;border-bottom:2px solid transparent;background:transparent;color:#718198;font-size:12px}.drawerTabs button.active{border-color:#1f73e8;color:#1565d2;font-weight:800}.drawerBody{padding:18px 20px 32px}.drawerSection h3{margin:0 0 16px;font-size:16px}.adminCreateDialog label,.apiFields label,.drawerSection>label{display:grid;grid-gap:6px;gap:6px;margin-bottom:14px;color:#52667f;font-size:11px;font-weight:700}.adminCreateDialog input,.apiFields input,.drawerSection input{width:100%;padding:10px 11px;border:1px solid #cddbe9;border-radius:8px;background:#fbfdff;color:#173557;outline:none}.adminCreateDialog input:focus,.apiFields input:focus,.drawerSection input:focus{border-color:#3985ee;box-shadow:0 0 0 3px #eaf3ff}.switchRow{display:flex!important;align-items:center;justify-content:space-between;padding:13px;border:1px solid #dce6f1;border-radius:10px}.switchRow small,.switchRow strong{display:block}.switchRow small{margin-top:4px;color:#8996a8;font-weight:400}.switchRow input{width:auto}.drawerSection .primaryButton{width:100%;margin-top:5px}.quotaHero{margin-bottom:18px;padding:18px;border-radius:12px;background:#f2f7ff}.quotaHero span,.quotaHero strong{display:block}.quotaHero strong{font-size:25px}.quotaHero span{margin:5px 0 13px;color:#687b93;font-size:11px}.quotaHero .storageBar{width:100%;height:7px}.drawerHint{margin:-3px 0 14px;color:#78889d;font-size:11px;line-height:1.6}.drawerSectionTitle{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.drawerSectionTitle h3,.drawerSectionTitle p{margin:0}.drawerSectionTitle p{margin-top:5px;color:#7c8ca0;font-size:10px}.apiAccordions{display:grid;grid-gap:9px;gap:9px;margin-bottom:15px}.apiAccordions details{overflow:hidden;border:1px solid #d8e3ef;border-radius:10px;background:#fbfdff}.apiAccordions summary{display:flex;align-items:center;justify-content:space-between;padding:13px;cursor:pointer;color:#284867;font-size:12px;font-weight:750}.apiAccordions summary em{color:#77889b;font-size:10px;font-style:normal;font-weight:500}.apiFields{padding:4px 13px 2px;border-top:1px solid #e4ebf2}.apiFields label{margin:10px 0}.drawerImages{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;gap:10px}.drawerImages article{overflow:hidden;border:1px solid #dbe5ef;border-radius:9px;background:#f9fbfd}.drawerImages img{width:100%;height:115px;object-fit:cover;background:#edf2f7}.drawerImages article>div{display:grid;grid-gap:3px;gap:3px;padding:8px}.drawerImages strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.drawerImages small{color:#78889c;font-size:9px}.adminEmpty{padding:45px 15px}.adminModal{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:20px;background:rgba(12,29,51,.35);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.adminCreateDialog{width:min(460px,100%);padding:22px;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(10,34,67,.24)}.adminCreateDialog>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.adminCreateDialog h2{margin:0;font-size:19px}.adminCreateDialog>div:first-child button{border:0;background:transparent;color:#69798d;font-size:23px}.dialogActions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.adminLoading{padding:50px;color:#65768b}.primaryButton,.secondaryButton{border-radius:9px!important}.adminConsole:has(.adminDrawer) .adminWorkspace{margin-right:400px}.adminConsole:has(.adminDrawer) .adminUserTable{min-width:690px}.adminConsole:has(.adminDrawer) .adminTopActions>span{display:none}.adminDrawer{width:min(400px,100vw)}@keyframes adminSlideIn{0%{transform:translateX(24px);opacity:.6}to{transform:none;opacity:1}}@media (max-width:1000px){.adminConsole:has(.adminDrawer) .adminWorkspace{margin-right:0}.adminConsole{grid-template-columns:74px minmax(0,1fr)}.adminRail{padding:20px 10px}.adminBack,.adminBrand>div,.adminRail nav button{font-size:0}.adminBrand{margin-left:auto;margin-right:auto}.adminRail nav button{height:42px}.adminRail nav button:first-letter{font-size:12px}.adminKpis{grid-template-columns:1fr}.adminWorkspace{padding:22px 18px}}@media (max-width:640px){.adminConsole{display:block}.adminRail{position:static;width:100%;height:auto;flex-direction:row;align-items:center;padding:10px}.adminBrand{margin:0}.adminRail nav{display:none}.adminBack{margin:0 0 0 auto;padding:9px;font-size:11px}.adminWorkspace{padding:16px 10px 36px}.adminTopbar{align-items:flex-end}.adminTopActions>span{display:none}.adminTopbar h1{font-size:22px}.adminKpis{gap:9px}.adminKpis article{min-height:105px}.adminTableToolbar{align-items:stretch;flex-direction:column}.adminTableToolbar input{width:100%}}*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fbfdff 0,var(--bg) 100%);color:var(--ink);font-family:Arial,Microsoft YaHei,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}a{color:inherit}.appShell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.rail{position:-webkit-sticky;position:sticky;top:0;display:flex;height:100vh;flex-direction:column;overflow:auto;border-right:1px solid var(--line);background:rgba(255,255,255,.94);color:var(--ink);padding:28px 16px 20px}.brand{display:flex;gap:13px;align-items:center;margin-bottom:34px}.brandMark{display:grid;width:50px;height:50px;place-items:center;border-radius:8px;background:linear-gradient(135deg,#2f83ff,#0f65e8);color:#fff;font-size:12px;font-weight:900;letter-spacing:0;box-shadow:0 12px 24px rgba(18,106,243,.22)}.brand small,.brand strong{display:block}.brand strong{font-size:18px}.brand small{margin-top:6px;color:#536784;font-size:12px;font-weight:700}.railNav{display:grid;grid-gap:8px;gap:8px}.railFooter a,.railNav a{display:flex;min-height:48px;align-items:center;border-radius:8px;color:#233858;font-weight:800;padding:0 16px;text-decoration:none;transition:background .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}.railFooter a:before,.railNav a:before{content:"";width:18px;height:18px;margin-right:14px;border:2px solid;border-radius:4px;opacity:.95}.railFooter a:hover,.railNav a.active,.railNav a:hover{background:#eef6ff;transform:translateX(3px)}.railNav .libraryNavLink{display:grid;grid-template-columns:18px minmax(0,1fr);grid-column-gap:12px;column-gap:12px;grid-row-gap:2px;row-gap:2px;margin-top:8px;border:1px solid #efaa1d;background:linear-gradient(135deg,#ffe18a,#ffc95a);color:#102a4c}.railNav .libraryNavLink:before{grid-row:1/span 2;margin-right:0;border-color:#eea62b;background:rgba(255,255,255,.65)}.railNav .libraryNavLink small{color:#8a6416;font-size:10px;font-weight:800}.railNav .libraryNavLink.active,.railNav .libraryNavLink:hover{border-color:#df9500;background:linear-gradient(135deg,#ffdc79,#ffbf3f);color:#102a4c;box-shadow:0 10px 22px rgba(220,143,13,.2)}.railFooter{margin-top:auto;padding-top:24px}.workspace{min-width:0;padding:0 32px 32px}.viewHidden{display:none!important}.appTopbar{display:flex;justify-content:space-between;align-items:center;min-height:58px;margin:0 -32px 22px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.72);padding:0 32px}.currentView{display:inline-flex;align-items:center;gap:10px;color:#15345f;font-weight:900}.currentView:before{content:"";width:18px;height:18px;border:2px solid var(--accent);border-radius:5px}.accountTools{display:flex;align-items:center;gap:10px;color:#162a48;font-size:14px;font-weight:800}.adminChip,.guideLink{display:inline-flex;align-items:center;min-height:34px;gap:8px;border:1px solid transparent;border-radius:999px;padding:0 12px;text-decoration:none;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.guideLink{color:#1e3558}.adminChip,.guideLink:hover{border-color:#d6e5f8;background:#fff}.adminChip:hover,.guideLink:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(21,46,86,.08)}.guideLink:before{content:"?";width:17px;height:17px;place-items:center;border:2px solid}.adminAvatar,.guideLink:before{display:grid;border-radius:50%;font-size:11px}.adminAvatar{width:24px;height:24px;place-items:center;background:linear-gradient(135deg,#d9ebff,#eef6ff);color:var(--accent-dark);font-weight:900}.adminMenu{position:relative}.adminChip{cursor:pointer}.adminDropdown{position:absolute;z-index:60;top:calc(100% + 8px);right:0;min-width:132px;border:1px solid #d6e5f8;border-radius:8px;background:#fff;box-shadow:0 18px 40px rgba(15,35,75,.14);padding:6px}.adminDropdown button{width:100%;min-height:36px;border:0;border-radius:6px;background:#fff;color:#b42318;font-weight:900;text-align:left;padding:0 10px}.adminDropdown button:hover{background:#fff5f4}.adminChip:after{content:"";width:7px;height:7px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg) translateY(-2px);opacity:.75}.topbar{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin:0 auto 24px;max-width:1240px}.topbar h1{margin:8px 0 0;max-width:780px;font-size:30px;line-height:1.22;letter-spacing:0}.topbarLead{margin:12px 0 0;color:#475569;line-height:1.6}.topbarActions{display:flex;flex:0 0 auto;gap:12px;align-items:center}.eyebrow{margin:0;color:var(--accent-dark);font-size:12px;font-weight:900;letter-spacing:0;text-transform:uppercase}.countBadge,.status{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);padding:8px 12px;font-size:13px;font-weight:800;white-space:nowrap}.countBadge,.status.ready{border-color:#cfe3ff;background:var(--accent-soft);color:var(--accent-dark)}.guideButton,.miniUpload,.primaryButton,.secondaryButton,.uploadButton{display:inline-flex;justify-content:center;align-items:center;min-height:40px;border-radius:8px;font-weight:900;text-align:center;text-decoration:none}.guideButton{border:1px solid var(--line);background:#fff;color:var(--ink);padding:0 18px;box-shadow:0 8px 22px rgba(15,23,42,.05)}.primaryButton,.uploadButton{border:0;background:linear-gradient(180deg,#1f7cff,#0e63e6);color:#fff;padding:0 16px;box-shadow:0 10px 22px rgba(18,106,243,.22)}.dangerButton,.guideButton,.miniUpload,.primaryButton,.secondaryButton,.uploadButton{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,opacity .18s ease}.dangerButton{min-height:38px;border:1px solid #f4c7c3;border-radius:8px;background:#fff5f4;color:var(--danger);font-size:13px;font-weight:800;padding:0 12px}.primaryButton:hover,.uploadButton:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(18,106,243,.28)}.dangerButton:hover,.guideButton:hover,.miniUpload:hover,.secondaryButton:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(21,46,86,.1)}.sectionActions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.bulkUploadButton input,.miniUpload input,.uploadButton input{display:none}.bulkUploadButton{display:inline-flex;align-items:center;gap:10px;min-height:46px;border:1px solid #efaa1d;border-radius:10px;background:linear-gradient(135deg,#ffe18a,#ffc95a);color:#102a4c;padding:5px 14px 5px 6px;box-shadow:0 8px 18px rgba(219,148,8,.17);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.bulkUploadButton:hover{transform:translateY(-1px);box-shadow:0 11px 23px rgba(219,148,8,.24);filter:saturate(1.04) brightness(1.01)}.bulkUploadButton:focus-within{outline:3px solid rgba(239,170,29,.22);outline-offset:3px}.bulkUploadIcon{width:34px;height:34px;flex:0 0 34px;border-radius:9px;overflow:hidden}.bulkUploadIcon img{display:block;width:100%;height:100%;object-fit:cover}.bulkUploadText{display:grid;grid-gap:0;gap:0;text-align:left;line-height:1.2}.bulkUploadText strong{font-size:14px;font-weight:900}.bulkUploadText small{color:#8a6416;font-size:11px;font-weight:700}.productUploadCountBadge{display:inline-flex;align-items:center;min-height:46px;padding:0 14px}.generationBatchNameField{display:grid;grid-template-columns:auto minmax(220px,420px);grid-gap:12px;gap:12px;align-items:center;margin:-2px 0 16px;border:1px solid #dbe8f7;border-radius:9px;background:#f8fbff;padding:10px 12px;color:#274261;font-size:13px;font-weight:900}.generationBatchNameField span{display:grid;grid-gap:2px;gap:2px}.generationBatchNameField small{color:#74879f;font-size:11px;font-weight:700}.generationBatchNameField input{width:100%;min-height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none;padding:0 11px}.generationBatchNameField input:focus{border-color:#78b4ff;box-shadow:0 0 0 3px rgba(45,125,255,.12)}.workflow{display:grid;grid-template-columns:minmax(340px,1fr) minmax(420px,1.28fr) minmax(300px,.9fr);grid-template-areas:"step1 step2 step5" "model model model" "step3 step3 step3" "step4 step4 step4";grid-gap:16px;gap:16px;max-width:1240px;margin:0 auto;align-items:start}.stepPanel{min-width:0}.step1Panel{grid-area:step1}.step1Panel .sectionHead{align-items:center}.step2Panel{grid-area:step2}.step3Panel{grid-area:step3}.step4Panel{grid-area:step4}.step5Panel{grid-area:step5}.step1Panel,.step2Panel,.step5Panel{position:static;max-height:none;overflow:visible}.step1Panel:hover,.step2Panel:hover,.step5Panel:hover{transform:none}.panel{border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.96);padding:22px;animation:panelIn .36s ease both;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.panel:hover{border-color:#c8def8;box-shadow:0 18px 48px rgba(21,46,86,.11);transform:translateY(-2px)}.step1Panel{animation-delay:.02s}.step2Panel{animation-delay:.06s}.step5Panel{animation-delay:.1s}.step3Panel{animation-delay:.14s}.resultPanel,.step4Panel{animation-delay:.18s}.settingsPanel{display:grid;align-content:start;grid-gap:16px;gap:16px}.sectionHead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:18px}.sectionHead h2{margin:6px 0 0;font-size:21px;line-height:1.25}.referenceGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(124px,1fr));grid-gap:12px;gap:12px}.step1Panel .referenceGrid{display:block}.outputGrid figure,.referenceGrid figure{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.outputGrid figure:hover,.referenceGrid figure:hover{border-color:#c8def8;box-shadow:0 12px 28px rgba(21,46,86,.1);transform:translateY(-2px)}.outputGrid img,.referenceGrid img{width:100%;aspect-ratio:1;object-fit:cover}figcaption{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 10px;color:var(--muted);font-size:12px}figcaption span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}figcaption a{flex:0 0 auto;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--accent-dark);padding:4px 7px;font-size:12px;font-weight:800;text-decoration:none}figcaption small{flex:0 0 auto;max-width:180px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outputGrid figcaption{align-items:flex-start;flex-direction:column}.outputGrid figcaption>span{max-width:100%}.emptyResult,.emptyUpload{display:grid;min-height:290px;place-items:center;align-content:center;border:1px dashed #a9cdfb;border-radius:8px;color:var(--muted);line-height:1.6;padding:18px;text-align:center}.step1Panel .emptyUpload{width:100%;min-height:326px;border-color:#9cc8ff;border-width:1.5px;background:linear-gradient(180deg,#ffffff,#fbfdff);cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease}.step1Panel .emptyUpload input{display:none}.step1Panel .emptyUpload:hover{border-color:var(--accent);background:linear-gradient(180deg,#ffffff,#f3f8ff);box-shadow:inset 0 0 0 1px rgba(18,106,243,.08),0 16px 32px rgba(18,106,243,.08);transform:translateY(-2px)}.step1Panel .emptyUploadIcon{width:68px;height:58px;margin-bottom:14px}.step1Panel .emptyUploadIcon svg{width:62px;height:62px;stroke-width:3.8}.step1Panel .emptyUpload strong{max-width:220px;margin:0 auto 2px;font-size:15px;line-height:1.5}.step1Panel .emptyUpload span:not(.emptyUploadIcon){color:#65758f;font-size:13px}.emptyResult strong,.emptyUpload strong{color:var(--ink);font-size:15px}.emptyResultIcon,.emptyUploadIcon{display:grid;width:54px;height:54px;place-items:center;margin-bottom:12px;border:0;border-radius:16px;color:var(--accent);background:transparent}.emptyResultIcon svg,.emptyUploadIcon svg{width:54px;height:54px;overflow:visible;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3.6;transition:transform .2s ease}.emptyUpload:hover .emptyUploadIcon svg,.templateEmpty:hover .emptyResultIcon svg{transform:translateY(-3px)}.templateEmpty{min-height:136px;border-color:var(--line)}.templateEmpty .emptyResultIcon{width:48px;height:48px;border-radius:14px;background:#eaf3ff;color:#7cb4ff}.templateEmpty .emptyResultIcon svg{width:34px;height:34px;stroke-width:3.4}.field{display:grid;grid-gap:8px;gap:8px;color:#27364a;font-size:13px;font-weight:900}.fieldGrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.fieldGrid .field{grid-template-rows:auto 40px minmax(17px,auto);align-items:start}.fieldHint{color:var(--muted);font-size:12px;font-weight:700;line-height:1.4}.field input,.nameInput,.productNoteInput,.templateHead input,select,textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none}textarea{resize:vertical;padding:12px;line-height:1.65}.field input,.nameInput,.templateHead input,select{height:40px;padding:0 10px}.productNoteInput{min-height:72px;padding:9px 10px;resize:vertical;font-size:12px;line-height:1.45}.productQuantityField{display:grid;grid-template-columns:1fr 64px;grid-gap:5px 8px;gap:5px 8px;align-items:center;color:#27364a;font-size:12px;font-weight:900}.productQuantityField input{width:100%;height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:0 8px;outline:none}.productQuantityField small{grid-column:1/-1;color:var(--muted);font-size:11px;font-weight:700}.field input:focus,.nameInput:focus,.productNoteInput:focus,.productQuantityField input:focus,.templateHead input:focus,select:focus,textarea:focus{border-color:#7cb4ff;box-shadow:0 0 0 3px rgba(18,106,243,.12)}.apiSplitGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.apiCard,.apiSplitGrid{display:grid;grid-gap:12px;gap:12px}.apiCard{border:1px solid var(--line);border-radius:8px;background:linear-gradient(180deg,#ffffff,#fbfcff);padding:12px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.apiCard:hover,.productSlot:hover,.segmented label:hover,.templateCard:hover{border-color:#c8def8;box-shadow:0 10px 24px rgba(21,46,86,.08);transform:translateY(-1px)}.apiCardHead{display:flex;justify-content:space-between;gap:10px;align-items:center}.apiCardHead h3{margin:4px 0 0;font-size:16px}.apiCardActions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.secondaryButton{border:1px solid #cfe3ff;background:#fff;color:var(--accent-dark);padding:0 12px}.primaryButton{min-height:46px;width:100%}.sectionActions .primaryButton,.sectionHead .primaryButton{width:auto}.dangerButton:disabled,.primaryButton:disabled,.secondaryButton:disabled{cursor:not-allowed;opacity:.48}.testMessage{margin:12px 0 0;border-radius:8px;padding:10px;font-size:13px;font-weight:800}.testMessage.ok{background:#ecfdf3;color:var(--success)}.testMessage.fail{background:#fff1f0;color:var(--danger)}.templateList{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:14px;gap:14px}.templateCard{display:grid;grid-gap:12px;gap:12px;align-content:start;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);padding:14px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}.templateCard.enabled{border-color:#cfe3ff;background:#fbfdff}.templateHead{display:flex;justify-content:space-between;gap:12px;align-items:center}.templateHead>div{flex:1 1 auto}.templateHead input{margin-top:6px}.switchLine{display:inline-flex;flex:0 0 auto;gap:8px;align-items:center;font-weight:900}.switchLine,.templateWarning{color:var(--accent-dark);font-size:13px}.templateWarning{margin:0;border:1px solid #cfe3ff;border-radius:8px;background:var(--accent-soft);padding:9px 10px;font-weight:800}.productGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));grid-gap:12px;gap:12px}.productSlot{display:grid;grid-gap:8px;gap:8px;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);padding:10px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}.productSlot.filled{border-color:#cfe3ff;background:#fbfdff}.productReferenceGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.productReference{display:grid;min-width:0;grid-gap:4px;gap:4px}.productReferenceImage{position:relative;display:grid;width:100%;aspect-ratio:1;place-items:center;overflow:hidden;border:1px dashed var(--line-strong);border-radius:8px;background:#fff;color:#98a2b3;font-size:18px;font-weight:900}.productReferenceImage:hover{border-color:#5b9cff;background:#f4f8ff}.productReferenceUpload{display:grid;width:100%;height:100%;place-items:center;cursor:pointer}.productReferenceUpload input{display:none}.productReferenceImage img{width:100%;height:100%;object-fit:cover}.productReferenceRemove{position:absolute;top:3px;right:3px;display:grid;width:22px;height:22px;place-items:center;border:1px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(16,42,79,.84);color:#fff;cursor:pointer;font-size:16px;line-height:1}.productReferenceRemove:hover{background:#d92d20}.productReferenceRemove:disabled{cursor:wait;opacity:.55}.productReferenceLabel{overflow:hidden;color:var(--muted);font-size:11px;font-weight:800;text-align:center;text-overflow:ellipsis;white-space:nowrap}.previewCaption{display:flex;justify-content:space-between;gap:10px;align-items:center}.previewCaption .dangerButton{min-height:30px;padding:0 10px}.miniUpload{min-height:36px;border:0;background:#15345f;color:#fff;font-size:13px;padding:0 10px}.miniUpload:has(input:disabled){cursor:default;background:#8b9ab0}.segmented{display:grid;grid-gap:8px;gap:8px}.segmented label{display:block;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:12px;text-align:left;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}.segmented label.selected{border-color:#cfe3ff;background:var(--accent-soft)}.segmented input{position:absolute;opacity:0;pointer-events:none}.segmented span,.segmented strong{display:block}.modelLibraryPanel{margin-top:14px;padding:18px;border:1px solid #cfe0fb;border-radius:16px;background:linear-gradient(145deg,#f8fbff,#fff)}.modelLibraryLauncher{display:flex;width:100%;min-width:0;flex-direction:column;align-items:stretch;gap:10px;margin-top:12px;padding:12px;overflow:hidden;border:1px solid #cfe0fb;border-radius:14px;background:linear-gradient(135deg,#f5f9ff,#fff);box-sizing:border-box}.modelLibraryWidePanel{grid-area:model;padding:0;overflow:hidden;border-color:#c9dcfb;background:linear-gradient(120deg,#eff6ff,#fff 58%,#f8fbff)}.modelCenterInline{border-top:1px solid #d7e5f8;background:rgba(255,255,255,.88)}.modelCenterInline .modelCenterHeader{padding:18px 22px 14px}.modelCenterInline .modelCenterLayout{min-height:520px;max-height:none}.modelCenterInline .modelLibraryArea{max-height:650px;overflow:auto}.modelCenterInline .modelCenterFooter{position:-webkit-sticky;position:sticky;bottom:0;z-index:2}.wideModelLauncherContent{display:grid;min-height:116px;grid-template-columns:minmax(360px,1fr) minmax(390px,520px) auto;align-items:center;grid-gap:20px;gap:20px;padding:20px 24px}.wideModelIntro{display:flex;min-width:0;align-items:center;gap:16px}.wideModelIcon{display:grid;width:58px;height:58px;flex:0 0 58px;place-items:center;border-radius:18px;background:linear-gradient(135deg,#1478ff,#65a4ff);color:#fff;font-size:18px;font-weight:900;box-shadow:0 10px 26px rgba(22,119,255,.22)}.wideModelIntro h2{margin:2px 0 5px}.wideModelIntro p:last-child{margin:0;color:#66758f;font-size:13px;line-height:1.5}.wideSelectedModel{display:flex;min-width:0;align-items:center;gap:12px;padding:10px 12px;border:1px solid #d9e5f6;border-radius:14px;background:rgba(255,255,255,.86)}.wideSelectedModel.multiple{align-items:flex-start}.wideSelectedModel .modelAutoAvatar,.wideSelectedModel img{width:54px;height:54px;flex:0 0 54px;margin:0;border-radius:12px;object-fit:cover}.wideSelectedModel .selectedModelCopy{display:flex;min-width:0;flex:1 1;flex-direction:column;gap:2px}.wideSelectedModel small,.wideSelectedModel span{overflow:hidden;color:#718098;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.wideSelectedModel strong{overflow:hidden;color:#132c52;text-overflow:ellipsis;white-space:nowrap}.wideSelectedModel.multiple .selectedModelCopy span{line-height:1.35;text-overflow:clip;white-space:normal}.selectedModelStack{display:flex!important;min-width:178px!important;flex:0 0 auto;flex-flow:row wrap!important;align-items:center;gap:4px!important;overflow:visible!important}.selectedModelAvatar{display:block;position:relative;flex:0 0 50px;width:50px;height:50px;overflow:visible!important}.selectedModelAvatar img{width:50px!important;height:50px!important;margin:0!important;border:2px solid #fff;border-radius:12px;box-shadow:0 2px 8px rgba(31,76,130,.16);object-fit:cover}.selectedModelAvatar b{display:grid;position:absolute;top:-5px;right:-4px;width:19px;height:19px;place-items:center;border:2px solid #fff;border-radius:50%;background:#1677ff;color:#fff;font-size:10px;line-height:1;box-shadow:0 2px 6px rgba(22,119,255,.3)}.wideModelButton{width:auto;min-width:150px;padding:12px 18px}.selectedModelSummary{display:flex;align-items:center;gap:12px;min-width:0}.selectedModelSummary .modelAutoAvatar,.selectedModelSummary img{width:48px;height:48px;flex:0 0 48px;margin:0;border-radius:12px;object-fit:cover}.selectedModelSummary div{display:flex;min-width:0;max-width:100%;flex:1 1;flex-direction:column;gap:3px;overflow:hidden}.selectedModelSummary span,.selectedModelSummary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selectedModelSummary span{color:#6b7890;font-size:12px}.modelCenterButton{width:100%;min-width:0;padding:10px 12px;border:1px solid #1677ff;border-radius:10px;background:#1677ff;color:white;font-size:13px;font-weight:700;white-space:normal;cursor:pointer;box-shadow:0 8px 20px rgba(22,119,255,.2);box-sizing:border-box}.modelCenterOverlay{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:24px;background:rgba(7,25,55,.52);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modelCenterDialog{display:flex;width:min(1180px,96vw);height:min(780px,92vh);flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.65);border-radius:22px;background:#fff;box-shadow:0 28px 80px rgba(4,24,60,.3)}.modelCenterHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 26px 18px;border-bottom:1px solid #e1eaf7;background:linear-gradient(135deg,#f3f8ff,#fff)}.modelCenterHeader h2{margin:2px 0 4px}.modelCenterHeader p{margin:0;color:#66758f}.modelCenterClose{display:grid;width:38px;height:38px;place-items:center;border:1px solid #d3e0f3;border-radius:50%;background:white;color:#355173;font-size:26px;line-height:1;cursor:pointer}.modelCenterLayout{display:grid;min-height:0;flex:1 1;grid-template-columns:minmax(0,1fr) 330px}.modelLibraryArea{min-width:0;overflow-y:auto;padding:20px 24px;background:#f8fbff}.modelLibraryTabs{display:inline-flex;gap:6px;margin-bottom:14px;padding:4px;border:1px solid #cfe0f7;border-radius:12px;background:#edf4ff}.modelLibraryTabs button{padding:9px 16px;border:0;border-radius:9px;background:transparent;color:#527093;font-weight:700;cursor:pointer}.modelLibraryTabs button.active{background:#1677ff;color:#fff;box-shadow:0 5px 14px rgba(22,119,255,.24)}.modelAreaToolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.petLibraryIntro{display:flex;min-width:220px;flex-direction:column;gap:3px;color:#183b68}.petLibraryIntro span{color:#718098;font-size:12px}.modelAreaToolbar .modelFilters{margin:0}.multiModelToggle{display:flex;min-height:42px;align-items:center;gap:7px;padding:7px 10px;border:1px solid #cfe0f7;border-radius:10px;background:#f7fbff;color:#163a69;cursor:pointer;white-space:nowrap}.multiModelToggle input{width:16px;height:16px;accent-color:#1677ff}.multiModelToggle span{font-size:12px;font-weight:700}.multiModelToggle small{color:#718098;font-size:10px}.modelCreatorArea{overflow-y:auto;padding:22px;border-left:1px solid #e1eaf7;background:white}.modelCreatorArea h3{margin:3px 0 4px}.modelCreatorArea>div>p:last-child{margin:0;color:#6b7890;font-size:13px}.modelCreatorArea .modelCreatorGrid{grid-template-columns:1fr 1fr}.modelCreatorArea .modelCreatorGrid .field:first-child,.modelCreatorArea .modelNotes{grid-column:span 2}.modelCreatorTip{margin:14px 0;padding:10px 12px;border-radius:10px;background:#f4f7fb;color:#66758f;font-size:12px;line-height:1.5}.modelCreatorArea .primaryButton{width:100%}.modelReferenceModes{display:grid;grid-gap:8px;gap:8px;margin:16px 0}.modelReferenceModes label{display:grid;position:relative;grid-gap:3px;gap:3px;padding:11px 12px 11px 38px;border:1px solid #d8e4f4;border-radius:11px;background:#fbfdff;cursor:pointer}.modelReferenceModes label.selected{border-color:#2b7cff;background:#eef5ff;box-shadow:0 0 0 2px rgba(43,124,255,.09)}.modelReferenceModes input{position:absolute;top:14px;left:13px}.modelReferenceModes strong{color:#17385f;font-size:13px}.modelReferenceModes span{color:#718198;font-size:11px;line-height:1.45}.modelReferenceUpload{display:grid;min-height:150px;place-items:center;overflow:hidden;margin-bottom:12px;border:1px dashed #8ab8f7;border-radius:12px;background:#f5f9ff;color:#2e5f99;text-align:center;cursor:pointer}.modelReferenceUpload input{position:absolute;width:1px;height:1px;opacity:0}.modelReferenceUpload img{width:100%;height:190px;object-fit:contain;background:#eef4fb}.modelReferenceUpload small{color:#8492a6}.petCreatorArea{background:linear-gradient(180deg,#fff,#fffaf4)}.petReferenceUpload{margin-top:16px;border-color:#efb868;background:#fffaf1}.modelAuthorization{display:flex;align-items:flex-start;gap:9px;margin-bottom:13px;padding:11px;border:1px solid #f1c878;border-radius:10px;background:#fff9e9;color:#76520f;font-size:11px;line-height:1.55}.modelAuthorization input{flex:0 0 auto;margin-top:2px}.modelCenterFooter{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:14px 24px;border-top:1px solid #e1eaf7;background:white}.modelCenterFooter span{color:#526680;font-size:13px}.modelCenterFooter .primaryButton{width:auto;min-width:130px}.modelCreatorFooter,.modelLibraryHead{display:flex;align-items:center;justify-content:space-between;gap:16px}.modelLibraryHead h3{margin:2px 0 4px}.modelCreatorFooter p,.modelLibraryHead p{margin:0;color:#66758f;font-size:13px}.modelCreatorGrid,.modelFilters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:14px}.modelFilters{grid-template-columns:repeat(2,minmax(0,220px))}.modelCardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:12px;gap:12px;margin-top:14px}.modelCard{min-width:0;overflow:hidden;border:1px solid #d8e4f7;border-radius:14px;background:#fff;color:#102a52;text-align:left}button.modelCard{display:flex;flex-direction:column;justify-content:center;min-height:220px;padding:16px;cursor:pointer}.modelCard.selected{border-color:#1677ff;box-shadow:0 0 0 3px rgba(22,119,255,.12);background:#f4f8ff}.modelSelectButton{display:flex;width:100%;flex-direction:column;gap:6px;padding:0 0 10px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;position:relative}.modelSelectionBadge{position:absolute;top:8px;right:8px;z-index:2;display:none;width:26px;height:26px;place-items:center;border:2px solid #fff;border-radius:50%;background:#1677ff;color:#fff;box-shadow:0 2px 8px rgba(0,80,180,.28);font-size:12px;font-weight:800}.modelCard.selected .modelSelectionBadge:not(:empty){display:grid}.modelSelectButton img{width:100%;aspect-ratio:3/4;object-fit:cover;background:#edf3fb}.modelSelectButton small,.modelSelectButton strong{padding:0 10px}.modelCard small{color:#6b7890;line-height:1.4}.modelAutoAvatar{display:grid;width:58px;height:58px;place-items:center;margin-bottom:14px;border-radius:50%;background:#e8f1ff;color:#1268de;font-weight:800}.modelDraftActions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 10px 10px;border-top:1px solid #edf1f7;font-size:11px;color:#93600b}.modelDraftActions button{border:1px solid #b8d2f8;border-radius:7px;background:white;color:#075fcc;cursor:pointer}.modelCreator{margin-top:16px;border-top:1px solid #dce7f7;padding-top:14px}.modelCreator summary{cursor:pointer;color:#075fcc;font-weight:700}.modelNotes{grid-column:span 3}.modelCreatorFooter{margin-top:12px}.modelCreatorFooter .primaryButton{width:auto;min-width:180px}.modelLibraryMessage{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#eef7ff;color:#174f91;font-size:13px}@media (max-width:900px){.modelCenterLayout{grid-template-columns:1fr;overflow-y:auto}.modelCreatorArea,.modelLibraryArea{overflow:visible}.modelCreatorArea{border-top:1px solid #e1eaf7;border-left:0}}@media (max-width:1050px){.wideModelLauncherContent{grid-template-columns:minmax(0,1fr) auto}.wideSelectedModel{grid-column:1/-1;grid-row:2}}@media (max-width:760px){.modelCreatorGrid{grid-template-columns:1fr}.modelCreatorArea .modelCreatorGrid .field:first-child,.modelCreatorArea .modelNotes,.modelNotes{grid-column:auto}.modelCreatorFooter,.modelLibraryHead{align-items:stretch;flex-direction:column}.modelCenterOverlay{padding:8px}.modelCenterDialog{width:100%;height:96vh}.modelLibraryLauncher{align-items:stretch;flex-direction:column}.wideModelLauncherContent{grid-template-columns:1fr;gap:14px;padding:18px}.wideSelectedModel{grid-column:auto;grid-row:auto}.wideModelButton{width:100%}}.segmented span{margin-top:4px;color:var(--muted);font-size:12px}.autoWorkflowBox{display:grid;grid-gap:10px;gap:10px;border:1px solid #cfe3ff;border-radius:8px;background:var(--accent-soft);color:var(--accent-dark);padding:12px}.autoWorkflowBox>span{color:#15345f;font-size:13px;font-weight:800;line-height:1.5}.autoWorkflowBox .secondaryButton{justify-self:start}.latestWorkflow{display:grid;grid-gap:12px;gap:12px;padding:14px;border:1px solid #cfe0f7;border-radius:12px;background:linear-gradient(135deg,#f7fbff,#eef6ff)}.latestWorkflowHead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#123b70}.latestWorkflowHead span{color:#64809f;font-size:12px}.latestWorkflow ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0;padding:0;list-style:none}.latestWorkflow li{display:flex;align-items:center;gap:8px;min-width:0;padding:9px;border-radius:9px;background:#fff;color:#234668;font-size:12px;font-weight:700}.latestWorkflow li b{display:grid;flex:0 0 24px;width:24px;height:24px;place-items:center;border-radius:50%;background:#2678ee;color:#fff}.safeCloseBanner{display:flex;flex-basis:100%;align-items:center;gap:12px;margin-top:10px;padding:14px 16px;border:2px solid #b9cee7;border-radius:12px;background:#f4f8fc;color:#34546f}.safeCloseIcon{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;border-radius:50%;background:#dce9f7;font-size:22px;font-weight:950}.safeCloseCopy{display:grid;grid-gap:3px;gap:3px}.safeCloseCopy strong{font-size:15px;line-height:1.35}.safeCloseCopy small{font-size:12px;line-height:1.5}.safeCloseBanner.working{border-color:#f59e0b;background:#fff7e6;color:#8a4b00;box-shadow:0 0 0 4px rgba(245,158,11,.1)}.safeCloseBanner.working .safeCloseIcon{background:#f59e0b;color:#fff}.safeCloseBanner.safe{border-color:#22a95b;background:#eafaf0;color:#116b38;box-shadow:0 0 0 5px rgba(34,169,91,.13)}.safeCloseBanner.safe .safeCloseIcon{background:#22a95b;color:#fff}.safeCloseBanner.error{border-color:#e4483f;background:#fff0ef;color:#9d201b;box-shadow:0 0 0 4px rgba(228,72,63,.1)}.safeCloseBanner.error .safeCloseIcon{background:#e4483f;color:#fff}@media (max-width:560px){.latestWorkflowHead{align-items:flex-start;flex-direction:column}.latestWorkflow ol{grid-template-columns:1fr}}.error{margin:0;color:var(--danger);font-size:13px;font-weight:900}.progressPanel,.resultPanel{max-width:1240px;margin:16px auto 0}.progressActions{display:flex;gap:10px;align-items:center}.progressBar{height:10px;overflow:hidden;border-radius:999px;background:#e2e8f0}.progressBar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3f91ff,#126af3);transition:width .2s ease}@keyframes panelIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.adminCustomModels{margin:18px 0 22px;padding:18px;border:1px solid #d9e5f7;border-radius:14px;background:#f7faff}.adminCustomModels h3{margin:0 0 4px;color:#122b54}.adminCustomModels p{margin:0 0 16px;color:#5a6e8e;font-size:13px;line-height:1.5}.adminCustomModelGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.adminCustomModelGroup{min-width:0}.adminCustomModelGroup>label{display:block;margin-bottom:7px;font-weight:700;color:#193761}.adminCustomModelInput{display:flex;gap:8px}.adminCustomModelInput input{flex:1 1;min-width:0;padding:10px 12px;border:1px solid #ccd9ed;border-radius:9px;background:#fff}.adminCustomModelInput button{flex:none}.adminCustomModelList{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:36px;margin-top:8px}.adminCustomModelList small{color:#71809a}.adminCustomModelChip{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:4px 6px 4px 10px;border:1px solid #cbdcfa;border-radius:999px;background:#fff;color:#1b4ca0;font-size:12px;overflow-wrap:anywhere}.adminCustomModelChip button{border:0;border-radius:50%;background:#eaf1ff;color:#1b4ca0;cursor:pointer;font-size:16px;line-height:20px;width:20px;height:20px}.adminCustomModelChip button:hover{background:#dce9ff}@media (max-width:760px){.adminCustomModelGrid{grid-template-columns:1fr}}.jobSummary,.progressGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:14px}.jobSummary span,.progressGrid div{border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);padding:12px}.progressGrid span{display:block;color:var(--muted);font-size:12px}.progressGrid strong{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resultList{display:grid;grid-gap:16px;gap:16px}.downloadNotice{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #cfe3ff;border-radius:8px;background:var(--accent-soft);padding:12px 14px}.downloadNotice .secondaryButton{flex:0 0 auto}.inlineActions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.inlineActions .dangerButton,.inlineActions .secondaryButton{min-height:32px;padding:0 10px}.resultGroup{border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);padding:14px}.resultGroupHead{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.outputGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));grid-gap:12px;gap:12px}.productLibraryPanel{scroll-margin-top:18px;width:100%;max-width:1240px;margin:0 auto}.productLibraryMainPanel .sectionHead{margin-bottom:0}.libraryDescription{margin:6px 0 0;color:var(--muted);font-size:13px}.libraryCapacity{margin:16px 0 22px;padding:14px 16px;border:1px solid #dce8f7;border-radius:12px;background:#f7faff}.libraryCapacityText{display:flex;justify-content:space-between;gap:16px;margin-bottom:9px;color:#49617f;font-size:13px}.libraryCapacityText strong{color:var(--ink)}.libraryCapacityBar{height:9px;overflow:hidden;border-radius:999px;background:#dce8f7}.libraryCapacityBar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2d7dff,#55b5ff);transition:width .18s ease}.libraryToolbar{display:grid;grid-template-columns:minmax(240px,1fr) 190px auto;grid-gap:12px;gap:12px;align-items:end;margin-bottom:12px}.libraryToolbar.hasOwnerFilter{grid-template-columns:190px minmax(240px,1fr) 190px auto}.libraryFilter,.librarySearch{display:grid;grid-gap:6px;gap:6px;color:#425a78;font-size:12px;font-weight:800}.libraryFilter select,.librarySearch input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none;padding:0 12px}.libraryFilter select:focus,.librarySearch input:focus{border-color:#78b4ff;box-shadow:0 0 0 3px rgba(45,125,255,.12)}.libraryBulkButton{min-width:190px}.librarySummaryLine{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:14px;color:#61748f;font-size:12px;font-weight:800}.librarySummaryLine strong{color:#14805e}.libraryError{margin-bottom:12px}.libraryDownloadReport{margin:0 0 14px;padding:12px 14px;border:1px solid #bed5ff;border-radius:10px;background:#f2f7ff;color:#24528f;font-size:13px;line-height:1.5}.libraryDownloadReport.hasFailures,.libraryDownloadReport.isRunning{border-color:#f2d5a3;background:#fffaf0;color:#80530e}.libraryDownloadReportHead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.libraryDownloadReportHead strong{font-size:14px}.libraryDownloadStatus{padding:8px 12px;border:1px solid #f2d5a3;border-radius:7px;background:#fff;font-size:13px;font-weight:700}.libraryDownloadCurrent{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.3fr);grid-gap:12px;gap:12px;align-items:center;margin-top:12px;padding:9px 11px;border:1px solid #f2dfbd;border-radius:8px;background:#fff;overflow-wrap:anywhere}.libraryDownloadCurrent>span:first-child{display:grid;grid-gap:2px;gap:2px}.libraryDownloadCurrent small{color:#7b6b50;font-size:12px}.libraryDownloadMeter{height:6px;overflow:hidden;margin-top:12px;border-radius:6px;background:#f5e6c9}.libraryDownloadMeter span{display:block;height:100%;border-radius:inherit;background:#c78111}.libraryDownloadFailures{display:grid;grid-gap:8px;gap:8px;max-height:260px;overflow-y:auto;margin:12px 0 0;padding:0;list-style:none}.libraryDownloadFailures li{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.3fr);grid-gap:12px;gap:12px;align-items:center;padding:9px 11px;border:1px solid #f2dfbd;border-radius:8px;background:#fff;overflow-wrap:anywhere}.libraryDownloadFailures li>span:first-child{display:grid;grid-gap:2px;gap:2px}.libraryDownloadFailures small,.libraryDownloadHint{color:#7b6b50;font-size:12px}.libraryDownloadHint{display:block;margin-top:10px}@media (max-width:700px){.libraryDownloadCurrent,.libraryDownloadFailures li{grid-template-columns:1fr;gap:4px}}.libraryBatchList{display:grid;grid-gap:12px;gap:12px}.libraryPagination{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;grid-gap:16px;gap:16px;margin-top:20px;padding:16px 18px;border:1px solid #d9e2ec;border-radius:14px;background:#f8fbff}.libraryPaginationMeta{display:grid;grid-gap:3px;gap:3px}.libraryPaginationHint{color:#5f7188;font-size:13px;line-height:1.4}.libraryJumpForm,.libraryPaginationControls{display:flex;align-items:center;gap:5px}.libraryPaginationControls{padding:4px;border:1px solid #d9e2ec;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(16,35,63,.04)}.libraryPageButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-radius:8px;background:transparent;color:#254568;font:inherit;font-size:14px;font-weight:700;padding:0 9px;white-space:nowrap;cursor:pointer}.libraryPageButton:hover:not(:disabled){background:#eaf2ff;color:#0b56c9}.libraryPageButton:disabled{color:#8998aa;cursor:not-allowed}.libraryPageArrow{display:inline-grid;width:28px;height:28px;place-items:center;border-radius:8px;background:#eef5ff;color:#176cf2}.libraryPageArrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.libraryPageButton:disabled .libraryPageArrow{background:#f1f4f8;color:#8998aa}.libraryPageIndicator{display:inline-flex;align-items:center;gap:8px;padding:0 9px;color:#5f7188;font-size:14px;white-space:nowrap}.libraryPageIndicator strong{display:inline-grid;min-width:44px;min-height:44px;place-items:center;border-radius:8px;background:#176cf2;color:#fff;font-size:15px;box-shadow:0 3px 9px rgba(23,108,242,.18)}.libraryJumpForm{justify-self:end;color:#526a88;font-size:14px;white-space:nowrap}.libraryJumpForm label{font-weight:700}.libraryJumpForm input{width:58px;min-height:44px;border:1px solid #c9d8eb;border-radius:8px;background:#fff;color:#10233f;font:inherit;font-weight:700;text-align:center}.libraryJumpForm input[aria-invalid=true]{border-color:#b42318}.libraryJumpForm button{min-height:44px;margin-left:4px;padding:0 16px;border:1px solid #176cf2;border-radius:8px;background:#176cf2;color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer}.libraryJumpForm button:hover:not(:disabled){background:#0b56c9}.libraryJumpForm button:disabled{opacity:.55;cursor:not-allowed}.libraryPageError{grid-column:1/-1;margin:0;color:#b42318;font-size:13px;text-align:right}.libraryPreviewPage{min-height:100vh;padding:32px 20px 64px;background:#f3f6fa}.libraryPreviewHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;max-width:1240px;margin:0 auto 20px}.libraryPreviewHeader h1{margin:5px 0 6px;color:#10233f;font-size:clamp(22px,3vw,30px)}.libraryPreviewHeader p{margin:0;color:#5f7188;font-size:14px;line-height:1.5}.libraryPreviewEyebrow{color:#0b56c9;font-size:12px;font-weight:800;letter-spacing:.07em}.libraryPreviewHeader a{display:inline-grid;min-height:44px;place-items:center;flex:0 0 auto;padding:0 14px;border:1px solid #bcd2f0;border-radius:9px;background:#fff;color:#1459b8;font-size:14px;font-weight:700;text-decoration:none}.libraryPreviewPage .productLibraryPanel{max-width:1240px}.libraryPreviewTag{flex:0 0 auto;color:#5f7188;font-size:13px;font-weight:700}@media (max-width:600px){.libraryPreviewPage{padding:20px 12px 40px}.libraryPreviewHeader{flex-wrap:wrap}}@media (max-width:1100px){.libraryPagination{grid-template-columns:1fr auto}.libraryPaginationMeta{grid-column:1/-1}.libraryJumpForm{justify-self:end}.libraryPageError{text-align:right}}@media (max-width:700px){.libraryPagination{grid-template-columns:1fr;justify-items:center}.libraryPaginationMeta{text-align:center}.libraryJumpForm{justify-self:center}.libraryJumpForm input{font-size:16px}.libraryPageError{text-align:center}}@media (max-width:520px){.libraryPagination{padding:14px 10px}.libraryPageButton{min-width:44px;padding:0 8px}.libraryPageButton>span:not(.libraryPageArrow){display:none}.libraryPageIndicator{gap:5px;padding:0 3px}}@media (max-width:340px){.libraryPaginationControls{flex-wrap:wrap;justify-content:center}}.libraryBatchDate{color:#7b8ca4!important;font-weight:700!important}.libraryBatch{overflow:hidden;border:1px solid #d8e6f7;border-radius:10px;background:#f8fbff}.libraryBatchHead{justify-content:space-between;min-height:70px;padding:12px 14px}.libraryBatchHead,.libraryBatchToggle{display:flex;gap:12px;align-items:center}.libraryBatchToggle{flex:1 1;min-width:0;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.libraryBatchToggle>span:last-child{display:grid;grid-gap:4px;gap:4px}.libraryBatchToggle strong{font-size:15px}.libraryBatchToggle small{color:#61748f;font-size:12px;font-weight:800}.libraryChevron{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border-radius:50%;background:#e5f0ff;color:var(--accent-dark);transform:rotate(0deg);transition:transform .18s ease}.libraryChevron svg,.libraryProductControls button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.libraryChevron.expanded{transform:rotate(90deg)}.libraryBatchBody{display:grid;grid-gap:14px;gap:14px;border-top:1px solid #d8e6f7;background:#fff;padding:14px}.libraryProductGroup{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft);padding:12px}.libraryProductHead{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.libraryProductHead span{color:#61748f;font-size:12px;font-weight:800}.libraryProductControls{display:flex;align-items:center;gap:7px}.libraryProductControls button{display:grid;width:34px;height:34px;place-items:center;border:1px solid #cfe0f5;border-radius:9px;background:#fff;color:var(--accent-dark);cursor:pointer}.libraryProductControls button:hover{border-color:#8ab9f4;background:#eef6ff}.libraryProductControls button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.libraryProductGrid{display:flex;max-width:100%;gap:12px;overflow-x:auto;overflow-y:hidden;padding:6px 2px 10px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-inline:contain}.libraryProductGrid figure{width:clamp(190px,19vw,224px);flex:0 0 clamp(190px,19vw,224px);scroll-snap-align:start;scroll-snap-stop:always;transform-origin:center bottom}.libraryProductGrid figure>a{display:block;line-height:0}.libraryProductGrid figure>a:focus-visible{outline:3px solid rgba(23,100,242,.35);outline-offset:-3px}.libraryProductGrid .secondaryButton{text-decoration:none}.pendingOutput{border-style:dashed}.regeneratingOutput{border-color:#7aa8ff;box-shadow:0 0 0 3px rgba(23,100,242,.12)}.outputState{display:grid;width:100%;aspect-ratio:1;place-items:center;background:#f8fafc;color:var(--muted);font-size:14px;font-weight:900}.outputState.failed{background:#fff1f0;color:var(--danger)}.pendingOutput figcaption{align-items:flex-start;flex-direction:column}.pendingOutput figcaption small{max-width:100%;white-space:normal}.backgroundTaskNotice{flex-basis:100%;margin:8px 0 0;padding:10px 12px;border:1px solid #b8d6fb;border-radius:10px;background:#eef6ff;color:#155aa8;font-size:13px;line-height:1.5}.backgroundTaskNotice.standalone{margin:12px 0}.generationTaskIntro{margin:6px 0 0;color:#66768a}.videoCreateButton{min-height:34px;padding:7px 11px;border:1px solid #9cc2f5;border-radius:8px;background:#edf5ff;color:#1263cf;cursor:pointer;font-weight:750}.videoCreateButton:hover{border-color:#287cf1;background:#e2efff}.videoCreateButton:focus-visible{outline:3px solid rgba(38,120,238,.24);outline-offset:2px}.videoTasksPanel{min-height:520px}.videoUploadInput{position:fixed;width:1px;height:1px;opacity:0;pointer-events:none}.videoTaskNotice{margin:14px 0;padding:11px 13px;border:1px solid #b9d7fb;border-radius:10px;background:#eef6ff;color:#174f91}.videoTaskGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));grid-gap:16px;gap:16px;margin-top:18px}.videoTaskCard{overflow:hidden;border:1px solid #cbdcf1;border-radius:14px;background:#fff}.videoTaskMedia{position:relative;aspect-ratio:16/10;overflow:hidden;background:#edf2f7}.videoTaskMedia img,.videoTaskMedia video{width:100%;height:100%;object-fit:cover}.videoTaskMedia .generationTaskStatus{position:absolute;top:10px;right:10px;box-shadow:0 3px 12px rgba(18,47,79,.15)}.videoTaskBody{display:grid;grid-gap:10px;gap:10px;padding:15px}.videoTaskBody small,.videoTaskBody strong{display:block}.videoTaskBody small{margin-top:3px;color:#6d7f95}.videoTaskBody>p{display:-webkit-box;margin:0;overflow:hidden;color:#52677f;font-size:12px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:3}.videoTaskBody .videoTaskError{display:block;padding:9px 10px;border-radius:8px;background:#fff0ef;color:#b42318;overflow-wrap:anywhere}.videoTaskBody .secondaryButton{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.videoComposerBackdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;overflow-y:auto;background:rgba(10,28,50,.48);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.videoComposer{width:min(560px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;padding:22px;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(5,28,56,.28)}.videoComposerHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.videoComposerHead h2,.videoComposerHead p{margin:0}.videoComposerHead h2{margin-top:4px;font-size:23px}.videoComposerHead>button{width:44px;height:44px;border:0;border-radius:10px;background:#f0f4f8;color:#52677f;cursor:pointer;font-size:25px}.videoComposerSource{display:grid;grid-template-columns:88px minmax(0,1fr);grid-gap:14px;gap:14px;align-items:center;margin-top:18px;padding:10px;border:1px solid #d7e4f2;border-radius:12px;background:#f8fbff}.videoComposerSource img{width:88px;height:76px;border-radius:8px;object-fit:cover;background:#eaf0f7}.videoComposerSource small,.videoComposerSource span,.videoComposerSource strong{display:block;overflow-wrap:anywhere}.videoComposerSource small,.videoComposerSource span{margin-top:4px;color:#6e8096;font-size:11px}.videoComposerIntro{margin:14px 0;color:#52677f;font-size:13px;line-height:1.65}.videoComposer fieldset{display:flex;gap:10px;margin:0 0 14px;padding:0;border:0}.videoComposer legend,.videoComposerField{color:#304b69;font-size:12px;font-weight:750}.videoComposer legend{width:100%;margin-bottom:7px}.videoComposer fieldset label{display:flex;align-items:center;min-height:44px;padding:0 13px;border:1px solid #cfdeee;border-radius:9px;cursor:pointer}.videoComposer fieldset input{margin-right:7px}.videoComposerField{display:grid;grid-gap:7px;gap:7px;margin-bottom:14px}.videoComposerField input,.videoComposerField select,.videoComposerField textarea{width:100%;padding:11px 12px;border:1px solid #c9d9ea;border-radius:9px;background:#fff;color:#173557;font:inherit;font-weight:500;outline:none}.videoComposerField textarea{min-height:84px;resize:vertical;line-height:1.55}.videoComposerField input:focus,.videoComposerField select:focus,.videoComposerField textarea:focus{border-color:#287cf1;box-shadow:0 0 0 3px rgba(40,124,241,.14)}.videoComposerField small{color:#728399;font-weight:500;line-height:1.55}.videoCostWarning{display:grid;grid-gap:3px;gap:3px;padding:11px 12px;border:1px solid #f4c37b;border-radius:10px;background:#fff8eb;color:#7c4b05}.videoCostWarning span{font-size:11px;line-height:1.55}.videoComposerError{padding:10px 11px;border-radius:9px;background:#fff0ef;color:#b42318;font-size:12px;overflow-wrap:anywhere}.jimengConfigBlock{margin:20px 0;padding:18px;border:1px solid #cbdcf1;border-radius:14px;background:#f8fbff}.jimengApiGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.videoApiGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.jimengSafetyHint{margin:2px 0 0;color:#8a5a14;font-size:11px;line-height:1.55}@media (max-width:960px){.videoApiGrid{grid-template-columns:1fr}}@media (max-width:760px){.videoTaskGrid{grid-template-columns:1fr}.videoComposerBackdrop{align-items:end;padding:0}.videoComposer{max-height:92dvh;border-radius:18px 18px 0 0}.videoComposer fieldset{flex-direction:column}.videoComposer fieldset label{width:100%}.jimengApiGrid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.videoComposerBackdrop{scroll-behavior:auto}.videoCreateButton{transition:none}}.libraryTaskFocus{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:12px 14px;border:1px solid #9fc7fb;border-radius:12px;background:#edf6ff;color:#174f96}.libraryTaskFocus span{min-width:0;overflow-wrap:anywhere}.libraryTaskFocus .secondaryButton{flex:0 0 auto}.generationTaskFilters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.generationTaskFilters button{padding:8px 14px;border:1px solid #bfd5f2;border-radius:999px;background:#fff;color:#42617f;cursor:pointer;font-weight:700}.generationTaskFilters button.active{border-color:#2678ee;background:#eaf3ff;color:#1262cf}.generationTaskList{display:grid;grid-gap:14px;gap:14px}.generationTaskCard{padding:18px;border:1px solid #cbdcf1;border-radius:14px;background:#fff}.generationTaskCardHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.generationTaskCardHead small,.generationTaskCardHead strong{display:block}.generationTaskCardHead small{margin-top:5px;color:#748399;font-size:11px;overflow-wrap:anywhere}.generationTaskStatus{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#edf2f7;color:#53657a;font-size:12px;font-weight:800}.generationTaskStatus.generating,.generationTaskStatus.pending,.generationTaskStatus.queued{background:#e8f2ff;color:#1465d2}.generationTaskStatus.completed{background:#e7f8ee;color:#138046}.generationTaskStatus.partially_completed{background:#fff4dc;color:#9a6200}.generationTaskStatus.cancelled,.generationTaskStatus.failed{background:#ffeded;color:#b42318}.generationTaskProgress{height:8px;margin:16px 0 12px;overflow:hidden;border-radius:999px;background:#e8eef6}.generationTaskProgress span{display:block;height:100%;border-radius:inherit;background:#287cf1;transition:width .25s ease}.generationTaskCounts{display:flex;flex-wrap:wrap;gap:18px;color:#66768a;font-size:12px}.generationTaskCounts b{color:#163a66;font-size:14px}.generationTaskStep{margin:12px 0;color:#40546b;font-size:13px}.generationTaskActions{display:flex;flex-wrap:wrap;gap:8px}.generationTaskItems{margin-top:14px;border-top:1px solid #e3ebf5;padding-top:12px}.generationTaskItems summary{color:#246bc7;cursor:pointer;font-size:12px;font-weight:700}.generationTaskItems>div{display:grid;grid-gap:7px;gap:7px;margin-top:10px}.generationTaskItem{display:grid;grid-template-columns:minmax(180px,1fr) auto;grid-gap:4px 12px;gap:4px 12px;align-items:center;padding:9px 10px;border-radius:9px;background:#f7f9fc;font-size:12px}.generationTaskItem small{color:#66768a}.generationTaskItem em{grid-column:1/-1;color:#b42318;font-style:normal;overflow-wrap:anywhere}.generationTaskItem button{justify-self:end;padding:5px 9px;border:1px solid #bcd4f3;border-radius:7px;background:#fff;color:#1767d6;cursor:pointer}@media (max-width:760px){.generationTaskCardHead{align-items:stretch;flex-direction:column}.generationTaskStatus{align-self:flex-start}.generationTaskItem{grid-template-columns:1fr}.libraryTaskFocus{align-items:stretch;flex-direction:column}.libraryTaskFocus .secondaryButton{align-self:flex-start}}.outputError{color:var(--danger)}.outputMeta,.versionMeta{max-width:100%;color:var(--muted);font-size:11px;line-height:1.35;white-space:normal}.outputModelMeta{display:inline-flex;width:-moz-fit-content;width:fit-content;padding:3px 7px;border:1px solid #d6e5f8;border-radius:999px;background:#f2f7ff;color:#315f96;font-weight:700;white-space:nowrap}.versionMeta{color:var(--accent);font-weight:900}.outputContextMenu{position:fixed;z-index:50;display:grid;min-width:174px;grid-gap:6px;gap:6px;border:1px solid #bcd4f6;border-radius:10px;background:#fff;box-shadow:0 18px 45px rgba(15,35,75,.18);padding:8px}.outputContextMenu button{border:0;border-radius:8px;background:var(--accent);color:#fff;cursor:pointer;padding:9px 12px;font-weight:900}.outputContextMenu button:disabled{cursor:not-allowed;opacity:.55}.outputContextMenu small{color:var(--muted);font-size:11px}.loginShell{position:relative;display:grid;min-height:100vh;overflow:hidden;place-items:center;background:linear-gradient(168deg,rgba(111,173,255,.11) 0 1px,transparent 1px 18px),radial-gradient(circle at 92% 6%,rgba(199,224,255,.5) 0 15%,transparent 16%),linear-gradient(135deg,#f7fbff,#edf6ff 50%,#f9fcff);padding:48px 28px 64px}.loginBackdrop{position:absolute;inset:0;pointer-events:none}.loginDots{position:absolute;width:150px;height:72px;opacity:.55;background-image:radial-gradient(#9ec4ff 1.8px,transparent 0);background-size:14px 14px}.loginDotsTop{top:22px;left:24px}.loginDotsBottom{right:48px;bottom:66px}.loginOrb{position:absolute;top:-78px;right:110px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle at 38% 38%,rgba(255,255,255,.86),rgba(170,206,255,.24) 58%,transparent 72%)}.loginHero{z-index:1;width:min(1120px,calc(100vw - 56px));grid-template-columns:minmax(500px,1.08fr) minmax(430px,.92fr);grid-gap:0;gap:0;align-items:stretch;border-radius:16px;background:#ffffff;box-shadow:0 30px 80px rgba(42,96,154,.12)}.loginHero,.loginIntro{position:relative;display:grid;box-sizing:border-box;min-height:610px;overflow:hidden}.loginIntro{align-content:start;justify-items:center;padding:54px 48px 46px;background:radial-gradient(circle at 86% 13%,rgba(124,169,255,.18) 0 22%,transparent 23%),linear-gradient(135deg,#fbfdff,#eef6ff)}.loginIntro h1{width:min(390px,100%);margin:74px 0 0;color:#0d2a52;font-size:35px;line-height:1.15;letter-spacing:0}.loginIntro h1:after{content:none;display:none}.loginIntro>p{width:min(390px,100%);margin:18px 0 34px;color:#59708f;font-size:15px;font-weight:700;line-height:1.75}.loginFeatures{display:grid;width:min(390px,100%);grid-gap:18px;gap:18px;margin:0}.loginFeatures div{display:grid;grid-template-columns:44px 1fr;grid-column-gap:14px;column-gap:14px;align-items:center}.loginFeatures small,.loginFeatures strong{grid-column:2}.loginFeatures strong{color:#17375f;font-size:15px}.loginFeatures small{margin-top:4px;color:#607693;font-size:13px;font-weight:700}.featureIcon{grid-row:1/span 2;display:grid;width:40px;height:40px;place-items:center;border-radius:8px;background:linear-gradient(135deg,#e6f1ff,#d7e8ff);color:#1b76ff;box-shadow:0 10px 24px rgba(36,117,255,.12)}.featureIcon svg,.inputIcon svg,.languageButton svg,.loginLock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2}.loginLock svg{width:22px;height:22px}.inputIcon svg{width:18px;height:18px;stroke-width:2}.languageButton svg{width:15px;height:15px;stroke-width:2.2}.inputIcon:before,.layersIcon:after,.layersIcon:before,.loginLock:before,.shieldIcon:before{content:none;display:none}.layersIcon:before{width:18px;height:18px;border:3px solid;border-top:5px solid;transform:rotate(45deg) skew(-10deg,-10deg)}.shieldIcon:before{width:18px;height:20px;border:3px solid;border-radius:9px 9px 12px 12px;-webkit-clip-path:polygon(50% 0,100% 18%,88% 78%,50% 100%,12% 78%,0 18%);clip-path:polygon(50% 0,100% 18%,88% 78%,50% 100%,12% 78%,0 18%)}.aiIcon{font-size:12px;font-weight:900}.loginIllustration{position:relative;width:312px;height:220px;justify-self:end;margin:28px 36px 0 0;transform:none}.imageTray{position:absolute;right:42px;bottom:22px;width:190px;height:126px;border-radius:18px 18px 32px 32px;background:linear-gradient(135deg,rgba(45,126,255,.88),rgba(133,184,255,.6));box-shadow:0 28px 48px rgba(36,117,255,.28),inset 0 0 0 1px rgba(255,255,255,.45)}.imageTray:after{content:"";position:absolute;left:50%;bottom:-30px;width:312px;height:72px;border:2px solid rgba(75,139,255,.24);border-radius:50%;transform:translateX(-50%);box-shadow:0 0 28px rgba(70,132,255,.22)}.imageCard{position:absolute;width:106px;height:84px;border-radius:9px;background:linear-gradient(160deg,#eaf4ff,#a7c9ff);box-shadow:0 18px 34px rgba(45,117,255,.18)}.cardBack{left:22px;top:-30px;transform:rotate(-5deg)}.cardFront{right:18px;top:-14px}.cardFront:before{content:"";position:absolute;left:22px;top:24px;width:18px;height:18px;border-radius:50%;background:#5a98ff}.cardFront:after{content:"";position:absolute;right:18px;bottom:12px;width:42px;height:28px;-webkit-clip-path:polygon(0 100%,42% 42%,62% 66%,76% 34%,100% 100%);clip-path:polygon(0 100%,42% 42%,62% 66%,76% 34%,100% 100%);background:#6aa5ff}.imageCircle{position:absolute;right:-42px;bottom:-14px;display:grid;width:92px;height:92px;place-items:center;border:4px solid rgba(255,255,255,.78);border-radius:50%;background:linear-gradient(135deg,#68b0ff,#2d7dff);color:#fff;font-size:34px;font-weight:900;box-shadow:0 18px 34px rgba(45,117,255,.25)}.floatingCube{position:absolute;border-radius:8px;background:linear-gradient(135deg,rgba(182,210,255,.86),rgba(255,255,255,.62));transform:rotate(14deg) skew(-8deg)}.leftCube{left:0;top:30px;width:52px;height:52px}.rightCube{right:0;top:126px;width:34px;height:34px}.loginPanel{display:grid;box-sizing:border-box;align-content:start;grid-gap:20px;gap:20px;border:0;border-radius:0;background:#ffffff;box-shadow:none;padding:128px 56px 50px;-webkit-backdrop-filter:none;backdrop-filter:none}.loginPanelHead{display:none;justify-content:space-between;align-items:center}.loginLock{display:grid;width:40px;height:40px;place-items:center;border-radius:8px;background:linear-gradient(135deg,#e2efff,#d2e5ff);color:#2d7dff}.loginLock:before{width:15px;height:17px;border:3px solid;border-radius:4px;box-shadow:0 -7px 0 -3px currentColor}.languageButton{display:inline-flex;min-height:34px;align-items:center;gap:7px;border:1px solid #d8e6f5;border-radius:8px;background:#fff;color:#3c526f;padding:0 12px;font-size:13px;font-weight:800}.languageButton:before{content:none}.languageButton span{width:7px;height:7px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg) translateY(-2px)}.loginPanel h2{margin:0 0 10px;color:#0d2a52;font-size:30px;line-height:1.15}.loginPanel p{margin:0;color:#6a7d98;line-height:1.6}.loginField{display:grid;grid-gap:9px;gap:9px;color:#26364e;font-size:13px;font-weight:900}.loginInputWrap{position:relative;display:flex;align-items:center}.loginInputWrap input{width:100%;height:43px;border:1px solid #d9e5f2;border-radius:8px;background:#fff;color:var(--ink);outline:none;padding:0 46px}.loginInputWrap input:focus{border-color:#78b4ff;box-shadow:0 0 0 3px rgba(45,125,255,.12)}.inputIcon{position:absolute;left:15px;display:grid;width:16px;height:16px;place-items:center;color:#71829c}.userIcon:before{width:13px;height:13px;border:2px solid;border-radius:50% 50% 45% 45%;-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.passwordIcon:before{width:13px;height:12px;border:2px solid;border-radius:3px;box-shadow:0 -7px 0 -4px currentColor}.passwordToggle{position:absolute;right:10px;min-height:28px;border:0;background:transparent;color:#71829c;font-size:12px;font-weight:900}.loginOptions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:-2px}.loginOptions label{display:inline-flex;gap:8px;align-items:center;color:#243b5f;font-size:13px;font-weight:800}.loginOptions input{width:16px;height:16px;accent-color:#2d7dff}.loginOptions button{border:0;background:transparent;color:#2d7dff;font-size:13px;font-weight:900}.loginSubmit{display:inline-flex;justify-content:center;align-items:center;min-height:46px;border:0;border-radius:8px;background:linear-gradient(180deg,#2f6df6,#2454db);color:#fff;font-weight:900;box-shadow:0 14px 26px rgba(45,125,255,.28)}.loginSubmit:disabled{cursor:not-allowed;opacity:.55}.loginError{border:1px solid #f4c7c3;border-radius:8px;background:#fff5f4;color:var(--danger)!important;padding:10px 12px;font-size:13px;font-weight:900}.loginTerms{text-align:center;font-size:12px}.loginTerms a{color:#2d7dff;font-weight:900;text-decoration:none}.loginCopyright{position:absolute;left:0;right:0;bottom:22px;color:#7a8da8;font-size:13px;font-weight:700;text-align:center}@media (max-width:1180px){.workflow{grid-template-columns:minmax(0,1fr);grid-template-areas:"step1" "step2" "model" "step3" "step4" "step5"}.step1Panel,.step2Panel,.step5Panel{position:static;max-height:none;overflow-y:visible;scrollbar-gutter:auto}}@media (max-width:860px){.appShell{grid-template-columns:1fr}.rail{position:static;height:auto}.railNav{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{padding:18px}.downloadNotice,.sectionHead,.topbar{flex-direction:column;align-items:stretch}.progressActions,.topbarActions{flex-wrap:wrap}.topbar h1{font-size:25px}.apiSplitGrid,.fieldGrid,.jobSummary,.libraryToolbar,.progressGrid{grid-template-columns:1fr}.libraryBulkButton{width:100%}.generationBatchNameField,.loginHero{grid-template-columns:1fr}.loginHero{gap:30px}.loginIntro{padding-top:0;text-align:center}.loginFeatures{width:min(320px,100%);margin:0 auto;text-align:left}.loginPanel{padding:42px 36px}.loginIllustration{height:210px;margin-top:26px;transform:scale(.86);transform-origin:center}.loginCopyright{position:static;margin:28px 0 0}}@media (max-width:560px){.railNav{grid-template-columns:1fr}.panel{padding:16px}.templateHead{align-items:flex-start;flex-direction:column}.outputGrid,.productGrid{grid-template-columns:1fr}.loginShell{padding:26px 16px 34px}.loginPanel{padding:24px 18px}.loginPanel h2{font-size:26px}.loginIntro h1{font-size:30px}.loginOptions{align-items:flex-start;flex-direction:column}.libraryBatchHead{align-items:stretch;flex-direction:column}.libraryBatchHead>.secondaryButton{width:100%}}.adminSummaryGrid article{position:relative;overflow:hidden}.adminSummaryGrid article>i{position:absolute;right:16px;top:14px;font-size:25px;font-style:normal;opacity:.8}.adminSummaryGrid article>strong small{display:inline;font-size:13px;color:#71829a;font-weight:600}.adminSummaryGrid article>small{display:block;margin-top:5px;color:#708099}.adminSummaryGrid article>select{max-width:120px;margin-top:7px;padding:4px 8px;border:1px solid #cddcf0;border-radius:7px;background:#f8fbff;color:#315478;font-size:11px}.adminSummaryGridWide{grid-template-columns:repeat(6,minmax(0,1fr))}.adminStorageSettingsCard{max-width:1500px;margin:0 auto 20px;padding:20px 22px;border:1px solid #bdd7f7;border-radius:16px;background:linear-gradient(145deg,#fff,#f6faff);box-shadow:0 8px 24px rgba(29,75,130,.06)}.adminStorageSettingsCard h2{margin:0 0 5px;font-size:18px}.adminStorageSettingsCard p{margin:0;color:#71829a;font-size:13px}.adminStorageSettingsIntro>small{display:block;margin-top:7px;color:#315f96;font-weight:700}.adminStorageSettingsFields{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));align-items:end;grid-gap:14px;gap:14px;margin-top:16px}.adminStorageSettingsFields label{display:grid;grid-gap:7px;gap:7px;color:#344d6d;font-size:13px;font-weight:700}.adminStorageSettingsFields input{min-height:42px;width:100%;box-sizing:border-box;border:1px solid #cbdcf2;border-radius:9px;padding:0 12px;background:#fff;color:#10284a;font-size:14px}.adminStorageSettingsFields input:focus{border-color:#3484ef;outline:none;box-shadow:0 0 0 3px #e8f2ff}.adminStorageSettingsFields label small{color:#71829a;font-size:11px;font-weight:500;line-height:1.5}.adminStorageSettingsFields button{min-height:42px;justify-self:start}.adminSettingsSubhead{grid-column:1/-1;margin-top:6px;padding-top:16px;border-top:1px solid #dbe7f5}.adminSettingsSubhead h3{margin:0 0 4px;color:#173d6b;font-size:15px}.adminSettingsSubhead p{line-height:1.6}.adminAdaptiveConcurrencyNotice{grid-column:1/-1;min-height:40px;box-sizing:border-box;padding:10px 12px;border:1px solid #bcd9fb;border-radius:9px;background:#eef6ff;color:#315f96!important;line-height:1.55}.adminStorageSettingsError{margin-top:12px!important;padding:9px 11px;border:1px solid #f1b9b4;border-radius:8px;background:#fff2f1;color:#b2342c!important;font-weight:650}.adminTrendCard{max-width:1500px;margin:0 auto 20px;padding:18px 22px;border:1px solid #d2e1f4;border-radius:16px;background:#fff;display:grid;grid-template-columns:minmax(220px,.6fr) 1.4fr;align-items:end;grid-gap:28px;gap:28px}.adminTrendCard h2{margin:0 0 5px;font-size:18px}.adminTrendCard p{margin:0;color:#71829a;font-size:13px}.adminTrendBars{height:128px;display:flex;align-items:flex-end;justify-content:space-around;gap:10px;border-bottom:1px solid #d9e5f5}.adminTrendBars>div{min-width:46px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px}.adminTrendBars strong{font-size:12px;color:#315277}.adminTrendBars span{width:min(42px,70%);min-height:8px;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#3b8cff,#1367e8);box-shadow:0 5px 14px rgba(31,116,242,.2)}.adminTrendBars small{color:#71829a;font-size:11px}.adminTrendRange{display:flex;gap:7px;margin-top:14px}.adminTrendRange button{min-height:31px;padding:0 12px;border:1px solid #cbdcf2;border-radius:999px;background:#fff;color:#54708f;font-weight:700;cursor:pointer}.adminTrendRange button.active{border-color:#287bef;background:#eaf3ff;color:#1267dc;box-shadow:inset 0 0 0 1px #287bef}.adminTrendChartScroll{overflow-x:auto;padding-bottom:4px}.adminApiRankingCard,.adminModelUsageCard{max-width:1500px;margin:0 auto 20px;padding:20px 22px;border:1px solid #d2e1f4;border-radius:16px;background:#fff}.adminModelUsageGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.adminModelUsageGrid article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:6px 14px;gap:6px 14px;padding:15px 16px;border:1px solid #dbe7f5;border-radius:12px;background:#f8fbff}.adminModelUsageGrid article>span{overflow:hidden;color:#315f96;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.adminModelUsageGrid article>strong{grid-row:span 2;color:#1167db;font-size:23px;white-space:nowrap}.adminModelUsageGrid article>strong small{font-size:12px}.adminModelUsageGrid article>em{color:#71829a;font-size:12px;font-style:normal}.adminModelUsageGrid article.historical{background:#fbfcfe}.adminApiRankingHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.adminApiRankingHead h2{margin:0 0 5px;font-size:18px}.adminApiRankingHead p{margin:0;color:#71829a;font-size:13px}.adminApiRankingHead>strong{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:#eaf3ff;color:#1769d5;font-size:12px}.adminApiRankingTable{overflow-x:auto;border:1px solid #e0eaf6;border-radius:12px}.adminApiRankingRow{min-width:860px;display:grid;grid-template-columns:70px minmax(300px,1fr) 120px 100px 180px;align-items:center;grid-gap:12px;gap:12px;padding:12px 14px;border-top:1px solid #e8eff8;color:#445b78;font-size:13px}.adminApiRankingRow:first-child{border-top:0}.adminApiRankingLabels{background:#f5f8fc;color:#71829a;font-size:11px;font-weight:800}.adminApiRankingRow>span:nth-child(2){min-width:0;display:grid;grid-gap:4px;gap:4px}.adminApiRankingRow>span:nth-child(2) strong{color:#173d6b}.adminApiRankingRow>span:nth-child(2) small{overflow:hidden;color:#66809d;text-overflow:ellipsis;white-space:nowrap}.adminApiRankingRow b{color:#1167db;font-size:16px}.adminApiRankingRow.historical{background:#fbfcfe}.adminApiRank{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#eaf3ff;color:#1569db;font-weight:850}.adminApiRankingEmpty{padding:24px;color:#71829a;text-align:center}.adminCleanupCard{border-color:#f3d5a8;background:linear-gradient(145deg,#fff,#fffbf4)}.cleanupShield{color:#9b6300;font-weight:700;font-size:13px}.adminCleanupGrid{display:grid;grid-template-columns:1.2fr auto 1.2fr auto;align-items:end;grid-gap:12px;gap:12px}.adminCleanupGrid label{display:grid;grid-gap:7px;gap:7px;font-size:13px;font-weight:700;color:#344d6d}.adminCleanupGrid input{min-height:42px;border:1px solid #cbdcf2;border-radius:9px;padding:0 12px}.cleanupPreview{margin-top:13px;padding:11px 13px;border-radius:9px;background:#fff3d8;color:#754c00}.libraryRetentionNotice{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;grid-gap:16px;gap:16px;width:100%;margin-top:16px;padding:12px 18px 12px 14px;border:1px solid #ecd6a7;border-radius:12px;background:#fff9eb}.libraryRetentionIcon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffe9bd;color:#94600d}.libraryRetentionIcon svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.libraryRetentionContent{display:grid;grid-gap:3px;gap:3px;min-height:43px;min-width:0;padding-left:18px;border-left:1px solid #ecd6a7}.libraryRetentionContent strong{color:#67430f;font-size:15px;line-height:1.4}.libraryRetentionDays{color:#a26304;font-size:16px;font-weight:800;white-space:nowrap}.libraryRetentionContent small{color:#765a34;font-size:13px;line-height:1.45}.libraryRetentionPeriod{display:grid;grid-gap:1px;gap:1px;min-height:43px;min-width:112px;padding-left:24px;border-left:1px solid #ecd6a7;color:#a36c16;text-align:right}.libraryRetentionPeriod small{font-size:12px;line-height:1.4}.libraryRetentionPeriod strong{color:#a26304;font-size:20px;line-height:1.2;white-space:nowrap}.libraryLoadingLine{display:inline-block;max-width:100%;height:13px;border-radius:999px;background:#eadbbf;opacity:0;animation:libraryLoadingReveal 1ms linear .18s forwards}.libraryLoadingLineWide{width:220px}.libraryLoadingLineShort{width:72px}@keyframes libraryLoadingReveal{to{opacity:1}}@media (prefers-reduced-motion:reduce){.libraryLoadingLine{animation:none;opacity:1}}@media (max-width:700px){.libraryRetentionNotice{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:11px}.libraryRetentionIcon{width:40px;height:40px}.libraryRetentionContent{padding-left:10px}.libraryRetentionPeriod{display:none}}@media (max-width:1250px){.adminSummaryGridWide{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.adminCleanupGrid,.adminModelUsageGrid,.adminStorageSettingsFields,.adminTrendCard{grid-template-columns:1fr}}@media (max-width:700px){.adminSummaryGridWide{grid-template-columns:repeat(2,minmax(0,1fr))}.adminApiRankingHead{flex-direction:column}}.adminApiSubhead{margin:4px 0 12px;color:#183c68;font-size:15px}.relayPoolHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:24px 0 12px;padding-top:20px;border-top:1px solid #e1eaf5}.relayPoolHead h3{margin:0;color:#163a65;font-size:17px}.relayPoolHead p{max-width:760px;margin:6px 0 0;color:#71829a;font-size:12px;line-height:1.6}.relayPool{display:grid;grid-gap:12px;gap:12px;margin-bottom:16px}.relayRouteCard{position:relative;display:grid;grid-template-columns:70px minmax(0,1fr);grid-gap:14px;gap:14px;padding:15px;border:1px solid #cfe0f4;border-radius:13px;background:linear-gradient(145deg,#fff,#f8fbff);transition:border-color .18s ease,opacity .18s ease,box-shadow .18s ease}.relayRouteCard:hover{border-color:#8cbcf7;box-shadow:0 7px 20px rgba(31,116,242,.08)}.relayRouteCard.disabled{opacity:.58;background:#f5f7fa}.relayRouteRank{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:74px;border-radius:11px;background:#eaf3ff;color:#1569db}.relayRouteRank strong{font-size:25px;line-height:1}.relayRouteRank span{margin-top:6px;font-size:10px;font-weight:750}.relayRouteFields{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(240px,1.5fr) minmax(170px,1fr) minmax(130px,.7fr);grid-gap:10px;gap:10px}.relayRouteFields label{display:grid;grid-gap:6px;gap:6px;color:#455b79;font-size:11px;font-weight:700}.relayRouteFields input,.relayRouteFields select{min-width:0;width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid #cddcf0;border-radius:9px;background:#fff;color:#10284a}.relayRouteFields input:focus,.relayRouteFields select:focus{border-color:#3484ef;outline:none;box-shadow:0 0 0 3px #e8f2ff}.relayRouteActions{grid-column:2;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.relayRouteActions .toggleLabel{margin-right:auto;padding-top:0}.relayRouteActions button{min-height:34px;padding:0 11px;border:1px solid #c9dcf4;border-radius:8px;background:#fff;color:#1769d5;font-weight:700;cursor:pointer}.relayRouteActions button:hover:not(:disabled){border-color:#6da7ef;background:#eef6ff}.relayRouteActions button:disabled{cursor:not-allowed;opacity:.45}.relayRouteActions .dangerButton{border-color:#f2c6c2;color:#c23b32}.relayTestResult{grid-column:2;padding:9px 11px;border-radius:8px;font-size:12px;font-weight:700}.relayTestResult.ok{border:1px solid #a9dfbd;background:#edf9f1;color:#16733a}.relayTestResult.failed{border:1px solid #f0bdb7;background:#fff1ef;color:#b8362e}@media (max-width:1250px){.relayRouteFields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.relayPoolHead{align-items:stretch;flex-direction:column}.relayRouteCard{grid-template-columns:1fr}.relayRouteRank{min-height:54px}.relayRouteFields{grid-template-columns:1fr}.relayRouteActions,.relayTestResult{grid-column:1}.relayRouteActions .toggleLabel{width:100%}}:root{--bg:#f3f6fa;--panel-soft:#f7f9fc;--ink:#10233f;--muted:#5f7188;--line:#d9e2ec;--line-strong:#a9bfd8;--accent:#176cf2;--accent-dark:#0b56c9;--accent-soft:#edf5ff;--focus-ring:rgba(23,108,242,0.28);--shadow:0 4px 16px rgba(18,43,75,0.055);--shadow-raised:0 12px 30px rgba(18,43,75,0.11);--radius-sm:8px;--radius-md:12px;--radius-lg:16px}body{background:var(--bg);font-family:Segoe UI Variable,Segoe UI,PingFang SC,Microsoft YaHei UI,Microsoft YaHei,sans-serif;font-size:16px;line-height:1.5;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}:where(button,input,select,textarea):disabled{cursor:not-allowed}.skipLink{position:fixed;z-index:1000;top:12px;left:12px;padding:10px 14px;border-radius:var(--radius-sm);background:#10233f;color:#fff;font-weight:800;text-decoration:none;transform:translateY(-150%);transition:transform .16s ease}.skipLink:focus{transform:translateY(0)}.rail{z-index:30;padding:24px 14px 18px;background:#fff}.brand{margin:0 6px 26px}.brandMark{width:46px;height:46px;border-radius:11px;background:var(--accent);box-shadow:0 8px 18px rgba(23,108,242,.19)}.brand strong{letter-spacing:-.02em}.railNav{gap:4px}.railFooter a,.railNav a{min-height:44px;border-radius:var(--radius-sm);color:#435873;font-size:15px;font-weight:700;padding:0 13px;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}.railFooter a:before,.railNav a:before{width:16px;height:16px;margin-right:12px;border-width:1.5px;border-radius:5px;opacity:.72}.railFooter a:hover,.railNav a.active,.railNav a:hover{background:var(--accent-soft);color:var(--accent-dark);box-shadow:inset 3px 0 0 var(--accent);transform:none}.railNav .libraryNavLink,.railNav .libraryNavLink.active,.railNav .libraryNavLink:hover{border-color:#efaa1d;background:linear-gradient(135deg,#ffe18a,#ffc95a);color:#102a4c;box-shadow:0 8px 18px rgba(219,148,8,.17)}.railNav .libraryNavLink.active{border-color:#df9500;background:linear-gradient(135deg,#ffdc79,#ffbf3f);box-shadow:inset 3px 0 0 #d88900,0 8px 18px rgba(219,148,8,.2)}.workspace{padding:0 30px 40px}.appTopbar{position:-webkit-sticky;position:sticky;z-index:20;top:0;min-height:62px;margin:0 -30px 24px;background:rgba(255,255,255,.92);padding:0 30px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.currentView{font-size:16px;letter-spacing:-.01em}.currentView:before{width:9px;height:9px;border:0;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px var(--accent-soft)}.topbar{margin-bottom:18px}.topbar h1{max-width:820px;margin-top:6px;color:#0d2342;font-size:clamp(26px,2.4vw,34px);letter-spacing:-.035em}.topbarLead{margin-top:9px;color:var(--muted);font-size:16px}.eyebrow{letter-spacing:.06em}.workflowOverview{position:relative;display:grid;max-width:1240px;grid-template-columns:minmax(230px,.82fr) minmax(540px,1.9fr) auto;grid-gap:20px;gap:20px;align-items:center;margin:0 auto 18px;overflow:hidden;border:1px solid #d1e0f2;border-radius:var(--radius-md);background:linear-gradient(110deg,#f7fbff,#fff 38%,#fff);padding:18px 20px;box-shadow:0 10px 30px rgba(25,67,112,.08)}.workflowOverview:before{position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#176cf2,#55a4ff);content:""}.workflowOverview li small,.workflowOverview li span,.workflowOverview li strong,.workflowOverviewLead,.workflowOverviewLead small,.workflowOverviewLead strong{display:block}.workflowOverviewKicker{display:inline-flex;align-items:center;min-height:24px;margin-bottom:7px;border-radius:999px;background:#eaf3ff;color:var(--accent-dark);padding:0 9px;font-size:11px;font-weight:850;letter-spacing:.08em}.workflowOverviewLead strong{color:#122c50;font-size:17px;line-height:1.35}.workflowOverviewLead small{max-width:270px;margin-top:5px;color:var(--muted);font-size:13px;line-height:1.45}.workflowOverview ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;margin:0;padding:0;list-style:none}.workflowOverview li{position:relative;display:grid;min-width:0;min-height:70px;grid-template-columns:30px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:center;border:1px solid #dce8f6;border-radius:12px;background:rgba(255,255,255,.86);padding:11px 12px}.workflowOverview li b{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#176cf2,#438dff);box-shadow:0 5px 12px rgba(23,108,242,.2);color:#fff;font-size:12px}.workflowOverview li strong{color:#183555;font-size:14px;line-height:1.3}.workflowOverview li small{margin-top:3px;color:#718198;font-size:12px;line-height:1.35}.workflowOverviewAction{display:inline-flex;min-width:126px;min-height:44px;align-items:center;justify-content:center;gap:7px;border:1px solid #176cf2;border-radius:10px;background:linear-gradient(135deg,#176cf2,#2f7df5);box-shadow:0 8px 18px rgba(23,108,242,.2);color:#fff;padding:0 16px;font-size:14px;font-weight:800;white-space:nowrap;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.workflowOverviewAction svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.workflowOverviewAction:hover{border-color:#0f5dd8;background:linear-gradient(135deg,#0f5fdc,#246fdf);box-shadow:0 10px 22px rgba(23,108,242,.26)}.panel{border-radius:var(--radius-md);background:#fff;animation:none;transition:border-color .16s ease,box-shadow .16s ease}.panel,.panel:hover{box-shadow:var(--shadow)}.panel:hover{border-color:var(--line);transform:none}.sectionHead h2{font-size:23px}.field{font-size:14px}.backgroundTaskNotice,.fieldHint,.generationTaskIntro,.libraryDescription,.safeCloseCopy small,.segmented span{font-size:13px;line-height:1.6}.field input,.libraryFilter select,.librarySearch input,.nameInput,.productNoteInput,.templateHead input,select,textarea{font-size:14px}.safeCloseCopy strong,.segmented strong{font-size:16px}.generationTaskCardHead small,.generationTaskCounts,.generationTaskItem,.generationTaskItems summary,.libraryBatchToggle small,.librarySummaryLine,.outputMeta{font-size:13px}.apiCard:hover,.outputGrid figure:hover,.productSlot:hover,.referenceGrid figure:hover,.segmented label:hover,.templateCard:hover{transform:none}.dangerButton,.guideButton,.miniUpload,.primaryButton,.secondaryButton,.uploadButton{min-height:44px;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}.primaryButton,.uploadButton{background:var(--accent);box-shadow:0 6px 16px rgba(23,108,242,.2)}.primaryButton:hover,.uploadButton:hover{background:var(--accent-dark);box-shadow:0 8px 20px rgba(23,108,242,.24);transform:none}.adminChip:hover,.bulkUploadButton:hover,.dangerButton:hover,.guideButton:hover,.guideLink:hover,.miniUpload:hover,.secondaryButton:hover,.step1Panel .emptyUpload:hover{transform:none}.bulkUploadButton,.emptyUpload,.miniUpload,.uploadButton{position:relative}.bulkUploadButton input,.miniUpload input,.step1Panel .emptyUpload input,.uploadButton input{position:absolute;display:block;width:1px;height:1px;overflow:hidden;opacity:0;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.bulkUploadButton:focus-within,.emptyUpload:focus-within,.miniUpload:focus-within,.uploadButton:focus-within{outline:3px solid var(--focus-ring);outline-offset:3px}.generationSubmitButton{min-height:52px;font-size:15px;letter-spacing:.01em}.safeCloseBanner{border-width:1px;box-shadow:none}.safeCloseBanner.error,.safeCloseBanner.safe,.safeCloseBanner.working{box-shadow:none}.generationTaskCard,.libraryBatch,.libraryProductGroup{border-radius:var(--radius-md)}.generationTaskCard{box-shadow:0 2px 10px rgba(18,43,75,.04)}.generationTaskFilters button{min-height:44px}#api-config,#competitors,#generation-tasks,#product-library,#products,#results,#settings,#templates{scroll-margin-top:82px}.generationTaskFilters button:focus-visible,.libraryBatchToggle:focus-visible{outline-color:var(--focus-ring)}@media (max-width:1180px){.workflowOverview{grid-template-columns:minmax(0,1fr) auto}.workflowOverview ol{grid-column:1/-1;grid-row:2}}@media (max-width:860px){.rail{position:-webkit-sticky;position:sticky;z-index:40;top:0;display:block;height:auto;overflow:hidden;padding:10px 12px 8px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 8px}.brandMark{width:34px;height:34px}.brand small{display:none}.railNav{display:flex;gap:6px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.railNav .libraryNavLink,.railNav a{display:flex;min-width:max-content;min-height:40px;margin:0;border:1px solid var(--line);padding:0 12px;white-space:nowrap}.railFooter,.railNav .libraryNavLink small,.railNav .libraryNavLink:before,.railNav a:before{display:none}.workspace{padding:0 16px 30px}.appTopbar{position:static;margin:0 -16px 18px;padding:0 16px}}@media (max-width:640px){.accountTools{gap:4px}.guideLink{width:44px;min-height:44px;justify-content:center;overflow:hidden;padding:0;color:transparent}.guideLink:before{color:#1e3558}.adminChip{min-height:44px}.workflowOverview{grid-template-columns:1fr;gap:14px;padding:16px}.workflowOverviewLead small{max-width:none}.workflowOverview ol{grid-column:auto;grid-row:auto;grid-template-columns:1fr;gap:8px}.workflowOverview li{min-height:0}.workflowOverviewAction{width:100%}.field input,.libraryFilter select,.librarySearch input,.nameInput,.productNoteInput,.templateHead input,select,textarea{font-size:16px}}@media (min-width:1261px) and (max-width:1600px){.appShell{grid-template-columns:210px minmax(0,1fr)}.workspace{padding:0 18px 36px}.appTopbar{margin-right:-18px;margin-left:-18px;padding-right:18px;padding-left:18px}.topbar h1{max-width:760px;font-size:clamp(28px,2.5vw,32px)}.workflowOverview{grid-template-columns:minmax(200px,.72fr) minmax(500px,1.9fr) auto;gap:14px;padding:14px 16px}.workflow{grid-template-columns:minmax(310px,.95fr) minmax(390px,1.2fr) minmax(280px,.85fr);grid-template-areas:"step1 step2 step5" "model model model" "step3 step3 step3" "step4 step4 step4";gap:14px}.panel{padding:18px}.sectionHead h2{font-size:22px}.latestWorkflow li,.latestWorkflowHead span{font-size:13px}}@media (min-width:861px) and (max-width:1260px){.appShell{grid-template-columns:210px minmax(0,1fr)}.workspace{padding:0 18px 34px}.appTopbar{margin-right:-18px;margin-left:-18px;padding-right:18px;padding-left:18px}.topbar h1{font-size:clamp(27px,2.6vw,31px)}.workflow{grid-template-columns:minmax(330px,1fr) minmax(360px,1.08fr);grid-template-areas:"step1 step2" "step5 step5" "model model" "step3 step3" "step4 step4";gap:14px}.step1Panel,.step2Panel,.step5Panel{position:static;max-height:none;overflow-y:visible;scrollbar-gutter:auto}.panel{padding:18px}.sectionHead h2{font-size:22px}}:is(.railNav a,.railFooter a,.guideLink,.adminChip,.workflowOverviewAction,.uploadButton,.primaryButton,.secondaryButton,.dangerButton,.guideButton,.miniUpload,.bulkUploadButton,.emptyUpload,.apiCard,.templateCard,.productSlot,.segmented label,.modelCard,.referenceGrid figure,.outputGrid figure,.generationTaskCard){transition-duration:.17s;transition-timing-function:cubic-bezier(.2,.75,.3,1);transition-property:transform,border-color,background-color,color,box-shadow,opacity}.brandMark,.emptyResultIcon svg,.emptyUploadIcon svg,.railFooter a:before,.railNav a:before{transition:transform .19s cubic-bezier(.2,.75,.3,1),opacity .17s ease;transform-origin:center}@media (hover:hover) and (pointer:fine){.railFooter a:hover,.railNav a:hover{transform:translateX(2px)}.railFooter a:hover:before,.railNav a:hover:before{transform:scale(1.08);opacity:1}.brand:hover .brandMark{transform:translateY(-2px) rotate(-2deg) scale(1.035);box-shadow:0 11px 24px rgba(23,108,242,.24)}:where(.workflowOverviewAction,.uploadButton,.primaryButton,.secondaryButton,.dangerButton,.guideButton,.miniUpload,.bulkUploadButton,.guideLink,.adminChip):hover:not(:disabled){transform:translateY(-2px)}:where(.emptyUpload,.apiCard,.templateCard,.productSlot,.segmented label,.modelCard,.referenceGrid figure,.outputGrid figure,.generationTaskCard):hover{transform:translateY(-2px);border-color:#9fc3ef;box-shadow:0 10px 24px rgba(18,67,126,.09)}.libraryProductGrid figure:hover{transform:translateY(-3px) scale(1.01);border-color:#82b3ee;box-shadow:0 12px 26px rgba(18,67,126,.13)}.emptyUpload:hover .emptyUploadIcon svg,.templateEmpty:hover .emptyResultIcon svg{transform:translateY(-2px) scale(1.075)}}:where(.railNav a,.railFooter a,.workflowOverviewAction,.uploadButton,.primaryButton,.secondaryButton,.dangerButton,.guideButton,.miniUpload,.bulkUploadButton,.modelCard):active:not(:disabled){transform:translateY(0) scale(.985);transition-duration:90ms}@media (prefers-reduced-motion:reduce){:where(.railNav a,.railFooter a,.guideLink,.adminChip,.workflowOverviewAction,.uploadButton,.primaryButton,.secondaryButton,.dangerButton,.guideButton,.miniUpload,.bulkUploadButton,.emptyUpload,.apiCard,.templateCard,.productSlot,.segmented label,.modelCard,.referenceGrid figure,.outputGrid figure,.generationTaskCard,.libraryBatch,.libraryProductGroup,.brandMark,.emptyUploadIcon svg,.emptyResultIcon svg,.railNav a:before,.railFooter a:before){transition-duration:.01ms!important;transform:none!important}}