: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:22px;align-self:start;border:3px solid #8f43dd;box-shadow:0 18px 36px #482a942e}.controls:after{position:absolute;top:18px;right:18px;content:"★";color:#ffc107;font-size:30px;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}.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}.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}.brandAssetBlock{justify-items:start}.heroSubtext{text-align:left}.refreshButton{margin-top:0}.workspace{grid-template-columns:1fr}.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}}
