:root{color:#172033;background:#fdf8ed;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#fdf8ed}button,input,select,textarea{font:inherit}main{max-width:1480px;margin:0 auto;padding:28px}.labShell{position:relative;isolation:isolate;width:100%;max-width:none;min-height:100vh;padding:38px 190px 42px;overflow:hidden;background:linear-gradient(#fff8ec0f,#fff8ec0f),var(--lab-bg) center top / 100% auto no-repeat,#fdf8ed}.hero,.workspace,.history{position:relative;z-index:2}.floatingPosterLayer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}.posterRail{position:absolute;top:96px;display:grid;gap:22px;width:158px}.leftRail{left:14px}.rightRail{right:18px;top:104px}.posterCardAsset{display:block;width:158px;border-radius:13px;filter:drop-shadow(0 9px 8px rgba(27,19,54,.22))}.posterCard1{transform:rotate(-8deg)}.posterCard2{transform:rotate(3deg)}.posterCard3{transform:rotate(-4deg)}.posterCard4{transform:rotate(5deg)}.posterCard5{transform:rotate(7deg)}.posterCard6{transform:rotate(-8deg)}.posterCard7{transform:rotate(6deg)}.hero{display:grid;grid-template-columns:400px minmax(0,1fr);align-items:flex-start;gap:22px;max-width:1256px;margin:0 auto;padding:0 0 8px}.brandAssetBlock{display:grid;justify-items:center;width:400px;margin-left:0;transform:translate(-34px)}.brandLogoAsset{display:block;width:455px;height:126px;object-fit:cover;object-position:center 10}.ribbonAsset{display:block;width:350px;height:72px;margin-top:-27px;object-fit:cover;object-position:center 55%}.brandMark{display:flex;align-items:center;gap:10px;margin:0;color:#111827;font-size:24px;font-weight:950;letter-spacing:0}.brandMark svg{color:#e14d2a}.heroSubtext{max-width:400px;margin:-2px 0 0;color:#111827;font-size:15px;font-weight:850;line-height:1.45;text-align:center}.eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#475569;font-weight:800;text-transform:uppercase;font-size:13px}.workspace{display:grid;grid-template-columns:400px minmax(0,1fr);gap:22px;max-width:1256px;margin:0 auto;align-items:start}.panel{background:#ffffffeb;border:1px solid rgba(91,51,191,.18);border-radius:18px;box-shadow:0 18px 34px #37276a1f}.controls{position:relative;padding:28px 22px 22px;align-self:start;border:3px solid #8f43dd;box-shadow:0 18px 36px #482a942e}.controls:after{position:absolute;top:10px;right:14px;content:"★";color:#ffc107;font-size:24px;line-height:1;text-shadow:0 2px 0 #f59e0b}h2{margin:0 0 18px;font-size:22px}label{display:grid;gap:8px;margin-bottom:15px;color:#334155;font-size:13px;font-weight:800}.subjectPicker{display:grid;gap:10px;margin-bottom:15px}.fieldHeader{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#334155;font-size:13px;font-weight:800}.fieldHeader small{color:#64748b;font-size:12px}.chipGrid,.providerToggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.qualityToggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.strategyStack{display:grid;gap:8px}.strategyButton{display:grid;gap:3px;min-height:54px;padding:9px 11px;border:1px solid #d8d2c7;border-radius:10px;background:#fff;color:#172033;cursor:pointer;text-align:left}.strategyButton span{font-weight:900}.strategyButton small{color:#64748b;font-size:11px;font-weight:800}.strategyButton.active{border-color:#ff4a1f;background:#fff1e8;box-shadow:inset 0 0 0 1px #ff4a1f}.strategyButton.active span{color:#b93d1f}.recipeDisclosure,.labDisclosure{margin:0 0 15px;border:1px solid #e4ded2;border-radius:10px;background:#fffaf3}.recipeDisclosure summary,.labDisclosure summary{padding:12px 14px;cursor:pointer;color:#334155;font-size:13px;font-weight:900}.recipeEditor,.labControls{display:grid;gap:12px;margin:0;padding:14px;border-top:1px solid #e4ded2}.labDisclosure{border-color:#d8b4fe;background:#faf5ff}.labDisclosure summary{color:#5b21b6}.recipeDisclosure{background:#fff9e8;border-color:#eadbb7}.recipeMeta{display:flex;flex-wrap:wrap;gap:6px}.recipeMeta span{padding:5px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:900}.recipeStep{display:grid;gap:8px;padding:10px;border:1px solid #eadfce;border-radius:8px;background:#fff}.recipeStepHeader{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px}.recipeStepHeader strong{display:inline-grid;width:28px;height:28px;place-items:center;border-radius:999px;background:#e14d2a;color:#fff;font-size:14px}.recipeStep textarea,.recipeEditor textarea{min-height:76px;line-height:1.35}.subjectChip{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 10px;border:1px solid #d8d2c7;border-radius:10px;background:#fff;color:#172033;cursor:pointer;font-weight:850}.subjectChip.active{border-color:#ff4a1f;background:#fff1e8;color:#b93d1f;box-shadow:inset 0 0 0 1px #ff4a1f}.subjectChip.approved{border-color:#bbf7d0}.subjectChip.approved:not(.active){background:#f0fdf4}.approvedBadge{display:inline-grid;width:18px;height:18px;place-items:center;flex:0 0 auto;border-radius:999px;background:#22c55e;color:#fff;font-size:12px;font-weight:950;line-height:1}input,select,textarea{width:100%;border:1px solid #d8d2c7;border-radius:10px;background:#fff;color:#111827;padding:12px 13px}textarea{min-height:88px;resize:vertical}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary,.secondary,.tag,.star{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;cursor:pointer;font-weight:850}.primary{width:100%;margin-bottom:16px;padding:15px 14px;color:#fff;background:linear-gradient(180deg,#ff5b2f,#ee3f16);border:2px solid #cf3110;box-shadow:0 5px #b7290e,0 14px 22px #e14d2a2e;text-shadow:0 1px 0 rgba(0,0,0,.18)}.primary:disabled{cursor:not-allowed;opacity:.55}.redeemGate{display:grid;gap:8px;margin:0 0 16px;padding:12px;border:1px solid #eadbb7;border-radius:12px;background:#fff9e8}.redeemRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.redeemRow .secondary{min-width:86px;padding:10px 12px;box-shadow:none}.redeemStatus{margin:0;color:#64748b;font-size:12px;font-weight:750;line-height:1.35}.redeemStatus.valid{color:#166534}.secondary{padding:11px 14px;color:#172033;background:#fff;border:1px solid #ded7ca;box-shadow:0 8px 18px #252f3f1a}.refreshButton{align-self:start;margin-top:70px;justify-self:end;margin-right:42px;border-radius:14px;font-weight:950}.viewSwitch{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding-top:58px}.viewSwitch .secondary{border-radius:999px;font-weight:950}.viewSwitch .secondary.active{color:#fff;background:#8f43dd;border-color:#7330bd;box-shadow:0 8px 18px #7330bd33}.secondary.wide{width:100%;margin-top:10px}.result{min-height:630px;padding:20px;border:5px solid #0877dc;border-radius:28px;background:#ffffffd1;box-shadow:inset 0 0 0 2px #ffffffb8,0 18px 34px #0b58aa1f}.resultHead{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.resultHead h2{margin-bottom:0}.resultMeta{margin:6px 0 0;color:#64748b;font-size:13px;font-weight:800}.status{height:30px;padding:6px 10px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:12px;font-weight:900;text-transform:uppercase}.status.completed{background:#dcfce7;color:#166534}.status.generating{background:#fef3c7;color:#92400e}.status.failed{background:#fee2e2;color:#991b1b}.result img{display:block;width:100%;max-height:620px;object-fit:contain;background:#fff;border:1px solid #e7e0d4;border-radius:14px}.resultActions{display:flex;justify-content:flex-end;margin-top:12px}.parentFeedback{display:grid;gap:10px;margin-top:14px;padding:12px;border:1px solid #e4ded2;border-radius:14px;background:#fffaf3e0}.feedbackTags{display:flex;flex-wrap:wrap;gap:8px}.feedbackComment{min-height:72px}.downloadButton{text-decoration:none}.loadingExperience{position:relative;min-height:520px;overflow:hidden;border:1px solid #e7e0d4;border-radius:18px;background:#fff}.loadingCanvas{min-height:inherit}.loadingBarDock{position:absolute;right:18px;bottom:18px;left:18px;padding:12px;border:1px solid #e4ded2;border-radius:14px;background:#fffffff0;box-shadow:0 12px 28px #252f3f14}.loadingLine{height:5px;overflow:hidden;border-radius:999px;background:#f1f5f9}.loadingLine span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e14d2a,#f59e0b,#22c55e,#2563eb);transition:width .6s ease}.loadingText{display:flex;align-items:center;gap:8px;margin-top:9px;color:#172033;font-size:13px;font-weight:850}.loadingText svg{color:#e14d2a}.loadingText small{margin-left:auto;color:#64748b;font-size:12px;font-weight:750}.rating,.tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px}.rating span{color:#475569;font-weight:850}.star{width:34px;height:34px;color:#b8ab96;background:#f8f4ec}.star.active{color:#f59e0b;background:#fffbeb}.tag{padding:8px 10px;color:#334155;background:#f1f5f9}.tag.active{color:#fff;background:#2563eb}details{margin-top:16px}summary{cursor:pointer;font-weight:850}.prompt{color:#475569;line-height:1.5}.history{max-width:1260px;margin:68px auto 0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.thumb{display:grid;gap:8px;padding:10px;text-align:left;background:#fff;border:2px solid transparent;border-radius:14px;color:#172033}.thumb.selected{border-color:#e14d2a}.thumb img{width:100%;aspect-ratio:1.4;object-fit:cover;border-radius:6px;background:#f8fafc}.thumb span{font-weight:850}.thumb small{color:#64748b}.historyPreview{display:none}.qualityReview{position:relative;z-index:2;display:grid;gap:18px;max-width:1260px;margin:10px auto 0}.qualityReviewHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px;border:4px solid #0877dc;border-radius:28px;background:#ffffffe6;box-shadow:0 18px 34px #0b58aa1f}.qualityReviewHead h1{margin:0 0 8px;font-size:clamp(30px,5vw,54px);line-height:.95}.qualityReviewHead p:not(.eyebrow),.testingGuideBody p,.testingGuideBody li,.reviewCurrent{color:#475569;font-weight:750;line-height:1.45}.qualityActions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.copyStatus{margin:-6px 0 0;color:#166534;font-weight:850}.testingGuide{margin-top:0;padding:18px;border:2px solid #eadbb7;border-radius:18px;background:#fff9e8f0;box-shadow:0 14px 26px #74521514}.testingGuide summary{color:#172033;font-size:18px;font-weight:950}.testingGuideBody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;padding-top:14px}.testingGuideBody h3{margin:0 0 8px;color:#172033}.testingGuideBody ol,.testingGuideBody ul,.testingGuideBody p{margin:0}.testingGuideBody ol,.testingGuideBody ul{padding-left:22px}.qualityFilters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px}.curationTabs{display:flex;grid-column:1 / -1;flex-wrap:wrap;gap:8px}.curationTab,.curationStatus{padding:9px 12px;border:1px solid #d8d2c7;border-radius:999px;background:#fff;color:#334155;cursor:pointer;font-weight:950}.curationTab.active{color:#fff;background:#8f43dd;border-color:#7330bd}.productionLibrary{display:grid;gap:12px;padding:18px}.productionLibraryGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.productionQuest{display:grid;gap:8px;padding:10px;border:1px solid #e4ded2;border-radius:10px;background:#fffaf3}.productionQuest img{width:100%;aspect-ratio:1.55;object-fit:cover;border-radius:6px;background:#fff}.productionQuest strong,.productionQuest small{display:block}.productionQuest small{margin-top:3px;color:#64748b;overflow-wrap:anywhere}.empty.compact{min-height:auto;padding:14px}.qualityFilters label{margin-bottom:0}.qualitySummary{padding:18px}.qualitySummary pre{min-height:120px;max-height:320px;margin:12px 0 0;padding:14px;overflow:auto;border:1px solid #e4ded2;border-radius:14px;background:#fffaf3;color:#172033;font:750 13px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre-wrap}.qualityGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.qualityCard{display:grid;overflow:hidden}.qualityImageButton{display:block;width:100%;padding:0;border:0;border-bottom:1px solid #ece4d8;background:#fff;cursor:zoom-in}.qualityImageButton img{display:block;width:100%;aspect-ratio:1.55;object-fit:cover;background:#fff}.qualityCardBody{display:grid;gap:12px;padding:16px}.qualityId{color:#94a3b8;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;overflow-wrap:anywhere}.reviewButtons,.qualityTags,.curationButtons{display:flex;flex-wrap:wrap;gap:8px}.curationBlock{display:grid;gap:9px;padding:12px;border:1px solid #d8b4fe;border-radius:12px;background:#faf5ff}.curationBadge{padding:4px 8px;border-radius:999px;background:#e2e8f0;color:#334155;text-transform:uppercase}.curationBadge.candidate,.curationStatus.candidate.active{color:#78350f;background:#fde68a;border-color:#f59e0b}.curationBadge.production_ready,.curationStatus.production_ready.active{color:#fff;background:#16a34a;border-color:#15803d}.curationBadge.rejected,.curationStatus.rejected.active{color:#fff;background:#dc2626;border-color:#b91c1c}.productionPath{color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;overflow-wrap:anywhere}.reviewStatus{padding:9px 12px;border:1px solid #d8d2c7;border-radius:999px;background:#fff;color:#334155;cursor:pointer;font-weight:950;text-transform:capitalize}.reviewStatus.pass.active{color:#fff;background:#16a34a;border-color:#15803d}.reviewStatus.maybe.active{color:#78350f;background:#fde68a;border-color:#f59e0b}.reviewStatus.fail.active{color:#fff;background:#dc2626;border-color:#b91c1c}.qualityTags .tag{font-size:12px}.qualityCard textarea{min-height:84px}.reviewCurrent{margin:0;font-size:13px}.qualityPreviewOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;align-items:center;padding:22px}.qualityPreviewBackdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172ad6}.qualityPreviewCard{position:relative;display:grid;gap:14px;width:min(1420px,100%);max-height:calc(100dvh - 44px);margin:0 auto;padding:16px;overflow:auto;border-radius:24px;background:#fffaf3;box-shadow:0 24px 70px #00000057}.qualityPreviewHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.qualityPreviewHead div{display:grid;gap:4px}.qualityPreviewHead strong{color:#172033;font-size:24px;line-height:1.1}.qualityPreviewHead small{color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-weight:750;overflow-wrap:anywhere}.qualityPreviewBody{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.qualityPreviewBody>img{display:block;width:100%;max-height:calc(100dvh - 150px);object-fit:contain;border:1px solid #e4ded2;border-radius:16px;background:#fff}.qualityPreviewControls{display:grid;gap:12px;padding:14px;border:1px solid #e4ded2;border-radius:16px;background:#ffffffeb}.qualityPreviewControls textarea{min-height:120px}.empty{display:grid;min-height:360px;place-items:center;color:#64748b;border:1px dashed #d7ccbd;border-radius:18px}.startPlaceholder{align-content:center;gap:10px;min-height:520px;padding:0;overflow:hidden;text-align:center;background:#ffffff6b;border:0}.result .startPlaceholder img{width:100%;height:100%;max-height:none;object-fit:cover;background:transparent;border:0;border-radius:18px}.result .startPlaceholder picture{display:block;width:100%;height:100%}.startPlaceholder svg{color:#e14d2a}.startPlaceholder h2{margin:0;color:#172033;font-size:28px}.startPlaceholder p{max-width:360px;margin:0;font-size:14px;font-weight:750;line-height:1.45}.error{color:#b91c1c;font-weight:750}@media(max-width:1500px){.labShell{padding-right:34px;padding-left:34px}.floatingPosterLayer{display:none}.workspace,.hero,.history{max-width:1200px}}@media(max-width:1100px){.workspace{grid-template-columns:350px minmax(0,1fr)}.brandAssetBlock{width:min(430px,100%);margin-left:0}.brandLogoAsset{width:min(390px,100%);height:108px}.ribbonAsset{width:min(300px,78%);height:62px}.result{min-height:560px}.refreshButton{margin-top:58px;margin-right:0}}@media(max-width:900px){main,.labShell{padding:18px}.hero{align-items:flex-start;flex-direction:column;padding-bottom:18px}.viewSwitch{justify-content:flex-start;padding-top:0}.brandAssetBlock{justify-items:start}.heroSubtext{text-align:left}.refreshButton{margin-top:0}.workspace,.qualityReviewHead,.qualityFilters,.testingGuideBody{grid-template-columns:1fr}.qualityReviewHead{display:grid}.qualityActions{justify-content:flex-start}.qualityPreviewBody{grid-template-columns:1fr}.qualityPreviewBody>img{max-height:70dvh}.controls{border-width:2px}.result{min-height:420px;border-width:3px;border-radius:20px}.loadingExperience{min-height:360px}.loadingText{align-items:flex-start;flex-direction:column}.loadingText small{margin-left:0}}@media(max-width:768px){.hero{grid-template-columns:minmax(0,1fr);width:100%}.brandAssetBlock{width:100%;margin-right:auto;margin-left:auto;justify-items:center;transform:none}.brandLogoAsset{width:min(455px,100%);max-width:100%;transform:translate(-6px)}.startPlaceholder{min-height:0;padding:0;aspect-ratio:1122 / 1402}.result .startPlaceholder picture{display:grid;place-items:center}.result .startPlaceholder img{width:100%;height:100%;margin:auto;object-fit:fill}.thumb{cursor:zoom-in}.historyPreview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;align-items:center;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))}.historyPreviewBackdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172ad1}.historyPreviewCard{position:relative;display:grid;gap:12px;width:100%;max-height:100%;padding:12px;overflow:auto;border-radius:18px;background:#fffaf3;box-shadow:0 24px 60px #0000004d}.historyPreviewHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.historyPreviewHead div{display:grid;gap:2px}.historyPreviewHead strong{font-size:18px}.historyPreviewHead small{color:#64748b;font-weight:750}.historyPreviewClose{display:inline-grid;width:42px;height:42px;padding:0;place-items:center;flex:0 0 auto;border:0;border-radius:999px;background:#f1f5f9;color:#172033}.historyPreviewCard>img{display:block;width:100%;max-height:calc(100dvh - 170px);object-fit:contain;border-radius:12px;background:#fff}.historyPreviewActions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.historyPreviewActions .secondary{min-height:46px;padding:9px;text-align:center}.historyPreviewDownload{width:100%}.qualityPreviewOverlay{padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))}.qualityPreviewCard{max-height:100%;padding:12px;border-radius:18px}.qualityPreviewHead strong{font-size:18px}.qualityPreviewBody>img{max-height:58dvh;border-radius:12px}}
