/* Owner-approved event full-cycle concept, 17 October 2026. */
.event-studio{--ec-ink:#10292c;--ec-aqua:#287d73;--ec-line:#dce8e4;--ec-soft:#e5f3ef;--ec-muted:#647a7b;color:var(--ec-ink);background:#fbf8f5;border:1px solid var(--ec-line);border-radius:22px;width:calc(100vw - 40px);max-width:1650px;height:calc(100dvh - 36px);max-height:none;margin:18px auto;padding:0;font:18px/1.5 "Segoe UI",sans-serif;overflow:auto;box-shadow:0 24px 80px #10292c35;box-sizing:border-box}.event-studio::backdrop{background:#10292c70;backdrop-filter:blur(4px)}.event-studio *{box-sizing:border-box;min-width:0}.event-studio button,.event-studio input,.event-studio textarea,.event-studio select{font:inherit}.event-studio button{cursor:pointer;min-height:44px;border-radius:12px;padding:10px 17px;line-height:1.3}.event-studio button:disabled{cursor:default;opacity:.5}.event-studio .primary{background:var(--ec-aqua);color:#fff;border:1px solid var(--ec-aqua)}.event-studio .secondary{background:#fff;color:var(--ec-aqua);border:1px solid #c9ded8}.event-studio button:focus-visible,.event-studio input:focus-visible,.event-studio textarea:focus-visible,.event-studio select:focus-visible{outline:3px solid #64b9ac;outline-offset:2px}.ec-shell{padding:26px}.ec-top{display:flex;justify-content:space-between;align-items:center;gap:18px}.ec-top h2{font-size:31px;line-height:1.15;letter-spacing:-.8px;margin:5px 0;font-weight:700}.ec-eyebrow{color:var(--ec-aqua);font-size:12px;font-weight:700;letter-spacing:1.7px}.ec-top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ec-status{border-radius:30px;background:var(--ec-soft);color:var(--ec-aqua);padding:7px 14px;font-size:14px}.ec-steps{display:flex;justify-content:space-between;gap:8px;margin:25px 0}.ec-steps button{background:transparent;border:0;color:var(--ec-muted);text-align:left;padding:8px 12px;font-size:16px;flex:1}.ec-steps button.is-current{background:var(--ec-soft);color:var(--ec-aqua);font-weight:700}.ec-layout{display:grid;grid-template-columns:minmax(245px,.34fr) minmax(0,1fr);gap:18px;align-items:start}.ec-sidebar{display:grid;gap:16px;position:sticky;top:10px}.ec-main{display:grid;gap:18px}.ec-surface{background:#fff;border:1px solid #e6ece8;border-radius:18px;box-shadow:0 5px 24px #10292c04;padding:18px}.ec-surface h3{font-size:20px;line-height:1.3;margin:0 0 14px;font-weight:700;letter-spacing:-.25px}.ec-muted{color:var(--ec-muted);font-size:14px;line-height:1.5;margin:8px 0}.ec-chat{background:linear-gradient(160deg,#fff,#f4faf7)}.ec-chat h3{margin-bottom:3px}.ec-chat>.ec-muted{margin-top:0}.ec-messages{display:flex;flex-direction:column;gap:12px;max-height:410px;overflow:auto;padding:12px 0;scrollbar-width:thin}.ec-chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:15px;padding:13px;font-size:16px;line-height:1.55;max-width:96%;background:#f1f4f4;margin:0;max-height:310px;overflow:auto}.ec-chat-bubble.assistant{background:#e5f3ef;color:#173d3a}.ec-chat-bubble.user{align-self:flex-end;background:#edf0f4}.ec-chat>.primary,.ec-chat>.secondary,.ec-approval>.primary{width:100%;margin-top:9px}.ec-field{display:flex;flex-direction:column;gap:7px;color:var(--ec-muted);font-size:14px;min-width:0}.ec-field input,.ec-field textarea,.event-studio select,.ec-link-row input{width:100%;border:1px solid var(--ec-line);background:#fff;border-radius:11px;padding:12px;color:var(--ec-ink);font-size:17px;min-height:46px}.ec-field textarea{resize:vertical;min-height:140px;line-height:1.55}.ec-prompt textarea{min-height:100px}.ec-approval{border-color:#dce8d9}.ec-reviewers{font-size:15px;color:var(--ec-muted)}.ec-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ec-card{border:1px solid var(--ec-line);border-radius:15px;overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s}.ec-card.is-selected{border:2px solid var(--ec-aqua);box-shadow:0 0 0 3px #e5f3ef}.ec-cover{height:185px;position:relative;background:#d5e9e5;overflow:hidden}.ec-cover img{width:100%;height:100%;object-fit:cover;display:block}.ec-card.pearl:not(.is-selected) .ec-cover img{filter:saturate(.55) brightness(1.25)}.ec-variant-label{position:absolute;left:12px;top:12px;background:#287d73ed;color:#fff;font-size:13px;border-radius:8px;padding:5px 9px}.event-studio .ec-cover-edit{position:absolute;right:9px;bottom:9px;min-height:35px;font-size:12px;background:#103b37e6;color:white;border:1px solid #ffffff55;border-radius:8px;padding:7px 10px}.ec-card-copy{padding:17px}.ec-card-copy h3{font-family:Georgia,"Times New Roman",serif;font-size:25px;line-height:1.15;margin:7px 0 12px}.ec-card-date,.ec-card-expert{font-size:15px;margin:5px 0;color:#3a5659}.ec-card-body{font-size:16px;line-height:1.55;white-space:pre-wrap;max-height:240px;overflow:auto;margin:12px 0;scrollbar-width:thin}.ec-card-copy>.secondary{width:100%;margin-top:8px}.ec-copy-editor{margin:20px 0 12px;border-top:1px solid var(--ec-line);padding-top:15px}.ec-copy-editor summary,.ec-links summary,.ec-channel-select summary{cursor:pointer;font-size:17px;color:var(--ec-ink);font-weight:600}.ec-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:15px}.ec-edit-grid .ec-wide{grid-column:1/-1}.ec-edit-grid .ec-wide textarea{min-height:200px}.ec-launch{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.ec-platform-chips{display:flex;gap:10px;flex-wrap:wrap}.ec-platform{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border:1px solid var(--ec-line);border-radius:12px;padding:10px 12px;cursor:pointer;flex:1 0 auto;font-size:16px}.ec-platform:has(input:checked){background:var(--ec-soft);border-color:#83bbb0;color:#1b5d56}.ec-platform input{accent-color:var(--ec-aqua);width:18px;height:18px}.ec-platform small{font-size:11px;color:var(--ec-muted);flex-basis:100%;padding-left:26px}.ec-platforms>select{margin-top:15px}.ec-channel-select{margin-top:14px}.ec-channel-list{display:grid;gap:8px;margin-top:9px}.ec-schedule .ec-field{margin-bottom:14px}.ec-section-head{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.ec-section-head h3{margin:auto auto auto 0}.ec-section-head .ec-field{max-width:160px}.ec-links{border:1px solid var(--ec-line);border-radius:12px;padding:13px;margin:14px 0}.ec-links>select,.ec-links>.ec-field,.ec-links>button{margin-top:12px}.ec-links-list{display:grid;gap:10px}.ec-link-row{display:flex;flex-wrap:wrap;gap:9px;border-radius:11px;background:#f3f8f6;padding:12px}.ec-link-row strong{width:100%;font-size:16px}.ec-link-row input{flex:1 1 240px;font-size:13px;min-width:0}.ec-live-report{margin-top:15px;max-width:100%;overflow:auto}.ec-live-report .panel{box-shadow:none}.ec-feedback{color:#286d62;background:#eaf4ef;padding:11px 16px;border-radius:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px}.ec-feedback:empty{display:none}.ec-mobile-tabs{display:none}.event-studio [hidden]{display:none!important}
@media(min-width:1450px){.ec-cover{height:220px}.ec-card-copy h3{font-size:28px}.ec-chat-bubble{font-size:17px}}
@media(max-width:1050px){.ec-shell{padding:18px}.ec-layout{grid-template-columns:minmax(220px,.4fr) 1fr;gap:12px}.ec-launch{grid-template-columns:1fr}.ec-cards{gap:10px}.ec-card-copy{padding:12px}.ec-card-copy h3{font-size:22px}.ec-cover{height:150px}.ec-steps button{font-size:13px;padding:8px 5px}.ec-top h2{font-size:26px}.ec-top-actions button{font-size:14px;padding:10px}.ec-surface{padding:14px}}
@media(max-width:760px){.event-studio{width:100%;height:100dvh;max-height:100dvh;max-width:none;margin:0;border:0;border-radius:0;font-size:17px}.ec-shell{padding:15px 12px 90px}.ec-top{gap:8px;align-items:start;position:sticky;top:0;z-index:4;background:#fbf8f5;padding:9px 0;border-bottom:1px solid var(--ec-line)}.ec-top h2{font-size:23px;margin:0}.ec-eyebrow{font-size:10px}.ec-top-actions{gap:6px;justify-content:end}.ec-top-actions .ec-status{font-size:11px;padding:4px 7px}.ec-top-actions .primary,.ec-top-actions .ec-save-draft{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));z-index:9;width:calc(50% - 20px);min-height:48px;font-size:16px;box-shadow:0 -9px 25px #fbf8f5}.ec-top-actions .primary{right:12px}.ec-top-actions .ec-save-draft{left:12px}.ec-top-actions .secondary:last-child{font-size:12px;padding:7px;min-height:34px}.ec-steps{display:none}.ec-mobile-tabs{display:flex;background:#eaf3ef;border-radius:12px;margin:15px 0;padding:4px;gap:4px;position:sticky;top:68px;z-index:3}.ec-mobile-tabs button{font-size:13px;flex:1;padding:10px 4px;border:0;background:transparent;color:#28534f}.ec-mobile-tabs button:focus,.ec-mobile-tabs button:hover{background:white}.ec-layout{display:flex;flex-direction:column;gap:12px}.ec-sidebar,.ec-main{display:contents}.ec-chat,.ec-approval,.ec-variants,.ec-launch,.ec-stats{width:100%}.ec-cards{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:12px;padding:3px}.ec-card{flex:0 0 100%;scroll-snap-align:start}.ec-cover{height:195px}.ec-card-copy h3{font-size:27px}.ec-card-copy{padding:16px}.ec-card-body{font-size:17px;max-height:230px}.ec-edit-grid{grid-template-columns:1fr}.ec-edit-grid .ec-wide{grid-column:auto}.ec-chat-bubble{font-size:17px;max-height:340px}.ec-messages{max-height:50dvh}.ec-sidebar{position:static}.ec-feedback{font-size:14px}.ec-launch{display:grid;grid-template-columns:1fr}.ec-section-head{gap:8px}.ec-section-head h3{width:100%;margin-bottom:7px}.ec-section-head .ec-field{flex:1;max-width:none}.event-studio[data-mobile=editor] .ec-chat,.event-studio[data-mobile=editor] .ec-approval,.event-studio[data-mobile=editor] .ec-launch,.event-studio[data-mobile=editor] .ec-stats{display:none}.event-studio[data-mobile=chat] .ec-variants,.event-studio[data-mobile=chat] .ec-launch,.event-studio[data-mobile=chat] .ec-stats{display:none}.event-studio[data-mobile=launch] .ec-chat,.event-studio[data-mobile=launch] .ec-variants,.event-studio[data-mobile=launch] .ec-stats{display:none}.event-studio[data-mobile=results] .ec-chat,.event-studio[data-mobile=results] .ec-approval,.event-studio[data-mobile=results] .ec-variants,.event-studio[data-mobile=results] .ec-launch{display:none}.ec-live-report table{font-size:14px}.ec-live-report .event-partner-register{min-width:0}}
@media(prefers-reduced-motion:reduce){.event-studio *{scroll-behavior:auto!important;transition:none!important}}

.ec-chat-members{white-space:pre-line}.ec-new-partner{margin-top:12px}.ec-new-partner .ec-field,.ec-new-partner button{margin-top:10px}

@media(max-width:760px){.ec-top{min-height:74px;align-items:center}.ec-mobile-tabs{top:74px}}
@media(max-width:389px){.ec-top{min-height:102px}.ec-mobile-tabs{top:102px}}

.ec-channel-select .ec-field{margin-top:12px}

.ec-chat-bubble{flex-shrink:0}
.ec-chat-actions{display:flex;gap:8px;margin-top:9px;flex-wrap:wrap}.ec-chat-actions>button{flex:1 1 110px;font-size:14px}.ec-chat .ec-messages{max-height:30dvh}.ec-chat>button{white-space:normal}
@media(min-width:761px){.ec-sidebar{max-height:calc(100dvh - 42px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:3px}}
@media(max-width:760px){.ec-chat .ec-messages{max-height:38dvh}.ec-chat-actions>button{min-height:44px}}

.ec-event-media{margin:20px 0;padding:18px;border:1px solid #dce8e4;border-radius:16px;background:#f4faf7}.ec-media-video{display:block;width:100%;max-height:340px;border-radius:14px;background:#163b3a}.ec-media-video[hidden]{display:none}.ec-event-media .ec-section-head{align-items:center}.ec-event-media select{max-width:240px}.ec-channel-select .ec-field{margin-top:14px}

.ec-media-video.is-round{border-radius:50%;max-width:280px;aspect-ratio:1;object-fit:cover;margin:12px auto}

.ec-publishing-guide{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin:16px 0;background:#eaf5f0;border-color:#c9e3da}.ec-publishing-guide b{font-size:18px;color:#174b47}.ec-publishing-guide p{margin-bottom:0;font-size:15px}.ec-publishing-guide button{max-width:280px}@media(max-width:760px){.ec-publishing-guide{grid-template-columns:1fr;gap:10px;margin:12px 0}.ec-publishing-guide button{width:100%;max-width:none}.ec-publishing-guide b{font-size:18px}}

.ec-surface{scroll-margin-top:24px}@media(max-width:760px){.ec-surface{scroll-margin-top:160px}}@media(max-width:389px){.ec-surface{scroll-margin-top:190px}}

@media(max-width:760px){.ec-top-actions .ec-preview-top{font-size:13px;min-height:36px;padding:7px 10px;white-space:nowrap}}

@media(max-width:760px){.ec-mobile-tabs{top:var(--ec-header-height,112px)}}

.ec-preview-recipient{display:grid;gap:3px;font-size:12px;color:var(--ec-muted)}.ec-preview-recipient select{min-height:38px;max-width:150px;border:1px solid var(--ec-line);border-radius:10px;padding:6px 9px;background:#fff;color:var(--ec-ink)}@media(max-width:760px){.ec-top-actions{max-width:58%}.ec-preview-recipient{width:100%}.ec-preview-recipient select{max-width:100%;width:100%;font-size:15px}}

/* Original event artwork is always visible in full, at any editor width. */
.event-studio .ec-cover{height:auto;aspect-ratio:16/9}
.event-studio .ec-cover img{height:100%;object-fit:contain}
.event-studio .ec-publish{background:#365d86;border-color:#365d86;color:#fff}
.event-studio .ec-save-draft{background:#f3f5f4;border-color:#d4deda;color:#23443f}
.ec-status[data-stage=published]{background:#e6eef8;color:#365d86}
.ec-status[data-stage=ready]{background:#e5f3ef;color:#1b5d56}
.ec-status[data-stage=draft]{background:#f1eee8;color:#76654f}
.ec-status[data-stage=pending]{background:#fff3d9;color:#785e23}

.event-studio .ec-card-copy .ec-variant-label{position:static;display:inline-block;margin:0 8px 12px 0}
.event-studio .ec-card-copy .ec-cover-edit{position:static;display:inline-block;margin:0 0 12px;background:#f0f6f4;color:#1b5d56;border:1px solid #c9ded8}

.ec-private-preview{display:flex;align-items:flex-start;gap:10px;margin-top:14px;font-size:16px}.ec-private-preview input{width:20px;height:20px;flex:none;margin-top:3px;accent-color:#287d73}

.ec-confirm-dialog{width:calc(100vw - 32px);max-width:480px;border:1px solid #dce8e4;border-radius:20px;background:#fbf8f5;color:#10292c;padding:24px;font:18px/1.55 "Segoe UI",sans-serif;box-shadow:0 20px 80px #10292c33}.ec-confirm-dialog::backdrop{background:#10292c66}.ec-confirm-dialog h3{margin:0 0 12px;font-size:24px}.ec-confirm-dialog p{white-space:pre-wrap}.ec-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.ec-confirm-actions button{font:inherit;border-radius:12px;min-height:46px;padding:10px 18px;border:1px solid #c9ded8}.ec-confirm-actions .primary{background:#287d73;color:#fff}.ec-confirm-actions .secondary{background:#fff;color:#285650}

.ec-confirm-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:1px solid #c9ded8;border-radius:12px;background:#fff;color:#285650;font-size:28px;line-height:1;cursor:pointer}.ec-confirm-dialog h3{padding-right:38px}.ec-confirm-dialog{max-height:calc(100dvh - 32px);overflow:auto}.ec-confirm-actions{position:sticky;bottom:0;background:#fbf8f5;padding-top:8px}

/* One card, local preview and publication each have one clear place. */
.ec-cards{display:block;margin-top:14px}.ec-card{width:100%}.ec-card[hidden]{display:none!important}.ec-cover{height:auto;aspect-ratio:16/9}.ec-cover img{object-fit:contain}.ec-card-copy{max-width:900px}.ec-card-body{max-height:none;overflow:visible}.ec-event-media>summary,.ec-bot-sync>summary,.ec-extra-actions>summary{cursor:pointer;font-size:16px;font-weight:600;min-height:30px}.ec-event-media>summary{margin-bottom:8px}.ec-event-media:not([open]){padding:13px 16px}.ec-bot-sync{padding:13px 16px}.ec-extra-actions{margin-top:12px}.ec-extra-actions button{display:block;width:100%;margin-top:9px}.ec-private-controls{border-color:#bdd3e5;background:#f0f6fb}.ec-private-controls>.secondary{background:#386f9a;color:white;border-color:#386f9a;width:100%;margin-top:12px}.ec-private-controls .ec-preview-recipient{display:grid;gap:6px;margin:12px 0}.ec-publish-controls{background:#fff8ed;border-color:#e7d2b0;grid-column:1/-1}.ec-publish-controls>.primary{background:#a76524;border-color:#a76524;width:100%;margin-top:12px}.ec-publish-controls .ec-approval{box-shadow:none;background:transparent;border:0;padding:0;margin-top:15px}.ec-publish-controls .ec-approval .ec-publish{display:none!important}.ec-steps{display:none}.ec-layout{margin-top:18px}.ec-private-controls .ec-preview-top{display:none}.ec-chat-members{display:none}.ec-card .ec-variant-label{display:none}.ec-card-copy>.secondary:disabled{display:none}.ec-launch{grid-template-columns:1fr 1fr}.ec-platforms{grid-column:1/-1}.ec-publishing-guide{margin-top:18px}
@media(max-width:760px){.ec-launch{grid-template-columns:1fr}.ec-cards{display:block;overflow:visible;padding:0}.ec-card{max-width:100%;width:100%}.ec-cover{height:auto}.ec-top-actions .ec-save-draft{position:static;width:auto;font-size:14px;box-shadow:none}.ec-top{min-height:70px;flex-wrap:wrap}.ec-top-actions{gap:6px}.ec-top-actions .ec-status{font-size:12px}.ec-private-controls,.ec-publish-controls{grid-column:auto}.ec-private-controls .ec-preview-recipient{min-width:0}.ec-mobile-tabs{font-size:15px}.ec-event-media .ec-section-head{display:grid;grid-template-columns:1fr}.ec-publish-controls>.primary{position:static;width:100%}.ec-card-copy h3{font-size:26px}.ec-variants>select{font-size:17px}}

@media(max-width:760px){.event-studio .ec-top{flex-direction:column;align-items:stretch!important;gap:8px;min-height:0}.event-studio .ec-top-actions{width:100%;flex-wrap:nowrap;justify-content:flex-start!important;gap:8px}.event-studio .ec-top-actions .ec-status{margin-right:auto}.event-studio .ec-top-actions button{position:static;width:auto;min-height:42px;padding:9px 11px;font-size:14px}.event-studio .ec-publishing-guide{display:none}}

@media(max-width:760px){.event-studio .ec-top .ec-top-actions{width:100%!important;max-width:none!important;flex:0 0 auto;display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:8px!important}.event-studio .ec-top .ec-top-actions>*{flex:0 0 auto;white-space:nowrap}.event-studio .ec-top .ec-top-actions .ec-status{width:auto;max-width:none;margin-right:auto;font-size:12px}.event-studio .ec-top .ec-top-actions button{width:auto!important;min-width:max-content;font-size:14px;line-height:1.3}}
