/* Scoped to the standalone document. Embed via iframe to isolate host styles. */
.ai-poster-demo{--paper:#f6f8ff;--ink:#20232b;--muted:#626875;--accent:#3155dc;--line:#dce0e8;margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 "Microsoft YaHei","PingFang SC",Arial,sans-serif;letter-spacing:0}
.ai-poster-demo *{box-sizing:border-box;letter-spacing:0}
.ai-poster-demo :is(button,input,textarea,select){font:inherit;color:inherit}
.ai-poster-demo :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.ai-poster-demo button{cursor:pointer;border:1px solid var(--line);border-radius:6px;background:white;padding:9px 14px;min-height:44px;transition:background .18s,color .18s}
.ai-poster-demo button:hover{background:#eaf0ff}
.ai-poster-demo button:disabled{opacity:.5;cursor:not-allowed}
.ai-poster-demo a{color:inherit;text-decoration:none}
.ai-poster-demo :is(h1,h2,h3,p){margin:0;overflow-wrap:anywhere}
.ai-poster-demo h1{font-size:40px;line-height:1.4;font-weight:600}
.ai-poster-demo h2{font-size:24px;line-height:1.5;font-weight:600}
.ai-poster-demo h3{font-size:16px;font-weight:600}
.ai-poster-demo .muted,.ai-poster-demo .eyebrow{font-size:14px;color:var(--muted)}
.ai-poster-demo .eyebrow{margin-bottom:12px}
.ai-poster-demo .topbar{max-width:1600px;margin:auto;padding:22px 48px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}
.ai-poster-demo .wordmark{font:700 25px/1.5 Arial,sans-serif}
.ai-poster-demo .wordmark span{font:14px/1.5 "Microsoft YaHei",sans-serif;color:var(--muted);margin-left:20px}
.ai-poster-demo .header-actions{display:flex;align-items:center;gap:10px}
.ai-poster-demo .header-actions button{width:44px;padding:0;background:transparent}
.ai-poster-demo svg{height:19px;width:19px;vertical-align:middle;flex-shrink:0}
.ai-poster-demo .badge{font-size:14px;color:#426151;background:#e8f0eb;padding:3px 8px;border-radius:3px;white-space:nowrap}
.ai-poster-demo .intro{max-width:1600px;margin:auto;padding:48px 48px 36px}
.ai-poster-demo .intro>p:last-child{margin-top:12px;color:var(--muted)}
.ai-poster-demo .workspace{max-width:1600px;margin:auto;padding:0 48px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px}
.ai-poster-demo .brief-panel{padding-top:24px;border-top:1px solid var(--line)}
.ai-poster-demo .section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:24px}
.ai-poster-demo .brief-panel h2{font-size:20px}
.ai-poster-demo label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:var(--muted);margin-bottom:18px}
.ai-poster-demo :is(input,textarea,select){min-width:0;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:#fff;min-height:44px}
.ai-poster-demo textarea{resize:vertical}
.ai-poster-demo .field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ai-poster-demo .primary{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--accent);color:white;border-color:var(--accent)}
.ai-poster-demo .primary:hover{background:#2445ba}
.ai-poster-demo #runWorkflow{width:100%;margin:8px 0 14px}
.ai-poster-demo .brief-footer{font-size:14px;margin-top:28px;display:flex;align-items:center;gap:8px}
.ai-poster-demo .dot{width:6px;height:6px;border-radius:50%;background:#39715a}
.ai-poster-demo .run-status{font-size:14px;color:var(--muted);padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}
.ai-poster-demo .main-panel{min-width:0}
.ai-poster-demo .project-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.ai-poster-demo .project-heading .muted{margin-top:8px}
.ai-poster-demo #replay{flex-shrink:0}
.ai-poster-demo .pipeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:28px 0 16px;padding:18px 0;border-block:1px solid var(--line)}
.ai-poster-demo .pipeline button{border:0;background:transparent;padding:0;display:flex;gap:4px;flex-direction:column;align-items:center;font-size:14px;color:var(--muted)}
.ai-poster-demo .number{font:14px/1.5 monospace}
.ai-poster-demo .pipeline .done{color:#39715a}
.ai-poster-demo .pipeline .active{color:var(--accent);font-weight:700}
.ai-poster-demo .viewbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
.ai-poster-demo .tabs{display:flex;gap:24px}
.ai-poster-demo .tabs button{background:transparent;border:0;border-radius:0;border-bottom:2px solid transparent;padding:12px 0;color:var(--muted)}
.ai-poster-demo .tabs button[aria-selected=true]{color:var(--ink);border-color:var(--accent)}
.ai-poster-demo .gallery-toolbar{display:flex;align-items:center;justify-content:space-between;margin:20px 0}
.ai-poster-demo .gallery-toolbar select{max-width:190px;background:transparent}
.ai-poster-demo #refreshGallery{width:44px;padding:0;background:transparent}
.ai-poster-demo .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ai-poster-demo .asset{min-width:0}
.ai-poster-demo .poster-button{position:relative;display:block;width:100%;aspect-ratio:4/9;border:0;border-radius:0;background:#e9ecf1;padding:0;overflow:hidden}
.ai-poster-demo .poster-button img{width:100%;height:100%;display:block;object-fit:contain;transition:transform .25s}
.ai-poster-demo .poster-button::after{content:'查看大图';position:absolute;bottom:14px;left:50%;transform:translateX(-50%);background:#fff;color:#20232b;padding:5px 12px;white-space:nowrap;font-size:14px;opacity:0;transition:opacity .2s}
.ai-poster-demo .poster-button:focus-visible::after{opacity:1}
@media(hover:hover){.ai-poster-demo .poster-button:hover img{transform:scale(1.015)}.ai-poster-demo .poster-button:hover::after{opacity:1}}
.ai-poster-demo .asset-info{padding:16px 0 0}
.ai-poster-demo .asset-info h3{font-size:14px;line-height:1.8}
.ai-poster-demo .asset-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.ai-poster-demo .asset-meta a{min-width:44px;min-height:44px;display:grid;place-items:center}
.ai-poster-demo .asset-caption{font-size:14px;color:var(--muted);margin-top:20px}
.ai-poster-demo .review-panel{grid-column:1/-1;display:grid;grid-template-columns:260px minmax(0,1fr) minmax(260px,1fr);gap:48px;padding:36px 0 48px;border-top:1px solid var(--line);margin-top:8px}
.ai-poster-demo .score-total{display:flex;align-items:baseline;gap:10px}
.ai-poster-demo .score-total strong{font-size:60px;line-height:1.2;font-weight:500}
.ai-poster-demo .score-total span{color:var(--muted)}
.ai-poster-demo .score-caption{font-size:14px;color:var(--muted);margin-top:14px}
.ai-poster-demo .score-row{margin-bottom:18px}
.ai-poster-demo .score-row-top{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.ai-poster-demo .score-row-top strong{font-weight:500}
.ai-poster-demo .bar{height:3px;background:#dce0e8;margin-top:9px}
.ai-poster-demo .bar i{display:block;height:100%;background:#6d8c80}
.ai-poster-demo .review-decision{font-size:14px;color:var(--muted);border-left:2px solid #b6a179;padding-left:16px}
.ai-poster-demo .review-bottom{margin:20px 0}
.ai-poster-demo dl{display:grid;grid-template-columns:auto 1fr;gap:8px;font-size:14px}
.ai-poster-demo dt{color:var(--muted)}
.ai-poster-demo dd{margin:0;text-align:right}
.ai-poster-demo .flow-heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px}
.ai-poster-demo .stage-list details{padding:20px 0;border-bottom:1px solid var(--line)}
.ai-poster-demo summary{cursor:pointer;min-height:44px;padding:8px 0}
.ai-poster-demo .kv{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;font-size:14px;margin-top:16px;overflow-wrap:anywhere}
.ai-poster-demo .kv span:first-child{color:var(--muted)}
.ai-poster-demo .prompt-box{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;padding:20px;background:#edf0f5;margin-top:16px}
.ai-poster-demo .brand-content>div{padding:24px 0;border-bottom:1px solid var(--line)}
.ai-poster-demo .brand-content h3{margin-bottom:16px}
.ai-poster-demo .brand-content :is(p,li){font-size:14px;color:var(--muted)}
.ai-poster-demo .brand-content ul{padding-left:20px}
.ai-poster-demo .swatch{display:inline-block;width:20px;height:20px;vertical-align:middle;background:#dd2626;margin-right:8px}
.ai-poster-demo .empty{grid-column:1/-1;padding:60px 0;color:var(--muted)}
.ai-poster-demo .module-footer{max-width:1504px;margin:auto;padding:24px 48px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:14px}
.ai-poster-demo #viewer{width:min(1120px,96vw);height:94vh;height:94dvh;max-height:none;border:0;border-radius:8px;padding:0;background:#eef0f4;color:var(--ink);overflow:hidden}
.ai-poster-demo #viewer::backdrop{background:#17191ee0}
.ai-poster-demo .viewer-header,.ai-poster-demo .viewer-footer{height:70px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:white}
.ai-poster-demo .viewer-header strong{font-size:16px;overflow-wrap:anywhere}
.ai-poster-demo .viewer-header>div{display:flex;align-items:center;gap:10px;flex-shrink:0}
.ai-poster-demo #downloadImage{width:44px;height:44px;display:grid;place-items:center}
.ai-poster-demo .viewer-body{height:calc(100% - 140px);display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;padding:16px;align-items:center}
.ai-poster-demo .viewer-body button{width:44px;padding:0}
.ai-poster-demo .viewer-canvas{height:100%;min-width:0;overflow:auto;text-align:center}
.ai-poster-demo .viewer-canvas img{display:block;margin:auto;height:100%;max-width:100%;object-fit:contain}
.ai-poster-demo .viewer-footer label{margin:0;flex-direction:row;align-items:center}
.ai-poster-demo .viewer-footer input{width:120px;padding:0}
.ai-poster-demo #toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#20232b;color:white;padding:12px 20px;border-radius:6px;z-index:10}
.ai-poster-demo.presentation .brief-panel,.ai-poster-demo.presentation .review-panel{display:none}
.ai-poster-demo.presentation .workspace{grid-template-columns:minmax(0,1fr)}
.ai-poster-demo.presentation .gallery{max-width:1080px;margin:auto}
.ai-poster-demo [hidden]{display:none!important}
.ai-poster-demo .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ai-poster-demo .skip-link{position:absolute;left:16px;top:-80px;background:white;padding:12px;z-index:5}
.ai-poster-demo .skip-link:focus{top:12px}
@media(max-width:1150px){.ai-poster-demo .workspace{grid-template-columns:230px minmax(0,1fr);gap:28px;padding-inline:28px}.ai-poster-demo :is(.topbar,.intro){padding-inline:28px}.ai-poster-demo .gallery{gap:12px}.ai-poster-demo .review-panel{grid-template-columns:230px minmax(0,1fr);gap:28px}.ai-poster-demo .review-notes{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:28px}.ai-poster-demo .review-bottom{margin:0}.ai-poster-demo .project-heading{align-items:flex-start;flex-direction:column}.ai-poster-demo #assetCount{display:none}}
@media(max-width:760px){.ai-poster-demo .topbar{padding:16px 20px}.ai-poster-demo .wordmark span{display:none}.ai-poster-demo .intro{padding:32px 20px}.ai-poster-demo h1{font-size:30px}.ai-poster-demo h2{font-size:22px}.ai-poster-demo .workspace{display:flex;flex-direction:column;padding:0 20px;gap:36px}.ai-poster-demo .main-panel{order:0}.ai-poster-demo .brief-panel{order:1}.ai-poster-demo .review-panel{order:2;display:block;margin:0}.ai-poster-demo .review-summary{margin-bottom:28px}.ai-poster-demo .review-notes{display:block}.ai-poster-demo .review-bottom{margin:24px 0}.ai-poster-demo .gallery{grid-template-columns:minmax(0,1fr);gap:32px;max-width:440px;margin:auto}.ai-poster-demo .tabs{gap:20px}.ai-poster-demo .tabs button{font-size:14px}.ai-poster-demo .pipeline{gap:0}.ai-poster-demo .pipeline button{font-size:12px;min-height:48px}.ai-poster-demo .asset-info h3{font-size:16px}.ai-poster-demo .module-footer{padding:24px 20px;flex-direction:column}.ai-poster-demo .viewer-header{padding:10px}.ai-poster-demo .viewer-header strong{font-size:14px}.ai-poster-demo .viewer-body{padding:8px;gap:4px}.ai-poster-demo .viewer-footer{padding:10px}.ai-poster-demo .viewer-footer input{width:110px}}
@media(prefers-reduced-motion:reduce){.ai-poster-demo *{transition:none!important;scroll-behavior:auto!important}.ai-poster-demo .poster-button:hover img{transform:none}}

/* WEB-03 product finish. Tokens remain scoped to this standalone module. */
.ai-poster-demo{--paper:#080c19;--ink:#f0f3ff;--muted:#a5aec8;--accent:#96a5ff;--line:#283148;--panel:#11182a;color-scheme:dark;background:radial-gradient(ellipse at 76% 0%,#3f367533,transparent 40%),var(--paper);font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif}
.ai-poster-demo button{border-radius:12px;background:#182139;transition:background .2s,border-color .2s,transform .2s}
.ai-poster-demo button:hover{background:#253050;border-color:#7688c2}
.ai-poster-demo :is(input,textarea,select){background:#0c1324;border-color:#303b57;border-radius:10px;color:var(--ink)}
.ai-poster-demo :is(input,textarea,select):focus{border-color:var(--accent)}
.ai-poster-demo .topbar{padding-block:24px;border-color:#ffffff12}
.ai-poster-demo .wordmark{letter-spacing:-1px}
.ai-poster-demo .wordmark span{letter-spacing:0}
.ai-poster-demo .site-return{font-size:14px;color:var(--muted);padding:9px 8px}
.ai-poster-demo .site-return:hover{color:var(--ink)}
.ai-poster-demo .badge{border-radius:30px;color:#c7c5ff;background:#a79bff17;padding:5px 12px;border:1px solid #a79bff30}
.ai-poster-demo .intro{padding-block:56px 44px}
.ai-poster-demo .intro .eyebrow{color:#a6adfb;font-size:13px;letter-spacing:.16em;margin-bottom:22px}
.ai-poster-demo h1{font-size:clamp(38px,4.8vw,70px);line-height:1.22;letter-spacing:-2px;font-weight:550}
.ai-poster-demo .title-dot{color:#aaa4ff}
.ai-poster-demo .intro-bottom{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-top:25px}
.ai-poster-demo .intro-bottom>p:first-child{font-size:19px;line-height:1.9}
.ai-poster-demo .mode-note{font-size:14px;color:#c5caff;text-align:right}
.ai-poster-demo .mode-note span{display:block;color:var(--muted);margin-top:4px}
.ai-poster-demo .workspace{grid-template-columns:280px minmax(0,1fr);gap:30px}
.ai-poster-demo .brief-panel{background:linear-gradient(150deg,#18223a99,#11182a);border:1px solid var(--line);border-radius:20px;padding:24px;align-self:start}
.ai-poster-demo .section-heading{margin-bottom:20px;flex-wrap:wrap}
.ai-poster-demo .section-heading>.muted{font-size:12px;color:#8e9bba}
.ai-poster-demo label{font-size:14px;margin-bottom:16px}
.ai-poster-demo .brief-footer{margin-top:24px;font-size:13px;color:var(--muted)}
.ai-poster-demo .dot{background:#a69aff;box-shadow:0 0 10px #a69aff55}
.ai-poster-demo .primary{border:1px solid #a6acff;background:linear-gradient(115deg,#7b90f7,#9f86f4);color:#0a1021;font-weight:600;box-shadow:0 6px 22px #6658cd1f}
.ai-poster-demo .primary:hover{background:linear-gradient(115deg,#94a5ff,#b39bff);border-color:#b9c3ff}
.ai-poster-demo .gallery-note{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 26px;color:#c8d2ec;font-size:14px}
.ai-poster-demo .gallery-note span{font-size:12px;color:#8b98b7;letter-spacing:.1em}
.ai-poster-demo .project-heading h2{font-size:25px}
.ai-poster-demo .project-heading .eyebrow{font-size:12px;letter-spacing:.1em}
.ai-poster-demo .pipeline{margin-top:24px;padding-block:16px}
.ai-poster-demo .pipeline button{border-radius:8px}
.ai-poster-demo .pipeline button:hover{background:#a2adff0e}
.ai-poster-demo .pipeline .done{color:#a7a9ee}
.ai-poster-demo .number{font-size:12px;color:#7e8caa}
.ai-poster-demo .tabs{gap:28px}
.ai-poster-demo .tabs button[aria-selected=true]{color:#d3d5ff;border-color:#b1a2ff}
.ai-poster-demo .gallery{gap:18px}
.ai-poster-demo .poster-button{background:#151d30;border:1px solid #ffffff12;border-radius:18px;padding:9px;box-shadow:0 12px 32px #0003}
.ai-poster-demo .poster-button:hover{background:#1c2740;border-color:#8e9add77;transform:translateY(-4px)}
.ai-poster-demo .poster-button img{border-radius:10px}
.ai-poster-demo .poster-button::after{border-radius:30px;background:#0c1229e8;color:#f4f5ff;backdrop-filter:blur(10px);padding:7px 16px}
.ai-poster-demo .asset-info{padding-top:15px}
.ai-poster-demo .asset-info h3{font-size:15px;color:#e4e9fa}
.ai-poster-demo .asset-meta{font-size:12px}
.ai-poster-demo .asset-meta a{border-radius:50%}
.ai-poster-demo .asset-meta a:hover{color:var(--ink);background:#ffffff0a}
.ai-poster-demo .asset-caption{padding:15px 0 0;font-size:13px}
.ai-poster-demo .review-panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:28px;gap:35px;margin-top:8px;grid-template-columns:240px minmax(0,1fr) minmax(260px,1fr)}
.ai-poster-demo .score-total strong{font-size:64px;color:#c3bdff}
.ai-poster-demo .bar{background:#26314b;height:4px;border-radius:5px;overflow:hidden}
.ai-poster-demo .bar i{background:linear-gradient(90deg,#7f9af4,#b396f5)}
.ai-poster-demo .review-decision{border-left-color:#9d8ed8}
.ai-poster-demo .prompt-box{background:#111b30;border:1px solid var(--line);border-radius:16px;line-height:1.9}
.ai-poster-demo .stage-list details{padding-inline:18px}
.ai-poster-demo .stage-list details[open]{background:#11192a;border-radius:14px}
.ai-poster-demo .module-footer{margin-top:44px;border-color:#ffffff12;padding-block:24px 35px}
.ai-poster-demo #viewer{background:#0d1425;border:1px solid #3c4868;border-radius:20px;color:var(--ink);box-shadow:0 25px 100px #0008}
.ai-poster-demo #viewer::backdrop{background:#030611e8;backdrop-filter:blur(12px)}
.ai-poster-demo .viewer-header,.ai-poster-demo .viewer-footer{background:#151e33}
.ai-poster-demo .viewer-canvas img{max-width:none;width:auto;object-fit:contain}
.ai-poster-demo #toast{background:#e1e4ff;color:#11182a;border:1px solid #fff6;border-radius:16px;box-shadow:0 10px 30px #0005}
.ai-poster-demo .skip-link{background:#293653;border-radius:12px}
.ai-poster-demo noscript>p{max-width:1400px;margin:20px auto;padding:20px;color:var(--muted)}
@media(max-width:1150px){.ai-poster-demo .workspace{grid-template-columns:250px minmax(0,1fr);gap:24px}.ai-poster-demo .brief-panel{padding:20px}.ai-poster-demo .review-panel{grid-template-columns:210px minmax(0,1fr);gap:24px}.ai-poster-demo .review-notes{grid-column:1/-1}.ai-poster-demo .gallery{gap:12px}.ai-poster-demo .poster-button{padding:6px}.ai-poster-demo .intro{padding-top:42px}}
@media(max-width:760px){.ai-poster-demo .intro-bottom{align-items:start;flex-direction:column;gap:18px}.ai-poster-demo .mode-note{text-align:left}.ai-poster-demo .intro{padding-top:35px}.ai-poster-demo .workspace{gap:28px}.ai-poster-demo .brief-panel{width:100%}.ai-poster-demo .review-panel{padding:24px;width:100%}.ai-poster-demo .site-return{display:none}.ai-poster-demo .gallery-note{flex-wrap:wrap}.ai-poster-demo .poster-button{padding:9px}.ai-poster-demo .gallery{gap:28px}.ai-poster-demo .tabs{gap:18px}.ai-poster-demo h1{letter-spacing:-1px}.ai-poster-demo .viewer-header strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ai-poster-demo .poster-button:hover{transform:none}}
