:root{color-scheme:light;--ink:#131e30;--muted:#4e5e75;--line:#d7dfeb;--blue:#1748c6;--surface:#fff;font-family:system-ui,sans-serif;color:var(--ink);background:#f3f6fb;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0}.wrap{max-width:1160px;width:calc(100% - 36px);margin:auto}header{background:#fff;border-bottom:1px solid var(--line)}.bar{min-height:70px;display:flex;justify-content:space-between;align-items:center;gap:14px}.brand{font-weight:850;font-size:1.25rem;letter-spacing:-.05em}.brand span{color:var(--blue)}nav{display:flex;gap:18px}a{text-decoration:none;color:inherit}nav a:hover{text-decoration:underline}
.intro{padding:64px 0 42px}.eyebrow{letter-spacing:.13em;font-weight:800;font-size:.85rem;color:var(--blue)}h1{font-size:clamp(2.4rem,7vw,5.25rem);letter-spacing:-.065em;line-height:.98;margin:14px 0 20px}.intro>p:not(.eyebrow){max-width:55ch;color:var(--muted);font-size:1.15rem;line-height:1.6}.button,.secondary{display:inline-block;font:inherit;font-weight:700;border-radius:10px;padding:12px 15px;cursor:pointer;border:1px solid transparent}.button{background:var(--blue);color:white}.secondary{background:white;border-color:var(--line);color:var(--ink)}button:disabled{opacity:.55;cursor:default}:focus-visible{outline:3px solid #6d8ff3;outline-offset:3px}
.workbench{display:grid;grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);gap:20px;align-items:start;scroll-margin-top:16px}form,.preview,.pack{background:white;border:1px solid var(--line);border-radius:20px;padding:clamp(15px,3vw,27px)}h2{margin:0 0 10px;letter-spacing:-.035em}form>p,.pack p:not(.eyebrow),#status{color:var(--muted);line-height:1.5}label,legend{font-size:.875rem;font-weight:750}label{display:grid;gap:5px;margin:12px 0}input,select{min-width:0;width:100%;font:inherit;font-size:1rem;padding:9px;border:1px solid #b9c6d9;border-radius:8px;background:#fff;color:inherit}fieldset{margin:15px 0;padding:0;border:0;min-width:0}.pair,.row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.row{grid-template-columns:minmax(0,1fr) minmax(0,.65fr) auto;align-items:end;margin:6px 0}.row button{padding:8px 10px}
#poster{--accent:#254fe0;--paper:#111e43;background:var(--paper);color:#fff;border-radius:14px;padding:clamp(18px,4vw,36px);min-height:340px;overflow-wrap:anywhere}#poster.green{--accent:#19715a;--paper:#103b32}#poster.red{--accent:#c63d52;--paper:#522333}#context{color:#e1e9fa;font-size:.95rem;margin:0 0 12px}#poster-title{font-size:clamp(1.7rem,4vw,3rem);line-height:1.04}#goals{list-style:none;padding:0;margin:20px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#goals li{border-radius:9px;padding:12px;background:var(--accent);display:grid;gap:3px;font-size:.95rem}#goals strong{font-size:clamp(1.1rem,3vw,1.9rem)}#note{margin-bottom:0}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}#status:empty{display:none}.pack{margin-top:24px;display:flex;justify-content:space-between;gap:24px;align-items:center}.pack h2{font-size:clamp(1.4rem,4vw,2.1rem)}.price{min-width:155px;background:#edf2ff;padding:18px;border-radius:12px;display:grid;gap:4px}.price strong{font-size:2rem;color:var(--blue)}.price p{margin:4px 0 0}footer{padding:25px 0;color:var(--muted)}
@media(max-width:780px){.workbench{grid-template-columns:1fr}.intro{padding-top:42px}}@media(max-width:480px){nav{gap:9px;font-size:.875rem}.bar{flex-wrap:wrap;padding:10px 0}.pack{align-items:stretch;flex-direction:column}}
@page{size:A4 portrait;margin:13mm}
@media print{body{background:white}header,footer,.intro,form,.pack,.actions,.preview>h2,#status{display:none!important}.wrap{width:100%;max-width:none}.workbench{display:block}.preview{padding:0;border:0}#poster{min-height:0;padding:12mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;break-inside:avoid}#poster-title{font-size:30pt}#goals strong{font-size:19pt}}
.seller-panel{display:block;scroll-margin-top:16px}.seller-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.seller-heading p{max-width:65ch;margin:0 0 12px}.seller-heading button{flex-shrink:0}.seller-card{border:1px solid var(--line);border-radius:12px;padding:14px;margin:12px 0}.seller-name{display:flex;align-items:end;gap:10px}.seller-name label{flex:1;margin:0}.seller-metric{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;margin-top:12px}.seller-metric strong{grid-column:1/-1}.seller-metric label{margin:0}.seller-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:12px 0}.seller-summary article{background:#edf2ff;padding:12px;border-radius:10px}.seller-summary p{margin:4px 0 0}.seller-panel #collective{margin-top:12px}#storage-status:empty{display:none}#storage-status{color:var(--muted)}
@media(max-width:540px){.seller-heading{flex-direction:column}.seller-name{align-items:stretch;flex-direction:column}}
@media print{.seller-panel{display:none!important}}
.seller-custom{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.seller-custom h3{margin:0 0 8px;font-size:1rem}.personal-metric{background:#f3f6fb;padding:12px;border-radius:10px;margin-bottom:10px}.personal-name{grid-column:1/-1}.personal-metric button{justify-self:start;grid-column:1/-1}input[aria-invalid=true]{border-color:#a43850}

#poster.purple{--paper:#392044;--accent:#764187}
#poster.orange{--paper:#49270E;--accent:#9A460D}
#poster.teal{--paper:#113943;--accent:#146477}
#poster.pink{--paper:#521D3D;--accent:#A33369}
#poster.slate{--paper:#222C38;--accent:#4B6078}
#briefing-language{width:auto;margin-left:auto}
@media(max-width:520px){header nav{order:3;flex:0 0 100%;padding-bottom:5px}}
#roulette span{display:inline-block;margin-inline-end:.3em}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#tv-dialog{margin:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:0;background:#090e18;color:white}
#tv-dialog[open]{display:grid;place-items:center}
#tv-stage{width:min(100vw,177.7778vh);aspect-ratio:16/9;container-type:inline-size}
.tv-poster{width:100%;height:100%;padding:3cqw 4cqw;background:var(--paper);overflow:auto;overflow-wrap:anywhere;display:flex;flex-direction:column;justify-content:center;gap:1cqw}
.tv-context,.tv-note{font-size:2cqw;margin:0}.tv-poster-title{font-size:4.6cqw;line-height:1.04;margin:0}
.tv-goals{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1cqw}
.tv-goals li{background:var(--accent);border-radius:.7cqw;padding:1cqw;display:grid;gap:.2cqw;font-size:1.65cqw}.tv-goals strong{font-size:2.8cqw}
#close-tv{position:absolute;top:8px;right:8px;font-size:.8rem;padding:6px 9px}
@media print{#tv-dialog{display:none!important}}
