@font-face{font-family:Gilroy;src:url('assets/fonts/Gilroy-Regular.ttf');font-weight:400;font-display:block}@font-face{font-family:Gilroy;src:url('assets/fonts/Gilroy-Medium.ttf');font-weight:500;font-display:block}@font-face{font-family:Gilroy;src:url('assets/fonts/Gilroy-Bold.ttf');font-weight:700;font-display:block}@font-face{font-family:Gilroy;src:url('assets/fonts/Gilroy-ExtraBold.ttf');font-weight:800;font-display:block}@font-face{font-family:Gilroy;src:url('assets/fonts/Gilroy-Black.ttf');font-weight:900;font-display:block}
:root{--ink:#213a3b;--muted:#6e7e7c;--teal:#00637d;--line:#e0e6e2;--paper:#f5f6f2;--white:#fff;--red:#c34342}*{box-sizing:border-box}body{margin:0;font:500 14px/1.45 Gilroy,system-ui,sans-serif;color:var(--ink);background:var(--paper)}button,input,textarea,select{font:inherit}button{cursor:pointer;background:white;border:1px solid #d6dfd9;border-radius:8px;padding:10px 14px;color:var(--ink);font-weight:700;transition:background .15s,box-shadow .15s;white-space:nowrap}button:hover{background:#edf2ee}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #77b8c5;outline-offset:2px}.primary{color:white;background:var(--teal);border-color:var(--teal)}.primary:hover{background:#004c60}.primary span{margin-left:12px}h1,h2,h3,p{margin:0}.topbar{height:91px;padding:18px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--white);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brandmark{display:block;width:98px;height:47px;object-fit:contain}h1{font-size:19px;font-weight:800}.actions{display:flex;gap:8px;align-items:center}#saveStatus{font-size:11px;color:var(--muted);max-width:125px;margin-right:8px}#undoBtn,#redoBtn{font-size:20px;width:36px;padding:4px}.workspace{display:grid;grid-template-columns:326px minmax(0,1fr);min-height:calc(100vh - 91px)}.sidebar{background:white;border-right:1px solid var(--line);height:calc(100vh - 91px);overflow-y:auto;position:sticky;top:0}.sidebar section{padding:22px;border-bottom:1px solid var(--line)}.intro{padding-top:26px!important}.eyebrow,.section-label{font-size:10px;font-weight:800;letter-spacing:1.6px;color:var(--muted)}.intro h2{font-size:23px;font-weight:800;margin-top:8px}.intro p{color:var(--muted);font-size:12px;line-height:1.65;margin-top:8px}.section-label{margin-bottom:12px}label{font-size:12px;font-weight:700;display:block;margin:12px 0 6px}label:first-child{margin-top:0}label span{color:var(--red)}label small{font-weight:400;color:var(--muted);float:right}input:not([type=file]),textarea,select{width:100%;border:1px solid #dce3df;border-radius:7px;background:#fcfdfb;padding:10px 11px;color:var(--ink);min-width:0}textarea{resize:vertical;min-height:62px}input::placeholder,textarea::placeholder{color:#a0aaa6}select{height:40px}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.row>div label{margin-top:12px}.hint{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.5}.image-card+.image-card{margin-top:18px}.image-head{display:flex;justify-content:space-between;align-items:center;gap:5px}.image-head label{margin:0}.text-button{border:0;background:transparent;color:#9b6461;font-size:10px;padding:4px}.upload{margin-top:7px;border:1px dashed #c5d4cb;min-height:87px;position:relative;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;overflow:hidden;background:#f7f9f5}.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.upload img{height:78px;width:78px;object-fit:contain;border-radius:4px}.upload p{font-size:11px;color:var(--muted);padding:12px}.wide{width:100%;margin-top:12px}.last{border:0!important}.last label{margin-top:18px}main{padding:30px 30px 16px;min-width:0}.main-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.main-head h2{font-size:26px;font-weight:800;letter-spacing:-.3px;margin-top:7px}.view-actions{display:flex;align-items:center;gap:10px}.view-actions button{font-size:11px;background:transparent}.pill{font-size:10px;background:#e5eeea;color:#477369;padding:6px 9px;border-radius:20px;font-weight:700}.notice{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;margin-bottom:20px}.notice-dot{width:6px;height:6px;border-radius:100%;background:#4e8f7d}.notice #revisionCount{margin-left:auto;font-size:10px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.poster-card{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.card-top{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0eb}.card-top h3{font-size:13px;font-weight:800}.card-top span{font-size:10px;color:var(--muted)}.poster-stage{height:365px;padding:20px;background:#eaece6;display:flex;align-items:center;justify-content:center;cursor:pointer}.poster-stage canvas{max-width:100%;max-height:100%;width:auto;height:auto;box-shadow:0 3px 12px #19382e0c;background:white;display:block}.card-bottom{display:flex;justify-content:space-between;align-items:center;padding:9px 13px;gap:6px}.card-bottom button{border:0;padding:5px;font-size:11px}.card-bottom .jpeg{color:var(--teal)}.card-state{font-size:10px;color:#4e8f7d}.card-state.warn{color:#b05d36}.checks{margin-top:23px;background:white;border:1px solid var(--line);border-radius:10px;padding:17px 20px}.checks h3{font-size:12px;font-weight:800;margin-bottom:7px}.checks p,.checks li{font-size:11px;color:var(--muted)}.checks ul{margin:8px 0 0;padding-left:18px;columns:2}.checks .ok{color:#477e6d}.footer-note{text-align:center;font-size:10px;letter-spacing:.4px;color:#94a098;margin-top:20px}#message{border-radius:8px;padding:12px 16px;margin-bottom:15px;font-size:12px;background:#e5eeea}#message.error{background:#fff0e8;color:#9b4530}dialog{border:1px solid var(--line);border-radius:15px;padding:0;width:min(1320px,96vw);max-width:96vw;max-height:95vh;color:var(--ink);box-shadow:0 20px 80px #12292230}dialog::backdrop{background:#1a353b80;backdrop-filter:blur(4px)}.editor-top{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.editor-top h2{font-size:23px;font-weight:800;margin-top:3px}.editor-top .eyebrow{font-size:9px}.editor-body{display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:600px;max-height:calc(95vh - 92px)}.editor-preview{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:#e8ebe4;padding:24px;min-width:0;overflow:auto}.canvas-wrap{position:relative;line-height:0;max-width:100%}#editCanvas{display:block;max-height:calc(95vh - 190px);max-width:100%;width:auto;height:auto;box-shadow:0 2px 20px #1d3d3110;touch-action:none;cursor:move}#selectionBox{position:absolute;pointer-events:none;border:1.5px solid #3a91af;box-shadow:0 0 0 1px white;border-radius:2px}#dragHint{font-size:11px;color:var(--muted);line-height:1.4;text-align:center}.inspector{padding:21px;overflow:auto;background:white}.inspector .section-label{margin:20px 0 2px}.inspector input,.inspector select,.inspector textarea{padding:8px;font-size:12px}.inspector label{font-size:11px}.inspector .wide{font-size:11px;white-space:normal}.secondary{background:#f7f8f5;color:var(--muted)}#editorWarnings{font-size:11px;color:#ae5a39;margin-top:14px}#editorWarnings p{margin-top:6px}[hidden]{display:none!important}@media(min-width:1650px){.poster-stage{height:440px}main{padding:34px 40px}.gallery{gap:25px}}@media(max-width:1150px){.topbar{height:auto;flex-wrap:wrap}.actions{flex-wrap:wrap}.workspace{grid-template-columns:285px minmax(0,1fr)}.sidebar{height:calc(100vh - 120px)}main{padding:24px 20px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.main-head{align-items:flex-start;flex-direction:column;gap:10px}.poster-stage{height:330px}#saveStatus{display:none}}@media(max-width:760px){.topbar{padding:15px}.topbar .brand{width:100%}.actions button{font-size:11px;padding:8px 10px}.workspace{display:block}.sidebar{position:static;height:auto;border:0;display:block}.sidebar section{padding:16px}.sidebar .intro{display:none}.sidebar section:not(:first-child){border-bottom:1px solid var(--line)}main{padding:20px 13px}.gallery{gap:12px}.poster-stage{height:260px;padding:10px}.card-top{padding:10px}.card-top span{font-size:8px}.card-bottom{flex-wrap:wrap;padding:8px}.notice{align-items:flex-start}.notice #revisionCount{display:none}.main-head h2{font-size:23px}.editor-body{display:flex;flex-direction:column;max-height:none}.editor-preview{padding:14px}.inspector{max-height:none}dialog{max-height:95vh;overflow:auto}.editor-top{padding:13px;position:sticky;top:0;background:white;z-index:3}.editor-top button{font-size:10px}#editCanvas{max-height:50vh}#selectionBox{display:none}.checks ul{columns:1}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.additional-speaker{margin-top:16px;padding:13px;border:1px solid var(--line);border-radius:8px;background:#f8faf7}.additional-speaker strong{font-size:12px}.additional-speaker label{margin-top:9px}

@media (min-width:761px){.sidebar{height:100vh;height:100dvh}}

/* Keep the editor at a steady height while its contents scroll independently. */
dialog[open]{display:flex;flex-direction:column;height:min(900px,95vh);overflow:hidden}
.editor-top{flex:none}
.editor-body{flex:1;min-height:0;max-height:none}
.editor-preview,.inspector{min-height:0}
@media(max-width:760px){.editor-body{overflow-y:auto}.editor-preview{flex:none}.inspector{overflow:visible}}

#customBackgroundColor{width:100%;height:42px;padding:3px;cursor:pointer}

.extra-logo-list{display:grid;gap:8px;margin-top:8px}.extra-logo-list:empty{display:none}.extra-logo-item{display:flex;align-items:center;gap:7px;padding:7px;border:1px solid var(--line);border-radius:7px;background:#f7f9f5}.extra-logo-item img{width:48px;height:42px;object-fit:contain}.extra-logo-item span{flex:1;font-size:11px}.extra-logo-item button{padding:5px 7px;font-size:11px}.logo-upload{min-height:56px}
